From 1d4c50bef7be1279ac2472987b75710a05a86901 Mon Sep 17 00:00:00 2001 From: tadeohepperle Date: Fri, 29 Sep 2023 18:02:48 +0000 Subject: [PATCH] deploy: f83dad57a005652a76cb87b0d1eb4eb639a0f36c --- assets/{index-807a59d1.js => index-3e96b712.js} | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename assets/{index-807a59d1.js => index-3e96b712.js} (99%) diff --git a/assets/index-807a59d1.js b/assets/index-3e96b712.js similarity index 99% rename from assets/index-807a59d1.js rename to assets/index-3e96b712.js index 14ca845..51a688d 100644 --- a/assets/index-807a59d1.js +++ b/assets/index-3e96b712.js @@ -50,4 +50,4 @@ https://github.com/highlightjs/highlight.js/issues/2277`),q=_,L=y),A===void 0&&( `),e.slice(r).join(` `)]}function hc(t){return`${rt(t[0])} ${rt(t[1])} -${rt(t[2])}`}Re(["click"]);const Ut=t=>{const[e,n]=V("static"),r=[{tab:{title:"Static Code Example",active:()=>e()=="static",icon:"fa-cube",onClick:()=>n("static")},content:h(Fn,{get code(){return t.staticCode}})},{tab:{title:"Dynamic Code Example",active:()=>e()=="dynamic",icon:"fa-bomb",onClick:()=>n("dynamic")},content:h(Fn,{get code(){return t.dynamicCode}})}];return h(br,{tabs:r,contentContainerClass:""})},gc=w('
'),pc=w('
'),mc=w('

'),wc=w('

'),yc=w('
'),ut=t=>{V("structure"),V("structure");let e;if(t.keyTypes!==void 0)switch(t.keyTypes.types.tag){case"unnamed":e=t.keyTypes.types.types.map(n=>({type_description:n}));break;case"named":e=t.keyTypes.types.types;break}return[x((()=>{const n=x(()=>!!t.keyTypes);return()=>n()&&h(Wn,{get title(){return t.keyTypes.title||"Key Type"},types:e})})()),x((()=>{const n=x(()=>!!t.valueType);return()=>n()&&h(Wn,{title:"Value Type",get types(){return[{type_description:t.valueType.type_description}]}})})()),x((()=>{const n=x(()=>!!t.value);return()=>n()&&(()=>{const r=gc(),s=r.firstChild,i=s.firstChild;return k(r,()=>pn(t.value.title||"Value"),s),k(i,()=>Pr(t.value.value)),r})()})())]};function Wn(t){let[e,n]=V("structure");return(()=>{const r=bc(),s=r.firstChild,i=s.nextSibling,l=i.firstChild;return k(s,()=>pn(t.title),null),k(s,h(pe,{get when(){return t.types.some(o=>o.type_description.type_path!=o.type_description.type_structure)},get children(){const o=pc();return o.$$click=()=>{e()==="structure"?n("path"):n("structure")},k(o,()=>e()==="structure"?"Show Type Path":"Show Type Structure"),o}}),null),k(l,()=>t.types.map(o=>Pr(e()==="structure"?o.type_description.type_structure:o.type_description.type_path,o.name))),r})()}function pn(t){return(()=>{const e=mc();return k(e,t),e})()}function Pr(t,e){return(()=>{const n=wc(),r=n.firstChild,s=r.firstChild,i=s.firstChild;return k(n,e&&(()=>{const l=yc(),o=l.firstChild;return k(l,e,o),l})(),r),k(i,t),n})()}Re(["click"]);const kc=w('

');function ft({title:t,id:e}){return(()=>{const n=kc(),r=n.firstChild;return st(r,"id",e??t),k(n,t,null),n})()}const xc=w("

Pallet: Calls"),$c=w('
'),Ec=()=>{let t=()=>{let e=Ye().pallet,n=ce()?.palletCalls(e);return{pallet:e,calls:n}};return t().calls===void 0?h(He,{href:"/"}):[(()=>{const e=xc(),n=e.firstChild;return k(e,()=>t().pallet,n),e})(),"There are ",x(()=>t().calls.length)," calls available on the ",x(()=>t().pallet)," ","Pallet.",x(()=>t().calls.map(vc))]};function vc(t){return[h(ft,{get title(){return t.name}}),h(Je,{get mdDocs(){return t.docs}}),h(ut,{get keyTypes(){return t.argument_types.length>0?{title:"Call Arguments",types:{tag:"named",types:t.argument_types}}:void 0}}),(()=>{const e=$c();return k(e,h(Ut,{get staticCode(){return t.code_example_static},get dynamicCode(){return t.code_example_dynamic}})),e})()]}const Sc=w("

Pallet: Storage Entries"),Cc=w('