diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 00000000..e2ac6616 --- /dev/null +++ b/.nojekyll @@ -0,0 +1 @@ +TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/assets/highlight.css b/assets/highlight.css new file mode 100644 index 00000000..8092823a --- /dev/null +++ b/assets/highlight.css @@ -0,0 +1,85 @@ +:root { + --light-hl-0: #795E26; + --dark-hl-0: #DCDCAA; + --light-hl-1: #000000; + --dark-hl-1: #D4D4D4; + --light-hl-2: #A31515; + --dark-hl-2: #CE9178; + --light-hl-3: #0000FF; + --dark-hl-3: #569CD6; + --light-hl-4: #AF00DB; + --dark-hl-4: #C586C0; + --light-hl-5: #001080; + --dark-hl-5: #9CDCFE; + --light-hl-6: #008000; + --dark-hl-6: #6A9955; + --light-hl-7: #0070C1; + --dark-hl-7: #4FC1FF; + --light-hl-8: #267F99; + --dark-hl-8: #4EC9B0; + --light-code-background: #FFFFFF; + --dark-code-background: #1E1E1E; +} + +@media (prefers-color-scheme: light) { :root { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --hl-8: var(--light-hl-8); + --code-background: var(--light-code-background); +} } + +@media (prefers-color-scheme: dark) { :root { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --hl-8: var(--dark-hl-8); + --code-background: var(--dark-code-background); +} } + +:root[data-theme='light'] { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --hl-8: var(--light-hl-8); + --code-background: var(--light-code-background); +} + +:root[data-theme='dark'] { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --hl-8: var(--dark-hl-8); + --code-background: var(--dark-code-background); +} + +.hl-0 { color: var(--hl-0); } +.hl-1 { color: var(--hl-1); } +.hl-2 { color: var(--hl-2); } +.hl-3 { color: var(--hl-3); } +.hl-4 { color: var(--hl-4); } +.hl-5 { color: var(--hl-5); } +.hl-6 { color: var(--hl-6); } +.hl-7 { color: var(--hl-7); } +.hl-8 { color: var(--hl-8); } +pre, code { background: var(--code-background); } diff --git a/assets/main.js b/assets/main.js new file mode 100644 index 00000000..3cee05e6 --- /dev/null +++ b/assets/main.js @@ -0,0 +1,58 @@ +"use strict"; +"use strict";(()=>{var Se=Object.create;var re=Object.defineProperty;var we=Object.getOwnPropertyDescriptor;var Te=Object.getOwnPropertyNames;var ke=Object.getPrototypeOf,Qe=Object.prototype.hasOwnProperty;var Pe=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Ie=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Te(e))!Qe.call(t,i)&&i!==r&&re(t,i,{get:()=>e[i],enumerable:!(n=we(e,i))||n.enumerable});return t};var Ce=(t,e,r)=>(r=t!=null?Se(ke(t)):{},Ie(e||!t||!t.__esModule?re(r,"default",{value:t,enumerable:!0}):r,t));var ae=Pe((se,oe)=>{(function(){var t=function(e){var r=new t.Builder;return r.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),r.searchPipeline.add(t.stemmer),e.call(r,r),r.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(r){e.console&&console.warn&&console.warn(r)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var r=Object.create(null),n=Object.keys(e),i=0;i0){var d=t.utils.clone(r)||{};d.position=[a,u],d.index=s.length,s.push(new t.Token(n.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,r){r in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+r),e.label=r,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var r=e.label&&e.label in this.registeredFunctions;r||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,e)},t.Pipeline.load=function(e){var r=new t.Pipeline;return e.forEach(function(n){var i=t.Pipeline.registeredFunctions[n];if(i)r.add(i);else throw new Error("Cannot load unregistered function: "+n)}),r},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(r){t.Pipeline.warnIfFunctionNotRegistered(r),this._stack.push(r)},this)},t.Pipeline.prototype.after=function(e,r){t.Pipeline.warnIfFunctionNotRegistered(r);var n=this._stack.indexOf(e);if(n==-1)throw new Error("Cannot find existingFn");n=n+1,this._stack.splice(n,0,r)},t.Pipeline.prototype.before=function(e,r){t.Pipeline.warnIfFunctionNotRegistered(r);var n=this._stack.indexOf(e);if(n==-1)throw new Error("Cannot find existingFn");this._stack.splice(n,0,r)},t.Pipeline.prototype.remove=function(e){var r=this._stack.indexOf(e);r!=-1&&this._stack.splice(r,1)},t.Pipeline.prototype.run=function(e){for(var r=this._stack.length,n=0;n1&&(oe&&(n=s),o!=e);)i=n-r,s=r+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ol?d+=2:a==l&&(r+=n[u+1]*i[d+1],u+=2,d+=2);return r},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),r=1,n=0;r0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}if(s.str.length==0&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}s.str.length==1&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),m=s.str.charAt(1),y;m in s.node.edges?y=s.node.edges[m]:(y=new t.TokenSet,s.node.edges[m]=y),s.str.length==1&&(y.final=!0),i.push({node:y,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return n},t.TokenSet.fromString=function(e){for(var r=new t.TokenSet,n=r,i=0,s=e.length;i=e;r--){var n=this.uncheckedNodes[r],i=n.child.toString();i in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[i]:(n.child._str=i,this.minimizedNodes[i]=n.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(r){var n=new t.QueryParser(e,r);n.parse()})},t.Index.prototype.query=function(e){for(var r=new t.Query(this.fields),n=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,r){var n=e[this._ref],i=Object.keys(this._fields);this._documents[n]=r||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,r;do e=this.next(),r=e.charCodeAt(0);while(r>47&&r<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var r=e.next();if(r==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(r.charCodeAt(0)==92){e.escapeCharacter();continue}if(r==":")return t.QueryLexer.lexField;if(r=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(r=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(r=="+"&&e.width()===1||r=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(r.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,r){this.lexer=new t.QueryLexer(e),this.query=r,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var r=e.peekLexeme();if(r!=null)switch(r.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+r.type;throw r.str.length>=1&&(n+=" with value '"+r.str+"'"),new t.QueryParseError(n,r.start,r.end)}},t.QueryParser.parsePresence=function(e){var r=e.consumeLexeme();if(r!=null){switch(r.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+r.str+"'";throw new t.QueryParseError(n,r.start,r.end)}var i=e.peekLexeme();if(i==null){var n="expecting term or field, found nothing";throw new t.QueryParseError(n,r.start,r.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var n="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(n,i.start,i.end)}}},t.QueryParser.parseField=function(e){var r=e.consumeLexeme();if(r!=null){if(e.query.allFields.indexOf(r.str)==-1){var n=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+r.str+"', possible fields: "+n;throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.fields=[r.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,r.start,r.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var r=e.consumeLexeme();if(r!=null){e.currentClause.term=r.str.toLowerCase(),r.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(n==null){e.nextClause();return}switch(n.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+n.type+"'";throw new t.QueryParseError(i,n.start,n.end)}}},t.QueryParser.parseEditDistance=function(e){var r=e.consumeLexeme();if(r!=null){var n=parseInt(r.str,10);if(isNaN(n)){var i="edit distance must be numeric";throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.editDistance=n;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var r=e.consumeLexeme();if(r!=null){var n=parseInt(r.str,10);if(isNaN(n)){var i="boost must be numeric";throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.boost=n;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,r){typeof define=="function"&&define.amd?define(r):typeof se=="object"?oe.exports=r():e.lunr=r()}(this,function(){return t})})()});var ne=[];function G(t,e){ne.push({selector:e,constructor:t})}var U=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureActivePageVisible(),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible())}createComponents(e){ne.forEach(r=>{e.querySelectorAll(r.selector).forEach(n=>{n.dataset.hasInstance||(new r.constructor({el:n,app:this}),n.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),r=e?.parentElement;for(;r&&!r.classList.contains(".tsd-navigation");)r instanceof HTMLDetailsElement&&(r.open=!0),r=r.parentElement;if(e){let n=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=n}}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let r=e.parentElement;for(;r&&r.tagName!=="SECTION";)r=r.parentElement;if(r&&r.offsetParent==null){this.alwaysVisibleMember=r,r.classList.add("always-visible");let n=document.createElement("p");n.classList.add("warning"),n.textContent="This member is normally hidden due to your filter settings.",r.prepend(n)}}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let r;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent="Copied!",e.classList.add("visible"),clearTimeout(r),r=setTimeout(()=>{e.classList.remove("visible"),r=setTimeout(()=>{e.textContent="Copy"},100)},1e3)})})}};var ie=(t,e=100)=>{let r;return()=>{clearTimeout(r),r=setTimeout(()=>t(),e)}};var ce=Ce(ae());function de(){let t=document.getElementById("tsd-search");if(!t)return;let e=document.getElementById("tsd-search-script");t.classList.add("loading"),e&&(e.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),e.addEventListener("load",()=>{t.classList.remove("loading"),t.classList.add("ready")}),window.searchData&&t.classList.remove("loading"));let r=document.querySelector("#tsd-search input"),n=document.querySelector("#tsd-search .results");if(!r||!n)throw new Error("The input field or the result list wrapper was not found");let i=!1;n.addEventListener("mousedown",()=>i=!0),n.addEventListener("mouseup",()=>{i=!1,t.classList.remove("has-focus")}),r.addEventListener("focus",()=>t.classList.add("has-focus")),r.addEventListener("blur",()=>{i||(i=!1,t.classList.remove("has-focus"))});let s={base:t.dataset.base+"/"};Oe(t,n,r,s)}function Oe(t,e,r,n){r.addEventListener("input",ie(()=>{Re(t,e,r,n)},200));let i=!1;r.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Fe(e,r):s.key=="Escape"?r.blur():s.key=="ArrowUp"?ue(e,-1):s.key==="ArrowDown"?ue(e,1):i=!1}),r.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!r.matches(":focus")&&s.key==="/"&&(r.focus(),s.preventDefault())})}function _e(t,e){t.index||window.searchData&&(e.classList.remove("loading"),e.classList.add("ready"),t.data=window.searchData,t.index=ce.Index.load(window.searchData.index))}function Re(t,e,r,n){if(_e(n,t),!n.index||!n.data)return;e.textContent="";let i=r.value.trim(),s=i?n.index.search(`*${i}*`):[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o${le(l.parent,i)}.${u}`);let d=document.createElement("li");d.classList.value=l.classes??"";let m=document.createElement("a");m.href=n.base+l.url,m.innerHTML=u,d.append(m),e.appendChild(d)}}function ue(t,e){let r=t.querySelector(".current");if(!r)r=t.querySelector(e==1?"li:first-child":"li:last-child"),r&&r.classList.add("current");else{let n=r;if(e===1)do n=n.nextElementSibling??void 0;while(n instanceof HTMLElement&&n.offsetParent==null);else do n=n.previousElementSibling??void 0;while(n instanceof HTMLElement&&n.offsetParent==null);n&&(r.classList.remove("current"),n.classList.add("current"))}}function Fe(t,e){let r=t.querySelector(".current");if(r||(r=t.querySelector("li:first-child")),r){let n=r.querySelector("a");n&&(window.location.href=n.href),e.blur()}}function le(t,e){if(e==="")return t;let r=t.toLocaleLowerCase(),n=e.toLocaleLowerCase(),i=[],s=0,o=r.indexOf(n);for(;o!=-1;)i.push(K(t.substring(s,o)),`${K(t.substring(o,o+n.length))}`),s=o+n.length,o=r.indexOf(n,s);return i.push(K(t.substring(s))),i.join("")}var Me={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>Me[e])}var P=class{constructor(e){this.el=e.el,this.app=e.app}};var M="mousedown",fe="mousemove",N="mouseup",J={x:0,y:0},he=!1,ee=!1,De=!1,D=!1,pe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(pe?"is-mobile":"not-mobile");pe&&"ontouchstart"in document.documentElement&&(De=!0,M="touchstart",fe="touchmove",N="touchend");document.addEventListener(M,t=>{ee=!0,D=!1;let e=M=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(fe,t=>{if(ee&&!D){let e=M=="touchstart"?t.targetTouches[0]:t,r=J.x-(e.pageX||0),n=J.y-(e.pageY||0);D=Math.sqrt(r*r+n*n)>10}});document.addEventListener(N,()=>{ee=!1});document.addEventListener("click",t=>{he&&(t.preventDefault(),t.stopImmediatePropagation(),he=!1)});var X=class extends P{constructor(r){super(r);this.className=this.el.dataset.toggle||"",this.el.addEventListener(N,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(M,n=>this.onDocumentPointerDown(n)),document.addEventListener(N,n=>this.onDocumentPointerUp(n))}setActive(r){if(this.active==r)return;this.active=r,document.documentElement.classList.toggle("has-"+this.className,r),this.el.classList.toggle("active",r);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(r){D||(this.setActive(!0),r.preventDefault())}onDocumentPointerDown(r){if(this.active){if(r.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(r){if(!D&&this.active&&r.target.closest(".col-sidebar")){let n=r.target.closest("a");if(n){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),n.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var te;try{te=localStorage}catch{te={getItem(){return null},setItem(){}}}var Q=te;var me=document.head.appendChild(document.createElement("style"));me.dataset.for="filters";var Y=class extends P{constructor(r){super(r);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),me.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`}fromLocalStorage(){let r=Q.getItem(this.key);return r?r==="true":this.el.checked}setLocalStorage(r){Q.setItem(this.key,r.toString()),this.value=r,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let n=Array.from(r.querySelectorAll(".tsd-index-link")).every(i=>i.offsetParent==null);r.style.display=n?"none":"block"})}};var Z=class extends P{constructor(r){super(r);this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let n=Q.getItem(this.key);this.el.open=n?n==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update()),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function ve(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,ye(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),ye(t.value)})}function ye(t){document.documentElement.dataset.theme=t}de();G(X,"a[data-toggle]");G(Z,".tsd-index-accordion");G(Y,".tsd-filter-item input[type=checkbox]");var ge=document.getElementById("tsd-theme");ge&&ve(ge);var Ae=new U;Object.defineProperty(window,"app",{value:Ae});document.querySelectorAll("summary a").forEach(t=>{t.addEventListener("click",()=>{location.assign(t.href)})});})(); +/*! Bundled license information: + +lunr/lunr.js: + (** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + *) + (*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + *) + (*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + *) +*/ diff --git a/assets/search.js b/assets/search.js new file mode 100644 index 00000000..abacb6b1 --- /dev/null +++ b/assets/search.js @@ -0,0 +1 @@ +window.searchData = JSON.parse("{\"rows\":[{\"kind\":64,\"name\":\"run\",\"url\":\"functions/run.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"wat2wasm\",\"url\":\"functions/wat2wasm.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"initSync\",\"url\":\"functions/initSync.html\",\"classes\":\"\"},{\"kind\":2097152,\"name\":\"Output\",\"url\":\"types/Output.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/Output.html#__type\",\"classes\":\"\",\"parent\":\"Output\"},{\"kind\":1024,\"name\":\"code\",\"url\":\"types/Output.html#__type.code\",\"classes\":\"\",\"parent\":\"Output.__type\"},{\"kind\":1024,\"name\":\"ok\",\"url\":\"types/Output.html#__type.ok\",\"classes\":\"\",\"parent\":\"Output.__type\"},{\"kind\":1024,\"name\":\"stdout\",\"url\":\"types/Output.html#__type.stdout\",\"classes\":\"\",\"parent\":\"Output.__type\"},{\"kind\":1024,\"name\":\"stderr\",\"url\":\"types/Output.html#__type.stderr\",\"classes\":\"\",\"parent\":\"Output.__type\"},{\"kind\":2097152,\"name\":\"RunConfig\",\"url\":\"types/RunConfig.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/RunConfig.html#__type\",\"classes\":\"\",\"parent\":\"RunConfig\"},{\"kind\":1024,\"name\":\"program\",\"url\":\"types/RunConfig.html#__type.program\",\"classes\":\"\",\"parent\":\"RunConfig.__type\"},{\"kind\":1024,\"name\":\"args\",\"url\":\"types/RunConfig.html#__type.args\",\"classes\":\"\",\"parent\":\"RunConfig.__type\"},{\"kind\":1024,\"name\":\"env\",\"url\":\"types/RunConfig.html#__type.env\",\"classes\":\"\",\"parent\":\"RunConfig.__type\"},{\"kind\":1024,\"name\":\"stdin\",\"url\":\"types/RunConfig.html#__type.stdin\",\"classes\":\"\",\"parent\":\"RunConfig.__type\"},{\"kind\":2097152,\"name\":\"Manifest\",\"url\":\"types/Manifest.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/Manifest.html#__type\",\"classes\":\"\",\"parent\":\"Manifest\"},{\"kind\":2097152,\"name\":\"SpawnConfig\",\"url\":\"types/SpawnConfig.html\",\"classes\":\"\"},{\"kind\":2097152,\"name\":\"WasmerConfig\",\"url\":\"types/WasmerConfig.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/WasmerConfig.html#__type\",\"classes\":\"\",\"parent\":\"WasmerConfig\"},{\"kind\":1024,\"name\":\"poolSize\",\"url\":\"types/WasmerConfig.html#__type.poolSize\",\"classes\":\"\",\"parent\":\"WasmerConfig.__type\"},{\"kind\":1024,\"name\":\"apiKey\",\"url\":\"types/WasmerConfig.html#__type.apiKey\",\"classes\":\"\",\"parent\":\"WasmerConfig.__type\"},{\"kind\":1024,\"name\":\"registryUrl\",\"url\":\"types/WasmerConfig.html#__type.registryUrl\",\"classes\":\"\",\"parent\":\"WasmerConfig.__type\"},{\"kind\":1024,\"name\":\"networkGateway\",\"url\":\"types/WasmerConfig.html#__type.networkGateway\",\"classes\":\"\",\"parent\":\"WasmerConfig.__type\"},{\"kind\":2097152,\"name\":\"TtyState\",\"url\":\"types/TtyState.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/TtyState.html#__type\",\"classes\":\"\",\"parent\":\"TtyState\"},{\"kind\":1024,\"name\":\"cols\",\"url\":\"types/TtyState.html#__type.cols\",\"classes\":\"\",\"parent\":\"TtyState.__type\"},{\"kind\":1024,\"name\":\"rows\",\"url\":\"types/TtyState.html#__type.rows\",\"classes\":\"\",\"parent\":\"TtyState.__type\"},{\"kind\":1024,\"name\":\"width\",\"url\":\"types/TtyState.html#__type.width\",\"classes\":\"\",\"parent\":\"TtyState.__type\"},{\"kind\":1024,\"name\":\"height\",\"url\":\"types/TtyState.html#__type.height\",\"classes\":\"\",\"parent\":\"TtyState.__type\"},{\"kind\":1024,\"name\":\"stdin_tty\",\"url\":\"types/TtyState.html#__type.stdin_tty\",\"classes\":\"\",\"parent\":\"TtyState.__type\"},{\"kind\":1024,\"name\":\"stdout_tty\",\"url\":\"types/TtyState.html#__type.stdout_tty\",\"classes\":\"\",\"parent\":\"TtyState.__type\"},{\"kind\":1024,\"name\":\"stderr_tty\",\"url\":\"types/TtyState.html#__type.stderr_tty\",\"classes\":\"\",\"parent\":\"TtyState.__type\"},{\"kind\":1024,\"name\":\"echo\",\"url\":\"types/TtyState.html#__type.echo\",\"classes\":\"\",\"parent\":\"TtyState.__type\"},{\"kind\":1024,\"name\":\"line_buffered\",\"url\":\"types/TtyState.html#__type.line_buffered\",\"classes\":\"\",\"parent\":\"TtyState.__type\"},{\"kind\":1024,\"name\":\"line_feeds\",\"url\":\"types/TtyState.html#__type.line_feeds\",\"classes\":\"\",\"parent\":\"TtyState.__type\"},{\"kind\":128,\"name\":\"Container\",\"url\":\"classes/Container.html\",\"classes\":\"\"},{\"kind\":2048,\"name\":\"from_registry\",\"url\":\"classes/Container.html#from_registry\",\"classes\":\"\",\"parent\":\"Container\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Container.html#constructor\",\"classes\":\"\",\"parent\":\"Container\"},{\"kind\":2048,\"name\":\"free\",\"url\":\"classes/Container.html#free\",\"classes\":\"\",\"parent\":\"Container\"},{\"kind\":2048,\"name\":\"manifest\",\"url\":\"classes/Container.html#manifest\",\"classes\":\"\",\"parent\":\"Container\"},{\"kind\":2048,\"name\":\"atom_names\",\"url\":\"classes/Container.html#atom_names\",\"classes\":\"\",\"parent\":\"Container\"},{\"kind\":2048,\"name\":\"get_atom\",\"url\":\"classes/Container.html#get_atom\",\"classes\":\"\",\"parent\":\"Container\"},{\"kind\":2048,\"name\":\"volume_names\",\"url\":\"classes/Container.html#volume_names\",\"classes\":\"\",\"parent\":\"Container\"},{\"kind\":2048,\"name\":\"get_volume\",\"url\":\"classes/Container.html#get_volume\",\"classes\":\"\",\"parent\":\"Container\"},{\"kind\":128,\"name\":\"Instance\",\"url\":\"classes/Instance.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Instance.html#constructor\",\"classes\":\"\",\"parent\":\"Instance\"},{\"kind\":2048,\"name\":\"free\",\"url\":\"classes/Instance.html#free\",\"classes\":\"\",\"parent\":\"Instance\"},{\"kind\":2048,\"name\":\"wait\",\"url\":\"classes/Instance.html#wait\",\"classes\":\"\",\"parent\":\"Instance\"},{\"kind\":1024,\"name\":\"stderr\",\"url\":\"classes/Instance.html#stderr\",\"classes\":\"\",\"parent\":\"Instance\"},{\"kind\":1024,\"name\":\"stdin\",\"url\":\"classes/Instance.html#stdin\",\"classes\":\"\",\"parent\":\"Instance\"},{\"kind\":1024,\"name\":\"stdout\",\"url\":\"classes/Instance.html#stdout\",\"classes\":\"\",\"parent\":\"Instance\"},{\"kind\":128,\"name\":\"Runtime\",\"url\":\"classes/Runtime.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Runtime.html#constructor\",\"classes\":\"\",\"parent\":\"Runtime\"},{\"kind\":2048,\"name\":\"free\",\"url\":\"classes/Runtime.html#free\",\"classes\":\"\",\"parent\":\"Runtime\"},{\"kind\":2048,\"name\":\"set_registry\",\"url\":\"classes/Runtime.html#set_registry\",\"classes\":\"\",\"parent\":\"Runtime\"},{\"kind\":2048,\"name\":\"set_network_gateway\",\"url\":\"classes/Runtime.html#set_network_gateway\",\"classes\":\"\",\"parent\":\"Runtime\"},{\"kind\":2048,\"name\":\"set_tty\",\"url\":\"classes/Runtime.html#set_tty\",\"classes\":\"\",\"parent\":\"Runtime\"},{\"kind\":128,\"name\":\"Trap\",\"url\":\"classes/Trap.html\",\"classes\":\"\"},{\"kind\":2048,\"name\":\"__wbgd_downcast_token\",\"url\":\"classes/Trap.html#__wbgd_downcast_token\",\"classes\":\"\",\"parent\":\"Trap\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Trap.html#constructor\",\"classes\":\"\",\"parent\":\"Trap\"},{\"kind\":2048,\"name\":\"free\",\"url\":\"classes/Trap.html#free\",\"classes\":\"\",\"parent\":\"Trap\"},{\"kind\":128,\"name\":\"Tty\",\"url\":\"classes/Tty.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Tty.html#constructor\",\"classes\":\"\",\"parent\":\"Tty\"},{\"kind\":2048,\"name\":\"free\",\"url\":\"classes/Tty.html#free\",\"classes\":\"\",\"parent\":\"Tty\"},{\"kind\":2048,\"name\":\"reset\",\"url\":\"classes/Tty.html#reset\",\"classes\":\"\",\"parent\":\"Tty\"},{\"kind\":1024,\"name\":\"state\",\"url\":\"classes/Tty.html#state\",\"classes\":\"\",\"parent\":\"Tty\"},{\"kind\":128,\"name\":\"Volume\",\"url\":\"classes/Volume.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Volume.html#constructor\",\"classes\":\"\",\"parent\":\"Volume\"},{\"kind\":2048,\"name\":\"free\",\"url\":\"classes/Volume.html#free\",\"classes\":\"\",\"parent\":\"Volume\"},{\"kind\":128,\"name\":\"Wasmer\",\"url\":\"classes/Wasmer.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Wasmer.html#constructor\",\"classes\":\"\",\"parent\":\"Wasmer\"},{\"kind\":2048,\"name\":\"free\",\"url\":\"classes/Wasmer.html#free\",\"classes\":\"\",\"parent\":\"Wasmer\"},{\"kind\":2048,\"name\":\"spawn\",\"url\":\"classes/Wasmer.html#spawn\",\"classes\":\"\",\"parent\":\"Wasmer\"},{\"kind\":2048,\"name\":\"runtime\",\"url\":\"classes/Wasmer.html#runtime\",\"classes\":\"\",\"parent\":\"Wasmer\"},{\"kind\":2097152,\"name\":\"InitInput\",\"url\":\"types/InitInput.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"InitOutput\",\"url\":\"interfaces/InitOutput.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"__wbg_instance_free\",\"url\":\"interfaces/InitOutput.html#__wbg_instance_free\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#__wbg_instance_free.__type-12\",\"classes\":\"\",\"parent\":\"InitOutput.__wbg_instance_free\"},{\"kind\":1024,\"name\":\"__wbg_get_instance_stdin\",\"url\":\"interfaces/InitOutput.html#__wbg_get_instance_stdin\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#__wbg_get_instance_stdin.__type-8\",\"classes\":\"\",\"parent\":\"InitOutput.__wbg_get_instance_stdin\"},{\"kind\":1024,\"name\":\"__wbg_get_instance_stdout\",\"url\":\"interfaces/InitOutput.html#__wbg_get_instance_stdout\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#__wbg_get_instance_stdout.__type-10\",\"classes\":\"\",\"parent\":\"InitOutput.__wbg_get_instance_stdout\"},{\"kind\":1024,\"name\":\"__wbg_get_instance_stderr\",\"url\":\"interfaces/InitOutput.html#__wbg_get_instance_stderr\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#__wbg_get_instance_stderr.__type-6\",\"classes\":\"\",\"parent\":\"InitOutput.__wbg_get_instance_stderr\"},{\"kind\":1024,\"name\":\"instance_wait\",\"url\":\"interfaces/InitOutput.html#instance_wait\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#instance_wait.__type-60\",\"classes\":\"\",\"parent\":\"InitOutput.instance_wait\"},{\"kind\":1024,\"name\":\"run\",\"url\":\"interfaces/InitOutput.html#run\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#run.__type-70\",\"classes\":\"\",\"parent\":\"InitOutput.run\"},{\"kind\":1024,\"name\":\"canonical_abi_realloc\",\"url\":\"interfaces/InitOutput.html#canonical_abi_realloc\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#canonical_abi_realloc.__type-44\",\"classes\":\"\",\"parent\":\"InitOutput.canonical_abi_realloc\"},{\"kind\":1024,\"name\":\"__wbg_trap_free\",\"url\":\"interfaces/InitOutput.html#__wbg_trap_free\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#__wbg_trap_free.__type-18\",\"classes\":\"\",\"parent\":\"InitOutput.__wbg_trap_free\"},{\"kind\":1024,\"name\":\"trap___wbgd_downcast_token\",\"url\":\"interfaces/InitOutput.html#trap___wbgd_downcast_token\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#trap___wbgd_downcast_token.__type-80\",\"classes\":\"\",\"parent\":\"InitOutput.trap___wbgd_downcast_token\"},{\"kind\":1024,\"name\":\"wat2wasm\",\"url\":\"interfaces/InitOutput.html#wat2wasm\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#wat2wasm.__type-96\",\"classes\":\"\",\"parent\":\"InitOutput.wat2wasm\"},{\"kind\":1024,\"name\":\"on_start\",\"url\":\"interfaces/InitOutput.html#on_start\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#on_start.__type-62\",\"classes\":\"\",\"parent\":\"InitOutput.on_start\"},{\"kind\":1024,\"name\":\"writablestreamsink_close\",\"url\":\"interfaces/InitOutput.html#writablestreamsink_close\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#writablestreamsink_close.__type-104\",\"classes\":\"\",\"parent\":\"InitOutput.writablestreamsink_close\"},{\"kind\":1024,\"name\":\"writablestreamsink_abort\",\"url\":\"interfaces/InitOutput.html#writablestreamsink_abort\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#writablestreamsink_abort.__type-102\",\"classes\":\"\",\"parent\":\"InitOutput.writablestreamsink_abort\"},{\"kind\":1024,\"name\":\"writablestreamsink_write\",\"url\":\"interfaces/InitOutput.html#writablestreamsink_write\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#writablestreamsink_write.__type-106\",\"classes\":\"\",\"parent\":\"InitOutput.writablestreamsink_write\"},{\"kind\":1024,\"name\":\"__wbg_readablestreamsource_free\",\"url\":\"interfaces/InitOutput.html#__wbg_readablestreamsource_free\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#__wbg_readablestreamsource_free.__type-14\",\"classes\":\"\",\"parent\":\"InitOutput.__wbg_readablestreamsource_free\"},{\"kind\":1024,\"name\":\"readablestreamsource_pull\",\"url\":\"interfaces/InitOutput.html#readablestreamsource_pull\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#readablestreamsource_pull.__type-66\",\"classes\":\"\",\"parent\":\"InitOutput.readablestreamsource_pull\"},{\"kind\":1024,\"name\":\"readablestreamsource_cancel\",\"url\":\"interfaces/InitOutput.html#readablestreamsource_cancel\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#readablestreamsource_cancel.__type-64\",\"classes\":\"\",\"parent\":\"InitOutput.readablestreamsource_cancel\"},{\"kind\":1024,\"name\":\"readablestreamsource_type\",\"url\":\"interfaces/InitOutput.html#readablestreamsource_type\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#readablestreamsource_type.__type-68\",\"classes\":\"\",\"parent\":\"InitOutput.readablestreamsource_type\"},{\"kind\":1024,\"name\":\"__wbg_container_free\",\"url\":\"interfaces/InitOutput.html#__wbg_container_free\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#__wbg_container_free.__type-4\",\"classes\":\"\",\"parent\":\"InitOutput.__wbg_container_free\"},{\"kind\":1024,\"name\":\"container_new\",\"url\":\"interfaces/InitOutput.html#container_new\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#container_new.__type-56\",\"classes\":\"\",\"parent\":\"InitOutput.container_new\"},{\"kind\":1024,\"name\":\"container_from_registry\",\"url\":\"interfaces/InitOutput.html#container_from_registry\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#container_from_registry.__type-48\",\"classes\":\"\",\"parent\":\"InitOutput.container_from_registry\"},{\"kind\":1024,\"name\":\"container_manifest\",\"url\":\"interfaces/InitOutput.html#container_manifest\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#container_manifest.__type-54\",\"classes\":\"\",\"parent\":\"InitOutput.container_manifest\"},{\"kind\":1024,\"name\":\"container_atom_names\",\"url\":\"interfaces/InitOutput.html#container_atom_names\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#container_atom_names.__type-46\",\"classes\":\"\",\"parent\":\"InitOutput.container_atom_names\"},{\"kind\":1024,\"name\":\"container_get_atom\",\"url\":\"interfaces/InitOutput.html#container_get_atom\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#container_get_atom.__type-50\",\"classes\":\"\",\"parent\":\"InitOutput.container_get_atom\"},{\"kind\":1024,\"name\":\"container_volume_names\",\"url\":\"interfaces/InitOutput.html#container_volume_names\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#container_volume_names.__type-58\",\"classes\":\"\",\"parent\":\"InitOutput.container_volume_names\"},{\"kind\":1024,\"name\":\"container_get_volume\",\"url\":\"interfaces/InitOutput.html#container_get_volume\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#container_get_volume.__type-52\",\"classes\":\"\",\"parent\":\"InitOutput.container_get_volume\"},{\"kind\":1024,\"name\":\"__wbg_volume_free\",\"url\":\"interfaces/InitOutput.html#__wbg_volume_free\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#__wbg_volume_free.__type-22\",\"classes\":\"\",\"parent\":\"InitOutput.__wbg_volume_free\"},{\"kind\":1024,\"name\":\"__wbg_wasmer_free\",\"url\":\"interfaces/InitOutput.html#__wbg_wasmer_free\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#__wbg_wasmer_free.__type-24\",\"classes\":\"\",\"parent\":\"InitOutput.__wbg_wasmer_free\"},{\"kind\":1024,\"name\":\"wasmer_new\",\"url\":\"interfaces/InitOutput.html#wasmer_new\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#wasmer_new.__type-90\",\"classes\":\"\",\"parent\":\"InitOutput.wasmer_new\"},{\"kind\":1024,\"name\":\"wasmer_spawn\",\"url\":\"interfaces/InitOutput.html#wasmer_spawn\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#wasmer_spawn.__type-94\",\"classes\":\"\",\"parent\":\"InitOutput.wasmer_spawn\"},{\"kind\":1024,\"name\":\"wasmer_runtime\",\"url\":\"interfaces/InitOutput.html#wasmer_runtime\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#wasmer_runtime.__type-92\",\"classes\":\"\",\"parent\":\"InitOutput.wasmer_runtime\"},{\"kind\":1024,\"name\":\"__wbg_workerstate_free\",\"url\":\"interfaces/InitOutput.html#__wbg_workerstate_free\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#__wbg_workerstate_free.__type-26\",\"classes\":\"\",\"parent\":\"InitOutput.__wbg_workerstate_free\"},{\"kind\":1024,\"name\":\"workerstate_new\",\"url\":\"interfaces/InitOutput.html#workerstate_new\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#workerstate_new.__type-100\",\"classes\":\"\",\"parent\":\"InitOutput.workerstate_new\"},{\"kind\":1024,\"name\":\"workerstate_handle\",\"url\":\"interfaces/InitOutput.html#workerstate_handle\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#workerstate_handle.__type-98\",\"classes\":\"\",\"parent\":\"InitOutput.workerstate_handle\"},{\"kind\":1024,\"name\":\"__wbg_tty_free\",\"url\":\"interfaces/InitOutput.html#__wbg_tty_free\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#__wbg_tty_free.__type-20\",\"classes\":\"\",\"parent\":\"InitOutput.__wbg_tty_free\"},{\"kind\":1024,\"name\":\"tty_new\",\"url\":\"interfaces/InitOutput.html#tty_new\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#tty_new.__type-82\",\"classes\":\"\",\"parent\":\"InitOutput.tty_new\"},{\"kind\":1024,\"name\":\"tty_reset\",\"url\":\"interfaces/InitOutput.html#tty_reset\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#tty_reset.__type-84\",\"classes\":\"\",\"parent\":\"InitOutput.tty_reset\"},{\"kind\":1024,\"name\":\"tty_state\",\"url\":\"interfaces/InitOutput.html#tty_state\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#tty_state.__type-88\",\"classes\":\"\",\"parent\":\"InitOutput.tty_state\"},{\"kind\":1024,\"name\":\"tty_set_state\",\"url\":\"interfaces/InitOutput.html#tty_set_state\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#tty_set_state.__type-86\",\"classes\":\"\",\"parent\":\"InitOutput.tty_set_state\"},{\"kind\":1024,\"name\":\"__wbg_runtime_free\",\"url\":\"interfaces/InitOutput.html#__wbg_runtime_free\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#__wbg_runtime_free.__type-16\",\"classes\":\"\",\"parent\":\"InitOutput.__wbg_runtime_free\"},{\"kind\":1024,\"name\":\"runtime_with_pool_size\",\"url\":\"interfaces/InitOutput.html#runtime_with_pool_size\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#runtime_with_pool_size.__type-78\",\"classes\":\"\",\"parent\":\"InitOutput.runtime_with_pool_size\"},{\"kind\":1024,\"name\":\"runtime_set_registry\",\"url\":\"interfaces/InitOutput.html#runtime_set_registry\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#runtime_set_registry.__type-74\",\"classes\":\"\",\"parent\":\"InitOutput.runtime_set_registry\"},{\"kind\":1024,\"name\":\"runtime_set_network_gateway\",\"url\":\"interfaces/InitOutput.html#runtime_set_network_gateway\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#runtime_set_network_gateway.__type-72\",\"classes\":\"\",\"parent\":\"InitOutput.runtime_set_network_gateway\"},{\"kind\":1024,\"name\":\"runtime_set_tty\",\"url\":\"interfaces/InitOutput.html#runtime_set_tty\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#runtime_set_tty.__type-76\",\"classes\":\"\",\"parent\":\"InitOutput.runtime_set_tty\"},{\"kind\":1024,\"name\":\"canonical_abi_free\",\"url\":\"interfaces/InitOutput.html#canonical_abi_free\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#canonical_abi_free.__type-42\",\"classes\":\"\",\"parent\":\"InitOutput.canonical_abi_free\"},{\"kind\":1024,\"name\":\"__wbg_writablestreamsink_free\",\"url\":\"interfaces/InitOutput.html#__wbg_writablestreamsink_free\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#__wbg_writablestreamsink_free.__type-28\",\"classes\":\"\",\"parent\":\"InitOutput.__wbg_writablestreamsink_free\"},{\"kind\":1024,\"name\":\"memory\",\"url\":\"interfaces/InitOutput.html#memory\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":1024,\"name\":\"__wbindgen_malloc\",\"url\":\"interfaces/InitOutput.html#__wbindgen_malloc\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#__wbindgen_malloc.__type-34\",\"classes\":\"\",\"parent\":\"InitOutput.__wbindgen_malloc\"},{\"kind\":1024,\"name\":\"__wbindgen_realloc\",\"url\":\"interfaces/InitOutput.html#__wbindgen_realloc\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#__wbindgen_realloc.__type-36\",\"classes\":\"\",\"parent\":\"InitOutput.__wbindgen_realloc\"},{\"kind\":1024,\"name\":\"__wbindgen_export_3\",\"url\":\"interfaces/InitOutput.html#__wbindgen_export_3\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":1024,\"name\":\"_ZN12wasm_bindgen7convert8closures11invoke1_mut17h0d9ed318e74132e1E\",\"url\":\"interfaces/InitOutput.html#_ZN12wasm_bindgen7convert8closures11invoke1_mut17h0d9ed318e74132e1E\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#_ZN12wasm_bindgen7convert8closures11invoke1_mut17h0d9ed318e74132e1E.__type\",\"classes\":\"\",\"parent\":\"InitOutput._ZN12wasm_bindgen7convert8closures11invoke1_mut17h0d9ed318e74132e1E\"},{\"kind\":1024,\"name\":\"__wbindgen_add_to_stack_pointer\",\"url\":\"interfaces/InitOutput.html#__wbindgen_add_to_stack_pointer\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#__wbindgen_add_to_stack_pointer.__type-30\",\"classes\":\"\",\"parent\":\"InitOutput.__wbindgen_add_to_stack_pointer\"},{\"kind\":1024,\"name\":\"__wbindgen_exn_store\",\"url\":\"interfaces/InitOutput.html#__wbindgen_exn_store\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#__wbindgen_exn_store.__type-32\",\"classes\":\"\",\"parent\":\"InitOutput.__wbindgen_exn_store\"},{\"kind\":1024,\"name\":\"_ZN12wasm_bindgen7convert8closures11invoke2_mut17h96e057fd7d012f19E\",\"url\":\"interfaces/InitOutput.html#_ZN12wasm_bindgen7convert8closures11invoke2_mut17h96e057fd7d012f19E\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#_ZN12wasm_bindgen7convert8closures11invoke2_mut17h96e057fd7d012f19E.__type-2\",\"classes\":\"\",\"parent\":\"InitOutput._ZN12wasm_bindgen7convert8closures11invoke2_mut17h96e057fd7d012f19E\"},{\"kind\":1024,\"name\":\"__wbindgen_thread_destroy\",\"url\":\"interfaces/InitOutput.html#__wbindgen_thread_destroy\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#__wbindgen_thread_destroy.__type-40\",\"classes\":\"\",\"parent\":\"InitOutput.__wbindgen_thread_destroy\"},{\"kind\":1024,\"name\":\"__wbindgen_start\",\"url\":\"interfaces/InitOutput.html#__wbindgen_start\",\"classes\":\"\",\"parent\":\"InitOutput\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/InitOutput.html#__wbindgen_start.__type-38\",\"classes\":\"\",\"parent\":\"InitOutput.__wbindgen_start\"},{\"kind\":2097152,\"name\":\"SyncInitInput\",\"url\":\"types/SyncInitInput.html\",\"classes\":\"\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,43.255]],[\"comment/0\",[]],[\"name/1\",[1,43.255]],[\"comment/1\",[]],[\"name/2\",[2,48.363]],[\"comment/2\",[]],[\"name/3\",[3,48.363]],[\"comment/3\",[]],[\"name/4\",[4,11.558]],[\"comment/4\",[]],[\"name/5\",[5,48.363]],[\"comment/5\",[]],[\"name/6\",[6,48.363]],[\"comment/6\",[]],[\"name/7\",[7,43.255]],[\"comment/7\",[]],[\"name/8\",[8,43.255]],[\"comment/8\",[]],[\"name/9\",[9,48.363]],[\"comment/9\",[]],[\"name/10\",[4,11.558]],[\"comment/10\",[]],[\"name/11\",[10,48.363]],[\"comment/11\",[]],[\"name/12\",[11,48.363]],[\"comment/12\",[]],[\"name/13\",[12,48.363]],[\"comment/13\",[]],[\"name/14\",[13,43.255]],[\"comment/14\",[]],[\"name/15\",[14,43.255]],[\"comment/15\",[]],[\"name/16\",[4,11.558]],[\"comment/16\",[]],[\"name/17\",[15,48.363]],[\"comment/17\",[]],[\"name/18\",[16,48.363]],[\"comment/18\",[]],[\"name/19\",[4,11.558]],[\"comment/19\",[]],[\"name/20\",[17,48.363]],[\"comment/20\",[]],[\"name/21\",[18,48.363]],[\"comment/21\",[]],[\"name/22\",[19,48.363]],[\"comment/22\",[]],[\"name/23\",[20,48.363]],[\"comment/23\",[]],[\"name/24\",[21,48.363]],[\"comment/24\",[]],[\"name/25\",[4,11.558]],[\"comment/25\",[]],[\"name/26\",[22,48.363]],[\"comment/26\",[]],[\"name/27\",[23,48.363]],[\"comment/27\",[]],[\"name/28\",[24,48.363]],[\"comment/28\",[]],[\"name/29\",[25,48.363]],[\"comment/29\",[]],[\"name/30\",[26,48.363]],[\"comment/30\",[]],[\"name/31\",[27,48.363]],[\"comment/31\",[]],[\"name/32\",[28,48.363]],[\"comment/32\",[]],[\"name/33\",[29,48.363]],[\"comment/33\",[]],[\"name/34\",[30,48.363]],[\"comment/34\",[]],[\"name/35\",[31,48.363]],[\"comment/35\",[]],[\"name/36\",[32,48.363]],[\"comment/36\",[]],[\"name/37\",[33,48.363]],[\"comment/37\",[]],[\"name/38\",[34,32.268]],[\"comment/38\",[]],[\"name/39\",[35,32.268]],[\"comment/39\",[]],[\"name/40\",[14,43.255]],[\"comment/40\",[]],[\"name/41\",[36,48.363]],[\"comment/41\",[]],[\"name/42\",[37,48.363]],[\"comment/42\",[]],[\"name/43\",[38,48.363]],[\"comment/43\",[]],[\"name/44\",[39,48.363]],[\"comment/44\",[]],[\"name/45\",[40,48.363]],[\"comment/45\",[]],[\"name/46\",[34,32.268]],[\"comment/46\",[]],[\"name/47\",[35,32.268]],[\"comment/47\",[]],[\"name/48\",[41,48.363]],[\"comment/48\",[]],[\"name/49\",[8,43.255]],[\"comment/49\",[]],[\"name/50\",[13,43.255]],[\"comment/50\",[]],[\"name/51\",[7,43.255]],[\"comment/51\",[]],[\"name/52\",[42,43.255]],[\"comment/52\",[]],[\"name/53\",[34,32.268]],[\"comment/53\",[]],[\"name/54\",[35,32.268]],[\"comment/54\",[]],[\"name/55\",[43,48.363]],[\"comment/55\",[]],[\"name/56\",[44,48.363]],[\"comment/56\",[]],[\"name/57\",[45,48.363]],[\"comment/57\",[]],[\"name/58\",[46,48.363]],[\"comment/58\",[]],[\"name/59\",[47,48.363]],[\"comment/59\",[]],[\"name/60\",[34,32.268]],[\"comment/60\",[]],[\"name/61\",[35,32.268]],[\"comment/61\",[]],[\"name/62\",[48,48.363]],[\"comment/62\",[]],[\"name/63\",[34,32.268]],[\"comment/63\",[]],[\"name/64\",[35,32.268]],[\"comment/64\",[]],[\"name/65\",[49,48.363]],[\"comment/65\",[]],[\"name/66\",[50,48.363]],[\"comment/66\",[]],[\"name/67\",[51,48.363]],[\"comment/67\",[]],[\"name/68\",[34,32.268]],[\"comment/68\",[]],[\"name/69\",[35,32.268]],[\"comment/69\",[]],[\"name/70\",[52,48.363]],[\"comment/70\",[]],[\"name/71\",[34,32.268]],[\"comment/71\",[]],[\"name/72\",[35,32.268]],[\"comment/72\",[]],[\"name/73\",[53,48.363]],[\"comment/73\",[]],[\"name/74\",[42,43.255]],[\"comment/74\",[]],[\"name/75\",[54,48.363]],[\"comment/75\",[]],[\"name/76\",[55,48.363]],[\"comment/76\",[]],[\"name/77\",[56,48.363]],[\"comment/77\",[]],[\"name/78\",[4,11.558]],[\"comment/78\",[]],[\"name/79\",[57,48.363]],[\"comment/79\",[]],[\"name/80\",[4,11.558]],[\"comment/80\",[]],[\"name/81\",[58,48.363]],[\"comment/81\",[]],[\"name/82\",[4,11.558]],[\"comment/82\",[]],[\"name/83\",[59,48.363]],[\"comment/83\",[]],[\"name/84\",[4,11.558]],[\"comment/84\",[]],[\"name/85\",[60,48.363]],[\"comment/85\",[]],[\"name/86\",[4,11.558]],[\"comment/86\",[]],[\"name/87\",[0,43.255]],[\"comment/87\",[]],[\"name/88\",[4,11.558]],[\"comment/88\",[]],[\"name/89\",[61,48.363]],[\"comment/89\",[]],[\"name/90\",[4,11.558]],[\"comment/90\",[]],[\"name/91\",[62,48.363]],[\"comment/91\",[]],[\"name/92\",[4,11.558]],[\"comment/92\",[]],[\"name/93\",[63,48.363]],[\"comment/93\",[]],[\"name/94\",[4,11.558]],[\"comment/94\",[]],[\"name/95\",[1,43.255]],[\"comment/95\",[]],[\"name/96\",[4,11.558]],[\"comment/96\",[]],[\"name/97\",[64,48.363]],[\"comment/97\",[]],[\"name/98\",[4,11.558]],[\"comment/98\",[]],[\"name/99\",[65,48.363]],[\"comment/99\",[]],[\"name/100\",[4,11.558]],[\"comment/100\",[]],[\"name/101\",[66,48.363]],[\"comment/101\",[]],[\"name/102\",[4,11.558]],[\"comment/102\",[]],[\"name/103\",[67,48.363]],[\"comment/103\",[]],[\"name/104\",[4,11.558]],[\"comment/104\",[]],[\"name/105\",[68,48.363]],[\"comment/105\",[]],[\"name/106\",[4,11.558]],[\"comment/106\",[]],[\"name/107\",[69,48.363]],[\"comment/107\",[]],[\"name/108\",[4,11.558]],[\"comment/108\",[]],[\"name/109\",[70,48.363]],[\"comment/109\",[]],[\"name/110\",[4,11.558]],[\"comment/110\",[]],[\"name/111\",[71,48.363]],[\"comment/111\",[]],[\"name/112\",[4,11.558]],[\"comment/112\",[]],[\"name/113\",[72,48.363]],[\"comment/113\",[]],[\"name/114\",[4,11.558]],[\"comment/114\",[]],[\"name/115\",[73,48.363]],[\"comment/115\",[]],[\"name/116\",[4,11.558]],[\"comment/116\",[]],[\"name/117\",[74,48.363]],[\"comment/117\",[]],[\"name/118\",[4,11.558]],[\"comment/118\",[]],[\"name/119\",[75,48.363]],[\"comment/119\",[]],[\"name/120\",[4,11.558]],[\"comment/120\",[]],[\"name/121\",[76,48.363]],[\"comment/121\",[]],[\"name/122\",[4,11.558]],[\"comment/122\",[]],[\"name/123\",[77,48.363]],[\"comment/123\",[]],[\"name/124\",[4,11.558]],[\"comment/124\",[]],[\"name/125\",[78,48.363]],[\"comment/125\",[]],[\"name/126\",[4,11.558]],[\"comment/126\",[]],[\"name/127\",[79,48.363]],[\"comment/127\",[]],[\"name/128\",[4,11.558]],[\"comment/128\",[]],[\"name/129\",[80,48.363]],[\"comment/129\",[]],[\"name/130\",[4,11.558]],[\"comment/130\",[]],[\"name/131\",[81,48.363]],[\"comment/131\",[]],[\"name/132\",[4,11.558]],[\"comment/132\",[]],[\"name/133\",[82,48.363]],[\"comment/133\",[]],[\"name/134\",[4,11.558]],[\"comment/134\",[]],[\"name/135\",[83,48.363]],[\"comment/135\",[]],[\"name/136\",[4,11.558]],[\"comment/136\",[]],[\"name/137\",[84,48.363]],[\"comment/137\",[]],[\"name/138\",[4,11.558]],[\"comment/138\",[]],[\"name/139\",[85,48.363]],[\"comment/139\",[]],[\"name/140\",[4,11.558]],[\"comment/140\",[]],[\"name/141\",[86,48.363]],[\"comment/141\",[]],[\"name/142\",[4,11.558]],[\"comment/142\",[]],[\"name/143\",[87,48.363]],[\"comment/143\",[]],[\"name/144\",[4,11.558]],[\"comment/144\",[]],[\"name/145\",[88,48.363]],[\"comment/145\",[]],[\"name/146\",[4,11.558]],[\"comment/146\",[]],[\"name/147\",[89,48.363]],[\"comment/147\",[]],[\"name/148\",[4,11.558]],[\"comment/148\",[]],[\"name/149\",[90,48.363]],[\"comment/149\",[]],[\"name/150\",[4,11.558]],[\"comment/150\",[]],[\"name/151\",[91,48.363]],[\"comment/151\",[]],[\"name/152\",[4,11.558]],[\"comment/152\",[]],[\"name/153\",[92,48.363]],[\"comment/153\",[]],[\"name/154\",[4,11.558]],[\"comment/154\",[]],[\"name/155\",[93,48.363]],[\"comment/155\",[]],[\"name/156\",[4,11.558]],[\"comment/156\",[]],[\"name/157\",[94,48.363]],[\"comment/157\",[]],[\"name/158\",[4,11.558]],[\"comment/158\",[]],[\"name/159\",[95,48.363]],[\"comment/159\",[]],[\"name/160\",[4,11.558]],[\"comment/160\",[]],[\"name/161\",[96,48.363]],[\"comment/161\",[]],[\"name/162\",[4,11.558]],[\"comment/162\",[]],[\"name/163\",[97,48.363]],[\"comment/163\",[]],[\"name/164\",[4,11.558]],[\"comment/164\",[]],[\"name/165\",[98,48.363]],[\"comment/165\",[]],[\"name/166\",[4,11.558]],[\"comment/166\",[]],[\"name/167\",[99,48.363]],[\"comment/167\",[]],[\"name/168\",[4,11.558]],[\"comment/168\",[]],[\"name/169\",[100,48.363]],[\"comment/169\",[]],[\"name/170\",[101,48.363]],[\"comment/170\",[]],[\"name/171\",[4,11.558]],[\"comment/171\",[]],[\"name/172\",[102,48.363]],[\"comment/172\",[]],[\"name/173\",[4,11.558]],[\"comment/173\",[]],[\"name/174\",[103,48.363]],[\"comment/174\",[]],[\"name/175\",[104,48.363]],[\"comment/175\",[]],[\"name/176\",[4,11.558]],[\"comment/176\",[]],[\"name/177\",[105,48.363]],[\"comment/177\",[]],[\"name/178\",[4,11.558]],[\"comment/178\",[]],[\"name/179\",[106,48.363]],[\"comment/179\",[]],[\"name/180\",[4,11.558]],[\"comment/180\",[]],[\"name/181\",[107,48.363]],[\"comment/181\",[]],[\"name/182\",[4,11.558]],[\"comment/182\",[]],[\"name/183\",[108,48.363]],[\"comment/183\",[]],[\"name/184\",[4,11.558]],[\"comment/184\",[]],[\"name/185\",[109,48.363]],[\"comment/185\",[]],[\"name/186\",[4,11.558]],[\"comment/186\",[]],[\"name/187\",[110,48.363]],[\"comment/187\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":4,\"name\":{\"4\":{},\"10\":{},\"16\":{},\"19\":{},\"25\":{},\"78\":{},\"80\":{},\"82\":{},\"84\":{},\"86\":{},\"88\":{},\"90\":{},\"92\":{},\"94\":{},\"96\":{},\"98\":{},\"100\":{},\"102\":{},\"104\":{},\"106\":{},\"108\":{},\"110\":{},\"112\":{},\"114\":{},\"116\":{},\"118\":{},\"120\":{},\"122\":{},\"124\":{},\"126\":{},\"128\":{},\"130\":{},\"132\":{},\"134\":{},\"136\":{},\"138\":{},\"140\":{},\"142\":{},\"144\":{},\"146\":{},\"148\":{},\"150\":{},\"152\":{},\"154\":{},\"156\":{},\"158\":{},\"160\":{},\"162\":{},\"164\":{},\"166\":{},\"168\":{},\"171\":{},\"173\":{},\"176\":{},\"178\":{},\"180\":{},\"182\":{},\"184\":{},\"186\":{}},\"comment\":{}}],[\"__wbg_container_free\",{\"_index\":72,\"name\":{\"113\":{}},\"comment\":{}}],[\"__wbg_get_instance_stderr\",{\"_index\":59,\"name\":{\"83\":{}},\"comment\":{}}],[\"__wbg_get_instance_stdin\",{\"_index\":57,\"name\":{\"79\":{}},\"comment\":{}}],[\"__wbg_get_instance_stdout\",{\"_index\":58,\"name\":{\"81\":{}},\"comment\":{}}],[\"__wbg_instance_free\",{\"_index\":56,\"name\":{\"77\":{}},\"comment\":{}}],[\"__wbg_readablestreamsource_free\",{\"_index\":68,\"name\":{\"105\":{}},\"comment\":{}}],[\"__wbg_runtime_free\",{\"_index\":93,\"name\":{\"155\":{}},\"comment\":{}}],[\"__wbg_trap_free\",{\"_index\":62,\"name\":{\"91\":{}},\"comment\":{}}],[\"__wbg_tty_free\",{\"_index\":88,\"name\":{\"145\":{}},\"comment\":{}}],[\"__wbg_volume_free\",{\"_index\":80,\"name\":{\"129\":{}},\"comment\":{}}],[\"__wbg_wasmer_free\",{\"_index\":81,\"name\":{\"131\":{}},\"comment\":{}}],[\"__wbg_workerstate_free\",{\"_index\":85,\"name\":{\"139\":{}},\"comment\":{}}],[\"__wbg_writablestreamsink_free\",{\"_index\":99,\"name\":{\"167\":{}},\"comment\":{}}],[\"__wbgd_downcast_token\",{\"_index\":47,\"name\":{\"59\":{}},\"comment\":{}}],[\"__wbindgen_add_to_stack_pointer\",{\"_index\":105,\"name\":{\"177\":{}},\"comment\":{}}],[\"__wbindgen_exn_store\",{\"_index\":106,\"name\":{\"179\":{}},\"comment\":{}}],[\"__wbindgen_export_3\",{\"_index\":103,\"name\":{\"174\":{}},\"comment\":{}}],[\"__wbindgen_malloc\",{\"_index\":101,\"name\":{\"170\":{}},\"comment\":{}}],[\"__wbindgen_realloc\",{\"_index\":102,\"name\":{\"172\":{}},\"comment\":{}}],[\"__wbindgen_start\",{\"_index\":109,\"name\":{\"185\":{}},\"comment\":{}}],[\"__wbindgen_thread_destroy\",{\"_index\":108,\"name\":{\"183\":{}},\"comment\":{}}],[\"_zn12wasm_bindgen7convert8closures11invoke1_mut17h0d9ed318e74132e1e\",{\"_index\":104,\"name\":{\"175\":{}},\"comment\":{}}],[\"_zn12wasm_bindgen7convert8closures11invoke2_mut17h96e057fd7d012f19e\",{\"_index\":107,\"name\":{\"181\":{}},\"comment\":{}}],[\"apikey\",{\"_index\":18,\"name\":{\"21\":{}},\"comment\":{}}],[\"args\",{\"_index\":11,\"name\":{\"12\":{}},\"comment\":{}}],[\"atom_names\",{\"_index\":36,\"name\":{\"41\":{}},\"comment\":{}}],[\"canonical_abi_free\",{\"_index\":98,\"name\":{\"165\":{}},\"comment\":{}}],[\"canonical_abi_realloc\",{\"_index\":61,\"name\":{\"89\":{}},\"comment\":{}}],[\"code\",{\"_index\":5,\"name\":{\"5\":{}},\"comment\":{}}],[\"cols\",{\"_index\":22,\"name\":{\"26\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":34,\"name\":{\"38\":{},\"46\":{},\"53\":{},\"60\":{},\"63\":{},\"68\":{},\"71\":{}},\"comment\":{}}],[\"container\",{\"_index\":32,\"name\":{\"36\":{}},\"comment\":{}}],[\"container_atom_names\",{\"_index\":76,\"name\":{\"121\":{}},\"comment\":{}}],[\"container_from_registry\",{\"_index\":74,\"name\":{\"117\":{}},\"comment\":{}}],[\"container_get_atom\",{\"_index\":77,\"name\":{\"123\":{}},\"comment\":{}}],[\"container_get_volume\",{\"_index\":79,\"name\":{\"127\":{}},\"comment\":{}}],[\"container_manifest\",{\"_index\":75,\"name\":{\"119\":{}},\"comment\":{}}],[\"container_new\",{\"_index\":73,\"name\":{\"115\":{}},\"comment\":{}}],[\"container_volume_names\",{\"_index\":78,\"name\":{\"125\":{}},\"comment\":{}}],[\"echo\",{\"_index\":29,\"name\":{\"33\":{}},\"comment\":{}}],[\"env\",{\"_index\":12,\"name\":{\"13\":{}},\"comment\":{}}],[\"free\",{\"_index\":35,\"name\":{\"39\":{},\"47\":{},\"54\":{},\"61\":{},\"64\":{},\"69\":{},\"72\":{}},\"comment\":{}}],[\"from_registry\",{\"_index\":33,\"name\":{\"37\":{}},\"comment\":{}}],[\"get_atom\",{\"_index\":37,\"name\":{\"42\":{}},\"comment\":{}}],[\"get_volume\",{\"_index\":39,\"name\":{\"44\":{}},\"comment\":{}}],[\"height\",{\"_index\":25,\"name\":{\"29\":{}},\"comment\":{}}],[\"initinput\",{\"_index\":54,\"name\":{\"75\":{}},\"comment\":{}}],[\"initoutput\",{\"_index\":55,\"name\":{\"76\":{}},\"comment\":{}}],[\"initsync\",{\"_index\":2,\"name\":{\"2\":{}},\"comment\":{}}],[\"instance\",{\"_index\":40,\"name\":{\"45\":{}},\"comment\":{}}],[\"instance_wait\",{\"_index\":60,\"name\":{\"85\":{}},\"comment\":{}}],[\"line_buffered\",{\"_index\":30,\"name\":{\"34\":{}},\"comment\":{}}],[\"line_feeds\",{\"_index\":31,\"name\":{\"35\":{}},\"comment\":{}}],[\"manifest\",{\"_index\":14,\"name\":{\"15\":{},\"40\":{}},\"comment\":{}}],[\"memory\",{\"_index\":100,\"name\":{\"169\":{}},\"comment\":{}}],[\"networkgateway\",{\"_index\":20,\"name\":{\"23\":{}},\"comment\":{}}],[\"ok\",{\"_index\":6,\"name\":{\"6\":{}},\"comment\":{}}],[\"on_start\",{\"_index\":64,\"name\":{\"97\":{}},\"comment\":{}}],[\"output\",{\"_index\":3,\"name\":{\"3\":{}},\"comment\":{}}],[\"poolsize\",{\"_index\":17,\"name\":{\"20\":{}},\"comment\":{}}],[\"program\",{\"_index\":10,\"name\":{\"11\":{}},\"comment\":{}}],[\"readablestreamsource_cancel\",{\"_index\":70,\"name\":{\"109\":{}},\"comment\":{}}],[\"readablestreamsource_pull\",{\"_index\":69,\"name\":{\"107\":{}},\"comment\":{}}],[\"readablestreamsource_type\",{\"_index\":71,\"name\":{\"111\":{}},\"comment\":{}}],[\"registryurl\",{\"_index\":19,\"name\":{\"22\":{}},\"comment\":{}}],[\"reset\",{\"_index\":49,\"name\":{\"65\":{}},\"comment\":{}}],[\"rows\",{\"_index\":23,\"name\":{\"27\":{}},\"comment\":{}}],[\"run\",{\"_index\":0,\"name\":{\"0\":{},\"87\":{}},\"comment\":{}}],[\"runconfig\",{\"_index\":9,\"name\":{\"9\":{}},\"comment\":{}}],[\"runtime\",{\"_index\":42,\"name\":{\"52\":{},\"74\":{}},\"comment\":{}}],[\"runtime_set_network_gateway\",{\"_index\":96,\"name\":{\"161\":{}},\"comment\":{}}],[\"runtime_set_registry\",{\"_index\":95,\"name\":{\"159\":{}},\"comment\":{}}],[\"runtime_set_tty\",{\"_index\":97,\"name\":{\"163\":{}},\"comment\":{}}],[\"runtime_with_pool_size\",{\"_index\":94,\"name\":{\"157\":{}},\"comment\":{}}],[\"set_network_gateway\",{\"_index\":44,\"name\":{\"56\":{}},\"comment\":{}}],[\"set_registry\",{\"_index\":43,\"name\":{\"55\":{}},\"comment\":{}}],[\"set_tty\",{\"_index\":45,\"name\":{\"57\":{}},\"comment\":{}}],[\"spawn\",{\"_index\":53,\"name\":{\"73\":{}},\"comment\":{}}],[\"spawnconfig\",{\"_index\":15,\"name\":{\"17\":{}},\"comment\":{}}],[\"state\",{\"_index\":50,\"name\":{\"66\":{}},\"comment\":{}}],[\"stderr\",{\"_index\":8,\"name\":{\"8\":{},\"49\":{}},\"comment\":{}}],[\"stderr_tty\",{\"_index\":28,\"name\":{\"32\":{}},\"comment\":{}}],[\"stdin\",{\"_index\":13,\"name\":{\"14\":{},\"50\":{}},\"comment\":{}}],[\"stdin_tty\",{\"_index\":26,\"name\":{\"30\":{}},\"comment\":{}}],[\"stdout\",{\"_index\":7,\"name\":{\"7\":{},\"51\":{}},\"comment\":{}}],[\"stdout_tty\",{\"_index\":27,\"name\":{\"31\":{}},\"comment\":{}}],[\"syncinitinput\",{\"_index\":110,\"name\":{\"187\":{}},\"comment\":{}}],[\"trap\",{\"_index\":46,\"name\":{\"58\":{}},\"comment\":{}}],[\"trap___wbgd_downcast_token\",{\"_index\":63,\"name\":{\"93\":{}},\"comment\":{}}],[\"tty\",{\"_index\":48,\"name\":{\"62\":{}},\"comment\":{}}],[\"tty_new\",{\"_index\":89,\"name\":{\"147\":{}},\"comment\":{}}],[\"tty_reset\",{\"_index\":90,\"name\":{\"149\":{}},\"comment\":{}}],[\"tty_set_state\",{\"_index\":92,\"name\":{\"153\":{}},\"comment\":{}}],[\"tty_state\",{\"_index\":91,\"name\":{\"151\":{}},\"comment\":{}}],[\"ttystate\",{\"_index\":21,\"name\":{\"24\":{}},\"comment\":{}}],[\"volume\",{\"_index\":51,\"name\":{\"67\":{}},\"comment\":{}}],[\"volume_names\",{\"_index\":38,\"name\":{\"43\":{}},\"comment\":{}}],[\"wait\",{\"_index\":41,\"name\":{\"48\":{}},\"comment\":{}}],[\"wasmer\",{\"_index\":52,\"name\":{\"70\":{}},\"comment\":{}}],[\"wasmer_new\",{\"_index\":82,\"name\":{\"133\":{}},\"comment\":{}}],[\"wasmer_runtime\",{\"_index\":84,\"name\":{\"137\":{}},\"comment\":{}}],[\"wasmer_spawn\",{\"_index\":83,\"name\":{\"135\":{}},\"comment\":{}}],[\"wasmerconfig\",{\"_index\":16,\"name\":{\"18\":{}},\"comment\":{}}],[\"wat2wasm\",{\"_index\":1,\"name\":{\"1\":{},\"95\":{}},\"comment\":{}}],[\"width\",{\"_index\":24,\"name\":{\"28\":{}},\"comment\":{}}],[\"workerstate_handle\",{\"_index\":87,\"name\":{\"143\":{}},\"comment\":{}}],[\"workerstate_new\",{\"_index\":86,\"name\":{\"141\":{}},\"comment\":{}}],[\"writablestreamsink_abort\",{\"_index\":66,\"name\":{\"101\":{}},\"comment\":{}}],[\"writablestreamsink_close\",{\"_index\":65,\"name\":{\"99\":{}},\"comment\":{}}],[\"writablestreamsink_write\",{\"_index\":67,\"name\":{\"103\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file diff --git a/assets/style.css b/assets/style.css new file mode 100644 index 00000000..258146fc --- /dev/null +++ b/assets/style.css @@ -0,0 +1,1379 @@ +:root { + /* Light */ + --light-color-background: #f2f4f8; + --light-color-background-secondary: #eff0f1; + --light-color-warning-text: #222; + --light-color-background-warning: #e6e600; + --light-color-icon-background: var(--light-color-background); + --light-color-accent: #c5c7c9; + --light-color-active-menu-item: var(--light-color-accent); + --light-color-text: #222; + --light-color-text-aside: #6e6e6e; + --light-color-link: #1f70c2; + + --light-color-ts-project: #b111c9; + --light-color-ts-module: var(--light-color-ts-project); + --light-color-ts-namespace: var(--light-color-ts-project); + --light-color-ts-enum: #7e6f15; + --light-color-ts-enum-member: var(--light-color-ts-enum); + --light-color-ts-variable: #4760ec; + --light-color-ts-function: #572be7; + --light-color-ts-class: #1f70c2; + --light-color-ts-interface: #108024; + --light-color-ts-constructor: var(--light-color-ts-class); + --light-color-ts-property: var(--light-color-ts-variable); + --light-color-ts-method: var(--light-color-ts-function); + --light-color-ts-call-signature: var(--light-color-ts-method); + --light-color-ts-index-signature: var(--light-color-ts-property); + --light-color-ts-constructor-signature: var(--light-color-ts-constructor); + --light-color-ts-parameter: var(--light-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --light-color-ts-type-parameter: var(--light-color-ts-type-alias); + --light-color-ts-accessor: var(--light-color-ts-property); + --light-color-ts-get-signature: var(--light-color-ts-accessor); + --light-color-ts-set-signature: var(--light-color-ts-accessor); + --light-color-ts-type-alias: #d51270; + /* reference not included as links will be colored with the kind that it points to */ + + --light-external-icon: url("data:image/svg+xml;utf8,"); + --light-color-scheme: light; + + /* Dark */ + --dark-color-background: #2b2e33; + --dark-color-background-secondary: #1e2024; + --dark-color-background-warning: #bebe00; + --dark-color-warning-text: #222; + --dark-color-icon-background: var(--dark-color-background-secondary); + --dark-color-accent: #9096a2; + --dark-color-active-menu-item: #5d5d6a; + --dark-color-text: #f5f5f5; + --dark-color-text-aside: #dddddd; + --dark-color-link: #00aff4; + + --dark-color-ts-project: #e358ff; + --dark-color-ts-module: var(--dark-color-ts-project); + --dark-color-ts-namespace: var(--dark-color-ts-project); + --dark-color-ts-enum: #f4d93e; + --dark-color-ts-enum-member: var(--dark-color-ts-enum); + --dark-color-ts-variable: #798dff; + --dark-color-ts-function: #a280ff; + --dark-color-ts-class: #8ac4ff; + --dark-color-ts-interface: #6cff87; + --dark-color-ts-constructor: var(--dark-color-ts-class); + --dark-color-ts-property: var(--dark-color-ts-variable); + --dark-color-ts-method: var(--dark-color-ts-function); + --dark-color-ts-call-signature: var(--dark-color-ts-method); + --dark-color-ts-index-signature: var(--dark-color-ts-property); + --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); + --dark-color-ts-parameter: var(--dark-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --dark-color-ts-type-parameter: var(--dark-color-ts-type-alias); + --dark-color-ts-accessor: var(--dark-color-ts-property); + --dark-color-ts-get-signature: var(--dark-color-ts-accessor); + --dark-color-ts-set-signature: var(--dark-color-ts-accessor); + --dark-color-ts-type-alias: #ff6492; + /* reference not included as links will be colored with the kind that it points to */ + + --dark-external-icon: url("data:image/svg+xml;utf8,"); + --dark-color-scheme: dark; +} + +@media (prefers-color-scheme: light) { + :root { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); + } +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); + } +} + +html { + color-scheme: var(--color-scheme); +} + +body { + margin: 0; +} + +:root[data-theme="light"] { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); +} + +:root[data-theme="dark"] { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); +} + +.always-visible, +.always-visible .tsd-signatures { + display: inherit !important; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + line-height: 1.2; +} + +h1 > a, +h2 > a, +h3 > a, +h4 > a, +h5 > a, +h6 > a { + text-decoration: none; + color: var(--color-text); +} + +h1 { + font-size: 1.875rem; + margin: 0.67rem 0; +} + +h2 { + font-size: 1.5rem; + margin: 0.83rem 0; +} + +h3 { + font-size: 1.25rem; + margin: 1rem 0; +} + +h4 { + font-size: 1.05rem; + margin: 1.33rem 0; +} + +h5 { + font-size: 1rem; + margin: 1.5rem 0; +} + +h6 { + font-size: 0.875rem; + margin: 2.33rem 0; +} + +.uppercase { + text-transform: uppercase; +} + +dl, +menu, +ol, +ul { + margin: 1em 0; +} + +dd { + margin: 0 0 0 40px; +} + +.container { + max-width: 1700px; + padding: 0 2rem; +} + +/* Footer */ +.tsd-generator { + border-top: 1px solid var(--color-accent); + padding-top: 1rem; + padding-bottom: 1rem; + max-height: 3.5rem; +} + +.tsd-generator > p { + margin-top: 0; + margin-bottom: 0; + padding: 0 1rem; +} + +.container-main { + margin: 0 auto; + /* toolbar, footer, margin */ + min-height: calc(100vh - 41px - 56px - 4rem); +} + +@keyframes fade-in { + from { + opacity: 0; + } + to { + opacity: 1; + } +} +@keyframes fade-out { + from { + opacity: 1; + visibility: visible; + } + to { + opacity: 0; + } +} +@keyframes fade-in-delayed { + 0% { + opacity: 0; + } + 33% { + opacity: 0; + } + 100% { + opacity: 1; + } +} +@keyframes fade-out-delayed { + 0% { + opacity: 1; + visibility: visible; + } + 66% { + opacity: 0; + } + 100% { + opacity: 0; + } +} +@keyframes pop-in-from-right { + from { + transform: translate(100%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-out-to-right { + from { + transform: translate(0, 0); + visibility: visible; + } + to { + transform: translate(100%, 0); + } +} +body { + background: var(--color-background); + font-family: "Segoe UI", sans-serif; + font-size: 16px; + color: var(--color-text); +} + +a { + color: var(--color-link); + text-decoration: none; +} +a:hover { + text-decoration: underline; +} +a.external[target="_blank"] { + background-image: var(--external-icon); + background-position: top 3px right; + background-repeat: no-repeat; + padding-right: 13px; +} + +code, +pre { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + padding: 0.2em; + margin: 0; + font-size: 0.875rem; + border-radius: 0.8em; +} + +pre { + position: relative; + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; + padding: 10px; + border: 1px solid var(--color-accent); +} +pre code { + padding: 0; + font-size: 100%; +} +pre > button { + position: absolute; + top: 10px; + right: 10px; + opacity: 0; + transition: opacity 0.1s; + box-sizing: border-box; +} +pre:hover > button, +pre > button.visible { + opacity: 1; +} + +blockquote { + margin: 1em 0; + padding-left: 1em; + border-left: 4px solid gray; +} + +.tsd-typography { + line-height: 1.333em; +} +.tsd-typography ul { + list-style: square; + padding: 0 0 0 20px; + margin: 0; +} +.tsd-typography .tsd-index-panel h3, +.tsd-index-panel .tsd-typography h3, +.tsd-typography h4, +.tsd-typography h5, +.tsd-typography h6 { + font-size: 1em; +} +.tsd-typography h5, +.tsd-typography h6 { + font-weight: normal; +} +.tsd-typography p, +.tsd-typography ul, +.tsd-typography ol { + margin: 1em 0; +} +.tsd-typography table { + border-collapse: collapse; + border: none; +} +.tsd-typography td, +.tsd-typography th { + padding: 6px 13px; + border: 1px solid var(--color-accent); +} +.tsd-typography thead, +.tsd-typography tr:nth-child(even) { + background-color: var(--color-background-secondary); +} + +.tsd-breadcrumb { + margin: 0; + padding: 0; + color: var(--color-text-aside); +} +.tsd-breadcrumb a { + color: var(--color-text-aside); + text-decoration: none; +} +.tsd-breadcrumb a:hover { + text-decoration: underline; +} +.tsd-breadcrumb li { + display: inline; +} +.tsd-breadcrumb li:after { + content: " / "; +} + +.tsd-comment-tags { + display: flex; + flex-direction: column; +} +dl.tsd-comment-tag-group { + display: flex; + align-items: center; + overflow: hidden; + margin: 0.5em 0; +} +dl.tsd-comment-tag-group dt { + display: flex; + margin-right: 0.5em; + font-size: 0.875em; + font-weight: normal; +} +dl.tsd-comment-tag-group dd { + margin: 0; +} +code.tsd-tag { + padding: 0.25em 0.4em; + border: 0.1em solid var(--color-accent); + margin-right: 0.25em; + font-size: 70%; +} +h1 code.tsd-tag:first-of-type { + margin-left: 0.25em; +} + +dl.tsd-comment-tag-group dd:before, +dl.tsd-comment-tag-group dd:after { + content: " "; +} +dl.tsd-comment-tag-group dd pre, +dl.tsd-comment-tag-group dd:after { + clear: both; +} +dl.tsd-comment-tag-group p { + margin: 0; +} + +.tsd-panel.tsd-comment .lead { + font-size: 1.1em; + line-height: 1.333em; + margin-bottom: 2em; +} +.tsd-panel.tsd-comment .lead:last-child { + margin-bottom: 0; +} + +.tsd-filter-visibility h4 { + font-size: 1rem; + padding-top: 0.75rem; + padding-bottom: 0.5rem; + margin: 0; +} +.tsd-filter-item:not(:last-child) { + margin-bottom: 0.5rem; +} +.tsd-filter-input { + display: flex; + width: fit-content; + width: -moz-fit-content; + align-items: center; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + cursor: pointer; +} +.tsd-filter-input input[type="checkbox"] { + cursor: pointer; + position: absolute; + width: 1.5em; + height: 1.5em; + opacity: 0; +} +.tsd-filter-input input[type="checkbox"]:disabled { + pointer-events: none; +} +.tsd-filter-input svg { + cursor: pointer; + width: 1.5em; + height: 1.5em; + margin-right: 0.5em; + border-radius: 0.33em; + /* Leaving this at full opacity breaks event listeners on Firefox. + Don't remove unless you know what you're doing. */ + opacity: 0.99; +} +.tsd-filter-input input[type="checkbox"]:focus + svg { + transform: scale(0.95); +} +.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg { + transform: scale(1); +} +.tsd-checkbox-background { + fill: var(--color-accent); +} +input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { + stroke: var(--color-text); +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { + fill: var(--color-background); + stroke: var(--color-accent); + stroke-width: 0.25rem; +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { + stroke: var(--color-accent); +} + +.tsd-theme-toggle { + padding-top: 0.75rem; +} +.tsd-theme-toggle > h4 { + display: inline; + vertical-align: middle; + margin-right: 0.75rem; +} + +.tsd-hierarchy { + list-style: square; + margin: 0; +} +.tsd-hierarchy .target { + font-weight: bold; +} + +.tsd-panel-group.tsd-index-group { + margin-bottom: 0; +} +.tsd-index-panel .tsd-index-list { + list-style: none; + line-height: 1.333em; + margin: 0; + padding: 0.25rem 0 0 0; + overflow: hidden; + display: grid; + grid-template-columns: repeat(3, 1fr); + column-gap: 1rem; + grid-template-rows: auto; +} +@media (max-width: 1024px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(2, 1fr); + } +} +@media (max-width: 768px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(1, 1fr); + } +} +.tsd-index-panel .tsd-index-list li { + -webkit-page-break-inside: avoid; + -moz-page-break-inside: avoid; + -ms-page-break-inside: avoid; + -o-page-break-inside: avoid; + page-break-inside: avoid; +} + +.tsd-flag { + display: inline-block; + padding: 0.25em 0.4em; + border-radius: 4px; + color: var(--color-comment-tag-text); + background-color: var(--color-comment-tag); + text-indent: 0; + font-size: 75%; + line-height: 1; + font-weight: normal; +} + +.tsd-anchor { + position: relative; + top: -100px; +} + +.tsd-member { + position: relative; +} +.tsd-member .tsd-anchor + h3 { + display: flex; + align-items: center; + margin-top: 0; + margin-bottom: 0; + border-bottom: none; +} + +.tsd-navigation.settings { + margin: 1rem 0; +} +.tsd-navigation > a, +.tsd-navigation .tsd-accordion-summary { + width: calc(100% - 0.5rem); +} +.tsd-navigation a, +.tsd-navigation summary > span, +.tsd-page-navigation a { + display: inline-flex; + align-items: center; + padding: 0.25rem; + color: var(--color-text); + text-decoration: none; + box-sizing: border-box; +} +.tsd-navigation a.current, +.tsd-page-navigation a.current { + background: var(--color-active-menu-item); +} +.tsd-navigation a:hover, +.tsd-page-navigation a:hover { + text-decoration: underline; +} +.tsd-navigation ul, +.tsd-page-navigation ul { + margin-top: 0; + margin-bottom: 0; + padding: 0; + list-style: none; +} +.tsd-navigation li, +.tsd-page-navigation li { + padding: 0; + max-width: 100%; +} +.tsd-nested-navigation { + margin-left: 3rem; +} +.tsd-nested-navigation > li > details { + margin-left: -1.5rem; +} +.tsd-small-nested-navigation { + margin-left: 1.5rem; +} +.tsd-small-nested-navigation > li > details { + margin-left: -1.5rem; +} + +.tsd-nested-navigation > li > a, +.tsd-nested-navigation > li > span { + width: calc(100% - 1.75rem - 0.5rem); +} + +.tsd-page-navigation ul { + padding-left: 1.75rem; +} + +#tsd-sidebar-links a { + margin-top: 0; + margin-bottom: 0.5rem; + line-height: 1.25rem; +} +#tsd-sidebar-links a:last-of-type { + margin-bottom: 0; +} + +a.tsd-index-link { + padding: 0.25rem 0 !important; + font-size: 1rem; + line-height: 1.25rem; + display: inline-flex; + align-items: center; + color: var(--color-text); +} +.tsd-accordion-summary { + list-style-type: none; /* hide marker on non-safari */ + outline: none; /* broken on safari, so just hide it */ +} +.tsd-accordion-summary::-webkit-details-marker { + display: none; /* hide marker on safari */ +} +.tsd-accordion-summary, +.tsd-accordion-summary a { + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + + cursor: pointer; +} +.tsd-accordion-summary a { + width: calc(100% - 1.5rem); +} +.tsd-accordion-summary > * { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; +} +.tsd-index-accordion .tsd-accordion-summary > svg { + margin-left: 0.25rem; +} +.tsd-index-content > :not(:first-child) { + margin-top: 0.75rem; +} +.tsd-index-heading { + margin-top: 1.5rem; + margin-bottom: 0.75rem; +} + +.tsd-kind-icon { + margin-right: 0.5rem; + width: 1.25rem; + height: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} +.tsd-kind-icon path { + transform-origin: center; + transform: scale(1.1); +} +.tsd-signature > .tsd-kind-icon { + margin-right: 0.8rem; +} + +.tsd-panel { + margin-bottom: 2.5rem; +} +.tsd-panel.tsd-member { + margin-bottom: 4rem; +} +.tsd-panel:empty { + display: none; +} +.tsd-panel > h1, +.tsd-panel > h2, +.tsd-panel > h3 { + margin: 1.5rem -1.5rem 0.75rem -1.5rem; + padding: 0 1.5rem 0.75rem 1.5rem; +} +.tsd-panel > h1.tsd-before-signature, +.tsd-panel > h2.tsd-before-signature, +.tsd-panel > h3.tsd-before-signature { + margin-bottom: 0; + border-bottom: none; +} + +.tsd-panel-group { + margin: 4rem 0; +} +.tsd-panel-group.tsd-index-group { + margin: 2rem 0; +} +.tsd-panel-group.tsd-index-group details { + margin: 2rem 0; +} + +#tsd-search { + transition: background-color 0.2s; +} +#tsd-search .title { + position: relative; + z-index: 2; +} +#tsd-search .field { + position: absolute; + left: 0; + top: 0; + right: 2.5rem; + height: 100%; +} +#tsd-search .field input { + box-sizing: border-box; + position: relative; + top: -50px; + z-index: 1; + width: 100%; + padding: 0 10px; + opacity: 0; + outline: 0; + border: 0; + background: transparent; + color: var(--color-text); +} +#tsd-search .field label { + position: absolute; + overflow: hidden; + right: -40px; +} +#tsd-search .field input, +#tsd-search .title, +#tsd-toolbar-links a { + transition: opacity 0.2s; +} +#tsd-search .results { + position: absolute; + visibility: hidden; + top: 40px; + width: 100%; + margin: 0; + padding: 0; + list-style: none; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); +} +#tsd-search .results li { + padding: 0 10px; + background-color: var(--color-background); +} +#tsd-search .results li:nth-child(even) { + background-color: var(--color-background-secondary); +} +#tsd-search .results li.state { + display: none; +} +#tsd-search .results li.current:not(.no-results), +#tsd-search .results li:hover:not(.no-results) { + background-color: var(--color-accent); +} +#tsd-search .results a { + display: block; +} +#tsd-search .results a:before { + top: 10px; +} +#tsd-search .results span.parent { + color: var(--color-text-aside); + font-weight: normal; +} +#tsd-search.has-focus { + background-color: var(--color-accent); +} +#tsd-search.has-focus .field input { + top: 0; + opacity: 1; +} +#tsd-search.has-focus .title, +#tsd-search.has-focus #tsd-toolbar-links a { + z-index: 0; + opacity: 0; +} +#tsd-search.has-focus .results { + visibility: visible; +} +#tsd-search.loading .results li.state.loading { + display: block; +} +#tsd-search.failure .results li.state.failure { + display: block; +} + +#tsd-toolbar-links { + position: absolute; + top: 0; + right: 2rem; + height: 100%; + display: flex; + align-items: center; + justify-content: flex-end; +} +#tsd-toolbar-links a { + margin-left: 1.5rem; +} +#tsd-toolbar-links a:hover { + text-decoration: underline; +} + +.tsd-signature { + margin: 0 0 1rem 0; + padding: 1rem 0.5rem; + border: 1px solid var(--color-accent); + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 14px; + overflow-x: auto; +} + +.tsd-signature-symbol { + color: var(--color-text-aside); + font-weight: normal; +} + +.tsd-signature-type { + font-style: italic; + font-weight: normal; +} + +.tsd-signatures { + padding: 0; + margin: 0 0 1em 0; + list-style-type: none; +} +.tsd-signatures .tsd-signature { + margin: 0; + border-color: var(--color-accent); + border-width: 1px 0; + transition: background-color 0.1s; +} +.tsd-description .tsd-signatures .tsd-signature { + border-width: 1px; +} + +ul.tsd-parameter-list, +ul.tsd-type-parameter-list { + list-style: square; + margin: 0; + padding-left: 20px; +} +ul.tsd-parameter-list > li.tsd-parameter-signature, +ul.tsd-type-parameter-list > li.tsd-parameter-signature { + list-style: none; + margin-left: -20px; +} +ul.tsd-parameter-list h5, +ul.tsd-type-parameter-list h5 { + font-size: 16px; + margin: 1em 0 0.5em 0; +} +.tsd-sources { + margin-top: 1rem; + font-size: 0.875em; +} +.tsd-sources a { + color: var(--color-text-aside); + text-decoration: underline; +} +.tsd-sources ul { + list-style: none; + padding: 0; +} + +.tsd-page-toolbar { + position: sticky; + z-index: 1; + top: 0; + left: 0; + width: 100%; + color: var(--color-text); + background: var(--color-background-secondary); + border-bottom: 1px var(--color-accent) solid; + transition: transform 0.3s ease-in-out; +} +.tsd-page-toolbar a { + color: var(--color-text); + text-decoration: none; +} +.tsd-page-toolbar a.title { + font-weight: bold; +} +.tsd-page-toolbar a.title:hover { + text-decoration: underline; +} +.tsd-page-toolbar .tsd-toolbar-contents { + display: flex; + justify-content: space-between; + height: 2.5rem; + margin: 0 auto; +} +.tsd-page-toolbar .table-cell { + position: relative; + white-space: nowrap; + line-height: 40px; +} +.tsd-page-toolbar .table-cell:first-child { + width: 100%; +} +.tsd-page-toolbar .tsd-toolbar-icon { + box-sizing: border-box; + line-height: 0; + padding: 12px 0; +} + +.tsd-widget { + display: inline-block; + overflow: hidden; + opacity: 0.8; + height: 40px; + transition: + opacity 0.1s, + background-color 0.2s; + vertical-align: bottom; + cursor: pointer; +} +.tsd-widget:hover { + opacity: 0.9; +} +.tsd-widget.active { + opacity: 1; + background-color: var(--color-accent); +} +.tsd-widget.no-caption { + width: 40px; +} +.tsd-widget.no-caption:before { + margin: 0; +} + +.tsd-widget.options, +.tsd-widget.menu { + display: none; +} +input[type="checkbox"] + .tsd-widget:before { + background-position: -120px 0; +} +input[type="checkbox"]:checked + .tsd-widget:before { + background-position: -160px 0; +} + +img { + max-width: 100%; +} + +.tsd-anchor-icon { + display: inline-flex; + align-items: center; + margin-left: 0.5rem; + vertical-align: middle; + color: var(--color-text); +} + +.tsd-anchor-icon svg { + width: 1em; + height: 1em; + visibility: hidden; +} + +.tsd-anchor-link:hover > .tsd-anchor-icon svg { + visibility: visible; +} + +.deprecated { + text-decoration: line-through; +} + +.warning { + padding: 1rem; + color: var(--color-warning-text); + background: var(--color-background-warning); +} + +.tsd-kind-project { + color: var(--color-ts-project); +} +.tsd-kind-module { + color: var(--color-ts-module); +} +.tsd-kind-namespace { + color: var(--color-ts-namespace); +} +.tsd-kind-enum { + color: var(--color-ts-enum); +} +.tsd-kind-enum-member { + color: var(--color-ts-enum-member); +} +.tsd-kind-variable { + color: var(--color-ts-variable); +} +.tsd-kind-function { + color: var(--color-ts-function); +} +.tsd-kind-class { + color: var(--color-ts-class); +} +.tsd-kind-interface { + color: var(--color-ts-interface); +} +.tsd-kind-constructor { + color: var(--color-ts-constructor); +} +.tsd-kind-property { + color: var(--color-ts-property); +} +.tsd-kind-method { + color: var(--color-ts-method); +} +.tsd-kind-call-signature { + color: var(--color-ts-call-signature); +} +.tsd-kind-index-signature { + color: var(--color-ts-index-signature); +} +.tsd-kind-constructor-signature { + color: var(--color-ts-constructor-signature); +} +.tsd-kind-parameter { + color: var(--color-ts-parameter); +} +.tsd-kind-type-literal { + color: var(--color-ts-type-literal); +} +.tsd-kind-type-parameter { + color: var(--color-ts-type-parameter); +} +.tsd-kind-accessor { + color: var(--color-ts-accessor); +} +.tsd-kind-get-signature { + color: var(--color-ts-get-signature); +} +.tsd-kind-set-signature { + color: var(--color-ts-set-signature); +} +.tsd-kind-type-alias { + color: var(--color-ts-type-alias); +} + +/* if we have a kind icon, don't color the text by kind */ +.tsd-kind-icon ~ span { + color: var(--color-text); +} + +* { + scrollbar-width: thin; + scrollbar-color: var(--color-accent) var(--color-icon-background); +} + +*::-webkit-scrollbar { + width: 0.75rem; +} + +*::-webkit-scrollbar-track { + background: var(--color-icon-background); +} + +*::-webkit-scrollbar-thumb { + background-color: var(--color-accent); + border-radius: 999rem; + border: 0.25rem solid var(--color-icon-background); +} + +/* mobile */ +@media (max-width: 769px) { + .tsd-widget.options, + .tsd-widget.menu { + display: inline-block; + } + + .container-main { + display: flex; + } + html .col-content { + float: none; + max-width: 100%; + width: 100%; + } + html .col-sidebar { + position: fixed !important; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + padding: 1.5rem 1.5rem 0 0; + width: 75vw; + visibility: hidden; + background-color: var(--color-background); + transform: translate(100%, 0); + } + html .col-sidebar > *:last-child { + padding-bottom: 20px; + } + html .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + } + + .to-has-menu .overlay { + animation: fade-in 0.4s; + } + + .to-has-menu .col-sidebar { + animation: pop-in-from-right 0.4s; + } + + .from-has-menu .overlay { + animation: fade-out 0.4s; + } + + .from-has-menu .col-sidebar { + animation: pop-out-to-right 0.4s; + } + + .has-menu body { + overflow: hidden; + } + .has-menu .overlay { + visibility: visible; + } + .has-menu .col-sidebar { + visibility: visible; + transform: translate(0, 0); + display: flex; + flex-direction: column; + gap: 1.5rem; + max-height: 100vh; + padding: 1rem 2rem; + } + .has-menu .tsd-navigation { + max-height: 100%; + } +} + +/* one sidebar */ +@media (min-width: 770px) { + .container-main { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); + grid-template-areas: "sidebar content"; + margin: 2rem auto; + } + + .col-sidebar { + grid-area: sidebar; + } + .col-content { + grid-area: content; + padding: 0 1rem; + } +} +@media (min-width: 770px) and (max-width: 1399px) { + .col-sidebar { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + padding-top: 1rem; + } + .site-menu { + margin-top: 1rem; + } +} + +/* two sidebars */ +@media (min-width: 1200px) { + .container-main { + grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem); + grid-template-areas: "sidebar content toc"; + } + + .col-sidebar { + display: contents; + } + + .page-menu { + grid-area: toc; + padding-left: 1rem; + } + .site-menu { + grid-area: sidebar; + } + + .site-menu { + margin-top: 1rem 0; + } + + .page-menu, + .site-menu { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + } +} diff --git a/classes/Container.html b/classes/Container.html new file mode 100644 index 00000000..5c30b57a --- /dev/null +++ b/classes/Container.html @@ -0,0 +1,195 @@ +Container | @wasmer/wasi
+
+ +
+
+
+
+ +

Class Container

+
+

Hierarchy

+
    +
  • Container
+
+
+
+ +
+
+

Constructors

+
+ +
    + +
  • +

    Parse a Container from its binary representation.

    +
    +
    +

    Parameters

    +
      +
    • +
      raw: Uint8Array
    +

    Returns Container

    +
+
+

Methods

+
+ +
    + +
  • +

    Returns string[]

    +
+
+ +
    + +
  • +

    Returns void

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      name: string
    +

    Returns Uint8Array

    +
+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      _name: string
    +

    Returns Volume

    +
+
+ +
    + +
  • +

    Returns Manifest

    +
+
+ +
    + +
  • +

    Returns string[]

    +
+
+ +
    + +
  • +

    Download a package from the registry.

    +
    +
    +

    Parameters

    +
      +
    • +
      package_specifier: string
    • +
    • +
      runtime: Runtime
    +

    Returns Promise<Container>

    +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Instance.html b/classes/Instance.html new file mode 100644 index 00000000..f231a8db --- /dev/null +++ b/classes/Instance.html @@ -0,0 +1,153 @@ +Instance | @wasmer/wasi
+
+ +
+
+
+
+ +

Class Instance

+
+

A handle connected to a running WASI program.

+
+
+
+

Hierarchy

+
    +
  • Instance
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
stderr: ReadableStream<any>
+

The WASI program's standard error.

+
+
+
+ +
stdin: WritableStream<any>
+

The standard input stream, if one wasn't provided when starting the +instance.

+
+
+
+ +
stdout: ReadableStream<any>
+

The WASI program's standard output.

+
+
+
+

Methods

+
+ +
    + +
  • +

    Returns void

+
+ +
    + +
  • +

    Wait for the process to exit.

    +
    +

    Returns Promise<Output>

    +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Runtime.html b/classes/Runtime.html new file mode 100644 index 00000000..7fb0b97a --- /dev/null +++ b/classes/Runtime.html @@ -0,0 +1,164 @@ +Runtime | @wasmer/wasi
+
+ +
+
+
+
+ +

Class Runtime

+
+

Runtime components used when running WebAssembly programs.

+
+
+
+

Hierarchy

+
    +
  • Runtime
+
+
+
+ +
+
+

Constructors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      Optional pool_size: number
      Optional
    +

    Returns Runtime

    +
+
+

Methods

+
+ +
    + +
  • +

    Returns void

+
+ +
    + +
  • +

    Enable networking (i.e. TCP and UDP) via a gateway server.

    +
    +
    +

    Parameters

    +
      +
    • +
      gateway_url: string
    +

    Returns void

    +
+
+ +
    + +
  • +

    Set the registry that packages will be fetched from.

    +
    +
    +

    Parameters

    +
      +
    • +
      url: string
    +

    Returns void

    +
+
+ +
    + +
  • +
    +

    Parameters

    +
    +

    Returns void

    +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Trap.html b/classes/Trap.html new file mode 100644 index 00000000..c9395a98 --- /dev/null +++ b/classes/Trap.html @@ -0,0 +1,115 @@ +Trap | @wasmer/wasi
+
+ +
+
+
+
+ +

Class Trap

+
+

A struct representing a Trap

+
+
+
+

Hierarchy

+
    +
  • Trap
+
+
+
+ +
+
+

Constructors

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Returns void

+
+ +
    + +
  • +

    Returns Symbol

    +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Tty.html b/classes/Tty.html new file mode 100644 index 00000000..2adaa139 --- /dev/null +++ b/classes/Tty.html @@ -0,0 +1,133 @@ +Tty | @wasmer/wasi
+
+ +
+
+
+
+ +

Class Tty

+
+

Hierarchy

+
    +
  • Tty
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +

    Create a new TTY.

    +
    +

    Returns Tty

    +
+
+

Properties

+
+ +
state: TtyState
+

Set/Get the TTY state.

+
+
+
+

Methods

+
+ +
    + +
  • +

    Returns void

+
+ +
    + +
  • +

    Reset the TTY to its default state.

    +
    +

    Returns void

    +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Volume.html b/classes/Volume.html new file mode 100644 index 00000000..0893a7f7 --- /dev/null +++ b/classes/Volume.html @@ -0,0 +1,100 @@ +Volume | @wasmer/wasi
+
+ +
+
+
+
+ +

Class Volume

+
+

Hierarchy

+
    +
  • Volume
+
+
+
+ +
+
+

Constructors

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Returns void

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Wasmer.html b/classes/Wasmer.html new file mode 100644 index 00000000..a69a7210 --- /dev/null +++ b/classes/Wasmer.html @@ -0,0 +1,141 @@ +Wasmer | @wasmer/wasi
+
+ +
+
+
+
+ +

Class Wasmer

+
+

The entrypoint to the Wasmer SDK.

+
+
+
+

Hierarchy

+
    +
  • Wasmer
+
+
+
+ +
+
+

Constructors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Parameters

    +
    +

    Returns Wasmer

    +
+
+

Methods

+
+ +
    + +
  • +

    Returns void

+
+ +
    + +
  • +

    Returns Runtime

    +
+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      app_id: string
    • +
    • +
      Optional config: SpawnConfig
      Optional
    +

    Returns Promise<Instance>

    +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/initSync.html b/functions/initSync.html new file mode 100644 index 00000000..c0367bb7 --- /dev/null +++ b/functions/initSync.html @@ -0,0 +1,75 @@ +initSync | @wasmer/wasi
+
+ +
+
+
+
+ +

Function initSync

+
+
    + +
  • +

    Instantiates the given module, which can either be bytes or +a precompiled WebAssembly.Module.

    +
    +
    +

    Parameters

    +
      +
    • +
      module: SyncInitInput
    • +
    • +
      Optional maybe_memory: Memory
      Optional
    +

    Returns InitOutput

    +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/run.html b/functions/run.html new file mode 100644 index 00000000..18b937fa --- /dev/null +++ b/functions/run.html @@ -0,0 +1,76 @@ +run | @wasmer/wasi
+
+ +
+
+
+
+ +

Function run

+
+
    + +
  • +

    Run a WASIX program.

    +
    +
    +

    Parameters

    +
    +

    Returns Instance

    +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/wat2wasm.html b/functions/wat2wasm.html new file mode 100644 index 00000000..14da600d --- /dev/null +++ b/functions/wat2wasm.html @@ -0,0 +1,70 @@ +wat2wasm | @wasmer/wasi
+
+ +
+
+
+
+ +

Function wat2wasm

+
+
    + +
  • +
    +

    Parameters

    +
      +
    • +
      wat: string
    +

    Returns Uint8Array

    +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 00000000..8ad748ea --- /dev/null +++ b/index.html @@ -0,0 +1,144 @@ +@wasmer/wasi
+
+ +
+
+
+
+

@wasmer/wasi

+

Wasmer logo Wasmer JS Wasmer Slack Channel

This repository consists of multiple packages:

+ +

Wasmer WASI

Isomorphic Javascript library for interacting with WASI Modules in Node.js, the Browser and Deno. +The Javascript Package supports:

+
    +
  • WASI (with command args, envs and stdio)
  • +
  • In-Memory filesystem (MemFS)
  • +
+

NPM

For instaling @wasmer/wasi run this command in your shell:

+
npm install --save @wasmer/wasi
+
+

And then import it in your server or client-side code with:

+
import { init, WASI } from '@wasmer/wasi';
+
+
+

Check the Node usage examples in https://github.com/wasmerio/wasmer-js/tree/main/examples/node

+
+

Deno

This package is published in Deno in the wasm package, you can import it directly with:

+
import { init, WASI } from 'https://deno.land/x/wasm/wasi.ts';
+
+
+

Check the Deno usage Examples in https://github.com/wasmerio/wasmer-js/tree/main/examples/deno

+
+

Usage

// This is needed to load the WASI library first (since is a Wasm module)
await init();

let wasi = new WASI({
env: {
// 'ENVVAR1': '1',
// 'ENVVAR2': '2'
},
args: [
// 'command', 'arg1', 'arg2'
],
});

const moduleBytes = fetch("https://deno.land/x/wasm/tests/demo.wasm");
const module = await WebAssembly.compileStreaming(moduleBytes);
// Instantiate the WASI module
await wasi.instantiate(module, {});

// Run the start function
let exitCode = wasi.start();
let stdout = wasi.getStdoutString();

// This should print "hello world (exit code: 0)"
console.log(`${stdout}(exit code: ${exitCode})`); +
+

API Docs

+ +

Typescript API

export class WASI {
constructor(config: any);
readonly fs: MemFS;

instantiate(module: any, imports: object): WebAssembly.Instance;
// Start the WASI Instance, it returns the status code when calling the start
// function
start(instance: WebAssembly.Instance): number;
// Get the stdout buffer
// Note: this method flushes the stdout
getStdoutBuffer(): Uint8Array;
// Get the stdout data as a string
// Note: this method flushes the stdout
getStdoutString(): string;
// Get the stderr buffer
// Note: this method flushes the stderr
getStderrBuffer(): Uint8Array;
// Get the stderr data as a string
// Note: this method flushes the stderr
getStderrString(): string;
// Set the stdin buffer
setStdinBuffer(buf: Uint8Array): void;
// Set the stdin data as a string
setStdinString(input: string): void;
}

export class MemFS {
constructor();
readDir(path: string): Array<any>;
createDir(path: string): void;
removeDir(path: string): void;
removeFile(path: string): void;
rename(path: string, to: string): void;
metadata(path: string): object;
open(path: string, options: any): JSVirtualFile;
}

export class JSVirtualFile {
lastAccessed(): BigInt;
lastModified(): BigInt;
createdTime(): BigInt;
size(): BigInt;
setLength(new_size: BigInt): void;
read(): Uint8Array;
readString(): string;
write(buf: Uint8Array): number;
writeString(buf: string): number;
flush(): void;
seek(position: number): number;
} +
+

Building

To build this library you will need to have installed in your system:

+ +
npm i
npm run build +
+

Testing

Build the pkg and run the tests:

+
npm run build
npm run test +
+

What is WebAssembly?

Quoting the WebAssembly site:

+
+

WebAssembly (abbreviated Wasm) is a binary instruction format for a +stack-based virtual machine. Wasm is designed as a portable target +for compilation of high-level languages like C/C++/Rust, enabling +deployment on the web for client and server applications.

+
+

About speed:

+
+

WebAssembly aims to execute at native speed by taking advantage of +common hardware +capabilities +available on a wide range of platforms.

+
+

About safety:

+
+

WebAssembly describes a memory-safe, sandboxed execution +environment […].

+
+

License

The entire project is under the MIT License. Please read the +LICENSE file.

+
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/interfaces/InitOutput.html b/interfaces/InitOutput.html new file mode 100644 index 00000000..d9f19c7b --- /dev/null +++ b/interfaces/InitOutput.html @@ -0,0 +1,1249 @@ +InitOutput | @wasmer/wasi
+
+ +
+
+
+
+ +

Interface InitOutput

+
+

Hierarchy

+
    +
  • InitOutput
+
+
+
+ +
+
+

Properties

+
+ +
_ZN12wasm_bindgen7convert8closures11invoke1_mut17h0d9ed318e74132e1E: ((a, b, c) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b, c): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      • +
      • +
        c: number
      +

      Returns void

+
+ +
_ZN12wasm_bindgen7convert8closures11invoke2_mut17h96e057fd7d012f19E: ((a, b, c, d) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b, c, d): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      • +
      • +
        c: number
      • +
      • +
        d: number
      +

      Returns void

+
+ +
__wbg_container_free: ((a) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns void

+
+ +
__wbg_get_instance_stderr: ((a) => number)
+
+

Type declaration

+
    +
  • +
      +
    • (a): number
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns number

+
+ +
__wbg_get_instance_stdin: ((a) => number)
+
+

Type declaration

+
    +
  • +
      +
    • (a): number
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns number

+
+ +
__wbg_get_instance_stdout: ((a) => number)
+
+

Type declaration

+
    +
  • +
      +
    • (a): number
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns number

+
+ +
__wbg_instance_free: ((a) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns void

+
+ +
__wbg_readablestreamsource_free: ((a) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns void

+
+ +
__wbg_runtime_free: ((a) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns void

+
+ +
__wbg_trap_free: ((a) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns void

+
+ +
__wbg_tty_free: ((a) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns void

+
+ +
__wbg_volume_free: ((a) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns void

+
+ +
__wbg_wasmer_free: ((a) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns void

+
+ +
__wbg_workerstate_free: ((a) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns void

+
+ +
__wbg_writablestreamsink_free: ((a) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns void

+
+ +
__wbindgen_add_to_stack_pointer: ((a) => number)
+
+

Type declaration

+
    +
  • +
      +
    • (a): number
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns number

+
+ +
__wbindgen_exn_store: ((a) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns void

+
+ +
__wbindgen_export_3: Table
+
+ +
__wbindgen_malloc: ((a, b) => number)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b): number
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      +

      Returns number

+
+ +
__wbindgen_realloc: ((a, b, c, d) => number)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b, c, d): number
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      • +
      • +
        c: number
      • +
      • +
        d: number
      +

      Returns number

+
+ +
__wbindgen_start: (() => void)
+
+

Type declaration

+
    +
  • +
      +
    • (): void
    • +
    • +

      Returns void

+
+ +
__wbindgen_thread_destroy: ((a, b) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      +

      Returns void

+
+ +
canonical_abi_free: ((a, b, c) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b, c): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      • +
      • +
        c: number
      +

      Returns void

+
+ +
canonical_abi_realloc: ((a, b, c, d) => number)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b, c, d): number
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      • +
      • +
        c: number
      • +
      • +
        d: number
      +

      Returns number

+
+ +
container_atom_names: ((a, b) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      +

      Returns void

+
+ +
container_from_registry: ((a, b, c) => number)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b, c): number
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      • +
      • +
        c: number
      +

      Returns number

+
+ +
container_get_atom: ((a, b, c) => number)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b, c): number
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      • +
      • +
        c: number
      +

      Returns number

+
+ +
container_get_volume: ((a, b, c) => number)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b, c): number
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      • +
      • +
        c: number
      +

      Returns number

+
+ +
container_manifest: ((a, b) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      +

      Returns void

+
+ +
container_new: ((a, b, c) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b, c): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      • +
      • +
        c: number
      +

      Returns void

+
+ +
container_volume_names: ((a, b) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      +

      Returns void

+
+ +
instance_wait: ((a) => number)
+
+

Type declaration

+
    +
  • +
      +
    • (a): number
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns number

+
+ +
memory: Memory
+
+ +
on_start: (() => void)
+
+

Type declaration

+
    +
  • +
      +
    • (): void
    • +
    • +

      Returns void

+
+ +
readablestreamsource_cancel: ((a) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns void

+
+ +
readablestreamsource_pull: ((a, b) => number)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b): number
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      +

      Returns number

+
+ +
readablestreamsource_type: ((a) => number)
+
+

Type declaration

+
    +
  • +
      +
    • (a): number
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns number

+
+ +
run: ((a, b, c, d) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b, c, d): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      • +
      • +
        c: number
      • +
      • +
        d: number
      +

      Returns void

+
+ +
runtime_set_network_gateway: ((a, b, c) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b, c): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      • +
      • +
        c: number
      +

      Returns void

+
+ +
runtime_set_registry: ((a, b, c, d) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b, c, d): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      • +
      • +
        c: number
      • +
      • +
        d: number
      +

      Returns void

+
+ +
runtime_set_tty: ((a, b) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      +

      Returns void

+
+ +
runtime_with_pool_size: ((a, b, c) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b, c): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      • +
      • +
        c: number
      +

      Returns void

+
+ +
trap___wbgd_downcast_token: (() => number)
+
+

Type declaration

+
    +
  • +
      +
    • (): number
    • +
    • +

      Returns number

+
+ +
tty_new: (() => number)
+
+

Type declaration

+
    +
  • +
      +
    • (): number
    • +
    • +

      Returns number

+
+ +
tty_reset: ((a) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns void

+
+ +
tty_set_state: ((a, b, c) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b, c): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      • +
      • +
        c: number
      +

      Returns void

+
+ +
tty_state: ((a, b) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      +

      Returns void

+
+ +
wasmer_new: ((a, b) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      +

      Returns void

+
+ +
wasmer_runtime: ((a) => number)
+
+

Type declaration

+
    +
  • +
      +
    • (a): number
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns number

+
+ +
wasmer_spawn: ((a, b, c, d) => number)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b, c, d): number
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      • +
      • +
        c: number
      • +
      • +
        d: number
      +

      Returns number

+
+ +
wat2wasm: ((a, b) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      +

      Returns void

+
+ +
workerstate_handle: ((a, b) => number)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b): number
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      +

      Returns number

+
+ +
workerstate_new: ((a) => number)
+
+

Type declaration

+
    +
  • +
      +
    • (a): number
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns number

+
+ +
writablestreamsink_abort: ((a, b) => void)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b): void
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      +

      Returns void

+
+ +
writablestreamsink_close: ((a) => number)
+
+

Type declaration

+
    +
  • +
      +
    • (a): number
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      +

      Returns number

+
+ +
writablestreamsink_write: ((a, b) => number)
+
+

Type declaration

+
    +
  • +
      +
    • (a, b): number
    • +
    • +
      +

      Parameters

      +
        +
      • +
        a: number
      • +
      • +
        b: number
      +

      Returns number

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/modules.html b/modules.html new file mode 100644 index 00000000..2bb61769 --- /dev/null +++ b/modules.html @@ -0,0 +1,88 @@ +@wasmer/wasi
+
+ +
+
+
+
+

@wasmer/wasi

+
+
+

Index

+
+

Classes

+
+
+

Interfaces

+
+
+

Type Aliases

+
+
+

Functions

+
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/InitInput.html b/types/InitInput.html new file mode 100644 index 00000000..3effba11 --- /dev/null +++ b/types/InitInput.html @@ -0,0 +1,60 @@ +InitInput | @wasmer/wasi
+
+ +
+
+
+
+ +

Type alias InitInput

+
InitInput: RequestInfo | URL | Response | BufferSource | WebAssembly.Module
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/Manifest.html b/types/Manifest.html new file mode 100644 index 00000000..a2116a33 --- /dev/null +++ b/types/Manifest.html @@ -0,0 +1,66 @@ +Manifest | @wasmer/wasi
+
+ +
+
+
+
+ +

Type alias Manifest

+
Manifest: {}
+

Metadata associated with a webc file.

+
+
+

Type declaration

+
    +
    +
    + +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/types/Output.html b/types/Output.html new file mode 100644 index 00000000..04f19e1a --- /dev/null +++ b/types/Output.html @@ -0,0 +1,71 @@ +Output | @wasmer/wasi
    +
    + +
    +
    +
    +
    + +

    Type alias Output

    +
    Output: {
        code: number;
        ok: boolean;
        stderr: Uint8Array;
        stdout: Uint8Array;
    }
    +
    +

    Type declaration

    +
      +
    • +
      code: number
    • +
    • +
      ok: boolean
    • +
    • +
      stderr: Uint8Array
    • +
    • +
      stdout: Uint8Array
    +
    + +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/types/RunConfig.html b/types/RunConfig.html new file mode 100644 index 00000000..3008eec0 --- /dev/null +++ b/types/RunConfig.html @@ -0,0 +1,86 @@ +RunConfig | @wasmer/wasi
    +
    + +
    +
    +
    +
    + +

    Type alias RunConfig

    +
    RunConfig: {
        args?: string[];
        env?: Record<string, string>;
        program?: string;
        stdin?: string | ArrayBuffer;
    }
    +

    Configuration used when starting a WASI program.

    +
    +
    +

    Type declaration

    +
      +
    • +
      Optional args?: string[]
      +

      Additional command-line arguments to be passed to the program.

      +
      +
    • +
    • +
      Optional env?: Record<string, string>
      +

      Environment variables to set.

      +
      +
    • +
    • +
      Optional program?: string
      +

      The name of the program being run (passed in as arg 0)

      +
      +
    • +
    • +
      Optional stdin?: string | ArrayBuffer
      +

      The standard input stream.

      +
      +
    +
    +
    + +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/types/SpawnConfig.html b/types/SpawnConfig.html new file mode 100644 index 00000000..baff4541 --- /dev/null +++ b/types/SpawnConfig.html @@ -0,0 +1,72 @@ +SpawnConfig | @wasmer/wasi
    +
    + +
    +
    +
    +
    + +

    Type alias SpawnConfig

    +
    SpawnConfig: RunConfig & {
        command?: string;
    }
    +

    Configuration used when starting a WASI program.

    +
    +
    +

    Type declaration

    +
      +
    • +
      Optional command?: string
      +

      The name of the command to be run (uses the package's entrypoint if not +defined).

      +
      +
    +
    +
    + +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/types/SyncInitInput.html b/types/SyncInitInput.html new file mode 100644 index 00000000..d1599f61 --- /dev/null +++ b/types/SyncInitInput.html @@ -0,0 +1,60 @@ +SyncInitInput | @wasmer/wasi
    +
    + +
    +
    +
    +
    + +

    Type alias SyncInitInput

    +
    SyncInitInput: BufferSource | WebAssembly.Module
    +
    + +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/types/TtyState.html b/types/TtyState.html new file mode 100644 index 00000000..6a24c079 --- /dev/null +++ b/types/TtyState.html @@ -0,0 +1,86 @@ +TtyState | @wasmer/wasi
    +
    + +
    +
    +
    +
    + +

    Type alias TtyState

    +
    TtyState: {
        cols: number;
        echo: boolean;
        height: number;
        line_buffered: boolean;
        line_feeds: boolean;
        rows: number;
        stderr_tty: boolean;
        stdin_tty: boolean;
        stdout_tty: boolean;
        width: number;
    }
    +

    The state of a TTY.

    +
    +
    +

    Type declaration

    +
      +
    • +
      Readonly cols: number
    • +
    • +
      Readonly echo: boolean
    • +
    • +
      Readonly height: number
    • +
    • +
      Readonly line_buffered: boolean
    • +
    • +
      Readonly line_feeds: boolean
    • +
    • +
      Readonly rows: number
    • +
    • +
      Readonly stderr_tty: boolean
    • +
    • +
      Readonly stdin_tty: boolean
    • +
    • +
      Readonly stdout_tty: boolean
    • +
    • +
      Readonly width: number
    +
    +
    + +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/types/WasmerConfig.html b/types/WasmerConfig.html new file mode 100644 index 00000000..44198ecb --- /dev/null +++ b/types/WasmerConfig.html @@ -0,0 +1,89 @@ +WasmerConfig | @wasmer/wasi
    +
    + +
    +
    +
    +
    + +

    Type alias WasmerConfig

    +
    WasmerConfig: {
        apiKey?: string;
        networkGateway?: string;
        poolSize?: number;
        registryUrl: string | null | undefined;
    }
    +

    Configuration used when initializing the Wasmer SDK.

    +
    +
    +

    Type declaration

    +
      +
    • +
      Optional apiKey?: string
      +

      An API key to use when interacting with the Wasmer registry.

      +
      +
    • +
    • +
      Optional networkGateway?: string
      +

      Enable networking (i.e. TCP and UDP) via a gateway server.

      +
      +
    • +
    • +
      Optional poolSize?: number
      +

      The number of threads to use by default.

      +
      +
    • +
    • +
      registryUrl: string | null | undefined
      +

      Set the registry that packages will be fetched from.

      +

      If null, no registry will be used and looking up packages will always +fail.

      +

      If undefined, will fall back to the default Wasmer registry.

      +
      +
    +
    +
    + +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file