From 278bacd875d9ad3055284ef657773a3b4b74e107 Mon Sep 17 00:00:00 2001 From: XueMoMo Date: Mon, 25 Dec 2023 08:19:54 +0000 Subject: [PATCH] deploy: 156d4e9a6b190ecddd39b7b845141f45dd19305e --- 404.html | 2 +- .../_buildManifest.js | 2 +- .../_ssgManifest.js | 0 ...1ddd1f721b1.js => 424.5cc99afc36eeccb3.js} | 2 +- ...891c961e7fb.js => 871.4176eb2cc0e85cca.js} | 64 +++++++++---------- ...b12958810e.js => _app-415bb23c7d448b7c.js} | 2 +- ...b3deac200.js => index-42ed149af0c37c9c.js} | 2 +- ...838905d.js => webpack-bcb0e8bee7e9e058.js} | 2 +- index.html | 2 +- 9 files changed, 39 insertions(+), 39 deletions(-) rename _next/static/{GY6hq3Bdciqdv0I_oozcm => 1AbHba0yyZ4HI6wcINovx}/_buildManifest.js (77%) rename _next/static/{GY6hq3Bdciqdv0I_oozcm => 1AbHba0yyZ4HI6wcINovx}/_ssgManifest.js (100%) rename _next/static/chunks/{424.ba1931ddd1f721b1.js => 424.5cc99afc36eeccb3.js} (99%) rename _next/static/chunks/{804.e93c5891c961e7fb.js => 871.4176eb2cc0e85cca.js} (81%) rename _next/static/chunks/pages/{_app-958449b12958810e.js => _app-415bb23c7d448b7c.js} (98%) rename _next/static/chunks/pages/{index-6a59722b3deac200.js => index-42ed149af0c37c9c.js} (98%) rename _next/static/chunks/{webpack-54d18e16a838905d.js => webpack-bcb0e8bee7e9e058.js} (95%) diff --git a/404.html b/404.html index d3437e2..b25302e 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -Crust Cloud
\ No newline at end of file +Crust Cloud
\ No newline at end of file diff --git a/_next/static/GY6hq3Bdciqdv0I_oozcm/_buildManifest.js b/_next/static/1AbHba0yyZ4HI6wcINovx/_buildManifest.js similarity index 77% rename from _next/static/GY6hq3Bdciqdv0I_oozcm/_buildManifest.js rename to _next/static/1AbHba0yyZ4HI6wcINovx/_buildManifest.js index 8166ddb..59309df 100644 --- a/_next/static/GY6hq3Bdciqdv0I_oozcm/_buildManifest.js +++ b/_next/static/1AbHba0yyZ4HI6wcINovx/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/pages/index-6a59722b3deac200.js"],"/_error":["static/chunks/pages/_error-409f831d3504c8f5.js"],sortedPages:["/","/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/pages/index-42ed149af0c37c9c.js"],"/_error":["static/chunks/pages/_error-409f831d3504c8f5.js"],sortedPages:["/","/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/GY6hq3Bdciqdv0I_oozcm/_ssgManifest.js b/_next/static/1AbHba0yyZ4HI6wcINovx/_ssgManifest.js similarity index 100% rename from _next/static/GY6hq3Bdciqdv0I_oozcm/_ssgManifest.js rename to _next/static/1AbHba0yyZ4HI6wcINovx/_ssgManifest.js diff --git a/_next/static/chunks/424.ba1931ddd1f721b1.js b/_next/static/chunks/424.5cc99afc36eeccb3.js similarity index 99% rename from _next/static/chunks/424.ba1931ddd1f721b1.js rename to _next/static/chunks/424.5cc99afc36eeccb3.js index 9c54a5e..bc4e06f 100644 --- a/_next/static/chunks/424.ba1931ddd1f721b1.js +++ b/_next/static/chunks/424.5cc99afc36eeccb3.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[424],{39547:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a5}});var a,i,r,l,s,c,o,d,u,m,p,y,h,f,g,b,v,x,A,w,Z,k,N,T,I,C,B,M,S,E,X,O,j,P,W,L,R,Y,D,z,G,H,F,U,J,Q,V,K,q,_,$,ee,et,en,ea,ei,er,el,es,ec=n(35944),eo=n(67294);let ed=()=>{let e=(0,eo.useRef)({safe:!0});return(0,eo.useEffect)(()=>(e.current.safe=!0,()=>{e.current.safe=!1}),[]),e.current};function eu(){for(var e=arguments.length,t=Array(e),n=0;nt.map(e=>t=>{a.safe&&e(t)}),[t])}function em(e){let[t,n]=(0,eo.useState)(e),[a]=eu(n);return[t,a]}function ep(e){let t=(0,eo.useRef)(null);return(0,eo.useLayoutEffect)(()=>(t.current=e,()=>{})),(0,eo.useCallback)(function(){for(var e=arguments.length,n=Array(e),a=0;a{e.current||(e.current=!0,t().then(()=>{e.current=!1}))},[]);return[e,t]}let eh={loading:!1},ef=eo.createContext({update(){},oUpdate(){},store:eh}),eg=ef.Provider,eb=(e,t,n)=>{},ev=()=>{let[e,t]=(0,eo.useState)(eh),n=(0,eo.useCallback)(e=>{"function"==typeof e?t(t=>{let n=e(t),a={...t,...n};return eb(n,t,a),a}):t(t=>{let n={...t,...e};return eb(e,t,n),n})},[]);return{store:e,update:n,oUpdate:n}},ex=()=>{let{store:e,update:t}=(0,eo.useContext)(ef),[n]=eu(t);return(0,eo.useMemo)(()=>({store:e,update:n,oUpdate:t}),[e,t,n])};var eA=n(94184),ew=n.n(eA),eZ=n(79352);let ek=eo.memo(e=>(0,ec.tZ)(eZ.uur,{...e,className:ew()(e.className,"animate-spin text-5xl")})),eN=eo.memo(e=>{let{text:t="",loading_attr:n={},text_attr:a={},...i}=e;return(0,ec.BX)("div",{...i,className:ew()(i.className," flex flex-col items-center"),children:[(0,ec.tZ)(ek,{...n}),!!t&&(0,ec.tZ)("div",{...a,className:ew()(" text-2xl text-center mt-9",a.className),children:t})]})}),eT=eo.memo(()=>{let e=(0,eo.useCallback)(e=>{e.stopPropagation()},[]),{loading:t}=function(e){let{oUpdate:t,store:{loading:n}}=ex(),a=(0,eo.useCallback)(()=>t({loading:!0}),[t]),i=(0,eo.useCallback)(()=>t({loading:!1}),[t]);return(0,eo.useEffect)(()=>{"boolean"==typeof e&&(e?a():i())},[e]),(0,eo.useMemo)(()=>({show:a,hiden:i,loading:n}),[a,i,n])}();return t?(0,ec.tZ)("div",{className:" fixed left-0 top-0 z-50 w-screen h-screen flex justify-center items-center bg-opacity-60 bg-black-1",onMouseMove:e,onMouseDown:e,onClick:e,children:(0,ec.tZ)(eN,{className:"py-10"})}):null});var eI=n(79655),eC=n(89250);function eB(){return(eB=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{text:t="",className:n}=e;return(0,ec.tZ)("div",{className:ew()("text-left text-black font-medium text-[2.5rem] leading-[2.9375rem]",n),children:t})});function eW(){return(eW=Object.assign?Object.assign.bind():function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:6,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4;return e?e.length<=t+n?e:"".concat(e.toString().substring(0,t),"...").concat(e.toString().substring(e.length-n)):""};function e_(e){if(e){let t=document.getElementById(e);t&&t.scrollIntoView({block:"start",behavior:"smooth"})}}function e$(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_blank";window.open(e,t)}let e0=new(ez())("800000000");function e1(e){let[t,n]=e.split("-"),a=new(ez())(t,36).sub(e0).toString(10);return[a,n]}function e2(e,t){let n=new(ez())(e).add(e0);return"".concat(n.toString(36),"-").concat(t)}function e5(e){return new Promise(t=>setTimeout(t,e))}function e3(e){switch(e){case eV.c.mainnet.id:break;case eV.c.goerli.id:return"https://goerli.etherscan.io";case eV.c.arbitrum.id:return"https://arbiscan.io";case eV.c.arbitrumGoerli.id:return"https://goerli.arbiscan.io";default:console.warn("chainId:".concat(e," not supported."))}return"https://etherscan.io"}function e4(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e<9765625e-10?"".concat(eF().floor(1048576*e,t)," KB"):e<1?"".concat(eF().floor(1024*e,t)," MB"):e<1024?"".concat(eF().floor(e,t)," GB"):e<1048576?"".concat(eF().floor(e/1024,t)," TB"):"".concat(eF().floor(e/1048576,t)," PB")}function e6(e){return"".concat(eY.C5,"/ipfs/").concat(e)}function e8(e,t){return e+Math.floor(Math.random()*(t-e))}function e7(e){return eK("sha256").update(e,"binary").digest("base64")}eQ.Kc&&(window.parseBucketId=e1,window.genBucketId=e2);var e9=n(5121);let te="ZXRoLTB4MEVDNzJGNEQ5MWVhN2ZiRjAyZTY2NUQzZDU5QzQ3MmVjY2M0ZWZFZDoweDc3NDdmNDkxMWNhOWY2YWJjODE0MTgxZTkzZmM1YjdlNzQ4MGIwYzM0ZGRmOWFmNGQ4NjQ3OTRiZmYzY2EzMTg2MzQyNWEwZDRjZjAyOTA1Mjc5MTIwNDliYjJlYTRkMTM1OGZlZjQ3ZDU4YzBmMTQxNjI3ZmMzMTIwNzMwODdjMWI";async function tt(e){let{data:t,endpoint:n=eY.sl,authBasic:a="Basic ".concat(te),onProgress:i,cancelToken:r=e9.Z.CancelToken.source().token}=e,l=await e9.Z.request({data:t,cancelToken:r,headers:{Authorization:a},method:"POST",onUploadProgress(e){i&&i(e.progress)},params:{pin:!0},url:"".concat(n,"/api/v0/add")});return l.data}async function tn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"file",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:te;try{if(0===e.length)throw Error("CID len err");let a=await e9.Z.post("".concat("https://pin.crustcode.com/psa","/pins"),JSON.stringify({cid:e,name:t}),{headers:{authorization:"Bearer "+n,"Content-Type":"application/json"}});return a.data}catch(i){return null}}function ta(){let{update:e}=ex(),t=(t,n)=>{e(e=>{let{toasts:n}=e;return{toasts:[{type:"error",msg:t}].concat(n||[])}})},n=(t,n)=>{e(e=>{let{toasts:n}=e;return{toasts:[{type:"success",msg:t}].concat(n||[])}})};return{error:t,success:n}}function ti(e){let{className:t,onClose:n,uploadRender:a,uploadBorder:i=!0,onSuccess:r,id:l=""}=e,s=ta(),[c,o]=(0,eo.useState)({progress:0,status:"stop"}),d=(0,eo.useRef)(null),u=(0,eo.useRef)(null),[m,p]=(0,eo.useState)(null),[y,h]=(0,eo.useState)(null),f=async()=>{"stop"===c.status&&u.current.click()};(0,eo.useEffect)(()=>{if(d.current){let e=d.current;e.addEventListener("dragover",e=>{e.preventDefault()}),e.addEventListener("dragenter",async()=>{e.querySelector("#waitUpload")&&(e.style.borderColor="#FC7823")}),e.addEventListener("dragleave",async()=>{e.style.borderColor="#131521"}),e.addEventListener("drop",async t=>{if(t.stopPropagation(),t.preventDefault(),e.querySelector("#waitUpload")){if(e.style.borderColor="#131521",t.dataTransfer.files.length>1||!/\.[a-zA-Z]+$/.test(t.dataTransfer.files[0].name))return s.error("Folders are not supported!"),!1;let[n]=t.dataTransfer.files;if(!n)return s.error("Please select a file."),!1;let a=n.size/1048576;if(a>100){s.error("Please select a file less than 100MB.");return}await g(n)}})}},[]);let g=async e=>{try{let t=e9.Z.CancelToken.source();p(t),o({progress:0,status:"upload"}),u.current.value="";let n=new FormData;if(!e||!e.name)return!1;n.append("file",e,e.name);let a=await tt({data:n,authBasic:"Basic ".concat("ZXRoLTB4MEVDNzJGNEQ5MWVhN2ZiRjAyZTY2NUQzZDU5QzQ3MmVjY2M0ZWZFZDoweDc3NDdmNDkxMWNhOWY2YWJjODE0MTgxZTkzZmM1YjdlNzQ4MGIwYzM0ZGRmOWFmNGQ4NjQ3OTRiZmYzY2EzMTg2MzQyNWEwZDRjZjAyOTA1Mjc5MTIwNDliYjJlYTRkMTM1OGZlZjQ3ZDU4YzBmMTQxNjI3ZmMzMTIwNzMwODdjMWI="),cancelToken:t.token,onProgress(e){o({progress:Math.round(99*e),status:"upload"})}});p(null),o({progress:100,status:"success"}),h(a),r&&r(a)}catch(i){console.error(i)}},b=e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),m&&(m.cancel("CanceledError"),p(null)),o({progress:0,status:"stop"}),n&&n(),h(null)},v=async e=>{let t=e.target.files[0];if(!t)return s.error("Please select a file."),!1;let n=t.size/1048576;if(n>100){s.error("Please select a file less than 100MB.");return}await g(t)};return(0,ec.BX)("div",{id:l,className:ew()("w-full flex justify-center",t),children:[(0,ec.BX)("div",{ref:d,onClick:f,className:ew()("w-full h-full cursor-pointer relative max-w-[70rem] flex justify-center items-center border-black-1 border-4 border-dashed"),style:i||"upload"!==c.status?{}:{border:"none"},children:[n&&(0,ec.tZ)(eL,{className:"absolute z-10 right-2 top-2 cursor-pointer",onClick:b}),"stop"!==c.status?"upload"===c.status?(0,ec.tZ)("div",{className:ew()("w-full",{"px-5":!!a,"px-20":!a}),children:a?a(c.progress):(0,ec.tZ)(eR,{value:c.progress})}):(0,ec.BX)("div",{className:"text-black-3 text-lg flex flex-col px-20",children:[(0,ec.tZ)("label",{className:"text-xl font-medium text-black",children:"IPFS CID:"}),(0,ec.tZ)("span",{className:"mt-5",children:y.Hash}),(0,ec.BX)("div",{className:"mt-20",children:[(0,ec.tZ)("label",{className:"text-xl font-medium text-black",children:"You may want to:"}),(0,ec.BX)("div",{className:"flex flex-wrap mt-5",children:[(0,ec.tZ)("div",{className:"mr-5 w-1/2 mb-2 underline",onClick:()=>e$("".concat(eY.C5,"/ipfs/").concat(y.Hash)),children:"Get download link for this file"}),(0,ec.tZ)("div",{className:"underline",onClick:()=>e$("https://ipfs-scan.io/?cid=".concat(y.Hash)),children:"Verify on IPFS"}),(0,ec.tZ)("div",{className:"mr-5 w-1/2 underline",onClick:()=>e$("https://docs.crustcloud.io"),children:"Learn more about Crust Cloud's storage solution"}),(0,ec.tZ)("div",{onClick:()=>e$("http://test.crustcloud.io/#/buckets"),className:"underline",children:"Claim your W3Bucket NFT on testnet"})]})]})]}):(0,ec.tZ)("span",{style:{pointerEvents:"none"},id:"waitUpload",className:"text-black-1 font-medium text-[2rem] leading-normal",children:"Drag and drop your file here"})]}),(0,ec.tZ)("input",{ref:u,hidden:!0,onChange:v,type:"file"})]})}let tr=eo.memo(()=>{let[e,t]=(0,eo.useState)(!1),n=()=>{t(!0),setTimeout(()=>{e_("nftupload")},0)},a=()=>{t(!1),setTimeout(()=>{e_("nft")},0)};return(0,ec.tZ)("div",{className:"w-full py-6 px-12 flex justify-center pb-20 mt-3 text-slate-700 text-lg",id:"nft",children:(0,ec.BX)("div",{className:"w-full max-w-[1112px] flex flex-col text-black",children:[(0,ec.tZ)(eP,{className:"mt-6 mb-8 font-medium",text:"Web3 Storage Buckets & Web3 IPFS Gateways"}),(0,ec.tZ)("p",{className:"pb-20 text-2xl text-black-3",children:"Crust Cloud defines what cloud storage middlewares should look like in Web3 - every storage bucket is a NFT, and every IPFS gateway is a NFT."}),(0,ec.BX)("div",{className:"flex justify-center",children:[(0,ec.BX)("div",{className:"flex flex-col justify-between",children:[(0,ec.BX)("div",{className:"flex items-center",children:[(0,ec.tZ)(eM,{}),(0,ec.tZ)("span",{className:"text-6xl px-6",children:"="}),(0,ec.tZ)(eE,{})]}),(0,ec.BX)("div",{className:"flex items-center",children:[(0,ec.tZ)(eO,{}),(0,ec.tZ)("span",{className:"text-6xl px-6",children:"="}),(0,ec.tZ)(eE,{})]})]}),(0,ec.BX)("div",{className:"ml-16",children:[(0,ec.tZ)("h4",{className:"text-[1.375rem] font-semibold text-black mb-4",children:"Store files in W3Buckets: Decentralized, Guaranteed & Alive."}),(0,ec.tZ)("p",{className:"text-black-3",children:"All contents in the W3Buckets are immutable, decentralized stored, guaranteed with up to permanent persistence in the open internet, and most importantly, owned & controlled by the NFT owner."}),(0,ec.tZ)("h4",{className:"text-[1.375rem] font-semibold text-black mb-4 mt-20",children:"IPFS Remote Pin"}),(0,ec.tZ)("p",{className:"text-black-3",children:"Storage service are called by Standard IPFS Remote Pinning Service APIs that make your files always available (alive!) on IPFS with multiple replicas and accessible from everywhere."}),(0,ec.BX)("div",{className:"flex mt-8 text-black-1",children:[(0,ec.tZ)(ej,{onClick:n,className:"btn-173",text:"Play Quick Demo"}),(0,ec.tZ)(ej,{onClick:()=>eQ.Kc?e$("/#/buckets","_self"):e$("/#/buckets"),className:"btn-173 ml-5",text:"Launch App"})]})]})]}),e&&(0,ec.tZ)(ti,{id:"nftupload",className:"h-[32.937rem] mt-12",onClose:a})]})})}),tl=[[[42,49]],[[41,50]],[[38,53]],[[37,53]],[[20,26],[35,52]],[[18,28],[34,51],[82,85],[96,100],[110,111]],[[17,24],[27,27],[29,32],[36,36],[38,51],[81,84],[92,101],[109,111]],[[3,6],[11,12],[16,27],[29,34],[40,51],[80,81],[86,86],[89,89],[91,106],[110,115]],[[2,8],[10,24],[26,27],[30,36],[40,50],[67,74],[83,83],[85,86],[88,123]],[[2,24],[26,26],[28,31],[34,37],[40,49],[66,75],[77,86],[88,124]],[[1,31],[34,38],[40,46],[51,54],[66,73],[76,124]],[[1,28],[31,31],[33,37],[41,44],[52,53],[64,123]],[[2,27],[33,37],[42,43],[63,115],[118,122]],[[4,8],[11,27],[33,38],[60,60],[64,114],[116,119]],[[3,7],[13,30],[33,39],[59,61],[64,109],[116,118]],[[2,3],[13,31],[33,40],[58,62],[64,110],[116,118]],[[0,1],[14,40],[58,111],[116,117]],[[16,36],[40,40],[60,111],[115,116]],[[16,38],[40,41],[61,78],[81,109],[111,111]],[[16,39],[60,71],[73,73],[75,77],[80,108]],[[16,37],[58,62],[66,66],[68,71],[76,78],[80,108],[110,111]],[[16,35],[58,61],[65,65],[67,67],[69,78],[81,102],[104,107],[110,110]],[[17,35],[59,60],[63,65],[67,67],[69,69],[71,78],[80,103],[105,106],[109,110]],[[18,34],[61,65],[74,103],[105,105],[108,110]],[[19,32],[59,66],[69,70],[74,103],[107,108]],[[20,32],[58,104],[106,107]],[[20,27],[31,32],[58,78],[80,104]],[[21,26],[31,31],[57,73],[75,78],[82,103]],[[21,21],[23,25],[56,73],[75,82],[85,103]],[[23,26],[28,29],[31,33],[56,74],[76,82],[86,101]],[[23,29],[34,36],[56,74],[76,81],[87,91],[94,98],[100,100],[104,104]],[[25,30],[56,75],[77,80],[87,90],[94,99],[103,104]],[[28,31],[56,75],[77,78],[87,89],[95,99],[103,104]],[[30,31],[34,37],[55,76],[88,89],[96,99],[104,104]],[[30,39],[56,79],[88,89],[96,96],[98,98],[102,102],[104,105]],[[31,40],[57,79],[88,89],[96,96],[101,102],[104,105]],[[33,42],[58,61],[64,79],[95,97],[101,102]],[[32,42],[65,78],[95,97],[100,102],[106,106]],[[32,43],[65,76],[96,97],[100,104],[106,108]],[[31,45],[65,76],[96,98],[100,102],[104,104],[107,111]],[[31,47],[65,75],[97,99],[107,112]],[[31,47],[66,75],[98,100],[110,113]],[[32,47],[66,75],[100,101],[104,105],[110,113]],[[33,47],[66,76],[78,79],[107,108],[113,113]],[[33,46],[65,76],[78,79],[105,108],[111,111]],[[34,46],[65,75],[77,79],[104,112]],[[35,46],[66,75],[77,79],[104,113]],[[35,45],[66,74],[77,78],[102,113]],[[35,44],[67,74],[77,78],[101,114]],[[35,43],[67,73],[77,77],[101,114]],[[35,43],[67,72],[101,114]],[[35,42],[68,72],[102,114]],[[35,41],[68,71],[102,114]],[[34,41],[68,69],[101,103],[108,108],[110,114],[123,123]],[[34,39],[110,113],[123,124]],[[34,38],[111,112],[122,124]],[[34,37],[112,113],[122,124]],[[34,36],[112,112],[121,122]],[[33,37],[120,121]],[[33,36]],[[33,35]],[[34,37]],[[35,36]]],ts=(0,eo.memo)(function(e){let{className:t,activePos:n,onChange:a}=e,[i,r]=(0,eo.useState)([]);(0,eo.useMemo)(()=>{if(n.length>0){let e=[];n.map(t=>{for(let n=0;n=l[0]&&t.x<=l[1]&&t.y===n){e.push(l),i=!0;break}}if(i)break}}),r(e)}},[n]),(0,eo.useMemo)(()=>{i.length>0&&a&&a(i)},[i]);let l=e=>{let t=e[0],n=e[1],a=[];for(let i=t;i<=n;i++)a.push(i);return a},s=(e,t)=>{let a=eF().find(n,n=>n.x===e&&n.y===t);return a?"red":"#666"};return(0,ec.tZ)("svg",{viewBox:"0 0 880 450",className:ew()("",t),children:tl.map((e,t)=>e.map(e=>l(e).map((e,n)=>(0,ec.tZ)("circle",{fill:s(e,t),cx:(e+1)*7,cy:(t+1)*7,r:"2.6"},"circle".concat(n)))))})});function tc(){return(tc=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let e=ty();return{logo:(0,ec.tZ)(tp,{className:""}),name:"AAVE",activePos:e.activePos,total:e.total}})()],tf=eo.memo(()=>{let[e,t]=(0,eo.useState)(0),n=()=>{t(e-1>=0?e-1:th.length-1)},a=()=>{t(e+1>th.length-1?0:e+1)};return(0,ec.tZ)("div",{className:"w-full pt-6 pb-[min(12vmin,18.75rem)] px-12 flex flex-col items-center",children:(0,ec.BX)("div",{className:"my-10 text-black w-full max-w-[1310px]",children:[(0,ec.tZ)(eP,{className:"mx-auto max-w-[1120px] ",text:"Discover some real use cases"}),th.map((t,i)=>i===e&&(0,ec.BX)("div",{className:ew()("flex justify-center pt-5"),children:[(0,ec.tZ)(ts,{activePos:t.activePos,className:"flex-1 pt-16"}),(0,ec.BX)("div",{className:"flex flex-shrink-0 flex-col items-center w-[22.625rem] ml-10 ",children:[(0,ec.BX)("div",{className:"h-[4.625rem] w-full flex justify-between items-center",children:[(0,ec.tZ)(tu,{className:"cursor-pointer",onClick:n}),t.logo,(0,ec.tZ)(tu,{className:"rotate-180 cursor-pointer",onClick:a})]}),(0,ec.BX)("span",{className:"text-black text-lg mt-12 font-medium",children:["Check this real-time monitor to see how we help ",t.name," decentralized host their Dapp frontend:"]}),(0,ec.BX)("div",{className:"text-black-3 text-lg mt-3",children:[(0,ec.BX)("p",{className:"mt-5",children:[(0,ec.tZ)("span",{className:"text-orange-500 font-medium text-2xl",children:t.total})," IPFS Replicas all around the globe"]}),(0,ec.BX)("p",{className:"mt-5",children:[(0,ec.tZ)("span",{className:"text-orange-500 font-medium text-2xl",children:"99+"})," Years guaranteed with ",(0,ec.tZ)("span",{className:"text-orange-500 font-medium text-2xl",children:"1.5ETH"})," in payment contract"]}),(0,ec.BX)("p",{className:"mt-5",children:["Guranteed by ",(0,ec.tZ)("a",{className:"text-black-3 underline",href:"https://crust.network/",target:"_blank",children:"decentralized incentive protocol"})," on IPFS"]}),(0,ec.BX)("p",{className:"mt-5",children:["Verifiable on ",(0,ec.tZ)("a",{className:"text-black-3 underline",href:"https://ipfs-scan.io/",target:"_blank",children:"IPFS Scan"})]})]})]})]},"monitorProject".concat(i)))]})})});var tg=n(85769),tb=n(85118),tv=n(53459),tx=n(15029),tA=n(99477);function tw(){let e="#787980",t=(0,eo.useMemo)(()=>{let e=[],t=new tA.Vector3;for(let n=0;n<2e3;n++){t.x=2*Math.random()-1,t.y=2*Math.random()-1,t.z=2*Math.random()-1,t.normalize(),t.multiplyScalar(26);let a=[t.x,t.y,t.z];t.multiplyScalar(.2*Math.random()+1);let i=[t.x,t.y,t.z];e.push([a,i])}return e},[]),n=(0,eo.useMemo)(()=>{let e=[],t=new tA.Vector3;for(let n=0;n<300;n++){t.x=n%2==0?-1:1,t.y=(2*Math.random()-1)*.5,t.z=(2*Math.random()-1)*.3,t.normalize(),t.multiplyScalar(26+4*Math.random()-2);let a=[t.x,t.y,t.z];t.multiplyScalar(2*Math.random()+1.3);let i=[t.x,t.y,t.z],r=Math.abs(a[0]-i[0]),l=Math.round(1+5*r/27),s=[i[0]-a[0],i[1]-a[1],i[2]-a[2]],[c,o,d]=[s[0]/(l+1),s[1]/(l+1),s[2]/(l+1)],u=[];if(Math.random()>.5)for(let m=1;m<=l;m++){let p=Math.ceil(Math.random()-.5),y=(3*Math.random()+2)*p;u.push([a[0]+m*c,a[1]+m*o+y,a[2]+m*d+0])}e.push([a,i,u])}return e},[]),a=(0,eo.useRef)(),i=(0,eo.useRef)(),r=(0,eo.useRef)({count:0}),l=(0,eo.useRef)({});(0,tv.C)((e,t,n)=>{if(a.current){let s=2*Math.PI,c=a.current.rotation.x+s*t*.01;a.current.rotation.x=c>s?c-s:c}if(i.current){let o=r.current.count%6==0;for(let d of i.current.children)if("Points"===d.type){let m=d,p=m.geometry.getAttribute("position");for(let y=0;y2*f.max?1:g,v=b<=f.max?b-1:2*f.max-b-1;p.setXYZ(y,h.getX(v),h.getY(v),h.getZ(v))}else p.setXYZ(y,h.getX(0),h.getY(0),h.getZ(0))}p.needsUpdate=!0}else if("Line"===d.type){let x=d,A=l[x.name];if(A){let w=A.count+(o?1:0),Z=w>2*A.max?1:w,k=Z<=A.max?Z:2*A.max-Z;x.geometry.setDrawRange(0,k),A.count=Z}else if(x.geometry.setDrawRange(0,0),.001>Math.random()){let N=Math.round(x.geometry.getAttribute("position").array.length/3);l[x.name]={count:1,max:N}}}r.current.count++,r.current.count>600&&(r.current.count=0)}},-2);let s=(0,tg.m)("disc.png"),c=(0,eo.useMemo)(()=>new tA.Float32BufferAttribute(t.flatMap(e=>e[1]),3),[t]),o=(0,eo.useMemo)(()=>new tA.Float32BufferAttribute(t.flatMap(e=>e[0].concat(e[1])),3),[t]),d=(0,eo.useMemo)(()=>new tA.Float32BufferAttribute(n.flatMap(e=>e[1]),3),[n]),u=(0,eo.useMemo)(()=>{let e=[];for(let[t,a,i]of n){let r=[t,...i,a],l=new tA.CatmullRomCurve3(r.map(e=>new tA.Vector3(...e)),!1,"chordal",.5),s=Math.abs(t[0]-a[0]),c=Math.round(20+160*s/27),o=l.getPoints(c).flatMap(e=>[e.x,e.y,e.z]);e.push(new tA.Float32BufferAttribute(o,3))}return e},[n]);return(0,ec.BX)("group",{position:[40,0,0],children:[(0,ec.BX)("group",{ref:a,children:[(0,ec.BX)("points",{children:[(0,ec.tZ)("bufferGeometry",{attributes:{position:c}}),(0,ec.tZ)("pointsMaterial",{color:e,opacity:.7,map:s,size:4,blending:tA.AdditiveBlending,depthTest:!1,transparent:!0})]}),(0,ec.BX)("lineSegments",{children:[(0,ec.tZ)("bufferGeometry",{attributes:{position:o}}),(0,ec.tZ)("lineBasicMaterial",{color:e,linewidth:1})]})]}),(0,ec.BX)("group",{ref:i,children:[(0,ec.BX)("points",{children:[(0,ec.tZ)("bufferGeometry",{attributes:{position:d}}),(0,ec.tZ)("pointsMaterial",{color:"#cdcccc",opacity:.7,map:s,size:4,blending:tA.AdditiveBlending,depthTest:!1,transparent:!0})]}),u.map((t,n)=>(0,ec.BX)("line_",{name:n,children:[(0,ec.tZ)("bufferGeometry",{attributes:{position:t}}),(0,ec.tZ)("lineBasicMaterial",{color:e,linewidth:1})]},"line_".concat(n)))]})]})}(0,tv.e)({Line_:tA.Line});let tZ=eo.memo(function(){return(0,ec.BX)(tx.Xz,{gl:{antialias:!0},children:[(0,ec.tZ)(tb.i,{makeDefault:!0,zoom:9,args:[-150,50,30,-30,50,-100]}),(0,ec.tZ)("ambientLight",{color:"#eaeaea",intensity:1}),(0,ec.BX)("mesh",{position:[0,0,-100],children:[(0,ec.tZ)("planeGeometry",{args:[1e3,1e3]}),(0,ec.tZ)("meshStandardMaterial",{color:"black"})]}),(0,ec.tZ)(tw,{})]})});var tk=n(21132);function tN(){return(tN=Object.assign?Object.assign.bind():function(e){for(var t=1;t((0,tk.tf)(()=>{setTimeout(()=>{window.scroll(0,0)},50)}),(0,ec.BX)("div",{className:"w-full min-h-min relative",children:[(0,ec.tZ)("div",{className:"w-full bg-black h-screen absolute left-0 top-0 z-0",children:(0,ec.tZ)(tZ,{})}),(0,ec.BX)("div",{className:"z-1 h-[100vh] relative w-full py-6 px-12 flex flex-col items-center",children:[(0,ec.tZ)("div",{className:"h-14 w-full max-w-[1112px] flex justify-between items-center font-WorkSans",children:(0,ec.tZ)("div",{className:"text-[88px] ml-3 mt-5",children:(0,ec.tZ)(tE,{})})}),(0,ec.BX)("div",{className:"h-full my-10 w-full max-w-[1112px] flex flex-col justify-center mt-[-1rem]",children:[(0,ec.BX)("div",{className:"font-RobotoMono font-bold text-[2.5rem] leading-tight",children:[(0,ec.tZ)("p",{children:"Crust Cloud"}),(0,ec.tZ)("p",{children:"Redefining Web3 Storage"})]}),(0,ec.BX)("div",{className:"flex flex-col mt-12 pl-1 mb-20",children:[(0,ec.BX)("div",{className:"flex mb-3",children:[(0,ec.tZ)(ej,{text:"Documentations",className:"btn-173 border-white text-white",onClick:()=>e$("https://docs.crustcloud.io/")}),(0,ec.tZ)(ej,{text:"Launch App",className:"btn-173 ml-3 border-white text-white",onClick:()=>eQ.Kc?e$("/#/buckets","_self"):e$("/#/buckets")})]}),(0,ec.tZ)("div",{className:"flex",children:(0,ec.tZ)(ej,{text:"Contact the team",className:"btn-173 border-white text-white",onClick:()=>e$("https://forms.gle/NUSvEDDR4AmP8wbV6")})})]})]})]})]})));function tO(){return(tO=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,ec.tZ)("div",{className:"w-full py-20 px-12 flex flex-col items-center justify-center text-black-1",children:(0,ec.BX)("div",{className:"w-full max-w-[1112px]",children:[(0,ec.tZ)(eP,{className:"w-full pb-14",text:"Crust Cloud is a Web3 storage cloud"}),(0,ec.BX)("div",{className:"w-full flex justify-between items-end text-lg",children:[(0,ec.BX)("div",{className:"w-[348px] h-[418px] border-2 border-black-1 mt-12",children:[(0,ec.BX)("div",{className:"flex flex-col items-center border-b-2 border-black-1 py-6",children:[(0,ec.tZ)("div",{className:"text-[2rem] font-medium",children:"IaaS"}),(0,ec.tZ)("span",{className:"leading-[1.3125rem] mt-[.625rem]",children:"Infrastructure-as-a-Service"})]}),(0,ec.BX)("div",{className:"flex flex-col items-center",children:[(0,ec.BX)("div",{className:"flex items-center mt-6",children:[(0,ec.tZ)(tj,{}),(0,ec.tZ)(tW,{className:"ml-11"})]}),(0,ec.tZ)("a",{href:"https://ipfs.io",target:"_blank",className:"text-2xl text-black-1 font-medium leading-7 mt-5 mb-3 underline no-skip-ink",children:"IPFS"}),(0,ec.tZ)("span",{className:"leading-[1.3125rem]",children:"the distrbuted file system"}),(0,ec.tZ)("a",{href:"https://crust.network",target:"_blank",className:"text-2xl text-black-1 font-medium leading-7 mt-5 mb-3 underline no-skip-ink",children:"Crust Network"}),(0,ec.tZ)("p",{className:"w-[294px] leading-[1.3125rem] text-center",children:"the decentralized storage protocol & incentive layer of IPFS"})]}),(0,ec.tZ)("div",{})]}),(0,ec.BX)("div",{className:"flex flex-col items-center",children:[(0,ec.tZ)("h4",{className:"text-orange-15 font-medium text-[2rem] leading-[2.375rem] mb-4",children:"Crust Cloud Products"}),(0,ec.BX)("div",{className:"flex",children:[(0,ec.BX)("div",{className:"w-[348px] h-[418px] border-2 border-orange-15",children:[(0,ec.BX)("div",{className:"flex flex-col items-center border-b-2 border-orange-15 py-6",children:[(0,ec.tZ)("div",{className:"text-[2rem] font-medium",children:"PaaS"}),(0,ec.tZ)("span",{className:"leading-[1.3125rem] mt-[.625rem]",children:"Platform-as-a-Service"})]}),(0,ec.BX)("div",{className:"flex flex-col items-center pt-7 pb-14",children:[(0,ec.BX)("div",{className:"flex items-center text-[2.5rem]",children:[(0,ec.tZ)("span",{className:"mr-2",children:"W3"}),(0,ec.tZ)(tR,{}),(0,ec.tZ)("span",{className:"px-3",children:"+"}),(0,ec.tZ)("span",{className:"mr-2",children:"W3"}),(0,ec.tZ)(tD,{})]}),(0,ec.tZ)("h6",{onClick:()=>e_("nft"),className:"text-2xl font-medium leading-7 mt-[1.7rem] mb-3 underline no-skip-ink cursor-pointer",children:"W3Buckets"}),(0,ec.tZ)("span",{className:"leading-[1.3125rem]",children:"NFT-nized IPFS storage buckets"}),(0,ec.tZ)("h6",{onClick:()=>e_("nft"),className:"text-2xl font-medium leading-7 mt-5 mb-3 underline no-skip-ink cursor-pointer",children:"W3Gateways"}),(0,ec.tZ)("span",{className:"leading-[1.3125rem]",children:"NFT-nized IPFS Gateways"})]})]}),(0,ec.BX)("div",{className:"w-[348px] h-[418px] border-2 border-orange-15",children:[(0,ec.BX)("div",{className:"flex flex-col items-center border-b-2 border-orange-15 py-6",children:[(0,ec.tZ)("div",{className:"text-[2rem] font-medium",children:"SaaS"}),(0,ec.tZ)("span",{className:"leading-[1.3125rem] mt-[.625rem]",children:"Software-as-a-Service"})]}),(0,ec.BX)("div",{className:"flex flex-col items-center pt-7",children:[(0,ec.BX)("div",{className:"flex items-center text-[2.5rem]",children:[(0,ec.tZ)("span",{className:"mr-2",children:"W3"}),(0,ec.tZ)(tG,{})]}),(0,ec.tZ)("h6",{onClick:()=>e_("widget"),className:"text-2xl font-medium leading-7 mt-[2rem] mb-3 underline no-skip-ink cursor-pointer",children:"Web3 Storage Widgets"}),(0,ec.tZ)("p",{className:"w-[298px] leading-[1.3125rem] text-center",children:"Rich-text Editor/Publisher Widget IPFS File Storage Widget"}),(0,ec.tZ)("p",{className:"w-[298px] leading-[1.3125rem] text-center",children:"IPFS Storage Retrieval Widget and more..."})]})]})]})]})]})]})}));function tF(){return(tF=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{icon:t,...n}=e;return"string"==typeof t?(0,ec.tZ)("span",{...n,className:ew()(n.className,t)}):(0,ec.tZ)(t,{...n})}),t$=eo.memo(e=>{let{onClose:t,title:n,className:a,...i}=e;return(0,ec.BX)("div",{...i,className:ew()(" flex pb-5 justify-between border-b border-solid border-b-gray-16",a),children:[(0,ec.tZ)("div",{className:"text-black-3 text-lg",children:n}),(0,ec.tZ)("div",{className:"text-gray-12",children:(0,ec.tZ)(t_,{icon:"cru-fo-x",className:" text-xl cursor-pointer",onClick:t})})]})}),t0=eo.memo(e=>{let{outClick:t,outClassname:n,className:a,children:i,...r}=e,l=null==document?void 0:document.getElementById("app-root");return l?(0,tq.createPortal)((0,ec.tZ)("div",{onClick:t,className:ew()(n,"fixed left-0 top-0 w-screen h-screen z-40 bg-opacity-50 bg-black flex justify-center items-center"),children:(0,ec.tZ)("div",{...r,className:ew()(a," min-w-[27.5rem] p-5 bg-white text-black-1"),children:i})}),l):null});var t1=n(8193);let t2=eo.memo(e=>{let{onClose:t,className:n}=e;return(0,ec.tZ)(t_,{className:ew()("absolute right-6 top-6 text-3xl font-bold cursor-pointer",n),onClick:t,icon:t1.SV5})});function t5(e){let{onClose:t}=e,[n,a]=(0,eo.useState)(0),[i,r]=(0,eo.useState)({Hash:""}),l=e=>{a(3),r(e)},s=e=>(0,ec.BX)("div",{className:"flex flex-col items-center",children:[(0,ec.tZ)("p",{className:"w-[24rem] text-black-3 text-2xl text-center mb-10",children:"Publishing & Uploading to IPFS Please wait..."}),(0,ec.tZ)(eR,{value:e})]});return(0,ec.tZ)(t0,{className:"p-0",children:(0,ec.BX)("div",{className:"bg-white flex min-h-[40.75rem] relative",children:[(0,ec.tZ)(t2,{onClose:()=>t&&t()}),(0,ec.BX)("div",{className:"bg-black w-80 text-white px-8 py-16 text-lg",children:[(0,ec.tZ)("div",{className:"mb-12 text-2xl font-medium",children:"IPFS File Storage Widget"}),3===n?(0,ec.BX)("div",{className:"text-lg",children:[(0,ec.tZ)("div",{className:"mb-5 font-medium",children:"Demo Step 2:"}),(0,ec.tZ)("p",{className:"font-light",children:"When Upload process is completed, you will get an IPFS CID (unique identifier to your stored content) and a Storage Manager Tx No. (Tx No. for the IPFS storage action of your content)."})]}):(0,ec.BX)("div",{className:"text-lg",children:[(0,ec.tZ)("div",{className:"mb-5 font-medium",children:"Demo Step 1:"}),(0,ec.tZ)("p",{className:"mb-5 font-light",children:"Drag and drop a file into the box."}),(0,ec.BX)("p",{className:"font-light",children:["When you finish, click on the ",(0,ec.tZ)("span",{className:"font-semibold",children:"'Upload'"})," button to continue."]})]})]}),(0,ec.tZ)("div",{className:"min-w-[50rem] flex justify-center items-center",children:3===n?(0,ec.BX)("div",{className:"text-center text-black-3 flex flex-col items-center",children:[(0,ec.tZ)(t_,{className:"text-[3.125rem] text-black mb-4",icon:t1.KP3}),(0,ec.tZ)("div",{className:"text-[1.375rem] text-black font-semibold mb-4",children:"Publish successfully!"}),(0,ec.tZ)("p",{className:"mb-14 text-lg",children:"This content has been published and decentralized stored on IPFS."}),(0,ec.tZ)("div",{className:"mb-2 text-lg",children:"Your content's IPFS CID:"}),(0,ec.tZ)("p",{className:"text-sm text-gray-7 mb-8",children:i.Hash}),(0,ec.tZ)("div",{className:"mb-2 text-lg",children:"Storage Manager Tx No:"}),(0,ec.tZ)("p",{className:"text-sm text-gray-7",children:eq("0x69b9f8cf491b55c485dbb43a86a7e48f7649aa45c958cd245461d04c3146bd91",23,23)})]}):(0,ec.tZ)(ti,{uploadRender:s,onSuccess:l,uploadBorder:!1,className:"h-[29.937rem] w-[42.5rem]"})})]})})}var t3=n(7297),t4=n(18872),t6=n(81482),t8=n(93282);n(5334);var t7=n(96412),t9=n.n(t7),ne=n(4979),nt=n.n(ne),nn=n(31026),na=n(378),ni=n(611),nr=n(49891),nl=n(84672),ns=n(56073),nc=n(54340),no=n(82874),nd=n(5705),nu=n(71265),nm=n(11033),np=n(31871),ny=n(78469),nh=n(55658),nf=n(78822),ng=n(98584),nb=n(81373),nv=n(13848),nx=n(32085),nA=n(92003),nw=n.n(nA),nZ=n(5432),nk=n(57375),nN=n(27353),nT=n(48764).Buffer;function nI(){let e=(0,t3.Z)(['\n width: 100%;\n height: 100%;\n padding: 80px 24px 24px 24px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n ol,\n ul {\n list-style: revert !important;\n margin: revert !important;\n padding: revert !important;\n }\n .remirror-editor-wrapper {\n padding-top: unset;\n border-radius: 0;\n border: 1px solid #dfe3e7 !important;\n outline: unset !important;\n overflow: auto;\n height: 447px;\n max-width: 872px;\n max-height: 447px;\n .ProseMirror {\n overflow: hidden;\n min-height: 100%;\n padding: "1rem";\n box-shadow: unset !important;\n pre {\n padding: ',";\n margin: 0;\n }\n .remirror-is-empty:first-of-type::before{\n font-style: normal !important;\n }\n }\n }\n"]);return nI=function(){return e},e}function nC(){let e=(0,t3.Z)(["\n height: 72px !important;\n background-color: #f4f5f7 !important;\n padding: 24px !important;\n border: 1px solid #dfe3e7 !important;\n overflow: hidden !important;\n button {\n padding: unset !important;\n width: 24px !important;\n height: 24px !important;\n /* font-size: 22px; */\n margin-right: 18px !important;\n outline: unset !important;\n border: unset !important;\n background-color: transparent !important;\n }\n "]);return nC=function(){return e},e}async function nB(e){let t=await nN.J.digest(e);return nk.k0.createV0(t).toString()}let nM=eY.C5,nS=new Map,nE=(0,t4.iv)(nI(),(0,nn.y2)("space",3)),nX=e=>{let{style:t,className:n,children:a}=e;return(0,ec.tZ)("div",{style:t,className:"".concat(nE," ").concat(n," w-full"),children:a})},nO={color:{primary:"#FC7823",primaryText:"#FC7823",outline:"transparent",background:"transparent",hover:{primary:"#FC7823",primaryText:"#FC7823"}},fontFamily:{default:"var(--work-sans)"}},nj=()=>(0,ec.BX)(t6.o8,{className:(0,t4.iv)(nC()),children:[(0,ec.tZ)(t6.pQ,{attrs:{level:1}}),(0,ec.tZ)(t6.pQ,{attrs:{level:2}}),(0,ec.tZ)(t6.pQ,{attrs:{level:3}}),(0,ec.tZ)(t6.Vu,{}),(0,ec.tZ)(t6.NV,{}),(0,ec.tZ)(t6.kj,{}),(0,ec.tZ)(t6.QD,{}),(0,ec.tZ)(t6.Om,{}),(0,ec.tZ)(t6.XR,{}),(0,ec.tZ)(t6.gf,{})]}),nP=e=>{let{placeholder:t="Please input text...",initialContent:n="",editorUpdate:a,onUpFinish:i}=e,r=(0,eo.useMemo)(()=>{let e=new ni.y5({autoLink:!0});return e.addHandler("onClick",(e,t)=>(console.log("You clicked link: ".concat(JSON.stringify(t))),!0)),e},[]);(0,eo.useRef)("");let[l,s]=(0,eo.useState)(""),[c,o]=(0,eo.useState)(""),[d,u]=(0,eo.useState)(!1),[m,p]=(0,eo.useState)(""),[y,h]=(0,eo.useState)(-1),f=(0,eo.useMemo)(()=>-1!==y?"uping":l?"finish":"edit",[y,l]),g=async()=>{let e=await nw()();if(e&&e.isMetaMask){await e.request({method:"eth_requestAccounts"});let t=new nZ.Web3Provider(e),n=t.getSigner(),a=await n.getAddress(),i=await n.signMessage("You are signing this message for DEMO purpose only. Sign this message to prove you own this account and you will be able to publish your Web3 content.");return nT.from("eth-".concat(a,":").concat(i)).toString("base64")}return""},b=async(e,t)=>{try{let n=e9.Z.CancelToken.source();t&&t(0);let a=await tt({data:e,cancelToken:n.token,onProgress:t});return console.log(a),a}catch(i){console.error(i.message)}return null},v=async()=>{try{let e=await g();if(!e)return;let t=new FormData;t.append("file",c);let n=await b(t,e=>h(Math.round(99*e)));if(null===n){p("Cannot save markdown file."),u(!0),s("Save markdown failed.");return}let a=n.Hash;await tn(a,"text.md"),s(a),h(-1),i&&i(n)}catch(r){console.error(r)}},x=e=>{let t=0,n=[];for(let{file:a,progress:i}of(console.info("files:",e),e))n.push(()=>new Promise((e,n)=>{let i=new FileReader;i.addEventListener("load",async r=>{console.log(a),t+=1,console.info("readed:",i.result);let l=await nB(new Uint8Array(i.result));console.info("imgKey:",l);let s=nS.get(l);if(!s){let c=new FormData;c.append("file",a,a.name);let o=await b(c);if(null!==o)try{await tn(o.Hash,a.name);let d=await function(e){return new Promise(t=>{let n=new Image;n.onload=()=>t(!0),n.onerror=()=>t(!1),n.src=e,n.loading="eager"})}("".concat(nM,"/ipfs/").concat(o.Hash));if(!d)throw"pre load error";s=o.Hash,nS.set(l,o.Hash)}catch(u){console.error(u)}}s?e({src:"".concat(nM,"/ipfs/").concat(s),fileName:a.name}):n()},{once:!0}),i.readAsArrayBuffer(a)}));return n},A=(0,eo.useCallback)(()=>{let e=document.createElement("div");return e.className="w-[100px] h-[100px] p-[30px]",tq.render((0,ec.tZ)(ek,{}),e),e},[]),w=(0,eo.useCallback)(()=>[new nr.X({placeholder:t}),new nl.x({data:nx,plainText:!0}),r,new ns.H({}),new nc.V,new no.Gc({uploadHandler:x,createPlaceholder:A,enableResizing:!0}),new nd.f,new nu.e({}),new nm.V,new np.z,new ny.UQ({enableSpine:!0}),new ny._3,new ny.Jb({priority:na.xV.High,enableCollapsible:!0}),new nh.l,new nf.W({supportedLanguages:[t9(),nt()]}),new ng.F,new nb.g({copyAsMarkdown:!1}),new nv.h],[t]),{manager:Z}=(0,t8.iF)({extensions:w,stringHandler:"markdown",content:n}),k=e=>{var t;(null===(t=e.tr)||void 0===t?void 0:t.docChanged)&&(null==a||a(e)),console.info("p:",e.helpers.getMarkdown())};return(0,eo.useEffect)(()=>{let e=setInterval(()=>{o(Z.extensionStore.helpers.getMarkdown())},500);return()=>clearInterval(e)},[Z]),(0,ec.BX)(t6.f6,{as:nX,theme:nO,children:["edit"==f&&(0,ec.BX)(t8.O1,{manager:Z,autoFocus:!0,onBlur:k,onChange:k,children:[(0,ec.tZ)(nj,{}),(0,ec.tZ)(t8.PG,{}),(0,ec.tZ)("div",{className:"flex justify-center",children:(0,ec.tZ)(ej,{disabled:!c,className:"btn-173 mt-4",text:"Publish",onClick:v})})]}),"uping"==f&&(0,ec.BX)("div",{className:"mb-[3.5rem] font-WorkSans px-14 flex flex-col items-center",children:[(0,ec.tZ)("p",{className:"w-[24rem] text-black-3 text-2xl text-center mb-10",children:"Publishing & Uploading to IPFS Please wait..."}),(0,ec.tZ)(eR,{value:y})]}),"finish"==f&&(0,ec.tZ)(ec.HY,{children:(0,ec.BX)("div",{className:"mb-[3.5rem] text-center font-WorkSans text-black-3 flex flex-col items-center",children:[(0,ec.tZ)(t_,{className:"text-[3.125rem] text-black mb-4",icon:t1.KP3}),(0,ec.tZ)("div",{className:"text-[1.375rem] text-black font-semibold mb-4",children:"Publish successfully!"}),(0,ec.tZ)("p",{className:"mb-14 text-lg",children:"This content has been published and decentralized stored on IPFS."}),(0,ec.tZ)("div",{className:"mb-2 text-lg",children:"Your content's IPFS CID:"}),(0,ec.tZ)("div",{className:"text-sm text-gray-7 mb-8",children:l}),(0,ec.tZ)("div",{className:"mb-2 text-lg",children:"Storage Manager Tx No:"}),(0,ec.tZ)("p",{className:"text-sm text-gray-7",children:eq("0x69b9f8cf491b55c485dbb43a86a7e48f7649aa45c958cd245461d04c3146bd91",23,23)})]})})]})};function nW(e){let{onClose:t}=e,[n,a]=(0,eo.useState)(0);return(0,ec.tZ)(t0,{className:"p-0",children:(0,ec.BX)("div",{className:"bg-white flex h-[40.75rem] relative",children:[(0,ec.tZ)(t2,{onClose:()=>t&&t()}),(0,ec.BX)("div",{className:"bg-black w-80 text-white px-8 py-16 text-lg",children:[(0,ec.tZ)("div",{className:"mb-12 text-2xl font-medium",children:"Rich-text Content Publisher Widget"}),0===n&&(0,ec.BX)("div",{className:"text-lg",children:[(0,ec.tZ)("div",{className:"mb-5 font-medium",children:"Demo Step 1:"}),(0,ec.tZ)("p",{className:"mb-5 font-light",children:"Type in any text and try to do some simple edit work."}),(0,ec.BX)("p",{className:"font-light",children:["When you finish, click on the ",(0,ec.tZ)("span",{className:"font-semibold",children:"'Publish'"})," button to continue."]})]}),1===n&&(0,ec.BX)("div",{className:"text-lg",children:[(0,ec.tZ)("div",{className:"mb-5 font-medium",children:"Demo Step 2:"}),(0,ec.tZ)("p",{className:"font-light",children:"When Publish and Upload processes are completed, you will get an IPFS CID (unique identifier to your stored content) and a Storage Manager Tx No. (Tx No. for the IPFS storage action of your content)."})]})]}),(0,ec.tZ)("div",{className:"min-w-[50rem] flex items-center justify-center",children:(0,ec.tZ)(nP,{onUpFinish:e=>e&&a(1)})})]})})}var nL=n(48570),nR=n(76199),nY=n(34209),nD=n(79166);let nz=eo.memo(e=>(0,ec.tZ)(nL.D,{children:e.code,linkTarget:"_blank",components:{h5(e){let{node:t,...n}=e;return(0,ec.tZ)("h5",{style:{fontSize:"18px",fontStyle:"normal"},...n})},code(e){let{node:t,inline:n,className:a,children:i,...r}=e,l=/language-(\w+)/.exec(a||"");return!n&&l?(0,ec.tZ)(nY.Z,{children:String(i).replace(/\n$/,""),style:nD.Z,language:l[1],PreTag:"div",...r}):(0,ec.tZ)("code",{className:a,...r,children:i})}},remarkPlugins:[nR.Z]}));function nG(e){let{onClose:t}=e;return(0,ec.tZ)(t0,{className:"p-0",children:(0,ec.BX)("div",{className:"bg-white min-w-[56rem] flex flex-col relative p-6",children:[(0,ec.BX)("div",{className:"flex justify-between items-center mb-6",children:[(0,ec.tZ)("a",{className:"text-2xl underline text-black-1",href:"https://docs.crustcloud.io",target:"_blank",children:"Dev Guidance"}),(0,ec.tZ)(t2,{className:"mt-[-0.3rem]",onClose:()=>t&&t()})]}),(0,ec.tZ)("div",{children:(0,ec.tZ)(nz,{code:"\n##### React:\n\n~~~jsx\nimport { MDEditor } from '@cloud3/react-widgets'\nexport default function App(){\n return(\n \n )\n}\n~~~\n \n \n\n##### Vue:\n\n~~~jsx\n\n\n~~~\n"})})]})})}function nH(e){let{onClose:t}=e;return(0,ec.tZ)(t0,{className:"p-0",children:(0,ec.BX)("div",{className:"bg-white min-w-[56rem] flex flex-col relative p-6",children:[(0,ec.BX)("div",{className:"flex justify-between items-center mb-6",children:[(0,ec.tZ)("a",{className:"text-2xl underline text-black-1",href:"https://docs.crustcloud.io",target:"_blank",children:"Dev Guidance"}),(0,ec.tZ)(t2,{className:"mt-[-0.3rem]",onClose:()=>t&&t()})]}),(0,ec.tZ)("div",{children:(0,ec.tZ)(nz,{code:"\n##### React:\n\n~~~jsx\nimport { DragStorage } from '@cloud3/react-widgets'\nexport function(){\n return(\n \n )\n}\n~~~\n \n \n\n##### Vue:\n~~~jsx\n\n\n~~~\n"})})]})})}let nF=eo.memo(()=>{let[e,t]=(0,eo.useState)(!1),[n,a]=(0,eo.useState)(!1),[i,r]=(0,eo.useState)(!1),[l,s]=(0,eo.useState)(!1);return(0,ec.BX)("div",{id:"widget",className:"w-full pb-20 pt-16 px-12 flex flex-col items-center justify-center text-black bg-[#F5F5F5]",children:[(0,ec.BX)("div",{className:"w-full max-w-[1112px] text-lg",children:[(0,ec.tZ)(eP,{className:"w-full mb-8",text:"Web3 Storage Widgets"}),(0,ec.tZ)("p",{className:"w-full text-left text-2xl text-black-3 mb-20",children:"Users should own their contents and take full control of them just like what they do to their assets, but they do not."}),(0,ec.BX)("div",{className:"flex justify-between",children:[(0,ec.BX)("div",{className:"w-[405px] flex flex-col items-center",children:[(0,ec.tZ)(tU,{}),(0,ec.tZ)("p",{className:"mt-14 text-black-3",children:"Web3 Content Widgets contains several easy-integrating, non-intrusive widges that helps Dapps to manage decentralized IPFS storage and give back content ownership to users."})]}),(0,ec.BX)("div",{className:"flex flex-col",children:[(0,ec.BX)("div",{className:"flex",children:[(0,ec.tZ)(tQ,{}),(0,ec.BX)("div",{className:"ml-9",children:[(0,ec.tZ)("h5",{className:"font-semibold text-[1.375rem] mb-4",children:"Rich-text Content Publisher Widget"}),(0,ec.tZ)("p",{className:"w-[490px] text-black-3",children:"This widget contains a rich-text editor that can auto upload contents to IPFS alongside the publish process. "}),(0,ec.BX)("div",{className:"flex mt-5 text-black-1",children:[(0,ec.tZ)(ej,{onClick:()=>t(!0),className:"btn-173",text:"Play Demo"}),(0,ec.tZ)(ej,{onClick:()=>a(!0),className:"btn-173 ml-5",text:"Show Code"})]})]})]}),(0,ec.BX)("div",{className:"flex mt-20",children:[(0,ec.tZ)(tK,{className:"mt-2"}),(0,ec.BX)("div",{className:"ml-9",children:[(0,ec.tZ)("h5",{className:"font-semibold text-[1.375rem] mb-4",children:"IPFS File Storage Widget"}),(0,ec.tZ)("p",{className:"w-[490px] text-black-3",children:"This widget helps applications/dapps to upload files of general types to IPFS and manage file storage for their users. "}),(0,ec.BX)("div",{className:"flex mt-5 text-black-1",children:[(0,ec.tZ)(ej,{onClick:()=>r(!0),className:"btn-173",text:"Play Demo"}),(0,ec.tZ)(ej,{onClick:()=>s(!0),className:"btn-173 ml-5",text:"Show Code"})]})]})]})]})]})]}),e&&(0,ec.tZ)(nW,{onClose:()=>t(!1)}),n&&(0,ec.tZ)(nG,{onClose:()=>a(!1)}),i&&(0,ec.tZ)(t5,{onClose:()=>r(!1)}),l&&(0,ec.tZ)(nH,{onClose:()=>s(!1)})]})}),nU=()=>(0,ec.BX)("div",{className:"w-full",children:[(0,ec.tZ)(tX,{}),(0,ec.tZ)(tH,{}),(0,ec.tZ)(nF,{}),(0,ec.tZ)(tr,{}),(0,ec.tZ)(tf,{})]});var nJ=n(38109),nQ=n(92339),nV=new class{async connect(){try{var e;let t=await this.wallet.reconnectSession();this.wallet.isConnected&&t.length||(t=await this.wallet.connect()),null===(e=this.wallet.connector)||void 0===e||e.on("disconnect",()=>{this.wallet.disconnect(),this.account=null}),this.account=t[0]}catch(n){console.error(n)}}isConnected(){return this.wallet.isConnected&&!!this.account}disconnect(){this.wallet.disconnect(),this.account=null}constructor(){this.account=null,this.wallet=new nQ.DQ({chainId:eY.pg}),this.wallet.reconnectSession().then(e=>{var t;null===(t=this.wallet.connector)||void 0===t||t.on("disconnect",()=>{this.wallet.disconnect(),this.account=null}),e.length>0&&(this.account=e[0])})}},nK=n(48764).Buffer;function nq(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auth",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,[a,i]=(0,eo.useState)(localStorage.getItem(e)||""),{signTypedDataAsync:r}=(0,nJ.yw)(),{chain:l}=(0,nJ.LN)(),s=l&&l.id;l&&l.unsupported;let{address:c}=(0,nJ.mA)(),o=nV.isConnected(),d=ep(async a=>{let l=localStorage.getItem(e)||"";if((!r||!c||!s)&&!o)throw"not connect wallet";o&&(s=eY.pg,c="0x".concat(nV.account));let d=eJ()().unix();if(t&&l){let u=JSON.parse(window.atob(l)).data;if(u.domain.chainId==="".concat(s)&&u.message.signingAddress===c&&u.message.tokenId===a&&(0===u.message.expirationTimestamp||u.message.expirationTimestamp-d>300))return i(l),l}let m=n<=0?0:eJ()().add(n,"hours").unix(),p={domain:{chainId:"".concat(s),name:"Cloud3.cc",verifyingContract:"0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",version:"1"},message:{description:"Sign for W3 Bucket Access Authentication",signingAddress:c,tokenAddress:o?eY.fL:eY.Jh,effectiveTimestamp:d,expirationTimestamp:m},primaryType:"W3Bucket",types:{W3Bucket:[{name:"description",type:"string"},{name:"signingAddress",type:"address"},{name:"tokenAddress",type:"address"},{name:"effectiveTimestamp",type:"uint256"},{name:"expirationTimestamp",type:"uint256"}]}};a&&(p.message.tokenId=a,p.types.W3Bucket.push({name:"tokenId",type:"string"})),await e5(800);let y="";if(o){let h=nK.from(JSON.stringify({domain:p.domain,types:p.types,value:p.message})),f=await nV.wallet.signData([{data:h,message:"For authentication"}],nV.account);y=window.btoa(String.fromCharCode.apply(null,f[0]))}else y=await r({domain:p.domain,types:p.types,value:p.message});let g=window.btoa(JSON.stringify({data:p,signature:y}));return localStorage.setItem(e,g),i(g),g});return[d,a]}function n_(){return nq("for_mint",!0,3)}function n$(){return nq("auth",!0,12)}var n0=n(63750),n1=n(86893);let n2=eo.memo(e=>{let{className:t,...n}=e;return(0,ec.tZ)("span",{...n,className:ew()(t," font-SquadaOne text-[2.5rem]"),children:"Crust Cloud"})});var n5=n(82775);let n3=eo.memo(e=>{let{onClose:t}=e,{connectAsync:n,connectors:a,data:i}=(0,nJ.$4)(),{switchNetworkAsync:r}=(0,nJ.g0)(),l=(0,eC.s0)(),s=ep(async()=>{try{let e=await (async()=>{let e=await nw()();if(e&&e.isMetaMask){await e.request({method:"eth_requestAccounts"});let t=new nZ.Web3Provider(e),n=t.getSigner(),a=await n.getChainId();if(eY.k0.has(a))return a}return console.warn("Cannot get chainId from provider or unsupported chain, use ".concat(eY.XL[0].id)),eY.XL[0].id})(),t=new n5.i({chains:[eY.k0.get(e)]});console.info("data:",i),console.info("cts:",a),(!i||i.chain.unsupported)&&r?await r(e):await n({chainId:e,connector:t}),l("/buckets")}catch(s){console.error(s)}}),c=ep(async()=>{try{await nV.connect(),l("/buckets")}catch(e){console.error(e)}});return(0,ec.BX)(t0,{outClick:t,children:[(0,ec.tZ)(t$,{title:"Connect Wallet",onClose:t}),(0,ec.BX)("div",{onClick:s,className:"bg-[#ececec] hover:bg-[#dfdfdf] h-14 mt-5 flex px-6 py-3 cursor-pointer justify-between items-center",children:[(0,ec.tZ)(tC,{className:" text-[1.75rem]"}),(0,ec.tZ)("div",{className:" text-black-1 text-sm",children:"MetaMask"}),(0,ec.tZ)("div",{className:" w-[1.75rem]"})]}),(0,ec.BX)("div",{onClick:c,className:"bg-[#ececec] hover:bg-[#dfdfdf] h-14 mt-5 flex px-6 py-3 cursor-pointer justify-between items-center",children:[(0,ec.tZ)(tM,{className:" text-[1.75rem]"}),(0,ec.tZ)("div",{className:" text-black-1 text-sm",children:"PeraWallet"}),(0,ec.tZ)("div",{className:" w-[1.75rem]"})]})]})});var n4=JSON.parse('[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"editionId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"capacityInGigabytes","type":"uint256"},{"indexed":false,"internalType":"address","name":"currency","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"BucketMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"editionId","type":"uint256"},{"indexed":true,"internalType":"address","name":"currency","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"EditionPriceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"editionId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"capacityInGigabytes","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"maxMintableSupply","type":"uint256"}],"name":"EditionUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"address","name":"currency","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EDITIONS_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EDITION_MAX_MINTABLE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EDITION_TOKEN_ID_FACTOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_EDITION_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_EDITION_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UPGRADER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"editionId","type":"uint256"}],"name":"getBucketEditionPrices","outputs":[{"components":[{"internalType":"address","name":"currency","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"}],"internalType":"struct BucketEditionUpgradable.EditionPrice[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"activeOnly","type":"bool"}],"name":"getBucketEditions","outputs":[{"components":[{"internalType":"uint256","name":"editionId","type":"uint256"},{"internalType":"bool","name":"active","type":"bool"},{"internalType":"uint256","name":"capacityInGigabytes","type":"uint256"},{"internalType":"uint256","name":"maxMintableSupply","type":"uint256"},{"internalType":"uint256","name":"currentSupplyMinted","type":"uint256"}],"internalType":"struct BucketEditionUpgradable.BucketEdition[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"editionId","type":"uint256"},{"internalType":"address","name":"currency","type":"address"},{"internalType":"string","name":"uri","type":"string"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"editionId","type":"uint256"},{"components":[{"internalType":"address","name":"currency","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"}],"internalType":"struct BucketEditionUpgradable.EditionPrice[]","name":"prices","type":"tuple[]"}],"name":"setBucketEditionPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"editionId","type":"uint256"},{"internalType":"uint256","name":"capacityInGigabytes","type":"uint256"},{"internalType":"uint256","name":"maxMintableSupply","type":"uint256"}],"internalType":"struct BucketEditionUpgradable.BucketEditionParams[]","name":"editions","type":"tuple[]"}],"name":"setBucketEditions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"currency","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]'),n6=JSON.parse('[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"editionId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"capacityInGigabytes","type":"uint256"},{"indexed":false,"internalType":"address","name":"currency","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"BucketMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"editionId","type":"uint256"},{"indexed":true,"internalType":"address","name":"currency","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"EditionPriceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"editionId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"capacityInGigabytes","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"maxMintableSupply","type":"uint256"}],"name":"EditionUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"address","name":"currency","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EDITIONS_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EDITION_MAX_MINTABLE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EDITION_TOKEN_ID_FACTOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_EDITION_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_EDITION_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UPGRADER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"editionId","type":"uint256"}],"name":"getBucketEditionPrices","outputs":[{"components":[{"internalType":"address","name":"currency","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"}],"internalType":"struct BucketEditionUpgradable.EditionPrice[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"activeOnly","type":"bool"}],"name":"getBucketEditions","outputs":[{"components":[{"internalType":"uint256","name":"editionId","type":"uint256"},{"internalType":"bool","name":"active","type":"bool"},{"internalType":"uint256","name":"capacityInGigabytes","type":"uint256"},{"internalType":"uint256","name":"maxMintableSupply","type":"uint256"},{"internalType":"uint256","name":"currentSupplyMinted","type":"uint256"}],"internalType":"struct BucketEditionUpgradable.BucketEdition[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"editionId","type":"uint256"},{"internalType":"address","name":"currency","type":"address"},{"internalType":"string","name":"uri","type":"string"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"editionId","type":"uint256"},{"components":[{"internalType":"address","name":"currency","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"}],"internalType":"struct BucketEditionUpgradable.EditionPrice[]","name":"prices","type":"tuple[]"}],"name":"setBucketEditionPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"editionId","type":"uint256"},{"internalType":"uint256","name":"capacityInGigabytes","type":"uint256"},{"internalType":"uint256","name":"maxMintableSupply","type":"uint256"}],"internalType":"struct BucketEditionUpgradable.BucketEditionParams[]","name":"editions","type":"tuple[]"}],"name":"setBucketEditions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"currency","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]');let n8=[];function n7(){let{chain:e}=(0,nJ.LN)(),t=e&&e.id,{address:n}=(0,nJ.mA)(),a=nV.isConnected();return t&&((0,eY._D)(t),n8=t===eV.c.arbitrumGoerli.id||t===eV.c.arbitrum.id?n4:n6),(0,eo.useMemo)(()=>n&&eY.k0.has(t)||a,[n,t,a])}var n9=n(60155),ae=n(62313);let at=eQ.TQ||eQ.Cg?"Claim your test version W3Bucket NFT and start your decentralized cloud storage experience on Crust Cloud testnet. To continue, please connect your Ethereum wallet and switch to Goerli testnet.":"W3Bucket runs on Ethereum mainnet. To start your decentralized cloud storage experience, please connect your Ethereum wallet.",an=eo.memo(e=>{let{menuId:t,children:n,...a}=e,{address:i}=(0,nJ.mA)(),{chain:r}=(0,nJ.LN)(),l=n7(),s=nV.isConnected();s&&(i="0x".concat(nV.account));let c=(0,eo.useMemo)(()=>[{id:1,icon:n0.QdO,text:"W3Buckets",path:"/buckets"},{id:2,icon:tT,text:"Settings",path:"/settings"},{id:3,icon:"cru-fo-homework",text:"Docs",url:"https://docs.crustcloud.io"}],[]),o=(0,eC.s0)(),[d,u]=(0,eo.useState)(!1);(0,eo.useEffect)(()=>{l&&u(!1)},[l]);let{disconnect:m}=(0,nJ.qL)(),p=ep(()=>{m(),localStorage.removeItem("for_mint"),localStorage.removeItem("auth"),localStorage.removeItem("for_upload"),nV.disconnect(),o("/buckets")}),y=(0,eo.useRef)(null),h=(0,ae.Z)(y);return(0,ec.tZ)("div",{...a,className:ew()(a.className," w-full h-screen min-h-max text-black-1"),children:(0,ec.BX)("div",{className:" w-full flex h-full",children:[(0,ec.BX)("div",{className:"h-full w-64 flex flex-col border-r-8 border-solid border-[#EEEEEE]",children:[(0,ec.BX)("div",{className:"my-8 flex items-center mx-auto",children:[(0,ec.tZ)(n2,{className:"text-black-1"}),l&&(0,ec.tZ)("div",{className:ew()(" ml-4 text-xs px-[0.39rem] py-[0.13rem] mb-[-0.42rem] text-white",eQ.TQ||eQ.Cg?"bg-gray-11":"bg-blue-2"),children:s?"Algorand":r.name.replace(" ","")})]}),(0,ec.tZ)("div",{className:"flex-1",children:c.map((e,n)=>(0,ec.BX)("div",{className:ew()(" pl-10 py-4 text-lg cursor-pointer ",{"bg-black-1":e.id===t,"text-white":e.id===t,"!text-gray-7 !bg-transparent":!l}),onClick(){l&&(e.path?o(e.path):e.url&&e$(e.url))},children:[(0,ec.tZ)(t_,{icon:l?e.icon:n9.gMo,className:" text-2xl inline-block align-middle"}),(0,ec.tZ)("span",{className:"ml-3 align-middle",children:e.text})]},"menu_".concat(n)))}),(0,ec.tZ)(ej,{ref:y,className:ew()("w-[12.8125rem] h-[3.375rem] text-lg self-end mx-auto mb-10",{" hidden":!l}),onClick:p,text:h?"Disconnect":eq(s?i.slice(2):i,6,6)})]}),l?n:(0,ec.BX)("div",{className:"flex-1 flex px-[15%] pt-[30vh] h-full flex-col items-center",children:[(0,ec.tZ)("div",{className:" text-xl text-black text-center",children:at}),(0,ec.tZ)(ej,{text:"Connect Wallet",className:"mt-8",onClick:()=>u(!0)})]}),d&&(0,ec.tZ)(n3,{onClose:()=>u(!1)})]})})});var aa=n(89211),ai=n(69293);let ar=eo.memo(function(e){let{text:t,dropData:n,onChange:a,className:i}=e,[r,l]=(0,aa.Z)(!1),s=(0,eo.useRef)();(0,ai.Z)(s,()=>r&&l(!1));let c=e=>{l(!1),a&&a(e)};return(0,ec.BX)("div",{className:"text-black relative",ref:s,children:[(0,ec.tZ)(ej,{className:"btn-173",text:t,onClick:()=>l(!r)}),r&&(0,ec.tZ)("ul",{className:"text-black absolute w-full bg-white mt-3 border-1 border-gray-300 top-10 left-0 p-2 text-sm",children:n&&n.length>0&&n.map((e,t)=>(0,ec.BX)("li",{onClick:()=>c(e.value),className:"h-10 cursor-pointer leading-10 hover:bg-zinc-200 px-2 flex items-center",children:[e.icon&&(0,ec.tZ)(t_,{icon:e.icon,className:"text-sm mr-3"}),e.text]},"dropdown".concat(t)))})]})}),al=eo.memo(function(e){let{text:t,status:n,className:a}=e;return(0,ec.BX)("div",{className:ew()("flex items-center text-sm text-black border-1 h-14 w-full px-5","success"===n?"border-[#32CB9D] bg-green-50":"border-[#EF4C56] bg-rose-50"),children:[(0,ec.tZ)(t_,{icon:"success"===n?t1.mny:t1.LHV,className:ew()("text-xl mr-3","success"===n?"text-[#32CB9D]":"text-[#EF4C56]")}),(0,ec.tZ)("span",{children:t})]})});function as(){let{store:{currentGateway:e},oUpdate:t}=ex(),n=(0,eo.useMemo)(()=>e||function(){let e=localStorage.getItem("last_gateway"),t=eY.gi.find(t=>t.value===e);return(console.info("last-:",t),t)?t:eY.gi[0]}(),[e]),a=ep(e=>{t({currentGateway:e}),localStorage.setItem("last_gateway",e.value)});return{list:eY.gi,setCurrent:a,current:n}}function ac(e){let{total:t,pgSize:n,pgNum:a,onChange:i,className:r}=e,l=Math.ceil(t/n),s=(0,eo.useMemo)(()=>l<=1?[]:l<=6?eF().range(l).map(e=>({name:"".concat(e+1)})):a<=3?eF().range(a+1).map(e=>({name:"".concat(e+1)})).concat([{name:"..."},{name:""+l}]):a>=l-2?[{name:"1"},{name:"..."}].concat(eF().range(a-2,l).map(e=>({name:"".concat(e+1)}))):(console.log([{name:"1"},{name:"..."},{name:a-1+""},{name:a+""},{name:a+1+""},{name:"..."},{name:l+""}]),[{name:"1"},{name:"..."},{name:a-1+""},{name:a+""},{name:a+1+""},{name:"..."},{name:l+""}]),[l,a]),c=()=>{i&&a{i&&a>1&&i(eF().toNumber(a-1))};return(0,ec.tZ)("div",{className:ew()("flex justify-center text-gray-400 text-sm mt-5",r),children:(0,ec.BX)("div",{className:"flex",children:[l>1&&(0,ec.tZ)("span",{onClick:o,className:"mr-8 cursor-pointer",children:"<"}),s.map((e,t)=>(0,ec.tZ)("div",{className:ew()({"text-black":e.name===""+a,omit:"..."===e.name},"mr-8 cursor-pointer"),onClick(){i&&"..."!==e.name&&i(eF().toNumber(e.name))},children:e.name},"key_page_".concat(t))),l>1&&(0,ec.tZ)("span",{onClick:c,className:"cursor-pointer",children:">"})]})})}var ao=n(40344),ad=n(24762),au=n(20640),am=n.n(au);function ap(e){let t="https://api.crustcloud.io";return eQ.TQ&&(t="https://beta-api.crustcloud.io"),eQ.Cg&&(t="https://test-api.crustcloud.io"),"".concat(t).concat(e)}function ay(e){let t="https://pin.crustcloud.io";return eQ.TQ&&(t="https://beta-pin.crustcloud.io"),eQ.Cg&&(t="https://test-pin.crustcloud.io"),"".concat(t).concat(e)}function ah(e){if(200===e.data.code)return e.data.data;throw{_type:"ResError",...e.data}}var af=n(81338),ag=new af.default.Algodv2(eY.GG,eY.EH);let ab=()=>{let{bucketId:e}=(0,eC.UO)(),t=(0,eC.s0)(),n="\n**Upload**\xa0file with the standard\xa0[IPFS API](https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-add)\xa0and get the CID:\n\n~~~bash\ncurl -X POST 'https:///api/v0/add?pin=true' --header 'Authorization: Bearer ' --form 'path=@\"\"'\n~~~\n\n**Pin**\xa0the CID with the standard\xa0[IPFS Pinning Service API](https://ipfs.github.io/pinning-services-api-spec/#operation/addPin):\n\n~~~bash\ncurl -X POST '".concat(ay("/psa/pins"),'\' --header \'Authorization: Bearer \' --data-raw \'{\n "cid": "",\n "name": ""\n}\'\n~~~\n');return(0,ec.BX)(ec.HY,{children:[(0,ec.BX)("div",{className:"sticky top-0 bg-white px-8 pt-16 flex items-center pb-5 mb-2 min-w-[62rem]",children:[(0,ec.tZ)(t_,{icon:n0.QdO,className:"text-xl mr-2"}),(0,ec.tZ)("span",{className:"mr-2 cursor-pointer",onClick(){t("/buckets")},children:"W3Buckets"}),(0,ec.tZ)(t_,{icon:n1.Tfp,className:"mr-2"}),(0,ec.tZ)("span",{children:"W3BUCKET(".concat(e,")")})]}),(0,ec.tZ)("div",{className:"px-8 pb-8 text-lg border-b-8 border-solid border-[#eeeeee] min-w-[62rem]",children:(0,ec.BX)("div",{className:" border border-black-1 border-solid px-8 pt-6 pb-5",children:[(0,ec.tZ)("div",{className:" text-xl font-medium",children:"Guidance on Storage"}),(0,ec.tZ)("div",{className:" my-4",children:"Files can be uploaded and decentralized pinned to IPFS by using this web interface, or by CLI as shown in the curl sample below."}),(0,ec.tZ)(nz,{code:n}),(0,ec.tZ)("div",{className:" mt-8 text-xl font-medium",children:"Get more references"}),(0,ec.BX)("div",{className:" mt-4 flex flex-wrap",children:[(0,ec.tZ)("a",{className:" underline text-black-1 mr-5",target:"_blank",href:"https://docs.crustcloud.io/w3bucket/aboutnft",children:"General Guidance on W3Bucket"}),(0,ec.tZ)("a",{className:" underline text-black-1 mr-5",target:"_blank",href:"https://docs.crustcloud.io/w3bucket/uploadfile",children:"Using APIs and W3Auth"})]})]})})]})},av=e=>new Promise((t,n)=>{let a=localStorage.getItem(e+"_files");a?t(JSON.parse(a)):n()}),ax=(e,t)=>new Promise(n=>{t&&localStorage.setItem(e+"_files",JSON.stringify(t)),n(!0)}),aA=eo.memo(()=>{let{bucketId:e,ipnsId:t}=(0,eC.UO)(),[,n]=(0,eo.useMemo)(()=>e1(e),[e]),a=(0,eo.useRef)(null),i=(0,eo.useRef)(null),[r,l]=(0,eo.useState)({progress:0,status:"stop",errorMsg:""}),[s,c]=(0,eo.useState)(1),[o,d]=(0,eo.useState)(""),[u,m]=(0,eo.useState)(""),[p,y]=(0,eo.useState)([]),h=ta(),[f,g]=(0,eo.useState)(null),[b]=nq("for_upload",!1,1),[v]=n$(),x=(0,eC.s0)(),{address:A}=(0,nJ.mA)(),w=nV.isConnected();(0,eo.useMemo)(()=>{x("/buckets")},[A]),(0,tk.tf)(()=>{av(e).then(e=>{y(e)}).catch(()=>{y([])})}),(0,ao.Z)(async()=>{if(w)try{let e=await ag.accountAssetInformation(nV.account,parseInt(n)).do();e&&e["asset-holding"]&&0!==e["asset-holding"].amount||x("/buckets")}catch(t){console.error(t)}},[n,w]);let{current:Z}=as(),{value:k}=(0,ao.Z)(async()=>{let e=await e9.Z.request({method:"POST",params:{arg:t},url:"".concat(Z.value,"/api/v0/name/resolve")}),n=await e9.Z.request({url:"".concat(Z.value).concat(e.data.Path)});return n.data},[t]),{value:N}=(0,ao.Z)(async()=>{let e=await v(),n=await e9.Z.request({headers:{Authorization:"Bearer ".concat(e)},method:"GET",url:ap("/auth/bucket/".concat(t))});return n.data.data},[t]),{fFiles:T,total:I}=(0,eo.useMemo)(()=>{let e=[];p&&(e=p);let t=eF().filter(e,e=>e.name.indexOf(u.trim())>-1);t=t.sort(function(e,t){return t.createTime-e.createTime});let n=eF().chunk(t,10),a=t.length;return{fFiles:n,total:a}},[u,p]);(0,eo.useEffect)(()=>{ad.Z.rebuild()},[p,T]),(0,eo.useMemo)(()=>{p&&p.length>0&&ax(e,p)},[p]),(0,eo.useMemo)(()=>{if(k&&k.length){if(p){p.map(e=>{for(let t=0;t!t.has(e.cid)&&t.set(e.cid,1)))}else y(k)}},[k]);let C=()=>{a.current.value="",i.current.value=""},B=e=>{let t=e.target.files,a=0;if(!t.length)return!1;let i=!0;for(let r=0;r64){h.error("The file name cannot exceed 64 characters."),C(),i=!1;break}if(N){let{maxStorageSize:s,usedStorageSize:c}=N;if(a>s-c)return h.error("No enough space for this file/folder!"),C(),!1}if(!i)return!1;b(n).then(async e=>{try{let n=0,i=e9.Z.CancelToken.source();g(i),l({progress:0,status:"upload",errorMsg:""});let r=new FormData;if(1===t.length)r.append("file",t[0],t[0].name);else if(t.length>1){for(let s of t)r.append("file",s,s._webkitRelativePath||s.webkitRelativePath);n=1}C();let c=await tt({cancelToken:i.token,data:r,endpoint:Z.value,authBasic:"Bearer ".concat(e),onProgress(e){l({progress:Math.round(99*e),status:"upload",errorMsg:""})}});g(null);let o="",d="";if("string"==typeof c){let u=c.replaceAll("}\n{","},{"),m=JSON.parse("[".concat(u,"]")),h=m.length-1;o=m[h].Hash,d=m[h].Name}else o=c.Hash,d=c.Name;if(!o||!d)return l({progress:0,status:"fail",errorMsg:""}),!1;let f=await e9.Z.request({data:{cid:o,name:d,meta:{gatewayId:1}},cancelToken:i.token,headers:{Authorization:"Bearer ".concat(e)},method:"POST",url:ay("/psa/pins")}),{error:b}=f.data;if(b)return l({progress:0,status:"fail",errorMsg:b.details?b.details:""}),!1;l({progress:100,status:"success",errorMsg:""}),y(p.concat([{name:d,cid:o,fileSize:a,fileType:n,createTime:eJ()().format("X").valueOf(),isNew:!0}]))}catch(v){throw console.error(v),v}}).catch(e=>{console.log(e.toString()),C()})},M=e=>{"file"===e?a.current.click():"folder"===e&&i.current.click()},S=()=>{m(o)},E=e=>{let t=window.event||e;13==t.keyCode&&S()},X=()=>{"upload"===r.status&&f&&(f.cancel("stop"),g(null)),l({progress:0,status:"stop",errorMsg:""})};return(0,ec.BX)(an,{menuId:1,children:[(0,ec.tZ)("div",{className:"flex-1 h-full overflow-y-auto",children:(0,ec.BX)("div",{className:"relative",children:[(0,ec.tZ)(ab,{}),(0,ec.BX)("div",{className:"p-8 flex-1 text-lg v-full flex flex-col min-w-[62rem]",children:[(0,ec.BX)("div",{className:"sticky top-[6.5rem] bg-white w-full flex items-center z-10",children:[(0,ec.tZ)(ar,{dropData:[{text:"File",icon:n1.tHe,value:"file"},{text:"Folder",icon:n1.QoU,value:"folder"}],text:"Upload",onChange:M}),(0,ec.tZ)("input",{ref:a,type:"file",hidden:!0,onChange:B}),(0,ec.tZ)("input",{ref:i,type:"file",hidden:!0,webkitdirectory:"",directory:!0,onChange:B}),(0,ec.tZ)("span",{className:"ml-5",children:"Thunder Gateway Seattle, US"}),(0,ec.tZ)("div",{className:"flex-1"}),(0,ec.BX)("div",{className:"relative w-1/2 h-12 max-w-sm border-solid border-black-1 border rounded overflow-hidden",children:[(0,ec.tZ)("input",{className:"w-full h-full pl-5 pr-10 active:border-0",onKeyDown:E,onChange:e=>d(e.target.value)}),(0,ec.tZ)(t_,{icon:n1.jRj,className:"text-2xl absolute top-[0.7rem] right-2 cursor-pointer",onClick:S})]})]}),(0,ec.BX)("div",{className:"sticky top-36 bg-white py-4 flex items-center font-medium border-b-1 border-solid border-b-black-1 pt-5",children:[(0,ec.tZ)("div",{className:"flex-initial w-[25%] md:w-[20%] pl-3",children:"File Name"}),(0,ec.tZ)("div",{className:"flex-initial w-[20%] md:w-[25%]",children:"CID"}),(0,ec.tZ)("div",{className:"flex-initial w-[30%]",children:"Link"}),(0,ec.tZ)("div",{className:"flex-initial w-[10%]",children:"File Size"}),(0,ec.tZ)("div",{className:"flex-initial w-[15%]",children:"TimeStamp"})]}),(0,ec.tZ)("div",{className:" text-sm text-gray-6",children:T&&T[s-1]&&T[s-1].map((e,t)=>(0,ec.BX)("div",{className:ew()("flex items-center pt-4 pb-8",e.isNew?"text-gray-300":""),children:[(0,ec.tZ)("div",{className:"flex-initial w-[25%] md:w-[20%] pl-3",children:(0,ec.BX)("div",{className:"flex items-center pr-8",children:[(0,ec.tZ)("span",{className:"truncate","data-tip":e.name.length>20?e.name:"",children:e.name}),1===e.fileType&&(0,ec.tZ)(t_,{className:"ml-2 min-w-[14px]",icon:n1.QoU})]})}),(0,ec.tZ)("div",{className:"flex-initial w-[20%] md:w-[25%]",children:(0,ec.tZ)("span",{"data-tip":e.cid,"data-for":"cidColumn",children:eq(e.cid,10,10)})}),(0,ec.tZ)("div",{className:"flex-initial w-[30%] truncate pr-8","data-for":"linkColumn","data-tip":"".concat(eY.HE,"/ipfs/").concat(e.cid),children:"".concat(eY.HE,"/ipfs/").concat(e.cid)}),(0,ec.tZ)("div",{className:"flex-initial w-[10%]",children:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(!+e)return"0 B";let n=Math.floor(Math.log(e)/Math.log(1024));return"".concat(parseFloat((e/Math.pow(1024,n)).toFixed(t<0?0:t))," ").concat(["B","KB","MB","GB","TB","PB","EB","ZB","YB"][n])}(e.fileSize)}),(0,ec.tZ)("div",{className:"flex-initial w-[15%] text-gray-6",children:e.isNew?(0,ec.tZ)("span",{"data-tip":"The ".concat(0===e.fileType?"file":"folder"," has been successfully uploaded to your bucket. It takes several minutes to finalize the decentralized storage and IPNS update processes."),children:(0,ec.tZ)(t_,{icon:n0.kjE})}):eJ()(1e3*e.createTime).format("YYYY-MM-DD HH:mm:ss")})]},"files_".concat(t)))}),(0,ec.tZ)(ac,{total:I,pgSize:10,pgNum:s,onChange(e){c(e)}})]})]})}),"stop"!==r.status&&(0,ec.BX)(t0,{children:[(0,ec.tZ)(t$,{title:"Upload File",onClose:X}),(0,ec.BX)("div",{className:"bg-white mt-5 flex py-3 cursor-pointer justify-between items-center h-20",children:["upload"===r.status&&(0,ec.tZ)(eR,{value:r.progress}),"success"===r.status&&(0,ec.tZ)(al,{text:"Upload successful",status:r.status}),"fail"===r.status&&(0,ec.tZ)(al,{text:r.errorMsg?r.errorMsg:"Upload fail",status:r.status}),"cancel"===r.status&&(0,ec.tZ)(al,{text:"Upload cancel",status:"fail"})]})]}),(0,ec.tZ)(ad.Z,{id:"cidColumn",effect:"solid",isCapture:!0,delayHide:250,clickable:!0,getContent:e=>(0,ec.tZ)("div",{className:"flex items-center",children:(0,ec.BX)("div",{className:"inline-block w-[13rem] break-words",children:[e,(0,ec.tZ)(t_,{className:"ml-2 cursor-pointer inline-block",onClick(){am()(e),h.success("copy success")},icon:n1.C3L})]})})}),(0,ec.tZ)(ad.Z,{id:"linkColumn",effect:"solid",isCapture:!0,delayHide:250,clickable:!0,getContent:e=>(0,ec.tZ)("div",{className:"flex items-center",children:(0,ec.BX)("div",{className:"inline-block w-[15rem] break-words",children:[e,(0,ec.tZ)(t_,{className:"ml-2 cursor-pointer inline-block",onClick(){am()(e),h.success("copy success")},icon:n1.C3L})]})})})]})}),aw=eo.memo(e=>{let{text:t="Empty",empty_attr:n={},text_attr:a={},...i}=e;return(0,ec.BX)("div",{...i,className:ew()(i.className,"text-gray-7 flex flex-col items-center"),children:[(0,ec.tZ)(tE,{...n,className:ew()(" text-8xl",null==n?void 0:n.className)}),!!t&&(0,ec.tZ)("div",{...a,className:ew()(" text-2xl",a.className),children:t})]})}),aZ=eo.memo(e=>{var t,n,a,i;let{data:r,className:l}=e,{chain:s}=(0,nJ.LN)(),c=(0,eC.s0)(),o=nV.isConnected(),d=(0,eo.useMemo)(()=>r.maxStorageSize/1024/1024/1024,[r]),u=(0,eo.useMemo)(()=>e4(d),[d]),m=(0,eo.useMemo)(()=>e4(r.usedStorageSize/1024/1024/1024,2),[r]),p=(0,eo.useMemo)(()=>e2(d,r.tokenId),[r,d]),y=()=>{c("/bucket/".concat(p,"/").concat(r.ipnsId))};return(0,ec.BX)("div",{className:ew()("h-min p-5 md:p-2 border border-solid border-black-1",l),children:[(0,ec.tZ)("img",{className:"w-full aspect-[360/531] object-contain",src:e6(r.metadata.image.replace("ipfs://",""))}),(0,ec.tZ)("div",{className:" text-lg font-semibold mt-[0.625rem] truncate",children:"W3BUCKET(".concat(p,")")}),(0,ec.BX)("div",{className:"flex text-sm my-[2px] justify-between",children:[(0,ec.tZ)("div",{children:"Current Usage"}),(0,ec.BX)("div",{children:[(0,ec.tZ)("span",{className:"text-orange-15",children:m}),"/",u]})]}),(0,ec.BX)("div",{className:"flex text-sm my-[2px] justify-between",children:[(0,ec.tZ)("div",{children:"Files"}),(0,ec.tZ)("div",{children:"".concat(r.fileCount," Files")})]}),(0,ec.BX)("div",{className:"flex text-sm my-[2px] justify-between",children:[(0,ec.tZ)("div",{children:"Created"}),(0,ec.tZ)("div",{children:eJ()(1e3*r.mintTimestamp).format("YYYY-MM-DD")})]}),(0,ec.BX)("div",{className:"flex text-xs my-2 justify-between",children:[(0,ec.tZ)("a",{className:" text-blue-3",target:"_blank",href:(t=r.ipnsId,"".concat(eY.gi[0].value,"/ipns/").concat(t)),children:"IPNS Link"}),(0,ec.tZ)("a",{className:" text-blue-3",target:"_blank",href:o?(n=eY.fL,"".concat(eY.sr,"/address/").concat(n)):(a=s.id,i=eY.Jh,"".concat(e3(a),"/address/").concat(i)),children:"View NFT Contract"}),(0,ec.tZ)("a",{className:" text-blue-3",target:"_blank",href:e6(r.metadataCid),children:"View Metadata"})]}),(0,ec.tZ)(ej,{onClick:y,className:"!w-full mt-[2px] text-lg !py-1",text:"Enter W3Bucket"})]})}),ak=eo.memo(()=>{let e=n7(),t=nV.isConnected(),{address:n}=(0,nJ.mA)(),[a]=n$(),{value:i,loading:r}=(0,ao.Z)(async()=>{if((!e||!n)&&!t)return[];let i=await a(),r=await e9.Z.get(ap("/auth/bucket/list"),{headers:{Authorization:"Bearer ".concat(i)}});return ah(r).sort(function(e,t){return t.mintTimestamp-e.mintTimestamp})},[e,t,n]),l=(0,eC.s0)(),s=(0,eo.useCallback)(()=>l("/mint"),[l]);return(0,ec.tZ)(an,{menuId:1,children:(0,ec.BX)("div",{className:"flex-1 h-full overflow-y-auto",children:[(0,ec.BX)("div",{className:"px-8 relative pb-8",children:[(0,ec.BX)("div",{className:"sticky top-0 pt-10 bg-white ",children:[(0,ec.BX)("div",{className:" w-full flex justify-between pb-5 whitespace-nowrap ",children:[(0,ec.BX)("div",{className:" inline-block text-2xl self-center font-medium h-min",children:["Your W3Buckets(",(null==i?void 0:i.length)||0,")"]}),(0,ec.tZ)(ej,{className:"whitespace-nowrap w-max",text:"Mint a New W3Bucket",onClick:s})]}),(0,ec.tZ)("div",{className:"h-5 border-t-1 border-solid border-black-1"})]}),i&&!r&&(0,ec.tZ)("div",{className:ew()("w-full overflow-y-auto gap-5 grid grid-cols-[repeat(auto-fill,_minmax(305px,_1fr))]",i.length<3?"grid-cols-[repeat(auto-fill,_minmax(310px,310px))]":""),children:i.map((e,t)=>(0,ec.tZ)(aZ,{data:e},"bucket_".concat(t)))})]}),!r&&1>(0,eH.size)(i)&&(0,ec.tZ)(aw,{text:"No Buckets",className:" h-[calc(100%_-_11rem)] justify-center"}),r&&(0,ec.tZ)(eN,{className:" h-[calc(100%_-_11rem)] justify-center"})]})})});function aN(e){return(0,ec.tZ)("svg",{width:"1em",height:"1em",viewBox:"0 0 11 9",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,ec.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.4496 2.29301C10.8401 1.90248 10.8401 1.26932 10.4496 0.878796C10.0591 0.488271 9.42591 0.488271 9.03538 0.878796L4.08564 5.82854L1.96432 3.70722C1.57379 3.3167 0.940626 3.3167 0.550102 3.70722C0.159577 4.09775 0.159577 4.73091 0.550102 5.12144L3.37853 7.94986C3.76905 8.34039 4.40222 8.34039 4.79274 7.94986L10.4496 2.29301Z"})})}let aT=eo.memo(e=>{let{finish:t,active:n,text:a,type:i}=e;return(0,ec.BX)("div",{className:" flex-1",children:[(0,ec.BX)("div",{className:"flex items-center",children:[(0,ec.tZ)("div",{className:ew()(" flex-1 h-[2px] ",{"bg-orange-15":(n||t)&&"left"!==i,"bg-gray-16":!(n||t)&&"left"!==i})}),(0,ec.tZ)("div",{className:ew()(" w-4 h-4 rounded-lg bg-white flex items-center justify-center",{" !bg-orange-15":n||t}),children:t?(0,ec.tZ)(aN,{className:"text-xs relative text-white"}):(0,ec.tZ)("div",{className:ew()(" w-2 h-2 rounded bg-gray-16",{" !bg-white":n})})}),(0,ec.tZ)("div",{className:ew()(" flex-1 h-[2px] ",{"bg-orange-15":t&&"right"!==i,"bg-gray-16":!t&&"right"!==i})})]}),(0,ec.tZ)("div",{className:ew()("text-center text-gray-8 mt-2",{" !text-orange-15":n}),children:a})]})}),aI=eo.memo(e=>{let{data:t,current:n}=e;return(0,ec.tZ)("div",{className:" flex",children:t.map((e,a)=>(0,ec.tZ)(aT,{text:e,type:0===a?"left":a===t.length-1?"right":"mid",finish:a{n?t({mintData:aC}):t(t=>{let{mintData:n}=t;return{mintData:{...n||aC,..."function"==typeof e?e(n):e}}})},[t]);return(0,eo.useMemo)(()=>[e,n],[e,n])}function aM(e){return e.map(e=>e.fmtPrice+" "+e.symbol).join(" or ")}let aS=eo.memo(e=>{let{editions:t,onNext:n}=e,{chain:a}=(0,nJ.LN)(),i=a&&a.id;nV.isConnected()&&(i=eY.pg);let[r,l]=aB();(0,eo.useEffect)(()=>{void 0===r.editionId&&t.length&&l({chainId:i,editionId:t[0].id,price:t[0].prices[0]})},[r,l,t]);let s=r.editionId,c=(0,eo.useMemo)(()=>t.find(e=>e.id===s),[t,s]);return(0,ec.BX)("div",{className:" px-10 pt-9",children:[(0,ec.BX)("div",{className:" text-2xl",children:["Now you are starting to mint a new W3Bucket!",(0,ec.tZ)("br",{}),"First, choose your preferred bucket type:"]}),(0,ec.tZ)(ej,{text:"W3Bucket",disHover:!0,className:" !border-2 !border-orange-15 !text-orange-15 text-2xl py-[9px] !w-[11.25rem] mt-5"}),(0,ec.tZ)("div",{className:" text-2xl mt-12",children:"Select your preferred bucket size:"}),(0,ec.tZ)("div",{className:"flex items-center mt-5",children:t.map((e,t)=>(0,ec.BX)("div",{className:ew()("mr-4 text-center"),children:[(0,ec.tZ)(ej,{text:e4(e.capacityInGb),disHover:e.id===s,className:ew()(" font-medium !border-2 text-2xl mt-5 !w-[11.25rem] py-[9px] cursor-pointer",{"!border-orange-15 !text-orange-15":e.id===s}),onClick(){l({chainId:i,editionId:e.id,price:e.prices[0]})}}),(0,ec.tZ)("span",{className:" whitespace-nowrap text-sm mt-2 font-light",children:"".concat(aM(e.prices))})]},"editions_".concat(t)))}),c&&(0,ec.BX)("div",{className:" text-2xl mt-12",children:["Your W3Bucket NFT to be minted:"," ",(0,ec.tZ)("span",{className:" text-orange-15",children:"W3Bucket"}),","," ",(0,ec.tZ)("span",{className:" text-orange-15",children:e4(c.capacityInGb)}),(0,ec.tZ)("br",{}),"Payable: ",aM(c.prices)]}),(0,ec.tZ)(ej,{text:"Next Step",className:"mt-12 text-lg !w-[11.25rem] !h-[3.375rem]",onClick(){console.info("click:"),n()},disabled:!c})]})});var aE=n(61501);let aX=["A-b1","A1","A2"],aO=eo.memo(e=>{let{type:t,value:n,...a}=e;return n?(0,ec.BX)("div",{...a,children:["A1"===t&&(0,ec.tZ)(aE.QRNormal,{value:n}),"A2"===t&&(0,ec.tZ)(aE.QRNormal,{value:n,type:"round",posType:"round"}),"A3"===t&&(0,ec.tZ)(aE.QRNormal,{value:n,type:"rand",posType:"planet"}),"A-a1"===t&&(0,ec.tZ)(aE.QRLine,{value:n,direction:"h-v",posType:"roundRect"}),"A-a2"===t&&(0,ec.tZ)(aE.QRLine,{value:n,direction:"cross",posType:"rect"}),"A-b1"===t&&(0,ec.tZ)(aE.QRFunc,{value:n,type:"round",posType:"round"}),"A-b2"===t&&(0,ec.tZ)(aE.QRFunc,{value:n,type:"round",posType:"round",funcType:"B"}),"C1"===t&&(0,ec.tZ)(aE.QRImage,{value:n,size:150}),"C2"===t&&(0,ec.tZ)(aE.QRResImage,{value:n,alignType:"bw",timingType:"bw"}),"SP-1"===t&&(0,ec.tZ)(aE.QRDsj,{value:n}),"SP-2"===t&&(0,ec.tZ)(aE.QRRandRect,{value:n}),"SP-3"===t&&(0,ec.tZ)(aE.QRBubble,{value:n})]}):null}),aj={gray:["#EEEEEE","#FFFFFF","#131521"],yellow:["#FFDC5E","#E9C132","#131521"],red:["#FF6B81","#F4526A","#131521"],purple:["#B073EF","#925DC8","#FFFFFF"],green:["#27C282","#1EA966","#FFFFFF"],blue:["#58AEFF","#3895EB","#FFFFFF"]},aP=eo.memo(eo.forwardRef((e,t)=>{let{size:n}=e,[{color:a,qrcode:i,ipns:r}]=aB(),[l,s,c]=aj[a];return(0,ec.BX)("div",{ref:t,id:"generate_bucket_image",className:" w-[22.5rem] h-[33.1875rem] relative p-6 flex flex-col justify-between",style:{backgroundColor:l},children:[(0,ec.BX)("div",{className:"flex items-center",style:{color:c},children:[(0,ec.tZ)("div",{className:"p-[3px] overflow-hidden rounded-xl",style:{backgroundColor:s},children:(0,ec.tZ)(tE,{style:{fontSize:"2.1875rem"}})}),(0,ec.tZ)("span",{className:" font-Roboto text-3xl font-medium ml-[0.625rem]",children:"W3BUCKET"})]}),r?(0,ec.tZ)(n0.gHS,{className:" text-[18.75rem]",style:{color:s}}):(0,ec.tZ)(n0.QdO,{className:" text-[18.75rem]",style:{color:s}}),(0,ec.tZ)("div",{className:" font-bold text-end",style:{color:c},children:e4(n)}),(0,ec.tZ)(aO,{value:r,type:i,className:" w-[11.5rem] h-[11.5rem] absolute left-[5rem] bottom-[7.4rem]"})]})}));var aW=n(46293),aL=n(48764).Buffer;function aR(e){let{ipns:t,onContinue:n}=e,[a,i]=(0,eo.useState)(!1);return(0,ec.BX)("div",{className:"pl-12 flex-1 break-words",children:[(0,ec.BX)("div",{className:"p-8 border-solid border-black-1 border flex flex-col",children:[(0,ec.tZ)("div",{className:" font-medium text-xl mb-4",children:"Tip:"}),(0,ec.BX)("div",{className:"text-lg",children:["This is the QR Code of the"," ",(0,ec.tZ)("span",{className:"font-semibold",children:"IPNS name"})," for this W3Bucket. This IPNS name is a ",(0,ec.tZ)("span",{className:"font-semibold",children:"unique"})," and"," ",(0,ec.tZ)("span",{className:"font-semibold",children:"immutable"})," identifier on IPFS that ",(0,ec.tZ)("span",{className:"font-semibold",children:"permanently"})," points to the storage history (a .json file, also acts as the list of the bucket storage) of this W3Bucket."]}),(0,ec.tZ)("div",{className:"text-lg mt-7",children:"You can always fetch the storage history via any IPFS gateway or IPFS node."}),(0,ec.tZ)(ej,{text:"Got it",className:" mt-8 !w-[8.25rem] h-11 self-center",onClick:()=>i(!0)})]}),a&&(0,ec.BX)("div",{className:" mt-10 text-lg flex flex-col",children:[(0,ec.tZ)("div",{className:" break-all text-center",children:t}),(0,ec.tZ)("div",{className:" font-medium text-center",children:"The IPNS name for this W3Bucket has successfully generated and published to IPFS."}),(0,ec.tZ)(ej,{text:"Continue",className:" mt-6 !w-[8.25rem] h-11 self-center",onClick:n})]})]})}function aY(e){let t=eF().keys(aj),{onContinue:n}=e,[a,i]=aB();return(0,ec.BX)("div",{className:"px-20 flex-1 flex flex-col justify-center",children:[(0,ec.BX)("div",{className:"flex",children:[(0,ec.tZ)("div",{className:" whitespace-nowrap mr-10 mt-3",children:"Background Color"}),(0,ec.tZ)("div",{className:" flex flex-wrap items-center",children:t.map(e=>(0,ec.tZ)("div",{style:{backgroundColor:aj[e][0]},onClick:()=>i({color:e}),className:ew()("rounded-xl w-5 h-5 overflow-hidden cursor-pointer mr-[1.875rem] my-4",{"border-solid border-orange-15 border":a.color===e})},"mint_colors_".concat(e)))})]}),(0,ec.BX)("div",{className:"flex mt-8",children:[(0,ec.tZ)("div",{className:" mr-16 whitespace-nowrap",children:"QR Code Style"}),(0,ec.tZ)("div",{className:"flex items-center flex-wrap",children:aX.map(e=>(0,ec.tZ)("span",{onClick:()=>i({qrcode:e}),className:ew()(" whitespace-nowrap rounded-md px-2 py-1 overflow-hidden cursor-pointer mr-[1rem] bg-slate-50",{"border-solid border-orange-15 border":a.qrcode===e}),children:e},"mint_colors_".concat(e)))})]}),(0,ec.tZ)(ej,{text:"Continue",className:" mt-16 !w-[11.25rem] !py-3 self-center",onClick:n})]})}function aD(e){let{data:[t,n]}=e;return(0,ec.BX)(ec.HY,{children:[(0,ec.BX)("div",{className:" text-sm mt-4",children:[t,":"]}),(0,ec.tZ)("div",{className:" text-sm text-gray-7",children:n})]})}function az(e){let{onContinue:t}=e,[n,a]=aB(),[i,r]=em(!1),[l]=n_(),[,s]=ey(),c=ed(),o=ep(async()=>{i||s(async()=>{try{r(!0),await e5(100);let e=document.getElementById("generate_bucket_image");if(!e)return r(!1);let t=await l(),i=await (0,aW.SE)(e),s=new FormData;s.append("file",i,"bucket_image.png");let o=await tt({data:s}),d=await i.arrayBuffer(),u=aL.from(d),m=e7(u);await tn(o.Hash,"bucket_image.png");let p=await e9.Z.post(ap("/auth/bucket/metadata/generate"),{uuid:n.uuid,cid:o.Hash,imageIntegrity:m},{headers:{Authorization:"Bearer ".concat(t)}}),y="success"===p.data.message;if(!y)throw p.data.message;let h=null;for(;c.safe&&(await e5(1e4),!(h=await e9.Z.get(ap("/auth/bucket/uuid/".concat(n.uuid)),{headers:{Authorization:"Bearer ".concat(t)}}).then(ah).catch(()=>null))||!h.metadataTxHash););if(!c.safe)return;a({metadata:h.metadata,metadataCID:h.metadataCid,metadataTX:h.metadataTxHash})}catch(f){console.error(f)}r(!1)})}),[d,u]=em(!1);return(0,ec.BX)(ec.HY,{children:[!n.metadata&&!i&&(0,ec.BX)("div",{className:"px-12 flex-1 flex flex-col items-center justify-center",children:[(0,ec.tZ)("div",{className:" text-2xl text-center",children:"The metadata file (including this profile image) for your W3Bucket NFT has been fully generated. Click the Continue button to process decentralized storage for the metadata."}),(0,ec.tZ)(ej,{text:"Continue",className:" mt-8 !w-[11.25rem] !py-3 self-center",onClick:o})]}),i&&(0,ec.tZ)(eN,{className:"px-12 flex-1 justify-center",text:"The NFT metadata is being decentralized stored and it will be the very first file stored in this W3Bucket! Please wait..."}),n.metadata&&!i&&(0,ec.BX)("div",{className:"px-12 flex-1 flex flex-col items-center",children:[(0,ec.BX)("div",{className:"p-8 w-full border-solid border-black-1 border flex flex-col",children:[(0,ec.tZ)("div",{className:" font-medium text-xl mb-4",children:"Tip:"}),(0,ec.BX)("div",{className:"flex",children:[(0,ec.BX)("div",{className:"flex-1 mr-8",children:[(0,ec.tZ)("div",{className:"font-semibold text-lg",children:"NFT Metadata.json file"}),(0,ec.tZ)(aD,{data:["IPFS CID",eq(n.metadataCID,10,10)]}),(0,ec.tZ)(aD,{data:["Crust Network Storage Order TXID",eq(n.metadataTX,10,10)]}),(0,ec.tZ)(aD,{data:["IPNS",eq(n.ipns,10,10)]}),(0,ec.tZ)(aD,{data:["Storage Protocol","Crust"]})]}),(0,ec.BX)("div",{className:"flex-1",children:[(0,ec.tZ)("div",{className:"font-semibold text-lg",children:"NFT profile image"}),(0,ec.tZ)(aD,{data:["IPFS CID",eq(n.metadata.image.replace("ipfs://",""),10,10)]}),(0,ec.tZ)(aD,{data:["Crust Network Storage Order TXID",eq(n.metadata.dStorage.dstorage_note,10,10)]}),(0,ec.tZ)("div",{className:" text-sm font-medium mt-6",children:"You can check them later in the W3Bucket description information."}),(0,ec.tZ)(ej,{text:"Got it",className:" mt-3 !w-[8.25rem] h-11 self-center",onClick:()=>u(!0)})]})]})]}),d&&(0,ec.BX)("div",{className:" mt-10 text-lg flex flex-col",children:[(0,ec.tZ)("div",{className:" font-medium text-center",children:"Congrats! The metadata of this W3Bucket is fully processed. You will soon get this truly Web3 storage bucket NFT! Click the Continue button to the last step."}),(0,ec.tZ)(ej,{text:"Continue",className:" mt-6 !w-[8.25rem] h-11 self-center",onClick:()=>t()})]})]})]})}let aG=eo.memo(e=>{let{editions:t,onNext:n}=e,[a,i]=aB(),r=a.editionId,l=(0,eo.useMemo)(()=>t.find(e=>e.id===r)||t[0],[t,r]),[s,c]=em(0),o=(0,eo.useCallback)(()=>c(e=>e+1),[c]),d=a.ipns,[u]=n_(),[,m]=ey();return(0,eo.useEffect)(()=>{d?a.metadataTX?c(3):d&&c(e=>0===e?1:e):m(()=>u().then(e=>e9.Z.post(ap("/auth/ipns/gen"),{bucketInfo:JSON.stringify({chainId:a.chainId,editionId:a.editionId})},{headers:{Authorization:"Bearer ".concat(e)}}).then(ah)).then(e=>{i({ipns:e.ipnsId,uuid:e.uuid}),c(1)}).catch(e=>{console.info("error:",e),n(-1)}))},[d,a]),(0,ec.BX)("div",{className:" px-10 pt-9 flex",children:[(0,ec.tZ)(aP,{size:l.capacityInGb}),0===s&&(0,ec.tZ)(eN,{className:" self-center text-center p-9",text:"Generating a unique IPNS name for this W3Bucket... Please wait."}),1===s&&(0,ec.tZ)(aR,{ipns:d,onContinue:o}),2===s&&(0,ec.tZ)(aY,{onContinue:o}),3===s&&(0,ec.tZ)(az,{onContinue:n})]})});function aH(){let e=(0,nJ.yL)(),{data:t}=(0,nJ.mx)();return(0,nJ.cq)({address:eY.Jh,abi:n8,signerOrProvider:t||e})}var aF=n(61744),aU=n(2984),aJ=JSON.parse('{"name":"W3Bucket","methods":[{"name":"create","args":[],"returns":{"type":"void"}},{"name":"bootstrap","args":[{"type":"pay","name":"seed"}],"returns":{"type":"void"}},{"name":"set_bucket_edition","args":[{"type":"(uint64,uint64,uint64)","name":"edition"}],"returns":{"type":"void"}},{"name":"get_bucket_edition_ids","args":[],"returns":{"type":"string"}},{"name":"is_active_bucket_edition","args":[{"type":"uint64","name":"edition_id"}],"returns":{"type":"bool"}},{"name":"get_bucket_edition","args":[{"type":"uint64","name":"edition_id"}],"returns":{"type":"(uint64,bool,uint64,uint64,uint64)"}},{"name":"disable_bucket_edition","args":[{"type":"uint64","name":"edition_id"}],"returns":{"type":"void"}},{"name":"enable_bucket_edition","args":[{"type":"uint64","name":"edition_id"}],"returns":{"type":"void"}},{"name":"set_bucket_edition_prices","args":[{"type":"uint64","name":"edition_id"},{"type":"(uint64,uint64)[]","name":"prices"}],"returns":{"type":"void"}},{"name":"get_bucket_edition_prices","args":[{"type":"uint64","name":"edition_id"}],"returns":{"type":"(uint64,uint64)[]"}},{"name":"mint","args":[{"type":"txn","name":"seed"},{"type":"uint64","name":"edition_id"},{"type":"string","name":"metadata_hash"},{"type":"string","name":"uri"}],"returns":{"type":"uint64"}},{"name":"claim","args":[{"type":"asset","name":"token"}],"returns":{"type":"void"}}],"networks":{},"desc":"This is web3 bucket contract used to apply storage"}');function aQ(e){let{data:[t,n,a],target:i="_blank"}=e;return(0,ec.BX)("div",{className:" flex items-center text-2xl",children:[(0,ec.BX)("div",{className:" mr-2",children:[t,":"]}),a?(0,ec.tZ)("a",{className:" underline underline-offset-2 !text-black-1",target:i,href:a,children:n}):(0,ec.tZ)("div",{className:" underline underline-offset-2",children:n})]})}let aV=eo.memo(e=>{var t,n,a,i;let{editions:r,onNext:l}=e,{chain:s}=(0,nJ.LN)(),c=s&&s.id,[o,d]=aB(),u=o.editionId,m=(0,eo.useMemo)(()=>r.find(e=>e.id===u),[r,u]),[p,y]=em(!1),h=aH(),{data:f}=(0,nJ.mx)(),{address:g}=(0,nJ.mA)(),[b]=n_(),v=ed(),x=nV.isConnected(),A=ep(async()=>{if(!p&&x&&o.price&&o.editionId){y(!0);try{var e;let t=new af.default.ABIContract(aJ),n=await ag.getTransactionParams().do();n.flatFee=!0,n.fee=2e3;let a=(e=nV.wallet,async(t,n)=>{let a=eH.map(n,e=>({txn:t[e]})),i=await e.signTransaction([a]);return Promise.resolve(i)}),i=aF.parseUnits(o.price.fmtPrice,o.price.decimals),r="0x0"===o.price.currency?af.default.makePaymentTxnWithSuggestedParamsFromObject({from:nV.account,to:eY.fL,amount:BigInt(i.toString()),suggestedParams:n}):af.default.makeAssetTransferTxnWithSuggestedParamsFromObject({from:nV.account,to:eY.fL,suggestedParams:n,assetIndex:Number(o.price.currency.slice(2)),amount:BigInt(i.toString())}),s=[];s.push({appIndex:eY.PD,name:af.default.encodeUint64(o.editionId)});let c={appID:eY.PD,method:t.getMethodByName("mint"),methodArgs:[{txn:r,signer:a},o.editionId,e7(o.metadata),"ipfs://".concat(o.metadataCID,"#arc3")],sender:nV.account,signer:a,boxes:s,suggestedParams:n};"0x0"!==o.price.currency&&Object.assign(c,{assets:[parseInt(o.price.currency.slice(2))]});let u=new af.default.AtomicTransactionComposer;u.addMethodCall(c);let m=await u.execute(ag,4),A=Number(m.methodResults[0].returnValue);console.log("Minted bucket token_id:".concat(A));let w=af.default.makeAssetTransferTxnWithSuggestedParamsFromObject({from:nV.account,to:nV.account,suggestedParams:n,assetIndex:A,amount:0}),Z=new af.default.AtomicTransactionComposer;Z.addTransaction({txn:w,signer:a}),Z.addMethodCall({appID:eY.PD,method:t.getMethodByName("claim"),methodArgs:[A],sender:nV.account,signer:a,suggestedParams:n}),await Z.execute(ag,4)}catch(k){console.log(k);return}}else{if(p||!h||!g||!o.price||!o.editionId||!f)return;y(!0);let N=aF.parseUnits(o.price.fmtPrice,o.price.decimals);try{let T="0x0000000000000000000000000000000000000000"===o.price.currency,I=null;if(T)I=await h.mint(g,aF.parseUnits(o.editionId+"",0),o.price.currency,"ipfs://".concat(o.metadataCID),{value:N});else{let C=(0,aU.uN)({address:o.price.currency,abi:aU.em,signerOrProvider:f}),B=await h.estimateGas.mint(g,aF.parseUnits(o.editionId+"",0),o.price.currency,"ipfs://".concat(o.metadataCID)).catch(()=>aF.parseUnits("396277",0));await C.approve(eY.Jh,N),I=await h.mint(g,aF.parseUnits(o.editionId+"",0),o.price.currency,"ipfs://".concat(o.metadataCID),{gasLimit:B})}await I.wait(1)}catch(M){console.error(M);return}}try{let S=await b(),E=null;for(;;){if(!v.safe)return;if((E=await e9.Z.get(ap("/auth/bucket/uuid/".concat(o.uuid)),{headers:{Authorization:"Bearer ".concat(S)}}).then(ah).catch(()=>null))&&E.tokenId&&E.mintTxHash)break;await e5(1e4)}d({mintTx:E.mintTxHash,tokenId:E.tokenId}),l()}catch(X){console.error(X)}y(!1)}),w=(0,eC.s0)(),Z=ep(()=>{d({},!0),w("/buckets")}),k=(0,eo.useMemo)(()=>o.mintTx&&m&&o.tokenId?e2(m.capacityInGb,o.tokenId):"",[o,m]);return(0,ec.BX)("div",{className:" px-10 pt-9 flex",children:[(0,ec.tZ)(aP,{size:m.capacityInGb}),!p&&!o.mintTx&&(0,ec.BX)("div",{className:"flex flex-1 px-12 flex-col items-center justify-center",children:[(0,ec.tZ)("div",{className:" text-2xl text-center",children:"Choose your preferred payment method and click the ‘Confirm and Pay’ button to proceed:"}),(0,ec.tZ)("div",{className:" flex ",children:m.prices.map((e,t)=>{var n,a;return(0,ec.BX)("div",{className:ew()("mr-4 text-center"),children:[(0,ec.tZ)(ej,{text:e.symbol,disHover:e.currency===(null===(n=o.price)||void 0===n?void 0:n.currency),className:ew()("font-medium !border-2 text-2xl mt-5 !w-[11.25rem] !py-[9px] cursor-pointer",{"!border-orange-15 !text-orange-15":e.currency===(null===(a=o.price)||void 0===a?void 0:a.currency)}),onClick(){d({price:e})}}),(0,ec.tZ)("span",{className:" text-sm mt-2 font-light whitespace-nowrap",children:"".concat(e.fmtPrice," ").concat(e.symbol," payable in 15 min")})]},"edition_price_".concat(t))})}),(0,ec.tZ)(ej,{text:"Confirm and Pay",className:"mt-12 text-lg w-48 h-[3.375rem]",onClick:A})]}),p&&(0,ec.tZ)(eN,{className:"flex-1 px-12 justify-center",text:"Payment Tx sent, please wait for a while to get on-chain confirmation..."}),!p&&o.mintTx&&(0,ec.BX)("div",{className:"flex flex-1 px-12 flex-col ",children:[(0,ec.BX)("div",{className:" text-2xl font-medium mb-8",children:["Congrats,",(0,ec.tZ)("br",{}),"You have completed all the minting processes for this W3Bucket NFT!"]}),(0,ec.tZ)(aQ,{data:["W3Bucket NFT Token ID",o.tokenId,x?(t=o.tokenId,"".concat(eY.sr,"/asset/").concat(t)):(n=o.tokenId,"".concat(e3(c),"/token/").concat(eY.Jh,"?a=").concat(n))]}),(0,ec.tZ)(aQ,{data:["Mint TX ID",eq(o.mintTx,9,5),x?(a=o.mintTx,"".concat(eY.sr,"/tx/").concat(a)):(i=o.mintTx,"".concat(e3(c),"/tx/").concat(i))]}),(0,ec.tZ)(aQ,{target:"_self",data:["W3Bucket Identifier",k,"/#/bucket/".concat(k,"/").concat(o.ipns)]}),(0,ec.tZ)("div",{className:" text-2xl font-medium mt-8",children:"Return to the W3Bucket Home Page and start your Crust Cloud journey. Bon Voyage!"}),(0,ec.tZ)(ej,{text:"Complete",className:" self-center text-lg !w-[11.25rem] h-[3.375rem] mt-20",onClick:Z})]})]})});var aK=n(48764).Buffer,aq=new class{async getEditionNum(){var e;return null!==(e=this.getApplicationGlobalValue("edition_num","string"))&&void 0!==e?e:0}async getEditionIds(){let e=await this.getApplicationBoxByName("edition_ids","string"),t=af.default.ABIType.from("uint64[30]");return t.decode(e.value).map(e=>Number(e))}async getEditionById(e){let t=af.default.ABIType.from("uint64"),n=t.encode(e),a=await this.client.getApplicationBoxByName(eY.PD,n).do(),i=af.default.ABIType.from("(uint64,uint64,uint64,bool,uint8[".concat(a.value.length-25,"])")),r=i.decode(a.value),l=r[3];if(!l)return null;let s=r[r.length-1],c=s.map(e=>Number(e)),o=af.default.ABIType.from("(uint64,uint64)[]"),d=o.decode(c),u=[];return d.map(e=>{u.push({currency:e[0].toString(),price:e[1].toString()})}),{id:e,maxMintableSupply:r[0],capacityInGigabytes:r[1],currentSupplyMinted:r[2],prices:u}}async getApplicationGlobalValue(e,t){let n=await this.client.getApplicationByID(eY.PD).do(),a=af.default.ABIType.from(t),i=a.encode(e).slice(-e.length),r=aK.from(i).toString("base64");for(let l of n.params["global-state"])if(l.key===r)return l.value.uint;return null}getApplicationBoxByName(e,t){let n=af.default.ABIType.from(t),a=n.encode(e).slice(-e.length);return this.client.getApplicationBoxByName(eY.PD,a).do()}constructor(){this.client=new af.default.Algodv2(eY.GG,eY.EH)}};async function a_(){let e=await aq.getEditionNum(),t=await aq.getEditionIds();console.info("edition num:".concat(e,",edition ids:").concat(t));let n=[];for(let a=0;a=1&&n.push({id:r.id,capacityInGb:Number(r.capacityInGigabytes),totalSupply:Number(r.maxMintableSupply),minted:Number(r.currentSupplyMinted),prices:l})}return console.info("editions:",n),n}let a$=eo.memo(()=>{let{value:e,loading:t}=function(){let e=aH(),{chain:t}=(0,nJ.LN)(),n=t&&t.id,{data:a}=(0,nJ.mx)(),i=nV.isConnected(),r=(0,ao.Z)(async()=>{if(e&&n&&a){let t=await e.getBucketEditions(!0);console.info("data:",t);let r=[];for(let l of t){if(l.maxMintableSupply.lte(l.currentSupplyMinted))continue;let s=await e.getBucketEditionPrices(l.editionId);console.info("prices:",s);let c=[];for(let o of s){let d=18,u="ETH";if("0x0000000000000000000000000000000000000000"!==o.currency){let m=(0,aU.uN)({address:o.currency,abi:aU.em,signerOrProvider:a});d=await m.decimals(),u=await m.symbol()}c.push({currency:o.currency,symbol:u,decimals:d,price:o.price.toString(),fmtPrice:aF.formatUnits(o.price,d)})}c.length>=1&&r.push({id:l.editionId.toNumber(),capacityInGb:l.capacityInGigabytes.toNumber(),totalSupply:l.maxMintableSupply.toNumber(),minted:l.currentSupplyMinted.toNumber(),prices:c})}return console.info("editions:",r),r}return i?a_():null},[e,n,a,i]);return(0,eo.useMemo)(()=>({...r,loading:r.loading}),[r])}(),n=(0,eC.s0)(),a=(0,eo.useMemo)(()=>["1.Select your preferred bucket","2.Process NFT metadata","3.Make payment and mint"],[]),[i,r]=em(-1),[l,s]=aB(),[c]=n_();(0,eo.useEffect)(()=>{let e=async()=>{try{if(console.info("do taks:"),!l.uuid)return r(0);let e=await c(),t=await e9.Z.get(ap("/auth/bucket/uuid/".concat(l.uuid)),{headers:{Authorization:"Bearer ".concat(e)}}).then(ah),n=l.editionId;if(t.metadata){let a=t.metadata.attributes.find(e=>"Edition"===e.trait_type);a&&(n=new Number(a.value).valueOf())}s({metadata:t.metadata,ipns:t.ipnsId,metadataTX:t.metadataTxHash,metadataCID:t.metadataCid,mintTx:t.mintTxHash,tokenId:t.tokenId,editionId:n}),t.mintTxHash?r(2):t.metadataTxHash?r(1):r(0)}catch(i){r(0)}};return e(),()=>{s({},!0)}},[]);let o=(0,eo.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return r(t=>t+e)},[r]),{address:d}=(0,nJ.mA)();return(0,eo.useEffect)(()=>{d&&(s({},!0),r(0))},[d]),(0,ec.tZ)(an,{menuId:1,children:(0,ec.tZ)("div",{className:" flex-1 h-full overflow-y-auto",children:(0,ec.BX)("div",{className:" relative px-8 pb-10",children:[(0,ec.BX)("div",{className:" sticky top-0 z-10 bg-white pt-16 pb-3",children:[(0,ec.tZ)("div",{className:"inline-block",onClick(){s({},!0),n("/buckets")},children:(0,ec.BX)("div",{className:"flex items-center cursor-pointer",children:[(0,ec.tZ)(t_,{icon:"cru-fo-chevron-left",className:" mr-3"}),(0,ec.tZ)("span",{children:"Exit Mint Process"})]})}),(0,ec.tZ)("div",{className:"h-px bg-black-1 my-7"}),(0,ec.tZ)(aI,{data:a,current:i})]}),e&&(0,ec.BX)(ec.HY,{children:[0===i&&!t&&(0,ec.tZ)(aS,{editions:e,onNext:o}),1===i&&(0,ec.tZ)(aG,{editions:e,onNext:o}),i>=2&&(0,ec.tZ)(aV,{editions:e,onNext:o})]}),(t||i<0)&&(0,ec.tZ)(eN,{className:" text-black-1 justify-center h-[calc(100vh_-_17.75rem)]"})]})})})}),a0=eo.memo(e=>{let{options:t,current:n,perfix:a,className:i,onOptionChange:r,...l}=e,s=(0,eo.useMemo)(()=>a?"".concat(a," ").concat(n.text):n.text,[n,a]),c=(0,eo.useRef)(),[o,d]=(0,aa.Z)(!1);return(0,ai.Z)(c,()=>o&&d(!1)),(0,ec.BX)("div",{...l,ref:c,className:ew()(i," relative text-gray-7"),children:[(0,ec.BX)("div",{className:" whitespace-nowrap cursor-pointer flex items-center",onClick:d,children:[s," ",(0,ec.tZ)("span",{className:"cru-fo-chevron-down ml-3"})]}),o&&(0,ec.tZ)("div",{className:" absolute top-full right-0 shadow-md bg-white z-10",children:t.map((e,t)=>(0,ec.tZ)("div",{className:ew()(" py-[8px] px-4 whitespace-nowrap cursor-pointer",{"bg-black-1 text-white":e===n}),onClick(){r&&r(e),d(!1)},children:e.text},"options_".concat(t)))})]})}),a1=eo.memo(()=>{let{list:e,current:t,setCurrent:n}=as(),a=(0,eo.useMemo)(()=>e.map(e=>({...e,text:"".concat(e.name," ").concat(e.location)})),[e]),i=(0,eo.useMemo)(()=>[{text:"Random"}],[]),[r,l]=(0,eo.useState)(()=>a.find(e=>e.value===t.value)),s=ep(t=>{l(t),n(e.find(e=>e.value===t.value))}),[c,o]=(0,eo.useState)(i[0]);return(0,ec.tZ)(an,{menuId:2,children:(0,ec.tZ)("div",{className:"flex-1 h-full overflow-y-auto",children:(0,ec.BX)("div",{className:" m-8 px-8 py-[1.5625rem] border-solid border-black-1 border min-w-[35rem]",children:[(0,ec.tZ)("div",{className:" font-medium text-xl",children:"Preferences"}),(0,ec.BX)("div",{className:" mt-4 whitespace-nowrap flex items-center",children:[(0,ec.tZ)("span",{className:"font-medium text-lg",children:"Choose preferred gateway :"}),(0,ec.tZ)(a0,{className:" ml-2",options:a,current:r,onOptionChange:s})]}),(0,ec.BX)("div",{className:" mt-4 whitespace-nowrap flex items-center",children:[(0,ec.tZ)("span",{className:"font-medium text-lg",children:"Gateway Match Strategy :"}),(0,ec.tZ)(a0,{className:" ml-2",options:i,current:c,onOptionChange:o})]})]})})})});function a2(){let{store:e,update:t}=ex(),n=e.toasts||[];return(0,eo.useEffect)(()=>{let e=setInterval(()=>{t(()=>(n.shift(),{toasts:n}))},3e3);return()=>clearInterval(e)},[n]),(0,ec.tZ)("div",{className:"fixed top-5 right-5 z-[50]",children:n.map((e,t)=>(0,ec.tZ)("div",{className:"flex py-2 cursor-pointer justify-between items-center",children:(0,ec.tZ)(al,{text:e.msg,status:e.type})},"toasts".concat(t)))})}var a5=eo.memo(function(){let e=ev();return(0,ec.tZ)(eg,{value:e,children:(0,ec.BX)("div",{className:"App relative",id:"app-root",children:[(0,ec.tZ)(ad.Z,{effect:"solid",clickable:!0,delayHide:200,isCapture:!0,overridePosition(e,t,n,a){let{top:i,left:r}=e;return a.style.maxWidth="300px",a.style.wordBreak="break-all",{top:i,left:r}}}),(0,ec.tZ)("div",{className:"App overflow-y-auto",children:(0,ec.tZ)(eI.UT,{children:(0,ec.BX)(eC.Z5,{children:[(0,ec.tZ)(eC.AW,{path:"/",element:(0,ec.tZ)(nU,{})}),(0,ec.tZ)(eC.AW,{path:"/buckets",element:(0,ec.tZ)(ak,{})}),(0,ec.tZ)(eC.AW,{path:"/bucket/:bucketId/:ipnsId",element:(0,ec.tZ)(aA,{})}),(0,ec.tZ)(eC.AW,{path:"/settings",element:(0,ec.tZ)(a1,{})}),(0,ec.tZ)(eC.AW,{path:"/mint",element:(0,ec.tZ)(a$,{})})]})})}),(0,ec.tZ)(eT,{}),(0,ec.tZ)(a2,{})]})})})},36563:function(){},53555:function(){}}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[424],{39547:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a5}});var a,i,r,l,s,c,o,d,u,m,p,y,h,f,g,b,v,x,A,w,Z,k,N,T,I,C,B,M,S,E,X,O,j,P,W,L,R,Y,D,z,G,H,F,U,J,Q,V,K,q,_,$,ee,et,en,ea,ei,er,el,es,ec=n(35944),eo=n(67294);let ed=()=>{let e=(0,eo.useRef)({safe:!0});return(0,eo.useEffect)(()=>(e.current.safe=!0,()=>{e.current.safe=!1}),[]),e.current};function eu(){for(var e=arguments.length,t=Array(e),n=0;nt.map(e=>t=>{a.safe&&e(t)}),[t])}function em(e){let[t,n]=(0,eo.useState)(e),[a]=eu(n);return[t,a]}function ep(e){let t=(0,eo.useRef)(null);return(0,eo.useLayoutEffect)(()=>(t.current=e,()=>{})),(0,eo.useCallback)(function(){for(var e=arguments.length,n=Array(e),a=0;a{e.current||(e.current=!0,t().then(()=>{e.current=!1}))},[]);return[e,t]}let eh={loading:!1},ef=eo.createContext({update(){},oUpdate(){},store:eh}),eg=ef.Provider,eb=(e,t,n)=>{},ev=()=>{let[e,t]=(0,eo.useState)(eh),n=(0,eo.useCallback)(e=>{"function"==typeof e?t(t=>{let n=e(t),a={...t,...n};return eb(n,t,a),a}):t(t=>{let n={...t,...e};return eb(e,t,n),n})},[]);return{store:e,update:n,oUpdate:n}},ex=()=>{let{store:e,update:t}=(0,eo.useContext)(ef),[n]=eu(t);return(0,eo.useMemo)(()=>({store:e,update:n,oUpdate:t}),[e,t,n])};var eA=n(94184),ew=n.n(eA),eZ=n(79352);let ek=eo.memo(e=>(0,ec.tZ)(eZ.uur,{...e,className:ew()(e.className,"animate-spin text-5xl")})),eN=eo.memo(e=>{let{text:t="",loading_attr:n={},text_attr:a={},...i}=e;return(0,ec.BX)("div",{...i,className:ew()(i.className," flex flex-col items-center"),children:[(0,ec.tZ)(ek,{...n}),!!t&&(0,ec.tZ)("div",{...a,className:ew()(" text-2xl text-center mt-9",a.className),children:t})]})}),eT=eo.memo(()=>{let e=(0,eo.useCallback)(e=>{e.stopPropagation()},[]),{loading:t}=function(e){let{oUpdate:t,store:{loading:n}}=ex(),a=(0,eo.useCallback)(()=>t({loading:!0}),[t]),i=(0,eo.useCallback)(()=>t({loading:!1}),[t]);return(0,eo.useEffect)(()=>{"boolean"==typeof e&&(e?a():i())},[e]),(0,eo.useMemo)(()=>({show:a,hiden:i,loading:n}),[a,i,n])}();return t?(0,ec.tZ)("div",{className:" fixed left-0 top-0 z-50 w-screen h-screen flex justify-center items-center bg-opacity-60 bg-black-1",onMouseMove:e,onMouseDown:e,onClick:e,children:(0,ec.tZ)(eN,{className:"py-10"})}):null});var eI=n(79655),eC=n(89250);function eB(){return(eB=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{text:t="",className:n}=e;return(0,ec.tZ)("div",{className:ew()("text-left text-black font-medium text-[2.5rem] leading-[2.9375rem]",n),children:t})});function eW(){return(eW=Object.assign?Object.assign.bind():function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:6,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4;return e?e.length<=t+n?e:"".concat(e.toString().substring(0,t),"...").concat(e.toString().substring(e.length-n)):""};function e_(e){if(e){let t=document.getElementById(e);t&&t.scrollIntoView({block:"start",behavior:"smooth"})}}function e$(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_blank";window.open(e,t)}let e0=new(ez())("800000000");function e1(e){let[t,n]=e.split("-"),a=new(ez())(t,36).sub(e0).toString(10);return[a,n]}function e2(e,t){let n=new(ez())(e).add(e0);return"".concat(n.toString(36),"-").concat(t)}function e5(e){return new Promise(t=>setTimeout(t,e))}function e3(e){switch(e){case eV.c.mainnet.id:break;case eV.c.goerli.id:return"https://goerli.etherscan.io";case eV.c.arbitrum.id:return"https://arbiscan.io";case eV.c.arbitrumGoerli.id:return"https://goerli.arbiscan.io";default:console.warn("chainId:".concat(e," not supported."))}return"https://etherscan.io"}function e4(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e<9765625e-10?"".concat(eF().floor(1048576*e,t)," KB"):e<1?"".concat(eF().floor(1024*e,t)," MB"):e<1024?"".concat(eF().floor(e,t)," GB"):e<1048576?"".concat(eF().floor(e/1024,t)," TB"):"".concat(eF().floor(e/1048576,t)," PB")}function e6(e){return"".concat(eY.C5,"/ipfs/").concat(e)}function e8(e,t){return e+Math.floor(Math.random()*(t-e))}function e7(e){return eK("sha256").update(e,"binary").digest("base64")}eQ.Kc&&(window.parseBucketId=e1,window.genBucketId=e2);var e9=n(5121);let te="ZXRoLTB4MEVDNzJGNEQ5MWVhN2ZiRjAyZTY2NUQzZDU5QzQ3MmVjY2M0ZWZFZDoweDc3NDdmNDkxMWNhOWY2YWJjODE0MTgxZTkzZmM1YjdlNzQ4MGIwYzM0ZGRmOWFmNGQ4NjQ3OTRiZmYzY2EzMTg2MzQyNWEwZDRjZjAyOTA1Mjc5MTIwNDliYjJlYTRkMTM1OGZlZjQ3ZDU4YzBmMTQxNjI3ZmMzMTIwNzMwODdjMWI";async function tt(e){let{data:t,endpoint:n=eY.sl,authBasic:a="Basic ".concat(te),onProgress:i,cancelToken:r=e9.Z.CancelToken.source().token}=e,l=await e9.Z.request({data:t,cancelToken:r,headers:{Authorization:a},method:"POST",onUploadProgress(e){i&&i(e.progress)},params:{pin:!0},url:"".concat(n,"/api/v0/add")});return l.data}async function tn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"file",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:te;try{if(0===e.length)throw Error("CID len err");let a=await e9.Z.post("".concat("https://pin.crustcode.com/psa","/pins"),JSON.stringify({cid:e,name:t}),{headers:{authorization:"Bearer "+n,"Content-Type":"application/json"}});return a.data}catch(i){return null}}function ta(){let{update:e}=ex(),t=(t,n)=>{e(e=>{let{toasts:n}=e;return{toasts:[{type:"error",msg:t}].concat(n||[])}})},n=(t,n)=>{e(e=>{let{toasts:n}=e;return{toasts:[{type:"success",msg:t}].concat(n||[])}})};return{error:t,success:n}}function ti(e){let{className:t,onClose:n,uploadRender:a,uploadBorder:i=!0,onSuccess:r,id:l=""}=e,s=ta(),[c,o]=(0,eo.useState)({progress:0,status:"stop"}),d=(0,eo.useRef)(null),u=(0,eo.useRef)(null),[m,p]=(0,eo.useState)(null),[y,h]=(0,eo.useState)(null),f=async()=>{"stop"===c.status&&u.current.click()};(0,eo.useEffect)(()=>{if(d.current){let e=d.current;e.addEventListener("dragover",e=>{e.preventDefault()}),e.addEventListener("dragenter",async()=>{e.querySelector("#waitUpload")&&(e.style.borderColor="#FC7823")}),e.addEventListener("dragleave",async()=>{e.style.borderColor="#131521"}),e.addEventListener("drop",async t=>{if(t.stopPropagation(),t.preventDefault(),e.querySelector("#waitUpload")){if(e.style.borderColor="#131521",t.dataTransfer.files.length>1||!/\.[a-zA-Z]+$/.test(t.dataTransfer.files[0].name))return s.error("Folders are not supported!"),!1;let[n]=t.dataTransfer.files;if(!n)return s.error("Please select a file."),!1;let a=n.size/1048576;if(a>100){s.error("Please select a file less than 100MB.");return}await g(n)}})}},[]);let g=async e=>{try{let t=e9.Z.CancelToken.source();p(t),o({progress:0,status:"upload"}),u.current.value="";let n=new FormData;if(!e||!e.name)return!1;n.append("file",e,e.name);let a=await tt({data:n,authBasic:"Basic ".concat("ZXRoLTB4MEVDNzJGNEQ5MWVhN2ZiRjAyZTY2NUQzZDU5QzQ3MmVjY2M0ZWZFZDoweDc3NDdmNDkxMWNhOWY2YWJjODE0MTgxZTkzZmM1YjdlNzQ4MGIwYzM0ZGRmOWFmNGQ4NjQ3OTRiZmYzY2EzMTg2MzQyNWEwZDRjZjAyOTA1Mjc5MTIwNDliYjJlYTRkMTM1OGZlZjQ3ZDU4YzBmMTQxNjI3ZmMzMTIwNzMwODdjMWI="),cancelToken:t.token,onProgress(e){o({progress:Math.round(99*e),status:"upload"})}});p(null),o({progress:100,status:"success"}),h(a),r&&r(a)}catch(i){console.error(i)}},b=e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),m&&(m.cancel("CanceledError"),p(null)),o({progress:0,status:"stop"}),n&&n(),h(null)},v=async e=>{let t=e.target.files[0];if(!t)return s.error("Please select a file."),!1;let n=t.size/1048576;if(n>100){s.error("Please select a file less than 100MB.");return}await g(t)};return(0,ec.BX)("div",{id:l,className:ew()("w-full flex justify-center",t),children:[(0,ec.BX)("div",{ref:d,onClick:f,className:ew()("w-full h-full cursor-pointer relative max-w-[70rem] flex justify-center items-center border-black-1 border-4 border-dashed"),style:i||"upload"!==c.status?{}:{border:"none"},children:[n&&(0,ec.tZ)(eL,{className:"absolute z-10 right-2 top-2 cursor-pointer",onClick:b}),"stop"!==c.status?"upload"===c.status?(0,ec.tZ)("div",{className:ew()("w-full",{"px-5":!!a,"px-20":!a}),children:a?a(c.progress):(0,ec.tZ)(eR,{value:c.progress})}):(0,ec.BX)("div",{className:"text-black-3 text-lg flex flex-col px-20",children:[(0,ec.tZ)("label",{className:"text-xl font-medium text-black",children:"IPFS CID:"}),(0,ec.tZ)("span",{className:"mt-5",children:y.Hash}),(0,ec.BX)("div",{className:"mt-20",children:[(0,ec.tZ)("label",{className:"text-xl font-medium text-black",children:"You may want to:"}),(0,ec.BX)("div",{className:"flex flex-wrap mt-5",children:[(0,ec.tZ)("div",{className:"mr-5 w-1/2 mb-2 underline",onClick:()=>e$("".concat(eY.C5,"/ipfs/").concat(y.Hash)),children:"Get download link for this file"}),(0,ec.tZ)("div",{className:"underline",onClick:()=>e$("https://ipfs-scan.io/?cid=".concat(y.Hash)),children:"Verify on IPFS"}),(0,ec.tZ)("div",{className:"mr-5 w-1/2 underline",onClick:()=>e$("https://docs.crustcloud.io"),children:"Learn more about Crust Cloud's storage solution"}),(0,ec.tZ)("div",{onClick:()=>e$("http://test.crustcloud.io/#/buckets"),className:"underline",children:"Claim your W3Bucket NFT on testnet"})]})]})]}):(0,ec.tZ)("span",{style:{pointerEvents:"none"},id:"waitUpload",className:"text-black-1 font-medium text-[2rem] leading-normal",children:"Drag and drop your file here"})]}),(0,ec.tZ)("input",{ref:u,hidden:!0,onChange:v,type:"file"})]})}let tr=eo.memo(()=>{let[e,t]=(0,eo.useState)(!1),n=()=>{t(!0),setTimeout(()=>{e_("nftupload")},0)},a=()=>{t(!1),setTimeout(()=>{e_("nft")},0)};return(0,ec.tZ)("div",{className:"w-full py-6 px-12 flex justify-center pb-20 mt-3 text-slate-700 text-lg",id:"nft",children:(0,ec.BX)("div",{className:"w-full max-w-[1112px] flex flex-col text-black",children:[(0,ec.tZ)(eP,{className:"mt-6 mb-8 font-medium",text:"Web3 Storage Buckets & Web3 IPFS Gateways"}),(0,ec.tZ)("p",{className:"pb-20 text-2xl text-black-3",children:"Crust Cloud defines what cloud storage middlewares should look like in Web3 - every storage bucket is a NFT, and every IPFS gateway is a NFT."}),(0,ec.BX)("div",{className:"flex justify-center",children:[(0,ec.BX)("div",{className:"flex flex-col justify-between",children:[(0,ec.BX)("div",{className:"flex items-center",children:[(0,ec.tZ)(eM,{}),(0,ec.tZ)("span",{className:"text-6xl px-6",children:"="}),(0,ec.tZ)(eE,{})]}),(0,ec.BX)("div",{className:"flex items-center",children:[(0,ec.tZ)(eO,{}),(0,ec.tZ)("span",{className:"text-6xl px-6",children:"="}),(0,ec.tZ)(eE,{})]})]}),(0,ec.BX)("div",{className:"ml-16",children:[(0,ec.tZ)("h4",{className:"text-[1.375rem] font-semibold text-black mb-4",children:"Store files in W3Buckets: Decentralized, Guaranteed & Alive."}),(0,ec.tZ)("p",{className:"text-black-3",children:"All contents in the W3Buckets are immutable, decentralized stored, guaranteed with up to permanent persistence in the open internet, and most importantly, owned & controlled by the NFT owner."}),(0,ec.tZ)("h4",{className:"text-[1.375rem] font-semibold text-black mb-4 mt-20",children:"IPFS Remote Pin"}),(0,ec.tZ)("p",{className:"text-black-3",children:"Storage service are called by Standard IPFS Remote Pinning Service APIs that make your files always available (alive!) on IPFS with multiple replicas and accessible from everywhere."}),(0,ec.BX)("div",{className:"flex mt-8 text-black-1",children:[(0,ec.tZ)(ej,{onClick:n,className:"btn-173",text:"Play Quick Demo"}),(0,ec.tZ)(ej,{onClick:()=>eQ.Kc?e$("/#/buckets","_self"):e$("/#/buckets"),className:"btn-173 ml-5",text:"Launch App"})]})]})]}),e&&(0,ec.tZ)(ti,{id:"nftupload",className:"h-[32.937rem] mt-12",onClose:a})]})})}),tl=[[[42,49]],[[41,50]],[[38,53]],[[37,53]],[[20,26],[35,52]],[[18,28],[34,51],[82,85],[96,100],[110,111]],[[17,24],[27,27],[29,32],[36,36],[38,51],[81,84],[92,101],[109,111]],[[3,6],[11,12],[16,27],[29,34],[40,51],[80,81],[86,86],[89,89],[91,106],[110,115]],[[2,8],[10,24],[26,27],[30,36],[40,50],[67,74],[83,83],[85,86],[88,123]],[[2,24],[26,26],[28,31],[34,37],[40,49],[66,75],[77,86],[88,124]],[[1,31],[34,38],[40,46],[51,54],[66,73],[76,124]],[[1,28],[31,31],[33,37],[41,44],[52,53],[64,123]],[[2,27],[33,37],[42,43],[63,115],[118,122]],[[4,8],[11,27],[33,38],[60,60],[64,114],[116,119]],[[3,7],[13,30],[33,39],[59,61],[64,109],[116,118]],[[2,3],[13,31],[33,40],[58,62],[64,110],[116,118]],[[0,1],[14,40],[58,111],[116,117]],[[16,36],[40,40],[60,111],[115,116]],[[16,38],[40,41],[61,78],[81,109],[111,111]],[[16,39],[60,71],[73,73],[75,77],[80,108]],[[16,37],[58,62],[66,66],[68,71],[76,78],[80,108],[110,111]],[[16,35],[58,61],[65,65],[67,67],[69,78],[81,102],[104,107],[110,110]],[[17,35],[59,60],[63,65],[67,67],[69,69],[71,78],[80,103],[105,106],[109,110]],[[18,34],[61,65],[74,103],[105,105],[108,110]],[[19,32],[59,66],[69,70],[74,103],[107,108]],[[20,32],[58,104],[106,107]],[[20,27],[31,32],[58,78],[80,104]],[[21,26],[31,31],[57,73],[75,78],[82,103]],[[21,21],[23,25],[56,73],[75,82],[85,103]],[[23,26],[28,29],[31,33],[56,74],[76,82],[86,101]],[[23,29],[34,36],[56,74],[76,81],[87,91],[94,98],[100,100],[104,104]],[[25,30],[56,75],[77,80],[87,90],[94,99],[103,104]],[[28,31],[56,75],[77,78],[87,89],[95,99],[103,104]],[[30,31],[34,37],[55,76],[88,89],[96,99],[104,104]],[[30,39],[56,79],[88,89],[96,96],[98,98],[102,102],[104,105]],[[31,40],[57,79],[88,89],[96,96],[101,102],[104,105]],[[33,42],[58,61],[64,79],[95,97],[101,102]],[[32,42],[65,78],[95,97],[100,102],[106,106]],[[32,43],[65,76],[96,97],[100,104],[106,108]],[[31,45],[65,76],[96,98],[100,102],[104,104],[107,111]],[[31,47],[65,75],[97,99],[107,112]],[[31,47],[66,75],[98,100],[110,113]],[[32,47],[66,75],[100,101],[104,105],[110,113]],[[33,47],[66,76],[78,79],[107,108],[113,113]],[[33,46],[65,76],[78,79],[105,108],[111,111]],[[34,46],[65,75],[77,79],[104,112]],[[35,46],[66,75],[77,79],[104,113]],[[35,45],[66,74],[77,78],[102,113]],[[35,44],[67,74],[77,78],[101,114]],[[35,43],[67,73],[77,77],[101,114]],[[35,43],[67,72],[101,114]],[[35,42],[68,72],[102,114]],[[35,41],[68,71],[102,114]],[[34,41],[68,69],[101,103],[108,108],[110,114],[123,123]],[[34,39],[110,113],[123,124]],[[34,38],[111,112],[122,124]],[[34,37],[112,113],[122,124]],[[34,36],[112,112],[121,122]],[[33,37],[120,121]],[[33,36]],[[33,35]],[[34,37]],[[35,36]]],ts=(0,eo.memo)(function(e){let{className:t,activePos:n,onChange:a}=e,[i,r]=(0,eo.useState)([]);(0,eo.useMemo)(()=>{if(n.length>0){let e=[];n.map(t=>{for(let n=0;n=l[0]&&t.x<=l[1]&&t.y===n){e.push(l),i=!0;break}}if(i)break}}),r(e)}},[n]),(0,eo.useMemo)(()=>{i.length>0&&a&&a(i)},[i]);let l=e=>{let t=e[0],n=e[1],a=[];for(let i=t;i<=n;i++)a.push(i);return a},s=(e,t)=>{let a=eF().find(n,n=>n.x===e&&n.y===t);return a?"red":"#666"};return(0,ec.tZ)("svg",{viewBox:"0 0 880 450",className:ew()("",t),children:tl.map((e,t)=>e.map(e=>l(e).map((e,n)=>(0,ec.tZ)("circle",{fill:s(e,t),cx:(e+1)*7,cy:(t+1)*7,r:"2.6"},"circle".concat(n)))))})});function tc(){return(tc=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let e=ty();return{logo:(0,ec.tZ)(tp,{className:""}),name:"AAVE",activePos:e.activePos,total:e.total}})()],tf=eo.memo(()=>{let[e,t]=(0,eo.useState)(0),n=()=>{t(e-1>=0?e-1:th.length-1)},a=()=>{t(e+1>th.length-1?0:e+1)};return(0,ec.tZ)("div",{className:"w-full pt-6 pb-[min(12vmin,18.75rem)] px-12 flex flex-col items-center",children:(0,ec.BX)("div",{className:"my-10 text-black w-full max-w-[1310px]",children:[(0,ec.tZ)(eP,{className:"mx-auto max-w-[1120px] ",text:"Discover some real use cases"}),th.map((t,i)=>i===e&&(0,ec.BX)("div",{className:ew()("flex justify-center pt-5"),children:[(0,ec.tZ)(ts,{activePos:t.activePos,className:"flex-1 pt-16"}),(0,ec.BX)("div",{className:"flex flex-shrink-0 flex-col items-center w-[22.625rem] ml-10 ",children:[(0,ec.BX)("div",{className:"h-[4.625rem] w-full flex justify-between items-center",children:[(0,ec.tZ)(tu,{className:"cursor-pointer",onClick:n}),t.logo,(0,ec.tZ)(tu,{className:"rotate-180 cursor-pointer",onClick:a})]}),(0,ec.BX)("span",{className:"text-black text-lg mt-12 font-medium",children:["Check this real-time monitor to see how we help ",t.name," decentralized host their Dapp frontend:"]}),(0,ec.BX)("div",{className:"text-black-3 text-lg mt-3",children:[(0,ec.BX)("p",{className:"mt-5",children:[(0,ec.tZ)("span",{className:"text-orange-500 font-medium text-2xl",children:t.total})," IPFS Replicas all around the globe"]}),(0,ec.BX)("p",{className:"mt-5",children:[(0,ec.tZ)("span",{className:"text-orange-500 font-medium text-2xl",children:"99+"})," Years guaranteed with ",(0,ec.tZ)("span",{className:"text-orange-500 font-medium text-2xl",children:"1.5ETH"})," in payment contract"]}),(0,ec.BX)("p",{className:"mt-5",children:["Guranteed by ",(0,ec.tZ)("a",{className:"text-black-3 underline",href:"https://crust.network/",target:"_blank",children:"decentralized incentive protocol"})," on IPFS"]}),(0,ec.BX)("p",{className:"mt-5",children:["Verifiable on ",(0,ec.tZ)("a",{className:"text-black-3 underline",href:"https://ipfs-scan.io/",target:"_blank",children:"IPFS Scan"})]})]})]})]},"monitorProject".concat(i)))]})})});var tg=n(85769),tb=n(85118),tv=n(53459),tx=n(15029),tA=n(99477);function tw(){let e="#787980",t=(0,eo.useMemo)(()=>{let e=[],t=new tA.Vector3;for(let n=0;n<2e3;n++){t.x=2*Math.random()-1,t.y=2*Math.random()-1,t.z=2*Math.random()-1,t.normalize(),t.multiplyScalar(26);let a=[t.x,t.y,t.z];t.multiplyScalar(.2*Math.random()+1);let i=[t.x,t.y,t.z];e.push([a,i])}return e},[]),n=(0,eo.useMemo)(()=>{let e=[],t=new tA.Vector3;for(let n=0;n<300;n++){t.x=n%2==0?-1:1,t.y=(2*Math.random()-1)*.5,t.z=(2*Math.random()-1)*.3,t.normalize(),t.multiplyScalar(26+4*Math.random()-2);let a=[t.x,t.y,t.z];t.multiplyScalar(2*Math.random()+1.3);let i=[t.x,t.y,t.z],r=Math.abs(a[0]-i[0]),l=Math.round(1+5*r/27),s=[i[0]-a[0],i[1]-a[1],i[2]-a[2]],[c,o,d]=[s[0]/(l+1),s[1]/(l+1),s[2]/(l+1)],u=[];if(Math.random()>.5)for(let m=1;m<=l;m++){let p=Math.ceil(Math.random()-.5),y=(3*Math.random()+2)*p;u.push([a[0]+m*c,a[1]+m*o+y,a[2]+m*d+0])}e.push([a,i,u])}return e},[]),a=(0,eo.useRef)(),i=(0,eo.useRef)(),r=(0,eo.useRef)({count:0}),l=(0,eo.useRef)({});(0,tv.C)((e,t,n)=>{if(a.current){let s=2*Math.PI,c=a.current.rotation.x+s*t*.01;a.current.rotation.x=c>s?c-s:c}if(i.current){let o=r.current.count%6==0;for(let d of i.current.children)if("Points"===d.type){let m=d,p=m.geometry.getAttribute("position");for(let y=0;y2*f.max?1:g,v=b<=f.max?b-1:2*f.max-b-1;p.setXYZ(y,h.getX(v),h.getY(v),h.getZ(v))}else p.setXYZ(y,h.getX(0),h.getY(0),h.getZ(0))}p.needsUpdate=!0}else if("Line"===d.type){let x=d,A=l[x.name];if(A){let w=A.count+(o?1:0),Z=w>2*A.max?1:w,k=Z<=A.max?Z:2*A.max-Z;x.geometry.setDrawRange(0,k),A.count=Z}else if(x.geometry.setDrawRange(0,0),.001>Math.random()){let N=Math.round(x.geometry.getAttribute("position").array.length/3);l[x.name]={count:1,max:N}}}r.current.count++,r.current.count>600&&(r.current.count=0)}},-2);let s=(0,tg.m)("disc.png"),c=(0,eo.useMemo)(()=>new tA.Float32BufferAttribute(t.flatMap(e=>e[1]),3),[t]),o=(0,eo.useMemo)(()=>new tA.Float32BufferAttribute(t.flatMap(e=>e[0].concat(e[1])),3),[t]),d=(0,eo.useMemo)(()=>new tA.Float32BufferAttribute(n.flatMap(e=>e[1]),3),[n]),u=(0,eo.useMemo)(()=>{let e=[];for(let[t,a,i]of n){let r=[t,...i,a],l=new tA.CatmullRomCurve3(r.map(e=>new tA.Vector3(...e)),!1,"chordal",.5),s=Math.abs(t[0]-a[0]),c=Math.round(20+160*s/27),o=l.getPoints(c).flatMap(e=>[e.x,e.y,e.z]);e.push(new tA.Float32BufferAttribute(o,3))}return e},[n]);return(0,ec.BX)("group",{position:[40,0,0],children:[(0,ec.BX)("group",{ref:a,children:[(0,ec.BX)("points",{children:[(0,ec.tZ)("bufferGeometry",{attributes:{position:c}}),(0,ec.tZ)("pointsMaterial",{color:e,opacity:.7,map:s,size:4,blending:tA.AdditiveBlending,depthTest:!1,transparent:!0})]}),(0,ec.BX)("lineSegments",{children:[(0,ec.tZ)("bufferGeometry",{attributes:{position:o}}),(0,ec.tZ)("lineBasicMaterial",{color:e,linewidth:1})]})]}),(0,ec.BX)("group",{ref:i,children:[(0,ec.BX)("points",{children:[(0,ec.tZ)("bufferGeometry",{attributes:{position:d}}),(0,ec.tZ)("pointsMaterial",{color:"#cdcccc",opacity:.7,map:s,size:4,blending:tA.AdditiveBlending,depthTest:!1,transparent:!0})]}),u.map((t,n)=>(0,ec.BX)("line_",{name:n,children:[(0,ec.tZ)("bufferGeometry",{attributes:{position:t}}),(0,ec.tZ)("lineBasicMaterial",{color:e,linewidth:1})]},"line_".concat(n)))]})]})}(0,tv.e)({Line_:tA.Line});let tZ=eo.memo(function(){return(0,ec.BX)(tx.Xz,{gl:{antialias:!0},children:[(0,ec.tZ)(tb.i,{makeDefault:!0,zoom:9,args:[-150,50,30,-30,50,-100]}),(0,ec.tZ)("ambientLight",{color:"#eaeaea",intensity:1}),(0,ec.BX)("mesh",{position:[0,0,-100],children:[(0,ec.tZ)("planeGeometry",{args:[1e3,1e3]}),(0,ec.tZ)("meshStandardMaterial",{color:"black"})]}),(0,ec.tZ)(tw,{})]})});var tk=n(21132);function tN(){return(tN=Object.assign?Object.assign.bind():function(e){for(var t=1;t((0,tk.tf)(()=>{setTimeout(()=>{window.scroll(0,0)},50)}),(0,ec.BX)("div",{className:"w-full min-h-min relative",children:[(0,ec.tZ)("div",{className:"w-full bg-black h-screen absolute left-0 top-0 z-0",children:(0,ec.tZ)(tZ,{})}),(0,ec.BX)("div",{className:"z-1 h-[100vh] relative w-full py-6 px-12 flex flex-col items-center",children:[(0,ec.tZ)("div",{className:"h-14 w-full max-w-[1112px] flex justify-between items-center font-WorkSans",children:(0,ec.tZ)("div",{className:"text-[88px] ml-3 mt-5",children:(0,ec.tZ)(tE,{})})}),(0,ec.BX)("div",{className:"h-full my-10 w-full max-w-[1112px] flex flex-col justify-center mt-[-1rem]",children:[(0,ec.BX)("div",{className:"font-RobotoMono font-bold text-[2.5rem] leading-tight",children:[(0,ec.tZ)("p",{children:"Crust Cloud"}),(0,ec.tZ)("p",{children:"Redefining Web3 Storage"})]}),(0,ec.BX)("div",{className:"flex flex-col mt-12 pl-1 mb-20",children:[(0,ec.BX)("div",{className:"flex mb-3",children:[(0,ec.tZ)(ej,{text:"Documentations",className:"btn-173 border-white text-white",onClick:()=>e$("https://docs.crustcloud.io/")}),(0,ec.tZ)(ej,{text:"Launch App",className:"btn-173 ml-3 border-white text-white",onClick:()=>eQ.Kc?e$("/#/buckets","_self"):e$("/#/buckets")})]}),(0,ec.tZ)("div",{className:"flex",children:(0,ec.tZ)(ej,{text:"Contact the team",className:"btn-173 border-white text-white",onClick:()=>e$("https://forms.gle/NUSvEDDR4AmP8wbV6")})})]})]})]})]})));function tO(){return(tO=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,ec.tZ)("div",{className:"w-full py-20 px-12 flex flex-col items-center justify-center text-black-1",children:(0,ec.BX)("div",{className:"w-full max-w-[1112px]",children:[(0,ec.tZ)(eP,{className:"w-full pb-14",text:"Crust Cloud is a Web3 storage cloud"}),(0,ec.BX)("div",{className:"w-full flex justify-between items-end text-lg",children:[(0,ec.BX)("div",{className:"w-[348px] h-[418px] border-2 border-black-1 mt-12",children:[(0,ec.BX)("div",{className:"flex flex-col items-center border-b-2 border-black-1 py-6",children:[(0,ec.tZ)("div",{className:"text-[2rem] font-medium",children:"IaaS"}),(0,ec.tZ)("span",{className:"leading-[1.3125rem] mt-[.625rem]",children:"Infrastructure-as-a-Service"})]}),(0,ec.BX)("div",{className:"flex flex-col items-center",children:[(0,ec.BX)("div",{className:"flex items-center mt-6",children:[(0,ec.tZ)(tj,{}),(0,ec.tZ)(tW,{className:"ml-11"})]}),(0,ec.tZ)("a",{href:"https://ipfs.io",target:"_blank",className:"text-2xl text-black-1 font-medium leading-7 mt-5 mb-3 underline no-skip-ink",children:"IPFS"}),(0,ec.tZ)("span",{className:"leading-[1.3125rem]",children:"the distrbuted file system"}),(0,ec.tZ)("a",{href:"https://crust.network",target:"_blank",className:"text-2xl text-black-1 font-medium leading-7 mt-5 mb-3 underline no-skip-ink",children:"Crust Network"}),(0,ec.tZ)("p",{className:"w-[294px] leading-[1.3125rem] text-center",children:"the decentralized storage protocol & incentive layer of IPFS"})]}),(0,ec.tZ)("div",{})]}),(0,ec.BX)("div",{className:"flex flex-col items-center",children:[(0,ec.tZ)("h4",{className:"text-orange-15 font-medium text-[2rem] leading-[2.375rem] mb-4",children:"Crust Cloud Products"}),(0,ec.BX)("div",{className:"flex",children:[(0,ec.BX)("div",{className:"w-[348px] h-[418px] border-2 border-orange-15",children:[(0,ec.BX)("div",{className:"flex flex-col items-center border-b-2 border-orange-15 py-6",children:[(0,ec.tZ)("div",{className:"text-[2rem] font-medium",children:"PaaS"}),(0,ec.tZ)("span",{className:"leading-[1.3125rem] mt-[.625rem]",children:"Platform-as-a-Service"})]}),(0,ec.BX)("div",{className:"flex flex-col items-center pt-7 pb-14",children:[(0,ec.BX)("div",{className:"flex items-center text-[2.5rem]",children:[(0,ec.tZ)("span",{className:"mr-2",children:"W3"}),(0,ec.tZ)(tR,{}),(0,ec.tZ)("span",{className:"px-3",children:"+"}),(0,ec.tZ)("span",{className:"mr-2",children:"W3"}),(0,ec.tZ)(tD,{})]}),(0,ec.tZ)("h6",{onClick:()=>e_("nft"),className:"text-2xl font-medium leading-7 mt-[1.7rem] mb-3 underline no-skip-ink cursor-pointer",children:"W3Buckets"}),(0,ec.tZ)("span",{className:"leading-[1.3125rem]",children:"NFT-nized IPFS storage buckets"}),(0,ec.tZ)("h6",{onClick:()=>e_("nft"),className:"text-2xl font-medium leading-7 mt-5 mb-3 underline no-skip-ink cursor-pointer",children:"W3Gateways"}),(0,ec.tZ)("span",{className:"leading-[1.3125rem]",children:"NFT-nized IPFS Gateways"})]})]}),(0,ec.BX)("div",{className:"w-[348px] h-[418px] border-2 border-orange-15",children:[(0,ec.BX)("div",{className:"flex flex-col items-center border-b-2 border-orange-15 py-6",children:[(0,ec.tZ)("div",{className:"text-[2rem] font-medium",children:"SaaS"}),(0,ec.tZ)("span",{className:"leading-[1.3125rem] mt-[.625rem]",children:"Software-as-a-Service"})]}),(0,ec.BX)("div",{className:"flex flex-col items-center pt-7",children:[(0,ec.BX)("div",{className:"flex items-center text-[2.5rem]",children:[(0,ec.tZ)("span",{className:"mr-2",children:"W3"}),(0,ec.tZ)(tG,{})]}),(0,ec.tZ)("h6",{onClick:()=>e_("widget"),className:"text-2xl font-medium leading-7 mt-[2rem] mb-3 underline no-skip-ink cursor-pointer",children:"Web3 Storage Widgets"}),(0,ec.tZ)("p",{className:"w-[298px] leading-[1.3125rem] text-center",children:"Rich-text Editor/Publisher Widget IPFS File Storage Widget"}),(0,ec.tZ)("p",{className:"w-[298px] leading-[1.3125rem] text-center",children:"IPFS Storage Retrieval Widget and more..."})]})]})]})]})]})]})}));function tF(){return(tF=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{icon:t,...n}=e;return"string"==typeof t?(0,ec.tZ)("span",{...n,className:ew()(n.className,t)}):(0,ec.tZ)(t,{...n})}),t$=eo.memo(e=>{let{onClose:t,title:n,className:a,...i}=e;return(0,ec.BX)("div",{...i,className:ew()(" flex pb-5 justify-between border-b border-solid border-b-gray-16",a),children:[(0,ec.tZ)("div",{className:"text-black-3 text-lg",children:n}),(0,ec.tZ)("div",{className:"text-gray-12",children:(0,ec.tZ)(t_,{icon:"cru-fo-x",className:" text-xl cursor-pointer",onClick:t})})]})}),t0=eo.memo(e=>{let{outClick:t,outClassname:n,className:a,children:i,...r}=e,l=null==document?void 0:document.getElementById("app-root");return l?(0,tq.createPortal)((0,ec.tZ)("div",{onClick:t,className:ew()(n,"fixed left-0 top-0 w-screen h-screen z-40 bg-opacity-50 bg-black flex justify-center items-center"),children:(0,ec.tZ)("div",{...r,className:ew()(a," min-w-[27.5rem] p-5 bg-white text-black-1"),children:i})}),l):null});var t1=n(8193);let t2=eo.memo(e=>{let{onClose:t,className:n}=e;return(0,ec.tZ)(t_,{className:ew()("absolute right-6 top-6 text-3xl font-bold cursor-pointer",n),onClick:t,icon:t1.SV5})});function t5(e){let{onClose:t}=e,[n,a]=(0,eo.useState)(0),[i,r]=(0,eo.useState)({Hash:""}),l=e=>{a(3),r(e)},s=e=>(0,ec.BX)("div",{className:"flex flex-col items-center",children:[(0,ec.tZ)("p",{className:"w-[24rem] text-black-3 text-2xl text-center mb-10",children:"Publishing & Uploading to IPFS Please wait..."}),(0,ec.tZ)(eR,{value:e})]});return(0,ec.tZ)(t0,{className:"p-0",children:(0,ec.BX)("div",{className:"bg-white flex min-h-[40.75rem] relative",children:[(0,ec.tZ)(t2,{onClose:()=>t&&t()}),(0,ec.BX)("div",{className:"bg-black w-80 text-white px-8 py-16 text-lg",children:[(0,ec.tZ)("div",{className:"mb-12 text-2xl font-medium",children:"IPFS File Storage Widget"}),3===n?(0,ec.BX)("div",{className:"text-lg",children:[(0,ec.tZ)("div",{className:"mb-5 font-medium",children:"Demo Step 2:"}),(0,ec.tZ)("p",{className:"font-light",children:"When Upload process is completed, you will get an IPFS CID (unique identifier to your stored content) and a Storage Manager Tx No. (Tx No. for the IPFS storage action of your content)."})]}):(0,ec.BX)("div",{className:"text-lg",children:[(0,ec.tZ)("div",{className:"mb-5 font-medium",children:"Demo Step 1:"}),(0,ec.tZ)("p",{className:"mb-5 font-light",children:"Drag and drop a file into the box."}),(0,ec.BX)("p",{className:"font-light",children:["When you finish, click on the ",(0,ec.tZ)("span",{className:"font-semibold",children:"'Upload'"})," button to continue."]})]})]}),(0,ec.tZ)("div",{className:"min-w-[50rem] flex justify-center items-center",children:3===n?(0,ec.BX)("div",{className:"text-center text-black-3 flex flex-col items-center",children:[(0,ec.tZ)(t_,{className:"text-[3.125rem] text-black mb-4",icon:t1.KP3}),(0,ec.tZ)("div",{className:"text-[1.375rem] text-black font-semibold mb-4",children:"Publish successfully!"}),(0,ec.tZ)("p",{className:"mb-14 text-lg",children:"This content has been published and decentralized stored on IPFS."}),(0,ec.tZ)("div",{className:"mb-2 text-lg",children:"Your content's IPFS CID:"}),(0,ec.tZ)("p",{className:"text-sm text-gray-7 mb-8",children:i.Hash}),(0,ec.tZ)("div",{className:"mb-2 text-lg",children:"Storage Manager Tx No:"}),(0,ec.tZ)("p",{className:"text-sm text-gray-7",children:eq("0x69b9f8cf491b55c485dbb43a86a7e48f7649aa45c958cd245461d04c3146bd91",23,23)})]}):(0,ec.tZ)(ti,{uploadRender:s,onSuccess:l,uploadBorder:!1,className:"h-[29.937rem] w-[42.5rem]"})})]})})}var t3=n(7297),t4=n(18872),t6=n(81482),t8=n(93282);n(5334);var t7=n(96412),t9=n.n(t7),ne=n(4979),nt=n.n(ne),nn=n(31026),na=n(378),ni=n(611),nr=n(49891),nl=n(84672),ns=n(56073),nc=n(54340),no=n(82874),nd=n(5705),nu=n(71265),nm=n(11033),np=n(31871),ny=n(78469),nh=n(55658),nf=n(78822),ng=n(98584),nb=n(81373),nv=n(13848),nx=n(32085),nA=n(92003),nw=n.n(nA),nZ=n(5432),nk=n(57375),nN=n(27353),nT=n(48764).Buffer;function nI(){let e=(0,t3.Z)(['\n width: 100%;\n height: 100%;\n padding: 80px 24px 24px 24px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n ol,\n ul {\n list-style: revert !important;\n margin: revert !important;\n padding: revert !important;\n }\n .remirror-editor-wrapper {\n padding-top: unset;\n border-radius: 0;\n border: 1px solid #dfe3e7 !important;\n outline: unset !important;\n overflow: auto;\n height: 447px;\n max-width: 872px;\n max-height: 447px;\n .ProseMirror {\n overflow: hidden;\n min-height: 100%;\n padding: "1rem";\n box-shadow: unset !important;\n pre {\n padding: ',";\n margin: 0;\n }\n .remirror-is-empty:first-of-type::before{\n font-style: normal !important;\n }\n }\n }\n"]);return nI=function(){return e},e}function nC(){let e=(0,t3.Z)(["\n height: 72px !important;\n background-color: #f4f5f7 !important;\n padding: 24px !important;\n border: 1px solid #dfe3e7 !important;\n overflow: hidden !important;\n button {\n padding: unset !important;\n width: 24px !important;\n height: 24px !important;\n /* font-size: 22px; */\n margin-right: 18px !important;\n outline: unset !important;\n border: unset !important;\n background-color: transparent !important;\n }\n "]);return nC=function(){return e},e}async function nB(e){let t=await nN.J.digest(e);return nk.k0.createV0(t).toString()}let nM=eY.C5,nS=new Map,nE=(0,t4.iv)(nI(),(0,nn.y2)("space",3)),nX=e=>{let{style:t,className:n,children:a}=e;return(0,ec.tZ)("div",{style:t,className:"".concat(nE," ").concat(n," w-full"),children:a})},nO={color:{primary:"#FC7823",primaryText:"#FC7823",outline:"transparent",background:"transparent",hover:{primary:"#FC7823",primaryText:"#FC7823"}},fontFamily:{default:"var(--work-sans)"}},nj=()=>(0,ec.BX)(t6.o8,{className:(0,t4.iv)(nC()),children:[(0,ec.tZ)(t6.pQ,{attrs:{level:1}}),(0,ec.tZ)(t6.pQ,{attrs:{level:2}}),(0,ec.tZ)(t6.pQ,{attrs:{level:3}}),(0,ec.tZ)(t6.Vu,{}),(0,ec.tZ)(t6.NV,{}),(0,ec.tZ)(t6.kj,{}),(0,ec.tZ)(t6.QD,{}),(0,ec.tZ)(t6.Om,{}),(0,ec.tZ)(t6.XR,{}),(0,ec.tZ)(t6.gf,{})]}),nP=e=>{let{placeholder:t="Please input text...",initialContent:n="",editorUpdate:a,onUpFinish:i}=e,r=(0,eo.useMemo)(()=>{let e=new ni.y5({autoLink:!0});return e.addHandler("onClick",(e,t)=>(console.log("You clicked link: ".concat(JSON.stringify(t))),!0)),e},[]);(0,eo.useRef)("");let[l,s]=(0,eo.useState)(""),[c,o]=(0,eo.useState)(""),[d,u]=(0,eo.useState)(!1),[m,p]=(0,eo.useState)(""),[y,h]=(0,eo.useState)(-1),f=(0,eo.useMemo)(()=>-1!==y?"uping":l?"finish":"edit",[y,l]),g=async()=>{let e=await nw()();if(e&&e.isMetaMask){await e.request({method:"eth_requestAccounts"});let t=new nZ.Web3Provider(e),n=t.getSigner(),a=await n.getAddress(),i=await n.signMessage("You are signing this message for DEMO purpose only. Sign this message to prove you own this account and you will be able to publish your Web3 content.");return nT.from("eth-".concat(a,":").concat(i)).toString("base64")}return""},b=async(e,t)=>{try{let n=e9.Z.CancelToken.source();t&&t(0);let a=await tt({data:e,cancelToken:n.token,onProgress:t});return console.log(a),a}catch(i){console.error(i.message)}return null},v=async()=>{try{let e=await g();if(!e)return;let t=new FormData;t.append("file",c);let n=await b(t,e=>h(Math.round(99*e)));if(null===n){p("Cannot save markdown file."),u(!0),s("Save markdown failed.");return}let a=n.Hash;await tn(a,"text.md"),s(a),h(-1),i&&i(n)}catch(r){console.error(r)}},x=e=>{let t=0,n=[];for(let{file:a,progress:i}of(console.info("files:",e),e))n.push(()=>new Promise((e,n)=>{let i=new FileReader;i.addEventListener("load",async r=>{console.log(a),t+=1,console.info("readed:",i.result);let l=await nB(new Uint8Array(i.result));console.info("imgKey:",l);let s=nS.get(l);if(!s){let c=new FormData;c.append("file",a,a.name);let o=await b(c);if(null!==o)try{await tn(o.Hash,a.name);let d=await function(e){return new Promise(t=>{let n=new Image;n.onload=()=>t(!0),n.onerror=()=>t(!1),n.src=e,n.loading="eager"})}("".concat(nM,"/ipfs/").concat(o.Hash));if(!d)throw"pre load error";s=o.Hash,nS.set(l,o.Hash)}catch(u){console.error(u)}}s?e({src:"".concat(nM,"/ipfs/").concat(s),fileName:a.name}):n()},{once:!0}),i.readAsArrayBuffer(a)}));return n},A=(0,eo.useCallback)(()=>{let e=document.createElement("div");return e.className="w-[100px] h-[100px] p-[30px]",tq.render((0,ec.tZ)(ek,{}),e),e},[]),w=(0,eo.useCallback)(()=>[new nr.X({placeholder:t}),new nl.x({data:nx,plainText:!0}),r,new ns.H({}),new nc.V,new no.Gc({uploadHandler:x,createPlaceholder:A,enableResizing:!0}),new nd.f,new nu.e({}),new nm.V,new np.z,new ny.UQ({enableSpine:!0}),new ny._3,new ny.Jb({priority:na.xV.High,enableCollapsible:!0}),new nh.l,new nf.W({supportedLanguages:[t9(),nt()]}),new ng.F,new nb.g({copyAsMarkdown:!1}),new nv.h],[t]),{manager:Z}=(0,t8.iF)({extensions:w,stringHandler:"markdown",content:n}),k=e=>{var t;(null===(t=e.tr)||void 0===t?void 0:t.docChanged)&&(null==a||a(e)),console.info("p:",e.helpers.getMarkdown())};return(0,eo.useEffect)(()=>{let e=setInterval(()=>{o(Z.extensionStore.helpers.getMarkdown())},500);return()=>clearInterval(e)},[Z]),(0,ec.BX)(t6.f6,{as:nX,theme:nO,children:["edit"==f&&(0,ec.BX)(t8.O1,{manager:Z,autoFocus:!0,onBlur:k,onChange:k,children:[(0,ec.tZ)(nj,{}),(0,ec.tZ)(t8.PG,{}),(0,ec.tZ)("div",{className:"flex justify-center",children:(0,ec.tZ)(ej,{disabled:!c,className:"btn-173 mt-4",text:"Publish",onClick:v})})]}),"uping"==f&&(0,ec.BX)("div",{className:"mb-[3.5rem] font-WorkSans px-14 flex flex-col items-center",children:[(0,ec.tZ)("p",{className:"w-[24rem] text-black-3 text-2xl text-center mb-10",children:"Publishing & Uploading to IPFS Please wait..."}),(0,ec.tZ)(eR,{value:y})]}),"finish"==f&&(0,ec.tZ)(ec.HY,{children:(0,ec.BX)("div",{className:"mb-[3.5rem] text-center font-WorkSans text-black-3 flex flex-col items-center",children:[(0,ec.tZ)(t_,{className:"text-[3.125rem] text-black mb-4",icon:t1.KP3}),(0,ec.tZ)("div",{className:"text-[1.375rem] text-black font-semibold mb-4",children:"Publish successfully!"}),(0,ec.tZ)("p",{className:"mb-14 text-lg",children:"This content has been published and decentralized stored on IPFS."}),(0,ec.tZ)("div",{className:"mb-2 text-lg",children:"Your content's IPFS CID:"}),(0,ec.tZ)("div",{className:"text-sm text-gray-7 mb-8",children:l}),(0,ec.tZ)("div",{className:"mb-2 text-lg",children:"Storage Manager Tx No:"}),(0,ec.tZ)("p",{className:"text-sm text-gray-7",children:eq("0x69b9f8cf491b55c485dbb43a86a7e48f7649aa45c958cd245461d04c3146bd91",23,23)})]})})]})};function nW(e){let{onClose:t}=e,[n,a]=(0,eo.useState)(0);return(0,ec.tZ)(t0,{className:"p-0",children:(0,ec.BX)("div",{className:"bg-white flex h-[40.75rem] relative",children:[(0,ec.tZ)(t2,{onClose:()=>t&&t()}),(0,ec.BX)("div",{className:"bg-black w-80 text-white px-8 py-16 text-lg",children:[(0,ec.tZ)("div",{className:"mb-12 text-2xl font-medium",children:"Rich-text Content Publisher Widget"}),0===n&&(0,ec.BX)("div",{className:"text-lg",children:[(0,ec.tZ)("div",{className:"mb-5 font-medium",children:"Demo Step 1:"}),(0,ec.tZ)("p",{className:"mb-5 font-light",children:"Type in any text and try to do some simple edit work."}),(0,ec.BX)("p",{className:"font-light",children:["When you finish, click on the ",(0,ec.tZ)("span",{className:"font-semibold",children:"'Publish'"})," button to continue."]})]}),1===n&&(0,ec.BX)("div",{className:"text-lg",children:[(0,ec.tZ)("div",{className:"mb-5 font-medium",children:"Demo Step 2:"}),(0,ec.tZ)("p",{className:"font-light",children:"When Publish and Upload processes are completed, you will get an IPFS CID (unique identifier to your stored content) and a Storage Manager Tx No. (Tx No. for the IPFS storage action of your content)."})]})]}),(0,ec.tZ)("div",{className:"min-w-[50rem] flex items-center justify-center",children:(0,ec.tZ)(nP,{onUpFinish:e=>e&&a(1)})})]})})}var nL=n(94084),nR=n(76199),nY=n(34209),nD=n(79166);let nz=eo.memo(e=>(0,ec.tZ)(nL.D,{children:e.code,linkTarget:"_blank",components:{h5(e){let{node:t,...n}=e;return(0,ec.tZ)("h5",{style:{fontSize:"18px",fontStyle:"normal"},...n})},code(e){let{node:t,inline:n,className:a,children:i,...r}=e,l=/language-(\w+)/.exec(a||"");return!n&&l?(0,ec.tZ)(nY.Z,{children:String(i).replace(/\n$/,""),style:nD.Z,language:l[1],PreTag:"div",...r}):(0,ec.tZ)("code",{className:a,...r,children:i})}},remarkPlugins:[nR.Z]}));function nG(e){let{onClose:t}=e;return(0,ec.tZ)(t0,{className:"p-0",children:(0,ec.BX)("div",{className:"bg-white min-w-[56rem] flex flex-col relative p-6",children:[(0,ec.BX)("div",{className:"flex justify-between items-center mb-6",children:[(0,ec.tZ)("a",{className:"text-2xl underline text-black-1",href:"https://docs.crustcloud.io",target:"_blank",children:"Dev Guidance"}),(0,ec.tZ)(t2,{className:"mt-[-0.3rem]",onClose:()=>t&&t()})]}),(0,ec.tZ)("div",{children:(0,ec.tZ)(nz,{code:"\n##### React:\n\n~~~jsx\nimport { MDEditor } from '@cloud3/react-widgets'\nexport default function App(){\n return(\n \n )\n}\n~~~\n \n \n\n##### Vue:\n\n~~~jsx\n\n\n~~~\n"})})]})})}function nH(e){let{onClose:t}=e;return(0,ec.tZ)(t0,{className:"p-0",children:(0,ec.BX)("div",{className:"bg-white min-w-[56rem] flex flex-col relative p-6",children:[(0,ec.BX)("div",{className:"flex justify-between items-center mb-6",children:[(0,ec.tZ)("a",{className:"text-2xl underline text-black-1",href:"https://docs.crustcloud.io",target:"_blank",children:"Dev Guidance"}),(0,ec.tZ)(t2,{className:"mt-[-0.3rem]",onClose:()=>t&&t()})]}),(0,ec.tZ)("div",{children:(0,ec.tZ)(nz,{code:"\n##### React:\n\n~~~jsx\nimport { DragStorage } from '@cloud3/react-widgets'\nexport function(){\n return(\n \n )\n}\n~~~\n \n \n\n##### Vue:\n~~~jsx\n\n\n~~~\n"})})]})})}let nF=eo.memo(()=>{let[e,t]=(0,eo.useState)(!1),[n,a]=(0,eo.useState)(!1),[i,r]=(0,eo.useState)(!1),[l,s]=(0,eo.useState)(!1);return(0,ec.BX)("div",{id:"widget",className:"w-full pb-20 pt-16 px-12 flex flex-col items-center justify-center text-black bg-[#F5F5F5]",children:[(0,ec.BX)("div",{className:"w-full max-w-[1112px] text-lg",children:[(0,ec.tZ)(eP,{className:"w-full mb-8",text:"Web3 Storage Widgets"}),(0,ec.tZ)("p",{className:"w-full text-left text-2xl text-black-3 mb-20",children:"Users should own their contents and take full control of them just like what they do to their assets, but they do not."}),(0,ec.BX)("div",{className:"flex justify-between",children:[(0,ec.BX)("div",{className:"w-[405px] flex flex-col items-center",children:[(0,ec.tZ)(tU,{}),(0,ec.tZ)("p",{className:"mt-14 text-black-3",children:"Web3 Content Widgets contains several easy-integrating, non-intrusive widges that helps Dapps to manage decentralized IPFS storage and give back content ownership to users."})]}),(0,ec.BX)("div",{className:"flex flex-col",children:[(0,ec.BX)("div",{className:"flex",children:[(0,ec.tZ)(tQ,{}),(0,ec.BX)("div",{className:"ml-9",children:[(0,ec.tZ)("h5",{className:"font-semibold text-[1.375rem] mb-4",children:"Rich-text Content Publisher Widget"}),(0,ec.tZ)("p",{className:"w-[490px] text-black-3",children:"This widget contains a rich-text editor that can auto upload contents to IPFS alongside the publish process. "}),(0,ec.BX)("div",{className:"flex mt-5 text-black-1",children:[(0,ec.tZ)(ej,{onClick:()=>t(!0),className:"btn-173",text:"Play Demo"}),(0,ec.tZ)(ej,{onClick:()=>a(!0),className:"btn-173 ml-5",text:"Show Code"})]})]})]}),(0,ec.BX)("div",{className:"flex mt-20",children:[(0,ec.tZ)(tK,{className:"mt-2"}),(0,ec.BX)("div",{className:"ml-9",children:[(0,ec.tZ)("h5",{className:"font-semibold text-[1.375rem] mb-4",children:"IPFS File Storage Widget"}),(0,ec.tZ)("p",{className:"w-[490px] text-black-3",children:"This widget helps applications/dapps to upload files of general types to IPFS and manage file storage for their users. "}),(0,ec.BX)("div",{className:"flex mt-5 text-black-1",children:[(0,ec.tZ)(ej,{onClick:()=>r(!0),className:"btn-173",text:"Play Demo"}),(0,ec.tZ)(ej,{onClick:()=>s(!0),className:"btn-173 ml-5",text:"Show Code"})]})]})]})]})]})]}),e&&(0,ec.tZ)(nW,{onClose:()=>t(!1)}),n&&(0,ec.tZ)(nG,{onClose:()=>a(!1)}),i&&(0,ec.tZ)(t5,{onClose:()=>r(!1)}),l&&(0,ec.tZ)(nH,{onClose:()=>s(!1)})]})}),nU=()=>(0,ec.BX)("div",{className:"w-full",children:[(0,ec.tZ)(tX,{}),(0,ec.tZ)(tH,{}),(0,ec.tZ)(nF,{}),(0,ec.tZ)(tr,{}),(0,ec.tZ)(tf,{})]});var nJ=n(38109),nQ=n(92339),nV=new class{async connect(){try{var e;let t=await this.wallet.reconnectSession();this.wallet.isConnected&&t.length||(t=await this.wallet.connect()),null===(e=this.wallet.connector)||void 0===e||e.on("disconnect",()=>{this.wallet.disconnect(),this.account=null}),this.account=t[0]}catch(n){console.error(n)}}isConnected(){return this.wallet.isConnected&&!!this.account}disconnect(){this.wallet.disconnect(),this.account=null}constructor(){this.account=null,this.wallet=new nQ.DQ({chainId:eY.pg}),this.wallet.reconnectSession().then(e=>{var t;null===(t=this.wallet.connector)||void 0===t||t.on("disconnect",()=>{this.wallet.disconnect(),this.account=null}),e.length>0&&(this.account=e[0])})}},nK=n(48764).Buffer;function nq(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auth",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,[a,i]=(0,eo.useState)(localStorage.getItem(e)||""),{signTypedDataAsync:r}=(0,nJ.yw)(),{chain:l}=(0,nJ.LN)(),s=l&&l.id;l&&l.unsupported;let{address:c}=(0,nJ.mA)(),o=nV.isConnected(),d=ep(async a=>{let l=localStorage.getItem(e)||"";if((!r||!c||!s)&&!o)throw"not connect wallet";o&&(s=eY.pg,c="0x".concat(nV.account));let d=eJ()().unix();if(t&&l){let u=JSON.parse(window.atob(l)).data;if(u.domain.chainId==="".concat(s)&&u.message.signingAddress===c&&u.message.tokenId===a&&(0===u.message.expirationTimestamp||u.message.expirationTimestamp-d>300))return i(l),l}let m=n<=0?0:eJ()().add(n,"hours").unix(),p={domain:{chainId:"".concat(s),name:"Cloud3.cc",verifyingContract:"0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",version:"1"},message:{description:"Sign for W3 Bucket Access Authentication",signingAddress:c,tokenAddress:o?eY.fL:eY.Jh,effectiveTimestamp:d,expirationTimestamp:m},primaryType:"W3Bucket",types:{W3Bucket:[{name:"description",type:"string"},{name:"signingAddress",type:"address"},{name:"tokenAddress",type:"address"},{name:"effectiveTimestamp",type:"uint256"},{name:"expirationTimestamp",type:"uint256"}]}};a&&(p.message.tokenId=a,p.types.W3Bucket.push({name:"tokenId",type:"string"})),await e5(800);let y="";if(o){let h=nK.from(JSON.stringify({domain:p.domain,types:p.types,value:p.message})),f=await nV.wallet.signData([{data:h,message:"For authentication"}],nV.account);y=window.btoa(String.fromCharCode.apply(null,f[0]))}else y=await r({domain:p.domain,types:p.types,value:p.message});let g=window.btoa(JSON.stringify({data:p,signature:y}));return localStorage.setItem(e,g),i(g),g});return[d,a]}function n_(){return nq("for_mint",!0,3)}function n$(){return nq("auth",!0,12)}var n0=n(63750),n1=n(86893);let n2=eo.memo(e=>{let{className:t,...n}=e;return(0,ec.tZ)("span",{...n,className:ew()(t," font-SquadaOne text-[2.5rem]"),children:"Crust Cloud"})});var n5=n(82775);let n3=eo.memo(e=>{let{onClose:t}=e,{connectAsync:n,connectors:a,data:i}=(0,nJ.$4)(),{switchNetworkAsync:r}=(0,nJ.g0)(),l=(0,eC.s0)(),s=ep(async()=>{try{let e=await (async()=>{let e=await nw()();if(e&&e.isMetaMask){await e.request({method:"eth_requestAccounts"});let t=new nZ.Web3Provider(e),n=t.getSigner(),a=await n.getChainId();if(eY.k0.has(a))return a}return console.warn("Cannot get chainId from provider or unsupported chain, use ".concat(eY.XL[0].id)),eY.XL[0].id})(),t=new n5.i({chains:[eY.k0.get(e)]});console.info("data:",i),console.info("cts:",a),(!i||i.chain.unsupported)&&r?await r(e):await n({chainId:e,connector:t}),l("/buckets")}catch(s){console.error(s)}}),c=ep(async()=>{try{await nV.connect(),l("/buckets")}catch(e){console.error(e)}});return(0,ec.BX)(t0,{outClick:t,children:[(0,ec.tZ)(t$,{title:"Connect Wallet",onClose:t}),(0,ec.BX)("div",{onClick:s,className:"bg-[#ececec] hover:bg-[#dfdfdf] h-14 mt-5 flex px-6 py-3 cursor-pointer justify-between items-center",children:[(0,ec.tZ)(tC,{className:" text-[1.75rem]"}),(0,ec.tZ)("div",{className:" text-black-1 text-sm",children:"MetaMask"}),(0,ec.tZ)("div",{className:" w-[1.75rem]"})]}),(0,ec.BX)("div",{onClick:c,className:"bg-[#ececec] hover:bg-[#dfdfdf] h-14 mt-5 flex px-6 py-3 cursor-pointer justify-between items-center",children:[(0,ec.tZ)(tM,{className:" text-[1.75rem]"}),(0,ec.tZ)("div",{className:" text-black-1 text-sm",children:"PeraWallet"}),(0,ec.tZ)("div",{className:" w-[1.75rem]"})]})]})});var n4=JSON.parse('[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"editionId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"capacityInGigabytes","type":"uint256"},{"indexed":false,"internalType":"address","name":"currency","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"BucketMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"editionId","type":"uint256"},{"indexed":true,"internalType":"address","name":"currency","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"EditionPriceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"editionId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"capacityInGigabytes","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"maxMintableSupply","type":"uint256"}],"name":"EditionUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"address","name":"currency","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EDITIONS_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EDITION_MAX_MINTABLE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EDITION_TOKEN_ID_FACTOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_EDITION_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_EDITION_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UPGRADER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"editionId","type":"uint256"}],"name":"getBucketEditionPrices","outputs":[{"components":[{"internalType":"address","name":"currency","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"}],"internalType":"struct BucketEditionUpgradable.EditionPrice[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"activeOnly","type":"bool"}],"name":"getBucketEditions","outputs":[{"components":[{"internalType":"uint256","name":"editionId","type":"uint256"},{"internalType":"bool","name":"active","type":"bool"},{"internalType":"uint256","name":"capacityInGigabytes","type":"uint256"},{"internalType":"uint256","name":"maxMintableSupply","type":"uint256"},{"internalType":"uint256","name":"currentSupplyMinted","type":"uint256"}],"internalType":"struct BucketEditionUpgradable.BucketEdition[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"editionId","type":"uint256"},{"internalType":"address","name":"currency","type":"address"},{"internalType":"string","name":"uri","type":"string"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"editionId","type":"uint256"},{"components":[{"internalType":"address","name":"currency","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"}],"internalType":"struct BucketEditionUpgradable.EditionPrice[]","name":"prices","type":"tuple[]"}],"name":"setBucketEditionPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"editionId","type":"uint256"},{"internalType":"uint256","name":"capacityInGigabytes","type":"uint256"},{"internalType":"uint256","name":"maxMintableSupply","type":"uint256"}],"internalType":"struct BucketEditionUpgradable.BucketEditionParams[]","name":"editions","type":"tuple[]"}],"name":"setBucketEditions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"currency","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]'),n6=JSON.parse('[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"editionId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"capacityInGigabytes","type":"uint256"},{"indexed":false,"internalType":"address","name":"currency","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"BucketMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"editionId","type":"uint256"},{"indexed":true,"internalType":"address","name":"currency","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"EditionPriceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"editionId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"capacityInGigabytes","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"maxMintableSupply","type":"uint256"}],"name":"EditionUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"address","name":"currency","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EDITIONS_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EDITION_MAX_MINTABLE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EDITION_TOKEN_ID_FACTOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_EDITION_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_EDITION_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UPGRADER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"editionId","type":"uint256"}],"name":"getBucketEditionPrices","outputs":[{"components":[{"internalType":"address","name":"currency","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"}],"internalType":"struct BucketEditionUpgradable.EditionPrice[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"activeOnly","type":"bool"}],"name":"getBucketEditions","outputs":[{"components":[{"internalType":"uint256","name":"editionId","type":"uint256"},{"internalType":"bool","name":"active","type":"bool"},{"internalType":"uint256","name":"capacityInGigabytes","type":"uint256"},{"internalType":"uint256","name":"maxMintableSupply","type":"uint256"},{"internalType":"uint256","name":"currentSupplyMinted","type":"uint256"}],"internalType":"struct BucketEditionUpgradable.BucketEdition[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"editionId","type":"uint256"},{"internalType":"address","name":"currency","type":"address"},{"internalType":"string","name":"uri","type":"string"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"editionId","type":"uint256"},{"components":[{"internalType":"address","name":"currency","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"}],"internalType":"struct BucketEditionUpgradable.EditionPrice[]","name":"prices","type":"tuple[]"}],"name":"setBucketEditionPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"editionId","type":"uint256"},{"internalType":"uint256","name":"capacityInGigabytes","type":"uint256"},{"internalType":"uint256","name":"maxMintableSupply","type":"uint256"}],"internalType":"struct BucketEditionUpgradable.BucketEditionParams[]","name":"editions","type":"tuple[]"}],"name":"setBucketEditions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"currency","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]');let n8=[];function n7(){let{chain:e}=(0,nJ.LN)(),t=e&&e.id,{address:n}=(0,nJ.mA)(),a=nV.isConnected();return t&&((0,eY._D)(t),n8=t===eV.c.arbitrumGoerli.id||t===eV.c.arbitrum.id?n4:n6),(0,eo.useMemo)(()=>n&&eY.k0.has(t)||a,[n,t,a])}var n9=n(60155),ae=n(62313);let at=eQ.TQ||eQ.Cg?"Claim your test version W3Bucket NFT and start your decentralized cloud storage experience on Crust Cloud testnet. To continue, please connect your Ethereum wallet and switch to Goerli testnet.":"W3Bucket runs on Ethereum mainnet. To start your decentralized cloud storage experience, please connect your Ethereum wallet.",an=eo.memo(e=>{let{menuId:t,children:n,...a}=e,{address:i}=(0,nJ.mA)(),{chain:r}=(0,nJ.LN)(),l=n7(),s=nV.isConnected();s&&(i="0x".concat(nV.account));let c=(0,eo.useMemo)(()=>[{id:1,icon:n0.QdO,text:"W3Buckets",path:"/buckets"},{id:2,icon:tT,text:"Settings",path:"/settings"},{id:3,icon:"cru-fo-homework",text:"Docs",url:"https://docs.crustcloud.io"}],[]),o=(0,eC.s0)(),[d,u]=(0,eo.useState)(!1);(0,eo.useEffect)(()=>{l&&u(!1)},[l]);let{disconnect:m}=(0,nJ.qL)(),p=ep(()=>{m(),localStorage.removeItem("for_mint"),localStorage.removeItem("auth"),localStorage.removeItem("for_upload"),nV.disconnect(),o("/buckets")}),y=(0,eo.useRef)(null),h=(0,ae.Z)(y);return(0,ec.tZ)("div",{...a,className:ew()(a.className," w-full h-screen min-h-max text-black-1"),children:(0,ec.BX)("div",{className:" w-full flex h-full",children:[(0,ec.BX)("div",{className:"h-full w-64 flex flex-col border-r-8 border-solid border-[#EEEEEE]",children:[(0,ec.BX)("div",{className:"my-8 flex items-center mx-auto",children:[(0,ec.tZ)(n2,{className:"text-black-1"}),l&&(0,ec.tZ)("div",{className:ew()(" ml-4 text-xs px-[0.39rem] py-[0.13rem] mb-[-0.42rem] text-white",eQ.TQ||eQ.Cg?"bg-gray-11":"bg-blue-2"),children:s?"Algorand":r.name.replace(" ","")})]}),(0,ec.tZ)("div",{className:"flex-1",children:c.map((e,n)=>(0,ec.BX)("div",{className:ew()(" pl-10 py-4 text-lg cursor-pointer ",{"bg-black-1":e.id===t,"text-white":e.id===t,"!text-gray-7 !bg-transparent":!l}),onClick(){l&&(e.path?o(e.path):e.url&&e$(e.url))},children:[(0,ec.tZ)(t_,{icon:l?e.icon:n9.gMo,className:" text-2xl inline-block align-middle"}),(0,ec.tZ)("span",{className:"ml-3 align-middle",children:e.text})]},"menu_".concat(n)))}),(0,ec.tZ)(ej,{ref:y,className:ew()("w-[12.8125rem] h-[3.375rem] text-lg self-end mx-auto mb-10",{" hidden":!l}),onClick:p,text:h?"Disconnect":eq(s?i.slice(2):i,6,6)})]}),l?n:(0,ec.BX)("div",{className:"flex-1 flex px-[15%] pt-[30vh] h-full flex-col items-center",children:[(0,ec.tZ)("div",{className:" text-xl text-black text-center",children:at}),(0,ec.tZ)(ej,{text:"Connect Wallet",className:"mt-8",onClick:()=>u(!0)})]}),d&&(0,ec.tZ)(n3,{onClose:()=>u(!1)})]})})});var aa=n(89211),ai=n(69293);let ar=eo.memo(function(e){let{text:t,dropData:n,onChange:a,className:i}=e,[r,l]=(0,aa.Z)(!1),s=(0,eo.useRef)();(0,ai.Z)(s,()=>r&&l(!1));let c=e=>{l(!1),a&&a(e)};return(0,ec.BX)("div",{className:"text-black relative",ref:s,children:[(0,ec.tZ)(ej,{className:"btn-173",text:t,onClick:()=>l(!r)}),r&&(0,ec.tZ)("ul",{className:"text-black absolute w-full bg-white mt-3 border-1 border-gray-300 top-10 left-0 p-2 text-sm",children:n&&n.length>0&&n.map((e,t)=>(0,ec.BX)("li",{onClick:()=>c(e.value),className:"h-10 cursor-pointer leading-10 hover:bg-zinc-200 px-2 flex items-center",children:[e.icon&&(0,ec.tZ)(t_,{icon:e.icon,className:"text-sm mr-3"}),e.text]},"dropdown".concat(t)))})]})}),al=eo.memo(function(e){let{text:t,status:n,className:a}=e;return(0,ec.BX)("div",{className:ew()("flex items-center text-sm text-black border-1 h-14 w-full px-5","success"===n?"border-[#32CB9D] bg-green-50":"border-[#EF4C56] bg-rose-50"),children:[(0,ec.tZ)(t_,{icon:"success"===n?t1.mny:t1.LHV,className:ew()("text-xl mr-3","success"===n?"text-[#32CB9D]":"text-[#EF4C56]")}),(0,ec.tZ)("span",{children:t})]})});function as(){let{store:{currentGateway:e},oUpdate:t}=ex(),n=(0,eo.useMemo)(()=>e||function(){let e=localStorage.getItem("last_gateway"),t=eY.gi.find(t=>t.value===e);return(console.info("last-:",t),t)?t:eY.gi[0]}(),[e]),a=ep(e=>{t({currentGateway:e}),localStorage.setItem("last_gateway",e.value)});return{list:eY.gi,setCurrent:a,current:n}}function ac(e){let{total:t,pgSize:n,pgNum:a,onChange:i,className:r}=e,l=Math.ceil(t/n),s=(0,eo.useMemo)(()=>l<=1?[]:l<=6?eF().range(l).map(e=>({name:"".concat(e+1)})):a<=3?eF().range(a+1).map(e=>({name:"".concat(e+1)})).concat([{name:"..."},{name:""+l}]):a>=l-2?[{name:"1"},{name:"..."}].concat(eF().range(a-2,l).map(e=>({name:"".concat(e+1)}))):(console.log([{name:"1"},{name:"..."},{name:a-1+""},{name:a+""},{name:a+1+""},{name:"..."},{name:l+""}]),[{name:"1"},{name:"..."},{name:a-1+""},{name:a+""},{name:a+1+""},{name:"..."},{name:l+""}]),[l,a]),c=()=>{i&&a{i&&a>1&&i(eF().toNumber(a-1))};return(0,ec.tZ)("div",{className:ew()("flex justify-center text-gray-400 text-sm mt-5",r),children:(0,ec.BX)("div",{className:"flex",children:[l>1&&(0,ec.tZ)("span",{onClick:o,className:"mr-8 cursor-pointer",children:"<"}),s.map((e,t)=>(0,ec.tZ)("div",{className:ew()({"text-black":e.name===""+a,omit:"..."===e.name},"mr-8 cursor-pointer"),onClick(){i&&"..."!==e.name&&i(eF().toNumber(e.name))},children:e.name},"key_page_".concat(t))),l>1&&(0,ec.tZ)("span",{onClick:c,className:"cursor-pointer",children:">"})]})})}var ao=n(69845),ad=n(24762),au=n(20640),am=n.n(au);function ap(e){let t="https://api.crustcloud.io";return eQ.TQ&&(t="https://beta-api.crustcloud.io"),eQ.Cg&&(t="https://test-api.crustcloud.io"),"".concat(t).concat(e)}function ay(e){let t="https://pin.crustcloud.io";return eQ.TQ&&(t="https://beta-pin.crustcloud.io"),eQ.Cg&&(t="https://test-pin.crustcloud.io"),"".concat(t).concat(e)}function ah(e){if(200===e.data.code)return e.data.data;throw{_type:"ResError",...e.data}}var af=n(81338),ag=new af.default.Algodv2(eY.GG,eY.EH);let ab=()=>{let{bucketId:e}=(0,eC.UO)(),t=(0,eC.s0)(),n="\n**Upload**\xa0file with the standard\xa0[IPFS API](https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-add)\xa0and get the CID:\n\n~~~bash\ncurl -X POST 'https:///api/v0/add?pin=true' --header 'Authorization: Bearer ' --form 'path=@\"\"'\n~~~\n\n**Pin**\xa0the CID with the standard\xa0[IPFS Pinning Service API](https://ipfs.github.io/pinning-services-api-spec/#operation/addPin):\n\n~~~bash\ncurl -X POST '".concat(ay("/psa/pins"),'\' --header \'Authorization: Bearer \' --data-raw \'{\n "cid": "",\n "name": ""\n}\'\n~~~\n');return(0,ec.BX)(ec.HY,{children:[(0,ec.BX)("div",{className:"sticky top-0 bg-white px-8 pt-16 flex items-center pb-5 mb-2 min-w-[62rem]",children:[(0,ec.tZ)(t_,{icon:n0.QdO,className:"text-xl mr-2"}),(0,ec.tZ)("span",{className:"mr-2 cursor-pointer",onClick(){t("/buckets")},children:"W3Buckets"}),(0,ec.tZ)(t_,{icon:n1.Tfp,className:"mr-2"}),(0,ec.tZ)("span",{children:"W3BUCKET(".concat(e,")")})]}),(0,ec.tZ)("div",{className:"px-8 pb-8 text-lg border-b-8 border-solid border-[#eeeeee] min-w-[62rem]",children:(0,ec.BX)("div",{className:" border border-black-1 border-solid px-8 pt-6 pb-5",children:[(0,ec.tZ)("div",{className:" text-xl font-medium",children:"Guidance on Storage"}),(0,ec.tZ)("div",{className:" my-4",children:"Files can be uploaded and decentralized pinned to IPFS by using this web interface, or by CLI as shown in the curl sample below."}),(0,ec.tZ)(nz,{code:n}),(0,ec.tZ)("div",{className:" mt-8 text-xl font-medium",children:"Get more references"}),(0,ec.BX)("div",{className:" mt-4 flex flex-wrap",children:[(0,ec.tZ)("a",{className:" underline text-black-1 mr-5",target:"_blank",href:"https://docs.crustcloud.io/w3bucket/aboutnft",children:"General Guidance on W3Bucket"}),(0,ec.tZ)("a",{className:" underline text-black-1 mr-5",target:"_blank",href:"https://docs.crustcloud.io/w3bucket/uploadfile",children:"Using APIs and W3Auth"})]})]})})]})},av=e=>new Promise((t,n)=>{let a=localStorage.getItem(e+"_files");a?t(JSON.parse(a)):n()}),ax=(e,t)=>new Promise(n=>{t&&localStorage.setItem(e+"_files",JSON.stringify(t)),n(!0)}),aA=eo.memo(()=>{let{bucketId:e,ipnsId:t}=(0,eC.UO)(),[,n]=(0,eo.useMemo)(()=>e1(e),[e]),a=(0,eo.useRef)(null),i=(0,eo.useRef)(null),[r,l]=(0,eo.useState)({progress:0,status:"stop",errorMsg:""}),[s,c]=(0,eo.useState)(1),[o,d]=(0,eo.useState)(""),[u,m]=(0,eo.useState)(""),[p,y]=(0,eo.useState)([]),h=ta(),[f,g]=(0,eo.useState)(null),[b]=nq("for_upload",!1,1),[v]=n$(),x=(0,eC.s0)(),{address:A}=(0,nJ.mA)(),w=nV.isConnected();(0,eo.useMemo)(()=>{x("/buckets")},[A]),(0,tk.tf)(()=>{av(e).then(e=>{y(e)}).catch(()=>{y([])})}),(0,ao.Z)(async()=>{if(w)try{let e=await ag.accountAssetInformation(nV.account,parseInt(n)).do();e&&e["asset-holding"]&&0!==e["asset-holding"].amount||x("/buckets")}catch(t){console.error(t)}},[n,w]);let{current:Z}=as(),{value:k}=(0,ao.Z)(async()=>{let e=await e9.Z.request({method:"POST",params:{arg:t},url:"".concat(Z.value,"/api/v0/name/resolve")}),n=await e9.Z.request({url:"".concat(Z.value).concat(e.data.Path)});return n.data},[t]),{value:N}=(0,ao.Z)(async()=>{let e=await v(),n=await e9.Z.request({headers:{Authorization:"Bearer ".concat(e)},method:"GET",url:ap("/auth/bucket/".concat(t))});return n.data.data},[t]),{fFiles:T,total:I}=(0,eo.useMemo)(()=>{let e=[];p&&(e=p);let t=eF().filter(e,e=>e.name.indexOf(u.trim())>-1);t=t.sort(function(e,t){return t.createTime-e.createTime});let n=eF().chunk(t,10),a=t.length;return{fFiles:n,total:a}},[u,p]);(0,eo.useEffect)(()=>{ad.Z.rebuild()},[p,T]),(0,eo.useMemo)(()=>{p&&p.length>0&&ax(e,p)},[p]),(0,eo.useMemo)(()=>{if(k&&k.length){if(p){p.map(e=>{for(let t=0;t!t.has(e.cid)&&t.set(e.cid,1)))}else y(k)}},[k]);let C=()=>{a.current.value="",i.current.value=""},B=e=>{let t=e.target.files,a=0;if(!t.length)return!1;let i=!0;for(let r=0;r64){h.error("The file name cannot exceed 64 characters."),C(),i=!1;break}if(N){let{maxStorageSize:s,usedStorageSize:c}=N;if(a>s-c)return h.error("No enough space for this file/folder!"),C(),!1}if(!i)return!1;b(n).then(async e=>{try{let n=0,i=e9.Z.CancelToken.source();g(i),l({progress:0,status:"upload",errorMsg:""});let r=new FormData;if(1===t.length)r.append("file",t[0],t[0].name);else if(t.length>1){for(let s of t)r.append("file",s,s._webkitRelativePath||s.webkitRelativePath);n=1}C();let c=await tt({cancelToken:i.token,data:r,endpoint:Z.value,authBasic:"Bearer ".concat(e),onProgress(e){l({progress:Math.round(99*e),status:"upload",errorMsg:""})}});g(null);let o="",d="";if("string"==typeof c){let u=c.replaceAll("}\n{","},{"),m=JSON.parse("[".concat(u,"]")),h=m.length-1;o=m[h].Hash,d=m[h].Name}else o=c.Hash,d=c.Name;if(!o||!d)return l({progress:0,status:"fail",errorMsg:""}),!1;let f=await e9.Z.request({data:{cid:o,name:d,meta:{gatewayId:1}},cancelToken:i.token,headers:{Authorization:"Bearer ".concat(e)},method:"POST",url:ay("/psa/pins")}),{error:b}=f.data;if(b)return l({progress:0,status:"fail",errorMsg:b.details?b.details:""}),!1;l({progress:100,status:"success",errorMsg:""}),y(p.concat([{name:d,cid:o,fileSize:a,fileType:n,createTime:eJ()().format("X").valueOf(),isNew:!0}]))}catch(v){throw console.error(v),v}}).catch(e=>{console.log(e.toString()),C()})},M=e=>{"file"===e?a.current.click():"folder"===e&&i.current.click()},S=()=>{m(o)},E=e=>{let t=window.event||e;13==t.keyCode&&S()},X=()=>{"upload"===r.status&&f&&(f.cancel("stop"),g(null)),l({progress:0,status:"stop",errorMsg:""})};return(0,ec.BX)(an,{menuId:1,children:[(0,ec.tZ)("div",{className:"flex-1 h-full overflow-y-auto",children:(0,ec.BX)("div",{className:"relative",children:[(0,ec.tZ)(ab,{}),(0,ec.BX)("div",{className:"p-8 flex-1 text-lg v-full flex flex-col min-w-[62rem]",children:[(0,ec.BX)("div",{className:"sticky top-[6.5rem] bg-white w-full flex items-center z-10",children:[(0,ec.tZ)(ar,{dropData:[{text:"File",icon:n1.tHe,value:"file"},{text:"Folder",icon:n1.QoU,value:"folder"}],text:"Upload",onChange:M}),(0,ec.tZ)("input",{ref:a,type:"file",hidden:!0,onChange:B}),(0,ec.tZ)("input",{ref:i,type:"file",hidden:!0,webkitdirectory:"",directory:!0,onChange:B}),(0,ec.tZ)("span",{className:"ml-5",children:"Thunder Gateway Seattle, US"}),(0,ec.tZ)("div",{className:"flex-1"}),(0,ec.BX)("div",{className:"relative w-1/2 h-12 max-w-sm border-solid border-black-1 border rounded overflow-hidden",children:[(0,ec.tZ)("input",{className:"w-full h-full pl-5 pr-10 active:border-0",onKeyDown:E,onChange:e=>d(e.target.value)}),(0,ec.tZ)(t_,{icon:n1.jRj,className:"text-2xl absolute top-[0.7rem] right-2 cursor-pointer",onClick:S})]})]}),(0,ec.BX)("div",{className:"sticky top-36 bg-white py-4 flex items-center font-medium border-b-1 border-solid border-b-black-1 pt-5",children:[(0,ec.tZ)("div",{className:"flex-initial w-[25%] md:w-[20%] pl-3",children:"File Name"}),(0,ec.tZ)("div",{className:"flex-initial w-[20%] md:w-[25%]",children:"CID"}),(0,ec.tZ)("div",{className:"flex-initial w-[30%]",children:"Link"}),(0,ec.tZ)("div",{className:"flex-initial w-[10%]",children:"File Size"}),(0,ec.tZ)("div",{className:"flex-initial w-[15%]",children:"TimeStamp"})]}),(0,ec.tZ)("div",{className:" text-sm text-gray-6",children:T&&T[s-1]&&T[s-1].map((e,t)=>(0,ec.BX)("div",{className:ew()("flex items-center pt-4 pb-8",e.isNew?"text-gray-300":""),children:[(0,ec.tZ)("div",{className:"flex-initial w-[25%] md:w-[20%] pl-3",children:(0,ec.BX)("div",{className:"flex items-center pr-8",children:[(0,ec.tZ)("span",{className:"truncate","data-tip":e.name.length>20?e.name:"",children:e.name}),1===e.fileType&&(0,ec.tZ)(t_,{className:"ml-2 min-w-[14px]",icon:n1.QoU})]})}),(0,ec.tZ)("div",{className:"flex-initial w-[20%] md:w-[25%]",children:(0,ec.tZ)("span",{"data-tip":e.cid,"data-for":"cidColumn",children:eq(e.cid,10,10)})}),(0,ec.tZ)("div",{className:"flex-initial w-[30%] truncate pr-8","data-for":"linkColumn","data-tip":"".concat(eY.HE,"/ipfs/").concat(e.cid),children:"".concat(eY.HE,"/ipfs/").concat(e.cid)}),(0,ec.tZ)("div",{className:"flex-initial w-[10%]",children:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(!+e)return"0 B";let n=Math.floor(Math.log(e)/Math.log(1024));return"".concat(parseFloat((e/Math.pow(1024,n)).toFixed(t<0?0:t))," ").concat(["B","KB","MB","GB","TB","PB","EB","ZB","YB"][n])}(e.fileSize)}),(0,ec.tZ)("div",{className:"flex-initial w-[15%] text-gray-6",children:e.isNew?(0,ec.tZ)("span",{"data-tip":"The ".concat(0===e.fileType?"file":"folder"," has been successfully uploaded to your bucket. It takes several minutes to finalize the decentralized storage and IPNS update processes."),children:(0,ec.tZ)(t_,{icon:n0.kjE})}):eJ()(1e3*e.createTime).format("YYYY-MM-DD HH:mm:ss")})]},"files_".concat(t)))}),(0,ec.tZ)(ac,{total:I,pgSize:10,pgNum:s,onChange(e){c(e)}})]})]})}),"stop"!==r.status&&(0,ec.BX)(t0,{children:[(0,ec.tZ)(t$,{title:"Upload File",onClose:X}),(0,ec.BX)("div",{className:"bg-white mt-5 flex py-3 cursor-pointer justify-between items-center h-20",children:["upload"===r.status&&(0,ec.tZ)(eR,{value:r.progress}),"success"===r.status&&(0,ec.tZ)(al,{text:"Upload successful",status:r.status}),"fail"===r.status&&(0,ec.tZ)(al,{text:r.errorMsg?r.errorMsg:"Upload fail",status:r.status}),"cancel"===r.status&&(0,ec.tZ)(al,{text:"Upload cancel",status:"fail"})]})]}),(0,ec.tZ)(ad.Z,{id:"cidColumn",effect:"solid",isCapture:!0,delayHide:250,clickable:!0,getContent:e=>(0,ec.tZ)("div",{className:"flex items-center",children:(0,ec.BX)("div",{className:"inline-block w-[13rem] break-words",children:[e,(0,ec.tZ)(t_,{className:"ml-2 cursor-pointer inline-block",onClick(){am()(e),h.success("copy success")},icon:n1.C3L})]})})}),(0,ec.tZ)(ad.Z,{id:"linkColumn",effect:"solid",isCapture:!0,delayHide:250,clickable:!0,getContent:e=>(0,ec.tZ)("div",{className:"flex items-center",children:(0,ec.BX)("div",{className:"inline-block w-[15rem] break-words",children:[e,(0,ec.tZ)(t_,{className:"ml-2 cursor-pointer inline-block",onClick(){am()(e),h.success("copy success")},icon:n1.C3L})]})})})]})}),aw=eo.memo(e=>{let{text:t="Empty",empty_attr:n={},text_attr:a={},...i}=e;return(0,ec.BX)("div",{...i,className:ew()(i.className,"text-gray-7 flex flex-col items-center"),children:[(0,ec.tZ)(tE,{...n,className:ew()(" text-8xl",null==n?void 0:n.className)}),!!t&&(0,ec.tZ)("div",{...a,className:ew()(" text-2xl",a.className),children:t})]})}),aZ=eo.memo(e=>{var t,n,a,i;let{data:r,className:l}=e,{chain:s}=(0,nJ.LN)(),c=(0,eC.s0)(),o=nV.isConnected(),d=(0,eo.useMemo)(()=>r.maxStorageSize/1024/1024/1024,[r]),u=(0,eo.useMemo)(()=>e4(d),[d]),m=(0,eo.useMemo)(()=>e4(r.usedStorageSize/1024/1024/1024,2),[r]),p=(0,eo.useMemo)(()=>e2(d,r.tokenId),[r,d]),y=()=>{c("/bucket/".concat(p,"/").concat(r.ipnsId))};return(0,ec.BX)("div",{className:ew()("h-min p-5 md:p-2 border border-solid border-black-1",l),children:[(0,ec.tZ)("img",{className:"w-full aspect-[360/531] object-contain",src:e6(r.metadata.image.replace("ipfs://",""))}),(0,ec.tZ)("div",{className:" text-lg font-semibold mt-[0.625rem] truncate",children:"W3BUCKET(".concat(p,")")}),(0,ec.BX)("div",{className:"flex text-sm my-[2px] justify-between",children:[(0,ec.tZ)("div",{children:"Current Usage"}),(0,ec.BX)("div",{children:[(0,ec.tZ)("span",{className:"text-orange-15",children:m}),"/",u]})]}),(0,ec.BX)("div",{className:"flex text-sm my-[2px] justify-between",children:[(0,ec.tZ)("div",{children:"Files"}),(0,ec.tZ)("div",{children:"".concat(r.fileCount," Files")})]}),(0,ec.BX)("div",{className:"flex text-sm my-[2px] justify-between",children:[(0,ec.tZ)("div",{children:"Created"}),(0,ec.tZ)("div",{children:eJ()(1e3*r.mintTimestamp).format("YYYY-MM-DD")})]}),(0,ec.BX)("div",{className:"flex text-xs my-2 justify-between",children:[(0,ec.tZ)("a",{className:" text-blue-3",target:"_blank",href:(t=r.ipnsId,"".concat(eY.gi[0].value,"/ipns/").concat(t)),children:"IPNS Link"}),(0,ec.tZ)("a",{className:" text-blue-3",target:"_blank",href:o?(n=eY.fL,"".concat(eY.sr,"/address/").concat(n)):(a=s.id,i=eY.Jh,"".concat(e3(a),"/address/").concat(i)),children:"View NFT Contract"}),(0,ec.tZ)("a",{className:" text-blue-3",target:"_blank",href:e6(r.metadataCid),children:"View Metadata"})]}),(0,ec.tZ)(ej,{onClick:y,className:"!w-full mt-[2px] text-lg !py-1",text:"Enter W3Bucket"})]})}),ak=eo.memo(()=>{let e=n7(),t=nV.isConnected(),{address:n}=(0,nJ.mA)(),[a]=n$(),{value:i,loading:r}=(0,ao.Z)(async()=>{if((!e||!n)&&!t)return[];let i=await a(),r=await e9.Z.get(ap("/auth/bucket/list"),{headers:{Authorization:"Bearer ".concat(i)}});return ah(r).sort(function(e,t){return t.mintTimestamp-e.mintTimestamp})},[e,t,n]),l=(0,eC.s0)(),s=(0,eo.useCallback)(()=>l("/mint"),[l]);return(0,ec.tZ)(an,{menuId:1,children:(0,ec.BX)("div",{className:"flex-1 h-full overflow-y-auto",children:[(0,ec.BX)("div",{className:"px-8 relative pb-8",children:[(0,ec.BX)("div",{className:"sticky top-0 pt-10 bg-white ",children:[(0,ec.BX)("div",{className:" w-full flex justify-between pb-5 whitespace-nowrap ",children:[(0,ec.BX)("div",{className:" inline-block text-2xl self-center font-medium h-min",children:["Your W3Buckets(",(null==i?void 0:i.length)||0,")"]}),(0,ec.tZ)(ej,{className:"whitespace-nowrap w-max",text:"Mint a New W3Bucket",onClick:s})]}),(0,ec.tZ)("div",{className:"h-5 border-t-1 border-solid border-black-1"})]}),i&&!r&&(0,ec.tZ)("div",{className:ew()("w-full overflow-y-auto gap-5 grid grid-cols-[repeat(auto-fill,_minmax(305px,_1fr))]",i.length<3?"grid-cols-[repeat(auto-fill,_minmax(310px,310px))]":""),children:i.map((e,t)=>(0,ec.tZ)(aZ,{data:e},"bucket_".concat(t)))})]}),!r&&1>(0,eH.size)(i)&&(0,ec.tZ)(aw,{text:"No Buckets",className:" h-[calc(100%_-_11rem)] justify-center"}),r&&(0,ec.tZ)(eN,{className:" h-[calc(100%_-_11rem)] justify-center"})]})})});function aN(e){return(0,ec.tZ)("svg",{width:"1em",height:"1em",viewBox:"0 0 11 9",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,ec.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.4496 2.29301C10.8401 1.90248 10.8401 1.26932 10.4496 0.878796C10.0591 0.488271 9.42591 0.488271 9.03538 0.878796L4.08564 5.82854L1.96432 3.70722C1.57379 3.3167 0.940626 3.3167 0.550102 3.70722C0.159577 4.09775 0.159577 4.73091 0.550102 5.12144L3.37853 7.94986C3.76905 8.34039 4.40222 8.34039 4.79274 7.94986L10.4496 2.29301Z"})})}let aT=eo.memo(e=>{let{finish:t,active:n,text:a,type:i}=e;return(0,ec.BX)("div",{className:" flex-1",children:[(0,ec.BX)("div",{className:"flex items-center",children:[(0,ec.tZ)("div",{className:ew()(" flex-1 h-[2px] ",{"bg-orange-15":(n||t)&&"left"!==i,"bg-gray-16":!(n||t)&&"left"!==i})}),(0,ec.tZ)("div",{className:ew()(" w-4 h-4 rounded-lg bg-white flex items-center justify-center",{" !bg-orange-15":n||t}),children:t?(0,ec.tZ)(aN,{className:"text-xs relative text-white"}):(0,ec.tZ)("div",{className:ew()(" w-2 h-2 rounded bg-gray-16",{" !bg-white":n})})}),(0,ec.tZ)("div",{className:ew()(" flex-1 h-[2px] ",{"bg-orange-15":t&&"right"!==i,"bg-gray-16":!t&&"right"!==i})})]}),(0,ec.tZ)("div",{className:ew()("text-center text-gray-8 mt-2",{" !text-orange-15":n}),children:a})]})}),aI=eo.memo(e=>{let{data:t,current:n}=e;return(0,ec.tZ)("div",{className:" flex",children:t.map((e,a)=>(0,ec.tZ)(aT,{text:e,type:0===a?"left":a===t.length-1?"right":"mid",finish:a{n?t({mintData:aC}):t(t=>{let{mintData:n}=t;return{mintData:{...n||aC,..."function"==typeof e?e(n):e}}})},[t]);return(0,eo.useMemo)(()=>[e,n],[e,n])}function aM(e){return e.map(e=>e.fmtPrice+" "+e.symbol).join(" or ")}let aS=eo.memo(e=>{let{editions:t,onNext:n}=e,{chain:a}=(0,nJ.LN)(),i=a&&a.id;nV.isConnected()&&(i=eY.pg);let[r,l]=aB();(0,eo.useEffect)(()=>{void 0===r.editionId&&t.length&&l({chainId:i,editionId:t[0].id,price:t[0].prices[0]})},[r,l,t]);let s=r.editionId,c=(0,eo.useMemo)(()=>t.find(e=>e.id===s),[t,s]);return(0,ec.BX)("div",{className:" px-10 pt-9",children:[(0,ec.BX)("div",{className:" text-2xl",children:["Now you are starting to mint a new W3Bucket!",(0,ec.tZ)("br",{}),"First, choose your preferred bucket type:"]}),(0,ec.tZ)(ej,{text:"W3Bucket",disHover:!0,className:" !border-2 !border-orange-15 !text-orange-15 text-2xl py-[9px] !w-[11.25rem] mt-5"}),(0,ec.tZ)("div",{className:" text-2xl mt-12",children:"Select your preferred bucket size:"}),(0,ec.tZ)("div",{className:"flex items-center mt-5",children:t.map((e,t)=>(0,ec.BX)("div",{className:ew()("mr-4 text-center"),children:[(0,ec.tZ)(ej,{text:e4(e.capacityInGb),disHover:e.id===s,className:ew()(" font-medium !border-2 text-2xl mt-5 !w-[11.25rem] py-[9px] cursor-pointer",{"!border-orange-15 !text-orange-15":e.id===s}),onClick(){l({chainId:i,editionId:e.id,price:e.prices[0]})}}),(0,ec.tZ)("span",{className:" whitespace-nowrap text-sm mt-2 font-light",children:"".concat(aM(e.prices))})]},"editions_".concat(t)))}),c&&(0,ec.BX)("div",{className:" text-2xl mt-12",children:["Your W3Bucket NFT to be minted:"," ",(0,ec.tZ)("span",{className:" text-orange-15",children:"W3Bucket"}),","," ",(0,ec.tZ)("span",{className:" text-orange-15",children:e4(c.capacityInGb)}),(0,ec.tZ)("br",{}),"Payable: ",aM(c.prices)]}),(0,ec.tZ)(ej,{text:"Next Step",className:"mt-12 text-lg !w-[11.25rem] !h-[3.375rem]",onClick(){console.info("click:"),n()},disabled:!c})]})});var aE=n(61501);let aX=["A-b1","A1","A2"],aO=eo.memo(e=>{let{type:t,value:n,...a}=e;return n?(0,ec.BX)("div",{...a,children:["A1"===t&&(0,ec.tZ)(aE.QRNormal,{value:n}),"A2"===t&&(0,ec.tZ)(aE.QRNormal,{value:n,type:"round",posType:"round"}),"A3"===t&&(0,ec.tZ)(aE.QRNormal,{value:n,type:"rand",posType:"planet"}),"A-a1"===t&&(0,ec.tZ)(aE.QRLine,{value:n,direction:"h-v",posType:"roundRect"}),"A-a2"===t&&(0,ec.tZ)(aE.QRLine,{value:n,direction:"cross",posType:"rect"}),"A-b1"===t&&(0,ec.tZ)(aE.QRFunc,{value:n,type:"round",posType:"round"}),"A-b2"===t&&(0,ec.tZ)(aE.QRFunc,{value:n,type:"round",posType:"round",funcType:"B"}),"C1"===t&&(0,ec.tZ)(aE.QRImage,{value:n,size:150}),"C2"===t&&(0,ec.tZ)(aE.QRResImage,{value:n,alignType:"bw",timingType:"bw"}),"SP-1"===t&&(0,ec.tZ)(aE.QRDsj,{value:n}),"SP-2"===t&&(0,ec.tZ)(aE.QRRandRect,{value:n}),"SP-3"===t&&(0,ec.tZ)(aE.QRBubble,{value:n})]}):null}),aj={gray:["#EEEEEE","#FFFFFF","#131521"],yellow:["#FFDC5E","#E9C132","#131521"],red:["#FF6B81","#F4526A","#131521"],purple:["#B073EF","#925DC8","#FFFFFF"],green:["#27C282","#1EA966","#FFFFFF"],blue:["#58AEFF","#3895EB","#FFFFFF"]},aP=eo.memo(eo.forwardRef((e,t)=>{let{size:n}=e,[{color:a,qrcode:i,ipns:r}]=aB(),[l,s,c]=aj[a];return(0,ec.BX)("div",{ref:t,id:"generate_bucket_image",className:" w-[22.5rem] h-[33.1875rem] relative p-6 flex flex-col justify-between",style:{backgroundColor:l},children:[(0,ec.BX)("div",{className:"flex items-center",style:{color:c},children:[(0,ec.tZ)("div",{className:"p-[3px] overflow-hidden rounded-xl",style:{backgroundColor:s},children:(0,ec.tZ)(tE,{style:{fontSize:"2.1875rem"}})}),(0,ec.tZ)("span",{className:" font-Roboto text-3xl font-medium ml-[0.625rem]",children:"W3BUCKET"})]}),r?(0,ec.tZ)(n0.gHS,{className:" text-[18.75rem]",style:{color:s}}):(0,ec.tZ)(n0.QdO,{className:" text-[18.75rem]",style:{color:s}}),(0,ec.tZ)("div",{className:" font-bold text-end",style:{color:c},children:e4(n)}),(0,ec.tZ)(aO,{value:r,type:i,className:" w-[11.5rem] h-[11.5rem] absolute left-[5rem] bottom-[7.4rem]"})]})}));var aW=n(46293),aL=n(48764).Buffer;function aR(e){let{ipns:t,onContinue:n}=e,[a,i]=(0,eo.useState)(!1);return(0,ec.BX)("div",{className:"pl-12 flex-1 break-words",children:[(0,ec.BX)("div",{className:"p-8 border-solid border-black-1 border flex flex-col",children:[(0,ec.tZ)("div",{className:" font-medium text-xl mb-4",children:"Tip:"}),(0,ec.BX)("div",{className:"text-lg",children:["This is the QR Code of the"," ",(0,ec.tZ)("span",{className:"font-semibold",children:"IPNS name"})," for this W3Bucket. This IPNS name is a ",(0,ec.tZ)("span",{className:"font-semibold",children:"unique"})," and"," ",(0,ec.tZ)("span",{className:"font-semibold",children:"immutable"})," identifier on IPFS that ",(0,ec.tZ)("span",{className:"font-semibold",children:"permanently"})," points to the storage history (a .json file, also acts as the list of the bucket storage) of this W3Bucket."]}),(0,ec.tZ)("div",{className:"text-lg mt-7",children:"You can always fetch the storage history via any IPFS gateway or IPFS node."}),(0,ec.tZ)(ej,{text:"Got it",className:" mt-8 !w-[8.25rem] h-11 self-center",onClick:()=>i(!0)})]}),a&&(0,ec.BX)("div",{className:" mt-10 text-lg flex flex-col",children:[(0,ec.tZ)("div",{className:" break-all text-center",children:t}),(0,ec.tZ)("div",{className:" font-medium text-center",children:"The IPNS name for this W3Bucket has successfully generated and published to IPFS."}),(0,ec.tZ)(ej,{text:"Continue",className:" mt-6 !w-[8.25rem] h-11 self-center",onClick:n})]})]})}function aY(e){let t=eF().keys(aj),{onContinue:n}=e,[a,i]=aB();return(0,ec.BX)("div",{className:"px-20 flex-1 flex flex-col justify-center",children:[(0,ec.BX)("div",{className:"flex",children:[(0,ec.tZ)("div",{className:" whitespace-nowrap mr-10 mt-3",children:"Background Color"}),(0,ec.tZ)("div",{className:" flex flex-wrap items-center",children:t.map(e=>(0,ec.tZ)("div",{style:{backgroundColor:aj[e][0]},onClick:()=>i({color:e}),className:ew()("rounded-xl w-5 h-5 overflow-hidden cursor-pointer mr-[1.875rem] my-4",{"border-solid border-orange-15 border":a.color===e})},"mint_colors_".concat(e)))})]}),(0,ec.BX)("div",{className:"flex mt-8",children:[(0,ec.tZ)("div",{className:" mr-16 whitespace-nowrap",children:"QR Code Style"}),(0,ec.tZ)("div",{className:"flex items-center flex-wrap",children:aX.map(e=>(0,ec.tZ)("span",{onClick:()=>i({qrcode:e}),className:ew()(" whitespace-nowrap rounded-md px-2 py-1 overflow-hidden cursor-pointer mr-[1rem] bg-slate-50",{"border-solid border-orange-15 border":a.qrcode===e}),children:e},"mint_colors_".concat(e)))})]}),(0,ec.tZ)(ej,{text:"Continue",className:" mt-16 !w-[11.25rem] !py-3 self-center",onClick:n})]})}function aD(e){let{data:[t,n]}=e;return(0,ec.BX)(ec.HY,{children:[(0,ec.BX)("div",{className:" text-sm mt-4",children:[t,":"]}),(0,ec.tZ)("div",{className:" text-sm text-gray-7",children:n})]})}function az(e){let{onContinue:t}=e,[n,a]=aB(),[i,r]=em(!1),[l]=n_(),[,s]=ey(),c=ed(),o=ep(async()=>{i||s(async()=>{try{r(!0),await e5(100);let e=document.getElementById("generate_bucket_image");if(!e)return r(!1);let t=await l(),i=await (0,aW.SE)(e),s=new FormData;s.append("file",i,"bucket_image.png");let o=await tt({data:s}),d=await i.arrayBuffer(),u=aL.from(d),m=e7(u);await tn(o.Hash,"bucket_image.png");let p=await e9.Z.post(ap("/auth/bucket/metadata/generate"),{uuid:n.uuid,cid:o.Hash,imageIntegrity:m},{headers:{Authorization:"Bearer ".concat(t)}}),y="success"===p.data.message;if(!y)throw p.data.message;let h=null;for(;c.safe&&(await e5(1e4),!(h=await e9.Z.get(ap("/auth/bucket/uuid/".concat(n.uuid)),{headers:{Authorization:"Bearer ".concat(t)}}).then(ah).catch(()=>null))||!h.metadataTxHash););if(!c.safe)return;a({metadata:h.metadata,metadataCID:h.metadataCid,metadataTX:h.metadataTxHash})}catch(f){console.error(f)}r(!1)})}),[d,u]=em(!1);return(0,ec.BX)(ec.HY,{children:[!n.metadata&&!i&&(0,ec.BX)("div",{className:"px-12 flex-1 flex flex-col items-center justify-center",children:[(0,ec.tZ)("div",{className:" text-2xl text-center",children:"The metadata file (including this profile image) for your W3Bucket NFT has been fully generated. Click the Continue button to process decentralized storage for the metadata."}),(0,ec.tZ)(ej,{text:"Continue",className:" mt-8 !w-[11.25rem] !py-3 self-center",onClick:o})]}),i&&(0,ec.tZ)(eN,{className:"px-12 flex-1 justify-center",text:"The NFT metadata is being decentralized stored and it will be the very first file stored in this W3Bucket! Please wait..."}),n.metadata&&!i&&(0,ec.BX)("div",{className:"px-12 flex-1 flex flex-col items-center",children:[(0,ec.BX)("div",{className:"p-8 w-full border-solid border-black-1 border flex flex-col",children:[(0,ec.tZ)("div",{className:" font-medium text-xl mb-4",children:"Tip:"}),(0,ec.BX)("div",{className:"flex",children:[(0,ec.BX)("div",{className:"flex-1 mr-8",children:[(0,ec.tZ)("div",{className:"font-semibold text-lg",children:"NFT Metadata.json file"}),(0,ec.tZ)(aD,{data:["IPFS CID",eq(n.metadataCID,10,10)]}),(0,ec.tZ)(aD,{data:["Crust Network Storage Order TXID",eq(n.metadataTX,10,10)]}),(0,ec.tZ)(aD,{data:["IPNS",eq(n.ipns,10,10)]}),(0,ec.tZ)(aD,{data:["Storage Protocol","Crust"]})]}),(0,ec.BX)("div",{className:"flex-1",children:[(0,ec.tZ)("div",{className:"font-semibold text-lg",children:"NFT profile image"}),(0,ec.tZ)(aD,{data:["IPFS CID",eq(n.metadata.image.replace("ipfs://",""),10,10)]}),(0,ec.tZ)(aD,{data:["Crust Network Storage Order TXID",eq(n.metadata.dStorage.dstorage_note,10,10)]}),(0,ec.tZ)("div",{className:" text-sm font-medium mt-6",children:"You can check them later in the W3Bucket description information."}),(0,ec.tZ)(ej,{text:"Got it",className:" mt-3 !w-[8.25rem] h-11 self-center",onClick:()=>u(!0)})]})]})]}),d&&(0,ec.BX)("div",{className:" mt-10 text-lg flex flex-col",children:[(0,ec.tZ)("div",{className:" font-medium text-center",children:"Congrats! The metadata of this W3Bucket is fully processed. You will soon get this truly Web3 storage bucket NFT! Click the Continue button to the last step."}),(0,ec.tZ)(ej,{text:"Continue",className:" mt-6 !w-[8.25rem] h-11 self-center",onClick:()=>t()})]})]})]})}let aG=eo.memo(e=>{let{editions:t,onNext:n}=e,[a,i]=aB(),r=a.editionId,l=(0,eo.useMemo)(()=>t.find(e=>e.id===r)||t[0],[t,r]),[s,c]=em(0),o=(0,eo.useCallback)(()=>c(e=>e+1),[c]),d=a.ipns,[u]=n_(),[,m]=ey();return(0,eo.useEffect)(()=>{d?a.metadataTX?c(3):d&&c(e=>0===e?1:e):m(()=>u().then(e=>e9.Z.post(ap("/auth/ipns/gen"),{bucketInfo:JSON.stringify({chainId:a.chainId,editionId:a.editionId})},{headers:{Authorization:"Bearer ".concat(e)}}).then(ah)).then(e=>{i({ipns:e.ipnsId,uuid:e.uuid}),c(1)}).catch(e=>{console.info("error:",e),n(-1)}))},[d,a]),(0,ec.BX)("div",{className:" px-10 pt-9 flex",children:[(0,ec.tZ)(aP,{size:l.capacityInGb}),0===s&&(0,ec.tZ)(eN,{className:" self-center text-center p-9",text:"Generating a unique IPNS name for this W3Bucket... Please wait."}),1===s&&(0,ec.tZ)(aR,{ipns:d,onContinue:o}),2===s&&(0,ec.tZ)(aY,{onContinue:o}),3===s&&(0,ec.tZ)(az,{onContinue:n})]})});function aH(){let e=(0,nJ.yL)(),{data:t}=(0,nJ.mx)();return(0,nJ.cq)({address:eY.Jh,abi:n8,signerOrProvider:t||e})}var aF=n(61744),aU=n(2984),aJ=JSON.parse('{"name":"W3Bucket","methods":[{"name":"create","args":[],"returns":{"type":"void"}},{"name":"bootstrap","args":[{"type":"pay","name":"seed"}],"returns":{"type":"void"}},{"name":"set_bucket_edition","args":[{"type":"(uint64,uint64,uint64)","name":"edition"}],"returns":{"type":"void"}},{"name":"get_bucket_edition_ids","args":[],"returns":{"type":"string"}},{"name":"is_active_bucket_edition","args":[{"type":"uint64","name":"edition_id"}],"returns":{"type":"bool"}},{"name":"get_bucket_edition","args":[{"type":"uint64","name":"edition_id"}],"returns":{"type":"(uint64,bool,uint64,uint64,uint64)"}},{"name":"disable_bucket_edition","args":[{"type":"uint64","name":"edition_id"}],"returns":{"type":"void"}},{"name":"enable_bucket_edition","args":[{"type":"uint64","name":"edition_id"}],"returns":{"type":"void"}},{"name":"set_bucket_edition_prices","args":[{"type":"uint64","name":"edition_id"},{"type":"(uint64,uint64)[]","name":"prices"}],"returns":{"type":"void"}},{"name":"get_bucket_edition_prices","args":[{"type":"uint64","name":"edition_id"}],"returns":{"type":"(uint64,uint64)[]"}},{"name":"mint","args":[{"type":"txn","name":"seed"},{"type":"uint64","name":"edition_id"},{"type":"string","name":"metadata_hash"},{"type":"string","name":"uri"}],"returns":{"type":"uint64"}},{"name":"claim","args":[{"type":"asset","name":"token"}],"returns":{"type":"void"}}],"networks":{},"desc":"This is web3 bucket contract used to apply storage"}');function aQ(e){let{data:[t,n,a],target:i="_blank"}=e;return(0,ec.BX)("div",{className:" flex items-center text-2xl",children:[(0,ec.BX)("div",{className:" mr-2",children:[t,":"]}),a?(0,ec.tZ)("a",{className:" underline underline-offset-2 !text-black-1",target:i,href:a,children:n}):(0,ec.tZ)("div",{className:" underline underline-offset-2",children:n})]})}let aV=eo.memo(e=>{var t,n,a,i;let{editions:r,onNext:l}=e,{chain:s}=(0,nJ.LN)(),c=s&&s.id,[o,d]=aB(),u=o.editionId,m=(0,eo.useMemo)(()=>r.find(e=>e.id===u),[r,u]),[p,y]=em(!1),h=aH(),{data:f}=(0,nJ.mx)(),{address:g}=(0,nJ.mA)(),[b]=n_(),v=ed(),x=nV.isConnected(),A=ep(async()=>{if(!p&&x&&o.price&&o.editionId){y(!0);try{var e;let t=new af.default.ABIContract(aJ),n=await ag.getTransactionParams().do();n.flatFee=!0,n.fee=2e3;let a=(e=nV.wallet,async(t,n)=>{let a=eH.map(n,e=>({txn:t[e]})),i=await e.signTransaction([a]);return Promise.resolve(i)}),i=aF.parseUnits(o.price.fmtPrice,o.price.decimals),r="0x0"===o.price.currency?af.default.makePaymentTxnWithSuggestedParamsFromObject({from:nV.account,to:eY.fL,amount:BigInt(i.toString()),suggestedParams:n}):af.default.makeAssetTransferTxnWithSuggestedParamsFromObject({from:nV.account,to:eY.fL,suggestedParams:n,assetIndex:Number(o.price.currency.slice(2)),amount:BigInt(i.toString())}),s=[];s.push({appIndex:eY.PD,name:af.default.encodeUint64(o.editionId)});let c={appID:eY.PD,method:t.getMethodByName("mint"),methodArgs:[{txn:r,signer:a},o.editionId,e7(o.metadata),"ipfs://".concat(o.metadataCID,"#arc3")],sender:nV.account,signer:a,boxes:s,suggestedParams:n};"0x0"!==o.price.currency&&Object.assign(c,{assets:[parseInt(o.price.currency.slice(2))]});let u=new af.default.AtomicTransactionComposer;u.addMethodCall(c);let m=await u.execute(ag,4),A=Number(m.methodResults[0].returnValue);console.log("Minted bucket token_id:".concat(A));let w=af.default.makeAssetTransferTxnWithSuggestedParamsFromObject({from:nV.account,to:nV.account,suggestedParams:n,assetIndex:A,amount:0}),Z=new af.default.AtomicTransactionComposer;Z.addTransaction({txn:w,signer:a}),Z.addMethodCall({appID:eY.PD,method:t.getMethodByName("claim"),methodArgs:[A],sender:nV.account,signer:a,suggestedParams:n}),await Z.execute(ag,4)}catch(k){console.log(k);return}}else{if(p||!h||!g||!o.price||!o.editionId||!f)return;y(!0);let N=aF.parseUnits(o.price.fmtPrice,o.price.decimals);try{let T="0x0000000000000000000000000000000000000000"===o.price.currency,I=null;if(T)I=await h.mint(g,aF.parseUnits(o.editionId+"",0),o.price.currency,"ipfs://".concat(o.metadataCID),{value:N});else{let C=(0,aU.uN)({address:o.price.currency,abi:aU.em,signerOrProvider:f}),B=await h.estimateGas.mint(g,aF.parseUnits(o.editionId+"",0),o.price.currency,"ipfs://".concat(o.metadataCID)).catch(()=>aF.parseUnits("396277",0));await C.approve(eY.Jh,N),I=await h.mint(g,aF.parseUnits(o.editionId+"",0),o.price.currency,"ipfs://".concat(o.metadataCID),{gasLimit:B})}await I.wait(1)}catch(M){console.error(M);return}}try{let S=await b(),E=null;for(;;){if(!v.safe)return;if((E=await e9.Z.get(ap("/auth/bucket/uuid/".concat(o.uuid)),{headers:{Authorization:"Bearer ".concat(S)}}).then(ah).catch(()=>null))&&E.tokenId&&E.mintTxHash)break;await e5(1e4)}d({mintTx:E.mintTxHash,tokenId:E.tokenId}),l()}catch(X){console.error(X)}y(!1)}),w=(0,eC.s0)(),Z=ep(()=>{d({},!0),w("/buckets")}),k=(0,eo.useMemo)(()=>o.mintTx&&m&&o.tokenId?e2(m.capacityInGb,o.tokenId):"",[o,m]);return(0,ec.BX)("div",{className:" px-10 pt-9 flex",children:[(0,ec.tZ)(aP,{size:m.capacityInGb}),!p&&!o.mintTx&&(0,ec.BX)("div",{className:"flex flex-1 px-12 flex-col items-center justify-center",children:[(0,ec.tZ)("div",{className:" text-2xl text-center",children:"Choose your preferred payment method and click the ‘Confirm and Pay’ button to proceed:"}),(0,ec.tZ)("div",{className:" flex ",children:m.prices.map((e,t)=>{var n,a;return(0,ec.BX)("div",{className:ew()("mr-4 text-center"),children:[(0,ec.tZ)(ej,{text:e.symbol,disHover:e.currency===(null===(n=o.price)||void 0===n?void 0:n.currency),className:ew()("font-medium !border-2 text-2xl mt-5 !w-[11.25rem] !py-[9px] cursor-pointer",{"!border-orange-15 !text-orange-15":e.currency===(null===(a=o.price)||void 0===a?void 0:a.currency)}),onClick(){d({price:e})}}),(0,ec.tZ)("span",{className:" text-sm mt-2 font-light whitespace-nowrap",children:"".concat(e.fmtPrice," ").concat(e.symbol," payable in 15 min")})]},"edition_price_".concat(t))})}),(0,ec.tZ)(ej,{text:"Confirm and Pay",className:"mt-12 text-lg w-48 h-[3.375rem]",onClick:A})]}),p&&(0,ec.tZ)(eN,{className:"flex-1 px-12 justify-center",text:"Payment Tx sent, please wait for a while to get on-chain confirmation..."}),!p&&o.mintTx&&(0,ec.BX)("div",{className:"flex flex-1 px-12 flex-col ",children:[(0,ec.BX)("div",{className:" text-2xl font-medium mb-8",children:["Congrats,",(0,ec.tZ)("br",{}),"You have completed all the minting processes for this W3Bucket NFT!"]}),(0,ec.tZ)(aQ,{data:["W3Bucket NFT Token ID",o.tokenId,x?(t=o.tokenId,"".concat(eY.sr,"/asset/").concat(t)):(n=o.tokenId,"".concat(e3(c),"/token/").concat(eY.Jh,"?a=").concat(n))]}),(0,ec.tZ)(aQ,{data:["Mint TX ID",eq(o.mintTx,9,5),x?(a=o.mintTx,"".concat(eY.sr,"/tx/").concat(a)):(i=o.mintTx,"".concat(e3(c),"/tx/").concat(i))]}),(0,ec.tZ)(aQ,{target:"_self",data:["W3Bucket Identifier",k,"/#/bucket/".concat(k,"/").concat(o.ipns)]}),(0,ec.tZ)("div",{className:" text-2xl font-medium mt-8",children:"Return to the W3Bucket Home Page and start your Crust Cloud journey. Bon Voyage!"}),(0,ec.tZ)(ej,{text:"Complete",className:" self-center text-lg !w-[11.25rem] h-[3.375rem] mt-20",onClick:Z})]})]})});var aK=n(48764).Buffer,aq=new class{async getEditionNum(){var e;return null!==(e=this.getApplicationGlobalValue("edition_num","string"))&&void 0!==e?e:0}async getEditionIds(){let e=await this.getApplicationBoxByName("edition_ids","string"),t=af.default.ABIType.from("uint64[30]");return t.decode(e.value).map(e=>Number(e))}async getEditionById(e){let t=af.default.ABIType.from("uint64"),n=t.encode(e),a=await this.client.getApplicationBoxByName(eY.PD,n).do(),i=af.default.ABIType.from("(uint64,uint64,uint64,bool,uint8[".concat(a.value.length-25,"])")),r=i.decode(a.value),l=r[3];if(!l)return null;let s=r[r.length-1],c=s.map(e=>Number(e)),o=af.default.ABIType.from("(uint64,uint64)[]"),d=o.decode(c),u=[];return d.map(e=>{u.push({currency:e[0].toString(),price:e[1].toString()})}),{id:e,maxMintableSupply:r[0],capacityInGigabytes:r[1],currentSupplyMinted:r[2],prices:u}}async getApplicationGlobalValue(e,t){let n=await this.client.getApplicationByID(eY.PD).do(),a=af.default.ABIType.from(t),i=a.encode(e).slice(-e.length),r=aK.from(i).toString("base64");for(let l of n.params["global-state"])if(l.key===r)return l.value.uint;return null}getApplicationBoxByName(e,t){let n=af.default.ABIType.from(t),a=n.encode(e).slice(-e.length);return this.client.getApplicationBoxByName(eY.PD,a).do()}constructor(){this.client=new af.default.Algodv2(eY.GG,eY.EH)}};async function a_(){let e=await aq.getEditionNum(),t=await aq.getEditionIds();console.info("edition num:".concat(e,",edition ids:").concat(t));let n=[];for(let a=0;a=1&&n.push({id:r.id,capacityInGb:Number(r.capacityInGigabytes),totalSupply:Number(r.maxMintableSupply),minted:Number(r.currentSupplyMinted),prices:l})}return console.info("editions:",n),n}let a$=eo.memo(()=>{let{value:e,loading:t}=function(){let e=aH(),{chain:t}=(0,nJ.LN)(),n=t&&t.id,{data:a}=(0,nJ.mx)(),i=nV.isConnected(),r=(0,ao.Z)(async()=>{if(e&&n&&a){let t=await e.getBucketEditions(!0);console.info("data:",t);let r=[];for(let l of t){if(l.maxMintableSupply.lte(l.currentSupplyMinted))continue;let s=await e.getBucketEditionPrices(l.editionId);console.info("prices:",s);let c=[];for(let o of s){let d=18,u="ETH";if("0x0000000000000000000000000000000000000000"!==o.currency){let m=(0,aU.uN)({address:o.currency,abi:aU.em,signerOrProvider:a});d=await m.decimals(),u=await m.symbol()}c.push({currency:o.currency,symbol:u,decimals:d,price:o.price.toString(),fmtPrice:aF.formatUnits(o.price,d)})}c.length>=1&&r.push({id:l.editionId.toNumber(),capacityInGb:l.capacityInGigabytes.toNumber(),totalSupply:l.maxMintableSupply.toNumber(),minted:l.currentSupplyMinted.toNumber(),prices:c})}return console.info("editions:",r),r}return i?a_():null},[e,n,a,i]);return(0,eo.useMemo)(()=>({...r,loading:r.loading}),[r])}(),n=(0,eC.s0)(),a=(0,eo.useMemo)(()=>["1.Select your preferred bucket","2.Process NFT metadata","3.Make payment and mint"],[]),[i,r]=em(-1),[l,s]=aB(),[c]=n_();(0,eo.useEffect)(()=>{let e=async()=>{try{if(console.info("do taks:"),!l.uuid)return r(0);let e=await c(),t=await e9.Z.get(ap("/auth/bucket/uuid/".concat(l.uuid)),{headers:{Authorization:"Bearer ".concat(e)}}).then(ah),n=l.editionId;if(t.metadata){let a=t.metadata.attributes.find(e=>"Edition"===e.trait_type);a&&(n=new Number(a.value).valueOf())}s({metadata:t.metadata,ipns:t.ipnsId,metadataTX:t.metadataTxHash,metadataCID:t.metadataCid,mintTx:t.mintTxHash,tokenId:t.tokenId,editionId:n}),t.mintTxHash?r(2):t.metadataTxHash?r(1):r(0)}catch(i){r(0)}};return e(),()=>{s({},!0)}},[]);let o=(0,eo.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return r(t=>t+e)},[r]),{address:d}=(0,nJ.mA)();return(0,eo.useEffect)(()=>{d&&(s({},!0),r(0))},[d]),(0,ec.tZ)(an,{menuId:1,children:(0,ec.tZ)("div",{className:" flex-1 h-full overflow-y-auto",children:(0,ec.BX)("div",{className:" relative px-8 pb-10",children:[(0,ec.BX)("div",{className:" sticky top-0 z-10 bg-white pt-16 pb-3",children:[(0,ec.tZ)("div",{className:"inline-block",onClick(){s({},!0),n("/buckets")},children:(0,ec.BX)("div",{className:"flex items-center cursor-pointer",children:[(0,ec.tZ)(t_,{icon:"cru-fo-chevron-left",className:" mr-3"}),(0,ec.tZ)("span",{children:"Exit Mint Process"})]})}),(0,ec.tZ)("div",{className:"h-px bg-black-1 my-7"}),(0,ec.tZ)(aI,{data:a,current:i})]}),e&&(0,ec.BX)(ec.HY,{children:[0===i&&!t&&(0,ec.tZ)(aS,{editions:e,onNext:o}),1===i&&(0,ec.tZ)(aG,{editions:e,onNext:o}),i>=2&&(0,ec.tZ)(aV,{editions:e,onNext:o})]}),(t||i<0)&&(0,ec.tZ)(eN,{className:" text-black-1 justify-center h-[calc(100vh_-_17.75rem)]"})]})})})}),a0=eo.memo(e=>{let{options:t,current:n,perfix:a,className:i,onOptionChange:r,...l}=e,s=(0,eo.useMemo)(()=>a?"".concat(a," ").concat(n.text):n.text,[n,a]),c=(0,eo.useRef)(),[o,d]=(0,aa.Z)(!1);return(0,ai.Z)(c,()=>o&&d(!1)),(0,ec.BX)("div",{...l,ref:c,className:ew()(i," relative text-gray-7"),children:[(0,ec.BX)("div",{className:" whitespace-nowrap cursor-pointer flex items-center",onClick:d,children:[s," ",(0,ec.tZ)("span",{className:"cru-fo-chevron-down ml-3"})]}),o&&(0,ec.tZ)("div",{className:" absolute top-full right-0 shadow-md bg-white z-10",children:t.map((e,t)=>(0,ec.tZ)("div",{className:ew()(" py-[8px] px-4 whitespace-nowrap cursor-pointer",{"bg-black-1 text-white":e===n}),onClick(){r&&r(e),d(!1)},children:e.text},"options_".concat(t)))})]})}),a1=eo.memo(()=>{let{list:e,current:t,setCurrent:n}=as(),a=(0,eo.useMemo)(()=>e.map(e=>({...e,text:"".concat(e.name," ").concat(e.location)})),[e]),i=(0,eo.useMemo)(()=>[{text:"Random"}],[]),[r,l]=(0,eo.useState)(()=>a.find(e=>e.value===t.value)),s=ep(t=>{l(t),n(e.find(e=>e.value===t.value))}),[c,o]=(0,eo.useState)(i[0]);return(0,ec.tZ)(an,{menuId:2,children:(0,ec.tZ)("div",{className:"flex-1 h-full overflow-y-auto",children:(0,ec.BX)("div",{className:" m-8 px-8 py-[1.5625rem] border-solid border-black-1 border min-w-[35rem]",children:[(0,ec.tZ)("div",{className:" font-medium text-xl",children:"Preferences"}),(0,ec.BX)("div",{className:" mt-4 whitespace-nowrap flex items-center",children:[(0,ec.tZ)("span",{className:"font-medium text-lg",children:"Choose preferred gateway :"}),(0,ec.tZ)(a0,{className:" ml-2",options:a,current:r,onOptionChange:s})]}),(0,ec.BX)("div",{className:" mt-4 whitespace-nowrap flex items-center",children:[(0,ec.tZ)("span",{className:"font-medium text-lg",children:"Gateway Match Strategy :"}),(0,ec.tZ)(a0,{className:" ml-2",options:i,current:c,onOptionChange:o})]})]})})})});function a2(){let{store:e,update:t}=ex(),n=e.toasts||[];return(0,eo.useEffect)(()=>{let e=setInterval(()=>{t(()=>(n.shift(),{toasts:n}))},3e3);return()=>clearInterval(e)},[n]),(0,ec.tZ)("div",{className:"fixed top-5 right-5 z-[50]",children:n.map((e,t)=>(0,ec.tZ)("div",{className:"flex py-2 cursor-pointer justify-between items-center",children:(0,ec.tZ)(al,{text:e.msg,status:e.type})},"toasts".concat(t)))})}var a5=eo.memo(function(){let e=ev();return(0,ec.tZ)(eg,{value:e,children:(0,ec.BX)("div",{className:"App relative",id:"app-root",children:[(0,ec.tZ)(ad.Z,{effect:"solid",clickable:!0,delayHide:200,isCapture:!0,overridePosition(e,t,n,a){let{top:i,left:r}=e;return a.style.maxWidth="300px",a.style.wordBreak="break-all",{top:i,left:r}}}),(0,ec.tZ)("div",{className:"App overflow-y-auto",children:(0,ec.tZ)(eI.UT,{children:(0,ec.BX)(eC.Z5,{children:[(0,ec.tZ)(eC.AW,{path:"/",element:(0,ec.tZ)(nU,{})}),(0,ec.tZ)(eC.AW,{path:"/buckets",element:(0,ec.tZ)(ak,{})}),(0,ec.tZ)(eC.AW,{path:"/bucket/:bucketId/:ipnsId",element:(0,ec.tZ)(aA,{})}),(0,ec.tZ)(eC.AW,{path:"/settings",element:(0,ec.tZ)(a1,{})}),(0,ec.tZ)(eC.AW,{path:"/mint",element:(0,ec.tZ)(a$,{})})]})})}),(0,ec.tZ)(eT,{}),(0,ec.tZ)(a2,{})]})})})},36563:function(){},53555:function(){}}]); \ No newline at end of file diff --git a/_next/static/chunks/804.e93c5891c961e7fb.js b/_next/static/chunks/871.4176eb2cc0e85cca.js similarity index 81% rename from _next/static/chunks/804.e93c5891c961e7fb.js rename to _next/static/chunks/871.4176eb2cc0e85cca.js index 027bae4..e425624 100644 --- a/_next/static/chunks/804.e93c5891c961e7fb.js +++ b/_next/static/chunks/871.4176eb2cc0e85cca.js @@ -1,4 +1,4 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[804],{18872:function(n,i,o){"use strict";o.d(i,{iv:function(){return b}});var a,s,l,u,c=o(8417),d=o(48137),p=o(70444);function f(n,i){if(void 0===n.inserted[i.name])return n.insert("",i,n.sheet,!0)}function h(n,i,o){var a=[],s=(0,p.fp)(n,a,o);return a.length<2?o:s+i(a)}var m=function n(i){for(var o="",a=0;a{window.ethereum?l():(window.addEventListener("ethereum#initialized",l,{once:!0}),setTimeout(()=>{l()},o));function l(){if(a)return;a=!0,window.removeEventListener("ethereum#initialized",l);let{ethereum:o}=window;if(o&&(!n||o.isMetaMask))s(o);else{let u=n&&o?"Non-MetaMask window.ethereum detected.":"Unable to detect window.ethereum.";i||console.error("@metamask/detect-provider:",u),s(null)}}});function s(){if("boolean"!=typeof n)throw Error("@metamask/detect-provider: Expected option 'mustBeMetaMask' to be a boolean.");if("boolean"!=typeof i)throw Error("@metamask/detect-provider: Expected option 'silent' to be a boolean.");if("number"!=typeof o)throw Error("@metamask/detect-provider: Expected option 'timeout' to be a number.")}}n.exports=i},37400:function(n,i,o){"use strict";var a=o(8150),s=o(91915),l=o(73627);function u(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}o(68685),o(81338),o(51206);var c=u(s),d=u(l);function p(n=!0){let i=a.PERA_WALLET_APP_DEEP_LINK,o=a.detectBrowser();return n&&o&&(i=`${i}?browser=${encodeURIComponent(o)}`),i}function f(n,i){void 0===i&&(i={});var o=i.insertAt;if(n&&"undefined"!=typeof document){var a=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css","top"===o&&a.firstChild?a.insertBefore(s,a.firstChild):a.appendChild(s),s.styleSheet?s.styleSheet.cssText=n:s.appendChild(document.createTextNode(n))}}var h=".pera-wallet-modal-header {\n position: absolute;\n top: -44px;\n right: 0px;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.pera-wallet-modal-header--mobile {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n position: static;\n}\n.pera-wallet-modal-header--mobile .pera-wallet-modal-header__close-button {\n width: 24px;\n height: 24px;\n margin: 0;\n padding: 0;\n background: transparent;\n border: unset;\n box-shadow: unset;\n}\n\n.pera-wallet-modal-header__brand {\n display: flex;\n align-items: center;\n gap: 10px;\n font-size: 14px;\n font-weight: 600;\n line-height: 24px;\n letter-spacing: -0.1px;\n color: #ffffff;\n}\n\n.pera-wallet-modal-header__brand-text {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.pera-wallet-modal-header__version-number {\n color: #9d9dae;\n font-size: 12px;\n font-weight: 400;\n line-height: 18px;\n letter-spacing: 0.01;\n}\n\n.pera-wallet-button {\n display: flex;\n align-items: center;\n justify-content: center;\n width: auto;\n height: 48px;\n padding: 14px;\n border: none;\n border-radius: 12px;\n outline: none;\n cursor: pointer;\n font-family: var(--pera-wallet-modal-font-family);\n font-size: 14px;\n}\n\n.pera-wallet-modal-header__close-button {\n width: 32px;\n height: 32px;\n margin: 0;\n padding: 0;\n background: rgba(44, 53, 89, 0.1);\n border-radius: 8px;\n}\n\n.pera-wallet-modal-header__close-button__close-icon {\n width: 20px;\n height: 20px;\n}";f(h);let m=document.createElement("template"),g=a.isMobile()?"pera-wallet-modal-header pera-wallet-modal-header--mobile":"pera-wallet-modal-header pera-wallet-modal-header--desktop";m.innerHTML=` +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[871],{18872:function(n,i,o){"use strict";o.d(i,{iv:function(){return b}});var a,s,l,u,c=o(8417),d=o(48137),p=o(70444);function f(n,i){if(void 0===n.inserted[i.name])return n.insert("",i,n.sheet,!0)}function h(n,i,o){var a=[],s=(0,p.fp)(n,a,o);return a.length<2?o:s+i(a)}var m=function n(i){for(var o="",a=0;a{window.ethereum?l():(window.addEventListener("ethereum#initialized",l,{once:!0}),setTimeout(()=>{l()},o));function l(){if(a)return;a=!0,window.removeEventListener("ethereum#initialized",l);let{ethereum:o}=window;if(o&&(!n||o.isMetaMask))s(o);else{let u=n&&o?"Non-MetaMask window.ethereum detected.":"Unable to detect window.ethereum.";i||console.error("@metamask/detect-provider:",u),s(null)}}});function s(){if("boolean"!=typeof n)throw Error("@metamask/detect-provider: Expected option 'mustBeMetaMask' to be a boolean.");if("boolean"!=typeof i)throw Error("@metamask/detect-provider: Expected option 'silent' to be a boolean.");if("number"!=typeof o)throw Error("@metamask/detect-provider: Expected option 'timeout' to be a number.")}}n.exports=i},37400:function(n,i,o){"use strict";var a=o(8150),s=o(91915),l=o(73627);function u(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}o(68685),o(81338),o(51206);var c=u(s),d=u(l);function p(n=!0){let i=a.PERA_WALLET_APP_DEEP_LINK,o=a.detectBrowser();return n&&o&&(i=`${i}?browser=${encodeURIComponent(o)}`),i}function f(n,i){void 0===i&&(i={});var o=i.insertAt;if(n&&"undefined"!=typeof document){var a=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css","top"===o&&a.firstChild?a.insertBefore(s,a.firstChild):a.appendChild(s),s.styleSheet?s.styleSheet.cssText=n:s.appendChild(document.createTextNode(n))}}var h=".pera-wallet-modal-header {\n position: absolute;\n top: -44px;\n right: 0px;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.pera-wallet-modal-header--mobile {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n position: static;\n}\n.pera-wallet-modal-header--mobile .pera-wallet-modal-header__close-button {\n width: 24px;\n height: 24px;\n margin: 0;\n padding: 0;\n background: transparent;\n border: unset;\n box-shadow: unset;\n}\n\n.pera-wallet-modal-header__brand {\n display: flex;\n align-items: center;\n gap: 10px;\n font-size: 14px;\n font-weight: 600;\n line-height: 24px;\n letter-spacing: -0.1px;\n color: #ffffff;\n}\n\n.pera-wallet-modal-header__brand-text {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.pera-wallet-modal-header__version-number {\n color: #9d9dae;\n font-size: 12px;\n font-weight: 400;\n line-height: 18px;\n letter-spacing: 0.01;\n}\n\n.pera-wallet-button {\n display: flex;\n align-items: center;\n justify-content: center;\n width: auto;\n height: 48px;\n padding: 14px;\n border: none;\n border-radius: 12px;\n outline: none;\n cursor: pointer;\n font-family: var(--pera-wallet-modal-font-family);\n font-size: 14px;\n}\n\n.pera-wallet-modal-header__close-button {\n width: 32px;\n height: 32px;\n margin: 0;\n padding: 0;\n background: rgba(44, 53, 89, 0.1);\n border-radius: 8px;\n}\n\n.pera-wallet-modal-header__close-button__close-icon {\n width: 20px;\n height: 20px;\n}";f(h);let m=document.createElement("template"),g=a.isMobile()?"pera-wallet-modal-header pera-wallet-modal-header--mobile":"pera-wallet-modal-header pera-wallet-modal-header--desktop";m.innerHTML=`
${a.isMobile()?"":"
\n \n\n
\n Pera Connect\n\n v1.3.4\n
\n
\n "} @@ -263,21 +263,34 @@
-`;class Q extends HTMLElement{constructor(){if(super(),this.attachShadow({mode:"open"}),this.shadowRoot){let n=document.createElement("style");if(n.textContent=X,this.shadowRoot.append(J.content.cloneNode(!0),n),"true"===this.getAttribute("compact-mode")){let i=this.shadowRoot.getElementById("pera-wallet-sign-txn-modal");null==i||i.classList.add("pera-wallet-sign-txn-modal--compact")}}}}function ee(){document.documentElement.style.setProperty("--vh",.01*window.innerHeight+"px")}window.addEventListener("DOMContentLoaded",()=>{ee()}),window.addEventListener("resize",()=>{ee()}),window.customElements.define("pera-wallet-connect-modal",L),window.customElements.define("pera-wallet-modal-desktop-mode",C),window.customElements.define("pera-wallet-modal-header",b),window.customElements.define("pera-wallet-modal-touch-screen-mode",O),window.customElements.define("pera-wallet-redirect-modal",B),window.customElements.define("pera-wallet-connect-modal-information-section",H),window.customElements.define("pera-wallet-connect-modal-pending-message-section",W),window.customElements.define("pera-wallet-sign-txn-toast",Z),window.customElements.define("pera-wallet-sign-txn-modal",Q),window.customElements.define("pera-wallet-download-qr-code",E)},8150:function(n,i,o){"use strict";var a=o(48764).Buffer,s=o(68685),l=o(81338),u=o(51206);function c(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var d=c(s),p=c(l),f=c(u);function h(n,i,o,a){return new(o||(o=Promise))(function(s,l){function u(n){try{d(a.next(n))}catch(i){l(i)}}function c(n){try{d(a.throw(n))}catch(i){l(i)}}function d(n){var i;n.done?s(n.value):((i=n.value)instanceof o?i:new o(function(n){n(i)})).then(u,c)}d((a=a.apply(n,i||[])).next())})}class m extends Error{constructor(n,i,...o){super(...o),Error.captureStackTrace&&Error.captureStackTrace(this,m),this.name="PeraWalletConnectError",this.data=n,this.message=i}}let g=new class{constructor(n){this.listener=void 0,this.channel=n.channel}setupListener({onReceiveMessage:n}){this.close(),this.listener=i=>{if("object"==typeof i.data)try{i.data.channel===this.channel&&n(i)}catch(o){console.error(o)}},window.addEventListener("message",this.listener)}sendMessage({message:n,targetWindow:i,origin:o,timeout:a=1e3}){setTimeout(()=>{let a={channel:this.channel,message:n};i.postMessage(a,{targetOrigin:o||"*"})},a)}close(){this.listener&&(window.removeEventListener("message",this.listener),this.listener=void 0)}}({channel:"pera-web-wallet"});function b(){let n=document.querySelector('meta[name="name"]'),i=document.querySelector('meta[name="description"]'),{title:o}=document,a="";return n instanceof HTMLMetaElement&&(o=n.content),i instanceof HTMLMetaElement&&(a=i.content),{title:o,description:a,url:window.location.origin,favicon:y()[0]}}function y(){let n=document.getElementsByTagName("link"),i=[];for(let o=0;o-1){let l=a.getAttribute("href");if(l&&-1===l.toLowerCase().indexOf("https:")&&-1===l.toLowerCase().indexOf("http:")&&0!==l.indexOf("//")){let u=`${window.location.protocol}//${window.location.host}`;if(0===l.indexOf("/"))u+=l;else{let c=window.location.pathname.split("/");c.pop(),u+=`${c.join("/")}/${l}`}i.push(u)}else if(0===(null==l?void 0:l.indexOf("//"))){let d=window.location.protocol+l;i.push(d)}else l&&i.push(l)}}return i}function v(n){return new Promise((i,o)=>{try{let a=window.open(n,"_blank"),s=0,l=setInterval(()=>{if(s+=1,50===s)return clearInterval(l),void o(new m({type:"MESSAGE_NOT_RECEIVED"},"Couldn't open Pera Wallet, please try again."));a&&(!0===a.closed&&(clearInterval(l),o(new m({type:"OPERATION_CANCELLED"},"Operation cancelled by user"))),g.sendMessage({message:{type:"TAB_OPEN"},origin:n,targetWindow:a}))},700);g.setupListener({onReceiveMessage(n){"TAB_OPEN_RECEIVED"===n.data.message.type&&(clearInterval(l),i(a))}})}catch(u){o(u)}})}function w(n){let i=document.createElement("div");return i.setAttribute("id",n),document.body.appendChild(i),i}function E(){w("pera-wallet-redirect-modal-wrapper").innerHTML=""}function S(){w("pera-wallet-sign-txn-toast-wrapper").innerHTML=""}function x(n){let i=document.getElementById(n);i&&i.remove()}let _="PeraWallet.Wallet",k="walletconnect";function A(){return"undefined"==typeof localStorage?void 0:localStorage}function T(n,i){var o;null===(o=A())||void 0===o||o.setItem(_,JSON.stringify({type:i||"pera-wallet",accounts:n,selectedAccount:n[0]}))}function C(){var n;let i=null===(n=A())||void 0===n?void 0:n.getItem(_);return i?JSON.parse(i):null}function R(){return new Promise((n,i)=>{var o,a;try{null===(o=A())||void 0===o||o.removeItem(k),null===(a=A())||void 0===a||a.removeItem(_),n(void 0)}catch(s){i(s)}})}function D(n){let i=n.slice();for(let o=i.length-1;o>0;o--){let a=Math.floor(Math.random()*(o+1));[i[o],i[a]]=[i[a],i[o]]}return i}function O(){return function(n,i={}){return fetch(n,i).then(n=>n.json()).then(n=>n)}("https://wc.perawallet.app/config.json",{cache:"no-store"})}function I(){return h(this,void 0,void 0,function*(){let n={bridgeURL:"",webWalletURL:"",isWebWalletAvailable:!1,shouldDisplayNewBadge:!1,shouldUseSound:!0,silent:!1,promoteMobile:!1};try{let i=yield O();void 0!==i.web_wallet&&i.web_wallet_url&&(n.isWebWalletAvailable=i.web_wallet),void 0!==i.display_new_badge&&(n.shouldDisplayNewBadge=i.display_new_badge),void 0!==i.use_sound&&(n.shouldUseSound=i.use_sound),void 0!==i.silent&&(n.silent=i.silent),void 0!==i.promote_mobile&&(n.promoteMobile=i.promote_mobile),n=Object.assign(Object.assign({},n),{bridgeURL:D(i.servers||[])[0]||"",webWalletURL:i.web_wallet_url||""})}catch(o){console.log(o)}return n})}function N(n){return Uint8Array.from(window.atob(n),n=>n.charCodeAt(0))}function M(n,i){return{id:1e3*Date.now()+Math.floor(1e3*Math.random()),jsonrpc:"2.0",method:n,params:i}}function L(){return"undefined"!=typeof navigator}function P(){return L()&&/Android/i.test(navigator.userAgent)}function F(){return L()&&/iPhone|iPod|Android/i.test(navigator.userAgent)}let B=P()?"algorand://":"perawallet-wc://";function U(n){return{ROOT:`https://${n}`,CONNECT:`https://${n}/connect`,TRANSACTION_SIGN:`https://${n}/transaction/sign`}}function z({method:n,signTxnRequestParams:i,signer:o,chainId:a,webWalletURL:s,resolve:l,reject:u}){let c=U(s);!function(){h(this,void 0,void 0,function*(){try{let s=yield v(c.TRANSACTION_SIGN);if(s){let d;"SIGN_TXN"===n?d={type:"SIGN_TXN",txn:i}:"SIGN_DATA"===n&&o&&a&&(d={type:"SIGN_DATA",data:i,signer:o,chainId:a}),d&&g.sendMessage({message:d,origin:c.TRANSACTION_SIGN,targetWindow:s})}let p=setInterval(()=>{!0===(null==s?void 0:s.closed)&&(u(new m({type:`${n}_CANCELLED`},"Transaction signing is cancelled by user.")),clearInterval(p))},2e3);g.setupListener({onReceiveMessage:i=>(function({event:n,newPeraWalletTab:i,method:o,resolve:a,reject:s}){switch(n.data.message.type){case"SIGN_TXN_CALLBACK":null==i||i.close(),a(n.data.message.signedTxns.map(n=>N(n.signedTxn)));break;case"SIGN_DATA_CALLBACK":null==i||i.close(),a(n.data.message.signedData.map(n=>N(n.signedData)));break;case"SIGN_TXN_NETWORK_MISMATCH":s(new m({type:`${o}_NETWORK_MISMATCH`,detail:n.data.message.error},n.data.message.error||"Network mismatch"));break;case"SIGN_TXN_CALLBACK_ERROR":null==i||i.close(),s(new m({type:`${o}_CANCELLED`},n.data.message.error));break;case"SESSION_DISCONNECTED":null==i||i.close(),R(),s(new m({type:"SESSION_DISCONNECTED",detail:n.data.message.error},n.data.message.error))}})({event:i,newPeraWalletTab:s,method:n,resolve:l,reject:u})})}catch(f){u(f)}})}()}function j({webWalletURL:n,chainId:i,resolve:o,reject:a}){let s=U(n);return function(){return h(this,void 0,void 0,function*(){try{let n=yield v(s.CONNECT);n&&g.sendMessage({message:{type:"CONNECT",data:Object.assign(Object.assign({},b()),{chainId:i})},origin:s.CONNECT,targetWindow:n});let u=setInterval(()=>{!0===(null==n?void 0:n.closed)&&(a(new m({type:"CONNECT_CANCELLED"},"Connect is cancelled by user")),clearInterval(u),l())},2e3);g.setupListener({onReceiveMessage:i=>(function({event:n,newPeraWalletTab:i,resolve:o,reject:a}){if(o&&"CONNECT_CALLBACK"===n.data.message.type){let s=n.data.message.data.addresses;T(s,"pera-wallet-web"),o(s),x("pera-wallet-connect-modal-wrapper"),null==i||i.close()}else"CONNECT_NETWORK_MISMATCH"===n.data.message.type&&(a(new m({type:"CONNECT_NETWORK_MISMATCH",detail:n.data.message.error},n.data.message.error||"Your wallet is connected to a different network to this dApp. Update your wallet to the correct network (MainNet or TestNet) to continue.")),x("pera-wallet-connect-modal-wrapper"),null==i||i.close())})({event:i,newPeraWalletTab:n,resolve:o,reject:a})})}catch(c){l(),a(c)}})};function l(){x("pera-wallet-connect-modal-wrapper")}}function $({isWebWalletAvailable:n,shouldDisplayNewBadge:i,shouldUseSound:o,compactMode:a,promoteMobile:s}){var l;return{open:(l={isWebWalletAvailable:n,shouldDisplayNewBadge:i,shouldUseSound:o,compactMode:a,promoteMobile:s},n=>{if(!document.getElementById("pera-wallet-connect-modal-wrapper")){let i=w("pera-wallet-connect-modal-wrapper"),o=`${n}&algorand=true`,{isWebWalletAvailable:a,shouldDisplayNewBadge:s,shouldUseSound:u,compactMode:c,promoteMobile:d}=l;i.innerHTML=``}}),close:()=>x("pera-wallet-connect-modal-wrapper")}}"undefined"!=typeof window&&(window.global=window,window.Buffer=window.Buffer||o(48764).Buffer,Promise.resolve().then(function(){return o(37400)})),i.PERA_DOWNLOAD_URL="https://perawallet.app/download/",i.PERA_WALLET_APP_DEEP_LINK=B,i.PERA_WALLET_CONNECT_MODAL_ID="pera-wallet-connect-modal-wrapper",i.PERA_WALLET_MODAL_CLASSNAME="pera-wallet-modal",i.PERA_WALLET_REDIRECT_MODAL_ID="pera-wallet-redirect-modal-wrapper",i.PERA_WALLET_SIGN_TXN_MODAL_ID="pera-wallet-sign-txn-modal-wrapper",i.PERA_WALLET_SIGN_TXN_TOAST_ID="pera-wallet-sign-txn-toast-wrapper",i.PeraWalletConnect=class{constructor(n){this.bridge=(null==n?void 0:n.bridge)||"",this.connector=null,this.shouldShowSignTxnToast=void 0===(null==n?void 0:n.shouldShowSignTxnToast)||n.shouldShowSignTxnToast,this.chainId=null==n?void 0:n.chainId,this.compactMode=(null==n?void 0:n.compactMode)||!1}get platform(){return function(){let n=C(),i=null;return"pera-wallet"===(null==n?void 0:n.type)?i="mobile":"pera-wallet-web"===(null==n?void 0:n.type)&&(i="web"),i}()}get isConnected(){var n;return"mobile"===this.platform?!!this.connector:"web"===this.platform&&!!(null===(n=C())||void 0===n?void 0:n.accounts.length)}connect(){return new Promise((n,i)=>h(this,void 0,void 0,function*(){var o;try{if(null===(o=this.connector)||void 0===o?void 0:o.connected)try{yield this.connector.killSession()}catch(a){}let{isWebWalletAvailable:s,bridgeURL:l,webWalletURL:u,shouldDisplayNewBadge:c,shouldUseSound:p,promoteMobile:f}=yield I(),h=j({resolve:n,reject:i,webWalletURL:u,chainId:this.chainId,isCompactMode:this.compactMode});s&&(window.onWebWalletConnect=h),this.connector=new d.default({bridge:this.bridge||l||"https://bridge.walletconnect.org",qrcodeModal:$({isWebWalletAvailable:s,shouldDisplayNewBadge:c,shouldUseSound:p,compactMode:this.compactMode,promoteMobile:f})}),yield this.connector.createSession({chainId:this.chainId||4160}),function(n,i){var o,a,s,l;let u=document.getElementById(n),c=null===(a=null===(o=null==u?void 0:u.querySelector(n.replace("-wrapper","")))||void 0===o?void 0:o.shadowRoot)||void 0===a?void 0:a.querySelector(".pera-wallet-modal"),d=null===(l=null===(s=null==c?void 0:c.querySelector("pera-wallet-modal-header"))||void 0===s?void 0:s.shadowRoot)||void 0===l?void 0:l.getElementById("pera-wallet-modal-header-close-button");null==d||d.addEventListener("click",()=>{i(),x(n)})}("pera-wallet-connect-modal-wrapper",()=>i(new m({type:"CONNECT_MODAL_CLOSED"},"Connect modal is closed by user"))),this.connector.on("connect",(o,a)=>{var s,l;o&&i(o),n((null===(s=this.connector)||void 0===s?void 0:s.accounts)||[]),T((null===(l=this.connector)||void 0===l?void 0:l.accounts)||[])})}catch(g){console.log(g),i(new m({type:"SESSION_CONNECT",detail:g},g.message||"There was an error while connecting to Pera Wallet"))}}))}reconnectSession(){return new Promise((n,i)=>h(this,void 0,void 0,function*(){var o,a;try{let s=C();if(!s)return void n([]);if("pera-wallet-web"===(null==s?void 0:s.type)){let{isWebWalletAvailable:l}=yield I();l?n(s.accounts||[]):i(new m({type:"SESSION_RECONNECT",detail:"Pera Web is not available"},"Pera Web is not available"))}this.connector&&n(this.connector.accounts||[]),this.bridge=(null===(o=function(){var n;let i=null===(n=A())||void 0===n?void 0:n.getItem(k);return i?JSON.parse(i):null}())||void 0===o?void 0:o.bridge)||"",this.bridge&&(this.connector=new d.default({bridge:this.bridge}),n((null===(a=this.connector)||void 0===a?void 0:a.accounts)||[])),this.isConnected||n([])}catch(u){yield this.disconnect(),i(new m({type:"SESSION_RECONNECT",detail:u},u.message||"There was an error while reconnecting to Pera Wallet"))}}))}disconnect(){var n;return h(this,void 0,void 0,function*(){let i;this.isConnected&&"mobile"===this.platform&&(null==(i=null===(n=this.connector)||void 0===n?void 0:n.killSession())||i.then(()=>{this.connector=null})),yield R()})}signTransactionWithMobile(n){return h(this,void 0,void 0,function*(){let i=M("algo_signTxn",[n]);try{try{let{silent:o}=yield I(),a=(yield this.connector.sendCustomRequest(i,{forcePushNotification:!o})).filter(Boolean);return"string"==typeof a[0]?a.map(N):a.map(n=>Uint8Array.from(n))}catch(s){return yield Promise.reject(new m({type:"SIGN_TRANSACTIONS",detail:s},s.message||"Failed to sign transaction"))}}finally{x("pera-wallet-redirect-modal-wrapper"),x("pera-wallet-sign-txn-toast-wrapper")}})}signTransactionWithWeb(n,i){return new Promise((o,a)=>z({signTxnRequestParams:n,webWalletURL:i,method:"SIGN_TXN",resolve:o,reject:a}))}signDataWithMobile({data:n,signer:i,chainId:o}){return h(this,void 0,void 0,function*(){let a=M("algo_signData",n.map(n=>Object.assign(Object.assign({},n),{signer:i,chainId:o})));try{try{let{silent:s}=yield I(),l=(yield this.connector.sendCustomRequest(a,{forcePushNotification:!s})).filter(Boolean);return"string"==typeof l[0]?l.map(N):l.map(n=>Uint8Array.from(n))}catch(u){return yield Promise.reject(new m({type:"SIGN_TRANSACTIONS",detail:u},u.message||"Failed to sign transaction"))}}finally{x("pera-wallet-redirect-modal-wrapper"),x("pera-wallet-sign-txn-toast-wrapper")}})}signDataWithWeb({data:n,signer:i,chainId:o,webWalletURL:a}){return new Promise((s,l)=>z({method:"SIGN_DATA",signTxnRequestParams:n,signer:i,chainId:o,webWalletURL:a,resolve:s,reject:l}))}signTransaction(n,i){return h(this,void 0,void 0,function*(){if("mobile"===this.platform&&(F()?E():!F()&&this.shouldShowSignTxnToast&&S(),!this.connector))throw Error("PeraWalletConnect was not initialized correctly.");let o=n.flatMap(n=>n.map(n=>(function(n,i){var o;let s;i&&!(n.signers||[]).includes(i)&&(s=[]);let l={txn:(o=n.txn,a.from(p.default.encodeUnsignedTransaction(o)).toString("base64"))};return Array.isArray(s)&&(l.signers=s),n.authAddr&&(l.authAddr=n.authAddr),n.message&&(l.message=n.message),n.msig&&(l.msig=n.msig),l})(n,i)));if("web"===this.platform){let{webWalletURL:s}=yield I();return this.signTransactionWithWeb(o,s)}return this.signTransactionWithMobile(o)})}signData(n,i){return h(this,void 0,void 0,function*(){let o=this.chainId||4160;if("mobile"===this.platform&&(F()?E():!F()&&this.shouldShowSignTxnToast&&S(),!this.connector))throw Error("PeraWalletConnect was not initialized correctly.");if("web"===this.platform){let{webWalletURL:s}=yield I();return this.signDataWithWeb({data:n,signer:i,chainId:o,webWalletURL:s})}let l=n.map(n=>Object.assign(Object.assign({},n),{data:a.from(n.data).toString("base64")}));return this.signDataWithMobile({data:l,signer:i,chainId:o})})}},i.closePeraWalletSignTxnToast=function(){x("pera-wallet-sign-txn-toast-wrapper")},i.detectBrowser=function(){if(!L())return null;let{userAgent:n}=navigator;return n.match(/DuckDuckGo/i)?"DuckDuckGo":n.match(/OPX/i)?"Opera GX":navigator.brave?"Brave":f.default.getParser(navigator.userAgent).getBrowserName()},i.isAndroid=P,i.isIOS=function(){return L()&&/iPhone|iPad|iPod/i.test(navigator.userAgent)},i.isMobile=F,i.removeModalWrapperFromDOM=x},92339:function(n,i,o){"use strict";var a,s=o(8150);o(68685),o(81338),o(51206),i.DQ=s.PeraWalletConnect,a=s.closePeraWalletSignTxnToast},21132:function(n,i,o){"use strict";let a;o.d(i,{tf:function(){return Q}});let s=_(),l=n=>v(n,s),u=_();l.write=n=>v(n,u);let c=_();l.onStart=n=>v(n,c);let d=_();l.onFrame=n=>v(n,d);let p=_();l.onFinish=n=>v(n,p);let f=[];l.setTimeout=(n,i)=>{let o=l.now()+i,a=()=>{let n=f.findIndex(n=>n.cancel==a);~n&&f.splice(n,1),b-=~n?1:0},s={time:o,handler:n,cancel:a};return f.splice(h(o),0,s),b+=1,w(),s};let h=n=>~(~f.findIndex(i=>i.time>n)||~f.length);l.cancel=n=>{c.delete(n),d.delete(n),p.delete(n),s.delete(n),u.delete(n)},l.sync=n=>{y=!0,l.batchedUpdates(n),y=!1},l.throttle=n=>{let i;function o(){try{n(...i)}finally{i=null}}function a(...n){i=n,l.onStart(o)}return a.handler=n,a.cancel=()=>{c.delete(o),i=null},a};let m="undefined"!=typeof window?window.requestAnimationFrame:()=>{};l.use=n=>m=n,l.now="undefined"!=typeof performance?()=>performance.now():Date.now,l.batchedUpdates=n=>n(),l.catch=console.error,l.frameLoop="always",l.advance=()=>{"demand"!==l.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):x()};let g=-1,b=0,y=!1;function v(n,i){y?(i.delete(n),n(0)):(i.add(n),w())}function w(){g<0&&(g=0,"demand"!==l.frameLoop&&m(S))}function E(){g=-1}function S(){~g&&(m(S),l.batchedUpdates(x))}function x(){let n=g;g=l.now();let i=h(g);if(i&&(k(f.splice(0,i),n=>n.handler()),b-=i),!b){E();return}c.flush(),s.flush(n?Math.min(64,g-n):16.667),d.flush(),u.flush(),p.flush()}function _(){let n=new Set,i=n;return{add(o){b+=i!=n||n.has(o)?0:1,n.add(o)},delete:o=>(b-=i==n&&n.has(o)?1:0,n.delete(o)),flush(o){i.size&&(n=new Set,b-=i.size,k(i,i=>i(o)&&n.add(i)),b+=n.size,i=n)}}}function k(n,i){n.forEach(n=>{try{i(n)}catch(o){l.catch(o)}})}var A=o(67294);function T(){}let C={arr:Array.isArray,obj:n=>!!n&&"Object"===n.constructor.name,fun:n=>"function"==typeof n,str:n=>"string"==typeof n,num:n=>"number"==typeof n,und:n=>void 0===n},R=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),D=T,O=new Set,I=[],N=[],M=0,L={get idle(){return!O.size&&!I.length},start(n){M>n.priority?(O.add(n),l.onStart(P)):(F(n),l(U))},advance:U,sort(n){if(M)l.onFrame(()=>L.sort(n));else{let i=I.indexOf(n);~i&&(I.splice(i,1),B(n))}},clear(){I=[],O.clear()}};function P(){O.forEach(F),O.clear(),l(U)}function F(n){I.includes(n)||B(n)}function B(n){I.splice(z(I,i=>i.priority>n.priority),0,n)}function U(n){let i=N;for(let o=0;o0}function z(n,i){let o=n.findIndex(i);return o<0?n.length:o}let j="[-+]?\\d*\\.?\\d+",$=j+"%";function H(...n){return"\\(\\s*("+n.join(")\\s*,\\s*(")+")\\s*\\)"}RegExp("rgb"+H(j,j,j)),RegExp("rgba"+H(j,j,j,j)),RegExp("hsl"+H(j,$,$)),RegExp("hsla"+H(j,$,$,j));let V=(n,i,o)=>{if(C.fun(n))return n;if(C.arr(n))return V({range:n,output:i,extrapolate:o});if(C.str(n.output[0]))return a(n);let s=n,l=s.output,u=s.range||[0,1],c=s.extrapolateLeft||s.extrapolate||"extend",d=s.extrapolateRight||s.extrapolate||"extend",p=s.easing||(n=>n);return n=>{let i=q(n,u);return G(n,u[i],u[i+1],l[i],l[i+1],p,c,d,s.map)}};function G(n,i,o,a,s,l,u,c,d){let p=d?d(n):n;if(po){if("identity"===c)return p;"clamp"===c&&(p=o)}return a===s?a:i===o?n<=i?a:s:(i===-1/0?p=-p:o===1/0?p-=i:p=(p-i)/(o-i),p=l(p),a===-1/0?p=-p:s===1/0?p+=a:p=p*(s-a)+a,p)}function q(n,i){for(var o=1;o=n);++o);return o-1}Symbol.for("FluidValue.get"),Symbol.for("FluidValue.observers");let W=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g;RegExp(`(${W.source})(%|[a-z]+)`,"i");let K=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Y=n=>{let[i,o]=Z(n);if(!i||R())return n;let a=window.getComputedStyle(document.documentElement).getPropertyValue(i);if(a)return a.trim();if(o&&o.startsWith("--")){let s=window.getComputedStyle(document.documentElement).getPropertyValue(o);if(s)return s}else if(o&&K.test(o))return Y(o);else if(o)return o;return n},Z=n=>{let i=K.exec(n);if(!i)return[,];let[,o,a]=i;return[o,a]},X="react-spring: ",J=n=>{let i=n,o=!1;if("function"!=typeof i)throw TypeError(`${X}once requires a function parameter`);return(...n)=>{o||(i(...n),o=!0)}};J(console.warn),J(console.warn),new WeakMap,new WeakMap,new WeakMap,new WeakMap,R()?A.useEffect:A.useLayoutEffect;let Q=n=>(0,A.useEffect)(n,ee),ee=[]},85118:function(n,i,o){"use strict";o.d(i,{i:function(){return f}});var a=o(87462),s=o(67294),l=o(53459),u=function(n){return function(i){n.forEach(function(n){"function"==typeof n?n(i):null!=n&&(n.current=i)})}},c=o(99477);function d(n,i,o){let a=(0,l.A)(n=>n.size),u=(0,l.A)(n=>n.viewport),d="number"==typeof n?n:a.width*u.dpr,p="number"==typeof i?i:a.height*u.dpr,f=("number"==typeof n?o:n)||{},{samples:h=0,depth:m,...g}=f,b=s.useMemo(()=>{let n=new c.WebGLRenderTarget(d,p,{minFilter:c.LinearFilter,magFilter:c.LinearFilter,type:c.HalfFloatType,...g});return m&&(n.depthTexture=new c.DepthTexture(d,p,c.FloatType)),n.samples=h,n},[]);return s.useLayoutEffect(()=>{b.setSize(d,p),h&&(b.samples=h)},[h,b,d,p]),s.useEffect(()=>()=>b.dispose(),[]),b}let p=n=>"function"==typeof n,f=s.forwardRef(({envMap:n,resolution:i=256,frames:o=1/0,children:c,makeDefault:f,...h},m)=>{let g=(0,l.A)(({set:n})=>n),b=(0,l.A)(({camera:n})=>n),y=(0,l.A)(({size:n})=>n),v=s.useRef(null),w=s.useRef(null),E=d(i);s.useLayoutEffect(()=>{h.manual||v.current.updateProjectionMatrix()},[y,h]),s.useLayoutEffect(()=>{v.current.updateProjectionMatrix()}),s.useLayoutEffect(()=>{if(f){let n=b;return g(()=>({camera:v.current})),()=>g(()=>({camera:n}))}},[v,f,g]);let S=0,x=null,_=p(c);return(0,l.C)(i=>{_&&(o===1/0||Sn===Object(n)&&!Array.isArray(n)&&"function"!=typeof n;function c(n,i){let o=(0,s.A)(n=>n.gl),c=(0,s.F)(a.TextureLoader,u(n)?Object.values(n):n);if((0,l.useLayoutEffect)(()=>{null==i||i(c)},[i]),(0,l.useEffect)(()=>{if("initTexture"in o){let n=Array.isArray(c)?c:[c];n.forEach(o.initTexture)}},[o,c]),!u(n))return c;{let d={},p=0;for(let f in n)d[f]=c[p++];return d}}c.preload=n=>s.F.preload(a.TextureLoader,n),c.clear=n=>s.F.clear(a.TextureLoader,n)},53459:function(n,i,o){"use strict";let a,s,l;o.d(i,{A:function(){return eE},B:function(){return B},C:function(){return eS},E:function(){return U},F:function(){return ek},a:function(){return P},b:function(){return eM},c:function(){return eu},d:function(){return eP},e:function(){return D},i:function(){return L},u:function(){return F}});var u,c,d=o(99477),p=o(67294),f=o(32576);function h(n){let i;let o=new Set,a=(n,a)=>{let s="function"==typeof n?n(i):n;if(s!==i){let l=i;i=a?s:Object.assign({},i,s),o.forEach(n=>n(i,l))}},s=()=>i,l=(n,a=s,l=Object.is)=>{console.warn("[DEPRECATED] Please use `subscribeWithSelector` middleware");let u=a(i);function c(){let o=a(i);if(!l(u,o)){let s=u;n(u=o,s)}}return o.add(c),()=>o.delete(c)},u=(n,i,a)=>i||a?l(n,i,a):(o.add(n),()=>o.delete(n)),c=()=>o.clear(),d={setState:a,getState:s,subscribe:u,destroy:c};return i=n(a,s,d),d}let m="undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),g=m?p.useEffect:p.useLayoutEffect;function b(n){let i="function"==typeof n?h(n):n,o=(n=i.getState,o=Object.is)=>{let a;let[,s]=(0,p.useReducer)(n=>n+1,0),l=i.getState(),u=(0,p.useRef)(l),c=(0,p.useRef)(n),d=(0,p.useRef)(o),f=(0,p.useRef)(!1),h=(0,p.useRef)();void 0===h.current&&(h.current=n(l));let m=!1;(u.current!==l||c.current!==n||d.current!==o||f.current)&&(a=n(l),m=!o(h.current,a)),g(()=>{m&&(h.current=a),u.current=l,c.current=n,d.current=o,f.current=!1});let b=(0,p.useRef)(l);g(()=>{let n=()=>{try{let n=i.getState(),o=c.current(n);d.current(h.current,o)||(u.current=n,h.current=o,s())}catch(a){f.current=!0,s()}},o=i.subscribe(n);return i.getState()!==b.current&&n(),o},[]);let y=m?a:h.current;return(0,p.useDebugValue)(y),y};return Object.assign(o,i),o[Symbol.iterator]=function(){console.warn("[useStore, api] = create() is deprecated and will be removed in v4");let n=[o,i];return{next(){let i=n.length<=0;return{value:n.shift(),done:i}}}},o}var y=o(76525),v=o.n(y),w=o(63840);let E=n=>"object"==typeof n&&"function"==typeof n.then,S=[];function x(n,i,o=(n,i)=>n===i){if(n===i)return!0;if(!n||!i)return!1;let a=n.length;if(i.length!==a)return!1;for(let s=0;s0&&(s.timeout&&clearTimeout(s.timeout),s.timeout=setTimeout(s.remove,a.lifespan)),s.response;if(!o)throw s.promise}let l={keys:i,equal:a.equal,remove(){let n=S.indexOf(l);-1!==n&&S.splice(n,1)},promise:(E(n)?n:n(...i)).then(n=>{l.response=n,a.lifespan&&a.lifespan>0&&(l.timeout=setTimeout(l.remove,a.lifespan))}).catch(n=>l.error=n)};if(S.push(l),!o)throw l.promise}let k=(n,i,o)=>_(n,i,!1,o),A=(n,i,o)=>void _(n,i,!0,o),T=n=>{if(void 0===n||0===n.length)S.splice(0,S.length);else{let i=S.find(i=>x(n,i.keys,i.equal));i&&i.remove()}};var C=o(34155);let R={},D=n=>void Object.assign(R,n);function O(n,i){function o(n,{args:i=[],attach:o,...a},s){let l,u=`${n[0].toUpperCase()}${n.slice(1)}`;if("primitive"===n){if(void 0===a.object)throw Error("R3F: Primitives without 'object' are invalid!");let c=a.object;l=K(c,{type:n,root:s,attach:o,primitive:!0})}else{let p=R[u];if(!p)throw Error(`R3F: ${u} is not part of the THREE namespace! Did you forget to extend? See: https://docs.pmnd.rs/react-three-fiber/api/objects#using-3rd-party-objects-declaratively`);if(!Array.isArray(i))throw Error("R3F: The args prop must be an array!");l=K(new p(...i),{type:n,root:s,attach:o,memoizedProps:{args:i}})}return void 0===l.__r3f.attach&&(l instanceof d.BufferGeometry?l.__r3f.attach="geometry":l instanceof d.Material&&(l.__r3f.attach="material")),"inject"!==u&&et(l,a),l}function a(n,i){let o=!1;if(i){var a,s;null!=(a=i.__r3f)&&a.attach?X(n,i,i.__r3f.attach):i.isObject3D&&n.isObject3D&&(n.add(i),o=!0),o||null==(s=n.__r3f)||s.objects.push(i),i.__r3f||K(i,{}),i.__r3f.parent=n,er(i),en(i)}}function s(n,i,o){let a=!1;if(i){var s,l;if(null!=(s=i.__r3f)&&s.attach)X(n,i,i.__r3f.attach);else if(i.isObject3D&&n.isObject3D){i.parent=n,i.dispatchEvent({type:"added"});let u=n.children.filter(n=>n!==i),c=u.indexOf(o);n.children=[...u.slice(0,c),i,...u.slice(c)],a=!0}a||null==(l=n.__r3f)||l.objects.push(i),i.__r3f||K(i,{}),i.__r3f.parent=n,er(i),en(i)}}function l(n,i,o=!1){n&&[...n].forEach(n=>u(i,n,o))}function u(n,i,o){if(i){var a,s,u,c,d;i.__r3f&&(i.__r3f.parent=null),null!=(a=n.__r3f)&&a.objects&&(n.__r3f.objects=n.__r3f.objects.filter(n=>n!==i)),null!=(s=i.__r3f)&&s.attach?J(n,i,i.__r3f.attach):i.isObject3D&&n.isObject3D&&(n.remove(i),null!=(c=i.__r3f)&&c.root&&el(i.__r3f.root,i));let p=null==(u=i.__r3f)?void 0:u.primitive,f=!p&&(void 0===o?null!==i.dispose:o);if(p||(l(null==(d=i.__r3f)?void 0:d.objects,i,f),l(i.children,i,f)),delete i.__r3f,f&&i.dispose&&"Scene"!==i.type){let h=()=>{try{i.dispose()}catch(n){}};"undefined"==typeof IS_REACT_ACT_ENVIRONMENT?(0,w.unstable_scheduleCallback)(w.unstable_IdlePriority,h):h()}en(n)}}function c(n,i,s,l){var c;let d=null==(c=n.__r3f)?void 0:c.parent;if(!d)return;let p=o(i,s,n.__r3f.root);if(n.children){for(let f of n.children)f.__r3f&&a(p,f);n.children=n.children.filter(n=>!n.__r3f)}if(n.__r3f.objects.forEach(n=>a(p,n)),n.__r3f.objects=[],n.__r3f.autoRemovedBeforeAppend||u(d,n),p.parent&&(p.__r3f.autoRemovedBeforeAppend=!0),a(d,p),p.raycast&&p.__r3f.eventCount){let h=p.__r3f.root.getState();h.internal.interaction.push(p)}[l,l.alternate].forEach(n=>{null!==n&&(n.stateNode=p,n.ref&&("function"==typeof n.ref?n.ref(p):n.ref.current=p))})}let p=()=>console.warn("Text is not allowed in the R3F tree! This could be stray whitespace or characters."),h=v()({createInstance:o,removeChild:u,appendChild:a,appendInitialChild:a,insertBefore:s,supportsMutation:!0,isPrimaryRenderer:!1,supportsPersistence:!1,supportsHydration:!1,noTimeout:-1,appendChildToContainer(n,i){if(!i)return;let o=n.getState().scene;o.__r3f&&(o.__r3f.root=n,a(o,i))},removeChildFromContainer(n,i){i&&u(n.getState().scene,i)},insertInContainerBefore(n,i,o){if(!i||!o)return;let a=n.getState().scene;a.__r3f&&s(a,i,o)},getRootHostContext:()=>null,getChildHostContext:n=>n,finalizeInitialChildren(n){var i;let o=null!=(i=null==n?void 0:n.__r3f)?i:{};return Boolean(o.handlers)},prepareUpdate(n,i,o,a){var s;let l=null!=(s=null==n?void 0:n.__r3f)?s:{};if(l.primitive&&a.object&&a.object!==n)return[!0];{let{args:u=[],children:c,...d}=a,{args:p=[],children:f,...h}=o;if(!Array.isArray(u))throw Error("R3F: the args prop must be an array!");if(u.some((n,i)=>n!==p[i]))return[!0];let m=Q(n,d,h,!0);return m.changes.length?[!1,m]:null}},commitUpdate(n,[i,o],a,s,l,u){i?c(n,a,l,u):et(n,o)},commitMount(n,i,o,a){var s;let l=null!=(s=n.__r3f)?s:{};n.raycast&&l.handlers&&l.eventCount&&n.__r3f.root.getState().internal.interaction.push(n)},getPublicInstance:n=>n,prepareForCommit:()=>null,preparePortalMount:n=>K(n.getState().scene),resetAfterCommit(){},shouldSetTextContent:()=>!1,clearContainer:()=>!1,hideInstance(n){var i;let{attach:o,parent:a}=null!=(i=n.__r3f)?i:{};o&&a&&J(a,n,o),n.isObject3D&&(n.visible=!1),en(n)},unhideInstance(n,i){var o;let{attach:a,parent:s}=null!=(o=n.__r3f)?o:{};a&&s&&X(s,n,a),(n.isObject3D&&null==i.visible||i.visible)&&(n.visible=!0),en(n)},createTextInstance:p,hideTextInstance:p,unhideTextInstance:p,getCurrentEventPriority:()=>i?i():f.DefaultEventPriority,beforeActiveInstanceBlur(){},afterActiveInstanceBlur(){},detachDeletedInstance(){},now:"undefined"!=typeof performance&&G.fun(performance.now)?performance.now:G.fun(Date.now)?Date.now:()=>0,scheduleTimeout:G.fun(setTimeout)?setTimeout:void 0,cancelTimeout:G.fun(clearTimeout)?clearTimeout:void 0});return{reconciler:h,applyProps:et}}let I=n=>"colorSpace"in n||"outputColorSpace"in n,N=()=>{var n;return null!=(n=R.ColorManagement)?n:null},M=n=>n&&n.isOrthographicCamera,L=n=>n&&n.hasOwnProperty("current"),P="undefined"!=typeof window&&(null!=(u=window.document)&&u.createElement||(null==(c=window.navigator)?void 0:c.product)==="ReactNative")?p.useLayoutEffect:p.useEffect;function F(n){let i=p.useRef(n);return P(()=>void(i.current=n),[n]),i}function B({set:n}){return P(()=>(n(new Promise(()=>null)),()=>n(!1)),[n]),null}class U extends p.Component{constructor(...n){super(...n),this.state={error:!1}}componentDidCatch(n){this.props.set(n)}render(){return this.state.error?null:this.props.children}}U.getDerivedStateFromError=()=>({error:!0});let z="__default",j=new Map,$=n=>n&&!!n.memoized&&!!n.changes;function H(n){var i;let o="undefined"!=typeof window?null!=(i=window.devicePixelRatio)?i:2:1;return Array.isArray(n)?Math.min(Math.max(n[0],o),n[1]):n}let V=n=>{var i;return null==(i=n.__r3f)?void 0:i.root.getState()},G={obj:n=>n===Object(n)&&!G.arr(n)&&"function"!=typeof n,fun:n=>"function"==typeof n,str:n=>"string"==typeof n,num:n=>"number"==typeof n,boo:n=>"boolean"==typeof n,und:n=>void 0===n,arr:n=>Array.isArray(n),equ(n,i,{arrays:o="shallow",objects:a="reference",strict:s=!0}={}){let l;if(typeof n!=typeof i||!!n!=!!i)return!1;if(G.str(n)||G.num(n))return n===i;let u=G.obj(n);if(u&&"reference"===a)return n===i;let c=G.arr(n);if(c&&"reference"===o)return n===i;if((c||u)&&n===i)return!0;for(l in n)if(!(l in i))return!1;if(u&&"shallow"===o&&"shallow"===a){for(l in s?i:n)if(!G.equ(n[l],i[l],{strict:s,objects:"reference"}))return!1}else for(l in s?i:n)if(n[l]!==i[l])return!1;if(G.und(l)){if(c&&0===n.length&&0===i.length||u&&0===Object.keys(n).length&&0===Object.keys(i).length)return!0;if(n!==i)return!1}return!0}};function q(n){let i={nodes:{},materials:{}};return n&&n.traverse(n=>{n.name&&(i.nodes[n.name]=n),n.material&&!i.materials[n.material.name]&&(i.materials[n.material.name]=n.material)}),i}function W(n){for(let i in n.dispose&&"Scene"!==n.type&&n.dispose(),n)null==i.dispose||i.dispose(),delete n[i]}function K(n,i){let o=n;return o.__r3f={type:"",root:null,previousAttach:null,memoizedProps:{},eventCount:0,handlers:{},objects:[],parent:null,...i},n}function Y(n,i){let o=n;if(!i.includes("-"))return{target:o,key:i};{let a=i.split("-"),s=a.pop();return o=a.reduce((n,i)=>n[i],n),{target:o,key:s}}}let Z=/-\d+$/;function X(n,i,o){if(G.str(o)){if(Z.test(o)){let a=o.replace(Z,""),{target:s,key:l}=Y(n,a);Array.isArray(s[l])||(s[l]=[])}let{target:u,key:c}=Y(n,o);i.__r3f.previousAttach=u[c],u[c]=i}else i.__r3f.previousAttach=o(n,i)}function J(n,i,o){var a,s;if(G.str(o)){let{target:l,key:u}=Y(n,o),c=i.__r3f.previousAttach;void 0===c?delete l[u]:l[u]=c}else null==(a=i.__r3f)||null==a.previousAttach||a.previousAttach(n,i);null==(s=i.__r3f)||delete s.previousAttach}function Q(n,{children:i,key:o,ref:a,...s},{children:l,key:u,ref:c,...d}={},p=!1){var f;let h=null!=(f=null==n?void 0:n.__r3f)?f:{},m=Object.entries(s),g=[];if(p){let b=Object.keys(d);for(let y=0;y{var a;if(null!=(a=n.__r3f)&&a.primitive&&"object"===i||G.equ(o,d[i]))return;if(/^on(Pointer|Click|DoubleClick|ContextMenu|Wheel)/.test(i))return g.push([i,o,!0,[]]);let l=[];for(let u in i.includes("-")&&(l=i.split("-")),g.push([i,o,!1,l]),s){let c=s[u];u.startsWith(`${i}-`)&&g.push([u,c,!1,u.split("-")])}});let v={...s};return h.memoizedProps&&h.memoizedProps.args&&(v.args=h.memoizedProps.args),h.memoizedProps&&h.memoizedProps.attach&&(v.attach=h.memoizedProps.attach),{memoized:v,changes:g}}let ee=void 0!==C&&!1;function et(n,i){var o,a,s;let l=null!=(o=n.__r3f)?o:{},u=l.root,c=null!=(a=null==u?void 0:null==u.getState?void 0:u.getState())?a:{},{memoized:p,changes:f}=$(i)?i:Q(n,i),h=l.eventCount;n.__r3f&&(n.__r3f.memoizedProps=p);for(let m=0;mn[i],n))&&_.set)){let[k,...A]=v.reverse();x=A.reverse().reduce((n,i)=>n[i],n),g=k}if(b===z+"remove"){if(x.constructor){let T=j.get(x.constructor);T||(T=new x.constructor,j.set(x.constructor,T)),b=T[g]}else b=0}if(y)b?l.handlers[g]=b:delete l.handlers[g],l.eventCount=Object.keys(l.handlers).length;else if(_&&_.set&&(_.copy||_ instanceof d.Layers)){if(Array.isArray(b))_.fromArray?_.fromArray(b):_.set(...b);else if(_.copy&&b&&b.constructor&&(ee?_.constructor.name===b.constructor.name:_.constructor===b.constructor))_.copy(b);else if(void 0!==b){let C=_ instanceof d.Color;!C&&_.setScalar?_.setScalar(b):_ instanceof d.Layers&&b instanceof d.Layers?_.mask=b.mask:_.set(b),N()||c.linear||!C||_.convertSRGBToLinear()}}else if(x[g]=b,x[g]instanceof d.Texture&&x[g].format===d.RGBAFormat&&x[g].type===d.UnsignedByteType){let R=x[g];I(R)&&I(c.gl)?R.colorSpace=c.gl.outputColorSpace:R.encoding=c.gl.outputEncoding}en(n)}if(l.parent&&c.internal&&n.raycast&&h!==l.eventCount){let D=c.internal.interaction.indexOf(n);D>-1&&c.internal.interaction.splice(D,1),l.eventCount&&c.internal.interaction.push(n)}let O=1===f.length&&"onUpdate"===f[0][0];return!O&&f.length&&null!=(s=n.__r3f)&&s.parent&&er(n),n}function en(n){var i,o;let a=null==(i=n.__r3f)?void 0:null==(o=i.root)?void 0:null==o.getState?void 0:o.getState();a&&0===a.internal.frames&&a.invalidate()}function er(n){null==n.onUpdate||n.onUpdate(n)}function ei(n,i){n.manual||(M(n)?(n.left=-(i.width/2),n.right=i.width/2,n.top=i.height/2,n.bottom=-(i.height/2)):n.aspect=i.width/i.height,n.updateProjectionMatrix(),n.updateMatrixWorld())}function eo(n){return(n.eventObject||n.object).uuid+"/"+n.index+n.instanceId}function ea(){var n;let i="undefined"!=typeof self&&self||"undefined"!=typeof window&&window;if(!i)return f.DefaultEventPriority;let o=null==(n=i.event)?void 0:n.type;switch(o){case"click":case"contextmenu":case"dblclick":case"pointercancel":case"pointerdown":case"pointerup":return f.DiscreteEventPriority;case"pointermove":case"pointerout":case"pointerover":case"pointerenter":case"pointerleave":case"wheel":return f.ContinuousEventPriority;default:return f.DefaultEventPriority}}function es(n,i,o,a){let s=o.get(i);s&&(o.delete(i),0===o.size&&(n.delete(a),s.target.releasePointerCapture(a)))}function el(n,i){let{internal:o}=n.getState();o.interaction=o.interaction.filter(n=>n!==i),o.initialHits=o.initialHits.filter(n=>n!==i),o.hovered.forEach((n,a)=>{(n.eventObject===i||n.object===i)&&o.hovered.delete(a)}),o.capturedMap.forEach((n,a)=>{es(o.capturedMap,i,n,a)})}function eu(n){function i(i){let{internal:o}=n.getState(),a=i.offsetX-o.initialClick[0],s=i.offsetY-o.initialClick[1];return Math.round(Math.sqrt(a*a+s*s))}function o(n){return n.filter(n=>["Move","Over","Enter","Out","Leave"].some(i=>{var o;return null==(o=n.__r3f)?void 0:o.handlers["onPointer"+i]}))}function a(i,o){let a=n.getState(),s=new Set,l=[],u=o?o(a.internal.interaction):a.internal.interaction;for(let c=0;c{let o=V(n.object),a=V(i.object);return o&&a&&a.events.priority-o.events.priority||n.distance-i.distance}).filter(n=>{let i=eo(n);return!s.has(i)&&(s.add(i),!0)});for(let h of(a.events.filter&&(f=a.events.filter(f,a)),f)){let m=h.object;for(;m;){var g;null!=(g=m.__r3f)&&g.eventCount&&l.push({...h,eventObject:m}),m=m.parent}}if("pointerId"in i&&a.internal.capturedMap.has(i.pointerId))for(let b of a.internal.capturedMap.get(i.pointerId).values())s.has(eo(b.intersection))||l.push(b.intersection);return l}function s(i,o,a,s){let u=n.getState();if(i.length){let c={stopped:!1};for(let p of i){let f=V(p.object)||u,{raycaster:h,pointer:m,camera:g,internal:b}=f,y=new d.Vector3(m.x,m.y,0).unproject(g),v=n=>{var i,o;return null!=(i=null==(o=b.capturedMap.get(n))?void 0:o.has(p.eventObject))&&i},w=n=>{let i={intersection:p,target:o.target};b.capturedMap.has(n)?b.capturedMap.get(n).set(p.eventObject,i):b.capturedMap.set(n,new Map([[p.eventObject,i]])),o.target.setPointerCapture(n)},E=n=>{let i=b.capturedMap.get(n);i&&es(b.capturedMap,p.eventObject,i,n)},S={};for(let x in o){let _=o[x];"function"!=typeof _&&(S[x]=_)}let k={...p,...S,pointer:m,intersections:i,stopped:c.stopped,delta:a,unprojectedPoint:y,ray:h.ray,camera:g,stopPropagation(){let n="pointerId"in o&&b.capturedMap.get(o.pointerId);if((!n||n.has(p.eventObject))&&(k.stopped=c.stopped=!0,b.hovered.size&&Array.from(b.hovered.values()).find(n=>n.eventObject===p.eventObject))){let a=i.slice(0,i.indexOf(p));l([...a,p])}},target:{hasPointerCapture:v,setPointerCapture:w,releasePointerCapture:E},currentTarget:{hasPointerCapture:v,setPointerCapture:w,releasePointerCapture:E},nativeEvent:o};if(s(k),!0===c.stopped)break}}return i}function l(i){let{internal:o}=n.getState();for(let a of o.hovered.values())if(!i.length||!i.find(n=>n.object===a.object&&n.index===a.index&&n.instanceId===a.instanceId)){let s=a.eventObject,l=s.__r3f,u=null==l?void 0:l.handlers;if(o.hovered.delete(eo(a)),null!=l&&l.eventCount){let c={...a,intersections:i};null==u.onPointerOut||u.onPointerOut(c),null==u.onPointerLeave||u.onPointerLeave(c)}}}function u(n,i){for(let o=0;ol([]);case"onLostPointerCapture":return i=>{let{internal:o}=n.getState();"pointerId"in i&&o.capturedMap.has(i.pointerId)&&requestAnimationFrame(()=>{o.capturedMap.has(i.pointerId)&&(o.capturedMap.delete(i.pointerId),l([]))})}}return function(d){let{onPointerMissed:p,internal:f}=n.getState();f.lastEvent.current=d;let h="onPointerMove"===c,m="onClick"===c||"onContextMenu"===c||"onDoubleClick"===c,g=h?o:void 0,b=a(d,g),y=m?i(d):0;function v(n){let i=n.eventObject,o=i.__r3f,a=null==o?void 0:o.handlers;if(null!=o&&o.eventCount){if(h){if(a.onPointerOver||a.onPointerEnter||a.onPointerOut||a.onPointerLeave){let s=eo(n),l=f.hovered.get(s);l?l.stopped&&n.stopPropagation():(f.hovered.set(s,n),null==a.onPointerOver||a.onPointerOver(n),null==a.onPointerEnter||a.onPointerEnter(n))}null==a.onPointerMove||a.onPointerMove(n)}else{let p=a[c];p?(!m||f.initialHits.includes(i))&&(u(d,f.interaction.filter(n=>!f.initialHits.includes(n))),p(n)):m&&f.initialHits.includes(i)&&u(d,f.interaction.filter(n=>!f.initialHits.includes(n)))}}}"onPointerDown"===c&&(f.initialClick=[d.offsetX,d.offsetY],f.initialHits=b.map(n=>n.eventObject)),m&&!b.length&&y<=2&&(u(d,f.interaction),p&&p(d)),h&&l(b),s(b,d,y,v)}}return{handlePointer:c}}let ec=n=>!!(null!=n&&n.render),ed=p.createContext(null),ep=(n,i)=>{let o=b((o,a)=>{let s;let l=new d.Vector3,u=new d.Vector3,c=new d.Vector3;function f(n=a().camera,i=u,o=a().size){let{width:s,height:p,top:f,left:h}=o,m=s/p;i instanceof d.Vector3?c.copy(i):c.set(...i);let g=n.getWorldPosition(l).distanceTo(c);if(M(n))return{width:s/n.zoom,height:p/n.zoom,top:f,left:h,factor:1,distance:g,aspect:m};{let b=n.fov*Math.PI/180,y=2*Math.tan(b/2)*g,v=y*(s/p);return{width:v,height:y,top:f,left:h,factor:s/v,distance:g,aspect:m}}}let h=n=>o(i=>({performance:{...i.performance,current:n}})),m=new d.Vector2,g={set:o,get:a,gl:null,camera:null,raycaster:null,events:{priority:1,enabled:!0,connected:!1},xr:null,scene:null,invalidate:(i=1)=>n(a(),i),advance:(n,o)=>i(n,o,a()),legacy:!1,linear:!1,flat:!1,controls:null,clock:new d.Clock,pointer:m,mouse:m,frameloop:"always",onPointerMissed:void 0,performance:{current:1,min:.5,max:1,debounce:200,regress(){let n=a();s&&clearTimeout(s),n.performance.current!==n.performance.min&&h(n.performance.min),s=setTimeout(()=>h(a().performance.max),n.performance.debounce)}},size:{width:0,height:0,top:0,left:0,updateStyle:!1},viewport:{initialDpr:0,dpr:0,width:0,height:0,top:0,left:0,aspect:0,distance:0,factor:0,getCurrentViewport:f},setEvents:n=>o(i=>({...i,events:{...i.events,...n}})),setSize(n,i,s,l,c){let d=a().camera,p={width:n,height:i,top:l||0,left:c||0,updateStyle:s};o(n=>({size:p,viewport:{...n.viewport,...f(d,u,p)}}))},setDpr:n=>o(i=>{let o=H(n);return{viewport:{...i.viewport,dpr:o,initialDpr:i.viewport.initialDpr||o}}}),setFrameloop(n="always"){let i=a().clock;i.stop(),i.elapsedTime=0,"never"!==n&&(i.start(),i.elapsedTime=0),o(()=>({frameloop:n}))},previousRoot:void 0,internal:{active:!1,priority:0,frames:0,lastEvent:p.createRef(),interaction:[],hovered:new Map,subscribers:[],initialClick:[0,0],initialHits:[],capturedMap:new Map,subscribe(n,i,o){let s=a().internal;return s.priority=s.priority+(i>0?1:0),s.subscribers.push({ref:n,priority:i,store:o}),s.subscribers=s.subscribers.sort((n,i)=>n.priority-i.priority),()=>{let o=a().internal;null!=o&&o.subscribers&&(o.priority=o.priority-(i>0?1:0),o.subscribers=o.subscribers.filter(i=>i.ref!==n))}}}};return g}),a=o.getState(),s=a.size,l=a.viewport.dpr,u=a.camera;return o.subscribe(()=>{let{camera:n,size:i,viewport:a,gl:c,set:d}=o.getState();if(i.width!==s.width||i.height!==s.height||a.dpr!==l){var p;s=i,l=a.dpr,ei(n,i),c.setPixelRatio(a.dpr);let f=null!=(p=i.updateStyle)?p:"undefined"!=typeof HTMLCanvasElement&&c.domElement instanceof HTMLCanvasElement;c.setSize(i.width,i.height,f)}n!==u&&(u=n,d(i=>({viewport:{...i.viewport,...i.viewport.getCurrentViewport(n)}})))}),o.subscribe(i=>n(i)),o},ef=new Set,eh=new Set,em=new Set;function eg(n,i){if(n.size)for(let{callback:o}of n.values())o(i)}function eb(n,i){switch(n){case"before":return eg(ef,i);case"after":return eg(eh,i);case"tail":return eg(em,i)}}function ey(n,i,o){let u=i.clock.getDelta();for("never"===i.frameloop&&"number"==typeof n&&(u=n-i.clock.elapsedTime,i.clock.oldTime=i.clock.elapsedTime,i.clock.elapsedTime=n),s=i.internal.subscribers,a=0;a0)&&!(null!=(d=a.gl.xr)&&d.isPresenting)&&(i+=ey(u,a))}if(eb("after",u),0===i)return eb("tail",u),s=!1,cancelAnimationFrame(o)}function u(i,o=1){var a;if(!i)return n.forEach(n=>u(n.store.getState()),o);null!=(a=i.gl.xr)&&a.isPresenting||!i.internal.active||"never"===i.frameloop||(i.internal.frames=Math.min(60,i.internal.frames+o),s||(s=!0,requestAnimationFrame(l)))}function c(i,o=!0,a,s){if(o&&eb("before",i),a)ey(i,a,s);else for(let l of n.values())ey(i,l.store.getState());o&&eb("after",i)}return{loop:l,invalidate:u,advance:c}}function ew(){let n=p.useContext(ed);if(!n)throw Error("R3F: Hooks can only be used within the Canvas component!");return n}function eE(n=n=>n,i){return ew()(n,i)}function eS(n,i=0){let o=ew(),a=o.getState().internal.subscribe,s=F(n);return P(()=>a(s,i,o),[i,a,o]),null}let ex=new WeakMap;function e_(n,i){return function(o,...a){let s=ex.get(o);return s||(s=new o,ex.set(o,s)),n&&n(s),Promise.all(a.map(n=>new Promise((o,a)=>s.load(n,n=>{n.scene&&Object.assign(n,q(n.scene)),o(n)},i,i=>a(Error(`Could not load ${n}: ${null==i?void 0:i.message}`)))))).finally(()=>null==s.dispose?void 0:s.dispose())}}function ek(n,i,o,a){let s=Array.isArray(i)?i:[i],l=k(e_(o,a),[n,...s],{equal:G.equ});return Array.isArray(i)?l:l[0]}ek.preload=function(n,i,o){let a=Array.isArray(i)?i:[i];return A(e_(o),[n,...a])},ek.clear=function(n,i){let o=Array.isArray(i)?i:[i];return T([n,...o])};let eA=new Map,{invalidate:eT,advance:eC}=ev(eA),{reconciler:eR,applyProps:eD}=O(eA,ea),eO={objects:"shallow",strict:!1},eI=(n,i)=>{let o="function"==typeof n?n(i):n;return ec(o)?o:new d.WebGLRenderer({powerPreference:"high-performance",canvas:i,antialias:!0,alpha:!0,...n})};function eN(n,i){let o="undefined"!=typeof HTMLCanvasElement&&n instanceof HTMLCanvasElement;if(i){let{width:a,height:s,top:l,left:u,updateStyle:c=o}=i;return{width:a,height:s,top:l,left:u,updateStyle:c}}if("undefined"!=typeof HTMLCanvasElement&&n instanceof HTMLCanvasElement&&n.parentElement){let{width:d,height:p,top:f,left:h}=n.parentElement.getBoundingClientRect();return{width:d,height:p,top:f,left:h,updateStyle:o}}return"undefined"!=typeof OffscreenCanvas&&n instanceof OffscreenCanvas?{width:n.width,height:n.height,top:0,left:0,updateStyle:o}:{width:0,height:0,top:0,left:0}}function eM(n){let i,o;let a=eA.get(n),s=null==a?void 0:a.fiber,l=null==a?void 0:a.store;a&&console.warn("R3F.createRoot should only be called once!");let u="function"==typeof reportError?reportError:console.error,c=l||ep(eT,eC),h=s||eR.createContainer(c,f.ConcurrentRoot,null,!1,null,"",u,null);a||eA.set(n,{fiber:h,store:c});let m=!1;return{configure(a={}){var s,l;let{gl:u,size:p,scene:f,events:h,onCreated:g,shadows:b=!1,linear:y=!1,flat:v=!1,legacy:w=!1,orthographic:E=!1,frameloop:S="always",dpr:x=[1,2],performance:_,raycaster:k,camera:A,onPointerMissed:T}=a,C=c.getState(),R=C.gl;C.gl||C.set({gl:R=eI(u,n)});let D=C.raycaster;D||C.set({raycaster:D=new d.Raycaster});let{params:O,...I}=k||{};if(G.equ(I,D,eO)||eD(D,{...I}),G.equ(O,D.params,eO)||eD(D,{params:{...D.params,...O}}),!C.camera||C.camera===o&&!G.equ(o,A,eO)){o=A;let M=A instanceof d.Camera,L=M?A:E?new d.OrthographicCamera(0,0,0,0,.1,1e3):new d.PerspectiveCamera(75,0,.1,1e3);M||(L.position.z=5,A&&eD(L,A),C.camera||null!=A&&A.rotation||L.lookAt(0,0,0)),C.set({camera:L}),D.camera=L}if(!C.scene){let P;f instanceof d.Scene?P=f:(P=new d.Scene,f&&eD(P,f)),C.set({scene:K(P)})}if(!C.xr){let F=(n,i)=>{let o=c.getState();"never"!==o.frameloop&&eC(n,!0,o,i)},B=()=>{let n=c.getState();n.gl.xr.enabled=n.gl.xr.isPresenting,n.gl.xr.setAnimationLoop(n.gl.xr.isPresenting?F:null),n.gl.xr.isPresenting||eT(n)},U={connect(){let n=c.getState().gl;n.xr.addEventListener("sessionstart",B),n.xr.addEventListener("sessionend",B)},disconnect(){let n=c.getState().gl;n.xr.removeEventListener("sessionstart",B),n.xr.removeEventListener("sessionend",B)}};"function"==typeof(null==(s=R.xr)?void 0:s.addEventListener)&&U.connect(),C.set({xr:U})}if(R.shadowMap){let z=R.shadowMap.enabled,j=R.shadowMap.type;if(R.shadowMap.enabled=!!b,G.boo(b))R.shadowMap.type=d.PCFSoftShadowMap;else if(G.str(b)){let $={basic:d.BasicShadowMap,percentage:d.PCFShadowMap,soft:d.PCFSoftShadowMap,variance:d.VSMShadowMap};R.shadowMap.type=null!=(l=$[b])?l:d.PCFSoftShadowMap}else G.obj(b)&&Object.assign(R.shadowMap,b);(z!==R.shadowMap.enabled||j!==R.shadowMap.type)&&(R.shadowMap.needsUpdate=!0)}let V=N();V&&("enabled"in V?V.enabled=!w:"legacyMode"in V&&(V.legacyMode=w));let q=3e3,W=3001;eD(R,{outputEncoding:y?q:W,toneMapping:v?d.NoToneMapping:d.ACESFilmicToneMapping}),C.legacy!==w&&C.set(()=>({legacy:w})),C.linear!==y&&C.set(()=>({linear:y})),C.flat!==v&&C.set(()=>({flat:v})),!u||G.fun(u)||ec(u)||G.equ(u,R,eO)||eD(R,u),h&&!C.events.handlers&&C.set({events:h(c)});let Y=eN(n,p);return G.equ(Y,C.size,eO)||C.setSize(Y.width,Y.height,Y.updateStyle,Y.top,Y.left),x&&C.viewport.dpr!==H(x)&&C.setDpr(x),C.frameloop!==S&&C.setFrameloop(S),C.onPointerMissed||C.set({onPointerMissed:T}),_&&!G.equ(_,C.performance,eO)&&C.set(n=>({performance:{...n.performance,..._}})),i=g,m=!0,this},render(o){return m||this.configure(),eR.updateContainer(p.createElement(eL,{store:c,children:o,onCreated:i,rootElement:n}),h,null,()=>void 0),c},unmount(){eP(n)}}}function eL({store:n,children:i,onCreated:o,rootElement:a}){return P(()=>{let i=n.getState();i.set(n=>({internal:{...n.internal,active:!0}})),o&&o(i),n.getState().events.connected||null==i.events.connect||i.events.connect(a)},[]),p.createElement(ed.Provider,{value:n},i)}function eP(n,i){let o=eA.get(n),a=null==o?void 0:o.fiber;if(a){let s=null==o?void 0:o.store.getState();s&&(s.internal.active=!1),eR.updateContainer(null,a,null,()=>{s&&setTimeout(()=>{try{var o,a,l,u;null==s.events.disconnect||s.events.disconnect(),null==(o=s.gl)||null==(a=o.renderLists)||null==a.dispose||a.dispose(),null==(l=s.gl)||null==l.forceContextLoss||l.forceContextLoss(),null!=(u=s.gl)&&u.xr&&s.xr.disconnect(),W(s),eA.delete(n),i&&i(n)}catch(c){}},500)})}}eR.injectIntoDevTools({bundleType:0,rendererPackageName:"@react-three/fiber",version:p.version}),p.unstable_act},15029:function(n,i,o){"use strict";o.d(i,{Xz:function(){return U}});var a=o(53459),s=o(87462),l=o(67294),u=o(99477),c=o(20296),d=o.n(c);function p(n){let{debounce:i,scroll:o,polyfill:a,offsetSize:s}=void 0===n?{debounce:0,scroll:!1,offsetSize:!1}:n,u=a||("undefined"==typeof window?class{}:window.ResizeObserver);if(!u)throw Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");let[c,p]=(0,l.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),g=(0,l.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:c}),y=i?"number"==typeof i?i:i.scroll:null,v=i?"number"==typeof i?i:i.resize:null,w=(0,l.useRef)(!1);(0,l.useEffect)(()=>(w.current=!0,()=>void(w.current=!1)));let[E,S,x]=(0,l.useMemo)(()=>{let n=()=>{if(!g.current.element)return;let{left:n,top:i,width:o,height:a,bottom:l,right:u,x:c,y:d}=g.current.element.getBoundingClientRect(),f={left:n,top:i,width:o,height:a,bottom:l,right:u,x:c,y:d};g.current.element instanceof HTMLElement&&s&&(f.height=g.current.element.offsetHeight,f.width=g.current.element.offsetWidth),Object.freeze(f),w.current&&!b(g.current.lastBounds,f)&&p(g.current.lastBounds=f)};return[n,v?d()(n,v):n,y?d()(n,y):n]},[p,s,y,v]);function _(){g.current.scrollContainers&&(g.current.scrollContainers.forEach(n=>n.removeEventListener("scroll",x,!0)),g.current.scrollContainers=null),g.current.resizeObserver&&(g.current.resizeObserver.disconnect(),g.current.resizeObserver=null)}function k(){g.current.element&&(g.current.resizeObserver=new u(x),g.current.resizeObserver.observe(g.current.element),o&&g.current.scrollContainers&&g.current.scrollContainers.forEach(n=>n.addEventListener("scroll",x,{capture:!0,passive:!0})))}let A=n=>{n&&n!==g.current.element&&(_(),g.current.element=n,g.current.scrollContainers=m(n),k())};return h(x,Boolean(o)),f(S),(0,l.useEffect)(()=>{_(),k()},[o,x,S]),(0,l.useEffect)(()=>_,[]),[A,c,E]}function f(n){(0,l.useEffect)(()=>{let i=n;return window.addEventListener("resize",i),()=>void window.removeEventListener("resize",i)},[n])}function h(n,i){(0,l.useEffect)(()=>{if(i){let o=n;return window.addEventListener("scroll",o,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",o,!0)}},[n,i])}function m(n){let i=[];if(!n||n===document.body)return i;let{overflow:o,overflowX:a,overflowY:s}=window.getComputedStyle(n);return[o,a,s].some(n=>"auto"===n||"scroll"===n)&&i.push(n),[...i,...m(n.parentElement)]}let g=["x","y","top","bottom","left","right","width","height"],b=(n,i)=>g.every(o=>n[o]===i[o]);var y=Object.defineProperty,v=Object.defineProperties,w=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,_=(n,i,o)=>i in n?y(n,i,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[i]=o,k=(n,i)=>{for(var o in i||(i={}))S.call(i,o)&&_(n,o,i[o]);if(E)for(var o of E(i))x.call(i,o)&&_(n,o,i[o]);return n},A=(n,i)=>v(n,w(i));function T(n,i,o){if(!n)return;if(!0===o(n))return n;let a=i?n.return:n.child;for(;a;){let s=T(a,i,o);if(s)return s;a=i?null:a.sibling}}function C(n){try{return Object.defineProperties(n,{_currentRenderer:{get:()=>null,set(){}},_currentRenderer2:{get:()=>null,set(){}}})}catch(i){return n}}let R=C(l.createContext(null));class D extends l.Component{render(){return l.createElement(R.Provider,{value:this._reactInternals},this.props.children)}}let{ReactCurrentOwner:O,ReactCurrentDispatcher:I}=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function N(){let n=l.useContext(R);if(null===n)throw Error("its-fine: useFiber must be called within a !");let i=l.useId(),o=l.useMemo(()=>{for(let o of[null==O?void 0:O.current,n,null==n?void 0:n.alternate]){if(!o)continue;let a=T(o,!1,n=>{let o=n.memoizedState;for(;o;){if(o.memoizedState===i)return!0;o=o.next}});if(a)return a}},[n,i]);return o}function M(){var n,i;let o=N(),[a]=l.useState(()=>new Map);a.clear();let s=o;for(;s;){let u=null==(n=s.type)?void 0:n._context;u&&u!==R&&!a.has(u)&&a.set(u,null==(i=null==I?void 0:I.current)?void 0:i.readContext(C(u))),s=s.return}return a}function L(){let n=M();return l.useMemo(()=>Array.from(n.keys()).reduce((i,o)=>a=>l.createElement(i,null,l.createElement(o.Provider,A(k({},a),{value:n.get(o)}))),n=>l.createElement(D,k({},n))),[n])}o(32576),o(76525),o(63840);let P={onClick:["click",!1],onContextMenu:["contextmenu",!1],onDoubleClick:["dblclick",!1],onWheel:["wheel",!0],onPointerDown:["pointerdown",!0],onPointerUp:["pointerup",!0],onPointerLeave:["pointerleave",!0],onPointerMove:["pointermove",!0],onPointerCancel:["pointercancel",!0],onLostPointerCapture:["lostpointercapture",!0]};function F(n){let{handlePointer:i}=(0,a.c)(n);return{priority:1,enabled:!0,compute(n,i,o){i.pointer.set(n.offsetX/i.size.width*2-1,-(2*(n.offsetY/i.size.height))+1),i.raycaster.setFromCamera(i.pointer,i.camera)},connected:void 0,handlers:Object.keys(P).reduce((n,o)=>({...n,[o]:i(o)}),{}),update(){var i;let{events:o,internal:a}=n.getState();null!=(i=a.lastEvent)&&i.current&&o.handlers&&o.handlers.onPointerMove(a.lastEvent.current)},connect(i){var o;let{set:a,events:s}=n.getState();null==s.disconnect||s.disconnect(),a(n=>({events:{...n.events,connected:i}})),Object.entries(null!=(o=s.handlers)?o:[]).forEach(([n,o])=>{let[a,s]=P[n];i.addEventListener(a,o,{passive:s})})},disconnect(){let{set:i,events:o}=n.getState();if(o.connected){var a;Object.entries(null!=(a=o.handlers)?a:[]).forEach(([n,i])=>{if(o&&o.connected instanceof HTMLElement){let[a]=P[n];o.connected.removeEventListener(a,i)}}),i(n=>({events:{...n.events,connected:void 0}}))}}}}let B=l.forwardRef(function({children:n,fallback:i,resize:o,style:c,gl:d,events:f=F,eventSource:h,eventPrefix:m,shadows:g,linear:b,flat:y,legacy:v,orthographic:w,frameloop:E,dpr:S,performance:x,raycaster:_,camera:k,scene:A,onPointerMissed:T,onCreated:C,...R},D){l.useMemo(()=>(0,a.e)(u),[]);let O=L(),[I,N]=p({scroll:!0,debounce:{scroll:50,resize:0},...o}),M=l.useRef(null),P=l.useRef(null);l.useImperativeHandle(D,()=>M.current);let B=(0,a.u)(T),[U,z]=l.useState(!1),[j,$]=l.useState(!1);if(U)throw U;if(j)throw j;let H=l.useRef(null);(0,a.a)(()=>{let i=M.current;N.width>0&&N.height>0&&i&&(H.current||(H.current=(0,a.b)(i)),H.current.configure({gl:d,events:f,shadows:g,linear:b,flat:y,legacy:v,orthographic:w,frameloop:E,dpr:S,performance:x,raycaster:_,camera:k,scene:A,size:N,onPointerMissed:(...n)=>null==B.current?void 0:B.current(...n),onCreated(n){null==n.events.connect||n.events.connect(h?(0,a.i)(h)?h.current:h:P.current),m&&n.setEvents({compute(n,i){let o=n[m+"X"],a=n[m+"Y"];i.pointer.set(o/i.size.width*2-1,-(2*(a/i.size.height))+1),i.raycaster.setFromCamera(i.pointer,i.camera)}}),null==C||C(n)}}),H.current.render(l.createElement(O,null,l.createElement(a.E,{set:$},l.createElement(l.Suspense,{fallback:l.createElement(a.B,{set:z})},n)))))}),l.useEffect(()=>{let n=M.current;if(n)return()=>(0,a.d)(n)},[]);let V=h?"none":"auto";return l.createElement("div",(0,s.Z)({ref:P,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",pointerEvents:V,...c}},R),l.createElement("div",{ref:I,style:{width:"100%",height:"100%"}},l.createElement("canvas",{ref:M,style:{display:"block"}},i)))}),U=l.forwardRef(function(n,i){return l.createElement(D,null,l.createElement(B,(0,s.Z)({},n,{ref:i})))})},99601:function(n,i){"use strict";function o(){for(var n=[],i=0;iy({a:n.annotation,e:n.emoji,u:n.emoticon,g:n.gender,b:n.group,h:n.hexcode,o:n.order,s:n.shortcodes,k:n.skins,c:n.subgroup,t:n.tags,d:n.text,f:n.tone,i:n.type,v:n.version}))}function y(n){return JSON.parse(JSON.stringify(n))}function v(n){return n.map(n=>y({annotation:n.a,emoji:n.e,emoticon:n.u,gender:n.g,group:n.b,hexcode:n.h,order:n.o,shortcodes:n.s,skins:n.k,subgroup:n.c,tags:n.t,text:n.d,tone:n.f,type:n.i,version:n.v}))}let w={0:"smileys-emotion",1:"people-body",2:"component",3:"animals-nature",4:"food-drink",5:"travel-places",6:"activities",7:"objects",8:"symbols",9:"flags"},E={0:"face-smiling",1:"face-affection",2:"face-tongue",3:"face-hand",4:"face-neutral-skeptical",5:"face-sleepy",6:"face-unwell",7:"face-hat",8:"face-glasses",9:"face-concerned",10:"face-negative",11:"face-costume",12:"cat-face",13:"monkey-face",14:"emotion",15:"hand-fingers-open",16:"hand-fingers-partial",17:"hand-single-finger",18:"hand-fingers-closed",19:"hands",20:"hand-prop",21:"body-parts",22:"person",23:"person-gesture",24:"person-role",25:"person-fantasy",26:"person-activity",27:"person-sport",28:"person-resting",29:"family",30:"person-symbol",31:"skin-tone",32:"hair-style",33:"animal-mammal",34:"animal-bird",35:"animal-amphibian",36:"animal-reptile",37:"animal-marine",38:"animal-bug",39:"plant-flower",40:"plant-other",41:"food-fruit",42:"food-vegetable",43:"food-prepared",44:"food-asian",45:"food-marine",46:"food-sweet",47:"drink",48:"dishware",49:"place-map",50:"place-geographic",51:"place-building",52:"place-religious",53:"place-other",54:"transport-ground",55:"transport-water",56:"transport-air",57:"hotel",58:"time",59:"sky-weather",60:"event",61:"award-medal",62:"sport",63:"game",64:"arts-crafts",65:"clothing",66:"sound",67:"music",68:"musical-instrument",69:"phone",70:"computer",71:"light-video",72:"book-paper",73:"money",74:"mail",75:"writing",76:"office",77:"lock",78:"tool",79:"science",80:"medical",81:"household",82:"other-object",83:"transport-sign",84:"warning",85:"arrow",86:"religion",87:"zodiac",88:"av-symbol",89:"gender",90:"math",91:"punctuation",92:"currency",93:"other-symbol",94:"keycap",95:"alphanum",96:"geometric",97:"flag",98:"country-flag",99:"subdivision-flag"};var S=new WeakMap;class x{get cdn(){return"https://cdn.jsdelivr.net/gh/svgmoji/svgmoji@".concat(this.version,"/packages/svgmoji__").concat(this.name)}get fallbackUrl(){return"".concat(this.cdn,"/svg/").concat(this.fallback.hexcode,".svg")}constructor(n){let{data:i,type:o,fallback:a="1F44D",popular:s=T}=n;S.set(this,{writable:!0,value:new Map}),this.type=o,this.data=m(i)?v(i):i,this.tonelessData=this.data.filter(n=>!n.tone),this.popularEmoji=this.populatePopularEmoji(s);let l=this.find(a);if(!l)throw Error("❌ No emoji exists for the provided fallback value: '".concat(a,"'"));this.fallback=l}url(n){var i,o;let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{fallback:s=!0}=a,l=h(n)?n:this.find(n),u=s?this.fallbackUrl:void 0;if(!l)return u;if(this.type===p.All)return"".concat(this.cdn,"/sprites/all.svg#").concat(l.hexcode);if(this.type===p.Individual)return"".concat(this.cdn,"/svg/").concat(l.hexcode,".svg");if(this.type===p.Group&&null!=l.group){let c=null!==(i=w[l.group])&&void 0!==i?i:"other";return"".concat(this.cdn,"/sprites/group/").concat(c,".svg#").concat(l.hexcode)}if(this.type===p.Subgroup&&null!=l.subgroup){let d=null!==(o=E[l.subgroup])&&void 0!==o?o:"other";return"".concat(this.cdn,"/sprites/subgroup/").concat(d,".svg#").concat(l.hexcode)}return u}find(n){if(s(this,S).has(n))return s(this,S).get(n);for(let i of this.data)if(A(n,i))return s(this,S).set(n,i),i;s(this,S).set(n,void 0)}search(n){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{excludeTone:o,maxResults:s}=a(a({},_),i),l=o?this.tonelessData:this.data;return n?k(u.matchSorter(l,n,{threshold:u.rankings.WORD_STARTS_WITH,keys:[{threshold:u.rankings.STARTS_WITH,key:"shortcodes"},n=>{var i,o;return null!==(i=null===(o=n.shortcodes)||void 0===o?void 0:o.map(n=>n.split("_").join(" ")))&&void 0!==i?i:[]},"annotation","tags",n=>{var i,o;return n.subgroup&&null!==(i=null===(o=E[n.subgroup])||void 0===o?void 0:o.split("-").join(" "))&&void 0!==i?i:""},n=>{var i,o;return n.group&&null!==(i=null===(o=w[n.group])||void 0===o?void 0:o.split("-").join(" "))&&void 0!==i?i:""}]}),s):k(this.popularEmoji,s)}getTones(n){let i=[];for(let o of null!==(a=n.skins)&&void 0!==a?a:[]){var a;let s=this.find(o);s&&i.push()}return i}populatePopularEmoji(n){let i=[];for(let o of n){let a=this.find(o);a&&i.push(a)}return i}}let _={excludeTone:!1,maxResults:20};function k(n,i){return i=Math.max(Math.min(0,i),-1===i?n.length:i),n.slice(0,i)}function A(n,i){var o,a;return!!(i.emoji===n||i.text===n||i.hexcode===n||null!==(o=i.shortcodes)&&void 0!==o&&o.includes(n)||null!==(a=i.shortcodes)&&void 0!==a&&a.map(n=>":".concat(n,":")).includes(n)||i.emoticon&&l.generateEmoticonPermutations(i.emoticon).includes(n))}let T=["\uD83D\uDE02","❤️","\uD83D\uDE0D","\uD83E\uDD23","\uD83D\uDE0A","\uD83D\uDE4F","\uD83D\uDC95","\uD83D\uDE2D","\uD83D\uDE18","\uD83D\uDC4D","\uD83D\uDE05","\uD83D\uDC4F","\uD83D\uDE01","\uD83D\uDD25","\uD83D\uDC94","\uD83D\uDC96","\uD83D\uDE22","\uD83E\uDD14","\uD83D\uDE06","\uD83D\uDE44","\uD83D\uDCAA","\uD83D\uDE09","☺️","\uD83D\uDC4C","\uD83E\uDD17","\uD83D\uDE14","\uD83D\uDE0E","\uD83D\uDE07","\uD83C\uDF39","\uD83E\uDD26","\uD83C\uDF89","\uD83D\uDC9E","✌️","✨","\uD83E\uDD37","\uD83D\uDE31","\uD83D\uDE0C","\uD83C\uDF38","\uD83D\uDE4C","\uD83D\uDE0B","\uD83D\uDE0F","\uD83D\uDE42","\uD83E\uDD29","\uD83D\uDE04","\uD83D\uDE00","\uD83D\uDE03","\uD83D\uDCAF","\uD83D\uDE48","\uD83D\uDC47","\uD83C\uDFB6","\uD83D\uDE12","\uD83E\uDD2D","❣️","❗","\uD83D\uDE1C","\uD83D\uDC8B","\uD83D\uDC40","\uD83D\uDE2A","\uD83D\uDE11","\uD83D\uDCA5","\uD83D\uDE4B","\uD83D\uDE1E","\uD83D\uDE29","\uD83D\uDE21","\uD83E\uDD2A","\uD83D\uDC4A","☀️","\uD83D\uDE25","\uD83E\uDD24","\uD83D\uDC49","\uD83D\uDC83","\uD83D\uDE33","✋","\uD83D\uDE1A","\uD83D\uDE1D","\uD83D\uDE34","\uD83C\uDF1F","\uD83D\uDE2C","\uD83D\uDE43","\uD83C\uDF40","\uD83C\uDF37","\uD83D\uDE3B","\uD83D\uDE13","⭐","✅","\uD83C\uDF08","\uD83D\uDE08","\uD83E\uDD18","\uD83D\uDCA6","✔️","\uD83D\uDE23","\uD83C\uDFC3","\uD83D\uDC90","☹️","\uD83C\uDF8A","\uD83D\uDC98","\uD83D\uDE20","☝️","\uD83D\uDE15","\uD83C\uDF3A"],C=["version"];async function R(n){for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a1&&void 0!==arguments[1]?arguments[1]:{},{version:o="latest"}=i,s=c(i,C),l="svgmoji/".concat(o,"/").concat(n),u=await R(d.get,l);if(u)return Promise.resolve(u);let p=await fetch("https://cdn.jsdelivr.net/npm/emojibase-data@".concat(o,"/").concat(n),a({credentials:"omit",mode:"cors",redirect:"error"},s));if(!p.ok)throw Error("Failed to load Emojibase dataset.");let f=await p.json();try{await R(d.set,l,f)}catch(h){}return f}let O={discord:"joypixels",slack:"iamcal"};function I(n,i,o){var a;return"cldr-native"!==i||l.NON_LATIN_LOCALES.includes(n)?D("".concat(n,"/shortcodes/").concat(null!==(a=O[i])&&void 0!==a?a:i,".json"),o):Promise.resolve({})}function N(n,i){if(0===i.length)return n;let o=new Set(n.shortcodes);for(let a of i){let s=a[n.hexcode];Array.isArray(s)?s.forEach(n=>o.add(n)):s&&o.add(s)}if(n.shortcodes=[...o],!n.skins)return n;for(let l of n.skins)N(l,i);return n}let M=["skins","tone"],L=["tone"];function P(n){if(!n)throw Error("A tone is required when using `getTone`");return Array.isArray(n)?[n[0],n[1]]:[n]}function F(n,i,o){let s=a({},n);return o&&(s.tone=P(o)),i&&(s.skins=i.map(n=>n.hexcode)),s}function B(n){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=[];for(let s of n){let l=N(s,i),{skins:u,tone:d}=l,p=c(l,M);if(o.push(F(p,u,d)),u)for(let f of u){let h=a({},f),{tone:m}=h,g=c(h,L);p.tags&&(g.tags=[...p.tags]),o.push(F(g,void 0,m))}}return o}let U=["shortcodes"];async function z(n){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{shortcodes:o=[]}=i,a=c(i,U),s=await D("".concat(n,"/data.json"),a),l=[];return o.length>0&&(l=await Promise.all(o.map(i=>{let o;if(i.includes("/")){let[s,l]=i.split("/");o=I(s,l,a)}else o=I(n,i,a);return o.catch(()=>({}))}))),B(s,l)}Object.defineProperty(i,"fromUnicodeToHexcode",{enumerable:!0,get:function(){return l.fromUnicodeToHexcode}}),Object.defineProperty(i,"generateEmoticonPermutations",{enumerable:!0,get:function(){return l.generateEmoticonPermutations}}),Object.defineProperty(i,"stripHexcode",{enumerable:!0,get:function(){return l.stripHexcode}}),i.DEFAULT_POPULAR_EMOJI=T,i.Moji=x,i.SpriteCollection=p,i.fetchEmojis=z,i.fetchFromCDN=D,i.flattenEmojiData=B,i.isFlatEmoji=h,i.isFlatEmojiList=g,i.isMinifiedEmoji=f,i.isMinifiedEmojiList=m,i.joinShortcodesToEmoji=N,i.minifyEmoji=b,i.omitUndefined=y,i.populateMinifiedEmoji=v},48903:function(n,i){var o,a,s,l,u;l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,u=function(n){"use strict";function i(){return(i=Object.assign||function(n){for(var i=1;i=0||(s[o]=n[o]);return s}function a(n,i,o){return void 0===o&&(o=""),n+"_"+o+(Array.isArray(i.tone)?i.tone.join("-"):i.tone)}function s(n,a){void 0===a&&(a={});var s=a,l=s.local,u=void 0!==l&&l,c=s.version,d=void 0===c?"latest":c,p=o(s,["local","version"]),f=u?localStorage:sessionStorage,h="emojibase/"+d+"/"+n,m=f.getItem(h);return m?Promise.resolve(JSON.parse(m)):fetch("https://cdn.jsdelivr.net/npm/emojibase-data@"+d+"/"+n,i({credentials:"omit",mode:"cors",redirect:"error"},p)).then(function(n){if(!n.ok)throw Error("Failed to load Emojibase dataset.");return n.json()}).then(function(n){try{f.setItem(h,JSON.stringify(n))}catch(i){}return n})}n.__esModule=!0,n.appendSkinToneIndex=a,n.fetchFromCDN=s,n.fetchMetadata=K,n.fetchShortcodes=V,n.flattenEmojiData=q,n.fromCodepointToUnicode=Y,n.fromHexcodeToCodepoint=Z,n.fromUnicodeToHexcode=X,n.generateEmoticonPermutations=J,n.joinShortcodes=W,n.joinShortcodesToEmoji=G,n.stripHexcode=ee,n.fetchEmojis=n.UNICODE_VERSIONS=n.TEXT=n.SUPPORTED_LOCALES=n.SKIN_KEY_MEDIUM_LIGHT=n.SKIN_KEY_MEDIUM_DARK=n.SKIN_KEY_MEDIUM=n.SKIN_KEY_LIGHT=n.SKIN_KEY_DARK=n.SEQUENCE_REMOVAL_PATTERN=n.NON_LATIN_LOCALES=n.MEDIUM_SKIN=n.MEDIUM_LIGHT_SKIN=n.MEDIUM_DARK_SKIN=n.MALE=n.LIGHT_SKIN=n.LATEST_UNICODE_VERSION=n.LATEST_EMOJI_VERSION=n.LATEST_CLDR_VERSION=n.GROUP_KEY_TRAVEL_PLACES=n.GROUP_KEY_SYMBOLS=n.GROUP_KEY_SMILEYS_EMOTION=n.GROUP_KEY_PEOPLE_BODY=n.GROUP_KEY_OBJECTS=n.GROUP_KEY_FOOD_DRINK=n.GROUP_KEY_FLAGS=n.GROUP_KEY_COMPONENT=n.GROUP_KEY_ANIMALS_NATURE=n.GROUP_KEY_ACTIVITIES=n.FIRST_UNICODE_EMOJI_VERSION=n.FEMALE=n.EMOTICON_OPTIONS=n.EMOJI_VERSIONS=n.EMOJI=n.DARK_SKIN=void 0;var l=function(n,i){void 0===i&&(i={});try{var a=i,l=a.compact,u=void 0!==l&&l,c=a.flat,d=void 0!==c&&c,p=a.shortcodes,f=void 0===p?[]:p,h=o(a,["compact","flat","shortcodes"]);return Promise.resolve(s(n+"/"+(u?"compact":"data")+".json",h)).then(function(i){function o(){return d?q(i,a):W(i,a)}var a=[],s=function(){if(f.length>0)return Promise.resolve(Promise.all(f.map(function(i){var o;if(i.includes("/")){var a=i.split("/"),s=a[0],l=a[1];o=V(s,l,h)}else o=V(n,i,h);return o.catch(function(){return{}})}))).then(function(n){a=n})}();return s&&s.then?s.then(o):o(s)})}catch(m){return Promise.reject(m)}};n.fetchEmojis=l;var u=/200D|FE0E|FE0F/g;n.SEQUENCE_REMOVAL_PATTERN=u;var c=0;n.TEXT=c;var d=1;n.EMOJI=d;var p=0;n.FEMALE=p;var f=1;n.MALE=f;var h=1;n.LIGHT_SKIN=h;var m=2;n.MEDIUM_LIGHT_SKIN=m;var g=3;n.MEDIUM_SKIN=g;var b=4;n.MEDIUM_DARK_SKIN=b;var y=5;n.DARK_SKIN=y;var v="smileys-emotion";n.GROUP_KEY_SMILEYS_EMOTION=v;var w="people-body";n.GROUP_KEY_PEOPLE_BODY=w;var E="animals-nature";n.GROUP_KEY_ANIMALS_NATURE=E;var S="food-drink";n.GROUP_KEY_FOOD_DRINK=S;var x="travel-places";n.GROUP_KEY_TRAVEL_PLACES=x;var _="activities";n.GROUP_KEY_ACTIVITIES=_;var k="objects";n.GROUP_KEY_OBJECTS=k;var A="symbols";n.GROUP_KEY_SYMBOLS=A;var T="flags";n.GROUP_KEY_FLAGS=T;var C="component";n.GROUP_KEY_COMPONENT=C;var R="light";n.SKIN_KEY_LIGHT=R;var D="medium-light";n.SKIN_KEY_MEDIUM_LIGHT=D;var O="medium";n.SKIN_KEY_MEDIUM=O;var I="medium-dark";n.SKIN_KEY_MEDIUM_DARK=I;var N="dark";n.SKIN_KEY_DARK=N;var M="13.1";n.LATEST_EMOJI_VERSION=M;var L="13.0.0";n.LATEST_UNICODE_VERSION=L;var P="39";n.LATEST_CLDR_VERSION=P;var F="6.0.0";n.FIRST_UNICODE_EMOJI_VERSION=F;var B=["1.0","2.0","3.0","4.0","5.0","11.0","12.0","12.1","13.0","13.1"];n.EMOJI_VERSIONS=B;var U=["6.0","6.1","6.2","6.3","7.0","8.0","9.0","10.0","11.0","12.0","12.1","13.0"];n.UNICODE_VERSIONS=U;var z=["da","de","en","en-gb","es","es-mx","et","fi","fr","hu","it","ja","ko","lt","ms","nb","nl","pl","pt","ru","sv","th","uk","zh","zh-hant"];n.SUPPORTED_LOCALES=z;var j=["ja","ko","ru","th","uk","zh","zh-hant"];n.NON_LATIN_LOCALES=j;var $={":{>":{withNose:!1},"{ee()}),window.addEventListener("resize",()=>{ee()}),window.customElements.define("pera-wallet-connect-modal",L),window.customElements.define("pera-wallet-modal-desktop-mode",C),window.customElements.define("pera-wallet-modal-header",b),window.customElements.define("pera-wallet-modal-touch-screen-mode",O),window.customElements.define("pera-wallet-redirect-modal",B),window.customElements.define("pera-wallet-connect-modal-information-section",H),window.customElements.define("pera-wallet-connect-modal-pending-message-section",W),window.customElements.define("pera-wallet-sign-txn-toast",Z),window.customElements.define("pera-wallet-sign-txn-modal",Q),window.customElements.define("pera-wallet-download-qr-code",E)},8150:function(n,i,o){"use strict";var a=o(48764).Buffer,s=o(68685),l=o(81338),u=o(51206);function c(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var d=c(s),p=c(l),f=c(u);function h(n,i,o,a){return new(o||(o=Promise))(function(s,l){function u(n){try{d(a.next(n))}catch(i){l(i)}}function c(n){try{d(a.throw(n))}catch(i){l(i)}}function d(n){var i;n.done?s(n.value):((i=n.value)instanceof o?i:new o(function(n){n(i)})).then(u,c)}d((a=a.apply(n,i||[])).next())})}class m extends Error{constructor(n,i,...o){super(...o),Error.captureStackTrace&&Error.captureStackTrace(this,m),this.name="PeraWalletConnectError",this.data=n,this.message=i}}let g=new class{constructor(n){this.listener=void 0,this.channel=n.channel}setupListener({onReceiveMessage:n}){this.close(),this.listener=i=>{if("object"==typeof i.data)try{i.data.channel===this.channel&&n(i)}catch(o){console.error(o)}},window.addEventListener("message",this.listener)}sendMessage({message:n,targetWindow:i,origin:o,timeout:a=1e3}){setTimeout(()=>{let a={channel:this.channel,message:n};i.postMessage(a,{targetOrigin:o||"*"})},a)}close(){this.listener&&(window.removeEventListener("message",this.listener),this.listener=void 0)}}({channel:"pera-web-wallet"});function b(){let n=document.querySelector('meta[name="name"]'),i=document.querySelector('meta[name="description"]'),{title:o}=document,a="";return n instanceof HTMLMetaElement&&(o=n.content),i instanceof HTMLMetaElement&&(a=i.content),{title:o,description:a,url:window.location.origin,favicon:y()[0]}}function y(){let n=document.getElementsByTagName("link"),i=[];for(let o=0;o-1){let l=a.getAttribute("href");if(l&&-1===l.toLowerCase().indexOf("https:")&&-1===l.toLowerCase().indexOf("http:")&&0!==l.indexOf("//")){let u=`${window.location.protocol}//${window.location.host}`;if(0===l.indexOf("/"))u+=l;else{let c=window.location.pathname.split("/");c.pop(),u+=`${c.join("/")}/${l}`}i.push(u)}else if(0===(null==l?void 0:l.indexOf("//"))){let d=window.location.protocol+l;i.push(d)}else l&&i.push(l)}}return i}function v(n){return new Promise((i,o)=>{try{let a=window.open(n,"_blank"),s=0,l=setInterval(()=>{if(s+=1,50===s)return clearInterval(l),void o(new m({type:"MESSAGE_NOT_RECEIVED"},"Couldn't open Pera Wallet, please try again."));a&&(!0===a.closed&&(clearInterval(l),o(new m({type:"OPERATION_CANCELLED"},"Operation cancelled by user"))),g.sendMessage({message:{type:"TAB_OPEN"},origin:n,targetWindow:a}))},700);g.setupListener({onReceiveMessage(n){"TAB_OPEN_RECEIVED"===n.data.message.type&&(clearInterval(l),i(a))}})}catch(u){o(u)}})}function w(n){let i=document.createElement("div");return i.setAttribute("id",n),document.body.appendChild(i),i}function E(){w("pera-wallet-redirect-modal-wrapper").innerHTML=""}function S(){w("pera-wallet-sign-txn-toast-wrapper").innerHTML=""}function x(n){let i=document.getElementById(n);i&&i.remove()}let _="PeraWallet.Wallet",k="walletconnect";function A(){return"undefined"==typeof localStorage?void 0:localStorage}function T(n,i){var o;null===(o=A())||void 0===o||o.setItem(_,JSON.stringify({type:i||"pera-wallet",accounts:n,selectedAccount:n[0]}))}function C(){var n;let i=null===(n=A())||void 0===n?void 0:n.getItem(_);return i?JSON.parse(i):null}function R(){return new Promise((n,i)=>{var o,a;try{null===(o=A())||void 0===o||o.removeItem(k),null===(a=A())||void 0===a||a.removeItem(_),n(void 0)}catch(s){i(s)}})}function D(n){let i=n.slice();for(let o=i.length-1;o>0;o--){let a=Math.floor(Math.random()*(o+1));[i[o],i[a]]=[i[a],i[o]]}return i}function O(){return function(n,i={}){return fetch(n,i).then(n=>n.json()).then(n=>n)}("https://wc.perawallet.app/config.json",{cache:"no-store"})}function I(){return h(this,void 0,void 0,function*(){let n={bridgeURL:"",webWalletURL:"",isWebWalletAvailable:!1,shouldDisplayNewBadge:!1,shouldUseSound:!0,silent:!1,promoteMobile:!1};try{let i=yield O();void 0!==i.web_wallet&&i.web_wallet_url&&(n.isWebWalletAvailable=i.web_wallet),void 0!==i.display_new_badge&&(n.shouldDisplayNewBadge=i.display_new_badge),void 0!==i.use_sound&&(n.shouldUseSound=i.use_sound),void 0!==i.silent&&(n.silent=i.silent),void 0!==i.promote_mobile&&(n.promoteMobile=i.promote_mobile),n=Object.assign(Object.assign({},n),{bridgeURL:D(i.servers||[])[0]||"",webWalletURL:i.web_wallet_url||""})}catch(o){console.log(o)}return n})}function N(n){return Uint8Array.from(window.atob(n),n=>n.charCodeAt(0))}function M(n,i){return{id:1e3*Date.now()+Math.floor(1e3*Math.random()),jsonrpc:"2.0",method:n,params:i}}function L(){return"undefined"!=typeof navigator}function P(){return L()&&/Android/i.test(navigator.userAgent)}function F(){return L()&&/iPhone|iPod|Android/i.test(navigator.userAgent)}let B=P()?"algorand://":"perawallet-wc://";function U(n){return{ROOT:`https://${n}`,CONNECT:`https://${n}/connect`,TRANSACTION_SIGN:`https://${n}/transaction/sign`}}function z({method:n,signTxnRequestParams:i,signer:o,chainId:a,webWalletURL:s,resolve:l,reject:u}){let c=U(s);!function(){h(this,void 0,void 0,function*(){try{let s=yield v(c.TRANSACTION_SIGN);if(s){let d;"SIGN_TXN"===n?d={type:"SIGN_TXN",txn:i}:"SIGN_DATA"===n&&o&&a&&(d={type:"SIGN_DATA",data:i,signer:o,chainId:a}),d&&g.sendMessage({message:d,origin:c.TRANSACTION_SIGN,targetWindow:s})}let p=setInterval(()=>{!0===(null==s?void 0:s.closed)&&(u(new m({type:`${n}_CANCELLED`},"Transaction signing is cancelled by user.")),clearInterval(p))},2e3);g.setupListener({onReceiveMessage:i=>(function({event:n,newPeraWalletTab:i,method:o,resolve:a,reject:s}){switch(n.data.message.type){case"SIGN_TXN_CALLBACK":null==i||i.close(),a(n.data.message.signedTxns.map(n=>N(n.signedTxn)));break;case"SIGN_DATA_CALLBACK":null==i||i.close(),a(n.data.message.signedData.map(n=>N(n.signedData)));break;case"SIGN_TXN_NETWORK_MISMATCH":s(new m({type:`${o}_NETWORK_MISMATCH`,detail:n.data.message.error},n.data.message.error||"Network mismatch"));break;case"SIGN_TXN_CALLBACK_ERROR":null==i||i.close(),s(new m({type:`${o}_CANCELLED`},n.data.message.error));break;case"SESSION_DISCONNECTED":null==i||i.close(),R(),s(new m({type:"SESSION_DISCONNECTED",detail:n.data.message.error},n.data.message.error))}})({event:i,newPeraWalletTab:s,method:n,resolve:l,reject:u})})}catch(f){u(f)}})}()}function j({webWalletURL:n,chainId:i,resolve:o,reject:a}){let s=U(n);return function(){return h(this,void 0,void 0,function*(){try{let n=yield v(s.CONNECT);n&&g.sendMessage({message:{type:"CONNECT",data:Object.assign(Object.assign({},b()),{chainId:i})},origin:s.CONNECT,targetWindow:n});let u=setInterval(()=>{!0===(null==n?void 0:n.closed)&&(a(new m({type:"CONNECT_CANCELLED"},"Connect is cancelled by user")),clearInterval(u),l())},2e3);g.setupListener({onReceiveMessage:i=>(function({event:n,newPeraWalletTab:i,resolve:o,reject:a}){if(o&&"CONNECT_CALLBACK"===n.data.message.type){let s=n.data.message.data.addresses;T(s,"pera-wallet-web"),o(s),x("pera-wallet-connect-modal-wrapper"),null==i||i.close()}else"CONNECT_NETWORK_MISMATCH"===n.data.message.type&&(a(new m({type:"CONNECT_NETWORK_MISMATCH",detail:n.data.message.error},n.data.message.error||"Your wallet is connected to a different network to this dApp. Update your wallet to the correct network (MainNet or TestNet) to continue.")),x("pera-wallet-connect-modal-wrapper"),null==i||i.close())})({event:i,newPeraWalletTab:n,resolve:o,reject:a})})}catch(c){l(),a(c)}})};function l(){x("pera-wallet-connect-modal-wrapper")}}function $({isWebWalletAvailable:n,shouldDisplayNewBadge:i,shouldUseSound:o,compactMode:a,promoteMobile:s}){var l;return{open:(l={isWebWalletAvailable:n,shouldDisplayNewBadge:i,shouldUseSound:o,compactMode:a,promoteMobile:s},n=>{if(!document.getElementById("pera-wallet-connect-modal-wrapper")){let i=w("pera-wallet-connect-modal-wrapper"),o=`${n}&algorand=true`,{isWebWalletAvailable:a,shouldDisplayNewBadge:s,shouldUseSound:u,compactMode:c,promoteMobile:d}=l;i.innerHTML=``}}),close:()=>x("pera-wallet-connect-modal-wrapper")}}"undefined"!=typeof window&&(window.global=window,window.Buffer=window.Buffer||o(48764).Buffer,Promise.resolve().then(function(){return o(37400)})),i.PERA_DOWNLOAD_URL="https://perawallet.app/download/",i.PERA_WALLET_APP_DEEP_LINK=B,i.PERA_WALLET_CONNECT_MODAL_ID="pera-wallet-connect-modal-wrapper",i.PERA_WALLET_MODAL_CLASSNAME="pera-wallet-modal",i.PERA_WALLET_REDIRECT_MODAL_ID="pera-wallet-redirect-modal-wrapper",i.PERA_WALLET_SIGN_TXN_MODAL_ID="pera-wallet-sign-txn-modal-wrapper",i.PERA_WALLET_SIGN_TXN_TOAST_ID="pera-wallet-sign-txn-toast-wrapper",i.PeraWalletConnect=class{constructor(n){this.bridge=(null==n?void 0:n.bridge)||"",this.connector=null,this.shouldShowSignTxnToast=void 0===(null==n?void 0:n.shouldShowSignTxnToast)||n.shouldShowSignTxnToast,this.chainId=null==n?void 0:n.chainId,this.compactMode=(null==n?void 0:n.compactMode)||!1}get platform(){return function(){let n=C(),i=null;return"pera-wallet"===(null==n?void 0:n.type)?i="mobile":"pera-wallet-web"===(null==n?void 0:n.type)&&(i="web"),i}()}get isConnected(){var n;return"mobile"===this.platform?!!this.connector:"web"===this.platform&&!!(null===(n=C())||void 0===n?void 0:n.accounts.length)}connect(){return new Promise((n,i)=>h(this,void 0,void 0,function*(){var o;try{if(null===(o=this.connector)||void 0===o?void 0:o.connected)try{yield this.connector.killSession()}catch(a){}let{isWebWalletAvailable:s,bridgeURL:l,webWalletURL:u,shouldDisplayNewBadge:c,shouldUseSound:p,promoteMobile:f}=yield I(),h=j({resolve:n,reject:i,webWalletURL:u,chainId:this.chainId,isCompactMode:this.compactMode});s&&(window.onWebWalletConnect=h),this.connector=new d.default({bridge:this.bridge||l||"https://bridge.walletconnect.org",qrcodeModal:$({isWebWalletAvailable:s,shouldDisplayNewBadge:c,shouldUseSound:p,compactMode:this.compactMode,promoteMobile:f})}),yield this.connector.createSession({chainId:this.chainId||4160}),function(n,i){var o,a,s,l;let u=document.getElementById(n),c=null===(a=null===(o=null==u?void 0:u.querySelector(n.replace("-wrapper","")))||void 0===o?void 0:o.shadowRoot)||void 0===a?void 0:a.querySelector(".pera-wallet-modal"),d=null===(l=null===(s=null==c?void 0:c.querySelector("pera-wallet-modal-header"))||void 0===s?void 0:s.shadowRoot)||void 0===l?void 0:l.getElementById("pera-wallet-modal-header-close-button");null==d||d.addEventListener("click",()=>{i(),x(n)})}("pera-wallet-connect-modal-wrapper",()=>i(new m({type:"CONNECT_MODAL_CLOSED"},"Connect modal is closed by user"))),this.connector.on("connect",(o,a)=>{var s,l;o&&i(o),n((null===(s=this.connector)||void 0===s?void 0:s.accounts)||[]),T((null===(l=this.connector)||void 0===l?void 0:l.accounts)||[])})}catch(g){console.log(g),i(new m({type:"SESSION_CONNECT",detail:g},g.message||"There was an error while connecting to Pera Wallet"))}}))}reconnectSession(){return new Promise((n,i)=>h(this,void 0,void 0,function*(){var o,a;try{let s=C();if(!s)return void n([]);if("pera-wallet-web"===(null==s?void 0:s.type)){let{isWebWalletAvailable:l}=yield I();l?n(s.accounts||[]):i(new m({type:"SESSION_RECONNECT",detail:"Pera Web is not available"},"Pera Web is not available"))}this.connector&&n(this.connector.accounts||[]),this.bridge=(null===(o=function(){var n;let i=null===(n=A())||void 0===n?void 0:n.getItem(k);return i?JSON.parse(i):null}())||void 0===o?void 0:o.bridge)||"",this.bridge&&(this.connector=new d.default({bridge:this.bridge}),n((null===(a=this.connector)||void 0===a?void 0:a.accounts)||[])),this.isConnected||n([])}catch(u){yield this.disconnect(),i(new m({type:"SESSION_RECONNECT",detail:u},u.message||"There was an error while reconnecting to Pera Wallet"))}}))}disconnect(){var n;return h(this,void 0,void 0,function*(){let i;this.isConnected&&"mobile"===this.platform&&(null==(i=null===(n=this.connector)||void 0===n?void 0:n.killSession())||i.then(()=>{this.connector=null})),yield R()})}signTransactionWithMobile(n){return h(this,void 0,void 0,function*(){let i=M("algo_signTxn",[n]);try{try{let{silent:o}=yield I(),a=(yield this.connector.sendCustomRequest(i,{forcePushNotification:!o})).filter(Boolean);return"string"==typeof a[0]?a.map(N):a.map(n=>Uint8Array.from(n))}catch(s){return yield Promise.reject(new m({type:"SIGN_TRANSACTIONS",detail:s},s.message||"Failed to sign transaction"))}}finally{x("pera-wallet-redirect-modal-wrapper"),x("pera-wallet-sign-txn-toast-wrapper")}})}signTransactionWithWeb(n,i){return new Promise((o,a)=>z({signTxnRequestParams:n,webWalletURL:i,method:"SIGN_TXN",resolve:o,reject:a}))}signDataWithMobile({data:n,signer:i,chainId:o}){return h(this,void 0,void 0,function*(){let a=M("algo_signData",n.map(n=>Object.assign(Object.assign({},n),{signer:i,chainId:o})));try{try{let{silent:s}=yield I(),l=(yield this.connector.sendCustomRequest(a,{forcePushNotification:!s})).filter(Boolean);return"string"==typeof l[0]?l.map(N):l.map(n=>Uint8Array.from(n))}catch(u){return yield Promise.reject(new m({type:"SIGN_TRANSACTIONS",detail:u},u.message||"Failed to sign transaction"))}}finally{x("pera-wallet-redirect-modal-wrapper"),x("pera-wallet-sign-txn-toast-wrapper")}})}signDataWithWeb({data:n,signer:i,chainId:o,webWalletURL:a}){return new Promise((s,l)=>z({method:"SIGN_DATA",signTxnRequestParams:n,signer:i,chainId:o,webWalletURL:a,resolve:s,reject:l}))}signTransaction(n,i){return h(this,void 0,void 0,function*(){if("mobile"===this.platform&&(F()?E():!F()&&this.shouldShowSignTxnToast&&S(),!this.connector))throw Error("PeraWalletConnect was not initialized correctly.");let o=n.flatMap(n=>n.map(n=>(function(n,i){var o;let s;i&&!(n.signers||[]).includes(i)&&(s=[]);let l={txn:(o=n.txn,a.from(p.default.encodeUnsignedTransaction(o)).toString("base64"))};return Array.isArray(s)&&(l.signers=s),n.authAddr&&(l.authAddr=n.authAddr),n.message&&(l.message=n.message),n.msig&&(l.msig=n.msig),l})(n,i)));if("web"===this.platform){let{webWalletURL:s}=yield I();return this.signTransactionWithWeb(o,s)}return this.signTransactionWithMobile(o)})}signData(n,i){return h(this,void 0,void 0,function*(){let o=this.chainId||4160;if("mobile"===this.platform&&(F()?E():!F()&&this.shouldShowSignTxnToast&&S(),!this.connector))throw Error("PeraWalletConnect was not initialized correctly.");if("web"===this.platform){let{webWalletURL:s}=yield I();return this.signDataWithWeb({data:n,signer:i,chainId:o,webWalletURL:s})}let l=n.map(n=>Object.assign(Object.assign({},n),{data:a.from(n.data).toString("base64")}));return this.signDataWithMobile({data:l,signer:i,chainId:o})})}},i.closePeraWalletSignTxnToast=function(){x("pera-wallet-sign-txn-toast-wrapper")},i.detectBrowser=function(){if(!L())return null;let{userAgent:n}=navigator;return n.match(/DuckDuckGo/i)?"DuckDuckGo":n.match(/OPX/i)?"Opera GX":navigator.brave?"Brave":f.default.getParser(navigator.userAgent).getBrowserName()},i.isAndroid=P,i.isIOS=function(){return L()&&/iPhone|iPad|iPod/i.test(navigator.userAgent)},i.isMobile=F,i.removeModalWrapperFromDOM=x},92339:function(n,i,o){"use strict";var a,s=o(8150);o(68685),o(81338),o(51206),i.DQ=s.PeraWalletConnect,a=s.closePeraWalletSignTxnToast},21132:function(n,i,o){"use strict";let a;o.d(i,{tf:function(){return Q}});let s=_(),l=n=>v(n,s),u=_();l.write=n=>v(n,u);let c=_();l.onStart=n=>v(n,c);let d=_();l.onFrame=n=>v(n,d);let p=_();l.onFinish=n=>v(n,p);let f=[];l.setTimeout=(n,i)=>{let o=l.now()+i,a=()=>{let n=f.findIndex(n=>n.cancel==a);~n&&f.splice(n,1),b-=~n?1:0},s={time:o,handler:n,cancel:a};return f.splice(h(o),0,s),b+=1,w(),s};let h=n=>~(~f.findIndex(i=>i.time>n)||~f.length);l.cancel=n=>{c.delete(n),d.delete(n),p.delete(n),s.delete(n),u.delete(n)},l.sync=n=>{y=!0,l.batchedUpdates(n),y=!1},l.throttle=n=>{let i;function o(){try{n(...i)}finally{i=null}}function a(...n){i=n,l.onStart(o)}return a.handler=n,a.cancel=()=>{c.delete(o),i=null},a};let m="undefined"!=typeof window?window.requestAnimationFrame:()=>{};l.use=n=>m=n,l.now="undefined"!=typeof performance?()=>performance.now():Date.now,l.batchedUpdates=n=>n(),l.catch=console.error,l.frameLoop="always",l.advance=()=>{"demand"!==l.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):x()};let g=-1,b=0,y=!1;function v(n,i){y?(i.delete(n),n(0)):(i.add(n),w())}function w(){g<0&&(g=0,"demand"!==l.frameLoop&&m(S))}function E(){g=-1}function S(){~g&&(m(S),l.batchedUpdates(x))}function x(){let n=g;g=l.now();let i=h(g);if(i&&(k(f.splice(0,i),n=>n.handler()),b-=i),!b){E();return}c.flush(),s.flush(n?Math.min(64,g-n):16.667),d.flush(),u.flush(),p.flush()}function _(){let n=new Set,i=n;return{add(o){b+=i!=n||n.has(o)?0:1,n.add(o)},delete:o=>(b-=i==n&&n.has(o)?1:0,n.delete(o)),flush(o){i.size&&(n=new Set,b-=i.size,k(i,i=>i(o)&&n.add(i)),b+=n.size,i=n)}}}function k(n,i){n.forEach(n=>{try{i(n)}catch(o){l.catch(o)}})}var A=o(67294);function T(){}let C={arr:Array.isArray,obj:n=>!!n&&"Object"===n.constructor.name,fun:n=>"function"==typeof n,str:n=>"string"==typeof n,num:n=>"number"==typeof n,und:n=>void 0===n},R=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),D=T,O=new Set,I=[],N=[],M=0,L={get idle(){return!O.size&&!I.length},start(n){M>n.priority?(O.add(n),l.onStart(P)):(F(n),l(U))},advance:U,sort(n){if(M)l.onFrame(()=>L.sort(n));else{let i=I.indexOf(n);~i&&(I.splice(i,1),B(n))}},clear(){I=[],O.clear()}};function P(){O.forEach(F),O.clear(),l(U)}function F(n){I.includes(n)||B(n)}function B(n){I.splice(z(I,i=>i.priority>n.priority),0,n)}function U(n){let i=N;for(let o=0;o0}function z(n,i){let o=n.findIndex(i);return o<0?n.length:o}let j="[-+]?\\d*\\.?\\d+",$=j+"%";function H(...n){return"\\(\\s*("+n.join(")\\s*,\\s*(")+")\\s*\\)"}RegExp("rgb"+H(j,j,j)),RegExp("rgba"+H(j,j,j,j)),RegExp("hsl"+H(j,$,$)),RegExp("hsla"+H(j,$,$,j));let V=(n,i,o)=>{if(C.fun(n))return n;if(C.arr(n))return V({range:n,output:i,extrapolate:o});if(C.str(n.output[0]))return a(n);let s=n,l=s.output,u=s.range||[0,1],c=s.extrapolateLeft||s.extrapolate||"extend",d=s.extrapolateRight||s.extrapolate||"extend",p=s.easing||(n=>n);return n=>{let i=q(n,u);return G(n,u[i],u[i+1],l[i],l[i+1],p,c,d,s.map)}};function G(n,i,o,a,s,l,u,c,d){let p=d?d(n):n;if(po){if("identity"===c)return p;"clamp"===c&&(p=o)}return a===s?a:i===o?n<=i?a:s:(i===-1/0?p=-p:o===1/0?p-=i:p=(p-i)/(o-i),p=l(p),a===-1/0?p=-p:s===1/0?p+=a:p=p*(s-a)+a,p)}function q(n,i){for(var o=1;o=n);++o);return o-1}Symbol.for("FluidValue.get"),Symbol.for("FluidValue.observers");let W=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g;RegExp(`(${W.source})(%|[a-z]+)`,"i");let K=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Y=n=>{let[i,o]=Z(n);if(!i||R())return n;let a=window.getComputedStyle(document.documentElement).getPropertyValue(i);if(a)return a.trim();if(o&&o.startsWith("--")){let s=window.getComputedStyle(document.documentElement).getPropertyValue(o);if(s)return s}else if(o&&K.test(o))return Y(o);else if(o)return o;return n},Z=n=>{let i=K.exec(n);if(!i)return[,];let[,o,a]=i;return[o,a]},X="react-spring: ",J=n=>{let i=n,o=!1;if("function"!=typeof i)throw TypeError(`${X}once requires a function parameter`);return(...n)=>{o||(i(...n),o=!0)}};J(console.warn),J(console.warn),new WeakMap,new WeakMap,new WeakMap,new WeakMap,R()?A.useEffect:A.useLayoutEffect;let Q=n=>(0,A.useEffect)(n,ee),ee=[]},85118:function(n,i,o){"use strict";o.d(i,{i:function(){return f}});var a=o(87462),s=o(67294),l=o(53459),u=function(n){return function(i){n.forEach(function(n){"function"==typeof n?n(i):null!=n&&(n.current=i)})}},c=o(99477);function d(n,i,o){let a=(0,l.A)(n=>n.size),u=(0,l.A)(n=>n.viewport),d="number"==typeof n?n:a.width*u.dpr,p="number"==typeof i?i:a.height*u.dpr,f=("number"==typeof n?o:n)||{},{samples:h=0,depth:m,...g}=f,b=s.useMemo(()=>{let n=new c.WebGLRenderTarget(d,p,{minFilter:c.LinearFilter,magFilter:c.LinearFilter,type:c.HalfFloatType,...g});return m&&(n.depthTexture=new c.DepthTexture(d,p,c.FloatType)),n.samples=h,n},[]);return s.useLayoutEffect(()=>{b.setSize(d,p),h&&(b.samples=h)},[h,b,d,p]),s.useEffect(()=>()=>b.dispose(),[]),b}let p=n=>"function"==typeof n,f=s.forwardRef(({envMap:n,resolution:i=256,frames:o=1/0,children:c,makeDefault:f,...h},m)=>{let g=(0,l.A)(({set:n})=>n),b=(0,l.A)(({camera:n})=>n),y=(0,l.A)(({size:n})=>n),v=s.useRef(null),w=s.useRef(null),E=d(i);s.useLayoutEffect(()=>{h.manual||v.current.updateProjectionMatrix()},[y,h]),s.useLayoutEffect(()=>{v.current.updateProjectionMatrix()}),s.useLayoutEffect(()=>{if(f){let n=b;return g(()=>({camera:v.current})),()=>g(()=>({camera:n}))}},[v,f,g]);let S=0,x=null,_=p(c);return(0,l.C)(i=>{_&&(o===1/0||Sn===Object(n)&&!Array.isArray(n)&&"function"!=typeof n;function c(n,i){let o=(0,s.A)(n=>n.gl),c=(0,s.F)(a.TextureLoader,u(n)?Object.values(n):n);if((0,l.useLayoutEffect)(()=>{null==i||i(c)},[i]),(0,l.useEffect)(()=>{if("initTexture"in o){let n=Array.isArray(c)?c:[c];n.forEach(o.initTexture)}},[o,c]),!u(n))return c;{let d={},p=0;for(let f in n)d[f]=c[p++];return d}}c.preload=n=>s.F.preload(a.TextureLoader,n),c.clear=n=>s.F.clear(a.TextureLoader,n)},53459:function(n,i,o){"use strict";let a,s,l;o.d(i,{A:function(){return eE},B:function(){return B},C:function(){return eS},E:function(){return U},F:function(){return ek},a:function(){return P},b:function(){return eM},c:function(){return eu},d:function(){return eP},e:function(){return D},i:function(){return L},u:function(){return F}});var u,c,d=o(99477),p=o(67294),f=o(32576);function h(n){let i;let o=new Set,a=(n,a)=>{let s="function"==typeof n?n(i):n;if(s!==i){let l=i;i=a?s:Object.assign({},i,s),o.forEach(n=>n(i,l))}},s=()=>i,l=(n,a=s,l=Object.is)=>{console.warn("[DEPRECATED] Please use `subscribeWithSelector` middleware");let u=a(i);function c(){let o=a(i);if(!l(u,o)){let s=u;n(u=o,s)}}return o.add(c),()=>o.delete(c)},u=(n,i,a)=>i||a?l(n,i,a):(o.add(n),()=>o.delete(n)),c=()=>o.clear(),d={setState:a,getState:s,subscribe:u,destroy:c};return i=n(a,s,d),d}let m="undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),g=m?p.useEffect:p.useLayoutEffect;function b(n){let i="function"==typeof n?h(n):n,o=(n=i.getState,o=Object.is)=>{let a;let[,s]=(0,p.useReducer)(n=>n+1,0),l=i.getState(),u=(0,p.useRef)(l),c=(0,p.useRef)(n),d=(0,p.useRef)(o),f=(0,p.useRef)(!1),h=(0,p.useRef)();void 0===h.current&&(h.current=n(l));let m=!1;(u.current!==l||c.current!==n||d.current!==o||f.current)&&(a=n(l),m=!o(h.current,a)),g(()=>{m&&(h.current=a),u.current=l,c.current=n,d.current=o,f.current=!1});let b=(0,p.useRef)(l);g(()=>{let n=()=>{try{let n=i.getState(),o=c.current(n);d.current(h.current,o)||(u.current=n,h.current=o,s())}catch(a){f.current=!0,s()}},o=i.subscribe(n);return i.getState()!==b.current&&n(),o},[]);let y=m?a:h.current;return(0,p.useDebugValue)(y),y};return Object.assign(o,i),o[Symbol.iterator]=function(){console.warn("[useStore, api] = create() is deprecated and will be removed in v4");let n=[o,i];return{next(){let i=n.length<=0;return{value:n.shift(),done:i}}}},o}var y=o(76525),v=o.n(y),w=o(63840);let E=n=>"object"==typeof n&&"function"==typeof n.then,S=[];function x(n,i,o=(n,i)=>n===i){if(n===i)return!0;if(!n||!i)return!1;let a=n.length;if(i.length!==a)return!1;for(let s=0;s0&&(s.timeout&&clearTimeout(s.timeout),s.timeout=setTimeout(s.remove,a.lifespan)),s.response;if(!o)throw s.promise}let l={keys:i,equal:a.equal,remove(){let n=S.indexOf(l);-1!==n&&S.splice(n,1)},promise:(E(n)?n:n(...i)).then(n=>{l.response=n,a.lifespan&&a.lifespan>0&&(l.timeout=setTimeout(l.remove,a.lifespan))}).catch(n=>l.error=n)};if(S.push(l),!o)throw l.promise}let k=(n,i,o)=>_(n,i,!1,o),A=(n,i,o)=>void _(n,i,!0,o),T=n=>{if(void 0===n||0===n.length)S.splice(0,S.length);else{let i=S.find(i=>x(n,i.keys,i.equal));i&&i.remove()}};var C=o(34155);let R={},D=n=>void Object.assign(R,n);function O(n,i){function o(n,{args:i=[],attach:o,...a},s){let l,u=`${n[0].toUpperCase()}${n.slice(1)}`;if("primitive"===n){if(void 0===a.object)throw Error("R3F: Primitives without 'object' are invalid!");let c=a.object;l=K(c,{type:n,root:s,attach:o,primitive:!0})}else{let p=R[u];if(!p)throw Error(`R3F: ${u} is not part of the THREE namespace! Did you forget to extend? See: https://docs.pmnd.rs/react-three-fiber/api/objects#using-3rd-party-objects-declaratively`);if(!Array.isArray(i))throw Error("R3F: The args prop must be an array!");l=K(new p(...i),{type:n,root:s,attach:o,memoizedProps:{args:i}})}return void 0===l.__r3f.attach&&(l instanceof d.BufferGeometry?l.__r3f.attach="geometry":l instanceof d.Material&&(l.__r3f.attach="material")),"inject"!==u&&et(l,a),l}function a(n,i){let o=!1;if(i){var a,s;null!=(a=i.__r3f)&&a.attach?X(n,i,i.__r3f.attach):i.isObject3D&&n.isObject3D&&(n.add(i),o=!0),o||null==(s=n.__r3f)||s.objects.push(i),i.__r3f||K(i,{}),i.__r3f.parent=n,er(i),en(i)}}function s(n,i,o){let a=!1;if(i){var s,l;if(null!=(s=i.__r3f)&&s.attach)X(n,i,i.__r3f.attach);else if(i.isObject3D&&n.isObject3D){i.parent=n,i.dispatchEvent({type:"added"});let u=n.children.filter(n=>n!==i),c=u.indexOf(o);n.children=[...u.slice(0,c),i,...u.slice(c)],a=!0}a||null==(l=n.__r3f)||l.objects.push(i),i.__r3f||K(i,{}),i.__r3f.parent=n,er(i),en(i)}}function l(n,i,o=!1){n&&[...n].forEach(n=>u(i,n,o))}function u(n,i,o){if(i){var a,s,u,c,d;i.__r3f&&(i.__r3f.parent=null),null!=(a=n.__r3f)&&a.objects&&(n.__r3f.objects=n.__r3f.objects.filter(n=>n!==i)),null!=(s=i.__r3f)&&s.attach?J(n,i,i.__r3f.attach):i.isObject3D&&n.isObject3D&&(n.remove(i),null!=(c=i.__r3f)&&c.root&&el(i.__r3f.root,i));let p=null==(u=i.__r3f)?void 0:u.primitive,f=!p&&(void 0===o?null!==i.dispose:o);if(p||(l(null==(d=i.__r3f)?void 0:d.objects,i,f),l(i.children,i,f)),delete i.__r3f,f&&i.dispose&&"Scene"!==i.type){let h=()=>{try{i.dispose()}catch(n){}};"undefined"==typeof IS_REACT_ACT_ENVIRONMENT?(0,w.unstable_scheduleCallback)(w.unstable_IdlePriority,h):h()}en(n)}}function c(n,i,s,l){var c;let d=null==(c=n.__r3f)?void 0:c.parent;if(!d)return;let p=o(i,s,n.__r3f.root);if(n.children){for(let f of n.children)f.__r3f&&a(p,f);n.children=n.children.filter(n=>!n.__r3f)}if(n.__r3f.objects.forEach(n=>a(p,n)),n.__r3f.objects=[],n.__r3f.autoRemovedBeforeAppend||u(d,n),p.parent&&(p.__r3f.autoRemovedBeforeAppend=!0),a(d,p),p.raycast&&p.__r3f.eventCount){let h=p.__r3f.root.getState();h.internal.interaction.push(p)}[l,l.alternate].forEach(n=>{null!==n&&(n.stateNode=p,n.ref&&("function"==typeof n.ref?n.ref(p):n.ref.current=p))})}let p=()=>console.warn("Text is not allowed in the R3F tree! This could be stray whitespace or characters."),h=v()({createInstance:o,removeChild:u,appendChild:a,appendInitialChild:a,insertBefore:s,supportsMutation:!0,isPrimaryRenderer:!1,supportsPersistence:!1,supportsHydration:!1,noTimeout:-1,appendChildToContainer(n,i){if(!i)return;let o=n.getState().scene;o.__r3f&&(o.__r3f.root=n,a(o,i))},removeChildFromContainer(n,i){i&&u(n.getState().scene,i)},insertInContainerBefore(n,i,o){if(!i||!o)return;let a=n.getState().scene;a.__r3f&&s(a,i,o)},getRootHostContext:()=>null,getChildHostContext:n=>n,finalizeInitialChildren(n){var i;let o=null!=(i=null==n?void 0:n.__r3f)?i:{};return Boolean(o.handlers)},prepareUpdate(n,i,o,a){var s;let l=null!=(s=null==n?void 0:n.__r3f)?s:{};if(l.primitive&&a.object&&a.object!==n)return[!0];{let{args:u=[],children:c,...d}=a,{args:p=[],children:f,...h}=o;if(!Array.isArray(u))throw Error("R3F: the args prop must be an array!");if(u.some((n,i)=>n!==p[i]))return[!0];let m=Q(n,d,h,!0);return m.changes.length?[!1,m]:null}},commitUpdate(n,[i,o],a,s,l,u){i?c(n,a,l,u):et(n,o)},commitMount(n,i,o,a){var s;let l=null!=(s=n.__r3f)?s:{};n.raycast&&l.handlers&&l.eventCount&&n.__r3f.root.getState().internal.interaction.push(n)},getPublicInstance:n=>n,prepareForCommit:()=>null,preparePortalMount:n=>K(n.getState().scene),resetAfterCommit(){},shouldSetTextContent:()=>!1,clearContainer:()=>!1,hideInstance(n){var i;let{attach:o,parent:a}=null!=(i=n.__r3f)?i:{};o&&a&&J(a,n,o),n.isObject3D&&(n.visible=!1),en(n)},unhideInstance(n,i){var o;let{attach:a,parent:s}=null!=(o=n.__r3f)?o:{};a&&s&&X(s,n,a),(n.isObject3D&&null==i.visible||i.visible)&&(n.visible=!0),en(n)},createTextInstance:p,hideTextInstance:p,unhideTextInstance:p,getCurrentEventPriority:()=>i?i():f.DefaultEventPriority,beforeActiveInstanceBlur(){},afterActiveInstanceBlur(){},detachDeletedInstance(){},now:"undefined"!=typeof performance&&G.fun(performance.now)?performance.now:G.fun(Date.now)?Date.now:()=>0,scheduleTimeout:G.fun(setTimeout)?setTimeout:void 0,cancelTimeout:G.fun(clearTimeout)?clearTimeout:void 0});return{reconciler:h,applyProps:et}}let I=n=>"colorSpace"in n||"outputColorSpace"in n,N=()=>{var n;return null!=(n=R.ColorManagement)?n:null},M=n=>n&&n.isOrthographicCamera,L=n=>n&&n.hasOwnProperty("current"),P="undefined"!=typeof window&&(null!=(u=window.document)&&u.createElement||(null==(c=window.navigator)?void 0:c.product)==="ReactNative")?p.useLayoutEffect:p.useEffect;function F(n){let i=p.useRef(n);return P(()=>void(i.current=n),[n]),i}function B({set:n}){return P(()=>(n(new Promise(()=>null)),()=>n(!1)),[n]),null}class U extends p.Component{constructor(...n){super(...n),this.state={error:!1}}componentDidCatch(n){this.props.set(n)}render(){return this.state.error?null:this.props.children}}U.getDerivedStateFromError=()=>({error:!0});let z="__default",j=new Map,$=n=>n&&!!n.memoized&&!!n.changes;function H(n){var i;let o="undefined"!=typeof window?null!=(i=window.devicePixelRatio)?i:2:1;return Array.isArray(n)?Math.min(Math.max(n[0],o),n[1]):n}let V=n=>{var i;return null==(i=n.__r3f)?void 0:i.root.getState()},G={obj:n=>n===Object(n)&&!G.arr(n)&&"function"!=typeof n,fun:n=>"function"==typeof n,str:n=>"string"==typeof n,num:n=>"number"==typeof n,boo:n=>"boolean"==typeof n,und:n=>void 0===n,arr:n=>Array.isArray(n),equ(n,i,{arrays:o="shallow",objects:a="reference",strict:s=!0}={}){let l;if(typeof n!=typeof i||!!n!=!!i)return!1;if(G.str(n)||G.num(n))return n===i;let u=G.obj(n);if(u&&"reference"===a)return n===i;let c=G.arr(n);if(c&&"reference"===o)return n===i;if((c||u)&&n===i)return!0;for(l in n)if(!(l in i))return!1;if(u&&"shallow"===o&&"shallow"===a){for(l in s?i:n)if(!G.equ(n[l],i[l],{strict:s,objects:"reference"}))return!1}else for(l in s?i:n)if(n[l]!==i[l])return!1;if(G.und(l)){if(c&&0===n.length&&0===i.length||u&&0===Object.keys(n).length&&0===Object.keys(i).length)return!0;if(n!==i)return!1}return!0}};function q(n){let i={nodes:{},materials:{}};return n&&n.traverse(n=>{n.name&&(i.nodes[n.name]=n),n.material&&!i.materials[n.material.name]&&(i.materials[n.material.name]=n.material)}),i}function W(n){for(let i in n.dispose&&"Scene"!==n.type&&n.dispose(),n)null==i.dispose||i.dispose(),delete n[i]}function K(n,i){let o=n;return o.__r3f={type:"",root:null,previousAttach:null,memoizedProps:{},eventCount:0,handlers:{},objects:[],parent:null,...i},n}function Y(n,i){let o=n;if(!i.includes("-"))return{target:o,key:i};{let a=i.split("-"),s=a.pop();return o=a.reduce((n,i)=>n[i],n),{target:o,key:s}}}let Z=/-\d+$/;function X(n,i,o){if(G.str(o)){if(Z.test(o)){let a=o.replace(Z,""),{target:s,key:l}=Y(n,a);Array.isArray(s[l])||(s[l]=[])}let{target:u,key:c}=Y(n,o);i.__r3f.previousAttach=u[c],u[c]=i}else i.__r3f.previousAttach=o(n,i)}function J(n,i,o){var a,s;if(G.str(o)){let{target:l,key:u}=Y(n,o),c=i.__r3f.previousAttach;void 0===c?delete l[u]:l[u]=c}else null==(a=i.__r3f)||null==a.previousAttach||a.previousAttach(n,i);null==(s=i.__r3f)||delete s.previousAttach}function Q(n,{children:i,key:o,ref:a,...s},{children:l,key:u,ref:c,...d}={},p=!1){var f;let h=null!=(f=null==n?void 0:n.__r3f)?f:{},m=Object.entries(s),g=[];if(p){let b=Object.keys(d);for(let y=0;y{var a;if(null!=(a=n.__r3f)&&a.primitive&&"object"===i||G.equ(o,d[i]))return;if(/^on(Pointer|Click|DoubleClick|ContextMenu|Wheel)/.test(i))return g.push([i,o,!0,[]]);let l=[];for(let u in i.includes("-")&&(l=i.split("-")),g.push([i,o,!1,l]),s){let c=s[u];u.startsWith(`${i}-`)&&g.push([u,c,!1,u.split("-")])}});let v={...s};return h.memoizedProps&&h.memoizedProps.args&&(v.args=h.memoizedProps.args),h.memoizedProps&&h.memoizedProps.attach&&(v.attach=h.memoizedProps.attach),{memoized:v,changes:g}}let ee=void 0!==C&&!1;function et(n,i){var o,a,s;let l=null!=(o=n.__r3f)?o:{},u=l.root,c=null!=(a=null==u?void 0:null==u.getState?void 0:u.getState())?a:{},{memoized:p,changes:f}=$(i)?i:Q(n,i),h=l.eventCount;n.__r3f&&(n.__r3f.memoizedProps=p);for(let m=0;mn[i],n))&&_.set)){let[k,...A]=v.reverse();x=A.reverse().reduce((n,i)=>n[i],n),g=k}if(b===z+"remove"){if(x.constructor){let T=j.get(x.constructor);T||(T=new x.constructor,j.set(x.constructor,T)),b=T[g]}else b=0}if(y)b?l.handlers[g]=b:delete l.handlers[g],l.eventCount=Object.keys(l.handlers).length;else if(_&&_.set&&(_.copy||_ instanceof d.Layers)){if(Array.isArray(b))_.fromArray?_.fromArray(b):_.set(...b);else if(_.copy&&b&&b.constructor&&(ee?_.constructor.name===b.constructor.name:_.constructor===b.constructor))_.copy(b);else if(void 0!==b){let C=_ instanceof d.Color;!C&&_.setScalar?_.setScalar(b):_ instanceof d.Layers&&b instanceof d.Layers?_.mask=b.mask:_.set(b),N()||c.linear||!C||_.convertSRGBToLinear()}}else if(x[g]=b,x[g]instanceof d.Texture&&x[g].format===d.RGBAFormat&&x[g].type===d.UnsignedByteType){let R=x[g];I(R)&&I(c.gl)?R.colorSpace=c.gl.outputColorSpace:R.encoding=c.gl.outputEncoding}en(n)}if(l.parent&&c.internal&&n.raycast&&h!==l.eventCount){let D=c.internal.interaction.indexOf(n);D>-1&&c.internal.interaction.splice(D,1),l.eventCount&&c.internal.interaction.push(n)}let O=1===f.length&&"onUpdate"===f[0][0];return!O&&f.length&&null!=(s=n.__r3f)&&s.parent&&er(n),n}function en(n){var i,o;let a=null==(i=n.__r3f)?void 0:null==(o=i.root)?void 0:null==o.getState?void 0:o.getState();a&&0===a.internal.frames&&a.invalidate()}function er(n){null==n.onUpdate||n.onUpdate(n)}function ei(n,i){n.manual||(M(n)?(n.left=-(i.width/2),n.right=i.width/2,n.top=i.height/2,n.bottom=-(i.height/2)):n.aspect=i.width/i.height,n.updateProjectionMatrix(),n.updateMatrixWorld())}function eo(n){return(n.eventObject||n.object).uuid+"/"+n.index+n.instanceId}function ea(){var n;let i="undefined"!=typeof self&&self||"undefined"!=typeof window&&window;if(!i)return f.DefaultEventPriority;let o=null==(n=i.event)?void 0:n.type;switch(o){case"click":case"contextmenu":case"dblclick":case"pointercancel":case"pointerdown":case"pointerup":return f.DiscreteEventPriority;case"pointermove":case"pointerout":case"pointerover":case"pointerenter":case"pointerleave":case"wheel":return f.ContinuousEventPriority;default:return f.DefaultEventPriority}}function es(n,i,o,a){let s=o.get(i);s&&(o.delete(i),0===o.size&&(n.delete(a),s.target.releasePointerCapture(a)))}function el(n,i){let{internal:o}=n.getState();o.interaction=o.interaction.filter(n=>n!==i),o.initialHits=o.initialHits.filter(n=>n!==i),o.hovered.forEach((n,a)=>{(n.eventObject===i||n.object===i)&&o.hovered.delete(a)}),o.capturedMap.forEach((n,a)=>{es(o.capturedMap,i,n,a)})}function eu(n){function i(i){let{internal:o}=n.getState(),a=i.offsetX-o.initialClick[0],s=i.offsetY-o.initialClick[1];return Math.round(Math.sqrt(a*a+s*s))}function o(n){return n.filter(n=>["Move","Over","Enter","Out","Leave"].some(i=>{var o;return null==(o=n.__r3f)?void 0:o.handlers["onPointer"+i]}))}function a(i,o){let a=n.getState(),s=new Set,l=[],u=o?o(a.internal.interaction):a.internal.interaction;for(let c=0;c{let o=V(n.object),a=V(i.object);return o&&a&&a.events.priority-o.events.priority||n.distance-i.distance}).filter(n=>{let i=eo(n);return!s.has(i)&&(s.add(i),!0)});for(let h of(a.events.filter&&(f=a.events.filter(f,a)),f)){let m=h.object;for(;m;){var g;null!=(g=m.__r3f)&&g.eventCount&&l.push({...h,eventObject:m}),m=m.parent}}if("pointerId"in i&&a.internal.capturedMap.has(i.pointerId))for(let b of a.internal.capturedMap.get(i.pointerId).values())s.has(eo(b.intersection))||l.push(b.intersection);return l}function s(i,o,a,s){let u=n.getState();if(i.length){let c={stopped:!1};for(let p of i){let f=V(p.object)||u,{raycaster:h,pointer:m,camera:g,internal:b}=f,y=new d.Vector3(m.x,m.y,0).unproject(g),v=n=>{var i,o;return null!=(i=null==(o=b.capturedMap.get(n))?void 0:o.has(p.eventObject))&&i},w=n=>{let i={intersection:p,target:o.target};b.capturedMap.has(n)?b.capturedMap.get(n).set(p.eventObject,i):b.capturedMap.set(n,new Map([[p.eventObject,i]])),o.target.setPointerCapture(n)},E=n=>{let i=b.capturedMap.get(n);i&&es(b.capturedMap,p.eventObject,i,n)},S={};for(let x in o){let _=o[x];"function"!=typeof _&&(S[x]=_)}let k={...p,...S,pointer:m,intersections:i,stopped:c.stopped,delta:a,unprojectedPoint:y,ray:h.ray,camera:g,stopPropagation(){let n="pointerId"in o&&b.capturedMap.get(o.pointerId);if((!n||n.has(p.eventObject))&&(k.stopped=c.stopped=!0,b.hovered.size&&Array.from(b.hovered.values()).find(n=>n.eventObject===p.eventObject))){let a=i.slice(0,i.indexOf(p));l([...a,p])}},target:{hasPointerCapture:v,setPointerCapture:w,releasePointerCapture:E},currentTarget:{hasPointerCapture:v,setPointerCapture:w,releasePointerCapture:E},nativeEvent:o};if(s(k),!0===c.stopped)break}}return i}function l(i){let{internal:o}=n.getState();for(let a of o.hovered.values())if(!i.length||!i.find(n=>n.object===a.object&&n.index===a.index&&n.instanceId===a.instanceId)){let s=a.eventObject,l=s.__r3f,u=null==l?void 0:l.handlers;if(o.hovered.delete(eo(a)),null!=l&&l.eventCount){let c={...a,intersections:i};null==u.onPointerOut||u.onPointerOut(c),null==u.onPointerLeave||u.onPointerLeave(c)}}}function u(n,i){for(let o=0;ol([]);case"onLostPointerCapture":return i=>{let{internal:o}=n.getState();"pointerId"in i&&o.capturedMap.has(i.pointerId)&&requestAnimationFrame(()=>{o.capturedMap.has(i.pointerId)&&(o.capturedMap.delete(i.pointerId),l([]))})}}return function(d){let{onPointerMissed:p,internal:f}=n.getState();f.lastEvent.current=d;let h="onPointerMove"===c,m="onClick"===c||"onContextMenu"===c||"onDoubleClick"===c,g=h?o:void 0,b=a(d,g),y=m?i(d):0;function v(n){let i=n.eventObject,o=i.__r3f,a=null==o?void 0:o.handlers;if(null!=o&&o.eventCount){if(h){if(a.onPointerOver||a.onPointerEnter||a.onPointerOut||a.onPointerLeave){let s=eo(n),l=f.hovered.get(s);l?l.stopped&&n.stopPropagation():(f.hovered.set(s,n),null==a.onPointerOver||a.onPointerOver(n),null==a.onPointerEnter||a.onPointerEnter(n))}null==a.onPointerMove||a.onPointerMove(n)}else{let p=a[c];p?(!m||f.initialHits.includes(i))&&(u(d,f.interaction.filter(n=>!f.initialHits.includes(n))),p(n)):m&&f.initialHits.includes(i)&&u(d,f.interaction.filter(n=>!f.initialHits.includes(n)))}}}"onPointerDown"===c&&(f.initialClick=[d.offsetX,d.offsetY],f.initialHits=b.map(n=>n.eventObject)),m&&!b.length&&y<=2&&(u(d,f.interaction),p&&p(d)),h&&l(b),s(b,d,y,v)}}return{handlePointer:c}}let ec=n=>!!(null!=n&&n.render),ed=p.createContext(null),ep=(n,i)=>{let o=b((o,a)=>{let s;let l=new d.Vector3,u=new d.Vector3,c=new d.Vector3;function f(n=a().camera,i=u,o=a().size){let{width:s,height:p,top:f,left:h}=o,m=s/p;i instanceof d.Vector3?c.copy(i):c.set(...i);let g=n.getWorldPosition(l).distanceTo(c);if(M(n))return{width:s/n.zoom,height:p/n.zoom,top:f,left:h,factor:1,distance:g,aspect:m};{let b=n.fov*Math.PI/180,y=2*Math.tan(b/2)*g,v=y*(s/p);return{width:v,height:y,top:f,left:h,factor:s/v,distance:g,aspect:m}}}let h=n=>o(i=>({performance:{...i.performance,current:n}})),m=new d.Vector2,g={set:o,get:a,gl:null,camera:null,raycaster:null,events:{priority:1,enabled:!0,connected:!1},xr:null,scene:null,invalidate:(i=1)=>n(a(),i),advance:(n,o)=>i(n,o,a()),legacy:!1,linear:!1,flat:!1,controls:null,clock:new d.Clock,pointer:m,mouse:m,frameloop:"always",onPointerMissed:void 0,performance:{current:1,min:.5,max:1,debounce:200,regress(){let n=a();s&&clearTimeout(s),n.performance.current!==n.performance.min&&h(n.performance.min),s=setTimeout(()=>h(a().performance.max),n.performance.debounce)}},size:{width:0,height:0,top:0,left:0,updateStyle:!1},viewport:{initialDpr:0,dpr:0,width:0,height:0,top:0,left:0,aspect:0,distance:0,factor:0,getCurrentViewport:f},setEvents:n=>o(i=>({...i,events:{...i.events,...n}})),setSize(n,i,s,l,c){let d=a().camera,p={width:n,height:i,top:l||0,left:c||0,updateStyle:s};o(n=>({size:p,viewport:{...n.viewport,...f(d,u,p)}}))},setDpr:n=>o(i=>{let o=H(n);return{viewport:{...i.viewport,dpr:o,initialDpr:i.viewport.initialDpr||o}}}),setFrameloop(n="always"){let i=a().clock;i.stop(),i.elapsedTime=0,"never"!==n&&(i.start(),i.elapsedTime=0),o(()=>({frameloop:n}))},previousRoot:void 0,internal:{active:!1,priority:0,frames:0,lastEvent:p.createRef(),interaction:[],hovered:new Map,subscribers:[],initialClick:[0,0],initialHits:[],capturedMap:new Map,subscribe(n,i,o){let s=a().internal;return s.priority=s.priority+(i>0?1:0),s.subscribers.push({ref:n,priority:i,store:o}),s.subscribers=s.subscribers.sort((n,i)=>n.priority-i.priority),()=>{let o=a().internal;null!=o&&o.subscribers&&(o.priority=o.priority-(i>0?1:0),o.subscribers=o.subscribers.filter(i=>i.ref!==n))}}}};return g}),a=o.getState(),s=a.size,l=a.viewport.dpr,u=a.camera;return o.subscribe(()=>{let{camera:n,size:i,viewport:a,gl:c,set:d}=o.getState();if(i.width!==s.width||i.height!==s.height||a.dpr!==l){var p;s=i,l=a.dpr,ei(n,i),c.setPixelRatio(a.dpr);let f=null!=(p=i.updateStyle)?p:"undefined"!=typeof HTMLCanvasElement&&c.domElement instanceof HTMLCanvasElement;c.setSize(i.width,i.height,f)}n!==u&&(u=n,d(i=>({viewport:{...i.viewport,...i.viewport.getCurrentViewport(n)}})))}),o.subscribe(i=>n(i)),o},ef=new Set,eh=new Set,em=new Set;function eg(n,i){if(n.size)for(let{callback:o}of n.values())o(i)}function eb(n,i){switch(n){case"before":return eg(ef,i);case"after":return eg(eh,i);case"tail":return eg(em,i)}}function ey(n,i,o){let u=i.clock.getDelta();for("never"===i.frameloop&&"number"==typeof n&&(u=n-i.clock.elapsedTime,i.clock.oldTime=i.clock.elapsedTime,i.clock.elapsedTime=n),s=i.internal.subscribers,a=0;a0)&&!(null!=(d=a.gl.xr)&&d.isPresenting)&&(i+=ey(u,a))}if(eb("after",u),0===i)return eb("tail",u),s=!1,cancelAnimationFrame(o)}function u(i,o=1){var a;if(!i)return n.forEach(n=>u(n.store.getState()),o);null!=(a=i.gl.xr)&&a.isPresenting||!i.internal.active||"never"===i.frameloop||(i.internal.frames=Math.min(60,i.internal.frames+o),s||(s=!0,requestAnimationFrame(l)))}function c(i,o=!0,a,s){if(o&&eb("before",i),a)ey(i,a,s);else for(let l of n.values())ey(i,l.store.getState());o&&eb("after",i)}return{loop:l,invalidate:u,advance:c}}function ew(){let n=p.useContext(ed);if(!n)throw Error("R3F: Hooks can only be used within the Canvas component!");return n}function eE(n=n=>n,i){return ew()(n,i)}function eS(n,i=0){let o=ew(),a=o.getState().internal.subscribe,s=F(n);return P(()=>a(s,i,o),[i,a,o]),null}let ex=new WeakMap;function e_(n,i){return function(o,...a){let s=ex.get(o);return s||(s=new o,ex.set(o,s)),n&&n(s),Promise.all(a.map(n=>new Promise((o,a)=>s.load(n,n=>{n.scene&&Object.assign(n,q(n.scene)),o(n)},i,i=>a(Error(`Could not load ${n}: ${null==i?void 0:i.message}`)))))).finally(()=>null==s.dispose?void 0:s.dispose())}}function ek(n,i,o,a){let s=Array.isArray(i)?i:[i],l=k(e_(o,a),[n,...s],{equal:G.equ});return Array.isArray(i)?l:l[0]}ek.preload=function(n,i,o){let a=Array.isArray(i)?i:[i];return A(e_(o),[n,...a])},ek.clear=function(n,i){let o=Array.isArray(i)?i:[i];return T([n,...o])};let eA=new Map,{invalidate:eT,advance:eC}=ev(eA),{reconciler:eR,applyProps:eD}=O(eA,ea),eO={objects:"shallow",strict:!1},eI=(n,i)=>{let o="function"==typeof n?n(i):n;return ec(o)?o:new d.WebGLRenderer({powerPreference:"high-performance",canvas:i,antialias:!0,alpha:!0,...n})};function eN(n,i){let o="undefined"!=typeof HTMLCanvasElement&&n instanceof HTMLCanvasElement;if(i){let{width:a,height:s,top:l,left:u,updateStyle:c=o}=i;return{width:a,height:s,top:l,left:u,updateStyle:c}}if("undefined"!=typeof HTMLCanvasElement&&n instanceof HTMLCanvasElement&&n.parentElement){let{width:d,height:p,top:f,left:h}=n.parentElement.getBoundingClientRect();return{width:d,height:p,top:f,left:h,updateStyle:o}}return"undefined"!=typeof OffscreenCanvas&&n instanceof OffscreenCanvas?{width:n.width,height:n.height,top:0,left:0,updateStyle:o}:{width:0,height:0,top:0,left:0}}function eM(n){let i,o;let a=eA.get(n),s=null==a?void 0:a.fiber,l=null==a?void 0:a.store;a&&console.warn("R3F.createRoot should only be called once!");let u="function"==typeof reportError?reportError:console.error,c=l||ep(eT,eC),h=s||eR.createContainer(c,f.ConcurrentRoot,null,!1,null,"",u,null);a||eA.set(n,{fiber:h,store:c});let m=!1;return{configure(a={}){var s,l;let{gl:u,size:p,scene:f,events:h,onCreated:g,shadows:b=!1,linear:y=!1,flat:v=!1,legacy:w=!1,orthographic:E=!1,frameloop:S="always",dpr:x=[1,2],performance:_,raycaster:k,camera:A,onPointerMissed:T}=a,C=c.getState(),R=C.gl;C.gl||C.set({gl:R=eI(u,n)});let D=C.raycaster;D||C.set({raycaster:D=new d.Raycaster});let{params:O,...I}=k||{};if(G.equ(I,D,eO)||eD(D,{...I}),G.equ(O,D.params,eO)||eD(D,{params:{...D.params,...O}}),!C.camera||C.camera===o&&!G.equ(o,A,eO)){o=A;let M=A instanceof d.Camera,L=M?A:E?new d.OrthographicCamera(0,0,0,0,.1,1e3):new d.PerspectiveCamera(75,0,.1,1e3);M||(L.position.z=5,A&&eD(L,A),C.camera||null!=A&&A.rotation||L.lookAt(0,0,0)),C.set({camera:L}),D.camera=L}if(!C.scene){let P;f instanceof d.Scene?P=f:(P=new d.Scene,f&&eD(P,f)),C.set({scene:K(P)})}if(!C.xr){let F=(n,i)=>{let o=c.getState();"never"!==o.frameloop&&eC(n,!0,o,i)},B=()=>{let n=c.getState();n.gl.xr.enabled=n.gl.xr.isPresenting,n.gl.xr.setAnimationLoop(n.gl.xr.isPresenting?F:null),n.gl.xr.isPresenting||eT(n)},U={connect(){let n=c.getState().gl;n.xr.addEventListener("sessionstart",B),n.xr.addEventListener("sessionend",B)},disconnect(){let n=c.getState().gl;n.xr.removeEventListener("sessionstart",B),n.xr.removeEventListener("sessionend",B)}};"function"==typeof(null==(s=R.xr)?void 0:s.addEventListener)&&U.connect(),C.set({xr:U})}if(R.shadowMap){let z=R.shadowMap.enabled,j=R.shadowMap.type;if(R.shadowMap.enabled=!!b,G.boo(b))R.shadowMap.type=d.PCFSoftShadowMap;else if(G.str(b)){let $={basic:d.BasicShadowMap,percentage:d.PCFShadowMap,soft:d.PCFSoftShadowMap,variance:d.VSMShadowMap};R.shadowMap.type=null!=(l=$[b])?l:d.PCFSoftShadowMap}else G.obj(b)&&Object.assign(R.shadowMap,b);(z!==R.shadowMap.enabled||j!==R.shadowMap.type)&&(R.shadowMap.needsUpdate=!0)}let V=N();V&&("enabled"in V?V.enabled=!w:"legacyMode"in V&&(V.legacyMode=w));let q=3e3,W=3001;eD(R,{outputEncoding:y?q:W,toneMapping:v?d.NoToneMapping:d.ACESFilmicToneMapping}),C.legacy!==w&&C.set(()=>({legacy:w})),C.linear!==y&&C.set(()=>({linear:y})),C.flat!==v&&C.set(()=>({flat:v})),!u||G.fun(u)||ec(u)||G.equ(u,R,eO)||eD(R,u),h&&!C.events.handlers&&C.set({events:h(c)});let Y=eN(n,p);return G.equ(Y,C.size,eO)||C.setSize(Y.width,Y.height,Y.updateStyle,Y.top,Y.left),x&&C.viewport.dpr!==H(x)&&C.setDpr(x),C.frameloop!==S&&C.setFrameloop(S),C.onPointerMissed||C.set({onPointerMissed:T}),_&&!G.equ(_,C.performance,eO)&&C.set(n=>({performance:{...n.performance,..._}})),i=g,m=!0,this},render(o){return m||this.configure(),eR.updateContainer(p.createElement(eL,{store:c,children:o,onCreated:i,rootElement:n}),h,null,()=>void 0),c},unmount(){eP(n)}}}function eL({store:n,children:i,onCreated:o,rootElement:a}){return P(()=>{let i=n.getState();i.set(n=>({internal:{...n.internal,active:!0}})),o&&o(i),n.getState().events.connected||null==i.events.connect||i.events.connect(a)},[]),p.createElement(ed.Provider,{value:n},i)}function eP(n,i){let o=eA.get(n),a=null==o?void 0:o.fiber;if(a){let s=null==o?void 0:o.store.getState();s&&(s.internal.active=!1),eR.updateContainer(null,a,null,()=>{s&&setTimeout(()=>{try{var o,a,l,u;null==s.events.disconnect||s.events.disconnect(),null==(o=s.gl)||null==(a=o.renderLists)||null==a.dispose||a.dispose(),null==(l=s.gl)||null==l.forceContextLoss||l.forceContextLoss(),null!=(u=s.gl)&&u.xr&&s.xr.disconnect(),W(s),eA.delete(n),i&&i(n)}catch(c){}},500)})}}eR.injectIntoDevTools({bundleType:0,rendererPackageName:"@react-three/fiber",version:p.version}),p.unstable_act},15029:function(n,i,o){"use strict";o.d(i,{Xz:function(){return U}});var a=o(53459),s=o(87462),l=o(67294),u=o(99477),c=o(20296),d=o.n(c);function p(n){let{debounce:i,scroll:o,polyfill:a,offsetSize:s}=void 0===n?{debounce:0,scroll:!1,offsetSize:!1}:n,u=a||("undefined"==typeof window?class{}:window.ResizeObserver);if(!u)throw Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");let[c,p]=(0,l.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),g=(0,l.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:c}),y=i?"number"==typeof i?i:i.scroll:null,v=i?"number"==typeof i?i:i.resize:null,w=(0,l.useRef)(!1);(0,l.useEffect)(()=>(w.current=!0,()=>void(w.current=!1)));let[E,S,x]=(0,l.useMemo)(()=>{let n=()=>{if(!g.current.element)return;let{left:n,top:i,width:o,height:a,bottom:l,right:u,x:c,y:d}=g.current.element.getBoundingClientRect(),f={left:n,top:i,width:o,height:a,bottom:l,right:u,x:c,y:d};g.current.element instanceof HTMLElement&&s&&(f.height=g.current.element.offsetHeight,f.width=g.current.element.offsetWidth),Object.freeze(f),w.current&&!b(g.current.lastBounds,f)&&p(g.current.lastBounds=f)};return[n,v?d()(n,v):n,y?d()(n,y):n]},[p,s,y,v]);function _(){g.current.scrollContainers&&(g.current.scrollContainers.forEach(n=>n.removeEventListener("scroll",x,!0)),g.current.scrollContainers=null),g.current.resizeObserver&&(g.current.resizeObserver.disconnect(),g.current.resizeObserver=null)}function k(){g.current.element&&(g.current.resizeObserver=new u(x),g.current.resizeObserver.observe(g.current.element),o&&g.current.scrollContainers&&g.current.scrollContainers.forEach(n=>n.addEventListener("scroll",x,{capture:!0,passive:!0})))}let A=n=>{n&&n!==g.current.element&&(_(),g.current.element=n,g.current.scrollContainers=m(n),k())};return h(x,Boolean(o)),f(S),(0,l.useEffect)(()=>{_(),k()},[o,x,S]),(0,l.useEffect)(()=>_,[]),[A,c,E]}function f(n){(0,l.useEffect)(()=>{let i=n;return window.addEventListener("resize",i),()=>void window.removeEventListener("resize",i)},[n])}function h(n,i){(0,l.useEffect)(()=>{if(i){let o=n;return window.addEventListener("scroll",o,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",o,!0)}},[n,i])}function m(n){let i=[];if(!n||n===document.body)return i;let{overflow:o,overflowX:a,overflowY:s}=window.getComputedStyle(n);return[o,a,s].some(n=>"auto"===n||"scroll"===n)&&i.push(n),[...i,...m(n.parentElement)]}let g=["x","y","top","bottom","left","right","width","height"],b=(n,i)=>g.every(o=>n[o]===i[o]);var y=Object.defineProperty,v=Object.defineProperties,w=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,_=(n,i,o)=>i in n?y(n,i,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[i]=o,k=(n,i)=>{for(var o in i||(i={}))S.call(i,o)&&_(n,o,i[o]);if(E)for(var o of E(i))x.call(i,o)&&_(n,o,i[o]);return n},A=(n,i)=>v(n,w(i));function T(n,i,o){if(!n)return;if(!0===o(n))return n;let a=i?n.return:n.child;for(;a;){let s=T(a,i,o);if(s)return s;a=i?null:a.sibling}}function C(n){try{return Object.defineProperties(n,{_currentRenderer:{get:()=>null,set(){}},_currentRenderer2:{get:()=>null,set(){}}})}catch(i){return n}}let R=C(l.createContext(null));class D extends l.Component{render(){return l.createElement(R.Provider,{value:this._reactInternals},this.props.children)}}let{ReactCurrentOwner:O,ReactCurrentDispatcher:I}=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function N(){let n=l.useContext(R);if(null===n)throw Error("its-fine: useFiber must be called within a !");let i=l.useId(),o=l.useMemo(()=>{for(let o of[null==O?void 0:O.current,n,null==n?void 0:n.alternate]){if(!o)continue;let a=T(o,!1,n=>{let o=n.memoizedState;for(;o;){if(o.memoizedState===i)return!0;o=o.next}});if(a)return a}},[n,i]);return o}function M(){var n,i;let o=N(),[a]=l.useState(()=>new Map);a.clear();let s=o;for(;s;){let u=null==(n=s.type)?void 0:n._context;u&&u!==R&&!a.has(u)&&a.set(u,null==(i=null==I?void 0:I.current)?void 0:i.readContext(C(u))),s=s.return}return a}function L(){let n=M();return l.useMemo(()=>Array.from(n.keys()).reduce((i,o)=>a=>l.createElement(i,null,l.createElement(o.Provider,A(k({},a),{value:n.get(o)}))),n=>l.createElement(D,k({},n))),[n])}o(32576),o(76525),o(63840);let P={onClick:["click",!1],onContextMenu:["contextmenu",!1],onDoubleClick:["dblclick",!1],onWheel:["wheel",!0],onPointerDown:["pointerdown",!0],onPointerUp:["pointerup",!0],onPointerLeave:["pointerleave",!0],onPointerMove:["pointermove",!0],onPointerCancel:["pointercancel",!0],onLostPointerCapture:["lostpointercapture",!0]};function F(n){let{handlePointer:i}=(0,a.c)(n);return{priority:1,enabled:!0,compute(n,i,o){i.pointer.set(n.offsetX/i.size.width*2-1,-(2*(n.offsetY/i.size.height))+1),i.raycaster.setFromCamera(i.pointer,i.camera)},connected:void 0,handlers:Object.keys(P).reduce((n,o)=>({...n,[o]:i(o)}),{}),update(){var i;let{events:o,internal:a}=n.getState();null!=(i=a.lastEvent)&&i.current&&o.handlers&&o.handlers.onPointerMove(a.lastEvent.current)},connect(i){var o;let{set:a,events:s}=n.getState();null==s.disconnect||s.disconnect(),a(n=>({events:{...n.events,connected:i}})),Object.entries(null!=(o=s.handlers)?o:[]).forEach(([n,o])=>{let[a,s]=P[n];i.addEventListener(a,o,{passive:s})})},disconnect(){let{set:i,events:o}=n.getState();if(o.connected){var a;Object.entries(null!=(a=o.handlers)?a:[]).forEach(([n,i])=>{if(o&&o.connected instanceof HTMLElement){let[a]=P[n];o.connected.removeEventListener(a,i)}}),i(n=>({events:{...n.events,connected:void 0}}))}}}}let B=l.forwardRef(function({children:n,fallback:i,resize:o,style:c,gl:d,events:f=F,eventSource:h,eventPrefix:m,shadows:g,linear:b,flat:y,legacy:v,orthographic:w,frameloop:E,dpr:S,performance:x,raycaster:_,camera:k,scene:A,onPointerMissed:T,onCreated:C,...R},D){l.useMemo(()=>(0,a.e)(u),[]);let O=L(),[I,N]=p({scroll:!0,debounce:{scroll:50,resize:0},...o}),M=l.useRef(null),P=l.useRef(null);l.useImperativeHandle(D,()=>M.current);let B=(0,a.u)(T),[U,z]=l.useState(!1),[j,$]=l.useState(!1);if(U)throw U;if(j)throw j;let H=l.useRef(null);(0,a.a)(()=>{let i=M.current;N.width>0&&N.height>0&&i&&(H.current||(H.current=(0,a.b)(i)),H.current.configure({gl:d,events:f,shadows:g,linear:b,flat:y,legacy:v,orthographic:w,frameloop:E,dpr:S,performance:x,raycaster:_,camera:k,scene:A,size:N,onPointerMissed:(...n)=>null==B.current?void 0:B.current(...n),onCreated(n){null==n.events.connect||n.events.connect(h?(0,a.i)(h)?h.current:h:P.current),m&&n.setEvents({compute(n,i){let o=n[m+"X"],a=n[m+"Y"];i.pointer.set(o/i.size.width*2-1,-(2*(a/i.size.height))+1),i.raycaster.setFromCamera(i.pointer,i.camera)}}),null==C||C(n)}}),H.current.render(l.createElement(O,null,l.createElement(a.E,{set:$},l.createElement(l.Suspense,{fallback:l.createElement(a.B,{set:z})},n)))))}),l.useEffect(()=>{let n=M.current;if(n)return()=>(0,a.d)(n)},[]);let V=h?"none":"auto";return l.createElement("div",(0,s.Z)({ref:P,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",pointerEvents:V,...c}},R),l.createElement("div",{ref:I,style:{width:"100%",height:"100%"}},l.createElement("canvas",{ref:M,style:{display:"block"}},i)))}),U=l.forwardRef(function(n,i){return l.createElement(D,null,l.createElement(B,(0,s.Z)({},n,{ref:i})))})},75549:function(n){n.exports=/\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\u2764\uFE0F\u200D\uD83D\uDC8B\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFE])|\uD83C\uDFFE\u200D\u2764\uFE0F\u200D\uD83D\uDC8B\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C\uDFFD\u200D\u2764\uFE0F\u200D\uD83D\uDC8B\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C\uDFFC\u200D\u2764\uFE0F\u200D\uD83D\uDC8B\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C\uDFFB\u200D\u2764\uFE0F\u200D\uD83D\uDC8B\u200D\uD83E\uDDD1(?:\uD83C[\uDFFC-\uDFFF]))|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])\u200D\u2764\uFE0F\u200D\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D\u2764\uFE0F\u200D\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D\u2764\uFE0F\u200D\uD83D\uDC8B\u200D\uD83D\uDC68|(?:\uD83C[\uDFFB-\uDFFF])\u200D\u2764\uFE0F\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\u2764\uFE0F\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFE])|\uD83C\uDFFE\u200D\u2764\uFE0F\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C\uDFFD\u200D\u2764\uFE0F\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C\uDFFC\u200D\u2764\uFE0F\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C\uDFFB\u200D\u2764\uFE0F\u200D\uD83E\uDDD1(?:\uD83C[\uDFFC-\uDFFF]))|\uD83D\uDC69(?:\u200D\u2764\uFE0F\u200D\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFB-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D[\uDC68\uDC69])(?:\uD83C[\uDFFB-\uDFFF]))|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83D\uDC68\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83D\uDC68\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83D\uDC68\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83D\uDC68\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC69(?:\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69])(?:\uD83C[\uDFFB-\uDFFE])|\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69])(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69])(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69])(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69])(?:\uD83C[\uDFFC-\uDFFF]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68\u200D(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC68\u200D\u2764\uFE0F\u200D\uD83D\uDC68|\uD83D\uDC69\u200D\u2764\uFE0F\u200D(?:\uD83D[\uDC68\uDC69])|\uD83E\uDDD1\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC68(?:\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|(?:\uD83D[\uDC67-\uDC69])\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]\uFE0F)|\uD83E\uDEF1(?:\uD83C\uDFFF\u200D\uD83E\uDEF2(?:\uD83C[\uDFFB-\uDFFE])|\uD83C\uDFFE\u200D\uD83E\uDEF2(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C\uDFFD\u200D\uD83E\uDEF2(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C\uDFFC\u200D\uD83E\uDEF2(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C\uDFFB\u200D\uD83E\uDEF2(?:\uD83C[\uDFFC-\uDFFF]))|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83C\uDFF3\uFE0F\u200D\u26A7|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF]))\u200D[\u2695\u2696\u2708]\uFE0F|\uD83D\uDC69\u200D(?:\uD83D[\uDC67\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83D\uDC3B\u200D\u2744|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDF])\u200D[\u2640\u2642])\uFE0F|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83E\uDDD1\u200D[\u2695\u2696\u2708]\uFE0F|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|(?:\uD83D[\uDC68\uDC69])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D[\u2695\u2696\u2708]\uFE0F)|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC08\u200D\u2B1B|\uD83E\uDDD1\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDC66\uDC67\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC3\uDFC7]|\uD83D[\uDC43\uDC4A-\uDC4C\uDC4F\uDC50\uDC66-\uDC69\uDC6B-\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD\uDEC3-\uDEC5\uDEF0-\uDEF6])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270C\u270D]|\uD83C[\uDFC2\uDFC4\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC46-\uDC49\uDC4D\uDC4E\uDD74\uDD75\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9\u23EA\u23ED-\u23EF\u23F1-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7\u26F8\u26FA\u26FD\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2753\u2757\u2763\u2764\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE1A\uDE2F\uDE37\uDF0D-\uDF0F\uDF15\uDF1C\uDF21\uDF24-\uDF2C\uDF36\uDF78\uDF7D\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFA7\uDFAC-\uDFAE\uDFC6\uDFCD\uDFCE\uDFD4-\uDFE0\uDFED\uDFF3\uDFF5\uDFF7]|\uD83D[\uDC08\uDC15\uDC1F\uDC26\uDC3F\uDC41\uDC53\uDC6A\uDC7D\uDCA3\uDCB0\uDCB3\uDCBB\uDCBF\uDCCB\uDCDA\uDCDF\uDCE4-\uDCE6\uDCEA-\uDCED\uDCF7\uDCF9-\uDCFB\uDCFD\uDD08\uDD0D\uDD12\uDD13\uDD49\uDD4A\uDD50-\uDD67\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDE10\uDE87\uDE8D\uDE91\uDE94\uDE98\uDEAD\uDEB2\uDEB9\uDEBA\uDEBC\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|[\u23EB\u23EC\u23F0\u26CE\u2705\u270A\u270B\u2728\u274C\u274E\u2754\u2755\u2795-\u2797\u27B0\u27BF]|\uD83C[\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF0C\uDF10-\uDF14\uDF16-\uDF1B\uDF1D-\uDF20\uDF2D-\uDF35\uDF37-\uDF77\uDF79-\uDF7C\uDF7E-\uDF92\uDFA0-\uDFA6\uDFA8-\uDFAB\uDFAF-\uDFC1\uDFC3\uDFC5\uDFC7-\uDFC9\uDFCF-\uDFD3\uDFE1-\uDFEC\uDFEE-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC1E\uDC20-\uDC25\uDC27-\uDC3E\uDC40\uDC43-\uDC45\uDC4A-\uDC4C\uDC4F-\uDC52\uDC54-\uDC69\uDC6B-\uDC7C\uDC7E-\uDCA2\uDCA4-\uDCAF\uDCB1\uDCB2\uDCB4-\uDCBA\uDCBC-\uDCBE\uDCC0-\uDCCA\uDCCC-\uDCD9\uDCDB-\uDCDE\uDCE0-\uDCE3\uDCE7-\uDCE9\uDCEE-\uDCF6\uDCF8\uDCFC\uDCFF-\uDD07\uDD09-\uDD0C\uDD0E-\uDD11\uDD14-\uDD3D\uDD4B-\uDD4E\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE0F\uDE11-\uDE4F\uDE80-\uDE86\uDE88-\uDE8C\uDE8E-\uDE90\uDE92\uDE93\uDE95-\uDE97\uDE99-\uDEAC\uDEAE-\uDEB1\uDEB3-\uDEB8\uDEBB\uDEBD-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEDD-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDDFF\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC5\uDED0-\uDED9\uDEE0-\uDEE7\uDEF0-\uDEF6]/},96142:function(n){n.exports=/[:=](?:\'(?:\-[\(\)DO\[\]o\{\}]|[\(\)DO\[\]o\{\}])|\{>|\-[#\$&\(-\*\/3<>-@B-EJLOPSXZ-\]cjlopsxz-\}]|[#\$&\(-\*\/3<>-@B-EJLOPSXZ-\]cjlopsxz\|\}])|[Oo][:=](?:\-[\)\]\}]|[\)\]\}])|>(?:[:=](?:\-[\(\)\/\[-\]\{\}]|[\(\)\/\[-\]\{\}])|0(?:\-[\)\]\}]|[\)\]\}]))|%(?:\-[\(\[\{]|[\(\[\{])|\\[Mm]\/|D(?:\-[:=Xx]|[:=Xx])|8(?:\-[#\)D\]\}]|[#\)D\]\}])|;(?:\-[\)P\]p\}]|[\)P\]p\}])|x(?:\-[\(DP\[op\{]|[\(DP\[op\{])|X(?:\-[\(DOP\[\{]|[\(DOP\[\{])|<\/?3|[:=]\{/},91249:function(n){n.exports=/:[\d+_a-z-]+:/},99601:function(n,i){"use strict";function o(){for(var n=[],i=0;iy({a:n.annotation,e:n.emoji,u:n.emoticon,g:n.gender,b:n.group,h:n.hexcode,o:n.order,s:n.shortcodes,k:n.skins,c:n.subgroup,t:n.tags,d:n.text,f:n.tone,i:n.type,v:n.version}))}function y(n){return JSON.parse(JSON.stringify(n))}function v(n){return n.map(n=>y({annotation:n.a,emoji:n.e,emoticon:n.u,gender:n.g,group:n.b,hexcode:n.h,order:n.o,shortcodes:n.s,skins:n.k,subgroup:n.c,tags:n.t,text:n.d,tone:n.f,type:n.i,version:n.v}))}let w={0:"smileys-emotion",1:"people-body",2:"component",3:"animals-nature",4:"food-drink",5:"travel-places",6:"activities",7:"objects",8:"symbols",9:"flags"},E={0:"face-smiling",1:"face-affection",2:"face-tongue",3:"face-hand",4:"face-neutral-skeptical",5:"face-sleepy",6:"face-unwell",7:"face-hat",8:"face-glasses",9:"face-concerned",10:"face-negative",11:"face-costume",12:"cat-face",13:"monkey-face",14:"emotion",15:"hand-fingers-open",16:"hand-fingers-partial",17:"hand-single-finger",18:"hand-fingers-closed",19:"hands",20:"hand-prop",21:"body-parts",22:"person",23:"person-gesture",24:"person-role",25:"person-fantasy",26:"person-activity",27:"person-sport",28:"person-resting",29:"family",30:"person-symbol",31:"skin-tone",32:"hair-style",33:"animal-mammal",34:"animal-bird",35:"animal-amphibian",36:"animal-reptile",37:"animal-marine",38:"animal-bug",39:"plant-flower",40:"plant-other",41:"food-fruit",42:"food-vegetable",43:"food-prepared",44:"food-asian",45:"food-marine",46:"food-sweet",47:"drink",48:"dishware",49:"place-map",50:"place-geographic",51:"place-building",52:"place-religious",53:"place-other",54:"transport-ground",55:"transport-water",56:"transport-air",57:"hotel",58:"time",59:"sky-weather",60:"event",61:"award-medal",62:"sport",63:"game",64:"arts-crafts",65:"clothing",66:"sound",67:"music",68:"musical-instrument",69:"phone",70:"computer",71:"light-video",72:"book-paper",73:"money",74:"mail",75:"writing",76:"office",77:"lock",78:"tool",79:"science",80:"medical",81:"household",82:"other-object",83:"transport-sign",84:"warning",85:"arrow",86:"religion",87:"zodiac",88:"av-symbol",89:"gender",90:"math",91:"punctuation",92:"currency",93:"other-symbol",94:"keycap",95:"alphanum",96:"geometric",97:"flag",98:"country-flag",99:"subdivision-flag"};var S=new WeakMap;class x{get cdn(){return"https://cdn.jsdelivr.net/gh/svgmoji/svgmoji@".concat(this.version,"/packages/svgmoji__").concat(this.name)}get fallbackUrl(){return"".concat(this.cdn,"/svg/").concat(this.fallback.hexcode,".svg")}constructor(n){let{data:i,type:o,fallback:a="1F44D",popular:s=T}=n;S.set(this,{writable:!0,value:new Map}),this.type=o,this.data=m(i)?v(i):i,this.tonelessData=this.data.filter(n=>!n.tone),this.popularEmoji=this.populatePopularEmoji(s);let l=this.find(a);if(!l)throw Error("❌ No emoji exists for the provided fallback value: '".concat(a,"'"));this.fallback=l}url(n){var i,o;let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{fallback:s=!0}=a,l=h(n)?n:this.find(n),u=s?this.fallbackUrl:void 0;if(!l)return u;if(this.type===p.All)return"".concat(this.cdn,"/sprites/all.svg#").concat(l.hexcode);if(this.type===p.Individual)return"".concat(this.cdn,"/svg/").concat(l.hexcode,".svg");if(this.type===p.Group&&null!=l.group){let c=null!==(i=w[l.group])&&void 0!==i?i:"other";return"".concat(this.cdn,"/sprites/group/").concat(c,".svg#").concat(l.hexcode)}if(this.type===p.Subgroup&&null!=l.subgroup){let d=null!==(o=E[l.subgroup])&&void 0!==o?o:"other";return"".concat(this.cdn,"/sprites/subgroup/").concat(d,".svg#").concat(l.hexcode)}return u}find(n){if(s(this,S).has(n))return s(this,S).get(n);for(let i of this.data)if(A(n,i))return s(this,S).set(n,i),i;s(this,S).set(n,void 0)}search(n){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{excludeTone:o,maxResults:s}=a(a({},_),i),l=o?this.tonelessData:this.data;return n?k(u.matchSorter(l,n,{threshold:u.rankings.WORD_STARTS_WITH,keys:[{threshold:u.rankings.STARTS_WITH,key:"shortcodes"},n=>{var i,o;return null!==(i=null===(o=n.shortcodes)||void 0===o?void 0:o.map(n=>n.split("_").join(" ")))&&void 0!==i?i:[]},"annotation","tags",n=>{var i,o;return n.subgroup&&null!==(i=null===(o=E[n.subgroup])||void 0===o?void 0:o.split("-").join(" "))&&void 0!==i?i:""},n=>{var i,o;return n.group&&null!==(i=null===(o=w[n.group])||void 0===o?void 0:o.split("-").join(" "))&&void 0!==i?i:""}]}),s):k(this.popularEmoji,s)}getTones(n){let i=[];for(let o of null!==(a=n.skins)&&void 0!==a?a:[]){var a;let s=this.find(o);s&&i.push()}return i}populatePopularEmoji(n){let i=[];for(let o of n){let a=this.find(o);a&&i.push(a)}return i}}let _={excludeTone:!1,maxResults:20};function k(n,i){return i=Math.max(Math.min(0,i),-1===i?n.length:i),n.slice(0,i)}function A(n,i){var o,a;return!!(i.emoji===n||i.text===n||i.hexcode===n||null!==(o=i.shortcodes)&&void 0!==o&&o.includes(n)||null!==(a=i.shortcodes)&&void 0!==a&&a.map(n=>":".concat(n,":")).includes(n)||i.emoticon&&l.generateEmoticonPermutations(i.emoticon).includes(n))}let T=["\uD83D\uDE02","❤️","\uD83D\uDE0D","\uD83E\uDD23","\uD83D\uDE0A","\uD83D\uDE4F","\uD83D\uDC95","\uD83D\uDE2D","\uD83D\uDE18","\uD83D\uDC4D","\uD83D\uDE05","\uD83D\uDC4F","\uD83D\uDE01","\uD83D\uDD25","\uD83D\uDC94","\uD83D\uDC96","\uD83D\uDE22","\uD83E\uDD14","\uD83D\uDE06","\uD83D\uDE44","\uD83D\uDCAA","\uD83D\uDE09","☺️","\uD83D\uDC4C","\uD83E\uDD17","\uD83D\uDE14","\uD83D\uDE0E","\uD83D\uDE07","\uD83C\uDF39","\uD83E\uDD26","\uD83C\uDF89","\uD83D\uDC9E","✌️","✨","\uD83E\uDD37","\uD83D\uDE31","\uD83D\uDE0C","\uD83C\uDF38","\uD83D\uDE4C","\uD83D\uDE0B","\uD83D\uDE0F","\uD83D\uDE42","\uD83E\uDD29","\uD83D\uDE04","\uD83D\uDE00","\uD83D\uDE03","\uD83D\uDCAF","\uD83D\uDE48","\uD83D\uDC47","\uD83C\uDFB6","\uD83D\uDE12","\uD83E\uDD2D","❣️","❗","\uD83D\uDE1C","\uD83D\uDC8B","\uD83D\uDC40","\uD83D\uDE2A","\uD83D\uDE11","\uD83D\uDCA5","\uD83D\uDE4B","\uD83D\uDE1E","\uD83D\uDE29","\uD83D\uDE21","\uD83E\uDD2A","\uD83D\uDC4A","☀️","\uD83D\uDE25","\uD83E\uDD24","\uD83D\uDC49","\uD83D\uDC83","\uD83D\uDE33","✋","\uD83D\uDE1A","\uD83D\uDE1D","\uD83D\uDE34","\uD83C\uDF1F","\uD83D\uDE2C","\uD83D\uDE43","\uD83C\uDF40","\uD83C\uDF37","\uD83D\uDE3B","\uD83D\uDE13","⭐","✅","\uD83C\uDF08","\uD83D\uDE08","\uD83E\uDD18","\uD83D\uDCA6","✔️","\uD83D\uDE23","\uD83C\uDFC3","\uD83D\uDC90","☹️","\uD83C\uDF8A","\uD83D\uDC98","\uD83D\uDE20","☝️","\uD83D\uDE15","\uD83C\uDF3A"],C=["version"];async function R(n){for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a1&&void 0!==arguments[1]?arguments[1]:{},{version:o="latest"}=i,s=c(i,C),l="svgmoji/".concat(o,"/").concat(n),u=await R(d.get,l);if(u)return Promise.resolve(u);let p=await fetch("https://cdn.jsdelivr.net/npm/emojibase-data@".concat(o,"/").concat(n),a({credentials:"omit",mode:"cors",redirect:"error"},s));if(!p.ok)throw Error("Failed to load Emojibase dataset.");let f=await p.json();try{await R(d.set,l,f)}catch(h){}return f}let O={discord:"joypixels",slack:"iamcal"};function I(n,i,o){var a;return"cldr-native"!==i||l.NON_LATIN_LOCALES.includes(n)?D("".concat(n,"/shortcodes/").concat(null!==(a=O[i])&&void 0!==a?a:i,".json"),o):Promise.resolve({})}function N(n,i){if(0===i.length)return n;let o=new Set(n.shortcodes);for(let a of i){let s=a[n.hexcode];Array.isArray(s)?s.forEach(n=>o.add(n)):s&&o.add(s)}if(n.shortcodes=[...o],!n.skins)return n;for(let l of n.skins)N(l,i);return n}let M=["skins","tone"],L=["tone"];function P(n){if(!n)throw Error("A tone is required when using `getTone`");return Array.isArray(n)?[n[0],n[1]]:[n]}function F(n,i,o){let s=a({},n);return o&&(s.tone=P(o)),i&&(s.skins=i.map(n=>n.hexcode)),s}function B(n){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=[];for(let s of n){let l=N(s,i),{skins:u,tone:d}=l,p=c(l,M);if(o.push(F(p,u,d)),u)for(let f of u){let h=a({},f),{tone:m}=h,g=c(h,L);p.tags&&(g.tags=[...p.tags]),o.push(F(g,void 0,m))}}return o}let U=["shortcodes"];async function z(n){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{shortcodes:o=[]}=i,a=c(i,U),s=await D("".concat(n,"/data.json"),a),l=[];return o.length>0&&(l=await Promise.all(o.map(i=>{let o;if(i.includes("/")){let[s,l]=i.split("/");o=I(s,l,a)}else o=I(n,i,a);return o.catch(()=>({}))}))),B(s,l)}Object.defineProperty(i,"fromUnicodeToHexcode",{enumerable:!0,get:function(){return l.fromUnicodeToHexcode}}),Object.defineProperty(i,"generateEmoticonPermutations",{enumerable:!0,get:function(){return l.generateEmoticonPermutations}}),Object.defineProperty(i,"stripHexcode",{enumerable:!0,get:function(){return l.stripHexcode}}),i.DEFAULT_POPULAR_EMOJI=T,i.Moji=x,i.SpriteCollection=p,i.fetchEmojis=z,i.fetchFromCDN=D,i.flattenEmojiData=B,i.isFlatEmoji=h,i.isFlatEmojiList=g,i.isMinifiedEmoji=f,i.isMinifiedEmojiList=m,i.joinShortcodesToEmoji=N,i.minifyEmoji=b,i.omitUndefined=y,i.populateMinifiedEmoji=v},48903:function(n,i){var o,a,s,l,u;l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,u=function(n){"use strict";function i(){return(i=Object.assign||function(n){for(var i=1;i=0||(s[o]=n[o]);return s}function a(n,i,o){return void 0===o&&(o=""),n+"_"+o+(Array.isArray(i.tone)?i.tone.join("-"):i.tone)}function s(n,a){void 0===a&&(a={});var s=a,l=s.local,u=void 0!==l&&l,c=s.version,d=void 0===c?"latest":c,p=o(s,["local","version"]),f=u?localStorage:sessionStorage,h="emojibase/"+d+"/"+n,m=f.getItem(h);return m?Promise.resolve(JSON.parse(m)):fetch("https://cdn.jsdelivr.net/npm/emojibase-data@"+d+"/"+n,i({credentials:"omit",mode:"cors",redirect:"error"},p)).then(function(n){if(!n.ok)throw Error("Failed to load Emojibase dataset.");return n.json()}).then(function(n){try{f.setItem(h,JSON.stringify(n))}catch(i){}return n})}n.__esModule=!0,n.appendSkinToneIndex=a,n.fetchFromCDN=s,n.fetchMetadata=K,n.fetchShortcodes=V,n.flattenEmojiData=q,n.fromCodepointToUnicode=Y,n.fromHexcodeToCodepoint=Z,n.fromUnicodeToHexcode=X,n.generateEmoticonPermutations=J,n.joinShortcodes=W,n.joinShortcodesToEmoji=G,n.stripHexcode=ee,n.fetchEmojis=n.UNICODE_VERSIONS=n.TEXT=n.SUPPORTED_LOCALES=n.SKIN_KEY_MEDIUM_LIGHT=n.SKIN_KEY_MEDIUM_DARK=n.SKIN_KEY_MEDIUM=n.SKIN_KEY_LIGHT=n.SKIN_KEY_DARK=n.SEQUENCE_REMOVAL_PATTERN=n.NON_LATIN_LOCALES=n.MEDIUM_SKIN=n.MEDIUM_LIGHT_SKIN=n.MEDIUM_DARK_SKIN=n.MALE=n.LIGHT_SKIN=n.LATEST_UNICODE_VERSION=n.LATEST_EMOJI_VERSION=n.LATEST_CLDR_VERSION=n.GROUP_KEY_TRAVEL_PLACES=n.GROUP_KEY_SYMBOLS=n.GROUP_KEY_SMILEYS_EMOTION=n.GROUP_KEY_PEOPLE_BODY=n.GROUP_KEY_OBJECTS=n.GROUP_KEY_FOOD_DRINK=n.GROUP_KEY_FLAGS=n.GROUP_KEY_COMPONENT=n.GROUP_KEY_ANIMALS_NATURE=n.GROUP_KEY_ACTIVITIES=n.FIRST_UNICODE_EMOJI_VERSION=n.FEMALE=n.EMOTICON_OPTIONS=n.EMOJI_VERSIONS=n.EMOJI=n.DARK_SKIN=void 0;var l=function(n,i){void 0===i&&(i={});try{var a=i,l=a.compact,u=void 0!==l&&l,c=a.flat,d=void 0!==c&&c,p=a.shortcodes,f=void 0===p?[]:p,h=o(a,["compact","flat","shortcodes"]);return Promise.resolve(s(n+"/"+(u?"compact":"data")+".json",h)).then(function(i){function o(){return d?q(i,a):W(i,a)}var a=[],s=function(){if(f.length>0)return Promise.resolve(Promise.all(f.map(function(i){var o;if(i.includes("/")){var a=i.split("/"),s=a[0],l=a[1];o=V(s,l,h)}else o=V(n,i,h);return o.catch(function(){return{}})}))).then(function(n){a=n})}();return s&&s.then?s.then(o):o(s)})}catch(m){return Promise.reject(m)}};n.fetchEmojis=l;var u=/200D|FE0E|FE0F/g;n.SEQUENCE_REMOVAL_PATTERN=u;var c=0;n.TEXT=c;var d=1;n.EMOJI=d;var p=0;n.FEMALE=p;var f=1;n.MALE=f;var h=1;n.LIGHT_SKIN=h;var m=2;n.MEDIUM_LIGHT_SKIN=m;var g=3;n.MEDIUM_SKIN=g;var b=4;n.MEDIUM_DARK_SKIN=b;var y=5;n.DARK_SKIN=y;var v="smileys-emotion";n.GROUP_KEY_SMILEYS_EMOTION=v;var w="people-body";n.GROUP_KEY_PEOPLE_BODY=w;var E="animals-nature";n.GROUP_KEY_ANIMALS_NATURE=E;var S="food-drink";n.GROUP_KEY_FOOD_DRINK=S;var x="travel-places";n.GROUP_KEY_TRAVEL_PLACES=x;var _="activities";n.GROUP_KEY_ACTIVITIES=_;var k="objects";n.GROUP_KEY_OBJECTS=k;var A="symbols";n.GROUP_KEY_SYMBOLS=A;var T="flags";n.GROUP_KEY_FLAGS=T;var C="component";n.GROUP_KEY_COMPONENT=C;var R="light";n.SKIN_KEY_LIGHT=R;var D="medium-light";n.SKIN_KEY_MEDIUM_LIGHT=D;var O="medium";n.SKIN_KEY_MEDIUM=O;var I="medium-dark";n.SKIN_KEY_MEDIUM_DARK=I;var N="dark";n.SKIN_KEY_DARK=N;var M="13.1";n.LATEST_EMOJI_VERSION=M;var L="13.0.0";n.LATEST_UNICODE_VERSION=L;var P="39";n.LATEST_CLDR_VERSION=P;var F="6.0.0";n.FIRST_UNICODE_EMOJI_VERSION=F;var B=["1.0","2.0","3.0","4.0","5.0","11.0","12.0","12.1","13.0","13.1"];n.EMOJI_VERSIONS=B;var U=["6.0","6.1","6.2","6.3","7.0","8.0","9.0","10.0","11.0","12.0","12.1","13.0"];n.UNICODE_VERSIONS=U;var z=["da","de","en","en-gb","es","es-mx","et","fi","fr","hu","it","ja","ko","lt","ms","nb","nl","pl","pt","ru","sv","th","uk","zh","zh-hant"];n.SUPPORTED_LOCALES=z;var j=["ja","ko","ru","th","uk","zh","zh-hant"];n.NON_LATIN_LOCALES=j;var $={":{>":{withNose:!1},"1)}function D(){let n=T();return!!n&&(C()||R())}function O(){let n=A(),i=!!n&&!!n.name&&"node"===n.name.toLowerCase();return i}function I(){let n=!O()&&!!N();return n}l.sD,l.$2,l.uT,l.Me,l.Gw;let N=l.jW;l.UO;let M=l.k$;l.VQ,l.MX,l.xP;let L=l.$o;function P(){return s.D()}function F(n){if("string"!=typeof n)throw Error(`Cannot safe json parse value of type ${typeof n}`);try{return JSON.parse(n)}catch(i){return n}}function B(n){return"string"==typeof n?n:JSON.stringify(n)}let U=F,z=B;function j(n,i){let o=z(i),a=L();a&&a.setItem(n,o)}function $(n){let i=null,o=null,a=L();return a&&(o=a.getItem(n)),i=o?U(o):o}function H(n){let i=L();i&&i.removeItem(n)}let V="WALLETCONNECT_DEEPLINK_CHOICE",G=["session_request","session_update","exchange_key","connect","disconnect","display_uri","modal_closed","transport_open","transport_close","transport_error"],q=["eth_sendTransaction","eth_signTransaction","eth_sign","eth_signTypedData","eth_signTypedData_v1","eth_signTypedData_v2","eth_signTypedData_v3","eth_signTypedData_v4","personal_sign","wallet_addEthereumChain","wallet_switchEthereumChain","wallet_getPermissions","wallet_requestPermissions","wallet_registerOnboarding","wallet_watchAsset","wallet_scanQRCode"];var W=o(11460),K=o.n(W);o(4501);var Y=o(65054),Z=o.n(Y),X=o(48764).Buffer;let J="hex",Q="utf8",ee="0";function et(n){return new Uint8Array(n)}function en(n,i=!1){let o=n.toString(J);return i?ey(o):o}function er(n){return n.toString(Q)}function ei(n){return Z()(n)}function eo(n,i=!1){return en(ei(n),i)}function ea(n){return er(ei(n))}function es(n){return X.from(eb(n),J)}function el(n){return et(es(n))}function eu(n){return X.from(n,Q)}function ec(n){return et(eu(n))}function ed(n,i=!1){return en(eu(n),i)}function ep(n,i){return"string"==typeof n&&!!n.match(/^0x[0-9A-Fa-f]*$/)&&(!i||n.length===2+2*i)}function ef(...n){let i=[];return n.forEach(n=>i=i.concat(Array.from(n))),new Uint8Array([...i])}function eh(n,i=8){let o=n%i;return o?(n-o)/i*i+i:n}function em(n,i=8,o=ee){return eg(n,eh(n.length,i),o)}function eg(n,i,o=ee){return eE(n,i,!0,o)}function eb(n){return n.replace(/^0x/,"")}function ey(n){return n.startsWith("0x")?n:`0x${n}`}function ev(n){return(n=em(n=eb(n),2))&&(n=ey(n)),n}function ew(n){let i=n.startsWith("0x");return n=(n=eb(n)).startsWith(ee)?n.substring(1):n,i?ey(n):n}function eE(n,i,o,a=ee){let s=i-n.length,l=n;if(s>0){let u=a.repeat(s);l=o?u+n:n+u}return l}function eS(n){return ei(new Uint8Array(n))}function ex(n,i){return eo(new Uint8Array(n),!i)}function e_(n){return et(n).buffer}function ek(n){return eu(n)}function eA(n,i){return ed(n,!i)}function eT(n){return el(n).buffer}function eC(n,i){let o=eb(ev(new(K())(n).toString(16)));return i?o:ey(o)}var eR=o(91094),eD=o(1468);function eO(n=3){let i=Date.now()*Math.pow(10,n),o=Math.floor(Math.random()*Math.pow(10,n));return i+o}function eI(n){return ev(n)}function eN(n){return ew(ey(n))}let eM=eO;function eL(){let n=((n,i)=>{for(i=n="";n++<36;i+=51*n&52?(15^n?8^Math.random()*(20^n?16:4):4).toString(16):"-");return i})();return n}function eP(n){return""===n||"string"==typeof n&&""===n.trim()}function eF(n){return!(n&&n.length)}function eB(n,i){return ep(n,i)}function eU(n){return void 0!==n.method}function ez(n){return void 0!==n.result}function ej(n){return void 0!==n.error}function e$(n){return void 0!==n.event}function eH(n){return G.includes(n)||n.startsWith("wc_")}function eV(n){return!!n.method.startsWith("wc_")||!q.includes(n.method)}function eG(n){n=eb(n.toLowerCase());let i=eb((0,eR.keccak_256)(ek(n))),o="";for(let a=0;a7?o+=n[a].toUpperCase():o+=n[a];return ey(o)}let eq=n=>!!n&&"0x"===n.toLowerCase().substring(0,2)&&!!/^(0x)?[0-9a-f]{40}$/i.test(n)&&(!!(/^(0x)?[0-9a-f]{40}$/.test(n)||/^(0x)?[0-9A-F]{40}$/.test(n))||n===eG(n));function eW(n){return eF(n)||eB(n[0])||(n[0]=eA(n[0])),n}function eK(n){if(void 0!==n.type&&"0"!==n.type)return n;if(void 0===n.from||!eq(n.from))throw Error("Transaction object must include a valid 'from' value.");function i(n){let i=n;return"number"!=typeof n&&("string"!=typeof n||eP(n))||(eB(n)?"string"==typeof n&&(i=eI(n)):i=eC(n)),"string"==typeof i&&(i=eN(i)),i}let o={from:eI(n.from),to:void 0===n.to?void 0:eI(n.to),gasPrice:void 0===n.gasPrice?"":i(n.gasPrice),gas:void 0===n.gas?void 0===n.gasLimit?"":i(n.gasLimit):i(n.gas),value:void 0===n.value?"":i(n.value),nonce:void 0===n.nonce?"":i(n.nonce),data:void 0===n.data?"":eI(n.data)||"0x"},a=["gasPrice","gas","value","nonce"];return Object.keys(o).forEach(n=>{(void 0===o[n]||"string"==typeof o[n]&&!o[n].trim().length)&&a.includes(n)&&delete o[n]}),o}function eY(n){let i=n.message||"Failed or Rejected Request",o=-32e3;if(n&&!n.code)switch(i){case"Parse error":o=-32700;break;case"Invalid request":o=-32600;break;case"Method not found":o=-32601;break;case"Invalid params":o=-32602;break;case"Internal error":o=-32603;break;default:o=-32e3}let a={code:o,message:i};return n.data&&(a.data=n.data),a}var eZ=o(17563);function eX(n){let i=-1!==n.indexOf("?")?n.indexOf("?"):void 0,o=void 0!==i?n.substr(i):"";return o}function eJ(n,i){let o=eQ(n);return n=e0(o=Object.assign(Object.assign({},o),i))}function eQ(n){return eZ.parse(n)}function e0(n){return eZ.stringify(n)}function e1(n){return void 0!==n.bridge}function e2(n){let i=n.indexOf(":"),o=-1!==n.indexOf("?")?n.indexOf("?"):void 0,a=n.substring(0,i),s=n.substring(i+1,o);function l(n){let i="@",o=n.split(i),a={handshakeTopic:o[0],version:parseInt(o[1],10)};return a}let u=l(s),c=void 0!==o?n.substr(o):"";function d(n){let i=eQ(n),o={key:i.key||"",bridge:i.bridge||""};return o}let p=d(c),f=Object.assign(Object.assign({protocol:a},u),p);return f}class e3{constructor(){this._eventEmitters=[],"undefined"!=typeof window&&void 0!==window.addEventListener&&(window.addEventListener("online",()=>this.trigger("online")),window.addEventListener("offline",()=>this.trigger("offline")))}on(n,i){this._eventEmitters.push({event:n,callback:i})}trigger(n){let i=[];n&&(i=this._eventEmitters.filter(i=>i.event===n)),i.forEach(n=>{n.callback()})}}var e5=e3;let e4=void 0!==o.g.WebSocket?o.g.WebSocket:o(68007);class e6{constructor(n){if(this.opts=n,this._queue=[],this._events=[],this._subscriptions=[],this._protocol=n.protocol,this._version=n.version,this._url="",this._netMonitor=null,this._socket=null,this._nextSocket=null,this._subscriptions=n.subscriptions||[],this._netMonitor=n.netMonitor||new e5,!n.url||"string"!=typeof n.url)throw Error("Missing or invalid WebSocket url");this._url=n.url,this._netMonitor.on("online",()=>this._socketCreate())}set readyState(n){}get readyState(){return this._socket?this._socket.readyState:-1}set connecting(n){}get connecting(){return 0===this.readyState}set connected(n){}get connected(){return 1===this.readyState}set closing(n){}get closing(){return 2===this.readyState}set closed(n){}get closed(){return 3===this.readyState}open(){this._socketCreate()}close(){this._socketClose()}send(n,i,o){if(!i||"string"!=typeof i)throw Error("Missing or invalid topic field");this._socketSend({topic:i,type:"pub",payload:n,silent:!!o})}subscribe(n){this._socketSend({topic:n,type:"sub",payload:"",silent:!0})}on(n,i){this._events.push({event:n,callback:i})}_socketCreate(){if(this._nextSocket)return;let n=e8(this._url,this._protocol,this._version);if(this._nextSocket=new e4(n),!this._nextSocket)throw Error("Failed to create socket");this._nextSocket.onmessage=n=>this._socketReceive(n),this._nextSocket.onopen=()=>this._socketOpen(),this._nextSocket.onerror=n=>this._socketError(n),this._nextSocket.onclose=()=>{setTimeout(()=>{this._nextSocket=null,this._socketCreate()},1e3)}}_socketOpen(){this._socketClose(),this._socket=this._nextSocket,this._nextSocket=null,this._queueSubscriptions(),this._pushQueue()}_socketClose(){this._socket&&(this._socket.onclose=()=>{},this._socket.close())}_socketSend(n){let i=JSON.stringify(n);this._socket&&1===this._socket.readyState?this._socket.send(i):(this._setToQueue(n),this._socketCreate())}async _socketReceive(n){let i;try{i=JSON.parse(n.data)}catch(o){return}if(this._socketSend({topic:i.topic,type:"ack",payload:"",silent:!0}),this._socket&&1===this._socket.readyState){let a=this._events.filter(n=>"message"===n.event);a&&a.length&&a.forEach(n=>n.callback(i))}}_socketError(n){let i=this._events.filter(n=>"error"===n.event);i&&i.length&&i.forEach(i=>i.callback(n))}_queueSubscriptions(){let n=this._subscriptions;n.forEach(n=>this._queue.push({topic:n,type:"sub",payload:"",silent:!0})),this._subscriptions=this.opts.subscriptions||[]}_setToQueue(n){this._queue.push(n)}_pushQueue(){let n=this._queue;n.forEach(n=>this._socketSend(n)),this._queue=[]}}function e8(n,i,o){var a,s;let l=n.startsWith("https")?n.replace("https","wss"):n.startsWith("http")?n.replace("http","ws"):n,u=l.split("?"),c=I()?{protocol:i,version:o,env:"browser",host:(null===(a=M())||void 0===a?void 0:a.host)||""}:{protocol:i,version:o,env:(null===(s=A())||void 0===s?void 0:s.name)||""},d=eJ(eX(u[1]||""),c);return u[0]+"?"+d}var e9=e6;let e7="Session currently connected",te="Session currently disconnected",tt="Session Rejected",tn="Missing JSON RPC response",tr='JSON-RPC success response must include "result" field',ti='JSON-RPC error response must include "error" field',to='JSON RPC request must have valid "method" value',ta='JSON RPC request must have valid "id" value',ts="Missing one of the required parameters: bridge / uri / session",tl="JSON RPC response format is invalid",tu="URI format is invalid",tc="QRCode Modal not provided",td="User close QRCode Modal";class tp{constructor(){this._eventEmitters=[]}subscribe(n){this._eventEmitters.push(n)}unsubscribe(n){this._eventEmitters=this._eventEmitters.filter(i=>i.event!==n)}trigger(n){let i,o=[];(i=eU(n)?n.method:ez(n)||ej(n)?`response:${n.id}`:e$(n)?n.event:"")&&(o=this._eventEmitters.filter(n=>n.event===i)),o&&o.length||eH(i)||e$(i)||(o=this._eventEmitters.filter(n=>"call_request"===n.event)),o.forEach(i=>{if(ej(n)){let o=Error(n.error.message);i.callback(o,null)}else i.callback(null,n)})}}var tf=tp;class th{constructor(n="walletconnect"){this.storageId=n}getSession(){let n=null,i=$(this.storageId);return i&&e1(i)&&(n=i),n}setSession(n){return j(this.storageId,n),n}removeSession(){H(this.storageId)}}var tm=th;let tg="walletconnect.org",tb="abcdefghijklmnopqrstuvwxyz0123456789",ty=tb.split("").map(n=>`https://${n}.bridge.walletconnect.org`);function tv(n){let i=n.indexOf("//")>-1?n.split("/")[2]:n.split("/")[0];return(i=i.split(":")[0]).split("?")[0]}function tw(n){return tv(n).split(".").slice(-2).join(".")}function tE(){return Math.floor(Math.random()*ty.length)}function tS(){return ty[tE()]}function tx(n){return tw(n)===tg}function t_(n){return tx(n)?tS():n}class tk{constructor(n){if(this.protocol="wc",this.version=1,this._bridge="",this._key=null,this._clientId="",this._clientMeta=null,this._peerId="",this._peerMeta=null,this._handshakeId=0,this._handshakeTopic="",this._connected=!1,this._accounts=[],this._chainId=0,this._networkId=0,this._rpcUrl="",this._eventManager=new tf,this._clientMeta=P()||n.connectorOpts.clientMeta||null,this._cryptoLib=n.cryptoLib,this._sessionStorage=n.sessionStorage||new tm(n.connectorOpts.storageId),this._qrcodeModal=n.connectorOpts.qrcodeModal,this._qrcodeModalOptions=n.connectorOpts.qrcodeModalOptions,this._signingMethods=[...q,...n.connectorOpts.signingMethods||[]],!n.connectorOpts.bridge&&!n.connectorOpts.uri&&!n.connectorOpts.session)throw Error(ts);n.connectorOpts.bridge&&(this.bridge=t_(n.connectorOpts.bridge)),n.connectorOpts.uri&&(this.uri=n.connectorOpts.uri);let i=n.connectorOpts.session||this._getStorageSession();i&&(this.session=i),this.handshakeId&&this._subscribeToSessionResponse(this.handshakeId,"Session request rejected"),this._transport=n.transport||new e9({protocol:this.protocol,version:this.version,url:this.bridge,subscriptions:[this.clientId]}),this._subscribeToInternalEvents(),this._initTransport(),n.connectorOpts.uri&&this._subscribeToSessionRequest(),n.pushServerOpts&&this._registerPushServer(n.pushServerOpts)}set bridge(n){n&&(this._bridge=n)}get bridge(){return this._bridge}set key(n){if(!n)return;let i=eT(n);this._key=i}get key(){if(this._key){let n=ex(this._key,!0);return n}return""}set clientId(n){n&&(this._clientId=n)}get clientId(){let n=this._clientId;return n||(n=this._clientId=eL()),this._clientId}set peerId(n){n&&(this._peerId=n)}get peerId(){return this._peerId}set clientMeta(n){}get clientMeta(){let n=this._clientMeta;return n||(n=this._clientMeta=P()),n}set peerMeta(n){this._peerMeta=n}get peerMeta(){let n=this._peerMeta;return n}set handshakeTopic(n){n&&(this._handshakeTopic=n)}get handshakeTopic(){return this._handshakeTopic}set handshakeId(n){n&&(this._handshakeId=n)}get handshakeId(){return this._handshakeId}get uri(){let n=this._formatUri();return n}set uri(n){if(!n)return;let{handshakeTopic:i,bridge:o,key:a}=this._parseUri(n);this.handshakeTopic=i,this.bridge=o,this.key=a}set chainId(n){this._chainId=n}get chainId(){let n=this._chainId;return n}set networkId(n){this._networkId=n}get networkId(){let n=this._networkId;return n}set accounts(n){this._accounts=n}get accounts(){let n=this._accounts;return n}set rpcUrl(n){this._rpcUrl=n}get rpcUrl(){let n=this._rpcUrl;return n}set connected(n){}get connected(){return this._connected}set pending(n){}get pending(){return!!this._handshakeTopic}get session(){return{connected:this.connected,accounts:this.accounts,chainId:this.chainId,bridge:this.bridge,key:this.key,clientId:this.clientId,clientMeta:this.clientMeta,peerId:this.peerId,peerMeta:this.peerMeta,handshakeId:this.handshakeId,handshakeTopic:this.handshakeTopic}}set session(n){n&&(this._connected=n.connected,this.accounts=n.accounts,this.chainId=n.chainId,this.bridge=n.bridge,this.key=n.key,this.clientId=n.clientId,this.clientMeta=n.clientMeta,this.peerId=n.peerId,this.peerMeta=n.peerMeta,this.handshakeId=n.handshakeId,this.handshakeTopic=n.handshakeTopic)}on(n,i){let o={event:n,callback:i};this._eventManager.subscribe(o)}off(n){this._eventManager.unsubscribe(n)}async createInstantRequest(n){this._key=await this._generateKey();let i=this._formatRequest({method:"wc_instantRequest",params:[{peerId:this.clientId,peerMeta:this.clientMeta,request:this._formatRequest(n)}]});this.handshakeId=i.id,this.handshakeTopic=eL(),this._eventManager.trigger({event:"display_uri",params:[this.uri]}),this.on("modal_closed",()=>{throw Error(td)});let o=()=>{this.killSession()};try{let a=await this._sendCallRequest(i);return a&&o(),a}catch(s){throw o(),s}}async connect(n){if(!this._qrcodeModal)throw Error(tc);return this.connected?{chainId:this.chainId,accounts:this.accounts}:(await this.createSession(n),new Promise(async(n,i)=>{this.on("modal_closed",()=>i(Error(td))),this.on("connect",(o,a)=>{if(o)return i(o);n(a.params[0])})}))}async createSession(n){if(this._connected)throw Error(e7);if(this.pending)return;this._key=await this._generateKey();let i=this._formatRequest({method:"wc_sessionRequest",params:[{peerId:this.clientId,peerMeta:this.clientMeta,chainId:n&&n.chainId?n.chainId:null}]});this.handshakeId=i.id,this.handshakeTopic=eL(),this._sendSessionRequest(i,"Session update rejected",{topic:this.handshakeTopic}),this._eventManager.trigger({event:"display_uri",params:[this.uri]})}approveSession(n){if(this._connected)throw Error(e7);this.chainId=n.chainId,this.accounts=n.accounts,this.networkId=n.networkId||0,this.rpcUrl=n.rpcUrl||"";let i={approved:!0,chainId:this.chainId,networkId:this.networkId,accounts:this.accounts,rpcUrl:this.rpcUrl,peerId:this.clientId,peerMeta:this.clientMeta},o={id:this.handshakeId,jsonrpc:"2.0",result:i};this._sendResponse(o),this._connected=!0,this._setStorageSession(),this._eventManager.trigger({event:"connect",params:[{peerId:this.peerId,peerMeta:this.peerMeta,chainId:this.chainId,accounts:this.accounts}]})}rejectSession(n){if(this._connected)throw Error(e7);let i=n&&n.message?n.message:tt,o=this._formatResponse({id:this.handshakeId,error:{message:i}});this._sendResponse(o),this._connected=!1,this._eventManager.trigger({event:"disconnect",params:[{message:i}]}),this._removeStorageSession()}updateSession(n){if(!this._connected)throw Error(te);this.chainId=n.chainId,this.accounts=n.accounts,this.networkId=n.networkId||0,this.rpcUrl=n.rpcUrl||"";let i={approved:!0,chainId:this.chainId,networkId:this.networkId,accounts:this.accounts,rpcUrl:this.rpcUrl},o=this._formatRequest({method:"wc_sessionUpdate",params:[i]});this._sendSessionRequest(o,"Session update rejected"),this._eventManager.trigger({event:"session_update",params:[{chainId:this.chainId,accounts:this.accounts}]}),this._manageStorageSession()}async killSession(n){let i=n?n.message:"Session Disconnected",o={approved:!1,chainId:null,networkId:null,accounts:null},a=this._formatRequest({method:"wc_sessionUpdate",params:[o]});await this._sendRequest(a),this._handleSessionDisconnect(i)}async sendTransaction(n){if(!this._connected)throw Error(te);let i=eK(n),o=this._formatRequest({method:"eth_sendTransaction",params:[i]}),a=await this._sendCallRequest(o);return a}async signTransaction(n){if(!this._connected)throw Error(te);let i=eK(n),o=this._formatRequest({method:"eth_signTransaction",params:[i]}),a=await this._sendCallRequest(o);return a}async signMessage(n){if(!this._connected)throw Error(te);let i=this._formatRequest({method:"eth_sign",params:n}),o=await this._sendCallRequest(i);return o}async signPersonalMessage(n){if(!this._connected)throw Error(te);n=eW(n);let i=this._formatRequest({method:"personal_sign",params:n}),o=await this._sendCallRequest(i);return o}async signTypedData(n){if(!this._connected)throw Error(te);let i=this._formatRequest({method:"eth_signTypedData",params:n}),o=await this._sendCallRequest(i);return o}async updateChain(n){if(!this._connected)throw Error("Session currently disconnected");let i=this._formatRequest({method:"wallet_updateChain",params:[n]}),o=await this._sendCallRequest(i);return o}unsafeSend(n,i){return this._sendRequest(n,i),this._eventManager.trigger({event:"call_request_sent",params:[{request:n,options:i}]}),new Promise((i,o)=>{this._subscribeToResponse(n.id,(n,a)=>{if(n){o(n);return}if(!a)throw Error(tn);i(a)})})}async sendCustomRequest(n,i){if(!this._connected)throw Error(te);switch(n.method){case"eth_accounts":return this.accounts;case"eth_chainId":return eC(this.chainId);case"eth_sendTransaction":case"eth_signTransaction":n.params&&(n.params[0]=eK(n.params[0]));break;case"personal_sign":n.params&&(n.params=eW(n.params))}let o=this._formatRequest(n),a=await this._sendCallRequest(o,i);return a}approveRequest(n){if(ez(n)){let i=this._formatResponse(n);this._sendResponse(i)}else throw Error(tr)}rejectRequest(n){if(ej(n)){let i=this._formatResponse(n);this._sendResponse(i)}else throw Error(ti)}transportClose(){this._transport.close()}async _sendRequest(n,i){let o=this._formatRequest(n),a=await this._encrypt(o),s=void 0!==(null==i?void 0:i.topic)?i.topic:this.peerId,l=JSON.stringify(a),u=void 0!==(null==i?void 0:i.forcePushNotification)?!i.forcePushNotification:eV(o);this._transport.send(l,s,u)}async _sendResponse(n){let i=await this._encrypt(n),o=this.peerId,a=JSON.stringify(i),s=!0;this._transport.send(a,o,s)}async _sendSessionRequest(n,i,o){this._sendRequest(n,o),this._subscribeToSessionResponse(n.id,i)}_sendCallRequest(n,i){return this._sendRequest(n,i),this._eventManager.trigger({event:"call_request_sent",params:[{request:n,options:i}]}),this._subscribeToCallResponse(n.id)}_formatRequest(n){if(void 0===n.method)throw Error(to);let i={id:void 0===n.id?eM():n.id,jsonrpc:"2.0",method:n.method,params:void 0===n.params?[]:n.params};return i}_formatResponse(n){if(void 0===n.id)throw Error(ta);let i={id:n.id,jsonrpc:"2.0"};if(ej(n)){let o=eY(n.error),a=Object.assign(Object.assign(Object.assign({},i),n),{error:o});return a}if(ez(n)){let s=Object.assign(Object.assign({},i),n);return s}throw Error(tl)}_handleSessionDisconnect(n){let i=n||"Session Disconnected";this._connected||(this._qrcodeModal&&this._qrcodeModal.close(),H(V)),this._connected&&(this._connected=!1),this._handshakeId&&(this._handshakeId=0),this._handshakeTopic&&(this._handshakeTopic=""),this._peerId&&(this._peerId=""),this._eventManager.trigger({event:"disconnect",params:[{message:i}]}),this._removeStorageSession(),this.transportClose()}_handleSessionResponse(n,i){i&&i.approved?(this._connected?(i.chainId&&(this.chainId=i.chainId),i.accounts&&(this.accounts=i.accounts),this._eventManager.trigger({event:"session_update",params:[{chainId:this.chainId,accounts:this.accounts}]})):(this._connected=!0,i.chainId&&(this.chainId=i.chainId),i.accounts&&(this.accounts=i.accounts),i.peerId&&!this.peerId&&(this.peerId=i.peerId),i.peerMeta&&!this.peerMeta&&(this.peerMeta=i.peerMeta),this._eventManager.trigger({event:"connect",params:[{peerId:this.peerId,peerMeta:this.peerMeta,chainId:this.chainId,accounts:this.accounts}]})),this._manageStorageSession()):this._handleSessionDisconnect(n)}async _handleIncomingMessages(n){let i;let o=[this.clientId,this.handshakeTopic];if(!o.includes(n.topic))return;try{i=JSON.parse(n.payload)}catch(a){return}let s=await this._decrypt(i);s&&this._eventManager.trigger(s)}_subscribeToSessionRequest(){this._transport.subscribe(this.handshakeTopic)}_subscribeToResponse(n,i){this.on(`response:${n}`,i)}_subscribeToSessionResponse(n,i){this._subscribeToResponse(n,(n,o)=>{if(n){this._handleSessionResponse(n.message);return}ez(o)?this._handleSessionResponse(i,o.result):o.error&&o.error.message?this._handleSessionResponse(o.error.message):this._handleSessionResponse(i)})}_subscribeToCallResponse(n){return new Promise((i,o)=>{this._subscribeToResponse(n,(n,a)=>{if(n){o(n);return}ez(a)?i(a.result):a.error&&a.error.message?o(a.error):o(Error(tl))})})}_subscribeToInternalEvents(){this.on("display_uri",()=>{this._qrcodeModal&&this._qrcodeModal.open(this.uri,()=>{this._eventManager.trigger({event:"modal_closed",params:[]})},this._qrcodeModalOptions)}),this.on("connect",()=>{this._qrcodeModal&&this._qrcodeModal.close()}),this.on("call_request_sent",(n,i)=>{let{request:o}=i.params[0];if(D()&&this._signingMethods.includes(o.method)){let a=$(V);a&&(window.location.href=a.href)}}),this.on("wc_sessionRequest",(n,i)=>{n&&this._eventManager.trigger({event:"error",params:[{code:"SESSION_REQUEST_ERROR",message:n.toString()}]}),this.handshakeId=i.id,this.peerId=i.params[0].peerId,this.peerMeta=i.params[0].peerMeta;let o=Object.assign(Object.assign({},i),{method:"session_request"});this._eventManager.trigger(o)}),this.on("wc_sessionUpdate",(n,i)=>{n&&this._handleSessionResponse(n.message),this._handleSessionResponse("Session disconnected",i.params[0])})}_initTransport(){this._transport.on("message",n=>this._handleIncomingMessages(n)),this._transport.on("open",()=>this._eventManager.trigger({event:"transport_open",params:[]})),this._transport.on("close",()=>this._eventManager.trigger({event:"transport_close",params:[]})),this._transport.on("error",()=>this._eventManager.trigger({event:"transport_error",params:["Websocket connection failed"]})),this._transport.open()}_formatUri(){let n=this.protocol,i=this.handshakeTopic,o=this.version,a=encodeURIComponent(this.bridge),s=this.key,l=`${n}:${i}@${o}?bridge=${a}&key=${s}`;return l}_parseUri(n){let i=e2(n);if(i.protocol===this.protocol){if(!i.handshakeTopic)throw Error("Invalid or missing handshakeTopic parameter value");let o=i.handshakeTopic;if(!i.bridge)throw Error("Invalid or missing bridge url parameter value");let a=decodeURIComponent(i.bridge);if(!i.key)throw Error("Invalid or missing key parameter value");let s=i.key;return{handshakeTopic:o,bridge:a,key:s}}throw Error(tu)}async _generateKey(){if(this._cryptoLib){let n=await this._cryptoLib.generateKey();return n}return null}async _encrypt(n){let i=this._key;if(this._cryptoLib&&i){let o=await this._cryptoLib.encrypt(n,i);return o}return null}async _decrypt(n){let i=this._key;if(this._cryptoLib&&i){let o=await this._cryptoLib.decrypt(n,i);return o}return null}_getStorageSession(){let n=null;return this._sessionStorage&&(n=this._sessionStorage.getSession()),n}_setStorageSession(){this._sessionStorage&&this._sessionStorage.setSession(this.session)}_removeStorageSession(){this._sessionStorage&&this._sessionStorage.removeSession()}_manageStorageSession(){this._connected?this._setStorageSession():this._removeStorageSession()}_registerPushServer(n){if(!n.url||"string"!=typeof n.url)throw Error("Invalid or missing pushServerOpts.url parameter value");if(!n.type||"string"!=typeof n.type)throw Error("Invalid or missing pushServerOpts.type parameter value");if(!n.token||"string"!=typeof n.token)throw Error("Invalid or missing pushServerOpts.token parameter value");let i={bridge:this.bridge,topic:this.clientId,type:n.type,token:n.token,peerName:"",language:n.language||""};this.on("connect",async(o,a)=>{if(o)throw o;if(n.peerMeta){let s=a.params[0].peerMeta.name;i.peerName=s}try{let l=await fetch(`${n.url}/new`,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(i)}),u=await l.json();if(!u.success)throw Error("Failed to register in Push Server")}catch(c){throw Error("Failed to register in Push Server")}})}}var tA=tk;function tT(n){let i=eD.getBrowerCrypto();return i.getRandomValues(new Uint8Array(n))}let tC=256,tR=tC,tD=tC,tO="AES-CBC",tI=`SHA-${tR}`,tN="HMAC",tM="encrypt",tL="decrypt",tP="sign",tF="verify";function tB(n){return n===tO?{length:tR,name:tO}:{hash:{name:tI},name:tN}}function tU(n){return n===tO?[tM,tL]:[tP,tF]}async function tz(n,i=tO){return eD.getSubtleCrypto().importKey("raw",n,tB(i),!0,tU(i))}async function tj(n,i,o){let a=eD.getSubtleCrypto(),s=await tz(i,tO),l=await a.encrypt({iv:n,name:tO},s,o);return new Uint8Array(l)}async function t$(n,i,o){let a=eD.getSubtleCrypto(),s=await tz(i,tO),l=await a.decrypt({iv:n,name:tO},s,o);return new Uint8Array(l)}async function tH(n,i){let o=eD.getSubtleCrypto(),a=await tz(n,tN),s=await o.sign({length:tD,name:tN},a,i);return new Uint8Array(s)}function tV(n,i,o){return tj(n,i,o)}function tG(n,i,o){return t$(n,i,o)}async function tq(n,i){let o=await tH(n,i);return o}async function tW(n){let i=(n||256)/8,o=tT(i),a=e_(ei(o));return a}async function tK(n,i){let o=el(n.data),a=el(n.iv),s=el(n.hmac),l=eo(s,!1),u=ef(o,a),c=await tq(i,u),d=eo(c,!1);return eb(l)===eb(d)}async function tY(n,i,o){let a=et(eS(i)),s=o||await tW(128),l=et(eS(s)),u=eo(l,!1),c=JSON.stringify(n),d=ec(c),p=await tV(l,a,d),f=eo(p,!1),h=ef(p,l),m=await tq(a,h),g=eo(m,!1);return{data:f,hmac:g,iv:u}}async function tZ(n,i){let o;let a=et(eS(i));if(!a)throw Error("Missing key: required for decryption");let s=await tK(n,a);if(!s)return null;let l=el(n.data),u=el(n.iv),c=await tG(u,a,l),d=ea(c);try{o=JSON.parse(d)}catch(p){return null}return o}class tX extends tA{constructor(n,i){super({cryptoLib:a,connectorOpts:n,pushServerOpts:i})}}var tJ=tX},40926:function(n,i,o){"use strict";function a(){return(null===o.g||void 0===o.g?void 0:o.g.crypto)||(null===o.g||void 0===o.g?void 0:o.g.msCrypto)||{}}function s(){let n=a();return n.subtle||n.webkitSubtle}function l(){return!!a()&&!!s()}Object.defineProperty(i,"__esModule",{value:!0}),i.isBrowserCryptoAvailable=i.getSubtleCrypto=i.getBrowerCrypto=void 0,i.getBrowerCrypto=a,i.getSubtleCrypto=s,i.isBrowserCryptoAvailable=l},88618:function(n,i,o){"use strict";var a=o(34155);function s(){return"undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product}function l(){return void 0!==a&&void 0!==a.versions&&void 0!==a.versions.node}function u(){return!s()&&!l()}Object.defineProperty(i,"__esModule",{value:!0}),i.isBrowser=i.isNode=i.isReactNative=void 0,i.isReactNative=s,i.isNode=l,i.isBrowser=u},1468:function(n,i,o){"use strict";Object.defineProperty(i,"__esModule",{value:!0});let a=o(70655);a.__exportStar(o(40926),i),a.__exportStar(o(88618),i)},68007:function(n){"use strict";n.exports=function(){throw Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}},11460:function(n,i,o){!function(n,i){"use strict";function a(n,i){if(!n)throw Error(i||"Assertion failed")}function s(n,i){n.super_=i;var o=function(){};o.prototype=i.prototype,n.prototype=new o,n.prototype.constructor=n}function l(n,i,o){if(l.isBN(n))return n;this.negative=0,this.words=null,this.length=0,this.red=null,null!==n&&(("le"===i||"be"===i)&&(o=i,i=10),this._init(n||0,i||10,o||"be"))}"object"==typeof n?n.exports=l:i.BN=l,l.BN=l,l.wordSize=26;try{p=o(36563).Buffer}catch(u){}function c(n,i,o){for(var a=0,s=Math.min(n.length,o),l=i;l=49&&u<=54?a|=u-49+10:u>=17&&u<=22?a|=u-17+10:a|=15&u}return a}function d(n,i,o,a){for(var s=0,l=Math.min(n.length,o),u=i;u=49?s+=c-49+10:c>=17?s+=c-17+10:s+=c}return s}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,i){return n.cmp(i)>0?n:i},l.min=function(n,i){return 0>n.cmp(i)?n:i},l.prototype._init=function(n,i,o){if("number"==typeof n)return this._initNumber(n,i,o);if("object"==typeof n)return this._initArray(n,i,o);"hex"===i&&(i=16),a(i===(0|i)&&i>=2&&i<=36);var s=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&s++,16===i?this._parseHex(n,s):this._parseBase(n,i,s),"-"===n[0]&&(this.negative=1),this.strip(),"le"===o&&this._initArray(this.toArray(),i,o)},l.prototype._initNumber=function(n,i,o){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(a(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===o&&this._initArray(this.toArray(),i,o)},l.prototype._initArray=function(n,i,o){if(a("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=Array(this.length);for(var s,l,u=0;u=0;u-=3)l=n[u]|n[u-1]<<8|n[u-2]<<16,this.words[s]|=l<>>26-c&67108863,(c+=24)>=26&&(c-=26,s++);else if("le"===o)for(u=0,s=0;u>>26-c&67108863,(c+=24)>=26&&(c-=26,s++);return this.strip()},l.prototype._parseHex=function(n,i){this.length=Math.ceil((n.length-i)/6),this.words=Array(this.length);for(var o,a,s=0;s=i;s-=6)a=c(n,s,s+6),this.words[o]|=a<>>26-l&4194303,(l+=24)>=26&&(l-=26,o++);s+6!==i&&(a=c(n,i,s+6),this.words[o]|=a<>>26-l&4194303),this.strip()},l.prototype._parseBase=function(n,i,o){this.words=[0],this.length=1;for(var a=0,s=1;s<=67108863;s*=i)a++;a--,s=s/i|0;for(var l=n.length-o,u=l%a,c=Math.min(l,l-u)+o,p=0,f=o;f1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?""};var p,f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],m=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function g(n){for(var i=Array(n.bitLength()),o=0;o>>s}return i}function b(n,i,o){o.negative=i.negative^n.negative;var a=n.length+i.length|0;o.length=a,a=a-1|0;var s=0|n.words[0],l=0|i.words[0],u=s*l,c=67108863&u,d=u/67108864|0;o.words[0]=c;for(var p=1;p>>26,h=67108863&d,m=Math.min(p,i.length-1),g=Math.max(0,p-n.length+1);g<=m;g++){var b=p-g|0;f+=(u=(s=0|n.words[b])*(l=0|i.words[g])+h)/67108864|0,h=67108863&u}o.words[p]=0|h,d=0|f}return 0!==d?o.words[p]=0|d:o.length--,o.strip()}l.prototype.toString=function(n,i){if(i=0|i||1,16===(n=n||10)||"hex"===n){o="";for(var o,s=0,l=0,u=0;u>>24-s&16777215)||u!==this.length-1?f[6-d.length]+d+o:d+o,(s+=2)>=26&&(s-=26,u--)}for(0!==l&&(o=l.toString(16)+o);o.length%i!=0;)o="0"+o;return 0!==this.negative&&(o="-"+o),o}if(n===(0|n)&&n>=2&&n<=36){var p=h[n],g=m[n];o="";var b=this.clone();for(b.negative=0;!b.isZero();){var y=b.modn(g).toString(n);o=(b=b.idivn(g)).isZero()?y+o:f[p-y.length]+y+o}for(this.isZero()&&(o="0"+o);o.length%i!=0;)o="0"+o;return 0!==this.negative&&(o="-"+o),o}a(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&a(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,i){return a(void 0!==p),this.toArrayLike(p,n,i)},l.prototype.toArray=function(n,i){return this.toArrayLike(Array,n,i)},l.prototype.toArrayLike=function(n,i,o){var s,l,u=this.byteLength(),c=o||Math.max(1,u);a(u<=c,"byte array longer than desired length"),a(c>0,"Requested array length <= 0"),this.strip();var d="le"===i,p=new n(c),f=this.clone();if(d){for(l=0;!f.isZero();l++)s=f.andln(255),f.iushrn(8),p[l]=s;for(;l=4096&&(o+=13,i>>>=13),i>=64&&(o+=7,i>>>=7),i>=8&&(o+=4,i>>>=4),i>=2&&(o+=2,i>>>=2),o+i},l.prototype._zeroBits=function(n){if(0===n)return 26;var i=n,o=0;return(8191&i)==0&&(o+=13,i>>>=13),(127&i)==0&&(o+=7,i>>>=7),(15&i)==0&&(o+=4,i>>>=4),(3&i)==0&&(o+=2,i>>>=2),(1&i)==0&&o++,o},l.prototype.bitLength=function(){var n=this.words[this.length-1],i=this._countBits(n);return(this.length-1)*26+i},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,i=0;in.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var i;i=this.length>n.length?n:this;for(var o=0;on.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){this.length>n.length?(i=this,o=n):(i=n,o=this);for(var i,o,a=0;an.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){a("number"==typeof n&&n>=0);var i=0|Math.ceil(n/26),o=n%26;this._expand(i),o>0&&i--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-o),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,i){a("number"==typeof n&&n>=0);var o=n/26|0,s=n%26;return this._expand(o+1),i?this.words[o]=this.words[o]|1<n.length?(o=this,a=n):(o=n,a=this);for(var i,o,a,s=0,l=0;l>>26;for(;0!==s&&l>>26;if(this.length=o.length,0!==s)this.words[this.length]=s,this.length++;else if(o!==this)for(;ln.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var i,o,a=this.iadd(n);return n.negative=1,a._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var s=this.cmp(n);if(0===s)return this.negative=0,this.length=1,this.words[0]=0,this;s>0?(i=this,o=n):(i=n,o=this);for(var l=0,u=0;u>26,this.words[u]=67108863&a;for(;0!==l&&u>26,this.words[u]=67108863&a;if(0===l&&u>>13,g=0|u[1],b=8191&g,y=g>>>13,v=0|u[2],w=8191&v,E=v>>>13,S=0|u[3],x=8191&S,_=S>>>13,k=0|u[4],A=8191&k,T=k>>>13,C=0|u[5],R=8191&C,D=C>>>13,O=0|u[6],I=8191&O,N=O>>>13,M=0|u[7],L=8191&M,P=M>>>13,F=0|u[8],B=8191&F,U=F>>>13,z=0|u[9],j=8191&z,$=z>>>13,H=0|c[0],V=8191&H,G=H>>>13,q=0|c[1],W=8191&q,K=q>>>13,Y=0|c[2],Z=8191&Y,X=Y>>>13,J=0|c[3],Q=8191&J,ee=J>>>13,et=0|c[4],en=8191&et,er=et>>>13,ei=0|c[5],eo=8191&ei,ea=ei>>>13,es=0|c[6],el=8191&es,eu=es>>>13,ec=0|c[7],ed=8191&ec,ep=ec>>>13,ef=0|c[8],eh=8191&ef,em=ef>>>13,eg=0|c[9],eb=8191&eg,ey=eg>>>13;o.negative=n.negative^i.negative,o.length=19;var ev=(p+(a=Math.imul(h,V))|0)+((8191&(s=(s=Math.imul(h,G))+Math.imul(m,V)|0))<<13)|0;p=((l=Math.imul(m,G))+(s>>>13)|0)+(ev>>>26)|0,ev&=67108863,a=Math.imul(b,V),s=(s=Math.imul(b,G))+Math.imul(y,V)|0,l=Math.imul(y,G);var ew=(p+(a=a+Math.imul(h,W)|0)|0)+((8191&(s=(s=s+Math.imul(h,K)|0)+Math.imul(m,W)|0))<<13)|0;p=((l=l+Math.imul(m,K)|0)+(s>>>13)|0)+(ew>>>26)|0,ew&=67108863,a=Math.imul(w,V),s=(s=Math.imul(w,G))+Math.imul(E,V)|0,l=Math.imul(E,G),a=a+Math.imul(b,W)|0,s=(s=s+Math.imul(b,K)|0)+Math.imul(y,W)|0,l=l+Math.imul(y,K)|0;var eE=(p+(a=a+Math.imul(h,Z)|0)|0)+((8191&(s=(s=s+Math.imul(h,X)|0)+Math.imul(m,Z)|0))<<13)|0;p=((l=l+Math.imul(m,X)|0)+(s>>>13)|0)+(eE>>>26)|0,eE&=67108863,a=Math.imul(x,V),s=(s=Math.imul(x,G))+Math.imul(_,V)|0,l=Math.imul(_,G),a=a+Math.imul(w,W)|0,s=(s=s+Math.imul(w,K)|0)+Math.imul(E,W)|0,l=l+Math.imul(E,K)|0,a=a+Math.imul(b,Z)|0,s=(s=s+Math.imul(b,X)|0)+Math.imul(y,Z)|0,l=l+Math.imul(y,X)|0;var eS=(p+(a=a+Math.imul(h,Q)|0)|0)+((8191&(s=(s=s+Math.imul(h,ee)|0)+Math.imul(m,Q)|0))<<13)|0;p=((l=l+Math.imul(m,ee)|0)+(s>>>13)|0)+(eS>>>26)|0,eS&=67108863,a=Math.imul(A,V),s=(s=Math.imul(A,G))+Math.imul(T,V)|0,l=Math.imul(T,G),a=a+Math.imul(x,W)|0,s=(s=s+Math.imul(x,K)|0)+Math.imul(_,W)|0,l=l+Math.imul(_,K)|0,a=a+Math.imul(w,Z)|0,s=(s=s+Math.imul(w,X)|0)+Math.imul(E,Z)|0,l=l+Math.imul(E,X)|0,a=a+Math.imul(b,Q)|0,s=(s=s+Math.imul(b,ee)|0)+Math.imul(y,Q)|0,l=l+Math.imul(y,ee)|0;var ex=(p+(a=a+Math.imul(h,en)|0)|0)+((8191&(s=(s=s+Math.imul(h,er)|0)+Math.imul(m,en)|0))<<13)|0;p=((l=l+Math.imul(m,er)|0)+(s>>>13)|0)+(ex>>>26)|0,ex&=67108863,a=Math.imul(R,V),s=(s=Math.imul(R,G))+Math.imul(D,V)|0,l=Math.imul(D,G),a=a+Math.imul(A,W)|0,s=(s=s+Math.imul(A,K)|0)+Math.imul(T,W)|0,l=l+Math.imul(T,K)|0,a=a+Math.imul(x,Z)|0,s=(s=s+Math.imul(x,X)|0)+Math.imul(_,Z)|0,l=l+Math.imul(_,X)|0,a=a+Math.imul(w,Q)|0,s=(s=s+Math.imul(w,ee)|0)+Math.imul(E,Q)|0,l=l+Math.imul(E,ee)|0,a=a+Math.imul(b,en)|0,s=(s=s+Math.imul(b,er)|0)+Math.imul(y,en)|0,l=l+Math.imul(y,er)|0;var e_=(p+(a=a+Math.imul(h,eo)|0)|0)+((8191&(s=(s=s+Math.imul(h,ea)|0)+Math.imul(m,eo)|0))<<13)|0;p=((l=l+Math.imul(m,ea)|0)+(s>>>13)|0)+(e_>>>26)|0,e_&=67108863,a=Math.imul(I,V),s=(s=Math.imul(I,G))+Math.imul(N,V)|0,l=Math.imul(N,G),a=a+Math.imul(R,W)|0,s=(s=s+Math.imul(R,K)|0)+Math.imul(D,W)|0,l=l+Math.imul(D,K)|0,a=a+Math.imul(A,Z)|0,s=(s=s+Math.imul(A,X)|0)+Math.imul(T,Z)|0,l=l+Math.imul(T,X)|0,a=a+Math.imul(x,Q)|0,s=(s=s+Math.imul(x,ee)|0)+Math.imul(_,Q)|0,l=l+Math.imul(_,ee)|0,a=a+Math.imul(w,en)|0,s=(s=s+Math.imul(w,er)|0)+Math.imul(E,en)|0,l=l+Math.imul(E,er)|0,a=a+Math.imul(b,eo)|0,s=(s=s+Math.imul(b,ea)|0)+Math.imul(y,eo)|0,l=l+Math.imul(y,ea)|0;var ek=(p+(a=a+Math.imul(h,el)|0)|0)+((8191&(s=(s=s+Math.imul(h,eu)|0)+Math.imul(m,el)|0))<<13)|0;p=((l=l+Math.imul(m,eu)|0)+(s>>>13)|0)+(ek>>>26)|0,ek&=67108863,a=Math.imul(L,V),s=(s=Math.imul(L,G))+Math.imul(P,V)|0,l=Math.imul(P,G),a=a+Math.imul(I,W)|0,s=(s=s+Math.imul(I,K)|0)+Math.imul(N,W)|0,l=l+Math.imul(N,K)|0,a=a+Math.imul(R,Z)|0,s=(s=s+Math.imul(R,X)|0)+Math.imul(D,Z)|0,l=l+Math.imul(D,X)|0,a=a+Math.imul(A,Q)|0,s=(s=s+Math.imul(A,ee)|0)+Math.imul(T,Q)|0,l=l+Math.imul(T,ee)|0,a=a+Math.imul(x,en)|0,s=(s=s+Math.imul(x,er)|0)+Math.imul(_,en)|0,l=l+Math.imul(_,er)|0,a=a+Math.imul(w,eo)|0,s=(s=s+Math.imul(w,ea)|0)+Math.imul(E,eo)|0,l=l+Math.imul(E,ea)|0,a=a+Math.imul(b,el)|0,s=(s=s+Math.imul(b,eu)|0)+Math.imul(y,el)|0,l=l+Math.imul(y,eu)|0;var eA=(p+(a=a+Math.imul(h,ed)|0)|0)+((8191&(s=(s=s+Math.imul(h,ep)|0)+Math.imul(m,ed)|0))<<13)|0;p=((l=l+Math.imul(m,ep)|0)+(s>>>13)|0)+(eA>>>26)|0,eA&=67108863,a=Math.imul(B,V),s=(s=Math.imul(B,G))+Math.imul(U,V)|0,l=Math.imul(U,G),a=a+Math.imul(L,W)|0,s=(s=s+Math.imul(L,K)|0)+Math.imul(P,W)|0,l=l+Math.imul(P,K)|0,a=a+Math.imul(I,Z)|0,s=(s=s+Math.imul(I,X)|0)+Math.imul(N,Z)|0,l=l+Math.imul(N,X)|0,a=a+Math.imul(R,Q)|0,s=(s=s+Math.imul(R,ee)|0)+Math.imul(D,Q)|0,l=l+Math.imul(D,ee)|0,a=a+Math.imul(A,en)|0,s=(s=s+Math.imul(A,er)|0)+Math.imul(T,en)|0,l=l+Math.imul(T,er)|0,a=a+Math.imul(x,eo)|0,s=(s=s+Math.imul(x,ea)|0)+Math.imul(_,eo)|0,l=l+Math.imul(_,ea)|0,a=a+Math.imul(w,el)|0,s=(s=s+Math.imul(w,eu)|0)+Math.imul(E,el)|0,l=l+Math.imul(E,eu)|0,a=a+Math.imul(b,ed)|0,s=(s=s+Math.imul(b,ep)|0)+Math.imul(y,ed)|0,l=l+Math.imul(y,ep)|0;var eT=(p+(a=a+Math.imul(h,eh)|0)|0)+((8191&(s=(s=s+Math.imul(h,em)|0)+Math.imul(m,eh)|0))<<13)|0;p=((l=l+Math.imul(m,em)|0)+(s>>>13)|0)+(eT>>>26)|0,eT&=67108863,a=Math.imul(j,V),s=(s=Math.imul(j,G))+Math.imul($,V)|0,l=Math.imul($,G),a=a+Math.imul(B,W)|0,s=(s=s+Math.imul(B,K)|0)+Math.imul(U,W)|0,l=l+Math.imul(U,K)|0,a=a+Math.imul(L,Z)|0,s=(s=s+Math.imul(L,X)|0)+Math.imul(P,Z)|0,l=l+Math.imul(P,X)|0,a=a+Math.imul(I,Q)|0,s=(s=s+Math.imul(I,ee)|0)+Math.imul(N,Q)|0,l=l+Math.imul(N,ee)|0,a=a+Math.imul(R,en)|0,s=(s=s+Math.imul(R,er)|0)+Math.imul(D,en)|0,l=l+Math.imul(D,er)|0,a=a+Math.imul(A,eo)|0,s=(s=s+Math.imul(A,ea)|0)+Math.imul(T,eo)|0,l=l+Math.imul(T,ea)|0,a=a+Math.imul(x,el)|0,s=(s=s+Math.imul(x,eu)|0)+Math.imul(_,el)|0,l=l+Math.imul(_,eu)|0,a=a+Math.imul(w,ed)|0,s=(s=s+Math.imul(w,ep)|0)+Math.imul(E,ed)|0,l=l+Math.imul(E,ep)|0,a=a+Math.imul(b,eh)|0,s=(s=s+Math.imul(b,em)|0)+Math.imul(y,eh)|0,l=l+Math.imul(y,em)|0;var eC=(p+(a=a+Math.imul(h,eb)|0)|0)+((8191&(s=(s=s+Math.imul(h,ey)|0)+Math.imul(m,eb)|0))<<13)|0;p=((l=l+Math.imul(m,ey)|0)+(s>>>13)|0)+(eC>>>26)|0,eC&=67108863,a=Math.imul(j,W),s=(s=Math.imul(j,K))+Math.imul($,W)|0,l=Math.imul($,K),a=a+Math.imul(B,Z)|0,s=(s=s+Math.imul(B,X)|0)+Math.imul(U,Z)|0,l=l+Math.imul(U,X)|0,a=a+Math.imul(L,Q)|0,s=(s=s+Math.imul(L,ee)|0)+Math.imul(P,Q)|0,l=l+Math.imul(P,ee)|0,a=a+Math.imul(I,en)|0,s=(s=s+Math.imul(I,er)|0)+Math.imul(N,en)|0,l=l+Math.imul(N,er)|0,a=a+Math.imul(R,eo)|0,s=(s=s+Math.imul(R,ea)|0)+Math.imul(D,eo)|0,l=l+Math.imul(D,ea)|0,a=a+Math.imul(A,el)|0,s=(s=s+Math.imul(A,eu)|0)+Math.imul(T,el)|0,l=l+Math.imul(T,eu)|0,a=a+Math.imul(x,ed)|0,s=(s=s+Math.imul(x,ep)|0)+Math.imul(_,ed)|0,l=l+Math.imul(_,ep)|0,a=a+Math.imul(w,eh)|0,s=(s=s+Math.imul(w,em)|0)+Math.imul(E,eh)|0,l=l+Math.imul(E,em)|0;var eR=(p+(a=a+Math.imul(b,eb)|0)|0)+((8191&(s=(s=s+Math.imul(b,ey)|0)+Math.imul(y,eb)|0))<<13)|0;p=((l=l+Math.imul(y,ey)|0)+(s>>>13)|0)+(eR>>>26)|0,eR&=67108863,a=Math.imul(j,Z),s=(s=Math.imul(j,X))+Math.imul($,Z)|0,l=Math.imul($,X),a=a+Math.imul(B,Q)|0,s=(s=s+Math.imul(B,ee)|0)+Math.imul(U,Q)|0,l=l+Math.imul(U,ee)|0,a=a+Math.imul(L,en)|0,s=(s=s+Math.imul(L,er)|0)+Math.imul(P,en)|0,l=l+Math.imul(P,er)|0,a=a+Math.imul(I,eo)|0,s=(s=s+Math.imul(I,ea)|0)+Math.imul(N,eo)|0,l=l+Math.imul(N,ea)|0,a=a+Math.imul(R,el)|0,s=(s=s+Math.imul(R,eu)|0)+Math.imul(D,el)|0,l=l+Math.imul(D,eu)|0,a=a+Math.imul(A,ed)|0,s=(s=s+Math.imul(A,ep)|0)+Math.imul(T,ed)|0,l=l+Math.imul(T,ep)|0,a=a+Math.imul(x,eh)|0,s=(s=s+Math.imul(x,em)|0)+Math.imul(_,eh)|0,l=l+Math.imul(_,em)|0;var eD=(p+(a=a+Math.imul(w,eb)|0)|0)+((8191&(s=(s=s+Math.imul(w,ey)|0)+Math.imul(E,eb)|0))<<13)|0;p=((l=l+Math.imul(E,ey)|0)+(s>>>13)|0)+(eD>>>26)|0,eD&=67108863,a=Math.imul(j,Q),s=(s=Math.imul(j,ee))+Math.imul($,Q)|0,l=Math.imul($,ee),a=a+Math.imul(B,en)|0,s=(s=s+Math.imul(B,er)|0)+Math.imul(U,en)|0,l=l+Math.imul(U,er)|0,a=a+Math.imul(L,eo)|0,s=(s=s+Math.imul(L,ea)|0)+Math.imul(P,eo)|0,l=l+Math.imul(P,ea)|0,a=a+Math.imul(I,el)|0,s=(s=s+Math.imul(I,eu)|0)+Math.imul(N,el)|0,l=l+Math.imul(N,eu)|0,a=a+Math.imul(R,ed)|0,s=(s=s+Math.imul(R,ep)|0)+Math.imul(D,ed)|0,l=l+Math.imul(D,ep)|0,a=a+Math.imul(A,eh)|0,s=(s=s+Math.imul(A,em)|0)+Math.imul(T,eh)|0,l=l+Math.imul(T,em)|0;var eO=(p+(a=a+Math.imul(x,eb)|0)|0)+((8191&(s=(s=s+Math.imul(x,ey)|0)+Math.imul(_,eb)|0))<<13)|0;p=((l=l+Math.imul(_,ey)|0)+(s>>>13)|0)+(eO>>>26)|0,eO&=67108863,a=Math.imul(j,en),s=(s=Math.imul(j,er))+Math.imul($,en)|0,l=Math.imul($,er),a=a+Math.imul(B,eo)|0,s=(s=s+Math.imul(B,ea)|0)+Math.imul(U,eo)|0,l=l+Math.imul(U,ea)|0,a=a+Math.imul(L,el)|0,s=(s=s+Math.imul(L,eu)|0)+Math.imul(P,el)|0,l=l+Math.imul(P,eu)|0,a=a+Math.imul(I,ed)|0,s=(s=s+Math.imul(I,ep)|0)+Math.imul(N,ed)|0,l=l+Math.imul(N,ep)|0,a=a+Math.imul(R,eh)|0,s=(s=s+Math.imul(R,em)|0)+Math.imul(D,eh)|0,l=l+Math.imul(D,em)|0;var eI=(p+(a=a+Math.imul(A,eb)|0)|0)+((8191&(s=(s=s+Math.imul(A,ey)|0)+Math.imul(T,eb)|0))<<13)|0;p=((l=l+Math.imul(T,ey)|0)+(s>>>13)|0)+(eI>>>26)|0,eI&=67108863,a=Math.imul(j,eo),s=(s=Math.imul(j,ea))+Math.imul($,eo)|0,l=Math.imul($,ea),a=a+Math.imul(B,el)|0,s=(s=s+Math.imul(B,eu)|0)+Math.imul(U,el)|0,l=l+Math.imul(U,eu)|0,a=a+Math.imul(L,ed)|0,s=(s=s+Math.imul(L,ep)|0)+Math.imul(P,ed)|0,l=l+Math.imul(P,ep)|0,a=a+Math.imul(I,eh)|0,s=(s=s+Math.imul(I,em)|0)+Math.imul(N,eh)|0,l=l+Math.imul(N,em)|0;var eN=(p+(a=a+Math.imul(R,eb)|0)|0)+((8191&(s=(s=s+Math.imul(R,ey)|0)+Math.imul(D,eb)|0))<<13)|0;p=((l=l+Math.imul(D,ey)|0)+(s>>>13)|0)+(eN>>>26)|0,eN&=67108863,a=Math.imul(j,el),s=(s=Math.imul(j,eu))+Math.imul($,el)|0,l=Math.imul($,eu),a=a+Math.imul(B,ed)|0,s=(s=s+Math.imul(B,ep)|0)+Math.imul(U,ed)|0,l=l+Math.imul(U,ep)|0,a=a+Math.imul(L,eh)|0,s=(s=s+Math.imul(L,em)|0)+Math.imul(P,eh)|0,l=l+Math.imul(P,em)|0;var eM=(p+(a=a+Math.imul(I,eb)|0)|0)+((8191&(s=(s=s+Math.imul(I,ey)|0)+Math.imul(N,eb)|0))<<13)|0;p=((l=l+Math.imul(N,ey)|0)+(s>>>13)|0)+(eM>>>26)|0,eM&=67108863,a=Math.imul(j,ed),s=(s=Math.imul(j,ep))+Math.imul($,ed)|0,l=Math.imul($,ep),a=a+Math.imul(B,eh)|0,s=(s=s+Math.imul(B,em)|0)+Math.imul(U,eh)|0,l=l+Math.imul(U,em)|0;var eL=(p+(a=a+Math.imul(L,eb)|0)|0)+((8191&(s=(s=s+Math.imul(L,ey)|0)+Math.imul(P,eb)|0))<<13)|0;p=((l=l+Math.imul(P,ey)|0)+(s>>>13)|0)+(eL>>>26)|0,eL&=67108863,a=Math.imul(j,eh),s=(s=Math.imul(j,em))+Math.imul($,eh)|0,l=Math.imul($,em);var eP=(p+(a=a+Math.imul(B,eb)|0)|0)+((8191&(s=(s=s+Math.imul(B,ey)|0)+Math.imul(U,eb)|0))<<13)|0;p=((l=l+Math.imul(U,ey)|0)+(s>>>13)|0)+(eP>>>26)|0,eP&=67108863;var eF=(p+(a=Math.imul(j,eb))|0)+((8191&(s=(s=Math.imul(j,ey))+Math.imul($,eb)|0))<<13)|0;return p=((l=Math.imul($,ey))+(s>>>13)|0)+(eF>>>26)|0,eF&=67108863,d[0]=ev,d[1]=ew,d[2]=eE,d[3]=eS,d[4]=ex,d[5]=e_,d[6]=ek,d[7]=eA,d[8]=eT,d[9]=eC,d[10]=eR,d[11]=eD,d[12]=eO,d[13]=eI,d[14]=eN,d[15]=eM,d[16]=eL,d[17]=eP,d[18]=eF,0!==p&&(d[19]=p,o.length++),o};function v(n,i,o){o.negative=i.negative^n.negative,o.length=n.length+i.length;for(var a=0,s=0,l=0;l>>26)|0)>>>26,u&=67108863}o.words[l]=c,a=u,u=s}return 0!==a?o.words[l]=a:o.length--,o.strip()}function w(n,i,o){return new E().mulp(n,i,o)}function E(n,i){this.x=n,this.y=i}Math.imul||(y=b),l.prototype.mulTo=function(n,i){var o=this.length+n.length;return 10===this.length&&10===n.length?y(this,n,i):o<63?b(this,n,i):o<1024?v(this,n,i):w(this,n,i)},E.prototype.makeRBT=function(n){for(var i=Array(n),o=l.prototype._countBits(n)-1,a=0;a>=1;return a},E.prototype.permute=function(n,i,o,a,s,l){for(var u=0;u>>=1)s++;return 1<>>=13,o[2*u+1]=8191&l,l>>>=13;for(u=2*i;u>=26,i+=s/67108864|0,i+=l>>>26,this.words[o]=67108863&l}return 0!==i&&(this.words[o]=i,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var i=g(n);if(0===i.length)return new l(1);for(var o=this,a=0;a=0);var i,o=n%26,s=(n-o)/26,l=67108863>>>26-o<<26-o;if(0!==o){var u=0;for(i=0;i>>26-o}u&&(this.words[i]=u,this.length++)}if(0!==s){for(i=this.length-1;i>=0;i--)this.words[i+s]=this.words[i];for(i=0;i=0),s=i?(i-i%26)/26:0;var s,l=n%26,u=Math.min((n-l)/26,this.length),c=67108863^67108863>>>l<u)for(this.length-=u,p=0;p=0&&(0!==f||p>=s);p--){var h=0|this.words[p];this.words[p]=f<<26-l|h>>>l,f=h&c}return d&&0!==f&&(d.words[d.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,i,o){return a(0===this.negative),this.iushrn(n,i,o)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){a("number"==typeof n&&n>=0);var i=n%26,o=(n-i)/26,s=1<=0);var i=n%26,o=(n-i)/26;if(a(0===this.negative,"imaskn works only with positive numbers"),this.length<=o)return this;if(0!==i&&o++,this.length=Math.min(o,this.length),0!==i){var s=67108863^67108863>>>i<=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},l.prototype.isubn=function(n){if(a("number"==typeof n),a(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i>26)-(d/67108864|0),this.words[s+o]=67108863&l}for(;s>26,this.words[s+o]=67108863&l;if(0===c)return this.strip();for(a(-1===c),c=0,s=0;s>26,this.words[s]=67108863&l;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,i){var o,a=this.length-n.length,s=this.clone(),u=n,c=0|u.words[u.length-1];0!=(a=26-this._countBits(c))&&(u=u.ushln(a),s.iushln(a),c=0|u.words[u.length-1]);var d=s.length-u.length;if("mod"!==i){(o=new l(null)).length=d+1,o.words=Array(o.length);for(var p=0;p=0;h--){var m=(0|s.words[u.length+h])*67108864+(0|s.words[u.length+h-1]);for(m=Math.min(m/c|0,67108863),s._ishlnsubmul(u,m,h);0!==s.negative;)m--,s.negative=0,s._ishlnsubmul(u,1,h),s.isZero()||(s.negative^=1);o&&(o.words[h]=m)}return o&&o.strip(),s.strip(),"div"!==i&&0!==a&&s.iushrn(a),{div:o||null,mod:s}},l.prototype.divmod=function(n,i,o){var s,u,c;return(a(!n.isZero()),this.isZero())?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(c=this.neg().divmod(n,i),"mod"!==i&&(s=c.div.neg()),"div"!==i&&(u=c.mod.neg(),o&&0!==u.negative&&u.iadd(n)),{div:s,mod:u}):0===this.negative&&0!==n.negative?(c=this.divmod(n.neg(),i),"mod"!==i&&(s=c.div.neg()),{div:s,mod:c.mod}):(this.negative&n.negative)!=0?(c=this.neg().divmod(n.neg(),i),"div"!==i&&(u=c.mod.neg(),o&&0!==u.negative&&u.isub(n)),{div:c.div,mod:u}):n.length>this.length||0>this.cmp(n)?{div:new l(0),mod:this}:1===n.length?"div"===i?{div:this.divn(n.words[0]),mod:null}:"mod"===i?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,i)},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var i=this.divmod(n);if(i.mod.isZero())return i.div;var o=0!==i.div.negative?i.mod.isub(n):i.mod,a=n.ushrn(1),s=n.andln(1),l=o.cmp(a);return l<0||1===s&&0===l?i.div:0!==i.div.negative?i.div.isubn(1):i.div.iaddn(1)},l.prototype.modn=function(n){a(n<=67108863);for(var i=67108864%n,o=0,s=this.length-1;s>=0;s--)o=(i*o+(0|this.words[s]))%n;return o},l.prototype.idivn=function(n){a(n<=67108863);for(var i=0,o=this.length-1;o>=0;o--){var s=(0|this.words[o])+67108864*i;this.words[o]=s/n|0,i=s%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){a(0===n.negative),a(!n.isZero());var i=this,o=n.clone();i=0!==i.negative?i.umod(n):i.clone();for(var s=new l(1),u=new l(0),c=new l(0),d=new l(1),p=0;i.isEven()&&o.isEven();)i.iushrn(1),o.iushrn(1),++p;for(var f=o.clone(),h=i.clone();!i.isZero();){for(var m=0,g=1;(i.words[0]&g)==0&&m<26;++m,g<<=1);if(m>0)for(i.iushrn(m);m-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(f),u.isub(h)),s.iushrn(1),u.iushrn(1);for(var b=0,y=1;(o.words[0]&y)==0&&b<26;++b,y<<=1);if(b>0)for(o.iushrn(b);b-- >0;)(c.isOdd()||d.isOdd())&&(c.iadd(f),d.isub(h)),c.iushrn(1),d.iushrn(1);i.cmp(o)>=0?(i.isub(o),s.isub(c),u.isub(d)):(o.isub(i),c.isub(s),d.isub(u))}return{a:c,b:d,gcd:o.iushln(p)}},l.prototype._invmp=function(n){a(0===n.negative),a(!n.isZero());var i,o=this,s=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var u=new l(1),c=new l(0),d=s.clone();o.cmpn(1)>0&&s.cmpn(1)>0;){for(var p=0,f=1;(o.words[0]&f)==0&&p<26;++p,f<<=1);if(p>0)for(o.iushrn(p);p-- >0;)u.isOdd()&&u.iadd(d),u.iushrn(1);for(var h=0,m=1;(s.words[0]&m)==0&&h<26;++h,m<<=1);if(h>0)for(s.iushrn(h);h-- >0;)c.isOdd()&&c.iadd(d),c.iushrn(1);o.cmp(s)>=0?(o.isub(s),u.isub(c)):(s.isub(o),c.isub(u))}return 0>(i=0===o.cmpn(1)?u:c).cmpn(0)&&i.iadd(n),i},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var i=this.clone(),o=n.clone();i.negative=0,o.negative=0;for(var a=0;i.isEven()&&o.isEven();a++)i.iushrn(1),o.iushrn(1);for(;;){for(;i.isEven();)i.iushrn(1);for(;o.isEven();)o.iushrn(1);var s=i.cmp(o);if(s<0){var l=i;i=o,o=l}else if(0===s||0===o.cmpn(1))break;i.isub(o)}return o.iushln(a)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return(1&this.words[0])==0},l.prototype.isOdd=function(){return(1&this.words[0])==1},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){a("number"==typeof n);var i=n%26,o=(n-i)/26,s=1<>>26,c&=67108863,this.words[u]=c}return 0!==l&&(this.words[u]=l,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var i,o=n<0;if(0!==this.negative&&!o)return -1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)i=1;else{o&&(n=-n),a(n<=67108863,"Number is too big");var s=0|this.words[0];i=s===n?0:sn.length)return 1;if(this.length=0;o--){var a=0|this.words[o],s=0|n.words[o];if(a!==s){as&&(i=1);break}}return i},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return -1===this.cmpn(n)},l.prototype.lt=function(n){return -1===this.cmp(n)},l.prototype.lten=function(n){return 0>=this.cmpn(n)},l.prototype.lte=function(n){return 0>=this.cmp(n)},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new C(n)},l.prototype.toRed=function(n){return a(!this.red,"Already a number in reduction context"),a(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return a(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return a(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return a(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return a(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return a(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return a(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return a(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return a(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return a(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return a(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return a(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return a(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return a(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var S={k256:null,p224:null,p192:null,p25519:null};function x(n,i){this.name=n,this.p=new l(i,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function A(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function T(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(n){if("string"==typeof n){var i=l._prime(n);this.m=i.p,this.prime=i}else a(n.gtn(1),"modulus must be greater than 1"),this.m=n,this.prime=null}function R(n){C.call(this,n),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var n=new l(null);return n.words=Array(Math.ceil(this.n/13)),n},x.prototype.ireduce=function(n){var i,o=n;do this.split(o,this.tmp),i=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength();while(i>this.n);var a=i0?o.isub(this.p):o.strip(),o},x.prototype.split=function(n,i){n.iushrn(this.n,0,i)},x.prototype.imulK=function(n){return n.imul(this.k)},s(_,x),_.prototype.split=function(n,i){for(var o=4194303,a=Math.min(n.length,9),s=0;s>>22,l=u}l>>>=22,n.words[s-10]=l,0===l&&n.length>10?n.length-=10:n.length-=9},_.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var i=0,o=0;o>>=26,n.words[o]=s,i=a}return 0!==i&&(n.words[n.length++]=i),n},l._prime=function(n){var i;if(S[n])return S[n];if("k256"===n)i=new _;else if("p224"===n)i=new k;else if("p192"===n)i=new A;else if("p25519"===n)i=new T;else throw Error("Unknown prime "+n);return S[n]=i,i},C.prototype._verify1=function(n){a(0===n.negative,"red works only with positives"),a(n.red,"red works only with red numbers")},C.prototype._verify2=function(n,i){a((n.negative|i.negative)==0,"red works only with positives"),a(n.red&&n.red===i.red,"red works only with red numbers")},C.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},C.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},C.prototype.add=function(n,i){this._verify2(n,i);var o=n.add(i);return o.cmp(this.m)>=0&&o.isub(this.m),o._forceRed(this)},C.prototype.iadd=function(n,i){this._verify2(n,i);var o=n.iadd(i);return o.cmp(this.m)>=0&&o.isub(this.m),o},C.prototype.sub=function(n,i){this._verify2(n,i);var o=n.sub(i);return 0>o.cmpn(0)&&o.iadd(this.m),o._forceRed(this)},C.prototype.isub=function(n,i){this._verify2(n,i);var o=n.isub(i);return 0>o.cmpn(0)&&o.iadd(this.m),o},C.prototype.shl=function(n,i){return this._verify1(n),this.imod(n.ushln(i))},C.prototype.imul=function(n,i){return this._verify2(n,i),this.imod(n.imul(i))},C.prototype.mul=function(n,i){return this._verify2(n,i),this.imod(n.mul(i))},C.prototype.isqr=function(n){return this.imul(n,n.clone())},C.prototype.sqr=function(n){return this.mul(n,n)},C.prototype.sqrt=function(n){if(n.isZero())return n.clone();var i=this.m.andln(3);if(a(i%2==1),3===i){var o=this.m.add(new l(1)).iushrn(2);return this.pow(n,o)}for(var s=this.m.subn(1),u=0;!s.isZero()&&0===s.andln(1);)u++,s.iushrn(1);a(!s.isZero());var c=new l(1).toRed(this),d=c.redNeg(),p=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new l(2*f*f).toRed(this);0!==this.pow(f,p).cmp(d);)f.redIAdd(d);for(var h=this.pow(f,s),m=this.pow(n,s.addn(1).iushrn(1)),g=this.pow(n,s),b=u;0!==g.cmp(c);){for(var y=g,v=0;0!==y.cmp(c);v++)y=y.redSqr();a(v=0;s--){for(var f=i.words[s],h=p-1;h>=0;h--){var m=f>>h&1;if(u!==a[0]&&(u=this.sqr(u)),0===m&&0===c){d=0;continue}c<<=1,c|=m,(++d===o||0===s&&0===h)&&(u=this.mul(u,a[c]),d=0,c=0)}p=26}return u},C.prototype.convertTo=function(n){var i=n.umod(this.m);return i===n?i.clone():i},C.prototype.convertFrom=function(n){var i=n.clone();return i.red=null,i},l.mont=function(n){return new R(n)},s(R,C),R.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},R.prototype.convertFrom=function(n){var i=this.imod(n.mul(this.rinv));return i.red=null,i},R.prototype.imul=function(n,i){if(n.isZero()||i.isZero())return n.words[0]=0,n.length=1,n;var o=n.imul(i),a=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),s=o.isub(a).iushrn(this.shift),l=s;return s.cmp(this.m)>=0?l=s.isub(this.m):0>s.cmpn(0)&&(l=s.iadd(this.m)),l._forceRed(this)},R.prototype.mul=function(n,i){if(n.isZero()||i.isZero())return new l(0)._forceRed(this);var o=n.mul(i),a=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),s=o.isub(a).iushrn(this.shift),u=s;return s.cmp(this.m)>=0?u=s.isub(this.m):0>s.cmpn(0)&&(u=s.iadd(this.m)),u._forceRed(this)},R.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(n=o.nmd(n),this)},62873:function(n,i){"use strict";function o(n){let i;return"undefined"!=typeof window&&void 0!==window[n]&&(i=window[n]),i}function a(n){let i=o(n);if(!i)throw Error(`${n} is not defined in Window`);return i}function s(){return a("document")}function l(){return o("document")}function u(){return a("navigator")}function c(){return o("navigator")}function d(){return a("location")}function p(){return o("location")}function f(){return a("crypto")}function h(){return o("crypto")}function m(){return a("localStorage")}function g(){return o("localStorage")}i.$o=i.xP=i.MX=i.VQ=i.k$=i.UO=i.jW=i.Gw=i.Me=i.uT=i.$2=i.sD=void 0,i.sD=o,i.$2=a,i.uT=s,i.Me=l,i.Gw=u,i.jW=c,i.UO=d,i.k$=p,i.VQ=f,i.MX=h,i.xP=m,i.$o=g},65755:function(n,i,o){"use strict";i.D=void 0;let a=o(42269);function s(){let n,i;try{n=a.getDocumentOrThrow(),i=a.getLocationOrThrow()}catch(o){return null}function s(){let o=n.getElementsByTagName("link"),a=[];for(let s=0;s-1){let c=l.getAttribute("href");if(c){if(-1===c.toLowerCase().indexOf("https:")&&-1===c.toLowerCase().indexOf("http:")&&0!==c.indexOf("//")){let d=i.protocol+"//"+i.host;if(0===c.indexOf("/"))d+=c;else{let p=i.pathname.split("/");p.pop();let f=p.join("/");d+=f+"/"+c}a.push(d)}else if(0===c.indexOf("//")){let h=i.protocol+c;a.push(h)}else a.push(c)}}}return a}function l(...i){let o=n.getElementsByTagName("meta");for(let a=0;as.getAttribute(n)).filter(n=>!!n&&i.includes(n));if(l.length&&l){let u=s.getAttribute("content");if(u)return u}}return""}function u(){let i=l("name","og:site_name","og:title","twitter:title");return i||(i=n.title),i}function c(){let n=l("description","og:description","twitter:description","keywords");return n}let d=u(),p=c(),f=i.origin,h=s(),m={description:p,url:f,icons:h,name:d};return m}i.D=s},42269:function(n,i){"use strict";function o(n){let i;return"undefined"!=typeof window&&void 0!==window[n]&&(i=window[n]),i}function a(n){let i=o(n);if(!i)throw Error(`${n} is not defined in Window`);return i}function s(){return a("document")}function l(){return o("document")}function u(){return a("navigator")}function c(){return o("navigator")}function d(){return a("location")}function p(){return o("location")}function f(){return a("crypto")}function h(){return o("crypto")}function m(){return a("localStorage")}function g(){return o("localStorage")}Object.defineProperty(i,"__esModule",{value:!0}),i.getLocalStorage=i.getLocalStorageOrThrow=i.getCrypto=i.getCryptoOrThrow=i.getLocation=i.getLocationOrThrow=i.getNavigator=i.getNavigatorOrThrow=i.getDocument=i.getDocumentOrThrow=i.getFromWindowOrThrow=i.getFromWindow=void 0,i.getFromWindow=o,i.getFromWindowOrThrow=a,i.getDocumentOrThrow=s,i.getDocument=l,i.getNavigatorOrThrow=u,i.getNavigator=c,i.getLocationOrThrow=d,i.getLocation=p,i.getCryptoOrThrow=f,i.getCrypto=h,i.getLocalStorageOrThrow=m,i.getLocalStorage=g},66424:function(n,i,o){var a,s,l=o(34155);a=0,s=function(){return function(n){var i={};function o(a){if(i[a])return i[a].exports;var s=i[a]={i:a,l:!1,exports:{}};return n[a].call(s.exports,s,s.exports,o),s.l=!0,s.exports}return o.m=n,o.c=i,o.d=function(n,i,a){o.o(n,i)||Object.defineProperty(n,i,{enumerable:!0,get:a})},o.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},o.t=function(n,i){if(1&i&&(n=o(n)),8&i||4&i&&"object"==typeof n&&n&&n.__esModule)return n;var a=Object.create(null);if(o.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:n}),2&i&&"string"!=typeof n)for(var s in n)o.d(a,s,(function(i){return n[i]}).bind(null,s));return a},o.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return o.d(i,"a",i),i},o.o=function(n,i){return Object.prototype.hasOwnProperty.call(n,i)},o.p="",o(o.s=0)}([function(n,i,o){"use strict";o.r(i),o.d(i,"encode",function(){return I}),o.d(i,"decode",function(){return W}),o.d(i,"decodeAsync",function(){return et}),o.d(i,"decodeArrayStream",function(){return en}),o.d(i,"decodeStream",function(){return er}),o.d(i,"Decoder",function(){return G}),o.d(i,"Encoder",function(){return D}),o.d(i,"ExtensionCodec",function(){return T}),o.d(i,"ExtData",function(){return b}),o.d(i,"EXT_TIMESTAMP",function(){return w}),o.d(i,"encodeDateToTimeSpec",function(){return S}),o.d(i,"encodeTimeSpecToTimestamp",function(){return E}),o.d(i,"decodeTimestampToTimeSpec",function(){return _}),o.d(i,"encodeTimestampExtension",function(){return x}),o.d(i,"decodeTimestampExtension",function(){return k});var a=function(n,i){var o="function"==typeof Symbol&&n[Symbol.iterator];if(!o)return n;var a,s,l=o.call(n),u=[];try{for(;(void 0===i||i-- >0)&&!(a=l.next()).done;)u.push(a.value)}catch(c){s={error:c}}finally{try{a&&!a.done&&(o=l.return)&&o.call(l)}finally{if(s)throw s.error}}return u},s=function(){for(var n=[],i=0;i=55296&&s<=56319&&a65535&&(h-=65536,u.push(h>>>10&1023|55296),h=56320|1023&h),u.push(h)}else u.push(d);u.length>=4096&&(c+=String.fromCharCode.apply(String,s(u)),u.length=0)}return u.length>0&&(c+=String.fromCharCode.apply(String,s(u))),c}var m=u?new TextDecoder:null,g=void 0!==l?200:0,b=function(n,i){this.type=n,this.data=i};function y(n,i,o){var a=Math.floor(o/4294967296),s=o;n.setUint32(i,a),n.setUint32(i+4,s)}function v(n,i){var o=n.getInt32(i),a=n.getUint32(i+4),s=oMath.floor(Number.MAX_SAFE_INTEGER/4294967296);return s||l?BigInt(o)*BigInt(4294967296)+BigInt(a):4294967296*o+a}var w=-1;function E(n){var i,o=n.sec,a=n.nsec;if(o>=0&&a>=0&&o<=17179869183){if(0===a&&o<=4294967295){var s=new Uint8Array(4);return(i=new DataView(s.buffer)).setUint32(0,o),s}var l=o/4294967296,u=4294967295&o;return s=new Uint8Array(8),(i=new DataView(s.buffer)).setUint32(0,a<<2|3&l),i.setUint32(4,u),s}return s=new Uint8Array(12),(i=new DataView(s.buffer)).setUint32(0,a),y(i,4,o),s}function S(n){var i=n.getTime(),o=Math.floor(i/1e3),a=1e6*(i-1e3*o),s=Math.floor(a/1e9);return{sec:o+s,nsec:a-1e9*s}}function x(n){return n instanceof Date?E(S(n)):null}function _(n){var i=new DataView(n.buffer,n.byteOffset,n.byteLength);switch(n.byteLength){case 4:return{sec:i.getUint32(0),nsec:0};case 8:var o=i.getUint32(0);return{sec:4294967296*(3&o)+i.getUint32(4),nsec:o>>>2};case 12:return{sec:v(i,4),nsec:i.getUint32(0)};default:throw Error("Unrecognized data size for timestamp: "+n.length)}}function k(n){var i=_(n);return new Date(1e3*i.sec+i.nsec/1e6)}var A={type:-1,encode:x,decode:k},T=function(){function n(){this.builtInEncoders=[],this.builtInDecoders=[],this.encoders=[],this.decoders=[],this.register(A)}return n.prototype.register=function(n){var i=n.type,o=n.encode,a=n.decode;if(i>=0)this.encoders[i]=o,this.decoders[i]=a;else{var s=1+i;this.builtInEncoders[s]=o,this.builtInDecoders[s]=a}},n.prototype.tryToEncode=function(n,i){for(var o,a,s=0;s=n.length&&(n=void 0),{value:n&&n[a++],done:!n}}};throw TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},D=function(){function n(n,i,o,a,s,l,u,c){void 0===n&&(n=T.defaultCodec),void 0===i&&(i=void 0),void 0===o&&(o=100),void 0===a&&(a=2048),void 0===s&&(s=!1),void 0===l&&(l=!1),void 0===u&&(u=!1),void 0===c&&(c=!1),this.extensionCodec=n,this.context=i,this.maxDepth=o,this.initialBufferSize=a,this.sortKeys=s,this.forceFloat32=l,this.ignoreUndefined=u,this.forceIntegerToFloat=c,this.pos=0,this.view=new DataView(new ArrayBuffer(this.initialBufferSize)),this.bytes=new Uint8Array(this.view.buffer)}return n.prototype.getUint8Array=function(){return this.bytes.subarray(0,this.pos)},n.prototype.reinitializeState=function(){this.pos=0},n.prototype.encode=function(n){return this.reinitializeState(),this.doEncode(n,1),this.getUint8Array()},n.prototype.doEncode=function(n,i){if(i>this.maxDepth)throw Error("Too deep objects in depth "+i);null==n?this.encodeNil():"boolean"==typeof n?this.encodeBoolean(n):"number"==typeof n?this.encodeNumber(n):"string"==typeof n?this.encodeString(n):"bigint"==typeof n?this.encodebigint(n):this.encodeObject(n,i)},n.prototype.ensureBufferSizeToWrite=function(n){var i=this.pos+n;this.view.byteLength=0?n<128?this.writeU8(n):n<256?(this.writeU8(204),this.writeU8(n)):n<65536?(this.writeU8(205),this.writeU16(n)):n<4294967296?(this.writeU8(206),this.writeU32(n)):(this.writeU8(207),this.writeU64(n)):n>=-32?this.writeU8(224|n+32):n>=-128?(this.writeU8(208),this.writeI8(n)):n>=-32768?(this.writeU8(209),this.writeI16(n)):n>=-2147483648?(this.writeU8(210),this.writeI32(n)):(this.writeU8(211),this.writeI64(n)):this.forceFloat32?(this.writeU8(202),this.writeF32(n)):(this.writeU8(203),this.writeF64(n))},n.prototype.encodebigint=function(n){n>=BigInt(0)?n=BigInt(-32)?this.writeU8(224|Number(n)+32):n>=BigInt(-128)?(this.writeU8(208),this.writeI8(Number(n))):n>=BigInt(-32768)?(this.writeU8(209),this.writeI16(Number(n))):n>=BigInt(-2147483648)?(this.writeU8(210),this.writeI32(Number(n))):(this.writeU8(211),this.writeBig64(n))},n.prototype.writeStringHeader=function(n){if(n<32)this.writeU8(160+n);else if(n<256)this.writeU8(217),this.writeU8(n);else if(n<65536)this.writeU8(218),this.writeU16(n);else{if(!(n<4294967296))throw Error("Too long string: "+n+" bytes in UTF-8");this.writeU8(219),this.writeU32(n)}},n.prototype.encodeString=function(n){var i=n.length;if(u&&i>p){var o=c(n);this.ensureBufferSizeToWrite(5+o),this.writeStringHeader(o),f(n,this.bytes,this.pos),this.pos+=o}else o=c(n),this.ensureBufferSizeToWrite(5+o),this.writeStringHeader(o),function(n,i,o){for(var a=n.length,s=o,l=0;l>6&31|192;else{if(u>=55296&&u<=56319&&l>12&15|224,i[s++]=u>>6&63|128):(i[s++]=u>>18&7|240,i[s++]=u>>12&63|128,i[s++]=u>>6&63|128)}i[s++]=63&u|128}else i[s++]=u}}(n,this.bytes,this.pos),this.pos+=o},n.prototype.encodeObject=function(n,i){var o=this.extensionCodec.tryToEncode(n,this.context);if(null!=o)this.encodeExtension(o);else if(Array.isArray(n))this.encodeArray(n,i);else if(ArrayBuffer.isView(n))this.encodeBinary(n);else{if("object"!=typeof n)throw Error("Unrecognized object: "+Object.prototype.toString.apply(n));this.encodeMap(n,i)}},n.prototype.encodeBinary=function(n){var i=n.byteLength;if(i<256)this.writeU8(196),this.writeU8(i);else if(i<65536)this.writeU8(197),this.writeU16(i);else{if(!(i<4294967296))throw Error("Too large binary: "+i);this.writeU8(198),this.writeU32(i)}var o=C(n);this.writeU8a(o)},n.prototype.encodeArray=function(n,i){var o,a,s=n.length;if(s<16)this.writeU8(144+s);else if(s<65536)this.writeU8(220),this.writeU16(s);else{if(!(s<4294967296))throw Error("Too large array: "+s);this.writeU8(221),this.writeU32(s)}try{for(var l=R(n),u=l.next();!u.done;u=l.next()){var c=u.value;this.doEncode(c,i+1)}}catch(d){o={error:d}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}},n.prototype.countWithoutUndefined=function(n,i){var o,a,s=0;try{for(var l=R(i),u=l.next();!u.done;u=l.next())void 0!==n[u.value]&&s++}catch(c){o={error:c}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}return s},n.prototype.encodeMap=function(n,i){var o,a,s=Object.keys(n);this.sortKeys&&s.sort();var l=this.ignoreUndefined?this.countWithoutUndefined(n,s):s.length;if(l<16)this.writeU8(128+l);else if(l<65536)this.writeU8(222),this.writeU16(l);else{if(!(l<4294967296))throw Error("Too large map object: "+l);this.writeU8(223),this.writeU32(l)}try{for(var u=R(s),c=u.next();!c.done;c=u.next()){var d=c.value,p=n[d];this.ignoreUndefined&&void 0===p||(this.encodeString(d),this.doEncode(p,i+1))}}catch(f){o={error:f}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}},n.prototype.encodeExtension=function(n){var i=n.data.length;if(1===i)this.writeU8(212);else if(2===i)this.writeU8(213);else if(4===i)this.writeU8(214);else if(8===i)this.writeU8(215);else if(16===i)this.writeU8(216);else if(i<256)this.writeU8(199),this.writeU8(i);else if(i<65536)this.writeU8(200),this.writeU16(i);else{if(!(i<4294967296))throw Error("Too large extension object: "+i);this.writeU8(201),this.writeU32(i)}this.writeI8(n.type),this.writeU8a(n.data)},n.prototype.writeU8=function(n){this.ensureBufferSizeToWrite(1),this.view.setUint8(this.pos,n),this.pos++},n.prototype.writeU8a=function(n){var i=n.length;this.ensureBufferSizeToWrite(i),this.bytes.set(n,this.pos),this.pos+=i},n.prototype.writeI8=function(n){this.ensureBufferSizeToWrite(1),this.view.setInt8(this.pos,n),this.pos++},n.prototype.writeU16=function(n){this.ensureBufferSizeToWrite(2),this.view.setUint16(this.pos,n),this.pos+=2},n.prototype.writeI16=function(n){this.ensureBufferSizeToWrite(2),this.view.setInt16(this.pos,n),this.pos+=2},n.prototype.writeU32=function(n){this.ensureBufferSizeToWrite(4),this.view.setUint32(this.pos,n),this.pos+=4},n.prototype.writeI32=function(n){this.ensureBufferSizeToWrite(4),this.view.setInt32(this.pos,n),this.pos+=4},n.prototype.writeF32=function(n){this.ensureBufferSizeToWrite(4),this.view.setFloat32(this.pos,n),this.pos+=4},n.prototype.writeF64=function(n){this.ensureBufferSizeToWrite(8),this.view.setFloat64(this.pos,n),this.pos+=8},n.prototype.writeU64=function(n){var i,o,a,s,l;this.ensureBufferSizeToWrite(8),i=this.view,o=this.pos,s=(a=n)/4294967296,l=a,i.setUint32(o,s),i.setUint32(o+4,l),this.pos+=8},n.prototype.writeI64=function(n){this.ensureBufferSizeToWrite(8),y(this.view,this.pos,n),this.pos+=8},n.prototype.writeBig64=function(n){var i,o,a,s,l;this.ensureBufferSizeToWrite(8),i=this.view,o=this.pos,s=Number((a=n)/BigInt(4294967296)),l=Number(a%BigInt(4294967296)),s<0&&0!==l&&(s-=1),i.setUint32(o,s),i.setUint32(o+4,l),this.pos+=8},n}(),O={};function I(n,i){return void 0===i&&(i=O),new D(i.extensionCodec,i.context,i.maxDepth,i.initialBufferSize,i.sortKeys,i.forceFloat32,i.ignoreUndefined,i.forceIntegerToFloat).encode(n)}function N(n){return(n<0?"-":"")+"0x"+Math.abs(n).toString(16).padStart(2,"0")}var M=function(){function n(n,i){void 0===n&&(n=16),void 0===i&&(i=16),this.maxKeyLength=n,this.maxLengthPerKey=i,this.hit=0,this.miss=0,this.caches=[];for(var o=0;o0&&n<=this.maxKeyLength},n.prototype.get=function(n,i,o){var a=this.caches[o-1],s=a.length;e:for(var l=0;l=this.maxLengthPerKey?o[Math.random()*o.length|0]=a:o.push(a)},n.prototype.decode=function(n,i,o){var a=this.get(n,i,o);if(null!=a)return this.hit++,a;this.miss++;var s=h(n,i,o),l=Uint8Array.prototype.slice.call(n,i,i+o);return this.store(l,s),s},n}(),L=function(n,i,o,a){return new(o||(o=Promise))(function(s,l){function u(n){try{d(a.next(n))}catch(i){l(i)}}function c(n){try{d(a.throw(n))}catch(i){l(i)}}function d(n){var i;n.done?s(n.value):((i=n.value)instanceof o?i:new o(function(n){n(i)})).then(u,c)}d((a=a.apply(n,i||[])).next())})},P=function(n,i){var o,a,s,l,u={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return l={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function c(l){return function(c){return function(l){if(o)throw TypeError("Generator is already executing.");for(;u;)try{if(o=1,a&&(s=2&l[0]?a.return:l[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,l[1])).done)return s;switch(a=0,s&&(l=[2&l[0],s.value]),l[0]){case 0:case 1:s=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,a=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(!(s=(s=u.trys).length>0&&s[s.length-1])&&(6===l[0]||2===l[0])){u=0;continue}if(3===l[0]&&(!s||l[1]>s[0]&&l[1]1||c(n,i)})})}function c(n,i){var o;try{(o=s[n](i)).value instanceof B?Promise.resolve(o.value.v).then(d,p):f(l[0][2],o)}catch(a){f(l[0][3],a)}}function d(n){c("next",n)}function p(n){c("throw",n)}function f(n,i){n(i),l.shift(),l.length&&c(l[0][0],l[0][1])}},z=new DataView(new ArrayBuffer(0)),j=new Uint8Array(z.buffer),$=function(){try{z.getInt8(0)}catch(n){return n.constructor}throw Error("never reached")}(),H=new $("Insufficient data"),V=new M,G=function(){function n(n,i,o,a,s,l,u,c){void 0===n&&(n=T.defaultCodec),void 0===i&&(i=void 0),void 0===o&&(o=4294967295),void 0===a&&(a=4294967295),void 0===s&&(s=4294967295),void 0===l&&(l=4294967295),void 0===u&&(u=4294967295),void 0===c&&(c=V),this.extensionCodec=n,this.context=i,this.maxStrLength=o,this.maxBinLength=a,this.maxArrayLength=s,this.maxMapLength=l,this.maxExtLength=u,this.keyDecoder=c,this.totalPos=0,this.pos=0,this.view=z,this.bytes=j,this.headByte=-1,this.stack=[]}return n.prototype.reinitializeState=function(){this.totalPos=0,this.headByte=-1},n.prototype.setBuffer=function(n){this.bytes=C(n),this.view=function(n){if(n instanceof ArrayBuffer)return new DataView(n);var i=C(n);return new DataView(i.buffer,i.byteOffset,i.byteLength)}(this.bytes),this.pos=0},n.prototype.appendBuffer=function(n){if(-1!==this.headByte||this.hasRemaining()){var i=this.bytes.subarray(this.pos),o=C(n),a=new Uint8Array(i.length+o.length);a.set(i),a.set(o,i.length),this.setBuffer(a)}else this.setBuffer(n)},n.prototype.hasRemaining=function(n){return void 0===n&&(n=1),this.view.byteLength-this.pos>=n},n.prototype.createNoExtraBytesError=function(n){var i=this.view,o=this.pos;return RangeError("Extra "+(i.byteLength-o)+" of "+i.byteLength+" byte(s) found at buffer["+n+"]")},n.prototype.decode=function(n){return this.reinitializeState(),this.setBuffer(n),this.doDecodeSingleSync()},n.prototype.doDecodeSingleSync=function(){var n=this.doDecodeSync();if(this.hasRemaining())throw this.createNoExtraBytesError(this.pos);return n},n.prototype.decodeAsync=function(n){var i,o,a,s;return L(this,void 0,void 0,function(){var l,u,c,d,p,f,h;return P(this,function(m){switch(m.label){case 0:l=!1,m.label=1;case 1:m.trys.push([1,6,7,12]),i=F(n),m.label=2;case 2:return[4,i.next()];case 3:if((o=m.sent()).done)return[3,5];if(c=o.value,l)throw this.createNoExtraBytesError(this.totalPos);this.appendBuffer(c);try{u=this.doDecodeSync(),l=!0}catch(g){if(!(g instanceof $))throw g}this.totalPos+=this.pos,m.label=4;case 4:return[3,2];case 5:return[3,12];case 6:return a={error:m.sent()},[3,12];case 7:return m.trys.push([7,,10,11]),o&&!o.done&&(s=i.return)?[4,s.call(i)]:[3,9];case 8:m.sent(),m.label=9;case 9:return[3,11];case 10:if(a)throw a.error;return[7];case 11:return[7];case 12:if(l){if(this.hasRemaining())throw this.createNoExtraBytesError(this.totalPos);return[2,u]}throw p=(d=this).headByte,f=d.pos,h=d.totalPos,RangeError("Insufficient data in parcing "+N(p)+" at "+h+" ("+f+" in the current buffer)")}})})},n.prototype.decodeArrayStream=function(n){return this.decodeMultiAsync(n,!0)},n.prototype.decodeStream=function(n){return this.decodeMultiAsync(n,!1)},n.prototype.decodeMultiAsync=function(n,i){return U(this,arguments,function(){var o,a,s,l,u,c,d,p;return P(this,function(f){switch(f.label){case 0:o=i,a=-1,f.label=1;case 1:f.trys.push([1,13,14,19]),s=F(n),f.label=2;case 2:return[4,B(s.next())];case 3:if((l=f.sent()).done)return[3,12];if(u=l.value,i&&0===a)throw this.createNoExtraBytesError(this.totalPos);this.appendBuffer(u),o&&(a=this.readArraySize(),o=!1,this.complete()),f.label=4;case 4:f.trys.push([4,9,,10]),f.label=5;case 5:return[4,B(this.doDecodeSync())];case 6:return[4,f.sent()];case 7:return f.sent(),0==--a?[3,8]:[3,5];case 8:return[3,10];case 9:if(!((c=f.sent())instanceof $))throw c;return[3,10];case 10:this.totalPos+=this.pos,f.label=11;case 11:return[3,2];case 12:return[3,19];case 13:return d={error:f.sent()},[3,19];case 14:return f.trys.push([14,,17,18]),l&&!l.done&&(p=s.return)?[4,B(p.call(s))]:[3,16];case 15:f.sent(),f.label=16;case 16:return[3,18];case 17:if(d)throw d.error;return[7];case 18:return[7];case 19:return[2]}})})},n.prototype.doDecodeSync=function(){e:for(;;){var n,i=this.readHeadByte(),o=void 0;if(i>=224)o=i-256;else if(i<192){if(i<128)o=i;else if(i<144){if(0!=(s=i-128)){this.pushMapState(s),this.complete();continue e}o={}}else if(i<160){if(0!=(s=i-144)){this.pushArrayState(s),this.complete();continue e}o=[]}else{var a=i-160;o=this.decodeUtf8String(a,0)}}else if(192===i)o=null;else if(194===i)o=!1;else if(195===i)o=!0;else if(202===i)o=this.readF32();else if(203===i)o=this.readF64();else if(204===i)o=this.readU8();else if(205===i)o=this.readU16();else if(206===i)o=this.readU32();else if(207===i)o=this.readU64();else if(208===i)o=this.readI8();else if(209===i)o=this.readI16();else if(210===i)o=this.readI32();else if(211===i)o=this.readI64();else if(217===i)a=this.lookU8(),o=this.decodeUtf8String(a,1);else if(218===i)a=this.lookU16(),o=this.decodeUtf8String(a,2);else if(219===i)a=this.lookU32(),o=this.decodeUtf8String(a,4);else if(220===i){if(0!==(s=this.readU16())){this.pushArrayState(s),this.complete();continue e}o=[]}else if(221===i){if(0!==(s=this.readU32())){this.pushArrayState(s),this.complete();continue e}o=[]}else if(222===i){if(0!==(s=this.readU16())){this.pushMapState(s),this.complete();continue e}o={}}else if(223===i){if(0!==(s=this.readU32())){this.pushMapState(s),this.complete();continue e}o={}}else if(196===i){var s=this.lookU8();o=this.decodeBinary(s,1)}else if(197===i)s=this.lookU16(),o=this.decodeBinary(s,2);else if(198===i)s=this.lookU32(),o=this.decodeBinary(s,4);else if(212===i)o=this.decodeExtension(1,0);else if(213===i)o=this.decodeExtension(2,0);else if(214===i)o=this.decodeExtension(4,0);else if(215===i)o=this.decodeExtension(8,0);else if(216===i)o=this.decodeExtension(16,0);else if(199===i)s=this.lookU8(),o=this.decodeExtension(s,1);else if(200===i)s=this.lookU16(),o=this.decodeExtension(s,2);else{if(201!==i)throw Error("Unrecognized type byte: "+N(i));s=this.lookU32(),o=this.decodeExtension(s,4)}this.complete();for(var l=this.stack;l.length>0;){var u=l[l.length-1];if(0===u.type){if(u.array[u.position]=o,u.position++,u.position!==u.size)continue e;l.pop(),o=u.array}else{if(1===u.type){if(n=void 0,"string"!=(n=typeof o)&&"number"!==n)throw Error("The type of key must be string or number but "+typeof o);u.key=o,u.type=2;continue e}if(u.map[u.key]=o,u.readCount++,u.readCount!==u.size){u.key=null,u.type=1;continue e}l.pop(),o=u.map}}return o}},n.prototype.readHeadByte=function(){return -1===this.headByte&&(this.headByte=this.readU8()),this.headByte},n.prototype.complete=function(){this.headByte=-1},n.prototype.readArraySize=function(){var n=this.readHeadByte();switch(n){case 220:return this.readU16();case 221:return this.readU32();default:if(n<160)return n-144;throw Error("Unrecognized array type byte: "+N(n))}},n.prototype.pushMapState=function(n){if(n>this.maxMapLength)throw Error("Max length exceeded: map length ("+n+") > maxMapLengthLength ("+this.maxMapLength+")");this.stack.push({type:1,size:n,key:null,readCount:0,map:{}})},n.prototype.pushArrayState=function(n){if(n>this.maxArrayLength)throw Error("Max length exceeded: array length ("+n+") > maxArrayLength ("+this.maxArrayLength+")");this.stack.push({type:0,size:n,array:Array(n),position:0})},n.prototype.decodeUtf8String=function(n,i){if(n>this.maxStrLength)throw Error("Max length exceeded: UTF-8 byte length ("+n+") > maxStrLength ("+this.maxStrLength+")");if(this.bytes.byteLengthg?(o=this.bytes,a=p,s=n,l=o.subarray(a,a+s),m.decode(l)):h(this.bytes,p,n),this.pos+=i+n,d},n.prototype.stateIsMapKey=function(){return this.stack.length>0&&1===this.stack[this.stack.length-1].type},n.prototype.decodeBinary=function(n,i){if(n>this.maxBinLength)throw Error("Max length exceeded: bin length ("+n+") > maxBinLength ("+this.maxBinLength+")");if(!this.hasRemaining(n+i))throw H;var o=this.pos+i,a=this.bytes.subarray(o,o+n);return this.pos+=i+n,a},n.prototype.decodeExtension=function(n,i){if(n>this.maxExtLength)throw Error("Max length exceeded: ext length ("+n+") > maxExtLength ("+this.maxExtLength+")");var o=this.view.getInt8(this.pos+i),a=this.decodeBinary(n,i+1);return this.extensionCodec.decode(a,o,this.context)},n.prototype.lookU8=function(){return this.view.getUint8(this.pos)},n.prototype.lookU16=function(){return this.view.getUint16(this.pos)},n.prototype.lookU32=function(){return this.view.getUint32(this.pos)},n.prototype.readU8=function(){var n=this.view.getUint8(this.pos);return this.pos++,n},n.prototype.readI8=function(){var n=this.view.getInt8(this.pos);return this.pos++,n},n.prototype.readU16=function(){var n=this.view.getUint16(this.pos);return this.pos+=2,n},n.prototype.readI16=function(){var n=this.view.getInt16(this.pos);return this.pos+=2,n},n.prototype.readU32=function(){var n=this.view.getUint32(this.pos);return this.pos+=4,n},n.prototype.readI32=function(){var n=this.view.getInt32(this.pos);return this.pos+=4,n},n.prototype.readU64=function(){var n,i,o,a,s=(n=this.view,i=this.pos,o=n.getUint32(i),a=n.getUint32(i+4),o>Math.floor(Number.MAX_SAFE_INTEGER/4294967296)?BigInt(o)*BigInt(4294967296)+BigInt(a):4294967296*o+a);return this.pos+=8,s},n.prototype.readI64=function(){var n=v(this.view,this.pos);return this.pos+=8,n},n.prototype.readF32=function(){var n=this.view.getFloat32(this.pos);return this.pos+=4,n},n.prototype.readF64=function(){var n=this.view.getFloat64(this.pos);return this.pos+=8,n},n}(),q={};function W(n,i){return void 0===i&&(i=q),new G(i.extensionCodec,i.context,i.maxStrLength,i.maxBinLength,i.maxArrayLength,i.maxMapLength,i.maxExtLength).decode(n)}var K=function(n,i){var o,a,s,l,u={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return l={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function c(l){return function(c){return function(l){if(o)throw TypeError("Generator is already executing.");for(;u;)try{if(o=1,a&&(s=2&l[0]?a.return:l[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,l[1])).done)return s;switch(a=0,s&&(l=[2&l[0],s.value]),l[0]){case 0:case 1:s=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,a=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(!(s=(s=u.trys).length>0&&s[s.length-1])&&(6===l[0]||2===l[0])){u=0;continue}if(3===l[0]&&(!s||l[1]>s[0]&&l[1]1||c(n,i)})})}function c(n,i){var o;try{(o=s[n](i)).value instanceof Y?Promise.resolve(o.value.v).then(d,p):f(l[0][2],o)}catch(a){f(l[0][3],a)}}function d(n){c("next",n)}function p(n){c("throw",n)}function f(n,i){n(i),l.shift(),l.length&&c(l[0][0],l[0][1])}};function X(n){if(null==n)throw Error("Assertion Failure: value must not be null nor undefined")}function J(n){return null!=n[Symbol.asyncIterator]?n:function(n){return Z(this,arguments,function(){var i,o,a,s;return K(this,function(l){switch(l.label){case 0:i=n.getReader(),l.label=1;case 1:l.trys.push([1,,9,10]),l.label=2;case 2:return[4,Y(i.read())];case 3:return a=(o=l.sent()).done,s=o.value,a?[4,Y(void 0)]:[3,5];case 4:return[2,l.sent()];case 5:return X(s),[4,Y(s)];case 6:return[4,l.sent()];case 7:return l.sent(),[3,2];case 8:return[3,10];case 9:return i.releaseLock(),[7];case 10:return[2]}})})}(n)}var Q=function(n,i,o,a){return new(o||(o=Promise))(function(s,l){function u(n){try{d(a.next(n))}catch(i){l(i)}}function c(n){try{d(a.throw(n))}catch(i){l(i)}}function d(n){var i;n.done?s(n.value):((i=n.value)instanceof o?i:new o(function(n){n(i)})).then(u,c)}d((a=a.apply(n,i||[])).next())})},ee=function(n,i){var o,a,s,l,u={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return l={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function c(l){return function(c){return function(l){if(o)throw TypeError("Generator is already executing.");for(;u;)try{if(o=1,a&&(s=2&l[0]?a.return:l[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,l[1])).done)return s;switch(a=0,s&&(l=[2&l[0],s.value]),l[0]){case 0:case 1:s=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,a=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(!(s=(s=u.trys).length>0&&s[s.length-1])&&(6===l[0]||2===l[0])){u=0;continue}if(3===l[0]&&(!s||l[1]>s[0]&&l[1]{if(null!=i&&"object"==typeof i&&null==Object.getPrototypeOf(i)&&Object.setPrototypeOf(i,Object.prototype),"bigint"==typeof i){if("safe"===o&&i>Number.MAX_SAFE_INTEGER)throw Error(`Integer exceeds maximum safe integer: ${i.toString()}. Try parsing with a different intDecoding option.`);return"bigint"===o||"mixed"===o&&i>Number.MAX_SAFE_INTEGER?i:Number(i)}return"number"==typeof i&&"bigint"===o&&Number.isInteger(i)?BigInt(i):i})}function O(n,i){return n.length===i.length&&Array.from(n).every((n,o)=>n===i[o])}function I(...n){let i=n.reduce((n,i)=>n+i.length,0),o=new Uint8Array(i),a=0;for(let s=0;s{void 0===i[n]&&delete i[n]}),i}function M(){let{navigator:n}=globalThis;return"object"==typeof n&&"ReactNative"===n.product}function L(n){return k().sha512_256.array(n)}function P(n){return M()&&console.warn("It looks like you're running in react-native. In order to perform common crypto operations you will need to polyfill common operations such as crypto.getRandomValues"),x().randomBytes(n)}function F(n){return x().sign.keyPair.fromSeed(n)}function B(){let n=P(x().box.secretKeyLength);return F(n)}function U(n){return n===x().sign.signatureLength}function z(n){return x().sign.keyPair.fromSecretKey(n)}function j(n,i){return x().sign.detached(n,i)}function $(n,i){return x().verify(n,i)}function H(n,i,o){return x().sign.detached.verify(n,i,o)}let V=x().sign.publicKeyLength;x().sign.secretKeyLength;let G=32,q=32;var W=o(89090),K=o.n(W);function Y(n){let i="bigint"==typeof n||Number.isInteger(n);if(!i||n<0||n>BigInt("0xffffffffffffffff"))throw Error("Input is not a 64-bit unsigned integer");let o=new Uint8Array(8),a=new DataView(o.buffer);return a.setBigUint64(0,BigInt(n)),o}function Z(n,i="safe"){if("safe"!==i&&"mixed"!==i&&"bigint"!==i)throw Error(`Unknown decodingMode option: ${i}`);if(0===n.byteLength||n.byteLength>8)throw Error(`Data has unacceptable length. Expected length is between 1 and 8, got ${n.byteLength}`);let o=new Uint8Array(8-n.byteLength),a=I(o,n),s=new DataView(a.buffer),l=s.getBigUint64(0),u=l>BigInt(Number.MAX_SAFE_INTEGER);if("safe"===i){if(u)throw Error(`Integer exceeds maximum safe integer: ${l.toString()}. Try decoding with "mixed" or "safe" decodingMode.`);return Number(l)}return"mixed"!==i||u?l:Number(l)}let X=36,J=4,Q=58,ee="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ",et=new Uint8Array([77,117,108,116,105,115,105,103,65,100,100,114]),en=E.Buffer.from("appID"),er="address seems to be malformed",ei="wrong checksum for address",eo="invalid multisig version",ea="bad multisig threshold",es="bad multisig public key - wrong length",el="nacl public key length is not 32 bytes";function eu(n){if("string"!=typeof n||n.length!==Q)throw Error(er);let i=K().decode.asBytes(n.toString());if(i.length!==X)throw Error(er);let o=new Uint8Array(i.slice(0,X-J)),a=new Uint8Array(i.slice(V,X)),s=L(o).slice(G-J,G);if(!O(s,a))throw Error(ei);return{publicKey:o,checksum:a}}function ec(n){try{eu(n)}catch(i){return!1}return!0}function ed(n){let i=L(n).slice(V-J,V),o=K().encode(I(n,i));return o.toString().slice(0,Q)}function ep({version:n,threshold:i,pks:o}){if(1!==n||n>255||n<0)throw Error(eo);if(0===i||0===o.length||i>o.length||i>255)throw Error(ea);let a=X-J;if(a!==V)throw Error(el);let s=new Uint8Array(et.length+2+a*o.length);s.set(et,0),s.set([n],et.length),s.set([i],et.length+1);for(let l=0;leu(n).publicKey);return ed(ep({version:n,threshold:i,pks:a}))}function eh(n){let i=I(en,Y(n)),o=L(i);return ed(new Uint8Array(o))}var em=o(66424);let eg="The object contains empty or 0 values. First empty or 0 value encountered during encoding: ";function eb(n){for(let i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&(!n[i]||0===n[i].length))return{containsEmpty:!0,firstEmptyKey:i};return{containsEmpty:!1,firstEmptyKey:void 0}}function ey(n){let i={sortKeys:!0};return em.encode(n,i)}function ev(n){let i=eb(n);if(i.containsEmpty)throw Error(eg+i.firstEmptyKey);return ey(n)}function ew(n){return em.decode(n)}function eE(n,i,o){let a=n.appIndex,s=n.name,l=0===a||a===o,u=0;if(null!=i&&(u=i.indexOf(a)+1),0===u&&!l)throw Error(`Box ref with appId ${a} not in foreign-apps`);return{i:u,n:s}}function eS(n,i,o){return null==n?[]:n.map(n=>eE(n,i,o))}function ex(n){return n===f.pay||n===f.keyreg||n===f.acfg||n===f.axfer||n===f.afrz||n===f.appl||n===f.stpf}(s=f||(f={})).pay="pay",s.keyreg="keyreg",s.acfg="acfg",s.axfer="axfer",s.afrz="afrz",s.appl="appl",s.stpf="stpf",(l=h||(h={}))[l.NoOpOC=0]="NoOpOC",l[l.OptInOC=1]="OptInOC",l[l.CloseOutOC=2]="CloseOutOC",l[l.ClearStateOC=3]="ClearStateOC",l[l.UpdateApplicationOC=4]="UpdateApplicationOC",l[l.DeleteApplicationOC=5]="DeleteApplicationOC";let e_=52,ek=1e3,eA=32,eT=19,eC=75,eR=5,eD=32,eO=5,eI=32,eN=32,eM=32,eL=64;function eP(n,i,o){let a;if(null!=n){if("string"==typeof n?a=E.Buffer.from(n,"base64"):n.constructor===Uint8Array?a=E.Buffer.from(n):E.Buffer.isBuffer(n)&&(a=n),null==a||a.byteLength!==o)throw Error(`${i} must be a ${o} byte Uint8Array or Buffer or base64 string.`);return a}}class eF{constructor({...n}){this.name="Transaction",this.tag=E.Buffer.from("TX");let i={type:f.pay,flatFee:!1,nonParticipation:!1};if(void 0===n.type&&(n.type=i.type),void 0===n.flatFee&&(n.flatFee=i.flatFee),n.type===f.keyreg&&void 0!==n.voteKey&&void 0===n.nonParticipation&&(n.nonParticipation=i.nonParticipation),void 0!==n.suggestedParams){let o=n;o.genesisHash=o.suggestedParams.genesisHash,o.fee=o.suggestedParams.fee,void 0!==o.suggestedParams.flatFee&&(o.flatFee=o.suggestedParams.flatFee),o.firstRound=o.suggestedParams.firstRound,o.lastRound=o.suggestedParams.lastRound,o.genesisID=o.suggestedParams.genesisID}let a=n;if(a.from=eu(a.from),void 0!==a.to&&(a.to=eu(a.to)),void 0!==a.closeRemainderTo&&(a.closeRemainderTo=eu(a.closeRemainderTo)),void 0!==a.assetManager&&(a.assetManager=eu(a.assetManager)),void 0!==a.assetReserve&&(a.assetReserve=eu(a.assetReserve)),void 0!==a.assetFreeze&&(a.assetFreeze=eu(a.assetFreeze)),void 0!==a.assetClawback&&(a.assetClawback=eu(a.assetClawback)),void 0!==a.assetRevocationTarget&&(a.assetRevocationTarget=eu(a.assetRevocationTarget)),void 0!==a.freezeAccount&&(a.freezeAccount=eu(a.freezeAccount)),void 0!==a.reKeyTo&&(a.reKeyTo=eu(a.reKeyTo)),void 0===a.genesisHash)throw Error("genesis hash must be specified and in a base64 string.");if(a.genesisHash=E.Buffer.from(a.genesisHash,"base64"),void 0!==a.amount&&(!(Number.isSafeInteger(a.amount)||"bigint"==typeof a.amount&&a.amount<=BigInt("0xffffffffffffffff"))||a.amount<0))throw Error("Amount must be a positive number and smaller than 2^64-1. If the number is larger than 2^53-1, use bigint.");if(!Number.isSafeInteger(a.fee)||a.fee<0)throw Error("fee must be a positive number and smaller than 2^53-1");if(!Number.isSafeInteger(a.firstRound)||a.firstRound<0)throw Error("firstRound must be a positive number");if(!Number.isSafeInteger(a.lastRound)||a.lastRound<0)throw Error("lastRound must be a positive number");if(void 0!==a.extraPages&&(!Number.isInteger(a.extraPages)||a.extraPages<0||a.extraPages>3))throw Error("extraPages must be an Integer between and including 0 to 3");if(void 0!==a.assetTotal&&(!(Number.isSafeInteger(a.assetTotal)||"bigint"==typeof a.assetTotal&&a.assetTotal<=BigInt("0xffffffffffffffff"))||a.assetTotal<0))throw Error("Total asset issuance must be a positive number and smaller than 2^64-1. If the number is larger than 2^53-1, use bigint.");if(void 0!==a.assetDecimals&&(!Number.isSafeInteger(a.assetDecimals)||a.assetDecimals<0||a.assetDecimals>eT))throw Error(`assetDecimals must be a positive number and smaller than ${eT.toString()}`);if(void 0!==a.assetIndex&&(!Number.isSafeInteger(a.assetIndex)||a.assetIndex<0))throw Error("Asset index must be a positive number and smaller than 2^53-1");if(void 0!==a.appIndex&&(!Number.isSafeInteger(a.appIndex)||a.appIndex<0))throw Error("Application index must be a positive number and smaller than 2^53-1");if(void 0!==a.appLocalInts&&(!Number.isSafeInteger(a.appLocalInts)||a.appLocalInts<0))throw Error("Application local ints count must be a positive number and smaller than 2^53-1");if(void 0!==a.appLocalByteSlices&&(!Number.isSafeInteger(a.appLocalByteSlices)||a.appLocalByteSlices<0))throw Error("Application local byte slices count must be a positive number and smaller than 2^53-1");if(void 0!==a.appGlobalInts&&(!Number.isSafeInteger(a.appGlobalInts)||a.appGlobalInts<0))throw Error("Application global ints count must be a positive number and smaller than 2^53-1");if(void 0!==a.appGlobalByteSlices&&(!Number.isSafeInteger(a.appGlobalByteSlices)||a.appGlobalByteSlices<0))throw Error("Application global byte slices count must be a positive number and smaller than 2^53-1");if(void 0!==a.appApprovalProgram&&a.appApprovalProgram.constructor!==Uint8Array)throw Error("appApprovalProgram must be a Uint8Array.");if(void 0!==a.appClearProgram&&a.appClearProgram.constructor!==Uint8Array)throw Error("appClearProgram must be a Uint8Array.");if(void 0!==a.appArgs){if(!Array.isArray(a.appArgs))throw Error("appArgs must be an Array of Uint8Array.");a.appArgs=a.appArgs.slice(),a.appArgs.forEach(n=>{if(n.constructor!==Uint8Array)throw Error("each element of AppArgs must be a Uint8Array.")})}else a.appArgs=[];if(void 0!==a.appAccounts){if(!Array.isArray(a.appAccounts))throw Error("appAccounts must be an Array of addresses.");a.appAccounts=a.appAccounts.map(n=>eu(n))}if(void 0!==a.appForeignApps){if(!Array.isArray(a.appForeignApps))throw Error("appForeignApps must be an Array of integers.");a.appForeignApps=a.appForeignApps.slice(),a.appForeignApps.forEach(n=>{if(!Number.isSafeInteger(n)||n<0)throw Error("each foreign application index must be a positive number and smaller than 2^53-1")})}if(void 0!==a.appForeignAssets){if(!Array.isArray(a.appForeignAssets))throw Error("appForeignAssets must be an Array of integers.");a.appForeignAssets=a.appForeignAssets.slice(),a.appForeignAssets.forEach(n=>{if(!Number.isSafeInteger(n)||n<0)throw Error("each foreign asset index must be a positive number and smaller than 2^53-1")})}if(void 0!==a.boxes){if(!Array.isArray(a.boxes))throw Error("boxes must be an Array of BoxReference.");a.boxes=a.boxes.slice(),a.boxes.forEach(n=>{if(!Number.isSafeInteger(n.appIndex)||n.name.constructor!==Uint8Array)throw Error("box app index must be a number and name must be an Uint8Array.")})}if(void 0!==a.assetMetadataHash&&0!==a.assetMetadataHash.length){if("string"==typeof a.assetMetadataHash&&(a.assetMetadataHash=new Uint8Array(E.Buffer.from(a.assetMetadataHash))),a.assetMetadataHash.constructor!==Uint8Array||a.assetMetadataHash.byteLength!==eI)throw Error(`assetMetadataHash must be a ${eI} byte Uint8Array or string.`);a.assetMetadataHash.every(n=>0===n)&&(a.assetMetadataHash=void 0)}else a.assetMetadataHash=void 0;if(void 0!==a.note){if(a.note.constructor!==Uint8Array)throw Error("note must be a Uint8Array.")}else a.note=new Uint8Array(0);if(void 0!==a.lease){if(a.lease.constructor!==Uint8Array)throw Error("lease must be a Uint8Array.");if(a.lease.length!==eA)throw Error(`lease must be of length ${eA.toString()}.`);a.lease.every(n=>0===n)&&(a.lease=new Uint8Array(0))}else a.lease=new Uint8Array(0);if(a.voteKey=eP(a.voteKey,"voteKey",eN),a.selectionKey=eP(a.selectionKey,"selectionKey",eM),a.stateProofKey=eP(a.stateProofKey,"stateProofKey",eL),a.nonParticipation&&(a.voteKey||a.selectionKey||a.voteFirst||a.stateProofKey||a.voteLast||a.voteKeyDilution))throw Error("nonParticipation is true but participation params are present.");if(!a.nonParticipation&&(a.voteKey||a.selectionKey||a.stateProofKey||a.voteFirst||a.voteLast||a.voteKeyDilution)&&!(a.voteKey&&a.selectionKey&&a.voteFirst&&a.voteLast&&a.voteKeyDilution))throw Error("online key registration missing at least one of the following fields: voteKey, selectionKey, voteFirst, voteLast, voteKeyDilution");if(delete a.suggestedParams,Object.assign(this,N(a)),!a.flatFee&&(this.fee*=this.estimateSize(),this.feeE.Buffer.from(n))),void 0!==this.appAccounts&&(l.apat=this.appAccounts.map(n=>E.Buffer.from(n.publicKey))),l.note.length||delete l.note,l.lx.length||delete l.lx,l.amt||delete l.amt,l.fee||delete l.fee,l.fv||delete l.fv,l.gen||delete l.gen,l.apid||delete l.apid,l.apls.nui||delete l.apls.nui,l.apls.nbs||delete l.apls.nbs,l.apls.nui||l.apls.nbs||delete l.apls,l.apgs.nui||delete l.apgs.nui,l.apgs.nbs||delete l.apgs.nbs,l.apaa&&l.apaa.length||delete l.apaa,l.apgs.nui||l.apgs.nbs||delete l.apgs,l.apap||delete l.apap,l.apsu||delete l.apsu,l.apan||delete l.apan,l.apfa&&l.apfa.length||delete l.apfa,l.apas&&l.apas.length||delete l.apas,l.apbx))u.i||delete u.i,u.n&&u.n.length||delete u.n;return l.apbx&&l.apbx.length||delete l.apbx,l.apat&&l.apat.length||delete l.apat,l.apep||delete l.apep,void 0===l.grp&&delete l.grp,l}if("stpf"===this.type){let c={fee:this.fee,fv:this.firstRound,lv:this.lastRound,note:E.Buffer.from(this.note),snd:E.Buffer.from(this.from.publicKey),type:this.type,gen:this.genesisID,gh:this.genesisHash,lx:E.Buffer.from(this.lease),sptype:this.stateProofType,spmsg:E.Buffer.from(this.stateProofMessage),sp:E.Buffer.from(this.stateProof)};return c.sptype||delete c.sptype,c.note.length||delete c.note,c.lx.length||delete c.lx,c.amt||delete c.amt,c.fee||delete c.fee,c.fv||delete c.fv,c.gen||delete c.gen,c.apid||delete c.apid,c.apaa&&c.apaa.length||delete c.apaa,c.apap||delete c.apap,c.apsu||delete c.apsu,c.apan||delete c.apan,c.apfa&&c.apfa.length||delete c.apfa,c.apas&&c.apas.length||delete c.apas,c.apat&&c.apat.length||delete c.apat,c.apep||delete c.apep,void 0===c.grp&&delete c.grp,c}}static from_obj_for_encoding(n){let i=Object.create(this.prototype);if(i.name="Transaction",i.tag=E.Buffer.from("TX"),i.genesisID=n.gen,i.genesisHash=E.Buffer.from(n.gh),!ex(n.type))throw Error(`Unrecognized transaction type: ${n.type}`);return i.type=n.type,i.fee=n.fee,i.firstRound=n.fv,i.lastRound=n.lv,i.note=new Uint8Array(n.note),i.lease=new Uint8Array(n.lx),i.from=eu(ed(new Uint8Array(n.snd))),void 0!==n.grp&&(i.group=E.Buffer.from(n.grp)),void 0!==n.rekey&&(i.reKeyTo=eu(ed(new Uint8Array(n.rekey)))),"pay"===n.type?(i.amount=n.amt,i.to=eu(ed(new Uint8Array(n.rcv))),void 0!==n.close&&(i.closeRemainderTo=eu(ed(n.close)))):"keyreg"===n.type?(void 0!==n.votekey&&(i.voteKey=E.Buffer.from(n.votekey)),void 0!==n.selkey&&(i.selectionKey=E.Buffer.from(n.selkey)),void 0!==n.sprfkey&&(i.stateProofKey=E.Buffer.from(n.sprfkey)),void 0!==n.votekd&&(i.voteKeyDilution=n.votekd),void 0!==n.votefst&&(i.voteFirst=n.votefst),void 0!==n.votelst&&(i.voteLast=n.votelst),void 0!==n.nonpart&&(i.nonParticipation=n.nonpart)):"acfg"===n.type?(void 0!==n.caid&&(i.assetIndex=n.caid),void 0!==n.apar&&(i.assetTotal=n.apar.t,i.assetDefaultFrozen=n.apar.df,void 0!==n.apar.dc&&(i.assetDecimals=n.apar.dc),void 0!==n.apar.m&&(i.assetManager=eu(ed(new Uint8Array(n.apar.m)))),void 0!==n.apar.r&&(i.assetReserve=eu(ed(new Uint8Array(n.apar.r)))),void 0!==n.apar.f&&(i.assetFreeze=eu(ed(new Uint8Array(n.apar.f)))),void 0!==n.apar.c&&(i.assetClawback=eu(ed(new Uint8Array(n.apar.c)))),void 0!==n.apar.un&&(i.assetUnitName=n.apar.un),void 0!==n.apar.an&&(i.assetName=n.apar.an),void 0!==n.apar.au&&(i.assetURL=n.apar.au),void 0!==n.apar.am&&(i.assetMetadataHash=n.apar.am))):"axfer"===n.type?(void 0!==n.xaid&&(i.assetIndex=n.xaid),void 0!==n.aamt&&(i.amount=n.aamt),void 0!==n.aclose&&(i.closeRemainderTo=eu(ed(new Uint8Array(n.aclose)))),void 0!==n.asnd&&(i.assetRevocationTarget=eu(ed(new Uint8Array(n.asnd)))),i.to=eu(ed(new Uint8Array(n.arcv)))):"afrz"===n.type?(void 0!==n.afrz&&(i.freezeState=n.afrz),void 0!==n.faid&&(i.assetIndex=n.faid),i.freezeAccount=eu(ed(new Uint8Array(n.fadd)))):"appl"===n.type?(void 0!==n.apid&&(i.appIndex=n.apid),void 0!==n.apan&&(i.appOnComplete=n.apan),void 0!==n.apls&&(void 0!==n.apls.nui&&(i.appLocalInts=n.apls.nui),void 0!==n.apls.nbs&&(i.appLocalByteSlices=n.apls.nbs)),void 0!==n.apgs&&(void 0!==n.apgs.nui&&(i.appGlobalInts=n.apgs.nui),void 0!==n.apgs.nbs&&(i.appGlobalByteSlices=n.apgs.nbs)),void 0!==n.apep&&(i.extraPages=n.apep),void 0!==n.apap&&(i.appApprovalProgram=new Uint8Array(n.apap)),void 0!==n.apsu&&(i.appClearProgram=new Uint8Array(n.apsu)),void 0!==n.apaa&&(i.appArgs=n.apaa.map(n=>new Uint8Array(n))),void 0!==n.apat&&(i.appAccounts=n.apat.map(n=>eu(ed(new Uint8Array(n))))),void 0!==n.apfa&&(i.appForeignApps=n.apfa),void 0!==n.apas&&(i.appForeignAssets=n.apas),void 0!==n.apbx&&(i.boxes=n.apbx.map(n=>({appIndex:n.i?i.appForeignApps[n.i-1]:0,name:n.n})))):"stpf"===n.type&&(void 0!==n.sptype&&(i.stateProofType=n.sptype),void 0!==n.sp&&(i.stateProof=n.sp),void 0!==n.spmsg&&(i.stateProofMessage=n.spmsg)),i}estimateSize(){return this.toByte().length+eC}bytesToSign(){let n=this.toByte();return E.Buffer.from(I(this.tag,n))}toByte(){return ev(this.get_obj_for_encoding())}rawSignTxn(n){let i=this.bytesToSign(),o=j(i,n);return E.Buffer.from(o)}signTxn(n){let i={sig:this.rawSignTxn(n),txn:this.get_obj_for_encoding()},o=z(n),a=o.publicKey;return ed(a)!==ed(this.from.publicKey)&&(i.sgnr=E.Buffer.from(a)),new Uint8Array(ev(i))}attachSignature(n,i){if(!U(i.length))throw Error("Invalid signature length");let o={sig:E.Buffer.from(i),txn:this.get_obj_for_encoding()};if(n!==ed(this.from.publicKey)){let a=eu(n).publicKey;o.sgnr=E.Buffer.from(a)}return new Uint8Array(ev(o))}rawTxID(){let n=this.toByte(),i=E.Buffer.from(I(this.tag,n));return E.Buffer.from(L(i))}txID(){let n=this.rawTxID();return K().encode(n).slice(0,e_)}addLease(n,i=0){let o;if(void 0!==n){if(n.constructor!==Uint8Array)throw Error("lease must be a Uint8Array.");if(n.length!==eA)throw Error(`lease must be of length ${eA.toString()}.`);o=new Uint8Array(n)}else o=new Uint8Array(0);this.lease=o,0!==i&&(this.fee+=(eR+eA)*i)}addRekey(n,i=0){void 0!==n&&(this.reKeyTo=eu(n)),0!==i&&(this.fee+=(eO+eD)*i)}_getDictForDisplay(){let n={...this};return n.tag=n.tag.toString(),n.from=ed(n.from.publicKey),void 0!==n.to&&(n.to=ed(n.to.publicKey)),void 0!==n.freezeAccount&&(n.freezeAccount=ed(n.freezeAccount.publicKey)),void 0!==n.closeRemainderTo&&(n.closeRemainderTo=ed(n.closeRemainderTo.publicKey)),void 0!==n.assetManager&&(n.assetManager=ed(n.assetManager.publicKey)),void 0!==n.assetReserve&&(n.assetReserve=ed(n.assetReserve.publicKey)),void 0!==n.assetFreeze&&(n.assetFreeze=ed(n.assetFreeze.publicKey)),void 0!==n.assetClawback&&(n.assetClawback=ed(n.assetClawback.publicKey)),void 0!==n.assetRevocationTarget&&(n.assetRevocationTarget=ed(n.assetRevocationTarget.publicKey)),void 0!==n.reKeyTo&&(n.reKeyTo=ed(n.reKeyTo.publicKey)),n.genesisHash=n.genesisHash.toString("base64"),n}prettyPrint(){console.log(this._getDictForDisplay())}toString(){return JSON.stringify(this._getDictForDisplay())}}function eB(n){let i={txn:n.get_obj_for_encoding()};return ev(i)}function eU(n){let i=n.get_obj_for_encoding();return ev(i)}function ez(n){let i=ew(n);return eF.from_obj_for_encoding(i)}function ej(n){let i=ew(n),o={...i,txn:eF.from_obj_for_encoding(i.txn)};return o}function e$(n){return n instanceof eF?n:new eF(n)}class eH{constructor({bidderKey:n,bidAmount:i,bidID:o,auctionKey:a,auctionID:s,maxPrice:l}){this.name="Bid",this.tag=E.Buffer.from([97,66]);let u=eu(n),c=eu(a);if(!Number.isSafeInteger(i)||i<0)throw Error("Bid amount must be positive and 2^53-1");if(!Number.isSafeInteger(o)||o<0)throw Error("BidID must be positive and 2^53-1");if(!Number.isSafeInteger(s)||s<0)throw Error("auctionID must be positive");Object.assign(this,{bidderKey:u,bidAmount:i,bidID:o,auctionKey:c,auctionID:s,maxPrice:l})}get_obj_for_encoding(){return{bidder:E.Buffer.from(this.bidderKey.publicKey),cur:this.bidAmount,price:this.maxPrice,id:this.bidID,auc:E.Buffer.from(this.auctionKey.publicKey),aid:this.auctionID}}signBid(n){let i=ev(this.get_obj_for_encoding()),o=E.Buffer.from(I(this.tag,i)),a=j(o,n),s={sig:E.Buffer.from(a),bid:this.get_obj_for_encoding()},l={t:"b",b:s};return new Uint8Array(ev(l))}}let eV=1e6,eG="Microalgos should be positive and less than 2^53 - 1.";function eq(n){if(n<0||!Number.isSafeInteger(n))throw Error(eG);return n/eV}function eW(n){let i=n*eV;return Math.round(i)}class eK extends Error{constructor(n,i){super(n),this.response=i,this.name="URLTokenBaseHTTPError",this.response=i}}class eY{constructor(n,i,o,a={}){this.defaultHeaders=a;let s=i.endsWith("/")?i:`${i}/`,l=new URL(s);if(void 0!==o&&(l.port=o.toString()),0===l.protocol.length)throw Error("Invalid base server URL, protocol must be defined.");this.baseURL=l,this.tokenHeader=n}getURL(n,i){let o;o=n.startsWith("./")?n:n.startsWith("/")?`.${n}`:`./${n}`;let a=new URL(o,this.baseURL);if(i)for(let[s,l]of Object.entries(i))a.searchParams.set(s,l);return a.toString()}static formatFetchResponseHeaders(n){let i={};return n.forEach((n,o)=>{i[n]=o}),i}static async checkHttpError(n){if(n.ok)return;let i=null,o=null;try{i=new Uint8Array(await n.arrayBuffer());let a=JSON.parse(E.Buffer.from(i).toString());a.message&&(o=a.message)}catch(s){}let l=`Network request error. Received status ${n.status} (${n.statusText})`;throw o&&(l+=`: ${o}`),new eK(l,{body:i,status:n.status,headers:eY.formatFetchResponseHeaders(n.headers)})}static async formatFetchResponse(n){return await this.checkHttpError(n),{body:new Uint8Array(await n.arrayBuffer()),status:n.status,headers:eY.formatFetchResponseHeaders(n.headers)}}async get(n,i,o={}){let a={...this.tokenHeader,...this.defaultHeaders,...o},s=await fetch(this.getURL(n,i),{headers:a});return eY.formatFetchResponse(s)}async post(n,i,o,a={}){let s={...this.tokenHeader,...this.defaultHeaders,...a},l=await fetch(this.getURL(n,o),{method:"POST",body:i,headers:s});return eY.formatFetchResponse(l)}async delete(n,i,o,a={}){let s={...this.tokenHeader,...this.defaultHeaders,...a},l=await fetch(this.getURL(n,o),{method:"DELETE",body:i,headers:s});return eY.formatFetchResponse(l)}}function eZ(n){for(let i in n)Object.prototype.hasOwnProperty.call(n,i)&&(!n[i]||0===n[i].length)&&delete n[i];return n}function eX(n){return Object.keys(n).reduce((i,o)=>(i[o.toLowerCase()]=n[o],i),{})}function eJ(n){return void 0!==n&&Object.prototype.hasOwnProperty.call(n,"format")&&"msgpack"===n.format?"application/msgpack":"application/json"}class eQ{constructor(n,i,o,a={}){void 0!==i?this.bc=new eY(n,i,o,a):this.bc=n}static parseJSON(n,i,o={}){try{if(0===Object.keys(o).length)return n&&JSON.parse(n);return n&&D(n,o)}catch(s){let a=s;throw a.rawResponse=n||null,a.statusCode=i,a}}static serializeData(n,i){if(!n)return new Uint8Array(0);if("application/json"===i["content-type"])return new Uint8Array(E.Buffer.from(JSON.stringify(n)));if("string"==typeof n)return new Uint8Array(E.Buffer.from(n));if(n instanceof Uint8Array)return n;throw Error("provided data is neither a string nor a Uint8Array and content-type is not application/json")}static prepareResponse(n,i,o,a={}){let s,{body:l}=n;return"application/msgpack"!==i&&(s=l&&E.Buffer.from(l).toString()||""),o&&"application/json"===i&&(l=eQ.parseJSON(s,n.status,a)),{...n,body:l,text:s,ok:2===Math.trunc(n.status/100)}}static prepareResponseError(n){return n.response&&(n.response=eQ.prepareResponse(n.response,"application/json",!0),n.status=n.response.status),n}async get(n,i,o={},a={},s=!0){let l=eJ(i),u={...o,accept:l};try{let c=await this.bc.get(n,eZ(i),u);return eQ.prepareResponse(c,l,s,a)}catch(d){throw eQ.prepareResponseError(d)}}async post(n,i,o={},a,s=!0){let l={"content-type":"application/json",...eX(o)};try{let u=await this.bc.post(n,eQ.serializeData(i,l),a,l);return eQ.prepareResponse(u,"application/json",s)}catch(c){throw eQ.prepareResponseError(c)}}async delete(n,i,o={},a=!0){let s={"content-type":"application/json",...eX(o)},l=await this.bc.delete(n,eQ.serializeData(i,s),void 0,s);return eQ.prepareResponse(l,"application/json",a)}}function e0(n="",i){let o={};return""===n||(o[i]=n),o}function e1(n){return"function"==typeof n.get}class e2{constructor(n,i,o,a,s={}){if(e1(i))this.c=new eQ(i);else{let l;l="string"==typeof i?e0(i,n):i,this.c=new eQ(l,o,a,s)}this.intDecoding=C.DEFAULT}setIntEncoding(n){this.intDecoding=n}getIntEncoding(){return this.intDecoding}}function e3(n){return void 0===n||null==n||"object"!=typeof n&&"function"!=typeof n}function e5(n,i){let o;if(n instanceof Uint8Array)o=i?n:E.Buffer.from(n).toString("base64");else if("function"==typeof n.get_obj_for_encoding)o=n.get_obj_for_encoding(i);else if(Array.isArray(n))for(let a of(o=[],n))o.push(e5(a,i));else if("object"==typeof n){let s={};for(let l of Object.keys(n))s[l]=e5(n[l],i);o=s}else if(e3(n))o=n;else throw Error(`Unsupported value: ${String(n)}`);return o}class e4{get_obj_for_encoding(n=!1){let i={};for(let o of Object.keys(this.attribute_map)){let a=this.attribute_map[o],s=this[o];void 0!==s&&(i[a]=null===s?null:e5(s,n))}return i}}class e6 extends e4{constructor({address:n,amount:i,amountWithoutPendingRewards:o,minBalance:a,pendingRewards:s,rewards:l,round:u,status:c,totalAppsOptedIn:d,totalAssetsOptedIn:p,totalCreatedApps:f,totalCreatedAssets:h,appsLocalState:m,appsTotalExtraPages:g,appsTotalSchema:b,assets:y,authAddr:v,createdApps:w,createdAssets:E,participation:S,rewardBase:x,sigType:_,totalBoxBytes:k,totalBoxes:A}){super(),this.address=n,this.amount=i,this.amountWithoutPendingRewards=o,this.minBalance=a,this.pendingRewards=s,this.rewards=l,this.round=u,this.status=c,this.totalAppsOptedIn=d,this.totalAssetsOptedIn=p,this.totalCreatedApps=f,this.totalCreatedAssets=h,this.appsLocalState=m,this.appsTotalExtraPages=g,this.appsTotalSchema=b,this.assets=y,this.authAddr=v,this.createdApps=w,this.createdAssets=E,this.participation=S,this.rewardBase=x,this.sigType=_,this.totalBoxBytes=k,this.totalBoxes=A,this.attribute_map={address:"address",amount:"amount",amountWithoutPendingRewards:"amount-without-pending-rewards",minBalance:"min-balance",pendingRewards:"pending-rewards",rewards:"rewards",round:"round",status:"status",totalAppsOptedIn:"total-apps-opted-in",totalAssetsOptedIn:"total-assets-opted-in",totalCreatedApps:"total-created-apps",totalCreatedAssets:"total-created-assets",appsLocalState:"apps-local-state",appsTotalExtraPages:"apps-total-extra-pages",appsTotalSchema:"apps-total-schema",assets:"assets",authAddr:"auth-addr",createdApps:"created-apps",createdAssets:"created-assets",participation:"participation",rewardBase:"reward-base",sigType:"sig-type",totalBoxBytes:"total-box-bytes",totalBoxes:"total-boxes"}}static from_obj_for_encoding(n){if(void 0===n.address)throw Error(`Response is missing required field 'address': ${n}`);if(void 0===n.amount)throw Error(`Response is missing required field 'amount': ${n}`);if(void 0===n["amount-without-pending-rewards"])throw Error(`Response is missing required field 'amount-without-pending-rewards': ${n}`);if(void 0===n["min-balance"])throw Error(`Response is missing required field 'min-balance': ${n}`);if(void 0===n["pending-rewards"])throw Error(`Response is missing required field 'pending-rewards': ${n}`);if(void 0===n.rewards)throw Error(`Response is missing required field 'rewards': ${n}`);if(void 0===n.round)throw Error(`Response is missing required field 'round': ${n}`);if(void 0===n.status)throw Error(`Response is missing required field 'status': ${n}`);if(void 0===n["total-apps-opted-in"])throw Error(`Response is missing required field 'total-apps-opted-in': ${n}`);if(void 0===n["total-assets-opted-in"])throw Error(`Response is missing required field 'total-assets-opted-in': ${n}`);if(void 0===n["total-created-apps"])throw Error(`Response is missing required field 'total-created-apps': ${n}`);if(void 0===n["total-created-assets"])throw Error(`Response is missing required field 'total-created-assets': ${n}`);return new e6({address:n.address,amount:n.amount,amountWithoutPendingRewards:n["amount-without-pending-rewards"],minBalance:n["min-balance"],pendingRewards:n["pending-rewards"],rewards:n.rewards,round:n.round,status:n.status,totalAppsOptedIn:n["total-apps-opted-in"],totalAssetsOptedIn:n["total-assets-opted-in"],totalCreatedApps:n["total-created-apps"],totalCreatedAssets:n["total-created-assets"],appsLocalState:void 0!==n["apps-local-state"]?n["apps-local-state"].map(to.from_obj_for_encoding):void 0,appsTotalExtraPages:n["apps-total-extra-pages"],appsTotalSchema:void 0!==n["apps-total-schema"]?tl.from_obj_for_encoding(n["apps-total-schema"]):void 0,assets:void 0!==n.assets?n.assets.map(tc.from_obj_for_encoding):void 0,authAddr:n["auth-addr"],createdApps:void 0!==n["created-apps"]?n["created-apps"].map(tt.from_obj_for_encoding):void 0,createdAssets:void 0!==n["created-assets"]?n["created-assets"].map(tu.from_obj_for_encoding):void 0,participation:void 0!==n.participation?e7.from_obj_for_encoding(n.participation):void 0,rewardBase:n["reward-base"],sigType:n["sig-type"],totalBoxBytes:n["total-box-bytes"],totalBoxes:n["total-boxes"]})}}class e8 extends e4{constructor({round:n,appLocalState:i,createdApp:o}){super(),this.round=n,this.appLocalState=i,this.createdApp=o,this.attribute_map={round:"round",appLocalState:"app-local-state",createdApp:"created-app"}}static from_obj_for_encoding(n){if(void 0===n.round)throw Error(`Response is missing required field 'round': ${n}`);return new e8({round:n.round,appLocalState:void 0!==n["app-local-state"]?to.from_obj_for_encoding(n["app-local-state"]):void 0,createdApp:void 0!==n["created-app"]?ta.from_obj_for_encoding(n["created-app"]):void 0})}}class e9 extends e4{constructor({round:n,assetHolding:i,createdAsset:o}){super(),this.round=n,this.assetHolding=i,this.createdAsset=o,this.attribute_map={round:"round",assetHolding:"asset-holding",createdAsset:"created-asset"}}static from_obj_for_encoding(n){if(void 0===n.round)throw Error(`Response is missing required field 'round': ${n}`);return new e9({round:n.round,assetHolding:void 0!==n["asset-holding"]?tc.from_obj_for_encoding(n["asset-holding"]):void 0,createdAsset:void 0!==n["created-asset"]?tp.from_obj_for_encoding(n["created-asset"]):void 0})}}class e7 extends e4{constructor({selectionParticipationKey:n,voteFirstValid:i,voteKeyDilution:o,voteLastValid:a,voteParticipationKey:s,stateProofKey:l}){super(),this.selectionParticipationKey="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.voteFirstValid=i,this.voteKeyDilution=o,this.voteLastValid=a,this.voteParticipationKey="string"==typeof s?new Uint8Array(E.Buffer.from(s,"base64")):s,this.stateProofKey="string"==typeof l?new Uint8Array(E.Buffer.from(l,"base64")):l,this.attribute_map={selectionParticipationKey:"selection-participation-key",voteFirstValid:"vote-first-valid",voteKeyDilution:"vote-key-dilution",voteLastValid:"vote-last-valid",voteParticipationKey:"vote-participation-key",stateProofKey:"state-proof-key"}}static from_obj_for_encoding(n){if(void 0===n["selection-participation-key"])throw Error(`Response is missing required field 'selection-participation-key': ${n}`);if(void 0===n["vote-first-valid"])throw Error(`Response is missing required field 'vote-first-valid': ${n}`);if(void 0===n["vote-key-dilution"])throw Error(`Response is missing required field 'vote-key-dilution': ${n}`);if(void 0===n["vote-last-valid"])throw Error(`Response is missing required field 'vote-last-valid': ${n}`);if(void 0===n["vote-participation-key"])throw Error(`Response is missing required field 'vote-participation-key': ${n}`);return new e7({selectionParticipationKey:n["selection-participation-key"],voteFirstValid:n["vote-first-valid"],voteKeyDilution:n["vote-key-dilution"],voteLastValid:n["vote-last-valid"],voteParticipationKey:n["vote-participation-key"],stateProofKey:n["state-proof-key"]})}}class te extends e4{constructor({address:n,delta:i}){super(),this.address=n,this.delta=i,this.attribute_map={address:"address",delta:"delta"}}static from_obj_for_encoding(n){if(void 0===n.address)throw Error(`Response is missing required field 'address': ${n}`);if(!Array.isArray(n.delta))throw Error(`Response is missing required array field 'delta': ${n}`);return new te({address:n.address,delta:n.delta.map(tI.from_obj_for_encoding)})}}class tt extends e4{constructor({id:n,params:i}){super(),this.id=n,this.params=i,this.attribute_map={id:"id",params:"params"}}static from_obj_for_encoding(n){if(void 0===n.id)throw Error(`Response is missing required field 'id': ${n}`);if(void 0===n.params)throw Error(`Response is missing required field 'params': ${n}`);return new tt({id:n.id,params:ta.from_obj_for_encoding(n.params)})}}class tn extends e4{constructor({id:n,appBoxes:i,appGlobals:o,appLocals:a}){super(),this.id=n,this.appBoxes=i,this.appGlobals=o,this.appLocals=a,this.attribute_map={id:"id",appBoxes:"app-boxes",appGlobals:"app-globals",appLocals:"app-locals"}}static from_obj_for_encoding(n){if(void 0===n.id)throw Error(`Response is missing required field 'id': ${n}`);return new tn({id:n.id,appBoxes:void 0!==n["app-boxes"]?tr.from_obj_for_encoding(n["app-boxes"]):void 0,appGlobals:void 0!==n["app-globals"]?tr.from_obj_for_encoding(n["app-globals"]):void 0,appLocals:void 0!==n["app-locals"]?n["app-locals"].map(tr.from_obj_for_encoding):void 0})}}class tr extends e4{constructor({kvs:n,account:i}){super(),this.kvs=n,this.account=i,this.attribute_map={kvs:"kvs",account:"account"}}static from_obj_for_encoding(n){if(!Array.isArray(n.kvs))throw Error(`Response is missing required array field 'kvs': ${n}`);return new tr({kvs:n.kvs.map(tf.from_obj_for_encoding),account:n.account})}}class ti extends e4{constructor({account:n,app:i}){super(),this.account=n,this.app=i,this.attribute_map={account:"account",app:"app"}}static from_obj_for_encoding(n){if(void 0===n.account)throw Error(`Response is missing required field 'account': ${n}`);if(void 0===n.app)throw Error(`Response is missing required field 'app': ${n}`);return new ti({account:n.account,app:n.app})}}class to extends e4{constructor({id:n,schema:i,keyValue:o}){super(),this.id=n,this.schema=i,this.keyValue=o,this.attribute_map={id:"id",schema:"schema",keyValue:"key-value"}}static from_obj_for_encoding(n){if(void 0===n.id)throw Error(`Response is missing required field 'id': ${n}`);if(void 0===n.schema)throw Error(`Response is missing required field 'schema': ${n}`);return new to({id:n.id,schema:tl.from_obj_for_encoding(n.schema),keyValue:void 0!==n["key-value"]?n["key-value"].map(t3.from_obj_for_encoding):void 0})}}class ta extends e4{constructor({approvalProgram:n,clearStateProgram:i,creator:o,extraProgramPages:a,globalState:s,globalStateSchema:l,localStateSchema:u}){super(),this.approvalProgram="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.clearStateProgram="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.creator=o,this.extraProgramPages=a,this.globalState=s,this.globalStateSchema=l,this.localStateSchema=u,this.attribute_map={approvalProgram:"approval-program",clearStateProgram:"clear-state-program",creator:"creator",extraProgramPages:"extra-program-pages",globalState:"global-state",globalStateSchema:"global-state-schema",localStateSchema:"local-state-schema"}}static from_obj_for_encoding(n){if(void 0===n["approval-program"])throw Error(`Response is missing required field 'approval-program': ${n}`);if(void 0===n["clear-state-program"])throw Error(`Response is missing required field 'clear-state-program': ${n}`);if(void 0===n.creator)throw Error(`Response is missing required field 'creator': ${n}`);return new ta({approvalProgram:n["approval-program"],clearStateProgram:n["clear-state-program"],creator:n.creator,extraProgramPages:n["extra-program-pages"],globalState:void 0!==n["global-state"]?n["global-state"].map(t3.from_obj_for_encoding):void 0,globalStateSchema:void 0!==n["global-state-schema"]?tl.from_obj_for_encoding(n["global-state-schema"]):void 0,localStateSchema:void 0!==n["local-state-schema"]?tl.from_obj_for_encoding(n["local-state-schema"]):void 0})}}class ts extends e4{constructor({appStateType:n,key:i,operation:o,account:a,newValue:s}){super(),this.appStateType=n,this.key="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.operation=o,this.account=a,this.newValue=s,this.attribute_map={appStateType:"app-state-type",key:"key",operation:"operation",account:"account",newValue:"new-value"}}static from_obj_for_encoding(n){if(void 0===n["app-state-type"])throw Error(`Response is missing required field 'app-state-type': ${n}`);if(void 0===n.key)throw Error(`Response is missing required field 'key': ${n}`);if(void 0===n.operation)throw Error(`Response is missing required field 'operation': ${n}`);return new ts({appStateType:n["app-state-type"],key:n.key,operation:n.operation,account:n.account,newValue:void 0!==n["new-value"]?th.from_obj_for_encoding(n["new-value"]):void 0})}}class tl extends e4{constructor({numUint:n,numByteSlice:i}){super(),this.numUint=n,this.numByteSlice=i,this.attribute_map={numUint:"num-uint",numByteSlice:"num-byte-slice"}}static from_obj_for_encoding(n){if(void 0===n["num-uint"])throw Error(`Response is missing required field 'num-uint': ${n}`);if(void 0===n["num-byte-slice"])throw Error(`Response is missing required field 'num-byte-slice': ${n}`);return new tl({numUint:n["num-uint"],numByteSlice:n["num-byte-slice"]})}}class tu extends e4{constructor({index:n,params:i}){super(),this.index=n,this.params=i,this.attribute_map={index:"index",params:"params"}}static from_obj_for_encoding(n){if(void 0===n.index)throw Error(`Response is missing required field 'index': ${n}`);if(void 0===n.params)throw Error(`Response is missing required field 'params': ${n}`);return new tu({index:n.index,params:tp.from_obj_for_encoding(n.params)})}}class tc extends e4{constructor({amount:n,assetId:i,isFrozen:o}){super(),this.amount=n,this.assetId=i,this.isFrozen=o,this.attribute_map={amount:"amount",assetId:"asset-id",isFrozen:"is-frozen"}}static from_obj_for_encoding(n){if(void 0===n.amount)throw Error(`Response is missing required field 'amount': ${n}`);if(void 0===n["asset-id"])throw Error(`Response is missing required field 'asset-id': ${n}`);if(void 0===n["is-frozen"])throw Error(`Response is missing required field 'is-frozen': ${n}`);return new tc({amount:n.amount,assetId:n["asset-id"],isFrozen:n["is-frozen"]})}}class td extends e4{constructor({account:n,asset:i}){super(),this.account=n,this.asset=i,this.attribute_map={account:"account",asset:"asset"}}static from_obj_for_encoding(n){if(void 0===n.account)throw Error(`Response is missing required field 'account': ${n}`);if(void 0===n.asset)throw Error(`Response is missing required field 'asset': ${n}`);return new td({account:n.account,asset:n.asset})}}class tp extends e4{constructor({creator:n,decimals:i,total:o,clawback:a,defaultFrozen:s,freeze:l,manager:u,metadataHash:c,name:d,nameB64:p,reserve:f,unitName:h,unitNameB64:m,url:g,urlB64:b}){super(),this.creator=n,this.decimals=i,this.total=o,this.clawback=a,this.defaultFrozen=s,this.freeze=l,this.manager=u,this.metadataHash="string"==typeof c?new Uint8Array(E.Buffer.from(c,"base64")):c,this.name=d,this.nameB64="string"==typeof p?new Uint8Array(E.Buffer.from(p,"base64")):p,this.reserve=f,this.unitName=h,this.unitNameB64="string"==typeof m?new Uint8Array(E.Buffer.from(m,"base64")):m,this.url=g,this.urlB64="string"==typeof b?new Uint8Array(E.Buffer.from(b,"base64")):b,this.attribute_map={creator:"creator",decimals:"decimals",total:"total",clawback:"clawback",defaultFrozen:"default-frozen",freeze:"freeze",manager:"manager",metadataHash:"metadata-hash",name:"name",nameB64:"name-b64",reserve:"reserve",unitName:"unit-name",unitNameB64:"unit-name-b64",url:"url",urlB64:"url-b64"}}static from_obj_for_encoding(n){if(void 0===n.creator)throw Error(`Response is missing required field 'creator': ${n}`);if(void 0===n.decimals)throw Error(`Response is missing required field 'decimals': ${n}`);if(void 0===n.total)throw Error(`Response is missing required field 'total': ${n}`);return new tp({creator:n.creator,decimals:n.decimals,total:n.total,clawback:n.clawback,defaultFrozen:n["default-frozen"],freeze:n.freeze,manager:n.manager,metadataHash:n["metadata-hash"],name:n.name,nameB64:n["name-b64"],reserve:n.reserve,unitName:n["unit-name"],unitNameB64:n["unit-name-b64"],url:n.url,urlB64:n["url-b64"]})}}class tf extends e4{constructor({key:n,value:i}){super(),this.key="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.value=i,this.attribute_map={key:"key",value:"value"}}static from_obj_for_encoding(n){if(void 0===n.key)throw Error(`Response is missing required field 'key': ${n}`);if(void 0===n.value)throw Error(`Response is missing required field 'value': ${n}`);return new tf({key:n.key,value:th.from_obj_for_encoding(n.value)})}}class th extends e4{constructor({type:n,bytes:i,uint:o}){super(),this.type=n,this.bytes="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.uint=o,this.attribute_map={type:"type",bytes:"bytes",uint:"uint"}}static from_obj_for_encoding(n){if(void 0===n.type)throw Error(`Response is missing required field 'type': ${n}`);return new th({type:n.type,bytes:n.bytes,uint:n.uint})}}class tm extends e4{constructor({blockhash:n}){super(),this.blockhash=n,this.attribute_map={blockhash:"blockHash"}}static from_obj_for_encoding(n){if(void 0===n.blockHash)throw Error(`Response is missing required field 'blockHash': ${n}`);return new tm({blockhash:n.blockHash})}}class tg extends e4{constructor({block:n,cert:i}){super(),this.block=n,this.cert=i,this.attribute_map={block:"block",cert:"cert"}}static from_obj_for_encoding(n){if(void 0===n.block)throw Error(`Response is missing required field 'block': ${n}`);return new tg({block:n.block,cert:n.cert})}}class tb extends e4{constructor({blocktxids:n}){super(),this.blocktxids=n,this.attribute_map={blocktxids:"blockTxids"}}static from_obj_for_encoding(n){if(!Array.isArray(n.blockTxids))throw Error(`Response is missing required array field 'blockTxids': ${n}`);return new tb({blocktxids:n.blockTxids})}}class ty extends e4{constructor({name:n,round:i,value:o}){super(),this.name="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.round=i,this.value="string"==typeof o?new Uint8Array(E.Buffer.from(o,"base64")):o,this.attribute_map={name:"name",round:"round",value:"value"}}static from_obj_for_encoding(n){if(void 0===n.name)throw Error(`Response is missing required field 'name': ${n}`);if(void 0===n.round)throw Error(`Response is missing required field 'round': ${n}`);if(void 0===n.value)throw Error(`Response is missing required field 'value': ${n}`);return new ty({name:n.name,round:n.round,value:n.value})}}class tv extends e4{constructor({name:n}){super(),this.name="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.attribute_map={name:"name"}}static from_obj_for_encoding(n){if(void 0===n.name)throw Error(`Response is missing required field 'name': ${n}`);return new tv({name:n.name})}}class tw extends e4{constructor({app:n,name:i}){super(),this.app=n,this.name="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.attribute_map={app:"app",name:"name"}}static from_obj_for_encoding(n){if(void 0===n.app)throw Error(`Response is missing required field 'app': ${n}`);if(void 0===n.name)throw Error(`Response is missing required field 'name': ${n}`);return new tw({app:n.app,name:n.name})}}class tE extends e4{constructor({boxes:n}){super(),this.boxes=n,this.attribute_map={boxes:"boxes"}}static from_obj_for_encoding(n){if(!Array.isArray(n.boxes))throw Error(`Response is missing required array field 'boxes': ${n}`);return new tE({boxes:n.boxes.map(tv.from_obj_for_encoding)})}}class tS extends e4{constructor({branch:n,buildNumber:i,channel:o,commitHash:a,major:s,minor:l}){super(),this.branch=n,this.buildNumber=i,this.channel=o,this.commitHash=a,this.major=s,this.minor=l,this.attribute_map={branch:"branch",buildNumber:"build_number",channel:"channel",commitHash:"commit_hash",major:"major",minor:"minor"}}static from_obj_for_encoding(n){if(void 0===n.branch)throw Error(`Response is missing required field 'branch': ${n}`);if(void 0===n.build_number)throw Error(`Response is missing required field 'build_number': ${n}`);if(void 0===n.channel)throw Error(`Response is missing required field 'channel': ${n}`);if(void 0===n.commit_hash)throw Error(`Response is missing required field 'commit_hash': ${n}`);if(void 0===n.major)throw Error(`Response is missing required field 'major': ${n}`);if(void 0===n.minor)throw Error(`Response is missing required field 'minor': ${n}`);return new tS({branch:n.branch,buildNumber:n.build_number,channel:n.channel,commitHash:n.commit_hash,major:n.major,minor:n.minor})}}class tx extends e4{constructor({hash:n,result:i,sourcemap:o}){super(),this.hash=n,this.result=i,this.sourcemap=o,this.attribute_map={hash:"hash",result:"result",sourcemap:"sourcemap"}}static from_obj_for_encoding(n){if(void 0===n.hash)throw Error(`Response is missing required field 'hash': ${n}`);if(void 0===n.result)throw Error(`Response is missing required field 'result': ${n}`);return new tx({hash:n.hash,result:n.result,sourcemap:n.sourcemap})}}class t_ extends e4{constructor({result:n}){super(),this.result=n,this.attribute_map={result:"result"}}static from_obj_for_encoding(n){if(void 0===n.result)throw Error(`Response is missing required field 'result': ${n}`);return new t_({result:n.result})}}class tk extends e4{constructor({accounts:n,apps:i,latestTimestamp:o,protocolVersion:a,round:s,sources:l,txns:u}){super(),this.accounts=n,this.apps=i,this.latestTimestamp=o,this.protocolVersion=a,this.round=s,this.sources=l,this.txns=u,this.attribute_map={accounts:"accounts",apps:"apps",latestTimestamp:"latest-timestamp",protocolVersion:"protocol-version",round:"round",sources:"sources",txns:"txns"}}static from_obj_for_encoding(n){if(!Array.isArray(n.accounts))throw Error(`Response is missing required array field 'accounts': ${n}`);if(!Array.isArray(n.apps))throw Error(`Response is missing required array field 'apps': ${n}`);if(void 0===n["latest-timestamp"])throw Error(`Response is missing required field 'latest-timestamp': ${n}`);if(void 0===n["protocol-version"])throw Error(`Response is missing required field 'protocol-version': ${n}`);if(void 0===n.round)throw Error(`Response is missing required field 'round': ${n}`);if(!Array.isArray(n.sources))throw Error(`Response is missing required array field 'sources': ${n}`);if(!Array.isArray(n.txns))throw Error(`Response is missing required array field 'txns': ${n}`);return new tk({accounts:n.accounts.map(e6.from_obj_for_encoding),apps:n.apps.map(tt.from_obj_for_encoding),latestTimestamp:n["latest-timestamp"],protocolVersion:n["protocol-version"],round:n.round,sources:n.sources.map(tT.from_obj_for_encoding),txns:n.txns})}}class tA extends e4{constructor({error:n,protocolVersion:i,txns:o}){super(),this.error=n,this.protocolVersion=i,this.txns=o,this.attribute_map={error:"error",protocolVersion:"protocol-version",txns:"txns"}}static from_obj_for_encoding(n){if(void 0===n.error)throw Error(`Response is missing required field 'error': ${n}`);if(void 0===n["protocol-version"])throw Error(`Response is missing required field 'protocol-version': ${n}`);if(!Array.isArray(n.txns))throw Error(`Response is missing required array field 'txns': ${n}`);return new tA({error:n.error,protocolVersion:n["protocol-version"],txns:n.txns.map(tR.from_obj_for_encoding)})}}class tT extends e4{constructor({fieldName:n,source:i,txnIndex:o,appIndex:a}){super(),this.fieldName=n,this.source=i,this.txnIndex=o,this.appIndex=a,this.attribute_map={fieldName:"field-name",source:"source",txnIndex:"txn-index",appIndex:"app-index"}}static from_obj_for_encoding(n){if(void 0===n["field-name"])throw Error(`Response is missing required field 'field-name': ${n}`);if(void 0===n.source)throw Error(`Response is missing required field 'source': ${n}`);if(void 0===n["txn-index"])throw Error(`Response is missing required field 'txn-index': ${n}`);if(void 0===n["app-index"])throw Error(`Response is missing required field 'app-index': ${n}`);return new tT({fieldName:n["field-name"],source:n.source,txnIndex:n["txn-index"],appIndex:n["app-index"]})}}class tC extends e4{constructor({line:n,pc:i,stack:o,error:a,scratch:s}){super(),this.line=n,this.pc=i,this.stack=o,this.error=a,this.scratch=s,this.attribute_map={line:"line",pc:"pc",stack:"stack",error:"error",scratch:"scratch"}}static from_obj_for_encoding(n){if(void 0===n.line)throw Error(`Response is missing required field 'line': ${n}`);if(void 0===n.pc)throw Error(`Response is missing required field 'pc': ${n}`);if(!Array.isArray(n.stack))throw Error(`Response is missing required array field 'stack': ${n}`);return new tC({line:n.line,pc:n.pc,stack:n.stack.map(t5.from_obj_for_encoding),error:n.error,scratch:void 0!==n.scratch?n.scratch.map(t5.from_obj_for_encoding):void 0})}}class tR extends e4{constructor({disassembly:n,appCallMessages:i,appCallTrace:o,budgetAdded:a,budgetConsumed:s,globalDelta:l,localDeltas:u,logicSigDisassembly:c,logicSigMessages:d,logicSigTrace:p,logs:f}){super(),this.disassembly=n,this.appCallMessages=i,this.appCallTrace=o,this.budgetAdded=a,this.budgetConsumed=s,this.globalDelta=l,this.localDeltas=u,this.logicSigDisassembly=c,this.logicSigMessages=d,this.logicSigTrace=p,this.logs=f,this.attribute_map={disassembly:"disassembly",appCallMessages:"app-call-messages",appCallTrace:"app-call-trace",budgetAdded:"budget-added",budgetConsumed:"budget-consumed",globalDelta:"global-delta",localDeltas:"local-deltas",logicSigDisassembly:"logic-sig-disassembly",logicSigMessages:"logic-sig-messages",logicSigTrace:"logic-sig-trace",logs:"logs"}}static from_obj_for_encoding(n){if(!Array.isArray(n.disassembly))throw Error(`Response is missing required array field 'disassembly': ${n}`);return new tR({disassembly:n.disassembly,appCallMessages:n["app-call-messages"],appCallTrace:void 0!==n["app-call-trace"]?n["app-call-trace"].map(tC.from_obj_for_encoding):void 0,budgetAdded:n["budget-added"],budgetConsumed:n["budget-consumed"],globalDelta:void 0!==n["global-delta"]?n["global-delta"].map(tI.from_obj_for_encoding):void 0,localDeltas:void 0!==n["local-deltas"]?n["local-deltas"].map(te.from_obj_for_encoding):void 0,logicSigDisassembly:n["logic-sig-disassembly"],logicSigMessages:n["logic-sig-messages"],logicSigTrace:void 0!==n["logic-sig-trace"]?n["logic-sig-trace"].map(tC.from_obj_for_encoding):void 0,logs:n.logs})}}class tD extends e4{constructor({message:n,data:i}){super(),this.message=n,this.data=i,this.attribute_map={message:"message",data:"data"}}static from_obj_for_encoding(n){if(void 0===n.message)throw Error(`Response is missing required field 'message': ${n}`);return new tD({message:n.message,data:n.data})}}class tO extends e4{constructor({action:n,bytes:i,uint:o}){super(),this.action=n,this.bytes=i,this.uint=o,this.attribute_map={action:"action",bytes:"bytes",uint:"uint"}}static from_obj_for_encoding(n){if(void 0===n.action)throw Error(`Response is missing required field 'action': ${n}`);return new tO({action:n.action,bytes:n.bytes,uint:n.uint})}}class tI extends e4{constructor({key:n,value:i}){super(),this.key=n,this.value=i,this.attribute_map={key:"key",value:"value"}}static from_obj_for_encoding(n){if(void 0===n.key)throw Error(`Response is missing required field 'key': ${n}`);if(void 0===n.value)throw Error(`Response is missing required field 'value': ${n}`);return new tI({key:n.key,value:tO.from_obj_for_encoding(n.value)})}}class tN extends e4{constructor({offset:n}){super(),this.offset=n,this.attribute_map={offset:"offset"}}static from_obj_for_encoding(n){if(void 0===n.offset)throw Error(`Response is missing required field 'offset': ${n}`);return new tN({offset:n.offset})}}class tM extends e4{constructor({round:n}){super(),this.round=n,this.attribute_map={round:"round"}}static from_obj_for_encoding(n){if(void 0===n.round)throw Error(`Response is missing required field 'round': ${n}`);return new tM({round:n.round})}}class tL extends e4{constructor({key:n,value:i}){super(),this.key="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.value="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.attribute_map={key:"key",value:"value"}}static from_obj_for_encoding(n){return new tL({key:n.key,value:n.value})}}class tP extends e4{constructor({delta:n,ids:i}){super(),this.delta=n,this.ids=i,this.attribute_map={delta:"Delta",ids:"Ids"}}static from_obj_for_encoding(n){if(void 0===n.Delta)throw Error(`Response is missing required field 'Delta': ${n}`);if(!Array.isArray(n.Ids))throw Error(`Response is missing required array field 'Ids': ${n}`);return new tP({delta:n.Delta,ids:n.Ids})}}class tF extends e4{constructor({index:n,proof:i,treedepth:o}){super(),this.index=n,this.proof="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.treedepth=o,this.attribute_map={index:"index",proof:"proof",treedepth:"treedepth"}}static from_obj_for_encoding(n){if(void 0===n.index)throw Error(`Response is missing required field 'index': ${n}`);if(void 0===n.proof)throw Error(`Response is missing required field 'proof': ${n}`);if(void 0===n.treedepth)throw Error(`Response is missing required field 'treedepth': ${n}`);return new tF({index:n.index,proof:n.proof,treedepth:n.treedepth})}}class tB extends e4{constructor({catchupTime:n,lastRound:i,lastVersion:o,nextVersion:a,nextVersionRound:s,nextVersionSupported:l,stoppedAtUnsupportedRound:u,timeSinceLastRound:c,catchpoint:d,catchpointAcquiredBlocks:p,catchpointProcessedAccounts:f,catchpointProcessedKvs:h,catchpointTotalAccounts:m,catchpointTotalBlocks:g,catchpointTotalKvs:b,catchpointVerifiedAccounts:y,catchpointVerifiedKvs:v,lastCatchpoint:w,upgradeDelay:E,upgradeNextProtocolVoteBefore:S,upgradeNoVotes:x,upgradeNodeVote:_,upgradeVoteRounds:k,upgradeVotes:A,upgradeVotesRequired:T,upgradeYesVotes:C}){super(),this.catchupTime=n,this.lastRound=i,this.lastVersion=o,this.nextVersion=a,this.nextVersionRound=s,this.nextVersionSupported=l,this.stoppedAtUnsupportedRound=u,this.timeSinceLastRound=c,this.catchpoint=d,this.catchpointAcquiredBlocks=p,this.catchpointProcessedAccounts=f,this.catchpointProcessedKvs=h,this.catchpointTotalAccounts=m,this.catchpointTotalBlocks=g,this.catchpointTotalKvs=b,this.catchpointVerifiedAccounts=y,this.catchpointVerifiedKvs=v,this.lastCatchpoint=w,this.upgradeDelay=E,this.upgradeNextProtocolVoteBefore=S,this.upgradeNoVotes=x,this.upgradeNodeVote=_,this.upgradeVoteRounds=k,this.upgradeVotes=A,this.upgradeVotesRequired=T,this.upgradeYesVotes=C,this.attribute_map={catchupTime:"catchup-time",lastRound:"last-round",lastVersion:"last-version",nextVersion:"next-version",nextVersionRound:"next-version-round",nextVersionSupported:"next-version-supported",stoppedAtUnsupportedRound:"stopped-at-unsupported-round",timeSinceLastRound:"time-since-last-round",catchpoint:"catchpoint",catchpointAcquiredBlocks:"catchpoint-acquired-blocks",catchpointProcessedAccounts:"catchpoint-processed-accounts",catchpointProcessedKvs:"catchpoint-processed-kvs",catchpointTotalAccounts:"catchpoint-total-accounts",catchpointTotalBlocks:"catchpoint-total-blocks",catchpointTotalKvs:"catchpoint-total-kvs",catchpointVerifiedAccounts:"catchpoint-verified-accounts",catchpointVerifiedKvs:"catchpoint-verified-kvs",lastCatchpoint:"last-catchpoint",upgradeDelay:"upgrade-delay",upgradeNextProtocolVoteBefore:"upgrade-next-protocol-vote-before",upgradeNoVotes:"upgrade-no-votes",upgradeNodeVote:"upgrade-node-vote",upgradeVoteRounds:"upgrade-vote-rounds",upgradeVotes:"upgrade-votes",upgradeVotesRequired:"upgrade-votes-required",upgradeYesVotes:"upgrade-yes-votes"}}static from_obj_for_encoding(n){if(void 0===n["catchup-time"])throw Error(`Response is missing required field 'catchup-time': ${n}`);if(void 0===n["last-round"])throw Error(`Response is missing required field 'last-round': ${n}`);if(void 0===n["last-version"])throw Error(`Response is missing required field 'last-version': ${n}`);if(void 0===n["next-version"])throw Error(`Response is missing required field 'next-version': ${n}`);if(void 0===n["next-version-round"])throw Error(`Response is missing required field 'next-version-round': ${n}`);if(void 0===n["next-version-supported"])throw Error(`Response is missing required field 'next-version-supported': ${n}`);if(void 0===n["stopped-at-unsupported-round"])throw Error(`Response is missing required field 'stopped-at-unsupported-round': ${n}`);if(void 0===n["time-since-last-round"])throw Error(`Response is missing required field 'time-since-last-round': ${n}`);return new tB({catchupTime:n["catchup-time"],lastRound:n["last-round"],lastVersion:n["last-version"],nextVersion:n["next-version"],nextVersionRound:n["next-version-round"],nextVersionSupported:n["next-version-supported"],stoppedAtUnsupportedRound:n["stopped-at-unsupported-round"],timeSinceLastRound:n["time-since-last-round"],catchpoint:n.catchpoint,catchpointAcquiredBlocks:n["catchpoint-acquired-blocks"],catchpointProcessedAccounts:n["catchpoint-processed-accounts"],catchpointProcessedKvs:n["catchpoint-processed-kvs"],catchpointTotalAccounts:n["catchpoint-total-accounts"],catchpointTotalBlocks:n["catchpoint-total-blocks"],catchpointTotalKvs:n["catchpoint-total-kvs"],catchpointVerifiedAccounts:n["catchpoint-verified-accounts"],catchpointVerifiedKvs:n["catchpoint-verified-kvs"],lastCatchpoint:n["last-catchpoint"],upgradeDelay:n["upgrade-delay"],upgradeNextProtocolVoteBefore:n["upgrade-next-protocol-vote-before"],upgradeNoVotes:n["upgrade-no-votes"],upgradeNodeVote:n["upgrade-node-vote"],upgradeVoteRounds:n["upgrade-vote-rounds"],upgradeVotes:n["upgrade-votes"],upgradeVotesRequired:n["upgrade-votes-required"],upgradeYesVotes:n["upgrade-yes-votes"]})}}class tU extends e4{constructor({poolError:n,txn:i,applicationIndex:o,assetClosingAmount:a,assetIndex:s,closeRewards:l,closingAmount:u,confirmedRound:c,globalStateDelta:d,innerTxns:p,localStateDelta:f,logs:h,receiverRewards:m,senderRewards:g}){super(),this.poolError=n,this.txn=i,this.applicationIndex=o,this.assetClosingAmount=a,this.assetIndex=s,this.closeRewards=l,this.closingAmount=u,this.confirmedRound=c,this.globalStateDelta=d,this.innerTxns=p,this.localStateDelta=f,this.logs=h,this.receiverRewards=m,this.senderRewards=g,this.attribute_map={poolError:"pool-error",txn:"txn",applicationIndex:"application-index",assetClosingAmount:"asset-closing-amount",assetIndex:"asset-index",closeRewards:"close-rewards",closingAmount:"closing-amount",confirmedRound:"confirmed-round",globalStateDelta:"global-state-delta",innerTxns:"inner-txns",localStateDelta:"local-state-delta",logs:"logs",receiverRewards:"receiver-rewards",senderRewards:"sender-rewards"}}static from_obj_for_encoding(n){if(void 0===n["pool-error"])throw Error(`Response is missing required field 'pool-error': ${n}`);if(void 0===n.txn)throw Error(`Response is missing required field 'txn': ${n}`);return new tU({poolError:n["pool-error"],txn:n.txn,applicationIndex:n["application-index"],assetClosingAmount:n["asset-closing-amount"],assetIndex:n["asset-index"],closeRewards:n["close-rewards"],closingAmount:n["closing-amount"],confirmedRound:n["confirmed-round"],globalStateDelta:void 0!==n["global-state-delta"]?n["global-state-delta"].map(tI.from_obj_for_encoding):void 0,innerTxns:void 0!==n["inner-txns"]?n["inner-txns"].map(tU.from_obj_for_encoding):void 0,localStateDelta:void 0!==n["local-state-delta"]?n["local-state-delta"].map(te.from_obj_for_encoding):void 0,logs:n.logs,receiverRewards:n["receiver-rewards"],senderRewards:n["sender-rewards"]})}}class tz extends e4{constructor({topTransactions:n,totalTransactions:i}){super(),this.topTransactions=n,this.totalTransactions=i,this.attribute_map={topTransactions:"top-transactions",totalTransactions:"total-transactions"}}static from_obj_for_encoding(n){if(!Array.isArray(n["top-transactions"]))throw Error(`Response is missing required array field 'top-transactions': ${n}`);if(void 0===n["total-transactions"])throw Error(`Response is missing required field 'total-transactions': ${n}`);return new tz({topTransactions:n["top-transactions"],totalTransactions:n["total-transactions"]})}}class tj extends e4{constructor({txid:n}){super(),this.txid=n,this.attribute_map={txid:"txId"}}static from_obj_for_encoding(n){if(void 0===n.txId)throw Error(`Response is missing required field 'txId': ${n}`);return new tj({txid:n.txId})}}class t$ extends e4{constructor({newValue:n,slot:i}){super(),this.newValue=n,this.slot=i,this.attribute_map={newValue:"new-value",slot:"slot"}}static from_obj_for_encoding(n){if(void 0===n["new-value"])throw Error(`Response is missing required field 'new-value': ${n}`);if(void 0===n.slot)throw Error(`Response is missing required field 'slot': ${n}`);return new t$({newValue:th.from_obj_for_encoding(n["new-value"]),slot:n.slot})}}class tH extends e4{constructor({appInitialStates:n}){super(),this.appInitialStates=n,this.attribute_map={appInitialStates:"app-initial-states"}}static from_obj_for_encoding(n){return new tH({appInitialStates:void 0!==n["app-initial-states"]?n["app-initial-states"].map(tn.from_obj_for_encoding):void 0})}}class tV extends e4{constructor({txnGroups:n,allowEmptySignatures:i,allowMoreLogging:o,allowUnnamedResources:a,execTraceConfig:s,extraOpcodeBudget:l,round:u}){super(),this.txnGroups=n,this.allowEmptySignatures=i,this.allowMoreLogging=o,this.allowUnnamedResources=a,this.execTraceConfig=s,this.extraOpcodeBudget=l,this.round=u,this.attribute_map={txnGroups:"txn-groups",allowEmptySignatures:"allow-empty-signatures",allowMoreLogging:"allow-more-logging",allowUnnamedResources:"allow-unnamed-resources",execTraceConfig:"exec-trace-config",extraOpcodeBudget:"extra-opcode-budget",round:"round"}}static from_obj_for_encoding(n){if(!Array.isArray(n["txn-groups"]))throw Error(`Response is missing required array field 'txn-groups': ${n}`);return new tV({txnGroups:n["txn-groups"].map(tG.from_obj_for_encoding),allowEmptySignatures:n["allow-empty-signatures"],allowMoreLogging:n["allow-more-logging"],allowUnnamedResources:n["allow-unnamed-resources"],execTraceConfig:void 0!==n["exec-trace-config"]?tW.from_obj_for_encoding(n["exec-trace-config"]):void 0,extraOpcodeBudget:n["extra-opcode-budget"],round:n.round})}}class tG extends e4{constructor({txns:n}){super(),this.txns=n,this.attribute_map={txns:"txns"}}static from_obj_for_encoding(n){if(!Array.isArray(n.txns))throw Error(`Response is missing required array field 'txns': ${n}`);return new tG({txns:n.txns})}}class tq extends e4{constructor({lastRound:n,txnGroups:i,version:o,evalOverrides:a,execTraceConfig:s,initialStates:l}){super(),this.lastRound=n,this.txnGroups=i,this.version=o,this.evalOverrides=a,this.execTraceConfig=s,this.initialStates=l,this.attribute_map={lastRound:"last-round",txnGroups:"txn-groups",version:"version",evalOverrides:"eval-overrides",execTraceConfig:"exec-trace-config",initialStates:"initial-states"}}static from_obj_for_encoding(n){if(void 0===n["last-round"])throw Error(`Response is missing required field 'last-round': ${n}`);if(!Array.isArray(n["txn-groups"]))throw Error(`Response is missing required array field 'txn-groups': ${n}`);if(void 0===n.version)throw Error(`Response is missing required field 'version': ${n}`);return new tq({lastRound:n["last-round"],txnGroups:n["txn-groups"].map(tK.from_obj_for_encoding),version:n.version,evalOverrides:void 0!==n["eval-overrides"]?tX.from_obj_for_encoding(n["eval-overrides"]):void 0,execTraceConfig:void 0!==n["exec-trace-config"]?tW.from_obj_for_encoding(n["exec-trace-config"]):void 0,initialStates:void 0!==n["initial-states"]?tH.from_obj_for_encoding(n["initial-states"]):void 0})}}class tW extends e4{constructor({enable:n,scratchChange:i,stackChange:o,stateChange:a}){super(),this.enable=n,this.scratchChange=i,this.stackChange=o,this.stateChange=a,this.attribute_map={enable:"enable",scratchChange:"scratch-change",stackChange:"stack-change",stateChange:"state-change"}}static from_obj_for_encoding(n){return new tW({enable:n.enable,scratchChange:n["scratch-change"],stackChange:n["stack-change"],stateChange:n["state-change"]})}}class tK extends e4{constructor({txnResults:n,appBudgetAdded:i,appBudgetConsumed:o,failedAt:a,failureMessage:s,unnamedResourcesAccessed:l}){super(),this.txnResults=n,this.appBudgetAdded=i,this.appBudgetConsumed=o,this.failedAt=a,this.failureMessage=s,this.unnamedResourcesAccessed=l,this.attribute_map={txnResults:"txn-results",appBudgetAdded:"app-budget-added",appBudgetConsumed:"app-budget-consumed",failedAt:"failed-at",failureMessage:"failure-message",unnamedResourcesAccessed:"unnamed-resources-accessed"}}static from_obj_for_encoding(n){if(!Array.isArray(n["txn-results"]))throw Error(`Response is missing required array field 'txn-results': ${n}`);return new tK({txnResults:n["txn-results"].map(tY.from_obj_for_encoding),appBudgetAdded:n["app-budget-added"],appBudgetConsumed:n["app-budget-consumed"],failedAt:n["failed-at"],failureMessage:n["failure-message"],unnamedResourcesAccessed:void 0!==n["unnamed-resources-accessed"]?tZ.from_obj_for_encoding(n["unnamed-resources-accessed"]):void 0})}}class tY extends e4{constructor({txnResult:n,appBudgetConsumed:i,execTrace:o,logicSigBudgetConsumed:a,unnamedResourcesAccessed:s}){super(),this.txnResult=n,this.appBudgetConsumed=i,this.execTrace=o,this.logicSigBudgetConsumed=a,this.unnamedResourcesAccessed=s,this.attribute_map={txnResult:"txn-result",appBudgetConsumed:"app-budget-consumed",execTrace:"exec-trace",logicSigBudgetConsumed:"logic-sig-budget-consumed",unnamedResourcesAccessed:"unnamed-resources-accessed"}}static from_obj_for_encoding(n){if(void 0===n["txn-result"])throw Error(`Response is missing required field 'txn-result': ${n}`);return new tY({txnResult:tU.from_obj_for_encoding(n["txn-result"]),appBudgetConsumed:n["app-budget-consumed"],execTrace:void 0!==n["exec-trace"]?tQ.from_obj_for_encoding(n["exec-trace"]):void 0,logicSigBudgetConsumed:n["logic-sig-budget-consumed"],unnamedResourcesAccessed:void 0!==n["unnamed-resources-accessed"]?tZ.from_obj_for_encoding(n["unnamed-resources-accessed"]):void 0})}}class tZ extends e4{constructor({accounts:n,appLocals:i,apps:o,assetHoldings:a,assets:s,boxes:l,extraBoxRefs:u}){super(),this.accounts=n,this.appLocals=i,this.apps=o,this.assetHoldings=a,this.assets=s,this.boxes=l,this.extraBoxRefs=u,this.attribute_map={accounts:"accounts",appLocals:"app-locals",apps:"apps",assetHoldings:"asset-holdings",assets:"assets",boxes:"boxes",extraBoxRefs:"extra-box-refs"}}static from_obj_for_encoding(n){return new tZ({accounts:n.accounts,appLocals:void 0!==n["app-locals"]?n["app-locals"].map(ti.from_obj_for_encoding):void 0,apps:n.apps,assetHoldings:void 0!==n["asset-holdings"]?n["asset-holdings"].map(td.from_obj_for_encoding):void 0,assets:n.assets,boxes:void 0!==n.boxes?n.boxes.map(tw.from_obj_for_encoding):void 0,extraBoxRefs:n["extra-box-refs"]})}}class tX extends e4{constructor({allowEmptySignatures:n,allowUnnamedResources:i,extraOpcodeBudget:o,maxLogCalls:a,maxLogSize:s}){super(),this.allowEmptySignatures=n,this.allowUnnamedResources=i,this.extraOpcodeBudget=o,this.maxLogCalls=a,this.maxLogSize=s,this.attribute_map={allowEmptySignatures:"allow-empty-signatures",allowUnnamedResources:"allow-unnamed-resources",extraOpcodeBudget:"extra-opcode-budget",maxLogCalls:"max-log-calls",maxLogSize:"max-log-size"}}static from_obj_for_encoding(n){return new tX({allowEmptySignatures:n["allow-empty-signatures"],allowUnnamedResources:n["allow-unnamed-resources"],extraOpcodeBudget:n["extra-opcode-budget"],maxLogCalls:n["max-log-calls"],maxLogSize:n["max-log-size"]})}}class tJ extends e4{constructor({pc:n,scratchChanges:i,spawnedInners:o,stackAdditions:a,stackPopCount:s,stateChanges:l}){super(),this.pc=n,this.scratchChanges=i,this.spawnedInners=o,this.stackAdditions=a,this.stackPopCount=s,this.stateChanges=l,this.attribute_map={pc:"pc",scratchChanges:"scratch-changes",spawnedInners:"spawned-inners",stackAdditions:"stack-additions",stackPopCount:"stack-pop-count",stateChanges:"state-changes"}}static from_obj_for_encoding(n){if(void 0===n.pc)throw Error(`Response is missing required field 'pc': ${n}`);return new tJ({pc:n.pc,scratchChanges:void 0!==n["scratch-changes"]?n["scratch-changes"].map(t$.from_obj_for_encoding):void 0,spawnedInners:n["spawned-inners"],stackAdditions:void 0!==n["stack-additions"]?n["stack-additions"].map(th.from_obj_for_encoding):void 0,stackPopCount:n["stack-pop-count"],stateChanges:void 0!==n["state-changes"]?n["state-changes"].map(ts.from_obj_for_encoding):void 0})}}class tQ extends e4{constructor({approvalProgramHash:n,approvalProgramTrace:i,clearStateProgramHash:o,clearStateProgramTrace:a,innerTrace:s,logicSigHash:l,logicSigTrace:u}){super(),this.approvalProgramHash="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.approvalProgramTrace=i,this.clearStateProgramHash="string"==typeof o?new Uint8Array(E.Buffer.from(o,"base64")):o,this.clearStateProgramTrace=a,this.innerTrace=s,this.logicSigHash="string"==typeof l?new Uint8Array(E.Buffer.from(l,"base64")):l,this.logicSigTrace=u,this.attribute_map={approvalProgramHash:"approval-program-hash",approvalProgramTrace:"approval-program-trace",clearStateProgramHash:"clear-state-program-hash",clearStateProgramTrace:"clear-state-program-trace",innerTrace:"inner-trace",logicSigHash:"logic-sig-hash",logicSigTrace:"logic-sig-trace"}}static from_obj_for_encoding(n){return new tQ({approvalProgramHash:n["approval-program-hash"],approvalProgramTrace:void 0!==n["approval-program-trace"]?n["approval-program-trace"].map(tJ.from_obj_for_encoding):void 0,clearStateProgramHash:n["clear-state-program-hash"],clearStateProgramTrace:void 0!==n["clear-state-program-trace"]?n["clear-state-program-trace"].map(tJ.from_obj_for_encoding):void 0,innerTrace:void 0!==n["inner-trace"]?n["inner-trace"].map(tQ.from_obj_for_encoding):void 0,logicSigHash:n["logic-sig-hash"],logicSigTrace:void 0!==n["logic-sig-trace"]?n["logic-sig-trace"].map(tJ.from_obj_for_encoding):void 0})}}class t0 extends e4{constructor({message:n,stateproof:i}){super(),this.message=n,this.stateproof="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.attribute_map={message:"Message",stateproof:"StateProof"}}static from_obj_for_encoding(n){if(void 0===n.Message)throw Error(`Response is missing required field 'Message': ${n}`);if(void 0===n.StateProof)throw Error(`Response is missing required field 'StateProof': ${n}`);return new t0({message:t1.from_obj_for_encoding(n.Message),stateproof:n.StateProof})}}class t1 extends e4{constructor({blockheaderscommitment:n,firstattestedround:i,lastattestedround:o,lnprovenweight:a,voterscommitment:s}){super(),this.blockheaderscommitment="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.firstattestedround=i,this.lastattestedround=o,this.lnprovenweight=a,this.voterscommitment="string"==typeof s?new Uint8Array(E.Buffer.from(s,"base64")):s,this.attribute_map={blockheaderscommitment:"BlockHeadersCommitment",firstattestedround:"FirstAttestedRound",lastattestedround:"LastAttestedRound",lnprovenweight:"LnProvenWeight",voterscommitment:"VotersCommitment"}}static from_obj_for_encoding(n){if(void 0===n.BlockHeadersCommitment)throw Error(`Response is missing required field 'BlockHeadersCommitment': ${n}`);if(void 0===n.FirstAttestedRound)throw Error(`Response is missing required field 'FirstAttestedRound': ${n}`);if(void 0===n.LastAttestedRound)throw Error(`Response is missing required field 'LastAttestedRound': ${n}`);if(void 0===n.LnProvenWeight)throw Error(`Response is missing required field 'LnProvenWeight': ${n}`);if(void 0===n.VotersCommitment)throw Error(`Response is missing required field 'VotersCommitment': ${n}`);return new t1({blockheaderscommitment:n.BlockHeadersCommitment,firstattestedround:n.FirstAttestedRound,lastattestedround:n.LastAttestedRound,lnprovenweight:n.LnProvenWeight,voterscommitment:n.VotersCommitment})}}class t2 extends e4{constructor({currentRound:n,onlineMoney:i,totalMoney:o}){super(),this.currentRound=n,this.onlineMoney=i,this.totalMoney=o,this.attribute_map={currentRound:"current_round",onlineMoney:"online-money",totalMoney:"total-money"}}static from_obj_for_encoding(n){if(void 0===n.current_round)throw Error(`Response is missing required field 'current_round': ${n}`);if(void 0===n["online-money"])throw Error(`Response is missing required field 'online-money': ${n}`);if(void 0===n["total-money"])throw Error(`Response is missing required field 'total-money': ${n}`);return new t2({currentRound:n.current_round,onlineMoney:n["online-money"],totalMoney:n["total-money"]})}}class t3 extends e4{constructor({key:n,value:i}){super(),this.key=n,this.value=i,this.attribute_map={key:"key",value:"value"}}static from_obj_for_encoding(n){if(void 0===n.key)throw Error(`Response is missing required field 'key': ${n}`);if(void 0===n.value)throw Error(`Response is missing required field 'value': ${n}`);return new t3({key:n.key,value:t5.from_obj_for_encoding(n.value)})}}class t5 extends e4{constructor({type:n,bytes:i,uint:o}){super(),this.type=n,this.bytes=i,this.uint=o,this.attribute_map={type:"type",bytes:"bytes",uint:"uint"}}static from_obj_for_encoding(n){if(void 0===n.type)throw Error(`Response is missing required field 'type': ${n}`);if(void 0===n.bytes)throw Error(`Response is missing required field 'bytes': ${n}`);if(void 0===n.uint)throw Error(`Response is missing required field 'uint': ${n}`);return new t5({type:n.type,bytes:n.bytes,uint:n.uint})}}class t4 extends e4{constructor({deltas:n}){super(),this.deltas=n,this.attribute_map={deltas:"Deltas"}}static from_obj_for_encoding(n){if(!Array.isArray(n.Deltas))throw Error(`Response is missing required array field 'Deltas': ${n}`);return new t4({deltas:n.Deltas.map(tP.from_obj_for_encoding)})}}class t6 extends e4{constructor({consensusVersion:n,fee:i,genesisHash:o,genesisId:a,lastRound:s,minFee:l}){super(),this.consensusVersion=n,this.fee=i,this.genesisHash="string"==typeof o?new Uint8Array(E.Buffer.from(o,"base64")):o,this.genesisId=a,this.lastRound=s,this.minFee=l,this.attribute_map={consensusVersion:"consensus-version",fee:"fee",genesisHash:"genesis-hash",genesisId:"genesis-id",lastRound:"last-round",minFee:"min-fee"}}static from_obj_for_encoding(n){if(void 0===n["consensus-version"])throw Error(`Response is missing required field 'consensus-version': ${n}`);if(void 0===n.fee)throw Error(`Response is missing required field 'fee': ${n}`);if(void 0===n["genesis-hash"])throw Error(`Response is missing required field 'genesis-hash': ${n}`);if(void 0===n["genesis-id"])throw Error(`Response is missing required field 'genesis-id': ${n}`);if(void 0===n["last-round"])throw Error(`Response is missing required field 'last-round': ${n}`);if(void 0===n["min-fee"])throw Error(`Response is missing required field 'min-fee': ${n}`);return new t6({consensusVersion:n["consensus-version"],fee:n.fee,genesisHash:n["genesis-hash"],genesisId:n["genesis-id"],lastRound:n["last-round"],minFee:n["min-fee"]})}}class t8 extends e4{constructor({idx:n,proof:i,stibhash:o,treedepth:a,hashtype:s}){super(),this.idx=n,this.proof="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.stibhash="string"==typeof o?new Uint8Array(E.Buffer.from(o,"base64")):o,this.treedepth=a,this.hashtype=s,this.attribute_map={idx:"idx",proof:"proof",stibhash:"stibhash",treedepth:"treedepth",hashtype:"hashtype"}}static from_obj_for_encoding(n){if(void 0===n.idx)throw Error(`Response is missing required field 'idx': ${n}`);if(void 0===n.proof)throw Error(`Response is missing required field 'proof': ${n}`);if(void 0===n.stibhash)throw Error(`Response is missing required field 'stibhash': ${n}`);if(void 0===n.treedepth)throw Error(`Response is missing required field 'treedepth': ${n}`);return new t8({idx:n.idx,proof:n.proof,stibhash:n.stibhash,treedepth:n.treedepth,hashtype:n.hashtype})}}class t9 extends e4{constructor({build:n,genesisHashB64:i,genesisId:o,versions:a}){super(),this.build=n,this.genesisHashB64="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.genesisId=o,this.versions=a,this.attribute_map={build:"build",genesisHashB64:"genesis_hash_b64",genesisId:"genesis_id",versions:"versions"}}static from_obj_for_encoding(n){if(void 0===n.build)throw Error(`Response is missing required field 'build': ${n}`);if(void 0===n.genesis_hash_b64)throw Error(`Response is missing required field 'genesis_hash_b64': ${n}`);if(void 0===n.genesis_id)throw Error(`Response is missing required field 'genesis_id': ${n}`);if(!Array.isArray(n.versions))throw Error(`Response is missing required array field 'versions': ${n}`);return new t9({build:tS.from_obj_for_encoding(n.build),genesisHashB64:n.genesis_hash_b64,genesisId:n.genesis_id,versions:n.versions})}}class t7{constructor(n,i){this.c=n,this.query={},this.intDecoding=i||C.DEFAULT}prepare(n){return n}async do(n={}){let i={};"default"!==this.intDecoding&&(i.intDecoding=this.intDecoding);let o=await this.c.get(this.path(),this.query,n,i);return this.prepare(o.body)}async doRaw(n={}){let i=await this.c.get(this.path(),this.query,n,{},!1);return i.body}setIntDecoding(n){if("default"!==n&&"safe"!==n&&"mixed"!==n&&"bigint"!==n)throw Error(`Invalid method for int decoding: ${n}`);return this.intDecoding=n,this}}class ne extends t7{constructor(n,i,o){super(n,i),this.account=o,this.account=o}path(){return`/v2/accounts/${this.account}`}exclude(n){return this.query.exclude=n,this}}class nt extends t7{constructor(n,i,o,a){super(n,i),this.account=o,this.assetID=a,this.account=o,this.assetID=a}path(){return`/v2/accounts/${this.account}/assets/${this.assetID}`}}class nn extends t7{constructor(n,i,o,a){super(n,i),this.account=o,this.applicationID=a,this.account=o,this.applicationID=a}path(){return`/v2/accounts/${this.account}/applications/${this.applicationID}`}}class nr extends t7{constructor(n,i){if(super(n),!Number.isInteger(i))throw Error("roundNumber should be an integer");this.round=i,this.query={format:"msgpack"}}path(){return`/v2/blocks/${this.round}`}prepare(n){if(n&&n.byteLength>0)return ew(n)}}function ni(n={}){let i=n;return Object.keys(i).every(n=>"content-type"!==n.toLowerCase())&&((i={...n})["Content-Type"]="text/plain"),i}class no extends t7{constructor(n,i){super(n),this.source=i,this.source=i}path(){return"/v2/teal/compile"}sourcemap(n=!0){return this.query.sourcemap=n,this}async do(n={}){let i=ni(n),o=await this.c.post(this.path(),E.Buffer.from(this.source),i,this.query);return o.body}}class na extends t7{constructor(n,i){super(n),this.blob=ev(i.get_obj_for_encoding(!0))}path(){return"/v2/teal/dryrun"}async do(n={}){let i=ni(n),o=await this.c.post(this.path(),E.Buffer.from(this.blob),i);return o.body}}class ns extends t7{path(){return"/genesis"}}class nl extends t7{constructor(n,i,o){super(n,i),this.index=o,this.index=o}path(){return`/v2/assets/${this.index}`}}class nu extends t7{constructor(n,i,o){super(n,i),this.index=o,this.index=o}path(){return`/v2/applications/${this.index}`}}class nc extends t7{constructor(n,i,o){if(super(n,i),!Number.isInteger(o))throw Error("roundNumber should be an integer");this.round=o}path(){return`/v2/blocks/${this.round}/hash`}}class nd extends t7{constructor(n,i,o){if(super(n,i),!Number.isInteger(o))throw Error("roundNumber should be an integer");this.round=o}path(){return`/v2/blocks/${this.round}/txids`}}class np extends t7{constructor(n,i,o,a){super(n,i),this.index=o,this.index=o;let s=E.Buffer.from(a).toString("base64");this.query.name=encodeURI(`b64:${s}`)}path(){return`/v2/applications/${this.index}/box`}prepare(n){return ty.from_obj_for_encoding(n)}}class nf extends t7{constructor(n,i,o){super(n,i),this.index=o,this.index=o,this.query.max=0}path(){return`/v2/applications/${this.index}/boxes`}max(n){return this.query.max=n,this}prepare(n){return tE.from_obj_for_encoding(n)}}class nh extends t7{path(){return"/health"}async do(n={}){let i=await this.c.get(this.path(),{},n);if(!i.ok)throw Error(`Health response: ${i.status}`);return{}}}class nm extends t7{constructor(n,i){super(n),this.txid=i,this.txid=i,this.query.format="msgpack"}prepare(n){if(n&&n.byteLength>0)return ew(n)}path(){return`/v2/transactions/pending/${this.txid}`}max(n){return this.query.max=n,this}}class ng extends t7{constructor(n){super(n),this.query.format="msgpack"}path(){return"/v2/transactions/pending"}prepare(n){if(n&&n.byteLength>0)return ew(n)}max(n){return this.query.max=n,this}}class nb extends t7{constructor(n,i){super(n),this.address=i,this.address=i,this.query.format="msgpack"}prepare(n){if(n&&n.byteLength>0)return ew(n)}path(){return`/v2/accounts/${this.address}/transactions/pending`}max(n){return this.query.max=n,this}}class ny extends t7{constructor(n,i,o,a){super(n,i),this.round=o,this.txID=a,this.round=o,this.txID=a}path(){return`/v2/blocks/${this.round}/transactions/${this.txID}/proof`}hashType(n){return this.query.hashtype=n,this}}function nv(n={}){let i=n;return Object.keys(i).every(n=>"content-type"!==n.toLowerCase())&&((i={...n})["Content-Type"]="application/x-binary"),i}function nw(n){return n&&void 0!==n.byteLength}class nE extends t7{constructor(n,i){super(n);let o=i;if(Array.isArray(i)){if(!i.every(nw))throw TypeError("Array elements must be byte arrays");o=I(...i)}else if(!nw(o))throw TypeError("Argument must be byte array");this.txnBytesToPost=o}path(){return"/v2/transactions"}async do(n={}){let i=nv(n),o=await this.c.post(this.path(),E.Buffer.from(this.txnBytesToPost),i);return o.body}}class nS extends t7{path(){return"/v2/status"}}class nx extends t7{constructor(n,i,o){if(super(n,i),this.round=o,!Number.isInteger(o))throw Error("round should be an integer");this.round=o}path(){return`/v2/status/wait-for-block-after/${this.round}`}}class n_ extends t7{path(){return"/v2/transactions/params"}prepare(n){return{flatFee:!1,fee:n.fee,firstRound:n["last-round"],lastRound:n["last-round"]+1e3,genesisID:n["genesis-id"],genesisHash:n["genesis-hash"],minFee:n["min-fee"]}}}class nk extends t7{path(){return"/v2/ledger/supply"}}class nA extends t7{path(){return"/versions"}}class nT extends t7{constructor(n,i,o){super(n,i),this.round=o,this.round=o}path(){return`/v2/blocks/${this.round}/lightheader/proof`}}class nC extends t7{constructor(n,i,o){super(n,i),this.round=o,this.round=o}path(){return`/v2/stateproofs/${this.round}`}}class nR extends t7{constructor(n,i,o){super(n,i),this.round=o,this.round=o}path(){return`/v2/ledger/sync/${this.round}`}async do(n={}){let i=await this.c.post(this.path(),n);return i.body}}class nD extends t7{path(){return"/v2/ledger/sync"}prepare(n){return tM.from_obj_for_encoding(n)}}class nO extends t7{constructor(n,i,o){super(n,i),this.offset=o,this.offset=o}path(){return`/v2/devmode/blocks/offset/${this.offset}`}async do(n={}){let i=await this.c.post(this.path(),n);return i.body}}class nI extends t7{path(){return"/v2/devmode/blocks/offset"}prepare(n){return tN.from_obj_for_encoding(n)}}function nN(n={}){let i=n;return Object.keys(i).every(n=>"content-type"!==n.toLowerCase())&&((i={...n})["Content-Type"]="text/plain"),i}class nM extends t7{constructor(n,i){super(n),this.source=i,this.source=i}path(){return"/v2/teal/disassemble"}async do(n={}){let i=nN(n),o=await this.c.post(this.path(),E.Buffer.from(this.source),i,this.query);return o.body}}function nL(n={}){let i=n;return Object.keys(i).every(n=>"content-type"!==n.toLowerCase())&&((i={...n})["Content-Type"]="application/msgpack"),i}class nP extends t7{constructor(n,i){super(n),this.query.format="msgpack",this.requestBytes=ey(i.get_obj_for_encoding(!0))}path(){return"/v2/transactions/simulate"}async do(n={}){let i=nL(n),o=await this.c.post(this.path(),E.Buffer.from(this.requestBytes),i,this.query,!1);return this.prepare(o.body)}prepare(n){let i=ew(n);return tq.from_obj_for_encoding(i)}}class nF extends t7{path(){return"/ready"}}class nB extends t7{path(){return"/v2/ledger/sync"}async do(n={}){let i=await this.c.delete(this.path(),n);return i.body}}class nU extends t7{constructor(n,i,o){super(n,i),this.id=o,this.id=o,this.query={format:"json"}}path(){return`/v2/deltas/txn/group/${this.id}`}}class nz extends t7{constructor(n,i,o){super(n,i),this.round=o,this.round=o,this.query={format:"json"}}path(){return`/v2/deltas/${this.round}`}}class nj extends t7{constructor(n,i,o){super(n,i),this.round=o,this.round=o,this.query={format:"json"}}path(){return`/v2/deltas/${this.round}/txn/group`}prepare(n){return t4.from_obj_for_encoding(n)}}class n$ extends e2{constructor(n,i,o,a={}){super("X-Algo-API-Token",n,i,o,a)}healthCheck(){return new nh(this.c)}versionsCheck(){return new nA(this.c)}sendRawTransaction(n){return new nE(this.c,n)}accountInformation(n){return new ne(this.c,this.intDecoding,n)}accountAssetInformation(n,i){return new nt(this.c,this.intDecoding,n,i)}accountApplicationInformation(n,i){return new nn(this.c,this.intDecoding,n,i)}block(n){return new nr(this.c,n)}getBlockHash(n){return new nc(this.c,this.intDecoding,n)}getBlockTxids(n){return new nd(this.c,this.intDecoding,n)}pendingTransactionInformation(n){return new nm(this.c,n)}pendingTransactionsInformation(){return new ng(this.c)}pendingTransactionByAddress(n){return new nb(this.c,n)}status(){return new nS(this.c,this.intDecoding)}statusAfterBlock(n){return new nx(this.c,this.intDecoding,n)}getTransactionParams(){return new n_(this.c)}supply(){return new nk(this.c,this.intDecoding)}compile(n){return new no(this.c,n)}disassemble(n){return new nM(this.c,n)}dryrun(n){return new na(this.c,n)}getAssetByID(n){return new nl(this.c,this.intDecoding,n)}getApplicationByID(n){return new nu(this.c,this.intDecoding,n)}getApplicationBoxByName(n,i){return new np(this.c,this.intDecoding,n,i)}getApplicationBoxes(n){return new nf(this.c,this.intDecoding,n)}genesis(){return new ns(this.c,this.intDecoding)}getTransactionProof(n,i){return new ny(this.c,this.intDecoding,n,i)}getLightBlockHeaderProof(n){return new nT(this.c,this.intDecoding,n)}getStateProof(n){return new nC(this.c,this.intDecoding,n)}simulateRawTransactions(n){let i=[];if(Array.isArray(n))for(let o of n)i.push(ew(o));else i.push(ew(n));let a=new tV({txnGroups:[new tG({txns:i})]});return this.simulateTransactions(a)}simulateTransactions(n){return new nP(this.c,n)}setBlockOffsetTimestamp(n){return new nO(this.c,this.intDecoding,n)}getBlockOffsetTimestamp(){return new nI(this.c,this.intDecoding)}setSyncRound(n){return new nR(this.c,this.intDecoding,n)}unsetSyncRound(){return new nB(this.c,this.intDecoding)}getSyncRound(){return new nD(this.c,this.intDecoding)}ready(){return new nF(this.c,this.intDecoding)}getLedgerStateDeltaForTransactionGroup(n){return new nU(this.c,this.intDecoding,n)}getLedgerStateDelta(n){return new nz(this.c,this.intDecoding,n)}getTransactionGroupLedgerStateDeltasForRound(n){return new nj(this.c,this.intDecoding,n)}}class nH extends e2{constructor(n,i="http://127.0.0.1",o=7833,a={}){super("X-KMD-API-Token",n,i,o,a)}async versions(){let n=await this.c.get("/versions");return n.body}async listWallets(){let n=await this.c.get("/v1/wallets");return n.body}async createWallet(n,i,o=new Uint8Array,a="sqlite"){let s={wallet_name:n,wallet_driver_name:a,wallet_password:i,master_derivation_key:E.Buffer.from(o).toString("base64")},l=await this.c.post("/v1/wallet",s);return l.body}async initWalletHandle(n,i){let o={wallet_id:n,wallet_password:i},a=await this.c.post("/v1/wallet/init",o);return a.body}async releaseWalletHandle(n){let i={wallet_handle_token:n},o=await this.c.post("/v1/wallet/release",i);return o.body}async renewWalletHandle(n){let i={wallet_handle_token:n},o=await this.c.post("/v1/wallet/renew",i);return o.body}async renameWallet(n,i,o){let a={wallet_id:n,wallet_password:i,wallet_name:o},s=await this.c.post("/v1/wallet/rename",a);return s.body}async getWallet(n){let i={wallet_handle_token:n},o=await this.c.post("/v1/wallet/info",i);return o.body}async exportMasterDerivationKey(n,i){let o={wallet_handle_token:n,wallet_password:i},a=await this.c.post("/v1/master-key/export",o);return{master_derivation_key:E.Buffer.from(a.body.master_derivation_key,"base64")}}async importKey(n,i){let o={wallet_handle_token:n,private_key:E.Buffer.from(i).toString("base64")},a=await this.c.post("/v1/key/import",o);return a.body}async exportKey(n,i,o){let a={wallet_handle_token:n,address:o,wallet_password:i},s=await this.c.post("/v1/key/export",a);return{private_key:E.Buffer.from(s.body.private_key,"base64")}}async generateKey(n){let i={wallet_handle_token:n,display_mnemonic:!1},o=await this.c.post("/v1/key",i);return o.body}async deleteKey(n,i,o){let a={wallet_handle_token:n,address:o,wallet_password:i},s=await this.c.delete("/v1/key",a);return s.body}async listKeys(n){let i={wallet_handle_token:n},o=await this.c.post("/v1/key/list",i);return o.body}async signTransaction(n,i,o){let a=e$(o),s={wallet_handle_token:n,wallet_password:i,transaction:E.Buffer.from(a.toByte()).toString("base64")},l=await this.c.post("/v1/transaction/sign",s);return 200===l.status?E.Buffer.from(l.body.signed_transaction,"base64"):l.body}async signTransactionWithSpecificPublicKey(n,i,o,a){let s=e$(o),l={wallet_handle_token:n,wallet_password:i,transaction:E.Buffer.from(s.toByte()).toString("base64"),public_key:E.Buffer.from(a).toString("base64")},u=await this.c.post("/v1/transaction/sign",l);return 200===u.status?E.Buffer.from(u.body.signed_transaction,"base64"):u.body}async listMultisig(n){let i={wallet_handle_token:n},o=await this.c.post("/v1/multisig/list",i);return o.body}async importMultisig(n,i,o,a){let s={wallet_handle_token:n,multisig_version:i,threshold:o,pks:a},l=await this.c.post("/v1/multisig/import",s);return l.body}async exportMultisig(n,i){let o={wallet_handle_token:n,address:i},a=await this.c.post("/v1/multisig/export",o);return a.body}async signMultisigTransaction(n,i,o,a,s){let l=e$(o),u={wallet_handle_token:n,transaction:E.Buffer.from(l.toByte()).toString("base64"),public_key:E.Buffer.from(a).toString("base64"),partial_multisig:s,wallet_password:i},c=await this.c.post("/v1/multisig/sign",u);return c.body}async deleteMultisig(n,i,o){let a={wallet_handle_token:n,address:o,wallet_password:i},s=await this.c.delete("/v1/multisig",a);return s.body}}class nV extends t7{path(){return"/health"}}class nG extends t7{constructor(n,i,o){super(n,i),this.index=o,this.index=o}path(){return`/v2/assets/${this.index}/balances`}limit(n){return this.query.limit=n,this}currencyGreaterThan(n){return this.query["currency-greater-than"]=n.toString(),this}currencyLessThan(n){return this.query["currency-less-than"]=n,this}nextToken(n){return this.query.next=n,this}includeAll(n=!0){return this.query["include-all"]=n,this}}function nq(n){return"string"==typeof n?n:E.Buffer.from(n).toString("base64")}class nW extends t7{constructor(n,i,o){super(n,i),this.account=o,this.account=o}path(){return`/v2/accounts/${this.account}/transactions`}notePrefix(n){return this.query["note-prefix"]=nq(n),this}txType(n){return this.query["tx-type"]=n,this}sigType(n){return this.query["sig-type"]=n,this}txid(n){return this.query.txid=n,this}round(n){return this.query.round=n,this}minRound(n){return this.query["min-round"]=n,this}maxRound(n){return this.query["max-round"]=n,this}assetID(n){return this.query["asset-id"]=n,this}limit(n){return this.query.limit=n,this}beforeTime(n){return this.query["before-time"]=n,this}afterTime(n){return this.query["after-time"]=n,this}currencyGreaterThan(n){return this.query["currency-greater-than"]=n.toString(),this}currencyLessThan(n){return this.query["currency-less-than"]=n,this}nextToken(n){return this.query.next=n,this}rekeyTo(n){return this.query["rekey-to"]=n,this}}class nK extends t7{constructor(n,i,o){super(n,i),this.index=o,this.index=o}path(){return`/v2/assets/${this.index}/transactions`}notePrefix(n){return this.query["note-prefix"]=nq(n),this}txType(n){return this.query["tx-type"]=n,this}sigType(n){return this.query["sig-type"]=n,this}txid(n){return this.query.txid=n,this}round(n){return this.query.round=n,this}minRound(n){return this.query["min-round"]=n,this}maxRound(n){return this.query["max-round"]=n,this}limit(n){return this.query.limit=n,this}beforeTime(n){return this.query["before-time"]=n,this}afterTime(n){return this.query["after-time"]=n,this}currencyGreaterThan(n){return this.query["currency-greater-than"]=n.toString(),this}currencyLessThan(n){return this.query["currency-less-than"]=n,this}addressRole(n){return this.query["address-role"]=n,this}address(n){return this.query.address=n,this}excludeCloseTo(n){return this.query["exclude-close-to"]=n,this}nextToken(n){return this.query.next=n,this}rekeyTo(n){return this.query["rekey-to"]=n,this}}class nY extends t7{constructor(n,i,o){super(n,i),this.round=o,this.round=o}path(){return`/v2/blocks/${this.round}`}headerOnly(n){return this.query["header-only"]=n,this}}class nZ extends t7{constructor(n,i,o){super(n,i),this.txID=o,this.txID=o}path(){return`/v2/transactions/${this.txID}`}}class nX extends t7{constructor(n,i,o){super(n,i),this.account=o,this.account=o}path(){return`/v2/accounts/${this.account}`}round(n){return this.query.round=n,this}includeAll(n=!0){return this.query["include-all"]=n,this}exclude(n){return this.query.exclude=n,this}}class nJ extends t7{constructor(n,i,o){super(n,i),this.account=o,this.account=o}path(){return`/v2/accounts/${this.account}/assets`}limit(n){return this.query.limit=n,this}round(n){return this.query.round=n,this}nextToken(n){return this.query.next=n,this}includeAll(n=!0){return this.query["include-all"]=n,this}assetId(n){return this.query["asset-id"]=n,this}}class nQ extends t7{constructor(n,i,o){super(n,i),this.account=o,this.account=o}path(){return`/v2/accounts/${this.account}/created-assets`}limit(n){return this.query.limit=n,this}round(n){return this.query.round=n,this}nextToken(n){return this.query.next=n,this}includeAll(n=!0){return this.query["include-all"]=n,this}assetID(n){return this.query["asset-id"]=n,this}}class n0 extends t7{constructor(n,i,o){super(n,i),this.account=o,this.account=o}path(){return`/v2/accounts/${this.account}/apps-local-state`}limit(n){return this.query.limit=n,this}round(n){return this.query.round=n,this}nextToken(n){return this.query.next=n,this}includeAll(n=!0){return this.query["include-all"]=n,this}applicationID(n){return this.query["application-id"]=n,this}}class n1 extends t7{constructor(n,i,o){super(n,i),this.account=o,this.account=o}path(){return`/v2/accounts/${this.account}/created-applications`}limit(n){return this.query.limit=n,this}round(n){return this.query.round=n,this}nextToken(n){return this.query.next=n,this}includeAll(n=!0){return this.query["include-all"]=n,this}applicationID(n){return this.query["application-id"]=n,this}}class n2 extends t7{constructor(n,i,o){super(n,i),this.index=o,this.index=o}path(){return`/v2/assets/${this.index}`}includeAll(n=!0){return this.query["include-all"]=n,this}}class n3 extends t7{constructor(n,i,o){super(n,i),this.index=o,this.index=o}path(){return`/v2/applications/${this.index}`}includeAll(n=!0){return this.query["include-all"]=n,this}}class n5 extends t7{constructor(n,i,o){super(n,i),this.appID=o,this.appID=o}path(){return`/v2/applications/${this.appID}/logs`}limit(n){return this.query.limit=n,this}minRound(n){return this.query["min-round"]=n,this}maxRound(n){return this.query["max-round"]=n,this}nextToken(n){return this.query.next=n,this}sender(n){return this.query["sender-address"]=n,this}txid(n){return this.query.txid=n,this}}class n4 extends e4{constructor({address:n,amount:i,amountWithoutPendingRewards:o,pendingRewards:a,rewards:s,round:l,status:u,totalAppsOptedIn:c,totalAssetsOptedIn:d,totalBoxBytes:p,totalBoxes:f,totalCreatedApps:h,totalCreatedAssets:m,appsLocalState:g,appsTotalExtraPages:b,appsTotalSchema:y,assets:v,authAddr:w,closedAtRound:E,createdApps:S,createdAssets:x,createdAtRound:_,deleted:k,participation:A,rewardBase:T,sigType:C}){super(),this.address=n,this.amount=i,this.amountWithoutPendingRewards=o,this.pendingRewards=a,this.rewards=s,this.round=l,this.status=u,this.totalAppsOptedIn=c,this.totalAssetsOptedIn=d,this.totalBoxBytes=p,this.totalBoxes=f,this.totalCreatedApps=h,this.totalCreatedAssets=m,this.appsLocalState=g,this.appsTotalExtraPages=b,this.appsTotalSchema=y,this.assets=v,this.authAddr=w,this.closedAtRound=E,this.createdApps=S,this.createdAssets=x,this.createdAtRound=_,this.deleted=k,this.participation=A,this.rewardBase=T,this.sigType=C,this.attribute_map={address:"address",amount:"amount",amountWithoutPendingRewards:"amount-without-pending-rewards",pendingRewards:"pending-rewards",rewards:"rewards",round:"round",status:"status",totalAppsOptedIn:"total-apps-opted-in",totalAssetsOptedIn:"total-assets-opted-in",totalBoxBytes:"total-box-bytes",totalBoxes:"total-boxes",totalCreatedApps:"total-created-apps",totalCreatedAssets:"total-created-assets",appsLocalState:"apps-local-state",appsTotalExtraPages:"apps-total-extra-pages",appsTotalSchema:"apps-total-schema",assets:"assets",authAddr:"auth-addr",closedAtRound:"closed-at-round",createdApps:"created-apps",createdAssets:"created-assets",createdAtRound:"created-at-round",deleted:"deleted",participation:"participation",rewardBase:"reward-base",sigType:"sig-type"}}static from_obj_for_encoding(n){if(void 0===n.address)throw Error(`Response is missing required field 'address': ${n}`);if(void 0===n.amount)throw Error(`Response is missing required field 'amount': ${n}`);if(void 0===n["amount-without-pending-rewards"])throw Error(`Response is missing required field 'amount-without-pending-rewards': ${n}`);if(void 0===n["pending-rewards"])throw Error(`Response is missing required field 'pending-rewards': ${n}`);if(void 0===n.rewards)throw Error(`Response is missing required field 'rewards': ${n}`);if(void 0===n.round)throw Error(`Response is missing required field 'round': ${n}`);if(void 0===n.status)throw Error(`Response is missing required field 'status': ${n}`);if(void 0===n["total-apps-opted-in"])throw Error(`Response is missing required field 'total-apps-opted-in': ${n}`);if(void 0===n["total-assets-opted-in"])throw Error(`Response is missing required field 'total-assets-opted-in': ${n}`);if(void 0===n["total-box-bytes"])throw Error(`Response is missing required field 'total-box-bytes': ${n}`);if(void 0===n["total-boxes"])throw Error(`Response is missing required field 'total-boxes': ${n}`);if(void 0===n["total-created-apps"])throw Error(`Response is missing required field 'total-created-apps': ${n}`);if(void 0===n["total-created-assets"])throw Error(`Response is missing required field 'total-created-assets': ${n}`);return new n4({address:n.address,amount:n.amount,amountWithoutPendingRewards:n["amount-without-pending-rewards"],pendingRewards:n["pending-rewards"],rewards:n.rewards,round:n.round,status:n.status,totalAppsOptedIn:n["total-apps-opted-in"],totalAssetsOptedIn:n["total-assets-opted-in"],totalBoxBytes:n["total-box-bytes"],totalBoxes:n["total-boxes"],totalCreatedApps:n["total-created-apps"],totalCreatedAssets:n["total-created-assets"],appsLocalState:void 0!==n["apps-local-state"]?n["apps-local-state"].map(rt.from_obj_for_encoding):void 0,appsTotalExtraPages:n["apps-total-extra-pages"],appsTotalSchema:void 0!==n["apps-total-schema"]?rs.from_obj_for_encoding(n["apps-total-schema"]):void 0,assets:void 0!==n.assets?n.assets.map(rd.from_obj_for_encoding):void 0,authAddr:n["auth-addr"],closedAtRound:n["closed-at-round"],createdApps:void 0!==n["created-apps"]?n["created-apps"].map(re.from_obj_for_encoding):void 0,createdAssets:void 0!==n["created-assets"]?n["created-assets"].map(ru.from_obj_for_encoding):void 0,createdAtRound:n["created-at-round"],deleted:n.deleted,participation:void 0!==n.participation?n6.from_obj_for_encoding(n.participation):void 0,rewardBase:n["reward-base"],sigType:n["sig-type"]})}}class n6 extends e4{constructor({selectionParticipationKey:n,voteFirstValid:i,voteKeyDilution:o,voteLastValid:a,voteParticipationKey:s,stateProofKey:l}){super(),this.selectionParticipationKey="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.voteFirstValid=i,this.voteKeyDilution=o,this.voteLastValid=a,this.voteParticipationKey="string"==typeof s?new Uint8Array(E.Buffer.from(s,"base64")):s,this.stateProofKey="string"==typeof l?new Uint8Array(E.Buffer.from(l,"base64")):l,this.attribute_map={selectionParticipationKey:"selection-participation-key",voteFirstValid:"vote-first-valid",voteKeyDilution:"vote-key-dilution",voteLastValid:"vote-last-valid",voteParticipationKey:"vote-participation-key",stateProofKey:"state-proof-key"}}static from_obj_for_encoding(n){if(void 0===n["selection-participation-key"])throw Error(`Response is missing required field 'selection-participation-key': ${n}`);if(void 0===n["vote-first-valid"])throw Error(`Response is missing required field 'vote-first-valid': ${n}`);if(void 0===n["vote-key-dilution"])throw Error(`Response is missing required field 'vote-key-dilution': ${n}`);if(void 0===n["vote-last-valid"])throw Error(`Response is missing required field 'vote-last-valid': ${n}`);if(void 0===n["vote-participation-key"])throw Error(`Response is missing required field 'vote-participation-key': ${n}`);return new n6({selectionParticipationKey:n["selection-participation-key"],voteFirstValid:n["vote-first-valid"],voteKeyDilution:n["vote-key-dilution"],voteLastValid:n["vote-last-valid"],voteParticipationKey:n["vote-participation-key"],stateProofKey:n["state-proof-key"]})}}class n8 extends e4{constructor({account:n,currentRound:i}){super(),this.account=n,this.currentRound=i,this.attribute_map={account:"account",currentRound:"current-round"}}static from_obj_for_encoding(n){if(void 0===n.account)throw Error(`Response is missing required field 'account': ${n}`);if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);return new n8({account:n4.from_obj_for_encoding(n.account),currentRound:n["current-round"]})}}class n9 extends e4{constructor({address:n,delta:i}){super(),this.address=n,this.delta=i,this.attribute_map={address:"address",delta:"delta"}}static from_obj_for_encoding(n){if(void 0===n.address)throw Error(`Response is missing required field 'address': ${n}`);if(!Array.isArray(n.delta))throw Error(`Response is missing required array field 'delta': ${n}`);return new n9({address:n.address,delta:n.delta.map(rk.from_obj_for_encoding)})}}class n7 extends e4{constructor({accounts:n,currentRound:i,nextToken:o}){super(),this.accounts=n,this.currentRound=i,this.nextToken=o,this.attribute_map={accounts:"accounts",currentRound:"current-round",nextToken:"next-token"}}static from_obj_for_encoding(n){if(!Array.isArray(n.accounts))throw Error(`Response is missing required array field 'accounts': ${n}`);if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);return new n7({accounts:n.accounts.map(n4.from_obj_for_encoding),currentRound:n["current-round"],nextToken:n["next-token"]})}}class re extends e4{constructor({id:n,params:i,createdAtRound:o,deleted:a,deletedAtRound:s}){super(),this.id=n,this.params=i,this.createdAtRound=o,this.deleted=a,this.deletedAtRound=s,this.attribute_map={id:"id",params:"params",createdAtRound:"created-at-round",deleted:"deleted",deletedAtRound:"deleted-at-round"}}static from_obj_for_encoding(n){if(void 0===n.id)throw Error(`Response is missing required field 'id': ${n}`);if(void 0===n.params)throw Error(`Response is missing required field 'params': ${n}`);return new re({id:n.id,params:ro.from_obj_for_encoding(n.params),createdAtRound:n["created-at-round"],deleted:n.deleted,deletedAtRound:n["deleted-at-round"]})}}class rt extends e4{constructor({id:n,schema:i,closedOutAtRound:o,deleted:a,keyValue:s,optedInAtRound:l}){super(),this.id=n,this.schema=i,this.closedOutAtRound=o,this.deleted=a,this.keyValue=s,this.optedInAtRound=l,this.attribute_map={id:"id",schema:"schema",closedOutAtRound:"closed-out-at-round",deleted:"deleted",keyValue:"key-value",optedInAtRound:"opted-in-at-round"}}static from_obj_for_encoding(n){if(void 0===n.id)throw Error(`Response is missing required field 'id': ${n}`);if(void 0===n.schema)throw Error(`Response is missing required field 'schema': ${n}`);return new rt({id:n.id,schema:rs.from_obj_for_encoding(n.schema),closedOutAtRound:n["closed-out-at-round"],deleted:n.deleted,keyValue:void 0!==n["key-value"]?n["key-value"].map(rz.from_obj_for_encoding):void 0,optedInAtRound:n["opted-in-at-round"]})}}class rn extends e4{constructor({appsLocalStates:n,currentRound:i,nextToken:o}){super(),this.appsLocalStates=n,this.currentRound=i,this.nextToken=o,this.attribute_map={appsLocalStates:"apps-local-states",currentRound:"current-round",nextToken:"next-token"}}static from_obj_for_encoding(n){if(!Array.isArray(n["apps-local-states"]))throw Error(`Response is missing required array field 'apps-local-states': ${n}`);if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);return new rn({appsLocalStates:n["apps-local-states"].map(rt.from_obj_for_encoding),currentRound:n["current-round"],nextToken:n["next-token"]})}}class rr extends e4{constructor({logs:n,txid:i}){super(),this.logs=n,this.txid=i,this.attribute_map={logs:"logs",txid:"txid"}}static from_obj_for_encoding(n){if(!Array.isArray(n.logs))throw Error(`Response is missing required array field 'logs': ${n}`);if(void 0===n.txid)throw Error(`Response is missing required field 'txid': ${n}`);return new rr({logs:n.logs,txid:n.txid})}}class ri extends e4{constructor({applicationId:n,currentRound:i,logData:o,nextToken:a}){super(),this.applicationId=n,this.currentRound=i,this.logData=o,this.nextToken=a,this.attribute_map={applicationId:"application-id",currentRound:"current-round",logData:"log-data",nextToken:"next-token"}}static from_obj_for_encoding(n){if(void 0===n["application-id"])throw Error(`Response is missing required field 'application-id': ${n}`);if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);return new ri({applicationId:n["application-id"],currentRound:n["current-round"],logData:void 0!==n["log-data"]?n["log-data"].map(rr.from_obj_for_encoding):void 0,nextToken:n["next-token"]})}}class ro extends e4{constructor({approvalProgram:n,clearStateProgram:i,creator:o,extraProgramPages:a,globalState:s,globalStateSchema:l,localStateSchema:u}){super(),this.approvalProgram="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.clearStateProgram="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.creator=o,this.extraProgramPages=a,this.globalState=s,this.globalStateSchema=l,this.localStateSchema=u,this.attribute_map={approvalProgram:"approval-program",clearStateProgram:"clear-state-program",creator:"creator",extraProgramPages:"extra-program-pages",globalState:"global-state",globalStateSchema:"global-state-schema",localStateSchema:"local-state-schema"}}static from_obj_for_encoding(n){if(void 0===n["approval-program"])throw Error(`Response is missing required field 'approval-program': ${n}`);if(void 0===n["clear-state-program"])throw Error(`Response is missing required field 'clear-state-program': ${n}`);return new ro({approvalProgram:n["approval-program"],clearStateProgram:n["clear-state-program"],creator:n.creator,extraProgramPages:n["extra-program-pages"],globalState:void 0!==n["global-state"]?n["global-state"].map(rz.from_obj_for_encoding):void 0,globalStateSchema:void 0!==n["global-state-schema"]?rs.from_obj_for_encoding(n["global-state-schema"]):void 0,localStateSchema:void 0!==n["local-state-schema"]?rs.from_obj_for_encoding(n["local-state-schema"]):void 0})}}class ra extends e4{constructor({currentRound:n,application:i}){super(),this.currentRound=n,this.application=i,this.attribute_map={currentRound:"current-round",application:"application"}}static from_obj_for_encoding(n){if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);return new ra({currentRound:n["current-round"],application:void 0!==n.application?re.from_obj_for_encoding(n.application):void 0})}}class rs extends e4{constructor({numByteSlice:n,numUint:i}){super(),this.numByteSlice=n,this.numUint=i,this.attribute_map={numByteSlice:"num-byte-slice",numUint:"num-uint"}}static from_obj_for_encoding(n){if(void 0===n["num-byte-slice"])throw Error(`Response is missing required field 'num-byte-slice': ${n}`);if(void 0===n["num-uint"])throw Error(`Response is missing required field 'num-uint': ${n}`);return new rs({numByteSlice:n["num-byte-slice"],numUint:n["num-uint"]})}}class rl extends e4{constructor({applications:n,currentRound:i,nextToken:o}){super(),this.applications=n,this.currentRound=i,this.nextToken=o,this.attribute_map={applications:"applications",currentRound:"current-round",nextToken:"next-token"}}static from_obj_for_encoding(n){if(!Array.isArray(n.applications))throw Error(`Response is missing required array field 'applications': ${n}`);if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);return new rl({applications:n.applications.map(re.from_obj_for_encoding),currentRound:n["current-round"],nextToken:n["next-token"]})}}class ru extends e4{constructor({index:n,params:i,createdAtRound:o,deleted:a,destroyedAtRound:s}){super(),this.index=n,this.params=i,this.createdAtRound=o,this.deleted=a,this.destroyedAtRound=s,this.attribute_map={index:"index",params:"params",createdAtRound:"created-at-round",deleted:"deleted",destroyedAtRound:"destroyed-at-round"}}static from_obj_for_encoding(n){if(void 0===n.index)throw Error(`Response is missing required field 'index': ${n}`);if(void 0===n.params)throw Error(`Response is missing required field 'params': ${n}`);return new ru({index:n.index,params:rf.from_obj_for_encoding(n.params),createdAtRound:n["created-at-round"],deleted:n.deleted,destroyedAtRound:n["destroyed-at-round"]})}}class rc extends e4{constructor({balances:n,currentRound:i,nextToken:o}){super(),this.balances=n,this.currentRound=i,this.nextToken=o,this.attribute_map={balances:"balances",currentRound:"current-round",nextToken:"next-token"}}static from_obj_for_encoding(n){if(!Array.isArray(n.balances))throw Error(`Response is missing required array field 'balances': ${n}`);if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);return new rc({balances:n.balances.map(rD.from_obj_for_encoding),currentRound:n["current-round"],nextToken:n["next-token"]})}}class rd extends e4{constructor({amount:n,assetId:i,isFrozen:o,deleted:a,optedInAtRound:s,optedOutAtRound:l}){super(),this.amount=n,this.assetId=i,this.isFrozen=o,this.deleted=a,this.optedInAtRound=s,this.optedOutAtRound=l,this.attribute_map={amount:"amount",assetId:"asset-id",isFrozen:"is-frozen",deleted:"deleted",optedInAtRound:"opted-in-at-round",optedOutAtRound:"opted-out-at-round"}}static from_obj_for_encoding(n){if(void 0===n.amount)throw Error(`Response is missing required field 'amount': ${n}`);if(void 0===n["asset-id"])throw Error(`Response is missing required field 'asset-id': ${n}`);if(void 0===n["is-frozen"])throw Error(`Response is missing required field 'is-frozen': ${n}`);return new rd({amount:n.amount,assetId:n["asset-id"],isFrozen:n["is-frozen"],deleted:n.deleted,optedInAtRound:n["opted-in-at-round"],optedOutAtRound:n["opted-out-at-round"]})}}class rp extends e4{constructor({assets:n,currentRound:i,nextToken:o}){super(),this.assets=n,this.currentRound=i,this.nextToken=o,this.attribute_map={assets:"assets",currentRound:"current-round",nextToken:"next-token"}}static from_obj_for_encoding(n){if(!Array.isArray(n.assets))throw Error(`Response is missing required array field 'assets': ${n}`);if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);return new rp({assets:n.assets.map(rd.from_obj_for_encoding),currentRound:n["current-round"],nextToken:n["next-token"]})}}class rf extends e4{constructor({creator:n,decimals:i,total:o,clawback:a,defaultFrozen:s,freeze:l,manager:u,metadataHash:c,name:d,nameB64:p,reserve:f,unitName:h,unitNameB64:m,url:g,urlB64:b}){super(),this.creator=n,this.decimals=i,this.total=o,this.clawback=a,this.defaultFrozen=s,this.freeze=l,this.manager=u,this.metadataHash="string"==typeof c?new Uint8Array(E.Buffer.from(c,"base64")):c,this.name=d,this.nameB64="string"==typeof p?new Uint8Array(E.Buffer.from(p,"base64")):p,this.reserve=f,this.unitName=h,this.unitNameB64="string"==typeof m?new Uint8Array(E.Buffer.from(m,"base64")):m,this.url=g,this.urlB64="string"==typeof b?new Uint8Array(E.Buffer.from(b,"base64")):b,this.attribute_map={creator:"creator",decimals:"decimals",total:"total",clawback:"clawback",defaultFrozen:"default-frozen",freeze:"freeze",manager:"manager",metadataHash:"metadata-hash",name:"name",nameB64:"name-b64",reserve:"reserve",unitName:"unit-name",unitNameB64:"unit-name-b64",url:"url",urlB64:"url-b64"}}static from_obj_for_encoding(n){if(void 0===n.creator)throw Error(`Response is missing required field 'creator': ${n}`);if(void 0===n.decimals)throw Error(`Response is missing required field 'decimals': ${n}`);if(void 0===n.total)throw Error(`Response is missing required field 'total': ${n}`);return new rf({creator:n.creator,decimals:n.decimals,total:n.total,clawback:n.clawback,defaultFrozen:n["default-frozen"],freeze:n.freeze,manager:n.manager,metadataHash:n["metadata-hash"],name:n.name,nameB64:n["name-b64"],reserve:n.reserve,unitName:n["unit-name"],unitNameB64:n["unit-name-b64"],url:n.url,urlB64:n["url-b64"]})}}class rh extends e4{constructor({asset:n,currentRound:i}){super(),this.asset=n,this.currentRound=i,this.attribute_map={asset:"asset",currentRound:"current-round"}}static from_obj_for_encoding(n){if(void 0===n.asset)throw Error(`Response is missing required field 'asset': ${n}`);if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);return new rh({asset:ru.from_obj_for_encoding(n.asset),currentRound:n["current-round"]})}}class rm extends e4{constructor({assets:n,currentRound:i,nextToken:o}){super(),this.assets=n,this.currentRound=i,this.nextToken=o,this.attribute_map={assets:"assets",currentRound:"current-round",nextToken:"next-token"}}static from_obj_for_encoding(n){if(!Array.isArray(n.assets))throw Error(`Response is missing required array field 'assets': ${n}`);if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);return new rm({assets:n.assets.map(ru.from_obj_for_encoding),currentRound:n["current-round"],nextToken:n["next-token"]})}}class rg extends e4{constructor({genesisHash:n,genesisId:i,previousBlockHash:o,round:a,seed:s,timestamp:l,transactionsRoot:u,transactionsRootSha256:c,participationUpdates:d,rewards:p,stateProofTracking:f,transactions:h,txnCounter:m,upgradeState:g,upgradeVote:b}){super(),this.genesisHash="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.genesisId=i,this.previousBlockHash="string"==typeof o?new Uint8Array(E.Buffer.from(o,"base64")):o,this.round=a,this.seed="string"==typeof s?new Uint8Array(E.Buffer.from(s,"base64")):s,this.timestamp=l,this.transactionsRoot="string"==typeof u?new Uint8Array(E.Buffer.from(u,"base64")):u,this.transactionsRootSha256="string"==typeof c?new Uint8Array(E.Buffer.from(c,"base64")):c,this.participationUpdates=d,this.rewards=p,this.stateProofTracking=f,this.transactions=h,this.txnCounter=m,this.upgradeState=g,this.upgradeVote=b,this.attribute_map={genesisHash:"genesis-hash",genesisId:"genesis-id",previousBlockHash:"previous-block-hash",round:"round",seed:"seed",timestamp:"timestamp",transactionsRoot:"transactions-root",transactionsRootSha256:"transactions-root-sha256",participationUpdates:"participation-updates",rewards:"rewards",stateProofTracking:"state-proof-tracking",transactions:"transactions",txnCounter:"txn-counter",upgradeState:"upgrade-state",upgradeVote:"upgrade-vote"}}static from_obj_for_encoding(n){if(void 0===n["genesis-hash"])throw Error(`Response is missing required field 'genesis-hash': ${n}`);if(void 0===n["genesis-id"])throw Error(`Response is missing required field 'genesis-id': ${n}`);if(void 0===n["previous-block-hash"])throw Error(`Response is missing required field 'previous-block-hash': ${n}`);if(void 0===n.round)throw Error(`Response is missing required field 'round': ${n}`);if(void 0===n.seed)throw Error(`Response is missing required field 'seed': ${n}`);if(void 0===n.timestamp)throw Error(`Response is missing required field 'timestamp': ${n}`);if(void 0===n["transactions-root"])throw Error(`Response is missing required field 'transactions-root': ${n}`);if(void 0===n["transactions-root-sha256"])throw Error(`Response is missing required field 'transactions-root-sha256': ${n}`);return new rg({genesisHash:n["genesis-hash"],genesisId:n["genesis-id"],previousBlockHash:n["previous-block-hash"],round:n.round,seed:n.seed,timestamp:n.timestamp,transactionsRoot:n["transactions-root"],transactionsRootSha256:n["transactions-root-sha256"],participationUpdates:void 0!==n["participation-updates"]?rO.from_obj_for_encoding(n["participation-updates"]):void 0,rewards:void 0!==n.rewards?rb.from_obj_for_encoding(n.rewards):void 0,stateProofTracking:void 0!==n["state-proof-tracking"]?n["state-proof-tracking"].map(rF.from_obj_for_encoding):void 0,transactions:void 0!==n.transactions?n.transactions.map(r$.from_obj_for_encoding):void 0,txnCounter:n["txn-counter"],upgradeState:void 0!==n["upgrade-state"]?ry.from_obj_for_encoding(n["upgrade-state"]):void 0,upgradeVote:void 0!==n["upgrade-vote"]?rv.from_obj_for_encoding(n["upgrade-vote"]):void 0})}}class rb extends e4{constructor({feeSink:n,rewardsCalculationRound:i,rewardsLevel:o,rewardsPool:a,rewardsRate:s,rewardsResidue:l}){super(),this.feeSink=n,this.rewardsCalculationRound=i,this.rewardsLevel=o,this.rewardsPool=a,this.rewardsRate=s,this.rewardsResidue=l,this.attribute_map={feeSink:"fee-sink",rewardsCalculationRound:"rewards-calculation-round",rewardsLevel:"rewards-level",rewardsPool:"rewards-pool",rewardsRate:"rewards-rate",rewardsResidue:"rewards-residue"}}static from_obj_for_encoding(n){if(void 0===n["fee-sink"])throw Error(`Response is missing required field 'fee-sink': ${n}`);if(void 0===n["rewards-calculation-round"])throw Error(`Response is missing required field 'rewards-calculation-round': ${n}`);if(void 0===n["rewards-level"])throw Error(`Response is missing required field 'rewards-level': ${n}`);if(void 0===n["rewards-pool"])throw Error(`Response is missing required field 'rewards-pool': ${n}`);if(void 0===n["rewards-rate"])throw Error(`Response is missing required field 'rewards-rate': ${n}`);if(void 0===n["rewards-residue"])throw Error(`Response is missing required field 'rewards-residue': ${n}`);return new rb({feeSink:n["fee-sink"],rewardsCalculationRound:n["rewards-calculation-round"],rewardsLevel:n["rewards-level"],rewardsPool:n["rewards-pool"],rewardsRate:n["rewards-rate"],rewardsResidue:n["rewards-residue"]})}}class ry extends e4{constructor({currentProtocol:n,nextProtocol:i,nextProtocolApprovals:o,nextProtocolSwitchOn:a,nextProtocolVoteBefore:s}){super(),this.currentProtocol=n,this.nextProtocol=i,this.nextProtocolApprovals=o,this.nextProtocolSwitchOn=a,this.nextProtocolVoteBefore=s,this.attribute_map={currentProtocol:"current-protocol",nextProtocol:"next-protocol",nextProtocolApprovals:"next-protocol-approvals",nextProtocolSwitchOn:"next-protocol-switch-on",nextProtocolVoteBefore:"next-protocol-vote-before"}}static from_obj_for_encoding(n){if(void 0===n["current-protocol"])throw Error(`Response is missing required field 'current-protocol': ${n}`);return new ry({currentProtocol:n["current-protocol"],nextProtocol:n["next-protocol"],nextProtocolApprovals:n["next-protocol-approvals"],nextProtocolSwitchOn:n["next-protocol-switch-on"],nextProtocolVoteBefore:n["next-protocol-vote-before"]})}}class rv extends e4{constructor({upgradeApprove:n,upgradeDelay:i,upgradePropose:o}){super(),this.upgradeApprove=n,this.upgradeDelay=i,this.upgradePropose=o,this.attribute_map={upgradeApprove:"upgrade-approve",upgradeDelay:"upgrade-delay",upgradePropose:"upgrade-propose"}}static from_obj_for_encoding(n){return new rv({upgradeApprove:n["upgrade-approve"],upgradeDelay:n["upgrade-delay"],upgradePropose:n["upgrade-propose"]})}}class rw extends e4{constructor({name:n,value:i}){super(),this.name="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.value="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.attribute_map={name:"name",value:"value"}}static from_obj_for_encoding(n){if(void 0===n.name)throw Error(`Response is missing required field 'name': ${n}`);if(void 0===n.value)throw Error(`Response is missing required field 'value': ${n}`);return new rw({name:n.name,value:n.value})}}class rE extends e4{constructor({name:n}){super(),this.name="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.attribute_map={name:"name"}}static from_obj_for_encoding(n){if(void 0===n.name)throw Error(`Response is missing required field 'name': ${n}`);return new rE({name:n.name})}}class rS extends e4{constructor({applicationId:n,boxes:i,nextToken:o}){super(),this.applicationId=n,this.boxes=i,this.nextToken=o,this.attribute_map={applicationId:"application-id",boxes:"boxes",nextToken:"next-token"}}static from_obj_for_encoding(n){if(void 0===n["application-id"])throw Error(`Response is missing required field 'application-id': ${n}`);if(!Array.isArray(n.boxes))throw Error(`Response is missing required array field 'boxes': ${n}`);return new rS({applicationId:n["application-id"],boxes:n.boxes.map(rE.from_obj_for_encoding),nextToken:n["next-token"]})}}class rx extends e4{constructor({message:n,data:i}){super(),this.message=n,this.data=i,this.attribute_map={message:"message",data:"data"}}static from_obj_for_encoding(n){if(void 0===n.message)throw Error(`Response is missing required field 'message': ${n}`);return new rx({message:n.message,data:n.data})}}class r_ extends e4{constructor({action:n,bytes:i,uint:o}){super(),this.action=n,this.bytes=i,this.uint=o,this.attribute_map={action:"action",bytes:"bytes",uint:"uint"}}static from_obj_for_encoding(n){if(void 0===n.action)throw Error(`Response is missing required field 'action': ${n}`);return new r_({action:n.action,bytes:n.bytes,uint:n.uint})}}class rk extends e4{constructor({key:n,value:i}){super(),this.key=n,this.value=i,this.attribute_map={key:"key",value:"value"}}static from_obj_for_encoding(n){if(void 0===n.key)throw Error(`Response is missing required field 'key': ${n}`);if(void 0===n.value)throw Error(`Response is missing required field 'value': ${n}`);return new rk({key:n.key,value:r_.from_obj_for_encoding(n.value)})}}class rA extends e4{constructor({hashType:n}){super(),this.hashType=n,this.attribute_map={hashType:"hash-type"}}static from_obj_for_encoding(n){return new rA({hashType:n["hash-type"]})}}class rT extends e4{constructor({dbAvailable:n,isMigrating:i,message:o,round:a,version:s,data:l,errors:u}){super(),this.dbAvailable=n,this.isMigrating=i,this.message=o,this.round=a,this.version=s,this.data=l,this.errors=u,this.attribute_map={dbAvailable:"db-available",isMigrating:"is-migrating",message:"message",round:"round",version:"version",data:"data",errors:"errors"}}static from_obj_for_encoding(n){if(void 0===n["db-available"])throw Error(`Response is missing required field 'db-available': ${n}`);if(void 0===n["is-migrating"])throw Error(`Response is missing required field 'is-migrating': ${n}`);if(void 0===n.message)throw Error(`Response is missing required field 'message': ${n}`);if(void 0===n.round)throw Error(`Response is missing required field 'round': ${n}`);if(void 0===n.version)throw Error(`Response is missing required field 'version': ${n}`);return new rT({dbAvailable:n["db-available"],isMigrating:n["is-migrating"],message:n.message,round:n.round,version:n.version,data:n.data,errors:n.errors})}}class rC extends e4{constructor({blockHeadersCommitment:n,firstAttestedRound:i,latestAttestedRound:o,lnProvenWeight:a,votersCommitment:s}){super(),this.blockHeadersCommitment="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.firstAttestedRound=i,this.latestAttestedRound=o,this.lnProvenWeight=a,this.votersCommitment="string"==typeof s?new Uint8Array(E.Buffer.from(s,"base64")):s,this.attribute_map={blockHeadersCommitment:"block-headers-commitment",firstAttestedRound:"first-attested-round",latestAttestedRound:"latest-attested-round",lnProvenWeight:"ln-proven-weight",votersCommitment:"voters-commitment"}}static from_obj_for_encoding(n){return new rC({blockHeadersCommitment:n["block-headers-commitment"],firstAttestedRound:n["first-attested-round"],latestAttestedRound:n["latest-attested-round"],lnProvenWeight:n["ln-proven-weight"],votersCommitment:n["voters-commitment"]})}}class rR extends e4{constructor({hashFactory:n,path:i,treeDepth:o}){super(),this.hashFactory=n,this.path=i,this.treeDepth=o,this.attribute_map={hashFactory:"hash-factory",path:"path",treeDepth:"tree-depth"}}static from_obj_for_encoding(n){return new rR({hashFactory:void 0!==n["hash-factory"]?rA.from_obj_for_encoding(n["hash-factory"]):void 0,path:n.path,treeDepth:n["tree-depth"]})}}class rD extends e4{constructor({address:n,amount:i,isFrozen:o,deleted:a,optedInAtRound:s,optedOutAtRound:l}){super(),this.address=n,this.amount=i,this.isFrozen=o,this.deleted=a,this.optedInAtRound=s,this.optedOutAtRound=l,this.attribute_map={address:"address",amount:"amount",isFrozen:"is-frozen",deleted:"deleted",optedInAtRound:"opted-in-at-round",optedOutAtRound:"opted-out-at-round"}}static from_obj_for_encoding(n){if(void 0===n.address)throw Error(`Response is missing required field 'address': ${n}`);if(void 0===n.amount)throw Error(`Response is missing required field 'amount': ${n}`);if(void 0===n["is-frozen"])throw Error(`Response is missing required field 'is-frozen': ${n}`);return new rD({address:n.address,amount:n.amount,isFrozen:n["is-frozen"],deleted:n.deleted,optedInAtRound:n["opted-in-at-round"],optedOutAtRound:n["opted-out-at-round"]})}}class rO extends e4{constructor({expiredParticipationAccounts:n}){super(),this.expiredParticipationAccounts=n,this.attribute_map={expiredParticipationAccounts:"expired-participation-accounts"}}static from_obj_for_encoding(n){return new rO({expiredParticipationAccounts:n["expired-participation-accounts"]})}}class rI extends e4{constructor({partProofs:n,positionsToReveal:i,reveals:o,saltVersion:a,sigCommit:s,sigProofs:l,signedWeight:u}){super(),this.partProofs=n,this.positionsToReveal=i,this.reveals=o,this.saltVersion=a,this.sigCommit="string"==typeof s?new Uint8Array(E.Buffer.from(s,"base64")):s,this.sigProofs=l,this.signedWeight=u,this.attribute_map={partProofs:"part-proofs",positionsToReveal:"positions-to-reveal",reveals:"reveals",saltVersion:"salt-version",sigCommit:"sig-commit",sigProofs:"sig-proofs",signedWeight:"signed-weight"}}static from_obj_for_encoding(n){return new rI({partProofs:void 0!==n["part-proofs"]?rR.from_obj_for_encoding(n["part-proofs"]):void 0,positionsToReveal:n["positions-to-reveal"],reveals:void 0!==n.reveals?n.reveals.map(rM.from_obj_for_encoding):void 0,saltVersion:n["salt-version"],sigCommit:n["sig-commit"],sigProofs:void 0!==n["sig-proofs"]?rR.from_obj_for_encoding(n["sig-proofs"]):void 0,signedWeight:n["signed-weight"]})}}class rN extends e4{constructor({verifier:n,weight:i}){super(),this.verifier=n,this.weight=i,this.attribute_map={verifier:"verifier",weight:"weight"}}static from_obj_for_encoding(n){return new rN({verifier:void 0!==n.verifier?rB.from_obj_for_encoding(n.verifier):void 0,weight:n.weight})}}class rM extends e4{constructor({participant:n,position:i,sigSlot:o}){super(),this.participant=n,this.position=i,this.sigSlot=o,this.attribute_map={participant:"participant",position:"position",sigSlot:"sig-slot"}}static from_obj_for_encoding(n){return new rM({participant:void 0!==n.participant?rN.from_obj_for_encoding(n.participant):void 0,position:n.position,sigSlot:void 0!==n["sig-slot"]?rL.from_obj_for_encoding(n["sig-slot"]):void 0})}}class rL extends e4{constructor({lowerSigWeight:n,signature:i}){super(),this.lowerSigWeight=n,this.signature=i,this.attribute_map={lowerSigWeight:"lower-sig-weight",signature:"signature"}}static from_obj_for_encoding(n){return new rL({lowerSigWeight:n["lower-sig-weight"],signature:void 0!==n.signature?rP.from_obj_for_encoding(n.signature):void 0})}}class rP extends e4{constructor({falconSignature:n,merkleArrayIndex:i,proof:o,verifyingKey:a}){super(),this.falconSignature="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.merkleArrayIndex=i,this.proof=o,this.verifyingKey="string"==typeof a?new Uint8Array(E.Buffer.from(a,"base64")):a,this.attribute_map={falconSignature:"falcon-signature",merkleArrayIndex:"merkle-array-index",proof:"proof",verifyingKey:"verifying-key"}}static from_obj_for_encoding(n){return new rP({falconSignature:n["falcon-signature"],merkleArrayIndex:n["merkle-array-index"],proof:void 0!==n.proof?rR.from_obj_for_encoding(n.proof):void 0,verifyingKey:n["verifying-key"]})}}class rF extends e4{constructor({nextRound:n,onlineTotalWeight:i,type:o,votersCommitment:a}){super(),this.nextRound=n,this.onlineTotalWeight=i,this.type=o,this.votersCommitment="string"==typeof a?new Uint8Array(E.Buffer.from(a,"base64")):a,this.attribute_map={nextRound:"next-round",onlineTotalWeight:"online-total-weight",type:"type",votersCommitment:"voters-commitment"}}static from_obj_for_encoding(n){return new rF({nextRound:n["next-round"],onlineTotalWeight:n["online-total-weight"],type:n.type,votersCommitment:n["voters-commitment"]})}}class rB extends e4{constructor({commitment:n,keyLifetime:i}){super(),this.commitment="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.keyLifetime=i,this.attribute_map={commitment:"commitment",keyLifetime:"key-lifetime"}}static from_obj_for_encoding(n){return new rB({commitment:n.commitment,keyLifetime:n["key-lifetime"]})}}class rU extends e4{constructor({numByteSlice:n,numUint:i}){super(),this.numByteSlice=n,this.numUint=i,this.attribute_map={numByteSlice:"num-byte-slice",numUint:"num-uint"}}static from_obj_for_encoding(n){if(void 0===n["num-byte-slice"])throw Error(`Response is missing required field 'num-byte-slice': ${n}`);if(void 0===n["num-uint"])throw Error(`Response is missing required field 'num-uint': ${n}`);return new rU({numByteSlice:n["num-byte-slice"],numUint:n["num-uint"]})}}class rz extends e4{constructor({key:n,value:i}){super(),this.key=n,this.value=i,this.attribute_map={key:"key",value:"value"}}static from_obj_for_encoding(n){if(void 0===n.key)throw Error(`Response is missing required field 'key': ${n}`);if(void 0===n.value)throw Error(`Response is missing required field 'value': ${n}`);return new rz({key:n.key,value:rj.from_obj_for_encoding(n.value)})}}class rj extends e4{constructor({bytes:n,type:i,uint:o}){super(),this.bytes=n,this.type=i,this.uint=o,this.attribute_map={bytes:"bytes",type:"type",uint:"uint"}}static from_obj_for_encoding(n){if(void 0===n.bytes)throw Error(`Response is missing required field 'bytes': ${n}`);if(void 0===n.type)throw Error(`Response is missing required field 'type': ${n}`);if(void 0===n.uint)throw Error(`Response is missing required field 'uint': ${n}`);return new rj({bytes:n.bytes,type:n.type,uint:n.uint})}}class r$ extends e4{constructor({fee:n,firstValid:i,lastValid:o,sender:a,applicationTransaction:s,assetConfigTransaction:l,assetFreezeTransaction:u,assetTransferTransaction:c,authAddr:d,closeRewards:p,closingAmount:f,confirmedRound:h,createdApplicationIndex:m,createdAssetIndex:g,genesisHash:b,genesisId:y,globalStateDelta:v,group:w,id:S,innerTxns:x,intraRoundOffset:_,keyregTransaction:k,lease:A,localStateDelta:T,logs:C,note:R,paymentTransaction:D,receiverRewards:O,rekeyTo:I,roundTime:N,senderRewards:M,signature:L,stateProofTransaction:P,txType:F}){super(),this.fee=n,this.firstValid=i,this.lastValid=o,this.sender=a,this.applicationTransaction=s,this.assetConfigTransaction=l,this.assetFreezeTransaction=u,this.assetTransferTransaction=c,this.authAddr=d,this.closeRewards=p,this.closingAmount=f,this.confirmedRound=h,this.createdApplicationIndex=m,this.createdAssetIndex=g,this.genesisHash="string"==typeof b?new Uint8Array(E.Buffer.from(b,"base64")):b,this.genesisId=y,this.globalStateDelta=v,this.group="string"==typeof w?new Uint8Array(E.Buffer.from(w,"base64")):w,this.id=S,this.innerTxns=x,this.intraRoundOffset=_,this.keyregTransaction=k,this.lease="string"==typeof A?new Uint8Array(E.Buffer.from(A,"base64")):A,this.localStateDelta=T,this.logs=C,this.note="string"==typeof R?new Uint8Array(E.Buffer.from(R,"base64")):R,this.paymentTransaction=D,this.receiverRewards=O,this.rekeyTo=I,this.roundTime=N,this.senderRewards=M,this.signature=L,this.stateProofTransaction=P,this.txType=F,this.attribute_map={fee:"fee",firstValid:"first-valid",lastValid:"last-valid",sender:"sender",applicationTransaction:"application-transaction",assetConfigTransaction:"asset-config-transaction",assetFreezeTransaction:"asset-freeze-transaction",assetTransferTransaction:"asset-transfer-transaction",authAddr:"auth-addr",closeRewards:"close-rewards",closingAmount:"closing-amount",confirmedRound:"confirmed-round",createdApplicationIndex:"created-application-index",createdAssetIndex:"created-asset-index",genesisHash:"genesis-hash",genesisId:"genesis-id",globalStateDelta:"global-state-delta",group:"group",id:"id",innerTxns:"inner-txns",intraRoundOffset:"intra-round-offset",keyregTransaction:"keyreg-transaction",lease:"lease",localStateDelta:"local-state-delta",logs:"logs",note:"note",paymentTransaction:"payment-transaction",receiverRewards:"receiver-rewards",rekeyTo:"rekey-to",roundTime:"round-time",senderRewards:"sender-rewards",signature:"signature",stateProofTransaction:"state-proof-transaction",txType:"tx-type"}}static from_obj_for_encoding(n){if(void 0===n.fee)throw Error(`Response is missing required field 'fee': ${n}`);if(void 0===n["first-valid"])throw Error(`Response is missing required field 'first-valid': ${n}`);if(void 0===n["last-valid"])throw Error(`Response is missing required field 'last-valid': ${n}`);if(void 0===n.sender)throw Error(`Response is missing required field 'sender': ${n}`);return new r$({fee:n.fee,firstValid:n["first-valid"],lastValid:n["last-valid"],sender:n.sender,applicationTransaction:void 0!==n["application-transaction"]?rH.from_obj_for_encoding(n["application-transaction"]):void 0,assetConfigTransaction:void 0!==n["asset-config-transaction"]?rV.from_obj_for_encoding(n["asset-config-transaction"]):void 0,assetFreezeTransaction:void 0!==n["asset-freeze-transaction"]?rG.from_obj_for_encoding(n["asset-freeze-transaction"]):void 0,assetTransferTransaction:void 0!==n["asset-transfer-transaction"]?rq.from_obj_for_encoding(n["asset-transfer-transaction"]):void 0,authAddr:n["auth-addr"],closeRewards:n["close-rewards"],closingAmount:n["closing-amount"],confirmedRound:n["confirmed-round"],createdApplicationIndex:n["created-application-index"],createdAssetIndex:n["created-asset-index"],genesisHash:n["genesis-hash"],genesisId:n["genesis-id"],globalStateDelta:void 0!==n["global-state-delta"]?n["global-state-delta"].map(rk.from_obj_for_encoding):void 0,group:n.group,id:n.id,innerTxns:void 0!==n["inner-txns"]?n["inner-txns"].map(r$.from_obj_for_encoding):void 0,intraRoundOffset:n["intra-round-offset"],keyregTransaction:void 0!==n["keyreg-transaction"]?rW.from_obj_for_encoding(n["keyreg-transaction"]):void 0,lease:n.lease,localStateDelta:void 0!==n["local-state-delta"]?n["local-state-delta"].map(n9.from_obj_for_encoding):void 0,logs:n.logs,note:n.note,paymentTransaction:void 0!==n["payment-transaction"]?rK.from_obj_for_encoding(n["payment-transaction"]):void 0,receiverRewards:n["receiver-rewards"],rekeyTo:n["rekey-to"],roundTime:n["round-time"],senderRewards:n["sender-rewards"],signature:void 0!==n.signature?rZ.from_obj_for_encoding(n.signature):void 0,stateProofTransaction:void 0!==n["state-proof-transaction"]?r0.from_obj_for_encoding(n["state-proof-transaction"]):void 0,txType:n["tx-type"]})}}class rH extends e4{constructor({applicationId:n,accounts:i,applicationArgs:o,approvalProgram:a,clearStateProgram:s,extraProgramPages:l,foreignApps:u,foreignAssets:c,globalStateSchema:d,localStateSchema:p,onCompletion:f}){super(),this.applicationId=n,this.accounts=i,this.applicationArgs=o,this.approvalProgram="string"==typeof a?new Uint8Array(E.Buffer.from(a,"base64")):a,this.clearStateProgram="string"==typeof s?new Uint8Array(E.Buffer.from(s,"base64")):s,this.extraProgramPages=l,this.foreignApps=u,this.foreignAssets=c,this.globalStateSchema=d,this.localStateSchema=p,this.onCompletion=f,this.attribute_map={applicationId:"application-id",accounts:"accounts",applicationArgs:"application-args",approvalProgram:"approval-program",clearStateProgram:"clear-state-program",extraProgramPages:"extra-program-pages",foreignApps:"foreign-apps",foreignAssets:"foreign-assets",globalStateSchema:"global-state-schema",localStateSchema:"local-state-schema",onCompletion:"on-completion"}}static from_obj_for_encoding(n){if(void 0===n["application-id"])throw Error(`Response is missing required field 'application-id': ${n}`);return new rH({applicationId:n["application-id"],accounts:n.accounts,applicationArgs:n["application-args"],approvalProgram:n["approval-program"],clearStateProgram:n["clear-state-program"],extraProgramPages:n["extra-program-pages"],foreignApps:n["foreign-apps"],foreignAssets:n["foreign-assets"],globalStateSchema:void 0!==n["global-state-schema"]?rU.from_obj_for_encoding(n["global-state-schema"]):void 0,localStateSchema:void 0!==n["local-state-schema"]?rU.from_obj_for_encoding(n["local-state-schema"]):void 0,onCompletion:n["on-completion"]})}}class rV extends e4{constructor({assetId:n,params:i}){super(),this.assetId=n,this.params=i,this.attribute_map={assetId:"asset-id",params:"params"}}static from_obj_for_encoding(n){return new rV({assetId:n["asset-id"],params:void 0!==n.params?rf.from_obj_for_encoding(n.params):void 0})}}class rG extends e4{constructor({address:n,assetId:i,newFreezeStatus:o}){super(),this.address=n,this.assetId=i,this.newFreezeStatus=o,this.attribute_map={address:"address",assetId:"asset-id",newFreezeStatus:"new-freeze-status"}}static from_obj_for_encoding(n){if(void 0===n.address)throw Error(`Response is missing required field 'address': ${n}`);if(void 0===n["asset-id"])throw Error(`Response is missing required field 'asset-id': ${n}`);if(void 0===n["new-freeze-status"])throw Error(`Response is missing required field 'new-freeze-status': ${n}`);return new rG({address:n.address,assetId:n["asset-id"],newFreezeStatus:n["new-freeze-status"]})}}class rq extends e4{constructor({amount:n,assetId:i,receiver:o,closeAmount:a,closeTo:s,sender:l}){super(),this.amount=n,this.assetId=i,this.receiver=o,this.closeAmount=a,this.closeTo=s,this.sender=l,this.attribute_map={amount:"amount",assetId:"asset-id",receiver:"receiver",closeAmount:"close-amount",closeTo:"close-to",sender:"sender"}}static from_obj_for_encoding(n){if(void 0===n.amount)throw Error(`Response is missing required field 'amount': ${n}`);if(void 0===n["asset-id"])throw Error(`Response is missing required field 'asset-id': ${n}`);if(void 0===n.receiver)throw Error(`Response is missing required field 'receiver': ${n}`);return new rq({amount:n.amount,assetId:n["asset-id"],receiver:n.receiver,closeAmount:n["close-amount"],closeTo:n["close-to"],sender:n.sender})}}class rW extends e4{constructor({nonParticipation:n,selectionParticipationKey:i,stateProofKey:o,voteFirstValid:a,voteKeyDilution:s,voteLastValid:l,voteParticipationKey:u}){super(),this.nonParticipation=n,this.selectionParticipationKey="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.stateProofKey="string"==typeof o?new Uint8Array(E.Buffer.from(o,"base64")):o,this.voteFirstValid=a,this.voteKeyDilution=s,this.voteLastValid=l,this.voteParticipationKey="string"==typeof u?new Uint8Array(E.Buffer.from(u,"base64")):u,this.attribute_map={nonParticipation:"non-participation",selectionParticipationKey:"selection-participation-key",stateProofKey:"state-proof-key",voteFirstValid:"vote-first-valid",voteKeyDilution:"vote-key-dilution",voteLastValid:"vote-last-valid",voteParticipationKey:"vote-participation-key"}}static from_obj_for_encoding(n){return new rW({nonParticipation:n["non-participation"],selectionParticipationKey:n["selection-participation-key"],stateProofKey:n["state-proof-key"],voteFirstValid:n["vote-first-valid"],voteKeyDilution:n["vote-key-dilution"],voteLastValid:n["vote-last-valid"],voteParticipationKey:n["vote-participation-key"]})}}class rK extends e4{constructor({amount:n,receiver:i,closeAmount:o,closeRemainderTo:a}){super(),this.amount=n,this.receiver=i,this.closeAmount=o,this.closeRemainderTo=a,this.attribute_map={amount:"amount",receiver:"receiver",closeAmount:"close-amount",closeRemainderTo:"close-remainder-to"}}static from_obj_for_encoding(n){if(void 0===n.amount)throw Error(`Response is missing required field 'amount': ${n}`);if(void 0===n.receiver)throw Error(`Response is missing required field 'receiver': ${n}`);return new rK({amount:n.amount,receiver:n.receiver,closeAmount:n["close-amount"],closeRemainderTo:n["close-remainder-to"]})}}class rY extends e4{constructor({currentRound:n,transaction:i}){super(),this.currentRound=n,this.transaction=i,this.attribute_map={currentRound:"current-round",transaction:"transaction"}}static from_obj_for_encoding(n){if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);if(void 0===n.transaction)throw Error(`Response is missing required field 'transaction': ${n}`);return new rY({currentRound:n["current-round"],transaction:r$.from_obj_for_encoding(n.transaction)})}}class rZ extends e4{constructor({logicsig:n,multisig:i,sig:o}){super(),this.logicsig=n,this.multisig=i,this.sig="string"==typeof o?new Uint8Array(E.Buffer.from(o,"base64")):o,this.attribute_map={logicsig:"logicsig",multisig:"multisig",sig:"sig"}}static from_obj_for_encoding(n){return new rZ({logicsig:void 0!==n.logicsig?rX.from_obj_for_encoding(n.logicsig):void 0,multisig:void 0!==n.multisig?rJ.from_obj_for_encoding(n.multisig):void 0,sig:n.sig})}}class rX extends e4{constructor({logic:n,args:i,multisigSignature:o,signature:a}){super(),this.logic="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.args=i,this.multisigSignature=o,this.signature="string"==typeof a?new Uint8Array(E.Buffer.from(a,"base64")):a,this.attribute_map={logic:"logic",args:"args",multisigSignature:"multisig-signature",signature:"signature"}}static from_obj_for_encoding(n){if(void 0===n.logic)throw Error(`Response is missing required field 'logic': ${n}`);return new rX({logic:n.logic,args:n.args,multisigSignature:void 0!==n["multisig-signature"]?rJ.from_obj_for_encoding(n["multisig-signature"]):void 0,signature:n.signature})}}class rJ extends e4{constructor({subsignature:n,threshold:i,version:o}){super(),this.subsignature=n,this.threshold=i,this.version=o,this.attribute_map={subsignature:"subsignature",threshold:"threshold",version:"version"}}static from_obj_for_encoding(n){return new rJ({subsignature:void 0!==n.subsignature?n.subsignature.map(rQ.from_obj_for_encoding):void 0,threshold:n.threshold,version:n.version})}}class rQ extends e4{constructor({publicKey:n,signature:i}){super(),this.publicKey="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.signature="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.attribute_map={publicKey:"public-key",signature:"signature"}}static from_obj_for_encoding(n){return new rQ({publicKey:n["public-key"],signature:n.signature})}}class r0 extends e4{constructor({message:n,stateProof:i,stateProofType:o}){super(),this.message=n,this.stateProof=i,this.stateProofType=o,this.attribute_map={message:"message",stateProof:"state-proof",stateProofType:"state-proof-type"}}static from_obj_for_encoding(n){return new r0({message:void 0!==n.message?rC.from_obj_for_encoding(n.message):void 0,stateProof:void 0!==n["state-proof"]?rI.from_obj_for_encoding(n["state-proof"]):void 0,stateProofType:n["state-proof-type"]})}}class r1 extends e4{constructor({currentRound:n,transactions:i,nextToken:o}){super(),this.currentRound=n,this.transactions=i,this.nextToken=o,this.attribute_map={currentRound:"current-round",transactions:"transactions",nextToken:"next-token"}}static from_obj_for_encoding(n){if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);if(!Array.isArray(n.transactions))throw Error(`Response is missing required array field 'transactions': ${n}`);return new r1({currentRound:n["current-round"],transactions:n.transactions.map(r$.from_obj_for_encoding),nextToken:n["next-token"]})}}class r2 extends t7{constructor(n,i,o,a){super(n,i),this.index=o,this.index=o;let s=E.Buffer.from(a).toString("base64");this.query.name=encodeURI(`b64:${s}`)}path(){return`/v2/applications/${this.index}/box`}prepare(n){return rw.from_obj_for_encoding(n)}}class r3 extends t7{path(){return"/v2/accounts"}currencyGreaterThan(n){return this.query["currency-greater-than"]=n.toString(),this}currencyLessThan(n){return this.query["currency-less-than"]=n,this}limit(n){return this.query.limit=n,this}assetID(n){return this.query["asset-id"]=n,this}nextToken(n){return this.query.next=n,this}round(n){return this.query.round=n,this}authAddr(n){return this.query["auth-addr"]=n,this}applicationID(n){return this.query["application-id"]=n,this}includeAll(n=!0){return this.query["include-all"]=n,this}exclude(n){return this.query.exclude=n,this}}class r5 extends t7{path(){return"/v2/transactions"}notePrefix(n){return this.query["note-prefix"]=nq(n),this}txType(n){return this.query["tx-type"]=n,this}sigType(n){return this.query["sig-type"]=n,this}txid(n){return this.query.txid=n,this}round(n){return this.query.round=n,this}minRound(n){return this.query["min-round"]=n,this}maxRound(n){return this.query["max-round"]=n,this}assetID(n){return this.query["asset-id"]=n,this}limit(n){return this.query.limit=n,this}beforeTime(n){return this.query["before-time"]=n,this}afterTime(n){return this.query["after-time"]=n,this}addressRole(n){return this.query["address-role"]=n,this}address(n){return this.query.address=n,this}excludeCloseTo(n){return this.query["exclude-close-to"]=n,this}nextToken(n){return this.query.next=n,this}rekeyTo(n){return this.query["rekey-to"]=n,this}applicationID(n){return this.query["application-id"]=n,this}currencyGreaterThan(n){return this.query["currency-greater-than"]=n.toString(),this}currencyLessThan(n){return this.query["currency-less-than"]=n,this}}class r4 extends t7{path(){return"/v2/assets"}limit(n){return this.query.limit=n,this}creator(n){return this.query.creator=n,this}name(n){return this.query.name=n,this}unit(n){return this.query.unit=n,this}index(n){return this.query["asset-id"]=n,this}nextToken(n){return this.query.next=n,this}includeAll(n=!0){return this.query["include-all"]=n,this}}class r6 extends t7{path(){return"/v2/applications"}index(n){return this.query["application-id"]=n,this}creator(n){return this.query.creator=n,this}nextToken(n){return this.query.next=n,this}limit(n){return this.query.limit=n,this}includeAll(n=!0){return this.query["include-all"]=n,this}}class r8 extends t7{constructor(n,i,o){super(n,i),this.index=o,this.index=o}path(){return`/v2/applications/${this.index}/boxes`}nextToken(n){return this.query.next=n,this}limit(n){return this.query.limit=n,this}prepare(n){return rS.from_obj_for_encoding(n)}}class r9 extends e2{constructor(n,i="http://127.0.0.1",o=8080,a={}){super("X-Indexer-API-Token",n,i,o,a)}makeHealthCheck(){return new nV(this.c,this.intDecoding)}lookupAssetBalances(n){return new nG(this.c,this.intDecoding,n)}lookupAssetTransactions(n){return new nK(this.c,this.intDecoding,n)}lookupAccountTransactions(n){return new nW(this.c,this.intDecoding,n)}lookupBlock(n){return new nY(this.c,this.intDecoding,n)}lookupTransactionByID(n){return new nZ(this.c,this.intDecoding,n)}lookupAccountByID(n){return new nX(this.c,this.intDecoding,n)}lookupAccountAssets(n){return new nJ(this.c,this.intDecoding,n)}lookupAccountCreatedAssets(n){return new nQ(this.c,this.intDecoding,n)}lookupAccountAppLocalStates(n){return new n0(this.c,this.intDecoding,n)}lookupAccountCreatedApplications(n){return new n1(this.c,this.intDecoding,n)}lookupAssetByID(n){return new n2(this.c,this.intDecoding,n)}lookupApplications(n){return new n3(this.c,this.intDecoding,n)}lookupApplicationLogs(n){return new n5(this.c,this.intDecoding,n)}searchAccounts(){return new r3(this.c,this.intDecoding)}searchForTransactions(){return new r5(this.c,this.intDecoding)}searchForAssets(){return new r4(this.c,this.intDecoding)}searchForApplications(){return new r6(this.c,this.intDecoding)}searchForApplicationBoxes(n){return new r8(this.c,this.intDecoding,n)}lookupApplicationBoxByIDandName(n,i){return new r2(this.c,this.intDecoding,n,i)}}async function r7(n,i,o){let a=await n.status().do();if(void 0===a)throw Error("Unable to get node status");let s=a["last-round"]+1,l=s;for(;l=11&&(i.push(2047&o),o>>=11,a-=11)}function l(){a&&i.push(o)}return n.forEach(s),l(),i}function iu(n){return n.map(n=>io[n])}function ic(n){let i=L(n),o=il(i),a=iu(o);return a[0]}function id(n){if(n.length!==q)throw RangeError(`Seed length must be ${q}`);let i=il(n),o=iu(i),a=ic(n);return`${o.join(" ")} ${a}`}function ip(n){let i=[],o=0,a=0;function s(n){for(o|=n<=8;)i.push(255&o),o>>=8,a-=8}function l(){a&&i.push(o)}return n.forEach(s),l(),new Uint8Array(i)}function ih(n){let i=n.split(" "),o=i.slice(0,24);for(let a of o)if(-1===io.indexOf(a))throw Error(is);let s=i[i.length-1],l=o.map(n=>io.indexOf(n)),u=ip(l);if(33!==u.length||0!==u[u.length-1])throw Error(ia);u=u.slice(0,u.length-1);let c=ic(u);if(c===s)return u;throw Error(ia)}function im(n){let i=ih(n),o=F(i),a=ed(o.publicKey);return{addr:a,sk:o.secretKey}}function ig(n){let i=n.slice(0,q);return id(i)}function ib(n){return ih(n)}function iy(n){return id(n)}let iv=16;class iw{constructor(n){if(this.name="Transaction group",this.tag=E.Buffer.from("TG"),n.length>iv){let i=`${n.length.toString()} transactions grouped together but max group size is ${iv.toString()}`;throw Error(i)}this.txGroupHashes=n}get_obj_for_encoding(){let n={txlist:this.txGroupHashes};return n}static from_obj_for_encoding(n){let i=Object.create(this.prototype);for(let o of(i.name="Transaction group",i.tag=E.Buffer.from("TG"),i.txGroupHashes=[],n.txlist))i.txGroupHashes.push(E.Buffer.from(o));return i}toByte(){return ev(this.get_obj_for_encoding())}}function iE(n){let i=[];for(let o of n){let a=e$(o);i.push(a.rawTxID())}let s=new iw(i),l=s.toByte(),u=E.Buffer.from(I(s.tag,l)),c=L(u);return E.Buffer.from(c)}function iS(n,i){let o=iE(n),a=[];for(let s of n){let l=e$(s);i&&ed(l.from.publicKey)!==i||(l.group=o,a.push(l))}return a}let ix="Not enough multisig transactions to merge. Need at least two",i_="Cannot merge txs. txIDs differ",ik="Cannot merge txs. Auth addrs differ",iA="Cannot merge txs. Multisig preimages differ",iT="Cannot merge txs. subsigs are mismatched.",iC="Key does not exist",iR="Cannot mutate a multisig field as it would invalidate all existing signatures.",iD="Cannot sign a multisig transaction using `signTxn`. Use `partialSignTxn` instead.",iO="Cannot add multisig signature. Signature is not of the correct length.";function iI(n,{version:i,threshold:o,addrs:a}){let s=a.map(n=>eu(n).publicKey),l=s.map(n=>({pk:E.Buffer.from(n)})),u={v:i,thr:o,subsig:l},c=n.get_obj_for_encoding(),d={msig:u,txn:c},p=ep({version:i,threshold:o,pks:s});return ed(c.snd)!==ed(p)&&(d.sgnr=E.Buffer.from(p)),new Uint8Array(ev(d))}function iN(n,{rawSig:i,myPk:o},{version:a,threshold:s,pks:l}){let u=iI(n,{version:a,threshold:s,addrs:l.map(n=>ed(n))}),c=ew(u),d=!1;if(c.msig.subsig.forEach((n,a)=>{$(n.pk,o)&&(d=!0,c.msig.subsig[a].s=i)}),!1===d)throw Error(iC);let p=ep({version:a,threshold:s,pks:l});return ed(c.txn.snd)!==ed(p)&&(c.sgnr=E.Buffer.from(p)),new Uint8Array(ev(c))}class iM extends eF{addLease(){throw Error(iR)}addRekey(){throw Error(iR)}signTxn(n){throw Error(iD)}partialSignTxn({version:n,threshold:i,pks:o},a){let s=z(a).publicKey;return iN(this,{rawSig:this.rawSignTxn(a),myPk:s},{version:n,threshold:i,pks:o})}partialSignWithMultisigSignature(n,i,o){if(!U(o.length))throw Error(iO);return iN(this,{rawSig:o,myPk:eu(i).publicKey},n)}static from_obj_for_encoding(n){return super.from_obj_for_encoding(n)}}function iL(n){if(n.length<2)throw Error(ix);let i=ew(n[0]),o=iM.from_obj_for_encoding(i.txn).txID(),a=i.sgnr?ed(i.sgnr):void 0,s={version:i.msig.v,threshold:i.msig.thr,pks:i.msig.subsig.map(n=>n.pk)},l=ed(ep(s)),u=i.msig.subsig.map(n=>({...n}));for(let c=1;cn.pk)},m=ed(ep(h));if(l!==m)throw Error(iA);d.msig.subsig.forEach((n,i)=>{if(!n.s)return;let o=u[i];if(o.s&&0!==E.Buffer.compare(E.Buffer.from(n.s),E.Buffer.from(o.s)))throw Error(iT);o.s=n.s})}let g={v:i.msig.v,thr:i.msig.thr,subsig:u},b={msig:g,txn:i.txn};return void 0!==a&&(b.sgnr=E.Buffer.from(eu(a).publicKey)),new Uint8Array(ev(b))}function iP(n,i,o){let a;let s=i.v,l=i.thr,u=i.subsig,c=u.map(n=>n.pk);if(i.subsig.lengtheu(n).publicKey),p=n instanceof eF;return p?(l=n,u=iM.prototype.partialSignTxn.call(l,{version:i,threshold:o,pks:d},s)):u=(l=new iM(n)).partialSignTxn({version:i,threshold:o,pks:d},s),{txID:l.txID().toString(),blob:u}}function iB(n,{version:i,threshold:o,addrs:a},s){let l=a.map(n=>eu(n).publicKey),u=ew(n),c=iM.from_obj_for_encoding(u.txn),d=c.partialSignTxn({version:i,threshold:o,pks:l},s);return{txID:c.txID().toString(),blob:iL([n,d])}}function iU(n,{version:i,threshold:o,addrs:a},s,l){let u=a.map(n=>eu(n).publicKey),c=ew(n),d=iM.from_obj_for_encoding(c.txn),p=d.partialSignWithMultisigSignature({version:i,threshold:o,pks:u},s,l);return{txID:d.txID().toString(),blob:iL([n,p])}}function iz({version:n,threshold:i,addrs:o}){return ef({version:n,threshold:i,addrs:o})}function ij(n){if(!n||0===n.length)throw Error("empty program");let i=10,o=32,a=126,s=n=>o<=n&&n<=a,l=n.every(n=>n===i||s(n));if(l){let u=E.Buffer.from(n).toString();if(ec(u))throw Error("requesting program bytes, get Algorand address");if(E.Buffer.from(u,"base64").toString("base64")===u)throw Error("program should not be b64 encoded");throw Error("program bytes are all ASCII printable characters, not looking like Teal byte code")}}class i${constructor(n,i){let o;if(this.tag=E.Buffer.from("Program"),i&&(!Array.isArray(i)||!i.every(n=>n.constructor===Uint8Array||E.Buffer.isBuffer(n))))throw TypeError("Invalid arguments");null!=i&&(o=i.map(n=>new Uint8Array(n))),ij(n),this.logic=n,this.args=o,this.sig=void 0,this.msig=void 0}get_obj_for_encoding(){let n={l:this.logic};return this.args&&(n.arg=this.args),this.sig?n.sig=this.sig:this.msig&&(n.msig=this.msig),n}static from_obj_for_encoding(n){let i=new i$(n.l,n.arg);return i.sig=n.sig,i.msig=n.msig,i}verify(n){if(this.sig&&this.msig)return!1;try{ij(this.logic)}catch(i){return!1}let o=I(this.tag,this.logic);if(!this.sig&&!this.msig){let a=L(o);return O(a,n)}return this.sig?H(o,this.sig,n):iP(o,this.msig,n)}address(){let n=I(this.tag,this.logic),i=L(n);return ed(new Uint8Array(i))}sign(n,i){if(null==i)this.sig=this.signProgram(n);else{let o=i.addrs.map(n=>({pk:eu(n).publicKey}));this.msig={v:i.version,thr:i.threshold,subsig:o};let[a,s]=this.singleSignMultisig(n,this.msig);this.msig.subsig[s].s=a}}appendToMultisig(n){if(void 0===this.msig)throw Error("no multisig present");let[i,o]=this.singleSignMultisig(n,this.msig);this.msig.subsig[o].s=i}signProgram(n){let i=I(this.tag,this.logic),o=j(i,n);return o}singleSignMultisig(n,i){let o=-1,a=z(n).publicKey;for(let s=0;sn.pk)};return ed(ep(n))}return this.lsig.address()}signMultisig(n,i){this.lsig.sign(i,n)}appendToMultisig(n){this.lsig.appendToMultisig(n)}sign(n){this.lsig.sign(n),this.sigkey=z(n).publicKey}}function iV(n,i,o){if(!i.verify(o))throw Error("Logic signature verification failed. Ensure the program and signature are valid.");let a={lsig:i.get_obj_for_encoding(),txn:n.get_obj_for_encoding()};return $(o,n.from.publicKey)||(a.sgnr=E.Buffer.from(o)),{txID:n.txID().toString(),blob:ev(a)}}function iG(n,i){let o,a;if(i instanceof iH)o=i.lsig,a=eu(i.address()).publicKey;else if((o=i).sig)a=n.from.publicKey;else if(o.msig){let s={version:o.msig.v,threshold:o.msig.thr,pks:o.msig.subsig.map(n=>n.pk)};a=ep(s)}else a=eu(o.address()).publicKey;return iV(n,o,a)}function iq(n,i){let o=e$(n);return iG(o,i)}function iW(n){return i$.fromByte(n)}let iK=E.Buffer.from("ProgData");function iY(n,i,o){let a=I(eu(o).publicKey,i),s=E.Buffer.from(I(iK,a));return j(s,n)}function iZ(n,i,o,a){let s=I(eu(i).publicKey,n),l=E.Buffer.from(I(iK,s));return H(l,o,a)}function iX(n,i,o){let a=new i$(o),s=a.address();return iY(n,i,s)}let iJ={},iQ={};function i0(n){let i=[],o=0,a=0;for(let s=0;s>>=1,c?i.push(0===a?-2147483648:-a):i.push(a),a=o=0}}return i}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(n,i){iJ[n]=i,iQ[i]=n});class i1{constructor({version:n,sources:i,names:o,mappings:a}){if(this.version=n,this.sources=i,this.names=o,this.mappings=a,3!==this.version)throw Error(`Only version 3 is supported, got ${this.version}`);if(void 0===this.mappings)throw Error("mapping undefined, cannot build source map without `mapping`");let s=this.mappings.split(";").map(n=>{let i=i0(n);if(i.length>2)return i[2]});this.pcToLine={},this.lineToPc={};let l=0;for(let[u,c]of s.entries())void 0!==c&&(l+=c),l in this.lineToPc||(this.lineToPc[l]=[]),this.lineToPc[l].push(u),this.pcToLine[u]=l}getLineForPc(n){return this.pcToLine[n]}getPcsForLine(n){return this.lineToPc[n]}}let i2=1380011588,i3=30;function i5(n){return n.params["approval-program"]=E.Buffer.from(n.params["approval-program"].toString(),"base64"),n.params["clear-state-program"]=E.Buffer.from(n.params["clear-state-program"].toString(),"base64"),n}async function i4({client:n,txns:i,protocolVersion:o,latestTimestamp:a,round:s,sources:l}){let u=[],c=[],d=[],p=[],h=[];for(let m of i)m.txn.type===f.appl&&(h.push(ed(m.txn.from.publicKey)),m.txn.appAccounts&&h.push(...m.txn.appAccounts.map(n=>ed(n.publicKey))),m.txn.appForeignApps&&(d.push(...m.txn.appForeignApps),h.push(...m.txn.appForeignApps.map(n=>eh(n)))),m.txn.appForeignAssets&&p.push(...m.txn.appForeignAssets),void 0===m.txn.appIndex||0===m.txn.appIndex?u.push(new tt({id:i2,params:new ta({creator:ed(m.txn.from.publicKey),approvalProgram:m.txn.appApprovalProgram,clearStateProgram:m.txn.appClearProgram,localStateSchema:new tl({numUint:m.txn.appLocalInts,numByteSlice:m.txn.appLocalByteSlices}),globalStateSchema:new tl({numUint:m.txn.appGlobalInts,numByteSlice:m.txn.appGlobalByteSlices})})})):(d.push(m.txn.appIndex),h.push(eh(m.txn.appIndex))));let g=[];for(let b of[...new Set(p)])g.push(n.getAssetByID(b).do().then(n=>{h.push(n.params.creator)}));await Promise.all(g);let y=[];for(let v of[...new Set(d)])y.push(n.getApplicationByID(v).do().then(n=>{let i=i5(n);u.push(i),h.push(i.params.creator)}));await Promise.all(y);let w=[];for(let E of[...new Set(h)])w.push(n.accountInformation(E).do().then(n=>{"created-apps"in n&&(n["created-apps"]=n["created-apps"].map(n=>i5(n))),c.push(n)}));return await Promise.all(w),new tk({txns:i.map(n=>({...n,txn:n.txn.get_obj_for_encoding()})),accounts:c,apps:u,latestTimestamp:a,round:s,protocolVersion:o,sources:l})}class i6{constructor(n){this.type=0,this.bytes="",this.uint=0,this.type=n.type,this.bytes=n.bytes,this.uint=n.uint}toString(){return 1===this.type?`0x${E.Buffer.from(this.bytes,"base64").toString("hex")}`:this.uint.toString()}}class i8{constructor(n){this.error="",this.line=0,this.pc=0,this.scratch=[],this.stack=[],this.error=void 0===n.error?"":n.error,this.line=n.line,this.pc=n.pc,this.scratch=n.scratch,this.stack=n.stack.map(n=>new i6(n))}}class i9{constructor(n){if(this.trace=[],null==n)return;this.trace=n.map(n=>new i8(n))}}function i7(n,i){return n.length>i&&i>0?`${n.slice(0,i)}...`:n}function oe(n,i){if(0===i.length)return"";let o=null;for(let a=0;an.length){o=a;continue}JSON.stringify(n[a])!==JSON.stringify(i[a])&&(o=a)}if(null==o)return"";let s=i[o];return s.bytes.length>0?`${o} = 0x${E.Buffer.from(s.bytes,"base64").toString("hex")}`:`${o} = ${s.uint.toString()}`}function ot(n,i){let o=i?n.reverse():n;return`[${o.map(n=>{switch(n.type){case 1:return`0x${E.Buffer.from(n.bytes,"base64").toString("hex")}`;case 2:return`${n.uint.toString()}`;default:return""}}).join(", ")}]`}class on{constructor(n){this.disassembly=[],this.appCallMessages=[],this.localDeltas=[],this.globalDelta=[],this.cost=0,this.logicSigMessages=[],this.logicSigDisassembly=[],this.logs=[],this.appCallTrace=void 0,this.logicSigTrace=void 0,this.required=["disassembly"],this.optionals=["app-call-messages","local-deltas","global-delta","cost","logic-sig-messages","logic-sig-disassembly","logs"],this.traces=["app-call-trace","logic-sig-trace"],this.disassembly=n.disassembly,this.appCallMessages=n["app-call-messages"],this.localDeltas=n["local-deltas"],this.globalDelta=n["global-delta"],this.cost=n.cost,this.logicSigMessages=n["logic-sig-messages"],this.logicSigDisassembly=n["logic-sig-disassembly"],this.logs=n.logs,this.appCallTrace=new i9(n["app-call-trace"]),this.logicSigTrace=new i9(n["logic-sig-trace"])}appCallRejected(){return void 0!==this.appCallMessages&&this.appCallMessages.includes("REJECT")}logicSigRejected(){return void 0!==this.logicSigMessages&&this.logicSigMessages.includes("REJECT")}static trace(n,i,o){let a=o.maxValueWidth||i3,s=[["pc#","ln#","source","scratch","stack"]];for(let l=0;l0&&void 0!==n.trace[l-1].scratch?n.trace[l-1].scratch:[],g=""===c?i[u]:`!! ${c} !!`;s.push([d.toString().padEnd(3," "),u.toString().padEnd(3," "),i7(g,a),i7(oe(m,h),a),i7(ot(f,o.topOfStackFirst),a)])}let b=s.reduce((n,i)=>{let o=Array(s[0].length).fill(0);for(let a=0;an[a]?i[a].length:n[a];return o},Array(s[0].length).fill(0));return`${s.map(n=>n.map((n,i)=>n.padEnd(b[i]+1," ")).join("|").trim()).join("\n")} + */ },a=[i],void 0!==(s="function"==typeof(o=u)?o.apply(i,a):o)&&(n.exports=s)},46549:function(n,i,o){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a=o(38416),s=o(31166);class l extends s.Moji{constructor(){super(...arguments),a(this,"name","noto"),a(this,"version",c)}get cdn(){return this.type===s.SpriteCollection.All?"https://cdn.jsdelivr.net/npm/@svgmoji/".concat(this.name,"@").concat(this.version):super.cdn}}let u={name:"noto",owner:"googlefonts",repo:"noto-emoji",sha:"v2020-09-16-unicode13_1",directory:"svg"},c="3.2.0";i.NOTO_META=u,i.Notomoji=l},48559:function(n,i,o){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a=o(38416),s=o(31166);class l extends s.Moji{constructor(){super(...arguments),a(this,"name","openmoji"),a(this,"version",c)}}let u={name:"openmoji",owner:"hfg-gmuend",repo:"openmoji",sha:"93513a3832db7c36bf0be119746456907972b262",directory:"color/svg"},c="3.2.0";i.OPENMOJI_META=u,i.Openmoji=l},13758:function(n,i,o){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a=o(38416),s=o(31166);class l extends s.Moji{constructor(){super(...arguments),a(this,"name","twemoji"),a(this,"version",c)}}let u={name:"twemoji",owner:"twitter",repo:"twemoji",sha:"v13.1.0",directory:"assets/svg"},c="3.2.0";i.TWEMOJI_META=u,i.Twemoji=l},68685:function(n,i,o){"use strict";o.r(i),o.d(i,{default:function(){return tJ}});var a={};o.r(a),o.d(a,{decrypt:function(){return tZ},encrypt:function(){return tY},generateKey:function(){return tW},verifyHmac:function(){return tK}});var s=o(65755),l=o(62873),u=o(34155),c=function(){for(var n=0,i=0,o=arguments.length;i1)}function D(){let n=T();return!!n&&(C()||R())}function O(){let n=A(),i=!!n&&!!n.name&&"node"===n.name.toLowerCase();return i}function I(){let n=!O()&&!!N();return n}l.sD,l.$2,l.uT,l.Me,l.Gw;let N=l.jW;l.UO;let M=l.k$;l.VQ,l.MX,l.xP;let L=l.$o;function P(){return s.D()}function F(n){if("string"!=typeof n)throw Error(`Cannot safe json parse value of type ${typeof n}`);try{return JSON.parse(n)}catch(i){return n}}function B(n){return"string"==typeof n?n:JSON.stringify(n)}let U=F,z=B;function j(n,i){let o=z(i),a=L();a&&a.setItem(n,o)}function $(n){let i=null,o=null,a=L();return a&&(o=a.getItem(n)),i=o?U(o):o}function H(n){let i=L();i&&i.removeItem(n)}let V="WALLETCONNECT_DEEPLINK_CHOICE",G=["session_request","session_update","exchange_key","connect","disconnect","display_uri","modal_closed","transport_open","transport_close","transport_error"],q=["eth_sendTransaction","eth_signTransaction","eth_sign","eth_signTypedData","eth_signTypedData_v1","eth_signTypedData_v2","eth_signTypedData_v3","eth_signTypedData_v4","personal_sign","wallet_addEthereumChain","wallet_switchEthereumChain","wallet_getPermissions","wallet_requestPermissions","wallet_registerOnboarding","wallet_watchAsset","wallet_scanQRCode"];var W=o(11460),K=o.n(W);o(4501);var Y=o(65054),Z=o.n(Y),X=o(48764).Buffer;let J="hex",Q="utf8",ee="0";function et(n){return new Uint8Array(n)}function en(n,i=!1){let o=n.toString(J);return i?ey(o):o}function er(n){return n.toString(Q)}function ei(n){return Z()(n)}function eo(n,i=!1){return en(ei(n),i)}function ea(n){return er(ei(n))}function es(n){return X.from(eb(n),J)}function el(n){return et(es(n))}function eu(n){return X.from(n,Q)}function ec(n){return et(eu(n))}function ed(n,i=!1){return en(eu(n),i)}function ep(n,i){return"string"==typeof n&&!!n.match(/^0x[0-9A-Fa-f]*$/)&&(!i||n.length===2+2*i)}function ef(...n){let i=[];return n.forEach(n=>i=i.concat(Array.from(n))),new Uint8Array([...i])}function eh(n,i=8){let o=n%i;return o?(n-o)/i*i+i:n}function em(n,i=8,o=ee){return eg(n,eh(n.length,i),o)}function eg(n,i,o=ee){return eE(n,i,!0,o)}function eb(n){return n.replace(/^0x/,"")}function ey(n){return n.startsWith("0x")?n:`0x${n}`}function ev(n){return(n=em(n=eb(n),2))&&(n=ey(n)),n}function ew(n){let i=n.startsWith("0x");return n=(n=eb(n)).startsWith(ee)?n.substring(1):n,i?ey(n):n}function eE(n,i,o,a=ee){let s=i-n.length,l=n;if(s>0){let u=a.repeat(s);l=o?u+n:n+u}return l}function eS(n){return ei(new Uint8Array(n))}function ex(n,i){return eo(new Uint8Array(n),!i)}function e_(n){return et(n).buffer}function ek(n){return eu(n)}function eA(n,i){return ed(n,!i)}function eT(n){return el(n).buffer}function eC(n,i){let o=eb(ev(new(K())(n).toString(16)));return i?o:ey(o)}var eR=o(91094),eD=o(1468);function eO(n=3){let i=Date.now()*Math.pow(10,n),o=Math.floor(Math.random()*Math.pow(10,n));return i+o}function eI(n){return ev(n)}function eN(n){return ew(ey(n))}let eM=eO;function eL(){let n=((n,i)=>{for(i=n="";n++<36;i+=51*n&52?(15^n?8^Math.random()*(20^n?16:4):4).toString(16):"-");return i})();return n}function eP(n){return""===n||"string"==typeof n&&""===n.trim()}function eF(n){return!(n&&n.length)}function eB(n,i){return ep(n,i)}function eU(n){return void 0!==n.method}function ez(n){return void 0!==n.result}function ej(n){return void 0!==n.error}function e$(n){return void 0!==n.event}function eH(n){return G.includes(n)||n.startsWith("wc_")}function eV(n){return!!n.method.startsWith("wc_")||!q.includes(n.method)}function eG(n){n=eb(n.toLowerCase());let i=eb((0,eR.keccak_256)(ek(n))),o="";for(let a=0;a7?o+=n[a].toUpperCase():o+=n[a];return ey(o)}let eq=n=>!!n&&"0x"===n.toLowerCase().substring(0,2)&&!!/^(0x)?[0-9a-f]{40}$/i.test(n)&&(!!(/^(0x)?[0-9a-f]{40}$/.test(n)||/^(0x)?[0-9A-F]{40}$/.test(n))||n===eG(n));function eW(n){return eF(n)||eB(n[0])||(n[0]=eA(n[0])),n}function eK(n){if(void 0!==n.type&&"0"!==n.type)return n;if(void 0===n.from||!eq(n.from))throw Error("Transaction object must include a valid 'from' value.");function i(n){let i=n;return"number"!=typeof n&&("string"!=typeof n||eP(n))||(eB(n)?"string"==typeof n&&(i=eI(n)):i=eC(n)),"string"==typeof i&&(i=eN(i)),i}let o={from:eI(n.from),to:void 0===n.to?void 0:eI(n.to),gasPrice:void 0===n.gasPrice?"":i(n.gasPrice),gas:void 0===n.gas?void 0===n.gasLimit?"":i(n.gasLimit):i(n.gas),value:void 0===n.value?"":i(n.value),nonce:void 0===n.nonce?"":i(n.nonce),data:void 0===n.data?"":eI(n.data)||"0x"},a=["gasPrice","gas","value","nonce"];return Object.keys(o).forEach(n=>{(void 0===o[n]||"string"==typeof o[n]&&!o[n].trim().length)&&a.includes(n)&&delete o[n]}),o}function eY(n){let i=n.message||"Failed or Rejected Request",o=-32e3;if(n&&!n.code)switch(i){case"Parse error":o=-32700;break;case"Invalid request":o=-32600;break;case"Method not found":o=-32601;break;case"Invalid params":o=-32602;break;case"Internal error":o=-32603;break;default:o=-32e3}let a={code:o,message:i};return n.data&&(a.data=n.data),a}var eZ=o(66151);function eX(n){let i=-1!==n.indexOf("?")?n.indexOf("?"):void 0,o=void 0!==i?n.substr(i):"";return o}function eJ(n,i){let o=eQ(n);return n=e0(o=Object.assign(Object.assign({},o),i))}function eQ(n){return eZ.parse(n)}function e0(n){return eZ.stringify(n)}function e1(n){return void 0!==n.bridge}function e2(n){let i=n.indexOf(":"),o=-1!==n.indexOf("?")?n.indexOf("?"):void 0,a=n.substring(0,i),s=n.substring(i+1,o);function l(n){let i="@",o=n.split(i),a={handshakeTopic:o[0],version:parseInt(o[1],10)};return a}let u=l(s),c=void 0!==o?n.substr(o):"";function d(n){let i=eQ(n),o={key:i.key||"",bridge:i.bridge||""};return o}let p=d(c),f=Object.assign(Object.assign({protocol:a},u),p);return f}class e3{constructor(){this._eventEmitters=[],"undefined"!=typeof window&&void 0!==window.addEventListener&&(window.addEventListener("online",()=>this.trigger("online")),window.addEventListener("offline",()=>this.trigger("offline")))}on(n,i){this._eventEmitters.push({event:n,callback:i})}trigger(n){let i=[];n&&(i=this._eventEmitters.filter(i=>i.event===n)),i.forEach(n=>{n.callback()})}}var e5=e3;let e4=void 0!==o.g.WebSocket?o.g.WebSocket:o(68007);class e6{constructor(n){if(this.opts=n,this._queue=[],this._events=[],this._subscriptions=[],this._protocol=n.protocol,this._version=n.version,this._url="",this._netMonitor=null,this._socket=null,this._nextSocket=null,this._subscriptions=n.subscriptions||[],this._netMonitor=n.netMonitor||new e5,!n.url||"string"!=typeof n.url)throw Error("Missing or invalid WebSocket url");this._url=n.url,this._netMonitor.on("online",()=>this._socketCreate())}set readyState(n){}get readyState(){return this._socket?this._socket.readyState:-1}set connecting(n){}get connecting(){return 0===this.readyState}set connected(n){}get connected(){return 1===this.readyState}set closing(n){}get closing(){return 2===this.readyState}set closed(n){}get closed(){return 3===this.readyState}open(){this._socketCreate()}close(){this._socketClose()}send(n,i,o){if(!i||"string"!=typeof i)throw Error("Missing or invalid topic field");this._socketSend({topic:i,type:"pub",payload:n,silent:!!o})}subscribe(n){this._socketSend({topic:n,type:"sub",payload:"",silent:!0})}on(n,i){this._events.push({event:n,callback:i})}_socketCreate(){if(this._nextSocket)return;let n=e8(this._url,this._protocol,this._version);if(this._nextSocket=new e4(n),!this._nextSocket)throw Error("Failed to create socket");this._nextSocket.onmessage=n=>this._socketReceive(n),this._nextSocket.onopen=()=>this._socketOpen(),this._nextSocket.onerror=n=>this._socketError(n),this._nextSocket.onclose=()=>{setTimeout(()=>{this._nextSocket=null,this._socketCreate()},1e3)}}_socketOpen(){this._socketClose(),this._socket=this._nextSocket,this._nextSocket=null,this._queueSubscriptions(),this._pushQueue()}_socketClose(){this._socket&&(this._socket.onclose=()=>{},this._socket.close())}_socketSend(n){let i=JSON.stringify(n);this._socket&&1===this._socket.readyState?this._socket.send(i):(this._setToQueue(n),this._socketCreate())}async _socketReceive(n){let i;try{i=JSON.parse(n.data)}catch(o){return}if(this._socketSend({topic:i.topic,type:"ack",payload:"",silent:!0}),this._socket&&1===this._socket.readyState){let a=this._events.filter(n=>"message"===n.event);a&&a.length&&a.forEach(n=>n.callback(i))}}_socketError(n){let i=this._events.filter(n=>"error"===n.event);i&&i.length&&i.forEach(i=>i.callback(n))}_queueSubscriptions(){let n=this._subscriptions;n.forEach(n=>this._queue.push({topic:n,type:"sub",payload:"",silent:!0})),this._subscriptions=this.opts.subscriptions||[]}_setToQueue(n){this._queue.push(n)}_pushQueue(){let n=this._queue;n.forEach(n=>this._socketSend(n)),this._queue=[]}}function e8(n,i,o){var a,s;let l=n.startsWith("https")?n.replace("https","wss"):n.startsWith("http")?n.replace("http","ws"):n,u=l.split("?"),c=I()?{protocol:i,version:o,env:"browser",host:(null===(a=M())||void 0===a?void 0:a.host)||""}:{protocol:i,version:o,env:(null===(s=A())||void 0===s?void 0:s.name)||""},d=eJ(eX(u[1]||""),c);return u[0]+"?"+d}var e9=e6;let e7="Session currently connected",te="Session currently disconnected",tt="Session Rejected",tn="Missing JSON RPC response",tr='JSON-RPC success response must include "result" field',ti='JSON-RPC error response must include "error" field',to='JSON RPC request must have valid "method" value',ta='JSON RPC request must have valid "id" value',ts="Missing one of the required parameters: bridge / uri / session",tl="JSON RPC response format is invalid",tu="URI format is invalid",tc="QRCode Modal not provided",td="User close QRCode Modal";class tp{constructor(){this._eventEmitters=[]}subscribe(n){this._eventEmitters.push(n)}unsubscribe(n){this._eventEmitters=this._eventEmitters.filter(i=>i.event!==n)}trigger(n){let i,o=[];(i=eU(n)?n.method:ez(n)||ej(n)?`response:${n.id}`:e$(n)?n.event:"")&&(o=this._eventEmitters.filter(n=>n.event===i)),o&&o.length||eH(i)||e$(i)||(o=this._eventEmitters.filter(n=>"call_request"===n.event)),o.forEach(i=>{if(ej(n)){let o=Error(n.error.message);i.callback(o,null)}else i.callback(null,n)})}}var tf=tp;class th{constructor(n="walletconnect"){this.storageId=n}getSession(){let n=null,i=$(this.storageId);return i&&e1(i)&&(n=i),n}setSession(n){return j(this.storageId,n),n}removeSession(){H(this.storageId)}}var tm=th;let tg="walletconnect.org",tb="abcdefghijklmnopqrstuvwxyz0123456789",ty=tb.split("").map(n=>`https://${n}.bridge.walletconnect.org`);function tv(n){let i=n.indexOf("//")>-1?n.split("/")[2]:n.split("/")[0];return(i=i.split(":")[0]).split("?")[0]}function tw(n){return tv(n).split(".").slice(-2).join(".")}function tE(){return Math.floor(Math.random()*ty.length)}function tS(){return ty[tE()]}function tx(n){return tw(n)===tg}function t_(n){return tx(n)?tS():n}class tk{constructor(n){if(this.protocol="wc",this.version=1,this._bridge="",this._key=null,this._clientId="",this._clientMeta=null,this._peerId="",this._peerMeta=null,this._handshakeId=0,this._handshakeTopic="",this._connected=!1,this._accounts=[],this._chainId=0,this._networkId=0,this._rpcUrl="",this._eventManager=new tf,this._clientMeta=P()||n.connectorOpts.clientMeta||null,this._cryptoLib=n.cryptoLib,this._sessionStorage=n.sessionStorage||new tm(n.connectorOpts.storageId),this._qrcodeModal=n.connectorOpts.qrcodeModal,this._qrcodeModalOptions=n.connectorOpts.qrcodeModalOptions,this._signingMethods=[...q,...n.connectorOpts.signingMethods||[]],!n.connectorOpts.bridge&&!n.connectorOpts.uri&&!n.connectorOpts.session)throw Error(ts);n.connectorOpts.bridge&&(this.bridge=t_(n.connectorOpts.bridge)),n.connectorOpts.uri&&(this.uri=n.connectorOpts.uri);let i=n.connectorOpts.session||this._getStorageSession();i&&(this.session=i),this.handshakeId&&this._subscribeToSessionResponse(this.handshakeId,"Session request rejected"),this._transport=n.transport||new e9({protocol:this.protocol,version:this.version,url:this.bridge,subscriptions:[this.clientId]}),this._subscribeToInternalEvents(),this._initTransport(),n.connectorOpts.uri&&this._subscribeToSessionRequest(),n.pushServerOpts&&this._registerPushServer(n.pushServerOpts)}set bridge(n){n&&(this._bridge=n)}get bridge(){return this._bridge}set key(n){if(!n)return;let i=eT(n);this._key=i}get key(){if(this._key){let n=ex(this._key,!0);return n}return""}set clientId(n){n&&(this._clientId=n)}get clientId(){let n=this._clientId;return n||(n=this._clientId=eL()),this._clientId}set peerId(n){n&&(this._peerId=n)}get peerId(){return this._peerId}set clientMeta(n){}get clientMeta(){let n=this._clientMeta;return n||(n=this._clientMeta=P()),n}set peerMeta(n){this._peerMeta=n}get peerMeta(){let n=this._peerMeta;return n}set handshakeTopic(n){n&&(this._handshakeTopic=n)}get handshakeTopic(){return this._handshakeTopic}set handshakeId(n){n&&(this._handshakeId=n)}get handshakeId(){return this._handshakeId}get uri(){let n=this._formatUri();return n}set uri(n){if(!n)return;let{handshakeTopic:i,bridge:o,key:a}=this._parseUri(n);this.handshakeTopic=i,this.bridge=o,this.key=a}set chainId(n){this._chainId=n}get chainId(){let n=this._chainId;return n}set networkId(n){this._networkId=n}get networkId(){let n=this._networkId;return n}set accounts(n){this._accounts=n}get accounts(){let n=this._accounts;return n}set rpcUrl(n){this._rpcUrl=n}get rpcUrl(){let n=this._rpcUrl;return n}set connected(n){}get connected(){return this._connected}set pending(n){}get pending(){return!!this._handshakeTopic}get session(){return{connected:this.connected,accounts:this.accounts,chainId:this.chainId,bridge:this.bridge,key:this.key,clientId:this.clientId,clientMeta:this.clientMeta,peerId:this.peerId,peerMeta:this.peerMeta,handshakeId:this.handshakeId,handshakeTopic:this.handshakeTopic}}set session(n){n&&(this._connected=n.connected,this.accounts=n.accounts,this.chainId=n.chainId,this.bridge=n.bridge,this.key=n.key,this.clientId=n.clientId,this.clientMeta=n.clientMeta,this.peerId=n.peerId,this.peerMeta=n.peerMeta,this.handshakeId=n.handshakeId,this.handshakeTopic=n.handshakeTopic)}on(n,i){let o={event:n,callback:i};this._eventManager.subscribe(o)}off(n){this._eventManager.unsubscribe(n)}async createInstantRequest(n){this._key=await this._generateKey();let i=this._formatRequest({method:"wc_instantRequest",params:[{peerId:this.clientId,peerMeta:this.clientMeta,request:this._formatRequest(n)}]});this.handshakeId=i.id,this.handshakeTopic=eL(),this._eventManager.trigger({event:"display_uri",params:[this.uri]}),this.on("modal_closed",()=>{throw Error(td)});let o=()=>{this.killSession()};try{let a=await this._sendCallRequest(i);return a&&o(),a}catch(s){throw o(),s}}async connect(n){if(!this._qrcodeModal)throw Error(tc);return this.connected?{chainId:this.chainId,accounts:this.accounts}:(await this.createSession(n),new Promise(async(n,i)=>{this.on("modal_closed",()=>i(Error(td))),this.on("connect",(o,a)=>{if(o)return i(o);n(a.params[0])})}))}async createSession(n){if(this._connected)throw Error(e7);if(this.pending)return;this._key=await this._generateKey();let i=this._formatRequest({method:"wc_sessionRequest",params:[{peerId:this.clientId,peerMeta:this.clientMeta,chainId:n&&n.chainId?n.chainId:null}]});this.handshakeId=i.id,this.handshakeTopic=eL(),this._sendSessionRequest(i,"Session update rejected",{topic:this.handshakeTopic}),this._eventManager.trigger({event:"display_uri",params:[this.uri]})}approveSession(n){if(this._connected)throw Error(e7);this.chainId=n.chainId,this.accounts=n.accounts,this.networkId=n.networkId||0,this.rpcUrl=n.rpcUrl||"";let i={approved:!0,chainId:this.chainId,networkId:this.networkId,accounts:this.accounts,rpcUrl:this.rpcUrl,peerId:this.clientId,peerMeta:this.clientMeta},o={id:this.handshakeId,jsonrpc:"2.0",result:i};this._sendResponse(o),this._connected=!0,this._setStorageSession(),this._eventManager.trigger({event:"connect",params:[{peerId:this.peerId,peerMeta:this.peerMeta,chainId:this.chainId,accounts:this.accounts}]})}rejectSession(n){if(this._connected)throw Error(e7);let i=n&&n.message?n.message:tt,o=this._formatResponse({id:this.handshakeId,error:{message:i}});this._sendResponse(o),this._connected=!1,this._eventManager.trigger({event:"disconnect",params:[{message:i}]}),this._removeStorageSession()}updateSession(n){if(!this._connected)throw Error(te);this.chainId=n.chainId,this.accounts=n.accounts,this.networkId=n.networkId||0,this.rpcUrl=n.rpcUrl||"";let i={approved:!0,chainId:this.chainId,networkId:this.networkId,accounts:this.accounts,rpcUrl:this.rpcUrl},o=this._formatRequest({method:"wc_sessionUpdate",params:[i]});this._sendSessionRequest(o,"Session update rejected"),this._eventManager.trigger({event:"session_update",params:[{chainId:this.chainId,accounts:this.accounts}]}),this._manageStorageSession()}async killSession(n){let i=n?n.message:"Session Disconnected",o={approved:!1,chainId:null,networkId:null,accounts:null},a=this._formatRequest({method:"wc_sessionUpdate",params:[o]});await this._sendRequest(a),this._handleSessionDisconnect(i)}async sendTransaction(n){if(!this._connected)throw Error(te);let i=eK(n),o=this._formatRequest({method:"eth_sendTransaction",params:[i]}),a=await this._sendCallRequest(o);return a}async signTransaction(n){if(!this._connected)throw Error(te);let i=eK(n),o=this._formatRequest({method:"eth_signTransaction",params:[i]}),a=await this._sendCallRequest(o);return a}async signMessage(n){if(!this._connected)throw Error(te);let i=this._formatRequest({method:"eth_sign",params:n}),o=await this._sendCallRequest(i);return o}async signPersonalMessage(n){if(!this._connected)throw Error(te);n=eW(n);let i=this._formatRequest({method:"personal_sign",params:n}),o=await this._sendCallRequest(i);return o}async signTypedData(n){if(!this._connected)throw Error(te);let i=this._formatRequest({method:"eth_signTypedData",params:n}),o=await this._sendCallRequest(i);return o}async updateChain(n){if(!this._connected)throw Error("Session currently disconnected");let i=this._formatRequest({method:"wallet_updateChain",params:[n]}),o=await this._sendCallRequest(i);return o}unsafeSend(n,i){return this._sendRequest(n,i),this._eventManager.trigger({event:"call_request_sent",params:[{request:n,options:i}]}),new Promise((i,o)=>{this._subscribeToResponse(n.id,(n,a)=>{if(n){o(n);return}if(!a)throw Error(tn);i(a)})})}async sendCustomRequest(n,i){if(!this._connected)throw Error(te);switch(n.method){case"eth_accounts":return this.accounts;case"eth_chainId":return eC(this.chainId);case"eth_sendTransaction":case"eth_signTransaction":n.params&&(n.params[0]=eK(n.params[0]));break;case"personal_sign":n.params&&(n.params=eW(n.params))}let o=this._formatRequest(n),a=await this._sendCallRequest(o,i);return a}approveRequest(n){if(ez(n)){let i=this._formatResponse(n);this._sendResponse(i)}else throw Error(tr)}rejectRequest(n){if(ej(n)){let i=this._formatResponse(n);this._sendResponse(i)}else throw Error(ti)}transportClose(){this._transport.close()}async _sendRequest(n,i){let o=this._formatRequest(n),a=await this._encrypt(o),s=void 0!==(null==i?void 0:i.topic)?i.topic:this.peerId,l=JSON.stringify(a),u=void 0!==(null==i?void 0:i.forcePushNotification)?!i.forcePushNotification:eV(o);this._transport.send(l,s,u)}async _sendResponse(n){let i=await this._encrypt(n),o=this.peerId,a=JSON.stringify(i),s=!0;this._transport.send(a,o,s)}async _sendSessionRequest(n,i,o){this._sendRequest(n,o),this._subscribeToSessionResponse(n.id,i)}_sendCallRequest(n,i){return this._sendRequest(n,i),this._eventManager.trigger({event:"call_request_sent",params:[{request:n,options:i}]}),this._subscribeToCallResponse(n.id)}_formatRequest(n){if(void 0===n.method)throw Error(to);let i={id:void 0===n.id?eM():n.id,jsonrpc:"2.0",method:n.method,params:void 0===n.params?[]:n.params};return i}_formatResponse(n){if(void 0===n.id)throw Error(ta);let i={id:n.id,jsonrpc:"2.0"};if(ej(n)){let o=eY(n.error),a=Object.assign(Object.assign(Object.assign({},i),n),{error:o});return a}if(ez(n)){let s=Object.assign(Object.assign({},i),n);return s}throw Error(tl)}_handleSessionDisconnect(n){let i=n||"Session Disconnected";this._connected||(this._qrcodeModal&&this._qrcodeModal.close(),H(V)),this._connected&&(this._connected=!1),this._handshakeId&&(this._handshakeId=0),this._handshakeTopic&&(this._handshakeTopic=""),this._peerId&&(this._peerId=""),this._eventManager.trigger({event:"disconnect",params:[{message:i}]}),this._removeStorageSession(),this.transportClose()}_handleSessionResponse(n,i){i&&i.approved?(this._connected?(i.chainId&&(this.chainId=i.chainId),i.accounts&&(this.accounts=i.accounts),this._eventManager.trigger({event:"session_update",params:[{chainId:this.chainId,accounts:this.accounts}]})):(this._connected=!0,i.chainId&&(this.chainId=i.chainId),i.accounts&&(this.accounts=i.accounts),i.peerId&&!this.peerId&&(this.peerId=i.peerId),i.peerMeta&&!this.peerMeta&&(this.peerMeta=i.peerMeta),this._eventManager.trigger({event:"connect",params:[{peerId:this.peerId,peerMeta:this.peerMeta,chainId:this.chainId,accounts:this.accounts}]})),this._manageStorageSession()):this._handleSessionDisconnect(n)}async _handleIncomingMessages(n){let i;let o=[this.clientId,this.handshakeTopic];if(!o.includes(n.topic))return;try{i=JSON.parse(n.payload)}catch(a){return}let s=await this._decrypt(i);s&&this._eventManager.trigger(s)}_subscribeToSessionRequest(){this._transport.subscribe(this.handshakeTopic)}_subscribeToResponse(n,i){this.on(`response:${n}`,i)}_subscribeToSessionResponse(n,i){this._subscribeToResponse(n,(n,o)=>{if(n){this._handleSessionResponse(n.message);return}ez(o)?this._handleSessionResponse(i,o.result):o.error&&o.error.message?this._handleSessionResponse(o.error.message):this._handleSessionResponse(i)})}_subscribeToCallResponse(n){return new Promise((i,o)=>{this._subscribeToResponse(n,(n,a)=>{if(n){o(n);return}ez(a)?i(a.result):a.error&&a.error.message?o(a.error):o(Error(tl))})})}_subscribeToInternalEvents(){this.on("display_uri",()=>{this._qrcodeModal&&this._qrcodeModal.open(this.uri,()=>{this._eventManager.trigger({event:"modal_closed",params:[]})},this._qrcodeModalOptions)}),this.on("connect",()=>{this._qrcodeModal&&this._qrcodeModal.close()}),this.on("call_request_sent",(n,i)=>{let{request:o}=i.params[0];if(D()&&this._signingMethods.includes(o.method)){let a=$(V);a&&(window.location.href=a.href)}}),this.on("wc_sessionRequest",(n,i)=>{n&&this._eventManager.trigger({event:"error",params:[{code:"SESSION_REQUEST_ERROR",message:n.toString()}]}),this.handshakeId=i.id,this.peerId=i.params[0].peerId,this.peerMeta=i.params[0].peerMeta;let o=Object.assign(Object.assign({},i),{method:"session_request"});this._eventManager.trigger(o)}),this.on("wc_sessionUpdate",(n,i)=>{n&&this._handleSessionResponse(n.message),this._handleSessionResponse("Session disconnected",i.params[0])})}_initTransport(){this._transport.on("message",n=>this._handleIncomingMessages(n)),this._transport.on("open",()=>this._eventManager.trigger({event:"transport_open",params:[]})),this._transport.on("close",()=>this._eventManager.trigger({event:"transport_close",params:[]})),this._transport.on("error",()=>this._eventManager.trigger({event:"transport_error",params:["Websocket connection failed"]})),this._transport.open()}_formatUri(){let n=this.protocol,i=this.handshakeTopic,o=this.version,a=encodeURIComponent(this.bridge),s=this.key,l=`${n}:${i}@${o}?bridge=${a}&key=${s}`;return l}_parseUri(n){let i=e2(n);if(i.protocol===this.protocol){if(!i.handshakeTopic)throw Error("Invalid or missing handshakeTopic parameter value");let o=i.handshakeTopic;if(!i.bridge)throw Error("Invalid or missing bridge url parameter value");let a=decodeURIComponent(i.bridge);if(!i.key)throw Error("Invalid or missing key parameter value");let s=i.key;return{handshakeTopic:o,bridge:a,key:s}}throw Error(tu)}async _generateKey(){if(this._cryptoLib){let n=await this._cryptoLib.generateKey();return n}return null}async _encrypt(n){let i=this._key;if(this._cryptoLib&&i){let o=await this._cryptoLib.encrypt(n,i);return o}return null}async _decrypt(n){let i=this._key;if(this._cryptoLib&&i){let o=await this._cryptoLib.decrypt(n,i);return o}return null}_getStorageSession(){let n=null;return this._sessionStorage&&(n=this._sessionStorage.getSession()),n}_setStorageSession(){this._sessionStorage&&this._sessionStorage.setSession(this.session)}_removeStorageSession(){this._sessionStorage&&this._sessionStorage.removeSession()}_manageStorageSession(){this._connected?this._setStorageSession():this._removeStorageSession()}_registerPushServer(n){if(!n.url||"string"!=typeof n.url)throw Error("Invalid or missing pushServerOpts.url parameter value");if(!n.type||"string"!=typeof n.type)throw Error("Invalid or missing pushServerOpts.type parameter value");if(!n.token||"string"!=typeof n.token)throw Error("Invalid or missing pushServerOpts.token parameter value");let i={bridge:this.bridge,topic:this.clientId,type:n.type,token:n.token,peerName:"",language:n.language||""};this.on("connect",async(o,a)=>{if(o)throw o;if(n.peerMeta){let s=a.params[0].peerMeta.name;i.peerName=s}try{let l=await fetch(`${n.url}/new`,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(i)}),u=await l.json();if(!u.success)throw Error("Failed to register in Push Server")}catch(c){throw Error("Failed to register in Push Server")}})}}var tA=tk;function tT(n){let i=eD.getBrowerCrypto();return i.getRandomValues(new Uint8Array(n))}let tC=256,tR=tC,tD=tC,tO="AES-CBC",tI=`SHA-${tR}`,tN="HMAC",tM="encrypt",tL="decrypt",tP="sign",tF="verify";function tB(n){return n===tO?{length:tR,name:tO}:{hash:{name:tI},name:tN}}function tU(n){return n===tO?[tM,tL]:[tP,tF]}async function tz(n,i=tO){return eD.getSubtleCrypto().importKey("raw",n,tB(i),!0,tU(i))}async function tj(n,i,o){let a=eD.getSubtleCrypto(),s=await tz(i,tO),l=await a.encrypt({iv:n,name:tO},s,o);return new Uint8Array(l)}async function t$(n,i,o){let a=eD.getSubtleCrypto(),s=await tz(i,tO),l=await a.decrypt({iv:n,name:tO},s,o);return new Uint8Array(l)}async function tH(n,i){let o=eD.getSubtleCrypto(),a=await tz(n,tN),s=await o.sign({length:tD,name:tN},a,i);return new Uint8Array(s)}function tV(n,i,o){return tj(n,i,o)}function tG(n,i,o){return t$(n,i,o)}async function tq(n,i){let o=await tH(n,i);return o}async function tW(n){let i=(n||256)/8,o=tT(i),a=e_(ei(o));return a}async function tK(n,i){let o=el(n.data),a=el(n.iv),s=el(n.hmac),l=eo(s,!1),u=ef(o,a),c=await tq(i,u),d=eo(c,!1);return eb(l)===eb(d)}async function tY(n,i,o){let a=et(eS(i)),s=o||await tW(128),l=et(eS(s)),u=eo(l,!1),c=JSON.stringify(n),d=ec(c),p=await tV(l,a,d),f=eo(p,!1),h=ef(p,l),m=await tq(a,h),g=eo(m,!1);return{data:f,hmac:g,iv:u}}async function tZ(n,i){let o;let a=et(eS(i));if(!a)throw Error("Missing key: required for decryption");let s=await tK(n,a);if(!s)return null;let l=el(n.data),u=el(n.iv),c=await tG(u,a,l),d=ea(c);try{o=JSON.parse(d)}catch(p){return null}return o}class tX extends tA{constructor(n,i){super({cryptoLib:a,connectorOpts:n,pushServerOpts:i})}}var tJ=tX},40926:function(n,i,o){"use strict";function a(){return(null===o.g||void 0===o.g?void 0:o.g.crypto)||(null===o.g||void 0===o.g?void 0:o.g.msCrypto)||{}}function s(){let n=a();return n.subtle||n.webkitSubtle}function l(){return!!a()&&!!s()}Object.defineProperty(i,"__esModule",{value:!0}),i.isBrowserCryptoAvailable=i.getSubtleCrypto=i.getBrowerCrypto=void 0,i.getBrowerCrypto=a,i.getSubtleCrypto=s,i.isBrowserCryptoAvailable=l},88618:function(n,i,o){"use strict";var a=o(34155);function s(){return"undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product}function l(){return void 0!==a&&void 0!==a.versions&&void 0!==a.versions.node}function u(){return!s()&&!l()}Object.defineProperty(i,"__esModule",{value:!0}),i.isBrowser=i.isNode=i.isReactNative=void 0,i.isReactNative=s,i.isNode=l,i.isBrowser=u},1468:function(n,i,o){"use strict";Object.defineProperty(i,"__esModule",{value:!0});let a=o(34308);a.__exportStar(o(40926),i),a.__exportStar(o(88618),i)},34308:function(n,i,o){"use strict";o.r(i),o.d(i,{__assign:function(){return l},__asyncDelegator:function(){return x},__asyncGenerator:function(){return S},__asyncValues:function(){return _},__await:function(){return E},__awaiter:function(){return f},__classPrivateFieldGet:function(){return C},__classPrivateFieldSet:function(){return R},__createBinding:function(){return m},__decorate:function(){return c},__exportStar:function(){return g},__extends:function(){return s},__generator:function(){return h},__importDefault:function(){return T},__importStar:function(){return A},__makeTemplateObject:function(){return k},__metadata:function(){return p},__param:function(){return d},__read:function(){return y},__rest:function(){return u},__spread:function(){return v},__spreadArrays:function(){return w},__values:function(){return b}});/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ var a=function(n,i){return(a=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])})(n,i)};function s(n,i){function o(){this.constructor=n}a(n,i),n.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}var l=function(){return(l=Object.assign||function(n){for(var i,o=1,a=arguments.length;oi.indexOf(a)&&(o[a]=n[a]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,a=Object.getOwnPropertySymbols(n);si.indexOf(a[s])&&Object.prototype.propertyIsEnumerable.call(n,a[s])&&(o[a[s]]=n[a[s]]);return o}function c(n,i,o,a){var s,l=arguments.length,u=l<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(n,i,o,a);else for(var c=n.length-1;c>=0;c--)(s=n[c])&&(u=(l<3?s(u):l>3?s(i,o,u):s(i,o))||u);return l>3&&u&&Object.defineProperty(i,o,u),u}function d(n,i){return function(o,a){i(o,a,n)}}function p(n,i){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(n,i)}function f(n,i,o,a){function s(n){return n instanceof o?n:new o(function(i){i(n)})}return new(o||(o=Promise))(function(o,l){function u(n){try{d(a.next(n))}catch(i){l(i)}}function c(n){try{d(a.throw(n))}catch(i){l(i)}}function d(n){n.done?o(n.value):s(n.value).then(u,c)}d((a=a.apply(n,i||[])).next())})}function h(n,i){var o,a,s,l,u={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return l={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function c(n){return function(i){return d([n,i])}}function d(l){if(o)throw TypeError("Generator is already executing.");for(;u;)try{if(o=1,a&&(s=2&l[0]?a.return:l[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,l[1])).done)return s;switch(a=0,s&&(l=[2&l[0],s.value]),l[0]){case 0:case 1:s=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,a=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(!(s=(s=u.trys).length>0&&s[s.length-1])&&(6===l[0]||2===l[0])){u=0;continue}if(3===l[0]&&(!s||l[1]>s[0]&&l[1]=n.length&&(n=void 0),{value:n&&n[a++],done:!n}}};throw TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(n,i){var o="function"==typeof Symbol&&n[Symbol.iterator];if(!o)return n;var a,s,l=o.call(n),u=[];try{for(;(void 0===i||i-- >0)&&!(a=l.next()).done;)u.push(a.value)}catch(c){s={error:c}}finally{try{a&&!a.done&&(o=l.return)&&o.call(l)}finally{if(s)throw s.error}}return u}function v(){for(var n=[],i=0;i1||c(n,i)})})}function c(n,i){try{d(s[n](i))}catch(o){h(l[0][3],o)}}function d(n){n.value instanceof E?Promise.resolve(n.value.v).then(p,f):h(l[0][2],n)}function p(n){c("next",n)}function f(n){c("throw",n)}function h(n,i){n(i),l.shift(),l.length&&c(l[0][0],l[0][1])}}function x(n){var i,o;return i={},a("next"),a("throw",function(n){throw n}),a("return"),i[Symbol.iterator]=function(){return this},i;function a(a,s){i[a]=n[a]?function(i){return(o=!o)?{value:E(n[a](i)),done:"return"===a}:s?s(i):i}:s}}function _(n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var i,o=n[Symbol.asyncIterator];return o?o.call(n):(n=b(n),i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i);function a(o){i[o]=n[o]&&function(i){return new Promise(function(a,l){s(a,l,(i=n[o](i)).done,i.value)})}}function s(n,i,o,a){Promise.resolve(a).then(function(i){n({value:i,done:o})},i)}}function k(n,i){return Object.defineProperty?Object.defineProperty(n,"raw",{value:i}):n.raw=i,n}function A(n){if(n&&n.__esModule)return n;var i={};if(null!=n)for(var o in n)Object.hasOwnProperty.call(n,o)&&(i[o]=n[o]);return i.default=n,i}function T(n){return n&&n.__esModule?n:{default:n}}function C(n,i){if(!i.has(n))throw TypeError("attempted to get private field on non-instance");return i.get(n)}function R(n,i,o){if(!i.has(n))throw TypeError("attempted to set private field on non-instance");return i.set(n,o),o}},68007:function(n){"use strict";n.exports=function(){throw Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}},11460:function(n,i,o){!function(n,i){"use strict";function a(n,i){if(!n)throw Error(i||"Assertion failed")}function s(n,i){n.super_=i;var o=function(){};o.prototype=i.prototype,n.prototype=new o,n.prototype.constructor=n}function l(n,i,o){if(l.isBN(n))return n;this.negative=0,this.words=null,this.length=0,this.red=null,null!==n&&(("le"===i||"be"===i)&&(o=i,i=10),this._init(n||0,i||10,o||"be"))}"object"==typeof n?n.exports=l:i.BN=l,l.BN=l,l.wordSize=26;try{p=o(36563).Buffer}catch(u){}function c(n,i,o){for(var a=0,s=Math.min(n.length,o),l=i;l=49&&u<=54?a|=u-49+10:u>=17&&u<=22?a|=u-17+10:a|=15&u}return a}function d(n,i,o,a){for(var s=0,l=Math.min(n.length,o),u=i;u=49?s+=c-49+10:c>=17?s+=c-17+10:s+=c}return s}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,i){return n.cmp(i)>0?n:i},l.min=function(n,i){return 0>n.cmp(i)?n:i},l.prototype._init=function(n,i,o){if("number"==typeof n)return this._initNumber(n,i,o);if("object"==typeof n)return this._initArray(n,i,o);"hex"===i&&(i=16),a(i===(0|i)&&i>=2&&i<=36);var s=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&s++,16===i?this._parseHex(n,s):this._parseBase(n,i,s),"-"===n[0]&&(this.negative=1),this.strip(),"le"===o&&this._initArray(this.toArray(),i,o)},l.prototype._initNumber=function(n,i,o){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(a(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===o&&this._initArray(this.toArray(),i,o)},l.prototype._initArray=function(n,i,o){if(a("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=Array(this.length);for(var s,l,u=0;u=0;u-=3)l=n[u]|n[u-1]<<8|n[u-2]<<16,this.words[s]|=l<>>26-c&67108863,(c+=24)>=26&&(c-=26,s++);else if("le"===o)for(u=0,s=0;u>>26-c&67108863,(c+=24)>=26&&(c-=26,s++);return this.strip()},l.prototype._parseHex=function(n,i){this.length=Math.ceil((n.length-i)/6),this.words=Array(this.length);for(var o,a,s=0;s=i;s-=6)a=c(n,s,s+6),this.words[o]|=a<>>26-l&4194303,(l+=24)>=26&&(l-=26,o++);s+6!==i&&(a=c(n,i,s+6),this.words[o]|=a<>>26-l&4194303),this.strip()},l.prototype._parseBase=function(n,i,o){this.words=[0],this.length=1;for(var a=0,s=1;s<=67108863;s*=i)a++;a--,s=s/i|0;for(var l=n.length-o,u=l%a,c=Math.min(l,l-u)+o,p=0,f=o;f1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?""};var p,f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],m=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function g(n){for(var i=Array(n.bitLength()),o=0;o>>s}return i}function b(n,i,o){o.negative=i.negative^n.negative;var a=n.length+i.length|0;o.length=a,a=a-1|0;var s=0|n.words[0],l=0|i.words[0],u=s*l,c=67108863&u,d=u/67108864|0;o.words[0]=c;for(var p=1;p>>26,h=67108863&d,m=Math.min(p,i.length-1),g=Math.max(0,p-n.length+1);g<=m;g++){var b=p-g|0;f+=(u=(s=0|n.words[b])*(l=0|i.words[g])+h)/67108864|0,h=67108863&u}o.words[p]=0|h,d=0|f}return 0!==d?o.words[p]=0|d:o.length--,o.strip()}l.prototype.toString=function(n,i){if(i=0|i||1,16===(n=n||10)||"hex"===n){o="";for(var o,s=0,l=0,u=0;u>>24-s&16777215)||u!==this.length-1?f[6-d.length]+d+o:d+o,(s+=2)>=26&&(s-=26,u--)}for(0!==l&&(o=l.toString(16)+o);o.length%i!=0;)o="0"+o;return 0!==this.negative&&(o="-"+o),o}if(n===(0|n)&&n>=2&&n<=36){var p=h[n],g=m[n];o="";var b=this.clone();for(b.negative=0;!b.isZero();){var y=b.modn(g).toString(n);o=(b=b.idivn(g)).isZero()?y+o:f[p-y.length]+y+o}for(this.isZero()&&(o="0"+o);o.length%i!=0;)o="0"+o;return 0!==this.negative&&(o="-"+o),o}a(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&a(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,i){return a(void 0!==p),this.toArrayLike(p,n,i)},l.prototype.toArray=function(n,i){return this.toArrayLike(Array,n,i)},l.prototype.toArrayLike=function(n,i,o){var s,l,u=this.byteLength(),c=o||Math.max(1,u);a(u<=c,"byte array longer than desired length"),a(c>0,"Requested array length <= 0"),this.strip();var d="le"===i,p=new n(c),f=this.clone();if(d){for(l=0;!f.isZero();l++)s=f.andln(255),f.iushrn(8),p[l]=s;for(;l=4096&&(o+=13,i>>>=13),i>=64&&(o+=7,i>>>=7),i>=8&&(o+=4,i>>>=4),i>=2&&(o+=2,i>>>=2),o+i},l.prototype._zeroBits=function(n){if(0===n)return 26;var i=n,o=0;return(8191&i)==0&&(o+=13,i>>>=13),(127&i)==0&&(o+=7,i>>>=7),(15&i)==0&&(o+=4,i>>>=4),(3&i)==0&&(o+=2,i>>>=2),(1&i)==0&&o++,o},l.prototype.bitLength=function(){var n=this.words[this.length-1],i=this._countBits(n);return(this.length-1)*26+i},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,i=0;in.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var i;i=this.length>n.length?n:this;for(var o=0;on.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){this.length>n.length?(i=this,o=n):(i=n,o=this);for(var i,o,a=0;an.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){a("number"==typeof n&&n>=0);var i=0|Math.ceil(n/26),o=n%26;this._expand(i),o>0&&i--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-o),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,i){a("number"==typeof n&&n>=0);var o=n/26|0,s=n%26;return this._expand(o+1),i?this.words[o]=this.words[o]|1<n.length?(o=this,a=n):(o=n,a=this);for(var i,o,a,s=0,l=0;l>>26;for(;0!==s&&l>>26;if(this.length=o.length,0!==s)this.words[this.length]=s,this.length++;else if(o!==this)for(;ln.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var i,o,a=this.iadd(n);return n.negative=1,a._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var s=this.cmp(n);if(0===s)return this.negative=0,this.length=1,this.words[0]=0,this;s>0?(i=this,o=n):(i=n,o=this);for(var l=0,u=0;u>26,this.words[u]=67108863&a;for(;0!==l&&u>26,this.words[u]=67108863&a;if(0===l&&u>>13,g=0|u[1],b=8191&g,y=g>>>13,v=0|u[2],w=8191&v,E=v>>>13,S=0|u[3],x=8191&S,_=S>>>13,k=0|u[4],A=8191&k,T=k>>>13,C=0|u[5],R=8191&C,D=C>>>13,O=0|u[6],I=8191&O,N=O>>>13,M=0|u[7],L=8191&M,P=M>>>13,F=0|u[8],B=8191&F,U=F>>>13,z=0|u[9],j=8191&z,$=z>>>13,H=0|c[0],V=8191&H,G=H>>>13,q=0|c[1],W=8191&q,K=q>>>13,Y=0|c[2],Z=8191&Y,X=Y>>>13,J=0|c[3],Q=8191&J,ee=J>>>13,et=0|c[4],en=8191&et,er=et>>>13,ei=0|c[5],eo=8191&ei,ea=ei>>>13,es=0|c[6],el=8191&es,eu=es>>>13,ec=0|c[7],ed=8191&ec,ep=ec>>>13,ef=0|c[8],eh=8191&ef,em=ef>>>13,eg=0|c[9],eb=8191&eg,ey=eg>>>13;o.negative=n.negative^i.negative,o.length=19;var ev=(p+(a=Math.imul(h,V))|0)+((8191&(s=(s=Math.imul(h,G))+Math.imul(m,V)|0))<<13)|0;p=((l=Math.imul(m,G))+(s>>>13)|0)+(ev>>>26)|0,ev&=67108863,a=Math.imul(b,V),s=(s=Math.imul(b,G))+Math.imul(y,V)|0,l=Math.imul(y,G);var ew=(p+(a=a+Math.imul(h,W)|0)|0)+((8191&(s=(s=s+Math.imul(h,K)|0)+Math.imul(m,W)|0))<<13)|0;p=((l=l+Math.imul(m,K)|0)+(s>>>13)|0)+(ew>>>26)|0,ew&=67108863,a=Math.imul(w,V),s=(s=Math.imul(w,G))+Math.imul(E,V)|0,l=Math.imul(E,G),a=a+Math.imul(b,W)|0,s=(s=s+Math.imul(b,K)|0)+Math.imul(y,W)|0,l=l+Math.imul(y,K)|0;var eE=(p+(a=a+Math.imul(h,Z)|0)|0)+((8191&(s=(s=s+Math.imul(h,X)|0)+Math.imul(m,Z)|0))<<13)|0;p=((l=l+Math.imul(m,X)|0)+(s>>>13)|0)+(eE>>>26)|0,eE&=67108863,a=Math.imul(x,V),s=(s=Math.imul(x,G))+Math.imul(_,V)|0,l=Math.imul(_,G),a=a+Math.imul(w,W)|0,s=(s=s+Math.imul(w,K)|0)+Math.imul(E,W)|0,l=l+Math.imul(E,K)|0,a=a+Math.imul(b,Z)|0,s=(s=s+Math.imul(b,X)|0)+Math.imul(y,Z)|0,l=l+Math.imul(y,X)|0;var eS=(p+(a=a+Math.imul(h,Q)|0)|0)+((8191&(s=(s=s+Math.imul(h,ee)|0)+Math.imul(m,Q)|0))<<13)|0;p=((l=l+Math.imul(m,ee)|0)+(s>>>13)|0)+(eS>>>26)|0,eS&=67108863,a=Math.imul(A,V),s=(s=Math.imul(A,G))+Math.imul(T,V)|0,l=Math.imul(T,G),a=a+Math.imul(x,W)|0,s=(s=s+Math.imul(x,K)|0)+Math.imul(_,W)|0,l=l+Math.imul(_,K)|0,a=a+Math.imul(w,Z)|0,s=(s=s+Math.imul(w,X)|0)+Math.imul(E,Z)|0,l=l+Math.imul(E,X)|0,a=a+Math.imul(b,Q)|0,s=(s=s+Math.imul(b,ee)|0)+Math.imul(y,Q)|0,l=l+Math.imul(y,ee)|0;var ex=(p+(a=a+Math.imul(h,en)|0)|0)+((8191&(s=(s=s+Math.imul(h,er)|0)+Math.imul(m,en)|0))<<13)|0;p=((l=l+Math.imul(m,er)|0)+(s>>>13)|0)+(ex>>>26)|0,ex&=67108863,a=Math.imul(R,V),s=(s=Math.imul(R,G))+Math.imul(D,V)|0,l=Math.imul(D,G),a=a+Math.imul(A,W)|0,s=(s=s+Math.imul(A,K)|0)+Math.imul(T,W)|0,l=l+Math.imul(T,K)|0,a=a+Math.imul(x,Z)|0,s=(s=s+Math.imul(x,X)|0)+Math.imul(_,Z)|0,l=l+Math.imul(_,X)|0,a=a+Math.imul(w,Q)|0,s=(s=s+Math.imul(w,ee)|0)+Math.imul(E,Q)|0,l=l+Math.imul(E,ee)|0,a=a+Math.imul(b,en)|0,s=(s=s+Math.imul(b,er)|0)+Math.imul(y,en)|0,l=l+Math.imul(y,er)|0;var e_=(p+(a=a+Math.imul(h,eo)|0)|0)+((8191&(s=(s=s+Math.imul(h,ea)|0)+Math.imul(m,eo)|0))<<13)|0;p=((l=l+Math.imul(m,ea)|0)+(s>>>13)|0)+(e_>>>26)|0,e_&=67108863,a=Math.imul(I,V),s=(s=Math.imul(I,G))+Math.imul(N,V)|0,l=Math.imul(N,G),a=a+Math.imul(R,W)|0,s=(s=s+Math.imul(R,K)|0)+Math.imul(D,W)|0,l=l+Math.imul(D,K)|0,a=a+Math.imul(A,Z)|0,s=(s=s+Math.imul(A,X)|0)+Math.imul(T,Z)|0,l=l+Math.imul(T,X)|0,a=a+Math.imul(x,Q)|0,s=(s=s+Math.imul(x,ee)|0)+Math.imul(_,Q)|0,l=l+Math.imul(_,ee)|0,a=a+Math.imul(w,en)|0,s=(s=s+Math.imul(w,er)|0)+Math.imul(E,en)|0,l=l+Math.imul(E,er)|0,a=a+Math.imul(b,eo)|0,s=(s=s+Math.imul(b,ea)|0)+Math.imul(y,eo)|0,l=l+Math.imul(y,ea)|0;var ek=(p+(a=a+Math.imul(h,el)|0)|0)+((8191&(s=(s=s+Math.imul(h,eu)|0)+Math.imul(m,el)|0))<<13)|0;p=((l=l+Math.imul(m,eu)|0)+(s>>>13)|0)+(ek>>>26)|0,ek&=67108863,a=Math.imul(L,V),s=(s=Math.imul(L,G))+Math.imul(P,V)|0,l=Math.imul(P,G),a=a+Math.imul(I,W)|0,s=(s=s+Math.imul(I,K)|0)+Math.imul(N,W)|0,l=l+Math.imul(N,K)|0,a=a+Math.imul(R,Z)|0,s=(s=s+Math.imul(R,X)|0)+Math.imul(D,Z)|0,l=l+Math.imul(D,X)|0,a=a+Math.imul(A,Q)|0,s=(s=s+Math.imul(A,ee)|0)+Math.imul(T,Q)|0,l=l+Math.imul(T,ee)|0,a=a+Math.imul(x,en)|0,s=(s=s+Math.imul(x,er)|0)+Math.imul(_,en)|0,l=l+Math.imul(_,er)|0,a=a+Math.imul(w,eo)|0,s=(s=s+Math.imul(w,ea)|0)+Math.imul(E,eo)|0,l=l+Math.imul(E,ea)|0,a=a+Math.imul(b,el)|0,s=(s=s+Math.imul(b,eu)|0)+Math.imul(y,el)|0,l=l+Math.imul(y,eu)|0;var eA=(p+(a=a+Math.imul(h,ed)|0)|0)+((8191&(s=(s=s+Math.imul(h,ep)|0)+Math.imul(m,ed)|0))<<13)|0;p=((l=l+Math.imul(m,ep)|0)+(s>>>13)|0)+(eA>>>26)|0,eA&=67108863,a=Math.imul(B,V),s=(s=Math.imul(B,G))+Math.imul(U,V)|0,l=Math.imul(U,G),a=a+Math.imul(L,W)|0,s=(s=s+Math.imul(L,K)|0)+Math.imul(P,W)|0,l=l+Math.imul(P,K)|0,a=a+Math.imul(I,Z)|0,s=(s=s+Math.imul(I,X)|0)+Math.imul(N,Z)|0,l=l+Math.imul(N,X)|0,a=a+Math.imul(R,Q)|0,s=(s=s+Math.imul(R,ee)|0)+Math.imul(D,Q)|0,l=l+Math.imul(D,ee)|0,a=a+Math.imul(A,en)|0,s=(s=s+Math.imul(A,er)|0)+Math.imul(T,en)|0,l=l+Math.imul(T,er)|0,a=a+Math.imul(x,eo)|0,s=(s=s+Math.imul(x,ea)|0)+Math.imul(_,eo)|0,l=l+Math.imul(_,ea)|0,a=a+Math.imul(w,el)|0,s=(s=s+Math.imul(w,eu)|0)+Math.imul(E,el)|0,l=l+Math.imul(E,eu)|0,a=a+Math.imul(b,ed)|0,s=(s=s+Math.imul(b,ep)|0)+Math.imul(y,ed)|0,l=l+Math.imul(y,ep)|0;var eT=(p+(a=a+Math.imul(h,eh)|0)|0)+((8191&(s=(s=s+Math.imul(h,em)|0)+Math.imul(m,eh)|0))<<13)|0;p=((l=l+Math.imul(m,em)|0)+(s>>>13)|0)+(eT>>>26)|0,eT&=67108863,a=Math.imul(j,V),s=(s=Math.imul(j,G))+Math.imul($,V)|0,l=Math.imul($,G),a=a+Math.imul(B,W)|0,s=(s=s+Math.imul(B,K)|0)+Math.imul(U,W)|0,l=l+Math.imul(U,K)|0,a=a+Math.imul(L,Z)|0,s=(s=s+Math.imul(L,X)|0)+Math.imul(P,Z)|0,l=l+Math.imul(P,X)|0,a=a+Math.imul(I,Q)|0,s=(s=s+Math.imul(I,ee)|0)+Math.imul(N,Q)|0,l=l+Math.imul(N,ee)|0,a=a+Math.imul(R,en)|0,s=(s=s+Math.imul(R,er)|0)+Math.imul(D,en)|0,l=l+Math.imul(D,er)|0,a=a+Math.imul(A,eo)|0,s=(s=s+Math.imul(A,ea)|0)+Math.imul(T,eo)|0,l=l+Math.imul(T,ea)|0,a=a+Math.imul(x,el)|0,s=(s=s+Math.imul(x,eu)|0)+Math.imul(_,el)|0,l=l+Math.imul(_,eu)|0,a=a+Math.imul(w,ed)|0,s=(s=s+Math.imul(w,ep)|0)+Math.imul(E,ed)|0,l=l+Math.imul(E,ep)|0,a=a+Math.imul(b,eh)|0,s=(s=s+Math.imul(b,em)|0)+Math.imul(y,eh)|0,l=l+Math.imul(y,em)|0;var eC=(p+(a=a+Math.imul(h,eb)|0)|0)+((8191&(s=(s=s+Math.imul(h,ey)|0)+Math.imul(m,eb)|0))<<13)|0;p=((l=l+Math.imul(m,ey)|0)+(s>>>13)|0)+(eC>>>26)|0,eC&=67108863,a=Math.imul(j,W),s=(s=Math.imul(j,K))+Math.imul($,W)|0,l=Math.imul($,K),a=a+Math.imul(B,Z)|0,s=(s=s+Math.imul(B,X)|0)+Math.imul(U,Z)|0,l=l+Math.imul(U,X)|0,a=a+Math.imul(L,Q)|0,s=(s=s+Math.imul(L,ee)|0)+Math.imul(P,Q)|0,l=l+Math.imul(P,ee)|0,a=a+Math.imul(I,en)|0,s=(s=s+Math.imul(I,er)|0)+Math.imul(N,en)|0,l=l+Math.imul(N,er)|0,a=a+Math.imul(R,eo)|0,s=(s=s+Math.imul(R,ea)|0)+Math.imul(D,eo)|0,l=l+Math.imul(D,ea)|0,a=a+Math.imul(A,el)|0,s=(s=s+Math.imul(A,eu)|0)+Math.imul(T,el)|0,l=l+Math.imul(T,eu)|0,a=a+Math.imul(x,ed)|0,s=(s=s+Math.imul(x,ep)|0)+Math.imul(_,ed)|0,l=l+Math.imul(_,ep)|0,a=a+Math.imul(w,eh)|0,s=(s=s+Math.imul(w,em)|0)+Math.imul(E,eh)|0,l=l+Math.imul(E,em)|0;var eR=(p+(a=a+Math.imul(b,eb)|0)|0)+((8191&(s=(s=s+Math.imul(b,ey)|0)+Math.imul(y,eb)|0))<<13)|0;p=((l=l+Math.imul(y,ey)|0)+(s>>>13)|0)+(eR>>>26)|0,eR&=67108863,a=Math.imul(j,Z),s=(s=Math.imul(j,X))+Math.imul($,Z)|0,l=Math.imul($,X),a=a+Math.imul(B,Q)|0,s=(s=s+Math.imul(B,ee)|0)+Math.imul(U,Q)|0,l=l+Math.imul(U,ee)|0,a=a+Math.imul(L,en)|0,s=(s=s+Math.imul(L,er)|0)+Math.imul(P,en)|0,l=l+Math.imul(P,er)|0,a=a+Math.imul(I,eo)|0,s=(s=s+Math.imul(I,ea)|0)+Math.imul(N,eo)|0,l=l+Math.imul(N,ea)|0,a=a+Math.imul(R,el)|0,s=(s=s+Math.imul(R,eu)|0)+Math.imul(D,el)|0,l=l+Math.imul(D,eu)|0,a=a+Math.imul(A,ed)|0,s=(s=s+Math.imul(A,ep)|0)+Math.imul(T,ed)|0,l=l+Math.imul(T,ep)|0,a=a+Math.imul(x,eh)|0,s=(s=s+Math.imul(x,em)|0)+Math.imul(_,eh)|0,l=l+Math.imul(_,em)|0;var eD=(p+(a=a+Math.imul(w,eb)|0)|0)+((8191&(s=(s=s+Math.imul(w,ey)|0)+Math.imul(E,eb)|0))<<13)|0;p=((l=l+Math.imul(E,ey)|0)+(s>>>13)|0)+(eD>>>26)|0,eD&=67108863,a=Math.imul(j,Q),s=(s=Math.imul(j,ee))+Math.imul($,Q)|0,l=Math.imul($,ee),a=a+Math.imul(B,en)|0,s=(s=s+Math.imul(B,er)|0)+Math.imul(U,en)|0,l=l+Math.imul(U,er)|0,a=a+Math.imul(L,eo)|0,s=(s=s+Math.imul(L,ea)|0)+Math.imul(P,eo)|0,l=l+Math.imul(P,ea)|0,a=a+Math.imul(I,el)|0,s=(s=s+Math.imul(I,eu)|0)+Math.imul(N,el)|0,l=l+Math.imul(N,eu)|0,a=a+Math.imul(R,ed)|0,s=(s=s+Math.imul(R,ep)|0)+Math.imul(D,ed)|0,l=l+Math.imul(D,ep)|0,a=a+Math.imul(A,eh)|0,s=(s=s+Math.imul(A,em)|0)+Math.imul(T,eh)|0,l=l+Math.imul(T,em)|0;var eO=(p+(a=a+Math.imul(x,eb)|0)|0)+((8191&(s=(s=s+Math.imul(x,ey)|0)+Math.imul(_,eb)|0))<<13)|0;p=((l=l+Math.imul(_,ey)|0)+(s>>>13)|0)+(eO>>>26)|0,eO&=67108863,a=Math.imul(j,en),s=(s=Math.imul(j,er))+Math.imul($,en)|0,l=Math.imul($,er),a=a+Math.imul(B,eo)|0,s=(s=s+Math.imul(B,ea)|0)+Math.imul(U,eo)|0,l=l+Math.imul(U,ea)|0,a=a+Math.imul(L,el)|0,s=(s=s+Math.imul(L,eu)|0)+Math.imul(P,el)|0,l=l+Math.imul(P,eu)|0,a=a+Math.imul(I,ed)|0,s=(s=s+Math.imul(I,ep)|0)+Math.imul(N,ed)|0,l=l+Math.imul(N,ep)|0,a=a+Math.imul(R,eh)|0,s=(s=s+Math.imul(R,em)|0)+Math.imul(D,eh)|0,l=l+Math.imul(D,em)|0;var eI=(p+(a=a+Math.imul(A,eb)|0)|0)+((8191&(s=(s=s+Math.imul(A,ey)|0)+Math.imul(T,eb)|0))<<13)|0;p=((l=l+Math.imul(T,ey)|0)+(s>>>13)|0)+(eI>>>26)|0,eI&=67108863,a=Math.imul(j,eo),s=(s=Math.imul(j,ea))+Math.imul($,eo)|0,l=Math.imul($,ea),a=a+Math.imul(B,el)|0,s=(s=s+Math.imul(B,eu)|0)+Math.imul(U,el)|0,l=l+Math.imul(U,eu)|0,a=a+Math.imul(L,ed)|0,s=(s=s+Math.imul(L,ep)|0)+Math.imul(P,ed)|0,l=l+Math.imul(P,ep)|0,a=a+Math.imul(I,eh)|0,s=(s=s+Math.imul(I,em)|0)+Math.imul(N,eh)|0,l=l+Math.imul(N,em)|0;var eN=(p+(a=a+Math.imul(R,eb)|0)|0)+((8191&(s=(s=s+Math.imul(R,ey)|0)+Math.imul(D,eb)|0))<<13)|0;p=((l=l+Math.imul(D,ey)|0)+(s>>>13)|0)+(eN>>>26)|0,eN&=67108863,a=Math.imul(j,el),s=(s=Math.imul(j,eu))+Math.imul($,el)|0,l=Math.imul($,eu),a=a+Math.imul(B,ed)|0,s=(s=s+Math.imul(B,ep)|0)+Math.imul(U,ed)|0,l=l+Math.imul(U,ep)|0,a=a+Math.imul(L,eh)|0,s=(s=s+Math.imul(L,em)|0)+Math.imul(P,eh)|0,l=l+Math.imul(P,em)|0;var eM=(p+(a=a+Math.imul(I,eb)|0)|0)+((8191&(s=(s=s+Math.imul(I,ey)|0)+Math.imul(N,eb)|0))<<13)|0;p=((l=l+Math.imul(N,ey)|0)+(s>>>13)|0)+(eM>>>26)|0,eM&=67108863,a=Math.imul(j,ed),s=(s=Math.imul(j,ep))+Math.imul($,ed)|0,l=Math.imul($,ep),a=a+Math.imul(B,eh)|0,s=(s=s+Math.imul(B,em)|0)+Math.imul(U,eh)|0,l=l+Math.imul(U,em)|0;var eL=(p+(a=a+Math.imul(L,eb)|0)|0)+((8191&(s=(s=s+Math.imul(L,ey)|0)+Math.imul(P,eb)|0))<<13)|0;p=((l=l+Math.imul(P,ey)|0)+(s>>>13)|0)+(eL>>>26)|0,eL&=67108863,a=Math.imul(j,eh),s=(s=Math.imul(j,em))+Math.imul($,eh)|0,l=Math.imul($,em);var eP=(p+(a=a+Math.imul(B,eb)|0)|0)+((8191&(s=(s=s+Math.imul(B,ey)|0)+Math.imul(U,eb)|0))<<13)|0;p=((l=l+Math.imul(U,ey)|0)+(s>>>13)|0)+(eP>>>26)|0,eP&=67108863;var eF=(p+(a=Math.imul(j,eb))|0)+((8191&(s=(s=Math.imul(j,ey))+Math.imul($,eb)|0))<<13)|0;return p=((l=Math.imul($,ey))+(s>>>13)|0)+(eF>>>26)|0,eF&=67108863,d[0]=ev,d[1]=ew,d[2]=eE,d[3]=eS,d[4]=ex,d[5]=e_,d[6]=ek,d[7]=eA,d[8]=eT,d[9]=eC,d[10]=eR,d[11]=eD,d[12]=eO,d[13]=eI,d[14]=eN,d[15]=eM,d[16]=eL,d[17]=eP,d[18]=eF,0!==p&&(d[19]=p,o.length++),o};function v(n,i,o){o.negative=i.negative^n.negative,o.length=n.length+i.length;for(var a=0,s=0,l=0;l>>26)|0)>>>26,u&=67108863}o.words[l]=c,a=u,u=s}return 0!==a?o.words[l]=a:o.length--,o.strip()}function w(n,i,o){return new E().mulp(n,i,o)}function E(n,i){this.x=n,this.y=i}Math.imul||(y=b),l.prototype.mulTo=function(n,i){var o=this.length+n.length;return 10===this.length&&10===n.length?y(this,n,i):o<63?b(this,n,i):o<1024?v(this,n,i):w(this,n,i)},E.prototype.makeRBT=function(n){for(var i=Array(n),o=l.prototype._countBits(n)-1,a=0;a>=1;return a},E.prototype.permute=function(n,i,o,a,s,l){for(var u=0;u>>=1)s++;return 1<>>=13,o[2*u+1]=8191&l,l>>>=13;for(u=2*i;u>=26,i+=s/67108864|0,i+=l>>>26,this.words[o]=67108863&l}return 0!==i&&(this.words[o]=i,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var i=g(n);if(0===i.length)return new l(1);for(var o=this,a=0;a=0);var i,o=n%26,s=(n-o)/26,l=67108863>>>26-o<<26-o;if(0!==o){var u=0;for(i=0;i>>26-o}u&&(this.words[i]=u,this.length++)}if(0!==s){for(i=this.length-1;i>=0;i--)this.words[i+s]=this.words[i];for(i=0;i=0),s=i?(i-i%26)/26:0;var s,l=n%26,u=Math.min((n-l)/26,this.length),c=67108863^67108863>>>l<u)for(this.length-=u,p=0;p=0&&(0!==f||p>=s);p--){var h=0|this.words[p];this.words[p]=f<<26-l|h>>>l,f=h&c}return d&&0!==f&&(d.words[d.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,i,o){return a(0===this.negative),this.iushrn(n,i,o)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){a("number"==typeof n&&n>=0);var i=n%26,o=(n-i)/26,s=1<=0);var i=n%26,o=(n-i)/26;if(a(0===this.negative,"imaskn works only with positive numbers"),this.length<=o)return this;if(0!==i&&o++,this.length=Math.min(o,this.length),0!==i){var s=67108863^67108863>>>i<=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},l.prototype.isubn=function(n){if(a("number"==typeof n),a(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i>26)-(d/67108864|0),this.words[s+o]=67108863&l}for(;s>26,this.words[s+o]=67108863&l;if(0===c)return this.strip();for(a(-1===c),c=0,s=0;s>26,this.words[s]=67108863&l;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,i){var o,a=this.length-n.length,s=this.clone(),u=n,c=0|u.words[u.length-1];0!=(a=26-this._countBits(c))&&(u=u.ushln(a),s.iushln(a),c=0|u.words[u.length-1]);var d=s.length-u.length;if("mod"!==i){(o=new l(null)).length=d+1,o.words=Array(o.length);for(var p=0;p=0;h--){var m=(0|s.words[u.length+h])*67108864+(0|s.words[u.length+h-1]);for(m=Math.min(m/c|0,67108863),s._ishlnsubmul(u,m,h);0!==s.negative;)m--,s.negative=0,s._ishlnsubmul(u,1,h),s.isZero()||(s.negative^=1);o&&(o.words[h]=m)}return o&&o.strip(),s.strip(),"div"!==i&&0!==a&&s.iushrn(a),{div:o||null,mod:s}},l.prototype.divmod=function(n,i,o){var s,u,c;return(a(!n.isZero()),this.isZero())?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(c=this.neg().divmod(n,i),"mod"!==i&&(s=c.div.neg()),"div"!==i&&(u=c.mod.neg(),o&&0!==u.negative&&u.iadd(n)),{div:s,mod:u}):0===this.negative&&0!==n.negative?(c=this.divmod(n.neg(),i),"mod"!==i&&(s=c.div.neg()),{div:s,mod:c.mod}):(this.negative&n.negative)!=0?(c=this.neg().divmod(n.neg(),i),"div"!==i&&(u=c.mod.neg(),o&&0!==u.negative&&u.isub(n)),{div:c.div,mod:u}):n.length>this.length||0>this.cmp(n)?{div:new l(0),mod:this}:1===n.length?"div"===i?{div:this.divn(n.words[0]),mod:null}:"mod"===i?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,i)},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var i=this.divmod(n);if(i.mod.isZero())return i.div;var o=0!==i.div.negative?i.mod.isub(n):i.mod,a=n.ushrn(1),s=n.andln(1),l=o.cmp(a);return l<0||1===s&&0===l?i.div:0!==i.div.negative?i.div.isubn(1):i.div.iaddn(1)},l.prototype.modn=function(n){a(n<=67108863);for(var i=67108864%n,o=0,s=this.length-1;s>=0;s--)o=(i*o+(0|this.words[s]))%n;return o},l.prototype.idivn=function(n){a(n<=67108863);for(var i=0,o=this.length-1;o>=0;o--){var s=(0|this.words[o])+67108864*i;this.words[o]=s/n|0,i=s%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){a(0===n.negative),a(!n.isZero());var i=this,o=n.clone();i=0!==i.negative?i.umod(n):i.clone();for(var s=new l(1),u=new l(0),c=new l(0),d=new l(1),p=0;i.isEven()&&o.isEven();)i.iushrn(1),o.iushrn(1),++p;for(var f=o.clone(),h=i.clone();!i.isZero();){for(var m=0,g=1;(i.words[0]&g)==0&&m<26;++m,g<<=1);if(m>0)for(i.iushrn(m);m-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(f),u.isub(h)),s.iushrn(1),u.iushrn(1);for(var b=0,y=1;(o.words[0]&y)==0&&b<26;++b,y<<=1);if(b>0)for(o.iushrn(b);b-- >0;)(c.isOdd()||d.isOdd())&&(c.iadd(f),d.isub(h)),c.iushrn(1),d.iushrn(1);i.cmp(o)>=0?(i.isub(o),s.isub(c),u.isub(d)):(o.isub(i),c.isub(s),d.isub(u))}return{a:c,b:d,gcd:o.iushln(p)}},l.prototype._invmp=function(n){a(0===n.negative),a(!n.isZero());var i,o=this,s=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var u=new l(1),c=new l(0),d=s.clone();o.cmpn(1)>0&&s.cmpn(1)>0;){for(var p=0,f=1;(o.words[0]&f)==0&&p<26;++p,f<<=1);if(p>0)for(o.iushrn(p);p-- >0;)u.isOdd()&&u.iadd(d),u.iushrn(1);for(var h=0,m=1;(s.words[0]&m)==0&&h<26;++h,m<<=1);if(h>0)for(s.iushrn(h);h-- >0;)c.isOdd()&&c.iadd(d),c.iushrn(1);o.cmp(s)>=0?(o.isub(s),u.isub(c)):(s.isub(o),c.isub(u))}return 0>(i=0===o.cmpn(1)?u:c).cmpn(0)&&i.iadd(n),i},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var i=this.clone(),o=n.clone();i.negative=0,o.negative=0;for(var a=0;i.isEven()&&o.isEven();a++)i.iushrn(1),o.iushrn(1);for(;;){for(;i.isEven();)i.iushrn(1);for(;o.isEven();)o.iushrn(1);var s=i.cmp(o);if(s<0){var l=i;i=o,o=l}else if(0===s||0===o.cmpn(1))break;i.isub(o)}return o.iushln(a)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return(1&this.words[0])==0},l.prototype.isOdd=function(){return(1&this.words[0])==1},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){a("number"==typeof n);var i=n%26,o=(n-i)/26,s=1<>>26,c&=67108863,this.words[u]=c}return 0!==l&&(this.words[u]=l,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var i,o=n<0;if(0!==this.negative&&!o)return -1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)i=1;else{o&&(n=-n),a(n<=67108863,"Number is too big");var s=0|this.words[0];i=s===n?0:sn.length)return 1;if(this.length=0;o--){var a=0|this.words[o],s=0|n.words[o];if(a!==s){as&&(i=1);break}}return i},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return -1===this.cmpn(n)},l.prototype.lt=function(n){return -1===this.cmp(n)},l.prototype.lten=function(n){return 0>=this.cmpn(n)},l.prototype.lte=function(n){return 0>=this.cmp(n)},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new C(n)},l.prototype.toRed=function(n){return a(!this.red,"Already a number in reduction context"),a(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return a(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return a(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return a(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return a(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return a(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return a(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return a(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return a(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return a(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return a(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return a(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return a(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return a(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var S={k256:null,p224:null,p192:null,p25519:null};function x(n,i){this.name=n,this.p=new l(i,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function A(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function T(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(n){if("string"==typeof n){var i=l._prime(n);this.m=i.p,this.prime=i}else a(n.gtn(1),"modulus must be greater than 1"),this.m=n,this.prime=null}function R(n){C.call(this,n),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var n=new l(null);return n.words=Array(Math.ceil(this.n/13)),n},x.prototype.ireduce=function(n){var i,o=n;do this.split(o,this.tmp),i=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength();while(i>this.n);var a=i0?o.isub(this.p):o.strip(),o},x.prototype.split=function(n,i){n.iushrn(this.n,0,i)},x.prototype.imulK=function(n){return n.imul(this.k)},s(_,x),_.prototype.split=function(n,i){for(var o=4194303,a=Math.min(n.length,9),s=0;s>>22,l=u}l>>>=22,n.words[s-10]=l,0===l&&n.length>10?n.length-=10:n.length-=9},_.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var i=0,o=0;o>>=26,n.words[o]=s,i=a}return 0!==i&&(n.words[n.length++]=i),n},l._prime=function(n){var i;if(S[n])return S[n];if("k256"===n)i=new _;else if("p224"===n)i=new k;else if("p192"===n)i=new A;else if("p25519"===n)i=new T;else throw Error("Unknown prime "+n);return S[n]=i,i},C.prototype._verify1=function(n){a(0===n.negative,"red works only with positives"),a(n.red,"red works only with red numbers")},C.prototype._verify2=function(n,i){a((n.negative|i.negative)==0,"red works only with positives"),a(n.red&&n.red===i.red,"red works only with red numbers")},C.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},C.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},C.prototype.add=function(n,i){this._verify2(n,i);var o=n.add(i);return o.cmp(this.m)>=0&&o.isub(this.m),o._forceRed(this)},C.prototype.iadd=function(n,i){this._verify2(n,i);var o=n.iadd(i);return o.cmp(this.m)>=0&&o.isub(this.m),o},C.prototype.sub=function(n,i){this._verify2(n,i);var o=n.sub(i);return 0>o.cmpn(0)&&o.iadd(this.m),o._forceRed(this)},C.prototype.isub=function(n,i){this._verify2(n,i);var o=n.isub(i);return 0>o.cmpn(0)&&o.iadd(this.m),o},C.prototype.shl=function(n,i){return this._verify1(n),this.imod(n.ushln(i))},C.prototype.imul=function(n,i){return this._verify2(n,i),this.imod(n.imul(i))},C.prototype.mul=function(n,i){return this._verify2(n,i),this.imod(n.mul(i))},C.prototype.isqr=function(n){return this.imul(n,n.clone())},C.prototype.sqr=function(n){return this.mul(n,n)},C.prototype.sqrt=function(n){if(n.isZero())return n.clone();var i=this.m.andln(3);if(a(i%2==1),3===i){var o=this.m.add(new l(1)).iushrn(2);return this.pow(n,o)}for(var s=this.m.subn(1),u=0;!s.isZero()&&0===s.andln(1);)u++,s.iushrn(1);a(!s.isZero());var c=new l(1).toRed(this),d=c.redNeg(),p=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new l(2*f*f).toRed(this);0!==this.pow(f,p).cmp(d);)f.redIAdd(d);for(var h=this.pow(f,s),m=this.pow(n,s.addn(1).iushrn(1)),g=this.pow(n,s),b=u;0!==g.cmp(c);){for(var y=g,v=0;0!==y.cmp(c);v++)y=y.redSqr();a(v=0;s--){for(var f=i.words[s],h=p-1;h>=0;h--){var m=f>>h&1;if(u!==a[0]&&(u=this.sqr(u)),0===m&&0===c){d=0;continue}c<<=1,c|=m,(++d===o||0===s&&0===h)&&(u=this.mul(u,a[c]),d=0,c=0)}p=26}return u},C.prototype.convertTo=function(n){var i=n.umod(this.m);return i===n?i.clone():i},C.prototype.convertFrom=function(n){var i=n.clone();return i.red=null,i},l.mont=function(n){return new R(n)},s(R,C),R.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},R.prototype.convertFrom=function(n){var i=this.imod(n.mul(this.rinv));return i.red=null,i},R.prototype.imul=function(n,i){if(n.isZero()||i.isZero())return n.words[0]=0,n.length=1,n;var o=n.imul(i),a=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),s=o.isub(a).iushrn(this.shift),l=s;return s.cmp(this.m)>=0?l=s.isub(this.m):0>s.cmpn(0)&&(l=s.iadd(this.m)),l._forceRed(this)},R.prototype.mul=function(n,i){if(n.isZero()||i.isZero())return new l(0)._forceRed(this);var o=n.mul(i),a=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),s=o.isub(a).iushrn(this.shift),u=s;return s.cmp(this.m)>=0?u=s.isub(this.m):0>s.cmpn(0)&&(u=s.iadd(this.m)),u._forceRed(this)},R.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(n=o.nmd(n),this)},66151:function(n,i,o){"use strict";let a=o(2507),s=o(44020),l=o(80500),u=n=>null==n;function c(n){switch(n.arrayFormat){case"index":return i=>(o,a)=>{let s=o.length;return void 0===a||n.skipNull&&null===a||n.skipEmptyString&&""===a?o:null===a?[...o,[f(i,n),"[",s,"]"].join("")]:[...o,[f(i,n),"[",f(s,n),"]=",f(a,n)].join("")]};case"bracket":return i=>(o,a)=>void 0===a||n.skipNull&&null===a||n.skipEmptyString&&""===a?o:null===a?[...o,[f(i,n),"[]"].join("")]:[...o,[f(i,n),"[]=",f(a,n)].join("")];case"comma":case"separator":return i=>(o,a)=>null==a||0===a.length?o:0===o.length?[[f(i,n),"=",f(a,n)].join("")]:[[o,f(a,n)].join(n.arrayFormatSeparator)];default:return i=>(o,a)=>void 0===a||n.skipNull&&null===a||n.skipEmptyString&&""===a?o:null===a?[...o,f(i,n)]:[...o,[f(i,n),"=",f(a,n)].join("")]}}function d(n){let i;switch(n.arrayFormat){case"index":return(n,o,a)=>{if(i=/\[(\d*)\]$/.exec(n),n=n.replace(/\[\d*\]$/,""),!i){a[n]=o;return}void 0===a[n]&&(a[n]={}),a[n][i[1]]=o};case"bracket":return(n,o,a)=>{if(i=/(\[\])$/.exec(n),n=n.replace(/\[\]$/,""),!i){a[n]=o;return}if(void 0===a[n]){a[n]=[o];return}a[n]=[].concat(a[n],o)};case"comma":case"separator":return(i,o,a)=>{let s="string"==typeof o&&o.split("").indexOf(n.arrayFormatSeparator)>-1,l=s?o.split(n.arrayFormatSeparator).map(i=>h(i,n)):null===o?o:h(o,n);a[i]=l};default:return(n,i,o)=>{if(void 0===o[n]){o[n]=i;return}o[n]=[].concat(o[n],i)}}}function p(n){if("string"!=typeof n||1!==n.length)throw TypeError("arrayFormatSeparator must be single character string")}function f(n,i){return i.encode?i.strict?a(n):encodeURIComponent(n):n}function h(n,i){return i.decode?s(n):n}function m(n){return Array.isArray(n)?n.sort():"object"==typeof n?m(Object.keys(n)).sort((n,i)=>Number(n)-Number(i)).map(i=>n[i]):n}function g(n){let i=n.indexOf("#");return -1!==i&&(n=n.slice(0,i)),n}function b(n){let i="",o=n.indexOf("#");return -1!==o&&(i=n.slice(o)),i}function y(n){n=g(n);let i=n.indexOf("?");return -1===i?"":n.slice(i+1)}function v(n,i){return i.parseNumbers&&!Number.isNaN(Number(n))&&"string"==typeof n&&""!==n.trim()?n=Number(n):i.parseBooleans&&null!==n&&("true"===n.toLowerCase()||"false"===n.toLowerCase())&&(n="true"===n.toLowerCase()),n}function w(n,i){p((i=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},i)).arrayFormatSeparator);let o=d(i),a=Object.create(null);if("string"!=typeof n||!(n=n.trim().replace(/^[?#&]/,"")))return a;for(let s of n.split("&")){let[u,c]=l(i.decode?s.replace(/\+/g," "):s,"=");c=void 0===c?null:["comma","separator"].includes(i.arrayFormat)?c:h(c,i),o(h(u,i),c,a)}for(let f of Object.keys(a)){let g=a[f];if("object"==typeof g&&null!==g)for(let b of Object.keys(g))g[b]=v(g[b],i);else a[f]=v(g,i)}return!1===i.sort?a:(!0===i.sort?Object.keys(a).sort():Object.keys(a).sort(i.sort)).reduce((n,i)=>{let o=a[i];return Boolean(o)&&"object"==typeof o&&!Array.isArray(o)?n[i]=m(o):n[i]=o,n},Object.create(null))}i.extract=y,i.parse=w,i.stringify=(n,i)=>{if(!n)return"";p((i=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},i)).arrayFormatSeparator);let o=o=>i.skipNull&&u(n[o])||i.skipEmptyString&&""===n[o],a=c(i),s={};for(let l of Object.keys(n))o(l)||(s[l]=n[l]);let d=Object.keys(s);return!1!==i.sort&&d.sort(i.sort),d.map(o=>{let s=n[o];return void 0===s?"":null===s?f(o,i):Array.isArray(s)?s.reduce(a(o),[]).join("&"):f(o,i)+"="+f(s,i)}).filter(n=>n.length>0).join("&")},i.parseUrl=(n,i)=>{i=Object.assign({decode:!0},i);let[o,a]=l(n,"#");return Object.assign({url:o.split("?")[0]||"",query:w(y(n),i)},i&&i.parseFragmentIdentifier&&a?{fragmentIdentifier:h(a,i)}:{})},i.stringifyUrl=(n,o)=>{o=Object.assign({encode:!0,strict:!0},o);let a=g(n.url).split("?")[0]||"",s=i.extract(n.url),l=i.parse(s,{sort:!1}),u=Object.assign(l,n.query),c=i.stringify(u,o);c&&(c=`?${c}`);let d=b(n.url);return n.fragmentIdentifier&&(d=`#${f(n.fragmentIdentifier,o)}`),`${a}${c}${d}`}},2507:function(n){"use strict";n.exports=n=>encodeURIComponent(n).replace(/[!'()*]/g,n=>`%${n.charCodeAt(0).toString(16).toUpperCase()}`)},62873:function(n,i){"use strict";function o(n){let i;return"undefined"!=typeof window&&void 0!==window[n]&&(i=window[n]),i}function a(n){let i=o(n);if(!i)throw Error(`${n} is not defined in Window`);return i}function s(){return a("document")}function l(){return o("document")}function u(){return a("navigator")}function c(){return o("navigator")}function d(){return a("location")}function p(){return o("location")}function f(){return a("crypto")}function h(){return o("crypto")}function m(){return a("localStorage")}function g(){return o("localStorage")}i.$o=i.xP=i.MX=i.VQ=i.k$=i.UO=i.jW=i.Gw=i.Me=i.uT=i.$2=i.sD=void 0,i.sD=o,i.$2=a,i.uT=s,i.Me=l,i.Gw=u,i.jW=c,i.UO=d,i.k$=p,i.VQ=f,i.MX=h,i.xP=m,i.$o=g},65755:function(n,i,o){"use strict";i.D=void 0;let a=o(42269);function s(){let n,i;try{n=a.getDocumentOrThrow(),i=a.getLocationOrThrow()}catch(o){return null}function s(){let o=n.getElementsByTagName("link"),a=[];for(let s=0;s-1){let c=l.getAttribute("href");if(c){if(-1===c.toLowerCase().indexOf("https:")&&-1===c.toLowerCase().indexOf("http:")&&0!==c.indexOf("//")){let d=i.protocol+"//"+i.host;if(0===c.indexOf("/"))d+=c;else{let p=i.pathname.split("/");p.pop();let f=p.join("/");d+=f+"/"+c}a.push(d)}else if(0===c.indexOf("//")){let h=i.protocol+c;a.push(h)}else a.push(c)}}}return a}function l(...i){let o=n.getElementsByTagName("meta");for(let a=0;as.getAttribute(n)).filter(n=>!!n&&i.includes(n));if(l.length&&l){let u=s.getAttribute("content");if(u)return u}}return""}function u(){let i=l("name","og:site_name","og:title","twitter:title");return i||(i=n.title),i}function c(){let n=l("description","og:description","twitter:description","keywords");return n}let d=u(),p=c(),f=i.origin,h=s(),m={description:p,url:f,icons:h,name:d};return m}i.D=s},42269:function(n,i){"use strict";function o(n){let i;return"undefined"!=typeof window&&void 0!==window[n]&&(i=window[n]),i}function a(n){let i=o(n);if(!i)throw Error(`${n} is not defined in Window`);return i}function s(){return a("document")}function l(){return o("document")}function u(){return a("navigator")}function c(){return o("navigator")}function d(){return a("location")}function p(){return o("location")}function f(){return a("crypto")}function h(){return o("crypto")}function m(){return a("localStorage")}function g(){return o("localStorage")}Object.defineProperty(i,"__esModule",{value:!0}),i.getLocalStorage=i.getLocalStorageOrThrow=i.getCrypto=i.getCryptoOrThrow=i.getLocation=i.getLocationOrThrow=i.getNavigator=i.getNavigatorOrThrow=i.getDocument=i.getDocumentOrThrow=i.getFromWindowOrThrow=i.getFromWindow=void 0,i.getFromWindow=o,i.getFromWindowOrThrow=a,i.getDocumentOrThrow=s,i.getDocument=l,i.getNavigatorOrThrow=u,i.getNavigator=c,i.getLocationOrThrow=d,i.getLocation=p,i.getCryptoOrThrow=f,i.getCrypto=h,i.getLocalStorageOrThrow=m,i.getLocalStorage=g},66424:function(n,i,o){var a,s,l=o(34155);a=0,s=function(){return function(n){var i={};function o(a){if(i[a])return i[a].exports;var s=i[a]={i:a,l:!1,exports:{}};return n[a].call(s.exports,s,s.exports,o),s.l=!0,s.exports}return o.m=n,o.c=i,o.d=function(n,i,a){o.o(n,i)||Object.defineProperty(n,i,{enumerable:!0,get:a})},o.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},o.t=function(n,i){if(1&i&&(n=o(n)),8&i||4&i&&"object"==typeof n&&n&&n.__esModule)return n;var a=Object.create(null);if(o.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:n}),2&i&&"string"!=typeof n)for(var s in n)o.d(a,s,(function(i){return n[i]}).bind(null,s));return a},o.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return o.d(i,"a",i),i},o.o=function(n,i){return Object.prototype.hasOwnProperty.call(n,i)},o.p="",o(o.s=0)}([function(n,i,o){"use strict";o.r(i),o.d(i,"encode",function(){return I}),o.d(i,"decode",function(){return W}),o.d(i,"decodeAsync",function(){return et}),o.d(i,"decodeArrayStream",function(){return en}),o.d(i,"decodeStream",function(){return er}),o.d(i,"Decoder",function(){return G}),o.d(i,"Encoder",function(){return D}),o.d(i,"ExtensionCodec",function(){return T}),o.d(i,"ExtData",function(){return b}),o.d(i,"EXT_TIMESTAMP",function(){return w}),o.d(i,"encodeDateToTimeSpec",function(){return S}),o.d(i,"encodeTimeSpecToTimestamp",function(){return E}),o.d(i,"decodeTimestampToTimeSpec",function(){return _}),o.d(i,"encodeTimestampExtension",function(){return x}),o.d(i,"decodeTimestampExtension",function(){return k});var a=function(n,i){var o="function"==typeof Symbol&&n[Symbol.iterator];if(!o)return n;var a,s,l=o.call(n),u=[];try{for(;(void 0===i||i-- >0)&&!(a=l.next()).done;)u.push(a.value)}catch(c){s={error:c}}finally{try{a&&!a.done&&(o=l.return)&&o.call(l)}finally{if(s)throw s.error}}return u},s=function(){for(var n=[],i=0;i=55296&&s<=56319&&a65535&&(h-=65536,u.push(h>>>10&1023|55296),h=56320|1023&h),u.push(h)}else u.push(d);u.length>=4096&&(c+=String.fromCharCode.apply(String,s(u)),u.length=0)}return u.length>0&&(c+=String.fromCharCode.apply(String,s(u))),c}var m=u?new TextDecoder:null,g=void 0!==l?200:0,b=function(n,i){this.type=n,this.data=i};function y(n,i,o){var a=Math.floor(o/4294967296),s=o;n.setUint32(i,a),n.setUint32(i+4,s)}function v(n,i){var o=n.getInt32(i),a=n.getUint32(i+4),s=oMath.floor(Number.MAX_SAFE_INTEGER/4294967296);return s||l?BigInt(o)*BigInt(4294967296)+BigInt(a):4294967296*o+a}var w=-1;function E(n){var i,o=n.sec,a=n.nsec;if(o>=0&&a>=0&&o<=17179869183){if(0===a&&o<=4294967295){var s=new Uint8Array(4);return(i=new DataView(s.buffer)).setUint32(0,o),s}var l=o/4294967296,u=4294967295&o;return s=new Uint8Array(8),(i=new DataView(s.buffer)).setUint32(0,a<<2|3&l),i.setUint32(4,u),s}return s=new Uint8Array(12),(i=new DataView(s.buffer)).setUint32(0,a),y(i,4,o),s}function S(n){var i=n.getTime(),o=Math.floor(i/1e3),a=1e6*(i-1e3*o),s=Math.floor(a/1e9);return{sec:o+s,nsec:a-1e9*s}}function x(n){return n instanceof Date?E(S(n)):null}function _(n){var i=new DataView(n.buffer,n.byteOffset,n.byteLength);switch(n.byteLength){case 4:return{sec:i.getUint32(0),nsec:0};case 8:var o=i.getUint32(0);return{sec:4294967296*(3&o)+i.getUint32(4),nsec:o>>>2};case 12:return{sec:v(i,4),nsec:i.getUint32(0)};default:throw Error("Unrecognized data size for timestamp: "+n.length)}}function k(n){var i=_(n);return new Date(1e3*i.sec+i.nsec/1e6)}var A={type:-1,encode:x,decode:k},T=function(){function n(){this.builtInEncoders=[],this.builtInDecoders=[],this.encoders=[],this.decoders=[],this.register(A)}return n.prototype.register=function(n){var i=n.type,o=n.encode,a=n.decode;if(i>=0)this.encoders[i]=o,this.decoders[i]=a;else{var s=1+i;this.builtInEncoders[s]=o,this.builtInDecoders[s]=a}},n.prototype.tryToEncode=function(n,i){for(var o,a,s=0;s=n.length&&(n=void 0),{value:n&&n[a++],done:!n}}};throw TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},D=function(){function n(n,i,o,a,s,l,u,c){void 0===n&&(n=T.defaultCodec),void 0===i&&(i=void 0),void 0===o&&(o=100),void 0===a&&(a=2048),void 0===s&&(s=!1),void 0===l&&(l=!1),void 0===u&&(u=!1),void 0===c&&(c=!1),this.extensionCodec=n,this.context=i,this.maxDepth=o,this.initialBufferSize=a,this.sortKeys=s,this.forceFloat32=l,this.ignoreUndefined=u,this.forceIntegerToFloat=c,this.pos=0,this.view=new DataView(new ArrayBuffer(this.initialBufferSize)),this.bytes=new Uint8Array(this.view.buffer)}return n.prototype.getUint8Array=function(){return this.bytes.subarray(0,this.pos)},n.prototype.reinitializeState=function(){this.pos=0},n.prototype.encode=function(n){return this.reinitializeState(),this.doEncode(n,1),this.getUint8Array()},n.prototype.doEncode=function(n,i){if(i>this.maxDepth)throw Error("Too deep objects in depth "+i);null==n?this.encodeNil():"boolean"==typeof n?this.encodeBoolean(n):"number"==typeof n?this.encodeNumber(n):"string"==typeof n?this.encodeString(n):"bigint"==typeof n?this.encodebigint(n):this.encodeObject(n,i)},n.prototype.ensureBufferSizeToWrite=function(n){var i=this.pos+n;this.view.byteLength=0?n<128?this.writeU8(n):n<256?(this.writeU8(204),this.writeU8(n)):n<65536?(this.writeU8(205),this.writeU16(n)):n<4294967296?(this.writeU8(206),this.writeU32(n)):(this.writeU8(207),this.writeU64(n)):n>=-32?this.writeU8(224|n+32):n>=-128?(this.writeU8(208),this.writeI8(n)):n>=-32768?(this.writeU8(209),this.writeI16(n)):n>=-2147483648?(this.writeU8(210),this.writeI32(n)):(this.writeU8(211),this.writeI64(n)):this.forceFloat32?(this.writeU8(202),this.writeF32(n)):(this.writeU8(203),this.writeF64(n))},n.prototype.encodebigint=function(n){n>=BigInt(0)?n=BigInt(-32)?this.writeU8(224|Number(n)+32):n>=BigInt(-128)?(this.writeU8(208),this.writeI8(Number(n))):n>=BigInt(-32768)?(this.writeU8(209),this.writeI16(Number(n))):n>=BigInt(-2147483648)?(this.writeU8(210),this.writeI32(Number(n))):(this.writeU8(211),this.writeBig64(n))},n.prototype.writeStringHeader=function(n){if(n<32)this.writeU8(160+n);else if(n<256)this.writeU8(217),this.writeU8(n);else if(n<65536)this.writeU8(218),this.writeU16(n);else{if(!(n<4294967296))throw Error("Too long string: "+n+" bytes in UTF-8");this.writeU8(219),this.writeU32(n)}},n.prototype.encodeString=function(n){var i=n.length;if(u&&i>p){var o=c(n);this.ensureBufferSizeToWrite(5+o),this.writeStringHeader(o),f(n,this.bytes,this.pos),this.pos+=o}else o=c(n),this.ensureBufferSizeToWrite(5+o),this.writeStringHeader(o),function(n,i,o){for(var a=n.length,s=o,l=0;l>6&31|192;else{if(u>=55296&&u<=56319&&l>12&15|224,i[s++]=u>>6&63|128):(i[s++]=u>>18&7|240,i[s++]=u>>12&63|128,i[s++]=u>>6&63|128)}i[s++]=63&u|128}else i[s++]=u}}(n,this.bytes,this.pos),this.pos+=o},n.prototype.encodeObject=function(n,i){var o=this.extensionCodec.tryToEncode(n,this.context);if(null!=o)this.encodeExtension(o);else if(Array.isArray(n))this.encodeArray(n,i);else if(ArrayBuffer.isView(n))this.encodeBinary(n);else{if("object"!=typeof n)throw Error("Unrecognized object: "+Object.prototype.toString.apply(n));this.encodeMap(n,i)}},n.prototype.encodeBinary=function(n){var i=n.byteLength;if(i<256)this.writeU8(196),this.writeU8(i);else if(i<65536)this.writeU8(197),this.writeU16(i);else{if(!(i<4294967296))throw Error("Too large binary: "+i);this.writeU8(198),this.writeU32(i)}var o=C(n);this.writeU8a(o)},n.prototype.encodeArray=function(n,i){var o,a,s=n.length;if(s<16)this.writeU8(144+s);else if(s<65536)this.writeU8(220),this.writeU16(s);else{if(!(s<4294967296))throw Error("Too large array: "+s);this.writeU8(221),this.writeU32(s)}try{for(var l=R(n),u=l.next();!u.done;u=l.next()){var c=u.value;this.doEncode(c,i+1)}}catch(d){o={error:d}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}},n.prototype.countWithoutUndefined=function(n,i){var o,a,s=0;try{for(var l=R(i),u=l.next();!u.done;u=l.next())void 0!==n[u.value]&&s++}catch(c){o={error:c}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}return s},n.prototype.encodeMap=function(n,i){var o,a,s=Object.keys(n);this.sortKeys&&s.sort();var l=this.ignoreUndefined?this.countWithoutUndefined(n,s):s.length;if(l<16)this.writeU8(128+l);else if(l<65536)this.writeU8(222),this.writeU16(l);else{if(!(l<4294967296))throw Error("Too large map object: "+l);this.writeU8(223),this.writeU32(l)}try{for(var u=R(s),c=u.next();!c.done;c=u.next()){var d=c.value,p=n[d];this.ignoreUndefined&&void 0===p||(this.encodeString(d),this.doEncode(p,i+1))}}catch(f){o={error:f}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}},n.prototype.encodeExtension=function(n){var i=n.data.length;if(1===i)this.writeU8(212);else if(2===i)this.writeU8(213);else if(4===i)this.writeU8(214);else if(8===i)this.writeU8(215);else if(16===i)this.writeU8(216);else if(i<256)this.writeU8(199),this.writeU8(i);else if(i<65536)this.writeU8(200),this.writeU16(i);else{if(!(i<4294967296))throw Error("Too large extension object: "+i);this.writeU8(201),this.writeU32(i)}this.writeI8(n.type),this.writeU8a(n.data)},n.prototype.writeU8=function(n){this.ensureBufferSizeToWrite(1),this.view.setUint8(this.pos,n),this.pos++},n.prototype.writeU8a=function(n){var i=n.length;this.ensureBufferSizeToWrite(i),this.bytes.set(n,this.pos),this.pos+=i},n.prototype.writeI8=function(n){this.ensureBufferSizeToWrite(1),this.view.setInt8(this.pos,n),this.pos++},n.prototype.writeU16=function(n){this.ensureBufferSizeToWrite(2),this.view.setUint16(this.pos,n),this.pos+=2},n.prototype.writeI16=function(n){this.ensureBufferSizeToWrite(2),this.view.setInt16(this.pos,n),this.pos+=2},n.prototype.writeU32=function(n){this.ensureBufferSizeToWrite(4),this.view.setUint32(this.pos,n),this.pos+=4},n.prototype.writeI32=function(n){this.ensureBufferSizeToWrite(4),this.view.setInt32(this.pos,n),this.pos+=4},n.prototype.writeF32=function(n){this.ensureBufferSizeToWrite(4),this.view.setFloat32(this.pos,n),this.pos+=4},n.prototype.writeF64=function(n){this.ensureBufferSizeToWrite(8),this.view.setFloat64(this.pos,n),this.pos+=8},n.prototype.writeU64=function(n){var i,o,a,s,l;this.ensureBufferSizeToWrite(8),i=this.view,o=this.pos,s=(a=n)/4294967296,l=a,i.setUint32(o,s),i.setUint32(o+4,l),this.pos+=8},n.prototype.writeI64=function(n){this.ensureBufferSizeToWrite(8),y(this.view,this.pos,n),this.pos+=8},n.prototype.writeBig64=function(n){var i,o,a,s,l;this.ensureBufferSizeToWrite(8),i=this.view,o=this.pos,s=Number((a=n)/BigInt(4294967296)),l=Number(a%BigInt(4294967296)),s<0&&0!==l&&(s-=1),i.setUint32(o,s),i.setUint32(o+4,l),this.pos+=8},n}(),O={};function I(n,i){return void 0===i&&(i=O),new D(i.extensionCodec,i.context,i.maxDepth,i.initialBufferSize,i.sortKeys,i.forceFloat32,i.ignoreUndefined,i.forceIntegerToFloat).encode(n)}function N(n){return(n<0?"-":"")+"0x"+Math.abs(n).toString(16).padStart(2,"0")}var M=function(){function n(n,i){void 0===n&&(n=16),void 0===i&&(i=16),this.maxKeyLength=n,this.maxLengthPerKey=i,this.hit=0,this.miss=0,this.caches=[];for(var o=0;o0&&n<=this.maxKeyLength},n.prototype.get=function(n,i,o){var a=this.caches[o-1],s=a.length;e:for(var l=0;l=this.maxLengthPerKey?o[Math.random()*o.length|0]=a:o.push(a)},n.prototype.decode=function(n,i,o){var a=this.get(n,i,o);if(null!=a)return this.hit++,a;this.miss++;var s=h(n,i,o),l=Uint8Array.prototype.slice.call(n,i,i+o);return this.store(l,s),s},n}(),L=function(n,i,o,a){return new(o||(o=Promise))(function(s,l){function u(n){try{d(a.next(n))}catch(i){l(i)}}function c(n){try{d(a.throw(n))}catch(i){l(i)}}function d(n){var i;n.done?s(n.value):((i=n.value)instanceof o?i:new o(function(n){n(i)})).then(u,c)}d((a=a.apply(n,i||[])).next())})},P=function(n,i){var o,a,s,l,u={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return l={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function c(l){return function(c){return function(l){if(o)throw TypeError("Generator is already executing.");for(;u;)try{if(o=1,a&&(s=2&l[0]?a.return:l[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,l[1])).done)return s;switch(a=0,s&&(l=[2&l[0],s.value]),l[0]){case 0:case 1:s=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,a=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(!(s=(s=u.trys).length>0&&s[s.length-1])&&(6===l[0]||2===l[0])){u=0;continue}if(3===l[0]&&(!s||l[1]>s[0]&&l[1]1||c(n,i)})})}function c(n,i){var o;try{(o=s[n](i)).value instanceof B?Promise.resolve(o.value.v).then(d,p):f(l[0][2],o)}catch(a){f(l[0][3],a)}}function d(n){c("next",n)}function p(n){c("throw",n)}function f(n,i){n(i),l.shift(),l.length&&c(l[0][0],l[0][1])}},z=new DataView(new ArrayBuffer(0)),j=new Uint8Array(z.buffer),$=function(){try{z.getInt8(0)}catch(n){return n.constructor}throw Error("never reached")}(),H=new $("Insufficient data"),V=new M,G=function(){function n(n,i,o,a,s,l,u,c){void 0===n&&(n=T.defaultCodec),void 0===i&&(i=void 0),void 0===o&&(o=4294967295),void 0===a&&(a=4294967295),void 0===s&&(s=4294967295),void 0===l&&(l=4294967295),void 0===u&&(u=4294967295),void 0===c&&(c=V),this.extensionCodec=n,this.context=i,this.maxStrLength=o,this.maxBinLength=a,this.maxArrayLength=s,this.maxMapLength=l,this.maxExtLength=u,this.keyDecoder=c,this.totalPos=0,this.pos=0,this.view=z,this.bytes=j,this.headByte=-1,this.stack=[]}return n.prototype.reinitializeState=function(){this.totalPos=0,this.headByte=-1},n.prototype.setBuffer=function(n){this.bytes=C(n),this.view=function(n){if(n instanceof ArrayBuffer)return new DataView(n);var i=C(n);return new DataView(i.buffer,i.byteOffset,i.byteLength)}(this.bytes),this.pos=0},n.prototype.appendBuffer=function(n){if(-1!==this.headByte||this.hasRemaining()){var i=this.bytes.subarray(this.pos),o=C(n),a=new Uint8Array(i.length+o.length);a.set(i),a.set(o,i.length),this.setBuffer(a)}else this.setBuffer(n)},n.prototype.hasRemaining=function(n){return void 0===n&&(n=1),this.view.byteLength-this.pos>=n},n.prototype.createNoExtraBytesError=function(n){var i=this.view,o=this.pos;return RangeError("Extra "+(i.byteLength-o)+" of "+i.byteLength+" byte(s) found at buffer["+n+"]")},n.prototype.decode=function(n){return this.reinitializeState(),this.setBuffer(n),this.doDecodeSingleSync()},n.prototype.doDecodeSingleSync=function(){var n=this.doDecodeSync();if(this.hasRemaining())throw this.createNoExtraBytesError(this.pos);return n},n.prototype.decodeAsync=function(n){var i,o,a,s;return L(this,void 0,void 0,function(){var l,u,c,d,p,f,h;return P(this,function(m){switch(m.label){case 0:l=!1,m.label=1;case 1:m.trys.push([1,6,7,12]),i=F(n),m.label=2;case 2:return[4,i.next()];case 3:if((o=m.sent()).done)return[3,5];if(c=o.value,l)throw this.createNoExtraBytesError(this.totalPos);this.appendBuffer(c);try{u=this.doDecodeSync(),l=!0}catch(g){if(!(g instanceof $))throw g}this.totalPos+=this.pos,m.label=4;case 4:return[3,2];case 5:return[3,12];case 6:return a={error:m.sent()},[3,12];case 7:return m.trys.push([7,,10,11]),o&&!o.done&&(s=i.return)?[4,s.call(i)]:[3,9];case 8:m.sent(),m.label=9;case 9:return[3,11];case 10:if(a)throw a.error;return[7];case 11:return[7];case 12:if(l){if(this.hasRemaining())throw this.createNoExtraBytesError(this.totalPos);return[2,u]}throw p=(d=this).headByte,f=d.pos,h=d.totalPos,RangeError("Insufficient data in parcing "+N(p)+" at "+h+" ("+f+" in the current buffer)")}})})},n.prototype.decodeArrayStream=function(n){return this.decodeMultiAsync(n,!0)},n.prototype.decodeStream=function(n){return this.decodeMultiAsync(n,!1)},n.prototype.decodeMultiAsync=function(n,i){return U(this,arguments,function(){var o,a,s,l,u,c,d,p;return P(this,function(f){switch(f.label){case 0:o=i,a=-1,f.label=1;case 1:f.trys.push([1,13,14,19]),s=F(n),f.label=2;case 2:return[4,B(s.next())];case 3:if((l=f.sent()).done)return[3,12];if(u=l.value,i&&0===a)throw this.createNoExtraBytesError(this.totalPos);this.appendBuffer(u),o&&(a=this.readArraySize(),o=!1,this.complete()),f.label=4;case 4:f.trys.push([4,9,,10]),f.label=5;case 5:return[4,B(this.doDecodeSync())];case 6:return[4,f.sent()];case 7:return f.sent(),0==--a?[3,8]:[3,5];case 8:return[3,10];case 9:if(!((c=f.sent())instanceof $))throw c;return[3,10];case 10:this.totalPos+=this.pos,f.label=11;case 11:return[3,2];case 12:return[3,19];case 13:return d={error:f.sent()},[3,19];case 14:return f.trys.push([14,,17,18]),l&&!l.done&&(p=s.return)?[4,B(p.call(s))]:[3,16];case 15:f.sent(),f.label=16;case 16:return[3,18];case 17:if(d)throw d.error;return[7];case 18:return[7];case 19:return[2]}})})},n.prototype.doDecodeSync=function(){e:for(;;){var n,i=this.readHeadByte(),o=void 0;if(i>=224)o=i-256;else if(i<192){if(i<128)o=i;else if(i<144){if(0!=(s=i-128)){this.pushMapState(s),this.complete();continue e}o={}}else if(i<160){if(0!=(s=i-144)){this.pushArrayState(s),this.complete();continue e}o=[]}else{var a=i-160;o=this.decodeUtf8String(a,0)}}else if(192===i)o=null;else if(194===i)o=!1;else if(195===i)o=!0;else if(202===i)o=this.readF32();else if(203===i)o=this.readF64();else if(204===i)o=this.readU8();else if(205===i)o=this.readU16();else if(206===i)o=this.readU32();else if(207===i)o=this.readU64();else if(208===i)o=this.readI8();else if(209===i)o=this.readI16();else if(210===i)o=this.readI32();else if(211===i)o=this.readI64();else if(217===i)a=this.lookU8(),o=this.decodeUtf8String(a,1);else if(218===i)a=this.lookU16(),o=this.decodeUtf8String(a,2);else if(219===i)a=this.lookU32(),o=this.decodeUtf8String(a,4);else if(220===i){if(0!==(s=this.readU16())){this.pushArrayState(s),this.complete();continue e}o=[]}else if(221===i){if(0!==(s=this.readU32())){this.pushArrayState(s),this.complete();continue e}o=[]}else if(222===i){if(0!==(s=this.readU16())){this.pushMapState(s),this.complete();continue e}o={}}else if(223===i){if(0!==(s=this.readU32())){this.pushMapState(s),this.complete();continue e}o={}}else if(196===i){var s=this.lookU8();o=this.decodeBinary(s,1)}else if(197===i)s=this.lookU16(),o=this.decodeBinary(s,2);else if(198===i)s=this.lookU32(),o=this.decodeBinary(s,4);else if(212===i)o=this.decodeExtension(1,0);else if(213===i)o=this.decodeExtension(2,0);else if(214===i)o=this.decodeExtension(4,0);else if(215===i)o=this.decodeExtension(8,0);else if(216===i)o=this.decodeExtension(16,0);else if(199===i)s=this.lookU8(),o=this.decodeExtension(s,1);else if(200===i)s=this.lookU16(),o=this.decodeExtension(s,2);else{if(201!==i)throw Error("Unrecognized type byte: "+N(i));s=this.lookU32(),o=this.decodeExtension(s,4)}this.complete();for(var l=this.stack;l.length>0;){var u=l[l.length-1];if(0===u.type){if(u.array[u.position]=o,u.position++,u.position!==u.size)continue e;l.pop(),o=u.array}else{if(1===u.type){if(n=void 0,"string"!=(n=typeof o)&&"number"!==n)throw Error("The type of key must be string or number but "+typeof o);u.key=o,u.type=2;continue e}if(u.map[u.key]=o,u.readCount++,u.readCount!==u.size){u.key=null,u.type=1;continue e}l.pop(),o=u.map}}return o}},n.prototype.readHeadByte=function(){return -1===this.headByte&&(this.headByte=this.readU8()),this.headByte},n.prototype.complete=function(){this.headByte=-1},n.prototype.readArraySize=function(){var n=this.readHeadByte();switch(n){case 220:return this.readU16();case 221:return this.readU32();default:if(n<160)return n-144;throw Error("Unrecognized array type byte: "+N(n))}},n.prototype.pushMapState=function(n){if(n>this.maxMapLength)throw Error("Max length exceeded: map length ("+n+") > maxMapLengthLength ("+this.maxMapLength+")");this.stack.push({type:1,size:n,key:null,readCount:0,map:{}})},n.prototype.pushArrayState=function(n){if(n>this.maxArrayLength)throw Error("Max length exceeded: array length ("+n+") > maxArrayLength ("+this.maxArrayLength+")");this.stack.push({type:0,size:n,array:Array(n),position:0})},n.prototype.decodeUtf8String=function(n,i){if(n>this.maxStrLength)throw Error("Max length exceeded: UTF-8 byte length ("+n+") > maxStrLength ("+this.maxStrLength+")");if(this.bytes.byteLengthg?(o=this.bytes,a=p,s=n,l=o.subarray(a,a+s),m.decode(l)):h(this.bytes,p,n),this.pos+=i+n,d},n.prototype.stateIsMapKey=function(){return this.stack.length>0&&1===this.stack[this.stack.length-1].type},n.prototype.decodeBinary=function(n,i){if(n>this.maxBinLength)throw Error("Max length exceeded: bin length ("+n+") > maxBinLength ("+this.maxBinLength+")");if(!this.hasRemaining(n+i))throw H;var o=this.pos+i,a=this.bytes.subarray(o,o+n);return this.pos+=i+n,a},n.prototype.decodeExtension=function(n,i){if(n>this.maxExtLength)throw Error("Max length exceeded: ext length ("+n+") > maxExtLength ("+this.maxExtLength+")");var o=this.view.getInt8(this.pos+i),a=this.decodeBinary(n,i+1);return this.extensionCodec.decode(a,o,this.context)},n.prototype.lookU8=function(){return this.view.getUint8(this.pos)},n.prototype.lookU16=function(){return this.view.getUint16(this.pos)},n.prototype.lookU32=function(){return this.view.getUint32(this.pos)},n.prototype.readU8=function(){var n=this.view.getUint8(this.pos);return this.pos++,n},n.prototype.readI8=function(){var n=this.view.getInt8(this.pos);return this.pos++,n},n.prototype.readU16=function(){var n=this.view.getUint16(this.pos);return this.pos+=2,n},n.prototype.readI16=function(){var n=this.view.getInt16(this.pos);return this.pos+=2,n},n.prototype.readU32=function(){var n=this.view.getUint32(this.pos);return this.pos+=4,n},n.prototype.readI32=function(){var n=this.view.getInt32(this.pos);return this.pos+=4,n},n.prototype.readU64=function(){var n,i,o,a,s=(n=this.view,i=this.pos,o=n.getUint32(i),a=n.getUint32(i+4),o>Math.floor(Number.MAX_SAFE_INTEGER/4294967296)?BigInt(o)*BigInt(4294967296)+BigInt(a):4294967296*o+a);return this.pos+=8,s},n.prototype.readI64=function(){var n=v(this.view,this.pos);return this.pos+=8,n},n.prototype.readF32=function(){var n=this.view.getFloat32(this.pos);return this.pos+=4,n},n.prototype.readF64=function(){var n=this.view.getFloat64(this.pos);return this.pos+=8,n},n}(),q={};function W(n,i){return void 0===i&&(i=q),new G(i.extensionCodec,i.context,i.maxStrLength,i.maxBinLength,i.maxArrayLength,i.maxMapLength,i.maxExtLength).decode(n)}var K=function(n,i){var o,a,s,l,u={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return l={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function c(l){return function(c){return function(l){if(o)throw TypeError("Generator is already executing.");for(;u;)try{if(o=1,a&&(s=2&l[0]?a.return:l[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,l[1])).done)return s;switch(a=0,s&&(l=[2&l[0],s.value]),l[0]){case 0:case 1:s=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,a=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(!(s=(s=u.trys).length>0&&s[s.length-1])&&(6===l[0]||2===l[0])){u=0;continue}if(3===l[0]&&(!s||l[1]>s[0]&&l[1]1||c(n,i)})})}function c(n,i){var o;try{(o=s[n](i)).value instanceof Y?Promise.resolve(o.value.v).then(d,p):f(l[0][2],o)}catch(a){f(l[0][3],a)}}function d(n){c("next",n)}function p(n){c("throw",n)}function f(n,i){n(i),l.shift(),l.length&&c(l[0][0],l[0][1])}};function X(n){if(null==n)throw Error("Assertion Failure: value must not be null nor undefined")}function J(n){return null!=n[Symbol.asyncIterator]?n:function(n){return Z(this,arguments,function(){var i,o,a,s;return K(this,function(l){switch(l.label){case 0:i=n.getReader(),l.label=1;case 1:l.trys.push([1,,9,10]),l.label=2;case 2:return[4,Y(i.read())];case 3:return a=(o=l.sent()).done,s=o.value,a?[4,Y(void 0)]:[3,5];case 4:return[2,l.sent()];case 5:return X(s),[4,Y(s)];case 6:return[4,l.sent()];case 7:return l.sent(),[3,2];case 8:return[3,10];case 9:return i.releaseLock(),[7];case 10:return[2]}})})}(n)}var Q=function(n,i,o,a){return new(o||(o=Promise))(function(s,l){function u(n){try{d(a.next(n))}catch(i){l(i)}}function c(n){try{d(a.throw(n))}catch(i){l(i)}}function d(n){var i;n.done?s(n.value):((i=n.value)instanceof o?i:new o(function(n){n(i)})).then(u,c)}d((a=a.apply(n,i||[])).next())})},ee=function(n,i){var o,a,s,l,u={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return l={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function c(l){return function(c){return function(l){if(o)throw TypeError("Generator is already executing.");for(;u;)try{if(o=1,a&&(s=2&l[0]?a.return:l[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,l[1])).done)return s;switch(a=0,s&&(l=[2&l[0],s.value]),l[0]){case 0:case 1:s=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,a=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(!(s=(s=u.trys).length>0&&s[s.length-1])&&(6===l[0]||2===l[0])){u=0;continue}if(3===l[0]&&(!s||l[1]>s[0]&&l[1]{if(null!=i&&"object"==typeof i&&null==Object.getPrototypeOf(i)&&Object.setPrototypeOf(i,Object.prototype),"bigint"==typeof i){if("safe"===o&&i>Number.MAX_SAFE_INTEGER)throw Error(`Integer exceeds maximum safe integer: ${i.toString()}. Try parsing with a different intDecoding option.`);return"bigint"===o||"mixed"===o&&i>Number.MAX_SAFE_INTEGER?i:Number(i)}return"number"==typeof i&&"bigint"===o&&Number.isInteger(i)?BigInt(i):i})}function O(n,i){return n.length===i.length&&Array.from(n).every((n,o)=>n===i[o])}function I(...n){let i=n.reduce((n,i)=>n+i.length,0),o=new Uint8Array(i),a=0;for(let s=0;s{void 0===i[n]&&delete i[n]}),i}function M(){let{navigator:n}=globalThis;return"object"==typeof n&&"ReactNative"===n.product}function L(n){return k().sha512_256.array(n)}function P(n){return M()&&console.warn("It looks like you're running in react-native. In order to perform common crypto operations you will need to polyfill common operations such as crypto.getRandomValues"),x().randomBytes(n)}function F(n){return x().sign.keyPair.fromSeed(n)}function B(){let n=P(x().box.secretKeyLength);return F(n)}function U(n){return n===x().sign.signatureLength}function z(n){return x().sign.keyPair.fromSecretKey(n)}function j(n,i){return x().sign.detached(n,i)}function $(n,i){return x().verify(n,i)}function H(n,i,o){return x().sign.detached.verify(n,i,o)}let V=x().sign.publicKeyLength;x().sign.secretKeyLength;let G=32,q=32;var W=o(89090),K=o.n(W);function Y(n){let i="bigint"==typeof n||Number.isInteger(n);if(!i||n<0||n>BigInt("0xffffffffffffffff"))throw Error("Input is not a 64-bit unsigned integer");let o=new Uint8Array(8),a=new DataView(o.buffer);return a.setBigUint64(0,BigInt(n)),o}function Z(n,i="safe"){if("safe"!==i&&"mixed"!==i&&"bigint"!==i)throw Error(`Unknown decodingMode option: ${i}`);if(0===n.byteLength||n.byteLength>8)throw Error(`Data has unacceptable length. Expected length is between 1 and 8, got ${n.byteLength}`);let o=new Uint8Array(8-n.byteLength),a=I(o,n),s=new DataView(a.buffer),l=s.getBigUint64(0),u=l>BigInt(Number.MAX_SAFE_INTEGER);if("safe"===i){if(u)throw Error(`Integer exceeds maximum safe integer: ${l.toString()}. Try decoding with "mixed" or "safe" decodingMode.`);return Number(l)}return"mixed"!==i||u?l:Number(l)}let X=36,J=4,Q=58,ee="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ",et=new Uint8Array([77,117,108,116,105,115,105,103,65,100,100,114]),en=E.Buffer.from("appID"),er="address seems to be malformed",ei="wrong checksum for address",eo="invalid multisig version",ea="bad multisig threshold",es="bad multisig public key - wrong length",el="nacl public key length is not 32 bytes";function eu(n){if("string"!=typeof n||n.length!==Q)throw Error(er);let i=K().decode.asBytes(n.toString());if(i.length!==X)throw Error(er);let o=new Uint8Array(i.slice(0,X-J)),a=new Uint8Array(i.slice(V,X)),s=L(o).slice(G-J,G);if(!O(s,a))throw Error(ei);return{publicKey:o,checksum:a}}function ec(n){try{eu(n)}catch(i){return!1}return!0}function ed(n){let i=L(n).slice(V-J,V),o=K().encode(I(n,i));return o.toString().slice(0,Q)}function ep({version:n,threshold:i,pks:o}){if(1!==n||n>255||n<0)throw Error(eo);if(0===i||0===o.length||i>o.length||i>255)throw Error(ea);let a=X-J;if(a!==V)throw Error(el);let s=new Uint8Array(et.length+2+a*o.length);s.set(et,0),s.set([n],et.length),s.set([i],et.length+1);for(let l=0;leu(n).publicKey);return ed(ep({version:n,threshold:i,pks:a}))}function eh(n){let i=I(en,Y(n)),o=L(i);return ed(new Uint8Array(o))}var em=o(66424);let eg="The object contains empty or 0 values. First empty or 0 value encountered during encoding: ";function eb(n){for(let i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&(!n[i]||0===n[i].length))return{containsEmpty:!0,firstEmptyKey:i};return{containsEmpty:!1,firstEmptyKey:void 0}}function ey(n){let i={sortKeys:!0};return em.encode(n,i)}function ev(n){let i=eb(n);if(i.containsEmpty)throw Error(eg+i.firstEmptyKey);return ey(n)}function ew(n){return em.decode(n)}function eE(n,i,o){let a=n.appIndex,s=n.name,l=0===a||a===o,u=0;if(null!=i&&(u=i.indexOf(a)+1),0===u&&!l)throw Error(`Box ref with appId ${a} not in foreign-apps`);return{i:u,n:s}}function eS(n,i,o){return null==n?[]:n.map(n=>eE(n,i,o))}function ex(n){return n===f.pay||n===f.keyreg||n===f.acfg||n===f.axfer||n===f.afrz||n===f.appl||n===f.stpf}(s=f||(f={})).pay="pay",s.keyreg="keyreg",s.acfg="acfg",s.axfer="axfer",s.afrz="afrz",s.appl="appl",s.stpf="stpf",(l=h||(h={}))[l.NoOpOC=0]="NoOpOC",l[l.OptInOC=1]="OptInOC",l[l.CloseOutOC=2]="CloseOutOC",l[l.ClearStateOC=3]="ClearStateOC",l[l.UpdateApplicationOC=4]="UpdateApplicationOC",l[l.DeleteApplicationOC=5]="DeleteApplicationOC";let e_=52,ek=1e3,eA=32,eT=19,eC=75,eR=5,eD=32,eO=5,eI=32,eN=32,eM=32,eL=64;function eP(n,i,o){let a;if(null!=n){if("string"==typeof n?a=E.Buffer.from(n,"base64"):n.constructor===Uint8Array?a=E.Buffer.from(n):E.Buffer.isBuffer(n)&&(a=n),null==a||a.byteLength!==o)throw Error(`${i} must be a ${o} byte Uint8Array or Buffer or base64 string.`);return a}}class eF{constructor({...n}){this.name="Transaction",this.tag=E.Buffer.from("TX");let i={type:f.pay,flatFee:!1,nonParticipation:!1};if(void 0===n.type&&(n.type=i.type),void 0===n.flatFee&&(n.flatFee=i.flatFee),n.type===f.keyreg&&void 0!==n.voteKey&&void 0===n.nonParticipation&&(n.nonParticipation=i.nonParticipation),void 0!==n.suggestedParams){let o=n;o.genesisHash=o.suggestedParams.genesisHash,o.fee=o.suggestedParams.fee,void 0!==o.suggestedParams.flatFee&&(o.flatFee=o.suggestedParams.flatFee),o.firstRound=o.suggestedParams.firstRound,o.lastRound=o.suggestedParams.lastRound,o.genesisID=o.suggestedParams.genesisID}let a=n;if(a.from=eu(a.from),void 0!==a.to&&(a.to=eu(a.to)),void 0!==a.closeRemainderTo&&(a.closeRemainderTo=eu(a.closeRemainderTo)),void 0!==a.assetManager&&(a.assetManager=eu(a.assetManager)),void 0!==a.assetReserve&&(a.assetReserve=eu(a.assetReserve)),void 0!==a.assetFreeze&&(a.assetFreeze=eu(a.assetFreeze)),void 0!==a.assetClawback&&(a.assetClawback=eu(a.assetClawback)),void 0!==a.assetRevocationTarget&&(a.assetRevocationTarget=eu(a.assetRevocationTarget)),void 0!==a.freezeAccount&&(a.freezeAccount=eu(a.freezeAccount)),void 0!==a.reKeyTo&&(a.reKeyTo=eu(a.reKeyTo)),void 0===a.genesisHash)throw Error("genesis hash must be specified and in a base64 string.");if(a.genesisHash=E.Buffer.from(a.genesisHash,"base64"),void 0!==a.amount&&(!(Number.isSafeInteger(a.amount)||"bigint"==typeof a.amount&&a.amount<=BigInt("0xffffffffffffffff"))||a.amount<0))throw Error("Amount must be a positive number and smaller than 2^64-1. If the number is larger than 2^53-1, use bigint.");if(!Number.isSafeInteger(a.fee)||a.fee<0)throw Error("fee must be a positive number and smaller than 2^53-1");if(!Number.isSafeInteger(a.firstRound)||a.firstRound<0)throw Error("firstRound must be a positive number");if(!Number.isSafeInteger(a.lastRound)||a.lastRound<0)throw Error("lastRound must be a positive number");if(void 0!==a.extraPages&&(!Number.isInteger(a.extraPages)||a.extraPages<0||a.extraPages>3))throw Error("extraPages must be an Integer between and including 0 to 3");if(void 0!==a.assetTotal&&(!(Number.isSafeInteger(a.assetTotal)||"bigint"==typeof a.assetTotal&&a.assetTotal<=BigInt("0xffffffffffffffff"))||a.assetTotal<0))throw Error("Total asset issuance must be a positive number and smaller than 2^64-1. If the number is larger than 2^53-1, use bigint.");if(void 0!==a.assetDecimals&&(!Number.isSafeInteger(a.assetDecimals)||a.assetDecimals<0||a.assetDecimals>eT))throw Error(`assetDecimals must be a positive number and smaller than ${eT.toString()}`);if(void 0!==a.assetIndex&&(!Number.isSafeInteger(a.assetIndex)||a.assetIndex<0))throw Error("Asset index must be a positive number and smaller than 2^53-1");if(void 0!==a.appIndex&&(!Number.isSafeInteger(a.appIndex)||a.appIndex<0))throw Error("Application index must be a positive number and smaller than 2^53-1");if(void 0!==a.appLocalInts&&(!Number.isSafeInteger(a.appLocalInts)||a.appLocalInts<0))throw Error("Application local ints count must be a positive number and smaller than 2^53-1");if(void 0!==a.appLocalByteSlices&&(!Number.isSafeInteger(a.appLocalByteSlices)||a.appLocalByteSlices<0))throw Error("Application local byte slices count must be a positive number and smaller than 2^53-1");if(void 0!==a.appGlobalInts&&(!Number.isSafeInteger(a.appGlobalInts)||a.appGlobalInts<0))throw Error("Application global ints count must be a positive number and smaller than 2^53-1");if(void 0!==a.appGlobalByteSlices&&(!Number.isSafeInteger(a.appGlobalByteSlices)||a.appGlobalByteSlices<0))throw Error("Application global byte slices count must be a positive number and smaller than 2^53-1");if(void 0!==a.appApprovalProgram&&a.appApprovalProgram.constructor!==Uint8Array)throw Error("appApprovalProgram must be a Uint8Array.");if(void 0!==a.appClearProgram&&a.appClearProgram.constructor!==Uint8Array)throw Error("appClearProgram must be a Uint8Array.");if(void 0!==a.appArgs){if(!Array.isArray(a.appArgs))throw Error("appArgs must be an Array of Uint8Array.");a.appArgs=a.appArgs.slice(),a.appArgs.forEach(n=>{if(n.constructor!==Uint8Array)throw Error("each element of AppArgs must be a Uint8Array.")})}else a.appArgs=[];if(void 0!==a.appAccounts){if(!Array.isArray(a.appAccounts))throw Error("appAccounts must be an Array of addresses.");a.appAccounts=a.appAccounts.map(n=>eu(n))}if(void 0!==a.appForeignApps){if(!Array.isArray(a.appForeignApps))throw Error("appForeignApps must be an Array of integers.");a.appForeignApps=a.appForeignApps.slice(),a.appForeignApps.forEach(n=>{if(!Number.isSafeInteger(n)||n<0)throw Error("each foreign application index must be a positive number and smaller than 2^53-1")})}if(void 0!==a.appForeignAssets){if(!Array.isArray(a.appForeignAssets))throw Error("appForeignAssets must be an Array of integers.");a.appForeignAssets=a.appForeignAssets.slice(),a.appForeignAssets.forEach(n=>{if(!Number.isSafeInteger(n)||n<0)throw Error("each foreign asset index must be a positive number and smaller than 2^53-1")})}if(void 0!==a.boxes){if(!Array.isArray(a.boxes))throw Error("boxes must be an Array of BoxReference.");a.boxes=a.boxes.slice(),a.boxes.forEach(n=>{if(!Number.isSafeInteger(n.appIndex)||n.name.constructor!==Uint8Array)throw Error("box app index must be a number and name must be an Uint8Array.")})}if(void 0!==a.assetMetadataHash&&0!==a.assetMetadataHash.length){if("string"==typeof a.assetMetadataHash&&(a.assetMetadataHash=new Uint8Array(E.Buffer.from(a.assetMetadataHash))),a.assetMetadataHash.constructor!==Uint8Array||a.assetMetadataHash.byteLength!==eI)throw Error(`assetMetadataHash must be a ${eI} byte Uint8Array or string.`);a.assetMetadataHash.every(n=>0===n)&&(a.assetMetadataHash=void 0)}else a.assetMetadataHash=void 0;if(void 0!==a.note){if(a.note.constructor!==Uint8Array)throw Error("note must be a Uint8Array.")}else a.note=new Uint8Array(0);if(void 0!==a.lease){if(a.lease.constructor!==Uint8Array)throw Error("lease must be a Uint8Array.");if(a.lease.length!==eA)throw Error(`lease must be of length ${eA.toString()}.`);a.lease.every(n=>0===n)&&(a.lease=new Uint8Array(0))}else a.lease=new Uint8Array(0);if(a.voteKey=eP(a.voteKey,"voteKey",eN),a.selectionKey=eP(a.selectionKey,"selectionKey",eM),a.stateProofKey=eP(a.stateProofKey,"stateProofKey",eL),a.nonParticipation&&(a.voteKey||a.selectionKey||a.voteFirst||a.stateProofKey||a.voteLast||a.voteKeyDilution))throw Error("nonParticipation is true but participation params are present.");if(!a.nonParticipation&&(a.voteKey||a.selectionKey||a.stateProofKey||a.voteFirst||a.voteLast||a.voteKeyDilution)&&!(a.voteKey&&a.selectionKey&&a.voteFirst&&a.voteLast&&a.voteKeyDilution))throw Error("online key registration missing at least one of the following fields: voteKey, selectionKey, voteFirst, voteLast, voteKeyDilution");if(delete a.suggestedParams,Object.assign(this,N(a)),!a.flatFee&&(this.fee*=this.estimateSize(),this.feeE.Buffer.from(n))),void 0!==this.appAccounts&&(l.apat=this.appAccounts.map(n=>E.Buffer.from(n.publicKey))),l.note.length||delete l.note,l.lx.length||delete l.lx,l.amt||delete l.amt,l.fee||delete l.fee,l.fv||delete l.fv,l.gen||delete l.gen,l.apid||delete l.apid,l.apls.nui||delete l.apls.nui,l.apls.nbs||delete l.apls.nbs,l.apls.nui||l.apls.nbs||delete l.apls,l.apgs.nui||delete l.apgs.nui,l.apgs.nbs||delete l.apgs.nbs,l.apaa&&l.apaa.length||delete l.apaa,l.apgs.nui||l.apgs.nbs||delete l.apgs,l.apap||delete l.apap,l.apsu||delete l.apsu,l.apan||delete l.apan,l.apfa&&l.apfa.length||delete l.apfa,l.apas&&l.apas.length||delete l.apas,l.apbx))u.i||delete u.i,u.n&&u.n.length||delete u.n;return l.apbx&&l.apbx.length||delete l.apbx,l.apat&&l.apat.length||delete l.apat,l.apep||delete l.apep,void 0===l.grp&&delete l.grp,l}if("stpf"===this.type){let c={fee:this.fee,fv:this.firstRound,lv:this.lastRound,note:E.Buffer.from(this.note),snd:E.Buffer.from(this.from.publicKey),type:this.type,gen:this.genesisID,gh:this.genesisHash,lx:E.Buffer.from(this.lease),sptype:this.stateProofType,spmsg:E.Buffer.from(this.stateProofMessage),sp:E.Buffer.from(this.stateProof)};return c.sptype||delete c.sptype,c.note.length||delete c.note,c.lx.length||delete c.lx,c.amt||delete c.amt,c.fee||delete c.fee,c.fv||delete c.fv,c.gen||delete c.gen,c.apid||delete c.apid,c.apaa&&c.apaa.length||delete c.apaa,c.apap||delete c.apap,c.apsu||delete c.apsu,c.apan||delete c.apan,c.apfa&&c.apfa.length||delete c.apfa,c.apas&&c.apas.length||delete c.apas,c.apat&&c.apat.length||delete c.apat,c.apep||delete c.apep,void 0===c.grp&&delete c.grp,c}}static from_obj_for_encoding(n){let i=Object.create(this.prototype);if(i.name="Transaction",i.tag=E.Buffer.from("TX"),i.genesisID=n.gen,i.genesisHash=E.Buffer.from(n.gh),!ex(n.type))throw Error(`Unrecognized transaction type: ${n.type}`);return i.type=n.type,i.fee=n.fee,i.firstRound=n.fv,i.lastRound=n.lv,i.note=new Uint8Array(n.note),i.lease=new Uint8Array(n.lx),i.from=eu(ed(new Uint8Array(n.snd))),void 0!==n.grp&&(i.group=E.Buffer.from(n.grp)),void 0!==n.rekey&&(i.reKeyTo=eu(ed(new Uint8Array(n.rekey)))),"pay"===n.type?(i.amount=n.amt,i.to=eu(ed(new Uint8Array(n.rcv))),void 0!==n.close&&(i.closeRemainderTo=eu(ed(n.close)))):"keyreg"===n.type?(void 0!==n.votekey&&(i.voteKey=E.Buffer.from(n.votekey)),void 0!==n.selkey&&(i.selectionKey=E.Buffer.from(n.selkey)),void 0!==n.sprfkey&&(i.stateProofKey=E.Buffer.from(n.sprfkey)),void 0!==n.votekd&&(i.voteKeyDilution=n.votekd),void 0!==n.votefst&&(i.voteFirst=n.votefst),void 0!==n.votelst&&(i.voteLast=n.votelst),void 0!==n.nonpart&&(i.nonParticipation=n.nonpart)):"acfg"===n.type?(void 0!==n.caid&&(i.assetIndex=n.caid),void 0!==n.apar&&(i.assetTotal=n.apar.t,i.assetDefaultFrozen=n.apar.df,void 0!==n.apar.dc&&(i.assetDecimals=n.apar.dc),void 0!==n.apar.m&&(i.assetManager=eu(ed(new Uint8Array(n.apar.m)))),void 0!==n.apar.r&&(i.assetReserve=eu(ed(new Uint8Array(n.apar.r)))),void 0!==n.apar.f&&(i.assetFreeze=eu(ed(new Uint8Array(n.apar.f)))),void 0!==n.apar.c&&(i.assetClawback=eu(ed(new Uint8Array(n.apar.c)))),void 0!==n.apar.un&&(i.assetUnitName=n.apar.un),void 0!==n.apar.an&&(i.assetName=n.apar.an),void 0!==n.apar.au&&(i.assetURL=n.apar.au),void 0!==n.apar.am&&(i.assetMetadataHash=n.apar.am))):"axfer"===n.type?(void 0!==n.xaid&&(i.assetIndex=n.xaid),void 0!==n.aamt&&(i.amount=n.aamt),void 0!==n.aclose&&(i.closeRemainderTo=eu(ed(new Uint8Array(n.aclose)))),void 0!==n.asnd&&(i.assetRevocationTarget=eu(ed(new Uint8Array(n.asnd)))),i.to=eu(ed(new Uint8Array(n.arcv)))):"afrz"===n.type?(void 0!==n.afrz&&(i.freezeState=n.afrz),void 0!==n.faid&&(i.assetIndex=n.faid),i.freezeAccount=eu(ed(new Uint8Array(n.fadd)))):"appl"===n.type?(void 0!==n.apid&&(i.appIndex=n.apid),void 0!==n.apan&&(i.appOnComplete=n.apan),void 0!==n.apls&&(void 0!==n.apls.nui&&(i.appLocalInts=n.apls.nui),void 0!==n.apls.nbs&&(i.appLocalByteSlices=n.apls.nbs)),void 0!==n.apgs&&(void 0!==n.apgs.nui&&(i.appGlobalInts=n.apgs.nui),void 0!==n.apgs.nbs&&(i.appGlobalByteSlices=n.apgs.nbs)),void 0!==n.apep&&(i.extraPages=n.apep),void 0!==n.apap&&(i.appApprovalProgram=new Uint8Array(n.apap)),void 0!==n.apsu&&(i.appClearProgram=new Uint8Array(n.apsu)),void 0!==n.apaa&&(i.appArgs=n.apaa.map(n=>new Uint8Array(n))),void 0!==n.apat&&(i.appAccounts=n.apat.map(n=>eu(ed(new Uint8Array(n))))),void 0!==n.apfa&&(i.appForeignApps=n.apfa),void 0!==n.apas&&(i.appForeignAssets=n.apas),void 0!==n.apbx&&(i.boxes=n.apbx.map(n=>({appIndex:n.i?i.appForeignApps[n.i-1]:0,name:n.n})))):"stpf"===n.type&&(void 0!==n.sptype&&(i.stateProofType=n.sptype),void 0!==n.sp&&(i.stateProof=n.sp),void 0!==n.spmsg&&(i.stateProofMessage=n.spmsg)),i}estimateSize(){return this.toByte().length+eC}bytesToSign(){let n=this.toByte();return E.Buffer.from(I(this.tag,n))}toByte(){return ev(this.get_obj_for_encoding())}rawSignTxn(n){let i=this.bytesToSign(),o=j(i,n);return E.Buffer.from(o)}signTxn(n){let i={sig:this.rawSignTxn(n),txn:this.get_obj_for_encoding()},o=z(n),a=o.publicKey;return ed(a)!==ed(this.from.publicKey)&&(i.sgnr=E.Buffer.from(a)),new Uint8Array(ev(i))}attachSignature(n,i){if(!U(i.length))throw Error("Invalid signature length");let o={sig:E.Buffer.from(i),txn:this.get_obj_for_encoding()};if(n!==ed(this.from.publicKey)){let a=eu(n).publicKey;o.sgnr=E.Buffer.from(a)}return new Uint8Array(ev(o))}rawTxID(){let n=this.toByte(),i=E.Buffer.from(I(this.tag,n));return E.Buffer.from(L(i))}txID(){let n=this.rawTxID();return K().encode(n).slice(0,e_)}addLease(n,i=0){let o;if(void 0!==n){if(n.constructor!==Uint8Array)throw Error("lease must be a Uint8Array.");if(n.length!==eA)throw Error(`lease must be of length ${eA.toString()}.`);o=new Uint8Array(n)}else o=new Uint8Array(0);this.lease=o,0!==i&&(this.fee+=(eR+eA)*i)}addRekey(n,i=0){void 0!==n&&(this.reKeyTo=eu(n)),0!==i&&(this.fee+=(eO+eD)*i)}_getDictForDisplay(){let n={...this};return n.tag=n.tag.toString(),n.from=ed(n.from.publicKey),void 0!==n.to&&(n.to=ed(n.to.publicKey)),void 0!==n.freezeAccount&&(n.freezeAccount=ed(n.freezeAccount.publicKey)),void 0!==n.closeRemainderTo&&(n.closeRemainderTo=ed(n.closeRemainderTo.publicKey)),void 0!==n.assetManager&&(n.assetManager=ed(n.assetManager.publicKey)),void 0!==n.assetReserve&&(n.assetReserve=ed(n.assetReserve.publicKey)),void 0!==n.assetFreeze&&(n.assetFreeze=ed(n.assetFreeze.publicKey)),void 0!==n.assetClawback&&(n.assetClawback=ed(n.assetClawback.publicKey)),void 0!==n.assetRevocationTarget&&(n.assetRevocationTarget=ed(n.assetRevocationTarget.publicKey)),void 0!==n.reKeyTo&&(n.reKeyTo=ed(n.reKeyTo.publicKey)),n.genesisHash=n.genesisHash.toString("base64"),n}prettyPrint(){console.log(this._getDictForDisplay())}toString(){return JSON.stringify(this._getDictForDisplay())}}function eB(n){let i={txn:n.get_obj_for_encoding()};return ev(i)}function eU(n){let i=n.get_obj_for_encoding();return ev(i)}function ez(n){let i=ew(n);return eF.from_obj_for_encoding(i)}function ej(n){let i=ew(n),o={...i,txn:eF.from_obj_for_encoding(i.txn)};return o}function e$(n){return n instanceof eF?n:new eF(n)}class eH{constructor({bidderKey:n,bidAmount:i,bidID:o,auctionKey:a,auctionID:s,maxPrice:l}){this.name="Bid",this.tag=E.Buffer.from([97,66]);let u=eu(n),c=eu(a);if(!Number.isSafeInteger(i)||i<0)throw Error("Bid amount must be positive and 2^53-1");if(!Number.isSafeInteger(o)||o<0)throw Error("BidID must be positive and 2^53-1");if(!Number.isSafeInteger(s)||s<0)throw Error("auctionID must be positive");Object.assign(this,{bidderKey:u,bidAmount:i,bidID:o,auctionKey:c,auctionID:s,maxPrice:l})}get_obj_for_encoding(){return{bidder:E.Buffer.from(this.bidderKey.publicKey),cur:this.bidAmount,price:this.maxPrice,id:this.bidID,auc:E.Buffer.from(this.auctionKey.publicKey),aid:this.auctionID}}signBid(n){let i=ev(this.get_obj_for_encoding()),o=E.Buffer.from(I(this.tag,i)),a=j(o,n),s={sig:E.Buffer.from(a),bid:this.get_obj_for_encoding()},l={t:"b",b:s};return new Uint8Array(ev(l))}}let eV=1e6,eG="Microalgos should be positive and less than 2^53 - 1.";function eq(n){if(n<0||!Number.isSafeInteger(n))throw Error(eG);return n/eV}function eW(n){let i=n*eV;return Math.round(i)}class eK extends Error{constructor(n,i){super(n),this.response=i,this.name="URLTokenBaseHTTPError",this.response=i}}class eY{constructor(n,i,o,a={}){this.defaultHeaders=a;let s=i.endsWith("/")?i:`${i}/`,l=new URL(s);if(void 0!==o&&(l.port=o.toString()),0===l.protocol.length)throw Error("Invalid base server URL, protocol must be defined.");this.baseURL=l,this.tokenHeader=n}getURL(n,i){let o;o=n.startsWith("./")?n:n.startsWith("/")?`.${n}`:`./${n}`;let a=new URL(o,this.baseURL);if(i)for(let[s,l]of Object.entries(i))a.searchParams.set(s,l);return a.toString()}static formatFetchResponseHeaders(n){let i={};return n.forEach((n,o)=>{i[n]=o}),i}static async checkHttpError(n){if(n.ok)return;let i=null,o=null;try{i=new Uint8Array(await n.arrayBuffer());let a=JSON.parse(E.Buffer.from(i).toString());a.message&&(o=a.message)}catch(s){}let l=`Network request error. Received status ${n.status} (${n.statusText})`;throw o&&(l+=`: ${o}`),new eK(l,{body:i,status:n.status,headers:eY.formatFetchResponseHeaders(n.headers)})}static async formatFetchResponse(n){return await this.checkHttpError(n),{body:new Uint8Array(await n.arrayBuffer()),status:n.status,headers:eY.formatFetchResponseHeaders(n.headers)}}async get(n,i,o={}){let a={...this.tokenHeader,...this.defaultHeaders,...o},s=await fetch(this.getURL(n,i),{headers:a});return eY.formatFetchResponse(s)}async post(n,i,o,a={}){let s={...this.tokenHeader,...this.defaultHeaders,...a},l=await fetch(this.getURL(n,o),{method:"POST",body:i,headers:s});return eY.formatFetchResponse(l)}async delete(n,i,o,a={}){let s={...this.tokenHeader,...this.defaultHeaders,...a},l=await fetch(this.getURL(n,o),{method:"DELETE",body:i,headers:s});return eY.formatFetchResponse(l)}}function eZ(n){for(let i in n)Object.prototype.hasOwnProperty.call(n,i)&&(!n[i]||0===n[i].length)&&delete n[i];return n}function eX(n){return Object.keys(n).reduce((i,o)=>(i[o.toLowerCase()]=n[o],i),{})}function eJ(n){return void 0!==n&&Object.prototype.hasOwnProperty.call(n,"format")&&"msgpack"===n.format?"application/msgpack":"application/json"}class eQ{constructor(n,i,o,a={}){void 0!==i?this.bc=new eY(n,i,o,a):this.bc=n}static parseJSON(n,i,o={}){try{if(0===Object.keys(o).length)return n&&JSON.parse(n);return n&&D(n,o)}catch(s){let a=s;throw a.rawResponse=n||null,a.statusCode=i,a}}static serializeData(n,i){if(!n)return new Uint8Array(0);if("application/json"===i["content-type"])return new Uint8Array(E.Buffer.from(JSON.stringify(n)));if("string"==typeof n)return new Uint8Array(E.Buffer.from(n));if(n instanceof Uint8Array)return n;throw Error("provided data is neither a string nor a Uint8Array and content-type is not application/json")}static prepareResponse(n,i,o,a={}){let s,{body:l}=n;return"application/msgpack"!==i&&(s=l&&E.Buffer.from(l).toString()||""),o&&"application/json"===i&&(l=eQ.parseJSON(s,n.status,a)),{...n,body:l,text:s,ok:2===Math.trunc(n.status/100)}}static prepareResponseError(n){return n.response&&(n.response=eQ.prepareResponse(n.response,"application/json",!0),n.status=n.response.status),n}async get(n,i,o={},a={},s=!0){let l=eJ(i),u={...o,accept:l};try{let c=await this.bc.get(n,eZ(i),u);return eQ.prepareResponse(c,l,s,a)}catch(d){throw eQ.prepareResponseError(d)}}async post(n,i,o={},a,s=!0){let l={"content-type":"application/json",...eX(o)};try{let u=await this.bc.post(n,eQ.serializeData(i,l),a,l);return eQ.prepareResponse(u,"application/json",s)}catch(c){throw eQ.prepareResponseError(c)}}async delete(n,i,o={},a=!0){let s={"content-type":"application/json",...eX(o)},l=await this.bc.delete(n,eQ.serializeData(i,s),void 0,s);return eQ.prepareResponse(l,"application/json",a)}}function e0(n="",i){let o={};return""===n||(o[i]=n),o}function e1(n){return"function"==typeof n.get}class e2{constructor(n,i,o,a,s={}){if(e1(i))this.c=new eQ(i);else{let l;l="string"==typeof i?e0(i,n):i,this.c=new eQ(l,o,a,s)}this.intDecoding=C.DEFAULT}setIntEncoding(n){this.intDecoding=n}getIntEncoding(){return this.intDecoding}}function e3(n){return void 0===n||null==n||"object"!=typeof n&&"function"!=typeof n}function e5(n,i){let o;if(n instanceof Uint8Array)o=i?n:E.Buffer.from(n).toString("base64");else if("function"==typeof n.get_obj_for_encoding)o=n.get_obj_for_encoding(i);else if(Array.isArray(n))for(let a of(o=[],n))o.push(e5(a,i));else if("object"==typeof n){let s={};for(let l of Object.keys(n))s[l]=e5(n[l],i);o=s}else if(e3(n))o=n;else throw Error(`Unsupported value: ${String(n)}`);return o}class e4{get_obj_for_encoding(n=!1){let i={};for(let o of Object.keys(this.attribute_map)){let a=this.attribute_map[o],s=this[o];void 0!==s&&(i[a]=null===s?null:e5(s,n))}return i}}class e6 extends e4{constructor({address:n,amount:i,amountWithoutPendingRewards:o,minBalance:a,pendingRewards:s,rewards:l,round:u,status:c,totalAppsOptedIn:d,totalAssetsOptedIn:p,totalCreatedApps:f,totalCreatedAssets:h,appsLocalState:m,appsTotalExtraPages:g,appsTotalSchema:b,assets:y,authAddr:v,createdApps:w,createdAssets:E,participation:S,rewardBase:x,sigType:_,totalBoxBytes:k,totalBoxes:A}){super(),this.address=n,this.amount=i,this.amountWithoutPendingRewards=o,this.minBalance=a,this.pendingRewards=s,this.rewards=l,this.round=u,this.status=c,this.totalAppsOptedIn=d,this.totalAssetsOptedIn=p,this.totalCreatedApps=f,this.totalCreatedAssets=h,this.appsLocalState=m,this.appsTotalExtraPages=g,this.appsTotalSchema=b,this.assets=y,this.authAddr=v,this.createdApps=w,this.createdAssets=E,this.participation=S,this.rewardBase=x,this.sigType=_,this.totalBoxBytes=k,this.totalBoxes=A,this.attribute_map={address:"address",amount:"amount",amountWithoutPendingRewards:"amount-without-pending-rewards",minBalance:"min-balance",pendingRewards:"pending-rewards",rewards:"rewards",round:"round",status:"status",totalAppsOptedIn:"total-apps-opted-in",totalAssetsOptedIn:"total-assets-opted-in",totalCreatedApps:"total-created-apps",totalCreatedAssets:"total-created-assets",appsLocalState:"apps-local-state",appsTotalExtraPages:"apps-total-extra-pages",appsTotalSchema:"apps-total-schema",assets:"assets",authAddr:"auth-addr",createdApps:"created-apps",createdAssets:"created-assets",participation:"participation",rewardBase:"reward-base",sigType:"sig-type",totalBoxBytes:"total-box-bytes",totalBoxes:"total-boxes"}}static from_obj_for_encoding(n){if(void 0===n.address)throw Error(`Response is missing required field 'address': ${n}`);if(void 0===n.amount)throw Error(`Response is missing required field 'amount': ${n}`);if(void 0===n["amount-without-pending-rewards"])throw Error(`Response is missing required field 'amount-without-pending-rewards': ${n}`);if(void 0===n["min-balance"])throw Error(`Response is missing required field 'min-balance': ${n}`);if(void 0===n["pending-rewards"])throw Error(`Response is missing required field 'pending-rewards': ${n}`);if(void 0===n.rewards)throw Error(`Response is missing required field 'rewards': ${n}`);if(void 0===n.round)throw Error(`Response is missing required field 'round': ${n}`);if(void 0===n.status)throw Error(`Response is missing required field 'status': ${n}`);if(void 0===n["total-apps-opted-in"])throw Error(`Response is missing required field 'total-apps-opted-in': ${n}`);if(void 0===n["total-assets-opted-in"])throw Error(`Response is missing required field 'total-assets-opted-in': ${n}`);if(void 0===n["total-created-apps"])throw Error(`Response is missing required field 'total-created-apps': ${n}`);if(void 0===n["total-created-assets"])throw Error(`Response is missing required field 'total-created-assets': ${n}`);return new e6({address:n.address,amount:n.amount,amountWithoutPendingRewards:n["amount-without-pending-rewards"],minBalance:n["min-balance"],pendingRewards:n["pending-rewards"],rewards:n.rewards,round:n.round,status:n.status,totalAppsOptedIn:n["total-apps-opted-in"],totalAssetsOptedIn:n["total-assets-opted-in"],totalCreatedApps:n["total-created-apps"],totalCreatedAssets:n["total-created-assets"],appsLocalState:void 0!==n["apps-local-state"]?n["apps-local-state"].map(to.from_obj_for_encoding):void 0,appsTotalExtraPages:n["apps-total-extra-pages"],appsTotalSchema:void 0!==n["apps-total-schema"]?tl.from_obj_for_encoding(n["apps-total-schema"]):void 0,assets:void 0!==n.assets?n.assets.map(tc.from_obj_for_encoding):void 0,authAddr:n["auth-addr"],createdApps:void 0!==n["created-apps"]?n["created-apps"].map(tt.from_obj_for_encoding):void 0,createdAssets:void 0!==n["created-assets"]?n["created-assets"].map(tu.from_obj_for_encoding):void 0,participation:void 0!==n.participation?e7.from_obj_for_encoding(n.participation):void 0,rewardBase:n["reward-base"],sigType:n["sig-type"],totalBoxBytes:n["total-box-bytes"],totalBoxes:n["total-boxes"]})}}class e8 extends e4{constructor({round:n,appLocalState:i,createdApp:o}){super(),this.round=n,this.appLocalState=i,this.createdApp=o,this.attribute_map={round:"round",appLocalState:"app-local-state",createdApp:"created-app"}}static from_obj_for_encoding(n){if(void 0===n.round)throw Error(`Response is missing required field 'round': ${n}`);return new e8({round:n.round,appLocalState:void 0!==n["app-local-state"]?to.from_obj_for_encoding(n["app-local-state"]):void 0,createdApp:void 0!==n["created-app"]?ta.from_obj_for_encoding(n["created-app"]):void 0})}}class e9 extends e4{constructor({round:n,assetHolding:i,createdAsset:o}){super(),this.round=n,this.assetHolding=i,this.createdAsset=o,this.attribute_map={round:"round",assetHolding:"asset-holding",createdAsset:"created-asset"}}static from_obj_for_encoding(n){if(void 0===n.round)throw Error(`Response is missing required field 'round': ${n}`);return new e9({round:n.round,assetHolding:void 0!==n["asset-holding"]?tc.from_obj_for_encoding(n["asset-holding"]):void 0,createdAsset:void 0!==n["created-asset"]?tp.from_obj_for_encoding(n["created-asset"]):void 0})}}class e7 extends e4{constructor({selectionParticipationKey:n,voteFirstValid:i,voteKeyDilution:o,voteLastValid:a,voteParticipationKey:s,stateProofKey:l}){super(),this.selectionParticipationKey="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.voteFirstValid=i,this.voteKeyDilution=o,this.voteLastValid=a,this.voteParticipationKey="string"==typeof s?new Uint8Array(E.Buffer.from(s,"base64")):s,this.stateProofKey="string"==typeof l?new Uint8Array(E.Buffer.from(l,"base64")):l,this.attribute_map={selectionParticipationKey:"selection-participation-key",voteFirstValid:"vote-first-valid",voteKeyDilution:"vote-key-dilution",voteLastValid:"vote-last-valid",voteParticipationKey:"vote-participation-key",stateProofKey:"state-proof-key"}}static from_obj_for_encoding(n){if(void 0===n["selection-participation-key"])throw Error(`Response is missing required field 'selection-participation-key': ${n}`);if(void 0===n["vote-first-valid"])throw Error(`Response is missing required field 'vote-first-valid': ${n}`);if(void 0===n["vote-key-dilution"])throw Error(`Response is missing required field 'vote-key-dilution': ${n}`);if(void 0===n["vote-last-valid"])throw Error(`Response is missing required field 'vote-last-valid': ${n}`);if(void 0===n["vote-participation-key"])throw Error(`Response is missing required field 'vote-participation-key': ${n}`);return new e7({selectionParticipationKey:n["selection-participation-key"],voteFirstValid:n["vote-first-valid"],voteKeyDilution:n["vote-key-dilution"],voteLastValid:n["vote-last-valid"],voteParticipationKey:n["vote-participation-key"],stateProofKey:n["state-proof-key"]})}}class te extends e4{constructor({address:n,delta:i}){super(),this.address=n,this.delta=i,this.attribute_map={address:"address",delta:"delta"}}static from_obj_for_encoding(n){if(void 0===n.address)throw Error(`Response is missing required field 'address': ${n}`);if(!Array.isArray(n.delta))throw Error(`Response is missing required array field 'delta': ${n}`);return new te({address:n.address,delta:n.delta.map(tI.from_obj_for_encoding)})}}class tt extends e4{constructor({id:n,params:i}){super(),this.id=n,this.params=i,this.attribute_map={id:"id",params:"params"}}static from_obj_for_encoding(n){if(void 0===n.id)throw Error(`Response is missing required field 'id': ${n}`);if(void 0===n.params)throw Error(`Response is missing required field 'params': ${n}`);return new tt({id:n.id,params:ta.from_obj_for_encoding(n.params)})}}class tn extends e4{constructor({id:n,appBoxes:i,appGlobals:o,appLocals:a}){super(),this.id=n,this.appBoxes=i,this.appGlobals=o,this.appLocals=a,this.attribute_map={id:"id",appBoxes:"app-boxes",appGlobals:"app-globals",appLocals:"app-locals"}}static from_obj_for_encoding(n){if(void 0===n.id)throw Error(`Response is missing required field 'id': ${n}`);return new tn({id:n.id,appBoxes:void 0!==n["app-boxes"]?tr.from_obj_for_encoding(n["app-boxes"]):void 0,appGlobals:void 0!==n["app-globals"]?tr.from_obj_for_encoding(n["app-globals"]):void 0,appLocals:void 0!==n["app-locals"]?n["app-locals"].map(tr.from_obj_for_encoding):void 0})}}class tr extends e4{constructor({kvs:n,account:i}){super(),this.kvs=n,this.account=i,this.attribute_map={kvs:"kvs",account:"account"}}static from_obj_for_encoding(n){if(!Array.isArray(n.kvs))throw Error(`Response is missing required array field 'kvs': ${n}`);return new tr({kvs:n.kvs.map(tf.from_obj_for_encoding),account:n.account})}}class ti extends e4{constructor({account:n,app:i}){super(),this.account=n,this.app=i,this.attribute_map={account:"account",app:"app"}}static from_obj_for_encoding(n){if(void 0===n.account)throw Error(`Response is missing required field 'account': ${n}`);if(void 0===n.app)throw Error(`Response is missing required field 'app': ${n}`);return new ti({account:n.account,app:n.app})}}class to extends e4{constructor({id:n,schema:i,keyValue:o}){super(),this.id=n,this.schema=i,this.keyValue=o,this.attribute_map={id:"id",schema:"schema",keyValue:"key-value"}}static from_obj_for_encoding(n){if(void 0===n.id)throw Error(`Response is missing required field 'id': ${n}`);if(void 0===n.schema)throw Error(`Response is missing required field 'schema': ${n}`);return new to({id:n.id,schema:tl.from_obj_for_encoding(n.schema),keyValue:void 0!==n["key-value"]?n["key-value"].map(t3.from_obj_for_encoding):void 0})}}class ta extends e4{constructor({approvalProgram:n,clearStateProgram:i,creator:o,extraProgramPages:a,globalState:s,globalStateSchema:l,localStateSchema:u}){super(),this.approvalProgram="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.clearStateProgram="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.creator=o,this.extraProgramPages=a,this.globalState=s,this.globalStateSchema=l,this.localStateSchema=u,this.attribute_map={approvalProgram:"approval-program",clearStateProgram:"clear-state-program",creator:"creator",extraProgramPages:"extra-program-pages",globalState:"global-state",globalStateSchema:"global-state-schema",localStateSchema:"local-state-schema"}}static from_obj_for_encoding(n){if(void 0===n["approval-program"])throw Error(`Response is missing required field 'approval-program': ${n}`);if(void 0===n["clear-state-program"])throw Error(`Response is missing required field 'clear-state-program': ${n}`);if(void 0===n.creator)throw Error(`Response is missing required field 'creator': ${n}`);return new ta({approvalProgram:n["approval-program"],clearStateProgram:n["clear-state-program"],creator:n.creator,extraProgramPages:n["extra-program-pages"],globalState:void 0!==n["global-state"]?n["global-state"].map(t3.from_obj_for_encoding):void 0,globalStateSchema:void 0!==n["global-state-schema"]?tl.from_obj_for_encoding(n["global-state-schema"]):void 0,localStateSchema:void 0!==n["local-state-schema"]?tl.from_obj_for_encoding(n["local-state-schema"]):void 0})}}class ts extends e4{constructor({appStateType:n,key:i,operation:o,account:a,newValue:s}){super(),this.appStateType=n,this.key="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.operation=o,this.account=a,this.newValue=s,this.attribute_map={appStateType:"app-state-type",key:"key",operation:"operation",account:"account",newValue:"new-value"}}static from_obj_for_encoding(n){if(void 0===n["app-state-type"])throw Error(`Response is missing required field 'app-state-type': ${n}`);if(void 0===n.key)throw Error(`Response is missing required field 'key': ${n}`);if(void 0===n.operation)throw Error(`Response is missing required field 'operation': ${n}`);return new ts({appStateType:n["app-state-type"],key:n.key,operation:n.operation,account:n.account,newValue:void 0!==n["new-value"]?th.from_obj_for_encoding(n["new-value"]):void 0})}}class tl extends e4{constructor({numUint:n,numByteSlice:i}){super(),this.numUint=n,this.numByteSlice=i,this.attribute_map={numUint:"num-uint",numByteSlice:"num-byte-slice"}}static from_obj_for_encoding(n){if(void 0===n["num-uint"])throw Error(`Response is missing required field 'num-uint': ${n}`);if(void 0===n["num-byte-slice"])throw Error(`Response is missing required field 'num-byte-slice': ${n}`);return new tl({numUint:n["num-uint"],numByteSlice:n["num-byte-slice"]})}}class tu extends e4{constructor({index:n,params:i}){super(),this.index=n,this.params=i,this.attribute_map={index:"index",params:"params"}}static from_obj_for_encoding(n){if(void 0===n.index)throw Error(`Response is missing required field 'index': ${n}`);if(void 0===n.params)throw Error(`Response is missing required field 'params': ${n}`);return new tu({index:n.index,params:tp.from_obj_for_encoding(n.params)})}}class tc extends e4{constructor({amount:n,assetId:i,isFrozen:o}){super(),this.amount=n,this.assetId=i,this.isFrozen=o,this.attribute_map={amount:"amount",assetId:"asset-id",isFrozen:"is-frozen"}}static from_obj_for_encoding(n){if(void 0===n.amount)throw Error(`Response is missing required field 'amount': ${n}`);if(void 0===n["asset-id"])throw Error(`Response is missing required field 'asset-id': ${n}`);if(void 0===n["is-frozen"])throw Error(`Response is missing required field 'is-frozen': ${n}`);return new tc({amount:n.amount,assetId:n["asset-id"],isFrozen:n["is-frozen"]})}}class td extends e4{constructor({account:n,asset:i}){super(),this.account=n,this.asset=i,this.attribute_map={account:"account",asset:"asset"}}static from_obj_for_encoding(n){if(void 0===n.account)throw Error(`Response is missing required field 'account': ${n}`);if(void 0===n.asset)throw Error(`Response is missing required field 'asset': ${n}`);return new td({account:n.account,asset:n.asset})}}class tp extends e4{constructor({creator:n,decimals:i,total:o,clawback:a,defaultFrozen:s,freeze:l,manager:u,metadataHash:c,name:d,nameB64:p,reserve:f,unitName:h,unitNameB64:m,url:g,urlB64:b}){super(),this.creator=n,this.decimals=i,this.total=o,this.clawback=a,this.defaultFrozen=s,this.freeze=l,this.manager=u,this.metadataHash="string"==typeof c?new Uint8Array(E.Buffer.from(c,"base64")):c,this.name=d,this.nameB64="string"==typeof p?new Uint8Array(E.Buffer.from(p,"base64")):p,this.reserve=f,this.unitName=h,this.unitNameB64="string"==typeof m?new Uint8Array(E.Buffer.from(m,"base64")):m,this.url=g,this.urlB64="string"==typeof b?new Uint8Array(E.Buffer.from(b,"base64")):b,this.attribute_map={creator:"creator",decimals:"decimals",total:"total",clawback:"clawback",defaultFrozen:"default-frozen",freeze:"freeze",manager:"manager",metadataHash:"metadata-hash",name:"name",nameB64:"name-b64",reserve:"reserve",unitName:"unit-name",unitNameB64:"unit-name-b64",url:"url",urlB64:"url-b64"}}static from_obj_for_encoding(n){if(void 0===n.creator)throw Error(`Response is missing required field 'creator': ${n}`);if(void 0===n.decimals)throw Error(`Response is missing required field 'decimals': ${n}`);if(void 0===n.total)throw Error(`Response is missing required field 'total': ${n}`);return new tp({creator:n.creator,decimals:n.decimals,total:n.total,clawback:n.clawback,defaultFrozen:n["default-frozen"],freeze:n.freeze,manager:n.manager,metadataHash:n["metadata-hash"],name:n.name,nameB64:n["name-b64"],reserve:n.reserve,unitName:n["unit-name"],unitNameB64:n["unit-name-b64"],url:n.url,urlB64:n["url-b64"]})}}class tf extends e4{constructor({key:n,value:i}){super(),this.key="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.value=i,this.attribute_map={key:"key",value:"value"}}static from_obj_for_encoding(n){if(void 0===n.key)throw Error(`Response is missing required field 'key': ${n}`);if(void 0===n.value)throw Error(`Response is missing required field 'value': ${n}`);return new tf({key:n.key,value:th.from_obj_for_encoding(n.value)})}}class th extends e4{constructor({type:n,bytes:i,uint:o}){super(),this.type=n,this.bytes="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.uint=o,this.attribute_map={type:"type",bytes:"bytes",uint:"uint"}}static from_obj_for_encoding(n){if(void 0===n.type)throw Error(`Response is missing required field 'type': ${n}`);return new th({type:n.type,bytes:n.bytes,uint:n.uint})}}class tm extends e4{constructor({blockhash:n}){super(),this.blockhash=n,this.attribute_map={blockhash:"blockHash"}}static from_obj_for_encoding(n){if(void 0===n.blockHash)throw Error(`Response is missing required field 'blockHash': ${n}`);return new tm({blockhash:n.blockHash})}}class tg extends e4{constructor({block:n,cert:i}){super(),this.block=n,this.cert=i,this.attribute_map={block:"block",cert:"cert"}}static from_obj_for_encoding(n){if(void 0===n.block)throw Error(`Response is missing required field 'block': ${n}`);return new tg({block:n.block,cert:n.cert})}}class tb extends e4{constructor({blocktxids:n}){super(),this.blocktxids=n,this.attribute_map={blocktxids:"blockTxids"}}static from_obj_for_encoding(n){if(!Array.isArray(n.blockTxids))throw Error(`Response is missing required array field 'blockTxids': ${n}`);return new tb({blocktxids:n.blockTxids})}}class ty extends e4{constructor({name:n,round:i,value:o}){super(),this.name="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.round=i,this.value="string"==typeof o?new Uint8Array(E.Buffer.from(o,"base64")):o,this.attribute_map={name:"name",round:"round",value:"value"}}static from_obj_for_encoding(n){if(void 0===n.name)throw Error(`Response is missing required field 'name': ${n}`);if(void 0===n.round)throw Error(`Response is missing required field 'round': ${n}`);if(void 0===n.value)throw Error(`Response is missing required field 'value': ${n}`);return new ty({name:n.name,round:n.round,value:n.value})}}class tv extends e4{constructor({name:n}){super(),this.name="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.attribute_map={name:"name"}}static from_obj_for_encoding(n){if(void 0===n.name)throw Error(`Response is missing required field 'name': ${n}`);return new tv({name:n.name})}}class tw extends e4{constructor({app:n,name:i}){super(),this.app=n,this.name="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.attribute_map={app:"app",name:"name"}}static from_obj_for_encoding(n){if(void 0===n.app)throw Error(`Response is missing required field 'app': ${n}`);if(void 0===n.name)throw Error(`Response is missing required field 'name': ${n}`);return new tw({app:n.app,name:n.name})}}class tE extends e4{constructor({boxes:n}){super(),this.boxes=n,this.attribute_map={boxes:"boxes"}}static from_obj_for_encoding(n){if(!Array.isArray(n.boxes))throw Error(`Response is missing required array field 'boxes': ${n}`);return new tE({boxes:n.boxes.map(tv.from_obj_for_encoding)})}}class tS extends e4{constructor({branch:n,buildNumber:i,channel:o,commitHash:a,major:s,minor:l}){super(),this.branch=n,this.buildNumber=i,this.channel=o,this.commitHash=a,this.major=s,this.minor=l,this.attribute_map={branch:"branch",buildNumber:"build_number",channel:"channel",commitHash:"commit_hash",major:"major",minor:"minor"}}static from_obj_for_encoding(n){if(void 0===n.branch)throw Error(`Response is missing required field 'branch': ${n}`);if(void 0===n.build_number)throw Error(`Response is missing required field 'build_number': ${n}`);if(void 0===n.channel)throw Error(`Response is missing required field 'channel': ${n}`);if(void 0===n.commit_hash)throw Error(`Response is missing required field 'commit_hash': ${n}`);if(void 0===n.major)throw Error(`Response is missing required field 'major': ${n}`);if(void 0===n.minor)throw Error(`Response is missing required field 'minor': ${n}`);return new tS({branch:n.branch,buildNumber:n.build_number,channel:n.channel,commitHash:n.commit_hash,major:n.major,minor:n.minor})}}class tx extends e4{constructor({hash:n,result:i,sourcemap:o}){super(),this.hash=n,this.result=i,this.sourcemap=o,this.attribute_map={hash:"hash",result:"result",sourcemap:"sourcemap"}}static from_obj_for_encoding(n){if(void 0===n.hash)throw Error(`Response is missing required field 'hash': ${n}`);if(void 0===n.result)throw Error(`Response is missing required field 'result': ${n}`);return new tx({hash:n.hash,result:n.result,sourcemap:n.sourcemap})}}class t_ extends e4{constructor({result:n}){super(),this.result=n,this.attribute_map={result:"result"}}static from_obj_for_encoding(n){if(void 0===n.result)throw Error(`Response is missing required field 'result': ${n}`);return new t_({result:n.result})}}class tk extends e4{constructor({accounts:n,apps:i,latestTimestamp:o,protocolVersion:a,round:s,sources:l,txns:u}){super(),this.accounts=n,this.apps=i,this.latestTimestamp=o,this.protocolVersion=a,this.round=s,this.sources=l,this.txns=u,this.attribute_map={accounts:"accounts",apps:"apps",latestTimestamp:"latest-timestamp",protocolVersion:"protocol-version",round:"round",sources:"sources",txns:"txns"}}static from_obj_for_encoding(n){if(!Array.isArray(n.accounts))throw Error(`Response is missing required array field 'accounts': ${n}`);if(!Array.isArray(n.apps))throw Error(`Response is missing required array field 'apps': ${n}`);if(void 0===n["latest-timestamp"])throw Error(`Response is missing required field 'latest-timestamp': ${n}`);if(void 0===n["protocol-version"])throw Error(`Response is missing required field 'protocol-version': ${n}`);if(void 0===n.round)throw Error(`Response is missing required field 'round': ${n}`);if(!Array.isArray(n.sources))throw Error(`Response is missing required array field 'sources': ${n}`);if(!Array.isArray(n.txns))throw Error(`Response is missing required array field 'txns': ${n}`);return new tk({accounts:n.accounts.map(e6.from_obj_for_encoding),apps:n.apps.map(tt.from_obj_for_encoding),latestTimestamp:n["latest-timestamp"],protocolVersion:n["protocol-version"],round:n.round,sources:n.sources.map(tT.from_obj_for_encoding),txns:n.txns})}}class tA extends e4{constructor({error:n,protocolVersion:i,txns:o}){super(),this.error=n,this.protocolVersion=i,this.txns=o,this.attribute_map={error:"error",protocolVersion:"protocol-version",txns:"txns"}}static from_obj_for_encoding(n){if(void 0===n.error)throw Error(`Response is missing required field 'error': ${n}`);if(void 0===n["protocol-version"])throw Error(`Response is missing required field 'protocol-version': ${n}`);if(!Array.isArray(n.txns))throw Error(`Response is missing required array field 'txns': ${n}`);return new tA({error:n.error,protocolVersion:n["protocol-version"],txns:n.txns.map(tR.from_obj_for_encoding)})}}class tT extends e4{constructor({fieldName:n,source:i,txnIndex:o,appIndex:a}){super(),this.fieldName=n,this.source=i,this.txnIndex=o,this.appIndex=a,this.attribute_map={fieldName:"field-name",source:"source",txnIndex:"txn-index",appIndex:"app-index"}}static from_obj_for_encoding(n){if(void 0===n["field-name"])throw Error(`Response is missing required field 'field-name': ${n}`);if(void 0===n.source)throw Error(`Response is missing required field 'source': ${n}`);if(void 0===n["txn-index"])throw Error(`Response is missing required field 'txn-index': ${n}`);if(void 0===n["app-index"])throw Error(`Response is missing required field 'app-index': ${n}`);return new tT({fieldName:n["field-name"],source:n.source,txnIndex:n["txn-index"],appIndex:n["app-index"]})}}class tC extends e4{constructor({line:n,pc:i,stack:o,error:a,scratch:s}){super(),this.line=n,this.pc=i,this.stack=o,this.error=a,this.scratch=s,this.attribute_map={line:"line",pc:"pc",stack:"stack",error:"error",scratch:"scratch"}}static from_obj_for_encoding(n){if(void 0===n.line)throw Error(`Response is missing required field 'line': ${n}`);if(void 0===n.pc)throw Error(`Response is missing required field 'pc': ${n}`);if(!Array.isArray(n.stack))throw Error(`Response is missing required array field 'stack': ${n}`);return new tC({line:n.line,pc:n.pc,stack:n.stack.map(t5.from_obj_for_encoding),error:n.error,scratch:void 0!==n.scratch?n.scratch.map(t5.from_obj_for_encoding):void 0})}}class tR extends e4{constructor({disassembly:n,appCallMessages:i,appCallTrace:o,budgetAdded:a,budgetConsumed:s,globalDelta:l,localDeltas:u,logicSigDisassembly:c,logicSigMessages:d,logicSigTrace:p,logs:f}){super(),this.disassembly=n,this.appCallMessages=i,this.appCallTrace=o,this.budgetAdded=a,this.budgetConsumed=s,this.globalDelta=l,this.localDeltas=u,this.logicSigDisassembly=c,this.logicSigMessages=d,this.logicSigTrace=p,this.logs=f,this.attribute_map={disassembly:"disassembly",appCallMessages:"app-call-messages",appCallTrace:"app-call-trace",budgetAdded:"budget-added",budgetConsumed:"budget-consumed",globalDelta:"global-delta",localDeltas:"local-deltas",logicSigDisassembly:"logic-sig-disassembly",logicSigMessages:"logic-sig-messages",logicSigTrace:"logic-sig-trace",logs:"logs"}}static from_obj_for_encoding(n){if(!Array.isArray(n.disassembly))throw Error(`Response is missing required array field 'disassembly': ${n}`);return new tR({disassembly:n.disassembly,appCallMessages:n["app-call-messages"],appCallTrace:void 0!==n["app-call-trace"]?n["app-call-trace"].map(tC.from_obj_for_encoding):void 0,budgetAdded:n["budget-added"],budgetConsumed:n["budget-consumed"],globalDelta:void 0!==n["global-delta"]?n["global-delta"].map(tI.from_obj_for_encoding):void 0,localDeltas:void 0!==n["local-deltas"]?n["local-deltas"].map(te.from_obj_for_encoding):void 0,logicSigDisassembly:n["logic-sig-disassembly"],logicSigMessages:n["logic-sig-messages"],logicSigTrace:void 0!==n["logic-sig-trace"]?n["logic-sig-trace"].map(tC.from_obj_for_encoding):void 0,logs:n.logs})}}class tD extends e4{constructor({message:n,data:i}){super(),this.message=n,this.data=i,this.attribute_map={message:"message",data:"data"}}static from_obj_for_encoding(n){if(void 0===n.message)throw Error(`Response is missing required field 'message': ${n}`);return new tD({message:n.message,data:n.data})}}class tO extends e4{constructor({action:n,bytes:i,uint:o}){super(),this.action=n,this.bytes=i,this.uint=o,this.attribute_map={action:"action",bytes:"bytes",uint:"uint"}}static from_obj_for_encoding(n){if(void 0===n.action)throw Error(`Response is missing required field 'action': ${n}`);return new tO({action:n.action,bytes:n.bytes,uint:n.uint})}}class tI extends e4{constructor({key:n,value:i}){super(),this.key=n,this.value=i,this.attribute_map={key:"key",value:"value"}}static from_obj_for_encoding(n){if(void 0===n.key)throw Error(`Response is missing required field 'key': ${n}`);if(void 0===n.value)throw Error(`Response is missing required field 'value': ${n}`);return new tI({key:n.key,value:tO.from_obj_for_encoding(n.value)})}}class tN extends e4{constructor({offset:n}){super(),this.offset=n,this.attribute_map={offset:"offset"}}static from_obj_for_encoding(n){if(void 0===n.offset)throw Error(`Response is missing required field 'offset': ${n}`);return new tN({offset:n.offset})}}class tM extends e4{constructor({round:n}){super(),this.round=n,this.attribute_map={round:"round"}}static from_obj_for_encoding(n){if(void 0===n.round)throw Error(`Response is missing required field 'round': ${n}`);return new tM({round:n.round})}}class tL extends e4{constructor({key:n,value:i}){super(),this.key="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.value="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.attribute_map={key:"key",value:"value"}}static from_obj_for_encoding(n){return new tL({key:n.key,value:n.value})}}class tP extends e4{constructor({delta:n,ids:i}){super(),this.delta=n,this.ids=i,this.attribute_map={delta:"Delta",ids:"Ids"}}static from_obj_for_encoding(n){if(void 0===n.Delta)throw Error(`Response is missing required field 'Delta': ${n}`);if(!Array.isArray(n.Ids))throw Error(`Response is missing required array field 'Ids': ${n}`);return new tP({delta:n.Delta,ids:n.Ids})}}class tF extends e4{constructor({index:n,proof:i,treedepth:o}){super(),this.index=n,this.proof="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.treedepth=o,this.attribute_map={index:"index",proof:"proof",treedepth:"treedepth"}}static from_obj_for_encoding(n){if(void 0===n.index)throw Error(`Response is missing required field 'index': ${n}`);if(void 0===n.proof)throw Error(`Response is missing required field 'proof': ${n}`);if(void 0===n.treedepth)throw Error(`Response is missing required field 'treedepth': ${n}`);return new tF({index:n.index,proof:n.proof,treedepth:n.treedepth})}}class tB extends e4{constructor({catchupTime:n,lastRound:i,lastVersion:o,nextVersion:a,nextVersionRound:s,nextVersionSupported:l,stoppedAtUnsupportedRound:u,timeSinceLastRound:c,catchpoint:d,catchpointAcquiredBlocks:p,catchpointProcessedAccounts:f,catchpointProcessedKvs:h,catchpointTotalAccounts:m,catchpointTotalBlocks:g,catchpointTotalKvs:b,catchpointVerifiedAccounts:y,catchpointVerifiedKvs:v,lastCatchpoint:w,upgradeDelay:E,upgradeNextProtocolVoteBefore:S,upgradeNoVotes:x,upgradeNodeVote:_,upgradeVoteRounds:k,upgradeVotes:A,upgradeVotesRequired:T,upgradeYesVotes:C}){super(),this.catchupTime=n,this.lastRound=i,this.lastVersion=o,this.nextVersion=a,this.nextVersionRound=s,this.nextVersionSupported=l,this.stoppedAtUnsupportedRound=u,this.timeSinceLastRound=c,this.catchpoint=d,this.catchpointAcquiredBlocks=p,this.catchpointProcessedAccounts=f,this.catchpointProcessedKvs=h,this.catchpointTotalAccounts=m,this.catchpointTotalBlocks=g,this.catchpointTotalKvs=b,this.catchpointVerifiedAccounts=y,this.catchpointVerifiedKvs=v,this.lastCatchpoint=w,this.upgradeDelay=E,this.upgradeNextProtocolVoteBefore=S,this.upgradeNoVotes=x,this.upgradeNodeVote=_,this.upgradeVoteRounds=k,this.upgradeVotes=A,this.upgradeVotesRequired=T,this.upgradeYesVotes=C,this.attribute_map={catchupTime:"catchup-time",lastRound:"last-round",lastVersion:"last-version",nextVersion:"next-version",nextVersionRound:"next-version-round",nextVersionSupported:"next-version-supported",stoppedAtUnsupportedRound:"stopped-at-unsupported-round",timeSinceLastRound:"time-since-last-round",catchpoint:"catchpoint",catchpointAcquiredBlocks:"catchpoint-acquired-blocks",catchpointProcessedAccounts:"catchpoint-processed-accounts",catchpointProcessedKvs:"catchpoint-processed-kvs",catchpointTotalAccounts:"catchpoint-total-accounts",catchpointTotalBlocks:"catchpoint-total-blocks",catchpointTotalKvs:"catchpoint-total-kvs",catchpointVerifiedAccounts:"catchpoint-verified-accounts",catchpointVerifiedKvs:"catchpoint-verified-kvs",lastCatchpoint:"last-catchpoint",upgradeDelay:"upgrade-delay",upgradeNextProtocolVoteBefore:"upgrade-next-protocol-vote-before",upgradeNoVotes:"upgrade-no-votes",upgradeNodeVote:"upgrade-node-vote",upgradeVoteRounds:"upgrade-vote-rounds",upgradeVotes:"upgrade-votes",upgradeVotesRequired:"upgrade-votes-required",upgradeYesVotes:"upgrade-yes-votes"}}static from_obj_for_encoding(n){if(void 0===n["catchup-time"])throw Error(`Response is missing required field 'catchup-time': ${n}`);if(void 0===n["last-round"])throw Error(`Response is missing required field 'last-round': ${n}`);if(void 0===n["last-version"])throw Error(`Response is missing required field 'last-version': ${n}`);if(void 0===n["next-version"])throw Error(`Response is missing required field 'next-version': ${n}`);if(void 0===n["next-version-round"])throw Error(`Response is missing required field 'next-version-round': ${n}`);if(void 0===n["next-version-supported"])throw Error(`Response is missing required field 'next-version-supported': ${n}`);if(void 0===n["stopped-at-unsupported-round"])throw Error(`Response is missing required field 'stopped-at-unsupported-round': ${n}`);if(void 0===n["time-since-last-round"])throw Error(`Response is missing required field 'time-since-last-round': ${n}`);return new tB({catchupTime:n["catchup-time"],lastRound:n["last-round"],lastVersion:n["last-version"],nextVersion:n["next-version"],nextVersionRound:n["next-version-round"],nextVersionSupported:n["next-version-supported"],stoppedAtUnsupportedRound:n["stopped-at-unsupported-round"],timeSinceLastRound:n["time-since-last-round"],catchpoint:n.catchpoint,catchpointAcquiredBlocks:n["catchpoint-acquired-blocks"],catchpointProcessedAccounts:n["catchpoint-processed-accounts"],catchpointProcessedKvs:n["catchpoint-processed-kvs"],catchpointTotalAccounts:n["catchpoint-total-accounts"],catchpointTotalBlocks:n["catchpoint-total-blocks"],catchpointTotalKvs:n["catchpoint-total-kvs"],catchpointVerifiedAccounts:n["catchpoint-verified-accounts"],catchpointVerifiedKvs:n["catchpoint-verified-kvs"],lastCatchpoint:n["last-catchpoint"],upgradeDelay:n["upgrade-delay"],upgradeNextProtocolVoteBefore:n["upgrade-next-protocol-vote-before"],upgradeNoVotes:n["upgrade-no-votes"],upgradeNodeVote:n["upgrade-node-vote"],upgradeVoteRounds:n["upgrade-vote-rounds"],upgradeVotes:n["upgrade-votes"],upgradeVotesRequired:n["upgrade-votes-required"],upgradeYesVotes:n["upgrade-yes-votes"]})}}class tU extends e4{constructor({poolError:n,txn:i,applicationIndex:o,assetClosingAmount:a,assetIndex:s,closeRewards:l,closingAmount:u,confirmedRound:c,globalStateDelta:d,innerTxns:p,localStateDelta:f,logs:h,receiverRewards:m,senderRewards:g}){super(),this.poolError=n,this.txn=i,this.applicationIndex=o,this.assetClosingAmount=a,this.assetIndex=s,this.closeRewards=l,this.closingAmount=u,this.confirmedRound=c,this.globalStateDelta=d,this.innerTxns=p,this.localStateDelta=f,this.logs=h,this.receiverRewards=m,this.senderRewards=g,this.attribute_map={poolError:"pool-error",txn:"txn",applicationIndex:"application-index",assetClosingAmount:"asset-closing-amount",assetIndex:"asset-index",closeRewards:"close-rewards",closingAmount:"closing-amount",confirmedRound:"confirmed-round",globalStateDelta:"global-state-delta",innerTxns:"inner-txns",localStateDelta:"local-state-delta",logs:"logs",receiverRewards:"receiver-rewards",senderRewards:"sender-rewards"}}static from_obj_for_encoding(n){if(void 0===n["pool-error"])throw Error(`Response is missing required field 'pool-error': ${n}`);if(void 0===n.txn)throw Error(`Response is missing required field 'txn': ${n}`);return new tU({poolError:n["pool-error"],txn:n.txn,applicationIndex:n["application-index"],assetClosingAmount:n["asset-closing-amount"],assetIndex:n["asset-index"],closeRewards:n["close-rewards"],closingAmount:n["closing-amount"],confirmedRound:n["confirmed-round"],globalStateDelta:void 0!==n["global-state-delta"]?n["global-state-delta"].map(tI.from_obj_for_encoding):void 0,innerTxns:void 0!==n["inner-txns"]?n["inner-txns"].map(tU.from_obj_for_encoding):void 0,localStateDelta:void 0!==n["local-state-delta"]?n["local-state-delta"].map(te.from_obj_for_encoding):void 0,logs:n.logs,receiverRewards:n["receiver-rewards"],senderRewards:n["sender-rewards"]})}}class tz extends e4{constructor({topTransactions:n,totalTransactions:i}){super(),this.topTransactions=n,this.totalTransactions=i,this.attribute_map={topTransactions:"top-transactions",totalTransactions:"total-transactions"}}static from_obj_for_encoding(n){if(!Array.isArray(n["top-transactions"]))throw Error(`Response is missing required array field 'top-transactions': ${n}`);if(void 0===n["total-transactions"])throw Error(`Response is missing required field 'total-transactions': ${n}`);return new tz({topTransactions:n["top-transactions"],totalTransactions:n["total-transactions"]})}}class tj extends e4{constructor({txid:n}){super(),this.txid=n,this.attribute_map={txid:"txId"}}static from_obj_for_encoding(n){if(void 0===n.txId)throw Error(`Response is missing required field 'txId': ${n}`);return new tj({txid:n.txId})}}class t$ extends e4{constructor({newValue:n,slot:i}){super(),this.newValue=n,this.slot=i,this.attribute_map={newValue:"new-value",slot:"slot"}}static from_obj_for_encoding(n){if(void 0===n["new-value"])throw Error(`Response is missing required field 'new-value': ${n}`);if(void 0===n.slot)throw Error(`Response is missing required field 'slot': ${n}`);return new t$({newValue:th.from_obj_for_encoding(n["new-value"]),slot:n.slot})}}class tH extends e4{constructor({appInitialStates:n}){super(),this.appInitialStates=n,this.attribute_map={appInitialStates:"app-initial-states"}}static from_obj_for_encoding(n){return new tH({appInitialStates:void 0!==n["app-initial-states"]?n["app-initial-states"].map(tn.from_obj_for_encoding):void 0})}}class tV extends e4{constructor({txnGroups:n,allowEmptySignatures:i,allowMoreLogging:o,allowUnnamedResources:a,execTraceConfig:s,extraOpcodeBudget:l,round:u}){super(),this.txnGroups=n,this.allowEmptySignatures=i,this.allowMoreLogging=o,this.allowUnnamedResources=a,this.execTraceConfig=s,this.extraOpcodeBudget=l,this.round=u,this.attribute_map={txnGroups:"txn-groups",allowEmptySignatures:"allow-empty-signatures",allowMoreLogging:"allow-more-logging",allowUnnamedResources:"allow-unnamed-resources",execTraceConfig:"exec-trace-config",extraOpcodeBudget:"extra-opcode-budget",round:"round"}}static from_obj_for_encoding(n){if(!Array.isArray(n["txn-groups"]))throw Error(`Response is missing required array field 'txn-groups': ${n}`);return new tV({txnGroups:n["txn-groups"].map(tG.from_obj_for_encoding),allowEmptySignatures:n["allow-empty-signatures"],allowMoreLogging:n["allow-more-logging"],allowUnnamedResources:n["allow-unnamed-resources"],execTraceConfig:void 0!==n["exec-trace-config"]?tW.from_obj_for_encoding(n["exec-trace-config"]):void 0,extraOpcodeBudget:n["extra-opcode-budget"],round:n.round})}}class tG extends e4{constructor({txns:n}){super(),this.txns=n,this.attribute_map={txns:"txns"}}static from_obj_for_encoding(n){if(!Array.isArray(n.txns))throw Error(`Response is missing required array field 'txns': ${n}`);return new tG({txns:n.txns})}}class tq extends e4{constructor({lastRound:n,txnGroups:i,version:o,evalOverrides:a,execTraceConfig:s,initialStates:l}){super(),this.lastRound=n,this.txnGroups=i,this.version=o,this.evalOverrides=a,this.execTraceConfig=s,this.initialStates=l,this.attribute_map={lastRound:"last-round",txnGroups:"txn-groups",version:"version",evalOverrides:"eval-overrides",execTraceConfig:"exec-trace-config",initialStates:"initial-states"}}static from_obj_for_encoding(n){if(void 0===n["last-round"])throw Error(`Response is missing required field 'last-round': ${n}`);if(!Array.isArray(n["txn-groups"]))throw Error(`Response is missing required array field 'txn-groups': ${n}`);if(void 0===n.version)throw Error(`Response is missing required field 'version': ${n}`);return new tq({lastRound:n["last-round"],txnGroups:n["txn-groups"].map(tK.from_obj_for_encoding),version:n.version,evalOverrides:void 0!==n["eval-overrides"]?tX.from_obj_for_encoding(n["eval-overrides"]):void 0,execTraceConfig:void 0!==n["exec-trace-config"]?tW.from_obj_for_encoding(n["exec-trace-config"]):void 0,initialStates:void 0!==n["initial-states"]?tH.from_obj_for_encoding(n["initial-states"]):void 0})}}class tW extends e4{constructor({enable:n,scratchChange:i,stackChange:o,stateChange:a}){super(),this.enable=n,this.scratchChange=i,this.stackChange=o,this.stateChange=a,this.attribute_map={enable:"enable",scratchChange:"scratch-change",stackChange:"stack-change",stateChange:"state-change"}}static from_obj_for_encoding(n){return new tW({enable:n.enable,scratchChange:n["scratch-change"],stackChange:n["stack-change"],stateChange:n["state-change"]})}}class tK extends e4{constructor({txnResults:n,appBudgetAdded:i,appBudgetConsumed:o,failedAt:a,failureMessage:s,unnamedResourcesAccessed:l}){super(),this.txnResults=n,this.appBudgetAdded=i,this.appBudgetConsumed=o,this.failedAt=a,this.failureMessage=s,this.unnamedResourcesAccessed=l,this.attribute_map={txnResults:"txn-results",appBudgetAdded:"app-budget-added",appBudgetConsumed:"app-budget-consumed",failedAt:"failed-at",failureMessage:"failure-message",unnamedResourcesAccessed:"unnamed-resources-accessed"}}static from_obj_for_encoding(n){if(!Array.isArray(n["txn-results"]))throw Error(`Response is missing required array field 'txn-results': ${n}`);return new tK({txnResults:n["txn-results"].map(tY.from_obj_for_encoding),appBudgetAdded:n["app-budget-added"],appBudgetConsumed:n["app-budget-consumed"],failedAt:n["failed-at"],failureMessage:n["failure-message"],unnamedResourcesAccessed:void 0!==n["unnamed-resources-accessed"]?tZ.from_obj_for_encoding(n["unnamed-resources-accessed"]):void 0})}}class tY extends e4{constructor({txnResult:n,appBudgetConsumed:i,execTrace:o,logicSigBudgetConsumed:a,unnamedResourcesAccessed:s}){super(),this.txnResult=n,this.appBudgetConsumed=i,this.execTrace=o,this.logicSigBudgetConsumed=a,this.unnamedResourcesAccessed=s,this.attribute_map={txnResult:"txn-result",appBudgetConsumed:"app-budget-consumed",execTrace:"exec-trace",logicSigBudgetConsumed:"logic-sig-budget-consumed",unnamedResourcesAccessed:"unnamed-resources-accessed"}}static from_obj_for_encoding(n){if(void 0===n["txn-result"])throw Error(`Response is missing required field 'txn-result': ${n}`);return new tY({txnResult:tU.from_obj_for_encoding(n["txn-result"]),appBudgetConsumed:n["app-budget-consumed"],execTrace:void 0!==n["exec-trace"]?tQ.from_obj_for_encoding(n["exec-trace"]):void 0,logicSigBudgetConsumed:n["logic-sig-budget-consumed"],unnamedResourcesAccessed:void 0!==n["unnamed-resources-accessed"]?tZ.from_obj_for_encoding(n["unnamed-resources-accessed"]):void 0})}}class tZ extends e4{constructor({accounts:n,appLocals:i,apps:o,assetHoldings:a,assets:s,boxes:l,extraBoxRefs:u}){super(),this.accounts=n,this.appLocals=i,this.apps=o,this.assetHoldings=a,this.assets=s,this.boxes=l,this.extraBoxRefs=u,this.attribute_map={accounts:"accounts",appLocals:"app-locals",apps:"apps",assetHoldings:"asset-holdings",assets:"assets",boxes:"boxes",extraBoxRefs:"extra-box-refs"}}static from_obj_for_encoding(n){return new tZ({accounts:n.accounts,appLocals:void 0!==n["app-locals"]?n["app-locals"].map(ti.from_obj_for_encoding):void 0,apps:n.apps,assetHoldings:void 0!==n["asset-holdings"]?n["asset-holdings"].map(td.from_obj_for_encoding):void 0,assets:n.assets,boxes:void 0!==n.boxes?n.boxes.map(tw.from_obj_for_encoding):void 0,extraBoxRefs:n["extra-box-refs"]})}}class tX extends e4{constructor({allowEmptySignatures:n,allowUnnamedResources:i,extraOpcodeBudget:o,maxLogCalls:a,maxLogSize:s}){super(),this.allowEmptySignatures=n,this.allowUnnamedResources=i,this.extraOpcodeBudget=o,this.maxLogCalls=a,this.maxLogSize=s,this.attribute_map={allowEmptySignatures:"allow-empty-signatures",allowUnnamedResources:"allow-unnamed-resources",extraOpcodeBudget:"extra-opcode-budget",maxLogCalls:"max-log-calls",maxLogSize:"max-log-size"}}static from_obj_for_encoding(n){return new tX({allowEmptySignatures:n["allow-empty-signatures"],allowUnnamedResources:n["allow-unnamed-resources"],extraOpcodeBudget:n["extra-opcode-budget"],maxLogCalls:n["max-log-calls"],maxLogSize:n["max-log-size"]})}}class tJ extends e4{constructor({pc:n,scratchChanges:i,spawnedInners:o,stackAdditions:a,stackPopCount:s,stateChanges:l}){super(),this.pc=n,this.scratchChanges=i,this.spawnedInners=o,this.stackAdditions=a,this.stackPopCount=s,this.stateChanges=l,this.attribute_map={pc:"pc",scratchChanges:"scratch-changes",spawnedInners:"spawned-inners",stackAdditions:"stack-additions",stackPopCount:"stack-pop-count",stateChanges:"state-changes"}}static from_obj_for_encoding(n){if(void 0===n.pc)throw Error(`Response is missing required field 'pc': ${n}`);return new tJ({pc:n.pc,scratchChanges:void 0!==n["scratch-changes"]?n["scratch-changes"].map(t$.from_obj_for_encoding):void 0,spawnedInners:n["spawned-inners"],stackAdditions:void 0!==n["stack-additions"]?n["stack-additions"].map(th.from_obj_for_encoding):void 0,stackPopCount:n["stack-pop-count"],stateChanges:void 0!==n["state-changes"]?n["state-changes"].map(ts.from_obj_for_encoding):void 0})}}class tQ extends e4{constructor({approvalProgramHash:n,approvalProgramTrace:i,clearStateProgramHash:o,clearStateProgramTrace:a,innerTrace:s,logicSigHash:l,logicSigTrace:u}){super(),this.approvalProgramHash="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.approvalProgramTrace=i,this.clearStateProgramHash="string"==typeof o?new Uint8Array(E.Buffer.from(o,"base64")):o,this.clearStateProgramTrace=a,this.innerTrace=s,this.logicSigHash="string"==typeof l?new Uint8Array(E.Buffer.from(l,"base64")):l,this.logicSigTrace=u,this.attribute_map={approvalProgramHash:"approval-program-hash",approvalProgramTrace:"approval-program-trace",clearStateProgramHash:"clear-state-program-hash",clearStateProgramTrace:"clear-state-program-trace",innerTrace:"inner-trace",logicSigHash:"logic-sig-hash",logicSigTrace:"logic-sig-trace"}}static from_obj_for_encoding(n){return new tQ({approvalProgramHash:n["approval-program-hash"],approvalProgramTrace:void 0!==n["approval-program-trace"]?n["approval-program-trace"].map(tJ.from_obj_for_encoding):void 0,clearStateProgramHash:n["clear-state-program-hash"],clearStateProgramTrace:void 0!==n["clear-state-program-trace"]?n["clear-state-program-trace"].map(tJ.from_obj_for_encoding):void 0,innerTrace:void 0!==n["inner-trace"]?n["inner-trace"].map(tQ.from_obj_for_encoding):void 0,logicSigHash:n["logic-sig-hash"],logicSigTrace:void 0!==n["logic-sig-trace"]?n["logic-sig-trace"].map(tJ.from_obj_for_encoding):void 0})}}class t0 extends e4{constructor({message:n,stateproof:i}){super(),this.message=n,this.stateproof="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.attribute_map={message:"Message",stateproof:"StateProof"}}static from_obj_for_encoding(n){if(void 0===n.Message)throw Error(`Response is missing required field 'Message': ${n}`);if(void 0===n.StateProof)throw Error(`Response is missing required field 'StateProof': ${n}`);return new t0({message:t1.from_obj_for_encoding(n.Message),stateproof:n.StateProof})}}class t1 extends e4{constructor({blockheaderscommitment:n,firstattestedround:i,lastattestedround:o,lnprovenweight:a,voterscommitment:s}){super(),this.blockheaderscommitment="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.firstattestedround=i,this.lastattestedround=o,this.lnprovenweight=a,this.voterscommitment="string"==typeof s?new Uint8Array(E.Buffer.from(s,"base64")):s,this.attribute_map={blockheaderscommitment:"BlockHeadersCommitment",firstattestedround:"FirstAttestedRound",lastattestedround:"LastAttestedRound",lnprovenweight:"LnProvenWeight",voterscommitment:"VotersCommitment"}}static from_obj_for_encoding(n){if(void 0===n.BlockHeadersCommitment)throw Error(`Response is missing required field 'BlockHeadersCommitment': ${n}`);if(void 0===n.FirstAttestedRound)throw Error(`Response is missing required field 'FirstAttestedRound': ${n}`);if(void 0===n.LastAttestedRound)throw Error(`Response is missing required field 'LastAttestedRound': ${n}`);if(void 0===n.LnProvenWeight)throw Error(`Response is missing required field 'LnProvenWeight': ${n}`);if(void 0===n.VotersCommitment)throw Error(`Response is missing required field 'VotersCommitment': ${n}`);return new t1({blockheaderscommitment:n.BlockHeadersCommitment,firstattestedround:n.FirstAttestedRound,lastattestedround:n.LastAttestedRound,lnprovenweight:n.LnProvenWeight,voterscommitment:n.VotersCommitment})}}class t2 extends e4{constructor({currentRound:n,onlineMoney:i,totalMoney:o}){super(),this.currentRound=n,this.onlineMoney=i,this.totalMoney=o,this.attribute_map={currentRound:"current_round",onlineMoney:"online-money",totalMoney:"total-money"}}static from_obj_for_encoding(n){if(void 0===n.current_round)throw Error(`Response is missing required field 'current_round': ${n}`);if(void 0===n["online-money"])throw Error(`Response is missing required field 'online-money': ${n}`);if(void 0===n["total-money"])throw Error(`Response is missing required field 'total-money': ${n}`);return new t2({currentRound:n.current_round,onlineMoney:n["online-money"],totalMoney:n["total-money"]})}}class t3 extends e4{constructor({key:n,value:i}){super(),this.key=n,this.value=i,this.attribute_map={key:"key",value:"value"}}static from_obj_for_encoding(n){if(void 0===n.key)throw Error(`Response is missing required field 'key': ${n}`);if(void 0===n.value)throw Error(`Response is missing required field 'value': ${n}`);return new t3({key:n.key,value:t5.from_obj_for_encoding(n.value)})}}class t5 extends e4{constructor({type:n,bytes:i,uint:o}){super(),this.type=n,this.bytes=i,this.uint=o,this.attribute_map={type:"type",bytes:"bytes",uint:"uint"}}static from_obj_for_encoding(n){if(void 0===n.type)throw Error(`Response is missing required field 'type': ${n}`);if(void 0===n.bytes)throw Error(`Response is missing required field 'bytes': ${n}`);if(void 0===n.uint)throw Error(`Response is missing required field 'uint': ${n}`);return new t5({type:n.type,bytes:n.bytes,uint:n.uint})}}class t4 extends e4{constructor({deltas:n}){super(),this.deltas=n,this.attribute_map={deltas:"Deltas"}}static from_obj_for_encoding(n){if(!Array.isArray(n.Deltas))throw Error(`Response is missing required array field 'Deltas': ${n}`);return new t4({deltas:n.Deltas.map(tP.from_obj_for_encoding)})}}class t6 extends e4{constructor({consensusVersion:n,fee:i,genesisHash:o,genesisId:a,lastRound:s,minFee:l}){super(),this.consensusVersion=n,this.fee=i,this.genesisHash="string"==typeof o?new Uint8Array(E.Buffer.from(o,"base64")):o,this.genesisId=a,this.lastRound=s,this.minFee=l,this.attribute_map={consensusVersion:"consensus-version",fee:"fee",genesisHash:"genesis-hash",genesisId:"genesis-id",lastRound:"last-round",minFee:"min-fee"}}static from_obj_for_encoding(n){if(void 0===n["consensus-version"])throw Error(`Response is missing required field 'consensus-version': ${n}`);if(void 0===n.fee)throw Error(`Response is missing required field 'fee': ${n}`);if(void 0===n["genesis-hash"])throw Error(`Response is missing required field 'genesis-hash': ${n}`);if(void 0===n["genesis-id"])throw Error(`Response is missing required field 'genesis-id': ${n}`);if(void 0===n["last-round"])throw Error(`Response is missing required field 'last-round': ${n}`);if(void 0===n["min-fee"])throw Error(`Response is missing required field 'min-fee': ${n}`);return new t6({consensusVersion:n["consensus-version"],fee:n.fee,genesisHash:n["genesis-hash"],genesisId:n["genesis-id"],lastRound:n["last-round"],minFee:n["min-fee"]})}}class t8 extends e4{constructor({idx:n,proof:i,stibhash:o,treedepth:a,hashtype:s}){super(),this.idx=n,this.proof="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.stibhash="string"==typeof o?new Uint8Array(E.Buffer.from(o,"base64")):o,this.treedepth=a,this.hashtype=s,this.attribute_map={idx:"idx",proof:"proof",stibhash:"stibhash",treedepth:"treedepth",hashtype:"hashtype"}}static from_obj_for_encoding(n){if(void 0===n.idx)throw Error(`Response is missing required field 'idx': ${n}`);if(void 0===n.proof)throw Error(`Response is missing required field 'proof': ${n}`);if(void 0===n.stibhash)throw Error(`Response is missing required field 'stibhash': ${n}`);if(void 0===n.treedepth)throw Error(`Response is missing required field 'treedepth': ${n}`);return new t8({idx:n.idx,proof:n.proof,stibhash:n.stibhash,treedepth:n.treedepth,hashtype:n.hashtype})}}class t9 extends e4{constructor({build:n,genesisHashB64:i,genesisId:o,versions:a}){super(),this.build=n,this.genesisHashB64="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.genesisId=o,this.versions=a,this.attribute_map={build:"build",genesisHashB64:"genesis_hash_b64",genesisId:"genesis_id",versions:"versions"}}static from_obj_for_encoding(n){if(void 0===n.build)throw Error(`Response is missing required field 'build': ${n}`);if(void 0===n.genesis_hash_b64)throw Error(`Response is missing required field 'genesis_hash_b64': ${n}`);if(void 0===n.genesis_id)throw Error(`Response is missing required field 'genesis_id': ${n}`);if(!Array.isArray(n.versions))throw Error(`Response is missing required array field 'versions': ${n}`);return new t9({build:tS.from_obj_for_encoding(n.build),genesisHashB64:n.genesis_hash_b64,genesisId:n.genesis_id,versions:n.versions})}}class t7{constructor(n,i){this.c=n,this.query={},this.intDecoding=i||C.DEFAULT}prepare(n){return n}async do(n={}){let i={};"default"!==this.intDecoding&&(i.intDecoding=this.intDecoding);let o=await this.c.get(this.path(),this.query,n,i);return this.prepare(o.body)}async doRaw(n={}){let i=await this.c.get(this.path(),this.query,n,{},!1);return i.body}setIntDecoding(n){if("default"!==n&&"safe"!==n&&"mixed"!==n&&"bigint"!==n)throw Error(`Invalid method for int decoding: ${n}`);return this.intDecoding=n,this}}class ne extends t7{constructor(n,i,o){super(n,i),this.account=o,this.account=o}path(){return`/v2/accounts/${this.account}`}exclude(n){return this.query.exclude=n,this}}class nt extends t7{constructor(n,i,o,a){super(n,i),this.account=o,this.assetID=a,this.account=o,this.assetID=a}path(){return`/v2/accounts/${this.account}/assets/${this.assetID}`}}class nn extends t7{constructor(n,i,o,a){super(n,i),this.account=o,this.applicationID=a,this.account=o,this.applicationID=a}path(){return`/v2/accounts/${this.account}/applications/${this.applicationID}`}}class nr extends t7{constructor(n,i){if(super(n),!Number.isInteger(i))throw Error("roundNumber should be an integer");this.round=i,this.query={format:"msgpack"}}path(){return`/v2/blocks/${this.round}`}prepare(n){if(n&&n.byteLength>0)return ew(n)}}function ni(n={}){let i=n;return Object.keys(i).every(n=>"content-type"!==n.toLowerCase())&&((i={...n})["Content-Type"]="text/plain"),i}class no extends t7{constructor(n,i){super(n),this.source=i,this.source=i}path(){return"/v2/teal/compile"}sourcemap(n=!0){return this.query.sourcemap=n,this}async do(n={}){let i=ni(n),o=await this.c.post(this.path(),E.Buffer.from(this.source),i,this.query);return o.body}}class na extends t7{constructor(n,i){super(n),this.blob=ev(i.get_obj_for_encoding(!0))}path(){return"/v2/teal/dryrun"}async do(n={}){let i=ni(n),o=await this.c.post(this.path(),E.Buffer.from(this.blob),i);return o.body}}class ns extends t7{path(){return"/genesis"}}class nl extends t7{constructor(n,i,o){super(n,i),this.index=o,this.index=o}path(){return`/v2/assets/${this.index}`}}class nu extends t7{constructor(n,i,o){super(n,i),this.index=o,this.index=o}path(){return`/v2/applications/${this.index}`}}class nc extends t7{constructor(n,i,o){if(super(n,i),!Number.isInteger(o))throw Error("roundNumber should be an integer");this.round=o}path(){return`/v2/blocks/${this.round}/hash`}}class nd extends t7{constructor(n,i,o){if(super(n,i),!Number.isInteger(o))throw Error("roundNumber should be an integer");this.round=o}path(){return`/v2/blocks/${this.round}/txids`}}class np extends t7{constructor(n,i,o,a){super(n,i),this.index=o,this.index=o;let s=E.Buffer.from(a).toString("base64");this.query.name=encodeURI(`b64:${s}`)}path(){return`/v2/applications/${this.index}/box`}prepare(n){return ty.from_obj_for_encoding(n)}}class nf extends t7{constructor(n,i,o){super(n,i),this.index=o,this.index=o,this.query.max=0}path(){return`/v2/applications/${this.index}/boxes`}max(n){return this.query.max=n,this}prepare(n){return tE.from_obj_for_encoding(n)}}class nh extends t7{path(){return"/health"}async do(n={}){let i=await this.c.get(this.path(),{},n);if(!i.ok)throw Error(`Health response: ${i.status}`);return{}}}class nm extends t7{constructor(n,i){super(n),this.txid=i,this.txid=i,this.query.format="msgpack"}prepare(n){if(n&&n.byteLength>0)return ew(n)}path(){return`/v2/transactions/pending/${this.txid}`}max(n){return this.query.max=n,this}}class ng extends t7{constructor(n){super(n),this.query.format="msgpack"}path(){return"/v2/transactions/pending"}prepare(n){if(n&&n.byteLength>0)return ew(n)}max(n){return this.query.max=n,this}}class nb extends t7{constructor(n,i){super(n),this.address=i,this.address=i,this.query.format="msgpack"}prepare(n){if(n&&n.byteLength>0)return ew(n)}path(){return`/v2/accounts/${this.address}/transactions/pending`}max(n){return this.query.max=n,this}}class ny extends t7{constructor(n,i,o,a){super(n,i),this.round=o,this.txID=a,this.round=o,this.txID=a}path(){return`/v2/blocks/${this.round}/transactions/${this.txID}/proof`}hashType(n){return this.query.hashtype=n,this}}function nv(n={}){let i=n;return Object.keys(i).every(n=>"content-type"!==n.toLowerCase())&&((i={...n})["Content-Type"]="application/x-binary"),i}function nw(n){return n&&void 0!==n.byteLength}class nE extends t7{constructor(n,i){super(n);let o=i;if(Array.isArray(i)){if(!i.every(nw))throw TypeError("Array elements must be byte arrays");o=I(...i)}else if(!nw(o))throw TypeError("Argument must be byte array");this.txnBytesToPost=o}path(){return"/v2/transactions"}async do(n={}){let i=nv(n),o=await this.c.post(this.path(),E.Buffer.from(this.txnBytesToPost),i);return o.body}}class nS extends t7{path(){return"/v2/status"}}class nx extends t7{constructor(n,i,o){if(super(n,i),this.round=o,!Number.isInteger(o))throw Error("round should be an integer");this.round=o}path(){return`/v2/status/wait-for-block-after/${this.round}`}}class n_ extends t7{path(){return"/v2/transactions/params"}prepare(n){return{flatFee:!1,fee:n.fee,firstRound:n["last-round"],lastRound:n["last-round"]+1e3,genesisID:n["genesis-id"],genesisHash:n["genesis-hash"],minFee:n["min-fee"]}}}class nk extends t7{path(){return"/v2/ledger/supply"}}class nA extends t7{path(){return"/versions"}}class nT extends t7{constructor(n,i,o){super(n,i),this.round=o,this.round=o}path(){return`/v2/blocks/${this.round}/lightheader/proof`}}class nC extends t7{constructor(n,i,o){super(n,i),this.round=o,this.round=o}path(){return`/v2/stateproofs/${this.round}`}}class nR extends t7{constructor(n,i,o){super(n,i),this.round=o,this.round=o}path(){return`/v2/ledger/sync/${this.round}`}async do(n={}){let i=await this.c.post(this.path(),n);return i.body}}class nD extends t7{path(){return"/v2/ledger/sync"}prepare(n){return tM.from_obj_for_encoding(n)}}class nO extends t7{constructor(n,i,o){super(n,i),this.offset=o,this.offset=o}path(){return`/v2/devmode/blocks/offset/${this.offset}`}async do(n={}){let i=await this.c.post(this.path(),n);return i.body}}class nI extends t7{path(){return"/v2/devmode/blocks/offset"}prepare(n){return tN.from_obj_for_encoding(n)}}function nN(n={}){let i=n;return Object.keys(i).every(n=>"content-type"!==n.toLowerCase())&&((i={...n})["Content-Type"]="text/plain"),i}class nM extends t7{constructor(n,i){super(n),this.source=i,this.source=i}path(){return"/v2/teal/disassemble"}async do(n={}){let i=nN(n),o=await this.c.post(this.path(),E.Buffer.from(this.source),i,this.query);return o.body}}function nL(n={}){let i=n;return Object.keys(i).every(n=>"content-type"!==n.toLowerCase())&&((i={...n})["Content-Type"]="application/msgpack"),i}class nP extends t7{constructor(n,i){super(n),this.query.format="msgpack",this.requestBytes=ey(i.get_obj_for_encoding(!0))}path(){return"/v2/transactions/simulate"}async do(n={}){let i=nL(n),o=await this.c.post(this.path(),E.Buffer.from(this.requestBytes),i,this.query,!1);return this.prepare(o.body)}prepare(n){let i=ew(n);return tq.from_obj_for_encoding(i)}}class nF extends t7{path(){return"/ready"}}class nB extends t7{path(){return"/v2/ledger/sync"}async do(n={}){let i=await this.c.delete(this.path(),n);return i.body}}class nU extends t7{constructor(n,i,o){super(n,i),this.id=o,this.id=o,this.query={format:"json"}}path(){return`/v2/deltas/txn/group/${this.id}`}}class nz extends t7{constructor(n,i,o){super(n,i),this.round=o,this.round=o,this.query={format:"json"}}path(){return`/v2/deltas/${this.round}`}}class nj extends t7{constructor(n,i,o){super(n,i),this.round=o,this.round=o,this.query={format:"json"}}path(){return`/v2/deltas/${this.round}/txn/group`}prepare(n){return t4.from_obj_for_encoding(n)}}class n$ extends e2{constructor(n,i,o,a={}){super("X-Algo-API-Token",n,i,o,a)}healthCheck(){return new nh(this.c)}versionsCheck(){return new nA(this.c)}sendRawTransaction(n){return new nE(this.c,n)}accountInformation(n){return new ne(this.c,this.intDecoding,n)}accountAssetInformation(n,i){return new nt(this.c,this.intDecoding,n,i)}accountApplicationInformation(n,i){return new nn(this.c,this.intDecoding,n,i)}block(n){return new nr(this.c,n)}getBlockHash(n){return new nc(this.c,this.intDecoding,n)}getBlockTxids(n){return new nd(this.c,this.intDecoding,n)}pendingTransactionInformation(n){return new nm(this.c,n)}pendingTransactionsInformation(){return new ng(this.c)}pendingTransactionByAddress(n){return new nb(this.c,n)}status(){return new nS(this.c,this.intDecoding)}statusAfterBlock(n){return new nx(this.c,this.intDecoding,n)}getTransactionParams(){return new n_(this.c)}supply(){return new nk(this.c,this.intDecoding)}compile(n){return new no(this.c,n)}disassemble(n){return new nM(this.c,n)}dryrun(n){return new na(this.c,n)}getAssetByID(n){return new nl(this.c,this.intDecoding,n)}getApplicationByID(n){return new nu(this.c,this.intDecoding,n)}getApplicationBoxByName(n,i){return new np(this.c,this.intDecoding,n,i)}getApplicationBoxes(n){return new nf(this.c,this.intDecoding,n)}genesis(){return new ns(this.c,this.intDecoding)}getTransactionProof(n,i){return new ny(this.c,this.intDecoding,n,i)}getLightBlockHeaderProof(n){return new nT(this.c,this.intDecoding,n)}getStateProof(n){return new nC(this.c,this.intDecoding,n)}simulateRawTransactions(n){let i=[];if(Array.isArray(n))for(let o of n)i.push(ew(o));else i.push(ew(n));let a=new tV({txnGroups:[new tG({txns:i})]});return this.simulateTransactions(a)}simulateTransactions(n){return new nP(this.c,n)}setBlockOffsetTimestamp(n){return new nO(this.c,this.intDecoding,n)}getBlockOffsetTimestamp(){return new nI(this.c,this.intDecoding)}setSyncRound(n){return new nR(this.c,this.intDecoding,n)}unsetSyncRound(){return new nB(this.c,this.intDecoding)}getSyncRound(){return new nD(this.c,this.intDecoding)}ready(){return new nF(this.c,this.intDecoding)}getLedgerStateDeltaForTransactionGroup(n){return new nU(this.c,this.intDecoding,n)}getLedgerStateDelta(n){return new nz(this.c,this.intDecoding,n)}getTransactionGroupLedgerStateDeltasForRound(n){return new nj(this.c,this.intDecoding,n)}}class nH extends e2{constructor(n,i="http://127.0.0.1",o=7833,a={}){super("X-KMD-API-Token",n,i,o,a)}async versions(){let n=await this.c.get("/versions");return n.body}async listWallets(){let n=await this.c.get("/v1/wallets");return n.body}async createWallet(n,i,o=new Uint8Array,a="sqlite"){let s={wallet_name:n,wallet_driver_name:a,wallet_password:i,master_derivation_key:E.Buffer.from(o).toString("base64")},l=await this.c.post("/v1/wallet",s);return l.body}async initWalletHandle(n,i){let o={wallet_id:n,wallet_password:i},a=await this.c.post("/v1/wallet/init",o);return a.body}async releaseWalletHandle(n){let i={wallet_handle_token:n},o=await this.c.post("/v1/wallet/release",i);return o.body}async renewWalletHandle(n){let i={wallet_handle_token:n},o=await this.c.post("/v1/wallet/renew",i);return o.body}async renameWallet(n,i,o){let a={wallet_id:n,wallet_password:i,wallet_name:o},s=await this.c.post("/v1/wallet/rename",a);return s.body}async getWallet(n){let i={wallet_handle_token:n},o=await this.c.post("/v1/wallet/info",i);return o.body}async exportMasterDerivationKey(n,i){let o={wallet_handle_token:n,wallet_password:i},a=await this.c.post("/v1/master-key/export",o);return{master_derivation_key:E.Buffer.from(a.body.master_derivation_key,"base64")}}async importKey(n,i){let o={wallet_handle_token:n,private_key:E.Buffer.from(i).toString("base64")},a=await this.c.post("/v1/key/import",o);return a.body}async exportKey(n,i,o){let a={wallet_handle_token:n,address:o,wallet_password:i},s=await this.c.post("/v1/key/export",a);return{private_key:E.Buffer.from(s.body.private_key,"base64")}}async generateKey(n){let i={wallet_handle_token:n,display_mnemonic:!1},o=await this.c.post("/v1/key",i);return o.body}async deleteKey(n,i,o){let a={wallet_handle_token:n,address:o,wallet_password:i},s=await this.c.delete("/v1/key",a);return s.body}async listKeys(n){let i={wallet_handle_token:n},o=await this.c.post("/v1/key/list",i);return o.body}async signTransaction(n,i,o){let a=e$(o),s={wallet_handle_token:n,wallet_password:i,transaction:E.Buffer.from(a.toByte()).toString("base64")},l=await this.c.post("/v1/transaction/sign",s);return 200===l.status?E.Buffer.from(l.body.signed_transaction,"base64"):l.body}async signTransactionWithSpecificPublicKey(n,i,o,a){let s=e$(o),l={wallet_handle_token:n,wallet_password:i,transaction:E.Buffer.from(s.toByte()).toString("base64"),public_key:E.Buffer.from(a).toString("base64")},u=await this.c.post("/v1/transaction/sign",l);return 200===u.status?E.Buffer.from(u.body.signed_transaction,"base64"):u.body}async listMultisig(n){let i={wallet_handle_token:n},o=await this.c.post("/v1/multisig/list",i);return o.body}async importMultisig(n,i,o,a){let s={wallet_handle_token:n,multisig_version:i,threshold:o,pks:a},l=await this.c.post("/v1/multisig/import",s);return l.body}async exportMultisig(n,i){let o={wallet_handle_token:n,address:i},a=await this.c.post("/v1/multisig/export",o);return a.body}async signMultisigTransaction(n,i,o,a,s){let l=e$(o),u={wallet_handle_token:n,transaction:E.Buffer.from(l.toByte()).toString("base64"),public_key:E.Buffer.from(a).toString("base64"),partial_multisig:s,wallet_password:i},c=await this.c.post("/v1/multisig/sign",u);return c.body}async deleteMultisig(n,i,o){let a={wallet_handle_token:n,address:o,wallet_password:i},s=await this.c.delete("/v1/multisig",a);return s.body}}class nV extends t7{path(){return"/health"}}class nG extends t7{constructor(n,i,o){super(n,i),this.index=o,this.index=o}path(){return`/v2/assets/${this.index}/balances`}limit(n){return this.query.limit=n,this}currencyGreaterThan(n){return this.query["currency-greater-than"]=n.toString(),this}currencyLessThan(n){return this.query["currency-less-than"]=n,this}nextToken(n){return this.query.next=n,this}includeAll(n=!0){return this.query["include-all"]=n,this}}function nq(n){return"string"==typeof n?n:E.Buffer.from(n).toString("base64")}class nW extends t7{constructor(n,i,o){super(n,i),this.account=o,this.account=o}path(){return`/v2/accounts/${this.account}/transactions`}notePrefix(n){return this.query["note-prefix"]=nq(n),this}txType(n){return this.query["tx-type"]=n,this}sigType(n){return this.query["sig-type"]=n,this}txid(n){return this.query.txid=n,this}round(n){return this.query.round=n,this}minRound(n){return this.query["min-round"]=n,this}maxRound(n){return this.query["max-round"]=n,this}assetID(n){return this.query["asset-id"]=n,this}limit(n){return this.query.limit=n,this}beforeTime(n){return this.query["before-time"]=n,this}afterTime(n){return this.query["after-time"]=n,this}currencyGreaterThan(n){return this.query["currency-greater-than"]=n.toString(),this}currencyLessThan(n){return this.query["currency-less-than"]=n,this}nextToken(n){return this.query.next=n,this}rekeyTo(n){return this.query["rekey-to"]=n,this}}class nK extends t7{constructor(n,i,o){super(n,i),this.index=o,this.index=o}path(){return`/v2/assets/${this.index}/transactions`}notePrefix(n){return this.query["note-prefix"]=nq(n),this}txType(n){return this.query["tx-type"]=n,this}sigType(n){return this.query["sig-type"]=n,this}txid(n){return this.query.txid=n,this}round(n){return this.query.round=n,this}minRound(n){return this.query["min-round"]=n,this}maxRound(n){return this.query["max-round"]=n,this}limit(n){return this.query.limit=n,this}beforeTime(n){return this.query["before-time"]=n,this}afterTime(n){return this.query["after-time"]=n,this}currencyGreaterThan(n){return this.query["currency-greater-than"]=n.toString(),this}currencyLessThan(n){return this.query["currency-less-than"]=n,this}addressRole(n){return this.query["address-role"]=n,this}address(n){return this.query.address=n,this}excludeCloseTo(n){return this.query["exclude-close-to"]=n,this}nextToken(n){return this.query.next=n,this}rekeyTo(n){return this.query["rekey-to"]=n,this}}class nY extends t7{constructor(n,i,o){super(n,i),this.round=o,this.round=o}path(){return`/v2/blocks/${this.round}`}headerOnly(n){return this.query["header-only"]=n,this}}class nZ extends t7{constructor(n,i,o){super(n,i),this.txID=o,this.txID=o}path(){return`/v2/transactions/${this.txID}`}}class nX extends t7{constructor(n,i,o){super(n,i),this.account=o,this.account=o}path(){return`/v2/accounts/${this.account}`}round(n){return this.query.round=n,this}includeAll(n=!0){return this.query["include-all"]=n,this}exclude(n){return this.query.exclude=n,this}}class nJ extends t7{constructor(n,i,o){super(n,i),this.account=o,this.account=o}path(){return`/v2/accounts/${this.account}/assets`}limit(n){return this.query.limit=n,this}round(n){return this.query.round=n,this}nextToken(n){return this.query.next=n,this}includeAll(n=!0){return this.query["include-all"]=n,this}assetId(n){return this.query["asset-id"]=n,this}}class nQ extends t7{constructor(n,i,o){super(n,i),this.account=o,this.account=o}path(){return`/v2/accounts/${this.account}/created-assets`}limit(n){return this.query.limit=n,this}round(n){return this.query.round=n,this}nextToken(n){return this.query.next=n,this}includeAll(n=!0){return this.query["include-all"]=n,this}assetID(n){return this.query["asset-id"]=n,this}}class n0 extends t7{constructor(n,i,o){super(n,i),this.account=o,this.account=o}path(){return`/v2/accounts/${this.account}/apps-local-state`}limit(n){return this.query.limit=n,this}round(n){return this.query.round=n,this}nextToken(n){return this.query.next=n,this}includeAll(n=!0){return this.query["include-all"]=n,this}applicationID(n){return this.query["application-id"]=n,this}}class n1 extends t7{constructor(n,i,o){super(n,i),this.account=o,this.account=o}path(){return`/v2/accounts/${this.account}/created-applications`}limit(n){return this.query.limit=n,this}round(n){return this.query.round=n,this}nextToken(n){return this.query.next=n,this}includeAll(n=!0){return this.query["include-all"]=n,this}applicationID(n){return this.query["application-id"]=n,this}}class n2 extends t7{constructor(n,i,o){super(n,i),this.index=o,this.index=o}path(){return`/v2/assets/${this.index}`}includeAll(n=!0){return this.query["include-all"]=n,this}}class n3 extends t7{constructor(n,i,o){super(n,i),this.index=o,this.index=o}path(){return`/v2/applications/${this.index}`}includeAll(n=!0){return this.query["include-all"]=n,this}}class n5 extends t7{constructor(n,i,o){super(n,i),this.appID=o,this.appID=o}path(){return`/v2/applications/${this.appID}/logs`}limit(n){return this.query.limit=n,this}minRound(n){return this.query["min-round"]=n,this}maxRound(n){return this.query["max-round"]=n,this}nextToken(n){return this.query.next=n,this}sender(n){return this.query["sender-address"]=n,this}txid(n){return this.query.txid=n,this}}class n4 extends e4{constructor({address:n,amount:i,amountWithoutPendingRewards:o,pendingRewards:a,rewards:s,round:l,status:u,totalAppsOptedIn:c,totalAssetsOptedIn:d,totalBoxBytes:p,totalBoxes:f,totalCreatedApps:h,totalCreatedAssets:m,appsLocalState:g,appsTotalExtraPages:b,appsTotalSchema:y,assets:v,authAddr:w,closedAtRound:E,createdApps:S,createdAssets:x,createdAtRound:_,deleted:k,participation:A,rewardBase:T,sigType:C}){super(),this.address=n,this.amount=i,this.amountWithoutPendingRewards=o,this.pendingRewards=a,this.rewards=s,this.round=l,this.status=u,this.totalAppsOptedIn=c,this.totalAssetsOptedIn=d,this.totalBoxBytes=p,this.totalBoxes=f,this.totalCreatedApps=h,this.totalCreatedAssets=m,this.appsLocalState=g,this.appsTotalExtraPages=b,this.appsTotalSchema=y,this.assets=v,this.authAddr=w,this.closedAtRound=E,this.createdApps=S,this.createdAssets=x,this.createdAtRound=_,this.deleted=k,this.participation=A,this.rewardBase=T,this.sigType=C,this.attribute_map={address:"address",amount:"amount",amountWithoutPendingRewards:"amount-without-pending-rewards",pendingRewards:"pending-rewards",rewards:"rewards",round:"round",status:"status",totalAppsOptedIn:"total-apps-opted-in",totalAssetsOptedIn:"total-assets-opted-in",totalBoxBytes:"total-box-bytes",totalBoxes:"total-boxes",totalCreatedApps:"total-created-apps",totalCreatedAssets:"total-created-assets",appsLocalState:"apps-local-state",appsTotalExtraPages:"apps-total-extra-pages",appsTotalSchema:"apps-total-schema",assets:"assets",authAddr:"auth-addr",closedAtRound:"closed-at-round",createdApps:"created-apps",createdAssets:"created-assets",createdAtRound:"created-at-round",deleted:"deleted",participation:"participation",rewardBase:"reward-base",sigType:"sig-type"}}static from_obj_for_encoding(n){if(void 0===n.address)throw Error(`Response is missing required field 'address': ${n}`);if(void 0===n.amount)throw Error(`Response is missing required field 'amount': ${n}`);if(void 0===n["amount-without-pending-rewards"])throw Error(`Response is missing required field 'amount-without-pending-rewards': ${n}`);if(void 0===n["pending-rewards"])throw Error(`Response is missing required field 'pending-rewards': ${n}`);if(void 0===n.rewards)throw Error(`Response is missing required field 'rewards': ${n}`);if(void 0===n.round)throw Error(`Response is missing required field 'round': ${n}`);if(void 0===n.status)throw Error(`Response is missing required field 'status': ${n}`);if(void 0===n["total-apps-opted-in"])throw Error(`Response is missing required field 'total-apps-opted-in': ${n}`);if(void 0===n["total-assets-opted-in"])throw Error(`Response is missing required field 'total-assets-opted-in': ${n}`);if(void 0===n["total-box-bytes"])throw Error(`Response is missing required field 'total-box-bytes': ${n}`);if(void 0===n["total-boxes"])throw Error(`Response is missing required field 'total-boxes': ${n}`);if(void 0===n["total-created-apps"])throw Error(`Response is missing required field 'total-created-apps': ${n}`);if(void 0===n["total-created-assets"])throw Error(`Response is missing required field 'total-created-assets': ${n}`);return new n4({address:n.address,amount:n.amount,amountWithoutPendingRewards:n["amount-without-pending-rewards"],pendingRewards:n["pending-rewards"],rewards:n.rewards,round:n.round,status:n.status,totalAppsOptedIn:n["total-apps-opted-in"],totalAssetsOptedIn:n["total-assets-opted-in"],totalBoxBytes:n["total-box-bytes"],totalBoxes:n["total-boxes"],totalCreatedApps:n["total-created-apps"],totalCreatedAssets:n["total-created-assets"],appsLocalState:void 0!==n["apps-local-state"]?n["apps-local-state"].map(rt.from_obj_for_encoding):void 0,appsTotalExtraPages:n["apps-total-extra-pages"],appsTotalSchema:void 0!==n["apps-total-schema"]?rs.from_obj_for_encoding(n["apps-total-schema"]):void 0,assets:void 0!==n.assets?n.assets.map(rd.from_obj_for_encoding):void 0,authAddr:n["auth-addr"],closedAtRound:n["closed-at-round"],createdApps:void 0!==n["created-apps"]?n["created-apps"].map(re.from_obj_for_encoding):void 0,createdAssets:void 0!==n["created-assets"]?n["created-assets"].map(ru.from_obj_for_encoding):void 0,createdAtRound:n["created-at-round"],deleted:n.deleted,participation:void 0!==n.participation?n6.from_obj_for_encoding(n.participation):void 0,rewardBase:n["reward-base"],sigType:n["sig-type"]})}}class n6 extends e4{constructor({selectionParticipationKey:n,voteFirstValid:i,voteKeyDilution:o,voteLastValid:a,voteParticipationKey:s,stateProofKey:l}){super(),this.selectionParticipationKey="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.voteFirstValid=i,this.voteKeyDilution=o,this.voteLastValid=a,this.voteParticipationKey="string"==typeof s?new Uint8Array(E.Buffer.from(s,"base64")):s,this.stateProofKey="string"==typeof l?new Uint8Array(E.Buffer.from(l,"base64")):l,this.attribute_map={selectionParticipationKey:"selection-participation-key",voteFirstValid:"vote-first-valid",voteKeyDilution:"vote-key-dilution",voteLastValid:"vote-last-valid",voteParticipationKey:"vote-participation-key",stateProofKey:"state-proof-key"}}static from_obj_for_encoding(n){if(void 0===n["selection-participation-key"])throw Error(`Response is missing required field 'selection-participation-key': ${n}`);if(void 0===n["vote-first-valid"])throw Error(`Response is missing required field 'vote-first-valid': ${n}`);if(void 0===n["vote-key-dilution"])throw Error(`Response is missing required field 'vote-key-dilution': ${n}`);if(void 0===n["vote-last-valid"])throw Error(`Response is missing required field 'vote-last-valid': ${n}`);if(void 0===n["vote-participation-key"])throw Error(`Response is missing required field 'vote-participation-key': ${n}`);return new n6({selectionParticipationKey:n["selection-participation-key"],voteFirstValid:n["vote-first-valid"],voteKeyDilution:n["vote-key-dilution"],voteLastValid:n["vote-last-valid"],voteParticipationKey:n["vote-participation-key"],stateProofKey:n["state-proof-key"]})}}class n8 extends e4{constructor({account:n,currentRound:i}){super(),this.account=n,this.currentRound=i,this.attribute_map={account:"account",currentRound:"current-round"}}static from_obj_for_encoding(n){if(void 0===n.account)throw Error(`Response is missing required field 'account': ${n}`);if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);return new n8({account:n4.from_obj_for_encoding(n.account),currentRound:n["current-round"]})}}class n9 extends e4{constructor({address:n,delta:i}){super(),this.address=n,this.delta=i,this.attribute_map={address:"address",delta:"delta"}}static from_obj_for_encoding(n){if(void 0===n.address)throw Error(`Response is missing required field 'address': ${n}`);if(!Array.isArray(n.delta))throw Error(`Response is missing required array field 'delta': ${n}`);return new n9({address:n.address,delta:n.delta.map(rk.from_obj_for_encoding)})}}class n7 extends e4{constructor({accounts:n,currentRound:i,nextToken:o}){super(),this.accounts=n,this.currentRound=i,this.nextToken=o,this.attribute_map={accounts:"accounts",currentRound:"current-round",nextToken:"next-token"}}static from_obj_for_encoding(n){if(!Array.isArray(n.accounts))throw Error(`Response is missing required array field 'accounts': ${n}`);if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);return new n7({accounts:n.accounts.map(n4.from_obj_for_encoding),currentRound:n["current-round"],nextToken:n["next-token"]})}}class re extends e4{constructor({id:n,params:i,createdAtRound:o,deleted:a,deletedAtRound:s}){super(),this.id=n,this.params=i,this.createdAtRound=o,this.deleted=a,this.deletedAtRound=s,this.attribute_map={id:"id",params:"params",createdAtRound:"created-at-round",deleted:"deleted",deletedAtRound:"deleted-at-round"}}static from_obj_for_encoding(n){if(void 0===n.id)throw Error(`Response is missing required field 'id': ${n}`);if(void 0===n.params)throw Error(`Response is missing required field 'params': ${n}`);return new re({id:n.id,params:ro.from_obj_for_encoding(n.params),createdAtRound:n["created-at-round"],deleted:n.deleted,deletedAtRound:n["deleted-at-round"]})}}class rt extends e4{constructor({id:n,schema:i,closedOutAtRound:o,deleted:a,keyValue:s,optedInAtRound:l}){super(),this.id=n,this.schema=i,this.closedOutAtRound=o,this.deleted=a,this.keyValue=s,this.optedInAtRound=l,this.attribute_map={id:"id",schema:"schema",closedOutAtRound:"closed-out-at-round",deleted:"deleted",keyValue:"key-value",optedInAtRound:"opted-in-at-round"}}static from_obj_for_encoding(n){if(void 0===n.id)throw Error(`Response is missing required field 'id': ${n}`);if(void 0===n.schema)throw Error(`Response is missing required field 'schema': ${n}`);return new rt({id:n.id,schema:rs.from_obj_for_encoding(n.schema),closedOutAtRound:n["closed-out-at-round"],deleted:n.deleted,keyValue:void 0!==n["key-value"]?n["key-value"].map(rz.from_obj_for_encoding):void 0,optedInAtRound:n["opted-in-at-round"]})}}class rn extends e4{constructor({appsLocalStates:n,currentRound:i,nextToken:o}){super(),this.appsLocalStates=n,this.currentRound=i,this.nextToken=o,this.attribute_map={appsLocalStates:"apps-local-states",currentRound:"current-round",nextToken:"next-token"}}static from_obj_for_encoding(n){if(!Array.isArray(n["apps-local-states"]))throw Error(`Response is missing required array field 'apps-local-states': ${n}`);if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);return new rn({appsLocalStates:n["apps-local-states"].map(rt.from_obj_for_encoding),currentRound:n["current-round"],nextToken:n["next-token"]})}}class rr extends e4{constructor({logs:n,txid:i}){super(),this.logs=n,this.txid=i,this.attribute_map={logs:"logs",txid:"txid"}}static from_obj_for_encoding(n){if(!Array.isArray(n.logs))throw Error(`Response is missing required array field 'logs': ${n}`);if(void 0===n.txid)throw Error(`Response is missing required field 'txid': ${n}`);return new rr({logs:n.logs,txid:n.txid})}}class ri extends e4{constructor({applicationId:n,currentRound:i,logData:o,nextToken:a}){super(),this.applicationId=n,this.currentRound=i,this.logData=o,this.nextToken=a,this.attribute_map={applicationId:"application-id",currentRound:"current-round",logData:"log-data",nextToken:"next-token"}}static from_obj_for_encoding(n){if(void 0===n["application-id"])throw Error(`Response is missing required field 'application-id': ${n}`);if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);return new ri({applicationId:n["application-id"],currentRound:n["current-round"],logData:void 0!==n["log-data"]?n["log-data"].map(rr.from_obj_for_encoding):void 0,nextToken:n["next-token"]})}}class ro extends e4{constructor({approvalProgram:n,clearStateProgram:i,creator:o,extraProgramPages:a,globalState:s,globalStateSchema:l,localStateSchema:u}){super(),this.approvalProgram="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.clearStateProgram="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.creator=o,this.extraProgramPages=a,this.globalState=s,this.globalStateSchema=l,this.localStateSchema=u,this.attribute_map={approvalProgram:"approval-program",clearStateProgram:"clear-state-program",creator:"creator",extraProgramPages:"extra-program-pages",globalState:"global-state",globalStateSchema:"global-state-schema",localStateSchema:"local-state-schema"}}static from_obj_for_encoding(n){if(void 0===n["approval-program"])throw Error(`Response is missing required field 'approval-program': ${n}`);if(void 0===n["clear-state-program"])throw Error(`Response is missing required field 'clear-state-program': ${n}`);return new ro({approvalProgram:n["approval-program"],clearStateProgram:n["clear-state-program"],creator:n.creator,extraProgramPages:n["extra-program-pages"],globalState:void 0!==n["global-state"]?n["global-state"].map(rz.from_obj_for_encoding):void 0,globalStateSchema:void 0!==n["global-state-schema"]?rs.from_obj_for_encoding(n["global-state-schema"]):void 0,localStateSchema:void 0!==n["local-state-schema"]?rs.from_obj_for_encoding(n["local-state-schema"]):void 0})}}class ra extends e4{constructor({currentRound:n,application:i}){super(),this.currentRound=n,this.application=i,this.attribute_map={currentRound:"current-round",application:"application"}}static from_obj_for_encoding(n){if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);return new ra({currentRound:n["current-round"],application:void 0!==n.application?re.from_obj_for_encoding(n.application):void 0})}}class rs extends e4{constructor({numByteSlice:n,numUint:i}){super(),this.numByteSlice=n,this.numUint=i,this.attribute_map={numByteSlice:"num-byte-slice",numUint:"num-uint"}}static from_obj_for_encoding(n){if(void 0===n["num-byte-slice"])throw Error(`Response is missing required field 'num-byte-slice': ${n}`);if(void 0===n["num-uint"])throw Error(`Response is missing required field 'num-uint': ${n}`);return new rs({numByteSlice:n["num-byte-slice"],numUint:n["num-uint"]})}}class rl extends e4{constructor({applications:n,currentRound:i,nextToken:o}){super(),this.applications=n,this.currentRound=i,this.nextToken=o,this.attribute_map={applications:"applications",currentRound:"current-round",nextToken:"next-token"}}static from_obj_for_encoding(n){if(!Array.isArray(n.applications))throw Error(`Response is missing required array field 'applications': ${n}`);if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);return new rl({applications:n.applications.map(re.from_obj_for_encoding),currentRound:n["current-round"],nextToken:n["next-token"]})}}class ru extends e4{constructor({index:n,params:i,createdAtRound:o,deleted:a,destroyedAtRound:s}){super(),this.index=n,this.params=i,this.createdAtRound=o,this.deleted=a,this.destroyedAtRound=s,this.attribute_map={index:"index",params:"params",createdAtRound:"created-at-round",deleted:"deleted",destroyedAtRound:"destroyed-at-round"}}static from_obj_for_encoding(n){if(void 0===n.index)throw Error(`Response is missing required field 'index': ${n}`);if(void 0===n.params)throw Error(`Response is missing required field 'params': ${n}`);return new ru({index:n.index,params:rf.from_obj_for_encoding(n.params),createdAtRound:n["created-at-round"],deleted:n.deleted,destroyedAtRound:n["destroyed-at-round"]})}}class rc extends e4{constructor({balances:n,currentRound:i,nextToken:o}){super(),this.balances=n,this.currentRound=i,this.nextToken=o,this.attribute_map={balances:"balances",currentRound:"current-round",nextToken:"next-token"}}static from_obj_for_encoding(n){if(!Array.isArray(n.balances))throw Error(`Response is missing required array field 'balances': ${n}`);if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);return new rc({balances:n.balances.map(rD.from_obj_for_encoding),currentRound:n["current-round"],nextToken:n["next-token"]})}}class rd extends e4{constructor({amount:n,assetId:i,isFrozen:o,deleted:a,optedInAtRound:s,optedOutAtRound:l}){super(),this.amount=n,this.assetId=i,this.isFrozen=o,this.deleted=a,this.optedInAtRound=s,this.optedOutAtRound=l,this.attribute_map={amount:"amount",assetId:"asset-id",isFrozen:"is-frozen",deleted:"deleted",optedInAtRound:"opted-in-at-round",optedOutAtRound:"opted-out-at-round"}}static from_obj_for_encoding(n){if(void 0===n.amount)throw Error(`Response is missing required field 'amount': ${n}`);if(void 0===n["asset-id"])throw Error(`Response is missing required field 'asset-id': ${n}`);if(void 0===n["is-frozen"])throw Error(`Response is missing required field 'is-frozen': ${n}`);return new rd({amount:n.amount,assetId:n["asset-id"],isFrozen:n["is-frozen"],deleted:n.deleted,optedInAtRound:n["opted-in-at-round"],optedOutAtRound:n["opted-out-at-round"]})}}class rp extends e4{constructor({assets:n,currentRound:i,nextToken:o}){super(),this.assets=n,this.currentRound=i,this.nextToken=o,this.attribute_map={assets:"assets",currentRound:"current-round",nextToken:"next-token"}}static from_obj_for_encoding(n){if(!Array.isArray(n.assets))throw Error(`Response is missing required array field 'assets': ${n}`);if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);return new rp({assets:n.assets.map(rd.from_obj_for_encoding),currentRound:n["current-round"],nextToken:n["next-token"]})}}class rf extends e4{constructor({creator:n,decimals:i,total:o,clawback:a,defaultFrozen:s,freeze:l,manager:u,metadataHash:c,name:d,nameB64:p,reserve:f,unitName:h,unitNameB64:m,url:g,urlB64:b}){super(),this.creator=n,this.decimals=i,this.total=o,this.clawback=a,this.defaultFrozen=s,this.freeze=l,this.manager=u,this.metadataHash="string"==typeof c?new Uint8Array(E.Buffer.from(c,"base64")):c,this.name=d,this.nameB64="string"==typeof p?new Uint8Array(E.Buffer.from(p,"base64")):p,this.reserve=f,this.unitName=h,this.unitNameB64="string"==typeof m?new Uint8Array(E.Buffer.from(m,"base64")):m,this.url=g,this.urlB64="string"==typeof b?new Uint8Array(E.Buffer.from(b,"base64")):b,this.attribute_map={creator:"creator",decimals:"decimals",total:"total",clawback:"clawback",defaultFrozen:"default-frozen",freeze:"freeze",manager:"manager",metadataHash:"metadata-hash",name:"name",nameB64:"name-b64",reserve:"reserve",unitName:"unit-name",unitNameB64:"unit-name-b64",url:"url",urlB64:"url-b64"}}static from_obj_for_encoding(n){if(void 0===n.creator)throw Error(`Response is missing required field 'creator': ${n}`);if(void 0===n.decimals)throw Error(`Response is missing required field 'decimals': ${n}`);if(void 0===n.total)throw Error(`Response is missing required field 'total': ${n}`);return new rf({creator:n.creator,decimals:n.decimals,total:n.total,clawback:n.clawback,defaultFrozen:n["default-frozen"],freeze:n.freeze,manager:n.manager,metadataHash:n["metadata-hash"],name:n.name,nameB64:n["name-b64"],reserve:n.reserve,unitName:n["unit-name"],unitNameB64:n["unit-name-b64"],url:n.url,urlB64:n["url-b64"]})}}class rh extends e4{constructor({asset:n,currentRound:i}){super(),this.asset=n,this.currentRound=i,this.attribute_map={asset:"asset",currentRound:"current-round"}}static from_obj_for_encoding(n){if(void 0===n.asset)throw Error(`Response is missing required field 'asset': ${n}`);if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);return new rh({asset:ru.from_obj_for_encoding(n.asset),currentRound:n["current-round"]})}}class rm extends e4{constructor({assets:n,currentRound:i,nextToken:o}){super(),this.assets=n,this.currentRound=i,this.nextToken=o,this.attribute_map={assets:"assets",currentRound:"current-round",nextToken:"next-token"}}static from_obj_for_encoding(n){if(!Array.isArray(n.assets))throw Error(`Response is missing required array field 'assets': ${n}`);if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);return new rm({assets:n.assets.map(ru.from_obj_for_encoding),currentRound:n["current-round"],nextToken:n["next-token"]})}}class rg extends e4{constructor({genesisHash:n,genesisId:i,previousBlockHash:o,round:a,seed:s,timestamp:l,transactionsRoot:u,transactionsRootSha256:c,participationUpdates:d,rewards:p,stateProofTracking:f,transactions:h,txnCounter:m,upgradeState:g,upgradeVote:b}){super(),this.genesisHash="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.genesisId=i,this.previousBlockHash="string"==typeof o?new Uint8Array(E.Buffer.from(o,"base64")):o,this.round=a,this.seed="string"==typeof s?new Uint8Array(E.Buffer.from(s,"base64")):s,this.timestamp=l,this.transactionsRoot="string"==typeof u?new Uint8Array(E.Buffer.from(u,"base64")):u,this.transactionsRootSha256="string"==typeof c?new Uint8Array(E.Buffer.from(c,"base64")):c,this.participationUpdates=d,this.rewards=p,this.stateProofTracking=f,this.transactions=h,this.txnCounter=m,this.upgradeState=g,this.upgradeVote=b,this.attribute_map={genesisHash:"genesis-hash",genesisId:"genesis-id",previousBlockHash:"previous-block-hash",round:"round",seed:"seed",timestamp:"timestamp",transactionsRoot:"transactions-root",transactionsRootSha256:"transactions-root-sha256",participationUpdates:"participation-updates",rewards:"rewards",stateProofTracking:"state-proof-tracking",transactions:"transactions",txnCounter:"txn-counter",upgradeState:"upgrade-state",upgradeVote:"upgrade-vote"}}static from_obj_for_encoding(n){if(void 0===n["genesis-hash"])throw Error(`Response is missing required field 'genesis-hash': ${n}`);if(void 0===n["genesis-id"])throw Error(`Response is missing required field 'genesis-id': ${n}`);if(void 0===n["previous-block-hash"])throw Error(`Response is missing required field 'previous-block-hash': ${n}`);if(void 0===n.round)throw Error(`Response is missing required field 'round': ${n}`);if(void 0===n.seed)throw Error(`Response is missing required field 'seed': ${n}`);if(void 0===n.timestamp)throw Error(`Response is missing required field 'timestamp': ${n}`);if(void 0===n["transactions-root"])throw Error(`Response is missing required field 'transactions-root': ${n}`);if(void 0===n["transactions-root-sha256"])throw Error(`Response is missing required field 'transactions-root-sha256': ${n}`);return new rg({genesisHash:n["genesis-hash"],genesisId:n["genesis-id"],previousBlockHash:n["previous-block-hash"],round:n.round,seed:n.seed,timestamp:n.timestamp,transactionsRoot:n["transactions-root"],transactionsRootSha256:n["transactions-root-sha256"],participationUpdates:void 0!==n["participation-updates"]?rO.from_obj_for_encoding(n["participation-updates"]):void 0,rewards:void 0!==n.rewards?rb.from_obj_for_encoding(n.rewards):void 0,stateProofTracking:void 0!==n["state-proof-tracking"]?n["state-proof-tracking"].map(rF.from_obj_for_encoding):void 0,transactions:void 0!==n.transactions?n.transactions.map(r$.from_obj_for_encoding):void 0,txnCounter:n["txn-counter"],upgradeState:void 0!==n["upgrade-state"]?ry.from_obj_for_encoding(n["upgrade-state"]):void 0,upgradeVote:void 0!==n["upgrade-vote"]?rv.from_obj_for_encoding(n["upgrade-vote"]):void 0})}}class rb extends e4{constructor({feeSink:n,rewardsCalculationRound:i,rewardsLevel:o,rewardsPool:a,rewardsRate:s,rewardsResidue:l}){super(),this.feeSink=n,this.rewardsCalculationRound=i,this.rewardsLevel=o,this.rewardsPool=a,this.rewardsRate=s,this.rewardsResidue=l,this.attribute_map={feeSink:"fee-sink",rewardsCalculationRound:"rewards-calculation-round",rewardsLevel:"rewards-level",rewardsPool:"rewards-pool",rewardsRate:"rewards-rate",rewardsResidue:"rewards-residue"}}static from_obj_for_encoding(n){if(void 0===n["fee-sink"])throw Error(`Response is missing required field 'fee-sink': ${n}`);if(void 0===n["rewards-calculation-round"])throw Error(`Response is missing required field 'rewards-calculation-round': ${n}`);if(void 0===n["rewards-level"])throw Error(`Response is missing required field 'rewards-level': ${n}`);if(void 0===n["rewards-pool"])throw Error(`Response is missing required field 'rewards-pool': ${n}`);if(void 0===n["rewards-rate"])throw Error(`Response is missing required field 'rewards-rate': ${n}`);if(void 0===n["rewards-residue"])throw Error(`Response is missing required field 'rewards-residue': ${n}`);return new rb({feeSink:n["fee-sink"],rewardsCalculationRound:n["rewards-calculation-round"],rewardsLevel:n["rewards-level"],rewardsPool:n["rewards-pool"],rewardsRate:n["rewards-rate"],rewardsResidue:n["rewards-residue"]})}}class ry extends e4{constructor({currentProtocol:n,nextProtocol:i,nextProtocolApprovals:o,nextProtocolSwitchOn:a,nextProtocolVoteBefore:s}){super(),this.currentProtocol=n,this.nextProtocol=i,this.nextProtocolApprovals=o,this.nextProtocolSwitchOn=a,this.nextProtocolVoteBefore=s,this.attribute_map={currentProtocol:"current-protocol",nextProtocol:"next-protocol",nextProtocolApprovals:"next-protocol-approvals",nextProtocolSwitchOn:"next-protocol-switch-on",nextProtocolVoteBefore:"next-protocol-vote-before"}}static from_obj_for_encoding(n){if(void 0===n["current-protocol"])throw Error(`Response is missing required field 'current-protocol': ${n}`);return new ry({currentProtocol:n["current-protocol"],nextProtocol:n["next-protocol"],nextProtocolApprovals:n["next-protocol-approvals"],nextProtocolSwitchOn:n["next-protocol-switch-on"],nextProtocolVoteBefore:n["next-protocol-vote-before"]})}}class rv extends e4{constructor({upgradeApprove:n,upgradeDelay:i,upgradePropose:o}){super(),this.upgradeApprove=n,this.upgradeDelay=i,this.upgradePropose=o,this.attribute_map={upgradeApprove:"upgrade-approve",upgradeDelay:"upgrade-delay",upgradePropose:"upgrade-propose"}}static from_obj_for_encoding(n){return new rv({upgradeApprove:n["upgrade-approve"],upgradeDelay:n["upgrade-delay"],upgradePropose:n["upgrade-propose"]})}}class rw extends e4{constructor({name:n,value:i}){super(),this.name="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.value="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.attribute_map={name:"name",value:"value"}}static from_obj_for_encoding(n){if(void 0===n.name)throw Error(`Response is missing required field 'name': ${n}`);if(void 0===n.value)throw Error(`Response is missing required field 'value': ${n}`);return new rw({name:n.name,value:n.value})}}class rE extends e4{constructor({name:n}){super(),this.name="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.attribute_map={name:"name"}}static from_obj_for_encoding(n){if(void 0===n.name)throw Error(`Response is missing required field 'name': ${n}`);return new rE({name:n.name})}}class rS extends e4{constructor({applicationId:n,boxes:i,nextToken:o}){super(),this.applicationId=n,this.boxes=i,this.nextToken=o,this.attribute_map={applicationId:"application-id",boxes:"boxes",nextToken:"next-token"}}static from_obj_for_encoding(n){if(void 0===n["application-id"])throw Error(`Response is missing required field 'application-id': ${n}`);if(!Array.isArray(n.boxes))throw Error(`Response is missing required array field 'boxes': ${n}`);return new rS({applicationId:n["application-id"],boxes:n.boxes.map(rE.from_obj_for_encoding),nextToken:n["next-token"]})}}class rx extends e4{constructor({message:n,data:i}){super(),this.message=n,this.data=i,this.attribute_map={message:"message",data:"data"}}static from_obj_for_encoding(n){if(void 0===n.message)throw Error(`Response is missing required field 'message': ${n}`);return new rx({message:n.message,data:n.data})}}class r_ extends e4{constructor({action:n,bytes:i,uint:o}){super(),this.action=n,this.bytes=i,this.uint=o,this.attribute_map={action:"action",bytes:"bytes",uint:"uint"}}static from_obj_for_encoding(n){if(void 0===n.action)throw Error(`Response is missing required field 'action': ${n}`);return new r_({action:n.action,bytes:n.bytes,uint:n.uint})}}class rk extends e4{constructor({key:n,value:i}){super(),this.key=n,this.value=i,this.attribute_map={key:"key",value:"value"}}static from_obj_for_encoding(n){if(void 0===n.key)throw Error(`Response is missing required field 'key': ${n}`);if(void 0===n.value)throw Error(`Response is missing required field 'value': ${n}`);return new rk({key:n.key,value:r_.from_obj_for_encoding(n.value)})}}class rA extends e4{constructor({hashType:n}){super(),this.hashType=n,this.attribute_map={hashType:"hash-type"}}static from_obj_for_encoding(n){return new rA({hashType:n["hash-type"]})}}class rT extends e4{constructor({dbAvailable:n,isMigrating:i,message:o,round:a,version:s,data:l,errors:u}){super(),this.dbAvailable=n,this.isMigrating=i,this.message=o,this.round=a,this.version=s,this.data=l,this.errors=u,this.attribute_map={dbAvailable:"db-available",isMigrating:"is-migrating",message:"message",round:"round",version:"version",data:"data",errors:"errors"}}static from_obj_for_encoding(n){if(void 0===n["db-available"])throw Error(`Response is missing required field 'db-available': ${n}`);if(void 0===n["is-migrating"])throw Error(`Response is missing required field 'is-migrating': ${n}`);if(void 0===n.message)throw Error(`Response is missing required field 'message': ${n}`);if(void 0===n.round)throw Error(`Response is missing required field 'round': ${n}`);if(void 0===n.version)throw Error(`Response is missing required field 'version': ${n}`);return new rT({dbAvailable:n["db-available"],isMigrating:n["is-migrating"],message:n.message,round:n.round,version:n.version,data:n.data,errors:n.errors})}}class rC extends e4{constructor({blockHeadersCommitment:n,firstAttestedRound:i,latestAttestedRound:o,lnProvenWeight:a,votersCommitment:s}){super(),this.blockHeadersCommitment="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.firstAttestedRound=i,this.latestAttestedRound=o,this.lnProvenWeight=a,this.votersCommitment="string"==typeof s?new Uint8Array(E.Buffer.from(s,"base64")):s,this.attribute_map={blockHeadersCommitment:"block-headers-commitment",firstAttestedRound:"first-attested-round",latestAttestedRound:"latest-attested-round",lnProvenWeight:"ln-proven-weight",votersCommitment:"voters-commitment"}}static from_obj_for_encoding(n){return new rC({blockHeadersCommitment:n["block-headers-commitment"],firstAttestedRound:n["first-attested-round"],latestAttestedRound:n["latest-attested-round"],lnProvenWeight:n["ln-proven-weight"],votersCommitment:n["voters-commitment"]})}}class rR extends e4{constructor({hashFactory:n,path:i,treeDepth:o}){super(),this.hashFactory=n,this.path=i,this.treeDepth=o,this.attribute_map={hashFactory:"hash-factory",path:"path",treeDepth:"tree-depth"}}static from_obj_for_encoding(n){return new rR({hashFactory:void 0!==n["hash-factory"]?rA.from_obj_for_encoding(n["hash-factory"]):void 0,path:n.path,treeDepth:n["tree-depth"]})}}class rD extends e4{constructor({address:n,amount:i,isFrozen:o,deleted:a,optedInAtRound:s,optedOutAtRound:l}){super(),this.address=n,this.amount=i,this.isFrozen=o,this.deleted=a,this.optedInAtRound=s,this.optedOutAtRound=l,this.attribute_map={address:"address",amount:"amount",isFrozen:"is-frozen",deleted:"deleted",optedInAtRound:"opted-in-at-round",optedOutAtRound:"opted-out-at-round"}}static from_obj_for_encoding(n){if(void 0===n.address)throw Error(`Response is missing required field 'address': ${n}`);if(void 0===n.amount)throw Error(`Response is missing required field 'amount': ${n}`);if(void 0===n["is-frozen"])throw Error(`Response is missing required field 'is-frozen': ${n}`);return new rD({address:n.address,amount:n.amount,isFrozen:n["is-frozen"],deleted:n.deleted,optedInAtRound:n["opted-in-at-round"],optedOutAtRound:n["opted-out-at-round"]})}}class rO extends e4{constructor({expiredParticipationAccounts:n}){super(),this.expiredParticipationAccounts=n,this.attribute_map={expiredParticipationAccounts:"expired-participation-accounts"}}static from_obj_for_encoding(n){return new rO({expiredParticipationAccounts:n["expired-participation-accounts"]})}}class rI extends e4{constructor({partProofs:n,positionsToReveal:i,reveals:o,saltVersion:a,sigCommit:s,sigProofs:l,signedWeight:u}){super(),this.partProofs=n,this.positionsToReveal=i,this.reveals=o,this.saltVersion=a,this.sigCommit="string"==typeof s?new Uint8Array(E.Buffer.from(s,"base64")):s,this.sigProofs=l,this.signedWeight=u,this.attribute_map={partProofs:"part-proofs",positionsToReveal:"positions-to-reveal",reveals:"reveals",saltVersion:"salt-version",sigCommit:"sig-commit",sigProofs:"sig-proofs",signedWeight:"signed-weight"}}static from_obj_for_encoding(n){return new rI({partProofs:void 0!==n["part-proofs"]?rR.from_obj_for_encoding(n["part-proofs"]):void 0,positionsToReveal:n["positions-to-reveal"],reveals:void 0!==n.reveals?n.reveals.map(rM.from_obj_for_encoding):void 0,saltVersion:n["salt-version"],sigCommit:n["sig-commit"],sigProofs:void 0!==n["sig-proofs"]?rR.from_obj_for_encoding(n["sig-proofs"]):void 0,signedWeight:n["signed-weight"]})}}class rN extends e4{constructor({verifier:n,weight:i}){super(),this.verifier=n,this.weight=i,this.attribute_map={verifier:"verifier",weight:"weight"}}static from_obj_for_encoding(n){return new rN({verifier:void 0!==n.verifier?rB.from_obj_for_encoding(n.verifier):void 0,weight:n.weight})}}class rM extends e4{constructor({participant:n,position:i,sigSlot:o}){super(),this.participant=n,this.position=i,this.sigSlot=o,this.attribute_map={participant:"participant",position:"position",sigSlot:"sig-slot"}}static from_obj_for_encoding(n){return new rM({participant:void 0!==n.participant?rN.from_obj_for_encoding(n.participant):void 0,position:n.position,sigSlot:void 0!==n["sig-slot"]?rL.from_obj_for_encoding(n["sig-slot"]):void 0})}}class rL extends e4{constructor({lowerSigWeight:n,signature:i}){super(),this.lowerSigWeight=n,this.signature=i,this.attribute_map={lowerSigWeight:"lower-sig-weight",signature:"signature"}}static from_obj_for_encoding(n){return new rL({lowerSigWeight:n["lower-sig-weight"],signature:void 0!==n.signature?rP.from_obj_for_encoding(n.signature):void 0})}}class rP extends e4{constructor({falconSignature:n,merkleArrayIndex:i,proof:o,verifyingKey:a}){super(),this.falconSignature="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.merkleArrayIndex=i,this.proof=o,this.verifyingKey="string"==typeof a?new Uint8Array(E.Buffer.from(a,"base64")):a,this.attribute_map={falconSignature:"falcon-signature",merkleArrayIndex:"merkle-array-index",proof:"proof",verifyingKey:"verifying-key"}}static from_obj_for_encoding(n){return new rP({falconSignature:n["falcon-signature"],merkleArrayIndex:n["merkle-array-index"],proof:void 0!==n.proof?rR.from_obj_for_encoding(n.proof):void 0,verifyingKey:n["verifying-key"]})}}class rF extends e4{constructor({nextRound:n,onlineTotalWeight:i,type:o,votersCommitment:a}){super(),this.nextRound=n,this.onlineTotalWeight=i,this.type=o,this.votersCommitment="string"==typeof a?new Uint8Array(E.Buffer.from(a,"base64")):a,this.attribute_map={nextRound:"next-round",onlineTotalWeight:"online-total-weight",type:"type",votersCommitment:"voters-commitment"}}static from_obj_for_encoding(n){return new rF({nextRound:n["next-round"],onlineTotalWeight:n["online-total-weight"],type:n.type,votersCommitment:n["voters-commitment"]})}}class rB extends e4{constructor({commitment:n,keyLifetime:i}){super(),this.commitment="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.keyLifetime=i,this.attribute_map={commitment:"commitment",keyLifetime:"key-lifetime"}}static from_obj_for_encoding(n){return new rB({commitment:n.commitment,keyLifetime:n["key-lifetime"]})}}class rU extends e4{constructor({numByteSlice:n,numUint:i}){super(),this.numByteSlice=n,this.numUint=i,this.attribute_map={numByteSlice:"num-byte-slice",numUint:"num-uint"}}static from_obj_for_encoding(n){if(void 0===n["num-byte-slice"])throw Error(`Response is missing required field 'num-byte-slice': ${n}`);if(void 0===n["num-uint"])throw Error(`Response is missing required field 'num-uint': ${n}`);return new rU({numByteSlice:n["num-byte-slice"],numUint:n["num-uint"]})}}class rz extends e4{constructor({key:n,value:i}){super(),this.key=n,this.value=i,this.attribute_map={key:"key",value:"value"}}static from_obj_for_encoding(n){if(void 0===n.key)throw Error(`Response is missing required field 'key': ${n}`);if(void 0===n.value)throw Error(`Response is missing required field 'value': ${n}`);return new rz({key:n.key,value:rj.from_obj_for_encoding(n.value)})}}class rj extends e4{constructor({bytes:n,type:i,uint:o}){super(),this.bytes=n,this.type=i,this.uint=o,this.attribute_map={bytes:"bytes",type:"type",uint:"uint"}}static from_obj_for_encoding(n){if(void 0===n.bytes)throw Error(`Response is missing required field 'bytes': ${n}`);if(void 0===n.type)throw Error(`Response is missing required field 'type': ${n}`);if(void 0===n.uint)throw Error(`Response is missing required field 'uint': ${n}`);return new rj({bytes:n.bytes,type:n.type,uint:n.uint})}}class r$ extends e4{constructor({fee:n,firstValid:i,lastValid:o,sender:a,applicationTransaction:s,assetConfigTransaction:l,assetFreezeTransaction:u,assetTransferTransaction:c,authAddr:d,closeRewards:p,closingAmount:f,confirmedRound:h,createdApplicationIndex:m,createdAssetIndex:g,genesisHash:b,genesisId:y,globalStateDelta:v,group:w,id:S,innerTxns:x,intraRoundOffset:_,keyregTransaction:k,lease:A,localStateDelta:T,logs:C,note:R,paymentTransaction:D,receiverRewards:O,rekeyTo:I,roundTime:N,senderRewards:M,signature:L,stateProofTransaction:P,txType:F}){super(),this.fee=n,this.firstValid=i,this.lastValid=o,this.sender=a,this.applicationTransaction=s,this.assetConfigTransaction=l,this.assetFreezeTransaction=u,this.assetTransferTransaction=c,this.authAddr=d,this.closeRewards=p,this.closingAmount=f,this.confirmedRound=h,this.createdApplicationIndex=m,this.createdAssetIndex=g,this.genesisHash="string"==typeof b?new Uint8Array(E.Buffer.from(b,"base64")):b,this.genesisId=y,this.globalStateDelta=v,this.group="string"==typeof w?new Uint8Array(E.Buffer.from(w,"base64")):w,this.id=S,this.innerTxns=x,this.intraRoundOffset=_,this.keyregTransaction=k,this.lease="string"==typeof A?new Uint8Array(E.Buffer.from(A,"base64")):A,this.localStateDelta=T,this.logs=C,this.note="string"==typeof R?new Uint8Array(E.Buffer.from(R,"base64")):R,this.paymentTransaction=D,this.receiverRewards=O,this.rekeyTo=I,this.roundTime=N,this.senderRewards=M,this.signature=L,this.stateProofTransaction=P,this.txType=F,this.attribute_map={fee:"fee",firstValid:"first-valid",lastValid:"last-valid",sender:"sender",applicationTransaction:"application-transaction",assetConfigTransaction:"asset-config-transaction",assetFreezeTransaction:"asset-freeze-transaction",assetTransferTransaction:"asset-transfer-transaction",authAddr:"auth-addr",closeRewards:"close-rewards",closingAmount:"closing-amount",confirmedRound:"confirmed-round",createdApplicationIndex:"created-application-index",createdAssetIndex:"created-asset-index",genesisHash:"genesis-hash",genesisId:"genesis-id",globalStateDelta:"global-state-delta",group:"group",id:"id",innerTxns:"inner-txns",intraRoundOffset:"intra-round-offset",keyregTransaction:"keyreg-transaction",lease:"lease",localStateDelta:"local-state-delta",logs:"logs",note:"note",paymentTransaction:"payment-transaction",receiverRewards:"receiver-rewards",rekeyTo:"rekey-to",roundTime:"round-time",senderRewards:"sender-rewards",signature:"signature",stateProofTransaction:"state-proof-transaction",txType:"tx-type"}}static from_obj_for_encoding(n){if(void 0===n.fee)throw Error(`Response is missing required field 'fee': ${n}`);if(void 0===n["first-valid"])throw Error(`Response is missing required field 'first-valid': ${n}`);if(void 0===n["last-valid"])throw Error(`Response is missing required field 'last-valid': ${n}`);if(void 0===n.sender)throw Error(`Response is missing required field 'sender': ${n}`);return new r$({fee:n.fee,firstValid:n["first-valid"],lastValid:n["last-valid"],sender:n.sender,applicationTransaction:void 0!==n["application-transaction"]?rH.from_obj_for_encoding(n["application-transaction"]):void 0,assetConfigTransaction:void 0!==n["asset-config-transaction"]?rV.from_obj_for_encoding(n["asset-config-transaction"]):void 0,assetFreezeTransaction:void 0!==n["asset-freeze-transaction"]?rG.from_obj_for_encoding(n["asset-freeze-transaction"]):void 0,assetTransferTransaction:void 0!==n["asset-transfer-transaction"]?rq.from_obj_for_encoding(n["asset-transfer-transaction"]):void 0,authAddr:n["auth-addr"],closeRewards:n["close-rewards"],closingAmount:n["closing-amount"],confirmedRound:n["confirmed-round"],createdApplicationIndex:n["created-application-index"],createdAssetIndex:n["created-asset-index"],genesisHash:n["genesis-hash"],genesisId:n["genesis-id"],globalStateDelta:void 0!==n["global-state-delta"]?n["global-state-delta"].map(rk.from_obj_for_encoding):void 0,group:n.group,id:n.id,innerTxns:void 0!==n["inner-txns"]?n["inner-txns"].map(r$.from_obj_for_encoding):void 0,intraRoundOffset:n["intra-round-offset"],keyregTransaction:void 0!==n["keyreg-transaction"]?rW.from_obj_for_encoding(n["keyreg-transaction"]):void 0,lease:n.lease,localStateDelta:void 0!==n["local-state-delta"]?n["local-state-delta"].map(n9.from_obj_for_encoding):void 0,logs:n.logs,note:n.note,paymentTransaction:void 0!==n["payment-transaction"]?rK.from_obj_for_encoding(n["payment-transaction"]):void 0,receiverRewards:n["receiver-rewards"],rekeyTo:n["rekey-to"],roundTime:n["round-time"],senderRewards:n["sender-rewards"],signature:void 0!==n.signature?rZ.from_obj_for_encoding(n.signature):void 0,stateProofTransaction:void 0!==n["state-proof-transaction"]?r0.from_obj_for_encoding(n["state-proof-transaction"]):void 0,txType:n["tx-type"]})}}class rH extends e4{constructor({applicationId:n,accounts:i,applicationArgs:o,approvalProgram:a,clearStateProgram:s,extraProgramPages:l,foreignApps:u,foreignAssets:c,globalStateSchema:d,localStateSchema:p,onCompletion:f}){super(),this.applicationId=n,this.accounts=i,this.applicationArgs=o,this.approvalProgram="string"==typeof a?new Uint8Array(E.Buffer.from(a,"base64")):a,this.clearStateProgram="string"==typeof s?new Uint8Array(E.Buffer.from(s,"base64")):s,this.extraProgramPages=l,this.foreignApps=u,this.foreignAssets=c,this.globalStateSchema=d,this.localStateSchema=p,this.onCompletion=f,this.attribute_map={applicationId:"application-id",accounts:"accounts",applicationArgs:"application-args",approvalProgram:"approval-program",clearStateProgram:"clear-state-program",extraProgramPages:"extra-program-pages",foreignApps:"foreign-apps",foreignAssets:"foreign-assets",globalStateSchema:"global-state-schema",localStateSchema:"local-state-schema",onCompletion:"on-completion"}}static from_obj_for_encoding(n){if(void 0===n["application-id"])throw Error(`Response is missing required field 'application-id': ${n}`);return new rH({applicationId:n["application-id"],accounts:n.accounts,applicationArgs:n["application-args"],approvalProgram:n["approval-program"],clearStateProgram:n["clear-state-program"],extraProgramPages:n["extra-program-pages"],foreignApps:n["foreign-apps"],foreignAssets:n["foreign-assets"],globalStateSchema:void 0!==n["global-state-schema"]?rU.from_obj_for_encoding(n["global-state-schema"]):void 0,localStateSchema:void 0!==n["local-state-schema"]?rU.from_obj_for_encoding(n["local-state-schema"]):void 0,onCompletion:n["on-completion"]})}}class rV extends e4{constructor({assetId:n,params:i}){super(),this.assetId=n,this.params=i,this.attribute_map={assetId:"asset-id",params:"params"}}static from_obj_for_encoding(n){return new rV({assetId:n["asset-id"],params:void 0!==n.params?rf.from_obj_for_encoding(n.params):void 0})}}class rG extends e4{constructor({address:n,assetId:i,newFreezeStatus:o}){super(),this.address=n,this.assetId=i,this.newFreezeStatus=o,this.attribute_map={address:"address",assetId:"asset-id",newFreezeStatus:"new-freeze-status"}}static from_obj_for_encoding(n){if(void 0===n.address)throw Error(`Response is missing required field 'address': ${n}`);if(void 0===n["asset-id"])throw Error(`Response is missing required field 'asset-id': ${n}`);if(void 0===n["new-freeze-status"])throw Error(`Response is missing required field 'new-freeze-status': ${n}`);return new rG({address:n.address,assetId:n["asset-id"],newFreezeStatus:n["new-freeze-status"]})}}class rq extends e4{constructor({amount:n,assetId:i,receiver:o,closeAmount:a,closeTo:s,sender:l}){super(),this.amount=n,this.assetId=i,this.receiver=o,this.closeAmount=a,this.closeTo=s,this.sender=l,this.attribute_map={amount:"amount",assetId:"asset-id",receiver:"receiver",closeAmount:"close-amount",closeTo:"close-to",sender:"sender"}}static from_obj_for_encoding(n){if(void 0===n.amount)throw Error(`Response is missing required field 'amount': ${n}`);if(void 0===n["asset-id"])throw Error(`Response is missing required field 'asset-id': ${n}`);if(void 0===n.receiver)throw Error(`Response is missing required field 'receiver': ${n}`);return new rq({amount:n.amount,assetId:n["asset-id"],receiver:n.receiver,closeAmount:n["close-amount"],closeTo:n["close-to"],sender:n.sender})}}class rW extends e4{constructor({nonParticipation:n,selectionParticipationKey:i,stateProofKey:o,voteFirstValid:a,voteKeyDilution:s,voteLastValid:l,voteParticipationKey:u}){super(),this.nonParticipation=n,this.selectionParticipationKey="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.stateProofKey="string"==typeof o?new Uint8Array(E.Buffer.from(o,"base64")):o,this.voteFirstValid=a,this.voteKeyDilution=s,this.voteLastValid=l,this.voteParticipationKey="string"==typeof u?new Uint8Array(E.Buffer.from(u,"base64")):u,this.attribute_map={nonParticipation:"non-participation",selectionParticipationKey:"selection-participation-key",stateProofKey:"state-proof-key",voteFirstValid:"vote-first-valid",voteKeyDilution:"vote-key-dilution",voteLastValid:"vote-last-valid",voteParticipationKey:"vote-participation-key"}}static from_obj_for_encoding(n){return new rW({nonParticipation:n["non-participation"],selectionParticipationKey:n["selection-participation-key"],stateProofKey:n["state-proof-key"],voteFirstValid:n["vote-first-valid"],voteKeyDilution:n["vote-key-dilution"],voteLastValid:n["vote-last-valid"],voteParticipationKey:n["vote-participation-key"]})}}class rK extends e4{constructor({amount:n,receiver:i,closeAmount:o,closeRemainderTo:a}){super(),this.amount=n,this.receiver=i,this.closeAmount=o,this.closeRemainderTo=a,this.attribute_map={amount:"amount",receiver:"receiver",closeAmount:"close-amount",closeRemainderTo:"close-remainder-to"}}static from_obj_for_encoding(n){if(void 0===n.amount)throw Error(`Response is missing required field 'amount': ${n}`);if(void 0===n.receiver)throw Error(`Response is missing required field 'receiver': ${n}`);return new rK({amount:n.amount,receiver:n.receiver,closeAmount:n["close-amount"],closeRemainderTo:n["close-remainder-to"]})}}class rY extends e4{constructor({currentRound:n,transaction:i}){super(),this.currentRound=n,this.transaction=i,this.attribute_map={currentRound:"current-round",transaction:"transaction"}}static from_obj_for_encoding(n){if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);if(void 0===n.transaction)throw Error(`Response is missing required field 'transaction': ${n}`);return new rY({currentRound:n["current-round"],transaction:r$.from_obj_for_encoding(n.transaction)})}}class rZ extends e4{constructor({logicsig:n,multisig:i,sig:o}){super(),this.logicsig=n,this.multisig=i,this.sig="string"==typeof o?new Uint8Array(E.Buffer.from(o,"base64")):o,this.attribute_map={logicsig:"logicsig",multisig:"multisig",sig:"sig"}}static from_obj_for_encoding(n){return new rZ({logicsig:void 0!==n.logicsig?rX.from_obj_for_encoding(n.logicsig):void 0,multisig:void 0!==n.multisig?rJ.from_obj_for_encoding(n.multisig):void 0,sig:n.sig})}}class rX extends e4{constructor({logic:n,args:i,multisigSignature:o,signature:a}){super(),this.logic="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.args=i,this.multisigSignature=o,this.signature="string"==typeof a?new Uint8Array(E.Buffer.from(a,"base64")):a,this.attribute_map={logic:"logic",args:"args",multisigSignature:"multisig-signature",signature:"signature"}}static from_obj_for_encoding(n){if(void 0===n.logic)throw Error(`Response is missing required field 'logic': ${n}`);return new rX({logic:n.logic,args:n.args,multisigSignature:void 0!==n["multisig-signature"]?rJ.from_obj_for_encoding(n["multisig-signature"]):void 0,signature:n.signature})}}class rJ extends e4{constructor({subsignature:n,threshold:i,version:o}){super(),this.subsignature=n,this.threshold=i,this.version=o,this.attribute_map={subsignature:"subsignature",threshold:"threshold",version:"version"}}static from_obj_for_encoding(n){return new rJ({subsignature:void 0!==n.subsignature?n.subsignature.map(rQ.from_obj_for_encoding):void 0,threshold:n.threshold,version:n.version})}}class rQ extends e4{constructor({publicKey:n,signature:i}){super(),this.publicKey="string"==typeof n?new Uint8Array(E.Buffer.from(n,"base64")):n,this.signature="string"==typeof i?new Uint8Array(E.Buffer.from(i,"base64")):i,this.attribute_map={publicKey:"public-key",signature:"signature"}}static from_obj_for_encoding(n){return new rQ({publicKey:n["public-key"],signature:n.signature})}}class r0 extends e4{constructor({message:n,stateProof:i,stateProofType:o}){super(),this.message=n,this.stateProof=i,this.stateProofType=o,this.attribute_map={message:"message",stateProof:"state-proof",stateProofType:"state-proof-type"}}static from_obj_for_encoding(n){return new r0({message:void 0!==n.message?rC.from_obj_for_encoding(n.message):void 0,stateProof:void 0!==n["state-proof"]?rI.from_obj_for_encoding(n["state-proof"]):void 0,stateProofType:n["state-proof-type"]})}}class r1 extends e4{constructor({currentRound:n,transactions:i,nextToken:o}){super(),this.currentRound=n,this.transactions=i,this.nextToken=o,this.attribute_map={currentRound:"current-round",transactions:"transactions",nextToken:"next-token"}}static from_obj_for_encoding(n){if(void 0===n["current-round"])throw Error(`Response is missing required field 'current-round': ${n}`);if(!Array.isArray(n.transactions))throw Error(`Response is missing required array field 'transactions': ${n}`);return new r1({currentRound:n["current-round"],transactions:n.transactions.map(r$.from_obj_for_encoding),nextToken:n["next-token"]})}}class r2 extends t7{constructor(n,i,o,a){super(n,i),this.index=o,this.index=o;let s=E.Buffer.from(a).toString("base64");this.query.name=encodeURI(`b64:${s}`)}path(){return`/v2/applications/${this.index}/box`}prepare(n){return rw.from_obj_for_encoding(n)}}class r3 extends t7{path(){return"/v2/accounts"}currencyGreaterThan(n){return this.query["currency-greater-than"]=n.toString(),this}currencyLessThan(n){return this.query["currency-less-than"]=n,this}limit(n){return this.query.limit=n,this}assetID(n){return this.query["asset-id"]=n,this}nextToken(n){return this.query.next=n,this}round(n){return this.query.round=n,this}authAddr(n){return this.query["auth-addr"]=n,this}applicationID(n){return this.query["application-id"]=n,this}includeAll(n=!0){return this.query["include-all"]=n,this}exclude(n){return this.query.exclude=n,this}}class r5 extends t7{path(){return"/v2/transactions"}notePrefix(n){return this.query["note-prefix"]=nq(n),this}txType(n){return this.query["tx-type"]=n,this}sigType(n){return this.query["sig-type"]=n,this}txid(n){return this.query.txid=n,this}round(n){return this.query.round=n,this}minRound(n){return this.query["min-round"]=n,this}maxRound(n){return this.query["max-round"]=n,this}assetID(n){return this.query["asset-id"]=n,this}limit(n){return this.query.limit=n,this}beforeTime(n){return this.query["before-time"]=n,this}afterTime(n){return this.query["after-time"]=n,this}addressRole(n){return this.query["address-role"]=n,this}address(n){return this.query.address=n,this}excludeCloseTo(n){return this.query["exclude-close-to"]=n,this}nextToken(n){return this.query.next=n,this}rekeyTo(n){return this.query["rekey-to"]=n,this}applicationID(n){return this.query["application-id"]=n,this}currencyGreaterThan(n){return this.query["currency-greater-than"]=n.toString(),this}currencyLessThan(n){return this.query["currency-less-than"]=n,this}}class r4 extends t7{path(){return"/v2/assets"}limit(n){return this.query.limit=n,this}creator(n){return this.query.creator=n,this}name(n){return this.query.name=n,this}unit(n){return this.query.unit=n,this}index(n){return this.query["asset-id"]=n,this}nextToken(n){return this.query.next=n,this}includeAll(n=!0){return this.query["include-all"]=n,this}}class r6 extends t7{path(){return"/v2/applications"}index(n){return this.query["application-id"]=n,this}creator(n){return this.query.creator=n,this}nextToken(n){return this.query.next=n,this}limit(n){return this.query.limit=n,this}includeAll(n=!0){return this.query["include-all"]=n,this}}class r8 extends t7{constructor(n,i,o){super(n,i),this.index=o,this.index=o}path(){return`/v2/applications/${this.index}/boxes`}nextToken(n){return this.query.next=n,this}limit(n){return this.query.limit=n,this}prepare(n){return rS.from_obj_for_encoding(n)}}class r9 extends e2{constructor(n,i="http://127.0.0.1",o=8080,a={}){super("X-Indexer-API-Token",n,i,o,a)}makeHealthCheck(){return new nV(this.c,this.intDecoding)}lookupAssetBalances(n){return new nG(this.c,this.intDecoding,n)}lookupAssetTransactions(n){return new nK(this.c,this.intDecoding,n)}lookupAccountTransactions(n){return new nW(this.c,this.intDecoding,n)}lookupBlock(n){return new nY(this.c,this.intDecoding,n)}lookupTransactionByID(n){return new nZ(this.c,this.intDecoding,n)}lookupAccountByID(n){return new nX(this.c,this.intDecoding,n)}lookupAccountAssets(n){return new nJ(this.c,this.intDecoding,n)}lookupAccountCreatedAssets(n){return new nQ(this.c,this.intDecoding,n)}lookupAccountAppLocalStates(n){return new n0(this.c,this.intDecoding,n)}lookupAccountCreatedApplications(n){return new n1(this.c,this.intDecoding,n)}lookupAssetByID(n){return new n2(this.c,this.intDecoding,n)}lookupApplications(n){return new n3(this.c,this.intDecoding,n)}lookupApplicationLogs(n){return new n5(this.c,this.intDecoding,n)}searchAccounts(){return new r3(this.c,this.intDecoding)}searchForTransactions(){return new r5(this.c,this.intDecoding)}searchForAssets(){return new r4(this.c,this.intDecoding)}searchForApplications(){return new r6(this.c,this.intDecoding)}searchForApplicationBoxes(n){return new r8(this.c,this.intDecoding,n)}lookupApplicationBoxByIDandName(n,i){return new r2(this.c,this.intDecoding,n,i)}}async function r7(n,i,o){let a=await n.status().do();if(void 0===a)throw Error("Unable to get node status");let s=a["last-round"]+1,l=s;for(;l=11&&(i.push(2047&o),o>>=11,a-=11)}function l(){a&&i.push(o)}return n.forEach(s),l(),i}function iu(n){return n.map(n=>io[n])}function ic(n){let i=L(n),o=il(i),a=iu(o);return a[0]}function id(n){if(n.length!==q)throw RangeError(`Seed length must be ${q}`);let i=il(n),o=iu(i),a=ic(n);return`${o.join(" ")} ${a}`}function ip(n){let i=[],o=0,a=0;function s(n){for(o|=n<=8;)i.push(255&o),o>>=8,a-=8}function l(){a&&i.push(o)}return n.forEach(s),l(),new Uint8Array(i)}function ih(n){let i=n.split(" "),o=i.slice(0,24);for(let a of o)if(-1===io.indexOf(a))throw Error(is);let s=i[i.length-1],l=o.map(n=>io.indexOf(n)),u=ip(l);if(33!==u.length||0!==u[u.length-1])throw Error(ia);u=u.slice(0,u.length-1);let c=ic(u);if(c===s)return u;throw Error(ia)}function im(n){let i=ih(n),o=F(i),a=ed(o.publicKey);return{addr:a,sk:o.secretKey}}function ig(n){let i=n.slice(0,q);return id(i)}function ib(n){return ih(n)}function iy(n){return id(n)}let iv=16;class iw{constructor(n){if(this.name="Transaction group",this.tag=E.Buffer.from("TG"),n.length>iv){let i=`${n.length.toString()} transactions grouped together but max group size is ${iv.toString()}`;throw Error(i)}this.txGroupHashes=n}get_obj_for_encoding(){let n={txlist:this.txGroupHashes};return n}static from_obj_for_encoding(n){let i=Object.create(this.prototype);for(let o of(i.name="Transaction group",i.tag=E.Buffer.from("TG"),i.txGroupHashes=[],n.txlist))i.txGroupHashes.push(E.Buffer.from(o));return i}toByte(){return ev(this.get_obj_for_encoding())}}function iE(n){let i=[];for(let o of n){let a=e$(o);i.push(a.rawTxID())}let s=new iw(i),l=s.toByte(),u=E.Buffer.from(I(s.tag,l)),c=L(u);return E.Buffer.from(c)}function iS(n,i){let o=iE(n),a=[];for(let s of n){let l=e$(s);i&&ed(l.from.publicKey)!==i||(l.group=o,a.push(l))}return a}let ix="Not enough multisig transactions to merge. Need at least two",i_="Cannot merge txs. txIDs differ",ik="Cannot merge txs. Auth addrs differ",iA="Cannot merge txs. Multisig preimages differ",iT="Cannot merge txs. subsigs are mismatched.",iC="Key does not exist",iR="Cannot mutate a multisig field as it would invalidate all existing signatures.",iD="Cannot sign a multisig transaction using `signTxn`. Use `partialSignTxn` instead.",iO="Cannot add multisig signature. Signature is not of the correct length.";function iI(n,{version:i,threshold:o,addrs:a}){let s=a.map(n=>eu(n).publicKey),l=s.map(n=>({pk:E.Buffer.from(n)})),u={v:i,thr:o,subsig:l},c=n.get_obj_for_encoding(),d={msig:u,txn:c},p=ep({version:i,threshold:o,pks:s});return ed(c.snd)!==ed(p)&&(d.sgnr=E.Buffer.from(p)),new Uint8Array(ev(d))}function iN(n,{rawSig:i,myPk:o},{version:a,threshold:s,pks:l}){let u=iI(n,{version:a,threshold:s,addrs:l.map(n=>ed(n))}),c=ew(u),d=!1;if(c.msig.subsig.forEach((n,a)=>{$(n.pk,o)&&(d=!0,c.msig.subsig[a].s=i)}),!1===d)throw Error(iC);let p=ep({version:a,threshold:s,pks:l});return ed(c.txn.snd)!==ed(p)&&(c.sgnr=E.Buffer.from(p)),new Uint8Array(ev(c))}class iM extends eF{addLease(){throw Error(iR)}addRekey(){throw Error(iR)}signTxn(n){throw Error(iD)}partialSignTxn({version:n,threshold:i,pks:o},a){let s=z(a).publicKey;return iN(this,{rawSig:this.rawSignTxn(a),myPk:s},{version:n,threshold:i,pks:o})}partialSignWithMultisigSignature(n,i,o){if(!U(o.length))throw Error(iO);return iN(this,{rawSig:o,myPk:eu(i).publicKey},n)}static from_obj_for_encoding(n){return super.from_obj_for_encoding(n)}}function iL(n){if(n.length<2)throw Error(ix);let i=ew(n[0]),o=iM.from_obj_for_encoding(i.txn).txID(),a=i.sgnr?ed(i.sgnr):void 0,s={version:i.msig.v,threshold:i.msig.thr,pks:i.msig.subsig.map(n=>n.pk)},l=ed(ep(s)),u=i.msig.subsig.map(n=>({...n}));for(let c=1;cn.pk)},m=ed(ep(h));if(l!==m)throw Error(iA);d.msig.subsig.forEach((n,i)=>{if(!n.s)return;let o=u[i];if(o.s&&0!==E.Buffer.compare(E.Buffer.from(n.s),E.Buffer.from(o.s)))throw Error(iT);o.s=n.s})}let g={v:i.msig.v,thr:i.msig.thr,subsig:u},b={msig:g,txn:i.txn};return void 0!==a&&(b.sgnr=E.Buffer.from(eu(a).publicKey)),new Uint8Array(ev(b))}function iP(n,i,o){let a;let s=i.v,l=i.thr,u=i.subsig,c=u.map(n=>n.pk);if(i.subsig.lengtheu(n).publicKey),p=n instanceof eF;return p?(l=n,u=iM.prototype.partialSignTxn.call(l,{version:i,threshold:o,pks:d},s)):u=(l=new iM(n)).partialSignTxn({version:i,threshold:o,pks:d},s),{txID:l.txID().toString(),blob:u}}function iB(n,{version:i,threshold:o,addrs:a},s){let l=a.map(n=>eu(n).publicKey),u=ew(n),c=iM.from_obj_for_encoding(u.txn),d=c.partialSignTxn({version:i,threshold:o,pks:l},s);return{txID:c.txID().toString(),blob:iL([n,d])}}function iU(n,{version:i,threshold:o,addrs:a},s,l){let u=a.map(n=>eu(n).publicKey),c=ew(n),d=iM.from_obj_for_encoding(c.txn),p=d.partialSignWithMultisigSignature({version:i,threshold:o,pks:u},s,l);return{txID:d.txID().toString(),blob:iL([n,p])}}function iz({version:n,threshold:i,addrs:o}){return ef({version:n,threshold:i,addrs:o})}function ij(n){if(!n||0===n.length)throw Error("empty program");let i=10,o=32,a=126,s=n=>o<=n&&n<=a,l=n.every(n=>n===i||s(n));if(l){let u=E.Buffer.from(n).toString();if(ec(u))throw Error("requesting program bytes, get Algorand address");if(E.Buffer.from(u,"base64").toString("base64")===u)throw Error("program should not be b64 encoded");throw Error("program bytes are all ASCII printable characters, not looking like Teal byte code")}}class i${constructor(n,i){let o;if(this.tag=E.Buffer.from("Program"),i&&(!Array.isArray(i)||!i.every(n=>n.constructor===Uint8Array||E.Buffer.isBuffer(n))))throw TypeError("Invalid arguments");null!=i&&(o=i.map(n=>new Uint8Array(n))),ij(n),this.logic=n,this.args=o,this.sig=void 0,this.msig=void 0}get_obj_for_encoding(){let n={l:this.logic};return this.args&&(n.arg=this.args),this.sig?n.sig=this.sig:this.msig&&(n.msig=this.msig),n}static from_obj_for_encoding(n){let i=new i$(n.l,n.arg);return i.sig=n.sig,i.msig=n.msig,i}verify(n){if(this.sig&&this.msig)return!1;try{ij(this.logic)}catch(i){return!1}let o=I(this.tag,this.logic);if(!this.sig&&!this.msig){let a=L(o);return O(a,n)}return this.sig?H(o,this.sig,n):iP(o,this.msig,n)}address(){let n=I(this.tag,this.logic),i=L(n);return ed(new Uint8Array(i))}sign(n,i){if(null==i)this.sig=this.signProgram(n);else{let o=i.addrs.map(n=>({pk:eu(n).publicKey}));this.msig={v:i.version,thr:i.threshold,subsig:o};let[a,s]=this.singleSignMultisig(n,this.msig);this.msig.subsig[s].s=a}}appendToMultisig(n){if(void 0===this.msig)throw Error("no multisig present");let[i,o]=this.singleSignMultisig(n,this.msig);this.msig.subsig[o].s=i}signProgram(n){let i=I(this.tag,this.logic),o=j(i,n);return o}singleSignMultisig(n,i){let o=-1,a=z(n).publicKey;for(let s=0;sn.pk)};return ed(ep(n))}return this.lsig.address()}signMultisig(n,i){this.lsig.sign(i,n)}appendToMultisig(n){this.lsig.appendToMultisig(n)}sign(n){this.lsig.sign(n),this.sigkey=z(n).publicKey}}function iV(n,i,o){if(!i.verify(o))throw Error("Logic signature verification failed. Ensure the program and signature are valid.");let a={lsig:i.get_obj_for_encoding(),txn:n.get_obj_for_encoding()};return $(o,n.from.publicKey)||(a.sgnr=E.Buffer.from(o)),{txID:n.txID().toString(),blob:ev(a)}}function iG(n,i){let o,a;if(i instanceof iH)o=i.lsig,a=eu(i.address()).publicKey;else if((o=i).sig)a=n.from.publicKey;else if(o.msig){let s={version:o.msig.v,threshold:o.msig.thr,pks:o.msig.subsig.map(n=>n.pk)};a=ep(s)}else a=eu(o.address()).publicKey;return iV(n,o,a)}function iq(n,i){let o=e$(n);return iG(o,i)}function iW(n){return i$.fromByte(n)}let iK=E.Buffer.from("ProgData");function iY(n,i,o){let a=I(eu(o).publicKey,i),s=E.Buffer.from(I(iK,a));return j(s,n)}function iZ(n,i,o,a){let s=I(eu(i).publicKey,n),l=E.Buffer.from(I(iK,s));return H(l,o,a)}function iX(n,i,o){let a=new i$(o),s=a.address();return iY(n,i,s)}let iJ={},iQ={};function i0(n){let i=[],o=0,a=0;for(let s=0;s>>=1,c?i.push(0===a?-2147483648:-a):i.push(a),a=o=0}}return i}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(n,i){iJ[n]=i,iQ[i]=n});class i1{constructor({version:n,sources:i,names:o,mappings:a}){if(this.version=n,this.sources=i,this.names=o,this.mappings=a,3!==this.version)throw Error(`Only version 3 is supported, got ${this.version}`);if(void 0===this.mappings)throw Error("mapping undefined, cannot build source map without `mapping`");let s=this.mappings.split(";").map(n=>{let i=i0(n);if(i.length>2)return i[2]});this.pcToLine={},this.lineToPc={};let l=0;for(let[u,c]of s.entries())void 0!==c&&(l+=c),l in this.lineToPc||(this.lineToPc[l]=[]),this.lineToPc[l].push(u),this.pcToLine[u]=l}getLineForPc(n){return this.pcToLine[n]}getPcsForLine(n){return this.lineToPc[n]}}let i2=1380011588,i3=30;function i5(n){return n.params["approval-program"]=E.Buffer.from(n.params["approval-program"].toString(),"base64"),n.params["clear-state-program"]=E.Buffer.from(n.params["clear-state-program"].toString(),"base64"),n}async function i4({client:n,txns:i,protocolVersion:o,latestTimestamp:a,round:s,sources:l}){let u=[],c=[],d=[],p=[],h=[];for(let m of i)m.txn.type===f.appl&&(h.push(ed(m.txn.from.publicKey)),m.txn.appAccounts&&h.push(...m.txn.appAccounts.map(n=>ed(n.publicKey))),m.txn.appForeignApps&&(d.push(...m.txn.appForeignApps),h.push(...m.txn.appForeignApps.map(n=>eh(n)))),m.txn.appForeignAssets&&p.push(...m.txn.appForeignAssets),void 0===m.txn.appIndex||0===m.txn.appIndex?u.push(new tt({id:i2,params:new ta({creator:ed(m.txn.from.publicKey),approvalProgram:m.txn.appApprovalProgram,clearStateProgram:m.txn.appClearProgram,localStateSchema:new tl({numUint:m.txn.appLocalInts,numByteSlice:m.txn.appLocalByteSlices}),globalStateSchema:new tl({numUint:m.txn.appGlobalInts,numByteSlice:m.txn.appGlobalByteSlices})})})):(d.push(m.txn.appIndex),h.push(eh(m.txn.appIndex))));let g=[];for(let b of[...new Set(p)])g.push(n.getAssetByID(b).do().then(n=>{h.push(n.params.creator)}));await Promise.all(g);let y=[];for(let v of[...new Set(d)])y.push(n.getApplicationByID(v).do().then(n=>{let i=i5(n);u.push(i),h.push(i.params.creator)}));await Promise.all(y);let w=[];for(let E of[...new Set(h)])w.push(n.accountInformation(E).do().then(n=>{"created-apps"in n&&(n["created-apps"]=n["created-apps"].map(n=>i5(n))),c.push(n)}));return await Promise.all(w),new tk({txns:i.map(n=>({...n,txn:n.txn.get_obj_for_encoding()})),accounts:c,apps:u,latestTimestamp:a,round:s,protocolVersion:o,sources:l})}class i6{constructor(n){this.type=0,this.bytes="",this.uint=0,this.type=n.type,this.bytes=n.bytes,this.uint=n.uint}toString(){return 1===this.type?`0x${E.Buffer.from(this.bytes,"base64").toString("hex")}`:this.uint.toString()}}class i8{constructor(n){this.error="",this.line=0,this.pc=0,this.scratch=[],this.stack=[],this.error=void 0===n.error?"":n.error,this.line=n.line,this.pc=n.pc,this.scratch=n.scratch,this.stack=n.stack.map(n=>new i6(n))}}class i9{constructor(n){if(this.trace=[],null==n)return;this.trace=n.map(n=>new i8(n))}}function i7(n,i){return n.length>i&&i>0?`${n.slice(0,i)}...`:n}function oe(n,i){if(0===i.length)return"";let o=null;for(let a=0;an.length){o=a;continue}JSON.stringify(n[a])!==JSON.stringify(i[a])&&(o=a)}if(null==o)return"";let s=i[o];return s.bytes.length>0?`${o} = 0x${E.Buffer.from(s.bytes,"base64").toString("hex")}`:`${o} = ${s.uint.toString()}`}function ot(n,i){let o=i?n.reverse():n;return`[${o.map(n=>{switch(n.type){case 1:return`0x${E.Buffer.from(n.bytes,"base64").toString("hex")}`;case 2:return`${n.uint.toString()}`;default:return""}}).join(", ")}]`}class on{constructor(n){this.disassembly=[],this.appCallMessages=[],this.localDeltas=[],this.globalDelta=[],this.cost=0,this.logicSigMessages=[],this.logicSigDisassembly=[],this.logs=[],this.appCallTrace=void 0,this.logicSigTrace=void 0,this.required=["disassembly"],this.optionals=["app-call-messages","local-deltas","global-delta","cost","logic-sig-messages","logic-sig-disassembly","logs"],this.traces=["app-call-trace","logic-sig-trace"],this.disassembly=n.disassembly,this.appCallMessages=n["app-call-messages"],this.localDeltas=n["local-deltas"],this.globalDelta=n["global-delta"],this.cost=n.cost,this.logicSigMessages=n["logic-sig-messages"],this.logicSigDisassembly=n["logic-sig-disassembly"],this.logs=n.logs,this.appCallTrace=new i9(n["app-call-trace"]),this.logicSigTrace=new i9(n["logic-sig-trace"])}appCallRejected(){return void 0!==this.appCallMessages&&this.appCallMessages.includes("REJECT")}logicSigRejected(){return void 0!==this.logicSigMessages&&this.logicSigMessages.includes("REJECT")}static trace(n,i,o){let a=o.maxValueWidth||i3,s=[["pc#","ln#","source","scratch","stack"]];for(let l=0;l0&&void 0!==n.trace[l-1].scratch?n.trace[l-1].scratch:[],g=""===c?i[u]:`!! ${c} !!`;s.push([d.toString().padEnd(3," "),u.toString().padEnd(3," "),i7(g,a),i7(oe(m,h),a),i7(ot(f,o.topOfStackFirst),a)])}let b=s.reduce((n,i)=>{let o=Array(s[0].length).fill(0);for(let a=0;an[a]?i[a].length:n[a];return o},Array(s[0].length).fill(0));return`${s.map(n=>n.map((n,i)=>n.padEnd(b[i]+1," ")).join("|").trim()).join("\n")} `}appTrace(n){if(void 0===this.appCallTrace||!this.disassembly)return"";let i=n;return void 0===n&&(i={maxValueWidth:i3,topOfStackFirst:!1}),on.trace(this.appCallTrace,this.disassembly,i)}lsigTrace(n){if(void 0===this.logicSigTrace||void 0===this.logicSigDisassembly)return"";let i=n;return void 0===n&&(i={maxValueWidth:i3,topOfStackFirst:!0}),on.trace(this.logicSigTrace,this.logicSigDisassembly,i)}}class or{constructor(n){this.error="",this.protocolVersion="",this.txns=[],this.error=n.error,this.protocolVersion=n["protocol-version"],this.txns=n.txns.map(n=>new on(n))}}function oi(n,i,o,a,s,l,u){let c={from:n,to:i,amount:o,closeRemainderTo:a,note:s,suggestedParams:l,type:f.pay,reKeyTo:u};return new eF(c)}function oo(n){return oi(n.from,n.to,n.amount,n.closeRemainderTo,n.note,n.suggestedParams,n.rekeyTo)}function oa(n,i,o,a,s,l,u,c,d,p=!1,h){let m={from:n,note:i,voteKey:o,selectionKey:a,voteFirst:s,voteLast:l,voteKeyDilution:u,suggestedParams:c,type:f.keyreg,reKeyTo:d,nonParticipation:p,stateProofKey:h};return new eF(m)}function ol(n){return oa(n.from,n.note,n.voteKey,n.selectionKey,n.voteFirst,n.voteLast,n.voteKeyDilution,n.suggestedParams,n.rekeyTo,n.nonParticipation,n.stateProofKey)}function ou(n,i,o,a,s,l,u,c,d,p,h,m,g,b,y){let v={from:n,note:i,suggestedParams:b,assetTotal:o,assetDecimals:a,assetDefaultFrozen:s,assetUnitName:p,assetName:h,assetURL:m,assetMetadataHash:g,assetManager:l,assetReserve:u,assetFreeze:c,assetClawback:d,type:f.acfg,reKeyTo:y};return new eF(v)}function oc(n){return ou(n.from,n.note,n.total,n.decimals,n.defaultFrozen,n.manager,n.reserve,n.freeze,n.clawback,n.unitName,n.assetName,n.assetURL,n.assetMetadataHash,n.suggestedParams,n.rekeyTo)}function od(n,i,o,a,s,l,u,c,d=!0,p){if(d&&(void 0===a||void 0===s||void 0===l||void 0===u))throw Error("strict empty address checking was turned on, but at least one empty address was provided");let h={from:n,suggestedParams:c,assetIndex:o,assetManager:a,assetReserve:s,assetFreeze:l,assetClawback:u,type:f.acfg,note:i,reKeyTo:p};return new eF(h)}function op(n){return od(n.from,n.note,n.assetIndex,n.manager,n.reserve,n.freeze,n.clawback,n.suggestedParams,n.strictEmptyAddressChecking,n.rekeyTo)}function of(n,i,o,a,s){let l={from:n,suggestedParams:a,assetIndex:o,type:f.acfg,note:i,reKeyTo:s};return new eF(l)}function oh(n){return of(n.from,n.note,n.assetIndex,n.suggestedParams,n.rekeyTo)}function om(n,i,o,a,s,l,u){let c={from:n,type:f.afrz,freezeAccount:a,assetIndex:o,freezeState:s,note:i,suggestedParams:l,reKeyTo:u};return new eF(c)}function og(n){return om(n.from,n.note,n.assetIndex,n.freezeTarget,n.freezeState,n.suggestedParams,n.rekeyTo)}function ob(n,i,o,a,s,l,u,c,d){let p={type:f.axfer,from:n,to:i,amount:s,suggestedParams:c,assetIndex:u,note:l,assetRevocationTarget:a,closeRemainderTo:o,reKeyTo:d};return new eF(p)}function oy(n){return ob(n.from,n.to,n.closeRemainderTo,n.revocationTarget,n.amount,n.note,n.assetIndex,n.suggestedParams,n.rekeyTo)}function ov(n,i,o,a,s,l,u,c,d,p,h,m,g,b,y,v,w,E){let S={type:f.appl,from:n,suggestedParams:i,appIndex:0,appOnComplete:o,appLocalInts:l,appLocalByteSlices:u,appGlobalInts:c,appGlobalByteSlices:d,appApprovalProgram:a,appClearProgram:s,appArgs:p,appAccounts:h,appForeignApps:m,appForeignAssets:g,boxes:E,note:b,lease:y,reKeyTo:v,extraPages:w};return new eF(S)}function ow(n){return ov(n.from,n.suggestedParams,n.onComplete,n.approvalProgram,n.clearProgram,n.numLocalInts,n.numLocalByteSlices,n.numGlobalInts,n.numGlobalByteSlices,n.appArgs,n.accounts,n.foreignApps,n.foreignAssets,n.note,n.lease,n.rekeyTo,n.extraPages,n.boxes)}function oE(n,i,o,a,s,l,u,c,d,p,m,g,b){let y={type:f.appl,from:n,suggestedParams:i,appIndex:o,appApprovalProgram:a,appOnComplete:h.UpdateApplicationOC,appClearProgram:s,appArgs:l,appAccounts:u,appForeignApps:c,appForeignAssets:d,boxes:b,note:p,lease:m,reKeyTo:g};return new eF(y)}function oS(n){return oE(n.from,n.suggestedParams,n.appIndex,n.approvalProgram,n.clearProgram,n.appArgs,n.accounts,n.foreignApps,n.foreignAssets,n.note,n.lease,n.rekeyTo,n.boxes)}function ox(n,i,o,a,s,l,u,c,d,p,m){let g={type:f.appl,from:n,suggestedParams:i,appIndex:o,appOnComplete:h.DeleteApplicationOC,appArgs:a,appAccounts:s,appForeignApps:l,appForeignAssets:u,boxes:m,note:c,lease:d,reKeyTo:p};return new eF(g)}function o_(n){return ox(n.from,n.suggestedParams,n.appIndex,n.appArgs,n.accounts,n.foreignApps,n.foreignAssets,n.note,n.lease,n.rekeyTo,n.boxes)}function ok(n,i,o,a,s,l,u,c,d,p,m){let g={type:f.appl,from:n,suggestedParams:i,appIndex:o,appOnComplete:h.OptInOC,appArgs:a,appAccounts:s,appForeignApps:l,appForeignAssets:u,boxes:m,note:c,lease:d,reKeyTo:p};return new eF(g)}function oA(n){return ok(n.from,n.suggestedParams,n.appIndex,n.appArgs,n.accounts,n.foreignApps,n.foreignAssets,n.note,n.lease,n.rekeyTo,n.boxes)}function oT(n,i,o,a,s,l,u,c,d,p,m){let g={type:f.appl,from:n,suggestedParams:i,appIndex:o,appOnComplete:h.CloseOutOC,appArgs:a,appAccounts:s,appForeignApps:l,appForeignAssets:u,boxes:m,note:c,lease:d,reKeyTo:p};return new eF(g)}function oC(n){return oT(n.from,n.suggestedParams,n.appIndex,n.appArgs,n.accounts,n.foreignApps,n.foreignAssets,n.note,n.lease,n.rekeyTo,n.boxes)}function oR(n,i,o,a,s,l,u,c,d,p,m){let g={type:f.appl,from:n,suggestedParams:i,appIndex:o,appOnComplete:h.ClearStateOC,appArgs:a,appAccounts:s,appForeignApps:l,appForeignAssets:u,boxes:m,note:c,lease:d,reKeyTo:p};return new eF(g)}function oD(n){return oR(n.from,n.suggestedParams,n.appIndex,n.appArgs,n.accounts,n.foreignApps,n.foreignAssets,n.note,n.lease,n.rekeyTo,n.boxes)}function oO(n,i,o,a,s,l,u,c,d,p,m){let g={type:f.appl,from:n,suggestedParams:i,appIndex:o,appOnComplete:h.NoOpOC,appArgs:a,appAccounts:s,appForeignApps:l,appForeignAssets:u,boxes:m,note:c,lease:d,reKeyTo:p};return new eF(g)}function oI(n){return oO(n.from,n.suggestedParams,n.appIndex,n.appArgs,n.accounts,n.foreignApps,n.foreignAssets,n.note,n.lease,n.rekeyTo,n.boxes)}function oN(n){let i={type:f.appl,from:n.from,suggestedParams:n.suggestedParams,appIndex:n.appIndex,appOnComplete:n.onComplete,appLocalInts:n.numLocalInts,appLocalByteSlices:n.numLocalByteSlices,appGlobalInts:n.numGlobalInts,appGlobalByteSlices:n.numGlobalByteSlices,appApprovalProgram:n.approvalProgram,appClearProgram:n.clearProgram,appArgs:n.appArgs,appAccounts:n.accounts,appForeignApps:n.foreignApps,appForeignAssets:n.foreignAssets,boxes:n.boxes,note:n.note,lease:n.lease,reKeyTo:n.rekeyTo,extraPages:n.extraPages};return new eF(i)}function oM(n){return(i,o)=>{let a=[];for(let s of o)a.push(i[s].signTxn(n.sk));return Promise.resolve(a)}}function oL(n){return(i,o)=>{let a=[];for(let s of o){let{blob:l}=iG(i[s],n);a.push(l)}return Promise.resolve(a)}}function oP(n,i){return(o,a)=>{let s=[];for(let l of a){let u=o[l],c=[];for(let d of i){let{blob:p}=iF(u,n,d);c.push(p)}c.length>1?s.push(iL(c)):s.push(c[0])}return Promise.resolve(s)}}function oF(){return(n,i)=>{let o=[];for(let a of i)o.push(eB(n[a]));return Promise.resolve(o)}}function oB(n){return"object"==typeof n&&2===Object.keys(n).length&&"object"==typeof n.txn&&"function"==typeof n.signer}let oU=65535,oz=32,oj=1,o$=1,oH=2,oV=/^([a-z\d[\](),]+)\[(0|[1-9][\d]*)]$/,oG=/^ufixed([1-9][\d]*)x([1-9][\d]*)$/;class oq{static from(n){if(n.endsWith("[]")){let i=oq.from(n.slice(0,n.length-2));return new o0(i)}if(n.endsWith("]")){let o=n.match(oV);if(3!==o.length)throw Error(`malformed static array string: ${n}`);let a=o[2],s=parseInt(a,10);if(s>oU)throw Error(`array length exceeds limit ${oU}`);let l=oq.from(o[1]);return new oQ(l,s)}if(n.startsWith("uint")){let u=n=>[...n].every(n=>"0123456789".includes(n)),c=n.slice(4,n.length);if(!u(c))throw Error(`malformed uint string: ${c}`);let d=parseInt(c,10);if(d>oU)throw Error(`malformed uint string: ${d}`);return new oW(d)}if("byte"===n)return new oX;if(n.startsWith("ufixed")){let p=n.match(oG);if(3!==p.length)throw Error(`malformed ufixed type: ${n}`);let f=parseInt(p[1],10),h=parseInt(p[2],10);return new oK(f,h)}if("bool"===n)return new oZ;if("address"===n)return new oY;if("string"===n)return new oJ;if(n.length>=2&&"("===n[0]&&")"===n[n.length-1]){let m=o1.parseTupleContent(n.slice(1,n.length-1)),g=[];for(let b=0;b512)throw Error(`unsupported uint type bitSize: ${n}`);this.bitSize=n}toString(){return`uint${this.bitSize}`}equals(n){return n instanceof oW&&this.bitSize===n.bitSize}isDynamic(){return!1}byteLen(){return this.bitSize/8}encode(n){if("bigint"!=typeof n&&"number"!=typeof n)throw Error(`Cannot encode value as uint${this.bitSize}: ${n}`);if(n>=BigInt(2**this.bitSize)||n512)throw Error(`unsupported ufixed type bitSize: ${n}`);if(i>160||i<1)throw Error(`unsupported ufixed type precision: ${i}`);this.bitSize=n,this.precision=i}toString(){return`ufixed${this.bitSize}x${this.precision}`}equals(n){return n instanceof oK&&this.bitSize===n.bitSize&&this.precision===n.precision}isDynamic(){return!1}byteLen(){return this.bitSize/8}encode(n){if("bigint"!=typeof n&&"number"!=typeof n)throw Error(`Cannot encode value as ${this.toString()}: ${n}`);if(n>=BigInt(2**this.bitSize)||n255)throw Error(`${n} cannot be encoded into a byte`);return new Uint8Array([n])}decode(n){if(1!==n.byteLength)throw Error("byte string must be 1 byte long");return n[0]}}class oJ extends oq{toString(){return"string"}equals(n){return n instanceof oJ}isDynamic(){return!0}byteLen(){throw Error(`${this.toString()} is a dynamic type`)}encode(n){if("string"!=typeof n&&!(n instanceof Uint8Array))throw Error(`Cannot encode value as string: ${n}`);let i=E.Buffer.from(n),o=ie(i.length,oH),a=new Uint8Array(i.length+oH);return a.set(o),a.set(i,oH),a}decode(n){if(n.length=oU)throw Error("tuple type child type number larger than maximum uint16 error");this.childTypes=n}toString(){let n=[];for(let i=0;ii.equals(n.childTypes[o]))}isDynamic(){let n=n=>n.isDynamic();return this.childTypes.some(n)}byteLen(){let n=0;for(let i=0;ioU)throw Error("length of tuple array should not exceed a uint16");let o=this.childTypes,a=[],s=[],l=new Map,u=0;for(;uoU)throw Error(`byte length of ${v} should not exceed a uint16`);a[y]=ie(v,oH)}b+=s[y].length}return I(...a,...s)}decode(n){let i=this.childTypes,o=[],a=[],s=0,l=0,u=E.Buffer.from(n);for(;s0&&(o[o.length-1].right=d,d>m;(n[l]&g)>0?a.push(new Uint8Array([128])):a.push(new Uint8Array([0]))}s+=h,l+=1}else{let b=c.byteLen();a.push(n.slice(l,l+b)),l+=b}if(s!==i.length-1&&l>=n.length)throw Error("input byte not enough to decode");s+=1}if(o.length>0&&(o[o.length-1].right=n.length,l=n.length),lv.right)throw Error("dynamic segment should display a [l, r] space with l <= r");if(y!==o.length-1&&v.right!==o[y+1].left)throw Error("dynamic segment should be consecutive")}let w=0;for(let S=0;S8)throw Error("value list passed in should be no greater than length 8");for(let o=0;o0&&-1===o)a+=1;else break}else{a-=1;break}}return a}function o5(n){return n===m.any||n===m.pay||n===m.keyreg||n===m.acfg||n===m.axfer||n===m.afrz||n===m.appl}function o4(n,i){return n===m.any||i.type&&i.type.toString()===n.toString()}function o6(n){return n===g.account||n===g.application||n===g.asset}function o8(n){let i=n.indexOf("(");if(-1===i)throw Error(`Invalid method signature: ${n}`);let o=-1,a=0;for(let s=i;so5(n)||o6(n)?{type:n,name:i,description:o}:{type:oq.from(n),name:i,description:o}),this.returns={type:"void"===n.returns.type?n.returns.type:oq.from(n.returns.type),description:n.returns.desc}}getSignature(){let n=this.args.map(n=>n.type.toString()).join(","),i=this.returns.type.toString();return`${this.name}(${n})${i}`}getSelector(){let n=L(this.getSignature());return new Uint8Array(n.slice(0,4))}txnCount(){let n=1;for(let i of this.args)"string"==typeof i.type&&o5(i.type)&&(n+=1);return n}toJSON(){return{name:this.name,desc:this.description,args:this.args.map(({type:n,name:i,description:o})=>({type:n.toString(),name:i,desc:o})),returns:{type:this.returns.type.toString(),desc:this.returns.description}}}static fromSignature(n){let{name:i,args:o,returns:a}=o8(n);return new o9({name:i,args:o.map(n=>({type:n})),returns:{type:a}})}}function o7(n,i){if(null===n||!Array.isArray(n)||!n.every(n=>n instanceof o9))throw Error("Methods list provided is null or not the correct type");let o=n.filter(n=>n.name===i);if(o.length>1)throw Error(`found ${o.length} methods with the same name ${o.map(n=>n.getSignature()).join(",")}`);if(0===o.length)throw Error(`found 0 methods with the name ${i}`);return o[0]}class ae{constructor(n){if("string"!=typeof n.name||!Array.isArray(n.methods)||n.networks&&"object"!=typeof n.networks)throw Error("Invalid ABIContract parameters");this.name=n.name,this.description=n.desc,this.networks=n.networks?{...n.networks}:{},this.methods=n.methods.map(n=>new o9(n))}toJSON(){return{name:this.name,desc:this.description,networks:this.networks,methods:this.methods.map(n=>n.toJSON())}}getMethodByName(n){return o7(this.methods,n)}}class at{constructor(n){if("string"!=typeof n.name||!Array.isArray(n.methods))throw Error("Invalid ABIInterface parameters");this.name=n.name,this.description=n.desc,this.methods=n.methods.map(n=>new o9(n))}toJSON(){return{name:this.name,desc:this.description,methods:this.methods.map(n=>n.toJSON())}}getMethodByName(n){return o7(this.methods,n)}}let an=E.Buffer.from([21,31,124,117]),ar=16;function ai(n,i,o){if(null!=o&&n===o)return 0;let a=null==o?0:1;for(let s=0;s({txn:eF.from_obj_for_encoding({...n.get_obj_for_encoding(),grp:void 0}),signer:i})),n.methodCalls=new Map(this.methodCalls),n}addTransaction(n){if(this.status!==b.BUILDING)throw Error("Cannot add transactions when composer status is not BUILDING");if(this.transactions.length===ao.MAX_GROUP_SIZE)throw Error(`Adding an additional transaction exceeds the maximum atomic group size of ${ao.MAX_GROUP_SIZE}`);if(n.txn.group&&n.txn.group.some(n=>0!==n))throw Error("Cannot add a transaction with nonzero group ID");this.transactions.push(n)}addMethodCall({appID:n,method:i,methodArgs:o,sender:a,suggestedParams:s,onComplete:l,approvalProgram:u,clearProgram:c,numGlobalInts:d,numGlobalByteSlices:p,numLocalInts:f,numLocalByteSlices:m,extraPages:y,appAccounts:v,appForeignApps:w,appForeignAssets:E,boxes:S,note:x,lease:_,rekeyTo:k,signer:A}){if(this.status!==b.BUILDING)throw Error("Cannot add transactions when composer status is not BUILDING");if(this.transactions.length+i.txnCount()>ao.MAX_GROUP_SIZE)throw Error(`Adding additional transactions exceeds the maximum atomic group size of ${ao.MAX_GROUP_SIZE}`);if(0===n){if(null==u||null==c||null==d||null==p||null==f||null==m)throw Error("One of the following required parameters for application creation is missing: approvalProgram, clearProgram, numGlobalInts, numGlobalByteSlices, numLocalInts, numLocalByteSlices")}else if(l===h.UpdateApplicationOC){if(null==u||null==c)throw Error("One of the following required parameters for OnApplicationComplete.UpdateApplicationOC is missing: approvalProgram, clearProgram");if(null!=d||null!=p||null!=f||null!=m||null!=y)throw Error("One of the following application creation parameters were set on a non-creation call: numGlobalInts, numGlobalByteSlices, numLocalInts, numLocalByteSlices, extraPages")}else if(null!=u||null!=c||null!=d||null!=p||null!=f||null!=m||null!=y)throw Error("One of the following application creation parameters were set on a non-creation call: approvalProgram, clearProgram, numGlobalInts, numGlobalByteSlices, numLocalInts, numLocalByteSlices, extraPages");if(null==o&&(o=[]),o.length!==i.args.length)throw Error(`Incorrect number of method arguments. Expected ${i.args.length}, got ${o.length}`);let T=[],C=[],R=[],D=[],O=[],I=new Map,N=S||[];for(let M=0;M0!==n))throw Error("Cannot add a transaction with nonzero group ID");R.push(P);continue}if(oB(P))throw Error(`Expected non-transaction value for argument at index ${M}`);if(o6(L)&&(I.set(D.length,T.length),D.push(L),O.push(P),L=new oW(8)),"string"==typeof L)throw Error(`Unknown ABI type: ${L}`);T.push(L),C.push(P)}let F=[],B=null==v?[]:v.slice(),U=null==w?[]:w.slice(),z=null==E?[]:E.slice();for(let j=0;jNumber.MAX_SAFE_INTEGER)throw Error(`Expected safe integer for application value, got ${K}`);V=ai(Number(K),U,n);break}case g.asset:{let Y=new oW(64),Z=Y.decode(Y.encode(H));if(Z>Number.MAX_SAFE_INTEGER)throw Error(`Expected safe integer for asset value, got ${Z}`);V=ai(Number(Z),z);break}default:throw Error(`Unknown reference type: ${$}`)}F.push(V)}for(let X=0;Xar-1){let Q=T.slice(ar-2),ee=C.slice(ar-2);T=T.slice(0,ar-2),C=C.slice(0,ar-2),T.push(new o1(Q)),C.push(ee)}let et=[i.getSelector()];for(let en=0;en1&&iS(this.transactions.map(n=>n.txn)),this.status=b.BUILT}return this.transactions}async gatherSignatures(){if(this.status>=b.SIGNED)return this.signedTxns;let n=this.buildGroup(),i=n.map(n=>n.txn),o=new Map;for(let a=0;an(i,o))),c=n.map(()=>null);for(let d=0;dnull!=n))throw Error(`Missing signatures. Got ${c}`);let m=c.map((n,i)=>{try{return ej(n).txn.txID()}catch(o){throw Error(`Cannot decode signed transaction at index ${i}. ${o}`)}});return this.signedTxns=c,this.txIDs=m,this.status=b.SIGNED,c}async submit(n){if(this.status>b.SUBMITTED)throw Error("Transaction group cannot be resubmitted");let i=await this.gatherSignatures();return await n.sendRawTransaction(i).do(),this.status=b.SUBMITTED,this.txIDs}async simulate(n,i){if(this.status>b.SUBMITTED)throw Error("Simulated Transaction group has already been submitted to the network");let o=await this.gatherSignatures(),a=o.map(n=>ew(n)),s=null==i?new tV({txnGroups:[]}):i;s.txnGroups=[new tG({txns:a})];let l=await n.simulateTransactions(s).do(),u=[];for(let[c,d]of this.methodCalls){let p=this.txIDs[c],f=l.txnGroups[0].txnResults[c].txnResult,h={txID:p,rawReturnValue:new Uint8Array,method:d};u.push(ao.parseMethodResponse(d,h,f.get_obj_for_encoding()))}return{methodResults:u,simulateResponse:l}}async execute(n,i){if(this.status===b.COMMITTED)throw Error("Transaction group has already been executed successfully");let o=await this.submit(n);this.status=b.SUBMITTED;let a=this.transactions.findIndex((n,i)=>this.methodCalls.has(i)),s=-1===a?0:a,l=await r7(n,o[s],i);this.status=b.COMMITTED;let u=l["confirmed-round"],c=[];for(let[d,p]of this.methodCalls){let f=o[d],h={txID:f,rawReturnValue:new Uint8Array,method:p};try{let m=d===a?l:await n.pendingTransactionInformation(f).do();h=ao.parseMethodResponse(p,h,m)}catch(g){h.decodeError=g}c.push(h)}return{confirmedRound:u,txIDs:o,methodResults:c}}static parseMethodResponse(n,i,o){let a=i;try{if(a.txInfo=o,"void"!==n.returns.type){let s=o.logs||[];if(0===s.length)throw Error("App call transaction did not log a return value");let l=E.Buffer.from(s[s.length-1],"base64");if(l.byteLength<4||!l.slice(0,4).equals(an))throw Error("App call transaction did not log a return value");a.rawReturnValue=new Uint8Array(l.slice(4)),a.returnValue=n.returns.type.decode(i.rawReturnValue)}}catch(u){a.decodeError=u}return a}}ao.MAX_GROUP_SIZE=16;let aa=E.Buffer.from([77,88]),as="The transaction sender address and multisig preimage do not match.";function al(n,i){if(void 0===n.from){let o=z(i);n.from=ed(o.publicKey)}let a=e$(n);return{txID:a.txID().toString(),blob:a.signTxn(i)}}function au(n,i){let o=new eH(n);return o.signBid(i)}function ac(n,i){let o=E.Buffer.from(I(aa,n)),a=j(o,i);return a}function ad(n,i,o){let a=E.Buffer.from(I(aa,n)),s=eu(o).publicKey;return H(a,i,s)}function ap(n){return new Uint8Array(ev(n))}function af(n){return ew(n)}let ah=Error(as),am=Error(eG);var ag=w},18638:function(n,i,o){!function(n){"use strict";var i=function(n){var i,o=new Float64Array(16);if(n)for(i=0;i>24&255,n[i+1]=o>>16&255,n[i+2]=o>>8&255,n[i+3]=255&o,n[i+4]=a>>24&255,n[i+5]=a>>16&255,n[i+6]=a>>8&255,n[i+7]=255&a}function y(n,i,o,a,s){var l,u=0;for(l=0;l>>8)-1}function v(n,i,o,a){return y(n,i,o,a,16)}function w(n,i,o,a){return y(n,i,o,a,32)}function E(n,i,o,a){for(var s,l=255&a[0]|(255&a[1])<<8|(255&a[2])<<16|(255&a[3])<<24,u=255&o[0]|(255&o[1])<<8|(255&o[2])<<16|(255&o[3])<<24,c=255&o[4]|(255&o[5])<<8|(255&o[6])<<16|(255&o[7])<<24,d=255&o[8]|(255&o[9])<<8|(255&o[10])<<16|(255&o[11])<<24,p=255&o[12]|(255&o[13])<<8|(255&o[14])<<16|(255&o[15])<<24,f=255&a[4]|(255&a[5])<<8|(255&a[6])<<16|(255&a[7])<<24,h=255&i[0]|(255&i[1])<<8|(255&i[2])<<16|(255&i[3])<<24,m=255&i[4]|(255&i[5])<<8|(255&i[6])<<16|(255&i[7])<<24,g=255&i[8]|(255&i[9])<<8|(255&i[10])<<16|(255&i[11])<<24,b=255&i[12]|(255&i[13])<<8|(255&i[14])<<16|(255&i[15])<<24,y=255&a[8]|(255&a[9])<<8|(255&a[10])<<16|(255&a[11])<<24,v=255&o[16]|(255&o[17])<<8|(255&o[18])<<16|(255&o[19])<<24,w=255&o[20]|(255&o[21])<<8|(255&o[22])<<16|(255&o[23])<<24,E=255&o[24]|(255&o[25])<<8|(255&o[26])<<16|(255&o[27])<<24,S=255&o[28]|(255&o[29])<<8|(255&o[30])<<16|(255&o[31])<<24,x=255&a[12]|(255&a[13])<<8|(255&a[14])<<16|(255&a[15])<<24,_=l,k=u,A=c,T=d,C=p,R=f,D=h,O=m,I=g,N=b,M=y,L=v,P=w,F=E,B=S,U=x,z=0;z<20;z+=2)C^=(s=_+P|0)<<7|s>>>25,I^=(s=C+_|0)<<9|s>>>23,P^=(s=I+C|0)<<13|s>>>19,_^=(s=P+I|0)<<18|s>>>14,N^=(s=R+k|0)<<7|s>>>25,F^=(s=N+R|0)<<9|s>>>23,k^=(s=F+N|0)<<13|s>>>19,R^=(s=k+F|0)<<18|s>>>14,B^=(s=M+D|0)<<7|s>>>25,A^=(s=B+M|0)<<9|s>>>23,D^=(s=A+B|0)<<13|s>>>19,M^=(s=D+A|0)<<18|s>>>14,T^=(s=U+L|0)<<7|s>>>25,O^=(s=T+U|0)<<9|s>>>23,L^=(s=O+T|0)<<13|s>>>19,U^=(s=L+O|0)<<18|s>>>14,k^=(s=_+T|0)<<7|s>>>25,A^=(s=k+_|0)<<9|s>>>23,T^=(s=A+k|0)<<13|s>>>19,_^=(s=T+A|0)<<18|s>>>14,D^=(s=R+C|0)<<7|s>>>25,O^=(s=D+R|0)<<9|s>>>23,C^=(s=O+D|0)<<13|s>>>19,R^=(s=C+O|0)<<18|s>>>14,L^=(s=M+N|0)<<7|s>>>25,I^=(s=L+M|0)<<9|s>>>23,N^=(s=I+L|0)<<13|s>>>19,M^=(s=N+I|0)<<18|s>>>14,P^=(s=U+B|0)<<7|s>>>25,F^=(s=P+U|0)<<9|s>>>23,B^=(s=F+P|0)<<13|s>>>19,U^=(s=B+F|0)<<18|s>>>14;_=_+l|0,k=k+u|0,A=A+c|0,T=T+d|0,C=C+p|0,R=R+f|0,D=D+h|0,O=O+m|0,I=I+g|0,N=N+b|0,M=M+y|0,L=L+v|0,P=P+w|0,F=F+E|0,B=B+S|0,U=U+x|0,n[0]=_>>>0&255,n[1]=_>>>8&255,n[2]=_>>>16&255,n[3]=_>>>24&255,n[4]=k>>>0&255,n[5]=k>>>8&255,n[6]=k>>>16&255,n[7]=k>>>24&255,n[8]=A>>>0&255,n[9]=A>>>8&255,n[10]=A>>>16&255,n[11]=A>>>24&255,n[12]=T>>>0&255,n[13]=T>>>8&255,n[14]=T>>>16&255,n[15]=T>>>24&255,n[16]=C>>>0&255,n[17]=C>>>8&255,n[18]=C>>>16&255,n[19]=C>>>24&255,n[20]=R>>>0&255,n[21]=R>>>8&255,n[22]=R>>>16&255,n[23]=R>>>24&255,n[24]=D>>>0&255,n[25]=D>>>8&255,n[26]=D>>>16&255,n[27]=D>>>24&255,n[28]=O>>>0&255,n[29]=O>>>8&255,n[30]=O>>>16&255,n[31]=O>>>24&255,n[32]=I>>>0&255,n[33]=I>>>8&255,n[34]=I>>>16&255,n[35]=I>>>24&255,n[36]=N>>>0&255,n[37]=N>>>8&255,n[38]=N>>>16&255,n[39]=N>>>24&255,n[40]=M>>>0&255,n[41]=M>>>8&255,n[42]=M>>>16&255,n[43]=M>>>24&255,n[44]=L>>>0&255,n[45]=L>>>8&255,n[46]=L>>>16&255,n[47]=L>>>24&255,n[48]=P>>>0&255,n[49]=P>>>8&255,n[50]=P>>>16&255,n[51]=P>>>24&255,n[52]=F>>>0&255,n[53]=F>>>8&255,n[54]=F>>>16&255,n[55]=F>>>24&255,n[56]=B>>>0&255,n[57]=B>>>8&255,n[58]=B>>>16&255,n[59]=B>>>24&255,n[60]=U>>>0&255,n[61]=U>>>8&255,n[62]=U>>>16&255,n[63]=U>>>24&255}function S(n,i,o,a){for(var s,l=255&a[0]|(255&a[1])<<8|(255&a[2])<<16|(255&a[3])<<24,u=255&o[0]|(255&o[1])<<8|(255&o[2])<<16|(255&o[3])<<24,c=255&o[4]|(255&o[5])<<8|(255&o[6])<<16|(255&o[7])<<24,d=255&o[8]|(255&o[9])<<8|(255&o[10])<<16|(255&o[11])<<24,p=255&o[12]|(255&o[13])<<8|(255&o[14])<<16|(255&o[15])<<24,f=255&a[4]|(255&a[5])<<8|(255&a[6])<<16|(255&a[7])<<24,h=255&i[0]|(255&i[1])<<8|(255&i[2])<<16|(255&i[3])<<24,m=255&i[4]|(255&i[5])<<8|(255&i[6])<<16|(255&i[7])<<24,g=255&i[8]|(255&i[9])<<8|(255&i[10])<<16|(255&i[11])<<24,b=255&i[12]|(255&i[13])<<8|(255&i[14])<<16|(255&i[15])<<24,y=255&a[8]|(255&a[9])<<8|(255&a[10])<<16|(255&a[11])<<24,v=255&o[16]|(255&o[17])<<8|(255&o[18])<<16|(255&o[19])<<24,w=255&o[20]|(255&o[21])<<8|(255&o[22])<<16|(255&o[23])<<24,E=255&o[24]|(255&o[25])<<8|(255&o[26])<<16|(255&o[27])<<24,S=255&o[28]|(255&o[29])<<8|(255&o[30])<<16|(255&o[31])<<24,x=255&a[12]|(255&a[13])<<8|(255&a[14])<<16|(255&a[15])<<24,_=l,k=u,A=c,T=d,C=p,R=f,D=h,O=m,I=g,N=b,M=y,L=v,P=w,F=E,B=S,U=x,z=0;z<20;z+=2)C^=(s=_+P|0)<<7|s>>>25,I^=(s=C+_|0)<<9|s>>>23,P^=(s=I+C|0)<<13|s>>>19,_^=(s=P+I|0)<<18|s>>>14,N^=(s=R+k|0)<<7|s>>>25,F^=(s=N+R|0)<<9|s>>>23,k^=(s=F+N|0)<<13|s>>>19,R^=(s=k+F|0)<<18|s>>>14,B^=(s=M+D|0)<<7|s>>>25,A^=(s=B+M|0)<<9|s>>>23,D^=(s=A+B|0)<<13|s>>>19,M^=(s=D+A|0)<<18|s>>>14,T^=(s=U+L|0)<<7|s>>>25,O^=(s=T+U|0)<<9|s>>>23,L^=(s=O+T|0)<<13|s>>>19,U^=(s=L+O|0)<<18|s>>>14,k^=(s=_+T|0)<<7|s>>>25,A^=(s=k+_|0)<<9|s>>>23,T^=(s=A+k|0)<<13|s>>>19,_^=(s=T+A|0)<<18|s>>>14,D^=(s=R+C|0)<<7|s>>>25,O^=(s=D+R|0)<<9|s>>>23,C^=(s=O+D|0)<<13|s>>>19,R^=(s=C+O|0)<<18|s>>>14,L^=(s=M+N|0)<<7|s>>>25,I^=(s=L+M|0)<<9|s>>>23,N^=(s=I+L|0)<<13|s>>>19,M^=(s=N+I|0)<<18|s>>>14,P^=(s=U+B|0)<<7|s>>>25,F^=(s=P+U|0)<<9|s>>>23,B^=(s=F+P|0)<<13|s>>>19,U^=(s=B+F|0)<<18|s>>>14;n[0]=_>>>0&255,n[1]=_>>>8&255,n[2]=_>>>16&255,n[3]=_>>>24&255,n[4]=R>>>0&255,n[5]=R>>>8&255,n[6]=R>>>16&255,n[7]=R>>>24&255,n[8]=M>>>0&255,n[9]=M>>>8&255,n[10]=M>>>16&255,n[11]=M>>>24&255,n[12]=U>>>0&255,n[13]=U>>>8&255,n[14]=U>>>16&255,n[15]=U>>>24&255,n[16]=D>>>0&255,n[17]=D>>>8&255,n[18]=D>>>16&255,n[19]=D>>>24&255,n[20]=O>>>0&255,n[21]=O>>>8&255,n[22]=O>>>16&255,n[23]=O>>>24&255,n[24]=I>>>0&255,n[25]=I>>>8&255,n[26]=I>>>16&255,n[27]=I>>>24&255,n[28]=N>>>0&255,n[29]=N>>>8&255,n[30]=N>>>16&255,n[31]=N>>>24&255}function x(n,i,o,a){E(n,i,o,a)}function _(n,i,o,a){S(n,i,o,a)}var k=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function A(n,i,o,a,s,l,u){var c,d,p=new Uint8Array(16),f=new Uint8Array(64);for(d=0;d<16;d++)p[d]=0;for(d=0;d<8;d++)p[d]=l[d];for(;s>=64;){for(x(f,p,u,k),d=0;d<64;d++)n[i+d]=o[a+d]^f[d];for(d=8,c=1;d<16;d++)c=c+(255&p[d])|0,p[d]=255&c,c>>>=8;s-=64,i+=64,a+=64}if(s>0)for(x(f,p,u,k),d=0;d=64;){for(x(d,c,s,k),u=0;u<64;u++)n[i+u]=d[u];for(u=8,l=1;u<16;u++)l=l+(255&c[u])|0,c[u]=255&l,l>>>=8;o-=64,i+=64}if(o>0)for(x(d,c,s,k),u=0;u>>13|o<<3)&8191,a=255&n[4]|(255&n[5])<<8,this.r[2]=(o>>>10|a<<6)&7939,s=255&n[6]|(255&n[7])<<8,this.r[3]=(a>>>7|s<<9)&8191,l=255&n[8]|(255&n[9])<<8,this.r[4]=(s>>>4|l<<12)&255,this.r[5]=l>>>1&8190,u=255&n[10]|(255&n[11])<<8,this.r[6]=(l>>>14|u<<2)&8191,c=255&n[12]|(255&n[13])<<8,this.r[7]=(u>>>11|c<<5)&8065,d=255&n[14]|(255&n[15])<<8,this.r[8]=(c>>>8|d<<8)&8191,this.r[9]=d>>>5&127,this.pad[0]=255&n[16]|(255&n[17])<<8,this.pad[1]=255&n[18]|(255&n[19])<<8,this.pad[2]=255&n[20]|(255&n[21])<<8,this.pad[3]=255&n[22]|(255&n[23])<<8,this.pad[4]=255&n[24]|(255&n[25])<<8,this.pad[5]=255&n[26]|(255&n[27])<<8,this.pad[6]=255&n[28]|(255&n[29])<<8,this.pad[7]=255&n[30]|(255&n[31])<<8};function O(n,i,o,a,s,l){var u=new D(l);return u.update(o,a,s),u.finish(n,i),0}function I(n,i,o,a,s,l){var u=new Uint8Array(16);return O(u,0,o,a,s,l),v(n,i,u,0)}function N(n,i,o,a,s){var l;if(o<32)return -1;for(R(n,0,i,0,o,a,s),O(n,16,n,32,o-32,n),l=0;l<16;l++)n[l]=0;return 0}function M(n,i,o,a,s){var l,u=new Uint8Array(32);if(o<32||(C(u,0,32,a,s),0!==I(i,16,i,32,o-32,u)))return -1;for(R(n,0,i,0,o,a,s),l=0;l<32;l++)n[l]=0;return 0}function L(n,i){var o;for(o=0;o<16;o++)n[o]=0|i[o]}function P(n){var i,o,a=1;for(i=0;i<16;i++)a=Math.floor((o=n[i]+a+65535)/65536),n[i]=o-65536*a;n[0]+=a-1+37*(a-1)}function F(n,i,o){for(var a,s=~(o-1),l=0;l<16;l++)a=s&(n[l]^i[l]),n[l]^=a,i[l]^=a}function B(n,o){var a,s,l,u=i(),c=i();for(a=0;a<16;a++)c[a]=o[a];for(P(c),P(c),P(c),s=0;s<2;s++){for(a=1,u[0]=c[0]-65517;a<15;a++)u[a]=c[a]-65535-(u[a-1]>>16&1),u[a-1]&=65535;u[15]=c[15]-32767-(u[14]>>16&1),l=u[15]>>16&1,u[14]&=65535,F(c,u,1-l)}for(a=0;a<16;a++)n[2*a]=255&c[a],n[2*a+1]=c[a]>>8}function U(n,i){var o=new Uint8Array(32),a=new Uint8Array(32);return B(o,n),B(a,i),w(o,0,a,0)}function z(n){var i=new Uint8Array(32);return B(i,n),1&i[0]}function j(n,i){var o;for(o=0;o<16;o++)n[o]=i[2*o]+(i[2*o+1]<<8);n[15]&=32767}function $(n,i,o){for(var a=0;a<16;a++)n[a]=i[a]+o[a]}function H(n,i,o){for(var a=0;a<16;a++)n[a]=i[a]-o[a]}function V(n,i,o){var a,s,l=0,u=0,c=0,d=0,p=0,f=0,h=0,m=0,g=0,b=0,y=0,v=0,w=0,E=0,S=0,x=0,_=0,k=0,A=0,T=0,C=0,R=0,D=0,O=0,I=0,N=0,M=0,L=0,P=0,F=0,B=0,U=o[0],z=o[1],j=o[2],$=o[3],H=o[4],V=o[5],G=o[6],q=o[7],W=o[8],K=o[9],Y=o[10],Z=o[11],X=o[12],J=o[13],Q=o[14],ee=o[15];l+=(a=i[0])*U,u+=a*z,c+=a*j,d+=a*$,p+=a*H,f+=a*V,h+=a*G,m+=a*q,g+=a*W,b+=a*K,y+=a*Y,v+=a*Z,w+=a*X,E+=a*J,S+=a*Q,x+=a*ee,u+=(a=i[1])*U,c+=a*z,d+=a*j,p+=a*$,f+=a*H,h+=a*V,m+=a*G,g+=a*q,b+=a*W,y+=a*K,v+=a*Y,w+=a*Z,E+=a*X,S+=a*J,x+=a*Q,_+=a*ee,c+=(a=i[2])*U,d+=a*z,p+=a*j,f+=a*$,h+=a*H,m+=a*V,g+=a*G,b+=a*q,y+=a*W,v+=a*K,w+=a*Y,E+=a*Z,S+=a*X,x+=a*J,_+=a*Q,k+=a*ee,d+=(a=i[3])*U,p+=a*z,f+=a*j,h+=a*$,m+=a*H,g+=a*V,b+=a*G,y+=a*q,v+=a*W,w+=a*K,E+=a*Y,S+=a*Z,x+=a*X,_+=a*J,k+=a*Q,A+=a*ee,p+=(a=i[4])*U,f+=a*z,h+=a*j,m+=a*$,g+=a*H,b+=a*V,y+=a*G,v+=a*q,w+=a*W,E+=a*K,S+=a*Y,x+=a*Z,_+=a*X,k+=a*J,A+=a*Q,T+=a*ee,f+=(a=i[5])*U,h+=a*z,m+=a*j,g+=a*$,b+=a*H,y+=a*V,v+=a*G,w+=a*q,E+=a*W,S+=a*K,x+=a*Y,_+=a*Z,k+=a*X,A+=a*J,T+=a*Q,C+=a*ee,h+=(a=i[6])*U,m+=a*z,g+=a*j,b+=a*$,y+=a*H,v+=a*V,w+=a*G,E+=a*q,S+=a*W,x+=a*K,_+=a*Y,k+=a*Z,A+=a*X,T+=a*J,C+=a*Q,R+=a*ee,m+=(a=i[7])*U,g+=a*z,b+=a*j,y+=a*$,v+=a*H,w+=a*V,E+=a*G,S+=a*q,x+=a*W,_+=a*K,k+=a*Y,A+=a*Z,T+=a*X,C+=a*J,R+=a*Q,D+=a*ee,g+=(a=i[8])*U,b+=a*z,y+=a*j,v+=a*$,w+=a*H,E+=a*V,S+=a*G,x+=a*q,_+=a*W,k+=a*K,A+=a*Y,T+=a*Z,C+=a*X,R+=a*J,D+=a*Q,O+=a*ee,b+=(a=i[9])*U,y+=a*z,v+=a*j,w+=a*$,E+=a*H,S+=a*V,x+=a*G,_+=a*q,k+=a*W,A+=a*K,T+=a*Y,C+=a*Z,R+=a*X,D+=a*J,O+=a*Q,I+=a*ee,y+=(a=i[10])*U,v+=a*z,w+=a*j,E+=a*$,S+=a*H,x+=a*V,_+=a*G,k+=a*q,A+=a*W,T+=a*K,C+=a*Y,R+=a*Z,D+=a*X,O+=a*J,I+=a*Q,N+=a*ee,v+=(a=i[11])*U,w+=a*z,E+=a*j,S+=a*$,x+=a*H,_+=a*V,k+=a*G,A+=a*q,T+=a*W,C+=a*K,R+=a*Y,D+=a*Z,O+=a*X,I+=a*J,N+=a*Q,M+=a*ee,w+=(a=i[12])*U,E+=a*z,S+=a*j,x+=a*$,_+=a*H,k+=a*V,A+=a*G,T+=a*q,C+=a*W,R+=a*K,D+=a*Y,O+=a*Z,I+=a*X,N+=a*J,M+=a*Q,L+=a*ee,E+=(a=i[13])*U,S+=a*z,x+=a*j,_+=a*$,k+=a*H,A+=a*V,T+=a*G,C+=a*q,R+=a*W,D+=a*K,O+=a*Y,I+=a*Z,N+=a*X,M+=a*J,L+=a*Q,P+=a*ee,S+=(a=i[14])*U,x+=a*z,_+=a*j,k+=a*$,A+=a*H,T+=a*V,C+=a*G,R+=a*q,D+=a*W,O+=a*K,I+=a*Y,N+=a*Z,M+=a*X,L+=a*J,P+=a*Q,F+=a*ee,x+=(a=i[15])*U,_+=a*z,k+=a*j,A+=a*$,T+=a*H,C+=a*V,R+=a*G,D+=a*q,O+=a*W,I+=a*K,N+=a*Y,M+=a*Z,L+=a*X,P+=a*J,F+=a*Q,B+=a*ee,l+=38*_,u+=38*k,c+=38*A,d+=38*T,p+=38*C,f+=38*R,h+=38*D,m+=38*O,g+=38*I,b+=38*N,y+=38*M,v+=38*L,w+=38*P,E+=38*F,S+=38*B,s=Math.floor((a=l+(s=1)+65535)/65536),l=a-65536*s,s=Math.floor((a=u+s+65535)/65536),u=a-65536*s,s=Math.floor((a=c+s+65535)/65536),c=a-65536*s,s=Math.floor((a=d+s+65535)/65536),d=a-65536*s,s=Math.floor((a=p+s+65535)/65536),p=a-65536*s,s=Math.floor((a=f+s+65535)/65536),f=a-65536*s,s=Math.floor((a=h+s+65535)/65536),h=a-65536*s,s=Math.floor((a=m+s+65535)/65536),m=a-65536*s,s=Math.floor((a=g+s+65535)/65536),g=a-65536*s,s=Math.floor((a=b+s+65535)/65536),b=a-65536*s,s=Math.floor((a=y+s+65535)/65536),y=a-65536*s,s=Math.floor((a=v+s+65535)/65536),v=a-65536*s,s=Math.floor((a=w+s+65535)/65536),w=a-65536*s,s=Math.floor((a=E+s+65535)/65536),E=a-65536*s,s=Math.floor((a=S+s+65535)/65536),S=a-65536*s,s=Math.floor((a=x+s+65535)/65536),x=a-65536*s,l+=s-1+37*(s-1),s=Math.floor((a=l+(s=1)+65535)/65536),l=a-65536*s,s=Math.floor((a=u+s+65535)/65536),u=a-65536*s,s=Math.floor((a=c+s+65535)/65536),c=a-65536*s,s=Math.floor((a=d+s+65535)/65536),d=a-65536*s,s=Math.floor((a=p+s+65535)/65536),p=a-65536*s,s=Math.floor((a=f+s+65535)/65536),f=a-65536*s,s=Math.floor((a=h+s+65535)/65536),h=a-65536*s,s=Math.floor((a=m+s+65535)/65536),m=a-65536*s,s=Math.floor((a=g+s+65535)/65536),g=a-65536*s,s=Math.floor((a=b+s+65535)/65536),b=a-65536*s,s=Math.floor((a=y+s+65535)/65536),y=a-65536*s,s=Math.floor((a=v+s+65535)/65536),v=a-65536*s,s=Math.floor((a=w+s+65535)/65536),w=a-65536*s,s=Math.floor((a=E+s+65535)/65536),E=a-65536*s,s=Math.floor((a=S+s+65535)/65536),S=a-65536*s,s=Math.floor((a=x+s+65535)/65536),x=a-65536*s,l+=s-1+37*(s-1),n[0]=l,n[1]=u,n[2]=c,n[3]=d,n[4]=p,n[5]=f,n[6]=h,n[7]=m,n[8]=g,n[9]=b,n[10]=y,n[11]=v,n[12]=w,n[13]=E,n[14]=S,n[15]=x}function G(n,i){V(n,i,i)}function q(n,o){var a,s=i();for(a=0;a<16;a++)s[a]=o[a];for(a=253;a>=0;a--)G(s,s),2!==a&&4!==a&&V(s,s,o);for(a=0;a<16;a++)n[a]=s[a]}function W(n,o){var a,s=i();for(a=0;a<16;a++)s[a]=o[a];for(a=250;a>=0;a--)G(s,s),1!==a&&V(s,s,o);for(a=0;a<16;a++)n[a]=s[a]}function K(n,o,a){var s,l,u=new Uint8Array(32),c=new Float64Array(80),p=i(),f=i(),h=i(),m=i(),g=i(),b=i();for(l=0;l<31;l++)u[l]=o[l];for(u[31]=127&o[31]|64,u[0]&=248,j(c,a),l=0;l<16;l++)f[l]=c[l],m[l]=p[l]=h[l]=0;for(l=254,p[0]=m[0]=1;l>=0;--l)F(p,f,s=u[l>>>3]>>>(7&l)&1),F(h,m,s),$(g,p,h),H(p,p,h),$(h,f,m),H(f,f,m),G(m,g),G(b,p),V(p,h,p),V(h,f,g),$(g,p,h),H(p,p,h),G(f,p),H(h,m,b),V(p,h,d),$(p,p,m),V(h,h,p),V(p,m,b),V(m,f,c),G(f,g),F(p,f,s),F(h,m,s);for(l=0;l<16;l++)c[l+16]=p[l],c[l+32]=h[l],c[l+48]=f[l],c[l+64]=m[l];var y=c.subarray(32),v=c.subarray(16);return q(y,y),V(v,v,y),B(n,v),0}function Y(n,i){return K(n,i,l)}function Z(n,i){return a(i,32),Y(n,i)}function X(n,i,o){var a=new Uint8Array(32);return K(a,o,i),_(n,s,a,k)}D.prototype.blocks=function(n,i,o){for(var a,s,l,u,c,d,p,f,h,m,g,b,y,v,w,E,S,x,_,k=this.fin?0:2048,A=this.h[0],T=this.h[1],C=this.h[2],R=this.h[3],D=this.h[4],O=this.h[5],I=this.h[6],N=this.h[7],M=this.h[8],L=this.h[9],P=this.r[0],F=this.r[1],B=this.r[2],U=this.r[3],z=this.r[4],j=this.r[5],$=this.r[6],H=this.r[7],V=this.r[8],G=this.r[9];o>=16;)A+=8191&(a=255&n[i+0]|(255&n[i+1])<<8),T+=(a>>>13|(s=255&n[i+2]|(255&n[i+3])<<8)<<3)&8191,C+=(s>>>10|(l=255&n[i+4]|(255&n[i+5])<<8)<<6)&8191,R+=(l>>>7|(u=255&n[i+6]|(255&n[i+7])<<8)<<9)&8191,D+=(u>>>4|(c=255&n[i+8]|(255&n[i+9])<<8)<<12)&8191,O+=c>>>1&8191,I+=(c>>>14|(d=255&n[i+10]|(255&n[i+11])<<8)<<2)&8191,N+=(d>>>11|(p=255&n[i+12]|(255&n[i+13])<<8)<<5)&8191,M+=(p>>>8|(f=255&n[i+14]|(255&n[i+15])<<8)<<8)&8191,L+=f>>>5|k,m=h=0,m+=A*P,m+=T*(5*G),m+=C*(5*V),m+=R*(5*H),m+=D*(5*$),h=m>>>13,m&=8191,m+=O*(5*j),m+=I*(5*z),m+=N*(5*U),m+=M*(5*B),m+=L*(5*F),h+=m>>>13,m&=8191,g=h,g+=A*F,g+=T*P,g+=C*(5*G),g+=R*(5*V),g+=D*(5*H),h=g>>>13,g&=8191,g+=O*(5*$),g+=I*(5*j),g+=N*(5*z),g+=M*(5*U),g+=L*(5*B),h+=g>>>13,g&=8191,b=h,b+=A*B,b+=T*F,b+=C*P,b+=R*(5*G),b+=D*(5*V),h=b>>>13,b&=8191,b+=O*(5*H),b+=I*(5*$),b+=N*(5*j),b+=M*(5*z),b+=L*(5*U),h+=b>>>13,b&=8191,y=h,y+=A*U,y+=T*B,y+=C*F,y+=R*P,y+=D*(5*G),h=y>>>13,y&=8191,y+=O*(5*V),y+=I*(5*H),y+=N*(5*$),y+=M*(5*j),y+=L*(5*z),h+=y>>>13,y&=8191,v=h,v+=A*z,v+=T*U,v+=C*B,v+=R*F,v+=D*P,h=v>>>13,v&=8191,v+=O*(5*G),v+=I*(5*V),v+=N*(5*H),v+=M*(5*$),v+=L*(5*j),h+=v>>>13,v&=8191,w=h,w+=A*j,w+=T*z,w+=C*U,w+=R*B,w+=D*F,h=w>>>13,w&=8191,w+=O*P,w+=I*(5*G),w+=N*(5*V),w+=M*(5*H),w+=L*(5*$),h+=w>>>13,w&=8191,E=h,E+=A*$,E+=T*j,E+=C*z,E+=R*U,E+=D*B,h=E>>>13,E&=8191,E+=O*F,E+=I*P,E+=N*(5*G),E+=M*(5*V),E+=L*(5*H),h+=E>>>13,E&=8191,S=h,S+=A*H,S+=T*$,S+=C*j,S+=R*z,S+=D*U,h=S>>>13,S&=8191,S+=O*B,S+=I*F,S+=N*P,S+=M*(5*G),S+=L*(5*V),h+=S>>>13,S&=8191,x=h,x+=A*V,x+=T*H,x+=C*$,x+=R*j,x+=D*z,h=x>>>13,x&=8191,x+=O*U,x+=I*B,x+=N*F,x+=M*P,x+=L*(5*G),h+=x>>>13,x&=8191,_=h,_+=A*G,_+=T*V,_+=C*H,_+=R*$,_+=D*j,h=_>>>13,_&=8191,_+=O*z,_+=I*U,_+=N*B,_+=M*F,_+=L*P,h+=_>>>13,_&=8191,m=8191&(h=(h=(h<<2)+h|0)+m|0),h>>>=13,g+=h,A=m,T=g,C=b,R=y,D=v,O=w,I=E,N=S,M=x,L=_,i+=16,o-=16;this.h[0]=A,this.h[1]=T,this.h[2]=C,this.h[3]=R,this.h[4]=D,this.h[5]=O,this.h[6]=I,this.h[7]=N,this.h[8]=M,this.h[9]=L},D.prototype.finish=function(n,i){var o,a,s,l,u=new Uint16Array(10);if(this.leftover){for(l=this.leftover,this.buffer[l++]=1;l<16;l++)this.buffer[l]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(o=this.h[1]>>>13,this.h[1]&=8191,l=2;l<10;l++)this.h[l]+=o,o=this.h[l]>>>13,this.h[l]&=8191;for(this.h[0]+=5*o,o=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=o,o=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=o,u[0]=this.h[0]+5,o=u[0]>>>13,u[0]&=8191,l=1;l<10;l++)u[l]=this.h[l]+o,o=u[l]>>>13,u[l]&=8191;for(u[9]-=8192,a=(1^o)-1,l=0;l<10;l++)u[l]&=a;for(l=0,a=~a;l<10;l++)this.h[l]=this.h[l]&a|u[l];for(l=1,this.h[0]=(this.h[0]|this.h[1]<<13)&65535,this.h[1]=(this.h[1]>>>3|this.h[2]<<10)&65535,this.h[2]=(this.h[2]>>>6|this.h[3]<<7)&65535,this.h[3]=(this.h[3]>>>9|this.h[4]<<4)&65535,this.h[4]=(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14)&65535,this.h[5]=(this.h[6]>>>2|this.h[7]<<11)&65535,this.h[6]=(this.h[7]>>>5|this.h[8]<<8)&65535,this.h[7]=(this.h[8]>>>8|this.h[9]<<5)&65535,s=this.h[0]+this.pad[0],this.h[0]=65535&s;l<8;l++)s=(this.h[l]+this.pad[l]|0)+(s>>>16)|0,this.h[l]=65535&s;n[i+0]=this.h[0]>>>0&255,n[i+1]=this.h[0]>>>8&255,n[i+2]=this.h[1]>>>0&255,n[i+3]=this.h[1]>>>8&255,n[i+4]=this.h[2]>>>0&255,n[i+5]=this.h[2]>>>8&255,n[i+6]=this.h[3]>>>0&255,n[i+7]=this.h[3]>>>8&255,n[i+8]=this.h[4]>>>0&255,n[i+9]=this.h[4]>>>8&255,n[i+10]=this.h[5]>>>0&255,n[i+11]=this.h[5]>>>8&255,n[i+12]=this.h[6]>>>0&255,n[i+13]=this.h[6]>>>8&255,n[i+14]=this.h[7]>>>0&255,n[i+15]=this.h[7]>>>8&255},D.prototype.update=function(n,i,o){var a,s;if(this.leftover){for((s=16-this.leftover)>o&&(s=o),a=0;a=16&&(s=o-o%16,this.blocks(n,i,s),i+=s,o-=s),o){for(a=0;a=128;){for(k=0;k<16;k++)A=8*k+X,N[k]=o[A+0]<<24|o[A+1]<<16|o[A+2]<<8|o[A+3],M[k]=o[A+4]<<24|o[A+5]<<16|o[A+6]<<8|o[A+7];for(k=0;k<80;k++)if(s=L,l=P,u=F,c=B,d=U,p=z,f=j,h=$,m=H,g=V,b=G,y=q,v=W,w=K,E=Y,S=Z,T=$,R=65535&(C=Z),D=C>>>16,O=65535&T,I=T>>>16,T=(U>>>14|W<<18)^(U>>>18|W<<14)^(W>>>9|U<<23),R+=65535&(C=(W>>>14|U<<18)^(W>>>18|U<<14)^(U>>>9|W<<23)),D+=C>>>16,O+=65535&T,I+=T>>>16,T=U&z^~U&j,R+=65535&(C=W&K^~W&Y),D+=C>>>16,O+=65535&T,I+=T>>>16,T=en[2*k],R+=65535&(C=en[2*k+1]),D+=C>>>16,O+=65535&T,I+=T>>>16,T=N[k%16],R+=65535&(C=M[k%16]),D+=C>>>16,O+=65535&T,I+=T>>>16,D+=R>>>16,O+=D>>>16,I+=O>>>16,x=65535&O|I<<16,_=65535&R|D<<16,T=x,R=65535&(C=_),D=C>>>16,O=65535&T,I=T>>>16,T=(L>>>28|H<<4)^(H>>>2|L<<30)^(H>>>7|L<<25),R+=65535&(C=(H>>>28|L<<4)^(L>>>2|H<<30)^(L>>>7|H<<25)),D+=C>>>16,O+=65535&T,I+=T>>>16,T=L&P^L&F^P&F,R+=65535&(C=H&V^H&G^V&G),D+=C>>>16,O+=65535&T,I+=T>>>16,D+=R>>>16,O+=D>>>16,I+=O>>>16,h=65535&O|I<<16,S=65535&R|D<<16,T=c,R=65535&(C=y),D=C>>>16,O=65535&T,I=T>>>16,T=x,R+=65535&(C=_),D+=C>>>16,O+=65535&T,I+=T>>>16,D+=R>>>16,O+=D>>>16,I+=O>>>16,c=65535&O|I<<16,y=65535&R|D<<16,P=s,F=l,B=u,U=c,z=d,j=p,$=f,L=h,V=m,G=g,q=b,W=y,K=v,Y=w,Z=E,H=S,k%16==15)for(A=0;A<16;A++)T=N[A],R=65535&(C=M[A]),D=C>>>16,O=65535&T,I=T>>>16,T=N[(A+9)%16],R+=65535&(C=M[(A+9)%16]),D+=C>>>16,O+=65535&T,I+=T>>>16,T=((x=N[(A+1)%16])>>>1|(_=M[(A+1)%16])<<31)^(x>>>8|_<<24)^x>>>7,R+=65535&(C=(_>>>1|x<<31)^(_>>>8|x<<24)^(_>>>7|x<<25)),D+=C>>>16,O+=65535&T,I+=T>>>16,T=((x=N[(A+14)%16])>>>19|(_=M[(A+14)%16])<<13)^(_>>>29|x<<3)^x>>>6,R+=65535&(C=(_>>>19|x<<13)^(x>>>29|_<<3)^(_>>>6|x<<26)),D+=C>>>16,O+=65535&T,I+=T>>>16,D+=R>>>16,O+=D>>>16,I+=O>>>16,N[A]=65535&O|I<<16,M[A]=65535&R|D<<16;T=L,R=65535&(C=H),D=C>>>16,O=65535&T,I=T>>>16,T=n[0],R+=65535&(C=i[0]),D+=C>>>16,O+=65535&T,I+=T>>>16,D+=R>>>16,O+=D>>>16,I+=O>>>16,n[0]=L=65535&O|I<<16,i[0]=H=65535&R|D<<16,T=P,R=65535&(C=V),D=C>>>16,O=65535&T,I=T>>>16,T=n[1],R+=65535&(C=i[1]),D+=C>>>16,O+=65535&T,I+=T>>>16,D+=R>>>16,O+=D>>>16,I+=O>>>16,n[1]=P=65535&O|I<<16,i[1]=V=65535&R|D<<16,T=F,R=65535&(C=G),D=C>>>16,O=65535&T,I=T>>>16,T=n[2],R+=65535&(C=i[2]),D+=C>>>16,O+=65535&T,I+=T>>>16,D+=R>>>16,O+=D>>>16,I+=O>>>16,n[2]=F=65535&O|I<<16,i[2]=G=65535&R|D<<16,T=B,R=65535&(C=q),D=C>>>16,O=65535&T,I=T>>>16,T=n[3],R+=65535&(C=i[3]),D+=C>>>16,O+=65535&T,I+=T>>>16,D+=R>>>16,O+=D>>>16,I+=O>>>16,n[3]=B=65535&O|I<<16,i[3]=q=65535&R|D<<16,T=U,R=65535&(C=W),D=C>>>16,O=65535&T,I=T>>>16,T=n[4],R+=65535&(C=i[4]),D+=C>>>16,O+=65535&T,I+=T>>>16,D+=R>>>16,O+=D>>>16,I+=O>>>16,n[4]=U=65535&O|I<<16,i[4]=W=65535&R|D<<16,T=z,R=65535&(C=K),D=C>>>16,O=65535&T,I=T>>>16,T=n[5],R+=65535&(C=i[5]),D+=C>>>16,O+=65535&T,I+=T>>>16,D+=R>>>16,O+=D>>>16,I+=O>>>16,n[5]=z=65535&O|I<<16,i[5]=K=65535&R|D<<16,T=j,R=65535&(C=Y),D=C>>>16,O=65535&T,I=T>>>16,T=n[6],R+=65535&(C=i[6]),D+=C>>>16,O+=65535&T,I+=T>>>16,D+=R>>>16,O+=D>>>16,I+=O>>>16,n[6]=j=65535&O|I<<16,i[6]=Y=65535&R|D<<16,T=$,R=65535&(C=Z),D=C>>>16,O=65535&T,I=T>>>16,T=n[7],R+=65535&(C=i[7]),D+=C>>>16,O+=65535&T,I+=T>>>16,D+=R>>>16,O+=D>>>16,I+=O>>>16,n[7]=$=65535&O|I<<16,i[7]=Z=65535&R|D<<16,X+=128,a-=128}return a}function ei(n,i,o){var a,s=new Int32Array(8),l=new Int32Array(8),u=new Uint8Array(256),c=o;for(s[0]=1779033703,s[1]=3144134277,s[2]=1013904242,s[3]=2773480762,s[4]=1359893119,s[5]=2600822924,s[6]=528734635,s[7]=1541459225,l[0]=4089235720,l[1]=2227873595,l[2]=4271175723,l[3]=1595750129,l[4]=2917565137,l[5]=725511199,l[6]=4215389547,l[7]=327033209,er(s,l,i,o),o%=128,a=0;a=0;--s)ea(n,i,a=o[s/8|0]>>(7&s)&1),eo(i,n),eo(n,n),ea(n,i,a)}function eu(n,o){var a=[i(),i(),i(),i()];L(a[0],h),L(a[1],m),L(a[2],c),V(a[3],h,m),el(n,a,o)}function ec(n,o,s){var l,u=new Uint8Array(64),c=[i(),i(),i(),i()];for(s||a(o,32),ei(u,o,32),u[0]&=248,u[31]&=127,u[31]|=64,eu(c,u),es(n,c),l=0;l<32;l++)o[l+32]=n[l];return 0}var ed=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function ep(n,i){var o,a,s,l;for(a=63;a>=32;--a){for(o=0,s=a-32,l=a-12;s>4)*ed[s],o=i[s]>>8,i[s]&=255;for(s=0;s<32;s++)i[s]-=o*ed[s];for(a=0;a<32;a++)i[a+1]+=i[a]>>8,n[a]=255&i[a]}function ef(n){var i,o=new Float64Array(64);for(i=0;i<64;i++)o[i]=n[i];for(i=0;i<64;i++)n[i]=0;ep(n,o)}function eh(n,o,a,s){var l,u,c=new Uint8Array(64),d=new Uint8Array(64),p=new Uint8Array(64),f=new Float64Array(64),h=[i(),i(),i(),i()];ei(c,s,32),c[0]&=248,c[31]&=127,c[31]|=64;var m=a+64;for(l=0;l>7&&H(n[0],u,n[0]),V(n[3],n[0],n[1]),0)}function eg(n,o,a,s){var l,u=new Uint8Array(32),c=new Uint8Array(64),d=[i(),i(),i(),i()],p=[i(),i(),i(),i()];if(a<64||em(p,s))return -1;for(l=0;l=0},n.sign.keyPair=function(){var n=new Uint8Array(eD),i=new Uint8Array(eO);return ec(n,i),{publicKey:n,secretKey:i}},n.sign.keyPair.fromSecretKey=function(n){if(eP(n),n.length!==eO)throw Error("bad secret key size");for(var i=new Uint8Array(eD),o=0;o0)throw Error("Invalid string. Length must be a multiple of 4");var o=n.indexOf("=");-1===o&&(o=i);var a=o===i?0:4-o%4;return[o,a]}function p(n){var i=d(n),o=i[0],a=i[1];return(o+a)*3/4-a}function f(n,i,o){return(i+o)*3/4-o}function h(n){var i,o,l=d(n),u=l[0],c=l[1],p=new s(f(n,u,c)),h=0,m=c>0?u-4:u;for(o=0;o>16&255,p[h++]=i>>8&255,p[h++]=255&i;return 2===c&&(i=a[n.charCodeAt(o)]<<2|a[n.charCodeAt(o+1)]>>4,p[h++]=255&i),1===c&&(i=a[n.charCodeAt(o)]<<10|a[n.charCodeAt(o+1)]<<4|a[n.charCodeAt(o+2)]>>2,p[h++]=i>>8&255,p[h++]=255&i),p}function m(n){return o[n>>18&63]+o[n>>12&63]+o[n>>6&63]+o[63&n]}function g(n,i,o){for(var a=[],s=i;sd?d:c+u));return 1===s?l.push(o[(i=n[a-1])>>2]+o[i<<4&63]+"=="):2===s&&l.push(o[(i=(n[a-2]<<8)+n[a-1])>>10]+o[i>>4&63]+o[i<<2&63]+"="),l.join("")}a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63},44431:function(n,i,o){var a;!function(s){"use strict";var l,u=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,c=Math.ceil,d=Math.floor,p="[BigNumber Error] ",f=p+"Number primitive has more than 15 significant digits: ",h=1e14,m=14,g=9007199254740991,b=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],y=1e7,v=1e9;function w(n){var i,o,a,s,l,C,R,D,O,I,N=W.prototype={constructor:W,toString:null,valueOf:null},M=new W(1),L=20,P=4,F=-7,B=21,U=-1e7,z=1e7,j=!1,$=1,H=0,V={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xa0",suffix:""},G="0123456789abcdefghijklmnopqrstuvwxyz",q=!0;function W(n,i){var o,a,s,l,c,p,h,b,y=this;if(!(y instanceof W))return new W(n,i);if(null==i){if(n&&!0===n._isBigNumber){y.s=n.s,!n.c||n.e>z?y.c=y.e=null:n.e=10;c/=10,l++);l>z?y.c=y.e=null:(y.e=l,y.c=[n]);return}b=String(n)}else{if(!u.test(b=String(n)))return I(y,b,p);y.s=45==b.charCodeAt(0)?(b=b.slice(1),-1):1}(l=b.indexOf("."))>-1&&(b=b.replace(".","")),(c=b.search(/e/i))>0?(l<0&&(l=c),l+=+b.slice(c+1),b=b.substring(0,c)):l<0&&(l=b.length)}else{if(_(i,2,G.length,"Base"),10==i&&q)return X(y=new W(n),L+y.e+1,P);if(b=String(n),p="number"==typeof n){if(0*n!=0)return I(y,b,p,i);if(y.s=1/n<0?(b=b.slice(1),-1):1,W.DEBUG&&b.replace(/^0\.0*|\./,"").length>15)throw Error(f+n)}else y.s=45===b.charCodeAt(0)?(b=b.slice(1),-1):1;for(o=G.slice(0,i),l=c=0,h=b.length;co.indexOf(a=b.charAt(c))){if("."==a){if(c>l){l=h;continue}}else if(!s&&(b==b.toUpperCase()&&(b=b.toLowerCase())||b==b.toLowerCase()&&(b=b.toUpperCase()))){s=!0,c=-1,l=0;continue}return I(y,String(n),p,i)}p=!1,(l=(b=O(b,i,10,y.s)).indexOf("."))>-1?b=b.replace(".",""):l=b.length}for(c=0;48===b.charCodeAt(c);c++);for(h=b.length;48===b.charCodeAt(--h););if(b=b.slice(c,++h)){if(h-=c,p&&W.DEBUG&&h>15&&(n>g||n!==d(n)))throw Error(f+y.s*n);if((l=l-c-1)>z)y.c=y.e=null;else if(l=B)?A(d,u):T(d,u,"0");else if(l=(n=X(new W(n),i,o)).e,c=(d=S(n.c)).length,1==a||2==a&&(i<=l||l<=F)){for(;cc){if(--i>0)for(d+=".";i--;d+="0");}else if((i+=l-c)>0)for(l+1==c&&(d+=".");i--;d+="0");return n.s<0&&s?"-"+d:d}function Y(n,i){for(var o,a,s=1,l=new W(n[0]);s=10;s/=10,a++);return(o=a+o*m-1)>z?n.c=n.e=null:o=10;p/=10,s++);if((l=i-s)<0)l+=m,u=i,y=d((f=v[g=0])/w[s-u-1]%10);else if((g=c((l+1)/m))>=v.length){if(a){for(;v.length<=g;v.push(0));f=y=0,s=1,l%=m,u=l-m+1}else break t}else{for(s=1,f=p=v[g];p>=10;p/=10,s++);l%=m,y=(u=l-m+s)<0?0:d(f/w[s-u-1]%10)}if(a=a||i<0||null!=v[g+1]||(u<0?f:f%w[s-u-1]),a=o<4?(y||a)&&(0==o||o==(n.s<0?3:2)):y>5||5==y&&(4==o||a||6==o&&(l>0?u>0?f/w[s-u]:0:v[g-1])%10&1||o==(n.s<0?8:7)),i<1||!v[0])return v.length=0,a?(i-=n.e+1,v[0]=w[(m-i%m)%m],n.e=-i||0):v[0]=n.e=0,n;if(0==l?(v.length=g,p=1,g--):(v.length=g+1,p=w[m-l],v[g]=u>0?d(f/w[s-u]%w[u])*p:0),a)for(;;){if(0==g){for(l=1,u=v[0];u>=10;u/=10,l++);for(u=v[0]+=p,p=1;u>=10;u/=10,p++);l!=p&&(n.e++,v[0]==h&&(v[0]=1));break}if(v[g]+=p,v[g]!=h)break;v[g--]=0,p=1}for(l=v.length;0===v[--l];v.pop());}n.e>z?n.c=n.e=null:n.e=B?A(i,o):T(i,o,"0"),n.s<0?"-"+i:i)}return W.clone=w,W.ROUND_UP=0,W.ROUND_DOWN=1,W.ROUND_CEIL=2,W.ROUND_FLOOR=3,W.ROUND_HALF_UP=4,W.ROUND_HALF_DOWN=5,W.ROUND_HALF_EVEN=6,W.ROUND_HALF_CEIL=7,W.ROUND_HALF_FLOOR=8,W.EUCLID=9,W.config=W.set=function(n){var i,o;if(null!=n){if("object"==typeof n){if(n.hasOwnProperty(i="DECIMAL_PLACES")&&(_(o=n[i],0,v,i),L=o),n.hasOwnProperty(i="ROUNDING_MODE")&&(_(o=n[i],0,8,i),P=o),n.hasOwnProperty(i="EXPONENTIAL_AT")&&((o=n[i])&&o.pop?(_(o[0],-v,0,i),_(o[1],0,v,i),F=o[0],B=o[1]):(_(o,-v,v,i),F=-(B=o<0?-o:o))),n.hasOwnProperty(i="RANGE")){if((o=n[i])&&o.pop)_(o[0],-v,-1,i),_(o[1],1,v,i),U=o[0],z=o[1];else if(_(o,-v,v,i),o)U=-(z=o<0?-o:o);else throw Error(p+i+" cannot be zero: "+o)}if(n.hasOwnProperty(i="CRYPTO")){if(!!(o=n[i])===o){if(o){if("undefined"!=typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))j=o;else throw j=!o,Error(p+"crypto unavailable")}else j=o}else throw Error(p+i+" not true or false: "+o)}if(n.hasOwnProperty(i="MODULO_MODE")&&(_(o=n[i],0,9,i),$=o),n.hasOwnProperty(i="POW_PRECISION")&&(_(o=n[i],0,v,i),H=o),n.hasOwnProperty(i="FORMAT")){if("object"==typeof(o=n[i]))V=o;else throw Error(p+i+" not an object: "+o)}if(n.hasOwnProperty(i="ALPHABET")){if("string"!=typeof(o=n[i])||/^.?$|[+\-.\s]|(.).*\1/.test(o))throw Error(p+i+" invalid: "+o);q="0123456789"==o.slice(0,10),G=o}}else throw Error(p+"Object expected: "+n)}return{DECIMAL_PLACES:L,ROUNDING_MODE:P,EXPONENTIAL_AT:[F,B],RANGE:[U,z],CRYPTO:j,MODULO_MODE:$,POW_PRECISION:H,FORMAT:V,ALPHABET:G}},W.isBigNumber=function(n){if(!n||!0!==n._isBigNumber)return!1;if(!W.DEBUG)return!0;var i,o,a=n.c,s=n.e,l=n.s;t:if("[object Array]"==({}).toString.call(a)){if((1===l||-1===l)&&s>=-v&&s<=v&&s===d(s)){if(0===a[0]){if(0===s&&1===a.length)return!0;break t}if((i=(s+1)%m)<1&&(i+=m),String(a[0]).length==i){for(i=0;i=h||o!==d(o))break t;if(0!==o)return!0}}}else if(null===a&&null===s&&(null===l||1===l||-1===l))return!0;throw Error(p+"Invalid BigNumber: "+n)},W.maximum=W.max=function(){return Y(arguments,-1)},W.minimum=W.min=function(){return Y(arguments,1)},W.random=(i=9007199254740992,o=9007199254740992*Math.random()&2097151?function(){return d(Math.random()*i)}:function(){return(1073741824*Math.random()|0)*8388608+(8388608*Math.random()|0)},function(n){var i,a,s,l,u,f=0,h=[],g=new W(M);if(null==n?n=L:_(n,0,v),l=c(n/m),j){if(crypto.getRandomValues){for(i=crypto.getRandomValues(new Uint32Array(l*=2));f>>11))>=9e15?(a=crypto.getRandomValues(new Uint32Array(2)),i[f]=a[0],i[f+1]=a[1]):(h.push(u%1e14),f+=2);f=l/2}else if(crypto.randomBytes){for(i=crypto.randomBytes(l*=7);f=9e15?crypto.randomBytes(7).copy(i,f):(h.push(u%1e14),f+=7);f=l/7}else throw j=!1,Error(p+"crypto unavailable")}if(!j)for(;f=10;u/=10,f++);fo-1&&(null==u[s+1]&&(u[s+1]=0),u[s+1]+=u[s]/o|0,u[s]%=o)}return u.reverse()}return function(o,a,s,l,u){var c,d,p,f,h,m,g,b,y=o.indexOf("."),v=L,w=P;for(y>=0&&(f=H,H=0,o=o.replace(".",""),m=(b=new W(a)).pow(o.length-y),H=f,b.c=i(T(S(m.c),m.e,"0"),10,s,n),b.e=b.c.length),p=f=(g=i(o,a,s,u?(c=G,n):(c=n,G))).length;0==g[--f];g.pop());if(!g[0])return c.charAt(0);if(y<0?--p:(m.c=g,m.e=p,m.s=l,g=(m=D(m,b,v,w,s)).c,h=m.r,p=m.e),y=g[d=p+v+1],f=s/2,h=h||d<0||null!=g[d+1],h=w<4?(null!=y||h)&&(0==w||w==(m.s<0?3:2)):y>f||y==f&&(4==w||h||6==w&&1&g[d-1]||w==(m.s<0?8:7)),d<1||!g[0])o=h?T(c.charAt(1),-v,c.charAt(0)):c.charAt(0);else{if(g.length=d,h)for(--s;++g[--d]>s;)g[d]=0,d||(++p,g=[1].concat(g));for(f=g.length;!g[--f];);for(y=0,o="";y<=f;o+=c.charAt(g[y++]));o=T(o,p,c.charAt(0))}return o}}(),D=function(){function n(n,i,o){var a,s,l,u,c=0,d=n.length,p=i%y,f=i/y|0;for(n=n.slice();d--;)a=f*(l=n[d]%y)+(u=n[d]/y|0)*p,c=((s=p*l+a%y*y+c)/o|0)+(a/y|0)+f*u,n[d]=s%o;return c&&(n=[c].concat(n)),n}function i(n,i,o,a){var s,l;if(o!=a)l=o>a?1:-1;else for(s=l=0;si[s]?1:-1;break}return l}function o(n,i,o,a){for(var s=0;o--;)n[o]-=s,s=n[o]1;n.splice(0,1));}return function(a,s,l,u,c){var p,f,g,b,y,v,w,S,x,_,k,A,T,C,R,D,O,I=a.s==s.s?1:-1,N=a.c,M=s.c;if(!N||!N[0]||!M||!M[0])return new W(a.s&&s.s&&(N?!M||N[0]!=M[0]:M)?N&&0==N[0]||!M?0*I:I/0:NaN);for(x=(S=new W(I)).c=[],I=l+(f=a.e-s.e)+1,c||(c=h,f=E(a.e/m)-E(s.e/m),I=I/m|0),g=0;M[g]==(N[g]||0);g++);if(M[g]>(N[g]||0)&&f--,I<0)x.push(1),b=!0;else{for(C=N.length,D=M.length,g=0,I+=2,(y=d(c/(M[0]+1)))>1&&(M=n(M,y,c),N=n(N,y,c),D=M.length,C=N.length),T=D,k=(_=N.slice(0,D)).length;k=c/2&&R++;do{if(y=0,(p=i(M,_,D,k))<0){if(A=_[0],D!=k&&(A=A*c+(_[1]||0)),(y=d(A/R))>1)for(y>=c&&(y=c-1),w=(v=n(M,y,c)).length,k=_.length;1==i(v,_,w,k);)y--,o(v,Di(M,_,D,k);)y++,o(_,D=10;I/=10,g++);X(S,l+(S.e=g+f*m-1)+1,u,b)}else S.e=f,S.r=+b;return S}}(),a=/^(-?)0([xbo])(?=\w[\w.]*$)/i,s=/^([^.]+)\.$/,l=/^\.([^.]+)$/,C=/^-?(Infinity|NaN)$/,R=/^\s*\+(?=[\w.])|^\s+|\s+$/g,I=function(n,i,o,u){var c,d=o?i:i.replace(R,"");if(C.test(d))n.s=isNaN(d)?null:d<0?-1:1;else{if(!o&&(d=d.replace(a,function(n,i,o){return c="x"==(o=o.toLowerCase())?16:"b"==o?2:8,u&&u!=c?n:i}),u&&(c=u,d=d.replace(s,"$1").replace(l,"0.$1")),i!=d))return new W(d,c);if(W.DEBUG)throw Error(p+"Not a"+(u?" base "+u:"")+" number: "+i);n.s=null}n.c=n.e=null},N.absoluteValue=N.abs=function(){var n=new W(this);return n.s<0&&(n.s=1),n},N.comparedTo=function(n,i){return x(this,new W(n,i))},N.decimalPlaces=N.dp=function(n,i){var o,a,s,l=this;if(null!=n)return _(n,0,v),null==i?i=P:_(i,0,8),X(new W(l),n+l.e+1,i);if(!(o=l.c))return null;if(a=((s=o.length-1)-E(this.e/m))*m,s=o[s])for(;s%10==0;s/=10,a--);return a<0&&(a=0),a},N.dividedBy=N.div=function(n,i){return D(this,new W(n,i),L,P)},N.dividedToIntegerBy=N.idiv=function(n,i){return D(this,new W(n,i),0,1)},N.exponentiatedBy=N.pow=function(n,i){var o,a,s,l,u,f,h,g,b,y=this;if((n=new W(n)).c&&!n.isInteger())throw Error(p+"Exponent not an integer: "+J(n));if(null!=i&&(i=new W(i)),f=n.e>14,!y.c||!y.c[0]||1==y.c[0]&&!y.e&&1==y.c.length||!n.c||!n.c[0])return b=new W(Math.pow(+J(y),f?n.s*(2-k(n)):+J(n))),i?b.mod(i):b;if(h=n.s<0,i){if(i.c?!i.c[0]:!i.s)return new W(NaN);(a=!h&&y.isInteger()&&i.isInteger())&&(y=y.mod(i))}else{if(n.e>9&&(y.e>0||y.e<-1||(0==y.e?y.c[0]>1||f&&y.c[1]>=24e7:y.c[0]<8e13||f&&y.c[0]<=9999975e7)))return y.s<0&&k(n),l=-0,y.e>-1&&(l=1/l),new W(h?1/l:l);H&&(l=c(H/m+2))}for(f?(o=new W(.5),h&&(n.s=1),g=k(n)):g=(s=Math.abs(+J(n)))%2,b=new W(M);;){if(g){if(!(b=b.times(y)).c)break;l?b.c.length>l&&(b.c.length=l):a&&(b=b.mod(i))}if(s){if(0===(s=d(s/2)))break;g=s%2}else if(X(n=n.times(o),n.e+1,1),n.e>14)g=k(n);else{if(0==(s=+J(n)))break;g=s%2}y=y.times(y),l?y.c&&y.c.length>l&&(y.c.length=l):a&&(y=y.mod(i))}return a?b:(h&&(b=M.div(b)),i?b.mod(i):l?X(b,H,P,u):b)},N.integerValue=function(n){var i=new W(this);return null==n?n=P:_(n,0,8),X(i,i.e+1,n)},N.isEqualTo=N.eq=function(n,i){return 0===x(this,new W(n,i))},N.isFinite=function(){return!!this.c},N.isGreaterThan=N.gt=function(n,i){return x(this,new W(n,i))>0},N.isGreaterThanOrEqualTo=N.gte=function(n,i){return 1===(i=x(this,new W(n,i)))||0===i},N.isInteger=function(){return!!this.c&&E(this.e/m)>this.c.length-2},N.isLessThan=N.lt=function(n,i){return 0>x(this,new W(n,i))},N.isLessThanOrEqualTo=N.lte=function(n,i){return -1===(i=x(this,new W(n,i)))||0===i},N.isNaN=function(){return!this.s},N.isNegative=function(){return this.s<0},N.isPositive=function(){return this.s>0},N.isZero=function(){return!!this.c&&0==this.c[0]},N.minus=function(n,i){var o,a,s,l,u=this,c=u.s;if(i=(n=new W(n,i)).s,!c||!i)return new W(NaN);if(c!=i)return n.s=-i,u.plus(n);var d=u.e/m,p=n.e/m,f=u.c,g=n.c;if(!d||!p){if(!f||!g)return f?(n.s=-i,n):new W(g?u:NaN);if(!f[0]||!g[0])return g[0]?(n.s=-i,n):new W(f[0]?u:-0)}if(d=E(d),p=E(p),f=f.slice(),c=d-p){for((l=c<0)?(c=-c,s=f):(p=d,s=g),s.reverse(),i=c;i--;s.push(0));s.reverse()}else for(a=(l=(c=f.length)<(i=g.length))?c:i,c=i=0;i0)for(;i--;f[o++]=0);for(i=h-1;a>c;){if(f[--a]=0;){for(o=0,b=A[s]%x,v=A[s]/x|0,u=d,l=s+u;l>s;)c=v*(p=k[--u]%x)+(f=k[u]/x|0)*b,o=((p=b*p+c%x*x+w[l]+o)/S|0)+(c/x|0)+v*f,w[l--]=p%S;w[l]=o}return o?++a:w.splice(0,1),Z(n,w,a)},N.negated=function(){var n=new W(this);return n.s=-n.s||null,n},N.plus=function(n,i){var o,a=this,s=a.s;if(i=(n=new W(n,i)).s,!s||!i)return new W(NaN);if(s!=i)return n.s=-i,a.minus(n);var l=a.e/m,u=n.e/m,c=a.c,d=n.c;if(!l||!u){if(!c||!d)return new W(s/0);if(!c[0]||!d[0])return d[0]?n:new W(c[0]?a:0*s)}if(l=E(l),u=E(u),c=c.slice(),s=l-u){for(s>0?(u=l,o=d):(s=-s,o=c),o.reverse();s--;o.push(0));o.reverse()}for((s=c.length)-(i=d.length)<0&&(o=d,d=c,c=o,i=s),s=0;i;)s=(c[--i]=c[i]+d[i]+s)/h|0,c[i]=h===c[i]?0:c[i]%h;return s&&(c=[s].concat(c),++u),Z(n,c,u)},N.precision=N.sd=function(n,i){var o,a,s,l=this;if(null!=n&&!!n!==n)return _(n,1,v),null==i?i=P:_(i,0,8),X(new W(l),n,i);if(!(o=l.c))return null;if(a=(s=o.length-1)*m+1,s=o[s]){for(;s%10==0;s/=10,a--);for(s=o[0];s>=10;s/=10,a++);}return n&&l.e+1>a&&(a=l.e+1),a},N.shiftedBy=function(n){return _(n,-g,g),this.times("1e"+n)},N.squareRoot=N.sqrt=function(){var n,i,o,a,s,l=this,u=l.c,c=l.s,d=l.e,p=L+4,f=new W("0.5");if(1!==c||!u||!u[0])return new W(!c||c<0&&(!u||u[0])?NaN:u?l:1/0);if(0==(c=Math.sqrt(+J(l)))||c==1/0?(((i=S(u)).length+d)%2==0&&(i+="0"),c=Math.sqrt(+i),d=E((d+1)/2)-(d<0||d%2),i=c==1/0?"5e"+d:(i=c.toExponential()).slice(0,i.indexOf("e")+1)+d,o=new W(i)):o=new W(c+""),o.c[0]){for((c=(d=o.e)+p)<3&&(c=0);;)if(s=o,o=f.times(s.plus(D(l,s,p,1))),S(s.c).slice(0,c)===(i=S(o.c)).slice(0,c)){if(o.e0&&y>0){for(l=y%c||c,h=b.substr(0,l);l0&&(h+=f+b.slice(l)),g&&(h="-"+h)}a=m?h+(o.decimalSeparator||"")+((d=+o.fractionGroupSize)?m.replace(RegExp("\\d{"+d+"}\\B","g"),"$&"+(o.fractionGroupSeparator||"")):m):h}return(o.prefix||"")+a+(o.suffix||"")},N.toFraction=function(n){var i,o,a,s,l,u,c,d,f,h,g,y,v=this,w=v.c;if(null!=n&&(!(c=new W(n)).isInteger()&&(c.c||1!==c.s)||c.lt(M)))throw Error(p+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+J(c));if(!w)return new W(v);for(i=new W(M),f=o=new W(M),a=d=new W(M),y=S(w),l=i.e=y.length-v.e-1,i.c[0]=b[(u=l%m)<0?m+u:u],n=!n||c.comparedTo(i)>0?l>0?i:f:c,u=z,z=1/0,c=new W(y),d.c[0]=0;h=D(c,i,0,1),1!=(s=o.plus(h.times(a))).comparedTo(n);)o=a,a=s,f=d.plus(h.times(s=f)),d=s,i=c.minus(h.times(s=i)),c=s;return s=D(n.minus(o),a,0,1),d=d.plus(s.times(f)),o=o.plus(s.times(a)),d.s=f.s=v.s,l*=2,g=1>D(f,a,l,P).minus(v).abs().comparedTo(D(d,o,l,P).minus(v).abs())?[f,a]:[d,o],z=u,g},N.toNumber=function(){return+J(this)},N.toPrecision=function(n,i){return null!=n&&_(n,1,v),K(this,n,i,2)},N.toString=function(n){var i,o=this,a=o.s,s=o.e;return null===s?a?(i="Infinity",a<0&&(i="-"+i)):i="NaN":(null==n?i=s<=F||s>=B?A(S(o.c),s):T(S(o.c),s,"0"):10===n&&q?i=T(S((o=X(new W(o),L+s+1,P)).c),o.e,"0"):(_(n,2,G.length,"Base"),i=O(T(S(o.c),s,"0"),10,n,a,!0)),a<0&&o.c[0]&&(i="-"+i)),i},N.valueOf=N.toJSON=function(){return J(this)},N._isBigNumber=!0,null!=n&&W.set(n),W}function E(n){var i=0|n;return n>0||n===i?i:i-1}function S(n){for(var i,o,a=1,s=n.length,l=n[0]+"";ap^o?1:-1;for(u=0,c=(d=s.length)<(p=l.length)?d:p;ul[u]^o?1:-1;return d==p?0:d>p^o?1:-1}function _(n,i,o,a){if(no||n!==d(n))throw Error(p+(a||"Argument")+("number"==typeof n?no?" out of range: ":" not an integer: ":" not a primitive number: ")+String(n))}function k(n){var i=n.c.length-1;return E(n.e/m)==i&&n.c[i]%2!=0}function A(n,i){return(n.length>1?n.charAt(0)+"."+n.slice(1):n)+(i<0?"e":"e+")+i}function T(n,i,o){var a,s;if(i<0){for(s=o+".";++i;s+=o);n=s+n}else if(a=n.length,++i>a){for(s=o,i-=a;--i;s+=o);n+=s}else i0&&o[1]||""},n.getSecondMatch=function(n,i){var o=i.match(n);return o&&o.length>1&&o[2]||""},n.matchAndReturnConst=function(n,i,o){if(n.test(i))return o},n.getWindowsVersionName=function(n){switch(n){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},n.getMacOSVersionName=function(n){var i=n.split(".").splice(0,2).map(function(n){return parseInt(n,10)||0});if(i.push(0),10===i[0])switch(i[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},n.getAndroidVersionName=function(n){var i=n.split(".").splice(0,2).map(function(n){return parseInt(n,10)||0});if(i.push(0),!(1===i[0]&&i[1]<5))return 1===i[0]&&i[1]<6?"Cupcake":1===i[0]&&i[1]>=6?"Donut":2===i[0]&&i[1]<2?"Eclair":2===i[0]&&2===i[1]?"Froyo":2===i[0]&&i[1]>2?"Gingerbread":3===i[0]?"Honeycomb":4===i[0]&&i[1]<1?"Ice Cream Sandwich":4===i[0]&&i[1]<4?"Jelly Bean":4===i[0]&&i[1]>=4?"KitKat":5===i[0]?"Lollipop":6===i[0]?"Marshmallow":7===i[0]?"Nougat":8===i[0]?"Oreo":9===i[0]?"Pie":void 0},n.getVersionPrecision=function(n){return n.split(".").length},n.compareVersions=function(i,o,a){void 0===a&&(a=!1);var s=n.getVersionPrecision(i),l=n.getVersionPrecision(o),u=Math.max(s,l),c=0,d=n.map([i,o],function(i){var o=u-n.getVersionPrecision(i),a=i+Array(o+1).join(".0");return n.map(a.split("."),function(n){return Array(20-n.length).join("0")+n}).reverse()});for(a&&(c=u-Math.min(s,l)),u-=1;u>=c;){if(d[0][u]>d[1][u])return 1;if(d[0][u]===d[1][u]){if(u===c)return 0;u-=1}else if(d[0][u]1?s-1:0),u=1;u0){var u=Object.keys(o),d=c.default.find(u,function(n){return i.isOS(n)});if(d){var p=this.satisfies(o[d]);if(void 0!==p)return p}var f=c.default.find(u,function(n){return i.isPlatform(n)});if(f){var h=this.satisfies(o[f]);if(void 0!==h)return h}}if(l>0){var m=Object.keys(s),g=c.default.find(m,function(n){return i.isBrowser(n,!0)});if(void 0!==g)return this.compareVersion(s[g])}},i.isBrowser=function(n,i){void 0===i&&(i=!1);var o=this.getBrowserName().toLowerCase(),a=n.toLowerCase(),s=c.default.getBrowserTypeByAlias(a);return i&&s&&(a=s.toLowerCase()),a===o},i.compareVersion=function(n){var i=[0],o=n,a=!1,s=this.getBrowserVersion();if("string"==typeof s)return">"===n[0]||"<"===n[0]?(o=n.substr(1),"="===n[1]?(a=!0,o=n.substr(2)):i=[],">"===n[0]?i.push(1):i.push(-1)):"="===n[0]?o=n.substr(1):"~"===n[0]&&(a=!0,o=n.substr(1)),i.indexOf(c.default.compareVersions(s,o,a))>-1},i.isOS=function(n){return this.getOSName(!0)===String(n).toLowerCase()},i.isPlatform=function(n){return this.getPlatformType(!0)===String(n).toLowerCase()},i.isEngine=function(n){return this.getEngineName(!0)===String(n).toLowerCase()},i.is=function(n,i){return void 0===i&&(i=!1),this.isBrowser(n,i)||this.isOS(n)||this.isPlatform(n)},i.some=function(n){var i=this;return void 0===n&&(n=[]),n.some(function(n){return i.is(n)})},n}();i.default=p,n.exports=i.default},92:function(n,i,o){"use strict";i.__esModule=!0,i.default=void 0;var a,s=(a=o(17))&&a.__esModule?a:{default:a},l=/version\/(\d+(\.?_?\d+)+)/i,u=[{test:[/googlebot/i],describe:function(n){var i={name:"Googlebot"},o=s.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,n)||s.default.getFirstMatch(l,n);return o&&(i.version=o),i}},{test:[/opera/i],describe:function(n){var i={name:"Opera"},o=s.default.getFirstMatch(l,n)||s.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/opr\/|opios/i],describe:function(n){var i={name:"Opera"},o=s.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,n)||s.default.getFirstMatch(l,n);return o&&(i.version=o),i}},{test:[/SamsungBrowser/i],describe:function(n){var i={name:"Samsung Internet for Android"},o=s.default.getFirstMatch(l,n)||s.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/Whale/i],describe:function(n){var i={name:"NAVER Whale Browser"},o=s.default.getFirstMatch(l,n)||s.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/MZBrowser/i],describe:function(n){var i={name:"MZ Browser"},o=s.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,n)||s.default.getFirstMatch(l,n);return o&&(i.version=o),i}},{test:[/focus/i],describe:function(n){var i={name:"Focus"},o=s.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,n)||s.default.getFirstMatch(l,n);return o&&(i.version=o),i}},{test:[/swing/i],describe:function(n){var i={name:"Swing"},o=s.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,n)||s.default.getFirstMatch(l,n);return o&&(i.version=o),i}},{test:[/coast/i],describe:function(n){var i={name:"Opera Coast"},o=s.default.getFirstMatch(l,n)||s.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(n){var i={name:"Opera Touch"},o=s.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,n)||s.default.getFirstMatch(l,n);return o&&(i.version=o),i}},{test:[/yabrowser/i],describe:function(n){var i={name:"Yandex Browser"},o=s.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,n)||s.default.getFirstMatch(l,n);return o&&(i.version=o),i}},{test:[/ucbrowser/i],describe:function(n){var i={name:"UC Browser"},o=s.default.getFirstMatch(l,n)||s.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/Maxthon|mxios/i],describe:function(n){var i={name:"Maxthon"},o=s.default.getFirstMatch(l,n)||s.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/epiphany/i],describe:function(n){var i={name:"Epiphany"},o=s.default.getFirstMatch(l,n)||s.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/puffin/i],describe:function(n){var i={name:"Puffin"},o=s.default.getFirstMatch(l,n)||s.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/sleipnir/i],describe:function(n){var i={name:"Sleipnir"},o=s.default.getFirstMatch(l,n)||s.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/k-meleon/i],describe:function(n){var i={name:"K-Meleon"},o=s.default.getFirstMatch(l,n)||s.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/micromessenger/i],describe:function(n){var i={name:"WeChat"},o=s.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,n)||s.default.getFirstMatch(l,n);return o&&(i.version=o),i}},{test:[/qqbrowser/i],describe:function(n){var i={name:/qqbrowserlite/i.test(n)?"QQ Browser Lite":"QQ Browser"},o=s.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,n)||s.default.getFirstMatch(l,n);return o&&(i.version=o),i}},{test:[/msie|trident/i],describe:function(n){var i={name:"Internet Explorer"},o=s.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/\sedg\//i],describe:function(n){var i={name:"Microsoft Edge"},o=s.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/edg([ea]|ios)/i],describe:function(n){var i={name:"Microsoft Edge"},o=s.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/vivaldi/i],describe:function(n){var i={name:"Vivaldi"},o=s.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/seamonkey/i],describe:function(n){var i={name:"SeaMonkey"},o=s.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/sailfish/i],describe:function(n){var i={name:"Sailfish"},o=s.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,n);return o&&(i.version=o),i}},{test:[/silk/i],describe:function(n){var i={name:"Amazon Silk"},o=s.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/phantom/i],describe:function(n){var i={name:"PhantomJS"},o=s.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/slimerjs/i],describe:function(n){var i={name:"SlimerJS"},o=s.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(n){var i={name:"BlackBerry"},o=s.default.getFirstMatch(l,n)||s.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/(web|hpw)[o0]s/i],describe:function(n){var i={name:"WebOS Browser"},o=s.default.getFirstMatch(l,n)||s.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/bada/i],describe:function(n){var i={name:"Bada"},o=s.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/tizen/i],describe:function(n){var i={name:"Tizen"},o=s.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,n)||s.default.getFirstMatch(l,n);return o&&(i.version=o),i}},{test:[/qupzilla/i],describe:function(n){var i={name:"QupZilla"},o=s.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,n)||s.default.getFirstMatch(l,n);return o&&(i.version=o),i}},{test:[/firefox|iceweasel|fxios/i],describe:function(n){var i={name:"Firefox"},o=s.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/electron/i],describe:function(n){var i={name:"Electron"},o=s.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/MiuiBrowser/i],describe:function(n){var i={name:"Miui"},o=s.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/chromium/i],describe:function(n){var i={name:"Chromium"},o=s.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,n)||s.default.getFirstMatch(l,n);return o&&(i.version=o),i}},{test:[/chrome|crios|crmo/i],describe:function(n){var i={name:"Chrome"},o=s.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/GSA/i],describe:function(n){var i={name:"Google Search"},o=s.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:function(n){var i=!n.test(/like android/i),o=n.test(/android/i);return i&&o},describe:function(n){var i={name:"Android Browser"},o=s.default.getFirstMatch(l,n);return o&&(i.version=o),i}},{test:[/playstation 4/i],describe:function(n){var i={name:"PlayStation 4"},o=s.default.getFirstMatch(l,n);return o&&(i.version=o),i}},{test:[/safari|applewebkit/i],describe:function(n){var i={name:"Safari"},o=s.default.getFirstMatch(l,n);return o&&(i.version=o),i}},{test:[/.*/i],describe:function(n){var i=-1!==n.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:s.default.getFirstMatch(i,n),version:s.default.getSecondMatch(i,n)}}}];i.default=u,n.exports=i.default},93:function(n,i,o){"use strict";i.__esModule=!0,i.default=void 0;var a,s=(a=o(17))&&a.__esModule?a:{default:a},l=o(18),u=[{test:[/Roku\/DVP/],describe:function(n){var i=s.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,n);return{name:l.OS_MAP.Roku,version:i}}},{test:[/windows phone/i],describe:function(n){var i=s.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,n);return{name:l.OS_MAP.WindowsPhone,version:i}}},{test:[/windows /i],describe:function(n){var i=s.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,n),o=s.default.getWindowsVersionName(i);return{name:l.OS_MAP.Windows,version:i,versionName:o}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(n){var i={name:l.OS_MAP.iOS},o=s.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,n);return o&&(i.version=o),i}},{test:[/macintosh/i],describe:function(n){var i=s.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,n).replace(/[_\s]/g,"."),o=s.default.getMacOSVersionName(i),a={name:l.OS_MAP.MacOS,version:i};return o&&(a.versionName=o),a}},{test:[/(ipod|iphone|ipad)/i],describe:function(n){var i=s.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,n).replace(/[_\s]/g,".");return{name:l.OS_MAP.iOS,version:i}}},{test:function(n){var i=!n.test(/like android/i),o=n.test(/android/i);return i&&o},describe:function(n){var i=s.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,n),o=s.default.getAndroidVersionName(i),a={name:l.OS_MAP.Android,version:i};return o&&(a.versionName=o),a}},{test:[/(web|hpw)[o0]s/i],describe:function(n){var i=s.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,n),o={name:l.OS_MAP.WebOS};return i&&i.length&&(o.version=i),o}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(n){var i=s.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,n)||s.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,n)||s.default.getFirstMatch(/\bbb(\d+)/i,n);return{name:l.OS_MAP.BlackBerry,version:i}}},{test:[/bada/i],describe:function(n){var i=s.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,n);return{name:l.OS_MAP.Bada,version:i}}},{test:[/tizen/i],describe:function(n){var i=s.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,n);return{name:l.OS_MAP.Tizen,version:i}}},{test:[/linux/i],describe:function(){return{name:l.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:l.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(n){var i=s.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,n);return{name:l.OS_MAP.PlayStation4,version:i}}}];i.default=u,n.exports=i.default},94:function(n,i,o){"use strict";i.__esModule=!0,i.default=void 0;var a,s=(a=o(17))&&a.__esModule?a:{default:a},l=o(18),u=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(n){var i=s.default.getFirstMatch(/(can-l01)/i,n)&&"Nova",o={type:l.PLATFORMS_MAP.mobile,vendor:"Huawei"};return i&&(o.model=i),o}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:l.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:l.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:l.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:l.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:l.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:l.PLATFORMS_MAP.tablet}}},{test:function(n){var i=n.test(/ipod|iphone/i),o=n.test(/like (ipod|iphone)/i);return i&&!o},describe:function(n){var i=s.default.getFirstMatch(/(ipod|iphone)/i,n);return{type:l.PLATFORMS_MAP.mobile,vendor:"Apple",model:i}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:l.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:l.PLATFORMS_MAP.mobile}}},{test:function(n){return"blackberry"===n.getBrowserName(!0)},describe:function(){return{type:l.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(n){return"bada"===n.getBrowserName(!0)},describe:function(){return{type:l.PLATFORMS_MAP.mobile}}},{test:function(n){return"windows phone"===n.getBrowserName()},describe:function(){return{type:l.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(n){var i=Number(String(n.getOSVersion()).split(".")[0]);return"android"===n.getOSName(!0)&&i>=3},describe:function(){return{type:l.PLATFORMS_MAP.tablet}}},{test:function(n){return"android"===n.getOSName(!0)},describe:function(){return{type:l.PLATFORMS_MAP.mobile}}},{test:function(n){return"macos"===n.getOSName(!0)},describe:function(){return{type:l.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(n){return"windows"===n.getOSName(!0)},describe:function(){return{type:l.PLATFORMS_MAP.desktop}}},{test:function(n){return"linux"===n.getOSName(!0)},describe:function(){return{type:l.PLATFORMS_MAP.desktop}}},{test:function(n){return"playstation 4"===n.getOSName(!0)},describe:function(){return{type:l.PLATFORMS_MAP.tv}}},{test:function(n){return"roku"===n.getOSName(!0)},describe:function(){return{type:l.PLATFORMS_MAP.tv}}}];i.default=u,n.exports=i.default},95:function(n,i,o){"use strict";i.__esModule=!0,i.default=void 0;var a,s=(a=o(17))&&a.__esModule?a:{default:a},l=o(18),u=[{test:function(n){return"microsoft edge"===n.getBrowserName(!0)},describe:function(n){if(/\sedg\//i.test(n))return{name:l.ENGINE_MAP.Blink};var i=s.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,n);return{name:l.ENGINE_MAP.EdgeHTML,version:i}}},{test:[/trident/i],describe:function(n){var i={name:l.ENGINE_MAP.Trident},o=s.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:function(n){return n.test(/presto/i)},describe:function(n){var i={name:l.ENGINE_MAP.Presto},o=s.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:function(n){var i=n.test(/gecko/i),o=n.test(/like gecko/i);return i&&!o},describe:function(n){var i={name:l.ENGINE_MAP.Gecko},o=s.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:l.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(n){var i={name:l.ENGINE_MAP.WebKit},o=s.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,n);return o&&(i.version=o),i}}];i.default=u,n.exports=i.default}})},n.exports=o()},48764:function(n,i,o){"use strict";/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT - */ let a=o(79742),s=o(80645),l="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;i.Buffer=p,i.SlowBuffer=x,i.INSPECT_MAX_BYTES=50;let u=2147483647;function c(){try{let n=new Uint8Array(1),i={foo:function(){return 42}};return Object.setPrototypeOf(i,Uint8Array.prototype),Object.setPrototypeOf(n,i),42===n.foo()}catch(o){return!1}}function d(n){if(n>u)throw RangeError('The value "'+n+'" is invalid for option "size"');let i=new Uint8Array(n);return Object.setPrototypeOf(i,p.prototype),i}function p(n,i,o){if("number"==typeof n){if("string"==typeof i)throw TypeError('The "string" argument must be of type string. Received type number');return g(n)}return f(n,i,o)}function f(n,i,o){if("string"==typeof n)return b(n,i);if(ArrayBuffer.isView(n))return v(n);if(null==n)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n);if(eu(n,ArrayBuffer)||n&&eu(n.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(eu(n,SharedArrayBuffer)||n&&eu(n.buffer,SharedArrayBuffer)))return w(n,i,o);if("number"==typeof n)throw TypeError('The "value" argument must not be of type number. Received type number');let a=n.valueOf&&n.valueOf();if(null!=a&&a!==n)return p.from(a,i,o);let s=E(n);if(s)return s;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof n[Symbol.toPrimitive])return p.from(n[Symbol.toPrimitive]("string"),i,o);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n)}function h(n){if("number"!=typeof n)throw TypeError('"size" argument must be of type number');if(n<0)throw RangeError('The value "'+n+'" is invalid for option "size"')}function m(n,i,o){return(h(n),n<=0)?d(n):void 0!==i?"string"==typeof o?d(n).fill(i,o):d(n).fill(i):d(n)}function g(n){return h(n),d(n<0?0:0|S(n))}function b(n,i){if(("string"!=typeof i||""===i)&&(i="utf8"),!p.isEncoding(i))throw TypeError("Unknown encoding: "+i);let o=0|_(n,i),a=d(o),s=a.write(n,i);return s!==o&&(a=a.slice(0,s)),a}function y(n){let i=n.length<0?0:0|S(n.length),o=d(i);for(let a=0;a=u)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+u.toString(16)+" bytes");return 0|n}function x(n){return+n!=n&&(n=0),p.alloc(+n)}function _(n,i){if(p.isBuffer(n))return n.length;if(ArrayBuffer.isView(n)||eu(n,ArrayBuffer))return n.byteLength;if("string"!=typeof n)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof n);let o=n.length,a=arguments.length>2&&!0===arguments[2];if(!a&&0===o)return 0;let s=!1;for(;;)switch(i){case"ascii":case"latin1":case"binary":return o;case"utf8":case"utf-8":return ei(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*o;case"hex":return o>>>1;case"base64":return es(n).length;default:if(s)return a?-1:ei(n).length;i=(""+i).toLowerCase(),s=!0}}function k(n,i,o){let a=!1;if((void 0===i||i<0)&&(i=0),i>this.length||((void 0===o||o>this.length)&&(o=this.length),o<=0||(o>>>=0)<=(i>>>=0)))return"";for(n||(n="utf8");;)switch(n){case"hex":return z(this,i,o);case"utf8":case"utf-8":return L(this,i,o);case"ascii":return B(this,i,o);case"latin1":case"binary":return U(this,i,o);case"base64":return M(this,i,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,i,o);default:if(a)throw TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),a=!0}}function A(n,i,o){let a=n[i];n[i]=n[o],n[o]=a}function T(n,i,o,a,s){if(0===n.length)return -1;if("string"==typeof o?(a=o,o=0):o>2147483647?o=2147483647:o<-2147483648&&(o=-2147483648),ec(o=+o)&&(o=s?0:n.length-1),o<0&&(o=n.length+o),o>=n.length){if(s)return -1;o=n.length-1}else if(o<0){if(!s)return -1;o=0}if("string"==typeof i&&(i=p.from(i,a)),p.isBuffer(i))return 0===i.length?-1:C(n,i,o,a,s);if("number"==typeof i)return(i&=255,"function"==typeof Uint8Array.prototype.indexOf)?s?Uint8Array.prototype.indexOf.call(n,i,o):Uint8Array.prototype.lastIndexOf.call(n,i,o):C(n,[i],o,a,s);throw TypeError("val must be string, number or Buffer")}function C(n,i,o,a,s){let l,u=1,c=n.length,d=i.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(n.length<2||i.length<2)return -1;u=2,c/=2,d/=2,o/=2}function p(n,i){return 1===u?n[i]:n.readUInt16BE(i*u)}if(s){let f=-1;for(l=o;lc&&(o=c-d),l=o;l>=0;l--){let h=!0;for(let m=0;ml&&(a=l):a=l;let u=i.length;for(a>u/2&&(a=u/2),s=0;s239?4:l>223?3:l>191?2:1;if(s+c<=o){let d,p,f,h;switch(c){case 1:l<128&&(u=l);break;case 2:(192&(d=n[s+1]))==128&&(h=(31&l)<<6|63&d)>127&&(u=h);break;case 3:d=n[s+1],p=n[s+2],(192&d)==128&&(192&p)==128&&(h=(15&l)<<12|(63&d)<<6|63&p)>2047&&(h<55296||h>57343)&&(u=h);break;case 4:d=n[s+1],p=n[s+2],f=n[s+3],(192&d)==128&&(192&p)==128&&(192&f)==128&&(h=(15&l)<<18|(63&d)<<12|(63&p)<<6|63&f)>65535&&h<1114112&&(u=h)}}null===u?(u=65533,c=1):u>65535&&(u-=65536,a.push(u>>>10&1023|55296),u=56320|1023&u),a.push(u),s+=c}return F(a)}i.kMaxLength=u,p.TYPED_ARRAY_SUPPORT=c(),p.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(p.prototype,"parent",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.buffer}}),Object.defineProperty(p.prototype,"offset",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.byteOffset}}),p.poolSize=8192,p.from=function(n,i,o){return f(n,i,o)},Object.setPrototypeOf(p.prototype,Uint8Array.prototype),Object.setPrototypeOf(p,Uint8Array),p.alloc=function(n,i,o){return m(n,i,o)},p.allocUnsafe=function(n){return g(n)},p.allocUnsafeSlow=function(n){return g(n)},p.isBuffer=function(n){return null!=n&&!0===n._isBuffer&&n!==p.prototype},p.compare=function(n,i){if(eu(n,Uint8Array)&&(n=p.from(n,n.offset,n.byteLength)),eu(i,Uint8Array)&&(i=p.from(i,i.offset,i.byteLength)),!p.isBuffer(n)||!p.isBuffer(i))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(n===i)return 0;let o=n.length,a=i.length;for(let s=0,l=Math.min(o,a);sa.length?(p.isBuffer(l)||(l=p.from(l)),l.copy(a,s)):Uint8Array.prototype.set.call(a,l,s);else if(p.isBuffer(l))l.copy(a,s);else throw TypeError('"list" argument must be an Array of Buffers');s+=l.length}return a},p.byteLength=_,p.prototype._isBuffer=!0,p.prototype.swap16=function(){let n=this.length;if(n%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let i=0;io&&(n+=" ... "),""},l&&(p.prototype[l]=p.prototype.inspect),p.prototype.compare=function(n,i,o,a,s){if(eu(n,Uint8Array)&&(n=p.from(n,n.offset,n.byteLength)),!p.isBuffer(n))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof n);if(void 0===i&&(i=0),void 0===o&&(o=n?n.length:0),void 0===a&&(a=0),void 0===s&&(s=this.length),i<0||o>n.length||a<0||s>this.length)throw RangeError("out of range index");if(a>=s&&i>=o)return 0;if(a>=s)return -1;if(i>=o)return 1;if(i>>>=0,o>>>=0,a>>>=0,s>>>=0,this===n)return 0;let l=s-a,u=o-i,c=Math.min(l,u),d=this.slice(a,s),f=n.slice(i,o);for(let h=0;h>>=0,isFinite(o)?(o>>>=0,void 0===a&&(a="utf8")):(a=o,o=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let s=this.length-i;if((void 0===o||o>s)&&(o=s),n.length>0&&(o<0||i<0)||i>this.length)throw RangeError("Attempt to write outside buffer bounds");a||(a="utf8");let l=!1;for(;;)switch(a){case"hex":return R(this,n,i,o);case"utf8":case"utf-8":return D(this,n,i,o);case"ascii":case"latin1":case"binary":return O(this,n,i,o);case"base64":return I(this,n,i,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,n,i,o);default:if(l)throw TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),l=!0}},p.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};let P=4096;function F(n){let i=n.length;if(i<=P)return String.fromCharCode.apply(String,n);let o="",a=0;for(;aa)&&(o=a);let s="";for(let l=i;lo)throw RangeError("Trying to access beyond buffer length")}function H(n,i,o,a,s,l){if(!p.isBuffer(n))throw TypeError('"buffer" argument must be a Buffer instance');if(i>s||in.length)throw RangeError("Index out of range")}function V(n,i,o,a,s){Q(i,a,s,n,o,7);let l=Number(i&BigInt(4294967295));n[o++]=l,l>>=8,n[o++]=l,l>>=8,n[o++]=l,l>>=8,n[o++]=l;let u=Number(i>>BigInt(32)&BigInt(4294967295));return n[o++]=u,u>>=8,n[o++]=u,u>>=8,n[o++]=u,u>>=8,n[o++]=u,o}function G(n,i,o,a,s){Q(i,a,s,n,o,7);let l=Number(i&BigInt(4294967295));n[o+7]=l,l>>=8,n[o+6]=l,l>>=8,n[o+5]=l,l>>=8,n[o+4]=l;let u=Number(i>>BigInt(32)&BigInt(4294967295));return n[o+3]=u,u>>=8,n[o+2]=u,u>>=8,n[o+1]=u,u>>=8,n[o]=u,o+8}function q(n,i,o,a,s,l){if(o+a>n.length||o<0)throw RangeError("Index out of range")}function W(n,i,o,a,l){return i=+i,o>>>=0,l||q(n,i,o,4,34028234663852886e22,-34028234663852886e22),s.write(n,i,o,a,23,4),o+4}function K(n,i,o,a,l){return i=+i,o>>>=0,l||q(n,i,o,8,17976931348623157e292,-17976931348623157e292),s.write(n,i,o,a,52,8),o+8}p.prototype.slice=function(n,i){let o=this.length;n=~~n,i=void 0===i?o:~~i,n<0?(n+=o)<0&&(n=0):n>o&&(n=o),i<0?(i+=o)<0&&(i=0):i>o&&(i=o),i>>=0,i>>>=0,o||$(n,i,this.length);let a=this[n],s=1,l=0;for(;++l>>=0,i>>>=0,o||$(n,i,this.length);let a=this[n+--i],s=1;for(;i>0&&(s*=256);)a+=this[n+--i]*s;return a},p.prototype.readUint8=p.prototype.readUInt8=function(n,i){return n>>>=0,i||$(n,1,this.length),this[n]},p.prototype.readUint16LE=p.prototype.readUInt16LE=function(n,i){return n>>>=0,i||$(n,2,this.length),this[n]|this[n+1]<<8},p.prototype.readUint16BE=p.prototype.readUInt16BE=function(n,i){return n>>>=0,i||$(n,2,this.length),this[n]<<8|this[n+1]},p.prototype.readUint32LE=p.prototype.readUInt32LE=function(n,i){return n>>>=0,i||$(n,4,this.length),(this[n]|this[n+1]<<8|this[n+2]<<16)+16777216*this[n+3]},p.prototype.readUint32BE=p.prototype.readUInt32BE=function(n,i){return n>>>=0,i||$(n,4,this.length),16777216*this[n]+(this[n+1]<<16|this[n+2]<<8|this[n+3])},p.prototype.readBigUInt64LE=ep(function(n){ee(n>>>=0,"offset");let i=this[n],o=this[n+7];(void 0===i||void 0===o)&&et(n,this.length-8);let a=i+256*this[++n]+65536*this[++n]+16777216*this[++n],s=this[++n]+256*this[++n]+65536*this[++n]+16777216*o;return BigInt(a)+(BigInt(s)<>>=0,"offset");let i=this[n],o=this[n+7];(void 0===i||void 0===o)&&et(n,this.length-8);let a=16777216*i+65536*this[++n]+256*this[++n]+this[++n],s=16777216*this[++n]+65536*this[++n]+256*this[++n]+o;return(BigInt(a)<>>=0,i>>>=0,o||$(n,i,this.length);let a=this[n],s=1,l=0;for(;++l=(s*=128)&&(a-=Math.pow(2,8*i)),a},p.prototype.readIntBE=function(n,i,o){n>>>=0,i>>>=0,o||$(n,i,this.length);let a=i,s=1,l=this[n+--a];for(;a>0&&(s*=256);)l+=this[n+--a]*s;return l>=(s*=128)&&(l-=Math.pow(2,8*i)),l},p.prototype.readInt8=function(n,i){return(n>>>=0,i||$(n,1,this.length),128&this[n])?-((255-this[n]+1)*1):this[n]},p.prototype.readInt16LE=function(n,i){n>>>=0,i||$(n,2,this.length);let o=this[n]|this[n+1]<<8;return 32768&o?4294901760|o:o},p.prototype.readInt16BE=function(n,i){n>>>=0,i||$(n,2,this.length);let o=this[n+1]|this[n]<<8;return 32768&o?4294901760|o:o},p.prototype.readInt32LE=function(n,i){return n>>>=0,i||$(n,4,this.length),this[n]|this[n+1]<<8|this[n+2]<<16|this[n+3]<<24},p.prototype.readInt32BE=function(n,i){return n>>>=0,i||$(n,4,this.length),this[n]<<24|this[n+1]<<16|this[n+2]<<8|this[n+3]},p.prototype.readBigInt64LE=ep(function(n){ee(n>>>=0,"offset");let i=this[n],o=this[n+7];(void 0===i||void 0===o)&&et(n,this.length-8);let a=this[n+4]+256*this[n+5]+65536*this[n+6]+(o<<24);return(BigInt(a)<>>=0,"offset");let i=this[n],o=this[n+7];(void 0===i||void 0===o)&&et(n,this.length-8);let a=(i<<24)+65536*this[++n]+256*this[++n]+this[++n];return(BigInt(a)<>>=0,i||$(n,4,this.length),s.read(this,n,!0,23,4)},p.prototype.readFloatBE=function(n,i){return n>>>=0,i||$(n,4,this.length),s.read(this,n,!1,23,4)},p.prototype.readDoubleLE=function(n,i){return n>>>=0,i||$(n,8,this.length),s.read(this,n,!0,52,8)},p.prototype.readDoubleBE=function(n,i){return n>>>=0,i||$(n,8,this.length),s.read(this,n,!1,52,8)},p.prototype.writeUintLE=p.prototype.writeUIntLE=function(n,i,o,a){if(n=+n,i>>>=0,o>>>=0,!a){let s=Math.pow(2,8*o)-1;H(this,n,i,o,s,0)}let l=1,u=0;for(this[i]=255&n;++u>>=0,o>>>=0,!a){let s=Math.pow(2,8*o)-1;H(this,n,i,o,s,0)}let l=o-1,u=1;for(this[i+l]=255&n;--l>=0&&(u*=256);)this[i+l]=n/u&255;return i+o},p.prototype.writeUint8=p.prototype.writeUInt8=function(n,i,o){return n=+n,i>>>=0,o||H(this,n,i,1,255,0),this[i]=255&n,i+1},p.prototype.writeUint16LE=p.prototype.writeUInt16LE=function(n,i,o){return n=+n,i>>>=0,o||H(this,n,i,2,65535,0),this[i]=255&n,this[i+1]=n>>>8,i+2},p.prototype.writeUint16BE=p.prototype.writeUInt16BE=function(n,i,o){return n=+n,i>>>=0,o||H(this,n,i,2,65535,0),this[i]=n>>>8,this[i+1]=255&n,i+2},p.prototype.writeUint32LE=p.prototype.writeUInt32LE=function(n,i,o){return n=+n,i>>>=0,o||H(this,n,i,4,4294967295,0),this[i+3]=n>>>24,this[i+2]=n>>>16,this[i+1]=n>>>8,this[i]=255&n,i+4},p.prototype.writeUint32BE=p.prototype.writeUInt32BE=function(n,i,o){return n=+n,i>>>=0,o||H(this,n,i,4,4294967295,0),this[i]=n>>>24,this[i+1]=n>>>16,this[i+2]=n>>>8,this[i+3]=255&n,i+4},p.prototype.writeBigUInt64LE=ep(function(n,i=0){return V(this,n,i,BigInt(0),BigInt("0xffffffffffffffff"))}),p.prototype.writeBigUInt64BE=ep(function(n,i=0){return G(this,n,i,BigInt(0),BigInt("0xffffffffffffffff"))}),p.prototype.writeIntLE=function(n,i,o,a){if(n=+n,i>>>=0,!a){let s=Math.pow(2,8*o-1);H(this,n,i,o,s-1,-s)}let l=0,u=1,c=0;for(this[i]=255&n;++l>0)-c&255;return i+o},p.prototype.writeIntBE=function(n,i,o,a){if(n=+n,i>>>=0,!a){let s=Math.pow(2,8*o-1);H(this,n,i,o,s-1,-s)}let l=o-1,u=1,c=0;for(this[i+l]=255&n;--l>=0&&(u*=256);)n<0&&0===c&&0!==this[i+l+1]&&(c=1),this[i+l]=(n/u>>0)-c&255;return i+o},p.prototype.writeInt8=function(n,i,o){return n=+n,i>>>=0,o||H(this,n,i,1,127,-128),n<0&&(n=255+n+1),this[i]=255&n,i+1},p.prototype.writeInt16LE=function(n,i,o){return n=+n,i>>>=0,o||H(this,n,i,2,32767,-32768),this[i]=255&n,this[i+1]=n>>>8,i+2},p.prototype.writeInt16BE=function(n,i,o){return n=+n,i>>>=0,o||H(this,n,i,2,32767,-32768),this[i]=n>>>8,this[i+1]=255&n,i+2},p.prototype.writeInt32LE=function(n,i,o){return n=+n,i>>>=0,o||H(this,n,i,4,2147483647,-2147483648),this[i]=255&n,this[i+1]=n>>>8,this[i+2]=n>>>16,this[i+3]=n>>>24,i+4},p.prototype.writeInt32BE=function(n,i,o){return n=+n,i>>>=0,o||H(this,n,i,4,2147483647,-2147483648),n<0&&(n=4294967295+n+1),this[i]=n>>>24,this[i+1]=n>>>16,this[i+2]=n>>>8,this[i+3]=255&n,i+4},p.prototype.writeBigInt64LE=ep(function(n,i=0){return V(this,n,i,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),p.prototype.writeBigInt64BE=ep(function(n,i=0){return G(this,n,i,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),p.prototype.writeFloatLE=function(n,i,o){return W(this,n,i,!0,o)},p.prototype.writeFloatBE=function(n,i,o){return W(this,n,i,!1,o)},p.prototype.writeDoubleLE=function(n,i,o){return K(this,n,i,!0,o)},p.prototype.writeDoubleBE=function(n,i,o){return K(this,n,i,!1,o)},p.prototype.copy=function(n,i,o,a){if(!p.isBuffer(n))throw TypeError("argument should be a Buffer");if(o||(o=0),a||0===a||(a=this.length),i>=n.length&&(i=n.length),i||(i=0),a>0&&a=this.length)throw RangeError("Index out of range");if(a<0)throw RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),n.length-i>>=0,o=void 0===o?this.length:o>>>0,n||(n=0),"number"==typeof n)for(s=i;s=a+4;o-=3)i=`_${n.slice(o-3,o)}${i}`;return`${n.slice(0,o)}${i}`}function J(n,i,o){ee(i,"offset"),(void 0===n[i]||void 0===n[i+o])&&et(i,n.length-(o+1))}function Q(n,i,o,a,s,l){if(n>o||n3?0===i||i===BigInt(0)?`>= 0${c} and < 2${c} ** ${(l+1)*8}${c}`:`>= -(2${c} ** ${(l+1)*8-1}${c}) and < 2 ** ${(l+1)*8-1}${c}`:`>= ${i}${c} and <= ${o}${c}`,new Y.ERR_OUT_OF_RANGE("value",u,n)}J(a,s,l)}function ee(n,i){if("number"!=typeof n)throw new Y.ERR_INVALID_ARG_TYPE(i,"number",n)}function et(n,i,o){if(Math.floor(n)!==n)throw ee(n,o),new Y.ERR_OUT_OF_RANGE(o||"offset","an integer",n);if(i<0)throw new Y.ERR_BUFFER_OUT_OF_BOUNDS;throw new Y.ERR_OUT_OF_RANGE(o||"offset",`>= ${o?1:0} and <= ${i}`,n)}Z("ERR_BUFFER_OUT_OF_BOUNDS",function(n){return n?`${n} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Z("ERR_INVALID_ARG_TYPE",function(n,i){return`The "${n}" argument must be of type number. Received type ${typeof i}`},TypeError),Z("ERR_OUT_OF_RANGE",function(n,i,o){let a=`The value of "${n}" is out of range.`,s=o;return Number.isInteger(o)&&Math.abs(o)>4294967296?s=X(String(o)):"bigint"==typeof o&&(s=String(o),(o>BigInt(2)**BigInt(32)||o<-(BigInt(2)**BigInt(32)))&&(s=X(s)),s+="n"),a+=` It must be ${i}. Received ${s}`},RangeError);let en=/[^+/0-9A-Za-z-_]/g;function er(n){if((n=(n=n.split("=")[0]).trim().replace(en,"")).length<2)return"";for(;n.length%4!=0;)n+="=";return n}function ei(n,i){let o;i=i||1/0;let a=n.length,s=null,l=[];for(let u=0;u55295&&o<57344){if(!s){if(o>56319||u+1===a){(i-=3)>-1&&l.push(239,191,189);continue}s=o;continue}if(o<56320){(i-=3)>-1&&l.push(239,191,189),s=o;continue}o=(s-55296<<10|o-56320)+65536}else s&&(i-=3)>-1&&l.push(239,191,189);if(s=null,o<128){if((i-=1)<0)break;l.push(o)}else if(o<2048){if((i-=2)<0)break;l.push(o>>6|192,63&o|128)}else if(o<65536){if((i-=3)<0)break;l.push(o>>12|224,o>>6&63|128,63&o|128)}else if(o<1114112){if((i-=4)<0)break;l.push(o>>18|240,o>>12&63|128,o>>6&63|128,63&o|128)}else throw Error("Invalid code point")}return l}function eo(n){let i=[];for(let o=0;o>8,s.push(o%256),s.push(a);return s}function es(n){return a.toByteArray(er(n))}function el(n,i,o,a){let s;for(s=0;s=i.length)&&!(s>=n.length);++s)i[s+o]=n[s];return s}function eu(n,i){return n instanceof i||null!=n&&null!=n.constructor&&null!=n.constructor.name&&n.constructor.name===i.name}function ec(n){return n!=n}let ed=function(){let n="0123456789abcdef",i=Array(256);for(let o=0;o<16;++o){let a=16*o;for(let s=0;s<16;++s)i[a+s]=n[o]+n[s]}return i}();function ep(n){return"undefined"==typeof BigInt?ef:n}function ef(){throw Error("BigInt not supported")}},21924:function(n,i,o){"use strict";var a=o(40210),s=o(55559),l=s(a("String.prototype.indexOf"));n.exports=function(n,i){var o=a(n,!!i);return"function"==typeof o&&l(n,".prototype.")>-1?s(o):o}},55559:function(n,i,o){"use strict";var a=o(58612),s=o(40210),l=o(67771),u=s("%TypeError%"),c=s("%Function.prototype.apply%"),d=s("%Function.prototype.call%"),p=s("%Reflect.apply%",!0)||a.call(d,c),f=s("%Object.defineProperty%",!0),h=s("%Math.max%");if(f)try{f({},"a",{value:1})}catch(m){f=null}n.exports=function(n){if("function"!=typeof n)throw new u("a function is required");var i=p(a,d,arguments);return l(i,1+h(0,n.length-(arguments.length-1)),!0)};var g=function(){return p(a,c,arguments)};f?f(n.exports,"apply",{value:g}):n.exports.apply=g},20640:function(n,i,o){"use strict";var a=o(11742),s={"text/plain":"Text","text/html":"Url",default:"Text"},l="Copy to clipboard: #{key}, Enter";function u(n){var i=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return n.replace(/#{\s*key\s*}/g,i)}function c(n,i){var o,c,d,p,f,h,m=!1;i||(i={}),o=i.debug||!1;try{if(d=a(),p=document.createRange(),f=document.getSelection(),(h=document.createElement("span")).textContent=n,h.ariaHidden="true",h.style.all="unset",h.style.position="fixed",h.style.top=0,h.style.clip="rect(0, 0, 0, 0)",h.style.whiteSpace="pre",h.style.webkitUserSelect="text",h.style.MozUserSelect="text",h.style.msUserSelect="text",h.style.userSelect="text",h.addEventListener("copy",function(a){if(a.stopPropagation(),i.format){if(a.preventDefault(),void 0===a.clipboardData){o&&console.warn("unable to use e.clipboardData"),o&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var l=s[i.format]||s.default;window.clipboardData.setData(l,n)}else a.clipboardData.clearData(),a.clipboardData.setData(i.format,n)}i.onCopy&&(a.preventDefault(),i.onCopy(a.clipboardData))}),document.body.appendChild(h),p.selectNodeContents(h),f.addRange(p),!document.execCommand("copy"))throw Error("copy command was unsuccessful");m=!0}catch(b){o&&console.error("unable to copy using execCommand: ",b),o&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(i.format||"text",n),i.onCopy&&i.onCopy(window.clipboardData),m=!0}catch(g){o&&console.error("unable to copy using clipboardData: ",g),o&&console.error("falling back to prompt"),c=u("message"in i?i.message:l),window.prompt(c,n)}}finally{f&&("function"==typeof f.removeRange?f.removeRange(p):f.removeAllRanges()),h&&document.body.removeChild(h),d()}return m}n.exports=c},20296:function(n){function i(n,i,o){function a(){var p=Date.now()-c;p=0?s=setTimeout(a,i-p):(s=null,o||(d=n.apply(u,l),u=l=null))}null==i&&(i=100);var s,l,u,c,d,p=function(){u=this,l=arguments,c=Date.now();var p=o&&!s;return s||(s=setTimeout(a,i)),p&&(d=n.apply(u,l),u=l=null),d};return p.clear=function(){s&&(clearTimeout(s),s=null)},p.flush=function(){s&&(d=n.apply(u,l),u=l=null,clearTimeout(s),s=null)},p}i.debounce=i,n.exports=i},44020:function(n){"use strict";var i="%[a-f0-9]{2}",o=RegExp("("+i+")|([^%]+?)","gi"),a=RegExp("("+i+")+","gi");function s(n,i){try{return[decodeURIComponent(n.join(""))]}catch(o){}if(1===n.length)return n;i=i||1;var a=n.slice(0,i),l=n.slice(i);return Array.prototype.concat.call([],s(a),s(l))}function l(n){try{return decodeURIComponent(n)}catch(l){for(var i=n.match(o)||[],a=1;a3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new d("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new d("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new d("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new d("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,s=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,f=arguments.length>6&&arguments[6],h=!!p&&p(n,i);if(l)l(n,i,{configurable:null===u&&h?h.configurable:!u,enumerable:null===a&&h?h.enumerable:!a,value:o,writable:null===s&&h?h.writable:!s});else if(!f&&(a||s||u))throw new c("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else n[i]=o}},88945:function(n){n.exports=/\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\u2764\uFE0F\u200D\uD83D\uDC8B\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFE])|\uD83C\uDFFE\u200D\u2764\uFE0F\u200D\uD83D\uDC8B\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C\uDFFD\u200D\u2764\uFE0F\u200D\uD83D\uDC8B\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C\uDFFC\u200D\u2764\uFE0F\u200D\uD83D\uDC8B\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C\uDFFB\u200D\u2764\uFE0F\u200D\uD83D\uDC8B\u200D\uD83E\uDDD1(?:\uD83C[\uDFFC-\uDFFF]))|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])\u200D\u2764\uFE0F\u200D\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D\u2764\uFE0F\u200D\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D\u2764\uFE0F\u200D\uD83D\uDC8B\u200D\uD83D\uDC68|(?:\uD83C[\uDFFB-\uDFFF])\u200D\u2764\uFE0F\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\u2764\uFE0F\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFE])|\uD83C\uDFFE\u200D\u2764\uFE0F\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C\uDFFD\u200D\u2764\uFE0F\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C\uDFFC\u200D\u2764\uFE0F\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C\uDFFB\u200D\u2764\uFE0F\u200D\uD83E\uDDD1(?:\uD83C[\uDFFC-\uDFFF]))|\uD83D\uDC69(?:\u200D\u2764\uFE0F\u200D\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFB-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D[\uDC68\uDC69])(?:\uD83C[\uDFFB-\uDFFF]))|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83D\uDC68\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83D\uDC68\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83D\uDC68\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83D\uDC68\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC69(?:\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69])(?:\uD83C[\uDFFB-\uDFFE])|\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69])(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69])(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69])(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69])(?:\uD83C[\uDFFC-\uDFFF]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68\u200D(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC68\u200D\u2764\uFE0F\u200D\uD83D\uDC68|\uD83D\uDC69\u200D\u2764\uFE0F\u200D(?:\uD83D[\uDC68\uDC69])|\uD83E\uDDD1\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC68(?:\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|(?:\uD83D[\uDC67-\uDC69])\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]\uFE0F)|\uD83E\uDEF1(?:\uD83C\uDFFF\u200D\uD83E\uDEF2(?:\uD83C[\uDFFB-\uDFFE])|\uD83C\uDFFE\u200D\uD83E\uDEF2(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C\uDFFD\u200D\uD83E\uDEF2(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C\uDFFC\u200D\uD83E\uDEF2(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C\uDFFB\u200D\uD83E\uDEF2(?:\uD83C[\uDFFC-\uDFFF]))|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83C\uDFF3\uFE0F\u200D\u26A7|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF]))\u200D[\u2695\u2696\u2708]\uFE0F|\uD83D\uDC69\u200D(?:\uD83D[\uDC67\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83D\uDC3B\u200D\u2744|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDF])\u200D[\u2640\u2642])\uFE0F|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83E\uDDD1\u200D[\u2695\u2696\u2708]\uFE0F|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|(?:\uD83D[\uDC68\uDC69])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D[\u2695\u2696\u2708]\uFE0F)|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC08\u200D\u2B1B|\uD83E\uDDD1\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDC66\uDC67\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC3\uDFC7]|\uD83D[\uDC43\uDC4A-\uDC4C\uDC4F\uDC50\uDC66-\uDC69\uDC6B-\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD\uDEC3-\uDEC5\uDEF0-\uDEF6])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270C\u270D]|\uD83C[\uDFC2\uDFC4\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC46-\uDC49\uDC4D\uDC4E\uDD74\uDD75\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9\u23EA\u23ED-\u23EF\u23F1-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7\u26F8\u26FA\u26FD\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2753\u2757\u2763\u2764\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE1A\uDE2F\uDE37\uDF0D-\uDF0F\uDF15\uDF1C\uDF21\uDF24-\uDF2C\uDF36\uDF78\uDF7D\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFA7\uDFAC-\uDFAE\uDFC6\uDFCD\uDFCE\uDFD4-\uDFE0\uDFED\uDFF3\uDFF5\uDFF7]|\uD83D[\uDC08\uDC15\uDC1F\uDC26\uDC3F\uDC41\uDC53\uDC6A\uDC7D\uDCA3\uDCB0\uDCB3\uDCBB\uDCBF\uDCCB\uDCDA\uDCDF\uDCE4-\uDCE6\uDCEA-\uDCED\uDCF7\uDCF9-\uDCFB\uDCFD\uDD08\uDD0D\uDD12\uDD13\uDD49\uDD4A\uDD50-\uDD67\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDE10\uDE87\uDE8D\uDE91\uDE94\uDE98\uDEAD\uDEB2\uDEB9\uDEBA\uDEBC\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|[\u23EB\u23EC\u23F0\u26CE\u2705\u270A\u270B\u2728\u274C\u274E\u2754\u2755\u2795-\u2797\u27B0\u27BF]|\uD83C[\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF0C\uDF10-\uDF14\uDF16-\uDF1B\uDF1D-\uDF20\uDF2D-\uDF35\uDF37-\uDF77\uDF79-\uDF7C\uDF7E-\uDF92\uDFA0-\uDFA6\uDFA8-\uDFAB\uDFAF-\uDFC1\uDFC3\uDFC5\uDFC7-\uDFC9\uDFCF-\uDFD3\uDFE1-\uDFEC\uDFEE-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC1E\uDC20-\uDC25\uDC27-\uDC3E\uDC40\uDC43-\uDC45\uDC4A-\uDC4C\uDC4F-\uDC52\uDC54-\uDC69\uDC6B-\uDC7C\uDC7E-\uDCA2\uDCA4-\uDCAF\uDCB1\uDCB2\uDCB4-\uDCBA\uDCBC-\uDCBE\uDCC0-\uDCCA\uDCCC-\uDCD9\uDCDB-\uDCDE\uDCE0-\uDCE3\uDCE7-\uDCE9\uDCEE-\uDCF6\uDCF8\uDCFC\uDCFF-\uDD07\uDD09-\uDD0C\uDD0E-\uDD11\uDD14-\uDD3D\uDD4B-\uDD4E\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE0F\uDE11-\uDE4F\uDE80-\uDE86\uDE88-\uDE8C\uDE8E-\uDE90\uDE92\uDE93\uDE95-\uDE97\uDE99-\uDEAC\uDEAE-\uDEB1\uDEB3-\uDEB8\uDEBB\uDEBD-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEDD-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDDFF\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC5\uDED0-\uDED9\uDEE0-\uDEE7\uDEF0-\uDEF6]/},15619:function(n){n.exports=/[:=](?:\'(?:\-[\(\)DO\[\]o\{\}]|[\(\)DO\[\]o\{\}])|\{>|\-[#\$&\(-\*\/3<>-@B-EJLOPSXZ-\]cjlopsxz-\}]|[#\$&\(-\*\/3<>-@B-EJLOPSXZ-\]cjlopsxz\|\}])|[Oo][:=](?:\-[\)\]\}]|[\)\]\}])|>(?:[:=](?:\-[\(\)\/\[-\]\{\}]|[\(\)\/\[-\]\{\}])|0(?:\-[\)\]\}]|[\)\]\}]))|%(?:\-[\(\[\{]|[\(\[\{])|\\[Mm]\/|D(?:\-[:=Xx]|[:=Xx])|8(?:\-[#\)D\]\}]|[#\)D\]\}])|;(?:\-[\)P\]p\}]|[\)P\]p\}])|x(?:\-[\(DP\[op\{]|[\(DP\[op\{])|X(?:\-[\(DOP\[\{]|[\(DOP\[\{])|<\/?3|[:=]\{/},24315:function(n){n.exports=/:[\d+_a-z-]+:/},63150:function(n){"use strict";n.exports=n=>{if("string"!=typeof n)throw TypeError("Expected a string");return n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},17187:function(n){"use strict";var i,o="object"==typeof Reflect?Reflect:null,a=o&&"function"==typeof o.apply?o.apply:function(n,i,o){return Function.prototype.apply.call(n,i,o)};function s(n){console&&console.warn&&console.warn(n)}i=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(n){return Object.getOwnPropertyNames(n).concat(Object.getOwnPropertySymbols(n))}:function(n){return Object.getOwnPropertyNames(n)};var l=Number.isNaN||function(n){return n!=n};function u(){u.init.call(this)}n.exports=u,n.exports.once=E,u.EventEmitter=u,u.prototype._events=void 0,u.prototype._eventsCount=0,u.prototype._maxListeners=void 0;var c=10;function d(n){if("function"!=typeof n)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof n)}function p(n){return void 0===n._maxListeners?u.defaultMaxListeners:n._maxListeners}function f(n,i,o,a){if(d(o),void 0===(u=n._events)?(u=n._events=Object.create(null),n._eventsCount=0):(void 0!==u.newListener&&(n.emit("newListener",i,o.listener?o.listener:o),u=n._events),c=u[i]),void 0===c)c=u[i]=o,++n._eventsCount;else if("function"==typeof c?c=u[i]=a?[o,c]:[c,o]:a?c.unshift(o):c.push(o),(l=p(n))>0&&c.length>l&&!c.warned){c.warned=!0;var l,u,c,f=Error("Possible EventEmitter memory leak detected. "+c.length+" "+String(i)+" listeners added. Use emitter.setMaxListeners() to increase limit");f.name="MaxListenersExceededWarning",f.emitter=n,f.type=i,f.count=c.length,s(f)}return n}function h(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function m(n,i,o){var a={fired:!1,wrapFn:void 0,target:n,type:i,listener:o},s=h.bind(a);return s.listener=o,a.wrapFn=s,s}function g(n,i,o){var a=n._events;if(void 0===a)return[];var s=a[i];return void 0===s?[]:"function"==typeof s?o?[s.listener||s]:[s]:o?w(s):y(s,s.length)}function b(n){var i=this._events;if(void 0!==i){var o=i[n];if("function"==typeof o)return 1;if(void 0!==o)return o.length}return 0}function y(n,i){for(var o=Array(i),a=0;a0&&(u=i[0]),u instanceof Error)throw u;var u,c=Error("Unhandled error."+(u?" ("+u.message+")":""));throw c.context=u,c}var d=l[n];if(void 0===d)return!1;if("function"==typeof d)a(d,this,i);else for(var p=d.length,f=y(d,p),o=0;o=0;l--)if(o[l]===i||o[l].listener===i){u=o[l].listener,s=l;break}if(s<0)return this;0===s?o.shift():v(o,s),1===o.length&&(a[n]=o[0]),void 0!==a.removeListener&&this.emit("removeListener",n,u||i)}return this},u.prototype.off=u.prototype.removeListener,u.prototype.removeAllListeners=function(n){var i,o,a;if(void 0===(o=this._events))return this;if(void 0===o.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==o[n]&&(0==--this._eventsCount?this._events=Object.create(null):delete o[n]),this;if(0==arguments.length){var s,l=Object.keys(o);for(a=0;a=0;a--)this.removeListener(n,i[a]);return this},u.prototype.listeners=function(n){return g(this,n,!0)},u.prototype.rawListeners=function(n){return g(this,n,!1)},u.listenerCount=function(n,i){return"function"==typeof n.listenerCount?n.listenerCount(i):b.call(n,i)},u.prototype.listenerCount=b,u.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]}},94470:function(n){"use strict";var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l=function(n){return"function"==typeof Array.isArray?Array.isArray(n):"[object Array]"===o.call(n)},u=function(n){if(!n||"[object Object]"!==o.call(n))return!1;var a,s=i.call(n,"constructor"),l=n.constructor&&n.constructor.prototype&&i.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!s&&!l)return!1;for(a in n);return void 0===a||i.call(n,a)},c=function(n,i){a&&"__proto__"===i.name?a(n,i.name,{enumerable:!0,configurable:!0,value:i.newValue,writable:!0}):n[i.name]=i.newValue},d=function(n,o){if("__proto__"===o){if(!i.call(n,o))return;if(s)return s(n,o).value}return n[o]};n.exports=function n(){var i,o,a,s,p,f,h=arguments[0],m=1,g=arguments.length,b=!1;for("boolean"==typeof h&&(b=h,h=arguments[1]||{},m=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});ms?"":n.slice(s,i)}var l=["/",":","?","#"],u=[".","/","@"];n.exports=function(n){if("string"==typeof n)return s(n);if(Array.isArray(n)){var i,o=[],l=0;for(i=n.length;l=3&&(l=o),"[object Array]"===s.call(n)?u(n,i,l):"string"==typeof n?c(n,i,l):d(n,i,l)};n.exports=p},17648:function(n){"use strict";var i="Function.prototype.bind called on incompatible ",o=Object.prototype.toString,a=Math.max,s="[object Function]",l=function(n,i){for(var o=[],a=0;a1&&"boolean"!=typeof i)throw new u('"allowMissing" argument must be a boolean');if(null===O(/^%?[^%]*%?$/,n))throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=M(n),a=o.length>0?o[0]:"",l=L("%"+a+"%",i),c=l.name,p=l.value,f=!1,h=l.alias;h&&(a=h[0],C(o,T([0,1],h)));for(var m=1,g=!0;m=o.length){var E=d(p,b);p=(g=!!E)&&"get"in E&&!("originalValue"in E.get)?E.get:p[b]}else g=A(p,b),p=p[b];g&&!f&&(w[c]=p)}}return p}},27296:function(n,i,o){"use strict";var a=o(40210)("%Object.getOwnPropertyDescriptor%",!0);if(a)try{a([],"length")}catch(s){a=null}n.exports=a},31044:function(n,i,o){"use strict";var a=o(40210)("%Object.defineProperty%",!0),s=function(){if(a)try{return a({},"a",{value:1}),!0}catch(n){}return!1};s.hasArrayLengthDefineBug=function(){if(!s())return null;try{return 1!==a([],"length",{value:1}).length}catch(n){return!0}},n.exports=s},28185:function(n){"use strict";var i={foo:{}},o=Object;n.exports=function(){return({__proto__:i}).foo===i.foo&&!(({__proto__:null})instanceof o)}},41405:function(n,i,o){"use strict";var a="undefined"!=typeof Symbol&&Symbol,s=o(55419);n.exports=function(){return"function"==typeof a&&"function"==typeof Symbol&&"symbol"==typeof a("foo")&&"symbol"==typeof Symbol("bar")&&s()}},55419:function(n){"use strict";n.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var n={},i=Symbol("test"),o=Object(i);if("string"==typeof i||"[object Symbol]"!==Object.prototype.toString.call(i)||"[object Symbol]"!==Object.prototype.toString.call(o))return!1;var a=42;for(i in n[i]=a,n)return!1;if("function"==typeof Object.keys&&0!==Object.keys(n).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(n).length)return!1;var s=Object.getOwnPropertySymbols(n);if(1!==s.length||s[0]!==i||!Object.prototype.propertyIsEnumerable.call(n,i))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var l=Object.getOwnPropertyDescriptor(n,i);if(l.value!==a||!0!==l.enumerable)return!1}return!0}},96410:function(n,i,o){"use strict";var a=o(55419);n.exports=function(){return a()&&!!Symbol.toStringTag}},48824:function(n,i,o){"use strict";var a=Function.prototype.call,s=Object.prototype.hasOwnProperty,l=o(58612);n.exports=l.call(a,s)},78892:function(n){"use strict";n.exports=o;var i=/[#.]/g;function o(n,o){for(var a,s,l,u=n||"",c=o||"div",d={},p=0;p4&&o.slice(0,4)===u&&c.test(i)&&("-"===i.charAt(4)?d=h(i):i=m(i),p=s),new p(d,i))}function h(n){var i=n.slice(5).replace(d,b);return u+i.charAt(0).toUpperCase()+i.slice(1)}function m(n){var i=n.slice(4);return d.test(i)?n:("-"!==(i=i.replace(p,g)).charAt(0)&&(i="-"+i),u+i)}function g(n){return"-"+n.toLowerCase()}function b(n){return n.charAt(1).toUpperCase()}},48055:function(n,i,o){"use strict";var a=o(26230),s=o(13970),l=o(10629),u=o(647),c=o(91305),d=o(22537);n.exports=a([l,s,u,c,d])},91305:function(n,i,o){"use strict";var a=o(61422),s=o(47589),l=a.booleanish,u=a.number,c=a.spaceSeparated;function d(n,i){return"role"===i?i:"aria-"+i.slice(4).toLowerCase()}n.exports=s({transform:d,properties:{ariaActiveDescendant:null,ariaAtomic:l,ariaAutoComplete:null,ariaBusy:l,ariaChecked:l,ariaColCount:u,ariaColIndex:u,ariaColSpan:u,ariaControls:c,ariaCurrent:null,ariaDescribedBy:c,ariaDetails:null,ariaDisabled:l,ariaDropEffect:c,ariaErrorMessage:null,ariaExpanded:l,ariaFlowTo:c,ariaGrabbed:l,ariaHasPopup:null,ariaHidden:l,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:c,ariaLevel:u,ariaLive:null,ariaModal:l,ariaMultiLine:l,ariaMultiSelectable:l,ariaOrientation:null,ariaOwns:c,ariaPlaceholder:null,ariaPosInSet:u,ariaPressed:l,ariaReadOnly:l,ariaRelevant:null,ariaRequired:l,ariaRoleDescription:c,ariaRowCount:u,ariaRowIndex:u,ariaRowSpan:u,ariaSelected:l,ariaSetSize:u,ariaSort:null,ariaValueMax:u,ariaValueMin:u,ariaValueNow:u,ariaValueText:null,role:null}})},22537:function(n,i,o){"use strict";var a=o(61422),s=o(47589),l=o(19348),u=a.boolean,c=a.overloadedBoolean,d=a.booleanish,p=a.number,f=a.spaceSeparated,h=a.commaSeparated;n.exports=s({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:l,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:u,allowPaymentRequest:u,allowUserMedia:u,alt:null,as:null,async:u,autoCapitalize:null,autoComplete:f,autoFocus:u,autoPlay:u,capture:u,charSet:null,checked:u,cite:null,className:f,cols:p,colSpan:null,content:null,contentEditable:d,controls:u,controlsList:f,coords:p|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:u,defer:u,dir:null,dirName:null,disabled:u,download:c,draggable:d,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:u,formTarget:null,headers:f,height:p,hidden:u,high:p,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:h,inputMode:null,integrity:null,is:null,isMap:u,itemId:null,itemProp:f,itemRef:f,itemScope:u,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:u,low:p,manifest:null,max:null,maxLength:p,media:null,method:null,min:null,minLength:p,multiple:u,muted:u,name:null,nonce:null,noModule:u,noValidate:u,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:u,optimum:p,pattern:null,ping:f,placeholder:null,playsInline:u,poster:null,preload:null,readOnly:u,referrerPolicy:null,rel:f,required:u,reversed:u,rows:p,rowSpan:p,sandbox:f,scope:null,scoped:u,seamless:u,selected:u,shape:null,size:p,sizes:null,slot:null,span:p,spellCheck:d,src:null,srcDoc:null,srcLang:null,srcSet:h,start:p,step:null,style:null,tabIndex:p,target:null,title:null,translate:null,type:null,typeMustMatch:u,useMap:null,value:d,width:p,wrap:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:p,borderColor:null,bottomMargin:p,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:u,declare:u,event:null,face:null,frame:null,frameBorder:null,hSpace:p,leftMargin:p,link:null,longDesc:null,lowSrc:null,marginHeight:p,marginWidth:p,noResize:u,noHref:u,noShade:u,noWrap:u,object:null,profile:null,prompt:null,rev:null,rightMargin:p,rules:null,scheme:null,scrolling:d,standby:null,summary:null,text:null,topMargin:p,valueType:null,version:null,vAlign:null,vLink:null,vSpace:p,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:u,disableRemotePlayback:u,prefix:null,property:null,results:p,security:null,unselectable:null}})},19348:function(n,i,o){"use strict";var a=o(21098);function s(n,i){return a(n,i.toLowerCase())}n.exports=s},21098:function(n){"use strict";function i(n,i){return i in n?n[i]:i}n.exports=i},47589:function(n,i,o){"use strict";var a=o(64977),s=o(16038),l=o(78444);function u(n){var i,o,u=n.space,c=n.mustUseProperty||[],d=n.attributes||{},p=n.properties,f=n.transform,h={},m={};for(i in p)o=new l(i,f(d,i),p[i],u),-1!==c.indexOf(i)&&(o.mustUseProperty=!0),h[i]=o,m[a(i)]=i,m[a(o.attribute)]=i;return new s(h,m,u)}n.exports=u},78444:function(n,i,o){"use strict";var a=o(40313),s=o(61422);n.exports=c,c.prototype=new a,c.prototype.defined=!0;var l=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],u=l.length;function c(n,i,o,c){var p,f=-1;for(d(this,"space",c),a.call(this,n,i);++f10&&(i="..."+i.substr(-10));var o=Error("Decoded data is not valid UTF-8. Maybe try base32.decode.asBytes()? Partial data after reading "+n+" bytes: "+i+" <-");throw o.position=n,o},f=function(n){for(var i,o,a="",s=n.length,l=0,u=0;l191&&i<=223?(o=31&i,u=1):i<=239?(o=15&i,u=2):i<=247?(o=7&i,u=3):p(l,a);for(var c=0;c191)&&p(l,a),o<<=6,o+=63&i;o>=55296&&o<=57343&&p(l,a),o>1114111&&p(l,a),o<=65535?a+=String.fromCharCode(o):(o-=65536,a+=String.fromCharCode((o>>10)+55296),a+=String.fromCharCode((1023&o)+56320))}return a},h=function(n){if(""===n)return[];if(!/^[A-Z2-7=]+$/.test(n))throw Error("Invalid base32 characters");n=n.replace(/=/g,"");for(var i,o,a,s,l,u,d,p,f=[],h=0,m=n.length,g=0,b=m>>3<<3;g>>2)&255,f[h++]=(o<<6|a<<1|s>>>4)&255,f[h++]=(s<<4|l>>>1)&255,f[h++]=(l<<7|u<<2|d>>>3)&255,f[h++]=(d<<5|p)&255;var y=m-b;return 2===y?(i=c[n.charAt(g++)],o=c[n.charAt(g++)],f[h++]=(i<<3|o>>>2)&255):4===y?(i=c[n.charAt(g++)],o=c[n.charAt(g++)],a=c[n.charAt(g++)],s=c[n.charAt(g++)],f[h++]=(i<<3|o>>>2)&255,f[h++]=(o<<6|a<<1|s>>>4)&255):5===y?(i=c[n.charAt(g++)],o=c[n.charAt(g++)],a=c[n.charAt(g++)],s=c[n.charAt(g++)],l=c[n.charAt(g++)],f[h++]=(i<<3|o>>>2)&255,f[h++]=(o<<6|a<<1|s>>>4)&255,f[h++]=(s<<4|l>>>1)&255):7===y&&(i=c[n.charAt(g++)],o=c[n.charAt(g++)],a=c[n.charAt(g++)],s=c[n.charAt(g++)],l=c[n.charAt(g++)],u=c[n.charAt(g++)],d=c[n.charAt(g++)],f[h++]=(i<<3|o>>>2)&255,f[h++]=(o<<6|a<<1|s>>>4)&255,f[h++]=(s<<4|l>>>1)&255,f[h++]=(l<<7|u<<2|d>>>3)&255),f},m=function(n){for(var i,o,a,s,l,c="",d=n.length,p=0,f=5*parseInt(d/5);p>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[(o<<4|a>>>4)&31]+u[(a<<1|s>>>7)&31]+u[s>>>2&31]+u[(s<<3|l>>>5)&31]+u[31&l];var h=d-f;return 1===h?c+=u[(i=n.charCodeAt(p))>>>3]+u[i<<2&31]+"======":2===h?(i=n.charCodeAt(p++),o=n.charCodeAt(p),c+=u[i>>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[o<<4&31]+"===="):3===h?(i=n.charCodeAt(p++),o=n.charCodeAt(p++),a=n.charCodeAt(p),c+=u[i>>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[(o<<4|a>>>4)&31]+u[a<<1&31]+"==="):4===h&&(i=n.charCodeAt(p++),o=n.charCodeAt(p++),a=n.charCodeAt(p++),s=n.charCodeAt(p),c+=u[i>>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[(o<<4|a>>>4)&31]+u[(a<<1|s>>>7)&31]+u[s>>>2&31]+u[s<<3&31]+"="),c},g=function(n){var i,o,a,s,l,c,p,f=!1,h="",m=0,g=0,b=0,y=n.length;if(""===n)return h;do{for(d[0]=d[5],d[1]=d[6],d[2]=d[7],p=g;m>6,d[p++]=128|63&c):c<55296||c>=57344?(d[p++]=224|c>>12,d[p++]=128|c>>6&63,d[p++]=128|63&c):(c=65536+((1023&c)<<10|1023&n.charCodeAt(++m)),d[p++]=240|c>>18,d[p++]=128|c>>12&63,d[p++]=128|c>>6&63,d[p++]=128|63&c);b+=p-g,g=p-5,m===y&&++m,m>y&&p<6&&(f=!0),i=d[0],p>4?(o=d[1],a=d[2],s=d[3],l=d[4],h+=u[i>>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[(o<<4|a>>>4)&31]+u[(a<<1|s>>>7)&31]+u[s>>>2&31]+u[(s<<3|l>>>5)&31]+u[31&l]):1===p?h+=u[i>>>3]+u[i<<2&31]+"======":2===p?(o=d[1],h+=u[i>>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[o<<4&31]+"===="):3===p?(o=d[1],a=d[2],h+=u[i>>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[(o<<4|a>>>4)&31]+u[a<<1&31]+"==="):(o=d[1],a=d[2],s=d[3],h+=u[i>>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[(o<<4|a>>>4)&31]+u[(a<<1|s>>>7)&31]+u[s>>>2&31]+u[s<<3&31]+"=")}while(!f);return h},b=function(n){for(var i,o,a,s,l,c="",d=n.length,p=0,f=5*parseInt(d/5);p>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[(o<<4|a>>>4)&31]+u[(a<<1|s>>>7)&31]+u[s>>>2&31]+u[(s<<3|l>>>5)&31]+u[31&l];var h=d-f;return 1===h?c+=u[(i=n[p])>>>3]+u[i<<2&31]+"======":2===h?(i=n[p++],o=n[p],c+=u[i>>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[o<<4&31]+"===="):3===h?(i=n[p++],o=n[p++],a=n[p],c+=u[i>>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[(o<<4|a>>>4)&31]+u[a<<1&31]+"==="):4===h&&(i=n[p++],o=n[p++],a=n[p++],s=n[p],c+=u[i>>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[(o<<4|a>>>4)&31]+u[(a<<1|s>>>7)&31]+u[s>>>2&31]+u[s<<3&31]+"="),c},v={encode:function(n,i){var o="string"!=typeof n;return(o&&n.constructor===ArrayBuffer&&(n=new Uint8Array(n)),o)?b(n):i?m(n):g(n)},decode:y=function(n,i){if(!i)return f(h(n));if(""===n)return"";if(!/^[A-Z2-7=]+$/.test(n))throw Error("Invalid base32 characters");var o,a,s,l,u,d,p,m,g="",b=n.indexOf("=");-1===b&&(b=n.length);for(var y=0,v=b>>3<<3;y>>2)&255)+String.fromCharCode((a<<6|s<<1|l>>>4)&255)+String.fromCharCode((l<<4|u>>>1)&255)+String.fromCharCode((u<<7|d<<2|p>>>3)&255)+String.fromCharCode((p<<5|m)&255);var w=b-v;return 2===w?g+=String.fromCharCode(((o=c[n.charAt(y++)])<<3|(a=c[n.charAt(y++)])>>>2)&255):4===w?(o=c[n.charAt(y++)],a=c[n.charAt(y++)],s=c[n.charAt(y++)],l=c[n.charAt(y++)],g+=String.fromCharCode((o<<3|a>>>2)&255)+String.fromCharCode((a<<6|s<<1|l>>>4)&255)):5===w?(o=c[n.charAt(y++)],a=c[n.charAt(y++)],s=c[n.charAt(y++)],l=c[n.charAt(y++)],u=c[n.charAt(y++)],g+=String.fromCharCode((o<<3|a>>>2)&255)+String.fromCharCode((a<<6|s<<1|l>>>4)&255)+String.fromCharCode((l<<4|u>>>1)&255)):7===w&&(o=c[n.charAt(y++)],a=c[n.charAt(y++)],s=c[n.charAt(y++)],l=c[n.charAt(y++)],u=c[n.charAt(y++)],d=c[n.charAt(y++)],p=c[n.charAt(y++)],g+=String.fromCharCode((o<<3|a>>>2)&255)+String.fromCharCode((a<<6|s<<1|l>>>4)&255)+String.fromCharCode((l<<4|u>>>1)&255)+String.fromCharCode((u<<7|d<<2|p>>>3)&255)),g}},y.asBytes=h,s?n.exports=v:(a.base32=v,l&&void 0!==(w=(function(){return v}).call(v,o,v,n))&&(n.exports=w))},46293:function(n,i,o){"use strict";function a(n,i){if(n.match(/^[a-z]+:\/\//i))return n;if(n.match(/^\/\//))return window.location.protocol+n;if(n.match(/^[a-z]+:/i))return n;let o=document.implementation.createHTMLDocument(),a=o.createElement("base"),s=o.createElement("a");return o.head.appendChild(a),o.body.appendChild(s),i&&(a.href=i),s.href=n,s.href}o.d(i,{SE:function(){return eS}});let s=(()=>{let n=0,i=()=>`0000${(1679616*Math.random()<<0).toString(36)}`.slice(-4);return()=>`u${i()}${n+=1}`})();function l(n){let i=[];for(let o=0,a=n.length;oh||n.height>h)&&(n.width>h&&n.height>h?n.width>n.height?(n.height*=h/n.width,n.width=h):(n.width*=h/n.height,n.height=h):n.width>h?(n.height*=h/n.width,n.width=h):(n.width*=h/n.height,n.height=h))}function g(n,i={}){return new Promise(n.toBlob?o=>{n.toBlob(o,i.type?i.type:"image/png",i.quality?i.quality:1)}:o=>{let a=window.atob(n.toDataURL(i.type?i.type:void 0,i.quality?i.quality:void 0).split(",")[1]),s=a.length,l=new Uint8Array(s);for(let u=0;u{let a=new Image;a.decode=()=>i(a),a.onload=()=>i(a),a.onerror=o,a.crossOrigin="anonymous",a.decoding="async",a.src=n})}async function y(n){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(n)).then(encodeURIComponent).then(n=>`data:image/svg+xml;charset=utf-8,${n}`)}async function v(n,i,o){let a="http://www.w3.org/2000/svg",s=document.createElementNS(a,"svg"),l=document.createElementNS(a,"foreignObject");return s.setAttribute("width",`${i}`),s.setAttribute("height",`${o}`),s.setAttribute("viewBox",`0 0 ${i} ${o}`),l.setAttribute("width","100%"),l.setAttribute("height","100%"),l.setAttribute("x","0"),l.setAttribute("y","0"),l.setAttribute("externalResourcesRequired","true"),s.appendChild(l),l.appendChild(n),y(s)}let w=(n,i)=>{if(n instanceof i)return!0;let o=Object.getPrototypeOf(n);return null!==o&&(o.constructor.name===i.name||w(o,i))};function E(n){let i=n.getPropertyValue("content");return`${n.cssText} content: '${i.replace(/'|"/g,"")}';`}function S(n){return l(n).map(i=>{let o=n.getPropertyValue(i),a=n.getPropertyPriority(i);return`${i}: ${o}${a?" !important":""};`}).join(" ")}function x(n,i,o){let a=`.${n}:${i}`,s=o.cssText?E(o):S(o);return document.createTextNode(`${a}{${s}}`)}function _(n,i,o){let a=window.getComputedStyle(n,o),l=a.getPropertyValue("content");if(""===l||"none"===l)return;let u=s();try{i.className=`${i.className} ${u}`}catch(c){return}let d=document.createElement("style");d.appendChild(x(u,o,a)),i.appendChild(d)}function k(n,i){_(n,i,":before"),_(n,i,":after")}let A="application/font-woff",T="image/jpeg",C={woff:A,woff2:A,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:T,jpeg:T,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function R(n){let i=/\.([^./]*?)$/g.exec(n);return i?i[1]:""}function D(n){let i=R(n).toLowerCase();return C[i]||""}function O(n){return n.split(/,/)[1]}function I(n){return -1!==n.search(/^(data:)/)}function N(n,i){return`data:${i};base64,${n}`}async function M(n,i,o){let a=await fetch(n,i);if(404===a.status)throw Error(`Resource "${a.url}" not found`);let s=await a.blob();return new Promise((n,i)=>{let l=new FileReader;l.onerror=i,l.onloadend=()=>{try{n(o({res:a,result:l.result}))}catch(s){i(s)}},l.readAsDataURL(s)})}let L={};function P(n,i,o){let a=n.replace(/\?.*/,"");return o&&(a=n),/ttf|otf|eot|woff2?/i.test(a)&&(a=a.replace(/.*\//,"")),i?`[${i}]${a}`:a}async function F(n,i,o){let a;let s=P(n,i,o.includeQueryParams);if(null!=L[s])return L[s];o.cacheBust&&(n+=(/\?/.test(n)?"&":"?")+new Date().getTime());try{let l=await M(n,o.fetchRequestInit,({res:n,result:o})=>(i||(i=n.headers.get("Content-Type")||""),O(o)));a=N(l,i)}catch(c){a=o.imagePlaceholder||"";let u=`Failed to fetch resource: ${n}`;c&&(u="string"==typeof c?c:c.message),u&&console.warn(u)}return L[s]=a,a}async function B(n){let i=n.toDataURL();return"data:,"===i?n.cloneNode(!1):b(i)}async function U(n,i){if(n.currentSrc){let o=document.createElement("canvas"),a=o.getContext("2d");o.width=n.clientWidth,o.height=n.clientHeight,null==a||a.drawImage(n,0,0,o.width,o.height);let s=o.toDataURL();return b(s)}let l=n.poster,u=D(l),c=await F(l,u,i);return b(c)}async function z(n){var i;try{if(null===(i=null==n?void 0:n.contentDocument)||void 0===i?void 0:i.body)return await Y(n.contentDocument.body,{},!0)}catch(o){}return n.cloneNode(!1)}async function j(n,i){return w(n,HTMLCanvasElement)?B(n):w(n,HTMLVideoElement)?U(n,i):w(n,HTMLIFrameElement)?z(n):n.cloneNode(!1)}let $=n=>null!=n.tagName&&"SLOT"===n.tagName.toUpperCase();async function H(n,i,o){var a,s;let u=[];return 0===(u=$(n)&&n.assignedNodes?l(n.assignedNodes()):w(n,HTMLIFrameElement)&&(null===(a=n.contentDocument)||void 0===a?void 0:a.body)?l(n.contentDocument.body.childNodes):l((null!==(s=n.shadowRoot)&&void 0!==s?s:n).childNodes)).length||w(n,HTMLVideoElement)||await u.reduce((n,a)=>n.then(()=>Y(a,o)).then(n=>{n&&i.appendChild(n)}),Promise.resolve()),i}function V(n,i){let o=i.style;if(!o)return;let a=window.getComputedStyle(n);a.cssText?(o.cssText=a.cssText,o.transformOrigin=a.transformOrigin):l(a).forEach(s=>{let l=a.getPropertyValue(s);if("font-size"===s&&l.endsWith("px")){let u=Math.floor(parseFloat(l.substring(0,l.length-2)))-.1;l=`${u}px`}w(n,HTMLIFrameElement)&&"display"===s&&"inline"===l&&(l="block"),"d"===s&&i.getAttribute("d")&&(l=`path(${i.getAttribute("d")})`),o.setProperty(s,l,a.getPropertyPriority(s))})}function G(n,i){w(n,HTMLTextAreaElement)&&(i.innerHTML=n.value),w(n,HTMLInputElement)&&i.setAttribute("value",n.value)}function q(n,i){if(w(n,HTMLSelectElement)){let o=i,a=Array.from(o.children).find(i=>n.value===i.getAttribute("value"));a&&a.setAttribute("selected","")}}function W(n,i){return w(i,Element)&&(V(n,i),k(n,i),G(n,i),q(n,i)),i}async function K(n,i){let o=n.querySelectorAll?n.querySelectorAll("use"):[];if(0===o.length)return n;let a={};for(let s=0;sj(n,i)).then(o=>H(n,o,i)).then(i=>W(n,i)).then(n=>K(n,i)):null}let Z=/url\((['"]?)([^'"]+?)\1\)/g,X=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,J=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Q(n){let i=n.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return RegExp(`(url\\(['"]?)(${i})(['"]?\\))`,"g")}function ee(n){let i=[];return n.replace(Z,(n,o,a)=>(i.push(a),n)),i.filter(n=>!I(n))}async function et(n,i,o,s,l){try{let u;let c=o?a(i,o):i,d=D(i);if(l){let p=await l(c);u=N(p,d)}else u=await F(c,d,s);return n.replace(Q(i),`$1${u}$3`)}catch(f){}return n}function en(n,{preferredFontFormat:i}){return i?n.replace(J,n=>{for(;;){let[o,,a]=X.exec(n)||[];if(!a)return"";if(a===i)return`src: ${o};`}}):n}function er(n){return -1!==n.search(Z)}async function ei(n,i,o){if(!er(n))return n;let a=en(n,o),s=ee(a);return s.reduce((n,a)=>n.then(n=>et(n,a,i,o)),Promise.resolve(a))}async function eo(n,i,o){var a;let s=null===(a=i.style)||void 0===a?void 0:a.getPropertyValue(n);if(s){let l=await ei(s,null,o);return i.style.setProperty(n,l,i.style.getPropertyPriority(n)),!0}return!1}async function ea(n,i){await eo("background",n,i)||await eo("background-image",n,i),await eo("mask",n,i)||await eo("mask-image",n,i)}async function es(n,i){let o=w(n,HTMLImageElement);if(!(o&&!I(n.src))&&!(w(n,SVGImageElement)&&!I(n.href.baseVal)))return;let a=o?n.src:n.href.baseVal,s=await F(a,D(a),i);await new Promise((i,a)=>{n.onload=i,n.onerror=a;let l=n;l.decode&&(l.decode=i),"lazy"===l.loading&&(l.loading="eager"),o?(n.srcset="",n.src=s):n.href.baseVal=s})}async function el(n,i){let o=l(n.childNodes),a=o.map(n=>eu(n,i));await Promise.all(a).then(()=>n)}async function eu(n,i){w(n,Element)&&(await ea(n,i),await es(n,i),await el(n,i))}function ec(n,i){let{style:o}=n;i.backgroundColor&&(o.backgroundColor=i.backgroundColor),i.width&&(o.width=`${i.width}px`),i.height&&(o.height=`${i.height}px`);let a=i.style;return null!=a&&Object.keys(a).forEach(n=>{o[n]=a[n]}),n}let ed={};async function ep(n){let i=ed[n];if(null!=i)return i;let o=await fetch(n),a=await o.text();return i={url:n,cssText:a},ed[n]=i,i}async function ef(n,i){let o=n.cssText,a=/url\(["']?([^"')]+)["']?\)/g,s=o.match(/url\([^)]+\)/g)||[],l=s.map(async s=>{let l=s.replace(a,"$1");return l.startsWith("https://")||(l=new URL(l,n.url).href),M(l,i.fetchRequestInit,({result:n})=>(o=o.replace(s,`url(${n})`),[s,n]))});return Promise.all(l).then(()=>o)}function eh(n){if(null==n)return[];let i=[],o=/(\/\*[\s\S]*?\*\/)/gi,a=n.replace(o,""),s=RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let l=s.exec(a);if(null===l)break;i.push(l[0])}a=a.replace(s,"");let u=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,c="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",d=RegExp(c,"gi");for(;;){let p=u.exec(a);if(null===p){if(null===(p=d.exec(a)))break;u.lastIndex=d.lastIndex}else d.lastIndex=u.lastIndex;i.push(p[0])}return i}async function em(n,i){let o=[],a=[];return n.forEach(o=>{if("cssRules"in o)try{l(o.cssRules||[]).forEach((n,s)=>{if(n.type===CSSRule.IMPORT_RULE){let l=s+1,u=n.href,c=ep(u).then(n=>ef(n,i)).then(n=>eh(n).forEach(n=>{try{o.insertRule(n,n.startsWith("@import")?l+=1:o.cssRules.length)}catch(i){console.error("Error inserting rule from remote css",{rule:n,error:i})}})).catch(n=>{console.error("Error loading remote css",n.toString())});a.push(c)}})}catch(u){let s=n.find(n=>null==n.href)||document.styleSheets[0];null!=o.href&&a.push(ep(o.href).then(n=>ef(n,i)).then(n=>eh(n).forEach(n=>{s.insertRule(n,o.cssRules.length)})).catch(n=>{console.error("Error loading remote stylesheet",n)})),console.error("Error inlining remote css file",u)}}),Promise.all(a).then(()=>(n.forEach(n=>{if("cssRules"in n)try{l(n.cssRules||[]).forEach(n=>{o.push(n)})}catch(i){console.error(`Error while reading CSS rules from ${n.href}`,i)}}),o))}function eg(n){return n.filter(n=>n.type===CSSRule.FONT_FACE_RULE).filter(n=>er(n.style.getPropertyValue("src")))}async function eb(n,i){if(null==n.ownerDocument)throw Error("Provided element is not within a Document");let o=l(n.ownerDocument.styleSheets),a=await em(o,i);return eg(a)}async function ey(n,i){let o=await eb(n,i),a=await Promise.all(o.map(n=>{let o=n.parentStyleSheet?n.parentStyleSheet.href:null;return ei(n.cssText,o,i)}));return a.join("\n")}async function ev(n,i){let o=null!=i.fontEmbedCSS?i.fontEmbedCSS:i.skipFonts?null:await ey(n,i);if(o){let a=document.createElement("style"),s=document.createTextNode(o);a.appendChild(s),n.firstChild?n.insertBefore(a,n.firstChild):n.appendChild(a)}}async function ew(n,i={}){let{width:o,height:a}=p(n,i),s=await Y(n,i,!0);await ev(s,i),await eu(s,i),ec(s,i);let l=await v(s,o,a);return l}async function eE(n,i={}){let{width:o,height:a}=p(n,i),s=await ew(n,i),l=await b(s),u=document.createElement("canvas"),c=u.getContext("2d"),d=i.pixelRatio||f(),h=i.canvasWidth||o,g=i.canvasHeight||a;return u.width=h*d,u.height=g*d,i.skipAutoScale||m(u),u.style.width=`${h}`,u.style.height=`${g}`,i.backgroundColor&&(c.fillStyle=i.backgroundColor,c.fillRect(0,0,u.width,u.height)),c.drawImage(l,0,0,u.width,u.height),u}async function eS(n,i={}){let o=await eE(n,i),a=await g(o);return a}},41875:function(n,i,o){"use strict";let a;Object.defineProperty(i,"__esModule",{value:!0});var s,l=(s=o(49019))&&"object"==typeof s&&"default"in s?s:{default:s};function u(n){return new Promise((i,o)=>{n.oncomplete=n.onsuccess=()=>i(n.result),n.onabort=n.onerror=()=>o(n.error)})}function c(n,i){let o=l.default().then(()=>{let o=indexedDB.open(n);return o.onupgradeneeded=()=>o.result.createObjectStore(i),u(o)});return(n,a)=>o.then(o=>a(o.transaction(i,n).objectStore(i)))}function d(){return a||(a=c("keyval-store","keyval")),a}function p(n,i=d()){return i("readonly",i=>u(i.get(n)))}function f(n,i,o=d()){return o("readwrite",o=>(o.put(i,n),u(o.transaction)))}function h(n,i=d()){return i("readwrite",i=>(n.forEach(n=>i.put(n[1],n[0])),u(i.transaction)))}function m(n,i=d()){return i("readonly",i=>Promise.all(n.map(n=>u(i.get(n)))))}function g(n,i,o=d()){return o("readwrite",o=>new Promise((a,s)=>{o.get(n).onsuccess=function(){try{o.put(i(this.result),n),a(u(o.transaction))}catch(l){s(l)}}}))}function b(n,i=d()){return i("readwrite",i=>(i.delete(n),u(i.transaction)))}function y(n=d()){return n("readwrite",n=>(n.clear(),u(n.transaction)))}function v(n,i){return n("readonly",n=>(n.openCursor().onsuccess=function(){this.result&&(i(this.result),this.result.continue())},u(n.transaction)))}function w(n=d()){let i=[];return v(n,n=>i.push(n.key)).then(()=>i)}function E(n=d()){let i=[];return v(n,n=>i.push(n.value)).then(()=>i)}function S(n=d()){let i=[];return v(n,n=>i.push([n.key,n.value])).then(()=>i)}i.clear=y,i.createStore=c,i.del=b,i.entries=S,i.get=p,i.getMany=m,i.keys=w,i.promisifyRequest=u,i.set=f,i.setMany=h,i.update=g,i.values=E},80645:function(n,i){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ i.read=function(n,i,o,a,s){var l,u,c=8*s-a-1,d=(1<>1,f=-7,h=o?s-1:0,m=o?-1:1,g=n[i+h];for(h+=m,l=g&(1<<-f)-1,g>>=-f,f+=c;f>0;l=256*l+n[i+h],h+=m,f-=8);for(u=l&(1<<-f)-1,l>>=-f,f+=a;f>0;u=256*u+n[i+h],h+=m,f-=8);if(0===l)l=1-p;else{if(l===d)return u?NaN:(g?-1:1)*(1/0);u+=Math.pow(2,a),l-=p}return(g?-1:1)*u*Math.pow(2,l-a)},i.write=function(n,i,o,a,s,l){var u,c,d,p=8*l-s-1,f=(1<>1,m=23===s?5960464477539062e-23:0,g=a?0:l-1,b=a?1:-1,y=i<0||0===i&&1/i<0?1:0;for(isNaN(i=Math.abs(i))||i===1/0?(c=isNaN(i)?1:0,u=f):(u=Math.floor(Math.log(i)/Math.LN2),i*(d=Math.pow(2,-u))<1&&(u--,d*=2),u+h>=1?i+=m/d:i+=m*Math.pow(2,1-h),i*d>=2&&(u++,d/=2),u+h>=f?(c=0,u=f):u+h>=1?(c=(i*d-1)*Math.pow(2,s),u+=h):(c=i*Math.pow(2,h-1)*Math.pow(2,s),u=0));s>=8;n[o+g]=255&c,g+=b,c/=256,s-=8);for(u=u<0;n[o+g]=255&u,g+=b,u/=256,p-=8);n[o+g-b]|=128*y}},18139:function(n){var i=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,o=/\n/g,a=/^\s*/,s=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,l=/^:\s*/,u=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,d=/^\s+|\s+$/g,p="\n",f="/",h="*",m="",g="comment",b="declaration";function y(n){return n?n.replace(d,m):m}n.exports=function(n,d){if("string"!=typeof n)throw TypeError("First argument must be a string");if(!n)return[];d=d||{};var v=1,w=1;function E(n){var i=n.match(o);i&&(v+=i.length);var a=n.lastIndexOf(p);w=~a?n.length-a:w+n.length}function S(){var n={line:v,column:w};return function(i){return i.position=new x(n),T(),i}}function x(n){this.start=n,this.end={line:v,column:w},this.source=d.source}x.prototype.content=n;var _=[];function k(i){var o=Error(d.source+":"+v+":"+w+": "+i);if(o.reason=i,o.filename=d.source,o.line=v,o.column=w,o.source=n,d.silent)_.push(o);else throw o}function A(i){var o=i.exec(n);if(o){var a=o[0];return E(a),n=n.slice(a.length),o}}function T(){A(a)}function C(n){var i;for(n=n||[];i=R();)!1!==i&&n.push(i);return n}function R(){var i=S();if(f==n.charAt(0)&&h==n.charAt(1)){for(var o=2;m!=n.charAt(o)&&(h!=n.charAt(o)||f!=n.charAt(o+1));)++o;if(o+=2,m===n.charAt(o-1))return k("End of comment missing");var a=n.slice(2,o-2);return w+=2,E(a),n=n.slice(o),w+=2,i({type:g,comment:a})}}function D(){var n=S(),o=A(s);if(o){if(R(),!A(l))return k("property missing ':'");var a=A(u),d=n({type:b,property:y(o[0].replace(i,m)),value:a?y(a[0].replace(i,m)):m});return A(c),d}}function O(){var n,i=[];for(C(i);n=D();)!1!==n&&(i.push(n),C(i));return i}return T(),O()}},46260:function(n){"use strict";function i(n){var i="string"==typeof n?n.charCodeAt(0):n;return i>=97&&i<=122||i>=65&&i<=90}n.exports=i},7961:function(n,i,o){"use strict";var a=o(46260),s=o(46195);function l(n){return a(n)||s(n)}n.exports=l},82584:function(n,i,o){"use strict";var a=o(96410)(),s=o(21924)("Object.prototype.toString"),l=function(n){return(!a||!n||"object"!=typeof n||!(Symbol.toStringTag in n))&&"[object Arguments]"===s(n)},u=function(n){return!!l(n)||null!==n&&"object"==typeof n&&"number"==typeof n.length&&n.length>=0&&"[object Array]"!==s(n)&&"[object Function]"===s(n.callee)},c=function(){return l(arguments)}();l.isLegacyArguments=u,n.exports=c?l:u},95320:function(n){"use strict";var i,o,a=Function.prototype.toString,s="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof s&&"function"==typeof Object.defineProperty)try{i=Object.defineProperty({},"length",{get:function(){throw o}}),o={},s(function(){throw 42},null,i)}catch(l){l!==o&&(s=null)}else s=null;var u=/^\s*class\b/,c=function(n){try{var i=a.call(n);return u.test(i)}catch(o){return!1}},d=function(n){try{if(c(n))return!1;return a.call(n),!0}catch(i){return!1}},p=Object.prototype.toString,f="[object Object]",h="[object Function]",m="[object GeneratorFunction]",g="[object HTMLAllCollection]",b="[object HTML document.all class]",y="[object HTMLCollection]",v="function"==typeof Symbol&&!!Symbol.toStringTag,w=!(0 in[,]),E=function(){return!1};if("object"==typeof document){var S=document.all;p.call(S)===p.call(document.all)&&(E=function(n){if((w||!n)&&(void 0===n||"object"==typeof n))try{var i=p.call(n);return(i===g||i===b||i===y||i===f)&&null==n("")}catch(o){}return!1})}n.exports=s?function(n){if(E(n))return!0;if(!n||"function"!=typeof n&&"object"!=typeof n)return!1;try{s(n,null,i)}catch(a){if(a!==o)return!1}return!c(n)&&d(n)}:function(n){if(E(n))return!0;if(!n||"function"!=typeof n&&"object"!=typeof n)return!1;if(v)return d(n);if(c(n))return!1;var i=p.call(n);return!!(i===h||i===m||/^\[object HTML/.test(i))&&d(n)}},46195:function(n){"use strict";function i(n){var i="string"==typeof n?n.charCodeAt(0):n;return i>=48&&i<=57}n.exports=i},48662:function(n,i,o){"use strict";var a,s=Object.prototype.toString,l=Function.prototype.toString,u=/^\s*(?:function)?\*/,c=o(96410)(),d=Object.getPrototypeOf,p=function(){if(!c)return!1;try{return Function("return function*() {}")()}catch(n){}};n.exports=function(n){if("function"!=typeof n)return!1;if(u.test(l.call(n)))return!0;if(!c)return"[object GeneratorFunction]"===s.call(n);if(!d)return!1;if(void 0===a){var i=p();a=!!i&&d(i)}return d(n)===a}},79480:function(n){"use strict";function i(n){var i="string"==typeof n?n.charCodeAt(0):n;return i>=97&&i<=102||i>=65&&i<=70||i>=48&&i<=57}n.exports=i},55299:function(n,i,o){"use strict";/*! + */ let a=o(79742),s=o(80645),l="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;i.Buffer=p,i.SlowBuffer=x,i.INSPECT_MAX_BYTES=50;let u=2147483647;function c(){try{let n=new Uint8Array(1),i={foo:function(){return 42}};return Object.setPrototypeOf(i,Uint8Array.prototype),Object.setPrototypeOf(n,i),42===n.foo()}catch(o){return!1}}function d(n){if(n>u)throw RangeError('The value "'+n+'" is invalid for option "size"');let i=new Uint8Array(n);return Object.setPrototypeOf(i,p.prototype),i}function p(n,i,o){if("number"==typeof n){if("string"==typeof i)throw TypeError('The "string" argument must be of type string. Received type number');return g(n)}return f(n,i,o)}function f(n,i,o){if("string"==typeof n)return b(n,i);if(ArrayBuffer.isView(n))return v(n);if(null==n)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n);if(eu(n,ArrayBuffer)||n&&eu(n.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(eu(n,SharedArrayBuffer)||n&&eu(n.buffer,SharedArrayBuffer)))return w(n,i,o);if("number"==typeof n)throw TypeError('The "value" argument must not be of type number. Received type number');let a=n.valueOf&&n.valueOf();if(null!=a&&a!==n)return p.from(a,i,o);let s=E(n);if(s)return s;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof n[Symbol.toPrimitive])return p.from(n[Symbol.toPrimitive]("string"),i,o);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n)}function h(n){if("number"!=typeof n)throw TypeError('"size" argument must be of type number');if(n<0)throw RangeError('The value "'+n+'" is invalid for option "size"')}function m(n,i,o){return(h(n),n<=0)?d(n):void 0!==i?"string"==typeof o?d(n).fill(i,o):d(n).fill(i):d(n)}function g(n){return h(n),d(n<0?0:0|S(n))}function b(n,i){if(("string"!=typeof i||""===i)&&(i="utf8"),!p.isEncoding(i))throw TypeError("Unknown encoding: "+i);let o=0|_(n,i),a=d(o),s=a.write(n,i);return s!==o&&(a=a.slice(0,s)),a}function y(n){let i=n.length<0?0:0|S(n.length),o=d(i);for(let a=0;a=u)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+u.toString(16)+" bytes");return 0|n}function x(n){return+n!=n&&(n=0),p.alloc(+n)}function _(n,i){if(p.isBuffer(n))return n.length;if(ArrayBuffer.isView(n)||eu(n,ArrayBuffer))return n.byteLength;if("string"!=typeof n)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof n);let o=n.length,a=arguments.length>2&&!0===arguments[2];if(!a&&0===o)return 0;let s=!1;for(;;)switch(i){case"ascii":case"latin1":case"binary":return o;case"utf8":case"utf-8":return ei(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*o;case"hex":return o>>>1;case"base64":return es(n).length;default:if(s)return a?-1:ei(n).length;i=(""+i).toLowerCase(),s=!0}}function k(n,i,o){let a=!1;if((void 0===i||i<0)&&(i=0),i>this.length||((void 0===o||o>this.length)&&(o=this.length),o<=0||(o>>>=0)<=(i>>>=0)))return"";for(n||(n="utf8");;)switch(n){case"hex":return z(this,i,o);case"utf8":case"utf-8":return L(this,i,o);case"ascii":return B(this,i,o);case"latin1":case"binary":return U(this,i,o);case"base64":return M(this,i,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,i,o);default:if(a)throw TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),a=!0}}function A(n,i,o){let a=n[i];n[i]=n[o],n[o]=a}function T(n,i,o,a,s){if(0===n.length)return -1;if("string"==typeof o?(a=o,o=0):o>2147483647?o=2147483647:o<-2147483648&&(o=-2147483648),ec(o=+o)&&(o=s?0:n.length-1),o<0&&(o=n.length+o),o>=n.length){if(s)return -1;o=n.length-1}else if(o<0){if(!s)return -1;o=0}if("string"==typeof i&&(i=p.from(i,a)),p.isBuffer(i))return 0===i.length?-1:C(n,i,o,a,s);if("number"==typeof i)return(i&=255,"function"==typeof Uint8Array.prototype.indexOf)?s?Uint8Array.prototype.indexOf.call(n,i,o):Uint8Array.prototype.lastIndexOf.call(n,i,o):C(n,[i],o,a,s);throw TypeError("val must be string, number or Buffer")}function C(n,i,o,a,s){let l,u=1,c=n.length,d=i.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(n.length<2||i.length<2)return -1;u=2,c/=2,d/=2,o/=2}function p(n,i){return 1===u?n[i]:n.readUInt16BE(i*u)}if(s){let f=-1;for(l=o;lc&&(o=c-d),l=o;l>=0;l--){let h=!0;for(let m=0;ml&&(a=l):a=l;let u=i.length;for(a>u/2&&(a=u/2),s=0;s239?4:l>223?3:l>191?2:1;if(s+c<=o){let d,p,f,h;switch(c){case 1:l<128&&(u=l);break;case 2:(192&(d=n[s+1]))==128&&(h=(31&l)<<6|63&d)>127&&(u=h);break;case 3:d=n[s+1],p=n[s+2],(192&d)==128&&(192&p)==128&&(h=(15&l)<<12|(63&d)<<6|63&p)>2047&&(h<55296||h>57343)&&(u=h);break;case 4:d=n[s+1],p=n[s+2],f=n[s+3],(192&d)==128&&(192&p)==128&&(192&f)==128&&(h=(15&l)<<18|(63&d)<<12|(63&p)<<6|63&f)>65535&&h<1114112&&(u=h)}}null===u?(u=65533,c=1):u>65535&&(u-=65536,a.push(u>>>10&1023|55296),u=56320|1023&u),a.push(u),s+=c}return F(a)}i.kMaxLength=u,p.TYPED_ARRAY_SUPPORT=c(),p.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(p.prototype,"parent",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.buffer}}),Object.defineProperty(p.prototype,"offset",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.byteOffset}}),p.poolSize=8192,p.from=function(n,i,o){return f(n,i,o)},Object.setPrototypeOf(p.prototype,Uint8Array.prototype),Object.setPrototypeOf(p,Uint8Array),p.alloc=function(n,i,o){return m(n,i,o)},p.allocUnsafe=function(n){return g(n)},p.allocUnsafeSlow=function(n){return g(n)},p.isBuffer=function(n){return null!=n&&!0===n._isBuffer&&n!==p.prototype},p.compare=function(n,i){if(eu(n,Uint8Array)&&(n=p.from(n,n.offset,n.byteLength)),eu(i,Uint8Array)&&(i=p.from(i,i.offset,i.byteLength)),!p.isBuffer(n)||!p.isBuffer(i))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(n===i)return 0;let o=n.length,a=i.length;for(let s=0,l=Math.min(o,a);sa.length?(p.isBuffer(l)||(l=p.from(l)),l.copy(a,s)):Uint8Array.prototype.set.call(a,l,s);else if(p.isBuffer(l))l.copy(a,s);else throw TypeError('"list" argument must be an Array of Buffers');s+=l.length}return a},p.byteLength=_,p.prototype._isBuffer=!0,p.prototype.swap16=function(){let n=this.length;if(n%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let i=0;io&&(n+=" ... "),""},l&&(p.prototype[l]=p.prototype.inspect),p.prototype.compare=function(n,i,o,a,s){if(eu(n,Uint8Array)&&(n=p.from(n,n.offset,n.byteLength)),!p.isBuffer(n))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof n);if(void 0===i&&(i=0),void 0===o&&(o=n?n.length:0),void 0===a&&(a=0),void 0===s&&(s=this.length),i<0||o>n.length||a<0||s>this.length)throw RangeError("out of range index");if(a>=s&&i>=o)return 0;if(a>=s)return -1;if(i>=o)return 1;if(i>>>=0,o>>>=0,a>>>=0,s>>>=0,this===n)return 0;let l=s-a,u=o-i,c=Math.min(l,u),d=this.slice(a,s),f=n.slice(i,o);for(let h=0;h>>=0,isFinite(o)?(o>>>=0,void 0===a&&(a="utf8")):(a=o,o=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let s=this.length-i;if((void 0===o||o>s)&&(o=s),n.length>0&&(o<0||i<0)||i>this.length)throw RangeError("Attempt to write outside buffer bounds");a||(a="utf8");let l=!1;for(;;)switch(a){case"hex":return R(this,n,i,o);case"utf8":case"utf-8":return D(this,n,i,o);case"ascii":case"latin1":case"binary":return O(this,n,i,o);case"base64":return I(this,n,i,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,n,i,o);default:if(l)throw TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),l=!0}},p.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};let P=4096;function F(n){let i=n.length;if(i<=P)return String.fromCharCode.apply(String,n);let o="",a=0;for(;aa)&&(o=a);let s="";for(let l=i;lo)throw RangeError("Trying to access beyond buffer length")}function H(n,i,o,a,s,l){if(!p.isBuffer(n))throw TypeError('"buffer" argument must be a Buffer instance');if(i>s||in.length)throw RangeError("Index out of range")}function V(n,i,o,a,s){Q(i,a,s,n,o,7);let l=Number(i&BigInt(4294967295));n[o++]=l,l>>=8,n[o++]=l,l>>=8,n[o++]=l,l>>=8,n[o++]=l;let u=Number(i>>BigInt(32)&BigInt(4294967295));return n[o++]=u,u>>=8,n[o++]=u,u>>=8,n[o++]=u,u>>=8,n[o++]=u,o}function G(n,i,o,a,s){Q(i,a,s,n,o,7);let l=Number(i&BigInt(4294967295));n[o+7]=l,l>>=8,n[o+6]=l,l>>=8,n[o+5]=l,l>>=8,n[o+4]=l;let u=Number(i>>BigInt(32)&BigInt(4294967295));return n[o+3]=u,u>>=8,n[o+2]=u,u>>=8,n[o+1]=u,u>>=8,n[o]=u,o+8}function q(n,i,o,a,s,l){if(o+a>n.length||o<0)throw RangeError("Index out of range")}function W(n,i,o,a,l){return i=+i,o>>>=0,l||q(n,i,o,4,34028234663852886e22,-34028234663852886e22),s.write(n,i,o,a,23,4),o+4}function K(n,i,o,a,l){return i=+i,o>>>=0,l||q(n,i,o,8,17976931348623157e292,-17976931348623157e292),s.write(n,i,o,a,52,8),o+8}p.prototype.slice=function(n,i){let o=this.length;n=~~n,i=void 0===i?o:~~i,n<0?(n+=o)<0&&(n=0):n>o&&(n=o),i<0?(i+=o)<0&&(i=0):i>o&&(i=o),i>>=0,i>>>=0,o||$(n,i,this.length);let a=this[n],s=1,l=0;for(;++l>>=0,i>>>=0,o||$(n,i,this.length);let a=this[n+--i],s=1;for(;i>0&&(s*=256);)a+=this[n+--i]*s;return a},p.prototype.readUint8=p.prototype.readUInt8=function(n,i){return n>>>=0,i||$(n,1,this.length),this[n]},p.prototype.readUint16LE=p.prototype.readUInt16LE=function(n,i){return n>>>=0,i||$(n,2,this.length),this[n]|this[n+1]<<8},p.prototype.readUint16BE=p.prototype.readUInt16BE=function(n,i){return n>>>=0,i||$(n,2,this.length),this[n]<<8|this[n+1]},p.prototype.readUint32LE=p.prototype.readUInt32LE=function(n,i){return n>>>=0,i||$(n,4,this.length),(this[n]|this[n+1]<<8|this[n+2]<<16)+16777216*this[n+3]},p.prototype.readUint32BE=p.prototype.readUInt32BE=function(n,i){return n>>>=0,i||$(n,4,this.length),16777216*this[n]+(this[n+1]<<16|this[n+2]<<8|this[n+3])},p.prototype.readBigUInt64LE=ep(function(n){ee(n>>>=0,"offset");let i=this[n],o=this[n+7];(void 0===i||void 0===o)&&et(n,this.length-8);let a=i+256*this[++n]+65536*this[++n]+16777216*this[++n],s=this[++n]+256*this[++n]+65536*this[++n]+16777216*o;return BigInt(a)+(BigInt(s)<>>=0,"offset");let i=this[n],o=this[n+7];(void 0===i||void 0===o)&&et(n,this.length-8);let a=16777216*i+65536*this[++n]+256*this[++n]+this[++n],s=16777216*this[++n]+65536*this[++n]+256*this[++n]+o;return(BigInt(a)<>>=0,i>>>=0,o||$(n,i,this.length);let a=this[n],s=1,l=0;for(;++l=(s*=128)&&(a-=Math.pow(2,8*i)),a},p.prototype.readIntBE=function(n,i,o){n>>>=0,i>>>=0,o||$(n,i,this.length);let a=i,s=1,l=this[n+--a];for(;a>0&&(s*=256);)l+=this[n+--a]*s;return l>=(s*=128)&&(l-=Math.pow(2,8*i)),l},p.prototype.readInt8=function(n,i){return(n>>>=0,i||$(n,1,this.length),128&this[n])?-((255-this[n]+1)*1):this[n]},p.prototype.readInt16LE=function(n,i){n>>>=0,i||$(n,2,this.length);let o=this[n]|this[n+1]<<8;return 32768&o?4294901760|o:o},p.prototype.readInt16BE=function(n,i){n>>>=0,i||$(n,2,this.length);let o=this[n+1]|this[n]<<8;return 32768&o?4294901760|o:o},p.prototype.readInt32LE=function(n,i){return n>>>=0,i||$(n,4,this.length),this[n]|this[n+1]<<8|this[n+2]<<16|this[n+3]<<24},p.prototype.readInt32BE=function(n,i){return n>>>=0,i||$(n,4,this.length),this[n]<<24|this[n+1]<<16|this[n+2]<<8|this[n+3]},p.prototype.readBigInt64LE=ep(function(n){ee(n>>>=0,"offset");let i=this[n],o=this[n+7];(void 0===i||void 0===o)&&et(n,this.length-8);let a=this[n+4]+256*this[n+5]+65536*this[n+6]+(o<<24);return(BigInt(a)<>>=0,"offset");let i=this[n],o=this[n+7];(void 0===i||void 0===o)&&et(n,this.length-8);let a=(i<<24)+65536*this[++n]+256*this[++n]+this[++n];return(BigInt(a)<>>=0,i||$(n,4,this.length),s.read(this,n,!0,23,4)},p.prototype.readFloatBE=function(n,i){return n>>>=0,i||$(n,4,this.length),s.read(this,n,!1,23,4)},p.prototype.readDoubleLE=function(n,i){return n>>>=0,i||$(n,8,this.length),s.read(this,n,!0,52,8)},p.prototype.readDoubleBE=function(n,i){return n>>>=0,i||$(n,8,this.length),s.read(this,n,!1,52,8)},p.prototype.writeUintLE=p.prototype.writeUIntLE=function(n,i,o,a){if(n=+n,i>>>=0,o>>>=0,!a){let s=Math.pow(2,8*o)-1;H(this,n,i,o,s,0)}let l=1,u=0;for(this[i]=255&n;++u>>=0,o>>>=0,!a){let s=Math.pow(2,8*o)-1;H(this,n,i,o,s,0)}let l=o-1,u=1;for(this[i+l]=255&n;--l>=0&&(u*=256);)this[i+l]=n/u&255;return i+o},p.prototype.writeUint8=p.prototype.writeUInt8=function(n,i,o){return n=+n,i>>>=0,o||H(this,n,i,1,255,0),this[i]=255&n,i+1},p.prototype.writeUint16LE=p.prototype.writeUInt16LE=function(n,i,o){return n=+n,i>>>=0,o||H(this,n,i,2,65535,0),this[i]=255&n,this[i+1]=n>>>8,i+2},p.prototype.writeUint16BE=p.prototype.writeUInt16BE=function(n,i,o){return n=+n,i>>>=0,o||H(this,n,i,2,65535,0),this[i]=n>>>8,this[i+1]=255&n,i+2},p.prototype.writeUint32LE=p.prototype.writeUInt32LE=function(n,i,o){return n=+n,i>>>=0,o||H(this,n,i,4,4294967295,0),this[i+3]=n>>>24,this[i+2]=n>>>16,this[i+1]=n>>>8,this[i]=255&n,i+4},p.prototype.writeUint32BE=p.prototype.writeUInt32BE=function(n,i,o){return n=+n,i>>>=0,o||H(this,n,i,4,4294967295,0),this[i]=n>>>24,this[i+1]=n>>>16,this[i+2]=n>>>8,this[i+3]=255&n,i+4},p.prototype.writeBigUInt64LE=ep(function(n,i=0){return V(this,n,i,BigInt(0),BigInt("0xffffffffffffffff"))}),p.prototype.writeBigUInt64BE=ep(function(n,i=0){return G(this,n,i,BigInt(0),BigInt("0xffffffffffffffff"))}),p.prototype.writeIntLE=function(n,i,o,a){if(n=+n,i>>>=0,!a){let s=Math.pow(2,8*o-1);H(this,n,i,o,s-1,-s)}let l=0,u=1,c=0;for(this[i]=255&n;++l>0)-c&255;return i+o},p.prototype.writeIntBE=function(n,i,o,a){if(n=+n,i>>>=0,!a){let s=Math.pow(2,8*o-1);H(this,n,i,o,s-1,-s)}let l=o-1,u=1,c=0;for(this[i+l]=255&n;--l>=0&&(u*=256);)n<0&&0===c&&0!==this[i+l+1]&&(c=1),this[i+l]=(n/u>>0)-c&255;return i+o},p.prototype.writeInt8=function(n,i,o){return n=+n,i>>>=0,o||H(this,n,i,1,127,-128),n<0&&(n=255+n+1),this[i]=255&n,i+1},p.prototype.writeInt16LE=function(n,i,o){return n=+n,i>>>=0,o||H(this,n,i,2,32767,-32768),this[i]=255&n,this[i+1]=n>>>8,i+2},p.prototype.writeInt16BE=function(n,i,o){return n=+n,i>>>=0,o||H(this,n,i,2,32767,-32768),this[i]=n>>>8,this[i+1]=255&n,i+2},p.prototype.writeInt32LE=function(n,i,o){return n=+n,i>>>=0,o||H(this,n,i,4,2147483647,-2147483648),this[i]=255&n,this[i+1]=n>>>8,this[i+2]=n>>>16,this[i+3]=n>>>24,i+4},p.prototype.writeInt32BE=function(n,i,o){return n=+n,i>>>=0,o||H(this,n,i,4,2147483647,-2147483648),n<0&&(n=4294967295+n+1),this[i]=n>>>24,this[i+1]=n>>>16,this[i+2]=n>>>8,this[i+3]=255&n,i+4},p.prototype.writeBigInt64LE=ep(function(n,i=0){return V(this,n,i,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),p.prototype.writeBigInt64BE=ep(function(n,i=0){return G(this,n,i,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),p.prototype.writeFloatLE=function(n,i,o){return W(this,n,i,!0,o)},p.prototype.writeFloatBE=function(n,i,o){return W(this,n,i,!1,o)},p.prototype.writeDoubleLE=function(n,i,o){return K(this,n,i,!0,o)},p.prototype.writeDoubleBE=function(n,i,o){return K(this,n,i,!1,o)},p.prototype.copy=function(n,i,o,a){if(!p.isBuffer(n))throw TypeError("argument should be a Buffer");if(o||(o=0),a||0===a||(a=this.length),i>=n.length&&(i=n.length),i||(i=0),a>0&&a=this.length)throw RangeError("Index out of range");if(a<0)throw RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),n.length-i>>=0,o=void 0===o?this.length:o>>>0,n||(n=0),"number"==typeof n)for(s=i;s=a+4;o-=3)i=`_${n.slice(o-3,o)}${i}`;return`${n.slice(0,o)}${i}`}function J(n,i,o){ee(i,"offset"),(void 0===n[i]||void 0===n[i+o])&&et(i,n.length-(o+1))}function Q(n,i,o,a,s,l){if(n>o||n3?0===i||i===BigInt(0)?`>= 0${c} and < 2${c} ** ${(l+1)*8}${c}`:`>= -(2${c} ** ${(l+1)*8-1}${c}) and < 2 ** ${(l+1)*8-1}${c}`:`>= ${i}${c} and <= ${o}${c}`,new Y.ERR_OUT_OF_RANGE("value",u,n)}J(a,s,l)}function ee(n,i){if("number"!=typeof n)throw new Y.ERR_INVALID_ARG_TYPE(i,"number",n)}function et(n,i,o){if(Math.floor(n)!==n)throw ee(n,o),new Y.ERR_OUT_OF_RANGE(o||"offset","an integer",n);if(i<0)throw new Y.ERR_BUFFER_OUT_OF_BOUNDS;throw new Y.ERR_OUT_OF_RANGE(o||"offset",`>= ${o?1:0} and <= ${i}`,n)}Z("ERR_BUFFER_OUT_OF_BOUNDS",function(n){return n?`${n} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Z("ERR_INVALID_ARG_TYPE",function(n,i){return`The "${n}" argument must be of type number. Received type ${typeof i}`},TypeError),Z("ERR_OUT_OF_RANGE",function(n,i,o){let a=`The value of "${n}" is out of range.`,s=o;return Number.isInteger(o)&&Math.abs(o)>4294967296?s=X(String(o)):"bigint"==typeof o&&(s=String(o),(o>BigInt(2)**BigInt(32)||o<-(BigInt(2)**BigInt(32)))&&(s=X(s)),s+="n"),a+=` It must be ${i}. Received ${s}`},RangeError);let en=/[^+/0-9A-Za-z-_]/g;function er(n){if((n=(n=n.split("=")[0]).trim().replace(en,"")).length<2)return"";for(;n.length%4!=0;)n+="=";return n}function ei(n,i){let o;i=i||1/0;let a=n.length,s=null,l=[];for(let u=0;u55295&&o<57344){if(!s){if(o>56319||u+1===a){(i-=3)>-1&&l.push(239,191,189);continue}s=o;continue}if(o<56320){(i-=3)>-1&&l.push(239,191,189),s=o;continue}o=(s-55296<<10|o-56320)+65536}else s&&(i-=3)>-1&&l.push(239,191,189);if(s=null,o<128){if((i-=1)<0)break;l.push(o)}else if(o<2048){if((i-=2)<0)break;l.push(o>>6|192,63&o|128)}else if(o<65536){if((i-=3)<0)break;l.push(o>>12|224,o>>6&63|128,63&o|128)}else if(o<1114112){if((i-=4)<0)break;l.push(o>>18|240,o>>12&63|128,o>>6&63|128,63&o|128)}else throw Error("Invalid code point")}return l}function eo(n){let i=[];for(let o=0;o>8,s.push(o%256),s.push(a);return s}function es(n){return a.toByteArray(er(n))}function el(n,i,o,a){let s;for(s=0;s=i.length)&&!(s>=n.length);++s)i[s+o]=n[s];return s}function eu(n,i){return n instanceof i||null!=n&&null!=n.constructor&&null!=n.constructor.name&&n.constructor.name===i.name}function ec(n){return n!=n}let ed=function(){let n="0123456789abcdef",i=Array(256);for(let o=0;o<16;++o){let a=16*o;for(let s=0;s<16;++s)i[a+s]=n[o]+n[s]}return i}();function ep(n){return"undefined"==typeof BigInt?ef:n}function ef(){throw Error("BigInt not supported")}},56851:function(n,i){"use strict";i.Q=s;var o=",",a="";function s(n){for(var i,s=[],l=String(n||a),u=l.indexOf(o),c=0,d=!1;!d;)-1===u&&(u=l.length,d=!0),((i=l.slice(c,u).trim())||!d)&&s.push(i),c=u+1,u=l.indexOf(o,c);return s}},20640:function(n,i,o){"use strict";var a=o(11742),s={"text/plain":"Text","text/html":"Url",default:"Text"},l="Copy to clipboard: #{key}, Enter";function u(n){var i=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return n.replace(/#{\s*key\s*}/g,i)}function c(n,i){var o,c,d,p,f,h,m=!1;i||(i={}),o=i.debug||!1;try{if(d=a(),p=document.createRange(),f=document.getSelection(),(h=document.createElement("span")).textContent=n,h.ariaHidden="true",h.style.all="unset",h.style.position="fixed",h.style.top=0,h.style.clip="rect(0, 0, 0, 0)",h.style.whiteSpace="pre",h.style.webkitUserSelect="text",h.style.MozUserSelect="text",h.style.msUserSelect="text",h.style.userSelect="text",h.addEventListener("copy",function(a){if(a.stopPropagation(),i.format){if(a.preventDefault(),void 0===a.clipboardData){o&&console.warn("unable to use e.clipboardData"),o&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var l=s[i.format]||s.default;window.clipboardData.setData(l,n)}else a.clipboardData.clearData(),a.clipboardData.setData(i.format,n)}i.onCopy&&(a.preventDefault(),i.onCopy(a.clipboardData))}),document.body.appendChild(h),p.selectNodeContents(h),f.addRange(p),!document.execCommand("copy"))throw Error("copy command was unsuccessful");m=!0}catch(b){o&&console.error("unable to copy using execCommand: ",b),o&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(i.format||"text",n),i.onCopy&&i.onCopy(window.clipboardData),m=!0}catch(g){o&&console.error("unable to copy using clipboardData: ",g),o&&console.error("falling back to prompt"),c=u("message"in i?i.message:l),window.prompt(c,n)}}finally{f&&("function"==typeof f.removeRange?f.removeRange(p):f.removeAllRanges()),h&&document.body.removeChild(h),d()}return m}n.exports=c},20296:function(n){function i(n,i,o){function a(){var p=Date.now()-c;p=0?s=setTimeout(a,i-p):(s=null,o||(d=n.apply(u,l),u=l=null))}null==i&&(i=100);var s,l,u,c,d,p=function(){u=this,l=arguments,c=Date.now();var p=o&&!s;return s||(s=setTimeout(a,i)),p&&(d=n.apply(u,l),u=l=null),d};return p.clear=function(){s&&(clearTimeout(s),s=null)},p.flush=function(){s&&(d=n.apply(u,l),u=l=null,clearTimeout(s),s=null)},p}i.debounce=i,n.exports=i},44020:function(n){"use strict";var i="%[a-f0-9]{2}",o=RegExp("("+i+")|([^%]+?)","gi"),a=RegExp("("+i+")+","gi");function s(n,i){try{return[decodeURIComponent(n.join(""))]}catch(o){}if(1===n.length)return n;i=i||1;var a=n.slice(0,i),l=n.slice(i);return Array.prototype.concat.call([],s(a),s(l))}function l(n){try{return decodeURIComponent(n)}catch(l){for(var i=n.match(o)||[],a=1;a{if("string"!=typeof n)throw TypeError("Expected a string");return n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},17187:function(n){"use strict";var i,o="object"==typeof Reflect?Reflect:null,a=o&&"function"==typeof o.apply?o.apply:function(n,i,o){return Function.prototype.apply.call(n,i,o)};function s(n){console&&console.warn&&console.warn(n)}i=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(n){return Object.getOwnPropertyNames(n).concat(Object.getOwnPropertySymbols(n))}:function(n){return Object.getOwnPropertyNames(n)};var l=Number.isNaN||function(n){return n!=n};function u(){u.init.call(this)}n.exports=u,n.exports.once=E,u.EventEmitter=u,u.prototype._events=void 0,u.prototype._eventsCount=0,u.prototype._maxListeners=void 0;var c=10;function d(n){if("function"!=typeof n)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof n)}function p(n){return void 0===n._maxListeners?u.defaultMaxListeners:n._maxListeners}function f(n,i,o,a){if(d(o),void 0===(u=n._events)?(u=n._events=Object.create(null),n._eventsCount=0):(void 0!==u.newListener&&(n.emit("newListener",i,o.listener?o.listener:o),u=n._events),c=u[i]),void 0===c)c=u[i]=o,++n._eventsCount;else if("function"==typeof c?c=u[i]=a?[o,c]:[c,o]:a?c.unshift(o):c.push(o),(l=p(n))>0&&c.length>l&&!c.warned){c.warned=!0;var l,u,c,f=Error("Possible EventEmitter memory leak detected. "+c.length+" "+String(i)+" listeners added. Use emitter.setMaxListeners() to increase limit");f.name="MaxListenersExceededWarning",f.emitter=n,f.type=i,f.count=c.length,s(f)}return n}function h(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function m(n,i,o){var a={fired:!1,wrapFn:void 0,target:n,type:i,listener:o},s=h.bind(a);return s.listener=o,a.wrapFn=s,s}function g(n,i,o){var a=n._events;if(void 0===a)return[];var s=a[i];return void 0===s?[]:"function"==typeof s?o?[s.listener||s]:[s]:o?w(s):y(s,s.length)}function b(n){var i=this._events;if(void 0!==i){var o=i[n];if("function"==typeof o)return 1;if(void 0!==o)return o.length}return 0}function y(n,i){for(var o=Array(i),a=0;a0&&(u=i[0]),u instanceof Error)throw u;var u,c=Error("Unhandled error."+(u?" ("+u.message+")":""));throw c.context=u,c}var d=l[n];if(void 0===d)return!1;if("function"==typeof d)a(d,this,i);else for(var p=d.length,f=y(d,p),o=0;o=0;l--)if(o[l]===i||o[l].listener===i){u=o[l].listener,s=l;break}if(s<0)return this;0===s?o.shift():v(o,s),1===o.length&&(a[n]=o[0]),void 0!==a.removeListener&&this.emit("removeListener",n,u||i)}return this},u.prototype.off=u.prototype.removeListener,u.prototype.removeAllListeners=function(n){var i,o,a;if(void 0===(o=this._events))return this;if(void 0===o.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==o[n]&&(0==--this._eventsCount?this._events=Object.create(null):delete o[n]),this;if(0==arguments.length){var s,l=Object.keys(o);for(a=0;a=0;a--)this.removeListener(n,i[a]);return this},u.prototype.listeners=function(n){return g(this,n,!0)},u.prototype.rawListeners=function(n){return g(this,n,!1)},u.listenerCount=function(n,i){return"function"==typeof n.listenerCount?n.listenerCount(i):b.call(n,i)},u.prototype.listenerCount=b,u.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]}},94470:function(n){"use strict";var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l=function(n){return"function"==typeof Array.isArray?Array.isArray(n):"[object Array]"===o.call(n)},u=function(n){if(!n||"[object Object]"!==o.call(n))return!1;var a,s=i.call(n,"constructor"),l=n.constructor&&n.constructor.prototype&&i.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!s&&!l)return!1;for(a in n);return void 0===a||i.call(n,a)},c=function(n,i){a&&"__proto__"===i.name?a(n,i.name,{enumerable:!0,configurable:!0,value:i.newValue,writable:!0}):n[i.name]=i.newValue},d=function(n,o){if("__proto__"===o){if(!i.call(n,o))return;if(s)return s(n,o).value}return n[o]};n.exports=function n(){var i,o,a,s,p,f,h=arguments[0],m=1,g=arguments.length,b=!1;for("boolean"==typeof h&&(b=h,h=arguments[1]||{},m=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});ms?"":n.slice(s,i)}var l=["/",":","?","#"],u=[".","/","@"];n.exports=function(n){if("string"==typeof n)return s(n);if(Array.isArray(n)){var i,o=[],l=0;for(i=n.length;l10&&(i="..."+i.substr(-10));var o=Error("Decoded data is not valid UTF-8. Maybe try base32.decode.asBytes()? Partial data after reading "+n+" bytes: "+i+" <-");throw o.position=n,o},f=function(n){for(var i,o,a="",s=n.length,l=0,u=0;l191&&i<=223?(o=31&i,u=1):i<=239?(o=15&i,u=2):i<=247?(o=7&i,u=3):p(l,a);for(var c=0;c191)&&p(l,a),o<<=6,o+=63&i;o>=55296&&o<=57343&&p(l,a),o>1114111&&p(l,a),o<=65535?a+=String.fromCharCode(o):(o-=65536,a+=String.fromCharCode((o>>10)+55296),a+=String.fromCharCode((1023&o)+56320))}return a},h=function(n){if(""===n)return[];if(!/^[A-Z2-7=]+$/.test(n))throw Error("Invalid base32 characters");n=n.replace(/=/g,"");for(var i,o,a,s,l,u,d,p,f=[],h=0,m=n.length,g=0,b=m>>3<<3;g>>2)&255,f[h++]=(o<<6|a<<1|s>>>4)&255,f[h++]=(s<<4|l>>>1)&255,f[h++]=(l<<7|u<<2|d>>>3)&255,f[h++]=(d<<5|p)&255;var y=m-b;return 2===y?(i=c[n.charAt(g++)],o=c[n.charAt(g++)],f[h++]=(i<<3|o>>>2)&255):4===y?(i=c[n.charAt(g++)],o=c[n.charAt(g++)],a=c[n.charAt(g++)],s=c[n.charAt(g++)],f[h++]=(i<<3|o>>>2)&255,f[h++]=(o<<6|a<<1|s>>>4)&255):5===y?(i=c[n.charAt(g++)],o=c[n.charAt(g++)],a=c[n.charAt(g++)],s=c[n.charAt(g++)],l=c[n.charAt(g++)],f[h++]=(i<<3|o>>>2)&255,f[h++]=(o<<6|a<<1|s>>>4)&255,f[h++]=(s<<4|l>>>1)&255):7===y&&(i=c[n.charAt(g++)],o=c[n.charAt(g++)],a=c[n.charAt(g++)],s=c[n.charAt(g++)],l=c[n.charAt(g++)],u=c[n.charAt(g++)],d=c[n.charAt(g++)],f[h++]=(i<<3|o>>>2)&255,f[h++]=(o<<6|a<<1|s>>>4)&255,f[h++]=(s<<4|l>>>1)&255,f[h++]=(l<<7|u<<2|d>>>3)&255),f},m=function(n){for(var i,o,a,s,l,c="",d=n.length,p=0,f=5*parseInt(d/5);p>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[(o<<4|a>>>4)&31]+u[(a<<1|s>>>7)&31]+u[s>>>2&31]+u[(s<<3|l>>>5)&31]+u[31&l];var h=d-f;return 1===h?c+=u[(i=n.charCodeAt(p))>>>3]+u[i<<2&31]+"======":2===h?(i=n.charCodeAt(p++),o=n.charCodeAt(p),c+=u[i>>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[o<<4&31]+"===="):3===h?(i=n.charCodeAt(p++),o=n.charCodeAt(p++),a=n.charCodeAt(p),c+=u[i>>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[(o<<4|a>>>4)&31]+u[a<<1&31]+"==="):4===h&&(i=n.charCodeAt(p++),o=n.charCodeAt(p++),a=n.charCodeAt(p++),s=n.charCodeAt(p),c+=u[i>>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[(o<<4|a>>>4)&31]+u[(a<<1|s>>>7)&31]+u[s>>>2&31]+u[s<<3&31]+"="),c},g=function(n){var i,o,a,s,l,c,p,f=!1,h="",m=0,g=0,b=0,y=n.length;if(""===n)return h;do{for(d[0]=d[5],d[1]=d[6],d[2]=d[7],p=g;m>6,d[p++]=128|63&c):c<55296||c>=57344?(d[p++]=224|c>>12,d[p++]=128|c>>6&63,d[p++]=128|63&c):(c=65536+((1023&c)<<10|1023&n.charCodeAt(++m)),d[p++]=240|c>>18,d[p++]=128|c>>12&63,d[p++]=128|c>>6&63,d[p++]=128|63&c);b+=p-g,g=p-5,m===y&&++m,m>y&&p<6&&(f=!0),i=d[0],p>4?(o=d[1],a=d[2],s=d[3],l=d[4],h+=u[i>>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[(o<<4|a>>>4)&31]+u[(a<<1|s>>>7)&31]+u[s>>>2&31]+u[(s<<3|l>>>5)&31]+u[31&l]):1===p?h+=u[i>>>3]+u[i<<2&31]+"======":2===p?(o=d[1],h+=u[i>>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[o<<4&31]+"===="):3===p?(o=d[1],a=d[2],h+=u[i>>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[(o<<4|a>>>4)&31]+u[a<<1&31]+"==="):(o=d[1],a=d[2],s=d[3],h+=u[i>>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[(o<<4|a>>>4)&31]+u[(a<<1|s>>>7)&31]+u[s>>>2&31]+u[s<<3&31]+"=")}while(!f);return h},b=function(n){for(var i,o,a,s,l,c="",d=n.length,p=0,f=5*parseInt(d/5);p>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[(o<<4|a>>>4)&31]+u[(a<<1|s>>>7)&31]+u[s>>>2&31]+u[(s<<3|l>>>5)&31]+u[31&l];var h=d-f;return 1===h?c+=u[(i=n[p])>>>3]+u[i<<2&31]+"======":2===h?(i=n[p++],o=n[p],c+=u[i>>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[o<<4&31]+"===="):3===h?(i=n[p++],o=n[p++],a=n[p],c+=u[i>>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[(o<<4|a>>>4)&31]+u[a<<1&31]+"==="):4===h&&(i=n[p++],o=n[p++],a=n[p++],s=n[p],c+=u[i>>>3]+u[(i<<2|o>>>6)&31]+u[o>>>1&31]+u[(o<<4|a>>>4)&31]+u[(a<<1|s>>>7)&31]+u[s>>>2&31]+u[s<<3&31]+"="),c},v={encode:function(n,i){var o="string"!=typeof n;return(o&&n.constructor===ArrayBuffer&&(n=new Uint8Array(n)),o)?b(n):i?m(n):g(n)},decode:y=function(n,i){if(!i)return f(h(n));if(""===n)return"";if(!/^[A-Z2-7=]+$/.test(n))throw Error("Invalid base32 characters");var o,a,s,l,u,d,p,m,g="",b=n.indexOf("=");-1===b&&(b=n.length);for(var y=0,v=b>>3<<3;y>>2)&255)+String.fromCharCode((a<<6|s<<1|l>>>4)&255)+String.fromCharCode((l<<4|u>>>1)&255)+String.fromCharCode((u<<7|d<<2|p>>>3)&255)+String.fromCharCode((p<<5|m)&255);var w=b-v;return 2===w?g+=String.fromCharCode(((o=c[n.charAt(y++)])<<3|(a=c[n.charAt(y++)])>>>2)&255):4===w?(o=c[n.charAt(y++)],a=c[n.charAt(y++)],s=c[n.charAt(y++)],l=c[n.charAt(y++)],g+=String.fromCharCode((o<<3|a>>>2)&255)+String.fromCharCode((a<<6|s<<1|l>>>4)&255)):5===w?(o=c[n.charAt(y++)],a=c[n.charAt(y++)],s=c[n.charAt(y++)],l=c[n.charAt(y++)],u=c[n.charAt(y++)],g+=String.fromCharCode((o<<3|a>>>2)&255)+String.fromCharCode((a<<6|s<<1|l>>>4)&255)+String.fromCharCode((l<<4|u>>>1)&255)):7===w&&(o=c[n.charAt(y++)],a=c[n.charAt(y++)],s=c[n.charAt(y++)],l=c[n.charAt(y++)],u=c[n.charAt(y++)],d=c[n.charAt(y++)],p=c[n.charAt(y++)],g+=String.fromCharCode((o<<3|a>>>2)&255)+String.fromCharCode((a<<6|s<<1|l>>>4)&255)+String.fromCharCode((l<<4|u>>>1)&255)+String.fromCharCode((u<<7|d<<2|p>>>3)&255)),g}},y.asBytes=h,s?n.exports=v:(a.base32=v,l&&void 0!==(w=(function(){return v}).call(v,o,v,n))&&(n.exports=w))},46293:function(n,i,o){"use strict";function a(n,i){if(n.match(/^[a-z]+:\/\//i))return n;if(n.match(/^\/\//))return window.location.protocol+n;if(n.match(/^[a-z]+:/i))return n;let o=document.implementation.createHTMLDocument(),a=o.createElement("base"),s=o.createElement("a");return o.head.appendChild(a),o.body.appendChild(s),i&&(a.href=i),s.href=n,s.href}o.d(i,{SE:function(){return eS}});let s=(()=>{let n=0,i=()=>`0000${(1679616*Math.random()<<0).toString(36)}`.slice(-4);return()=>`u${i()}${n+=1}`})();function l(n){let i=[];for(let o=0,a=n.length;oh||n.height>h)&&(n.width>h&&n.height>h?n.width>n.height?(n.height*=h/n.width,n.width=h):(n.width*=h/n.height,n.height=h):n.width>h?(n.height*=h/n.width,n.width=h):(n.width*=h/n.height,n.height=h))}function g(n,i={}){return new Promise(n.toBlob?o=>{n.toBlob(o,i.type?i.type:"image/png",i.quality?i.quality:1)}:o=>{let a=window.atob(n.toDataURL(i.type?i.type:void 0,i.quality?i.quality:void 0).split(",")[1]),s=a.length,l=new Uint8Array(s);for(let u=0;u{let a=new Image;a.decode=()=>i(a),a.onload=()=>i(a),a.onerror=o,a.crossOrigin="anonymous",a.decoding="async",a.src=n})}async function y(n){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(n)).then(encodeURIComponent).then(n=>`data:image/svg+xml;charset=utf-8,${n}`)}async function v(n,i,o){let a="http://www.w3.org/2000/svg",s=document.createElementNS(a,"svg"),l=document.createElementNS(a,"foreignObject");return s.setAttribute("width",`${i}`),s.setAttribute("height",`${o}`),s.setAttribute("viewBox",`0 0 ${i} ${o}`),l.setAttribute("width","100%"),l.setAttribute("height","100%"),l.setAttribute("x","0"),l.setAttribute("y","0"),l.setAttribute("externalResourcesRequired","true"),s.appendChild(l),l.appendChild(n),y(s)}let w=(n,i)=>{if(n instanceof i)return!0;let o=Object.getPrototypeOf(n);return null!==o&&(o.constructor.name===i.name||w(o,i))};function E(n){let i=n.getPropertyValue("content");return`${n.cssText} content: '${i.replace(/'|"/g,"")}';`}function S(n){return l(n).map(i=>{let o=n.getPropertyValue(i),a=n.getPropertyPriority(i);return`${i}: ${o}${a?" !important":""};`}).join(" ")}function x(n,i,o){let a=`.${n}:${i}`,s=o.cssText?E(o):S(o);return document.createTextNode(`${a}{${s}}`)}function _(n,i,o){let a=window.getComputedStyle(n,o),l=a.getPropertyValue("content");if(""===l||"none"===l)return;let u=s();try{i.className=`${i.className} ${u}`}catch(c){return}let d=document.createElement("style");d.appendChild(x(u,o,a)),i.appendChild(d)}function k(n,i){_(n,i,":before"),_(n,i,":after")}let A="application/font-woff",T="image/jpeg",C={woff:A,woff2:A,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:T,jpeg:T,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function R(n){let i=/\.([^./]*?)$/g.exec(n);return i?i[1]:""}function D(n){let i=R(n).toLowerCase();return C[i]||""}function O(n){return n.split(/,/)[1]}function I(n){return -1!==n.search(/^(data:)/)}function N(n,i){return`data:${i};base64,${n}`}async function M(n,i,o){let a=await fetch(n,i);if(404===a.status)throw Error(`Resource "${a.url}" not found`);let s=await a.blob();return new Promise((n,i)=>{let l=new FileReader;l.onerror=i,l.onloadend=()=>{try{n(o({res:a,result:l.result}))}catch(s){i(s)}},l.readAsDataURL(s)})}let L={};function P(n,i,o){let a=n.replace(/\?.*/,"");return o&&(a=n),/ttf|otf|eot|woff2?/i.test(a)&&(a=a.replace(/.*\//,"")),i?`[${i}]${a}`:a}async function F(n,i,o){let a;let s=P(n,i,o.includeQueryParams);if(null!=L[s])return L[s];o.cacheBust&&(n+=(/\?/.test(n)?"&":"?")+new Date().getTime());try{let l=await M(n,o.fetchRequestInit,({res:n,result:o})=>(i||(i=n.headers.get("Content-Type")||""),O(o)));a=N(l,i)}catch(c){a=o.imagePlaceholder||"";let u=`Failed to fetch resource: ${n}`;c&&(u="string"==typeof c?c:c.message),u&&console.warn(u)}return L[s]=a,a}async function B(n){let i=n.toDataURL();return"data:,"===i?n.cloneNode(!1):b(i)}async function U(n,i){if(n.currentSrc){let o=document.createElement("canvas"),a=o.getContext("2d");o.width=n.clientWidth,o.height=n.clientHeight,null==a||a.drawImage(n,0,0,o.width,o.height);let s=o.toDataURL();return b(s)}let l=n.poster,u=D(l),c=await F(l,u,i);return b(c)}async function z(n){var i;try{if(null===(i=null==n?void 0:n.contentDocument)||void 0===i?void 0:i.body)return await Y(n.contentDocument.body,{},!0)}catch(o){}return n.cloneNode(!1)}async function j(n,i){return w(n,HTMLCanvasElement)?B(n):w(n,HTMLVideoElement)?U(n,i):w(n,HTMLIFrameElement)?z(n):n.cloneNode(!1)}let $=n=>null!=n.tagName&&"SLOT"===n.tagName.toUpperCase();async function H(n,i,o){var a,s;let u=[];return 0===(u=$(n)&&n.assignedNodes?l(n.assignedNodes()):w(n,HTMLIFrameElement)&&(null===(a=n.contentDocument)||void 0===a?void 0:a.body)?l(n.contentDocument.body.childNodes):l((null!==(s=n.shadowRoot)&&void 0!==s?s:n).childNodes)).length||w(n,HTMLVideoElement)||await u.reduce((n,a)=>n.then(()=>Y(a,o)).then(n=>{n&&i.appendChild(n)}),Promise.resolve()),i}function V(n,i){let o=i.style;if(!o)return;let a=window.getComputedStyle(n);a.cssText?(o.cssText=a.cssText,o.transformOrigin=a.transformOrigin):l(a).forEach(s=>{let l=a.getPropertyValue(s);if("font-size"===s&&l.endsWith("px")){let u=Math.floor(parseFloat(l.substring(0,l.length-2)))-.1;l=`${u}px`}w(n,HTMLIFrameElement)&&"display"===s&&"inline"===l&&(l="block"),"d"===s&&i.getAttribute("d")&&(l=`path(${i.getAttribute("d")})`),o.setProperty(s,l,a.getPropertyPriority(s))})}function G(n,i){w(n,HTMLTextAreaElement)&&(i.innerHTML=n.value),w(n,HTMLInputElement)&&i.setAttribute("value",n.value)}function q(n,i){if(w(n,HTMLSelectElement)){let o=i,a=Array.from(o.children).find(i=>n.value===i.getAttribute("value"));a&&a.setAttribute("selected","")}}function W(n,i){return w(i,Element)&&(V(n,i),k(n,i),G(n,i),q(n,i)),i}async function K(n,i){let o=n.querySelectorAll?n.querySelectorAll("use"):[];if(0===o.length)return n;let a={};for(let s=0;sj(n,i)).then(o=>H(n,o,i)).then(i=>W(n,i)).then(n=>K(n,i)):null}let Z=/url\((['"]?)([^'"]+?)\1\)/g,X=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,J=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Q(n){let i=n.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return RegExp(`(url\\(['"]?)(${i})(['"]?\\))`,"g")}function ee(n){let i=[];return n.replace(Z,(n,o,a)=>(i.push(a),n)),i.filter(n=>!I(n))}async function et(n,i,o,s,l){try{let u;let c=o?a(i,o):i,d=D(i);if(l){let p=await l(c);u=N(p,d)}else u=await F(c,d,s);return n.replace(Q(i),`$1${u}$3`)}catch(f){}return n}function en(n,{preferredFontFormat:i}){return i?n.replace(J,n=>{for(;;){let[o,,a]=X.exec(n)||[];if(!a)return"";if(a===i)return`src: ${o};`}}):n}function er(n){return -1!==n.search(Z)}async function ei(n,i,o){if(!er(n))return n;let a=en(n,o),s=ee(a);return s.reduce((n,a)=>n.then(n=>et(n,a,i,o)),Promise.resolve(a))}async function eo(n,i,o){var a;let s=null===(a=i.style)||void 0===a?void 0:a.getPropertyValue(n);if(s){let l=await ei(s,null,o);return i.style.setProperty(n,l,i.style.getPropertyPriority(n)),!0}return!1}async function ea(n,i){await eo("background",n,i)||await eo("background-image",n,i),await eo("mask",n,i)||await eo("mask-image",n,i)}async function es(n,i){let o=w(n,HTMLImageElement);if(!(o&&!I(n.src))&&!(w(n,SVGImageElement)&&!I(n.href.baseVal)))return;let a=o?n.src:n.href.baseVal,s=await F(a,D(a),i);await new Promise((i,a)=>{n.onload=i,n.onerror=a;let l=n;l.decode&&(l.decode=i),"lazy"===l.loading&&(l.loading="eager"),o?(n.srcset="",n.src=s):n.href.baseVal=s})}async function el(n,i){let o=l(n.childNodes),a=o.map(n=>eu(n,i));await Promise.all(a).then(()=>n)}async function eu(n,i){w(n,Element)&&(await ea(n,i),await es(n,i),await el(n,i))}function ec(n,i){let{style:o}=n;i.backgroundColor&&(o.backgroundColor=i.backgroundColor),i.width&&(o.width=`${i.width}px`),i.height&&(o.height=`${i.height}px`);let a=i.style;return null!=a&&Object.keys(a).forEach(n=>{o[n]=a[n]}),n}let ed={};async function ep(n){let i=ed[n];if(null!=i)return i;let o=await fetch(n),a=await o.text();return i={url:n,cssText:a},ed[n]=i,i}async function ef(n,i){let o=n.cssText,a=/url\(["']?([^"')]+)["']?\)/g,s=o.match(/url\([^)]+\)/g)||[],l=s.map(async s=>{let l=s.replace(a,"$1");return l.startsWith("https://")||(l=new URL(l,n.url).href),M(l,i.fetchRequestInit,({result:n})=>(o=o.replace(s,`url(${n})`),[s,n]))});return Promise.all(l).then(()=>o)}function eh(n){if(null==n)return[];let i=[],o=/(\/\*[\s\S]*?\*\/)/gi,a=n.replace(o,""),s=RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let l=s.exec(a);if(null===l)break;i.push(l[0])}a=a.replace(s,"");let u=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,c="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",d=RegExp(c,"gi");for(;;){let p=u.exec(a);if(null===p){if(null===(p=d.exec(a)))break;u.lastIndex=d.lastIndex}else d.lastIndex=u.lastIndex;i.push(p[0])}return i}async function em(n,i){let o=[],a=[];return n.forEach(o=>{if("cssRules"in o)try{l(o.cssRules||[]).forEach((n,s)=>{if(n.type===CSSRule.IMPORT_RULE){let l=s+1,u=n.href,c=ep(u).then(n=>ef(n,i)).then(n=>eh(n).forEach(n=>{try{o.insertRule(n,n.startsWith("@import")?l+=1:o.cssRules.length)}catch(i){console.error("Error inserting rule from remote css",{rule:n,error:i})}})).catch(n=>{console.error("Error loading remote css",n.toString())});a.push(c)}})}catch(u){let s=n.find(n=>null==n.href)||document.styleSheets[0];null!=o.href&&a.push(ep(o.href).then(n=>ef(n,i)).then(n=>eh(n).forEach(n=>{s.insertRule(n,o.cssRules.length)})).catch(n=>{console.error("Error loading remote stylesheet",n)})),console.error("Error inlining remote css file",u)}}),Promise.all(a).then(()=>(n.forEach(n=>{if("cssRules"in n)try{l(n.cssRules||[]).forEach(n=>{o.push(n)})}catch(i){console.error(`Error while reading CSS rules from ${n.href}`,i)}}),o))}function eg(n){return n.filter(n=>n.type===CSSRule.FONT_FACE_RULE).filter(n=>er(n.style.getPropertyValue("src")))}async function eb(n,i){if(null==n.ownerDocument)throw Error("Provided element is not within a Document");let o=l(n.ownerDocument.styleSheets),a=await em(o,i);return eg(a)}async function ey(n,i){let o=await eb(n,i),a=await Promise.all(o.map(n=>{let o=n.parentStyleSheet?n.parentStyleSheet.href:null;return ei(n.cssText,o,i)}));return a.join("\n")}async function ev(n,i){let o=null!=i.fontEmbedCSS?i.fontEmbedCSS:i.skipFonts?null:await ey(n,i);if(o){let a=document.createElement("style"),s=document.createTextNode(o);a.appendChild(s),n.firstChild?n.insertBefore(a,n.firstChild):n.appendChild(a)}}async function ew(n,i={}){let{width:o,height:a}=p(n,i),s=await Y(n,i,!0);await ev(s,i),await eu(s,i),ec(s,i);let l=await v(s,o,a);return l}async function eE(n,i={}){let{width:o,height:a}=p(n,i),s=await ew(n,i),l=await b(s),u=document.createElement("canvas"),c=u.getContext("2d"),d=i.pixelRatio||f(),h=i.canvasWidth||o,g=i.canvasHeight||a;return u.width=h*d,u.height=g*d,i.skipAutoScale||m(u),u.style.width=`${h}`,u.style.height=`${g}`,i.backgroundColor&&(c.fillStyle=i.backgroundColor,c.fillRect(0,0,u.width,u.height)),c.drawImage(l,0,0,u.width,u.height),u}async function eS(n,i={}){let o=await eE(n,i),a=await g(o);return a}},41875:function(n,i,o){"use strict";let a;Object.defineProperty(i,"__esModule",{value:!0});var s,l=(s=o(49019))&&"object"==typeof s&&"default"in s?s:{default:s};function u(n){return new Promise((i,o)=>{n.oncomplete=n.onsuccess=()=>i(n.result),n.onabort=n.onerror=()=>o(n.error)})}function c(n,i){let o=l.default().then(()=>{let o=indexedDB.open(n);return o.onupgradeneeded=()=>o.result.createObjectStore(i),u(o)});return(n,a)=>o.then(o=>a(o.transaction(i,n).objectStore(i)))}function d(){return a||(a=c("keyval-store","keyval")),a}function p(n,i=d()){return i("readonly",i=>u(i.get(n)))}function f(n,i,o=d()){return o("readwrite",o=>(o.put(i,n),u(o.transaction)))}function h(n,i=d()){return i("readwrite",i=>(n.forEach(n=>i.put(n[1],n[0])),u(i.transaction)))}function m(n,i=d()){return i("readonly",i=>Promise.all(n.map(n=>u(i.get(n)))))}function g(n,i,o=d()){return o("readwrite",o=>new Promise((a,s)=>{o.get(n).onsuccess=function(){try{o.put(i(this.result),n),a(u(o.transaction))}catch(l){s(l)}}}))}function b(n,i=d()){return i("readwrite",i=>(i.delete(n),u(i.transaction)))}function y(n=d()){return n("readwrite",n=>(n.clear(),u(n.transaction)))}function v(n,i){return n("readonly",n=>(n.openCursor().onsuccess=function(){this.result&&(i(this.result),this.result.continue())},u(n.transaction)))}function w(n=d()){let i=[];return v(n,n=>i.push(n.key)).then(()=>i)}function E(n=d()){let i=[];return v(n,n=>i.push(n.value)).then(()=>i)}function S(n=d()){let i=[];return v(n,n=>i.push([n.key,n.value])).then(()=>i)}i.clear=y,i.createStore=c,i.del=b,i.entries=S,i.get=p,i.getMany=m,i.keys=w,i.promisifyRequest=u,i.set=f,i.setMany=h,i.update=g,i.values=E},80645:function(n,i){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ i.read=function(n,i,o,a,s){var l,u,c=8*s-a-1,d=(1<>1,f=-7,h=o?s-1:0,m=o?-1:1,g=n[i+h];for(h+=m,l=g&(1<<-f)-1,g>>=-f,f+=c;f>0;l=256*l+n[i+h],h+=m,f-=8);for(u=l&(1<<-f)-1,l>>=-f,f+=a;f>0;u=256*u+n[i+h],h+=m,f-=8);if(0===l)l=1-p;else{if(l===d)return u?NaN:(g?-1:1)*(1/0);u+=Math.pow(2,a),l-=p}return(g?-1:1)*u*Math.pow(2,l-a)},i.write=function(n,i,o,a,s,l){var u,c,d,p=8*l-s-1,f=(1<>1,m=23===s?5960464477539062e-23:0,g=a?0:l-1,b=a?1:-1,y=i<0||0===i&&1/i<0?1:0;for(isNaN(i=Math.abs(i))||i===1/0?(c=isNaN(i)?1:0,u=f):(u=Math.floor(Math.log(i)/Math.LN2),i*(d=Math.pow(2,-u))<1&&(u--,d*=2),u+h>=1?i+=m/d:i+=m*Math.pow(2,1-h),i*d>=2&&(u++,d/=2),u+h>=f?(c=0,u=f):u+h>=1?(c=(i*d-1)*Math.pow(2,s),u+=h):(c=i*Math.pow(2,h-1)*Math.pow(2,s),u=0));s>=8;n[o+g]=255&c,g+=b,c/=256,s-=8);for(u=u<0;n[o+g]=255&u,g+=b,u/=256,p-=8);n[o+g-b]|=128*y}},18139:function(n){var i=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,o=/\n/g,a=/^\s*/,s=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,l=/^:\s*/,u=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,d=/^\s+|\s+$/g,p="\n",f="/",h="*",m="",g="comment",b="declaration";function y(n){return n?n.replace(d,m):m}n.exports=function(n,d){if("string"!=typeof n)throw TypeError("First argument must be a string");if(!n)return[];d=d||{};var v=1,w=1;function E(n){var i=n.match(o);i&&(v+=i.length);var a=n.lastIndexOf(p);w=~a?n.length-a:w+n.length}function S(){var n={line:v,column:w};return function(i){return i.position=new x(n),T(),i}}function x(n){this.start=n,this.end={line:v,column:w},this.source=d.source}x.prototype.content=n;var _=[];function k(i){var o=Error(d.source+":"+v+":"+w+": "+i);if(o.reason=i,o.filename=d.source,o.line=v,o.column=w,o.source=n,d.silent)_.push(o);else throw o}function A(i){var o=i.exec(n);if(o){var a=o[0];return E(a),n=n.slice(a.length),o}}function T(){A(a)}function C(n){var i;for(n=n||[];i=R();)!1!==i&&n.push(i);return n}function R(){var i=S();if(f==n.charAt(0)&&h==n.charAt(1)){for(var o=2;m!=n.charAt(o)&&(h!=n.charAt(o)||f!=n.charAt(o+1));)++o;if(o+=2,m===n.charAt(o-1))return k("End of comment missing");var a=n.slice(2,o-2);return w+=2,E(a),n=n.slice(o),w+=2,i({type:g,comment:a})}}function D(){var n=S(),o=A(s);if(o){if(R(),!A(l))return k("property missing ':'");var a=A(u),d=n({type:b,property:y(o[0].replace(i,m)),value:a?y(a[0].replace(i,m)):m});return A(c),d}}function O(){var n,i=[];for(C(i);n=D();)!1!==n&&(i.push(n),C(i));return i}return T(),O()}},46260:function(n){"use strict";function i(n){var i="string"==typeof n?n.charCodeAt(0):n;return i>=97&&i<=122||i>=65&&i<=90}n.exports=i},7961:function(n,i,o){"use strict";var a=o(46260),s=o(46195);function l(n){return a(n)||s(n)}n.exports=l},46195:function(n){"use strict";function i(n){var i="string"==typeof n?n.charCodeAt(0):n;return i>=48&&i<=57}n.exports=i},79480:function(n){"use strict";function i(n){var i="string"==typeof n?n.charCodeAt(0):n;return i>=97&&i<=102||i>=65&&i<=70||i>=48&&i<=57}n.exports=i},55299:function(n,i,o){"use strict";/*! * is-plain-object * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. - */ var a=o(47798);function s(n){return!0===a(n)&&"[object Object]"===Object.prototype.toString.call(n)}n.exports=function(n){var i,o;return!1!==s(n)&&"function"==typeof(i=n.constructor)&&!1!==s(o=i.prototype)&&!1!==o.hasOwnProperty("isPrototypeOf")}},85692:function(n,i,o){"use strict";var a=o(86430);n.exports=function(n){return!!a(n)}},4501:function(n){n.exports=a,a.strict=s,a.loose=l;var i=Object.prototype.toString,o={"[object Int8Array]":!0,"[object Int16Array]":!0,"[object Int32Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Uint16Array]":!0,"[object Uint32Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0};function a(n){return s(n)||l(n)}function s(n){return n instanceof Int8Array||n instanceof Int16Array||n instanceof Int32Array||n instanceof Uint8Array||n instanceof Uint8ClampedArray||n instanceof Uint16Array||n instanceof Uint32Array||n instanceof Float32Array||n instanceof Float64Array}function l(n){return o[i.call(n)]}},53630:function(n,i,o){"use strict";o.d(i,{Z:function(){return x}});var a=/iPhone/i,s=/iPod/i,l=/iPad/i,u=/\biOS-universal(?:.+)Mac\b/i,c=/\bAndroid(?:.+)Mobile\b/i,d=/Android/i,p=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,f=/Silk/i,h=/Windows Phone/i,m=/\bWindows(?:.+)ARM\b/i,g=/BlackBerry/i,b=/BB10/i,y=/Opera Mini/i,v=/\b(CriOS|Chrome)(?:.+)Mobile/i,w=/Mobile(?:.+)Firefox\b/i,E=function(n){return void 0!==n&&"MacIntel"===n.platform&&"number"==typeof n.maxTouchPoints&&n.maxTouchPoints>1&&"undefined"==typeof MSStream};function S(n){return function(i){return i.test(n)}}function x(n){var i={userAgent:"",platform:"",maxTouchPoints:0};n||"undefined"==typeof navigator?"string"==typeof n?i.userAgent=n:n&&n.userAgent&&(i={userAgent:n.userAgent,platform:n.platform,maxTouchPoints:n.maxTouchPoints||0}):i={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0};var o=i.userAgent,x=o.split("[FBAN");void 0!==x[1]&&(o=x[0]),void 0!==(x=o.split("Twitter"))[1]&&(o=x[0]);var _=S(o),k={apple:{phone:_(a)&&!_(h),ipod:_(s),tablet:!_(a)&&(_(l)||E(i))&&!_(h),universal:_(u),device:(_(a)||_(s)||_(l)||_(u)||E(i))&&!_(h)},amazon:{phone:_(p),tablet:!_(p)&&_(f),device:_(p)||_(f)},android:{phone:!_(h)&&_(p)||!_(h)&&_(c),tablet:!_(h)&&!_(p)&&!_(c)&&(_(f)||_(d)),device:!_(h)&&(_(p)||_(f)||_(c)||_(d))||_(/\bokhttp\b/i)},windows:{phone:_(h),tablet:_(m),device:_(h)||_(m)},other:{blackberry:_(g),blackberry10:_(b),opera:_(y),firefox:_(w),chrome:_(v),device:_(g)||_(b)||_(y)||_(w)||_(v)},any:!1,phone:!1,tablet:!1};return k.any=k.apple.device||k.android.device||k.windows.device||k.other.device,k.phone=k.apple.phone||k.android.phone||k.windows.phone,k.tablet=k.apple.tablet||k.android.tablet||k.windows.tablet,k}},47798:function(n){"use strict";/*! + */ var a=o(47798);function s(n){return!0===a(n)&&"[object Object]"===Object.prototype.toString.call(n)}n.exports=function(n){var i,o;return!1!==s(n)&&"function"==typeof(i=n.constructor)&&!1!==s(o=i.prototype)&&!1!==o.hasOwnProperty("isPrototypeOf")}},4501:function(n){n.exports=a,a.strict=s,a.loose=l;var i=Object.prototype.toString,o={"[object Int8Array]":!0,"[object Int16Array]":!0,"[object Int32Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Uint16Array]":!0,"[object Uint32Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0};function a(n){return s(n)||l(n)}function s(n){return n instanceof Int8Array||n instanceof Int16Array||n instanceof Int32Array||n instanceof Uint8Array||n instanceof Uint8ClampedArray||n instanceof Uint16Array||n instanceof Uint32Array||n instanceof Float32Array||n instanceof Float64Array}function l(n){return o[i.call(n)]}},53630:function(n,i,o){"use strict";o.d(i,{Z:function(){return x}});var a=/iPhone/i,s=/iPod/i,l=/iPad/i,u=/\biOS-universal(?:.+)Mac\b/i,c=/\bAndroid(?:.+)Mobile\b/i,d=/Android/i,p=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,f=/Silk/i,h=/Windows Phone/i,m=/\bWindows(?:.+)ARM\b/i,g=/BlackBerry/i,b=/BB10/i,y=/Opera Mini/i,v=/\b(CriOS|Chrome)(?:.+)Mobile/i,w=/Mobile(?:.+)Firefox\b/i,E=function(n){return void 0!==n&&"MacIntel"===n.platform&&"number"==typeof n.maxTouchPoints&&n.maxTouchPoints>1&&"undefined"==typeof MSStream};function S(n){return function(i){return i.test(n)}}function x(n){var i={userAgent:"",platform:"",maxTouchPoints:0};n||"undefined"==typeof navigator?"string"==typeof n?i.userAgent=n:n&&n.userAgent&&(i={userAgent:n.userAgent,platform:n.platform,maxTouchPoints:n.maxTouchPoints||0}):i={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0};var o=i.userAgent,x=o.split("[FBAN");void 0!==x[1]&&(o=x[0]),void 0!==(x=o.split("Twitter"))[1]&&(o=x[0]);var _=S(o),k={apple:{phone:_(a)&&!_(h),ipod:_(s),tablet:!_(a)&&(_(l)||E(i))&&!_(h),universal:_(u),device:(_(a)||_(s)||_(l)||_(u)||E(i))&&!_(h)},amazon:{phone:_(p),tablet:!_(p)&&_(f),device:_(p)||_(f)},android:{phone:!_(h)&&_(p)||!_(h)&&_(c),tablet:!_(h)&&!_(p)&&!_(c)&&(_(f)||_(d)),device:!_(h)&&(_(p)||_(f)||_(c)||_(d))||_(/\bokhttp\b/i)},windows:{phone:_(h),tablet:_(m),device:_(h)||_(m)},other:{blackberry:_(g),blackberry10:_(b),opera:_(y),firefox:_(w),chrome:_(v),device:_(g)||_(b)||_(y)||_(w)||_(v)},any:!1,phone:!1,tablet:!1};return k.any=k.apple.device||k.android.device||k.windows.device||k.other.device,k.phone=k.apple.phone||k.android.phone||k.windows.phone,k.tablet=k.apple.tablet||k.android.tablet||k.windows.tablet,k}},47798:function(n){"use strict";/*! * isobject * * Copyright (c) 2014-2017, Jon Schlinkert. @@ -477,7 +490,14 @@ * * Copyright (c) 2014-2015 Jon Schlinkert, contributors. * Licensed under the MIT License - */ var a=o(47798);n.exports=function(n,i){if(!a(n)&&"function"!=typeof n)return{};var o={};if("string"==typeof i)return i in n&&(o[i]=n[i]),o;for(var s=i.length,l=-1;++l1e4)throw Error("References have circular dependency. Please, check them.");o[a]=n}),a=a.reverse(),o=o.map(function(i){return a.forEach(function(o){i=i.replace(RegExp("(\\"+s+o+"\\"+s+")","g"),n[0]+"$1"+n[1])}),i})});var u=RegExp("\\"+s+"([0-9]+)\\"+s);function c(n,i,o){for(var a,s=[],l=0;a=u.exec(n);){if(l++>1e4)throw Error("Circular references in parenthesis");s.push(n.slice(0,a.index)),s.push(c(i[a[1]],i)),n=n.slice(a.index+a[0].length)}return s.push(n),s}return l?o:c(o[0],o)}function o(n,i){if(i&&i.flat){var o,a=i&&i.escape||"___",s=n[0];if(!s)return"";for(var l=RegExp("\\"+a+"([0-9]+)\\"+a),u=0;s!=o;){if(u++>1e4)throw Error("Circular references in "+n);o=s,s=s.replace(l,c)}return s}return n.reduce(function n(i,o){return Array.isArray(o)&&(o=o.reduce(n,"")),i+o},"");function c(i,o){if(null==n[o])throw Error("Reference "+o+"is undefined");return n[o]}}function a(n,a){return Array.isArray(n)?o(n,a):i(n,a)}a.parse=i,a.stringify=o,n.exports=a},89435:function(n){"use strict";var i,o=59;function a(n){var a,s="&"+n+";";return(i=i||document.createElement("i")).innerHTML=s,((a=i.textContent).charCodeAt(a.length-1)!==o||"semi"===n)&&a!==s&&a}n.exports=a},57574:function(n,i,o){"use strict";var a=o(37452),s=o(93580),l=o(46195),u=o(79480),c=o(7961),d=o(89435);n.exports=j;var p={}.hasOwnProperty,f=String.fromCharCode,h=Function.prototype,m={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},g=9,b=10,y=12,v=32,w=38,E=59,S=60,x=61,_=35,k=88,A=120,T=65533,C="named",R="hexadecimal",D="decimal",O={};O[R]=16,O[D]=10;var I={};I[C]=c,I[D]=l,I[R]=u;var N=1,M=2,L=3,P=4,F=5,B=6,U=7,z={};function j(n,i){var o,a,s={};for(a in i||(i={}),m)o=i[a],s[a]=null==o?m[a]:o;return(s.position.indent||s.position.start)&&(s.indent=s.position.indent||[],s.position=s.position.start),$(n,s)}function $(n,i){var o,l,u,m,j,$,G,q,W,K,Y,Z,X,J,Q,ee,et,en,er,ei=i.additional,eo=i.nonTerminated,ea=i.text,es=i.reference,el=i.warning,eu=i.textContext,ec=i.referenceContext,ed=i.warningContext,ep=i.position,ef=i.indent||[],eh=n.length,em=0,eg=-1,eb=ep.column||1,ey=ep.line||1,ev="",ew=[];for("string"==typeof ei&&(ei=ei.charCodeAt(0)),ee=eE(),q=el?eS:h,em--,eh++;++em65535&&($-=65536,K+=f($>>>10|55296),$=56320|1023&$),$=K+f($))):J!==C&&q(P,en)),$?(ex(),ee=eE(),em=er-1,eb+=er-X+1,ew.push($),et=eE(),et.offset++,es&&es.call(ec,$,{start:ee,end:et},n.slice(X-1,er)),ee=et):(ev+=m=n.slice(X-1,er),eb+=m.length,em=er-1)}else 10===j&&(ey++,eg++,eb=0),j==j?(ev+=f(j),eb++):ex();return ew.join("");function eE(){return{line:ey,column:eb,offset:em+(ep.offset||0)}}function eS(n,i){var o=eE();o.column+=i,o.offset+=i,el.call(ed,z[n],o,n)}function ex(){ev&&(ew.push(ev),ea&&ea.call(eu,ev,{start:ee,end:eE()}),ev="")}}function H(n){return n>=55296&&n<=57343||n>1114111}function V(n){return n>=1&&n<=8||11===n||n>=13&&n<=31||n>=127&&n<=159||n>=64976&&n<=65007||(65535&n)==65535||(65535&n)==65534}z[1]="Named character references must be terminated by a semicolon",z[M]="Numeric character references must be terminated by a semicolon",z[L]="Named character references cannot be empty",z[P]="Numeric character references cannot be empty",z[F]="Named character references must be known",z[B]="Numeric character references cannot be disallowed",z[U]="Numeric character references cannot be outside the permissible Unicode range"},92703:function(n,i,o){"use strict";var a=o(50414);function s(){}function l(){}l.resetWarningCache=s,n.exports=function(){function n(n,i,o,s,l,u){if(u!==a){var c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function i(){return n}n.isRequired=n;var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:i,element:n,elementType:n,instanceOf:i,node:n,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:l,resetWarningCache:s};return o.PropTypes=o,o}},45697:function(n,i,o){n.exports=o(92703)()},50414:function(n){"use strict";var i="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";n.exports=i},91915:function(n){var i,o;i=self,o=function(){return(()=>{var n={192(n,i){var o,a,s=function(){var n,i,o=function(n,i){var o=n,a=d[i],s=null,l=0,u=null,c=[],f={},E=function(n,i){s=function(n){for(var i=Array(n),o=0;o=7&&A(n),null==u&&(u=R(o,a,c)),C(u,i)},S=function(n,i){for(var o=-1;o<=7;o+=1)if(!(n+o<=-1||l<=n+o))for(var a=-1;a<=7;a+=1)i+a<=-1||l<=i+a||(s[n+o][i+a]=0<=o&&o<=6&&(0==a||6==a)||0<=a&&a<=6&&(0==o||6==o)||2<=o&&o<=4&&2<=a&&a<=4)},_=function(){for(var n=8;n>a&1);s[Math.floor(a/3)][a%3+l-8-3]=u}for(a=0;a<18;a+=1)u=!n&&1==(i>>a&1),s[a%3+l-8-3][Math.floor(a/3)]=u},T=function(n,i){for(var o=a<<3|i,u=p.getBCHTypeInfo(o),c=0;c<15;c+=1){var d=!n&&1==(u>>c&1);c<6?s[c][8]=d:c<8?s[c+1][8]=d:s[l-15+c][8]=d}for(c=0;c<15;c+=1)d=!n&&1==(u>>c&1),c<8?s[8][l-c-1]=d:c<9?s[8][15-c-1+1]=d:s[8][15-c-1]=d;s[l-8][8]=!n},C=function(n,i){for(var o=-1,a=l-1,u=7,c=0,d=p.getMaskFunction(i),f=l-1;f>0;f-=2)for(6==f&&(f-=1);;){for(var h=0;h<2;h+=1)if(null==s[a][f-h]){var m=!1;c>>u&1)),d(a,f-h)&&(m=!m),s[a][f-h]=m,-1==(u-=1)&&(c+=1,u=7)}if((a+=o)<0||l<=a){a-=o,o=-o;break}}},R=function(n,i,o){for(var a=m.getRSBlocks(n,i),s=g(),l=0;l8*c)throw"code length overflow. ("+s.getLengthInBits()+">"+8*c+")";for(s.getLengthInBits()+4<=8*c&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;!(s.getLengthInBits()>=8*c||(s.put(236,8),s.getLengthInBits()>=8*c));)s.put(17,8);return function(n,i){for(var o=0,a=0,s=0,l=Array(i.length),u=Array(i.length),c=0;c=0?b.getAt(y):0}}var v=0;for(m=0;ma)&&(n=a,i=o)}return i}())},f.createTableTag=function(n,i){n=n||2;var o="";o+='',o+="";for(var a=0;a";for(var s=0;s';o+=""}return(o+="")+"
"},f.createSvgTag=function(n,i,o,a){var s={};"object"==typeof arguments[0]&&(n=(s=arguments[0]).cellSize,i=s.margin,o=s.alt,a=s.title),n=n||2,i=void 0===i?4*n:i,(o="string"==typeof o?{text:o}:o||{}).text=o.text||null,o.id=o.text?o.id||"qrcode-description":null,(a="string"==typeof a?{text:a}:a||{}).text=a.text||null,a.id=a.text?a.id||"qrcode-title":null;var l,u,c,d,p=f.getModuleCount()*n+2*i,h="";for(d="l"+n+",0 0,"+n+" -"+n+",0 0,-"+n+"z ",h+=''+D(a.text)+"":"",h+=o.text?''+D(o.text)+"":"",h+='',h+='"},f.createDataURL=function(n,i){n=n||2,i=void 0===i?4*n:i;var o=f.getModuleCount()*n+2*i,a=i,s=o-i;return x(o,o,function(i,o){if(a<=i&&i"};var D=function(n){for(var i="",o=0;o":i+=">";break;case"&":i+="&";break;case'"':i+=""";break;default:i+=a}}return i};return f.createASCII=function(n,i){if((n=n||1)<2)return function(n){n=void 0===n?2:n;var i,o,a,s,l,u=1*f.getModuleCount()+2*n,c=n,d=u-n,p={"██":"█","█ ":"▀"," █":"▄"," ":" "},h={"██":"▀","█ ":"▀"," █":" "," ":" "},m="";for(i=0;i=d?h[l]:p[l];m+="\n"}return u%2&&n>0?m.substring(0,m.length-u-1)+Array(u+1).join("▀"):m.substring(0,m.length-1)}(i);n-=1,i=void 0===i?2*n:i;var o,a,s,l,u=f.getModuleCount()*n+2*i,c=i,d=u-i,p=Array(n+1).join("██"),h=Array(n+1).join(" "),m="",g="";for(o=0;o>>8),i.push(255&u)):i.push(a)}}return i}};var a,s,l,u,c,d={L:1,M:0,Q:3,H:2},p=(a=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],s=1335,l=7973,c=function(n){for(var i=0;0!=n;)i+=1,n>>>=1;return i},(u={}).getBCHTypeInfo=function(n){for(var i=n<<10;c(i)-c(s)>=0;)i^=s<=0;)i^=l<5&&(o+=3+l-5)}for(a=0;a=256;)i-=255;return n[i]}}}();function h(n,i){if(void 0===n.length)throw n.length+"/"+i;var o=function(){for(var o=0;o>>7-i%8&1)},put:function(n,i){for(var a=0;a>>i-a-1&1))},getLengthInBits:function(){return i},putBit:function(o){var a=Math.floor(i/8);n.length<=a&&n.push(0),o&&(n[a]|=128>>>i%8),i+=1}};return o},b=function(n){var i=n,o=function(n){for(var i=0,o=0;o>>8&255)+(255&s),n.put(s,13),o+=2}if(o>>8)},writeBytes:function(n,o,a){o=o||0,a=a||n.length;for(var s=0;s0&&(i+=","),i+=n[o];return i+"]"}};return i},S=function(n){var i=n,o=0,a=0,s=0,l=function(n){if(65<=n&&n<=90)return n-65;if(97<=n&&n<=122)return n-97+26;if(48<=n&&n<=57)return n-48+52;if(43==n)return 62;if(47==n)return 63;throw"c:"+n};return{read:function(){for(;s<8;){if(o>=i.length){if(0==s)return -1;throw"unexpected end of file./"+s}var n=i.charAt(o);if(o+=1,"="==n)return s=0,-1;n.match(/^\s$/)||(a=a<<6|l(n.charCodeAt(0)),s+=6)}var u=a>>>s-8&255;return s-=8,u}}},x=function(n,i,o){for(var a,s,l,u,c,d,p,f,h,m,g,b,y,v,w=(a=n,s=i,l=a,u=s,c=Array(a*s),d=function(n){for(var i=1<>>i!=0)throw"length over";for(;d+i>=8;)u.writeByte(255&(n<>>=8-d,f=0,d=0;f|=n<0&&u.writeByte(f)}});m.write(i,a);var g=0,b=String.fromCharCode(c[0]);for(g+=1;gs.size()&&(s.size()==1<255;)n.writeByte(255),n.writeBytes(i,o,255),o+=255;n.writeByte(i.length-o),n.writeBytes(i,o,i.length-o),n.writeByte(0),n.writeString(";")}}),S=0;S=6;)y(f>>>h-6),h-=6},b.flush=function(){if(h>0&&(y(f<<6-h),f=0,h=0),m%3!=0)for(var n=3-m%3,i=0;i>6,128|63&a):a<55296||a>=57344?i.push(224|a>>12,128|a>>6&63,128|63&a):(o++,a=65536+((1023&a)<<10|1023&n.charCodeAt(o)),i.push(240|a>>18,128|a>>12&63,128|a>>6&63,128|63&a))}return i}(n)},void 0===(a="function"==typeof(o=function(){return s})?o.apply(i,[]):o)||(n.exports=a)},676(n,i,o){"use strict";o.d(i,{default:()=>P});var a=function(){return(a=Object.assign||function(n){for(var i,o=1,a=arguments.length;o0&&s[s.length-1])||6!==l[0]&&2!==l[0])){u=0;continue}if(3===l[0]&&(!s||l[1]>s[0]&&l[1]2||l&&u||c&&d)this._basicSquare({x:i,y:o,size:a,rotation:0});else{if(2===p){var f=0;return l&&c?f=Math.PI/2:c&&u?f=Math.PI:u&&d&&(f=-Math.PI/2),void this._basicCornerRounded({x:i,y:o,size:a,rotation:f})}if(1===p)return f=0,c?f=Math.PI/2:u?f=Math.PI:d&&(f=-Math.PI/2),void this._basicSideRounded({x:i,y:o,size:a,rotation:f})}}else this._basicDot({x:i,y:o,size:a,rotation:0})},n.prototype._drawExtraRounded=function(n){var i=n.x,o=n.y,a=n.size,s=n.getNeighbor,l=s?+s(-1,0):0,u=s?+s(1,0):0,c=s?+s(0,-1):0,d=s?+s(0,1):0,p=l+u+c+d;if(0!==p){if(p>2||l&&u||c&&d)this._basicSquare({x:i,y:o,size:a,rotation:0});else{if(2===p){var f=0;return l&&c?f=Math.PI/2:c&&u?f=Math.PI:u&&d&&(f=-Math.PI/2),void this._basicCornerExtraRounded({x:i,y:o,size:a,rotation:f})}if(1===p)return f=0,c?f=Math.PI/2:u?f=Math.PI:d&&(f=-Math.PI/2),void this._basicSideRounded({x:i,y:o,size:a,rotation:f})}}else this._basicDot({x:i,y:o,size:a,rotation:0})},n.prototype._drawClassy=function(n){var i=n.x,o=n.y,a=n.size,s=n.getNeighbor,l=s?+s(-1,0):0,u=s?+s(1,0):0,c=s?+s(0,-1):0,d=s?+s(0,1):0;0!==l+u+c+d?l||c?u||d?this._basicSquare({x:i,y:o,size:a,rotation:0}):this._basicCornerRounded({x:i,y:o,size:a,rotation:Math.PI/2}):this._basicCornerRounded({x:i,y:o,size:a,rotation:-Math.PI/2}):this._basicCornersRounded({x:i,y:o,size:a,rotation:Math.PI/2})},n.prototype._drawClassyRounded=function(n){var i=n.x,o=n.y,a=n.size,s=n.getNeighbor,l=s?+s(-1,0):0,u=s?+s(1,0):0,c=s?+s(0,-1):0,d=s?+s(0,1):0;0!==l+u+c+d?l||c?u||d?this._basicSquare({x:i,y:o,size:a,rotation:0}):this._basicCornerExtraRounded({x:i,y:o,size:a,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:i,y:o,size:a,rotation:-Math.PI/2}):this._basicCornersRounded({x:i,y:o,size:a,rotation:Math.PI/2})},n}();var m=function(){return(m=Object.assign||function(n){for(var i,o=1,a=arguments.length;o0&&s[s.length-1])||6!==l[0]&&2!==l[0])){u=0;continue}if(3===l[0]&&(!s||l[1]>s[0]&&l[1]a||s&&s=(i-s.hideXDots)/2&&n<(i+s.hideXDots)/2&&o>=(i-s.hideYDots)/2&&o<(i+s.hideYDots)/2||(null===(a=S[n])||void 0===a?void 0:a[o])||(null===(l=S[n-i+7])||void 0===l?void 0:l[o])||(null===(u=S[n])||void 0===u?void 0:u[o-i+7])||(null===(c=x[n])||void 0===c?void 0:c[o])||(null===(d=x[n-i+7])||void 0===d?void 0:d[o])||(null===(p=x[n])||void 0===p?void 0:p[o-i+7]))}),this.drawCorners(),this._options.image?[4,this.drawImage({width:s.width,height:s.height,count:i,dotSize:a})]:[3,4];case 3:h.sent(),h.label=4;case 4:return[2]}})})},n.prototype.drawBackground=function(){var n,i,o,a=this._element,s=this._options;if(a){var l=null===(n=s.backgroundOptions)||void 0===n?void 0:n.gradient,u=null===(i=s.backgroundOptions)||void 0===i?void 0:i.color;if((l||u)&&this._createColor({options:l,color:u,additionalRotation:0,x:0,y:0,height:s.height,width:s.width,name:"background-color"}),null===(o=s.backgroundOptions)||void 0===o?void 0:o.round){var c=Math.min(s.width,s.height),d=document.createElementNS("http://www.w3.org/2000/svg","rect");this._backgroundClipPath=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._backgroundClipPath.setAttribute("id","clip-path-background-color"),this._defs.appendChild(this._backgroundClipPath),d.setAttribute("x",String((s.width-c)/2)),d.setAttribute("y",String((s.height-c)/2)),d.setAttribute("width",String(c)),d.setAttribute("height",String(c)),d.setAttribute("rx",String(c/2*s.backgroundOptions.round)),this._backgroundClipPath.appendChild(d)}}},n.prototype.drawDots=function(n){var i,o,a=this;if(!this._qr)throw"QR code is not defined";var s=this._options,l=this._qr.getModuleCount();if(l>s.width||l>s.height)throw"The canvas is too small.";var u=Math.min(s.width,s.height)-2*s.margin,c=Math.floor((s.shape===v?u/Math.sqrt(2):u)/l),d=Math.floor((s.width-l*c)/2),p=Math.floor((s.height-l*c)/2),f=new h({svg:this._element,type:s.dotsOptions.type});this._dotsClipPath=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._dotsClipPath.setAttribute("id","clip-path-dot-color"),this._defs.appendChild(this._dotsClipPath),this._createColor({options:null===(i=s.dotsOptions)||void 0===i?void 0:i.gradient,color:s.dotsOptions.color,additionalRotation:0,x:0,y:0,height:s.height,width:s.width,name:"dot-color"});for(var m=function(i){for(var s=function(s){return n&&!n(i,s)?"continue":(null===(o=g._qr)||void 0===o?void 0:o.isDark(i,s))?(f.draw(d+i*c,p+s*c,c,function(o,u){return!(i+o<0||s+u<0||i+o>=l||s+u>=l)&&!(n&&!n(i+o,s+u))&&!!a._qr&&a._qr.isDark(i+o,s+u)}),void(f._element&&g._dotsClipPath&&g._dotsClipPath.appendChild(f._element))):"continue"},u=0;u=y-1&&b<=w-y&&k>=y-1&&k<=w-y||Math.sqrt((b-_)*(b-_)+(k-_)*(k-_))>_?x[b][k]=0:x[b][k]=this._qr.isDark(k-2*y<0?k:k>=l?k-2*y:k-y,b-2*y<0?b:b>=l?b-2*y:b-y)?1:0}var A=function(n){for(var i=function(i){if(!x[n][i])return"continue";f.draw(E+n*c,S+i*c,c,function(o,a){var s;return!!(null===(s=x[n+o])||void 0===s?void 0:s[i+a])}),f._element&&T._dotsClipPath&&T._dotsClipPath.appendChild(f._element)},o=0;oc?d:c,h=document.createElementNS("http://www.w3.org/2000/svg","rect");if(h.setAttribute("x",String(l)),h.setAttribute("y",String(u)),h.setAttribute("height",String(c)),h.setAttribute("width",String(d)),h.setAttribute("clip-path","url('#clip-path-"+p+"')"),o){if("radial"===o.type)(i=document.createElementNS("http://www.w3.org/2000/svg","radialGradient")).setAttribute("id",p),i.setAttribute("gradientUnits","userSpaceOnUse"),i.setAttribute("fx",String(l+d/2)),i.setAttribute("fy",String(u+c/2)),i.setAttribute("cx",String(l+d/2)),i.setAttribute("cy",String(u+c/2)),i.setAttribute("r",String(f/2));else{var m=((o.rotation||0)+s)%(2*Math.PI),g=(m+2*Math.PI)%(2*Math.PI),b=l+d/2,y=u+c/2,v=l+d/2,w=u+c/2;g>=0&&g<=.25*Math.PI||g>1.75*Math.PI&&g<=2*Math.PI?(b-=d/2,y-=c/2*Math.tan(m),v+=d/2,w+=c/2*Math.tan(m)):g>.25*Math.PI&&g<=.75*Math.PI?(y-=c/2,b-=d/2/Math.tan(m),w+=c/2,v+=d/2/Math.tan(m)):g>.75*Math.PI&&g<=1.25*Math.PI?(b+=d/2,y+=c/2*Math.tan(m),v-=d/2,w-=c/2*Math.tan(m)):g>1.25*Math.PI&&g<=1.75*Math.PI&&(y+=c/2,b+=d/2/Math.tan(m),w-=c/2,v-=d/2/Math.tan(m)),(i=document.createElementNS("http://www.w3.org/2000/svg","linearGradient")).setAttribute("id",p),i.setAttribute("gradientUnits","userSpaceOnUse"),i.setAttribute("x1",String(Math.round(b))),i.setAttribute("y1",String(Math.round(y))),i.setAttribute("x2",String(Math.round(v))),i.setAttribute("y2",String(Math.round(w)))}o.colorStops.forEach(function(n){var o=n.offset,a=n.color,s=document.createElementNS("http://www.w3.org/2000/svg","stop");s.setAttribute("offset",100*o+"%"),s.setAttribute("stop-color",a),i.appendChild(s)}),h.setAttribute("fill","url('#"+p+"')"),this._defs.appendChild(i)}else a&&h.setAttribute("fill",a);this._element.appendChild(h)},n}(),k="canvas";for(var A={},T=0;T<=40;T++)A[T]=T;let C={type:k,shape:"square",width:300,height:300,data:"",margin:0,qrOptions:{typeNumber:A[0],mode:void 0,errorCorrectionLevel:"Q"},imageOptions:{hideBackgroundDots:!0,imageSize:.4,crossOrigin:void 0,margin:0},dotsOptions:{type:"square",color:"#000"},backgroundOptions:{round:0,color:"#fff"}};var R=function(){return(R=Object.assign||function(n){for(var i,o=1,a=arguments.length;oMath.min(i.width,i.height)&&(i.margin=Math.min(i.width,i.height)),i.dotsOptions=R({},i.dotsOptions),i.dotsOptions.gradient&&(i.dotsOptions.gradient=D(i.dotsOptions.gradient)),i.cornersSquareOptions&&(i.cornersSquareOptions=R({},i.cornersSquareOptions),i.cornersSquareOptions.gradient&&(i.cornersSquareOptions.gradient=D(i.cornersSquareOptions.gradient))),i.cornersDotOptions&&(i.cornersDotOptions=R({},i.cornersDotOptions),i.cornersDotOptions.gradient&&(i.cornersDotOptions.gradient=D(i.cornersDotOptions.gradient))),i.backgroundOptions&&(i.backgroundOptions=R({},i.backgroundOptions),i.backgroundOptions.gradient&&(i.backgroundOptions.gradient=D(i.backgroundOptions.gradient))),i}var I=o(192),N=o.n(I),M=function(n,i,o,a){return new(o||(o=Promise))(function(s,l){function u(n){try{d(a.next(n))}catch(i){l(i)}}function c(n){try{d(a.throw(n))}catch(i){l(i)}}function d(n){var i;n.done?s(n.value):((i=n.value)instanceof o?i:new o(function(n){n(i)})).then(u,c)}d((a=a.apply(n,i||[])).next())})},L=function(n,i){var o,a,s,l,u={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return l={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function c(l){return function(c){return function(l){if(o)throw TypeError("Generator is already executing.");for(;u;)try{if(o=1,a&&(s=2&l[0]?a.return:l[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,l[1])).done)return s;switch(a=0,s&&(l=[2&l[0],s.value]),l[0]){case 0:case 1:s=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,a=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(!((s=(s=u.trys).length>0&&s[s.length-1])||6!==l[0]&&2!==l[0])){u=0;continue}if(3===l[0]&&(!s||l[1]>s[0]&&l[1]\r\n'+o],{type:"image/svg+xml"})]):[2,new Promise(function(o){return i.toBlob(o,"image/"+n,1)})]:[2,null]}})})},n.prototype.download=function(n){return M(this,void 0,void 0,function(){var i,o,a,s;return L(this,function(l){switch(l.label){case 0:if(!this._qr)throw"QR code is empty";return i="png",o="qr","string"==typeof n?(i=n,console.warn("Extension is deprecated as argument for 'download' method, please pass object { name: '...', extension: '...' } as argument")):"object"==typeof n&&null!==n&&(n.name&&(o=n.name),n.extension&&(i=n.extension)),[4,this._getElement(i)];case 1:return(a=l.sent())&&("svg"===i.toLowerCase()?c("data:image/svg+xml;charset=utf-8,"+encodeURIComponent(s='\r\n'+(s=(new XMLSerializer).serializeToString(a))),o+".svg"):c(a.toDataURL("image/"+i),o+"."+i)),[2]}})})},n}()}},i={};function o(a){if(i[a])return i[a].exports;var s=i[a]={exports:{}};return n[a](s,s.exports,o),s.exports}return o.n=n=>{var i=n&&n.__esModule?()=>n.default:()=>n;return o.d(i,{a:i}),i},o.d=(n,i)=>{for(var a in i)o.o(i,a)&&!o.o(n,a)&&Object.defineProperty(n,a,{enumerable:!0,get:i[a]})},o.o=(n,i)=>Object.prototype.hasOwnProperty.call(n,i),o(676)})().default},n.exports=o()},17563:function(n,i,o){"use strict";let a=o(70610),s=o(44020),l=o(80500),u=n=>null==n;function c(n){switch(n.arrayFormat){case"index":return i=>(o,a)=>{let s=o.length;return void 0===a||n.skipNull&&null===a||n.skipEmptyString&&""===a?o:null===a?[...o,[f(i,n),"[",s,"]"].join("")]:[...o,[f(i,n),"[",f(s,n),"]=",f(a,n)].join("")]};case"bracket":return i=>(o,a)=>void 0===a||n.skipNull&&null===a||n.skipEmptyString&&""===a?o:null===a?[...o,[f(i,n),"[]"].join("")]:[...o,[f(i,n),"[]=",f(a,n)].join("")];case"comma":case"separator":return i=>(o,a)=>null==a||0===a.length?o:0===o.length?[[f(i,n),"=",f(a,n)].join("")]:[[o,f(a,n)].join(n.arrayFormatSeparator)];default:return i=>(o,a)=>void 0===a||n.skipNull&&null===a||n.skipEmptyString&&""===a?o:null===a?[...o,f(i,n)]:[...o,[f(i,n),"=",f(a,n)].join("")]}}function d(n){let i;switch(n.arrayFormat){case"index":return(n,o,a)=>{if(i=/\[(\d*)\]$/.exec(n),n=n.replace(/\[\d*\]$/,""),!i){a[n]=o;return}void 0===a[n]&&(a[n]={}),a[n][i[1]]=o};case"bracket":return(n,o,a)=>{if(i=/(\[\])$/.exec(n),n=n.replace(/\[\]$/,""),!i){a[n]=o;return}if(void 0===a[n]){a[n]=[o];return}a[n]=[].concat(a[n],o)};case"comma":case"separator":return(i,o,a)=>{let s="string"==typeof o&&o.split("").indexOf(n.arrayFormatSeparator)>-1,l=s?o.split(n.arrayFormatSeparator).map(i=>h(i,n)):null===o?o:h(o,n);a[i]=l};default:return(n,i,o)=>{if(void 0===o[n]){o[n]=i;return}o[n]=[].concat(o[n],i)}}}function p(n){if("string"!=typeof n||1!==n.length)throw TypeError("arrayFormatSeparator must be single character string")}function f(n,i){return i.encode?i.strict?a(n):encodeURIComponent(n):n}function h(n,i){return i.decode?s(n):n}function m(n){return Array.isArray(n)?n.sort():"object"==typeof n?m(Object.keys(n)).sort((n,i)=>Number(n)-Number(i)).map(i=>n[i]):n}function g(n){let i=n.indexOf("#");return -1!==i&&(n=n.slice(0,i)),n}function b(n){let i="",o=n.indexOf("#");return -1!==o&&(i=n.slice(o)),i}function y(n){n=g(n);let i=n.indexOf("?");return -1===i?"":n.slice(i+1)}function v(n,i){return i.parseNumbers&&!Number.isNaN(Number(n))&&"string"==typeof n&&""!==n.trim()?n=Number(n):i.parseBooleans&&null!==n&&("true"===n.toLowerCase()||"false"===n.toLowerCase())&&(n="true"===n.toLowerCase()),n}function w(n,i){p((i=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},i)).arrayFormatSeparator);let o=d(i),a=Object.create(null);if("string"!=typeof n||!(n=n.trim().replace(/^[?#&]/,"")))return a;for(let s of n.split("&")){let[u,c]=l(i.decode?s.replace(/\+/g," "):s,"=");c=void 0===c?null:["comma","separator"].includes(i.arrayFormat)?c:h(c,i),o(h(u,i),c,a)}for(let f of Object.keys(a)){let g=a[f];if("object"==typeof g&&null!==g)for(let b of Object.keys(g))g[b]=v(g[b],i);else a[f]=v(g,i)}return!1===i.sort?a:(!0===i.sort?Object.keys(a).sort():Object.keys(a).sort(i.sort)).reduce((n,i)=>{let o=a[i];return Boolean(o)&&"object"==typeof o&&!Array.isArray(o)?n[i]=m(o):n[i]=o,n},Object.create(null))}i.extract=y,i.parse=w,i.stringify=(n,i)=>{if(!n)return"";p((i=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},i)).arrayFormatSeparator);let o=o=>i.skipNull&&u(n[o])||i.skipEmptyString&&""===n[o],a=c(i),s={};for(let l of Object.keys(n))o(l)||(s[l]=n[l]);let d=Object.keys(s);return!1!==i.sort&&d.sort(i.sort),d.map(o=>{let s=n[o];return void 0===s?"":null===s?f(o,i):Array.isArray(s)?s.reduce(a(o),[]).join("&"):f(o,i)+"="+f(s,i)}).filter(n=>n.length>0).join("&")},i.parseUrl=(n,i)=>{i=Object.assign({decode:!0},i);let[o,a]=l(n,"#");return Object.assign({url:o.split("?")[0]||"",query:w(y(n),i)},i&&i.parseFragmentIdentifier&&a?{fragmentIdentifier:h(a,i)}:{})},i.stringifyUrl=(n,o)=>{o=Object.assign({encode:!0,strict:!0},o);let a=g(n.url).split("?")[0]||"",s=i.extract(n.url),l=i.parse(s,{sort:!1}),u=Object.assign(l,n.query),c=i.stringify(u,o);c&&(c=`?${c}`);let d=b(n.url);return n.fragmentIdentifier&&(d=`#${f(n.fragmentIdentifier,o)}`),`${a}${c}${d}`}},86893:function(n,i,o){"use strict";o.d(i,{C3L:function(){return l},QoU:function(){return c},Tfp:function(){return s},jRj:function(){return d},tHe:function(){return u}});var a=o(88357);function s(n){return(0,a.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 18 15 12 9 6"}}]})(n)}function l(n){return(0,a.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}},{tag:"path",attr:{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"}}]})(n)}function u(n){return(0,a.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"}},{tag:"polyline",attr:{points:"13 2 13 9 20 9"}}]})(n)}function c(n){return(0,a.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"}}]})(n)}function d(n){return(0,a.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"11",cy:"11",r:"8"}},{tag:"line",attr:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}}]})(n)}},88357:function(n,i,o){"use strict";o.d(i,{w_:function(){return p}});var a=o(67294),s={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},l=a.createContext&&a.createContext(s),u=function(){return(u=Object.assign||function(n){for(var i,o=1,a=arguments.length;oi.indexOf(a)&&(o[a]=n[a]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,a=Object.getOwnPropertySymbols(n);si.indexOf(a[s])&&Object.prototype.propertyIsEnumerable.call(n,a[s])&&(o[a[s]]=n[a[s]]);return o};function d(n){return n&&n.map(function(n,i){return a.createElement(n.tag,u({key:i},n.attr),d(n.child))})}function p(n){return function(i){return a.createElement(f,u({attr:u({},n.attr)},i),d(n.child))}}function f(n){var i=function(i){var o,s=n.attr,l=n.size,d=n.title,p=c(n,["attr","size","title"]),f=l||i.size||"1em";return i.className&&(o=i.className),n.className&&(o=(o?o+" ":"")+n.className),a.createElement("svg",u({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},i.attr,s,p,{className:o,style:u(u({color:n.color||i.color},i.style),n.style),height:f,width:f,xmlns:"http://www.w3.org/2000/svg"}),d&&a.createElement("title",null,d),n.children)};return void 0!==l?a.createElement(l.Consumer,null,function(n){return i(n)}):i(s)}},71471:function(n,i){"use strict";/** + */ var a=o(47798);n.exports=function(n,i){if(!a(n)&&"function"!=typeof n)return{};var o={};if("string"==typeof i)return i in n&&(o[i]=n[i]),o;for(var s=i.length,l=-1;++l1e4)throw Error("References have circular dependency. Please, check them.");o[a]=n}),a=a.reverse(),o=o.map(function(i){return a.forEach(function(o){i=i.replace(RegExp("(\\"+s+o+"\\"+s+")","g"),n[0]+"$1"+n[1])}),i})});var u=RegExp("\\"+s+"([0-9]+)\\"+s);function c(n,i,o){for(var a,s=[],l=0;a=u.exec(n);){if(l++>1e4)throw Error("Circular references in parenthesis");s.push(n.slice(0,a.index)),s.push(c(i[a[1]],i)),n=n.slice(a.index+a[0].length)}return s.push(n),s}return l?o:c(o[0],o)}function o(n,i){if(i&&i.flat){var o,a=i&&i.escape||"___",s=n[0];if(!s)return"";for(var l=RegExp("\\"+a+"([0-9]+)\\"+a),u=0;s!=o;){if(u++>1e4)throw Error("Circular references in "+n);o=s,s=s.replace(l,c)}return s}return n.reduce(function n(i,o){return Array.isArray(o)&&(o=o.reduce(n,"")),i+o},"");function c(i,o){if(null==n[o])throw Error("Reference "+o+"is undefined");return n[o]}}function a(n,a){return Array.isArray(n)?o(n,a):i(n,a)}a.parse=i,a.stringify=o,n.exports=a},89435:function(n){"use strict";var i,o=59;function a(n){var a,s="&"+n+";";return(i=i||document.createElement("i")).innerHTML=s,((a=i.textContent).charCodeAt(a.length-1)!==o||"semi"===n)&&a!==s&&a}n.exports=a},57574:function(n,i,o){"use strict";var a=o(37452),s=o(93580),l=o(46195),u=o(79480),c=o(7961),d=o(89435);n.exports=j;var p={}.hasOwnProperty,f=String.fromCharCode,h=Function.prototype,m={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},g=9,b=10,y=12,v=32,w=38,E=59,S=60,x=61,_=35,k=88,A=120,T=65533,C="named",R="hexadecimal",D="decimal",O={};O[R]=16,O[D]=10;var I={};I[C]=c,I[D]=l,I[R]=u;var N=1,M=2,L=3,P=4,F=5,B=6,U=7,z={};function j(n,i){var o,a,s={};for(a in i||(i={}),m)o=i[a],s[a]=null==o?m[a]:o;return(s.position.indent||s.position.start)&&(s.indent=s.position.indent||[],s.position=s.position.start),$(n,s)}function $(n,i){var o,l,u,m,j,$,G,q,W,K,Y,Z,X,J,Q,ee,et,en,er,ei=i.additional,eo=i.nonTerminated,ea=i.text,es=i.reference,el=i.warning,eu=i.textContext,ec=i.referenceContext,ed=i.warningContext,ep=i.position,ef=i.indent||[],eh=n.length,em=0,eg=-1,eb=ep.column||1,ey=ep.line||1,ev="",ew=[];for("string"==typeof ei&&(ei=ei.charCodeAt(0)),ee=eE(),q=el?eS:h,em--,eh++;++em65535&&($-=65536,K+=f($>>>10|55296),$=56320|1023&$),$=K+f($))):J!==C&&q(P,en)),$?(ex(),ee=eE(),em=er-1,eb+=er-X+1,ew.push($),et=eE(),et.offset++,es&&es.call(ec,$,{start:ee,end:et},n.slice(X-1,er)),ee=et):(ev+=m=n.slice(X-1,er),eb+=m.length,em=er-1)}else 10===j&&(ey++,eg++,eb=0),j==j?(ev+=f(j),eb++):ex();return ew.join("");function eE(){return{line:ey,column:eb,offset:em+(ep.offset||0)}}function eS(n,i){var o=eE();o.column+=i,o.offset+=i,el.call(ed,z[n],o,n)}function ex(){ev&&(ew.push(ev),ea&&ea.call(eu,ev,{start:ee,end:eE()}),ev="")}}function H(n){return n>=55296&&n<=57343||n>1114111}function V(n){return n>=1&&n<=8||11===n||n>=13&&n<=31||n>=127&&n<=159||n>=64976&&n<=65007||(65535&n)==65535||(65535&n)==65534}z[1]="Named character references must be terminated by a semicolon",z[M]="Numeric character references must be terminated by a semicolon",z[L]="Named character references cannot be empty",z[P]="Numeric character references cannot be empty",z[F]="Named character references must be known",z[B]="Numeric character references cannot be disallowed",z[U]="Numeric character references cannot be outside the permissible Unicode range"},28325:function(n,i,o){/** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT + * @author Lea Verou + * @namespace + * @public + */ var a=function(n){var i=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,o=0,a={},s={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function n(i){return i instanceof l?new l(i.type,n(i.content),i.alias):Array.isArray(i)?i.map(n):i.replace(/&/g,"&").replace(/=h.reach));A+=k.value.length,k=k.next){var T,C=k.value;if(i.length>n.length)return;if(!(C instanceof l)){var R=1;if(E){if(!(T=u(_,A,n,w))||T.index>=n.length)break;var D=T.index,O=T.index+T[0].length,I=A;for(I+=k.value.length;D>=I;)I+=(k=k.next).value.length;if(I-=k.value.length,A=I,k.value instanceof l)continue;for(var N=k;N!==i.tail&&(Ih.reach&&(h.reach=F);var B=k.prev;L&&(B=p(i,B,L),A+=L.length),f(i,B,R);var U=new l(m,v?s.tokenize(M,v):M,S,M);if(k=p(i,B,U),P&&p(i,k,P),R>1){var z={cause:m+","+b,reach:F};c(n,i,o,k.prev,A,z),h&&z.reach>h.reach&&(h.reach=z.reach)}}}}}}function d(){var n={value:null,prev:null,next:null},i={value:null,prev:n,next:null};n.next=i,this.head=n,this.tail=i,this.length=0}function p(n,i,o){var a=i.next,s={value:o,prev:i,next:a};return i.next=s,a.prev=s,n.length++,s}function f(n,i,o){for(var a=i.next,s=0;s"+l.content+""},!n.document)return n.addEventListener&&(s.disableWorkerMessageHandler||n.addEventListener("message",function(i){var o=JSON.parse(i.data),a=o.language,l=o.code,u=o.immediateClose;n.postMessage(s.highlight(l,s.languages[a],a)),u&&n.close()},!1)),s;var m=s.util.currentScript();function g(){s.manual||s.highlightAll()}if(m&&(s.filename=m.src,m.hasAttribute("data-manual")&&(s.manual=!0)),!s.manual){var b=document.readyState;"loading"===b||"interactive"===b&&m&&m.defer?document.addEventListener("DOMContentLoaded",g):window.requestAnimationFrame?window.requestAnimationFrame(g):window.setTimeout(g,16)}return s}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});n.exports&&(n.exports=a),void 0!==o.g&&(o.g.Prism=a)},92703:function(n,i,o){"use strict";var a=o(50414);function s(){}function l(){}l.resetWarningCache=s,n.exports=function(){function n(n,i,o,s,l,u){if(u!==a){var c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function i(){return n}n.isRequired=n;var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:i,element:n,elementType:n,instanceOf:i,node:n,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:l,resetWarningCache:s};return o.PropTypes=o,o}},45697:function(n,i,o){n.exports=o(92703)()},50414:function(n){"use strict";var i="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";n.exports=i},99560:function(n,i,o){"use strict";var a=o(66632),s=o(98805),l=o(57643),u="data";n.exports=f;var c=/^data[-\w.:]+$/i,d=/-[a-z]/g,p=/[A-Z]/g;function f(n,i){var o=a(i),d=i,p=l;return o in n.normal?n.property[n.normal[o]]:(o.length>4&&o.slice(0,4)===u&&c.test(i)&&("-"===i.charAt(4)?d=h(i):i=m(i),p=s),new p(d,i))}function h(n){var i=n.slice(5).replace(d,b);return u+i.charAt(0).toUpperCase()+i.slice(1)}function m(n){var i=n.slice(4);return d.test(i)?n:("-"!==(i=i.replace(p,g)).charAt(0)&&(i="-"+i),u+i)}function g(n){return"-"+n.toLowerCase()}function b(n){return n.charAt(1).toUpperCase()}},97247:function(n,i,o){"use strict";var a=o(19940),s=o(8289),l=o(5812),u=o(94397),c=o(67716),d=o(61805);n.exports=a([l,s,u,c,d])},67716:function(n,i,o){"use strict";var a=o(17e3),s=o(17596),l=a.booleanish,u=a.number,c=a.spaceSeparated;function d(n,i){return"role"===i?i:"aria-"+i.slice(4).toLowerCase()}n.exports=s({transform:d,properties:{ariaActiveDescendant:null,ariaAtomic:l,ariaAutoComplete:null,ariaBusy:l,ariaChecked:l,ariaColCount:u,ariaColIndex:u,ariaColSpan:u,ariaControls:c,ariaCurrent:null,ariaDescribedBy:c,ariaDetails:null,ariaDisabled:l,ariaDropEffect:c,ariaErrorMessage:null,ariaExpanded:l,ariaFlowTo:c,ariaGrabbed:l,ariaHasPopup:null,ariaHidden:l,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:c,ariaLevel:u,ariaLive:null,ariaModal:l,ariaMultiLine:l,ariaMultiSelectable:l,ariaOrientation:null,ariaOwns:c,ariaPlaceholder:null,ariaPosInSet:u,ariaPressed:l,ariaReadOnly:l,ariaRelevant:null,ariaRequired:l,ariaRoleDescription:c,ariaRowCount:u,ariaRowIndex:u,ariaRowSpan:u,ariaSelected:l,ariaSetSize:u,ariaSort:null,ariaValueMax:u,ariaValueMin:u,ariaValueNow:u,ariaValueText:null,role:null}})},61805:function(n,i,o){"use strict";var a=o(17e3),s=o(17596),l=o(10855),u=a.boolean,c=a.overloadedBoolean,d=a.booleanish,p=a.number,f=a.spaceSeparated,h=a.commaSeparated;n.exports=s({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:l,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:u,allowPaymentRequest:u,allowUserMedia:u,alt:null,as:null,async:u,autoCapitalize:null,autoComplete:f,autoFocus:u,autoPlay:u,capture:u,charSet:null,checked:u,cite:null,className:f,cols:p,colSpan:null,content:null,contentEditable:d,controls:u,controlsList:f,coords:p|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:u,defer:u,dir:null,dirName:null,disabled:u,download:c,draggable:d,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:u,formTarget:null,headers:f,height:p,hidden:u,high:p,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:h,inputMode:null,integrity:null,is:null,isMap:u,itemId:null,itemProp:f,itemRef:f,itemScope:u,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:u,low:p,manifest:null,max:null,maxLength:p,media:null,method:null,min:null,minLength:p,multiple:u,muted:u,name:null,nonce:null,noModule:u,noValidate:u,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:u,optimum:p,pattern:null,ping:f,placeholder:null,playsInline:u,poster:null,preload:null,readOnly:u,referrerPolicy:null,rel:f,required:u,reversed:u,rows:p,rowSpan:p,sandbox:f,scope:null,scoped:u,seamless:u,selected:u,shape:null,size:p,sizes:null,slot:null,span:p,spellCheck:d,src:null,srcDoc:null,srcLang:null,srcSet:h,start:p,step:null,style:null,tabIndex:p,target:null,title:null,translate:null,type:null,typeMustMatch:u,useMap:null,value:d,width:p,wrap:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:p,borderColor:null,bottomMargin:p,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:u,declare:u,event:null,face:null,frame:null,frameBorder:null,hSpace:p,leftMargin:p,link:null,longDesc:null,lowSrc:null,marginHeight:p,marginWidth:p,noResize:u,noHref:u,noShade:u,noWrap:u,object:null,profile:null,prompt:null,rev:null,rightMargin:p,rules:null,scheme:null,scrolling:d,standby:null,summary:null,text:null,topMargin:p,valueType:null,version:null,vAlign:null,vLink:null,vSpace:p,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:u,disableRemotePlayback:u,prefix:null,property:null,results:p,security:null,unselectable:null}})},10855:function(n,i,o){"use strict";var a=o(28740);function s(n,i){return a(n,i.toLowerCase())}n.exports=s},28740:function(n){"use strict";function i(n,i){return i in n?n[i]:i}n.exports=i},17596:function(n,i,o){"use strict";var a=o(66632),s=o(99607),l=o(98805);function u(n){var i,o,u=n.space,c=n.mustUseProperty||[],d=n.attributes||{},p=n.properties,f=n.transform,h={},m={};for(i in p)o=new l(i,f(d,i),p[i],u),-1!==c.indexOf(i)&&(o.mustUseProperty=!0),h[i]=o,m[a(i)]=i,m[a(o.attribute)]=i;return new s(h,m,u)}n.exports=u},98805:function(n,i,o){"use strict";var a=o(57643),s=o(17e3);n.exports=c,c.prototype=new a,c.prototype.defined=!0;var l=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],u=l.length;function c(n,i,o,c){var p,f=-1;for(d(this,"space",c),a.call(this,n,i);++f{var n={192(n,i){var o,a,s=function(){var n,i,o=function(n,i){var o=n,a=d[i],s=null,l=0,u=null,c=[],f={},E=function(n,i){s=function(n){for(var i=Array(n),o=0;o=7&&A(n),null==u&&(u=R(o,a,c)),C(u,i)},S=function(n,i){for(var o=-1;o<=7;o+=1)if(!(n+o<=-1||l<=n+o))for(var a=-1;a<=7;a+=1)i+a<=-1||l<=i+a||(s[n+o][i+a]=0<=o&&o<=6&&(0==a||6==a)||0<=a&&a<=6&&(0==o||6==o)||2<=o&&o<=4&&2<=a&&a<=4)},_=function(){for(var n=8;n>a&1);s[Math.floor(a/3)][a%3+l-8-3]=u}for(a=0;a<18;a+=1)u=!n&&1==(i>>a&1),s[a%3+l-8-3][Math.floor(a/3)]=u},T=function(n,i){for(var o=a<<3|i,u=p.getBCHTypeInfo(o),c=0;c<15;c+=1){var d=!n&&1==(u>>c&1);c<6?s[c][8]=d:c<8?s[c+1][8]=d:s[l-15+c][8]=d}for(c=0;c<15;c+=1)d=!n&&1==(u>>c&1),c<8?s[8][l-c-1]=d:c<9?s[8][15-c-1+1]=d:s[8][15-c-1]=d;s[l-8][8]=!n},C=function(n,i){for(var o=-1,a=l-1,u=7,c=0,d=p.getMaskFunction(i),f=l-1;f>0;f-=2)for(6==f&&(f-=1);;){for(var h=0;h<2;h+=1)if(null==s[a][f-h]){var m=!1;c>>u&1)),d(a,f-h)&&(m=!m),s[a][f-h]=m,-1==(u-=1)&&(c+=1,u=7)}if((a+=o)<0||l<=a){a-=o,o=-o;break}}},R=function(n,i,o){for(var a=m.getRSBlocks(n,i),s=g(),l=0;l8*c)throw"code length overflow. ("+s.getLengthInBits()+">"+8*c+")";for(s.getLengthInBits()+4<=8*c&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;!(s.getLengthInBits()>=8*c||(s.put(236,8),s.getLengthInBits()>=8*c));)s.put(17,8);return function(n,i){for(var o=0,a=0,s=0,l=Array(i.length),u=Array(i.length),c=0;c=0?b.getAt(y):0}}var v=0;for(m=0;ma)&&(n=a,i=o)}return i}())},f.createTableTag=function(n,i){n=n||2;var o="";o+='',o+="";for(var a=0;a";for(var s=0;s';o+=""}return(o+="")+"
"},f.createSvgTag=function(n,i,o,a){var s={};"object"==typeof arguments[0]&&(n=(s=arguments[0]).cellSize,i=s.margin,o=s.alt,a=s.title),n=n||2,i=void 0===i?4*n:i,(o="string"==typeof o?{text:o}:o||{}).text=o.text||null,o.id=o.text?o.id||"qrcode-description":null,(a="string"==typeof a?{text:a}:a||{}).text=a.text||null,a.id=a.text?a.id||"qrcode-title":null;var l,u,c,d,p=f.getModuleCount()*n+2*i,h="";for(d="l"+n+",0 0,"+n+" -"+n+",0 0,-"+n+"z ",h+=''+D(a.text)+"":"",h+=o.text?''+D(o.text)+"":"",h+='',h+='"},f.createDataURL=function(n,i){n=n||2,i=void 0===i?4*n:i;var o=f.getModuleCount()*n+2*i,a=i,s=o-i;return x(o,o,function(i,o){if(a<=i&&i"};var D=function(n){for(var i="",o=0;o":i+=">";break;case"&":i+="&";break;case'"':i+=""";break;default:i+=a}}return i};return f.createASCII=function(n,i){if((n=n||1)<2)return function(n){n=void 0===n?2:n;var i,o,a,s,l,u=1*f.getModuleCount()+2*n,c=n,d=u-n,p={"██":"█","█ ":"▀"," █":"▄"," ":" "},h={"██":"▀","█ ":"▀"," █":" "," ":" "},m="";for(i=0;i=d?h[l]:p[l];m+="\n"}return u%2&&n>0?m.substring(0,m.length-u-1)+Array(u+1).join("▀"):m.substring(0,m.length-1)}(i);n-=1,i=void 0===i?2*n:i;var o,a,s,l,u=f.getModuleCount()*n+2*i,c=i,d=u-i,p=Array(n+1).join("██"),h=Array(n+1).join(" "),m="",g="";for(o=0;o>>8),i.push(255&u)):i.push(a)}}return i}};var a,s,l,u,c,d={L:1,M:0,Q:3,H:2},p=(a=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],s=1335,l=7973,c=function(n){for(var i=0;0!=n;)i+=1,n>>>=1;return i},(u={}).getBCHTypeInfo=function(n){for(var i=n<<10;c(i)-c(s)>=0;)i^=s<=0;)i^=l<5&&(o+=3+l-5)}for(a=0;a=256;)i-=255;return n[i]}}}();function h(n,i){if(void 0===n.length)throw n.length+"/"+i;var o=function(){for(var o=0;o>>7-i%8&1)},put:function(n,i){for(var a=0;a>>i-a-1&1))},getLengthInBits:function(){return i},putBit:function(o){var a=Math.floor(i/8);n.length<=a&&n.push(0),o&&(n[a]|=128>>>i%8),i+=1}};return o},b=function(n){var i=n,o=function(n){for(var i=0,o=0;o>>8&255)+(255&s),n.put(s,13),o+=2}if(o>>8)},writeBytes:function(n,o,a){o=o||0,a=a||n.length;for(var s=0;s0&&(i+=","),i+=n[o];return i+"]"}};return i},S=function(n){var i=n,o=0,a=0,s=0,l=function(n){if(65<=n&&n<=90)return n-65;if(97<=n&&n<=122)return n-97+26;if(48<=n&&n<=57)return n-48+52;if(43==n)return 62;if(47==n)return 63;throw"c:"+n};return{read:function(){for(;s<8;){if(o>=i.length){if(0==s)return -1;throw"unexpected end of file./"+s}var n=i.charAt(o);if(o+=1,"="==n)return s=0,-1;n.match(/^\s$/)||(a=a<<6|l(n.charCodeAt(0)),s+=6)}var u=a>>>s-8&255;return s-=8,u}}},x=function(n,i,o){for(var a,s,l,u,c,d,p,f,h,m,g,b,y,v,w=(a=n,s=i,l=a,u=s,c=Array(a*s),d=function(n){for(var i=1<>>i!=0)throw"length over";for(;d+i>=8;)u.writeByte(255&(n<>>=8-d,f=0,d=0;f|=n<0&&u.writeByte(f)}});m.write(i,a);var g=0,b=String.fromCharCode(c[0]);for(g+=1;gs.size()&&(s.size()==1<255;)n.writeByte(255),n.writeBytes(i,o,255),o+=255;n.writeByte(i.length-o),n.writeBytes(i,o,i.length-o),n.writeByte(0),n.writeString(";")}}),S=0;S=6;)y(f>>>h-6),h-=6},b.flush=function(){if(h>0&&(y(f<<6-h),f=0,h=0),m%3!=0)for(var n=3-m%3,i=0;i>6,128|63&a):a<55296||a>=57344?i.push(224|a>>12,128|a>>6&63,128|63&a):(o++,a=65536+((1023&a)<<10|1023&n.charCodeAt(o)),i.push(240|a>>18,128|a>>12&63,128|a>>6&63,128|63&a))}return i}(n)},void 0===(a="function"==typeof(o=function(){return s})?o.apply(i,[]):o)||(n.exports=a)},676(n,i,o){"use strict";o.d(i,{default:()=>P});var a=function(){return(a=Object.assign||function(n){for(var i,o=1,a=arguments.length;o0&&s[s.length-1])||6!==l[0]&&2!==l[0])){u=0;continue}if(3===l[0]&&(!s||l[1]>s[0]&&l[1]2||l&&u||c&&d)this._basicSquare({x:i,y:o,size:a,rotation:0});else{if(2===p){var f=0;return l&&c?f=Math.PI/2:c&&u?f=Math.PI:u&&d&&(f=-Math.PI/2),void this._basicCornerRounded({x:i,y:o,size:a,rotation:f})}if(1===p)return f=0,c?f=Math.PI/2:u?f=Math.PI:d&&(f=-Math.PI/2),void this._basicSideRounded({x:i,y:o,size:a,rotation:f})}}else this._basicDot({x:i,y:o,size:a,rotation:0})},n.prototype._drawExtraRounded=function(n){var i=n.x,o=n.y,a=n.size,s=n.getNeighbor,l=s?+s(-1,0):0,u=s?+s(1,0):0,c=s?+s(0,-1):0,d=s?+s(0,1):0,p=l+u+c+d;if(0!==p){if(p>2||l&&u||c&&d)this._basicSquare({x:i,y:o,size:a,rotation:0});else{if(2===p){var f=0;return l&&c?f=Math.PI/2:c&&u?f=Math.PI:u&&d&&(f=-Math.PI/2),void this._basicCornerExtraRounded({x:i,y:o,size:a,rotation:f})}if(1===p)return f=0,c?f=Math.PI/2:u?f=Math.PI:d&&(f=-Math.PI/2),void this._basicSideRounded({x:i,y:o,size:a,rotation:f})}}else this._basicDot({x:i,y:o,size:a,rotation:0})},n.prototype._drawClassy=function(n){var i=n.x,o=n.y,a=n.size,s=n.getNeighbor,l=s?+s(-1,0):0,u=s?+s(1,0):0,c=s?+s(0,-1):0,d=s?+s(0,1):0;0!==l+u+c+d?l||c?u||d?this._basicSquare({x:i,y:o,size:a,rotation:0}):this._basicCornerRounded({x:i,y:o,size:a,rotation:Math.PI/2}):this._basicCornerRounded({x:i,y:o,size:a,rotation:-Math.PI/2}):this._basicCornersRounded({x:i,y:o,size:a,rotation:Math.PI/2})},n.prototype._drawClassyRounded=function(n){var i=n.x,o=n.y,a=n.size,s=n.getNeighbor,l=s?+s(-1,0):0,u=s?+s(1,0):0,c=s?+s(0,-1):0,d=s?+s(0,1):0;0!==l+u+c+d?l||c?u||d?this._basicSquare({x:i,y:o,size:a,rotation:0}):this._basicCornerExtraRounded({x:i,y:o,size:a,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:i,y:o,size:a,rotation:-Math.PI/2}):this._basicCornersRounded({x:i,y:o,size:a,rotation:Math.PI/2})},n}();var m=function(){return(m=Object.assign||function(n){for(var i,o=1,a=arguments.length;o0&&s[s.length-1])||6!==l[0]&&2!==l[0])){u=0;continue}if(3===l[0]&&(!s||l[1]>s[0]&&l[1]a||s&&s=(i-s.hideXDots)/2&&n<(i+s.hideXDots)/2&&o>=(i-s.hideYDots)/2&&o<(i+s.hideYDots)/2||(null===(a=S[n])||void 0===a?void 0:a[o])||(null===(l=S[n-i+7])||void 0===l?void 0:l[o])||(null===(u=S[n])||void 0===u?void 0:u[o-i+7])||(null===(c=x[n])||void 0===c?void 0:c[o])||(null===(d=x[n-i+7])||void 0===d?void 0:d[o])||(null===(p=x[n])||void 0===p?void 0:p[o-i+7]))}),this.drawCorners(),this._options.image?[4,this.drawImage({width:s.width,height:s.height,count:i,dotSize:a})]:[3,4];case 3:h.sent(),h.label=4;case 4:return[2]}})})},n.prototype.drawBackground=function(){var n,i,o,a=this._element,s=this._options;if(a){var l=null===(n=s.backgroundOptions)||void 0===n?void 0:n.gradient,u=null===(i=s.backgroundOptions)||void 0===i?void 0:i.color;if((l||u)&&this._createColor({options:l,color:u,additionalRotation:0,x:0,y:0,height:s.height,width:s.width,name:"background-color"}),null===(o=s.backgroundOptions)||void 0===o?void 0:o.round){var c=Math.min(s.width,s.height),d=document.createElementNS("http://www.w3.org/2000/svg","rect");this._backgroundClipPath=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._backgroundClipPath.setAttribute("id","clip-path-background-color"),this._defs.appendChild(this._backgroundClipPath),d.setAttribute("x",String((s.width-c)/2)),d.setAttribute("y",String((s.height-c)/2)),d.setAttribute("width",String(c)),d.setAttribute("height",String(c)),d.setAttribute("rx",String(c/2*s.backgroundOptions.round)),this._backgroundClipPath.appendChild(d)}}},n.prototype.drawDots=function(n){var i,o,a=this;if(!this._qr)throw"QR code is not defined";var s=this._options,l=this._qr.getModuleCount();if(l>s.width||l>s.height)throw"The canvas is too small.";var u=Math.min(s.width,s.height)-2*s.margin,c=Math.floor((s.shape===v?u/Math.sqrt(2):u)/l),d=Math.floor((s.width-l*c)/2),p=Math.floor((s.height-l*c)/2),f=new h({svg:this._element,type:s.dotsOptions.type});this._dotsClipPath=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._dotsClipPath.setAttribute("id","clip-path-dot-color"),this._defs.appendChild(this._dotsClipPath),this._createColor({options:null===(i=s.dotsOptions)||void 0===i?void 0:i.gradient,color:s.dotsOptions.color,additionalRotation:0,x:0,y:0,height:s.height,width:s.width,name:"dot-color"});for(var m=function(i){for(var s=function(s){return n&&!n(i,s)?"continue":(null===(o=g._qr)||void 0===o?void 0:o.isDark(i,s))?(f.draw(d+i*c,p+s*c,c,function(o,u){return!(i+o<0||s+u<0||i+o>=l||s+u>=l)&&!(n&&!n(i+o,s+u))&&!!a._qr&&a._qr.isDark(i+o,s+u)}),void(f._element&&g._dotsClipPath&&g._dotsClipPath.appendChild(f._element))):"continue"},u=0;u=y-1&&b<=w-y&&k>=y-1&&k<=w-y||Math.sqrt((b-_)*(b-_)+(k-_)*(k-_))>_?x[b][k]=0:x[b][k]=this._qr.isDark(k-2*y<0?k:k>=l?k-2*y:k-y,b-2*y<0?b:b>=l?b-2*y:b-y)?1:0}var A=function(n){for(var i=function(i){if(!x[n][i])return"continue";f.draw(E+n*c,S+i*c,c,function(o,a){var s;return!!(null===(s=x[n+o])||void 0===s?void 0:s[i+a])}),f._element&&T._dotsClipPath&&T._dotsClipPath.appendChild(f._element)},o=0;oc?d:c,h=document.createElementNS("http://www.w3.org/2000/svg","rect");if(h.setAttribute("x",String(l)),h.setAttribute("y",String(u)),h.setAttribute("height",String(c)),h.setAttribute("width",String(d)),h.setAttribute("clip-path","url('#clip-path-"+p+"')"),o){if("radial"===o.type)(i=document.createElementNS("http://www.w3.org/2000/svg","radialGradient")).setAttribute("id",p),i.setAttribute("gradientUnits","userSpaceOnUse"),i.setAttribute("fx",String(l+d/2)),i.setAttribute("fy",String(u+c/2)),i.setAttribute("cx",String(l+d/2)),i.setAttribute("cy",String(u+c/2)),i.setAttribute("r",String(f/2));else{var m=((o.rotation||0)+s)%(2*Math.PI),g=(m+2*Math.PI)%(2*Math.PI),b=l+d/2,y=u+c/2,v=l+d/2,w=u+c/2;g>=0&&g<=.25*Math.PI||g>1.75*Math.PI&&g<=2*Math.PI?(b-=d/2,y-=c/2*Math.tan(m),v+=d/2,w+=c/2*Math.tan(m)):g>.25*Math.PI&&g<=.75*Math.PI?(y-=c/2,b-=d/2/Math.tan(m),w+=c/2,v+=d/2/Math.tan(m)):g>.75*Math.PI&&g<=1.25*Math.PI?(b+=d/2,y+=c/2*Math.tan(m),v-=d/2,w-=c/2*Math.tan(m)):g>1.25*Math.PI&&g<=1.75*Math.PI&&(y+=c/2,b+=d/2/Math.tan(m),w-=c/2,v-=d/2/Math.tan(m)),(i=document.createElementNS("http://www.w3.org/2000/svg","linearGradient")).setAttribute("id",p),i.setAttribute("gradientUnits","userSpaceOnUse"),i.setAttribute("x1",String(Math.round(b))),i.setAttribute("y1",String(Math.round(y))),i.setAttribute("x2",String(Math.round(v))),i.setAttribute("y2",String(Math.round(w)))}o.colorStops.forEach(function(n){var o=n.offset,a=n.color,s=document.createElementNS("http://www.w3.org/2000/svg","stop");s.setAttribute("offset",100*o+"%"),s.setAttribute("stop-color",a),i.appendChild(s)}),h.setAttribute("fill","url('#"+p+"')"),this._defs.appendChild(i)}else a&&h.setAttribute("fill",a);this._element.appendChild(h)},n}(),k="canvas";for(var A={},T=0;T<=40;T++)A[T]=T;let C={type:k,shape:"square",width:300,height:300,data:"",margin:0,qrOptions:{typeNumber:A[0],mode:void 0,errorCorrectionLevel:"Q"},imageOptions:{hideBackgroundDots:!0,imageSize:.4,crossOrigin:void 0,margin:0},dotsOptions:{type:"square",color:"#000"},backgroundOptions:{round:0,color:"#fff"}};var R=function(){return(R=Object.assign||function(n){for(var i,o=1,a=arguments.length;oMath.min(i.width,i.height)&&(i.margin=Math.min(i.width,i.height)),i.dotsOptions=R({},i.dotsOptions),i.dotsOptions.gradient&&(i.dotsOptions.gradient=D(i.dotsOptions.gradient)),i.cornersSquareOptions&&(i.cornersSquareOptions=R({},i.cornersSquareOptions),i.cornersSquareOptions.gradient&&(i.cornersSquareOptions.gradient=D(i.cornersSquareOptions.gradient))),i.cornersDotOptions&&(i.cornersDotOptions=R({},i.cornersDotOptions),i.cornersDotOptions.gradient&&(i.cornersDotOptions.gradient=D(i.cornersDotOptions.gradient))),i.backgroundOptions&&(i.backgroundOptions=R({},i.backgroundOptions),i.backgroundOptions.gradient&&(i.backgroundOptions.gradient=D(i.backgroundOptions.gradient))),i}var I=o(192),N=o.n(I),M=function(n,i,o,a){return new(o||(o=Promise))(function(s,l){function u(n){try{d(a.next(n))}catch(i){l(i)}}function c(n){try{d(a.throw(n))}catch(i){l(i)}}function d(n){var i;n.done?s(n.value):((i=n.value)instanceof o?i:new o(function(n){n(i)})).then(u,c)}d((a=a.apply(n,i||[])).next())})},L=function(n,i){var o,a,s,l,u={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return l={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function c(l){return function(c){return function(l){if(o)throw TypeError("Generator is already executing.");for(;u;)try{if(o=1,a&&(s=2&l[0]?a.return:l[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,l[1])).done)return s;switch(a=0,s&&(l=[2&l[0],s.value]),l[0]){case 0:case 1:s=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,a=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(!((s=(s=u.trys).length>0&&s[s.length-1])||6!==l[0]&&2!==l[0])){u=0;continue}if(3===l[0]&&(!s||l[1]>s[0]&&l[1]\r\n'+o],{type:"image/svg+xml"})]):[2,new Promise(function(o){return i.toBlob(o,"image/"+n,1)})]:[2,null]}})})},n.prototype.download=function(n){return M(this,void 0,void 0,function(){var i,o,a,s;return L(this,function(l){switch(l.label){case 0:if(!this._qr)throw"QR code is empty";return i="png",o="qr","string"==typeof n?(i=n,console.warn("Extension is deprecated as argument for 'download' method, please pass object { name: '...', extension: '...' } as argument")):"object"==typeof n&&null!==n&&(n.name&&(o=n.name),n.extension&&(i=n.extension)),[4,this._getElement(i)];case 1:return(a=l.sent())&&("svg"===i.toLowerCase()?c("data:image/svg+xml;charset=utf-8,"+encodeURIComponent(s='\r\n'+(s=(new XMLSerializer).serializeToString(a))),o+".svg"):c(a.toDataURL("image/"+i),o+"."+i)),[2]}})})},n}()}},i={};function o(a){if(i[a])return i[a].exports;var s=i[a]={exports:{}};return n[a](s,s.exports,o),s.exports}return o.n=n=>{var i=n&&n.__esModule?()=>n.default:()=>n;return o.d(i,{a:i}),i},o.d=(n,i)=>{for(var a in i)o.o(i,a)&&!o.o(n,a)&&Object.defineProperty(n,a,{enumerable:!0,get:i[a]})},o.o=(n,i)=>Object.prototype.hasOwnProperty.call(n,i),o(676)})().default},n.exports=o()},86893:function(n,i,o){"use strict";o.d(i,{C3L:function(){return l},QoU:function(){return c},Tfp:function(){return s},jRj:function(){return d},tHe:function(){return u}});var a=o(88357);function s(n){return(0,a.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 18 15 12 9 6"}}]})(n)}function l(n){return(0,a.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}},{tag:"path",attr:{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"}}]})(n)}function u(n){return(0,a.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"}},{tag:"polyline",attr:{points:"13 2 13 9 20 9"}}]})(n)}function c(n){return(0,a.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"}}]})(n)}function d(n){return(0,a.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"11",cy:"11",r:"8"}},{tag:"line",attr:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}}]})(n)}},88357:function(n,i,o){"use strict";o.d(i,{w_:function(){return p}});var a=o(67294),s={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},l=a.createContext&&a.createContext(s),u=function(){return(u=Object.assign||function(n){for(var i,o=1,a=arguments.length;oi.indexOf(a)&&(o[a]=n[a]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,a=Object.getOwnPropertySymbols(n);si.indexOf(a[s])&&Object.prototype.propertyIsEnumerable.call(n,a[s])&&(o[a[s]]=n[a[s]]);return o};function d(n){return n&&n.map(function(n,i){return a.createElement(n.tag,u({key:i},n.attr),d(n.child))})}function p(n){return function(i){return a.createElement(f,u({attr:u({},n.attr)},i),d(n.child))}}function f(n){var i=function(i){var o,s=n.attr,l=n.size,d=n.title,p=c(n,["attr","size","title"]),f=l||i.size||"1em";return i.className&&(o=i.className),n.className&&(o=(o?o+" ":"")+n.className),a.createElement("svg",u({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},i.attr,s,p,{className:o,style:u(u({color:n.color||i.color},i.style),n.style),height:f,width:f,xmlns:"http://www.w3.org/2000/svg"}),d&&a.createElement("title",null,d),n.children)};return void 0!==l?a.createElement(l.Consumer,null,function(n){return i(n)}):i(s)}},71471:function(n,i){"use strict";/** * @license React * react-is.production.min.js * @@ -517,14 +537,7 @@ * LICENSE.md file in the root directory of this source tree. * * @license MIT - */ function p(){return(p=Object.assign?Object.assign.bind():function(n){for(var i=1;i{p.current=!0}),c.useCallback(function(o,s){if(void 0===s&&(s={}),!p.current)return;if("number"==typeof o){a.go(o);return}let c=(0,d.pC)(o,JSON.parse(u),l,"path"===s.relative);null==n&&"/"!==i&&(c.pathname="/"===c.pathname?i:(0,d.RQ)([i,c.pathname])),(s.replace?a.replace:a.push)(c,s.state,s)},[i,a,u,l,n])}function _(){let{matches:n}=c.useContext(b),i=n[n.length-1];return i?i.params:{}}function k(n,i){return A(n,i)}function A(n,i,o,a){let s;v()||(0,d.J0)(!1);let{navigator:l}=c.useContext(m),{matches:u}=c.useContext(b),f=u[u.length-1],h=f?f.params:{};f&&f.pathname;let y=f?f.pathnameBase:"/";f&&f.route;let E=w();if(i){var S;let x="string"==typeof i?(0,d.cP)(i):i;"/"===y||(null==(S=x.pathname)?void 0:S.startsWith(y))||(0,d.J0)(!1),s=x}else s=E;let _=s.pathname||"/",k="/"===y?_:_.slice(y.length)||"/",A=(0,d.fp)(n,{pathname:k}),T=O(A&&A.map(n=>Object.assign({},n,{params:Object.assign({},h,n.params),pathname:(0,d.RQ)([y,l.encodeLocation?l.encodeLocation(n.pathname).pathname:n.pathname]),pathnameBase:"/"===n.pathnameBase?y:(0,d.RQ)([y,l.encodeLocation?l.encodeLocation(n.pathnameBase).pathname:n.pathnameBase])})),u,o,a);return i&&T?c.createElement(g.Provider,{value:{location:p({pathname:"/",search:"",hash:"",state:null,key:"default"},s),navigationType:d.aU.Pop}},T):T}function T(){let n=B(),i=(0,d.WK)(n)?n.status+" "+n.statusText:n instanceof Error?n.message:JSON.stringify(n),o=n instanceof Error?n.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},s=null;return c.createElement(c.Fragment,null,c.createElement("h2",null,"Unexpected Application Error!"),c.createElement("h3",{style:{fontStyle:"italic"}},i),o?c.createElement("pre",{style:a},o):null,s)}let C=c.createElement(T,null);class R extends c.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,i){return i.location!==n.location||"idle"!==i.revalidation&&"idle"===n.revalidation?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:void 0!==n.error?n.error:i.error,location:i.location,revalidation:n.revalidation||i.revalidation}}componentDidCatch(n,i){console.error("React Router caught the following error during render",n,i)}render(){return void 0!==this.state.error?c.createElement(b.Provider,{value:this.props.routeContext},c.createElement(y.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function D(n){let{routeContext:i,match:o,children:a}=n,s=c.useContext(f);return s&&s.static&&s.staticContext&&(o.route.errorElement||o.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=o.route.id),c.createElement(b.Provider,{value:i},a)}function O(n,i,o,a){var s,l;if(void 0===i&&(i=[]),void 0===o&&(o=null),void 0===a&&(a=null),null==n){if(null==(l=o)||!l.errors)return null;n=o.matches}let u=n,p=null==(s=o)?void 0:s.errors;if(null!=p){let f=u.findIndex(n=>n.route.id&&(null==p?void 0:p[n.route.id]));f>=0||(0,d.J0)(!1),u=u.slice(0,Math.min(u.length,f+1))}let h=!1,m=-1;if(o&&a&&a.v7_partialHydration)for(let g=0;g=0?u.slice(0,m+1):[u[0]];break}}return u.reduceRight((n,a,s)=>{let l;let d=!1,f=null,g=null;o&&(l=p&&a.route.id?p[a.route.id]:void 0,f=a.route.errorElement||C,h&&(m<0&&0===s?(j("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,g=null):m===s&&(d=!0,g=a.route.hydrateFallbackElement||null)));let b=i.concat(u.slice(0,s+1)),y=()=>{let i;return i=l?f:d?g:a.route.Component?c.createElement(a.route.Component,null):a.route.element?a.route.element:n,c.createElement(D,{match:a,routeContext:{outlet:n,matches:b,isDataRoute:null!=o},children:i})};return o&&(a.route.ErrorBoundary||a.route.errorElement||0===s)?c.createElement(R,{location:o.location,revalidation:o.revalidation,component:f,error:l,children:y(),routeContext:{outlet:null,matches:b,isDataRoute:!0}}):y()},null)}var I=((a=I||{}).UseBlocker="useBlocker",a.UseRevalidator="useRevalidator",a.UseNavigateStable="useNavigate",a),N=((s=N||{}).UseBlocker="useBlocker",s.UseLoaderData="useLoaderData",s.UseActionData="useActionData",s.UseRouteError="useRouteError",s.UseNavigation="useNavigation",s.UseRouteLoaderData="useRouteLoaderData",s.UseMatches="useMatches",s.UseRevalidator="useRevalidator",s.UseNavigateStable="useNavigate",s.UseRouteId="useRouteId",s);function M(n){let i=c.useContext(f);return i||(0,d.J0)(!1),i}function L(n){let i=c.useContext(h);return i||(0,d.J0)(!1),i}function P(n){let i=c.useContext(b);return i||(0,d.J0)(!1),i}function F(n){let i=P(n),o=i.matches[i.matches.length-1];return o.route.id||(0,d.J0)(!1),o.route.id}function B(){var n;let i=c.useContext(y),o=L(N.UseRouteError),a=F(N.UseRouteError);return void 0!==i?i:null==(n=o.errors)?void 0:n[a]}function U(){let{router:n}=M(I.UseNavigateStable),i=F(N.UseNavigateStable),o=c.useRef(!1);return E(()=>{o.current=!0}),c.useCallback(function(a,s){void 0===s&&(s={}),o.current&&("number"==typeof a?n.navigate(a):n.navigate(a,p({fromRouteId:i},s)))},[n,i])}let z={};function j(n,i,o){i||z[n]||(z[n]=!0)}let $="startTransition";function H(n){(0,d.J0)(!1)}function V(n){let{basename:i="/",children:o=null,location:a,navigationType:s=d.aU.Pop,navigator:l,static:u=!1,future:f}=n;v()&&(0,d.J0)(!1);let h=i.replace(/^\/*/,"/"),b=c.useMemo(()=>({basename:h,navigator:l,static:u,future:p({v7_relativeSplatPath:!1},f)}),[h,f,l,u]);"string"==typeof a&&(a=(0,d.cP)(a));let{pathname:y="/",search:w="",hash:E="",state:S=null,key:x="default"}=a,_=c.useMemo(()=>{let n=(0,d.Zn)(y,h);return null==n?null:{location:{pathname:n,search:w,hash:E,state:S,key:x},navigationType:s}},[h,y,w,E,S,x,s]);return null==_?null:c.createElement(m.Provider,{value:b},c.createElement(g.Provider,{children:o,value:_}))}function G(n){let{children:i,location:o}=n;return k(q(i),o)}function q(n,i){void 0===i&&(i=[]);let o=[];return c.Children.forEach(n,(n,a)=>{if(!c.isValidElement(n))return;let s=[...i,a];if(n.type===c.Fragment){o.push.apply(o,q(n.props.children,s));return}n.type!==H&&(0,d.J0)(!1),n.props.index&&n.props.children&&(0,d.J0)(!1);let l={id:n.props.id||s.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:null!=n.props.ErrorBoundary||null!=n.props.errorElement,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(l.children=q(n.props.children,s)),o.push(l)}),o}(u||(u=o.t(c,2)))[$],(l=AwaitRenderStatus||{})[l.pending=0]="pending",l[l.success=1]="success",l[l.error=2]="error",new Promise(()=>{})},34209:function(n,i,o){"use strict";o.d(i,{Z:function(){return J}});var a=o(63366);function s(n,i){if(null==n)return{};var o,s,l=(0,a.Z)(n,i);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(n);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(n,o)&&(l[o]=n[o])}return l}function l(n,i){(null==i||i>n.length)&&(i=n.length);for(var o=0,a=Array(i);o=4?[n[0],n[1],n[2],n[3],"".concat(n[0],".").concat(n[1]),"".concat(n[0],".").concat(n[2]),"".concat(n[0],".").concat(n[3]),"".concat(n[1],".").concat(n[0]),"".concat(n[1],".").concat(n[2]),"".concat(n[1],".").concat(n[3]),"".concat(n[2],".").concat(n[0]),"".concat(n[2],".").concat(n[1]),"".concat(n[2],".").concat(n[3]),"".concat(n[3],".").concat(n[0]),"".concat(n[3],".").concat(n[1]),"".concat(n[3],".").concat(n[2]),"".concat(n[0],".").concat(n[1],".").concat(n[2]),"".concat(n[0],".").concat(n[1],".").concat(n[3]),"".concat(n[0],".").concat(n[2],".").concat(n[1]),"".concat(n[0],".").concat(n[2],".").concat(n[3]),"".concat(n[0],".").concat(n[3],".").concat(n[1]),"".concat(n[0],".").concat(n[3],".").concat(n[2]),"".concat(n[1],".").concat(n[0],".").concat(n[2]),"".concat(n[1],".").concat(n[0],".").concat(n[3]),"".concat(n[1],".").concat(n[2],".").concat(n[0]),"".concat(n[1],".").concat(n[2],".").concat(n[3]),"".concat(n[1],".").concat(n[3],".").concat(n[0]),"".concat(n[1],".").concat(n[3],".").concat(n[2]),"".concat(n[2],".").concat(n[0],".").concat(n[1]),"".concat(n[2],".").concat(n[0],".").concat(n[3]),"".concat(n[2],".").concat(n[1],".").concat(n[0]),"".concat(n[2],".").concat(n[1],".").concat(n[3]),"".concat(n[2],".").concat(n[3],".").concat(n[0]),"".concat(n[2],".").concat(n[3],".").concat(n[1]),"".concat(n[3],".").concat(n[0],".").concat(n[1]),"".concat(n[3],".").concat(n[0],".").concat(n[2]),"".concat(n[3],".").concat(n[1],".").concat(n[0]),"".concat(n[3],".").concat(n[1],".").concat(n[2]),"".concat(n[3],".").concat(n[2],".").concat(n[0]),"".concat(n[3],".").concat(n[2],".").concat(n[1]),"".concat(n[0],".").concat(n[1],".").concat(n[2],".").concat(n[3]),"".concat(n[0],".").concat(n[1],".").concat(n[3],".").concat(n[2]),"".concat(n[0],".").concat(n[2],".").concat(n[1],".").concat(n[3]),"".concat(n[0],".").concat(n[2],".").concat(n[3],".").concat(n[1]),"".concat(n[0],".").concat(n[3],".").concat(n[1],".").concat(n[2]),"".concat(n[0],".").concat(n[3],".").concat(n[2],".").concat(n[1]),"".concat(n[1],".").concat(n[0],".").concat(n[2],".").concat(n[3]),"".concat(n[1],".").concat(n[0],".").concat(n[3],".").concat(n[2]),"".concat(n[1],".").concat(n[2],".").concat(n[0],".").concat(n[3]),"".concat(n[1],".").concat(n[2],".").concat(n[3],".").concat(n[0]),"".concat(n[1],".").concat(n[3],".").concat(n[0],".").concat(n[2]),"".concat(n[1],".").concat(n[3],".").concat(n[2],".").concat(n[0]),"".concat(n[2],".").concat(n[0],".").concat(n[1],".").concat(n[3]),"".concat(n[2],".").concat(n[0],".").concat(n[3],".").concat(n[1]),"".concat(n[2],".").concat(n[1],".").concat(n[0],".").concat(n[3]),"".concat(n[2],".").concat(n[1],".").concat(n[3],".").concat(n[0]),"".concat(n[2],".").concat(n[3],".").concat(n[0],".").concat(n[1]),"".concat(n[2],".").concat(n[3],".").concat(n[1],".").concat(n[0]),"".concat(n[3],".").concat(n[0],".").concat(n[1],".").concat(n[2]),"".concat(n[3],".").concat(n[0],".").concat(n[2],".").concat(n[1]),"".concat(n[3],".").concat(n[1],".").concat(n[0],".").concat(n[2]),"".concat(n[3],".").concat(n[1],".").concat(n[2],".").concat(n[0]),"".concat(n[3],".").concat(n[2],".").concat(n[0],".").concat(n[1]),"".concat(n[3],".").concat(n[2],".").concat(n[1],".").concat(n[0])]:void 0}var x={};function _(n){if(0===n.length||1===n.length)return n;var i=n.join(".");return x[i]||(x[i]=S(n)),x[i]}function k(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;return _(n.filter(function(n){return"token"!==n})).reduce(function(n,i){return E(E({},n),o[i])},i)}function A(n){return n.join(" ")}function T(n,i){var o=0;return function(a){return o+=1,a.map(function(a,s){return C({node:a,stylesheet:n,useInlineStyles:i,key:"code-segment-".concat(o,"-").concat(s)})})}}function C(n){var i=n.node,o=n.stylesheet,a=n.style,s=void 0===a?{}:a,l=n.useInlineStyles,u=n.key,c=i.properties,d=i.type,p=i.tagName,f=i.value;if("text"===d)return f;if(p){var h,m=T(o,l);if(l){var g=Object.keys(o).reduce(function(n,i){return i.split(".").forEach(function(i){n.includes(i)||n.push(i)}),n},[]),b=c.className&&c.className.includes("token")?["token"]:[],w=c.className&&b.concat(c.className.filter(function(n){return!g.includes(n)}));h=E(E({},c),{},{className:A(w)||void 0,style:k(c.className,Object.assign({},c.style,s),o)})}else h=E(E({},c),{},{className:A(c.className)});var S=m(i.children);return y.createElement(p,(0,v.Z)({key:u},h),S)}}var R=function(n,i){return -1!==n.listLanguages().indexOf(i)},D=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function O(n,i){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);i&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),o.push.apply(o,a)}return o}function I(n){for(var i=1;i1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=0;a2&&void 0!==arguments[2]?arguments[2]:[];return z({children:n,lineNumber:i,lineNumberStyle:c,largestLineNumber:u,showInlineLineNumbers:s,lineProps:o,className:l,showLineNumbers:a,wrapLongLines:d})}function y(n,i){if(a&&i&&s){var o=U(c,i,u);n.unshift(B(i,o))}return n}function v(n,o){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return i||a.length>0?b(n,o,a):y(n,o)}for(var w=function(){var n=f[g],i=n.children[0].value;if(M(i)){var o=i.split("\n");o.forEach(function(i,s){var u=a&&h.length+l,c={type:"text",value:"".concat(i,"\n")};if(0===s){var d=v(f.slice(m+1,g).concat(z({children:[c],className:n.properties.className})),u);h.push(d)}else if(s===o.length-1){var p=f[g+1]&&f[g+1].children&&f[g+1].children[0],b={type:"text",value:"".concat(i)};if(p){var y=z({children:[b],className:n.properties.className});f.splice(g+1,0,y)}else{var w=v([b],u,n.properties.className);h.push(w)}}else{var E=v([c],u,n.properties.className);h.push(E)}}),m=g}g++};g code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},K=o(98695),Y=o.n(K),Z=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"],X=q(Y(),W);X.supportedLanguages=Z;var J=X},79166:function(n,i){"use strict";i.Z={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}}},24762:function(n,i,o){"use strict";o.d(i,{Z:function(){return o0}});var a,s,l,u,c,d,p,f,h,m,g,b,y,v=o(67294),w=o(45697),E=o.n(w),S="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),x=new Uint8Array(16);function _(){if(!S)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return S(x)}for(var k=[],A=0;A<256;++A)k[A]=(A+256).toString(16).substr(1);var T=function(n,i){var o=i||0,a=k;return[a[n[o++]],a[n[o++]],a[n[o++]],a[n[o++]],"-",a[n[o++]],a[n[o++]],"-",a[n[o++]],a[n[o++]],"-",a[n[o++]],a[n[o++]],"-",a[n[o++]],a[n[o++]],a[n[o++]],a[n[o++]],a[n[o++]],a[n[o++]]].join("")},C=function(n,i,o){var a=i&&o||0;"string"==typeof n&&(i="binary"===n?Array(16):null,n=null);var s=(n=n||{}).random||(n.rng||_)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,i)for(var l=0;l<16;++l)i[a+l]=s[l];return i||T(s)};function R(n,i){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);i&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),o.push.apply(o,a)}return o}function D(n){for(var i=1;in.length)&&(i=n.length);for(var o=0,a=Array(i);o=n.length?{done:!0}:{done:!1,value:n[a++]}},e:function(n){throw n},f:s}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,c=!1;return{s:function(){o=o.call(n)},n:function(){var n=o.next();return u=n.done,n},e:function(n){c=!0,l=n},f:function(){try{u||null==o.return||o.return()}finally{if(c)throw l}}}}var q="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==o.g?o.g:"undefined"!=typeof self?self:{},W=function(n){return n&&n.Math==Math&&n},K=W("object"==typeof globalThis&&globalThis)||W("object"==typeof window&&window)||W("object"==typeof self&&self)||W("object"==typeof q&&q)||function(){return this}()||Function("return this")(),Y={},Z=function(n){try{return!!n()}catch(i){return!0}},X=!Z(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),J=!Z(function(){var n=(function(){}).bind();return"function"!=typeof n||n.hasOwnProperty("prototype")}),Q=J,ee=Function.prototype.call,et=Q?ee.bind(ee):function(){return ee.apply(ee,arguments)},en={},er={}.propertyIsEnumerable,ei=Object.getOwnPropertyDescriptor,eo=ei&&!er.call({1:2},1);en.f=eo?function(n){var i=ei(this,n);return!!i&&i.enumerable}:er;var ea=function(n,i){return{enumerable:!(1&n),configurable:!(2&n),writable:!(4&n),value:i}},es=J,el=Function.prototype,eu=el.call,ec=es&&el.bind.bind(eu,eu),ed=function(n){return es?ec(n):function(){return eu.apply(n,arguments)}},ep=ed,ef=ep({}.toString),eh=ep("".slice),em=function(n){return eh(ef(n),8,-1)},eg=em,eb=ed,ey=function(n){if("Function"===eg(n))return eb(n)},ev=Z,ew=em,eE=Object,eS=ey("".split),ex=ev(function(){return!eE("z").propertyIsEnumerable(0)})?function(n){return"String"==ew(n)?eS(n,""):eE(n)}:eE,e_=function(n){return null==n},ek=e_,eA=TypeError,eT=function(n){if(ek(n))throw eA("Can't call method on "+n);return n},eC=ex,eR=eT,eD=function(n){return eC(eR(n))},eO="object"==typeof document&&document.all,eI=void 0===eO&&void 0!==eO,eN={all:eO,IS_HTMLDDA:eI},eM=eN,eL=eM.all,eP=eM.IS_HTMLDDA?function(n){return"function"==typeof n||n===eL}:function(n){return"function"==typeof n},eF=eP,eB=eN,eU=eB.all,ez=eB.IS_HTMLDDA?function(n){return"object"==typeof n?null!==n:eF(n)||n===eU}:function(n){return"object"==typeof n?null!==n:eF(n)},ej=K,e$=eP,eH=function(n){return e$(n)?n:void 0},eV=function(n,i){return arguments.length<2?eH(ej[n]):ej[n]&&ej[n][i]},eG=ey({}.isPrototypeOf),eq=eV("navigator","userAgent")||"",eW=K,eK=eq,eY=eW.process,eZ=eW.Deno,eX=eY&&eY.versions||eZ&&eZ.version,eJ=eX&&eX.v8;eJ&&(p=(d=eJ.split("."))[0]>0&&d[0]<4?1:+(d[0]+d[1])),!p&&eK&&(!(d=eK.match(/Edge\/(\d+)/))||d[1]>=74)&&(d=eK.match(/Chrome\/(\d+)/))&&(p=+d[1]);var eQ=p,e0=Z,e1=!!Object.getOwnPropertySymbols&&!e0(function(){var n=Symbol();return!String(n)||!(Object(n) instanceof Symbol)||!Symbol.sham&&eQ&&eQ<41}),e2=e1&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,e3=eV,e5=eP,e4=eG,e6=Object,e8=e2?function(n){return"symbol"==typeof n}:function(n){var i=e3("Symbol");return e5(i)&&e4(i.prototype,e6(n))},e9=String,e7=eP,te=function(n){try{return e9(n)}catch(i){return"Object"}},tt=TypeError,tn=function(n){if(e7(n))return n;throw tt(te(n)+" is not a function")},tr=tn,ti=e_,to=function(n,i){var o=n[i];return ti(o)?void 0:tr(o)},ta=et,ts=eP,tl=ez,tu=TypeError,tc=function(n,i){var o,a;if("string"===i&&ts(o=n.toString)&&!tl(a=ta(o,n))||ts(o=n.valueOf)&&!tl(a=ta(o,n))||"string"!==i&&ts(o=n.toString)&&!tl(a=ta(o,n)))return a;throw tu("Can't convert object to primitive value")},td={exports:{}},tp=K,tf=Object.defineProperty,th=function(n,i){try{tf(tp,n,{value:i,configurable:!0,writable:!0})}catch(o){tp[n]=i}return i},tm=th,tg="__core-js_shared__",tb=K[tg]||tm(tg,{}),ty=tb;(td.exports=function(n,i){return ty[n]||(ty[n]=void 0!==i?i:{})})("versions",[]).push({version:"3.25.5",mode:"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE",source:"https://github.com/zloirock/core-js"});var tv=eT,tw=Object,tE=function(n){return tw(tv(n))},tS=tE,tx=ey({}.hasOwnProperty),t_=Object.hasOwn||function(n,i){return tx(tS(n),i)},tk=0,tA=Math.random(),tT=ey(1..toString),tC=function(n){return"Symbol("+(void 0===n?"":n)+")_"+tT(++tk+tA,36)},tR=K,tD=td.exports,tO=t_,tI=tC,tN=e1,tM=e2,tL=tD("wks"),tP=tR.Symbol,tF=tP&&tP.for,tB=tM?tP:tP&&tP.withoutSetter||tI,tU=function(n){if(!tO(tL,n)||!(tN||"string"==typeof tL[n])){var i="Symbol."+n;tN&&tO(tP,n)?tL[n]=tP[n]:tM&&tF?tL[n]=tF(i):tL[n]=tB(i)}return tL[n]},tz=et,tj=ez,t$=e8,tH=to,tV=tc,tG=TypeError,tq=tU("toPrimitive"),tW=function(n,i){if(!tj(n)||t$(n))return n;var o,a=tH(n,tq);if(a){if(void 0===i&&(i="default"),!tj(o=tz(a,n,i))||t$(o))return o;throw tG("Can't convert object to primitive value")}return void 0===i&&(i="number"),tV(n,i)},tK=e8,tY=function(n){var i=tW(n,"string");return tK(i)?i:i+""},tZ=ez,tX=K.document,tJ=tZ(tX)&&tZ(tX.createElement),tQ=function(n){return tJ?tX.createElement(n):{}},t0=Z,t1=tQ,t2=!X&&!t0(function(){return 7!=Object.defineProperty(t1("div"),"a",{get:function(){return 7}}).a}),t3=X,t5=et,t4=en,t6=ea,t8=eD,t9=tY,t7=t_,ne=t2,nt=Object.getOwnPropertyDescriptor;Y.f=t3?nt:function(n,i){if(n=t8(n),i=t9(i),ne)try{return nt(n,i)}catch(o){}if(t7(n,i))return t6(!t5(t4.f,n,i),n[i])};var nn={},nr=Z,ni=X&&nr(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),no=ez,na=String,ns=TypeError,nl=function(n){if(no(n))return n;throw ns(na(n)+" is not an object")},nu=X,nc=t2,nd=ni,np=nl,nf=tY,nh=TypeError,nm=Object.defineProperty,ng=Object.getOwnPropertyDescriptor,nb="enumerable",ny="configurable",nv="writable";nn.f=nu?nd?function(n,i,o){if(np(n),i=nf(i),np(o),"function"==typeof n&&"prototype"===i&&"value"in o&&nv in o&&!o[nv]){var a=ng(n,i);a&&a[nv]&&(n[i]=o.value,o={configurable:ny in o?o[ny]:a[ny],enumerable:nb in o?o[nb]:a[nb],writable:!1})}return nm(n,i,o)}:nm:function(n,i,o){if(np(n),i=nf(i),np(o),nc)try{return nm(n,i,o)}catch(a){}if("get"in o||"set"in o)throw nh("Accessors not supported");return"value"in o&&(n[i]=o.value),n};var nw=nn,nE=ea,nS=X?function(n,i,o){return nw.f(n,i,nE(1,o))}:function(n,i,o){return n[i]=o,n},nx={exports:{}},n_=X,nk=Function.prototype,nA=n_&&Object.getOwnPropertyDescriptor,nT=t_(nk,"name"),nC=nT&&"something"===(function(){}).name,nR=nT&&(!n_||n_&&nA(nk,"name").configurable),nD={EXISTS:nT,PROPER:nC,CONFIGURABLE:nR},nO=eP,nI=tb,nN=ey(Function.toString);nO(nI.inspectSource)||(nI.inspectSource=function(n){return nN(n)});var nM=nI.inspectSource,nL=eP,nP=K.WeakMap,nF=nL(nP)&&/native code/.test(String(nP)),nB=td.exports,nU=tC,nz=nB("keys"),nj=function(n){return nz[n]||(nz[n]=nU(n))},n$={},nH=nF,nV=K,nG=ez,nq=nS,nW=t_,nK=tb,nY=nj,nZ=n$,nX="Object already initialized",nJ=nV.TypeError,nQ=nV.WeakMap,n0=function(n){return m(n)?h(n):f(n,{})},n1=function(n){return function(i){var o;if(!nG(i)||(o=h(i)).type!==n)throw nJ("Incompatible receiver, "+n+" required");return o}};if(nH||nK.state){var n2=nK.state||(nK.state=new nQ);n2.get=n2.get,n2.has=n2.has,n2.set=n2.set,f=function(n,i){if(n2.has(n))throw nJ(nX);return i.facade=n,n2.set(n,i),i},h=function(n){return n2.get(n)||{}},m=function(n){return n2.has(n)}}else{var n3=nY("state");nZ[n3]=!0,f=function(n,i){if(nW(n,n3))throw nJ(nX);return i.facade=n,nq(n,n3,i),i},h=function(n){return nW(n,n3)?n[n3]:{}},m=function(n){return nW(n,n3)}}var n5={set:f,get:h,has:m,enforce:n0,getterFor:n1},n4=Z,n6=eP,n8=t_,n9=X,n7=nD.CONFIGURABLE,re=nM,rt=n5,rn=rt.enforce,rr=rt.get,ri=Object.defineProperty,ro=n9&&!n4(function(){return 8!==ri(function(){},"length",{value:8}).length}),ra=String(String).split("String"),rs=nx.exports=function(n,i,o){"Symbol("===String(i).slice(0,7)&&(i="["+String(i).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),o&&o.getter&&(i="get "+i),o&&o.setter&&(i="set "+i),(!n8(n,"name")||n7&&n.name!==i)&&(n9?ri(n,"name",{value:i,configurable:!0}):n.name=i),ro&&o&&n8(o,"arity")&&n.length!==o.arity&&ri(n,"length",{value:o.arity});try{o&&n8(o,"constructor")&&o.constructor?n9&&ri(n,"prototype",{writable:!1}):n.prototype&&(n.prototype=void 0)}catch(a){}var s=rn(n);return n8(s,"source")||(s.source=ra.join("string"==typeof i?i:"")),n};Function.prototype.toString=rs(function(){return n6(this)&&rr(this).source||re(this)},"toString");var rl=eP,ru=nn,rc=nx.exports,rd=th,rp=function(n,i,o,a){a||(a={});var s=a.enumerable,l=void 0!==a.name?a.name:i;if(rl(o)&&rc(o,l,a),a.global)s?n[i]=o:rd(i,o);else{try{a.unsafe?n[i]&&(s=!0):delete n[i]}catch(u){}s?n[i]=o:ru.f(n,i,{value:o,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return n},rf={},rh=Math.ceil,rm=Math.floor,rg=Math.trunc||function(n){var i=+n;return(i>0?rm:rh)(i)},rb=function(n){var i=+n;return i!=i||0===i?0:rg(i)},ry=rb,rv=Math.max,rw=Math.min,rE=rb,rS=Math.min,rx=function(n){return n>0?rS(rE(n),9007199254740991):0},r_=function(n){return rx(n.length)},rk=eD,rA=function(n,i){var o=ry(n);return o<0?rv(o+i,0):rw(o,i)},rT=r_,rC=function(n){return function(i,o,a){var s,l=rk(i),u=rT(l),c=rA(a,u);if(n&&o!=o){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((n||c in l)&&l[c]===o)return n||c||0;return!n&&-1}},rR={includes:rC(!0),indexOf:rC(!1)},rD=ey,rO=t_,rI=eD,rN=rR.indexOf,rM=n$,rL=rD([].push),rP=function(n,i){var o,a=rI(n),s=0,l=[];for(o in a)!rO(rM,o)&&rO(a,o)&&rL(l,o);for(;i.length>s;)rO(a,o=i[s++])&&(~rN(l,o)||rL(l,o));return l},rF=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],rB=rP,rU=rF.concat("length","prototype");rf.f=Object.getOwnPropertyNames||function(n){return rB(n,rU)};var rz={};rz.f=Object.getOwnPropertySymbols;var rj=eV,r$=rf,rH=rz,rV=nl,rG=ey([].concat),rq=rj("Reflect","ownKeys")||function(n){var i=r$.f(rV(n)),o=rH.f;return o?rG(i,o(n)):i},rW=t_,rK=rq,rY=Y,rZ=nn,rX=function(n,i,o){for(var a=rK(i),s=rZ.f,l=rY.f,u=0;uE;E++)if((c||E in y)&&(g=v(m=y[E],E,b),n)){if(i)x[E]=g;else if(g)switch(n){case 3:return!0;case 5:return m;case 6:return E;case 2:iY(x,m)}else switch(n){case 4:return!1;case 7:iY(x,m)}}return l?-1:a||s?s:x}},iX={forEach:iZ(0),map:iZ(1),filter:iZ(2),some:iZ(3),every:iZ(4),find:iZ(5),findIndex:iZ(6),filterReject:iZ(7)},iJ={},iQ=rP,i0=rF,i1=X,i2=ni,i3=nn,i5=nl,i4=eD,i6=Object.keys||function(n){return iQ(n,i0)};iJ.f=i1&&!i2?Object.defineProperties:function(n,i){i5(n);for(var o,a=i4(i),s=i6(i),l=s.length,u=0;l>u;)i3.f(n,o=s[u++],a[o]);return n};var i8=eV("document","documentElement"),i9=nl,i7=iJ,oe=rF,ot=n$,on=i8,or=tQ,oi=">",oo="<",oa="prototype",ol="script",ou=nj("IE_PROTO"),oc=function(){},od=function(n){return oo+ol+oi+n+oo+"/"+ol+oi},op=function(n){n.write(od("")),n.close();var i=n.parentWindow.Object;return n=null,i},of=function(){var n,i=or("iframe"),o="java"+ol+":";return i.style.display="none",on.appendChild(i),i.src=String(o),(n=i.contentWindow.document).open(),n.write(od("document.F=Object")),n.close(),n.F},oh=function(){try{g=new ActiveXObject("htmlfile")}catch(n){}oh="undefined"!=typeof document?document.domain&&g?op(g):of():op(g);for(var i=oe.length;i--;)delete oh[oa][oe[i]];return oh()};ot[ou]=!0;var om=tU,og=Object.create||function(n,i){var o;return null!==n?(oc[oa]=i9(n),o=new oc,oc[oa]=null,o[ou]=n):o=oh(),void 0===i?o:i7.f(o,i)},ob=nn.f,oy=om("unscopables"),ov=Array.prototype;void 0==ov[oy]&&ob(ov,oy,{configurable:!0,value:og(null)});var ow=function(n){ov[oy][n]=!0},oE=io,oS=iX.find,ox=ow,o_="find",ok=!0;o_ in[]&&[,][o_](function(){ok=!1}),oE({target:"Array",proto:!0,forced:ok},{find:function(n){return oS(this,n,arguments.length>1?arguments[1]:void 0)}}),ox(o_);var oA={GLOBAL:{HIDE:"__react_tooltip_hide_event",REBUILD:"__react_tooltip_rebuild_event",SHOW:"__react_tooltip_show_event"}},oT=function(n,i){var o;"function"==typeof window.CustomEvent?o=new window.CustomEvent(n,{detail:i}):(o=document.createEvent("Event")).initEvent(n,!1,!0,i),window.dispatchEvent(o)},oC=function(n,i){var o=this.state.show,a=this.props.id,s=this.isCapture(i.currentTarget),l=i.currentTarget.getAttribute("currentItem");s||i.stopPropagation(),o&&"true"===l?n||this.hideTooltip(i):(i.currentTarget.setAttribute("currentItem","true"),oR(i.currentTarget,this.getTargetArray(a)),this.showTooltip(i))},oR=function(n,i){for(var o=0;oR(n)},M=function(n){return D(n)>_},L=function(n){return 0>O(n)},P=function(n){return I(n)>k},F=function(n){return N(n)||M(n)||L(n)||P(n)},B=function(n){return!F(n)},U={top:B("top"),bottom:B("bottom"),left:B("left"),right:B("right")},z=function(){var n,i=G(s.split(",").concat(a,["top","bottom","left","right"]));try{for(i.s();!(n=i.n()).done;){var o=n.value;if(U[o])return o}}catch(l){i.e(l)}finally{i.f()}return a}(),j=!1;return(z&&z!==a&&(j=!0,c=z),j)?{isNewState:!0,newState:{place:c}}:{isNewState:!1,position:{left:parseInt(R(a)-C,10),top:parseInt(O(a)-T,10)}}}var oF=function(n){var i=n.getBoundingClientRect(),o=i.height,a=i.width;return{height:parseInt(o,10),width:parseInt(a,10)}},oB=function(n,i,o){var a=i.getBoundingClientRect(),s=a.top,l=a.left,u=oF(i),c=u.width,d=u.height;return"float"===o?{mouseX:n.clientX,mouseY:n.clientY}:{mouseX:l+c/2,mouseY:s+d/2}},oU=function(n,i,o,a,s){var l,u,c,d,p=3,f=2,h=12;return"float"===n?(l={l:-(a/2),r:a/2,t:-(s+p+f),b:-p},c={l:-(a/2),r:a/2,t:p+h,b:s+p+f+h},d={l:-(a+p+f),r:-p,t:-(s/2),b:s/2},u={l:p,r:a+p+f,t:-(s/2),b:s/2}):"solid"===n&&(l={l:-(a/2),r:a/2,t:-(o/2+s+f),b:-(o/2)},c={l:-(a/2),r:a/2,t:o/2,b:o/2+s+f},d={l:-(a+i/2+f),r:-(i/2),t:-(s/2),b:s/2},u={l:i/2,r:a+i/2+f,t:-(s/2),b:s/2}),{top:l,bottom:c,left:d,right:u}},oz=function(n){var i=0,o=0;for(var a in"[object String]"===Object.prototype.toString.apply(n)&&(n=JSON.parse(n.toString().replace(/'/g,'"'))),n)"top"===a?o-=parseInt(n[a],10):"bottom"===a?o+=parseInt(n[a],10):"left"===a?i-=parseInt(n[a],10):"right"===a&&(i+=parseInt(n[a],10));return{extraOffsetX:i,extraOffsetY:o}},oj=function(n){for(var i=n;i;){var o=window.getComputedStyle(i);if("none"!==o.getPropertyValue("transform")||"transform"===o.getPropertyValue("will-change"))break;i=i.parentElement}return{parentTop:i&&i.getBoundingClientRect().top||0,parentLeft:i&&i.getBoundingClientRect().left||0}};function o$(n,i,o,a){if(i)return i;if(null!=o)return o;if(null===o)return null;var s=//;return a&&"false"!==a&&s.test(n)?n.split(s).map(function(n,i){return v.createElement("span",{key:i,className:"multi-line"},n)}):n}function oH(n){var i={};return Object.keys(n).filter(function(n){return/(^aria-\w+$|^role$)/.test(n)}).forEach(function(o){i[o]=n[o]}),i}function oV(n){var i=n.length;return n.hasOwnProperty?Array.prototype.slice.call(n):Array(i).fill().map(function(i){return n[i]})}function oG(){return"t"+C()}var oq='.__react_component_tooltip {\n border-radius: 3px;\n display: inline-block;\n font-size: 13px;\n left: -999em;\n opacity: 0;\n position: fixed;\n pointer-events: none;\n transition: opacity 0.3s ease-out;\n top: -999em;\n visibility: hidden;\n z-index: 999;\n}\n.__react_component_tooltip.allow_hover, .__react_component_tooltip.allow_click {\n pointer-events: auto;\n}\n.__react_component_tooltip::before, .__react_component_tooltip::after {\n content: "";\n width: 0;\n height: 0;\n position: absolute;\n}\n.__react_component_tooltip.show {\n opacity: 0.9;\n margin-top: 0;\n margin-left: 0;\n visibility: visible;\n}\n.__react_component_tooltip.place-top::before {\n bottom: 0;\n left: 50%;\n margin-left: -11px;\n}\n.__react_component_tooltip.place-bottom::before {\n top: 0;\n left: 50%;\n margin-left: -11px;\n}\n.__react_component_tooltip.place-left::before {\n right: 0;\n top: 50%;\n margin-top: -9px;\n}\n.__react_component_tooltip.place-right::before {\n left: 0;\n top: 50%;\n margin-top: -9px;\n}\n.__react_component_tooltip .multi-line {\n display: block;\n padding: 2px 0;\n text-align: center;\n}',oW={dark:{text:"#fff",background:"#222",border:"transparent",arrow:"#222"},success:{text:"#fff",background:"#8DC572",border:"transparent",arrow:"#8DC572"},warning:{text:"#fff",background:"#F0AD4E",border:"transparent",arrow:"#F0AD4E"},error:{text:"#fff",background:"#BE6464",border:"transparent",arrow:"#BE6464"},info:{text:"#fff",background:"#337AB7",border:"transparent",arrow:"#337AB7"},light:{text:"#222",background:"#fff",border:"transparent",arrow:"#fff"}};function oK(n){return oW[n]?D({},oW[n]):void 0}var oY="8px 21px",oZ={tooltip:3,arrow:0};function oX(n,i,o,a,s,l){return oJ(n,oQ(i,o,a),s,l)}function oJ(n,i){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:oY,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:oZ,s=i.text,l=i.background,u=i.border,c=i.arrow,d=a.arrow,p=a.tooltip;return"\n .".concat(n," {\n color: ").concat(s,";\n background: ").concat(l,";\n border: 1px solid ").concat(u,";\n border-radius: ").concat(p,"px;\n padding: ").concat(o,";\n }\n\n .").concat(n,".place-top {\n margin-top: -10px;\n }\n .").concat(n,'.place-top::before {\n content: "";\n background-color: inherit;\n position: absolute;\n z-index: 2;\n width: 20px;\n height: 12px;\n }\n .').concat(n,'.place-top::after {\n content: "";\n position: absolute;\n width: 10px;\n height: 10px;\n border-top-right-radius: ').concat(d,"px;\n border: 1px solid ").concat(u,";\n background-color: ").concat(c,";\n z-index: -2;\n bottom: -6px;\n left: 50%;\n margin-left: -6px;\n transform: rotate(135deg);\n }\n\n .").concat(n,".place-bottom {\n margin-top: 10px;\n }\n .").concat(n,'.place-bottom::before {\n content: "";\n background-color: inherit;\n position: absolute;\n z-index: -1;\n width: 18px;\n height: 10px;\n }\n .').concat(n,'.place-bottom::after {\n content: "";\n position: absolute;\n width: 10px;\n height: 10px;\n border-top-right-radius: ').concat(d,"px;\n border: 1px solid ").concat(u,";\n background-color: ").concat(c,";\n z-index: -2;\n top: -6px;\n left: 50%;\n margin-left: -6px;\n transform: rotate(45deg);\n }\n\n .").concat(n,".place-left {\n margin-left: -10px;\n }\n .").concat(n,'.place-left::before {\n content: "";\n background-color: inherit;\n position: absolute;\n z-index: -1;\n width: 10px;\n height: 18px;\n }\n .').concat(n,'.place-left::after {\n content: "";\n position: absolute;\n width: 10px;\n height: 10px;\n border-top-right-radius: ').concat(d,"px;\n border: 1px solid ").concat(u,";\n background-color: ").concat(c,";\n z-index: -2;\n right: -6px;\n top: 50%;\n margin-top: -6px;\n transform: rotate(45deg);\n }\n\n .").concat(n,".place-right {\n margin-left: 10px;\n }\n .").concat(n,'.place-right::before {\n content: "";\n background-color: inherit;\n position: absolute;\n z-index: -1;\n width: 10px;\n height: 18px;\n }\n .').concat(n,'.place-right::after {\n content: "";\n position: absolute;\n width: 10px;\n height: 10px;\n border-top-right-radius: ').concat(d,"px;\n border: 1px solid ").concat(u,";\n background-color: ").concat(c,";\n z-index: -2;\n left: -6px;\n top: 50%;\n margin-top: -6px;\n transform: rotate(-135deg);\n }\n ")}function oQ(n,i,o){var a=n.text,s=n.background,l=n.border,u=n.arrow?n.arrow:n.background,c=oK(i);return a&&(c.text=a),s&&(c.background=s),o&&(l?c.border=l:c.border="light"===i?"black":"white"),u&&(c.arrow=u),c}var o0=((((((((M(y=function(n){P(o,n);var i=$(o);function o(n){var a;return O(this,o),(a=i.call(this,n)).state={uuid:n.uuid||oG(),place:n.place||"top",desiredPlace:n.place||"top",type:n.type||"dark",effect:n.effect||"float",show:!1,border:!1,borderClass:"border",customColors:{},customRadius:{},offset:{},padding:n.padding,extraClass:"",html:!1,delayHide:0,delayShow:0,event:n.event||null,eventOff:n.eventOff||null,currentEvent:null,currentTarget:null,ariaProps:oH(n),isEmptyTip:!1,disable:!1,possibleCustomEvents:n.possibleCustomEvents||"",possibleCustomEventsOff:n.possibleCustomEventsOff||"",originTooltip:null,isMultiline:!1},a.bind(["showTooltip","updateTooltip","hideTooltip","hideTooltipOnScroll","getTooltipContent","globalRebuild","globalShow","globalHide","onWindowResize","mouseOnToolTip"]),a.mount=!0,a.delayShowLoop=null,a.delayHideLoop=null,a.delayReshow=null,a.intervalUpdateContent=null,a}return N(o,[{key:"bind",value:function(n){var i=this;n.forEach(function(n){i[n]=i[n].bind(i)})}},{key:"componentDidMount",value:function(){var n=this.props;n.insecure;var i=n.resizeHide,o=n.disableInternalStyle;this.mount=!0,this.bindListener(),this.bindWindowEvents(i),o||this.injectStyles()}},{key:"componentWillUnmount",value:function(){this.mount=!1,this.clearTimer(),this.unbindListener(),this.removeScrollListener(this.state.currentTarget),this.unbindWindowEvents()}},{key:"injectStyles",value:function(){var n,i=this.tooltipRef;if(i){for(var o=i.parentNode;o.parentNode;)o=o.parentNode;switch(o.constructor.name){case"Document":case"HTMLDocument":case void 0:n=o.head;break;default:n=o}if(!n.querySelector("style[data-react-tooltip]")){var a=document.createElement("style");a.textContent=oq,a.setAttribute("data-react-tooltip","true"),n.appendChild(a)}}}},{key:"mouseOnToolTip",value:function(){return!!this.state.show&&!!this.tooltipRef&&(this.tooltipRef.matches||(this.tooltipRef.msMatchesSelector?this.tooltipRef.matches=this.tooltipRef.msMatchesSelector:this.tooltipRef.matches=this.tooltipRef.mozMatchesSelector),this.tooltipRef.matches(":hover"))}},{key:"getTargetArray",value:function(n){var i,o=[];if(n){var a=n.replace(/\\/g,"\\\\").replace(/"/g,'\\"');i='[data-tip][data-for="'.concat(a,'"]')}else i="[data-tip]:not([data-for])";return oV(document.getElementsByTagName("*")).filter(function(n){return n.shadowRoot}).forEach(function(n){o=o.concat(oV(n.shadowRoot.querySelectorAll(i)))}),o.concat(oV(document.querySelectorAll(i)))}},{key:"bindListener",value:function(){var n=this,i=this.props,o=i.id,a=i.globalEventOff,s=i.isCapture,l=this.getTargetArray(o);l.forEach(function(i){null===i.getAttribute("currentItem")&&i.setAttribute("currentItem","false"),n.unbindBasicListener(i),n.isCustomEvent(i)&&n.customUnbindListener(i)}),this.isBodyMode()?this.bindBodyListener(l):l.forEach(function(i){var o=n.isCapture(i),a=n.getEffect(i);if(n.isCustomEvent(i)){n.customBindListener(i);return}i.addEventListener("mouseenter",n.showTooltip,o),i.addEventListener("focus",n.showTooltip,o),"float"===a&&i.addEventListener("mousemove",n.updateTooltip,o),i.addEventListener("mouseleave",n.hideTooltip,o),i.addEventListener("blur",n.hideTooltip,o)}),a&&(window.removeEventListener(a,this.hideTooltip),window.addEventListener(a,this.hideTooltip,s)),this.bindRemovalTracker()}},{key:"unbindListener",value:function(){var n=this,i=this.props,o=i.id,a=i.globalEventOff;this.isBodyMode()?this.unbindBodyListener():this.getTargetArray(o).forEach(function(i){n.unbindBasicListener(i),n.isCustomEvent(i)&&n.customUnbindListener(i)}),a&&window.removeEventListener(a,this.hideTooltip),this.unbindRemovalTracker()}},{key:"unbindBasicListener",value:function(n){var i=this.isCapture(n);n.removeEventListener("mouseenter",this.showTooltip,i),n.removeEventListener("mousemove",this.updateTooltip,i),n.removeEventListener("mouseleave",this.hideTooltip,i)}},{key:"getTooltipContent",value:function(){var n,i=this.props,o=i.getContent,a=i.children;return o&&(n=Array.isArray(o)?o[0]&&o[0](this.state.originTooltip):o(this.state.originTooltip)),o$(this.state.originTooltip,a,n,this.state.isMultiline)}},{key:"isEmptyTip",value:function(n){return"string"==typeof n&&""===n||null===n}},{key:"showTooltip",value:function(n,i){if(this.tooltipRef&&(!i||this.getTargetArray(this.props.id).some(function(i){return i===n.currentTarget}))){var o=this.props,a=o.multiline,s=o.getContent,l=n.currentTarget.getAttribute("data-tip"),u=n.currentTarget.getAttribute("data-multiline")||a||!1,c=n instanceof window.FocusEvent||i,d=!0;n.currentTarget.getAttribute("data-scroll-hide")?d="true"===n.currentTarget.getAttribute("data-scroll-hide"):null!=this.props.scrollHide&&(d=this.props.scrollHide),n&&n.currentTarget&&n.currentTarget.setAttribute&&n.currentTarget.setAttribute("aria-describedby",this.props.id||this.state.uuid);var p=n.currentTarget.getAttribute("data-place")||this.props.place||"top",f=c&&"solid"||this.getEffect(n.currentTarget),h=n.currentTarget.getAttribute("data-offset")||this.props.offset||{},m=oP(n,n.currentTarget,this.tooltipRef,p.split(",")[0],p,f,h);m.position&&this.props.overridePosition&&(m.position=this.props.overridePosition(m.position,n,n.currentTarget,this.tooltipRef,p,p,f,h));var g=m.isNewState?m.newState.place:p.split(",")[0];this.clearTimer();var b=n.currentTarget,y=this.state.show?b.getAttribute("data-delay-update")||this.props.delayUpdate:0,v=this,w=function(){v.setState({originTooltip:l,isMultiline:u,desiredPlace:p,place:g,type:b.getAttribute("data-type")||v.props.type||"dark",customColors:{text:b.getAttribute("data-text-color")||v.props.textColor||null,background:b.getAttribute("data-background-color")||v.props.backgroundColor||null,border:b.getAttribute("data-border-color")||v.props.borderColor||null,arrow:b.getAttribute("data-arrow-color")||v.props.arrowColor||null},customRadius:{tooltip:b.getAttribute("data-tooltip-radius")||v.props.tooltipRadius||"3",arrow:b.getAttribute("data-arrow-radius")||v.props.arrowRadius||"0"},effect:f,offset:h,padding:b.getAttribute("data-padding")||v.props.padding,html:(b.getAttribute("data-html")?"true"===b.getAttribute("data-html"):v.props.html)||!1,delayShow:b.getAttribute("data-delay-show")||v.props.delayShow||0,delayHide:b.getAttribute("data-delay-hide")||v.props.delayHide||0,delayUpdate:b.getAttribute("data-delay-update")||v.props.delayUpdate||0,border:(b.getAttribute("data-border")?"true"===b.getAttribute("data-border"):v.props.border)||!1,borderClass:b.getAttribute("data-border-class")||v.props.borderClass||"border",extraClass:b.getAttribute("data-class")||v.props.class||v.props.className||"",disable:(b.getAttribute("data-tip-disable")?"true"===b.getAttribute("data-tip-disable"):v.props.disable)||!1,currentTarget:b},function(){d&&v.addScrollListener(v.state.currentTarget),v.updateTooltip(n),s&&Array.isArray(s)&&(v.intervalUpdateContent=setInterval(function(){if(v.mount){var n=v.props.getContent,i=o$(l,"",n[0](),u),o=v.isEmptyTip(i);v.setState({isEmptyTip:o}),v.updatePosition()}},s[1]))})};y?this.delayReshow=setTimeout(w,y):w()}}},{key:"updateTooltip",value:function(n){var i=this,o=this.state,a=o.delayShow,s=o.disable,l=this.props,u=l.afterShow,c=l.disable,d=this.getTooltipContent(),p=n.currentTarget||n.target;if(!(this.mouseOnToolTip()||this.isEmptyTip(d)||s||c)){var f=this.state.show?0:parseInt(a,10),h=function(){if(Array.isArray(d)&&d.length>0||d){var o=!i.state.show;i.setState({currentEvent:n,currentTarget:p,show:!0},function(){i.updatePosition(function(){o&&u&&u(n)})})}};this.delayShowLoop&&clearTimeout(this.delayShowLoop),f?this.delayShowLoop=setTimeout(h,f):(this.delayShowLoop=null,h())}}},{key:"listenForTooltipExit",value:function(){this.state.show&&this.tooltipRef&&this.tooltipRef.addEventListener("mouseleave",this.hideTooltip)}},{key:"removeListenerForTooltipExit",value:function(){this.state.show&&this.tooltipRef&&this.tooltipRef.removeEventListener("mouseleave",this.hideTooltip)}},{key:"hideTooltip",value:function(n,i){var o=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{isScroll:!1},s=this.state.disable,l=a.isScroll?0:this.state.delayHide,u=this.props,c=u.afterHide,d=u.disable,p=this.getTooltipContent();if(this.mount&&!this.isEmptyTip(p)&&!s&&!d){if(i&&(!this.getTargetArray(this.props.id).some(function(i){return i===n.currentTarget})||!this.state.show))return;n&&n.currentTarget&&n.currentTarget.removeAttribute&&n.currentTarget.removeAttribute("aria-describedby");var f=function(){var i=o.state.show;if(o.mouseOnToolTip()){o.listenForTooltipExit();return}o.removeListenerForTooltipExit(),o.setState({show:!1},function(){o.removeScrollListener(o.state.currentTarget),i&&c&&c(n)})};this.clearTimer(),l?this.delayHideLoop=setTimeout(f,parseInt(l,10)):f()}}},{key:"hideTooltipOnScroll",value:function(n,i){this.hideTooltip(n,i,{isScroll:!0})}},{key:"addScrollListener",value:function(n){var i=this.isCapture(n);window.addEventListener("scroll",this.hideTooltipOnScroll,i)}},{key:"removeScrollListener",value:function(n){var i=this.isCapture(n);window.removeEventListener("scroll",this.hideTooltipOnScroll,i)}},{key:"updatePosition",value:function(n){var i=this,o=this.state,a=o.currentEvent,s=o.currentTarget,l=o.place,u=o.desiredPlace,c=o.effect,d=o.offset,p=this.tooltipRef,f=oP(a,s,p,l,u,c,d);if(f.position&&this.props.overridePosition&&(f.position=this.props.overridePosition(f.position,a,s,p,l,u,c,d)),f.isNewState)return this.setState(f.newState,function(){i.updatePosition(n)});n&&"function"==typeof n&&n(),p.style.left=f.position.left+"px",p.style.top=f.position.top+"px"}},{key:"clearTimer",value:function(){this.delayShowLoop&&(clearTimeout(this.delayShowLoop),this.delayShowLoop=null),this.delayHideLoop&&(clearTimeout(this.delayHideLoop),this.delayHideLoop=null),this.delayReshow&&(clearTimeout(this.delayReshow),this.delayReshow=null),this.intervalUpdateContent&&(clearInterval(this.intervalUpdateContent),this.intervalUpdateContent=null)}},{key:"hasCustomColors",value:function(){var n=this;return Boolean(Object.keys(this.state.customColors).find(function(i){return"border"!==i&&n.state.customColors[i]})||this.state.border&&this.state.customColors.border)}},{key:"render",value:function(){var n=this,i=this.state,a=i.extraClass,s=i.html,l=i.ariaProps,u=i.disable,c=i.uuid,d=this.getTooltipContent(),p=this.isEmptyTip(d),f=this.props.disableInternalStyle?"":oX(this.state.uuid,this.state.customColors,this.state.type,this.state.border,this.state.padding,this.state.customRadius),h="__react_component_tooltip"+" ".concat(this.state.uuid)+(!this.state.show||u||p?"":" show")+(this.state.border?" "+this.state.borderClass:"")+" place-".concat(this.state.place)+" type-".concat(this.hasCustomColors()?"custom":this.state.type)+(this.props.delayUpdate?" allow_hover":"")+(this.props.clickable?" allow_click":""),m=this.props.wrapper;0>o.supportedWrappers.indexOf(m)&&(m=o.defaultProps.wrapper);var g=[h,a].filter(Boolean).join(" ");if(!s)return v.createElement(m,L({className:"".concat(g),id:this.props.id||c},l,{ref:function(i){return n.tooltipRef=i},"data-id":"tooltip"}),f&&v.createElement("style",{dangerouslySetInnerHTML:{__html:f},"aria-hidden":"true"}),d);var b="".concat(d).concat(f?'\n"):"");return v.createElement(m,L({className:"".concat(g),id:this.props.id||c,ref:function(i){return n.tooltipRef=i}},l,{"data-id":"tooltip",dangerouslySetInnerHTML:{__html:b}}))}}],[{key:"propTypes",get:function(){return{uuid:E().string,children:E().any,place:E().string,type:E().string,effect:E().string,offset:E().object,padding:E().string,multiline:E().bool,border:E().bool,borderClass:E().string,textColor:E().string,backgroundColor:E().string,borderColor:E().string,arrowColor:E().string,arrowRadius:E().string,tooltipRadius:E().string,insecure:E().bool,class:E().string,className:E().string,id:E().string,html:E().bool,delayHide:E().number,delayUpdate:E().number,delayShow:E().number,event:E().string,eventOff:E().string,isCapture:E().bool,globalEventOff:E().string,getContent:E().any,afterShow:E().func,afterHide:E().func,overridePosition:E().func,disable:E().bool,scrollHide:E().bool,resizeHide:E().bool,wrapper:E().string,bodyMode:E().bool,possibleCustomEvents:E().string,possibleCustomEventsOff:E().string,clickable:E().bool,disableInternalStyle:E().bool}}},{key:"getDerivedStateFromProps",value:function(n,i){var o=i.ariaProps,a=oH(n);return Object.keys(a).some(function(n){return a[n]!==o[n]})?D(D({},i),{},{ariaProps:a}):null}}]),o}(v.Component),"defaultProps",{insecure:!0,resizeHide:!0,wrapper:"div",clickable:!1}),M(y,"supportedWrappers",["div","span"]),M(y,"displayName","ReactTooltip"),a=b=y).prototype.bindRemovalTracker=function(){var n=this,i=oL();if(null!=i){var o=new i(function(i){for(var o=0;o]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}n.exports=i,i.displayName="abap",i.aliases=[]},68313:function(n){"use strict";function i(n){var i;i="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)",n.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+i+"|<"+i+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}}n.exports=i,i.displayName="abnf",i.aliases=[]},5199:function(n){"use strict";function i(n){n.languages.actionscript=n.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),n.languages.actionscript["class-name"].alias="function",delete n.languages.actionscript.parameter,delete n.languages.actionscript["literal-property"],n.languages.markup&&n.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:n.languages.markup}})}n.exports=i,i.displayName="actionscript",i.aliases=[]},89693:function(n){"use strict";function i(n){n.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}n.exports=i,i.displayName="ada",i.aliases=[]},24001:function(n){"use strict";function i(n){n.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}}n.exports=i,i.displayName="agda",i.aliases=[]},18018:function(n){"use strict";function i(n){n.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}n.exports=i,i.displayName="al",i.aliases=[]},36363:function(n){"use strict";function i(n){n.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},n.languages.g4=n.languages.antlr4}n.exports=i,i.displayName="antlr4",i.aliases=["g4"]},35281:function(n){"use strict";function i(n){n.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}n.exports=i,i.displayName="apacheconf",i.aliases=[]},10433:function(n,i,o){"use strict";var a=o(11114);function s(n){n.register(a),function(n){var i=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,o=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return i.source});function a(n){return RegExp(n.replace(//g,function(){return o}),"i")}var s={keyword:i,punctuation:/[()\[\]{};,:.<>]/};n.languages.apex={comment:n.languages.clike.comment,string:n.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:n.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:a(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:s},{pattern:a(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:s},{pattern:a(/(?=\s*\w+\s*[;=,(){:])/.source),inside:s}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(n)}n.exports=s,s.displayName="apex",s.aliases=[]},84039:function(n){"use strict";function i(n){n.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}n.exports=i,i.displayName="apl",i.aliases=[]},71336:function(n){"use strict";function i(n){n.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}n.exports=i,i.displayName="applescript",i.aliases=[]},4481:function(n){"use strict";function i(n){n.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}n.exports=i,i.displayName="aql",i.aliases=[]},2159:function(n,i,o){"use strict";var a=o(80096);function s(n){n.register(a),n.languages.arduino=n.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),n.languages.ino=n.languages.arduino}n.exports=s,s.displayName="arduino",s.aliases=["ino"]},60274:function(n){"use strict";function i(n){n.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}n.exports=i,i.displayName="arff",i.aliases=[]},18738:function(n){"use strict";function i(n){!function(n){var i={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},o=n.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:i,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:i.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:i,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function a(n){n=n.split(" ");for(var i={},a=0,s=n.length;a>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}n.exports=i,i.displayName="asmatmel",i.aliases=[]},78734:function(n,i,o){"use strict";var a=o(61958);function s(n){n.register(a),n.languages.aspnet=n.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:n.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:n.languages.csharp}}}),n.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.insertBefore("inside","punctuation",{directive:n.languages.aspnet.directive},n.languages.aspnet.tag.inside["attr-value"]),n.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),n.languages.insertBefore("aspnet",n.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:n.languages.csharp||{}}})}n.exports=s,s.displayName="aspnet",s.aliases=[]},6681:function(n){"use strict";function i(n){n.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}n.exports=i,i.displayName="autohotkey",i.aliases=[]},53358:function(n){"use strict";function i(n){n.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}n.exports=i,i.displayName="autoit",i.aliases=[]},81700:function(n){"use strict";function i(n){!function(n){function i(n,i){return n.replace(/<<(\d+)>>/g,function(n,o){return i[+o]})}function o(n,o,a){return RegExp(i(n,o),a||"")}var a=/bool|clip|float|int|string|val/.source,s=[[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|")].join("|");n.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:o(/\b(?:<<0>>)\s+("?)\w+\1/.source,[a],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:o(/\b(?:<<0>>)\b/.source,[s],"i"),alias:"function"},"type-cast":{pattern:o(/\b(?:<<0>>)(?=\s*\()/.source,[a],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},n.languages.avs=n.languages.avisynth}(n)}n.exports=i,i.displayName="avisynth",i.aliases=["avs"]},37219:function(n){"use strict";function i(n){n.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},n.languages.avdl=n.languages["avro-idl"]}n.exports=i,i.displayName="avroIdl",i.aliases=[]},6979:function(n){"use strict";function i(n){!function(n){var i="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",o={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},a={bash:o,environment:{pattern:RegExp("\\$"+i),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+i),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};n.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+i),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:a},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:o}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:a},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:a.entity}}],environment:{pattern:RegExp("\\$?"+i),alias:"constant"},variable:a.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},o.inside=n.languages.bash;for(var s=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],l=a.variable[1].inside,u=0;u?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}n.exports=i,i.displayName="basic",i.aliases=[]},94781:function(n){"use strict";function i(n){var i,o,a,s;i=/%%?[~:\w]+%?|!\S+!/,o={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},a=/"(?:[\\"]"|[^"])*"(?!")/,s=/(?:\b|-)\d+\b/,n.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:a,parameter:o,variable:i,number:s,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:a,parameter:o,variable:i,number:s,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:a,parameter:o,variable:[i,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:s,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:a,parameter:o,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:i,number:s,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}n.exports=i,i.displayName="batch",i.aliases=[]},62260:function(n){"use strict";function i(n){n.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},n.languages.shortcode=n.languages.bbcode}n.exports=i,i.displayName="bbcode",i.aliases=["shortcode"]},36153:function(n){"use strict";function i(n){n.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},n.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=n.languages.bicep}n.exports=i,i.displayName="bicep",i.aliases=[]},59258:function(n){"use strict";function i(n){n.languages.birb=n.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),n.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}n.exports=i,i.displayName="birb",i.aliases=[]},62890:function(n,i,o){"use strict";var a=o(65806);function s(n){n.register(a),n.languages.bison=n.languages.extend("c",{}),n.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:n.languages.c}},comment:n.languages.c.comment,string:n.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}n.exports=s,s.displayName="bison",s.aliases=[]},15958:function(n){"use strict";function i(n){n.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},n.languages.rbnf=n.languages.bnf}n.exports=i,i.displayName="bnf",i.aliases=["rbnf"]},61321:function(n){"use strict";function i(n){n.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}n.exports=i,i.displayName="brainfuck",i.aliases=[]},77856:function(n){"use strict";function i(n){n.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},n.languages.brightscript["directive-statement"].inside.expression.inside=n.languages.brightscript}n.exports=i,i.displayName="brightscript",i.aliases=[]},90741:function(n){"use strict";function i(n){n.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}n.exports=i,i.displayName="bro",i.aliases=[]},83410:function(n){"use strict";function i(n){n.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},n.languages.oscript=n.languages.bsl}n.exports=i,i.displayName="bsl",i.aliases=[]},65806:function(n){"use strict";function i(n){n.languages.c=n.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),n.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),n.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},n.languages.c.string],char:n.languages.c.char,comment:n.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:n.languages.c}}}}),n.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete n.languages.c.boolean}n.exports=i,i.displayName="c",i.aliases=[]},33039:function(n){"use strict";function i(n){n.languages.cfscript=n.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),n.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete n.languages.cfscript["class-name"],n.languages.cfc=n.languages.cfscript}n.exports=i,i.displayName="cfscript",i.aliases=[]},85082:function(n,i,o){"use strict";var a=o(80096);function s(n){n.register(a),n.languages.chaiscript=n.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[n.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),n.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),n.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}n.exports=s,s.displayName="chaiscript",s.aliases=[]},79415:function(n){"use strict";function i(n){n.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}n.exports=i,i.displayName="cil",i.aliases=[]},29726:function(n){"use strict";function i(n){n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}n.exports=i,i.displayName="clike",i.aliases=[]},62849:function(n){"use strict";function i(n){n.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}n.exports=i,i.displayName="clojure",i.aliases=[]},55773:function(n){"use strict";function i(n){n.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}n.exports=i,i.displayName="cmake",i.aliases=[]},32762:function(n){"use strict";function i(n){n.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}n.exports=i,i.displayName="cobol",i.aliases=[]},43576:function(n){"use strict";function i(n){var i,o,a;o=/#(?!\{).+/,a={pattern:/#\{[^}]+\}/,alias:"variable"},(i=n).languages.coffeescript=i.languages.extend("javascript",{comment:o,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:a}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),i.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:o,interpolation:a}}}),i.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:i.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:a}}]}),i.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete i.languages.coffeescript["template-string"],i.languages.coffee=i.languages.coffeescript}n.exports=i,i.displayName="coffeescript",i.aliases=["coffee"]},71794:function(n){"use strict";function i(n){n.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},n.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:n.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:n.languages.concurnas},string:/[\s\S]+/}}}),n.languages.conc=n.languages.concurnas}n.exports=i,i.displayName="concurnas",i.aliases=["conc"]},1315:function(n){"use strict";function i(n){!function(n){for(var i=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,o=0;o<2;o++)i=i.replace(//g,function(){return i});i=i.replace(//g,"[]"),n.languages.coq={comment:RegExp(i),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return i})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(i),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}}(n)}n.exports=i,i.displayName="coq",i.aliases=[]},80096:function(n,i,o){"use strict";var a=o(65806);function s(n){var i,o,s;n.register(a),i=n,o=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,s=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return o.source}),i.languages.cpp=i.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return o.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:o,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),i.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return s})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),i.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:i.languages.cpp}}}}),i.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),i.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:i.languages.extend("cpp",{})}}),i.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},i.languages.cpp["base-clause"])}n.exports=s,s.displayName="cpp",s.aliases=[]},99176:function(n,i,o){"use strict";var a=o(56939);function s(n){var i;n.register(a),(i=n).languages.crystal=i.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,i.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),i.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:i.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:i.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}n.exports=s,s.displayName="crystal",s.aliases=[]},61958:function(n){"use strict";function i(n){!function(n){function i(n,i){return n.replace(/<<(\d+)>>/g,function(n,o){return"(?:"+i[+o]+")"})}function o(n,o,a){return RegExp(i(n,o),a||"")}function a(n,i){for(var o=0;o>/g,function(){return"(?:"+n+")"});return n.replace(/<>/g,"[^\\s\\S]")}var s={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function l(n){return"\\b(?:"+n.trim().replace(/ /g,"|")+")\\b"}var u=l(s.typeDeclaration),c=RegExp(l(s.type+" "+s.typeDeclaration+" "+s.contextual+" "+s.other)),d=l(s.typeDeclaration+" "+s.contextual+" "+s.other),p=l(s.type+" "+s.typeDeclaration+" "+s.other),f=a(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),h=a(/\((?:[^()]|<>)*\)/.source,2),m=/@?\b[A-Za-z_]\w*\b/.source,g=i(/<<0>>(?:\s*<<1>>)?/.source,[m,f]),b=i(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,g]),y=/\[\s*(?:,\s*)*\]/.source,v=i(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[b,y]),w=i(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[f,h,y]),E=i(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),S=i(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[E,b,y]),x={keyword:c,punctuation:/[<>()?,.:[\]]/},_=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,k=/"(?:\\.|[^\\"\r\n])*"/.source,A=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;n.languages.csharp=n.languages.extend("clike",{string:[{pattern:o(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:o(/(^|[^@$\\])<<0>>/.source,[k]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:o(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[b]),lookbehind:!0,inside:x},{pattern:o(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[m,S]),lookbehind:!0,inside:x},{pattern:o(/(\busing\s+)<<0>>(?=\s*=)/.source,[m]),lookbehind:!0},{pattern:o(/(\b<<0>>\s+)<<1>>/.source,[u,g]),lookbehind:!0,inside:x},{pattern:o(/(\bcatch\s*\(\s*)<<0>>/.source,[b]),lookbehind:!0,inside:x},{pattern:o(/(\bwhere\s+)<<0>>/.source,[m]),lookbehind:!0},{pattern:o(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[v]),lookbehind:!0,inside:x},{pattern:o(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[S,p,m]),inside:x}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),n.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),n.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:o(/([(,]\s*)<<0>>(?=\s*:)/.source,[m]),lookbehind:!0,alias:"punctuation"}}),n.languages.insertBefore("csharp","class-name",{namespace:{pattern:o(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[m]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:o(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[h]),lookbehind:!0,alias:"class-name",inside:x},"return-type":{pattern:o(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[S,b]),inside:x,alias:"class-name"},"constructor-invocation":{pattern:o(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[S]),lookbehind:!0,inside:x,alias:"class-name"},"generic-method":{pattern:o(/<<0>>\s*<<1>>(?=\s*\()/.source,[m,f]),inside:{function:o(/^<<0>>/.source,[m]),generic:{pattern:RegExp(f),alias:"class-name",inside:x}}},"type-list":{pattern:o(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[u,g,m,S,c.source,h,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:o(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[g,h]),lookbehind:!0,greedy:!0,inside:n.languages.csharp},keyword:c,"class-name":{pattern:RegExp(S),greedy:!0,inside:x},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var T=k+"|"+_,C=i(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[T]),R=a(i(/[^"'/()]|<<0>>|\(<>*\)/.source,[C]),2),D=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,O=i(/<<0>>(?:\s*\(<<1>>*\))?/.source,[b,R]);n.languages.insertBefore("csharp","class-name",{attribute:{pattern:o(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[D,O]),lookbehind:!0,greedy:!0,inside:{target:{pattern:o(/^<<0>>(?=\s*:)/.source,[D]),alias:"keyword"},"attribute-arguments":{pattern:o(/\(<<0>>*\)/.source,[R]),inside:n.languages.csharp},"class-name":{pattern:RegExp(b),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var I=/:[^}\r\n]+/.source,N=a(i(/[^"'/()]|<<0>>|\(<>*\)/.source,[C]),2),M=i(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[N,I]),L=a(i(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[T]),2),P=i(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[L,I]);function F(i,a){return{interpolation:{pattern:o(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[i]),lookbehind:!0,inside:{"format-string":{pattern:o(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[a,I]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:n.languages.csharp}}},string:/[\s\S]+/}}n.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:o(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[M]),lookbehind:!0,greedy:!0,inside:F(M,N)},{pattern:o(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[P]),lookbehind:!0,greedy:!0,inside:F(P,L)}],char:{pattern:RegExp(_),greedy:!0}}),n.languages.dotnet=n.languages.cs=n.languages.csharp}(n)}n.exports=i,i.displayName="csharp",i.aliases=["dotnet","cs"]},90312:function(n,i,o){"use strict";var a=o(61958);function s(n){n.register(a),function(n){var i=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,o=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function a(n,a){for(var s=0;s/g,function(){return"(?:"+n+")"});return n.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+o+")").replace(//g,"(?:"+i+")")}var s=a(/\((?:[^()'"@/]|||)*\)/.source,2),l=a(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),u=a(/\{(?:[^{}'"@/]|||)*\}/.source,2),c=a(/<(?:[^<>'"@/]|||)*>/.source,2),d=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,p=/(?!\d)[^\s>\/=$<%]+/.source+d+/\s*\/?>/.source,f=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+d+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source)+p+"|"+a(/<\1/.source+d+/\s*>/.source+"(?:"+(/[^<]/.source+"|")+/<\/?(?!\1\b)/.source+p+"|)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},n.languages.css.atrule.inside["selector-function-argument"].inside=i,n.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var a={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},s={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};n.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:a,number:s,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:a,number:s})}(n)}n.exports=i,i.displayName="cssExtras",i.aliases=[]},12049:function(n){"use strict";function i(n){var i,o,a;o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,(i=n).languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},i.languages.css.atrule.inside.rest=i.languages.css,(a=i.languages.markup)&&(a.tag.addInlined("style","css"),a.tag.addAttribute("style","css"))}n.exports=i,i.displayName="css",i.aliases=[]},78090:function(n){"use strict";function i(n){n.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}n.exports=i,i.displayName="csv",i.aliases=[]},40315:function(n){"use strict";function i(n){n.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}n.exports=i,i.displayName="cypher",i.aliases=[]},7902:function(n){"use strict";function i(n){n.languages.d=n.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),n.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),n.languages.insertBefore("d","keyword",{property:/\B@\w*/}),n.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}n.exports=i,i.displayName="d",i.aliases=[]},28651:function(n){"use strict";function i(n){var i,o,a,s;i=n,o=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],s={pattern:RegExp((a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}},i.languages.dart=i.languages.extend("clike",{"class-name":[s,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:s.inside}],keyword:o,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),i.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:i.languages.dart}}},string:/[\s\S]+/}},string:void 0}),i.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),i.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":s,keyword:o,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}n.exports=i,i.displayName="dart",i.aliases=[]},55579:function(n){"use strict";function i(n){n.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}}n.exports=i,i.displayName="dataweave",i.aliases=[]},93685:function(n){"use strict";function i(n){n.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}n.exports=i,i.displayName="dax",i.aliases=[]},13934:function(n){"use strict";function i(n){n.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},n.languages.dhall.string.inside.interpolation.inside.expression.inside=n.languages.dhall}n.exports=i,i.displayName="dhall",i.aliases=[]},93336:function(n){"use strict";function i(n){var i,o;(i=n).languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]},Object.keys(o={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"}).forEach(function(n){var a=o[n],s=[];/^\w+$/.test(n)||s.push(/\w+/.exec(n)[0]),"diff"===n&&s.push("bold"),i.languages.diff[n]={pattern:RegExp("^(?:["+a+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:s,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}}),Object.defineProperty(i.languages.diff,"PREFIXES",{value:o})}n.exports=i,i.displayName="diff",i.aliases=[]},13294:function(n,i,o){"use strict";var a=o(93205);function s(n){var i,o,s;n.register(a),(i=n).languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/},o=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,s=i.languages["markup-templating"],i.hooks.add("before-tokenize",function(n){s.buildPlaceholders(n,"django",o)}),i.hooks.add("after-tokenize",function(n){s.tokenizePlaceholders(n,"django")}),i.languages.jinja2=i.languages.django,i.hooks.add("before-tokenize",function(n){s.buildPlaceholders(n,"jinja2",o)}),i.hooks.add("after-tokenize",function(n){s.tokenizePlaceholders(n,"jinja2")})}n.exports=s,s.displayName="django",s.aliases=["jinja2"]},38223:function(n){"use strict";function i(n){n.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},n.languages["dns-zone"]=n.languages["dns-zone-file"]}n.exports=i,i.displayName="dnsZoneFile",i.aliases=[]},97266:function(n){"use strict";function i(n){!function(n){var i=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,o=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return i}),a=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,s=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return a}),l={pattern:RegExp(a),greedy:!0},u={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function c(n,i){return RegExp(n=n.replace(//g,function(){return s}).replace(//g,function(){return o}),i)}n.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:c(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[l,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:c(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:c(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:c(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:u,string:l,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:u},n.languages.dockerfile=n.languages.docker}(n)}n.exports=i,i.displayName="docker",i.aliases=["dockerfile"]},80636:function(n){"use strict";function i(n){!function(n){var i="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",o={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:n.languages.markup}};function a(n,o){return RegExp(n.replace(//g,function(){return i}),o)}n.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:a(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:o},"attr-value":{pattern:a(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:o},"attr-name":{pattern:a(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:o},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:a(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:o},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},n.languages.gv=n.languages.dot}(n)}n.exports=i,i.displayName="dot",i.aliases=["gv"]},36500:function(n){"use strict";function i(n){n.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}n.exports=i,i.displayName="ebnf",i.aliases=[]},30296:function(n){"use strict";function i(n){n.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}n.exports=i,i.displayName="editorconfig",i.aliases=[]},50115:function(n){"use strict";function i(n){n.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}n.exports=i,i.displayName="eiffel",i.aliases=[]},20791:function(n,i,o){"use strict";var a=o(93205);function s(n){var i;n.register(a),(i=n).languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:i.languages.javascript}},i.hooks.add("before-tokenize",function(n){var o=/<%(?!%)[\s\S]+?%>/g;i.languages["markup-templating"].buildPlaceholders(n,"ejs",o)}),i.hooks.add("after-tokenize",function(n){i.languages["markup-templating"].tokenizePlaceholders(n,"ejs")}),i.languages.eta=i.languages.ejs}n.exports=s,s.displayName="ejs",s.aliases=["eta"]},11974:function(n){"use strict";function i(n){n.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},n.languages.elixir.string.forEach(function(i){i.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:n.languages.elixir}}}})}n.exports=i,i.displayName="elixir",i.aliases=[]},8645:function(n){"use strict";function i(n){n.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}n.exports=i,i.displayName="elm",i.aliases=[]},84790:function(n,i,o){"use strict";var a=o(56939),s=o(93205);function l(n){var i;n.register(a),n.register(s),(i=n).languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:i.languages.ruby}},i.hooks.add("before-tokenize",function(n){var o=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;i.languages["markup-templating"].buildPlaceholders(n,"erb",o)}),i.hooks.add("after-tokenize",function(n){i.languages["markup-templating"].tokenizePlaceholders(n,"erb")})}n.exports=l,l.displayName="erb",l.aliases=[]},4502:function(n){"use strict";function i(n){n.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}n.exports=i,i.displayName="erlang",i.aliases=[]},66055:function(n,i,o){"use strict";var a=o(59803),s=o(93205);function l(n){var i;n.register(a),n.register(s),(i=n).languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:i.languages.lua}},i.hooks.add("before-tokenize",function(n){var o=/<%[\s\S]+?%>/g;i.languages["markup-templating"].buildPlaceholders(n,"etlua",o)}),i.hooks.add("after-tokenize",function(n){i.languages["markup-templating"].tokenizePlaceholders(n,"etlua")})}n.exports=l,l.displayName="etlua",l.aliases=[]},34668:function(n){"use strict";function i(n){n.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},n.languages.xlsx=n.languages.xls=n.languages["excel-formula"]}n.exports=i,i.displayName="excelFormula",i.aliases=[]},95126:function(n){"use strict";function i(n){var i,o,a,s,l,u,c,d;i=n,s={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:o={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/}},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:o},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:o}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:(a={number:/\\[^\s']|%\w/}).number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:a},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:a}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:a}},l=function(n){return(n+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},u=function(n){return RegExp("(^|\\s)(?:"+n.map(l).join("|")+")(?=\\s|$)")},Object.keys(c={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]}).forEach(function(n){s[n].pattern=u(c[n])}),d=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"],s.combinators.pattern=u(d),i.languages.factor=s}n.exports=i,i.displayName="factor",i.aliases=[]},90618:function(n){"use strict";function i(n){n.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete n.languages["firestore-security-rules"]["class-name"],n.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}n.exports=i,i.displayName="firestoreSecurityRules",i.aliases=[]},37225:function(n){"use strict";function i(n){var i;(i=n).languages.flow=i.languages.extend("javascript",{}),i.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),i.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete i.languages.flow.parameter,i.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(i.languages.flow.keyword)||(i.languages.flow.keyword=[i.languages.flow.keyword]),i.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}n.exports=i,i.displayName="flow",i.aliases=[]},16725:function(n){"use strict";function i(n){n.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}n.exports=i,i.displayName="fortran",i.aliases=[]},95559:function(n){"use strict";function i(n){n.languages.fsharp=n.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),n.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),n.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),n.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:n.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}n.exports=i,i.displayName="fsharp",i.aliases=[]},82114:function(n,i,o){"use strict";var a=o(93205);function s(n){n.register(a),function(n){for(var i=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,o=0;o<2;o++)i=i.replace(//g,function(){return i});i=i.replace(//g,/[^\s\S]/.source);var a={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return i})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return i})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};a.string[1].inside.interpolation.inside.rest=a,n.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:a}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:a}}}},n.hooks.add("before-tokenize",function(o){var a=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return i}),"gi");n.languages["markup-templating"].buildPlaceholders(o,"ftl",a)}),n.hooks.add("after-tokenize",function(i){n.languages["markup-templating"].tokenizePlaceholders(i,"ftl")})}(n)}n.exports=s,s.displayName="ftl",s.aliases=[]},6806:function(n){"use strict";function i(n){n.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},n.languages.gap.shell.inside.gap.inside=n.languages.gap}n.exports=i,i.displayName="gap",i.aliases=[]},12208:function(n){"use strict";function i(n){n.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}n.exports=i,i.displayName="gcode",i.aliases=[]},62728:function(n){"use strict";function i(n){n.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}n.exports=i,i.displayName="gdscript",i.aliases=[]},81549:function(n){"use strict";function i(n){n.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}n.exports=i,i.displayName="gedcom",i.aliases=[]},6024:function(n){"use strict";function i(n){var i;i=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source,n.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+i+")(?:"+i+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(i),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}n.exports=i,i.displayName="gherkin",i.aliases=[]},13600:function(n){"use strict";function i(n){n.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}n.exports=i,i.displayName="git",i.aliases=[]},3322:function(n,i,o){"use strict";var a=o(65806);function s(n){n.register(a),n.languages.glsl=n.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}n.exports=s,s.displayName="glsl",s.aliases=[]},53877:function(n){"use strict";function i(n){n.languages.gamemakerlanguage=n.languages.gml=n.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}n.exports=i,i.displayName="gml",i.aliases=[]},60794:function(n){"use strict";function i(n){n.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},n.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=n.languages.gn,n.languages.gni=n.languages.gn}n.exports=i,i.displayName="gn",i.aliases=["gni"]},20222:function(n){"use strict";function i(n){n.languages["go-mod"]=n.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}n.exports=i,i.displayName="goModule",i.aliases=[]},51519:function(n){"use strict";function i(n){n.languages.go=n.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),n.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete n.languages.go["class-name"]}n.exports=i,i.displayName="go",i.aliases=[]},94055:function(n){"use strict";function i(n){n.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:n.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},n.hooks.add("after-tokenize",function(n){if("graphql"===n.language)for(var i=n.tokens.filter(function(n){return"string"!=typeof n&&"comment"!==n.type&&"scalar"!==n.type}),o=0;o0)){var c=m(/^\{$/,/^\}$/);if(-1===c)continue;for(var d=o;d=0&&g(p,"variable-input")}}}}function f(n){return i[o+n]}function h(n,i){i=i||0;for(var o=0;o]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),n.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),n.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),n.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),n.hooks.add("wrap",function(i){if("groovy"===i.language&&"string"===i.type){var o=i.content.value[0];if("'"!=o){var a=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===o&&(a=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),i.content.value=i.content.value.replace(/</g,"<").replace(/&/g,"&"),i.content=n.highlight(i.content.value,{expression:{pattern:a,lookbehind:!0,inside:n.languages.groovy}}),i.classes.push("/"===o?"regex":"gstring")}}})}n.exports=i,i.displayName="groovy",i.aliases=[]},29536:function(n,i,o){"use strict";var a=o(56939);function s(n){n.register(a),function(n){n.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:n.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:n.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:n.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:n.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:n.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:n.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:n.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var i="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",o=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],a={},s=0,l=o.length;s@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},i.hooks.add("before-tokenize",function(n){var o=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;i.languages["markup-templating"].buildPlaceholders(n,"handlebars",o)}),i.hooks.add("after-tokenize",function(n){i.languages["markup-templating"].tokenizePlaceholders(n,"handlebars")}),i.languages.hbs=i.languages.handlebars}n.exports=s,s.displayName="handlebars",s.aliases=["hbs"]},58090:function(n){"use strict";function i(n){n.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},n.languages.hs=n.languages.haskell}n.exports=i,i.displayName="haskell",i.aliases=["hs"]},95121:function(n){"use strict";function i(n){n.languages.haxe=n.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),n.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:n.languages.haxe}}},string:/[\s\S]+/}}}),n.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),n.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}n.exports=i,i.displayName="haxe",i.aliases=[]},59904:function(n){"use strict";function i(n){n.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}n.exports=i,i.displayName="hcl",i.aliases=[]},9436:function(n,i,o){"use strict";var a=o(65806);function s(n){n.register(a),n.languages.hlsl=n.languages.extend("c",{"class-name":[n.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}n.exports=s,s.displayName="hlsl",s.aliases=[]},60591:function(n){"use strict";function i(n){n.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}n.exports=i,i.displayName="hoon",i.aliases=[]},76942:function(n){"use strict";function i(n){n.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}n.exports=i,i.displayName="hpkp",i.aliases=[]},60561:function(n){"use strict";function i(n){n.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}n.exports=i,i.displayName="hsts",i.aliases=[]},49660:function(n){"use strict";function i(n){!function(n){function i(n){return RegExp("(^(?:"+n+"):[ ]*(?![ ]))[^]+","i")}n.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:n.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:i(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:n.languages.csp},{pattern:i(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:n.languages.hpkp},{pattern:i(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:n.languages.hsts},{pattern:i(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var o,a=n.languages,s={"application/javascript":a.javascript,"application/json":a.json||a.javascript,"application/xml":a.xml,"text/xml":a.xml,"text/html":a.html,"text/css":a.css,"text/plain":a.plain},l={"application/json":!0,"application/xml":!0};function u(n){var i="\\w+/(?:[\\w.-]+\\+)+"+n.replace(/^[a-z]+\//,"")+"(?![+\\w.-])";return"(?:"+n+"|"+i+")"}for(var c in s)if(s[c]){o=o||{};var d=l[c]?u(c):c;o[c.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+d+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:s[c]}}o&&n.languages.insertBefore("http","header",o)}(n)}n.exports=i,i.displayName="http",i.aliases=[]},30615:function(n){"use strict";function i(n){n.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}n.exports=i,i.displayName="ichigojam",i.aliases=[]},93865:function(n){"use strict";function i(n){n.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}n.exports=i,i.displayName="icon",i.aliases=[]},51078:function(n){"use strict";function i(n){!function(n){function i(n,o){return o<=0?/[]/.source:n.replace(//g,function(){return i(n,o-1)})}var o=/'[{}:=,](?:[^']|'')*'(?!')/,a={pattern:/''/,greedy:!0,alias:"operator"},s={pattern:o,greedy:!0,inside:{escape:a}},l=i(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return o.source}),8),u={pattern:RegExp(l),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};n.languages["icu-message-format"]={argument:{pattern:RegExp(l),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":u,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":u,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+i(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:a,string:s},u.inside.message.inside=n.languages["icu-message-format"],n.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=n.languages["icu-message-format"]}(n)}n.exports=i,i.displayName="icuMessageFormat",i.aliases=[]},91178:function(n,i,o){"use strict";var a=o(58090);function s(n){n.register(a),n.languages.idris=n.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),n.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),n.languages.idr=n.languages.idris}n.exports=s,s.displayName="idris",s.aliases=["idr"]},40011:function(n){"use strict";function i(n){n.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}n.exports=i,i.displayName="iecst",i.aliases=[]},12017:function(n){"use strict";function i(n){var i;(i=n).languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},i.languages.gitignore=i.languages.ignore,i.languages.hgignore=i.languages.ignore,i.languages.npmignore=i.languages.ignore}n.exports=i,i.displayName="ignore",i.aliases=["gitignore","hgignore","npmignore"]},65175:function(n){"use strict";function i(n){n.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},n.languages.inform7.string.inside.substitution.inside.rest=n.languages.inform7,n.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}n.exports=i,i.displayName="inform7",i.aliases=[]},14970:function(n){"use strict";function i(n){n.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}n.exports=i,i.displayName="ini",i.aliases=[]},30764:function(n){"use strict";function i(n){n.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}n.exports=i,i.displayName="j",i.aliases=[]},15909:function(n){"use strict";function i(n){var i,o,a,s;i=n,o=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,s={pattern:RegExp((a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}},i.languages.java=i.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[s,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:s.inside}],keyword:o,function:[i.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),i.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),i.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":s,keyword:o,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return o.source})),lookbehind:!0,inside:{punctuation:/\./}}})}n.exports=i,i.displayName="java",i.aliases=[]},36553:function(n,i,o){"use strict";var a=o(15909),s=o(9858);function l(n){var i,o,l,u;n.register(a),n.register(s),i=n,o=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,l=/#\s*\w+(?:\s*\([^()]*\))?/.source,u=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return l}),i.languages.javadoc=i.languages.extend("javadoclike",{}),i.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+u+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:i.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:o,lookbehind:!0,inside:i.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:o,lookbehind:!0,inside:{tag:i.languages.markup.tag,entity:i.languages.markup.entity,code:{pattern:/.+/,inside:i.languages.java,alias:"language-java"}}}}}],tag:i.languages.markup.tag,entity:i.languages.markup.entity}),i.languages.javadoclike.addSupport("java",i.languages.javadoc)}n.exports=l,l.displayName="javadoc",l.aliases=[]},9858:function(n){"use strict";function i(n){!function(n){var i=n.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function o(i,o){var a="doc-comment",s=n.languages[i];if(s){var l=s[a];if(!l){var u={};u[a]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},l=(s=n.languages.insertBefore(i,"comment",u))[a]}if(l instanceof RegExp&&(l=s[a]={pattern:l}),Array.isArray(l))for(var c=0,d=l.length;c|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript}n.exports=i,i.displayName="javascript",i.aliases=["js"]},11223:function(n){"use strict";function i(n){n.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}n.exports=i,i.displayName="javastacktrace",i.aliases=[]},57957:function(n){"use strict";function i(n){n.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}n.exports=i,i.displayName="jexl",i.aliases=[]},66604:function(n){"use strict";function i(n){n.languages.jolie=n.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),n.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}n.exports=i,i.displayName="jolie",i.aliases=[]},77935:function(n){"use strict";function i(n){var i,o,a,s,l;i=n,o=/\\\((?:[^()]|\([^()]*\))*\)/.source,a=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return o})),s={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+o),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},l=i.languages.jq={comment:/#.*/,property:{pattern:RegExp(a.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:s},string:{pattern:a,lookbehind:!0,greedy:!0,inside:s},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}},s.interpolation.inside.content.inside=l}n.exports=i,i.displayName="jq",i.aliases=[]},46155:function(n){"use strict";function i(n){!function(n){function i(n,i){return RegExp(n.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),i)}n.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+n.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),n.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+n.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),n.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),n.languages.insertBefore("javascript","keyword",{imports:{pattern:i(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:n.languages.javascript},exports:{pattern:i(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:n.languages.javascript}}),n.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),n.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),n.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:i(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var o=["function","function-variable","method","method-variable","property-access"],a=0;a=m.length)return;var o=n[i];if("string"==typeof o||"string"==typeof o.content){var a=m[u],s="string"==typeof o?o:o.content,l=s.indexOf(a);if(-1!==l){++u;var c=s.substring(0,l),d=p(f[a]),h=s.substring(l+a.length),b=[];if(c&&b.push(c),b.push(d),h){var y=[h];g(y),b.push.apply(b,y)}"string"==typeof o?(n.splice.apply(n,[i,1].concat(b)),i+=b.length-1):o.content=b}}else{var v=o.content;Array.isArray(v)?g(v):g([v])}}}return u=0,g(h),new n.Token(a,h,"language-"+a,i)}n.languages.javascript["template-string"]=[u("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),u("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),u("svg",/\bsvg/.source),u("markdown",/\b(?:markdown|md)/.source),u("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),u("sql",/\bsql/.source),i].filter(Boolean);var h={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function m(n){return"string"==typeof n?n:Array.isArray(n)?n.map(m).join(""):m(n.content)}n.hooks.add("after-tokenize",function(i){i.language in h&&o(i.tokens);function o(i){for(var a=0,s=i.length;a\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return l})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+l),lookbehind:!0,inside:{string:o.string,number:o.number,boolean:o.boolean,keyword:i.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:o,alias:"language-javascript"}}}}),i.languages.javadoclike.addSupport("javascript",i.languages.jsdoc)}n.exports=l,l.displayName="jsdoc",l.aliases=[]},45950:function(n){"use strict";function i(n){n.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},n.languages.webmanifest=n.languages.json}n.exports=i,i.displayName="json",i.aliases=["webmanifest"]},50235:function(n,i,o){"use strict";var a=o(45950);function s(n){var i,o;n.register(a),o=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/,(i=n).languages.json5=i.languages.extend("json",{property:[{pattern:RegExp(o.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:o,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}n.exports=s,s.displayName="json5",s.aliases=[]},80963:function(n,i,o){"use strict";var a=o(45950);function s(n){n.register(a),n.languages.jsonp=n.languages.extend("json",{punctuation:/[{}[\]();,.]/}),n.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}n.exports=s,s.displayName="jsonp",s.aliases=[]},79358:function(n){"use strict";function i(n){n.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}n.exports=i,i.displayName="jsstacktrace",i.aliases=[]},96412:function(n){"use strict";function i(n){!function(n){var i=n.util.clone(n.languages.javascript),o=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,a=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,s=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function l(n,i){return RegExp(n=n.replace(//g,function(){return o}).replace(//g,function(){return a}).replace(//g,function(){return s}),i)}s=l(s).source,n.languages.jsx=n.languages.extend("markup",i),n.languages.jsx.tag.pattern=l(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),n.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,n.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,n.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,n.languages.jsx.tag.inside.comment=i.comment,n.languages.insertBefore("inside","attr-name",{spread:{pattern:l(//.source),inside:n.languages.jsx}},n.languages.jsx.tag),n.languages.insertBefore("inside","special-attr",{script:{pattern:l(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:n.languages.jsx}}},n.languages.jsx.tag);var u=function(n){return n?"string"==typeof n?n:"string"==typeof n.content?n.content:n.content.map(u).join(""):""},c=function(i){for(var o=[],a=0;a0&&o[o.length-1].tagName===u(s.content[0].content[1])&&o.pop():"/>"===s.content[s.content.length-1].content||o.push({tagName:u(s.content[0].content[1]),openedBraces:0}):o.length>0&&"punctuation"===s.type&&"{"===s.content?o[o.length-1].openedBraces++:o.length>0&&o[o.length-1].openedBraces>0&&"punctuation"===s.type&&"}"===s.content?o[o.length-1].openedBraces--:l=!0),(l||"string"==typeof s)&&o.length>0&&0===o[o.length-1].openedBraces){var d=u(s);a0&&("string"==typeof i[a-1]||"plain-text"===i[a-1].type)&&(d=u(i[a-1])+d,i.splice(a-1,1),a--),i[a]=new n.Token("plain-text",d,null,d)}s.content&&"string"!=typeof s.content&&c(s.content)}};n.hooks.add("after-tokenize",function(n){("jsx"===n.language||"tsx"===n.language)&&c(n.tokens)})}(n)}n.exports=i,i.displayName="jsx",i.aliases=[]},39259:function(n){"use strict";function i(n){n.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}n.exports=i,i.displayName="julia",i.aliases=[]},32409:function(n){"use strict";function i(n){n.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}n.exports=i,i.displayName="keepalived",i.aliases=[]},35760:function(n){"use strict";function i(n){n.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}n.exports=i,i.displayName="keyman",i.aliases=[]},19715:function(n){"use strict";function i(n){var i,o;(i=n).languages.kotlin=i.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete i.languages.kotlin["class-name"],o={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:i.languages.kotlin}},i.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:o},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:o},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete i.languages.kotlin.string,i.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),i.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),i.languages.kt=i.languages.kotlin,i.languages.kts=i.languages.kotlin}n.exports=i,i.displayName="kotlin",i.aliases=["kt","kts"]},27614:function(n){"use strict";function i(n){!function(n){var i=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function o(n,o){return RegExp(n.replace(//g,i),o)}n.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:o(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:o(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:o(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:o(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:o(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:o(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:o(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:o(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},n.languages.kum=n.languages.kumir}(n)}n.exports=i,i.displayName="kumir",i.aliases=["kum"]},82819:function(n){"use strict";function i(n){n.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}n.exports=i,i.displayName="kusto",i.aliases=[]},42876:function(n){"use strict";function i(n){var i,o,a;i=n,a={"equation-command":{pattern:o=/\\(?:[^a-z()[\]]|[a-z*]+)/i,alias:"regex"}},i.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:a,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:a,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:o,alias:"selector"},punctuation:/[[\]{}&]/},i.languages.tex=i.languages.latex,i.languages.context=i.languages.latex}n.exports=i,i.displayName="latex",i.aliases=["tex","context"]},2980:function(n,i,o){"use strict";var a=o(93205),s=o(88262);function l(n){var i,o;n.register(a),n.register(s),(i=n).languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:i.languages.php}},o=i.languages.extend("markup",{}),i.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:i.languages.php}}}}}},o.tag),i.hooks.add("before-tokenize",function(n){if("latte"===n.language){var a=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;i.languages["markup-templating"].buildPlaceholders(n,"latte",a),n.grammar=o}}),i.hooks.add("after-tokenize",function(n){i.languages["markup-templating"].tokenizePlaceholders(n,"latte")})}n.exports=l,l.displayName="latte",l.aliases=[]},41701:function(n){"use strict";function i(n){n.languages.less=n.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),n.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}n.exports=i,i.displayName="less",i.aliases=[]},42491:function(n,i,o){"use strict";var a=o(9997);function s(n){n.register(a),function(n){for(var i=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,o=5,a=0;a/g,function(){return i});i=i.replace(//g,/[^\s\S]/.source);var s=n.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return i}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:n.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};s["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=s,n.languages.ly=s}(n)}n.exports=s,s.displayName="lilypond",s.aliases=[]},34927:function(n,i,o){"use strict";var a=o(93205);function s(n){n.register(a),n.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},n.hooks.add("before-tokenize",function(i){var o=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,a=!1;n.languages["markup-templating"].buildPlaceholders(i,"liquid",o,function(n){var i=/^\{%-?\s*(\w+)/.exec(n);if(i){var o=i[1];if("raw"===o&&!a)return a=!0,!0;if("endraw"===o)return a=!1,!0}return!a})}),n.hooks.add("after-tokenize",function(i){n.languages["markup-templating"].tokenizePlaceholders(i,"liquid")})}n.exports=s,s.displayName="liquid",s.aliases=[]},3848:function(n){"use strict";function i(n){!function(n){function i(n){return RegExp(/(\()/.source+"(?:"+n+")"+/(?=[\s\)])/.source)}function o(n){return RegExp(/([\s([])/.source+"(?:"+n+")"+/(?=[\s)])/.source)}var a=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,s="&"+a,l="(\\()",u="(?=\\))",c="(?=\\s)",d=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,p={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+a+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+a),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+a),alias:"property"},splice:{pattern:RegExp(",@?"+a),alias:["symbol","variable"]},keyword:[{pattern:RegExp(l+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+c),lookbehind:!0},{pattern:RegExp(l+"(?:append|by|collect|concat|do|finally|for|in|return)"+c),lookbehind:!0}],declare:{pattern:i(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:i(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:o(/nil|t/.source),lookbehind:!0},number:{pattern:o(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(l+"def(?:const|custom|group|var)\\s+"+a),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(a)}},defun:{pattern:RegExp(l+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+a+/\s+\(/.source+d+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+a),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(l+"lambda\\s+\\(\\s*(?:&?"+a+"(?:\\s+&?"+a+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(l+a),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},f={"lisp-marker":RegExp(s),varform:{pattern:RegExp(/\(/.source+a+/\s+(?=\S)/.source+d+/\)/.source),inside:p},argument:{pattern:RegExp(/(^|[\s(])/.source+a),lookbehind:!0,alias:"variable"},rest:p},h="\\S+(?:\\s+\\S+)*",m={pattern:RegExp(l+d+u),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+h),inside:f},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+h),inside:f},keys:{pattern:RegExp("&key\\s+"+h+"(?:\\s+&allow-other-keys)?"),inside:f},argument:{pattern:RegExp(a),alias:"variable"},punctuation:/[()]/}};p.lambda.inside.arguments=m,p.defun.inside.arguments=n.util.clone(m),p.defun.inside.arguments.inside.sublist=m,n.languages.lisp=p,n.languages.elisp=p,n.languages.emacs=p,n.languages["emacs-lisp"]=p}(n)}n.exports=i,i.displayName="lisp",i.aliases=[]},41469:function(n){"use strict";function i(n){n.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},n.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=n.languages.livescript}n.exports=i,i.displayName="livescript",i.aliases=[]},73070:function(n){"use strict";function i(n){n.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}}n.exports=i,i.displayName="llvm",i.aliases=[]},35049:function(n){"use strict";function i(n){n.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:n.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}n.exports=i,i.displayName="log",i.aliases=[]},8789:function(n){"use strict";function i(n){n.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}n.exports=i,i.displayName="lolcode",i.aliases=[]},59803:function(n){"use strict";function i(n){n.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}n.exports=i,i.displayName="lua",i.aliases=[]},86328:function(n){"use strict";function i(n){n.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}n.exports=i,i.displayName="magma",i.aliases=[]},33055:function(n){"use strict";function i(n){n.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}n.exports=i,i.displayName="makefile",i.aliases=[]},90542:function(n){"use strict";function i(n){!function(n){var i=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function o(n){return n=n.replace(//g,function(){return i}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+n+")")}var a=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,s=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return a}),l=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;n.languages.markdown=n.languages.extend("markup",{}),n.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:n.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+s+l+"(?:"+s+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+s+l+")(?:"+s+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(a),inside:n.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+s+")"+l+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+s+"$"),inside:{"table-header":{pattern:RegExp(a),alias:"important",inside:n.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:o(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:o(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:o(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:o(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(i){["url","bold","italic","strike","code-snippet"].forEach(function(o){i!==o&&(n.languages.markdown[i].inside.content.inside[o]=n.languages.markdown[o])})}),n.hooks.add("after-tokenize",function(n){("markdown"===n.language||"md"===n.language)&&i(n.tokens);function i(n){if(n&&"string"!=typeof n)for(var o=0,a=n.length;o",quot:'"'},d=String.fromCodePoint||String.fromCharCode;function p(n){return n.replace(u,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(n,i){if("#"===(i=i.toLowerCase())[0]){var o;return d(o="x"===i[1]?parseInt(i.slice(2),16):Number(i.slice(1)))}return c[i]||n})}n.languages.md=n.languages.markdown}(n)}n.exports=i,i.displayName="markdown",i.aliases=["md"]},93205:function(n){"use strict";function i(n){!function(n){function i(n,i){return"___"+n.toUpperCase()+i+"___"}Object.defineProperties(n.languages["markup-templating"]={},{buildPlaceholders:{value:function(o,a,s,l){if(o.language===a){var u=o.tokenStack=[];o.code=o.code.replace(s,function(n){if("function"==typeof l&&!l(n))return n;for(var s,c=u.length;-1!==o.code.indexOf(s=i(a,c));)++c;return u[c]=n,s}),o.grammar=n.languages.markup}}},tokenizePlaceholders:{value:function(o,a){if(o.language===a&&o.tokenStack){o.grammar=n.languages[a];var s=0,l=Object.keys(o.tokenStack);u(o.tokens)}function u(c){for(var d=0;d=l.length);d++){var p=c[d];if("string"==typeof p||p.content&&"string"==typeof p.content){var f=l[s],h=o.tokenStack[f],m="string"==typeof p?p:p.content,g=i(a,f),b=m.indexOf(g);if(b>-1){++s;var y=m.substring(0,b),v=new n.Token(a,n.tokenize(h,o.grammar),"language-"+a,h),w=m.substring(b+g.length),E=[];y&&E.push.apply(E,u([y])),E.push(v),w&&E.push.apply(E,u([w])),"string"==typeof p?c.splice.apply(c,[d,1].concat(E)):p.content=E}}else p.content&&u(p.content)}return c}}}})}(n)}n.exports=i,i.displayName="markupTemplating",i.aliases=[]},2717:function(n){"use strict";function i(n){n.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(n){"entity"===n.type&&(n.attributes.title=n.content.value.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(i,o){var a={};a["language-"+o]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[o]},a.cdata=/^$/i;var s={"included-cdata":{pattern://i,inside:a}};s["language-"+o]={pattern:/[\s\S]+/,inside:n.languages[o]};var l={};l[i]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return i}),"i"),lookbehind:!0,greedy:!0,inside:s},n.languages.insertBefore("markup","cdata",l)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(i,o){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+i+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[o,"language-"+o],inside:n.languages[o]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}n.exports=i,i.displayName="markup",i.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},27992:function(n){"use strict";function i(n){n.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}n.exports=i,i.displayName="matlab",i.aliases=[]},91115:function(n){"use strict";function i(n){var i;i=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i,n.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|")+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source+")[ ]*)(?!"+i.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+i.source+")"+/[a-z_]/.source+"|")+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:i,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}}n.exports=i,i.displayName="maxscript",i.aliases=[]},606:function(n){"use strict";function i(n){n.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},n.languages.mel.code.inside.rest=n.languages.mel}n.exports=i,i.displayName="mel",i.aliases=[]},68582:function(n){"use strict";function i(n){n.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}n.exports=i,i.displayName="mermaid",i.aliases=[]},23388:function(n){"use strict";function i(n){n.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}n.exports=i,i.displayName="mizar",i.aliases=[]},90596:function(n){"use strict";function i(n){var i,o,a,s;i=n,a=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"],s="(?:"+(o=(o=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"]).map(function(n){return n.replace("$","\\$")})).join("|")+")\\b",i.languages.mongodb=i.languages.extend("javascript",{}),i.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+s+"(?:\\1)?$")}}}),i.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},i.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+a.join("|")+")\\b"),alias:"keyword"}})}n.exports=i,i.displayName="mongodb",i.aliases=[]},95721:function(n){"use strict";function i(n){n.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}n.exports=i,i.displayName="monkey",i.aliases=[]},64262:function(n){"use strict";function i(n){n.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},n.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=n.languages.moonscript,n.languages.moon=n.languages.moonscript}n.exports=i,i.displayName="moonscript",i.aliases=["moon"]},18190:function(n){"use strict";function i(n){n.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}n.exports=i,i.displayName="n1ql",i.aliases=[]},70896:function(n){"use strict";function i(n){n.languages.n4js=n.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),n.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),n.languages.n4jsd=n.languages.n4js}n.exports=i,i.displayName="n4js",i.aliases=["n4jsd"]},42242:function(n){"use strict";function i(n){n.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}n.exports=i,i.displayName="nand2tetrisHdl",i.aliases=[]},37943:function(n){"use strict";function i(n){!function(n){var i=/\{[^\r\n\[\]{}]*\}/,o={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:i,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};function a(n){for(var i="[]{}",o=[],a=0;a.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:i,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:o}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:i,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:o},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},n.languages.nani=n.languages.naniscript,n.hooks.add("after-tokenize",function(n){n.tokens.forEach(function(n){if("string"!=typeof n&&"generic-text"===n.type){var i=s(n);a(i)||(n.type="bad-line",n.content=i)}})})}(n)}n.exports=i,i.displayName="naniscript",i.aliases=[]},293:function(n){"use strict";function i(n){n.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|DEFAULT|FLOAT).*$/m],register:{pattern:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-\/%<>=&|$!]/}}n.exports=i,i.displayName="nasm",i.aliases=[]},83873:function(n){"use strict";function i(n){n.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}n.exports=i,i.displayName="neon",i.aliases=[]},75932:function(n){"use strict";function i(n){n.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}n.exports=i,i.displayName="nevod",i.aliases=[]},60221:function(n){"use strict";function i(n){var i;i=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i,n.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:i}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:i}},punctuation:/[{};]/}}n.exports=i,i.displayName="nginx",i.aliases=[]},44188:function(n){"use strict";function i(n){n.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}n.exports=i,i.displayName="nim",i.aliases=[]},74426:function(n){"use strict";function i(n){n.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},n.languages.nix.string.inside.interpolation.inside=n.languages.nix}n.exports=i,i.displayName="nix",i.aliases=[]},88447:function(n){"use strict";function i(n){n.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}n.exports=i,i.displayName="nsis",i.aliases=[]},16032:function(n,i,o){"use strict";var a=o(65806);function s(n){n.register(a),n.languages.objectivec=n.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete n.languages.objectivec["class-name"],n.languages.objc=n.languages.objectivec}n.exports=s,s.displayName="objectivec",s.aliases=["objc"]},33607:function(n){"use strict";function i(n){n.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}n.exports=i,i.displayName="ocaml",i.aliases=[]},22001:function(n,i,o){"use strict";var a=o(65806);function s(n){var i,o;n.register(a),(i=n).languages.opencl=i.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),i.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}}),o={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}},i.languages.insertBefore("c","keyword",o),i.languages.cpp&&(o["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},i.languages.insertBefore("cpp","keyword",o))}n.exports=s,s.displayName="opencl",s.aliases=[]},22950:function(n){"use strict";function i(n){n.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},n.languages.qasm=n.languages.openqasm}n.exports=i,i.displayName="openqasm",i.aliases=["qasm"]},23254:function(n){"use strict";function i(n){n.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}n.exports=i,i.displayName="oz",i.aliases=[]},92694:function(n){"use strict";function i(n){var i;n.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:RegExp("\\b(?:"+(i=(i=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"]).map(function(n){return n.split("").join(" *")}).join("|"))+")\\b"),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}n.exports=i,i.displayName="parigp",i.aliases=[]},43273:function(n){"use strict";function i(n){var i,o;o=(i=n).languages.parser=i.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/}),o=i.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:o.keyword,variable:o.variable,function:o.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:o.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:o.punctuation}}}),i.languages.insertBefore("inside","punctuation",{expression:o.expression,keyword:o.keyword,variable:o.variable,function:o.function,escape:o.escape,"parser-punctuation":{pattern:o.punctuation,alias:"punctuation"}},o.tag.inside["attr-value"])}n.exports=i,i.displayName="parser",i.aliases=[]},60718:function(n){"use strict";function i(n){n.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},n.languages.pascal.asm.inside=n.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),n.languages.objectpascal=n.languages.pascal}n.exports=i,i.displayName="pascal",i.aliases=["objectpascal"]},39303:function(n){"use strict";function i(n){var i,o,a,s,l;i=n,o=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,a=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return o}),s=i.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return a}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return a}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return a})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},l=["comment","keyword","builtin","operator","punctuation"].reduce(function(n,i){return n[i]=s[i],n},{}),s["class-name"].forEach(function(n){n.inside=l})}n.exports=i,i.displayName="pascaligo",i.aliases=[]},77393:function(n){"use strict";function i(n){n.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},n.languages.px=n.languages.pcaxis}n.exports=i,i.displayName="pcaxis",i.aliases=["px"]},19023:function(n){"use strict";function i(n){n.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},n.languages.pcode=n.languages.peoplecode}n.exports=i,i.displayName="peoplecode",i.aliases=["pcode"]},74212:function(n){"use strict";function i(n){var i;i=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source,n.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,i].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,i].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,i+/\s*/.source+i].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}n.exports=i,i.displayName="perl",i.aliases=[]},5137:function(n,i,o){"use strict";var a=o(88262);function s(n){n.register(a),n.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}n.exports=s,s.displayName="phpExtras",s.aliases=[]},88262:function(n,i,o){"use strict";var a=o(93205);function s(n){var i,o,s,l,u,c,d,p;n.register(a),o=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,s=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],l=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,u=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,c=/[{}\[\](),:;]/,(i=n).languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:o,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:s,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:l,operator:u,punctuation:c},p=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:d={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:i.languages.php}}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:d}}],i.languages.insertBefore("php","variable",{string:p,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:o,string:p,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:s,number:l,operator:u,punctuation:c}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),i.hooks.add("before-tokenize",function(n){if(/<\?/.test(n.code)){var o=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;i.languages["markup-templating"].buildPlaceholders(n,"php",o)}}),i.hooks.add("after-tokenize",function(n){i.languages["markup-templating"].tokenizePlaceholders(n,"php")})}n.exports=s,s.displayName="php",s.aliases=[]},63632:function(n,i,o){"use strict";var a=o(88262),s=o(9858);function l(n){var i,o;n.register(a),n.register(s),o=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source,(i=n).languages.phpdoc=i.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+o+"\\s+)?)\\$\\w+"),lookbehind:!0}}),i.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+o),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),i.languages.javadoclike.addSupport("php",i.languages.phpdoc)}n.exports=l,l.displayName="phpdoc",l.aliases=[]},59149:function(n,i,o){"use strict";var a=o(11114);function s(n){n.register(a),n.languages.plsql=n.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),n.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}n.exports=s,s.displayName="plsql",s.aliases=[]},50256:function(n){"use strict";function i(n){n.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},n.languages.pq=n.languages.powerquery,n.languages.mscript=n.languages.powerquery}n.exports=i,i.displayName="powerquery",i.aliases=[]},61777:function(n){"use strict";function i(n){var i;(i=n.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/}).string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:i},boolean:i.boolean,variable:i.variable}}n.exports=i,i.displayName="powershell",i.aliases=[]},3623:function(n){"use strict";function i(n){n.languages.processing=n.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),n.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}n.exports=i,i.displayName="processing",i.aliases=[]},82707:function(n){"use strict";function i(n){n.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}n.exports=i,i.displayName="prolog",i.aliases=[]},59338:function(n){"use strict";function i(n){var i,o,a;i=n,a=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(o=["on","ignoring","group_right","group_left","by","without"],["offset"]),i.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:RegExp("((?:"+o.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:RegExp("\\b(?:"+a.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}}n.exports=i,i.displayName="promql",i.aliases=[]},56267:function(n){"use strict";function i(n){n.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}n.exports=i,i.displayName="properties",i.aliases=[]},98809:function(n){"use strict";function i(n){var i,o;o=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/,(i=n).languages.protobuf=i.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),i.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:o}},builtin:o,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}n.exports=i,i.displayName="protobuf",i.aliases=[]},37548:function(n){"use strict";function i(n){n.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}n.exports=i,i.displayName="psl",i.aliases=[]},82161:function(n){"use strict";function i(n){!function(n){n.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:n.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:n.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:n.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:n.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:n.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:n.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:n.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:n.languages.javascript}],punctuation:/[.\-!=|]+/};for(var i=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,o=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],a={},s=0,l=o.length;s",function(){return u.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[u.language,"language-"+u.language],inside:n.languages[u.language]}}})}n.languages.insertBefore("pug","filter",a)}(n)}n.exports=i,i.displayName="pug",i.aliases=[]},80625:function(n){"use strict";function i(n){var i,o;(i=n).languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/},o=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:i.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}],i.languages.puppet.heredoc[0].inside.interpolation=o,i.languages.puppet.string.inside["double-quoted"].inside.interpolation=o}n.exports=i,i.displayName="puppet",i.aliases=[]},88393:function(n){"use strict";function i(n){var i,o,a;(i=n).languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/},a=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source,(o=["c",{lang:"c++",alias:"cpp"},"fortran"]).forEach(function(n){var o=n;if("string"!=typeof n&&(o=n.alias,n=n.lang),i.languages[o]){var s={};s["inline-lang-"+o]={pattern:RegExp(a.replace("",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:i.util.clone(i.languages.pure["inline-lang"].inside)},s["inline-lang-"+o].inside.rest=i.util.clone(i.languages[o]),i.languages.insertBefore("pure","inline-lang",s)}}),i.languages.c&&(i.languages.pure["inline-lang"].inside.rest=i.util.clone(i.languages.c))}n.exports=i,i.displayName="pure",i.aliases=[]},78404:function(n){"use strict";function i(n){n.languages.purebasic=n.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),n.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete n.languages.purebasic["class-name"],delete n.languages.purebasic.boolean,n.languages.pbfasm=n.languages.purebasic}n.exports=i,i.displayName="purebasic",i.aliases=[]},92923:function(n,i,o){"use strict";var a=o(58090);function s(n){n.register(a),n.languages.purescript=n.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[n.languages.haskell.operator[0],n.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),n.languages.purs=n.languages.purescript}n.exports=s,s.displayName="purescript",s.aliases=["purs"]},52992:function(n){"use strict";function i(n){n.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},n.languages.python["string-interpolation"].inside.interpolation.inside.rest=n.languages.python,n.languages.py=n.languages.python}n.exports=i,i.displayName="python",i.aliases=["py"]},55762:function(n){"use strict";function i(n){n.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}n.exports=i,i.displayName="q",i.aliases=[]},4137:function(n){"use strict";function i(n){!function(n){for(var i=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,o=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,a=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return i}).replace(//g,function(){return o}),s=0;s<2;s++)a=a.replace(//g,function(){return a});a=a.replace(//g,"[^\\s\\S]"),n.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(n)}n.exports=i,i.displayName="qml",i.aliases=[]},28260:function(n){"use strict";function i(n){n.languages.qore=n.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}n.exports=i,i.displayName="qore",i.aliases=[]},71360:function(n){"use strict";function i(n){!function(n){function i(n,i){return n.replace(/<<(\d+)>>/g,function(n,o){return"(?:"+i[+o]+")"})}function o(n,o,a){return RegExp(i(n,o),a||"")}function a(n,i){for(var o=0;o>/g,function(){return"(?:"+n+")"});return n.replace(/<>/g,"[^\\s\\S]")}var s={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"},l=RegExp("\\b(?:"+(s.type+" "+s.other).trim().replace(/ /g,"|")+")\\b"),u=/\b[A-Za-z_]\w*\b/.source,c=i(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[u]),d={keyword:l,punctuation:/[<>()?,.:[\]]/},p=/"(?:\\.|[^\\"])*"/.source;n.languages.qsharp=n.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:o(/(^|[^$\\])<<0>>/.source,[p]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:o(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[c]),lookbehind:!0,inside:d},{pattern:o(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[c]),lookbehind:!0,inside:d}],keyword:l,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),n.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var f=a(i(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[p]),2);n.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:o(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[f]),greedy:!0,inside:{interpolation:{pattern:o(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[f]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:n.languages.qsharp}}},string:/[\s\S]+/}}})}(n),n.languages.qs=n.languages.qsharp}n.exports=i,i.displayName="qsharp",i.aliases=["qs"]},29308:function(n){"use strict";function i(n){n.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}n.exports=i,i.displayName="r",i.aliases=[]},32168:function(n,i,o){"use strict";var a=o(9997);function s(n){n.register(a),n.languages.racket=n.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),n.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),n.languages.rkt=n.languages.racket}n.exports=s,s.displayName="racket",s.aliases=["rkt"]},5755:function(n){"use strict";function i(n){n.languages.reason=n.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),n.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete n.languages.reason.function}n.exports=i,i.displayName="reason",i.aliases=[]},54105:function(n){"use strict";function i(n){var i,o,a,s,l,u,c,d;i=n,o={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},s={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},l={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},c=RegExp((u="(?:[^\\\\-]|"+(a=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+u),d={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},i.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:c,inside:{escape:a,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":o,"char-set":l,escape:a}},"special-escape":o,"char-set":s,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":d}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:a,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}n.exports=i,i.displayName="rego",i.aliases=[]},35108:function(n){"use strict";function i(n){n.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},n.languages.rpy=n.languages.renpy}n.exports=i,i.displayName="renpy",i.aliases=["rpy"]},46678:function(n){"use strict";function i(n){n.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}n.exports=i,i.displayName="rest",i.aliases=[]},47496:function(n){"use strict";function i(n){n.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}n.exports=i,i.displayName="rip",i.aliases=[]},30527:function(n){"use strict";function i(n){n.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}n.exports=i,i.displayName="roboconf",i.aliases=[]},5261:function(n){"use strict";function i(n){!function(n){var i={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},o={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function a(n,a){var s={};for(var l in s["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"},a)s[l]=a[l];return s.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},s.variable=o,s.comment=i,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return n}),"im"),alias:"section",inside:s}}var s={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},l={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:o}},u={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:o}};n.languages.robotframework={settings:a("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:a("Variables"),"test-cases":a("Test Cases",{"test-name":l,documentation:s,property:u}),keywords:a("Keywords",{"keyword-name":l,documentation:s,property:u}),tasks:a("Tasks",{"task-name":l,documentation:s,property:u}),comment:i},n.languages.robot=n.languages.robotframework}(n)}n.exports=i,i.displayName="robotframework",i.aliases=[]},56939:function(n){"use strict";function i(n){var i,o,a,s;(i=n).languages.ruby=i.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),i.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),o={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:i.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}},delete i.languages.ruby.function,a="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",s=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source,i.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+a+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:o,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:o,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+s),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+s+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),i.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+a),greedy:!0,inside:{interpolation:o,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:o,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:o,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+a),greedy:!0,inside:{interpolation:o,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:o,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete i.languages.ruby.string,i.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),i.languages.rb=i.languages.ruby}n.exports=i,i.displayName="ruby",i.aliases=["rb"]},83648:function(n){"use strict";function i(n){!function(n){for(var i=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,o=0;o<2;o++)i=i.replace(//g,function(){return i});i=i.replace(//g,function(){return/[^\s\S]/.source}),n.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+i),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},n.languages.rust["closure-params"].inside.rest=n.languages.rust,n.languages.rust.attribute.inside.string=n.languages.rust.string}(n)}n.exports=i,i.displayName="rust",i.aliases=[]},16009:function(n){"use strict";function i(n){var i,o,a,s,l,u,c,d,p,f,h,m,g,b,y,v,w,E,S;i=n,o=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,a=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,s={pattern:RegExp(o+"[bx]"),alias:"number"},u={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},c={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},d=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],m={function:h={pattern:/%?\b\w+(?=\()/,alias:"keyword"},"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":l={pattern:/&[a-z_]\w*/i},arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:a,"numeric-constant":s,punctuation:f=/[$%@.(){}\[\];,\\]/,string:p={pattern:RegExp(o),greedy:!0}},g={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},b={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},y={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},v={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},w=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,E={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return w}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return w}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:d,function:h,"arg-value":m["arg-value"],operator:m.operator,argument:m.arg,number:a,"numeric-constant":s,punctuation:f,string:p}},S={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0},i.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return o}),"im"),alias:"language-sql",inside:i.languages.sql},"global-statements":y,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:a,"numeric-constant":s,punctuation:f,string:p}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:d,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return o}),"im"),lookbehind:!0,alias:"language-groovy",inside:i.languages.groovy},keyword:S,"submit-statement":v,"global-statements":y,number:a,"numeric-constant":s,punctuation:f,string:p}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:d,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return o}),"im"),lookbehind:!0,alias:"language-lua",inside:i.languages.lua},keyword:S,"submit-statement":v,"global-statements":y,number:a,"numeric-constant":s,punctuation:f,string:p}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:d,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:m}},"cas-actions":E,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:m},step:c,keyword:S,function:h,format:g,altformat:b,"global-statements":y,number:a,"numeric-constant":s,punctuation:f,string:p}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return o}),"im"),lookbehind:!0,inside:m},"macro-keyword":u,"macro-variable":l,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":u,"macro-variable":l,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:f}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:d,number:a,"numeric-constant":s}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:m},"cas-actions":E,comment:d,function:h,format:g,altformat:b,"numeric-constant":s,datetime:{pattern:RegExp(o+"(?:dt?|t)"),alias:"number"},string:p,step:c,keyword:S,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:a,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:f}}n.exports=i,i.displayName="sas",i.aliases=[]},41720:function(n){"use strict";function i(n){var i,o,a;(i=n).languages.sass=i.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),i.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete i.languages.sass.atrule,o=/\$[-\w]+|#\{\$[-\w]+\}/,a=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],i.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:o,operator:a}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:o,operator:a,important:i.languages.sass.important}}}),delete i.languages.sass.property,delete i.languages.sass.important,i.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}n.exports=i,i.displayName="sass",i.aliases=[]},6054:function(n,i,o){"use strict";var a=o(15909);function s(n){n.register(a),n.languages.scala=n.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),n.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.scala}}},string:/[\s\S]+/}}}),delete n.languages.scala["class-name"],delete n.languages.scala.function}n.exports=s,s.displayName="scala",s.aliases=[]},9997:function(n){"use strict";function i(n){!function(n){n.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(i({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function i(n){for(var i in n)n[i]=n[i].replace(/<[\w\s]+>/g,function(i){return"(?:"+n[i].trim()+")"});return n[i]}}(n)}n.exports=i,i.displayName="scheme",i.aliases=[]},24296:function(n){"use strict";function i(n){n.languages.scss=n.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),n.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),n.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),n.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),n.languages.scss.atrule.inside.rest=n.languages.scss}n.exports=i,i.displayName="scss",i.aliases=[]},49246:function(n,i,o){"use strict";var a=o(6979);function s(n){var i,o;n.register(a),o=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|"),(i=n).languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return o}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:i.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},i.languages["sh-session"]=i.languages.shellsession=i.languages["shell-session"]}n.exports=s,s.displayName="shellSession",s.aliases=[]},18890:function(n){"use strict";function i(n){n.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}n.exports=i,i.displayName="smali",i.aliases=[]},11037:function(n){"use strict";function i(n){n.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}n.exports=i,i.displayName="smalltalk",i.aliases=[]},64020:function(n,i,o){"use strict";var a=o(93205);function s(n){var i,o,s;n.register(a),(i=n).languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:i.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},i.languages.smarty["embedded-php"].inside.smarty.inside=i.languages.smarty,i.languages.smarty.string[0].inside.interpolation.inside.expression.inside=i.languages.smarty,o=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,s=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return o.source}),"g"),i.hooks.add("before-tokenize",function(n){var o="{literal}",a="{/literal}",l=!1;i.languages["markup-templating"].buildPlaceholders(n,"smarty",s,function(n){return n===a&&(l=!1),!l&&(n===o&&(l=!0),!0)})}),i.hooks.add("after-tokenize",function(n){i.languages["markup-templating"].tokenizePlaceholders(n,"smarty")})}n.exports=s,s.displayName="smarty",s.aliases=[]},49760:function(n){"use strict";function i(n){var i,o;o=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i,(i=n).languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return o.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:o,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},i.languages.sml["class-name"][0].inside=i.languages.sml,i.languages.smlnj=i.languages.sml}n.exports=i,i.displayName="sml",i.aliases=["smlnj"]},33351:function(n){"use strict";function i(n){n.languages.solidity=n.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),n.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),n.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),n.languages.sol=n.languages.solidity}n.exports=i,i.displayName="solidity",i.aliases=["sol"]},13570:function(n){"use strict";function i(n){var i,o;o={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}},(i=n).languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:o}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:o}},guid:o,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},i.languages.sln=i.languages["solution-file"]}n.exports=i,i.displayName="solutionFile",i.aliases=[]},38181:function(n,i,o){"use strict";var a=o(93205);function s(n){var i,o,s;n.register(a),o=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,s=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/,(i=n).languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:o,greedy:!0},number:s,punctuation:/[\[\].?]/}},string:{pattern:o,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:s,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},i.hooks.add("before-tokenize",function(n){var o=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,a="{literal}",s="{/literal}",l=!1;i.languages["markup-templating"].buildPlaceholders(n,"soy",o,function(n){return n===s&&(l=!1),!l&&(n===a&&(l=!0),!0)})}),i.hooks.add("after-tokenize",function(n){i.languages["markup-templating"].tokenizePlaceholders(n,"soy")})}n.exports=s,s.displayName="soy",s.aliases=[]},98774:function(n,i,o){"use strict";var a=o(24691);function s(n){n.register(a),n.languages.sparql=n.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),n.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),n.languages.rq=n.languages.sparql}n.exports=s,s.displayName="sparql",s.aliases=["rq"]},22855:function(n){"use strict";function i(n){n.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}n.exports=i,i.displayName="splunkSpl",i.aliases=[]},29611:function(n){"use strict";function i(n){n.languages.sqf=n.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),n.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:n.languages.sqf.comment}}}),delete n.languages.sqf["class-name"]}n.exports=i,i.displayName="sqf",i.aliases=[]},11114:function(n){"use strict";function i(n){n.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}n.exports=i,i.displayName="sql",i.aliases=[]},67386:function(n){"use strict";function i(n){n.languages.squirrel=n.languages.extend("clike",{comment:[n.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),n.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),n.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}n.exports=i,i.displayName="squirrel",i.aliases=[]},28067:function(n){"use strict";function i(n){var i,o;o=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/,(i=n).languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+o.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,o],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},i.languages.stan.constraint.inside.expression.inside=i.languages.stan}n.exports=i,i.displayName="stan",i.aliases=[]},49168:function(n){"use strict";function i(n){var i,o,a,s;i=n,(s={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:o={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},number:a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:o,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:a,punctuation:/[{}()\[\];:,]/}).interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:s}},s.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:s}},i.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:s}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:s}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:s}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:s.interpolation}},rest:s}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:s.interpolation,comment:s.comment,punctuation:/[{},]/}},func:s.func,string:s.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:s.interpolation,punctuation:/[{}()\[\];:.]/}}n.exports=i,i.displayName="stylus",i.aliases=[]},23651:function(n){"use strict";function i(n){n.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},n.languages.swift["string-literal"].forEach(function(i){i.inside.interpolation.inside=n.languages.swift})}n.exports=i,i.displayName="swift",i.aliases=[]},21483:function(n){"use strict";function i(n){var i,o;i={pattern:/^[;#].*/m,greedy:!0},o=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source,n.languages.systemd={comment:i,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+o+'|(?=[^"\r\n]))(?:'+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|')+o+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:i,quoted:{pattern:RegExp(/(^|\s)/.source+o),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}n.exports=i,i.displayName="systemd",i.aliases=[]},32268:function(n,i,o){"use strict";var a=o(2329),s=o(61958);function l(n){n.register(a),n.register(s),n.languages.t4=n.languages["t4-cs"]=n.languages["t4-templating"].createT4("csharp")}n.exports=l,l.displayName="t4Cs",l.aliases=[]},2329:function(n){"use strict";function i(n){!function(n){function i(n,i,o){return{pattern:RegExp("<#"+n+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+n+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:i,alias:o}}}}function o(o){var a=n.languages[o],s="language-"+o;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:i("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:i("=",a,s),"class-feature":i("\\+",a,s),standard:i("",a,s)}}}}n.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:o})}(n)}n.exports=i,i.displayName="t4Templating",i.aliases=[]},82996:function(n,i,o){"use strict";var a=o(2329),s=o(53813);function l(n){n.register(a),n.register(s),n.languages["t4-vb"]=n.languages["t4-templating"].createT4("vbnet")}n.exports=l,l.displayName="t4Vb",l.aliases=[]},17290:function(n,i,o){"use strict";var a=o(65039);function s(n){n.register(a),n.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:n.languages.yaml,alias:"language-yaml"}}}n.exports=s,s.displayName="tap",s.aliases=[]},67989:function(n){"use strict";function i(n){n.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}n.exports=i,i.displayName="tcl",i.aliases=[]},31065:function(n){"use strict";function i(n){!function(n){var i=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,o=/\)|\((?![^|()\n]+\))/.source;function a(n,a){return RegExp(n.replace(//g,function(){return"(?:"+i+")"}).replace(//g,function(){return"(?:"+o+")"}),a||"")}var s={css:{pattern:/\{[^{}]+\}/,inside:{rest:n.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},l=n.languages.textile=n.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:a(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:a(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:s},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:a(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:a(/(^[*#]+)+/.source),lookbehind:!0,inside:s},punctuation:/^[*#]+/}},table:{pattern:a(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:a(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:s},punctuation:/\||^\./}},inline:{pattern:a(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:a(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:a(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:a(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:a(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:a(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:a(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:a(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:a(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:s},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:a(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:a(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:a(/(^")+/.source),lookbehind:!0,inside:s},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:a(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:a(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:a(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:s},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),u=l.phrase.inside,c={inline:u.inline,link:u.link,image:u.image,footnote:u.footnote,acronym:u.acronym,mark:u.mark};l.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var d=u.inline.inside;d.bold.inside=c,d.italic.inside=c,d.inserted.inside=c,d.deleted.inside=c,d.span.inside=c;var p=u.table.inside;p.inline=c.inline,p.link=c.link,p.image=c.image,p.footnote=c.footnote,p.acronym=c.acronym,p.mark=c.mark}(n)}n.exports=i,i.displayName="textile",i.aliases=[]},85572:function(n){"use strict";function i(n){!function(n){var i=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function o(n){return n.replace(/__/g,function(){return i})}n.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(o(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(o(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(n)}n.exports=i,i.displayName="toml",i.aliases=[]},27536:function(n){"use strict";function i(n){var i,o;(i=n).languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/},o=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source,i.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+o+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+o+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(o),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:i.languages.tremor}}},string:/[\s\S]+/}},i.languages.troy=i.languages.tremor,i.languages.trickle=i.languages.tremor}n.exports=i,i.displayName="tremor",i.aliases=[]},87041:function(n,i,o){"use strict";var a=o(96412),s=o(4979);function l(n){var i,o,l;n.register(a),n.register(s),o=(i=n).util.clone(i.languages.typescript),i.languages.tsx=i.languages.extend("jsx",o),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"],(l=i.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+l.pattern.source+")",l.pattern.flags),l.lookbehind=!0}n.exports=l,l.displayName="tsx",l.aliases=[]},61028:function(n,i,o){"use strict";var a=o(93205);function s(n){var i;n.register(a),(i=n).languages.tt2=i.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),i.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),i.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),i.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete i.languages.tt2.string,i.hooks.add("before-tokenize",function(n){var o=/\[%[\s\S]+?%\]/g;i.languages["markup-templating"].buildPlaceholders(n,"tt2",o)}),i.hooks.add("after-tokenize",function(n){i.languages["markup-templating"].tokenizePlaceholders(n,"tt2")})}n.exports=s,s.displayName="tt2",s.aliases=[]},24691:function(n){"use strict";function i(n){n.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},n.languages.trig=n.languages.turtle}n.exports=i,i.displayName="turtle",i.aliases=[]},19892:function(n,i,o){"use strict";var a=o(93205);function s(n){n.register(a),n.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},n.hooks.add("before-tokenize",function(i){if("twig"===i.language){var o=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;n.languages["markup-templating"].buildPlaceholders(i,"twig",o)}}),n.hooks.add("after-tokenize",function(i){n.languages["markup-templating"].tokenizePlaceholders(i,"twig")})}n.exports=s,s.displayName="twig",s.aliases=[]},4979:function(n){"use strict";function i(n){var i,o;(i=n).languages.typescript=i.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),i.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete i.languages.typescript.parameter,delete i.languages.typescript["literal-property"],delete(o=i.languages.extend("typescript",{}))["class-name"],i.languages.typescript["class-name"].inside=o,i.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:o}}}}),i.languages.ts=i.languages.typescript}n.exports=i,i.displayName="typescript",i.aliases=["ts"]},23159:function(n){"use strict";function i(n){var i,o;o=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/,(i=n).languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:o}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:o,number:/^\d+$/,punctuation:/[,|:]/}},keyword:o,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},i.languages.tsconfig=i.languages.typoscript}n.exports=i,i.displayName="typoscript",i.aliases=["tsconfig"]},34966:function(n){"use strict";function i(n){n.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},n.languages.uc=n.languages.uscript=n.languages.unrealscript}n.exports=i,i.displayName="unrealscript",i.aliases=["uc","uscript"]},44623:function(n){"use strict";function i(n){n.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}n.exports=i,i.displayName="uorazor",i.aliases=[]},38521:function(n){"use strict";function i(n){n.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source)+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")"+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},n.languages.url=n.languages.uri}n.exports=i,i.displayName="uri",i.aliases=["url"]},7255:function(n){"use strict";function i(n){var i,o;o={pattern:/[\s\S]+/,inside:null},(i=n).languages.v=i.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":o}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),o.inside=i.languages.v,i.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),i.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),i.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:i.languages.v.generic.inside}}}})}n.exports=i,i.displayName="v",i.aliases=[]},28173:function(n){"use strict";function i(n){n.languages.vala=n.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),n.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:n.languages.vala}},string:/[\s\S]+/}}}),n.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}n.exports=i,i.displayName="vala",i.aliases=[]},53813:function(n,i,o){"use strict";var a=o(46241);function s(n){n.register(a),n.languages.vbnet=n.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}n.exports=s,s.displayName="vbnet",s.aliases=[]},46891:function(n){"use strict";function i(n){var i,o;(i=n).languages.velocity=i.languages.extend("markup",{}),(o={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/}).variable.inside={string:o.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:o.number,boolean:o.boolean,punctuation:o.punctuation},i.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:o}},variable:o.variable}),i.languages.velocity.tag.inside["attr-value"].inside.rest=i.languages.velocity}n.exports=i,i.displayName="velocity",i.aliases=[]},91824:function(n){"use strict";function i(n){n.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}n.exports=i,i.displayName="verilog",i.aliases=[]},9447:function(n){"use strict";function i(n){n.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}n.exports=i,i.displayName="vhdl",i.aliases=[]},53062:function(n){"use strict";function i(n){n.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}n.exports=i,i.displayName="vim",i.aliases=[]},46215:function(n){"use strict";function i(n){n.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},n.languages.vb=n.languages["visual-basic"],n.languages.vba=n.languages["visual-basic"]}n.exports=i,i.displayName="visualBasic",i.aliases=[]},10784:function(n){"use strict";function i(n){n.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}n.exports=i,i.displayName="warpscript",i.aliases=[]},17684:function(n){"use strict";function i(n){n.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}n.exports=i,i.displayName="wasm",i.aliases=[]},64851:function(n){"use strict";function i(n){!function(n){var i=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,o="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+i+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,a={};for(var s in n.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+i),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:a},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+o),lookbehind:!0,inside:a},{pattern:RegExp("("+/\bcallback\s+/.source+i+/\s*=\s*/.source+")"+o),lookbehind:!0,inside:a},{pattern:RegExp(/(\btypedef\b\s*)/.source+o),lookbehind:!0,inside:a},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+i),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+i),lookbehind:!0},RegExp(i+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+i),lookbehind:!0},{pattern:RegExp(o+"(?="+/\s*(?:\.{3}\s*)?/.source+i+/\s*[(),;=]/.source+")"),inside:a}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/},n.languages["web-idl"])"class-name"!==s&&(a[s]=n.languages["web-idl"][s]);n.languages.webidl=n.languages["web-idl"]}(n)}n.exports=i,i.displayName="webIdl",i.aliases=[]},18191:function(n){"use strict";function i(n){n.languages.wiki=n.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:n.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),n.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:n.languages.markup.tag.inside}}}})}n.exports=i,i.displayName="wiki",i.aliases=[]},75242:function(n){"use strict";function i(n){n.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},n.languages.mathematica=n.languages.wolfram,n.languages.wl=n.languages.wolfram,n.languages.nb=n.languages.wolfram}n.exports=i,i.displayName="wolfram",i.aliases=["mathematica","wl","nb"]},93639:function(n){"use strict";function i(n){n.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},n.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:n.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}n.exports=i,i.displayName="wren",i.aliases=[]},97202:function(n){"use strict";function i(n){var i;(i=n).languages.xeora=i.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),i.languages.insertBefore("inside","punctuation",{variable:i.languages.xeora["function-inline"].inside.variable},i.languages.xeora["function-block"]),i.languages.xeoracube=i.languages.xeora}n.exports=i,i.displayName="xeora",i.aliases=["xeoracube"]},13808:function(n){"use strict";function i(n){!function(n){function i(i,o){n.languages[i]&&n.languages.insertBefore(i,"comment",{"doc-comment":o})}var o=n.languages.markup.tag,a={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:o}},s={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:o}};i("csharp",a),i("fsharp",a),i("vbnet",s)}(n)}n.exports=i,i.displayName="xmlDoc",i.aliases=[]},21301:function(n){"use strict";function i(n){n.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}n.exports=i,i.displayName="xojo",i.aliases=[]},20349:function(n){"use strict";function i(n){!function(n){n.languages.xquery=n.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),n.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,n.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,n.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:n.languages.xquery,alias:"language-xquery"};var i=function(n){return"string"==typeof n?n:"string"==typeof n.content?n.content:n.content.map(i).join("")},o=function(a){for(var s=[],l=0;l0&&s[s.length-1].tagName===i(u.content[0].content[1])&&s.pop():"/>"===u.content[u.content.length-1].content||s.push({tagName:i(u.content[0].content[1]),openedBraces:0}):!(s.length>0)||"punctuation"!==u.type||"{"!==u.content||a[l+1]&&"punctuation"===a[l+1].type&&"{"===a[l+1].content||a[l-1]&&"plain-text"===a[l-1].type&&"{"===a[l-1].content?s.length>0&&s[s.length-1].openedBraces>0&&"punctuation"===u.type&&"}"===u.content?s[s.length-1].openedBraces--:"comment"!==u.type&&(c=!0):s[s.length-1].openedBraces++),(c||"string"==typeof u)&&s.length>0&&0===s[s.length-1].openedBraces){var d=i(u);l0&&("string"==typeof a[l-1]||"plain-text"===a[l-1].type)&&(d=i(a[l-1])+d,a.splice(l-1,1),l--),/^\s+$/.test(d)?a[l]=d:a[l]=new n.Token("plain-text",d,null,d)}u.content&&"string"!=typeof u.content&&o(u.content)}};n.hooks.add("after-tokenize",function(n){"xquery"===n.language&&o(n.tokens)})}(n)}n.exports=i,i.displayName="xquery",i.aliases=[]},65039:function(n){"use strict";function i(n){!function(n){var i=/[*&][^\s[\]{},]+/,o=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,a="(?:"+o.source+"(?:[ ]+"+i.source+")?|"+i.source+"(?:[ ]+"+o.source+")?)",s=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),l=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function u(n,i){return i=(i||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return n}),i)}n.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return a})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return"(?:"+s+"|"+l+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:u(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:u(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:u(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:u(l),lookbehind:!0,greedy:!0},number:{pattern:u(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:o,important:i,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},n.languages.yml=n.languages.yaml}(n)}n.exports=i,i.displayName="yaml",i.aliases=["yml"]},96319:function(n){"use strict";function i(n){n.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}n.exports=i,i.displayName="yang",i.aliases=[]},31501:function(n){"use strict";function i(n){!function(n){function i(n){return function(){return n}}var o=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,a="\\b(?!"+o.source+")(?!\\d)\\w+\\b",s=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,l="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,i(s))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,i(a))+")+";n.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,i(l)).replace(//g,i(s))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,i(l)).replace(//g,i(s))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:o,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},n.languages.zig["class-name"].forEach(function(i){null===i.inside&&(i.inside=n.languages.zig)})}(n)}n.exports=i,i.displayName="zig",i.aliases=[]},59216:function(n,i,o){/** - * Prism: Lightweight, robust, elegant syntax highlighting - * - * @license MIT - * @author Lea Verou - * @namespace - * @public - */ var a=function(n){var i=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,o=0,a={},s={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function n(i){return i instanceof l?new l(i.type,n(i.content),i.alias):Array.isArray(i)?i.map(n):i.replace(/&/g,"&").replace(/=h.reach));A+=k.value.length,k=k.next){var T,C=k.value;if(i.length>n.length)return;if(!(C instanceof l)){var R=1;if(E){if(!(T=u(_,A,n,w))||T.index>=n.length)break;var D=T.index,O=T.index+T[0].length,I=A;for(I+=k.value.length;D>=I;)I+=(k=k.next).value.length;if(I-=k.value.length,A=I,k.value instanceof l)continue;for(var N=k;N!==i.tail&&(Ih.reach&&(h.reach=F);var B=k.prev;L&&(B=p(i,B,L),A+=L.length),f(i,B,R);var U=new l(m,v?s.tokenize(M,v):M,S,M);if(k=p(i,B,U),P&&p(i,k,P),R>1){var z={cause:m+","+b,reach:F};c(n,i,o,k.prev,A,z),h&&z.reach>h.reach&&(h.reach=z.reach)}}}}}}function d(){var n={value:null,prev:null,next:null},i={value:null,prev:n,next:null};n.next=i,this.head=n,this.tail=i,this.length=0}function p(n,i,o){var a=i.next,s={value:o,prev:i,next:a};return i.next=s,a.prev=s,n.length++,s}function f(n,i,o){for(var a=i.next,s=0;s"+l.content+""},!n.document)return n.addEventListener&&(s.disableWorkerMessageHandler||n.addEventListener("message",function(i){var o=JSON.parse(i.data),a=o.language,l=o.code,u=o.immediateClose;n.postMessage(s.highlight(l,s.languages[a],a)),u&&n.close()},!1)),s;var m=s.util.currentScript();function g(){s.manual||s.highlightAll()}if(m&&(s.filename=m.src,m.hasAttribute("data-manual")&&(s.manual=!0)),!s.manual){var b=document.readyState;"loading"===b||"interactive"===b&&m&&m.defer?document.addEventListener("DOMContentLoaded",g):window.requestAnimationFrame?window.requestAnimationFrame(g):window.setTimeout(g,16)}return s}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});n.exports&&(n.exports=a),void 0!==o.g&&(o.g.Prism=a)},76826:function(n){var i={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",Ấ:"A",Ắ:"A",Ẳ:"A",Ẵ:"A",Ặ:"A",Æ:"AE",Ầ:"A",Ằ:"A",Ȃ:"A",Ç:"C",Ḉ:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ế:"E",Ḗ:"E",Ề:"E",Ḕ:"E",Ḝ:"E",Ȇ:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ḯ:"I",Ȋ:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",Ố:"O",Ṍ:"O",Ṓ:"O",Ȏ:"O",Ù:"U",Ú:"U",Û:"U",Ü:"U",Ý:"Y",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",ấ:"a",ắ:"a",ẳ:"a",ẵ:"a",ặ:"a",æ:"ae",ầ:"a",ằ:"a",ȃ:"a",ç:"c",ḉ:"c",è:"e",é:"e",ê:"e",ë:"e",ế:"e",ḗ:"e",ề:"e",ḕ:"e",ḝ:"e",ȇ:"e",ì:"i",í:"i",î:"i",ï:"i",ḯ:"i",ȋ:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",ố:"o",ṍ:"o",ṓ:"o",ȏ:"o",ù:"u",ú:"u",û:"u",ü:"u",ý:"y",ÿ:"y",Ā:"A",ā:"a",Ă:"A",ă:"a",Ą:"A",ą:"a",Ć:"C",ć:"c",Ĉ:"C",ĉ:"c",Ċ:"C",ċ:"c",Č:"C",č:"c",C̆:"C",c̆:"c",Ď:"D",ď:"d",Đ:"D",đ:"d",Ē:"E",ē:"e",Ĕ:"E",ĕ:"e",Ė:"E",ė:"e",Ę:"E",ę:"e",Ě:"E",ě:"e",Ĝ:"G",Ǵ:"G",ĝ:"g",ǵ:"g",Ğ:"G",ğ:"g",Ġ:"G",ġ:"g",Ģ:"G",ģ:"g",Ĥ:"H",ĥ:"h",Ħ:"H",ħ:"h",Ḫ:"H",ḫ:"h",Ĩ:"I",ĩ:"i",Ī:"I",ī:"i",Ĭ:"I",ĭ:"i",Į:"I",į:"i",İ:"I",ı:"i",IJ:"IJ",ij:"ij",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",Ḱ:"K",ḱ:"k",K̆:"K",k̆:"k",Ĺ:"L",ĺ:"l",Ļ:"L",ļ:"l",Ľ:"L",ľ:"l",Ŀ:"L",ŀ:"l",Ł:"l",ł:"l",Ḿ:"M",ḿ:"m",M̆:"M",m̆:"m",Ń:"N",ń:"n",Ņ:"N",ņ:"n",Ň:"N",ň:"n",ʼn:"n",N̆:"N",n̆:"n",Ō:"O",ō:"o",Ŏ:"O",ŏ:"o",Ő:"O",ő:"o",Œ:"OE",œ:"oe",P̆:"P",p̆:"p",Ŕ:"R",ŕ:"r",Ŗ:"R",ŗ:"r",Ř:"R",ř:"r",R̆:"R",r̆:"r",Ȓ:"R",ȓ:"r",Ś:"S",ś:"s",Ŝ:"S",ŝ:"s",Ş:"S",Ș:"S",ș:"s",ş:"s",Š:"S",š:"s",Ţ:"T",ţ:"t",ț:"t",Ț:"T",Ť:"T",ť:"t",Ŧ:"T",ŧ:"t",T̆:"T",t̆:"t",Ũ:"U",ũ:"u",Ū:"U",ū:"u",Ŭ:"U",ŭ:"u",Ů:"U",ů:"u",Ű:"U",ű:"u",Ų:"U",ų:"u",Ȗ:"U",ȗ:"u",V̆:"V",v̆:"v",Ŵ:"W",ŵ:"w",Ẃ:"W",ẃ:"w",X̆:"X",x̆:"x",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Y̆:"Y",y̆:"y",Ź:"Z",ź:"z",Ż:"Z",ż:"z",Ž:"Z",ž:"z",ſ:"s",ƒ:"f",Ơ:"O",ơ:"o",Ư:"U",ư:"u",Ǎ:"A",ǎ:"a",Ǐ:"I",ǐ:"i",Ǒ:"O",ǒ:"o",Ǔ:"U",ǔ:"u",Ǖ:"U",ǖ:"u",Ǘ:"U",ǘ:"u",Ǚ:"U",ǚ:"u",Ǜ:"U",ǜ:"u",Ứ:"U",ứ:"u",Ṹ:"U",ṹ:"u",Ǻ:"A",ǻ:"a",Ǽ:"AE",ǽ:"ae",Ǿ:"O",ǿ:"o",Þ:"TH",þ:"th",Ṕ:"P",ṕ:"p",Ṥ:"S",ṥ:"s",X́:"X",x́:"x",Ѓ:"Г",ѓ:"г",Ќ:"К",ќ:"к",A̋:"A",a̋:"a",E̋:"E",e̋:"e",I̋:"I",i̋:"i",Ǹ:"N",ǹ:"n",Ồ:"O",ồ:"o",Ṑ:"O",ṑ:"o",Ừ:"U",ừ:"u",Ẁ:"W",ẁ:"w",Ỳ:"Y",ỳ:"y",Ȁ:"A",ȁ:"a",Ȅ:"E",ȅ:"e",Ȉ:"I",ȉ:"i",Ȍ:"O",ȍ:"o",Ȑ:"R",ȑ:"r",Ȕ:"U",ȕ:"u",B̌:"B",b̌:"b",Č̣:"C",č̣:"c",Ê̌:"E",ê̌:"e",F̌:"F",f̌:"f",Ǧ:"G",ǧ:"g",Ȟ:"H",ȟ:"h",J̌:"J",ǰ:"j",Ǩ:"K",ǩ:"k",M̌:"M",m̌:"m",P̌:"P",p̌:"p",Q̌:"Q",q̌:"q",Ř̩:"R",ř̩:"r",Ṧ:"S",ṧ:"s",V̌:"V",v̌:"v",W̌:"W",w̌:"w",X̌:"X",x̌:"x",Y̌:"Y",y̌:"y",A̧:"A",a̧:"a",B̧:"B",b̧:"b",Ḑ:"D",ḑ:"d",Ȩ:"E",ȩ:"e",Ɛ̧:"E",ɛ̧:"e",Ḩ:"H",ḩ:"h",I̧:"I",i̧:"i",Ɨ̧:"I",ɨ̧:"i",M̧:"M",m̧:"m",O̧:"O",o̧:"o",Q̧:"Q",q̧:"q",U̧:"U",u̧:"u",X̧:"X",x̧:"x",Z̧:"Z",z̧:"z"},o=Object.keys(i).join("|"),a=RegExp(o,"g"),s=RegExp(o,""),l=function(n){return n.replace(a,function(n){return i[n]})},u=function(n){return!!n.match(s)};n.exports=l,n.exports.has=u,n.exports.remove=l},49019:function(n){"use strict";function i(){let n;let i=!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent);return i&&indexedDB.databases?new Promise(i=>{let o=()=>indexedDB.databases().finally(i);n=setInterval(o,100),o()}).finally(()=>clearInterval(n)):Promise.resolve()}n.exports=i},89509:function(n,i,o){/*! safe-buffer. MIT License. Feross Aboukhadijeh */ var a=o(48764),s=a.Buffer;function l(n,i){for(var o in n)i[o]=n[o]}function u(n,i,o){return s(n,i,o)}s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?n.exports=a:(l(a,i),i.Buffer=u),u.prototype=Object.create(s.prototype),l(s,u),u.from=function(n,i,o){if("number"==typeof n)throw TypeError("Argument must not be a number");return s(n,i,o)},u.alloc=function(n,i,o){if("number"!=typeof n)throw TypeError("Argument must be a number");var a=s(n);return void 0!==i?"string"==typeof o?a.fill(i,o):a.fill(i):a.fill(0),a},u.allocUnsafe=function(n){if("number"!=typeof n)throw TypeError("Argument must be a number");return s(n)},u.allocUnsafeSlow=function(n){if("number"!=typeof n)throw TypeError("Argument must be a number");return a.SlowBuffer(n)}},60053:function(n,i){"use strict";/** + */ function p(){return(p=Object.assign?Object.assign.bind():function(n){for(var i=1;i{p.current=!0}),c.useCallback(function(o,s){if(void 0===s&&(s={}),!p.current)return;if("number"==typeof o){a.go(o);return}let c=(0,d.pC)(o,JSON.parse(u),l,"path"===s.relative);null==n&&"/"!==i&&(c.pathname="/"===c.pathname?i:(0,d.RQ)([i,c.pathname])),(s.replace?a.replace:a.push)(c,s.state,s)},[i,a,u,l,n])}function _(){let{matches:n}=c.useContext(b),i=n[n.length-1];return i?i.params:{}}function k(n,i){return A(n,i)}function A(n,i,o,a){let s;v()||(0,d.J0)(!1);let{navigator:l}=c.useContext(m),{matches:u}=c.useContext(b),f=u[u.length-1],h=f?f.params:{};f&&f.pathname;let y=f?f.pathnameBase:"/";f&&f.route;let E=w();if(i){var S;let x="string"==typeof i?(0,d.cP)(i):i;"/"===y||(null==(S=x.pathname)?void 0:S.startsWith(y))||(0,d.J0)(!1),s=x}else s=E;let _=s.pathname||"/",k="/"===y?_:_.slice(y.length)||"/",A=(0,d.fp)(n,{pathname:k}),T=O(A&&A.map(n=>Object.assign({},n,{params:Object.assign({},h,n.params),pathname:(0,d.RQ)([y,l.encodeLocation?l.encodeLocation(n.pathname).pathname:n.pathname]),pathnameBase:"/"===n.pathnameBase?y:(0,d.RQ)([y,l.encodeLocation?l.encodeLocation(n.pathnameBase).pathname:n.pathnameBase])})),u,o,a);return i&&T?c.createElement(g.Provider,{value:{location:p({pathname:"/",search:"",hash:"",state:null,key:"default"},s),navigationType:d.aU.Pop}},T):T}function T(){let n=B(),i=(0,d.WK)(n)?n.status+" "+n.statusText:n instanceof Error?n.message:JSON.stringify(n),o=n instanceof Error?n.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},s=null;return c.createElement(c.Fragment,null,c.createElement("h2",null,"Unexpected Application Error!"),c.createElement("h3",{style:{fontStyle:"italic"}},i),o?c.createElement("pre",{style:a},o):null,s)}let C=c.createElement(T,null);class R extends c.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,i){return i.location!==n.location||"idle"!==i.revalidation&&"idle"===n.revalidation?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:void 0!==n.error?n.error:i.error,location:i.location,revalidation:n.revalidation||i.revalidation}}componentDidCatch(n,i){console.error("React Router caught the following error during render",n,i)}render(){return void 0!==this.state.error?c.createElement(b.Provider,{value:this.props.routeContext},c.createElement(y.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function D(n){let{routeContext:i,match:o,children:a}=n,s=c.useContext(f);return s&&s.static&&s.staticContext&&(o.route.errorElement||o.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=o.route.id),c.createElement(b.Provider,{value:i},a)}function O(n,i,o,a){var s,l;if(void 0===i&&(i=[]),void 0===o&&(o=null),void 0===a&&(a=null),null==n){if(null==(l=o)||!l.errors)return null;n=o.matches}let u=n,p=null==(s=o)?void 0:s.errors;if(null!=p){let f=u.findIndex(n=>n.route.id&&(null==p?void 0:p[n.route.id]));f>=0||(0,d.J0)(!1),u=u.slice(0,Math.min(u.length,f+1))}let h=!1,m=-1;if(o&&a&&a.v7_partialHydration)for(let g=0;g=0?u.slice(0,m+1):[u[0]];break}}return u.reduceRight((n,a,s)=>{let l;let d=!1,f=null,g=null;o&&(l=p&&a.route.id?p[a.route.id]:void 0,f=a.route.errorElement||C,h&&(m<0&&0===s?(j("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,g=null):m===s&&(d=!0,g=a.route.hydrateFallbackElement||null)));let b=i.concat(u.slice(0,s+1)),y=()=>{let i;return i=l?f:d?g:a.route.Component?c.createElement(a.route.Component,null):a.route.element?a.route.element:n,c.createElement(D,{match:a,routeContext:{outlet:n,matches:b,isDataRoute:null!=o},children:i})};return o&&(a.route.ErrorBoundary||a.route.errorElement||0===s)?c.createElement(R,{location:o.location,revalidation:o.revalidation,component:f,error:l,children:y(),routeContext:{outlet:null,matches:b,isDataRoute:!0}}):y()},null)}var I=((a=I||{}).UseBlocker="useBlocker",a.UseRevalidator="useRevalidator",a.UseNavigateStable="useNavigate",a),N=((s=N||{}).UseBlocker="useBlocker",s.UseLoaderData="useLoaderData",s.UseActionData="useActionData",s.UseRouteError="useRouteError",s.UseNavigation="useNavigation",s.UseRouteLoaderData="useRouteLoaderData",s.UseMatches="useMatches",s.UseRevalidator="useRevalidator",s.UseNavigateStable="useNavigate",s.UseRouteId="useRouteId",s);function M(n){let i=c.useContext(f);return i||(0,d.J0)(!1),i}function L(n){let i=c.useContext(h);return i||(0,d.J0)(!1),i}function P(n){let i=c.useContext(b);return i||(0,d.J0)(!1),i}function F(n){let i=P(n),o=i.matches[i.matches.length-1];return o.route.id||(0,d.J0)(!1),o.route.id}function B(){var n;let i=c.useContext(y),o=L(N.UseRouteError),a=F(N.UseRouteError);return void 0!==i?i:null==(n=o.errors)?void 0:n[a]}function U(){let{router:n}=M(I.UseNavigateStable),i=F(N.UseNavigateStable),o=c.useRef(!1);return E(()=>{o.current=!0}),c.useCallback(function(a,s){void 0===s&&(s={}),o.current&&("number"==typeof a?n.navigate(a):n.navigate(a,p({fromRouteId:i},s)))},[n,i])}let z={};function j(n,i,o){i||z[n]||(z[n]=!0)}let $="startTransition";function H(n){(0,d.J0)(!1)}function V(n){let{basename:i="/",children:o=null,location:a,navigationType:s=d.aU.Pop,navigator:l,static:u=!1,future:f}=n;v()&&(0,d.J0)(!1);let h=i.replace(/^\/*/,"/"),b=c.useMemo(()=>({basename:h,navigator:l,static:u,future:p({v7_relativeSplatPath:!1},f)}),[h,f,l,u]);"string"==typeof a&&(a=(0,d.cP)(a));let{pathname:y="/",search:w="",hash:E="",state:S=null,key:x="default"}=a,_=c.useMemo(()=>{let n=(0,d.Zn)(y,h);return null==n?null:{location:{pathname:n,search:w,hash:E,state:S,key:x},navigationType:s}},[h,y,w,E,S,x,s]);return null==_?null:c.createElement(m.Provider,{value:b},c.createElement(g.Provider,{children:o,value:_}))}function G(n){let{children:i,location:o}=n;return k(q(i),o)}function q(n,i){void 0===i&&(i=[]);let o=[];return c.Children.forEach(n,(n,a)=>{if(!c.isValidElement(n))return;let s=[...i,a];if(n.type===c.Fragment){o.push.apply(o,q(n.props.children,s));return}n.type!==H&&(0,d.J0)(!1),n.props.index&&n.props.children&&(0,d.J0)(!1);let l={id:n.props.id||s.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:null!=n.props.ErrorBoundary||null!=n.props.errorElement,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(l.children=q(n.props.children,s)),o.push(l)}),o}(u||(u=o.t(c,2)))[$],(l=AwaitRenderStatus||{})[l.pending=0]="pending",l[l.success=1]="success",l[l.error=2]="error",new Promise(()=>{})},34209:function(n,i,o){"use strict";o.d(i,{Z:function(){return J}});var a=o(63366);function s(n,i){if(null==n)return{};var o,s,l=(0,a.Z)(n,i);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(n);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(n,o)&&(l[o]=n[o])}return l}function l(n,i){(null==i||i>n.length)&&(i=n.length);for(var o=0,a=Array(i);o=4?[n[0],n[1],n[2],n[3],"".concat(n[0],".").concat(n[1]),"".concat(n[0],".").concat(n[2]),"".concat(n[0],".").concat(n[3]),"".concat(n[1],".").concat(n[0]),"".concat(n[1],".").concat(n[2]),"".concat(n[1],".").concat(n[3]),"".concat(n[2],".").concat(n[0]),"".concat(n[2],".").concat(n[1]),"".concat(n[2],".").concat(n[3]),"".concat(n[3],".").concat(n[0]),"".concat(n[3],".").concat(n[1]),"".concat(n[3],".").concat(n[2]),"".concat(n[0],".").concat(n[1],".").concat(n[2]),"".concat(n[0],".").concat(n[1],".").concat(n[3]),"".concat(n[0],".").concat(n[2],".").concat(n[1]),"".concat(n[0],".").concat(n[2],".").concat(n[3]),"".concat(n[0],".").concat(n[3],".").concat(n[1]),"".concat(n[0],".").concat(n[3],".").concat(n[2]),"".concat(n[1],".").concat(n[0],".").concat(n[2]),"".concat(n[1],".").concat(n[0],".").concat(n[3]),"".concat(n[1],".").concat(n[2],".").concat(n[0]),"".concat(n[1],".").concat(n[2],".").concat(n[3]),"".concat(n[1],".").concat(n[3],".").concat(n[0]),"".concat(n[1],".").concat(n[3],".").concat(n[2]),"".concat(n[2],".").concat(n[0],".").concat(n[1]),"".concat(n[2],".").concat(n[0],".").concat(n[3]),"".concat(n[2],".").concat(n[1],".").concat(n[0]),"".concat(n[2],".").concat(n[1],".").concat(n[3]),"".concat(n[2],".").concat(n[3],".").concat(n[0]),"".concat(n[2],".").concat(n[3],".").concat(n[1]),"".concat(n[3],".").concat(n[0],".").concat(n[1]),"".concat(n[3],".").concat(n[0],".").concat(n[2]),"".concat(n[3],".").concat(n[1],".").concat(n[0]),"".concat(n[3],".").concat(n[1],".").concat(n[2]),"".concat(n[3],".").concat(n[2],".").concat(n[0]),"".concat(n[3],".").concat(n[2],".").concat(n[1]),"".concat(n[0],".").concat(n[1],".").concat(n[2],".").concat(n[3]),"".concat(n[0],".").concat(n[1],".").concat(n[3],".").concat(n[2]),"".concat(n[0],".").concat(n[2],".").concat(n[1],".").concat(n[3]),"".concat(n[0],".").concat(n[2],".").concat(n[3],".").concat(n[1]),"".concat(n[0],".").concat(n[3],".").concat(n[1],".").concat(n[2]),"".concat(n[0],".").concat(n[3],".").concat(n[2],".").concat(n[1]),"".concat(n[1],".").concat(n[0],".").concat(n[2],".").concat(n[3]),"".concat(n[1],".").concat(n[0],".").concat(n[3],".").concat(n[2]),"".concat(n[1],".").concat(n[2],".").concat(n[0],".").concat(n[3]),"".concat(n[1],".").concat(n[2],".").concat(n[3],".").concat(n[0]),"".concat(n[1],".").concat(n[3],".").concat(n[0],".").concat(n[2]),"".concat(n[1],".").concat(n[3],".").concat(n[2],".").concat(n[0]),"".concat(n[2],".").concat(n[0],".").concat(n[1],".").concat(n[3]),"".concat(n[2],".").concat(n[0],".").concat(n[3],".").concat(n[1]),"".concat(n[2],".").concat(n[1],".").concat(n[0],".").concat(n[3]),"".concat(n[2],".").concat(n[1],".").concat(n[3],".").concat(n[0]),"".concat(n[2],".").concat(n[3],".").concat(n[0],".").concat(n[1]),"".concat(n[2],".").concat(n[3],".").concat(n[1],".").concat(n[0]),"".concat(n[3],".").concat(n[0],".").concat(n[1],".").concat(n[2]),"".concat(n[3],".").concat(n[0],".").concat(n[2],".").concat(n[1]),"".concat(n[3],".").concat(n[1],".").concat(n[0],".").concat(n[2]),"".concat(n[3],".").concat(n[1],".").concat(n[2],".").concat(n[0]),"".concat(n[3],".").concat(n[2],".").concat(n[0],".").concat(n[1]),"".concat(n[3],".").concat(n[2],".").concat(n[1],".").concat(n[0])]:void 0}var x={};function _(n){if(0===n.length||1===n.length)return n;var i=n.join(".");return x[i]||(x[i]=S(n)),x[i]}function k(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;return _(n.filter(function(n){return"token"!==n})).reduce(function(n,i){return E(E({},n),o[i])},i)}function A(n){return n.join(" ")}function T(n,i){var o=0;return function(a){return o+=1,a.map(function(a,s){return C({node:a,stylesheet:n,useInlineStyles:i,key:"code-segment-".concat(o,"-").concat(s)})})}}function C(n){var i=n.node,o=n.stylesheet,a=n.style,s=void 0===a?{}:a,l=n.useInlineStyles,u=n.key,c=i.properties,d=i.type,p=i.tagName,f=i.value;if("text"===d)return f;if(p){var h,m=T(o,l);if(l){var g=Object.keys(o).reduce(function(n,i){return i.split(".").forEach(function(i){n.includes(i)||n.push(i)}),n},[]),b=c.className&&c.className.includes("token")?["token"]:[],w=c.className&&b.concat(c.className.filter(function(n){return!g.includes(n)}));h=E(E({},c),{},{className:A(w)||void 0,style:k(c.className,Object.assign({},c.style,s),o)})}else h=E(E({},c),{},{className:A(c.className)});var S=m(i.children);return y.createElement(p,(0,v.Z)({key:u},h),S)}}var R=function(n,i){return -1!==n.listLanguages().indexOf(i)},D=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function O(n,i){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);i&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),o.push.apply(o,a)}return o}function I(n){for(var i=1;i1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=0;a2&&void 0!==arguments[2]?arguments[2]:[];return z({children:n,lineNumber:i,lineNumberStyle:c,largestLineNumber:u,showInlineLineNumbers:s,lineProps:o,className:l,showLineNumbers:a,wrapLongLines:d})}function y(n,i){if(a&&i&&s){var o=U(c,i,u);n.unshift(B(i,o))}return n}function v(n,o){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return i||a.length>0?b(n,o,a):y(n,o)}for(var w=function(){var n=f[g],i=n.children[0].value;if(M(i)){var o=i.split("\n");o.forEach(function(i,s){var u=a&&h.length+l,c={type:"text",value:"".concat(i,"\n")};if(0===s){var d=v(f.slice(m+1,g).concat(z({children:[c],className:n.properties.className})),u);h.push(d)}else if(s===o.length-1){var p=f[g+1]&&f[g+1].children&&f[g+1].children[0],b={type:"text",value:"".concat(i)};if(p){var y=z({children:[b],className:n.properties.className});f.splice(g+1,0,y)}else{var w=v([b],u,n.properties.className);h.push(w)}}else{var E=v([c],u,n.properties.className);h.push(E)}}),m=g}g++};g code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},K=o(98695),Y=o.n(K),Z=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"],X=q(Y(),W);X.supportedLanguages=Z;var J=X},79166:function(n,i){"use strict";i.Z={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}}},24762:function(n,i,o){"use strict";o.d(i,{Z:function(){return o0}});var a,s,l,u,c,d,p,f,h,m,g,b,y,v=o(67294),w=o(45697),E=o.n(w),S="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),x=new Uint8Array(16);function _(){if(!S)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return S(x)}for(var k=[],A=0;A<256;++A)k[A]=(A+256).toString(16).substr(1);var T=function(n,i){var o=i||0,a=k;return[a[n[o++]],a[n[o++]],a[n[o++]],a[n[o++]],"-",a[n[o++]],a[n[o++]],"-",a[n[o++]],a[n[o++]],"-",a[n[o++]],a[n[o++]],"-",a[n[o++]],a[n[o++]],a[n[o++]],a[n[o++]],a[n[o++]],a[n[o++]]].join("")},C=function(n,i,o){var a=i&&o||0;"string"==typeof n&&(i="binary"===n?Array(16):null,n=null);var s=(n=n||{}).random||(n.rng||_)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,i)for(var l=0;l<16;++l)i[a+l]=s[l];return i||T(s)};function R(n,i){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);i&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),o.push.apply(o,a)}return o}function D(n){for(var i=1;in.length)&&(i=n.length);for(var o=0,a=Array(i);o=n.length?{done:!0}:{done:!1,value:n[a++]}},e:function(n){throw n},f:s}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,c=!1;return{s:function(){o=o.call(n)},n:function(){var n=o.next();return u=n.done,n},e:function(n){c=!0,l=n},f:function(){try{u||null==o.return||o.return()}finally{if(c)throw l}}}}var q="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==o.g?o.g:"undefined"!=typeof self?self:{},W=function(n){return n&&n.Math==Math&&n},K=W("object"==typeof globalThis&&globalThis)||W("object"==typeof window&&window)||W("object"==typeof self&&self)||W("object"==typeof q&&q)||function(){return this}()||Function("return this")(),Y={},Z=function(n){try{return!!n()}catch(i){return!0}},X=!Z(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),J=!Z(function(){var n=(function(){}).bind();return"function"!=typeof n||n.hasOwnProperty("prototype")}),Q=J,ee=Function.prototype.call,et=Q?ee.bind(ee):function(){return ee.apply(ee,arguments)},en={},er={}.propertyIsEnumerable,ei=Object.getOwnPropertyDescriptor,eo=ei&&!er.call({1:2},1);en.f=eo?function(n){var i=ei(this,n);return!!i&&i.enumerable}:er;var ea=function(n,i){return{enumerable:!(1&n),configurable:!(2&n),writable:!(4&n),value:i}},es=J,el=Function.prototype,eu=el.call,ec=es&&el.bind.bind(eu,eu),ed=function(n){return es?ec(n):function(){return eu.apply(n,arguments)}},ep=ed,ef=ep({}.toString),eh=ep("".slice),em=function(n){return eh(ef(n),8,-1)},eg=em,eb=ed,ey=function(n){if("Function"===eg(n))return eb(n)},ev=Z,ew=em,eE=Object,eS=ey("".split),ex=ev(function(){return!eE("z").propertyIsEnumerable(0)})?function(n){return"String"==ew(n)?eS(n,""):eE(n)}:eE,e_=function(n){return null==n},ek=e_,eA=TypeError,eT=function(n){if(ek(n))throw eA("Can't call method on "+n);return n},eC=ex,eR=eT,eD=function(n){return eC(eR(n))},eO="object"==typeof document&&document.all,eI=void 0===eO&&void 0!==eO,eN={all:eO,IS_HTMLDDA:eI},eM=eN,eL=eM.all,eP=eM.IS_HTMLDDA?function(n){return"function"==typeof n||n===eL}:function(n){return"function"==typeof n},eF=eP,eB=eN,eU=eB.all,ez=eB.IS_HTMLDDA?function(n){return"object"==typeof n?null!==n:eF(n)||n===eU}:function(n){return"object"==typeof n?null!==n:eF(n)},ej=K,e$=eP,eH=function(n){return e$(n)?n:void 0},eV=function(n,i){return arguments.length<2?eH(ej[n]):ej[n]&&ej[n][i]},eG=ey({}.isPrototypeOf),eq=eV("navigator","userAgent")||"",eW=K,eK=eq,eY=eW.process,eZ=eW.Deno,eX=eY&&eY.versions||eZ&&eZ.version,eJ=eX&&eX.v8;eJ&&(p=(d=eJ.split("."))[0]>0&&d[0]<4?1:+(d[0]+d[1])),!p&&eK&&(!(d=eK.match(/Edge\/(\d+)/))||d[1]>=74)&&(d=eK.match(/Chrome\/(\d+)/))&&(p=+d[1]);var eQ=p,e0=Z,e1=!!Object.getOwnPropertySymbols&&!e0(function(){var n=Symbol();return!String(n)||!(Object(n) instanceof Symbol)||!Symbol.sham&&eQ&&eQ<41}),e2=e1&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,e3=eV,e5=eP,e4=eG,e6=Object,e8=e2?function(n){return"symbol"==typeof n}:function(n){var i=e3("Symbol");return e5(i)&&e4(i.prototype,e6(n))},e9=String,e7=eP,te=function(n){try{return e9(n)}catch(i){return"Object"}},tt=TypeError,tn=function(n){if(e7(n))return n;throw tt(te(n)+" is not a function")},tr=tn,ti=e_,to=function(n,i){var o=n[i];return ti(o)?void 0:tr(o)},ta=et,ts=eP,tl=ez,tu=TypeError,tc=function(n,i){var o,a;if("string"===i&&ts(o=n.toString)&&!tl(a=ta(o,n))||ts(o=n.valueOf)&&!tl(a=ta(o,n))||"string"!==i&&ts(o=n.toString)&&!tl(a=ta(o,n)))return a;throw tu("Can't convert object to primitive value")},td={exports:{}},tp=K,tf=Object.defineProperty,th=function(n,i){try{tf(tp,n,{value:i,configurable:!0,writable:!0})}catch(o){tp[n]=i}return i},tm=th,tg="__core-js_shared__",tb=K[tg]||tm(tg,{}),ty=tb;(td.exports=function(n,i){return ty[n]||(ty[n]=void 0!==i?i:{})})("versions",[]).push({version:"3.25.5",mode:"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE",source:"https://github.com/zloirock/core-js"});var tv=eT,tw=Object,tE=function(n){return tw(tv(n))},tS=tE,tx=ey({}.hasOwnProperty),t_=Object.hasOwn||function(n,i){return tx(tS(n),i)},tk=0,tA=Math.random(),tT=ey(1..toString),tC=function(n){return"Symbol("+(void 0===n?"":n)+")_"+tT(++tk+tA,36)},tR=K,tD=td.exports,tO=t_,tI=tC,tN=e1,tM=e2,tL=tD("wks"),tP=tR.Symbol,tF=tP&&tP.for,tB=tM?tP:tP&&tP.withoutSetter||tI,tU=function(n){if(!tO(tL,n)||!(tN||"string"==typeof tL[n])){var i="Symbol."+n;tN&&tO(tP,n)?tL[n]=tP[n]:tM&&tF?tL[n]=tF(i):tL[n]=tB(i)}return tL[n]},tz=et,tj=ez,t$=e8,tH=to,tV=tc,tG=TypeError,tq=tU("toPrimitive"),tW=function(n,i){if(!tj(n)||t$(n))return n;var o,a=tH(n,tq);if(a){if(void 0===i&&(i="default"),!tj(o=tz(a,n,i))||t$(o))return o;throw tG("Can't convert object to primitive value")}return void 0===i&&(i="number"),tV(n,i)},tK=e8,tY=function(n){var i=tW(n,"string");return tK(i)?i:i+""},tZ=ez,tX=K.document,tJ=tZ(tX)&&tZ(tX.createElement),tQ=function(n){return tJ?tX.createElement(n):{}},t0=Z,t1=tQ,t2=!X&&!t0(function(){return 7!=Object.defineProperty(t1("div"),"a",{get:function(){return 7}}).a}),t3=X,t5=et,t4=en,t6=ea,t8=eD,t9=tY,t7=t_,ne=t2,nt=Object.getOwnPropertyDescriptor;Y.f=t3?nt:function(n,i){if(n=t8(n),i=t9(i),ne)try{return nt(n,i)}catch(o){}if(t7(n,i))return t6(!t5(t4.f,n,i),n[i])};var nn={},nr=Z,ni=X&&nr(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),no=ez,na=String,ns=TypeError,nl=function(n){if(no(n))return n;throw ns(na(n)+" is not an object")},nu=X,nc=t2,nd=ni,np=nl,nf=tY,nh=TypeError,nm=Object.defineProperty,ng=Object.getOwnPropertyDescriptor,nb="enumerable",ny="configurable",nv="writable";nn.f=nu?nd?function(n,i,o){if(np(n),i=nf(i),np(o),"function"==typeof n&&"prototype"===i&&"value"in o&&nv in o&&!o[nv]){var a=ng(n,i);a&&a[nv]&&(n[i]=o.value,o={configurable:ny in o?o[ny]:a[ny],enumerable:nb in o?o[nb]:a[nb],writable:!1})}return nm(n,i,o)}:nm:function(n,i,o){if(np(n),i=nf(i),np(o),nc)try{return nm(n,i,o)}catch(a){}if("get"in o||"set"in o)throw nh("Accessors not supported");return"value"in o&&(n[i]=o.value),n};var nw=nn,nE=ea,nS=X?function(n,i,o){return nw.f(n,i,nE(1,o))}:function(n,i,o){return n[i]=o,n},nx={exports:{}},n_=X,nk=Function.prototype,nA=n_&&Object.getOwnPropertyDescriptor,nT=t_(nk,"name"),nC=nT&&"something"===(function(){}).name,nR=nT&&(!n_||n_&&nA(nk,"name").configurable),nD={EXISTS:nT,PROPER:nC,CONFIGURABLE:nR},nO=eP,nI=tb,nN=ey(Function.toString);nO(nI.inspectSource)||(nI.inspectSource=function(n){return nN(n)});var nM=nI.inspectSource,nL=eP,nP=K.WeakMap,nF=nL(nP)&&/native code/.test(String(nP)),nB=td.exports,nU=tC,nz=nB("keys"),nj=function(n){return nz[n]||(nz[n]=nU(n))},n$={},nH=nF,nV=K,nG=ez,nq=nS,nW=t_,nK=tb,nY=nj,nZ=n$,nX="Object already initialized",nJ=nV.TypeError,nQ=nV.WeakMap,n0=function(n){return m(n)?h(n):f(n,{})},n1=function(n){return function(i){var o;if(!nG(i)||(o=h(i)).type!==n)throw nJ("Incompatible receiver, "+n+" required");return o}};if(nH||nK.state){var n2=nK.state||(nK.state=new nQ);n2.get=n2.get,n2.has=n2.has,n2.set=n2.set,f=function(n,i){if(n2.has(n))throw nJ(nX);return i.facade=n,n2.set(n,i),i},h=function(n){return n2.get(n)||{}},m=function(n){return n2.has(n)}}else{var n3=nY("state");nZ[n3]=!0,f=function(n,i){if(nW(n,n3))throw nJ(nX);return i.facade=n,nq(n,n3,i),i},h=function(n){return nW(n,n3)?n[n3]:{}},m=function(n){return nW(n,n3)}}var n5={set:f,get:h,has:m,enforce:n0,getterFor:n1},n4=Z,n6=eP,n8=t_,n9=X,n7=nD.CONFIGURABLE,re=nM,rt=n5,rn=rt.enforce,rr=rt.get,ri=Object.defineProperty,ro=n9&&!n4(function(){return 8!==ri(function(){},"length",{value:8}).length}),ra=String(String).split("String"),rs=nx.exports=function(n,i,o){"Symbol("===String(i).slice(0,7)&&(i="["+String(i).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),o&&o.getter&&(i="get "+i),o&&o.setter&&(i="set "+i),(!n8(n,"name")||n7&&n.name!==i)&&(n9?ri(n,"name",{value:i,configurable:!0}):n.name=i),ro&&o&&n8(o,"arity")&&n.length!==o.arity&&ri(n,"length",{value:o.arity});try{o&&n8(o,"constructor")&&o.constructor?n9&&ri(n,"prototype",{writable:!1}):n.prototype&&(n.prototype=void 0)}catch(a){}var s=rn(n);return n8(s,"source")||(s.source=ra.join("string"==typeof i?i:"")),n};Function.prototype.toString=rs(function(){return n6(this)&&rr(this).source||re(this)},"toString");var rl=eP,ru=nn,rc=nx.exports,rd=th,rp=function(n,i,o,a){a||(a={});var s=a.enumerable,l=void 0!==a.name?a.name:i;if(rl(o)&&rc(o,l,a),a.global)s?n[i]=o:rd(i,o);else{try{a.unsafe?n[i]&&(s=!0):delete n[i]}catch(u){}s?n[i]=o:ru.f(n,i,{value:o,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return n},rf={},rh=Math.ceil,rm=Math.floor,rg=Math.trunc||function(n){var i=+n;return(i>0?rm:rh)(i)},rb=function(n){var i=+n;return i!=i||0===i?0:rg(i)},ry=rb,rv=Math.max,rw=Math.min,rE=rb,rS=Math.min,rx=function(n){return n>0?rS(rE(n),9007199254740991):0},r_=function(n){return rx(n.length)},rk=eD,rA=function(n,i){var o=ry(n);return o<0?rv(o+i,0):rw(o,i)},rT=r_,rC=function(n){return function(i,o,a){var s,l=rk(i),u=rT(l),c=rA(a,u);if(n&&o!=o){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((n||c in l)&&l[c]===o)return n||c||0;return!n&&-1}},rR={includes:rC(!0),indexOf:rC(!1)},rD=ey,rO=t_,rI=eD,rN=rR.indexOf,rM=n$,rL=rD([].push),rP=function(n,i){var o,a=rI(n),s=0,l=[];for(o in a)!rO(rM,o)&&rO(a,o)&&rL(l,o);for(;i.length>s;)rO(a,o=i[s++])&&(~rN(l,o)||rL(l,o));return l},rF=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],rB=rP,rU=rF.concat("length","prototype");rf.f=Object.getOwnPropertyNames||function(n){return rB(n,rU)};var rz={};rz.f=Object.getOwnPropertySymbols;var rj=eV,r$=rf,rH=rz,rV=nl,rG=ey([].concat),rq=rj("Reflect","ownKeys")||function(n){var i=r$.f(rV(n)),o=rH.f;return o?rG(i,o(n)):i},rW=t_,rK=rq,rY=Y,rZ=nn,rX=function(n,i,o){for(var a=rK(i),s=rZ.f,l=rY.f,u=0;uE;E++)if((c||E in y)&&(g=v(m=y[E],E,b),n)){if(i)x[E]=g;else if(g)switch(n){case 3:return!0;case 5:return m;case 6:return E;case 2:iY(x,m)}else switch(n){case 4:return!1;case 7:iY(x,m)}}return l?-1:a||s?s:x}},iX={forEach:iZ(0),map:iZ(1),filter:iZ(2),some:iZ(3),every:iZ(4),find:iZ(5),findIndex:iZ(6),filterReject:iZ(7)},iJ={},iQ=rP,i0=rF,i1=X,i2=ni,i3=nn,i5=nl,i4=eD,i6=Object.keys||function(n){return iQ(n,i0)};iJ.f=i1&&!i2?Object.defineProperties:function(n,i){i5(n);for(var o,a=i4(i),s=i6(i),l=s.length,u=0;l>u;)i3.f(n,o=s[u++],a[o]);return n};var i8=eV("document","documentElement"),i9=nl,i7=iJ,oe=rF,ot=n$,on=i8,or=tQ,oi=">",oo="<",oa="prototype",ol="script",ou=nj("IE_PROTO"),oc=function(){},od=function(n){return oo+ol+oi+n+oo+"/"+ol+oi},op=function(n){n.write(od("")),n.close();var i=n.parentWindow.Object;return n=null,i},of=function(){var n,i=or("iframe"),o="java"+ol+":";return i.style.display="none",on.appendChild(i),i.src=String(o),(n=i.contentWindow.document).open(),n.write(od("document.F=Object")),n.close(),n.F},oh=function(){try{g=new ActiveXObject("htmlfile")}catch(n){}oh="undefined"!=typeof document?document.domain&&g?op(g):of():op(g);for(var i=oe.length;i--;)delete oh[oa][oe[i]];return oh()};ot[ou]=!0;var om=tU,og=Object.create||function(n,i){var o;return null!==n?(oc[oa]=i9(n),o=new oc,oc[oa]=null,o[ou]=n):o=oh(),void 0===i?o:i7.f(o,i)},ob=nn.f,oy=om("unscopables"),ov=Array.prototype;void 0==ov[oy]&&ob(ov,oy,{configurable:!0,value:og(null)});var ow=function(n){ov[oy][n]=!0},oE=io,oS=iX.find,ox=ow,o_="find",ok=!0;o_ in[]&&[,][o_](function(){ok=!1}),oE({target:"Array",proto:!0,forced:ok},{find:function(n){return oS(this,n,arguments.length>1?arguments[1]:void 0)}}),ox(o_);var oA={GLOBAL:{HIDE:"__react_tooltip_hide_event",REBUILD:"__react_tooltip_rebuild_event",SHOW:"__react_tooltip_show_event"}},oT=function(n,i){var o;"function"==typeof window.CustomEvent?o=new window.CustomEvent(n,{detail:i}):(o=document.createEvent("Event")).initEvent(n,!1,!0,i),window.dispatchEvent(o)},oC=function(n,i){var o=this.state.show,a=this.props.id,s=this.isCapture(i.currentTarget),l=i.currentTarget.getAttribute("currentItem");s||i.stopPropagation(),o&&"true"===l?n||this.hideTooltip(i):(i.currentTarget.setAttribute("currentItem","true"),oR(i.currentTarget,this.getTargetArray(a)),this.showTooltip(i))},oR=function(n,i){for(var o=0;oR(n)},M=function(n){return D(n)>_},L=function(n){return 0>O(n)},P=function(n){return I(n)>k},F=function(n){return N(n)||M(n)||L(n)||P(n)},B=function(n){return!F(n)},U={top:B("top"),bottom:B("bottom"),left:B("left"),right:B("right")},z=function(){var n,i=G(s.split(",").concat(a,["top","bottom","left","right"]));try{for(i.s();!(n=i.n()).done;){var o=n.value;if(U[o])return o}}catch(l){i.e(l)}finally{i.f()}return a}(),j=!1;return(z&&z!==a&&(j=!0,c=z),j)?{isNewState:!0,newState:{place:c}}:{isNewState:!1,position:{left:parseInt(R(a)-C,10),top:parseInt(O(a)-T,10)}}}var oF=function(n){var i=n.getBoundingClientRect(),o=i.height,a=i.width;return{height:parseInt(o,10),width:parseInt(a,10)}},oB=function(n,i,o){var a=i.getBoundingClientRect(),s=a.top,l=a.left,u=oF(i),c=u.width,d=u.height;return"float"===o?{mouseX:n.clientX,mouseY:n.clientY}:{mouseX:l+c/2,mouseY:s+d/2}},oU=function(n,i,o,a,s){var l,u,c,d,p=3,f=2,h=12;return"float"===n?(l={l:-(a/2),r:a/2,t:-(s+p+f),b:-p},c={l:-(a/2),r:a/2,t:p+h,b:s+p+f+h},d={l:-(a+p+f),r:-p,t:-(s/2),b:s/2},u={l:p,r:a+p+f,t:-(s/2),b:s/2}):"solid"===n&&(l={l:-(a/2),r:a/2,t:-(o/2+s+f),b:-(o/2)},c={l:-(a/2),r:a/2,t:o/2,b:o/2+s+f},d={l:-(a+i/2+f),r:-(i/2),t:-(s/2),b:s/2},u={l:i/2,r:a+i/2+f,t:-(s/2),b:s/2}),{top:l,bottom:c,left:d,right:u}},oz=function(n){var i=0,o=0;for(var a in"[object String]"===Object.prototype.toString.apply(n)&&(n=JSON.parse(n.toString().replace(/'/g,'"'))),n)"top"===a?o-=parseInt(n[a],10):"bottom"===a?o+=parseInt(n[a],10):"left"===a?i-=parseInt(n[a],10):"right"===a&&(i+=parseInt(n[a],10));return{extraOffsetX:i,extraOffsetY:o}},oj=function(n){for(var i=n;i;){var o=window.getComputedStyle(i);if("none"!==o.getPropertyValue("transform")||"transform"===o.getPropertyValue("will-change"))break;i=i.parentElement}return{parentTop:i&&i.getBoundingClientRect().top||0,parentLeft:i&&i.getBoundingClientRect().left||0}};function o$(n,i,o,a){if(i)return i;if(null!=o)return o;if(null===o)return null;var s=//;return a&&"false"!==a&&s.test(n)?n.split(s).map(function(n,i){return v.createElement("span",{key:i,className:"multi-line"},n)}):n}function oH(n){var i={};return Object.keys(n).filter(function(n){return/(^aria-\w+$|^role$)/.test(n)}).forEach(function(o){i[o]=n[o]}),i}function oV(n){var i=n.length;return n.hasOwnProperty?Array.prototype.slice.call(n):Array(i).fill().map(function(i){return n[i]})}function oG(){return"t"+C()}var oq='.__react_component_tooltip {\n border-radius: 3px;\n display: inline-block;\n font-size: 13px;\n left: -999em;\n opacity: 0;\n position: fixed;\n pointer-events: none;\n transition: opacity 0.3s ease-out;\n top: -999em;\n visibility: hidden;\n z-index: 999;\n}\n.__react_component_tooltip.allow_hover, .__react_component_tooltip.allow_click {\n pointer-events: auto;\n}\n.__react_component_tooltip::before, .__react_component_tooltip::after {\n content: "";\n width: 0;\n height: 0;\n position: absolute;\n}\n.__react_component_tooltip.show {\n opacity: 0.9;\n margin-top: 0;\n margin-left: 0;\n visibility: visible;\n}\n.__react_component_tooltip.place-top::before {\n bottom: 0;\n left: 50%;\n margin-left: -11px;\n}\n.__react_component_tooltip.place-bottom::before {\n top: 0;\n left: 50%;\n margin-left: -11px;\n}\n.__react_component_tooltip.place-left::before {\n right: 0;\n top: 50%;\n margin-top: -9px;\n}\n.__react_component_tooltip.place-right::before {\n left: 0;\n top: 50%;\n margin-top: -9px;\n}\n.__react_component_tooltip .multi-line {\n display: block;\n padding: 2px 0;\n text-align: center;\n}',oW={dark:{text:"#fff",background:"#222",border:"transparent",arrow:"#222"},success:{text:"#fff",background:"#8DC572",border:"transparent",arrow:"#8DC572"},warning:{text:"#fff",background:"#F0AD4E",border:"transparent",arrow:"#F0AD4E"},error:{text:"#fff",background:"#BE6464",border:"transparent",arrow:"#BE6464"},info:{text:"#fff",background:"#337AB7",border:"transparent",arrow:"#337AB7"},light:{text:"#222",background:"#fff",border:"transparent",arrow:"#fff"}};function oK(n){return oW[n]?D({},oW[n]):void 0}var oY="8px 21px",oZ={tooltip:3,arrow:0};function oX(n,i,o,a,s,l){return oJ(n,oQ(i,o,a),s,l)}function oJ(n,i){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:oY,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:oZ,s=i.text,l=i.background,u=i.border,c=i.arrow,d=a.arrow,p=a.tooltip;return"\n .".concat(n," {\n color: ").concat(s,";\n background: ").concat(l,";\n border: 1px solid ").concat(u,";\n border-radius: ").concat(p,"px;\n padding: ").concat(o,";\n }\n\n .").concat(n,".place-top {\n margin-top: -10px;\n }\n .").concat(n,'.place-top::before {\n content: "";\n background-color: inherit;\n position: absolute;\n z-index: 2;\n width: 20px;\n height: 12px;\n }\n .').concat(n,'.place-top::after {\n content: "";\n position: absolute;\n width: 10px;\n height: 10px;\n border-top-right-radius: ').concat(d,"px;\n border: 1px solid ").concat(u,";\n background-color: ").concat(c,";\n z-index: -2;\n bottom: -6px;\n left: 50%;\n margin-left: -6px;\n transform: rotate(135deg);\n }\n\n .").concat(n,".place-bottom {\n margin-top: 10px;\n }\n .").concat(n,'.place-bottom::before {\n content: "";\n background-color: inherit;\n position: absolute;\n z-index: -1;\n width: 18px;\n height: 10px;\n }\n .').concat(n,'.place-bottom::after {\n content: "";\n position: absolute;\n width: 10px;\n height: 10px;\n border-top-right-radius: ').concat(d,"px;\n border: 1px solid ").concat(u,";\n background-color: ").concat(c,";\n z-index: -2;\n top: -6px;\n left: 50%;\n margin-left: -6px;\n transform: rotate(45deg);\n }\n\n .").concat(n,".place-left {\n margin-left: -10px;\n }\n .").concat(n,'.place-left::before {\n content: "";\n background-color: inherit;\n position: absolute;\n z-index: -1;\n width: 10px;\n height: 18px;\n }\n .').concat(n,'.place-left::after {\n content: "";\n position: absolute;\n width: 10px;\n height: 10px;\n border-top-right-radius: ').concat(d,"px;\n border: 1px solid ").concat(u,";\n background-color: ").concat(c,";\n z-index: -2;\n right: -6px;\n top: 50%;\n margin-top: -6px;\n transform: rotate(45deg);\n }\n\n .").concat(n,".place-right {\n margin-left: 10px;\n }\n .").concat(n,'.place-right::before {\n content: "";\n background-color: inherit;\n position: absolute;\n z-index: -1;\n width: 10px;\n height: 18px;\n }\n .').concat(n,'.place-right::after {\n content: "";\n position: absolute;\n width: 10px;\n height: 10px;\n border-top-right-radius: ').concat(d,"px;\n border: 1px solid ").concat(u,";\n background-color: ").concat(c,";\n z-index: -2;\n left: -6px;\n top: 50%;\n margin-top: -6px;\n transform: rotate(-135deg);\n }\n ")}function oQ(n,i,o){var a=n.text,s=n.background,l=n.border,u=n.arrow?n.arrow:n.background,c=oK(i);return a&&(c.text=a),s&&(c.background=s),o&&(l?c.border=l:c.border="light"===i?"black":"white"),u&&(c.arrow=u),c}var o0=((((((((M(y=function(n){P(o,n);var i=$(o);function o(n){var a;return O(this,o),(a=i.call(this,n)).state={uuid:n.uuid||oG(),place:n.place||"top",desiredPlace:n.place||"top",type:n.type||"dark",effect:n.effect||"float",show:!1,border:!1,borderClass:"border",customColors:{},customRadius:{},offset:{},padding:n.padding,extraClass:"",html:!1,delayHide:0,delayShow:0,event:n.event||null,eventOff:n.eventOff||null,currentEvent:null,currentTarget:null,ariaProps:oH(n),isEmptyTip:!1,disable:!1,possibleCustomEvents:n.possibleCustomEvents||"",possibleCustomEventsOff:n.possibleCustomEventsOff||"",originTooltip:null,isMultiline:!1},a.bind(["showTooltip","updateTooltip","hideTooltip","hideTooltipOnScroll","getTooltipContent","globalRebuild","globalShow","globalHide","onWindowResize","mouseOnToolTip"]),a.mount=!0,a.delayShowLoop=null,a.delayHideLoop=null,a.delayReshow=null,a.intervalUpdateContent=null,a}return N(o,[{key:"bind",value:function(n){var i=this;n.forEach(function(n){i[n]=i[n].bind(i)})}},{key:"componentDidMount",value:function(){var n=this.props;n.insecure;var i=n.resizeHide,o=n.disableInternalStyle;this.mount=!0,this.bindListener(),this.bindWindowEvents(i),o||this.injectStyles()}},{key:"componentWillUnmount",value:function(){this.mount=!1,this.clearTimer(),this.unbindListener(),this.removeScrollListener(this.state.currentTarget),this.unbindWindowEvents()}},{key:"injectStyles",value:function(){var n,i=this.tooltipRef;if(i){for(var o=i.parentNode;o.parentNode;)o=o.parentNode;switch(o.constructor.name){case"Document":case"HTMLDocument":case void 0:n=o.head;break;default:n=o}if(!n.querySelector("style[data-react-tooltip]")){var a=document.createElement("style");a.textContent=oq,a.setAttribute("data-react-tooltip","true"),n.appendChild(a)}}}},{key:"mouseOnToolTip",value:function(){return!!this.state.show&&!!this.tooltipRef&&(this.tooltipRef.matches||(this.tooltipRef.msMatchesSelector?this.tooltipRef.matches=this.tooltipRef.msMatchesSelector:this.tooltipRef.matches=this.tooltipRef.mozMatchesSelector),this.tooltipRef.matches(":hover"))}},{key:"getTargetArray",value:function(n){var i,o=[];if(n){var a=n.replace(/\\/g,"\\\\").replace(/"/g,'\\"');i='[data-tip][data-for="'.concat(a,'"]')}else i="[data-tip]:not([data-for])";return oV(document.getElementsByTagName("*")).filter(function(n){return n.shadowRoot}).forEach(function(n){o=o.concat(oV(n.shadowRoot.querySelectorAll(i)))}),o.concat(oV(document.querySelectorAll(i)))}},{key:"bindListener",value:function(){var n=this,i=this.props,o=i.id,a=i.globalEventOff,s=i.isCapture,l=this.getTargetArray(o);l.forEach(function(i){null===i.getAttribute("currentItem")&&i.setAttribute("currentItem","false"),n.unbindBasicListener(i),n.isCustomEvent(i)&&n.customUnbindListener(i)}),this.isBodyMode()?this.bindBodyListener(l):l.forEach(function(i){var o=n.isCapture(i),a=n.getEffect(i);if(n.isCustomEvent(i)){n.customBindListener(i);return}i.addEventListener("mouseenter",n.showTooltip,o),i.addEventListener("focus",n.showTooltip,o),"float"===a&&i.addEventListener("mousemove",n.updateTooltip,o),i.addEventListener("mouseleave",n.hideTooltip,o),i.addEventListener("blur",n.hideTooltip,o)}),a&&(window.removeEventListener(a,this.hideTooltip),window.addEventListener(a,this.hideTooltip,s)),this.bindRemovalTracker()}},{key:"unbindListener",value:function(){var n=this,i=this.props,o=i.id,a=i.globalEventOff;this.isBodyMode()?this.unbindBodyListener():this.getTargetArray(o).forEach(function(i){n.unbindBasicListener(i),n.isCustomEvent(i)&&n.customUnbindListener(i)}),a&&window.removeEventListener(a,this.hideTooltip),this.unbindRemovalTracker()}},{key:"unbindBasicListener",value:function(n){var i=this.isCapture(n);n.removeEventListener("mouseenter",this.showTooltip,i),n.removeEventListener("mousemove",this.updateTooltip,i),n.removeEventListener("mouseleave",this.hideTooltip,i)}},{key:"getTooltipContent",value:function(){var n,i=this.props,o=i.getContent,a=i.children;return o&&(n=Array.isArray(o)?o[0]&&o[0](this.state.originTooltip):o(this.state.originTooltip)),o$(this.state.originTooltip,a,n,this.state.isMultiline)}},{key:"isEmptyTip",value:function(n){return"string"==typeof n&&""===n||null===n}},{key:"showTooltip",value:function(n,i){if(this.tooltipRef&&(!i||this.getTargetArray(this.props.id).some(function(i){return i===n.currentTarget}))){var o=this.props,a=o.multiline,s=o.getContent,l=n.currentTarget.getAttribute("data-tip"),u=n.currentTarget.getAttribute("data-multiline")||a||!1,c=n instanceof window.FocusEvent||i,d=!0;n.currentTarget.getAttribute("data-scroll-hide")?d="true"===n.currentTarget.getAttribute("data-scroll-hide"):null!=this.props.scrollHide&&(d=this.props.scrollHide),n&&n.currentTarget&&n.currentTarget.setAttribute&&n.currentTarget.setAttribute("aria-describedby",this.props.id||this.state.uuid);var p=n.currentTarget.getAttribute("data-place")||this.props.place||"top",f=c&&"solid"||this.getEffect(n.currentTarget),h=n.currentTarget.getAttribute("data-offset")||this.props.offset||{},m=oP(n,n.currentTarget,this.tooltipRef,p.split(",")[0],p,f,h);m.position&&this.props.overridePosition&&(m.position=this.props.overridePosition(m.position,n,n.currentTarget,this.tooltipRef,p,p,f,h));var g=m.isNewState?m.newState.place:p.split(",")[0];this.clearTimer();var b=n.currentTarget,y=this.state.show?b.getAttribute("data-delay-update")||this.props.delayUpdate:0,v=this,w=function(){v.setState({originTooltip:l,isMultiline:u,desiredPlace:p,place:g,type:b.getAttribute("data-type")||v.props.type||"dark",customColors:{text:b.getAttribute("data-text-color")||v.props.textColor||null,background:b.getAttribute("data-background-color")||v.props.backgroundColor||null,border:b.getAttribute("data-border-color")||v.props.borderColor||null,arrow:b.getAttribute("data-arrow-color")||v.props.arrowColor||null},customRadius:{tooltip:b.getAttribute("data-tooltip-radius")||v.props.tooltipRadius||"3",arrow:b.getAttribute("data-arrow-radius")||v.props.arrowRadius||"0"},effect:f,offset:h,padding:b.getAttribute("data-padding")||v.props.padding,html:(b.getAttribute("data-html")?"true"===b.getAttribute("data-html"):v.props.html)||!1,delayShow:b.getAttribute("data-delay-show")||v.props.delayShow||0,delayHide:b.getAttribute("data-delay-hide")||v.props.delayHide||0,delayUpdate:b.getAttribute("data-delay-update")||v.props.delayUpdate||0,border:(b.getAttribute("data-border")?"true"===b.getAttribute("data-border"):v.props.border)||!1,borderClass:b.getAttribute("data-border-class")||v.props.borderClass||"border",extraClass:b.getAttribute("data-class")||v.props.class||v.props.className||"",disable:(b.getAttribute("data-tip-disable")?"true"===b.getAttribute("data-tip-disable"):v.props.disable)||!1,currentTarget:b},function(){d&&v.addScrollListener(v.state.currentTarget),v.updateTooltip(n),s&&Array.isArray(s)&&(v.intervalUpdateContent=setInterval(function(){if(v.mount){var n=v.props.getContent,i=o$(l,"",n[0](),u),o=v.isEmptyTip(i);v.setState({isEmptyTip:o}),v.updatePosition()}},s[1]))})};y?this.delayReshow=setTimeout(w,y):w()}}},{key:"updateTooltip",value:function(n){var i=this,o=this.state,a=o.delayShow,s=o.disable,l=this.props,u=l.afterShow,c=l.disable,d=this.getTooltipContent(),p=n.currentTarget||n.target;if(!(this.mouseOnToolTip()||this.isEmptyTip(d)||s||c)){var f=this.state.show?0:parseInt(a,10),h=function(){if(Array.isArray(d)&&d.length>0||d){var o=!i.state.show;i.setState({currentEvent:n,currentTarget:p,show:!0},function(){i.updatePosition(function(){o&&u&&u(n)})})}};this.delayShowLoop&&clearTimeout(this.delayShowLoop),f?this.delayShowLoop=setTimeout(h,f):(this.delayShowLoop=null,h())}}},{key:"listenForTooltipExit",value:function(){this.state.show&&this.tooltipRef&&this.tooltipRef.addEventListener("mouseleave",this.hideTooltip)}},{key:"removeListenerForTooltipExit",value:function(){this.state.show&&this.tooltipRef&&this.tooltipRef.removeEventListener("mouseleave",this.hideTooltip)}},{key:"hideTooltip",value:function(n,i){var o=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{isScroll:!1},s=this.state.disable,l=a.isScroll?0:this.state.delayHide,u=this.props,c=u.afterHide,d=u.disable,p=this.getTooltipContent();if(this.mount&&!this.isEmptyTip(p)&&!s&&!d){if(i&&(!this.getTargetArray(this.props.id).some(function(i){return i===n.currentTarget})||!this.state.show))return;n&&n.currentTarget&&n.currentTarget.removeAttribute&&n.currentTarget.removeAttribute("aria-describedby");var f=function(){var i=o.state.show;if(o.mouseOnToolTip()){o.listenForTooltipExit();return}o.removeListenerForTooltipExit(),o.setState({show:!1},function(){o.removeScrollListener(o.state.currentTarget),i&&c&&c(n)})};this.clearTimer(),l?this.delayHideLoop=setTimeout(f,parseInt(l,10)):f()}}},{key:"hideTooltipOnScroll",value:function(n,i){this.hideTooltip(n,i,{isScroll:!0})}},{key:"addScrollListener",value:function(n){var i=this.isCapture(n);window.addEventListener("scroll",this.hideTooltipOnScroll,i)}},{key:"removeScrollListener",value:function(n){var i=this.isCapture(n);window.removeEventListener("scroll",this.hideTooltipOnScroll,i)}},{key:"updatePosition",value:function(n){var i=this,o=this.state,a=o.currentEvent,s=o.currentTarget,l=o.place,u=o.desiredPlace,c=o.effect,d=o.offset,p=this.tooltipRef,f=oP(a,s,p,l,u,c,d);if(f.position&&this.props.overridePosition&&(f.position=this.props.overridePosition(f.position,a,s,p,l,u,c,d)),f.isNewState)return this.setState(f.newState,function(){i.updatePosition(n)});n&&"function"==typeof n&&n(),p.style.left=f.position.left+"px",p.style.top=f.position.top+"px"}},{key:"clearTimer",value:function(){this.delayShowLoop&&(clearTimeout(this.delayShowLoop),this.delayShowLoop=null),this.delayHideLoop&&(clearTimeout(this.delayHideLoop),this.delayHideLoop=null),this.delayReshow&&(clearTimeout(this.delayReshow),this.delayReshow=null),this.intervalUpdateContent&&(clearInterval(this.intervalUpdateContent),this.intervalUpdateContent=null)}},{key:"hasCustomColors",value:function(){var n=this;return Boolean(Object.keys(this.state.customColors).find(function(i){return"border"!==i&&n.state.customColors[i]})||this.state.border&&this.state.customColors.border)}},{key:"render",value:function(){var n=this,i=this.state,a=i.extraClass,s=i.html,l=i.ariaProps,u=i.disable,c=i.uuid,d=this.getTooltipContent(),p=this.isEmptyTip(d),f=this.props.disableInternalStyle?"":oX(this.state.uuid,this.state.customColors,this.state.type,this.state.border,this.state.padding,this.state.customRadius),h="__react_component_tooltip"+" ".concat(this.state.uuid)+(!this.state.show||u||p?"":" show")+(this.state.border?" "+this.state.borderClass:"")+" place-".concat(this.state.place)+" type-".concat(this.hasCustomColors()?"custom":this.state.type)+(this.props.delayUpdate?" allow_hover":"")+(this.props.clickable?" allow_click":""),m=this.props.wrapper;0>o.supportedWrappers.indexOf(m)&&(m=o.defaultProps.wrapper);var g=[h,a].filter(Boolean).join(" ");if(!s)return v.createElement(m,L({className:"".concat(g),id:this.props.id||c},l,{ref:function(i){return n.tooltipRef=i},"data-id":"tooltip"}),f&&v.createElement("style",{dangerouslySetInnerHTML:{__html:f},"aria-hidden":"true"}),d);var b="".concat(d).concat(f?'\n"):"");return v.createElement(m,L({className:"".concat(g),id:this.props.id||c,ref:function(i){return n.tooltipRef=i}},l,{"data-id":"tooltip",dangerouslySetInnerHTML:{__html:b}}))}}],[{key:"propTypes",get:function(){return{uuid:E().string,children:E().any,place:E().string,type:E().string,effect:E().string,offset:E().object,padding:E().string,multiline:E().bool,border:E().bool,borderClass:E().string,textColor:E().string,backgroundColor:E().string,borderColor:E().string,arrowColor:E().string,arrowRadius:E().string,tooltipRadius:E().string,insecure:E().bool,class:E().string,className:E().string,id:E().string,html:E().bool,delayHide:E().number,delayUpdate:E().number,delayShow:E().number,event:E().string,eventOff:E().string,isCapture:E().bool,globalEventOff:E().string,getContent:E().any,afterShow:E().func,afterHide:E().func,overridePosition:E().func,disable:E().bool,scrollHide:E().bool,resizeHide:E().bool,wrapper:E().string,bodyMode:E().bool,possibleCustomEvents:E().string,possibleCustomEventsOff:E().string,clickable:E().bool,disableInternalStyle:E().bool}}},{key:"getDerivedStateFromProps",value:function(n,i){var o=i.ariaProps,a=oH(n);return Object.keys(a).some(function(n){return a[n]!==o[n]})?D(D({},i),{},{ariaProps:a}):null}}]),o}(v.Component),"defaultProps",{insecure:!0,resizeHide:!0,wrapper:"div",clickable:!1}),M(y,"supportedWrappers",["div","span"]),M(y,"displayName","ReactTooltip"),a=b=y).prototype.bindRemovalTracker=function(){var n=this,i=oL();if(null!=i){var o=new i(function(i){for(var o=0;o]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}n.exports=i,i.displayName="abap",i.aliases=[]},68313:function(n){"use strict";function i(n){var i;i="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)",n.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+i+"|<"+i+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}}n.exports=i,i.displayName="abnf",i.aliases=[]},5199:function(n){"use strict";function i(n){n.languages.actionscript=n.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),n.languages.actionscript["class-name"].alias="function",delete n.languages.actionscript.parameter,delete n.languages.actionscript["literal-property"],n.languages.markup&&n.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:n.languages.markup}})}n.exports=i,i.displayName="actionscript",i.aliases=[]},89693:function(n){"use strict";function i(n){n.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}n.exports=i,i.displayName="ada",i.aliases=[]},24001:function(n){"use strict";function i(n){n.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}}n.exports=i,i.displayName="agda",i.aliases=[]},18018:function(n){"use strict";function i(n){n.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}n.exports=i,i.displayName="al",i.aliases=[]},36363:function(n){"use strict";function i(n){n.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},n.languages.g4=n.languages.antlr4}n.exports=i,i.displayName="antlr4",i.aliases=["g4"]},35281:function(n){"use strict";function i(n){n.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}n.exports=i,i.displayName="apacheconf",i.aliases=[]},10433:function(n,i,o){"use strict";var a=o(11114);function s(n){n.register(a),function(n){var i=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,o=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return i.source});function a(n){return RegExp(n.replace(//g,function(){return o}),"i")}var s={keyword:i,punctuation:/[()\[\]{};,:.<>]/};n.languages.apex={comment:n.languages.clike.comment,string:n.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:n.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:a(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:s},{pattern:a(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:s},{pattern:a(/(?=\s*\w+\s*[;=,(){:])/.source),inside:s}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(n)}n.exports=s,s.displayName="apex",s.aliases=[]},84039:function(n){"use strict";function i(n){n.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}n.exports=i,i.displayName="apl",i.aliases=[]},71336:function(n){"use strict";function i(n){n.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}n.exports=i,i.displayName="applescript",i.aliases=[]},4481:function(n){"use strict";function i(n){n.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}n.exports=i,i.displayName="aql",i.aliases=[]},2159:function(n,i,o){"use strict";var a=o(80096);function s(n){n.register(a),n.languages.arduino=n.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),n.languages.ino=n.languages.arduino}n.exports=s,s.displayName="arduino",s.aliases=["ino"]},60274:function(n){"use strict";function i(n){n.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}n.exports=i,i.displayName="arff",i.aliases=[]},18738:function(n){"use strict";function i(n){!function(n){var i={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},o=n.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:i,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:i.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:i,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function a(n){n=n.split(" ");for(var i={},a=0,s=n.length;a>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}n.exports=i,i.displayName="asmatmel",i.aliases=[]},78734:function(n,i,o){"use strict";var a=o(61958);function s(n){n.register(a),n.languages.aspnet=n.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:n.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:n.languages.csharp}}}),n.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.insertBefore("inside","punctuation",{directive:n.languages.aspnet.directive},n.languages.aspnet.tag.inside["attr-value"]),n.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),n.languages.insertBefore("aspnet",n.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:n.languages.csharp||{}}})}n.exports=s,s.displayName="aspnet",s.aliases=[]},6681:function(n){"use strict";function i(n){n.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}n.exports=i,i.displayName="autohotkey",i.aliases=[]},53358:function(n){"use strict";function i(n){n.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}n.exports=i,i.displayName="autoit",i.aliases=[]},81700:function(n){"use strict";function i(n){!function(n){function i(n,i){return n.replace(/<<(\d+)>>/g,function(n,o){return i[+o]})}function o(n,o,a){return RegExp(i(n,o),a||"")}var a=/bool|clip|float|int|string|val/.source,s=[[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|")].join("|");n.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:o(/\b(?:<<0>>)\s+("?)\w+\1/.source,[a],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:o(/\b(?:<<0>>)\b/.source,[s],"i"),alias:"function"},"type-cast":{pattern:o(/\b(?:<<0>>)(?=\s*\()/.source,[a],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},n.languages.avs=n.languages.avisynth}(n)}n.exports=i,i.displayName="avisynth",i.aliases=["avs"]},37219:function(n){"use strict";function i(n){n.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},n.languages.avdl=n.languages["avro-idl"]}n.exports=i,i.displayName="avroIdl",i.aliases=[]},6979:function(n){"use strict";function i(n){!function(n){var i="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",o={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},a={bash:o,environment:{pattern:RegExp("\\$"+i),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+i),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};n.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+i),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:a},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:o}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:a},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:a.entity}}],environment:{pattern:RegExp("\\$?"+i),alias:"constant"},variable:a.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},o.inside=n.languages.bash;for(var s=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],l=a.variable[1].inside,u=0;u?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}n.exports=i,i.displayName="basic",i.aliases=[]},94781:function(n){"use strict";function i(n){var i,o,a,s;i=/%%?[~:\w]+%?|!\S+!/,o={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},a=/"(?:[\\"]"|[^"])*"(?!")/,s=/(?:\b|-)\d+\b/,n.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:a,parameter:o,variable:i,number:s,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:a,parameter:o,variable:i,number:s,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:a,parameter:o,variable:[i,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:s,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:a,parameter:o,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:i,number:s,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}n.exports=i,i.displayName="batch",i.aliases=[]},62260:function(n){"use strict";function i(n){n.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},n.languages.shortcode=n.languages.bbcode}n.exports=i,i.displayName="bbcode",i.aliases=["shortcode"]},36153:function(n){"use strict";function i(n){n.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},n.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=n.languages.bicep}n.exports=i,i.displayName="bicep",i.aliases=[]},59258:function(n){"use strict";function i(n){n.languages.birb=n.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),n.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}n.exports=i,i.displayName="birb",i.aliases=[]},62890:function(n,i,o){"use strict";var a=o(65806);function s(n){n.register(a),n.languages.bison=n.languages.extend("c",{}),n.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:n.languages.c}},comment:n.languages.c.comment,string:n.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}n.exports=s,s.displayName="bison",s.aliases=[]},15958:function(n){"use strict";function i(n){n.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},n.languages.rbnf=n.languages.bnf}n.exports=i,i.displayName="bnf",i.aliases=["rbnf"]},61321:function(n){"use strict";function i(n){n.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}n.exports=i,i.displayName="brainfuck",i.aliases=[]},77856:function(n){"use strict";function i(n){n.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},n.languages.brightscript["directive-statement"].inside.expression.inside=n.languages.brightscript}n.exports=i,i.displayName="brightscript",i.aliases=[]},90741:function(n){"use strict";function i(n){n.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}n.exports=i,i.displayName="bro",i.aliases=[]},83410:function(n){"use strict";function i(n){n.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},n.languages.oscript=n.languages.bsl}n.exports=i,i.displayName="bsl",i.aliases=[]},65806:function(n){"use strict";function i(n){n.languages.c=n.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),n.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),n.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},n.languages.c.string],char:n.languages.c.char,comment:n.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:n.languages.c}}}}),n.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete n.languages.c.boolean}n.exports=i,i.displayName="c",i.aliases=[]},33039:function(n){"use strict";function i(n){n.languages.cfscript=n.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),n.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete n.languages.cfscript["class-name"],n.languages.cfc=n.languages.cfscript}n.exports=i,i.displayName="cfscript",i.aliases=[]},85082:function(n,i,o){"use strict";var a=o(80096);function s(n){n.register(a),n.languages.chaiscript=n.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[n.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),n.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),n.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}n.exports=s,s.displayName="chaiscript",s.aliases=[]},79415:function(n){"use strict";function i(n){n.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}n.exports=i,i.displayName="cil",i.aliases=[]},29726:function(n){"use strict";function i(n){n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}n.exports=i,i.displayName="clike",i.aliases=[]},62849:function(n){"use strict";function i(n){n.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}n.exports=i,i.displayName="clojure",i.aliases=[]},55773:function(n){"use strict";function i(n){n.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}n.exports=i,i.displayName="cmake",i.aliases=[]},32762:function(n){"use strict";function i(n){n.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}n.exports=i,i.displayName="cobol",i.aliases=[]},43576:function(n){"use strict";function i(n){var i,o,a;o=/#(?!\{).+/,a={pattern:/#\{[^}]+\}/,alias:"variable"},(i=n).languages.coffeescript=i.languages.extend("javascript",{comment:o,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:a}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),i.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:o,interpolation:a}}}),i.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:i.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:a}}]}),i.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete i.languages.coffeescript["template-string"],i.languages.coffee=i.languages.coffeescript}n.exports=i,i.displayName="coffeescript",i.aliases=["coffee"]},71794:function(n){"use strict";function i(n){n.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},n.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:n.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:n.languages.concurnas},string:/[\s\S]+/}}}),n.languages.conc=n.languages.concurnas}n.exports=i,i.displayName="concurnas",i.aliases=["conc"]},1315:function(n){"use strict";function i(n){!function(n){for(var i=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,o=0;o<2;o++)i=i.replace(//g,function(){return i});i=i.replace(//g,"[]"),n.languages.coq={comment:RegExp(i),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return i})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(i),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}}(n)}n.exports=i,i.displayName="coq",i.aliases=[]},80096:function(n,i,o){"use strict";var a=o(65806);function s(n){var i,o,s;n.register(a),i=n,o=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,s=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return o.source}),i.languages.cpp=i.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return o.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:o,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),i.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return s})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),i.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:i.languages.cpp}}}}),i.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),i.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:i.languages.extend("cpp",{})}}),i.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},i.languages.cpp["base-clause"])}n.exports=s,s.displayName="cpp",s.aliases=[]},99176:function(n,i,o){"use strict";var a=o(56939);function s(n){var i;n.register(a),(i=n).languages.crystal=i.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,i.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),i.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:i.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:i.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}n.exports=s,s.displayName="crystal",s.aliases=[]},61958:function(n){"use strict";function i(n){!function(n){function i(n,i){return n.replace(/<<(\d+)>>/g,function(n,o){return"(?:"+i[+o]+")"})}function o(n,o,a){return RegExp(i(n,o),a||"")}function a(n,i){for(var o=0;o>/g,function(){return"(?:"+n+")"});return n.replace(/<>/g,"[^\\s\\S]")}var s={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function l(n){return"\\b(?:"+n.trim().replace(/ /g,"|")+")\\b"}var u=l(s.typeDeclaration),c=RegExp(l(s.type+" "+s.typeDeclaration+" "+s.contextual+" "+s.other)),d=l(s.typeDeclaration+" "+s.contextual+" "+s.other),p=l(s.type+" "+s.typeDeclaration+" "+s.other),f=a(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),h=a(/\((?:[^()]|<>)*\)/.source,2),m=/@?\b[A-Za-z_]\w*\b/.source,g=i(/<<0>>(?:\s*<<1>>)?/.source,[m,f]),b=i(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,g]),y=/\[\s*(?:,\s*)*\]/.source,v=i(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[b,y]),w=i(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[f,h,y]),E=i(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),S=i(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[E,b,y]),x={keyword:c,punctuation:/[<>()?,.:[\]]/},_=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,k=/"(?:\\.|[^\\"\r\n])*"/.source,A=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;n.languages.csharp=n.languages.extend("clike",{string:[{pattern:o(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:o(/(^|[^@$\\])<<0>>/.source,[k]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:o(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[b]),lookbehind:!0,inside:x},{pattern:o(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[m,S]),lookbehind:!0,inside:x},{pattern:o(/(\busing\s+)<<0>>(?=\s*=)/.source,[m]),lookbehind:!0},{pattern:o(/(\b<<0>>\s+)<<1>>/.source,[u,g]),lookbehind:!0,inside:x},{pattern:o(/(\bcatch\s*\(\s*)<<0>>/.source,[b]),lookbehind:!0,inside:x},{pattern:o(/(\bwhere\s+)<<0>>/.source,[m]),lookbehind:!0},{pattern:o(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[v]),lookbehind:!0,inside:x},{pattern:o(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[S,p,m]),inside:x}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),n.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),n.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:o(/([(,]\s*)<<0>>(?=\s*:)/.source,[m]),lookbehind:!0,alias:"punctuation"}}),n.languages.insertBefore("csharp","class-name",{namespace:{pattern:o(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[m]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:o(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[h]),lookbehind:!0,alias:"class-name",inside:x},"return-type":{pattern:o(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[S,b]),inside:x,alias:"class-name"},"constructor-invocation":{pattern:o(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[S]),lookbehind:!0,inside:x,alias:"class-name"},"generic-method":{pattern:o(/<<0>>\s*<<1>>(?=\s*\()/.source,[m,f]),inside:{function:o(/^<<0>>/.source,[m]),generic:{pattern:RegExp(f),alias:"class-name",inside:x}}},"type-list":{pattern:o(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[u,g,m,S,c.source,h,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:o(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[g,h]),lookbehind:!0,greedy:!0,inside:n.languages.csharp},keyword:c,"class-name":{pattern:RegExp(S),greedy:!0,inside:x},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var T=k+"|"+_,C=i(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[T]),R=a(i(/[^"'/()]|<<0>>|\(<>*\)/.source,[C]),2),D=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,O=i(/<<0>>(?:\s*\(<<1>>*\))?/.source,[b,R]);n.languages.insertBefore("csharp","class-name",{attribute:{pattern:o(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[D,O]),lookbehind:!0,greedy:!0,inside:{target:{pattern:o(/^<<0>>(?=\s*:)/.source,[D]),alias:"keyword"},"attribute-arguments":{pattern:o(/\(<<0>>*\)/.source,[R]),inside:n.languages.csharp},"class-name":{pattern:RegExp(b),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var I=/:[^}\r\n]+/.source,N=a(i(/[^"'/()]|<<0>>|\(<>*\)/.source,[C]),2),M=i(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[N,I]),L=a(i(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[T]),2),P=i(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[L,I]);function F(i,a){return{interpolation:{pattern:o(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[i]),lookbehind:!0,inside:{"format-string":{pattern:o(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[a,I]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:n.languages.csharp}}},string:/[\s\S]+/}}n.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:o(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[M]),lookbehind:!0,greedy:!0,inside:F(M,N)},{pattern:o(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[P]),lookbehind:!0,greedy:!0,inside:F(P,L)}],char:{pattern:RegExp(_),greedy:!0}}),n.languages.dotnet=n.languages.cs=n.languages.csharp}(n)}n.exports=i,i.displayName="csharp",i.aliases=["dotnet","cs"]},90312:function(n,i,o){"use strict";var a=o(61958);function s(n){n.register(a),function(n){var i=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,o=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function a(n,a){for(var s=0;s/g,function(){return"(?:"+n+")"});return n.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+o+")").replace(//g,"(?:"+i+")")}var s=a(/\((?:[^()'"@/]|||)*\)/.source,2),l=a(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),u=a(/\{(?:[^{}'"@/]|||)*\}/.source,2),c=a(/<(?:[^<>'"@/]|||)*>/.source,2),d=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,p=/(?!\d)[^\s>\/=$<%]+/.source+d+/\s*\/?>/.source,f=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+d+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source)+p+"|"+a(/<\1/.source+d+/\s*>/.source+"(?:"+(/[^<]/.source+"|")+/<\/?(?!\1\b)/.source+p+"|)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},n.languages.css.atrule.inside["selector-function-argument"].inside=i,n.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var a={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},s={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};n.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:a,number:s,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:a,number:s})}(n)}n.exports=i,i.displayName="cssExtras",i.aliases=[]},12049:function(n){"use strict";function i(n){var i,o,a;o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,(i=n).languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},i.languages.css.atrule.inside.rest=i.languages.css,(a=i.languages.markup)&&(a.tag.addInlined("style","css"),a.tag.addAttribute("style","css"))}n.exports=i,i.displayName="css",i.aliases=[]},78090:function(n){"use strict";function i(n){n.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}n.exports=i,i.displayName="csv",i.aliases=[]},40315:function(n){"use strict";function i(n){n.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}n.exports=i,i.displayName="cypher",i.aliases=[]},7902:function(n){"use strict";function i(n){n.languages.d=n.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),n.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),n.languages.insertBefore("d","keyword",{property:/\B@\w*/}),n.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}n.exports=i,i.displayName="d",i.aliases=[]},28651:function(n){"use strict";function i(n){var i,o,a,s;i=n,o=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],s={pattern:RegExp((a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}},i.languages.dart=i.languages.extend("clike",{"class-name":[s,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:s.inside}],keyword:o,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),i.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:i.languages.dart}}},string:/[\s\S]+/}},string:void 0}),i.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),i.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":s,keyword:o,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}n.exports=i,i.displayName="dart",i.aliases=[]},55579:function(n){"use strict";function i(n){n.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}}n.exports=i,i.displayName="dataweave",i.aliases=[]},93685:function(n){"use strict";function i(n){n.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}n.exports=i,i.displayName="dax",i.aliases=[]},13934:function(n){"use strict";function i(n){n.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},n.languages.dhall.string.inside.interpolation.inside.expression.inside=n.languages.dhall}n.exports=i,i.displayName="dhall",i.aliases=[]},93336:function(n){"use strict";function i(n){var i,o;(i=n).languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]},Object.keys(o={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"}).forEach(function(n){var a=o[n],s=[];/^\w+$/.test(n)||s.push(/\w+/.exec(n)[0]),"diff"===n&&s.push("bold"),i.languages.diff[n]={pattern:RegExp("^(?:["+a+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:s,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}}),Object.defineProperty(i.languages.diff,"PREFIXES",{value:o})}n.exports=i,i.displayName="diff",i.aliases=[]},13294:function(n,i,o){"use strict";var a=o(93205);function s(n){var i,o,s;n.register(a),(i=n).languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/},o=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,s=i.languages["markup-templating"],i.hooks.add("before-tokenize",function(n){s.buildPlaceholders(n,"django",o)}),i.hooks.add("after-tokenize",function(n){s.tokenizePlaceholders(n,"django")}),i.languages.jinja2=i.languages.django,i.hooks.add("before-tokenize",function(n){s.buildPlaceholders(n,"jinja2",o)}),i.hooks.add("after-tokenize",function(n){s.tokenizePlaceholders(n,"jinja2")})}n.exports=s,s.displayName="django",s.aliases=["jinja2"]},38223:function(n){"use strict";function i(n){n.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},n.languages["dns-zone"]=n.languages["dns-zone-file"]}n.exports=i,i.displayName="dnsZoneFile",i.aliases=[]},97266:function(n){"use strict";function i(n){!function(n){var i=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,o=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return i}),a=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,s=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return a}),l={pattern:RegExp(a),greedy:!0},u={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function c(n,i){return RegExp(n=n.replace(//g,function(){return s}).replace(//g,function(){return o}),i)}n.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:c(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[l,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:c(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:c(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:c(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:u,string:l,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:u},n.languages.dockerfile=n.languages.docker}(n)}n.exports=i,i.displayName="docker",i.aliases=["dockerfile"]},80636:function(n){"use strict";function i(n){!function(n){var i="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",o={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:n.languages.markup}};function a(n,o){return RegExp(n.replace(//g,function(){return i}),o)}n.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:a(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:o},"attr-value":{pattern:a(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:o},"attr-name":{pattern:a(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:o},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:a(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:o},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},n.languages.gv=n.languages.dot}(n)}n.exports=i,i.displayName="dot",i.aliases=["gv"]},36500:function(n){"use strict";function i(n){n.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}n.exports=i,i.displayName="ebnf",i.aliases=[]},30296:function(n){"use strict";function i(n){n.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}n.exports=i,i.displayName="editorconfig",i.aliases=[]},50115:function(n){"use strict";function i(n){n.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}n.exports=i,i.displayName="eiffel",i.aliases=[]},20791:function(n,i,o){"use strict";var a=o(93205);function s(n){var i;n.register(a),(i=n).languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:i.languages.javascript}},i.hooks.add("before-tokenize",function(n){var o=/<%(?!%)[\s\S]+?%>/g;i.languages["markup-templating"].buildPlaceholders(n,"ejs",o)}),i.hooks.add("after-tokenize",function(n){i.languages["markup-templating"].tokenizePlaceholders(n,"ejs")}),i.languages.eta=i.languages.ejs}n.exports=s,s.displayName="ejs",s.aliases=["eta"]},11974:function(n){"use strict";function i(n){n.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},n.languages.elixir.string.forEach(function(i){i.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:n.languages.elixir}}}})}n.exports=i,i.displayName="elixir",i.aliases=[]},8645:function(n){"use strict";function i(n){n.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}n.exports=i,i.displayName="elm",i.aliases=[]},84790:function(n,i,o){"use strict";var a=o(56939),s=o(93205);function l(n){var i;n.register(a),n.register(s),(i=n).languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:i.languages.ruby}},i.hooks.add("before-tokenize",function(n){var o=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;i.languages["markup-templating"].buildPlaceholders(n,"erb",o)}),i.hooks.add("after-tokenize",function(n){i.languages["markup-templating"].tokenizePlaceholders(n,"erb")})}n.exports=l,l.displayName="erb",l.aliases=[]},4502:function(n){"use strict";function i(n){n.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}n.exports=i,i.displayName="erlang",i.aliases=[]},66055:function(n,i,o){"use strict";var a=o(59803),s=o(93205);function l(n){var i;n.register(a),n.register(s),(i=n).languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:i.languages.lua}},i.hooks.add("before-tokenize",function(n){var o=/<%[\s\S]+?%>/g;i.languages["markup-templating"].buildPlaceholders(n,"etlua",o)}),i.hooks.add("after-tokenize",function(n){i.languages["markup-templating"].tokenizePlaceholders(n,"etlua")})}n.exports=l,l.displayName="etlua",l.aliases=[]},34668:function(n){"use strict";function i(n){n.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},n.languages.xlsx=n.languages.xls=n.languages["excel-formula"]}n.exports=i,i.displayName="excelFormula",i.aliases=[]},95126:function(n){"use strict";function i(n){var i,o,a,s,l,u,c,d;i=n,s={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:o={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/}},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:o},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:o}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:(a={number:/\\[^\s']|%\w/}).number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:a},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:a}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:a}},l=function(n){return(n+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},u=function(n){return RegExp("(^|\\s)(?:"+n.map(l).join("|")+")(?=\\s|$)")},Object.keys(c={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]}).forEach(function(n){s[n].pattern=u(c[n])}),d=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"],s.combinators.pattern=u(d),i.languages.factor=s}n.exports=i,i.displayName="factor",i.aliases=[]},90618:function(n){"use strict";function i(n){n.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete n.languages["firestore-security-rules"]["class-name"],n.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}n.exports=i,i.displayName="firestoreSecurityRules",i.aliases=[]},37225:function(n){"use strict";function i(n){var i;(i=n).languages.flow=i.languages.extend("javascript",{}),i.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),i.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete i.languages.flow.parameter,i.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(i.languages.flow.keyword)||(i.languages.flow.keyword=[i.languages.flow.keyword]),i.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}n.exports=i,i.displayName="flow",i.aliases=[]},16725:function(n){"use strict";function i(n){n.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}n.exports=i,i.displayName="fortran",i.aliases=[]},95559:function(n){"use strict";function i(n){n.languages.fsharp=n.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),n.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),n.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),n.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:n.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}n.exports=i,i.displayName="fsharp",i.aliases=[]},82114:function(n,i,o){"use strict";var a=o(93205);function s(n){n.register(a),function(n){for(var i=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,o=0;o<2;o++)i=i.replace(//g,function(){return i});i=i.replace(//g,/[^\s\S]/.source);var a={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return i})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return i})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};a.string[1].inside.interpolation.inside.rest=a,n.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:a}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:a}}}},n.hooks.add("before-tokenize",function(o){var a=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return i}),"gi");n.languages["markup-templating"].buildPlaceholders(o,"ftl",a)}),n.hooks.add("after-tokenize",function(i){n.languages["markup-templating"].tokenizePlaceholders(i,"ftl")})}(n)}n.exports=s,s.displayName="ftl",s.aliases=[]},6806:function(n){"use strict";function i(n){n.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},n.languages.gap.shell.inside.gap.inside=n.languages.gap}n.exports=i,i.displayName="gap",i.aliases=[]},12208:function(n){"use strict";function i(n){n.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}n.exports=i,i.displayName="gcode",i.aliases=[]},62728:function(n){"use strict";function i(n){n.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}n.exports=i,i.displayName="gdscript",i.aliases=[]},81549:function(n){"use strict";function i(n){n.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}n.exports=i,i.displayName="gedcom",i.aliases=[]},6024:function(n){"use strict";function i(n){var i;i=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source,n.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+i+")(?:"+i+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(i),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}n.exports=i,i.displayName="gherkin",i.aliases=[]},13600:function(n){"use strict";function i(n){n.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}n.exports=i,i.displayName="git",i.aliases=[]},3322:function(n,i,o){"use strict";var a=o(65806);function s(n){n.register(a),n.languages.glsl=n.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}n.exports=s,s.displayName="glsl",s.aliases=[]},53877:function(n){"use strict";function i(n){n.languages.gamemakerlanguage=n.languages.gml=n.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}n.exports=i,i.displayName="gml",i.aliases=[]},60794:function(n){"use strict";function i(n){n.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},n.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=n.languages.gn,n.languages.gni=n.languages.gn}n.exports=i,i.displayName="gn",i.aliases=["gni"]},20222:function(n){"use strict";function i(n){n.languages["go-mod"]=n.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}n.exports=i,i.displayName="goModule",i.aliases=[]},51519:function(n){"use strict";function i(n){n.languages.go=n.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),n.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete n.languages.go["class-name"]}n.exports=i,i.displayName="go",i.aliases=[]},94055:function(n){"use strict";function i(n){n.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:n.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},n.hooks.add("after-tokenize",function(n){if("graphql"===n.language)for(var i=n.tokens.filter(function(n){return"string"!=typeof n&&"comment"!==n.type&&"scalar"!==n.type}),o=0;o0)){var c=m(/^\{$/,/^\}$/);if(-1===c)continue;for(var d=o;d=0&&g(p,"variable-input")}}}}function f(n){return i[o+n]}function h(n,i){i=i||0;for(var o=0;o]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),n.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),n.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),n.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),n.hooks.add("wrap",function(i){if("groovy"===i.language&&"string"===i.type){var o=i.content.value[0];if("'"!=o){var a=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===o&&(a=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),i.content.value=i.content.value.replace(/</g,"<").replace(/&/g,"&"),i.content=n.highlight(i.content.value,{expression:{pattern:a,lookbehind:!0,inside:n.languages.groovy}}),i.classes.push("/"===o?"regex":"gstring")}}})}n.exports=i,i.displayName="groovy",i.aliases=[]},29536:function(n,i,o){"use strict";var a=o(56939);function s(n){n.register(a),function(n){n.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:n.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:n.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:n.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:n.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:n.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:n.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:n.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var i="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",o=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],a={},s=0,l=o.length;s@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},i.hooks.add("before-tokenize",function(n){var o=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;i.languages["markup-templating"].buildPlaceholders(n,"handlebars",o)}),i.hooks.add("after-tokenize",function(n){i.languages["markup-templating"].tokenizePlaceholders(n,"handlebars")}),i.languages.hbs=i.languages.handlebars}n.exports=s,s.displayName="handlebars",s.aliases=["hbs"]},58090:function(n){"use strict";function i(n){n.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},n.languages.hs=n.languages.haskell}n.exports=i,i.displayName="haskell",i.aliases=["hs"]},95121:function(n){"use strict";function i(n){n.languages.haxe=n.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),n.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:n.languages.haxe}}},string:/[\s\S]+/}}}),n.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),n.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}n.exports=i,i.displayName="haxe",i.aliases=[]},59904:function(n){"use strict";function i(n){n.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}n.exports=i,i.displayName="hcl",i.aliases=[]},9436:function(n,i,o){"use strict";var a=o(65806);function s(n){n.register(a),n.languages.hlsl=n.languages.extend("c",{"class-name":[n.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}n.exports=s,s.displayName="hlsl",s.aliases=[]},60591:function(n){"use strict";function i(n){n.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}n.exports=i,i.displayName="hoon",i.aliases=[]},76942:function(n){"use strict";function i(n){n.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}n.exports=i,i.displayName="hpkp",i.aliases=[]},60561:function(n){"use strict";function i(n){n.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}n.exports=i,i.displayName="hsts",i.aliases=[]},49660:function(n){"use strict";function i(n){!function(n){function i(n){return RegExp("(^(?:"+n+"):[ ]*(?![ ]))[^]+","i")}n.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:n.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:i(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:n.languages.csp},{pattern:i(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:n.languages.hpkp},{pattern:i(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:n.languages.hsts},{pattern:i(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var o,a=n.languages,s={"application/javascript":a.javascript,"application/json":a.json||a.javascript,"application/xml":a.xml,"text/xml":a.xml,"text/html":a.html,"text/css":a.css,"text/plain":a.plain},l={"application/json":!0,"application/xml":!0};function u(n){var i="\\w+/(?:[\\w.-]+\\+)+"+n.replace(/^[a-z]+\//,"")+"(?![+\\w.-])";return"(?:"+n+"|"+i+")"}for(var c in s)if(s[c]){o=o||{};var d=l[c]?u(c):c;o[c.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+d+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:s[c]}}o&&n.languages.insertBefore("http","header",o)}(n)}n.exports=i,i.displayName="http",i.aliases=[]},30615:function(n){"use strict";function i(n){n.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}n.exports=i,i.displayName="ichigojam",i.aliases=[]},93865:function(n){"use strict";function i(n){n.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}n.exports=i,i.displayName="icon",i.aliases=[]},51078:function(n){"use strict";function i(n){!function(n){function i(n,o){return o<=0?/[]/.source:n.replace(//g,function(){return i(n,o-1)})}var o=/'[{}:=,](?:[^']|'')*'(?!')/,a={pattern:/''/,greedy:!0,alias:"operator"},s={pattern:o,greedy:!0,inside:{escape:a}},l=i(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return o.source}),8),u={pattern:RegExp(l),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};n.languages["icu-message-format"]={argument:{pattern:RegExp(l),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":u,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":u,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+i(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:a,string:s},u.inside.message.inside=n.languages["icu-message-format"],n.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=n.languages["icu-message-format"]}(n)}n.exports=i,i.displayName="icuMessageFormat",i.aliases=[]},91178:function(n,i,o){"use strict";var a=o(58090);function s(n){n.register(a),n.languages.idris=n.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),n.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),n.languages.idr=n.languages.idris}n.exports=s,s.displayName="idris",s.aliases=["idr"]},40011:function(n){"use strict";function i(n){n.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}n.exports=i,i.displayName="iecst",i.aliases=[]},12017:function(n){"use strict";function i(n){var i;(i=n).languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},i.languages.gitignore=i.languages.ignore,i.languages.hgignore=i.languages.ignore,i.languages.npmignore=i.languages.ignore}n.exports=i,i.displayName="ignore",i.aliases=["gitignore","hgignore","npmignore"]},65175:function(n){"use strict";function i(n){n.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},n.languages.inform7.string.inside.substitution.inside.rest=n.languages.inform7,n.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}n.exports=i,i.displayName="inform7",i.aliases=[]},14970:function(n){"use strict";function i(n){n.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}n.exports=i,i.displayName="ini",i.aliases=[]},30764:function(n){"use strict";function i(n){n.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}n.exports=i,i.displayName="j",i.aliases=[]},15909:function(n){"use strict";function i(n){var i,o,a,s;i=n,o=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,s={pattern:RegExp((a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}},i.languages.java=i.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[s,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:s.inside}],keyword:o,function:[i.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),i.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),i.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":s,keyword:o,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return o.source})),lookbehind:!0,inside:{punctuation:/\./}}})}n.exports=i,i.displayName="java",i.aliases=[]},36553:function(n,i,o){"use strict";var a=o(15909),s=o(9858);function l(n){var i,o,l,u;n.register(a),n.register(s),i=n,o=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,l=/#\s*\w+(?:\s*\([^()]*\))?/.source,u=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return l}),i.languages.javadoc=i.languages.extend("javadoclike",{}),i.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+u+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:i.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:o,lookbehind:!0,inside:i.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:o,lookbehind:!0,inside:{tag:i.languages.markup.tag,entity:i.languages.markup.entity,code:{pattern:/.+/,inside:i.languages.java,alias:"language-java"}}}}}],tag:i.languages.markup.tag,entity:i.languages.markup.entity}),i.languages.javadoclike.addSupport("java",i.languages.javadoc)}n.exports=l,l.displayName="javadoc",l.aliases=[]},9858:function(n){"use strict";function i(n){!function(n){var i=n.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function o(i,o){var a="doc-comment",s=n.languages[i];if(s){var l=s[a];if(!l){var u={};u[a]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},l=(s=n.languages.insertBefore(i,"comment",u))[a]}if(l instanceof RegExp&&(l=s[a]={pattern:l}),Array.isArray(l))for(var c=0,d=l.length;c|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript}n.exports=i,i.displayName="javascript",i.aliases=["js"]},11223:function(n){"use strict";function i(n){n.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}n.exports=i,i.displayName="javastacktrace",i.aliases=[]},57957:function(n){"use strict";function i(n){n.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}n.exports=i,i.displayName="jexl",i.aliases=[]},66604:function(n){"use strict";function i(n){n.languages.jolie=n.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),n.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}n.exports=i,i.displayName="jolie",i.aliases=[]},77935:function(n){"use strict";function i(n){var i,o,a,s,l;i=n,o=/\\\((?:[^()]|\([^()]*\))*\)/.source,a=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return o})),s={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+o),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},l=i.languages.jq={comment:/#.*/,property:{pattern:RegExp(a.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:s},string:{pattern:a,lookbehind:!0,greedy:!0,inside:s},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}},s.interpolation.inside.content.inside=l}n.exports=i,i.displayName="jq",i.aliases=[]},46155:function(n){"use strict";function i(n){!function(n){function i(n,i){return RegExp(n.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),i)}n.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+n.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),n.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+n.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),n.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),n.languages.insertBefore("javascript","keyword",{imports:{pattern:i(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:n.languages.javascript},exports:{pattern:i(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:n.languages.javascript}}),n.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),n.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),n.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:i(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var o=["function","function-variable","method","method-variable","property-access"],a=0;a=m.length)return;var o=n[i];if("string"==typeof o||"string"==typeof o.content){var a=m[u],s="string"==typeof o?o:o.content,l=s.indexOf(a);if(-1!==l){++u;var c=s.substring(0,l),d=p(f[a]),h=s.substring(l+a.length),b=[];if(c&&b.push(c),b.push(d),h){var y=[h];g(y),b.push.apply(b,y)}"string"==typeof o?(n.splice.apply(n,[i,1].concat(b)),i+=b.length-1):o.content=b}}else{var v=o.content;Array.isArray(v)?g(v):g([v])}}}return u=0,g(h),new n.Token(a,h,"language-"+a,i)}n.languages.javascript["template-string"]=[u("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),u("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),u("svg",/\bsvg/.source),u("markdown",/\b(?:markdown|md)/.source),u("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),u("sql",/\bsql/.source),i].filter(Boolean);var h={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function m(n){return"string"==typeof n?n:Array.isArray(n)?n.map(m).join(""):m(n.content)}n.hooks.add("after-tokenize",function(i){i.language in h&&o(i.tokens);function o(i){for(var a=0,s=i.length;a\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return l})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+l),lookbehind:!0,inside:{string:o.string,number:o.number,boolean:o.boolean,keyword:i.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:o,alias:"language-javascript"}}}}),i.languages.javadoclike.addSupport("javascript",i.languages.jsdoc)}n.exports=l,l.displayName="jsdoc",l.aliases=[]},45950:function(n){"use strict";function i(n){n.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},n.languages.webmanifest=n.languages.json}n.exports=i,i.displayName="json",i.aliases=["webmanifest"]},50235:function(n,i,o){"use strict";var a=o(45950);function s(n){var i,o;n.register(a),o=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/,(i=n).languages.json5=i.languages.extend("json",{property:[{pattern:RegExp(o.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:o,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}n.exports=s,s.displayName="json5",s.aliases=[]},80963:function(n,i,o){"use strict";var a=o(45950);function s(n){n.register(a),n.languages.jsonp=n.languages.extend("json",{punctuation:/[{}[\]();,.]/}),n.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}n.exports=s,s.displayName="jsonp",s.aliases=[]},79358:function(n){"use strict";function i(n){n.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}n.exports=i,i.displayName="jsstacktrace",i.aliases=[]},96412:function(n){"use strict";function i(n){!function(n){var i=n.util.clone(n.languages.javascript),o=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,a=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,s=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function l(n,i){return RegExp(n=n.replace(//g,function(){return o}).replace(//g,function(){return a}).replace(//g,function(){return s}),i)}s=l(s).source,n.languages.jsx=n.languages.extend("markup",i),n.languages.jsx.tag.pattern=l(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),n.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,n.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,n.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,n.languages.jsx.tag.inside.comment=i.comment,n.languages.insertBefore("inside","attr-name",{spread:{pattern:l(//.source),inside:n.languages.jsx}},n.languages.jsx.tag),n.languages.insertBefore("inside","special-attr",{script:{pattern:l(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:n.languages.jsx}}},n.languages.jsx.tag);var u=function(n){return n?"string"==typeof n?n:"string"==typeof n.content?n.content:n.content.map(u).join(""):""},c=function(i){for(var o=[],a=0;a0&&o[o.length-1].tagName===u(s.content[0].content[1])&&o.pop():"/>"===s.content[s.content.length-1].content||o.push({tagName:u(s.content[0].content[1]),openedBraces:0}):o.length>0&&"punctuation"===s.type&&"{"===s.content?o[o.length-1].openedBraces++:o.length>0&&o[o.length-1].openedBraces>0&&"punctuation"===s.type&&"}"===s.content?o[o.length-1].openedBraces--:l=!0),(l||"string"==typeof s)&&o.length>0&&0===o[o.length-1].openedBraces){var d=u(s);a0&&("string"==typeof i[a-1]||"plain-text"===i[a-1].type)&&(d=u(i[a-1])+d,i.splice(a-1,1),a--),i[a]=new n.Token("plain-text",d,null,d)}s.content&&"string"!=typeof s.content&&c(s.content)}};n.hooks.add("after-tokenize",function(n){("jsx"===n.language||"tsx"===n.language)&&c(n.tokens)})}(n)}n.exports=i,i.displayName="jsx",i.aliases=[]},39259:function(n){"use strict";function i(n){n.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}n.exports=i,i.displayName="julia",i.aliases=[]},32409:function(n){"use strict";function i(n){n.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}n.exports=i,i.displayName="keepalived",i.aliases=[]},35760:function(n){"use strict";function i(n){n.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}n.exports=i,i.displayName="keyman",i.aliases=[]},19715:function(n){"use strict";function i(n){var i,o;(i=n).languages.kotlin=i.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete i.languages.kotlin["class-name"],o={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:i.languages.kotlin}},i.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:o},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:o},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete i.languages.kotlin.string,i.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),i.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),i.languages.kt=i.languages.kotlin,i.languages.kts=i.languages.kotlin}n.exports=i,i.displayName="kotlin",i.aliases=["kt","kts"]},27614:function(n){"use strict";function i(n){!function(n){var i=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function o(n,o){return RegExp(n.replace(//g,i),o)}n.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:o(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:o(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:o(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:o(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:o(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:o(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:o(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:o(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},n.languages.kum=n.languages.kumir}(n)}n.exports=i,i.displayName="kumir",i.aliases=["kum"]},82819:function(n){"use strict";function i(n){n.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}n.exports=i,i.displayName="kusto",i.aliases=[]},42876:function(n){"use strict";function i(n){var i,o,a;i=n,a={"equation-command":{pattern:o=/\\(?:[^a-z()[\]]|[a-z*]+)/i,alias:"regex"}},i.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:a,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:a,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:o,alias:"selector"},punctuation:/[[\]{}&]/},i.languages.tex=i.languages.latex,i.languages.context=i.languages.latex}n.exports=i,i.displayName="latex",i.aliases=["tex","context"]},2980:function(n,i,o){"use strict";var a=o(93205),s=o(88262);function l(n){var i,o;n.register(a),n.register(s),(i=n).languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:i.languages.php}},o=i.languages.extend("markup",{}),i.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:i.languages.php}}}}}},o.tag),i.hooks.add("before-tokenize",function(n){if("latte"===n.language){var a=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;i.languages["markup-templating"].buildPlaceholders(n,"latte",a),n.grammar=o}}),i.hooks.add("after-tokenize",function(n){i.languages["markup-templating"].tokenizePlaceholders(n,"latte")})}n.exports=l,l.displayName="latte",l.aliases=[]},41701:function(n){"use strict";function i(n){n.languages.less=n.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),n.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}n.exports=i,i.displayName="less",i.aliases=[]},42491:function(n,i,o){"use strict";var a=o(9997);function s(n){n.register(a),function(n){for(var i=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,o=5,a=0;a/g,function(){return i});i=i.replace(//g,/[^\s\S]/.source);var s=n.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return i}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:n.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};s["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=s,n.languages.ly=s}(n)}n.exports=s,s.displayName="lilypond",s.aliases=[]},34927:function(n,i,o){"use strict";var a=o(93205);function s(n){n.register(a),n.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},n.hooks.add("before-tokenize",function(i){var o=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,a=!1;n.languages["markup-templating"].buildPlaceholders(i,"liquid",o,function(n){var i=/^\{%-?\s*(\w+)/.exec(n);if(i){var o=i[1];if("raw"===o&&!a)return a=!0,!0;if("endraw"===o)return a=!1,!0}return!a})}),n.hooks.add("after-tokenize",function(i){n.languages["markup-templating"].tokenizePlaceholders(i,"liquid")})}n.exports=s,s.displayName="liquid",s.aliases=[]},3848:function(n){"use strict";function i(n){!function(n){function i(n){return RegExp(/(\()/.source+"(?:"+n+")"+/(?=[\s\)])/.source)}function o(n){return RegExp(/([\s([])/.source+"(?:"+n+")"+/(?=[\s)])/.source)}var a=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,s="&"+a,l="(\\()",u="(?=\\))",c="(?=\\s)",d=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,p={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+a+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+a),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+a),alias:"property"},splice:{pattern:RegExp(",@?"+a),alias:["symbol","variable"]},keyword:[{pattern:RegExp(l+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+c),lookbehind:!0},{pattern:RegExp(l+"(?:append|by|collect|concat|do|finally|for|in|return)"+c),lookbehind:!0}],declare:{pattern:i(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:i(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:o(/nil|t/.source),lookbehind:!0},number:{pattern:o(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(l+"def(?:const|custom|group|var)\\s+"+a),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(a)}},defun:{pattern:RegExp(l+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+a+/\s+\(/.source+d+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+a),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(l+"lambda\\s+\\(\\s*(?:&?"+a+"(?:\\s+&?"+a+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(l+a),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},f={"lisp-marker":RegExp(s),varform:{pattern:RegExp(/\(/.source+a+/\s+(?=\S)/.source+d+/\)/.source),inside:p},argument:{pattern:RegExp(/(^|[\s(])/.source+a),lookbehind:!0,alias:"variable"},rest:p},h="\\S+(?:\\s+\\S+)*",m={pattern:RegExp(l+d+u),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+h),inside:f},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+h),inside:f},keys:{pattern:RegExp("&key\\s+"+h+"(?:\\s+&allow-other-keys)?"),inside:f},argument:{pattern:RegExp(a),alias:"variable"},punctuation:/[()]/}};p.lambda.inside.arguments=m,p.defun.inside.arguments=n.util.clone(m),p.defun.inside.arguments.inside.sublist=m,n.languages.lisp=p,n.languages.elisp=p,n.languages.emacs=p,n.languages["emacs-lisp"]=p}(n)}n.exports=i,i.displayName="lisp",i.aliases=[]},41469:function(n){"use strict";function i(n){n.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},n.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=n.languages.livescript}n.exports=i,i.displayName="livescript",i.aliases=[]},73070:function(n){"use strict";function i(n){n.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}}n.exports=i,i.displayName="llvm",i.aliases=[]},35049:function(n){"use strict";function i(n){n.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:n.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}n.exports=i,i.displayName="log",i.aliases=[]},8789:function(n){"use strict";function i(n){n.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}n.exports=i,i.displayName="lolcode",i.aliases=[]},59803:function(n){"use strict";function i(n){n.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}n.exports=i,i.displayName="lua",i.aliases=[]},86328:function(n){"use strict";function i(n){n.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}n.exports=i,i.displayName="magma",i.aliases=[]},33055:function(n){"use strict";function i(n){n.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}n.exports=i,i.displayName="makefile",i.aliases=[]},90542:function(n){"use strict";function i(n){!function(n){var i=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function o(n){return n=n.replace(//g,function(){return i}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+n+")")}var a=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,s=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return a}),l=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;n.languages.markdown=n.languages.extend("markup",{}),n.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:n.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+s+l+"(?:"+s+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+s+l+")(?:"+s+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(a),inside:n.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+s+")"+l+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+s+"$"),inside:{"table-header":{pattern:RegExp(a),alias:"important",inside:n.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:o(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:o(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:o(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:o(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(i){["url","bold","italic","strike","code-snippet"].forEach(function(o){i!==o&&(n.languages.markdown[i].inside.content.inside[o]=n.languages.markdown[o])})}),n.hooks.add("after-tokenize",function(n){("markdown"===n.language||"md"===n.language)&&i(n.tokens);function i(n){if(n&&"string"!=typeof n)for(var o=0,a=n.length;o",quot:'"'},d=String.fromCodePoint||String.fromCharCode;function p(n){return n.replace(u,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(n,i){if("#"===(i=i.toLowerCase())[0]){var o;return d(o="x"===i[1]?parseInt(i.slice(2),16):Number(i.slice(1)))}return c[i]||n})}n.languages.md=n.languages.markdown}(n)}n.exports=i,i.displayName="markdown",i.aliases=["md"]},93205:function(n){"use strict";function i(n){!function(n){function i(n,i){return"___"+n.toUpperCase()+i+"___"}Object.defineProperties(n.languages["markup-templating"]={},{buildPlaceholders:{value:function(o,a,s,l){if(o.language===a){var u=o.tokenStack=[];o.code=o.code.replace(s,function(n){if("function"==typeof l&&!l(n))return n;for(var s,c=u.length;-1!==o.code.indexOf(s=i(a,c));)++c;return u[c]=n,s}),o.grammar=n.languages.markup}}},tokenizePlaceholders:{value:function(o,a){if(o.language===a&&o.tokenStack){o.grammar=n.languages[a];var s=0,l=Object.keys(o.tokenStack);u(o.tokens)}function u(c){for(var d=0;d=l.length);d++){var p=c[d];if("string"==typeof p||p.content&&"string"==typeof p.content){var f=l[s],h=o.tokenStack[f],m="string"==typeof p?p:p.content,g=i(a,f),b=m.indexOf(g);if(b>-1){++s;var y=m.substring(0,b),v=new n.Token(a,n.tokenize(h,o.grammar),"language-"+a,h),w=m.substring(b+g.length),E=[];y&&E.push.apply(E,u([y])),E.push(v),w&&E.push.apply(E,u([w])),"string"==typeof p?c.splice.apply(c,[d,1].concat(E)):p.content=E}}else p.content&&u(p.content)}return c}}}})}(n)}n.exports=i,i.displayName="markupTemplating",i.aliases=[]},2717:function(n){"use strict";function i(n){n.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(n){"entity"===n.type&&(n.attributes.title=n.content.value.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(i,o){var a={};a["language-"+o]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[o]},a.cdata=/^$/i;var s={"included-cdata":{pattern://i,inside:a}};s["language-"+o]={pattern:/[\s\S]+/,inside:n.languages[o]};var l={};l[i]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return i}),"i"),lookbehind:!0,greedy:!0,inside:s},n.languages.insertBefore("markup","cdata",l)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(i,o){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+i+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[o,"language-"+o],inside:n.languages[o]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}n.exports=i,i.displayName="markup",i.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},27992:function(n){"use strict";function i(n){n.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}n.exports=i,i.displayName="matlab",i.aliases=[]},91115:function(n){"use strict";function i(n){var i;i=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i,n.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|")+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source+")[ ]*)(?!"+i.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+i.source+")"+/[a-z_]/.source+"|")+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:i,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}}n.exports=i,i.displayName="maxscript",i.aliases=[]},606:function(n){"use strict";function i(n){n.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},n.languages.mel.code.inside.rest=n.languages.mel}n.exports=i,i.displayName="mel",i.aliases=[]},68582:function(n){"use strict";function i(n){n.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}n.exports=i,i.displayName="mermaid",i.aliases=[]},23388:function(n){"use strict";function i(n){n.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}n.exports=i,i.displayName="mizar",i.aliases=[]},90596:function(n){"use strict";function i(n){var i,o,a,s;i=n,a=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"],s="(?:"+(o=(o=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"]).map(function(n){return n.replace("$","\\$")})).join("|")+")\\b",i.languages.mongodb=i.languages.extend("javascript",{}),i.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+s+"(?:\\1)?$")}}}),i.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},i.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+a.join("|")+")\\b"),alias:"keyword"}})}n.exports=i,i.displayName="mongodb",i.aliases=[]},95721:function(n){"use strict";function i(n){n.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}n.exports=i,i.displayName="monkey",i.aliases=[]},64262:function(n){"use strict";function i(n){n.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},n.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=n.languages.moonscript,n.languages.moon=n.languages.moonscript}n.exports=i,i.displayName="moonscript",i.aliases=["moon"]},18190:function(n){"use strict";function i(n){n.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}n.exports=i,i.displayName="n1ql",i.aliases=[]},70896:function(n){"use strict";function i(n){n.languages.n4js=n.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),n.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),n.languages.n4jsd=n.languages.n4js}n.exports=i,i.displayName="n4js",i.aliases=["n4jsd"]},42242:function(n){"use strict";function i(n){n.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}n.exports=i,i.displayName="nand2tetrisHdl",i.aliases=[]},37943:function(n){"use strict";function i(n){!function(n){var i=/\{[^\r\n\[\]{}]*\}/,o={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:i,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};function a(n){for(var i="[]{}",o=[],a=0;a.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:i,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:o}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:i,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:o},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},n.languages.nani=n.languages.naniscript,n.hooks.add("after-tokenize",function(n){n.tokens.forEach(function(n){if("string"!=typeof n&&"generic-text"===n.type){var i=s(n);a(i)||(n.type="bad-line",n.content=i)}})})}(n)}n.exports=i,i.displayName="naniscript",i.aliases=[]},293:function(n){"use strict";function i(n){n.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|DEFAULT|FLOAT).*$/m],register:{pattern:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-\/%<>=&|$!]/}}n.exports=i,i.displayName="nasm",i.aliases=[]},83873:function(n){"use strict";function i(n){n.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}n.exports=i,i.displayName="neon",i.aliases=[]},75932:function(n){"use strict";function i(n){n.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}n.exports=i,i.displayName="nevod",i.aliases=[]},60221:function(n){"use strict";function i(n){var i;i=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i,n.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:i}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:i}},punctuation:/[{};]/}}n.exports=i,i.displayName="nginx",i.aliases=[]},44188:function(n){"use strict";function i(n){n.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}n.exports=i,i.displayName="nim",i.aliases=[]},74426:function(n){"use strict";function i(n){n.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},n.languages.nix.string.inside.interpolation.inside=n.languages.nix}n.exports=i,i.displayName="nix",i.aliases=[]},88447:function(n){"use strict";function i(n){n.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}n.exports=i,i.displayName="nsis",i.aliases=[]},16032:function(n,i,o){"use strict";var a=o(65806);function s(n){n.register(a),n.languages.objectivec=n.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete n.languages.objectivec["class-name"],n.languages.objc=n.languages.objectivec}n.exports=s,s.displayName="objectivec",s.aliases=["objc"]},33607:function(n){"use strict";function i(n){n.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}n.exports=i,i.displayName="ocaml",i.aliases=[]},22001:function(n,i,o){"use strict";var a=o(65806);function s(n){var i,o;n.register(a),(i=n).languages.opencl=i.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),i.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}}),o={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}},i.languages.insertBefore("c","keyword",o),i.languages.cpp&&(o["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},i.languages.insertBefore("cpp","keyword",o))}n.exports=s,s.displayName="opencl",s.aliases=[]},22950:function(n){"use strict";function i(n){n.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},n.languages.qasm=n.languages.openqasm}n.exports=i,i.displayName="openqasm",i.aliases=["qasm"]},23254:function(n){"use strict";function i(n){n.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}n.exports=i,i.displayName="oz",i.aliases=[]},92694:function(n){"use strict";function i(n){var i;n.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:RegExp("\\b(?:"+(i=(i=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"]).map(function(n){return n.split("").join(" *")}).join("|"))+")\\b"),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}n.exports=i,i.displayName="parigp",i.aliases=[]},43273:function(n){"use strict";function i(n){var i,o;o=(i=n).languages.parser=i.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/}),o=i.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:o.keyword,variable:o.variable,function:o.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:o.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:o.punctuation}}}),i.languages.insertBefore("inside","punctuation",{expression:o.expression,keyword:o.keyword,variable:o.variable,function:o.function,escape:o.escape,"parser-punctuation":{pattern:o.punctuation,alias:"punctuation"}},o.tag.inside["attr-value"])}n.exports=i,i.displayName="parser",i.aliases=[]},60718:function(n){"use strict";function i(n){n.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},n.languages.pascal.asm.inside=n.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),n.languages.objectpascal=n.languages.pascal}n.exports=i,i.displayName="pascal",i.aliases=["objectpascal"]},39303:function(n){"use strict";function i(n){var i,o,a,s,l;i=n,o=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,a=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return o}),s=i.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return a}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return a}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return a})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},l=["comment","keyword","builtin","operator","punctuation"].reduce(function(n,i){return n[i]=s[i],n},{}),s["class-name"].forEach(function(n){n.inside=l})}n.exports=i,i.displayName="pascaligo",i.aliases=[]},77393:function(n){"use strict";function i(n){n.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},n.languages.px=n.languages.pcaxis}n.exports=i,i.displayName="pcaxis",i.aliases=["px"]},19023:function(n){"use strict";function i(n){n.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},n.languages.pcode=n.languages.peoplecode}n.exports=i,i.displayName="peoplecode",i.aliases=["pcode"]},74212:function(n){"use strict";function i(n){var i;i=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source,n.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,i].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,i].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,i+/\s*/.source+i].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}n.exports=i,i.displayName="perl",i.aliases=[]},5137:function(n,i,o){"use strict";var a=o(88262);function s(n){n.register(a),n.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}n.exports=s,s.displayName="phpExtras",s.aliases=[]},88262:function(n,i,o){"use strict";var a=o(93205);function s(n){var i,o,s,l,u,c,d,p;n.register(a),o=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,s=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],l=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,u=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,c=/[{}\[\](),:;]/,(i=n).languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:o,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:s,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:l,operator:u,punctuation:c},p=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:d={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:i.languages.php}}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:d}}],i.languages.insertBefore("php","variable",{string:p,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:o,string:p,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:s,number:l,operator:u,punctuation:c}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),i.hooks.add("before-tokenize",function(n){if(/<\?/.test(n.code)){var o=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;i.languages["markup-templating"].buildPlaceholders(n,"php",o)}}),i.hooks.add("after-tokenize",function(n){i.languages["markup-templating"].tokenizePlaceholders(n,"php")})}n.exports=s,s.displayName="php",s.aliases=[]},63632:function(n,i,o){"use strict";var a=o(88262),s=o(9858);function l(n){var i,o;n.register(a),n.register(s),o=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source,(i=n).languages.phpdoc=i.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+o+"\\s+)?)\\$\\w+"),lookbehind:!0}}),i.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+o),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),i.languages.javadoclike.addSupport("php",i.languages.phpdoc)}n.exports=l,l.displayName="phpdoc",l.aliases=[]},59149:function(n,i,o){"use strict";var a=o(11114);function s(n){n.register(a),n.languages.plsql=n.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),n.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}n.exports=s,s.displayName="plsql",s.aliases=[]},50256:function(n){"use strict";function i(n){n.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},n.languages.pq=n.languages.powerquery,n.languages.mscript=n.languages.powerquery}n.exports=i,i.displayName="powerquery",i.aliases=[]},61777:function(n){"use strict";function i(n){var i;(i=n.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/}).string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:i},boolean:i.boolean,variable:i.variable}}n.exports=i,i.displayName="powershell",i.aliases=[]},3623:function(n){"use strict";function i(n){n.languages.processing=n.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),n.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}n.exports=i,i.displayName="processing",i.aliases=[]},82707:function(n){"use strict";function i(n){n.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}n.exports=i,i.displayName="prolog",i.aliases=[]},59338:function(n){"use strict";function i(n){var i,o,a;i=n,a=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(o=["on","ignoring","group_right","group_left","by","without"],["offset"]),i.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:RegExp("((?:"+o.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:RegExp("\\b(?:"+a.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}}n.exports=i,i.displayName="promql",i.aliases=[]},56267:function(n){"use strict";function i(n){n.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}n.exports=i,i.displayName="properties",i.aliases=[]},98809:function(n){"use strict";function i(n){var i,o;o=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/,(i=n).languages.protobuf=i.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),i.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:o}},builtin:o,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}n.exports=i,i.displayName="protobuf",i.aliases=[]},37548:function(n){"use strict";function i(n){n.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}n.exports=i,i.displayName="psl",i.aliases=[]},82161:function(n){"use strict";function i(n){!function(n){n.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:n.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:n.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:n.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:n.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:n.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:n.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:n.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:n.languages.javascript}],punctuation:/[.\-!=|]+/};for(var i=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,o=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],a={},s=0,l=o.length;s",function(){return u.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[u.language,"language-"+u.language],inside:n.languages[u.language]}}})}n.languages.insertBefore("pug","filter",a)}(n)}n.exports=i,i.displayName="pug",i.aliases=[]},80625:function(n){"use strict";function i(n){var i,o;(i=n).languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/},o=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:i.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}],i.languages.puppet.heredoc[0].inside.interpolation=o,i.languages.puppet.string.inside["double-quoted"].inside.interpolation=o}n.exports=i,i.displayName="puppet",i.aliases=[]},88393:function(n){"use strict";function i(n){var i,o,a;(i=n).languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/},a=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source,(o=["c",{lang:"c++",alias:"cpp"},"fortran"]).forEach(function(n){var o=n;if("string"!=typeof n&&(o=n.alias,n=n.lang),i.languages[o]){var s={};s["inline-lang-"+o]={pattern:RegExp(a.replace("",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:i.util.clone(i.languages.pure["inline-lang"].inside)},s["inline-lang-"+o].inside.rest=i.util.clone(i.languages[o]),i.languages.insertBefore("pure","inline-lang",s)}}),i.languages.c&&(i.languages.pure["inline-lang"].inside.rest=i.util.clone(i.languages.c))}n.exports=i,i.displayName="pure",i.aliases=[]},78404:function(n){"use strict";function i(n){n.languages.purebasic=n.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),n.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete n.languages.purebasic["class-name"],delete n.languages.purebasic.boolean,n.languages.pbfasm=n.languages.purebasic}n.exports=i,i.displayName="purebasic",i.aliases=[]},92923:function(n,i,o){"use strict";var a=o(58090);function s(n){n.register(a),n.languages.purescript=n.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[n.languages.haskell.operator[0],n.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),n.languages.purs=n.languages.purescript}n.exports=s,s.displayName="purescript",s.aliases=["purs"]},52992:function(n){"use strict";function i(n){n.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},n.languages.python["string-interpolation"].inside.interpolation.inside.rest=n.languages.python,n.languages.py=n.languages.python}n.exports=i,i.displayName="python",i.aliases=["py"]},55762:function(n){"use strict";function i(n){n.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}n.exports=i,i.displayName="q",i.aliases=[]},4137:function(n){"use strict";function i(n){!function(n){for(var i=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,o=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,a=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return i}).replace(//g,function(){return o}),s=0;s<2;s++)a=a.replace(//g,function(){return a});a=a.replace(//g,"[^\\s\\S]"),n.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(n)}n.exports=i,i.displayName="qml",i.aliases=[]},28260:function(n){"use strict";function i(n){n.languages.qore=n.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}n.exports=i,i.displayName="qore",i.aliases=[]},71360:function(n){"use strict";function i(n){!function(n){function i(n,i){return n.replace(/<<(\d+)>>/g,function(n,o){return"(?:"+i[+o]+")"})}function o(n,o,a){return RegExp(i(n,o),a||"")}function a(n,i){for(var o=0;o>/g,function(){return"(?:"+n+")"});return n.replace(/<>/g,"[^\\s\\S]")}var s={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"},l=RegExp("\\b(?:"+(s.type+" "+s.other).trim().replace(/ /g,"|")+")\\b"),u=/\b[A-Za-z_]\w*\b/.source,c=i(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[u]),d={keyword:l,punctuation:/[<>()?,.:[\]]/},p=/"(?:\\.|[^\\"])*"/.source;n.languages.qsharp=n.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:o(/(^|[^$\\])<<0>>/.source,[p]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:o(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[c]),lookbehind:!0,inside:d},{pattern:o(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[c]),lookbehind:!0,inside:d}],keyword:l,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),n.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var f=a(i(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[p]),2);n.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:o(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[f]),greedy:!0,inside:{interpolation:{pattern:o(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[f]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:n.languages.qsharp}}},string:/[\s\S]+/}}})}(n),n.languages.qs=n.languages.qsharp}n.exports=i,i.displayName="qsharp",i.aliases=["qs"]},29308:function(n){"use strict";function i(n){n.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}n.exports=i,i.displayName="r",i.aliases=[]},32168:function(n,i,o){"use strict";var a=o(9997);function s(n){n.register(a),n.languages.racket=n.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),n.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),n.languages.rkt=n.languages.racket}n.exports=s,s.displayName="racket",s.aliases=["rkt"]},5755:function(n){"use strict";function i(n){n.languages.reason=n.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),n.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete n.languages.reason.function}n.exports=i,i.displayName="reason",i.aliases=[]},54105:function(n){"use strict";function i(n){var i,o,a,s,l,u,c,d;i=n,o={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},s={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},l={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},c=RegExp((u="(?:[^\\\\-]|"+(a=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+u),d={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},i.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:c,inside:{escape:a,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":o,"char-set":l,escape:a}},"special-escape":o,"char-set":s,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":d}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:a,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}n.exports=i,i.displayName="rego",i.aliases=[]},35108:function(n){"use strict";function i(n){n.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},n.languages.rpy=n.languages.renpy}n.exports=i,i.displayName="renpy",i.aliases=["rpy"]},46678:function(n){"use strict";function i(n){n.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}n.exports=i,i.displayName="rest",i.aliases=[]},47496:function(n){"use strict";function i(n){n.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}n.exports=i,i.displayName="rip",i.aliases=[]},30527:function(n){"use strict";function i(n){n.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}n.exports=i,i.displayName="roboconf",i.aliases=[]},5261:function(n){"use strict";function i(n){!function(n){var i={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},o={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function a(n,a){var s={};for(var l in s["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"},a)s[l]=a[l];return s.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},s.variable=o,s.comment=i,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return n}),"im"),alias:"section",inside:s}}var s={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},l={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:o}},u={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:o}};n.languages.robotframework={settings:a("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:a("Variables"),"test-cases":a("Test Cases",{"test-name":l,documentation:s,property:u}),keywords:a("Keywords",{"keyword-name":l,documentation:s,property:u}),tasks:a("Tasks",{"task-name":l,documentation:s,property:u}),comment:i},n.languages.robot=n.languages.robotframework}(n)}n.exports=i,i.displayName="robotframework",i.aliases=[]},56939:function(n){"use strict";function i(n){var i,o,a,s;(i=n).languages.ruby=i.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),i.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),o={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:i.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}},delete i.languages.ruby.function,a="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",s=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source,i.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+a+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:o,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:o,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+s),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+s+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),i.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+a),greedy:!0,inside:{interpolation:o,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:o,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:o,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+a),greedy:!0,inside:{interpolation:o,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:o,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete i.languages.ruby.string,i.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),i.languages.rb=i.languages.ruby}n.exports=i,i.displayName="ruby",i.aliases=["rb"]},83648:function(n){"use strict";function i(n){!function(n){for(var i=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,o=0;o<2;o++)i=i.replace(//g,function(){return i});i=i.replace(//g,function(){return/[^\s\S]/.source}),n.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+i),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},n.languages.rust["closure-params"].inside.rest=n.languages.rust,n.languages.rust.attribute.inside.string=n.languages.rust.string}(n)}n.exports=i,i.displayName="rust",i.aliases=[]},16009:function(n){"use strict";function i(n){var i,o,a,s,l,u,c,d,p,f,h,m,g,b,y,v,w,E,S;i=n,o=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,a=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,s={pattern:RegExp(o+"[bx]"),alias:"number"},u={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},c={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},d=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],m={function:h={pattern:/%?\b\w+(?=\()/,alias:"keyword"},"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":l={pattern:/&[a-z_]\w*/i},arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:a,"numeric-constant":s,punctuation:f=/[$%@.(){}\[\];,\\]/,string:p={pattern:RegExp(o),greedy:!0}},g={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},b={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},y={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},v={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},w=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,E={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return w}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return w}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:d,function:h,"arg-value":m["arg-value"],operator:m.operator,argument:m.arg,number:a,"numeric-constant":s,punctuation:f,string:p}},S={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0},i.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return o}),"im"),alias:"language-sql",inside:i.languages.sql},"global-statements":y,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:a,"numeric-constant":s,punctuation:f,string:p}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:d,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return o}),"im"),lookbehind:!0,alias:"language-groovy",inside:i.languages.groovy},keyword:S,"submit-statement":v,"global-statements":y,number:a,"numeric-constant":s,punctuation:f,string:p}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:d,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return o}),"im"),lookbehind:!0,alias:"language-lua",inside:i.languages.lua},keyword:S,"submit-statement":v,"global-statements":y,number:a,"numeric-constant":s,punctuation:f,string:p}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:d,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:m}},"cas-actions":E,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:m},step:c,keyword:S,function:h,format:g,altformat:b,"global-statements":y,number:a,"numeric-constant":s,punctuation:f,string:p}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return o}),"im"),lookbehind:!0,inside:m},"macro-keyword":u,"macro-variable":l,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":u,"macro-variable":l,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:f}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:d,number:a,"numeric-constant":s}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:m},"cas-actions":E,comment:d,function:h,format:g,altformat:b,"numeric-constant":s,datetime:{pattern:RegExp(o+"(?:dt?|t)"),alias:"number"},string:p,step:c,keyword:S,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:a,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:f}}n.exports=i,i.displayName="sas",i.aliases=[]},41720:function(n){"use strict";function i(n){var i,o,a;(i=n).languages.sass=i.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),i.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete i.languages.sass.atrule,o=/\$[-\w]+|#\{\$[-\w]+\}/,a=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],i.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:o,operator:a}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:o,operator:a,important:i.languages.sass.important}}}),delete i.languages.sass.property,delete i.languages.sass.important,i.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}n.exports=i,i.displayName="sass",i.aliases=[]},6054:function(n,i,o){"use strict";var a=o(15909);function s(n){n.register(a),n.languages.scala=n.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),n.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.scala}}},string:/[\s\S]+/}}}),delete n.languages.scala["class-name"],delete n.languages.scala.function}n.exports=s,s.displayName="scala",s.aliases=[]},9997:function(n){"use strict";function i(n){!function(n){n.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(i({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function i(n){for(var i in n)n[i]=n[i].replace(/<[\w\s]+>/g,function(i){return"(?:"+n[i].trim()+")"});return n[i]}}(n)}n.exports=i,i.displayName="scheme",i.aliases=[]},24296:function(n){"use strict";function i(n){n.languages.scss=n.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),n.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),n.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),n.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),n.languages.scss.atrule.inside.rest=n.languages.scss}n.exports=i,i.displayName="scss",i.aliases=[]},49246:function(n,i,o){"use strict";var a=o(6979);function s(n){var i,o;n.register(a),o=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|"),(i=n).languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return o}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:i.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},i.languages["sh-session"]=i.languages.shellsession=i.languages["shell-session"]}n.exports=s,s.displayName="shellSession",s.aliases=[]},18890:function(n){"use strict";function i(n){n.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}n.exports=i,i.displayName="smali",i.aliases=[]},11037:function(n){"use strict";function i(n){n.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}n.exports=i,i.displayName="smalltalk",i.aliases=[]},64020:function(n,i,o){"use strict";var a=o(93205);function s(n){var i,o,s;n.register(a),(i=n).languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:i.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},i.languages.smarty["embedded-php"].inside.smarty.inside=i.languages.smarty,i.languages.smarty.string[0].inside.interpolation.inside.expression.inside=i.languages.smarty,o=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,s=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return o.source}),"g"),i.hooks.add("before-tokenize",function(n){var o="{literal}",a="{/literal}",l=!1;i.languages["markup-templating"].buildPlaceholders(n,"smarty",s,function(n){return n===a&&(l=!1),!l&&(n===o&&(l=!0),!0)})}),i.hooks.add("after-tokenize",function(n){i.languages["markup-templating"].tokenizePlaceholders(n,"smarty")})}n.exports=s,s.displayName="smarty",s.aliases=[]},49760:function(n){"use strict";function i(n){var i,o;o=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i,(i=n).languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return o.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:o,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},i.languages.sml["class-name"][0].inside=i.languages.sml,i.languages.smlnj=i.languages.sml}n.exports=i,i.displayName="sml",i.aliases=["smlnj"]},33351:function(n){"use strict";function i(n){n.languages.solidity=n.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),n.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),n.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),n.languages.sol=n.languages.solidity}n.exports=i,i.displayName="solidity",i.aliases=["sol"]},13570:function(n){"use strict";function i(n){var i,o;o={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}},(i=n).languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:o}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:o}},guid:o,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},i.languages.sln=i.languages["solution-file"]}n.exports=i,i.displayName="solutionFile",i.aliases=[]},38181:function(n,i,o){"use strict";var a=o(93205);function s(n){var i,o,s;n.register(a),o=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,s=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/,(i=n).languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:o,greedy:!0},number:s,punctuation:/[\[\].?]/}},string:{pattern:o,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:s,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},i.hooks.add("before-tokenize",function(n){var o=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,a="{literal}",s="{/literal}",l=!1;i.languages["markup-templating"].buildPlaceholders(n,"soy",o,function(n){return n===s&&(l=!1),!l&&(n===a&&(l=!0),!0)})}),i.hooks.add("after-tokenize",function(n){i.languages["markup-templating"].tokenizePlaceholders(n,"soy")})}n.exports=s,s.displayName="soy",s.aliases=[]},98774:function(n,i,o){"use strict";var a=o(24691);function s(n){n.register(a),n.languages.sparql=n.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),n.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),n.languages.rq=n.languages.sparql}n.exports=s,s.displayName="sparql",s.aliases=["rq"]},22855:function(n){"use strict";function i(n){n.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}n.exports=i,i.displayName="splunkSpl",i.aliases=[]},29611:function(n){"use strict";function i(n){n.languages.sqf=n.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),n.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:n.languages.sqf.comment}}}),delete n.languages.sqf["class-name"]}n.exports=i,i.displayName="sqf",i.aliases=[]},11114:function(n){"use strict";function i(n){n.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}n.exports=i,i.displayName="sql",i.aliases=[]},67386:function(n){"use strict";function i(n){n.languages.squirrel=n.languages.extend("clike",{comment:[n.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),n.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),n.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}n.exports=i,i.displayName="squirrel",i.aliases=[]},28067:function(n){"use strict";function i(n){var i,o;o=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/,(i=n).languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+o.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,o],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},i.languages.stan.constraint.inside.expression.inside=i.languages.stan}n.exports=i,i.displayName="stan",i.aliases=[]},49168:function(n){"use strict";function i(n){var i,o,a,s;i=n,(s={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:o={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},number:a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:o,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:a,punctuation:/[{}()\[\];:,]/}).interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:s}},s.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:s}},i.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:s}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:s}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:s}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:s.interpolation}},rest:s}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:s.interpolation,comment:s.comment,punctuation:/[{},]/}},func:s.func,string:s.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:s.interpolation,punctuation:/[{}()\[\];:.]/}}n.exports=i,i.displayName="stylus",i.aliases=[]},23651:function(n){"use strict";function i(n){n.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},n.languages.swift["string-literal"].forEach(function(i){i.inside.interpolation.inside=n.languages.swift})}n.exports=i,i.displayName="swift",i.aliases=[]},21483:function(n){"use strict";function i(n){var i,o;i={pattern:/^[;#].*/m,greedy:!0},o=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source,n.languages.systemd={comment:i,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+o+'|(?=[^"\r\n]))(?:'+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|')+o+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:i,quoted:{pattern:RegExp(/(^|\s)/.source+o),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}n.exports=i,i.displayName="systemd",i.aliases=[]},32268:function(n,i,o){"use strict";var a=o(2329),s=o(61958);function l(n){n.register(a),n.register(s),n.languages.t4=n.languages["t4-cs"]=n.languages["t4-templating"].createT4("csharp")}n.exports=l,l.displayName="t4Cs",l.aliases=[]},2329:function(n){"use strict";function i(n){!function(n){function i(n,i,o){return{pattern:RegExp("<#"+n+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+n+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:i,alias:o}}}}function o(o){var a=n.languages[o],s="language-"+o;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:i("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:i("=",a,s),"class-feature":i("\\+",a,s),standard:i("",a,s)}}}}n.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:o})}(n)}n.exports=i,i.displayName="t4Templating",i.aliases=[]},82996:function(n,i,o){"use strict";var a=o(2329),s=o(53813);function l(n){n.register(a),n.register(s),n.languages["t4-vb"]=n.languages["t4-templating"].createT4("vbnet")}n.exports=l,l.displayName="t4Vb",l.aliases=[]},17290:function(n,i,o){"use strict";var a=o(65039);function s(n){n.register(a),n.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:n.languages.yaml,alias:"language-yaml"}}}n.exports=s,s.displayName="tap",s.aliases=[]},67989:function(n){"use strict";function i(n){n.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}n.exports=i,i.displayName="tcl",i.aliases=[]},31065:function(n){"use strict";function i(n){!function(n){var i=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,o=/\)|\((?![^|()\n]+\))/.source;function a(n,a){return RegExp(n.replace(//g,function(){return"(?:"+i+")"}).replace(//g,function(){return"(?:"+o+")"}),a||"")}var s={css:{pattern:/\{[^{}]+\}/,inside:{rest:n.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},l=n.languages.textile=n.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:a(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:a(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:s},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:a(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:a(/(^[*#]+)+/.source),lookbehind:!0,inside:s},punctuation:/^[*#]+/}},table:{pattern:a(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:a(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:s},punctuation:/\||^\./}},inline:{pattern:a(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:a(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:a(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:a(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:a(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:a(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:a(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:a(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:a(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:s},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:a(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:a(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:a(/(^")+/.source),lookbehind:!0,inside:s},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:a(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:a(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:a(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:s},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),u=l.phrase.inside,c={inline:u.inline,link:u.link,image:u.image,footnote:u.footnote,acronym:u.acronym,mark:u.mark};l.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var d=u.inline.inside;d.bold.inside=c,d.italic.inside=c,d.inserted.inside=c,d.deleted.inside=c,d.span.inside=c;var p=u.table.inside;p.inline=c.inline,p.link=c.link,p.image=c.image,p.footnote=c.footnote,p.acronym=c.acronym,p.mark=c.mark}(n)}n.exports=i,i.displayName="textile",i.aliases=[]},85572:function(n){"use strict";function i(n){!function(n){var i=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function o(n){return n.replace(/__/g,function(){return i})}n.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(o(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(o(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(n)}n.exports=i,i.displayName="toml",i.aliases=[]},27536:function(n){"use strict";function i(n){var i,o;(i=n).languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/},o=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source,i.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+o+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+o+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(o),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:i.languages.tremor}}},string:/[\s\S]+/}},i.languages.troy=i.languages.tremor,i.languages.trickle=i.languages.tremor}n.exports=i,i.displayName="tremor",i.aliases=[]},87041:function(n,i,o){"use strict";var a=o(96412),s=o(4979);function l(n){var i,o,l;n.register(a),n.register(s),o=(i=n).util.clone(i.languages.typescript),i.languages.tsx=i.languages.extend("jsx",o),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"],(l=i.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+l.pattern.source+")",l.pattern.flags),l.lookbehind=!0}n.exports=l,l.displayName="tsx",l.aliases=[]},61028:function(n,i,o){"use strict";var a=o(93205);function s(n){var i;n.register(a),(i=n).languages.tt2=i.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),i.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),i.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),i.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete i.languages.tt2.string,i.hooks.add("before-tokenize",function(n){var o=/\[%[\s\S]+?%\]/g;i.languages["markup-templating"].buildPlaceholders(n,"tt2",o)}),i.hooks.add("after-tokenize",function(n){i.languages["markup-templating"].tokenizePlaceholders(n,"tt2")})}n.exports=s,s.displayName="tt2",s.aliases=[]},24691:function(n){"use strict";function i(n){n.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},n.languages.trig=n.languages.turtle}n.exports=i,i.displayName="turtle",i.aliases=[]},19892:function(n,i,o){"use strict";var a=o(93205);function s(n){n.register(a),n.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},n.hooks.add("before-tokenize",function(i){if("twig"===i.language){var o=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;n.languages["markup-templating"].buildPlaceholders(i,"twig",o)}}),n.hooks.add("after-tokenize",function(i){n.languages["markup-templating"].tokenizePlaceholders(i,"twig")})}n.exports=s,s.displayName="twig",s.aliases=[]},4979:function(n){"use strict";function i(n){var i,o;(i=n).languages.typescript=i.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),i.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete i.languages.typescript.parameter,delete i.languages.typescript["literal-property"],delete(o=i.languages.extend("typescript",{}))["class-name"],i.languages.typescript["class-name"].inside=o,i.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:o}}}}),i.languages.ts=i.languages.typescript}n.exports=i,i.displayName="typescript",i.aliases=["ts"]},23159:function(n){"use strict";function i(n){var i,o;o=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/,(i=n).languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:o}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:o,number:/^\d+$/,punctuation:/[,|:]/}},keyword:o,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},i.languages.tsconfig=i.languages.typoscript}n.exports=i,i.displayName="typoscript",i.aliases=["tsconfig"]},34966:function(n){"use strict";function i(n){n.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},n.languages.uc=n.languages.uscript=n.languages.unrealscript}n.exports=i,i.displayName="unrealscript",i.aliases=["uc","uscript"]},44623:function(n){"use strict";function i(n){n.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}n.exports=i,i.displayName="uorazor",i.aliases=[]},38521:function(n){"use strict";function i(n){n.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source)+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")"+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},n.languages.url=n.languages.uri}n.exports=i,i.displayName="uri",i.aliases=["url"]},7255:function(n){"use strict";function i(n){var i,o;o={pattern:/[\s\S]+/,inside:null},(i=n).languages.v=i.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":o}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),o.inside=i.languages.v,i.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),i.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),i.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:i.languages.v.generic.inside}}}})}n.exports=i,i.displayName="v",i.aliases=[]},28173:function(n){"use strict";function i(n){n.languages.vala=n.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),n.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:n.languages.vala}},string:/[\s\S]+/}}}),n.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}n.exports=i,i.displayName="vala",i.aliases=[]},53813:function(n,i,o){"use strict";var a=o(46241);function s(n){n.register(a),n.languages.vbnet=n.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}n.exports=s,s.displayName="vbnet",s.aliases=[]},46891:function(n){"use strict";function i(n){var i,o;(i=n).languages.velocity=i.languages.extend("markup",{}),(o={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/}).variable.inside={string:o.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:o.number,boolean:o.boolean,punctuation:o.punctuation},i.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:o}},variable:o.variable}),i.languages.velocity.tag.inside["attr-value"].inside.rest=i.languages.velocity}n.exports=i,i.displayName="velocity",i.aliases=[]},91824:function(n){"use strict";function i(n){n.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}n.exports=i,i.displayName="verilog",i.aliases=[]},9447:function(n){"use strict";function i(n){n.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}n.exports=i,i.displayName="vhdl",i.aliases=[]},53062:function(n){"use strict";function i(n){n.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}n.exports=i,i.displayName="vim",i.aliases=[]},46215:function(n){"use strict";function i(n){n.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},n.languages.vb=n.languages["visual-basic"],n.languages.vba=n.languages["visual-basic"]}n.exports=i,i.displayName="visualBasic",i.aliases=[]},10784:function(n){"use strict";function i(n){n.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}n.exports=i,i.displayName="warpscript",i.aliases=[]},17684:function(n){"use strict";function i(n){n.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}n.exports=i,i.displayName="wasm",i.aliases=[]},64851:function(n){"use strict";function i(n){!function(n){var i=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,o="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+i+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,a={};for(var s in n.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+i),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:a},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+o),lookbehind:!0,inside:a},{pattern:RegExp("("+/\bcallback\s+/.source+i+/\s*=\s*/.source+")"+o),lookbehind:!0,inside:a},{pattern:RegExp(/(\btypedef\b\s*)/.source+o),lookbehind:!0,inside:a},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+i),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+i),lookbehind:!0},RegExp(i+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+i),lookbehind:!0},{pattern:RegExp(o+"(?="+/\s*(?:\.{3}\s*)?/.source+i+/\s*[(),;=]/.source+")"),inside:a}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/},n.languages["web-idl"])"class-name"!==s&&(a[s]=n.languages["web-idl"][s]);n.languages.webidl=n.languages["web-idl"]}(n)}n.exports=i,i.displayName="webIdl",i.aliases=[]},18191:function(n){"use strict";function i(n){n.languages.wiki=n.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:n.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),n.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:n.languages.markup.tag.inside}}}})}n.exports=i,i.displayName="wiki",i.aliases=[]},75242:function(n){"use strict";function i(n){n.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},n.languages.mathematica=n.languages.wolfram,n.languages.wl=n.languages.wolfram,n.languages.nb=n.languages.wolfram}n.exports=i,i.displayName="wolfram",i.aliases=["mathematica","wl","nb"]},93639:function(n){"use strict";function i(n){n.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},n.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:n.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}n.exports=i,i.displayName="wren",i.aliases=[]},97202:function(n){"use strict";function i(n){var i;(i=n).languages.xeora=i.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),i.languages.insertBefore("inside","punctuation",{variable:i.languages.xeora["function-inline"].inside.variable},i.languages.xeora["function-block"]),i.languages.xeoracube=i.languages.xeora}n.exports=i,i.displayName="xeora",i.aliases=["xeoracube"]},13808:function(n){"use strict";function i(n){!function(n){function i(i,o){n.languages[i]&&n.languages.insertBefore(i,"comment",{"doc-comment":o})}var o=n.languages.markup.tag,a={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:o}},s={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:o}};i("csharp",a),i("fsharp",a),i("vbnet",s)}(n)}n.exports=i,i.displayName="xmlDoc",i.aliases=[]},21301:function(n){"use strict";function i(n){n.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}n.exports=i,i.displayName="xojo",i.aliases=[]},20349:function(n){"use strict";function i(n){!function(n){n.languages.xquery=n.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),n.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,n.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,n.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:n.languages.xquery,alias:"language-xquery"};var i=function(n){return"string"==typeof n?n:"string"==typeof n.content?n.content:n.content.map(i).join("")},o=function(a){for(var s=[],l=0;l0&&s[s.length-1].tagName===i(u.content[0].content[1])&&s.pop():"/>"===u.content[u.content.length-1].content||s.push({tagName:i(u.content[0].content[1]),openedBraces:0}):!(s.length>0)||"punctuation"!==u.type||"{"!==u.content||a[l+1]&&"punctuation"===a[l+1].type&&"{"===a[l+1].content||a[l-1]&&"plain-text"===a[l-1].type&&"{"===a[l-1].content?s.length>0&&s[s.length-1].openedBraces>0&&"punctuation"===u.type&&"}"===u.content?s[s.length-1].openedBraces--:"comment"!==u.type&&(c=!0):s[s.length-1].openedBraces++),(c||"string"==typeof u)&&s.length>0&&0===s[s.length-1].openedBraces){var d=i(u);l0&&("string"==typeof a[l-1]||"plain-text"===a[l-1].type)&&(d=i(a[l-1])+d,a.splice(l-1,1),l--),/^\s+$/.test(d)?a[l]=d:a[l]=new n.Token("plain-text",d,null,d)}u.content&&"string"!=typeof u.content&&o(u.content)}};n.hooks.add("after-tokenize",function(n){"xquery"===n.language&&o(n.tokens)})}(n)}n.exports=i,i.displayName="xquery",i.aliases=[]},65039:function(n){"use strict";function i(n){!function(n){var i=/[*&][^\s[\]{},]+/,o=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,a="(?:"+o.source+"(?:[ ]+"+i.source+")?|"+i.source+"(?:[ ]+"+o.source+")?)",s=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),l=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function u(n,i){return i=(i||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return n}),i)}n.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return a})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return"(?:"+s+"|"+l+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:u(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:u(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:u(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:u(l),lookbehind:!0,greedy:!0},number:{pattern:u(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:o,important:i,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},n.languages.yml=n.languages.yaml}(n)}n.exports=i,i.displayName="yaml",i.aliases=["yml"]},96319:function(n){"use strict";function i(n){n.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}n.exports=i,i.displayName="yang",i.aliases=[]},31501:function(n){"use strict";function i(n){!function(n){function i(n){return function(){return n}}var o=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,a="\\b(?!"+o.source+")(?!\\d)\\w+\\b",s=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,l="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,i(s))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,i(a))+")+";n.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,i(l)).replace(//g,i(s))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,i(l)).replace(//g,i(s))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:o,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},n.languages.zig["class-name"].forEach(function(i){null===i.inside&&(i.inside=n.languages.zig)})}(n)}n.exports=i,i.displayName="zig",i.aliases=[]},76826:function(n){var i={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",Ấ:"A",Ắ:"A",Ẳ:"A",Ẵ:"A",Ặ:"A",Æ:"AE",Ầ:"A",Ằ:"A",Ȃ:"A",Ç:"C",Ḉ:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ế:"E",Ḗ:"E",Ề:"E",Ḕ:"E",Ḝ:"E",Ȇ:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ḯ:"I",Ȋ:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",Ố:"O",Ṍ:"O",Ṓ:"O",Ȏ:"O",Ù:"U",Ú:"U",Û:"U",Ü:"U",Ý:"Y",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",ấ:"a",ắ:"a",ẳ:"a",ẵ:"a",ặ:"a",æ:"ae",ầ:"a",ằ:"a",ȃ:"a",ç:"c",ḉ:"c",è:"e",é:"e",ê:"e",ë:"e",ế:"e",ḗ:"e",ề:"e",ḕ:"e",ḝ:"e",ȇ:"e",ì:"i",í:"i",î:"i",ï:"i",ḯ:"i",ȋ:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",ố:"o",ṍ:"o",ṓ:"o",ȏ:"o",ù:"u",ú:"u",û:"u",ü:"u",ý:"y",ÿ:"y",Ā:"A",ā:"a",Ă:"A",ă:"a",Ą:"A",ą:"a",Ć:"C",ć:"c",Ĉ:"C",ĉ:"c",Ċ:"C",ċ:"c",Č:"C",č:"c",C̆:"C",c̆:"c",Ď:"D",ď:"d",Đ:"D",đ:"d",Ē:"E",ē:"e",Ĕ:"E",ĕ:"e",Ė:"E",ė:"e",Ę:"E",ę:"e",Ě:"E",ě:"e",Ĝ:"G",Ǵ:"G",ĝ:"g",ǵ:"g",Ğ:"G",ğ:"g",Ġ:"G",ġ:"g",Ģ:"G",ģ:"g",Ĥ:"H",ĥ:"h",Ħ:"H",ħ:"h",Ḫ:"H",ḫ:"h",Ĩ:"I",ĩ:"i",Ī:"I",ī:"i",Ĭ:"I",ĭ:"i",Į:"I",į:"i",İ:"I",ı:"i",IJ:"IJ",ij:"ij",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",Ḱ:"K",ḱ:"k",K̆:"K",k̆:"k",Ĺ:"L",ĺ:"l",Ļ:"L",ļ:"l",Ľ:"L",ľ:"l",Ŀ:"L",ŀ:"l",Ł:"l",ł:"l",Ḿ:"M",ḿ:"m",M̆:"M",m̆:"m",Ń:"N",ń:"n",Ņ:"N",ņ:"n",Ň:"N",ň:"n",ʼn:"n",N̆:"N",n̆:"n",Ō:"O",ō:"o",Ŏ:"O",ŏ:"o",Ő:"O",ő:"o",Œ:"OE",œ:"oe",P̆:"P",p̆:"p",Ŕ:"R",ŕ:"r",Ŗ:"R",ŗ:"r",Ř:"R",ř:"r",R̆:"R",r̆:"r",Ȓ:"R",ȓ:"r",Ś:"S",ś:"s",Ŝ:"S",ŝ:"s",Ş:"S",Ș:"S",ș:"s",ş:"s",Š:"S",š:"s",Ţ:"T",ţ:"t",ț:"t",Ț:"T",Ť:"T",ť:"t",Ŧ:"T",ŧ:"t",T̆:"T",t̆:"t",Ũ:"U",ũ:"u",Ū:"U",ū:"u",Ŭ:"U",ŭ:"u",Ů:"U",ů:"u",Ű:"U",ű:"u",Ų:"U",ų:"u",Ȗ:"U",ȗ:"u",V̆:"V",v̆:"v",Ŵ:"W",ŵ:"w",Ẃ:"W",ẃ:"w",X̆:"X",x̆:"x",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Y̆:"Y",y̆:"y",Ź:"Z",ź:"z",Ż:"Z",ż:"z",Ž:"Z",ž:"z",ſ:"s",ƒ:"f",Ơ:"O",ơ:"o",Ư:"U",ư:"u",Ǎ:"A",ǎ:"a",Ǐ:"I",ǐ:"i",Ǒ:"O",ǒ:"o",Ǔ:"U",ǔ:"u",Ǖ:"U",ǖ:"u",Ǘ:"U",ǘ:"u",Ǚ:"U",ǚ:"u",Ǜ:"U",ǜ:"u",Ứ:"U",ứ:"u",Ṹ:"U",ṹ:"u",Ǻ:"A",ǻ:"a",Ǽ:"AE",ǽ:"ae",Ǿ:"O",ǿ:"o",Þ:"TH",þ:"th",Ṕ:"P",ṕ:"p",Ṥ:"S",ṥ:"s",X́:"X",x́:"x",Ѓ:"Г",ѓ:"г",Ќ:"К",ќ:"к",A̋:"A",a̋:"a",E̋:"E",e̋:"e",I̋:"I",i̋:"i",Ǹ:"N",ǹ:"n",Ồ:"O",ồ:"o",Ṑ:"O",ṑ:"o",Ừ:"U",ừ:"u",Ẁ:"W",ẁ:"w",Ỳ:"Y",ỳ:"y",Ȁ:"A",ȁ:"a",Ȅ:"E",ȅ:"e",Ȉ:"I",ȉ:"i",Ȍ:"O",ȍ:"o",Ȑ:"R",ȑ:"r",Ȕ:"U",ȕ:"u",B̌:"B",b̌:"b",Č̣:"C",č̣:"c",Ê̌:"E",ê̌:"e",F̌:"F",f̌:"f",Ǧ:"G",ǧ:"g",Ȟ:"H",ȟ:"h",J̌:"J",ǰ:"j",Ǩ:"K",ǩ:"k",M̌:"M",m̌:"m",P̌:"P",p̌:"p",Q̌:"Q",q̌:"q",Ř̩:"R",ř̩:"r",Ṧ:"S",ṧ:"s",V̌:"V",v̌:"v",W̌:"W",w̌:"w",X̌:"X",x̌:"x",Y̌:"Y",y̌:"y",A̧:"A",a̧:"a",B̧:"B",b̧:"b",Ḑ:"D",ḑ:"d",Ȩ:"E",ȩ:"e",Ɛ̧:"E",ɛ̧:"e",Ḩ:"H",ḩ:"h",I̧:"I",i̧:"i",Ɨ̧:"I",ɨ̧:"i",M̧:"M",m̧:"m",O̧:"O",o̧:"o",Q̧:"Q",q̧:"q",U̧:"U",u̧:"u",X̧:"X",x̧:"x",Z̧:"Z",z̧:"z"},o=Object.keys(i).join("|"),a=RegExp(o,"g"),s=RegExp(o,""),l=function(n){return n.replace(a,function(n){return i[n]})},u=function(n){return!!n.match(s)};n.exports=l,n.exports.has=u,n.exports.remove=l},49019:function(n){"use strict";function i(){let n;let i=!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent);return i&&indexedDB.databases?new Promise(i=>{let o=()=>indexedDB.databases().finally(i);n=setInterval(o,100),o()}).finally(()=>clearInterval(n)):Promise.resolve()}n.exports=i},89509:function(n,i,o){/*! safe-buffer. MIT License. Feross Aboukhadijeh */ var a=o(48764),s=a.Buffer;function l(n,i){for(var o in n)i[o]=n[o]}function u(n,i,o){return s(n,i,o)}s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?n.exports=a:(l(a,i),i.Buffer=u),u.prototype=Object.create(s.prototype),l(s,u),u.from=function(n,i,o){if("number"==typeof n)throw TypeError("Argument must not be a number");return s(n,i,o)},u.alloc=function(n,i,o){if("number"!=typeof n)throw TypeError("Argument must be a number");var a=s(n);return void 0!==i?"string"==typeof o?a.fill(i,o):a.fill(i):a.fill(0),a},u.allocUnsafe=function(n){if("number"!=typeof n)throw TypeError("Argument must be a number");return s(n)},u.allocUnsafeSlow=function(n){if("number"!=typeof n)throw TypeError("Argument must be a number");return a.SlowBuffer(n)}},60053:function(n,i){"use strict";/** * @license React * scheduler.production.min.js * @@ -532,34 +545,21 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ function o(n,i){var o=n.length;n.push(i);r:for(;0>>1,s=n[a];if(0>>1;al(d,o))pl(f,d)?(n[a]=f,n[p]=o,a=p):(n[a]=d,n[c]=o,a=c);else if(pl(f,o))n[a]=f,n[p]=o,a=p;else break r}}return i}function l(n,i){var o=n.sortIndex-i.sortIndex;return 0!==o?o:n.id-i.id}if("object"==typeof performance&&"function"==typeof performance.now){var u,c=performance;i.unstable_now=function(){return c.now()}}else{var d=Date,p=d.now();i.unstable_now=function(){return d.now()-p}}var f=[],h=[],m=1,g=null,b=3,y=!1,v=!1,w=!1,E="function"==typeof setTimeout?setTimeout:null,S="function"==typeof clearTimeout?clearTimeout:null,x="undefined"!=typeof setImmediate?setImmediate:null;function _(n){for(var i=a(h);null!==i;){if(null===i.callback)s(h);else if(i.startTime<=n)s(h),i.sortIndex=i.expirationTime,o(f,i);else break;i=a(h)}}function k(n){if(w=!1,_(n),!v){if(null!==a(f))v=!0,P(A);else{var i=a(h);null!==i&&F(k,i.startTime-n)}}}function A(n,o){v=!1,w&&(w=!1,S(R),R=-1),y=!0;var l=b;try{for(_(o),g=a(f);null!==g&&(!(g.expirationTime>o)||n&&!I());){var u=g.callback;if("function"==typeof u){g.callback=null,b=g.priorityLevel;var c=u(g.expirationTime<=o);o=i.unstable_now(),"function"==typeof c?g.callback=c:g===a(f)&&s(f),_(o)}else s(f);g=a(f)}if(null!==g)var d=!0;else{var p=a(h);null!==p&&F(k,p.startTime-o),d=!1}return d}finally{g=null,b=l,y=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var T=!1,C=null,R=-1,D=5,O=-1;function I(){return!(i.unstable_now()-On||125u?(n.sortIndex=l,o(h,n),null===a(f)&&n===a(h)&&(w?(S(R),R=-1):w=!0,F(k,l-u))):(n.sortIndex=c,o(f,n),v||y||(v=!0,P(A))),n},i.unstable_shouldYield=I,i.unstable_wrapCallback=function(n){var i=b;return function(){var o=b;b=i;try{return n.apply(this,arguments)}finally{b=o}}}},63840:function(n,i,o){"use strict";n.exports=o(60053)},67771:function(n,i,o){"use strict";var a=o(40210),s=o(12296),l=o(31044)(),u=o(27296),c=a("%TypeError%"),d=a("%Math.floor%");n.exports=function(n,i){if("function"!=typeof n)throw new c("`fn` is not a function");if("number"!=typeof i||i<0||i>4294967295||d(i)!==i)throw new c("`length` must be a positive 32-bit integer");var o=arguments.length>2&&!!arguments[2],a=!0,p=!0;if("length"in n&&u){var f=u(n,"length");f&&!f.configurable&&(a=!1),f&&!f.writable&&(p=!1)}return(a||p||!o)&&(l?s(n,"length",i,!0,!0):s(n,"length",i)),n}},80500:function(n){"use strict";n.exports=(n,i)=>{if(!("string"==typeof n&&"string"==typeof i))throw TypeError("Expected the arguments to be of type `string`");if(""===i)return[n];let o=n.indexOf(i);return -1===o?[n]:[n.slice(0,o),n.slice(o+i.length)]}},70610:function(n){"use strict";n.exports=n=>encodeURIComponent(n).replace(/[!'()*]/g,n=>`%${n.charCodeAt(0).toString(16).toUpperCase()}`)},32553:function(n,i,o){"use strict";var a=o(89509).Buffer,s=a.isEncoding||function(n){switch((n=""+n)&&n.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function l(n){var i;if(!n)return"utf8";for(;;)switch(n){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return n;default:if(i)return;n=(""+n).toLowerCase(),i=!0}}function u(n){var i=l(n);if("string"!=typeof i&&(a.isEncoding===s||!s(n)))throw Error("Unknown encoding: "+n);return i||n}function c(n){var i;switch(this.encoding=u(n),this.encoding){case"utf16le":this.text=b,this.end=y,i=4;break;case"utf8":this.fillLast=h,i=4;break;case"base64":this.text=v,this.end=w,i=3;break;default:this.write=E,this.end=S;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=a.allocUnsafe(i)}function d(n){return n<=127?0:n>>5==6?2:n>>4==14?3:n>>3==30?4:n>>6==2?-1:-2}function p(n,i,o){var a=i.length-1;if(a=0?(s>0&&(n.lastNeed=s-1),s):--a=0?(s>0&&(n.lastNeed=s-2),s):--a=0?(s>0&&(2===s?s=0:n.lastNeed=s-3),s):0}function f(n,i,o){if((192&i[0])!=128)return n.lastNeed=0,"�";if(n.lastNeed>1&&i.length>1){if((192&i[1])!=128)return n.lastNeed=1,"�";if(n.lastNeed>2&&i.length>2&&(192&i[2])!=128)return n.lastNeed=2,"�"}}function h(n){var i=this.lastTotal-this.lastNeed,o=f(this,n,i);return void 0!==o?o:this.lastNeed<=n.length?(n.copy(this.lastChar,i,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(n.copy(this.lastChar,i,0,n.length),this.lastNeed-=n.length)}function m(n,i){var o=p(this,n,i);if(!this.lastNeed)return n.toString("utf8",i);this.lastTotal=o;var a=n.length-(o-this.lastNeed);return n.copy(this.lastChar,0,a),n.toString("utf8",i,a)}function g(n){var i=n&&n.length?this.write(n):"";return this.lastNeed?i+"�":i}function b(n,i){if((n.length-i)%2==0){var o=n.toString("utf16le",i);if(o){var a=o.charCodeAt(o.length-1);if(a>=55296&&a<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=n[n.length-2],this.lastChar[1]=n[n.length-1],o.slice(0,-1)}return o}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=n[n.length-1],n.toString("utf16le",i,n.length-1)}function y(n){var i=n&&n.length?this.write(n):"";if(this.lastNeed){var o=this.lastTotal-this.lastNeed;return i+this.lastChar.toString("utf16le",0,o)}return i}function v(n,i){var o=(n.length-i)%3;return 0===o?n.toString("base64",i):(this.lastNeed=3-o,this.lastTotal=3,1===o?this.lastChar[0]=n[n.length-1]:(this.lastChar[0]=n[n.length-2],this.lastChar[1]=n[n.length-1]),n.toString("base64",i,n.length-o))}function w(n){var i=n&&n.length?this.write(n):"";return this.lastNeed?i+this.lastChar.toString("base64",0,3-this.lastNeed):i}function E(n){return n.toString(this.encoding)}function S(n){return n&&n.length?this.write(n):""}i.StringDecoder=c,c.prototype.write=function(n){var i,o;if(0===n.length)return"";if(this.lastNeed){if(void 0===(i=this.fillLast(n)))return"";o=this.lastNeed,this.lastNeed=0}else o=0;return oi.indexOf(a)&&(o[a]=n[a]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,a=Object.getOwnPropertySymbols(n);si.indexOf(a[s])&&Object.prototype.propertyIsEnumerable.call(n,a[s])&&(o[a[s]]=n[a[s]]);return o}function c(n,i,o,a){var s,l=arguments.length,u=l<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(n,i,o,a);else for(var c=n.length-1;c>=0;c--)(s=n[c])&&(u=(l<3?s(u):l>3?s(i,o,u):s(i,o))||u);return l>3&&u&&Object.defineProperty(i,o,u),u}function d(n,i){return function(o,a){i(o,a,n)}}function p(n,i){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(n,i)}function f(n,i,o,a){function s(n){return n instanceof o?n:new o(function(i){i(n)})}return new(o||(o=Promise))(function(o,l){function u(n){try{d(a.next(n))}catch(i){l(i)}}function c(n){try{d(a.throw(n))}catch(i){l(i)}}function d(n){n.done?o(n.value):s(n.value).then(u,c)}d((a=a.apply(n,i||[])).next())})}function h(n,i){var o,a,s,l,u={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return l={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function c(n){return function(i){return d([n,i])}}function d(l){if(o)throw TypeError("Generator is already executing.");for(;u;)try{if(o=1,a&&(s=2&l[0]?a.return:l[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,l[1])).done)return s;switch(a=0,s&&(l=[2&l[0],s.value]),l[0]){case 0:case 1:s=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,a=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(!(s=(s=u.trys).length>0&&s[s.length-1])&&(6===l[0]||2===l[0])){u=0;continue}if(3===l[0]&&(!s||l[1]>s[0]&&l[1]=n.length&&(n=void 0),{value:n&&n[a++],done:!n}}};throw TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(n,i){var o="function"==typeof Symbol&&n[Symbol.iterator];if(!o)return n;var a,s,l=o.call(n),u=[];try{for(;(void 0===i||i-- >0)&&!(a=l.next()).done;)u.push(a.value)}catch(c){s={error:c}}finally{try{a&&!a.done&&(o=l.return)&&o.call(l)}finally{if(s)throw s.error}}return u}function v(){for(var n=[],i=0;i1||c(n,i)})})}function c(n,i){try{d(s[n](i))}catch(o){h(l[0][3],o)}}function d(n){n.value instanceof E?Promise.resolve(n.value.v).then(p,f):h(l[0][2],n)}function p(n){c("next",n)}function f(n){c("throw",n)}function h(n,i){n(i),l.shift(),l.length&&c(l[0][0],l[0][1])}}function x(n){var i,o;return i={},a("next"),a("throw",function(n){throw n}),a("return"),i[Symbol.iterator]=function(){return this},i;function a(a,s){i[a]=n[a]?function(i){return(o=!o)?{value:E(n[a](i)),done:"return"===a}:s?s(i):i}:s}}function _(n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var i,o=n[Symbol.asyncIterator];return o?o.call(n):(n=b(n),i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i);function a(o){i[o]=n[o]&&function(i){return new Promise(function(a,l){s(a,l,(i=n[o](i)).done,i.value)})}}function s(n,i,o,a){Promise.resolve(a).then(function(i){n({value:i,done:o})},i)}}function k(n,i){return Object.defineProperty?Object.defineProperty(n,"raw",{value:i}):n.raw=i,n}function A(n){if(n&&n.__esModule)return n;var i={};if(null!=n)for(var o in n)Object.hasOwnProperty.call(n,o)&&(i[o]=n[o]);return i.default=n,i}function T(n){return n&&n.__esModule?n:{default:n}}function C(n,i){if(!i.has(n))throw TypeError("attempted to get private field on non-instance");return i.get(n)}function R(n,i,o){if(!i.has(n))throw TypeError("attempted to set private field on non-instance");return i.set(n,o),o}},65054:function(n,i,o){var a=o(48764).Buffer,s=o(4501).strict;n.exports=function(n){if(!s(n))return a.from(n);var i=a.from(n.buffer);return n.byteLength!==n.buffer.byteLength&&(i=i.slice(n.byteOffset,n.byteOffset+n.byteLength)),i}},73469:function(n){/*! + */ function o(n,i){var o=n.length;n.push(i);r:for(;0>>1,s=n[a];if(0>>1;al(d,o))pl(f,d)?(n[a]=f,n[p]=o,a=p):(n[a]=d,n[c]=o,a=c);else if(pl(f,o))n[a]=f,n[p]=o,a=p;else break r}}return i}function l(n,i){var o=n.sortIndex-i.sortIndex;return 0!==o?o:n.id-i.id}if("object"==typeof performance&&"function"==typeof performance.now){var u,c=performance;i.unstable_now=function(){return c.now()}}else{var d=Date,p=d.now();i.unstable_now=function(){return d.now()-p}}var f=[],h=[],m=1,g=null,b=3,y=!1,v=!1,w=!1,E="function"==typeof setTimeout?setTimeout:null,S="function"==typeof clearTimeout?clearTimeout:null,x="undefined"!=typeof setImmediate?setImmediate:null;function _(n){for(var i=a(h);null!==i;){if(null===i.callback)s(h);else if(i.startTime<=n)s(h),i.sortIndex=i.expirationTime,o(f,i);else break;i=a(h)}}function k(n){if(w=!1,_(n),!v){if(null!==a(f))v=!0,P(A);else{var i=a(h);null!==i&&F(k,i.startTime-n)}}}function A(n,o){v=!1,w&&(w=!1,S(R),R=-1),y=!0;var l=b;try{for(_(o),g=a(f);null!==g&&(!(g.expirationTime>o)||n&&!I());){var u=g.callback;if("function"==typeof u){g.callback=null,b=g.priorityLevel;var c=u(g.expirationTime<=o);o=i.unstable_now(),"function"==typeof c?g.callback=c:g===a(f)&&s(f),_(o)}else s(f);g=a(f)}if(null!==g)var d=!0;else{var p=a(h);null!==p&&F(k,p.startTime-o),d=!1}return d}finally{g=null,b=l,y=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var T=!1,C=null,R=-1,D=5,O=-1;function I(){return!(i.unstable_now()-On||125u?(n.sortIndex=l,o(h,n),null===a(f)&&n===a(h)&&(w?(S(R),R=-1):w=!0,F(k,l-u))):(n.sortIndex=c,o(f,n),v||y||(v=!0,P(A))),n},i.unstable_shouldYield=I,i.unstable_wrapCallback=function(n){var i=b;return function(){var o=b;b=i;try{return n.apply(this,arguments)}finally{b=o}}}},63840:function(n,i,o){"use strict";n.exports=o(60053)},36582:function(n,i){"use strict";i.Q=s;var o="",a=/[ \t\n\r\f]+/g;function s(n){var i=String(n||o).trim();return i===o?[]:i.split(a)}},80500:function(n){"use strict";n.exports=(n,i)=>{if(!("string"==typeof n&&"string"==typeof i))throw TypeError("Expected the arguments to be of type `string`");if(""===i)return[n];let o=n.indexOf(i);return -1===o?[n]:[n.slice(0,o),n.slice(o+i.length)]}},32553:function(n,i,o){"use strict";var a=o(89509).Buffer,s=a.isEncoding||function(n){switch((n=""+n)&&n.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function l(n){var i;if(!n)return"utf8";for(;;)switch(n){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return n;default:if(i)return;n=(""+n).toLowerCase(),i=!0}}function u(n){var i=l(n);if("string"!=typeof i&&(a.isEncoding===s||!s(n)))throw Error("Unknown encoding: "+n);return i||n}function c(n){var i;switch(this.encoding=u(n),this.encoding){case"utf16le":this.text=b,this.end=y,i=4;break;case"utf8":this.fillLast=h,i=4;break;case"base64":this.text=v,this.end=w,i=3;break;default:this.write=E,this.end=S;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=a.allocUnsafe(i)}function d(n){return n<=127?0:n>>5==6?2:n>>4==14?3:n>>3==30?4:n>>6==2?-1:-2}function p(n,i,o){var a=i.length-1;if(a=0?(s>0&&(n.lastNeed=s-1),s):--a=0?(s>0&&(n.lastNeed=s-2),s):--a=0?(s>0&&(2===s?s=0:n.lastNeed=s-3),s):0}function f(n,i,o){if((192&i[0])!=128)return n.lastNeed=0,"�";if(n.lastNeed>1&&i.length>1){if((192&i[1])!=128)return n.lastNeed=1,"�";if(n.lastNeed>2&&i.length>2&&(192&i[2])!=128)return n.lastNeed=2,"�"}}function h(n){var i=this.lastTotal-this.lastNeed,o=f(this,n,i);return void 0!==o?o:this.lastNeed<=n.length?(n.copy(this.lastChar,i,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(n.copy(this.lastChar,i,0,n.length),this.lastNeed-=n.length)}function m(n,i){var o=p(this,n,i);if(!this.lastNeed)return n.toString("utf8",i);this.lastTotal=o;var a=n.length-(o-this.lastNeed);return n.copy(this.lastChar,0,a),n.toString("utf8",i,a)}function g(n){var i=n&&n.length?this.write(n):"";return this.lastNeed?i+"�":i}function b(n,i){if((n.length-i)%2==0){var o=n.toString("utf16le",i);if(o){var a=o.charCodeAt(o.length-1);if(a>=55296&&a<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=n[n.length-2],this.lastChar[1]=n[n.length-1],o.slice(0,-1)}return o}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=n[n.length-1],n.toString("utf16le",i,n.length-1)}function y(n){var i=n&&n.length?this.write(n):"";if(this.lastNeed){var o=this.lastTotal-this.lastNeed;return i+this.lastChar.toString("utf16le",0,o)}return i}function v(n,i){var o=(n.length-i)%3;return 0===o?n.toString("base64",i):(this.lastNeed=3-o,this.lastTotal=3,1===o?this.lastChar[0]=n[n.length-1]:(this.lastChar[0]=n[n.length-2],this.lastChar[1]=n[n.length-1]),n.toString("base64",i,n.length-o))}function w(n){var i=n&&n.length?this.write(n):"";return this.lastNeed?i+this.lastChar.toString("base64",0,3-this.lastNeed):i}function E(n){return n.toString(this.encoding)}function S(n){return n&&n.length?this.write(n):""}i.StringDecoder=c,c.prototype.write=function(n){var i,o;if(0===n.length)return"";if(this.lastNeed){if(void 0===(i=this.fillLast(n)))return"";o=this.lastNeed,this.lastNeed=0}else o=0;return o * @license MIT - */ n.exports=function(n){return null!=n&&null!=n.constructor&&"function"==typeof n.constructor.isBuffer&&n.constructor.isBuffer(n)}},28498:function(n,i){"use strict";var o,a;Object.defineProperty(i,"__esModule",{value:!0}),i.errorMessages=i.ErrorType=void 0,(a=o=i.ErrorType||(i.ErrorType={})).MalformedUnicode="MALFORMED_UNICODE",a.MalformedHexadecimal="MALFORMED_HEXADECIMAL",a.CodePointLimit="CODE_POINT_LIMIT",a.OctalDeprecation="OCTAL_DEPRECATION",a.EndOfString="END_OF_STRING",i.errorMessages=new Map([[o.MalformedUnicode,"malformed Unicode character escape sequence"],[o.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[o.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[o.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[o.EndOfString,"malformed escape sequence at end of string"]])},93012:function(n,i,o){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.unraw=i.errorMessages=i.ErrorType=void 0;let a=o(28498);function s(n){let i=!n.match(/[^a-f0-9]/i);return i?parseInt(n,16):NaN}function l(n,i,o){let l=s(n);if(Number.isNaN(l)||void 0!==o&&o!==n.length)throw SyntaxError(a.errorMessages.get(i));return l}function u(n){let i=l(n,a.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(i)}function c(n,i){let o=l(n,a.ErrorType.MalformedUnicode,4);if(void 0!==i){let s=l(i,a.ErrorType.MalformedUnicode,4);return String.fromCharCode(o,s)}return String.fromCharCode(o)}function d(n){return"{"===n.charAt(0)&&"}"===n.charAt(n.length-1)}function p(n){if(!d(n))throw SyntaxError(a.errorMessages.get(a.ErrorType.MalformedUnicode));let i=n.slice(1,-1),o=l(i,a.ErrorType.MalformedUnicode);try{return String.fromCodePoint(o)}catch(s){throw s instanceof RangeError?SyntaxError(a.errorMessages.get(a.ErrorType.CodePointLimit)):s}}function f(n,i=!1){if(i)throw SyntaxError(a.errorMessages.get(a.ErrorType.OctalDeprecation));let o=parseInt(n,8);return String.fromCharCode(o)}Object.defineProperty(i,"ErrorType",{enumerable:!0,get:function(){return a.ErrorType}}),Object.defineProperty(i,"errorMessages",{enumerable:!0,get:function(){return a.errorMessages}});let h=new Map([["b","\b"],["f","\f"],["n","\n"],["r","\r"],["t"," "],["v","\v"],["0","\0"]]);function m(n){return h.get(n)||n}let g=/\\(?:(\\)|x([\s\S]{0,2})|u(\{[^}]*\}?)|u([\s\S]{4})\\u([^{][\s\S]{0,3})|u([\s\S]{0,4})|([0-3]?[0-7]{1,2})|([\s\S])|$)/g;function b(n,i=!1){return n.replace(g,function(n,o,s,l,d,h,g,b,y){if(void 0!==o)return"\\";if(void 0!==s)return u(s);if(void 0!==l)return p(l);if(void 0!==d)return c(d,h);if(void 0!==g)return c(g);if("0"===b)return"\0";if(void 0!==b)return f(b,!i);if(void 0!==y)return m(y);throw SyntaxError(a.errorMessages.get(a.ErrorType.EndOfString))})}i.unraw=b,i.default=b},20384:function(n){n.exports=function(n){return n&&"object"==typeof n&&"function"==typeof n.copy&&"function"==typeof n.fill&&"function"==typeof n.readUInt8}},55955:function(n,i,o){"use strict";var a=o(82584),s=o(48662),l=o(86430),u=o(85692);function c(n){return n.call.bind(n)}var d="undefined"!=typeof BigInt,p="undefined"!=typeof Symbol,f=c(Object.prototype.toString),h=c(Number.prototype.valueOf),m=c(String.prototype.valueOf),g=c(Boolean.prototype.valueOf);if(d)var b=c(BigInt.prototype.valueOf);if(p)var y=c(Symbol.prototype.valueOf);function v(n,i){if("object"!=typeof n)return!1;try{return i(n),!0}catch(o){return!1}}function w(n){return"undefined"!=typeof Promise&&n instanceof Promise||null!==n&&"object"==typeof n&&"function"==typeof n.then&&"function"==typeof n.catch}function E(n){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(n):u(n)||V(n)}function S(n){return"Uint8Array"===l(n)}function x(n){return"Uint8ClampedArray"===l(n)}function _(n){return"Uint16Array"===l(n)}function k(n){return"Uint32Array"===l(n)}function A(n){return"Int8Array"===l(n)}function T(n){return"Int16Array"===l(n)}function C(n){return"Int32Array"===l(n)}function R(n){return"Float32Array"===l(n)}function D(n){return"Float64Array"===l(n)}function O(n){return"BigInt64Array"===l(n)}function I(n){return"BigUint64Array"===l(n)}function N(n){return"[object Map]"===f(n)}function M(n){return"undefined"!=typeof Map&&(N.working?N(n):n instanceof Map)}function L(n){return"[object Set]"===f(n)}function P(n){return"undefined"!=typeof Set&&(L.working?L(n):n instanceof Set)}function F(n){return"[object WeakMap]"===f(n)}function B(n){return"undefined"!=typeof WeakMap&&(F.working?F(n):n instanceof WeakMap)}function U(n){return"[object WeakSet]"===f(n)}function z(n){return U(n)}function j(n){return"[object ArrayBuffer]"===f(n)}function $(n){return"undefined"!=typeof ArrayBuffer&&(j.working?j(n):n instanceof ArrayBuffer)}function H(n){return"[object DataView]"===f(n)}function V(n){return"undefined"!=typeof DataView&&(H.working?H(n):n instanceof DataView)}i.isArgumentsObject=a,i.isGeneratorFunction=s,i.isTypedArray=u,i.isPromise=w,i.isArrayBufferView=E,i.isUint8Array=S,i.isUint8ClampedArray=x,i.isUint16Array=_,i.isUint32Array=k,i.isInt8Array=A,i.isInt16Array=T,i.isInt32Array=C,i.isFloat32Array=R,i.isFloat64Array=D,i.isBigInt64Array=O,i.isBigUint64Array=I,N.working="undefined"!=typeof Map&&N(new Map),i.isMap=M,L.working="undefined"!=typeof Set&&L(new Set),i.isSet=P,F.working="undefined"!=typeof WeakMap&&F(new WeakMap),i.isWeakMap=B,U.working="undefined"!=typeof WeakSet&&U(new WeakSet),i.isWeakSet=z,j.working="undefined"!=typeof ArrayBuffer&&j(new ArrayBuffer),i.isArrayBuffer=$,H.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&H(new DataView(new ArrayBuffer(1),0,1)),i.isDataView=V;var G="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function q(n){return"[object SharedArrayBuffer]"===f(n)}function W(n){return void 0!==G&&(void 0===q.working&&(q.working=q(new G)),q.working?q(n):n instanceof G)}function K(n){return"[object AsyncFunction]"===f(n)}function Y(n){return"[object Map Iterator]"===f(n)}function Z(n){return"[object Set Iterator]"===f(n)}function X(n){return"[object Generator]"===f(n)}function J(n){return"[object WebAssembly.Module]"===f(n)}function Q(n){return v(n,h)}function ee(n){return v(n,m)}function et(n){return v(n,g)}function en(n){return d&&v(n,b)}function er(n){return p&&v(n,y)}function ei(n){return Q(n)||ee(n)||et(n)||en(n)||er(n)}function eo(n){return"undefined"!=typeof Uint8Array&&($(n)||W(n))}i.isSharedArrayBuffer=W,i.isAsyncFunction=K,i.isMapIterator=Y,i.isSetIterator=Z,i.isGeneratorObject=X,i.isWebAssemblyCompiledModule=J,i.isNumberObject=Q,i.isStringObject=ee,i.isBooleanObject=et,i.isBigIntObject=en,i.isSymbolObject=er,i.isBoxedPrimitive=ei,i.isAnyArrayBuffer=eo,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(n){Object.defineProperty(i,n,{enumerable:!1,value:function(){throw Error(n+" is not supported in userland")}})})},89539:function(n,i,o){var a=o(34155),s=Object.getOwnPropertyDescriptors||function(n){for(var i=Object.keys(n),o={},a=0;a=s)return n;switch(n){case"%s":return String(a[o++]);case"%d":return Number(a[o++]);case"%j":try{return JSON.stringify(a[o++])}catch(i){return"[Circular]"}default:return n}}),c=a[o];o=3&&(a.depth=arguments[2]),arguments.length>=4&&(a.colors=arguments[3]),x(o)?a.showHidden=o:o&&i._extend(a,o),R(a.showHidden)&&(a.showHidden=!1),R(a.depth)&&(a.depth=2),R(a.colors)&&(a.colors=!1),R(a.customInspect)&&(a.customInspect=!0),a.colors&&(a.stylize=f),g(a,n,a.depth)}function f(n,i){var o=p.styles[i];return o?"\x1b["+p.colors[o][0]+"m"+n+"\x1b["+p.colors[o][1]+"m":n}function h(n,i){return n}function m(n){var i={};return n.forEach(function(n,o){i[n]=!0}),i}function g(n,o,a){if(n.customInspect&&o&&M(o.inspect)&&o.inspect!==i.inspect&&!(o.constructor&&o.constructor.prototype===o)){var s,l=o.inspect(a,n);return T(l)||(l=g(n,l,a)),l}var u=b(n,o);if(u)return u;var c=Object.keys(o),d=m(c);if(n.showHidden&&(c=Object.getOwnPropertyNames(o)),N(o)&&(c.indexOf("message")>=0||c.indexOf("description")>=0))return y(o);if(0===c.length){if(M(o)){var p=o.name?": "+o.name:"";return n.stylize("[Function"+p+"]","special")}if(D(o))return n.stylize(RegExp.prototype.toString.call(o),"regexp");if(I(o))return n.stylize(Date.prototype.toString.call(o),"date");if(N(o))return y(o)}var f="",h=!1,x=["{","}"];return(S(o)&&(h=!0,x=["[","]"]),M(o)&&(f=" [Function"+(o.name?": "+o.name:"")+"]"),D(o)&&(f=" "+RegExp.prototype.toString.call(o)),I(o)&&(f=" "+Date.prototype.toUTCString.call(o)),N(o)&&(f=" "+y(o)),0!==c.length||h&&0!=o.length)?a<0?D(o)?n.stylize(RegExp.prototype.toString.call(o),"regexp"):n.stylize("[Object]","special"):(n.seen.push(o),s=h?v(n,o,a,d,c):c.map(function(i){return w(n,o,a,d,i,h)}),n.seen.pop(),E(s,f,x)):x[0]+f+x[1]}function b(n,i){if(R(i))return n.stylize("undefined","undefined");if(T(i)){var o="'"+JSON.stringify(i).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return n.stylize(o,"string")}return A(i)?n.stylize(""+i,"number"):x(i)?n.stylize(""+i,"boolean"):_(i)?n.stylize("null","null"):void 0}function y(n){return"["+Error.prototype.toString.call(n)+"]"}function v(n,i,o,a,s){for(var l=[],u=0,c=i.length;un.seen.indexOf(d.value)?(c=_(o)?g(n,d.value,null):g(n,d.value,o-1)).indexOf("\n")>-1&&(c=l?c.split("\n").map(function(n){return" "+n}).join("\n").slice(2):"\n"+c.split("\n").map(function(n){return" "+n}).join("\n")):c=n.stylize("[Circular]","special")),R(u)){if(l&&s.match(/^\d+$/))return c;(u=JSON.stringify(""+s)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.slice(1,-1),u=n.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=n.stylize(u,"string"))}return u+": "+c}function E(n,i,o){var a=0;return n.reduce(function(n,i){return a++,i.indexOf("\n")>=0&&a++,n+i.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?o[0]+(""===i?"":i+"\n ")+" "+n.join(",\n ")+" "+o[1]:o[0]+i+" "+n.join(", ")+" "+o[1]}function S(n){return Array.isArray(n)}function x(n){return"boolean"==typeof n}function _(n){return null===n}function k(n){return null==n}function A(n){return"number"==typeof n}function T(n){return"string"==typeof n}function C(n){return"symbol"==typeof n}function R(n){return void 0===n}function D(n){return O(n)&&"[object RegExp]"===P(n)}function O(n){return"object"==typeof n&&null!==n}function I(n){return O(n)&&"[object Date]"===P(n)}function N(n){return O(n)&&("[object Error]"===P(n)||n instanceof Error)}function M(n){return"function"==typeof n}function L(n){return null===n||"boolean"==typeof n||"number"==typeof n||"string"==typeof n||"symbol"==typeof n||void 0===n}function P(n){return Object.prototype.toString.call(n)}function F(n){return n<10?"0"+n.toString(10):n.toString(10)}i.debuglog=function(n){if(!u[n=n.toUpperCase()]){if(c.test(n)){var o=a.pid;u[n]=function(){var a=i.format.apply(i,arguments);console.error("%s %d: %s",n,o,a)}}else u[n]=function(){}}return u[n]},i.inspect=p,p.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},p.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},i.types=o(55955),i.isArray=S,i.isBoolean=x,i.isNull=_,i.isNullOrUndefined=k,i.isNumber=A,i.isString=T,i.isSymbol=C,i.isUndefined=R,i.isRegExp=D,i.types.isRegExp=D,i.isObject=O,i.isDate=I,i.types.isDate=I,i.isError=N,i.types.isNativeError=N,i.isFunction=M,i.isPrimitive=L,i.isBuffer=o(20384);var B=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function U(){var n=new Date,i=[F(n.getHours()),F(n.getMinutes()),F(n.getSeconds())].join(":");return[n.getDate(),B[n.getMonth()],i].join(" ")}function z(n,i){return Object.prototype.hasOwnProperty.call(n,i)}i.log=function(){console.log("%s - %s",U(),i.format.apply(i,arguments))},i.inherits=o(35717),i._extend=function(n,i){if(!i||!O(i))return n;for(var o=Object.keys(i),a=o.length;a--;)n[o[a]]=i[o[a]];return n};var j="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function $(n,i){if(!n){var o=Error("Promise was rejected with a falsy value");o.reason=n,n=o}return i(n)}function H(n){if("function"!=typeof n)throw TypeError('The "original" argument must be of type Function');function i(){for(var i=[],o=0;o=s)return n;switch(n){case"%s":return String(a[o++]);case"%d":return Number(a[o++]);case"%j":try{return JSON.stringify(a[o++])}catch(i){return"[Circular]"}default:return n}}),d=a[o];o=3&&(a.depth=arguments[2]),arguments.length>=4&&(a.colors=arguments[3]),E(o)?a.showHidden=o:o&&i._extend(a,o),T(a.showHidden)&&(a.showHidden=!1),T(a.depth)&&(a.depth=2),T(a.colors)&&(a.colors=!1),T(a.customInspect)&&(a.customInspect=!0),a.colors&&(a.stylize=d),h(a,n,a.depth)}function d(n,i){var o=c.styles[i];return o?"\x1b["+c.colors[o][0]+"m"+n+"\x1b["+c.colors[o][1]+"m":n}function p(n,i){return n}function f(n){var i={};return n.forEach(function(n,o){i[n]=!0}),i}function h(n,o,a){if(n.customInspect&&o&&I(o.inspect)&&o.inspect!==i.inspect&&!(o.constructor&&o.constructor.prototype===o)){var s,l=o.inspect(a,n);return k(l)||(l=h(n,l,a)),l}var u=m(n,o);if(u)return u;var c=Object.keys(o),d=f(c);if(n.showHidden&&(c=Object.getOwnPropertyNames(o)),O(o)&&(c.indexOf("message")>=0||c.indexOf("description")>=0))return g(o);if(0===c.length){if(I(o)){var p=o.name?": "+o.name:"";return n.stylize("[Function"+p+"]","special")}if(C(o))return n.stylize(RegExp.prototype.toString.call(o),"regexp");if(D(o))return n.stylize(Date.prototype.toString.call(o),"date");if(O(o))return g(o)}var E="",S=!1,x=["{","}"];return(w(o)&&(S=!0,x=["[","]"]),I(o)&&(E=" [Function"+(o.name?": "+o.name:"")+"]"),C(o)&&(E=" "+RegExp.prototype.toString.call(o)),D(o)&&(E=" "+Date.prototype.toUTCString.call(o)),O(o)&&(E=" "+g(o)),0!==c.length||S&&0!=o.length)?a<0?C(o)?n.stylize(RegExp.prototype.toString.call(o),"regexp"):n.stylize("[Object]","special"):(n.seen.push(o),s=S?b(n,o,a,d,c):c.map(function(i){return y(n,o,a,d,i,S)}),n.seen.pop(),v(s,E,x)):x[0]+E+x[1]}function m(n,i){if(T(i))return n.stylize("undefined","undefined");if(k(i)){var o="'"+JSON.stringify(i).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return n.stylize(o,"string")}return _(i)?n.stylize(""+i,"number"):E(i)?n.stylize(""+i,"boolean"):S(i)?n.stylize("null","null"):void 0}function g(n){return"["+Error.prototype.toString.call(n)+"]"}function b(n,i,o,a,s){for(var l=[],u=0,c=i.length;un.seen.indexOf(d.value)?(c=S(o)?h(n,d.value,null):h(n,d.value,o-1)).indexOf("\n")>-1&&(c=l?c.split("\n").map(function(n){return" "+n}).join("\n").substr(2):"\n"+c.split("\n").map(function(n){return" "+n}).join("\n")):c=n.stylize("[Circular]","special")),T(u)){if(l&&s.match(/^\d+$/))return c;(u=JSON.stringify(""+s)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.substr(1,u.length-2),u=n.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=n.stylize(u,"string"))}return u+": "+c}function v(n,i,o){var a=0;return n.reduce(function(n,i){return a++,i.indexOf("\n")>=0&&a++,n+i.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?o[0]+(""===i?"":i+"\n ")+" "+n.join(",\n ")+" "+o[1]:o[0]+i+" "+n.join(", ")+" "+o[1]}function w(n){return Array.isArray(n)}function E(n){return"boolean"==typeof n}function S(n){return null===n}function x(n){return null==n}function _(n){return"number"==typeof n}function k(n){return"string"==typeof n}function A(n){return"symbol"==typeof n}function T(n){return void 0===n}function C(n){return R(n)&&"[object RegExp]"===M(n)}function R(n){return"object"==typeof n&&null!==n}function D(n){return R(n)&&"[object Date]"===M(n)}function O(n){return R(n)&&("[object Error]"===M(n)||n instanceof Error)}function I(n){return"function"==typeof n}function N(n){return null===n||"boolean"==typeof n||"number"==typeof n||"string"==typeof n||"symbol"==typeof n||void 0===n}function M(n){return Object.prototype.toString.call(n)}function L(n){return n<10?"0"+n.toString(10):n.toString(10)}i.debuglog=function(n){if(T(a)&&(a=s.env.NODE_DEBUG||""),!u[n=n.toUpperCase()]){if(RegExp("\\b"+n+"\\b","i").test(a)){var o=s.pid;u[n]=function(){var a=i.format.apply(i,arguments);console.error("%s %d: %s",n,o,a)}}else u[n]=function(){}}return u[n]},i.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},i.isArray=w,i.isBoolean=E,i.isNull=S,i.isNullOrUndefined=x,i.isNumber=_,i.isString=k,i.isSymbol=A,i.isUndefined=T,i.isRegExp=C,i.isObject=R,i.isDate=D,i.isError=O,i.isFunction=I,i.isPrimitive=N,i.isBuffer=o(20384);var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function F(){var n=new Date,i=[L(n.getHours()),L(n.getMinutes()),L(n.getSeconds())].join(":");return[n.getDate(),P[n.getMonth()],i].join(" ")}function B(n,i){return Object.prototype.hasOwnProperty.call(n,i)}i.log=function(){console.log("%s - %s",F(),i.format.apply(i,arguments))},i.inherits=o(91496),i._extend=function(n,i){if(!i||!R(i))return n;for(var o=Object.keys(i),a=o.length;a--;)n[o[a]]=i[o[a]];return n}},70529:function(n){/*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT - */ n.exports=function(n){return null!=n&&null!=n.constructor&&"function"==typeof n.constructor.isBuffer&&n.constructor.isBuffer(n)}},86430:function(n,i,o){"use strict";var a=o(94029),s=o(63083),l=o(55559),u=o(21924),c=o(27296),d=u("Object.prototype.toString"),p=o(96410)(),f="undefined"==typeof globalThis?o.g:globalThis,h=s(),m=u("String.prototype.slice"),g=Object.getPrototypeOf,b=u("Array.prototype.indexOf",!0)||function(n,i){for(var o=0;o-1?i:"Object"===i&&w(n)}return c?v(n):null}},47529:function(n){n.exports=o;var i=Object.prototype.hasOwnProperty;function o(){for(var n={},o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(n,o)&&(l[o]=n[o])}return l}n.exports=s,n.exports.__esModule=!0,n.exports.default=n.exports},7071:function(n){function i(n,i){if(null==n)return{};var o,a,s={},l=Object.keys(n);for(a=0;a=0||(s[o]=n[o]);return s}n.exports=i,n.exports.__esModule=!0,n.exports.default=n.exports},95036:function(n,i,o){var a=o(18698).default;function s(n,i){if("object"!=a(n)||!n)return n;var o=n[Symbol.toPrimitive];if(void 0!==o){var s=o.call(n,i||"default");if("object"!=a(s))return s;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(n)}n.exports=s,n.exports.__esModule=!0,n.exports.default=n.exports},64062:function(n,i,o){var a=o(18698).default,s=o(95036);function l(n){var i=s(n,"string");return"symbol"==a(i)?i:String(i)}n.exports=l,n.exports.__esModule=!0,n.exports.default=n.exports},18698:function(n){function i(o){return n.exports=i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},n.exports.__esModule=!0,n.exports.default=n.exports,i(o)}n.exports=i,n.exports.__esModule=!0,n.exports.default=n.exports},36388:function(n,i,o){var a=o(4066);n.exports=a},63083:function(n,i,o){"use strict";var a=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],s="undefined"==typeof globalThis?o.g:globalThis;n.exports=function(){for(var n=[],i=0;i=0||(s[o]=n[o]);return s}o.d(i,{Z:function(){return a}})},61082:function(n,i,o){"use strict";o.d(i,{cx:function(){return a}});var a=function(){let n=Array.prototype.slice.call(arguments).filter(Boolean),i={},o=[];n.forEach(n=>{let a=n?n.split(" "):[];a.forEach(n=>{if(n.startsWith("atm_")){let[,a]=n.split("_");i[a]=n}else o.push(n)})});let a=[];for(let s in i)Object.prototype.hasOwnProperty.call(i,s)&&a.push(i[s]);return a.push(...o),a.join(" ")}},378:function(n,i,o){"use strict";o.d(i,{By:function(){return g},Eg:function(){return d},RC:function(){return v},Vp:function(){return f},Z9:function(){return p},eX:function(){return m},lk:function(){return b},mA:function(){return E},vO:function(){return w},xV:function(){return y},zr:function(){return h}});var a,s,l,u,c,d="ProseMirror-selectednode",p="",f="\0",h="__state_override__",m={LastNodeCompatible:"lastNodeCompatible",FormattingMark:"formattingMark",FormattingNode:"formattingNode",NodeCursor:"nodeCursor",FontStyle:"fontStyle",Link:"link",Color:"color",Alignment:"alignment",Indentation:"indentation",Behavior:"behavior",Code:"code",InlineNode:"inline",ListContainerNode:"listContainer",ListItemNode:"listItemNode",Block:"block",BlockNode:"block",TextBlock:"textBlock",ExcludeInputRules:"excludeFromInputRules",PreventExits:"preventsExits",Media:"media"},g=Symbol.for("__remirror__"),b=((a=b||{}).PlainExtension="RemirrorPlainExtension",a.NodeExtension="RemirrorNodeExtension",a.MarkExtension="RemirrorMarkExtension",a.PlainExtensionConstructor="RemirrorPlainExtensionConstructor",a.NodeExtensionConstructor="RemirrorNodeExtensionConstructor",a.MarkExtensionConstructor="RemirrorMarkExtensionConstructor",a.Manager="RemirrorManager",a.Preset="RemirrorPreset",a.PresetConstructor="RemirrorPresetConstructor",a),y=((s=y||{})[s.Critical=1e6]="Critical",s[s.Highest=1e5]="Highest",s[s.High=1e4]="High",s[s.Medium=1e3]="Medium",s[s.Default=100]="Default",s[s.Low=10]="Low",s[s.Lowest=0]="Lowest",s),v=((l=v||{})[l.None=0]="None",l[l.Create=1]="Create",l[l.EditorView=2]="EditorView",l[l.Runtime=3]="Runtime",l[l.Destroy=4]="Destroy",l),w=((u=w||{}).Undo="_|undo|_",u.Redo="_|redo|_",u.Bold="_|bold|_",u.Italic="_|italic|_",u.Underline="_|underline|_",u.Strike="_|strike|_",u.Code="_|code|_",u.Paragraph="_|paragraph|_",u.H1="_|h1|_",u.H2="_|h2|_",u.H3="_|h3|_",u.H4="_|h4|_",u.H5="_|h5|_",u.H6="_|h6|_",u.TaskList="_|task|_",u.BulletList="_|bullet|_",u.OrderedList="_|number|_",u.Quote="_|quote|_",u.Divider="_|divider|_",u.Codeblock="_|codeblock|_",u.ClearFormatting="_|clear|_",u.Superscript="_|sup|_",u.Subscript="_|sub|_",u.LeftAlignment="_|left-align|_",u.CenterAlignment="_|center-align|_",u.RightAlignment="_|right-align|_",u.JustifyAlignment="_|justify-align|_",u.InsertLink="_|link|_",u.Find="_|find|_",u.FindBackwards="_|find-backwards|_",u.FindReplace="_|find-replace|_",u.AddFootnote="_|footnote|_",u.AddComment="_|comment|_",u.ContextMenu="_|context-menu|_",u.IncreaseFontSize="_|inc-font-size|_",u.DecreaseFontSize="_|dec-font-size|_",u.IncreaseIndent="_|indent|_",u.DecreaseIndent="_|dedent|_",u.Shortcuts="_|shortcuts|_",u.Copy="_|copy|_",u.Cut="_|cut|_",u.Paste="_|paste|_",u.PastePlain="_|paste-plain|_",u.SelectAll="_|select-all|_",u.Format="_|format|_",u),E=((c=E||{}).PROD="RMR0000",c.UNKNOWN="RMR0001",c.INVALID_COMMAND_ARGUMENTS="RMR0002",c.CUSTOM="RMR0003",c.CORE_HELPERS="RMR0004",c.MUTATION="RMR0005",c.INTERNAL="RMR0006",c.MISSING_REQUIRED_EXTENSION="RMR0007",c.MANAGER_PHASE_ERROR="RMR0008",c.INVALID_GET_EXTENSION="RMR0010",c.INVALID_MANAGER_ARGUMENTS="RMR0011",c.SCHEMA="RMR0012",c.HELPERS_CALLED_IN_OUTER_SCOPE="RMR0013",c.INVALID_MANAGER_EXTENSION="RMR0014",c.DUPLICATE_COMMAND_NAMES="RMR0016",c.DUPLICATE_HELPER_NAMES="RMR0017",c.NON_CHAINABLE_COMMAND="RMR0018",c.INVALID_EXTENSION="RMR0019",c.INVALID_CONTENT="RMR0021",c.INVALID_NAME="RMR0050",c.EXTENSION="RMR0100",c.EXTENSION_SPEC="RMR0101",c.EXTENSION_EXTRA_ATTRIBUTES="RMR0102",c.INVALID_SET_EXTENSION_OPTIONS="RMR0103",c.REACT_PROVIDER_CONTEXT="RMR0200",c.REACT_GET_ROOT_PROPS="RMR0201",c.REACT_EDITOR_VIEW="RMR0202",c.REACT_CONTROLLED="RMR0203",c.REACT_NODE_VIEW="RMR0204",c.REACT_GET_CONTEXT="RMR0205",c.REACT_COMPONENTS="RMR0206",c.REACT_HOOKS="RMR0207",c.I18N_CONTEXT="RMR0300",c)},57555:function(n,i,o){"use strict";o.d(i,{BB:function(){return w},DY:function(){return et},EL:function(){return G},HD:function(){return k},JD:function(){return H},Kj:function(){return L},Kn:function(){return N},Nb:function(){return Y},Of:function(){return j},PO:function(){return D},Qr:function(){return B},RF:function(){return d},RH:function(){return J},Ry:function(){return v},V9:function(){return M},VF:function(){return Z},VO:function(){return b},XP:function(){return g},Xy:function(){return K},Yc:function(){return q},Z$:function(){return ee},ZT:function(){return X},bH:function(){return em},fp:function(){return p},hj:function(){return A},hu:function(){return f},jn:function(){return R},kC:function(){return $},kG:function(){return eh},kJ:function(){return U},le:function(){return I},mf:function(){return T},o8:function(){return _},q9:function(){return y},qh:function(){return m},r2:function(){return el},uZ:function(){return Q},uh:function(){return es},uw:function(){return eo},vV:function(){return eg},w6:function(){return ea},yD:function(){return z},zN:function(){return er}});var a=o(81432),s=o(378),l=o(9996),u=o(64063),c=o(47650);function d(n){return n}function p(n,i,o){let a=n[i];return f(!_(a),o),a}function f(n,i){if(!n)throw new h(i)}o(13017);var h=class extends a.BaseError{constructor(){super(...arguments),this.name="AssertionError"}};function m(n){return Object.entries(n)}function g(n){return Object.keys(n)}function b(n){return Object.values(n)}function y(n,i,o){return n.includes(i,o)}function v(n){return Object.assign(Object.create(null),n)}function w(n){return Object.prototype.toString.call(n)}function E(n){let i=w(n).slice(8,-1);return i}function S(n,i){return o=>typeof o===n&&(!i||i(o))}function x(n){return i=>E(i)===n}var _=S("undefined"),k=S("string"),A=S("number",n=>!Number.isNaN(n)),T=S("function");function C(n){return null===n}function R(n){return!0===n||!1===n}function D(n){if("Object"!==E(n))return!1;let i=Object.getPrototypeOf(n);return null===i||i===Object.getPrototypeOf({})}function O(n){return null==n||/^[bns]/.test(typeof n)}function I(n){return C(n)||_(n)}function N(n){return!I(n)&&(T(n)||S("object")(n))}function M(n){return i=>N(i)&&i instanceof n}S("symbol");var L=x("RegExp");function P(n){return x("Map")(n)}function F(n){return x("Set")(n)}function B(n){return N(n)&&!P(n)&&!F(n)&&0===Object.keys(n).length}x("Date"),x("Error");var U=Array.isArray;function z(n){return U(n)&&0===n.length}function j(n){return U(n)&&n.length>0}function $(n){return n.charAt(0).toUpperCase()+n.slice(1)}function H(n,i,o=n=>!!n){let a;i.lastIndex=0;let s=[],l=i.flags;l.includes("g")||(i=RegExp(i.source,`g${l}`));do(a=i.exec(n))&&s.push(a);while(o(a));return i.lastIndex=0,s}function V(){let n=Date.now(),i=V.last||n;return V.last=n>i?n:i+1}function G(n=""){return`${n}${V().toString(36)}`}function q(n){return c(n,n=>!_(n))}function W(n){if(!D(n))throw Error("An invalid value was passed into this clone utility. Expected a plain object");return{...n}}V.last=0;var K=u;function Y(n,i=!1){let o=i?[...n].reverse():n,a=new Set(o);return i?[...a].reverse():[...a]}function Z(n){let i=[];for(let o of n){let a=U(o)?Z(o):[o];i.push(...a)}return i}function X(){}function J(...n){return l.all(n,{isMergeableObject:D})}function Q({min:n,max:i,value:o}){return oi?i:o}function ee(n){return n[n.length-1]}function et(n,i){return[...n].map((n,i)=>({value:n,index:i})).sort((n,o)=>i(n.value,o.value)||n.index-o.index).map(({value:n})=>n)}function en(n,i,o){try{if(k(i)&&i in n)return n[i];U(i)&&(i=`['${i.join("']['")}']`);let a=n;return i.replace(/\[\s*(["'])(.*?)\1\s*]|^\s*(\w+)\s*(?=\.|\[|$)|\.\s*(\w*)\s*(?=\.|\[|$)|\[\s*(-?\d+)\s*]/g,(n,i,o,s,l,u)=>(a=a[o||s||l||u],"")),void 0===a?o:a}catch{return o}}function er(n,i){let o=W(i),a=o;for(let[s,l]of n.entries()){let u=s>=n.length-1,c=a[l];if(u){if(U(a)){let d=Number.parseInt(l.toString(),10);A(d)&&a.splice(d,1)}else Reflect.deleteProperty(a,l);break}if(O(c))break;c=U(c)?[...c]:{...c},a[l]=c,a=c}return o}function ei(n){return i=>en(i,n)}function eo(n,i,o=!1){let a=[],s=new Set,l=T(i)?i:ei(i),u=o?[...n].reverse():n;for(let c of u){let d=l(c);s.has(d)||(s.add(d),a.push(c))}return o?a.reverse():a}function ea(n,i){let o=U(n)?n[0]:n;return A(i)?o<=i?Array.from({length:i+1-o},(n,i)=>i+o):Array.from({length:o+1-i},(n,i)=>-1*i+o):Array.from({length:Math.abs(o)},(n,i)=>(o<0?-1:1)*i)}function es(n,...i){let o=i.filter(A);return n>=Math.min(...o)&&n<=Math.max(...o)}function el(n){return T(n)?n():n}var eu="https://remirror.io/docs/errors",ec={[s.mA.UNKNOWN]:"An error occurred but we're not quite sure why. \uD83E\uDDD0",[s.mA.INVALID_COMMAND_ARGUMENTS]:"The arguments passed to the command method were invalid.",[s.mA.CUSTOM]:"This is a custom error, possibly thrown by an external library.",[s.mA.CORE_HELPERS]:"An error occurred in a function called from the `@remirror/core-helpers` library.",[s.mA.MUTATION]:"Mutation of immutable value detected.",[s.mA.INTERNAL]:"This is an error which should not occur and is internal to the remirror codebase.",[s.mA.MISSING_REQUIRED_EXTENSION]:"Your editor is missing a required extension.",[s.mA.MANAGER_PHASE_ERROR]:"This occurs when accessing a method or property before it is available.",[s.mA.INVALID_GET_EXTENSION]:"The user requested an invalid extension from the getExtensions method. Please check the `createExtensions` return method is returning an extension with the defined constructor.",[s.mA.INVALID_MANAGER_ARGUMENTS]:"Invalid value(s) passed into `Manager` constructor. Only `Presets` and `Extensions` are supported.",[s.mA.SCHEMA]:"There is a problem with the schema or you are trying to access a node / mark that doesn't exists.",[s.mA.HELPERS_CALLED_IN_OUTER_SCOPE]:"The `helpers` method which is passed into the ``create*` method should only be called within returned method since it relies on an active view (not present in the outer scope).",[s.mA.INVALID_MANAGER_EXTENSION]:"You requested an invalid extension from the manager.",[s.mA.DUPLICATE_COMMAND_NAMES]:"Command method names must be unique within the editor.",[s.mA.DUPLICATE_HELPER_NAMES]:"Helper method names must be unique within the editor.",[s.mA.NON_CHAINABLE_COMMAND]:"Attempted to chain a non chainable command.",[s.mA.INVALID_EXTENSION]:"The provided extension is invalid.",[s.mA.INVALID_CONTENT]:"The content provided to the editor is not supported.",[s.mA.INVALID_NAME]:"An invalid name was used for the extension.",[s.mA.EXTENSION]:"An error occurred within an extension. More details should be made available.",[s.mA.EXTENSION_SPEC]:"The spec was defined without calling the `defaults`, `parse` or `dom` methods.",[s.mA.EXTENSION_EXTRA_ATTRIBUTES]:"Extra attributes must either be a string or an object.",[s.mA.INVALID_SET_EXTENSION_OPTIONS]:"A call to `extension.setOptions` was made with invalid keys.",[s.mA.REACT_PROVIDER_CONTEXT]:"`useRemirrorContext` was called outside of the `remirror` context. It can only be used within an active remirror context created by the ``.",[s.mA.REACT_GET_ROOT_PROPS]:"`getRootProps` has been attached to the DOM more than once. It should only be attached to the dom once per editor.",[s.mA.REACT_EDITOR_VIEW]:"A problem occurred adding the editor view to the dom.",[s.mA.REACT_CONTROLLED]:"There is a problem with your controlled editor setup.",[s.mA.REACT_NODE_VIEW]:"Something went wrong with your custom ReactNodeView Component.",[s.mA.REACT_GET_CONTEXT]:"You attempted to call `getContext` provided by the `useRemirror` prop during the first render of the editor. This is not possible and should only be after the editor first mounts.",[s.mA.REACT_COMPONENTS]:"An error occurred within a remirror component.",[s.mA.REACT_HOOKS]:"An error occurred within a remirror hook.",[s.mA.I18N_CONTEXT]:"You called `useI18n()` outside of an `I18nProvider` context."};function ed(n){return k(n)&&y(b(s.mA),n)}function ep(n,i){let o=ec[n],a=o?`${o} + */ n.exports=function(n){return null!=n&&null!=n.constructor&&"function"==typeof n.constructor.isBuffer&&n.constructor.isBuffer(n)}},47529:function(n){n.exports=o;var i=Object.prototype.hasOwnProperty;function o(){for(var n={},o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(n,o)&&(l[o]=n[o])}return l}n.exports=s,n.exports.__esModule=!0,n.exports.default=n.exports},7071:function(n){function i(n,i){if(null==n)return{};var o,a,s={},l=Object.keys(n);for(a=0;a=0||(s[o]=n[o]);return s}n.exports=i,n.exports.__esModule=!0,n.exports.default=n.exports},95036:function(n,i,o){var a=o(18698).default;function s(n,i){if("object"!=a(n)||!n)return n;var o=n[Symbol.toPrimitive];if(void 0!==o){var s=o.call(n,i||"default");if("object"!=a(s))return s;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(n)}n.exports=s,n.exports.__esModule=!0,n.exports.default=n.exports},64062:function(n,i,o){var a=o(18698).default,s=o(95036);function l(n){var i=s(n,"string");return"symbol"==a(i)?i:String(i)}n.exports=l,n.exports.__esModule=!0,n.exports.default=n.exports},18698:function(n){function i(o){return n.exports=i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},n.exports.__esModule=!0,n.exports.default=n.exports,i(o)}n.exports=i,n.exports.__esModule=!0,n.exports.default=n.exports},36388:function(n,i,o){var a=o(4066);n.exports=a},87462:function(n,i,o){"use strict";function a(){return(a=Object.assign?Object.assign.bind():function(n){for(var i=1;i=0||(s[o]=n[o]);return s}o.d(i,{Z:function(){return a}})},61082:function(n,i,o){"use strict";o.d(i,{cx:function(){return a}});var a=function(){let n=Array.prototype.slice.call(arguments).filter(Boolean),i={},o=[];n.forEach(n=>{let a=n?n.split(" "):[];a.forEach(n=>{if(n.startsWith("atm_")){let[,a]=n.split("_");i[a]=n}else o.push(n)})});let a=[];for(let s in i)Object.prototype.hasOwnProperty.call(i,s)&&a.push(i[s]);return a.push(...o),a.join(" ")}},378:function(n,i,o){"use strict";o.d(i,{By:function(){return g},Eg:function(){return d},RC:function(){return v},Vp:function(){return f},Z9:function(){return p},eX:function(){return m},lk:function(){return b},mA:function(){return E},vO:function(){return w},xV:function(){return y},zr:function(){return h}});var a,s,l,u,c,d="ProseMirror-selectednode",p="",f="\0",h="__state_override__",m={LastNodeCompatible:"lastNodeCompatible",FormattingMark:"formattingMark",FormattingNode:"formattingNode",NodeCursor:"nodeCursor",FontStyle:"fontStyle",Link:"link",Color:"color",Alignment:"alignment",Indentation:"indentation",Behavior:"behavior",Code:"code",InlineNode:"inline",ListContainerNode:"listContainer",ListItemNode:"listItemNode",Block:"block",BlockNode:"block",TextBlock:"textBlock",ExcludeInputRules:"excludeFromInputRules",PreventExits:"preventsExits",Media:"media"},g=Symbol.for("__remirror__"),b=((a=b||{}).PlainExtension="RemirrorPlainExtension",a.NodeExtension="RemirrorNodeExtension",a.MarkExtension="RemirrorMarkExtension",a.PlainExtensionConstructor="RemirrorPlainExtensionConstructor",a.NodeExtensionConstructor="RemirrorNodeExtensionConstructor",a.MarkExtensionConstructor="RemirrorMarkExtensionConstructor",a.Manager="RemirrorManager",a.Preset="RemirrorPreset",a.PresetConstructor="RemirrorPresetConstructor",a),y=((s=y||{})[s.Critical=1e6]="Critical",s[s.Highest=1e5]="Highest",s[s.High=1e4]="High",s[s.Medium=1e3]="Medium",s[s.Default=100]="Default",s[s.Low=10]="Low",s[s.Lowest=0]="Lowest",s),v=((l=v||{})[l.None=0]="None",l[l.Create=1]="Create",l[l.EditorView=2]="EditorView",l[l.Runtime=3]="Runtime",l[l.Destroy=4]="Destroy",l),w=((u=w||{}).Undo="_|undo|_",u.Redo="_|redo|_",u.Bold="_|bold|_",u.Italic="_|italic|_",u.Underline="_|underline|_",u.Strike="_|strike|_",u.Code="_|code|_",u.Paragraph="_|paragraph|_",u.H1="_|h1|_",u.H2="_|h2|_",u.H3="_|h3|_",u.H4="_|h4|_",u.H5="_|h5|_",u.H6="_|h6|_",u.TaskList="_|task|_",u.BulletList="_|bullet|_",u.OrderedList="_|number|_",u.Quote="_|quote|_",u.Divider="_|divider|_",u.Codeblock="_|codeblock|_",u.ClearFormatting="_|clear|_",u.Superscript="_|sup|_",u.Subscript="_|sub|_",u.LeftAlignment="_|left-align|_",u.CenterAlignment="_|center-align|_",u.RightAlignment="_|right-align|_",u.JustifyAlignment="_|justify-align|_",u.InsertLink="_|link|_",u.Find="_|find|_",u.FindBackwards="_|find-backwards|_",u.FindReplace="_|find-replace|_",u.AddFootnote="_|footnote|_",u.AddComment="_|comment|_",u.ContextMenu="_|context-menu|_",u.IncreaseFontSize="_|inc-font-size|_",u.DecreaseFontSize="_|dec-font-size|_",u.IncreaseIndent="_|indent|_",u.DecreaseIndent="_|dedent|_",u.Shortcuts="_|shortcuts|_",u.Copy="_|copy|_",u.Cut="_|cut|_",u.Paste="_|paste|_",u.PastePlain="_|paste-plain|_",u.SelectAll="_|select-all|_",u.Format="_|format|_",u),E=((c=E||{}).PROD="RMR0000",c.UNKNOWN="RMR0001",c.INVALID_COMMAND_ARGUMENTS="RMR0002",c.CUSTOM="RMR0003",c.CORE_HELPERS="RMR0004",c.MUTATION="RMR0005",c.INTERNAL="RMR0006",c.MISSING_REQUIRED_EXTENSION="RMR0007",c.MANAGER_PHASE_ERROR="RMR0008",c.INVALID_GET_EXTENSION="RMR0010",c.INVALID_MANAGER_ARGUMENTS="RMR0011",c.SCHEMA="RMR0012",c.HELPERS_CALLED_IN_OUTER_SCOPE="RMR0013",c.INVALID_MANAGER_EXTENSION="RMR0014",c.DUPLICATE_COMMAND_NAMES="RMR0016",c.DUPLICATE_HELPER_NAMES="RMR0017",c.NON_CHAINABLE_COMMAND="RMR0018",c.INVALID_EXTENSION="RMR0019",c.INVALID_CONTENT="RMR0021",c.INVALID_NAME="RMR0050",c.EXTENSION="RMR0100",c.EXTENSION_SPEC="RMR0101",c.EXTENSION_EXTRA_ATTRIBUTES="RMR0102",c.INVALID_SET_EXTENSION_OPTIONS="RMR0103",c.REACT_PROVIDER_CONTEXT="RMR0200",c.REACT_GET_ROOT_PROPS="RMR0201",c.REACT_EDITOR_VIEW="RMR0202",c.REACT_CONTROLLED="RMR0203",c.REACT_NODE_VIEW="RMR0204",c.REACT_GET_CONTEXT="RMR0205",c.REACT_COMPONENTS="RMR0206",c.REACT_HOOKS="RMR0207",c.I18N_CONTEXT="RMR0300",c)},57555:function(n,i,o){"use strict";o.d(i,{BB:function(){return w},DY:function(){return et},EL:function(){return G},HD:function(){return k},JD:function(){return H},Kj:function(){return L},Kn:function(){return N},Nb:function(){return Y},Of:function(){return j},PO:function(){return D},Qr:function(){return B},RF:function(){return d},RH:function(){return J},Ry:function(){return v},V9:function(){return M},VF:function(){return Z},VO:function(){return b},XP:function(){return g},Xy:function(){return K},Yc:function(){return q},Z$:function(){return ee},ZT:function(){return X},bH:function(){return em},fp:function(){return p},hj:function(){return A},hu:function(){return f},jn:function(){return R},kC:function(){return $},kG:function(){return eh},kJ:function(){return U},le:function(){return I},mf:function(){return T},o8:function(){return _},q9:function(){return y},qh:function(){return m},r2:function(){return el},uZ:function(){return Q},uh:function(){return es},uw:function(){return eo},vV:function(){return eg},w6:function(){return ea},yD:function(){return z},zN:function(){return er}});var a=o(81432),s=o(378),l=o(9996),u=o(64063),c=o(47650);function d(n){return n}function p(n,i,o){let a=n[i];return f(!_(a),o),a}function f(n,i){if(!n)throw new h(i)}o(13017);var h=class extends a.BaseError{constructor(){super(...arguments),this.name="AssertionError"}};function m(n){return Object.entries(n)}function g(n){return Object.keys(n)}function b(n){return Object.values(n)}function y(n,i,o){return n.includes(i,o)}function v(n){return Object.assign(Object.create(null),n)}function w(n){return Object.prototype.toString.call(n)}function E(n){let i=w(n).slice(8,-1);return i}function S(n,i){return o=>typeof o===n&&(!i||i(o))}function x(n){return i=>E(i)===n}var _=S("undefined"),k=S("string"),A=S("number",n=>!Number.isNaN(n)),T=S("function");function C(n){return null===n}function R(n){return!0===n||!1===n}function D(n){if("Object"!==E(n))return!1;let i=Object.getPrototypeOf(n);return null===i||i===Object.getPrototypeOf({})}function O(n){return null==n||/^[bns]/.test(typeof n)}function I(n){return C(n)||_(n)}function N(n){return!I(n)&&(T(n)||S("object")(n))}function M(n){return i=>N(i)&&i instanceof n}S("symbol");var L=x("RegExp");function P(n){return x("Map")(n)}function F(n){return x("Set")(n)}function B(n){return N(n)&&!P(n)&&!F(n)&&0===Object.keys(n).length}x("Date"),x("Error");var U=Array.isArray;function z(n){return U(n)&&0===n.length}function j(n){return U(n)&&n.length>0}function $(n){return n.charAt(0).toUpperCase()+n.slice(1)}function H(n,i,o=n=>!!n){let a;i.lastIndex=0;let s=[],l=i.flags;l.includes("g")||(i=RegExp(i.source,`g${l}`));do(a=i.exec(n))&&s.push(a);while(o(a));return i.lastIndex=0,s}function V(){let n=Date.now(),i=V.last||n;return V.last=n>i?n:i+1}function G(n=""){return`${n}${V().toString(36)}`}function q(n){return c(n,n=>!_(n))}function W(n){if(!D(n))throw Error("An invalid value was passed into this clone utility. Expected a plain object");return{...n}}V.last=0;var K=u;function Y(n,i=!1){let o=i?[...n].reverse():n,a=new Set(o);return i?[...a].reverse():[...a]}function Z(n){let i=[];for(let o of n){let a=U(o)?Z(o):[o];i.push(...a)}return i}function X(){}function J(...n){return l.all(n,{isMergeableObject:D})}function Q({min:n,max:i,value:o}){return oi?i:o}function ee(n){return n[n.length-1]}function et(n,i){return[...n].map((n,i)=>({value:n,index:i})).sort((n,o)=>i(n.value,o.value)||n.index-o.index).map(({value:n})=>n)}function en(n,i,o){try{if(k(i)&&i in n)return n[i];U(i)&&(i=`['${i.join("']['")}']`);let a=n;return i.replace(/\[\s*(["'])(.*?)\1\s*]|^\s*(\w+)\s*(?=\.|\[|$)|\.\s*(\w*)\s*(?=\.|\[|$)|\[\s*(-?\d+)\s*]/g,(n,i,o,s,l,u)=>(a=a[o||s||l||u],"")),void 0===a?o:a}catch{return o}}function er(n,i){let o=W(i),a=o;for(let[s,l]of n.entries()){let u=s>=n.length-1,c=a[l];if(u){if(U(a)){let d=Number.parseInt(l.toString(),10);A(d)&&a.splice(d,1)}else Reflect.deleteProperty(a,l);break}if(O(c))break;c=U(c)?[...c]:{...c},a[l]=c,a=c}return o}function ei(n){return i=>en(i,n)}function eo(n,i,o=!1){let a=[],s=new Set,l=T(i)?i:ei(i),u=o?[...n].reverse():n;for(let c of u){let d=l(c);s.has(d)||(s.add(d),a.push(c))}return o?a.reverse():a}function ea(n,i){let o=U(n)?n[0]:n;return A(i)?o<=i?Array.from({length:i+1-o},(n,i)=>i+o):Array.from({length:o+1-i},(n,i)=>-1*i+o):Array.from({length:Math.abs(o)},(n,i)=>(o<0?-1:1)*i)}function es(n,...i){let o=i.filter(A);return n>=Math.min(...o)&&n<=Math.max(...o)}function el(n){return T(n)?n():n}var eu="https://remirror.io/docs/errors",ec={[s.mA.UNKNOWN]:"An error occurred but we're not quite sure why. \uD83E\uDDD0",[s.mA.INVALID_COMMAND_ARGUMENTS]:"The arguments passed to the command method were invalid.",[s.mA.CUSTOM]:"This is a custom error, possibly thrown by an external library.",[s.mA.CORE_HELPERS]:"An error occurred in a function called from the `@remirror/core-helpers` library.",[s.mA.MUTATION]:"Mutation of immutable value detected.",[s.mA.INTERNAL]:"This is an error which should not occur and is internal to the remirror codebase.",[s.mA.MISSING_REQUIRED_EXTENSION]:"Your editor is missing a required extension.",[s.mA.MANAGER_PHASE_ERROR]:"This occurs when accessing a method or property before it is available.",[s.mA.INVALID_GET_EXTENSION]:"The user requested an invalid extension from the getExtensions method. Please check the `createExtensions` return method is returning an extension with the defined constructor.",[s.mA.INVALID_MANAGER_ARGUMENTS]:"Invalid value(s) passed into `Manager` constructor. Only `Presets` and `Extensions` are supported.",[s.mA.SCHEMA]:"There is a problem with the schema or you are trying to access a node / mark that doesn't exists.",[s.mA.HELPERS_CALLED_IN_OUTER_SCOPE]:"The `helpers` method which is passed into the ``create*` method should only be called within returned method since it relies on an active view (not present in the outer scope).",[s.mA.INVALID_MANAGER_EXTENSION]:"You requested an invalid extension from the manager.",[s.mA.DUPLICATE_COMMAND_NAMES]:"Command method names must be unique within the editor.",[s.mA.DUPLICATE_HELPER_NAMES]:"Helper method names must be unique within the editor.",[s.mA.NON_CHAINABLE_COMMAND]:"Attempted to chain a non chainable command.",[s.mA.INVALID_EXTENSION]:"The provided extension is invalid.",[s.mA.INVALID_CONTENT]:"The content provided to the editor is not supported.",[s.mA.INVALID_NAME]:"An invalid name was used for the extension.",[s.mA.EXTENSION]:"An error occurred within an extension. More details should be made available.",[s.mA.EXTENSION_SPEC]:"The spec was defined without calling the `defaults`, `parse` or `dom` methods.",[s.mA.EXTENSION_EXTRA_ATTRIBUTES]:"Extra attributes must either be a string or an object.",[s.mA.INVALID_SET_EXTENSION_OPTIONS]:"A call to `extension.setOptions` was made with invalid keys.",[s.mA.REACT_PROVIDER_CONTEXT]:"`useRemirrorContext` was called outside of the `remirror` context. It can only be used within an active remirror context created by the ``.",[s.mA.REACT_GET_ROOT_PROPS]:"`getRootProps` has been attached to the DOM more than once. It should only be attached to the dom once per editor.",[s.mA.REACT_EDITOR_VIEW]:"A problem occurred adding the editor view to the dom.",[s.mA.REACT_CONTROLLED]:"There is a problem with your controlled editor setup.",[s.mA.REACT_NODE_VIEW]:"Something went wrong with your custom ReactNodeView Component.",[s.mA.REACT_GET_CONTEXT]:"You attempted to call `getContext` provided by the `useRemirror` prop during the first render of the editor. This is not possible and should only be after the editor first mounts.",[s.mA.REACT_COMPONENTS]:"An error occurred within a remirror component.",[s.mA.REACT_HOOKS]:"An error occurred within a remirror hook.",[s.mA.I18N_CONTEXT]:"You called `useI18n()` outside of an `I18nProvider` context."};function ed(n){return k(n)&&y(b(s.mA),n)}function ep(n,i){let o=ec[n],a=o?`${o} `:"",s=i?`${i} -`:"";return`${a}${s}For more information visit ${eu}#${n.toLowerCase()}`}var ef=class extends a.BaseError{constructor({code:n,message:i,disableLogging:o=!1}={}){let a=ed(n)?n:s.mA.CUSTOM;super(ep(a,i)),this.errorCode=a,this.url=`${eu}#${a.toLowerCase()}`,o||console.error(this.message)}static create(n={}){return new ef(n)}};function eh(n,i){if(!n)throw ef.create(i)}function em(n){if("object"!=typeof n||null===n)return n;let i=Symbol.toStringTag in n&&"Module"===n[Symbol.toStringTag]?n.default??n:n;return i&&"object"==typeof n&&"__esModule"in i&&i.__esModule&&void 0!==i.default?i.default:i}function eg(n,i={}){return n}},27398:function(n,i,o){"use strict";o.d(i,{Q2:function(){return V},PZ:function(){return I},V1:function(){return W},EP:function(){return eI},NZ:function(){return k},as:function(){return tn},hK:function(){return P},JB:function(){return F},Kk:function(){return L},Tr:function(){return B},EM:function(){return H},qh:function(){return tr},QC:function(){return eE},Lp:function(){return eT},JN:function(){return em},Me:function(){return eN},IH:function(){return ey},FI:function(){return eA},jo:function(){return J},JM:function(){return ek},Jv:function(){return e7},C2:function(){return A},b0:function(){return eD},yZ:function(){return j},OC:function(){return ez},d7:function(){return ea},xN:function(){return eg},$q:function(){return ep},mV:function(){return C},jd:function(){return R},mp:function(){return eb},OA:function(){return eW},pI:function(){return Z},yw:function(){return ed},Ig:function(){return $},$9:function(){return O},EG:function(){return ec},mt:function(){return en},K_:function(){return er},PH:function(){return et},gf:function(){return Y},Ab:function(){return z},GK:function(){return eY},sg:function(){return eK},Q$:function(){return D},hT:function(){return eo},X3:function(){return eH},Cf:function(){return ti},bk:function(){return q},x2:function(){return to},Kh:function(){return e$},TY:function(){return ta},Em:function(){return eU},P9:function(){return e6},aS:function(){return N},IY:function(){return M},lp:function(){return e5},uJ:function(){return e0},yL:function(){return T},zU:function(){return e1},bm:function(){return eQ},dy:function(){return eZ},ym:function(){return eJ}});var a=o(378),s=o(57555),l=o(2376),u=o(16560),c=/[A-Z]/g,d=/^ms-/,p={};function f(n){return"-"+n.toLowerCase()}var h=function(n){if(p.hasOwnProperty(n))return p[n];var i=n.replace(c,f);return p[n]=d.test(i)?"-"+i:i};function m(n){return h(n)}function g(n,i){return m(n)+":"+i}function b(n){var i="";for(var o in n){var a=n[o];("string"==typeof a||"number"==typeof a)&&(i&&(i+=";"),i+=g(o,a))}return i}function y(){return"undefined"!=typeof document?document:null}var v=o(47650),w=o(12806);o(1161);var E=o(48776),S=o(36912),x=o(84799),_=o(34155),k={get isBrowser(){return!!("undefined"!=typeof window&&void 0!==window.document&&window.navigator&&window.navigator.userAgent)},get isJSDOM(){return k.isBrowser&&window.navigator.userAgent.includes("jsdom")},get isNode(){return void 0!==_&&null!=_.versions&&null!=_.versions.node},get isIos(){return k.isBrowser&&/iPod|iPhone|iPad/.test(navigator.platform)},get isMac(){return k.isBrowser&&/Mac|iPod|iPhone|iPad/.test(navigator.platform)},get isApple(){return k.isNode?"darwin"===_.platform:!!k.isBrowser&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform)},get isDevelopment(){return!1},get isTest(){return!1},get isProduction(){return!0}};function A(n,i){var o;let a=eL(n);return(null==(o=null==a?void 0:a.getComputedStyle(n))?void 0:o.getPropertyValue(i))??""}function T(n,i){return Object.assign(n.style,i)}function C(n){return(0,s.Kn)(n)&&(0,s.hj)(n.nodeType)&&(0,s.HD)(n.nodeName)}function R(n){return C(n)&&1===n.nodeType}function D(n){return C(n)&&3===n.nodeType}function O(n){let{types:i,node:o}=n;if(!o)return!1;let a=n=>n===o.type||n===o.type.name;return(0,s.kJ)(i)?i.some(a):a(i)}function I(n,i){let{tr:o}=i;return n.forEach(n=>{n.steps.forEach(n=>{o.step(n)})}),o}function N({pos:n,tr:i}){let o=i.doc.nodeAt(n);return o&&i.delete(n,n+o.nodeSize),i}function M({pos:n,tr:i,content:o}){let a=i.doc.nodeAt(n);return a&&i.replaceWith(n,n+a.nodeSize,o),i}function L(n){let{predicate:i,selection:o}=n,a=ei(o)?o.selection.$from:es(o)?o.$from:o;for(let s=a.depth;s>0;s--){let l=a.node(s),u=s>0?a.before(s):0,c=a.start(s),d=u+l.nodeSize;if(i(l,u))return{pos:u,depth:s,node:l,start:c,end:d}}}function P(n){let{depth:i}=n,o=i>0?n.before(i):0,a=n.node(i),s=n.start(i),l=o+a.nodeSize;return{pos:o,start:s,node:a,end:l,depth:i}}function F(n){let i=L({predicate:()=>!0,selection:n});return(0,s.kG)(i,{message:"No parent node found for the selection provided."}),i}function B(n){let{types:i,selection:o}=n;return L({predicate:n=>O({types:i,node:n}),selection:o})}function U(n){let{types:i,selection:o}=n;if(ec(o)&&O({types:i,node:o.node}))return{pos:o.$from.pos,depth:o.$from.depth,start:o.$from.start(),end:o.$from.pos+o.node.nodeSize,node:o.node}}function z(n){return es(n)?n.empty:n.selection.empty}function j(n){return n.docChanged||n.selectionSet}function $(n){return!!H(n)}function H(n){let{state:i,type:o,attrs:l}=n,{selection:u,doc:c}=i,d=(0,s.HD)(o)?c.type.schema.nodes[o]:o;(0,s.kG)(d,{code:a.mA.SCHEMA,message:`No node exists for ${o}`});let p=U({selection:u,types:o})??L({predicate:n=>n.type===d,selection:u});return!l||(0,s.Qr)(l)||!p?p:p.node.hasMarkup(d,{...p.node.attrs,...l})?p:void 0}function V(...n){return i=>{if(!(0,s.Of)(n))return!1;let[o,...a]=n,l=!1,u=(...n)=>()=>{if(!(0,s.Of)(n))return!1;l=!0;let[,...o]=n;return V(...n)({...i,next:u(...o)})},c=u(...a),d=o({...i,next:c});return l||d?d:c()}}function G(n,i){let o=new Map,a=(0,s.Ry)();for(let l of n)for(let[u,c]of(0,s.qh)(l)){let d=o.get(u)??[],p=[...d,c],f=V(...p);o.set(u,p),a[u]=i(f)}return a}function q(n){return G(n,n=>(i,o,a)=>n({state:i,dispatch:o,view:a,tr:i.tr,next:()=>!1}))}function W(n,i){let o=n.attrs??{};return Object.entries(i).every(([n,i])=>o[n]===i)}function K(n){return ev(n,[u.WJ,u.FC,u.Pu,u.xu])}function Y(n){return(0,s.Kn)(n)}function Z(n,i){return(0,s.kJ)(i)?(0,s.q9)(i,n[a.By]):i===n[a.By]}function X(n){return(0,s.Kn)(n)&&n instanceof w.Jq}function J(n,i){return(0,s.HD)(n)?(0,s.fp)(i.nodes,n):n}function Q(n){return(0,s.Kn)(n)&&n instanceof w.ZU}function ee(n,i){return(0,s.HD)(n)?(0,s.fp)(i.marks,n):n}function et(n){return(0,s.Kn)(n)&&n instanceof w.NB}function en(n){return(0,s.Kn)(n)&&n instanceof w.HY}function er(n){return(0,s.Kn)(n)&&n instanceof w.vc}function ei(n){return(0,s.Kn)(n)&&n instanceof l.yy}function eo(n){return(0,s.Kn)(n)&&n instanceof l.Bs}function ea(n){return(0,s.Kn)(n)&&n instanceof l.C1}function es(n){return(0,s.Kn)(n)&&n instanceof l.Y1}function el(n){return(0,s.Kn)(n)&&n instanceof w.ZQ}function eu(n){let{trState:i,from:o,to:a,type:s,attrs:l={}}=n,{doc:u}=i,c=ee(s,u.type.schema);if(0===Object.keys(l).length)return u.rangeHasMark(o,a,c);let d=!1;return a>o&&u.nodesBetween(o,a,n=>{if(d)return!1;let i=n.marks??[];return!(d=i.some(n=>n.type===c&&W(n,l)))}),d}function ec(n){return(0,s.Kn)(n)&&n instanceof l.qv}function ed(n){let{trState:i,type:o,attrs:l={},from:u,to:c}=n,{selection:d,doc:p,storedMarks:f}=i,h=(0,s.HD)(o)?p.type.schema.marks[o]:o;if((0,s.kG)(h,{code:a.mA.SCHEMA,message:`Mark type: ${o} does not exist on the current schema.`}),u&&c)try{return Math.max(u,c)n.type===o&&W(n,l??{}))}return eu({...n,from:d.from,to:d.to})}function ep(n,i={}){let o=eh(n.type.schema);if(!o)return!1;let{ignoreAttributes:a,ignoreDocAttributes:s}=i;return a?ef(o,n):s?o.content.eq(n.content):o.eq(n)}function ef(n,i){if(n===i)return!0;let o=n.type===i.type&&w.vc.sameSet(n.marks,i.marks);function a(){if(n.content===i.content)return!0;if(n.content.size!==i.content.size)return!1;let o=[],a=[];for(let[s,l]of(n.content.forEach(n=>o.push(n)),i.content.forEach(n=>a.push(n)),o.entries())){let u=a[s];if(!u||!ef(l,u))return!1}return!0}return o&&a()}function eh(n){var i;return(null==(i=n.nodes.doc)?void 0:i.createAndFill())??void 0}function em(n){for(let i of Object.values(n.nodes))if("doc"!==i.name&&(i.isBlock||i.isTextblock))return i;(0,s.kG)(!1,{code:a.mA.SCHEMA,message:"No default block node found for the provided schema."})}function eg(n){return n.type===em(n.type.schema)}function eb(n){return!!n&&n.type.isBlock&&!n.textContent&&!n.childCount}function ey(n,i,o){let l=n.parent.childAfter(n.parentOffset);if(!l.node)return;let u=(0,s.HD)(i)?i:i.name,c=l.node.marks.find(({type:n})=>n.name===u),d=n.index(),p=n.start()+l.offset,f=d+1,h=p+l.node.nodeSize;if(!c)return o&&h0&&c.isInSet(n.parent.child(d-1).marks);)d-=1,p-=n.parent.child(d).nodeSize;for(;fn instanceof i)}function ew(n){let i=(0,s.uw)(n,({from:n,to:i,prevFrom:o,prevTo:a})=>`${n}_${i}_${o}_${a}`);return i.filter((n,i,o)=>!o.some((o,a)=>i!==a&&n.prevFrom>=o.prevFrom&&n.prevTo<=o.prevTo&&n.from>=o.from&&n.to<=o.to))}function eE(n,i=[]){let o=[],{steps:a,mapping:l}=n,u=l.invert();a.forEach((n,a)=>{if(!ev(n,i))return;let s=[],c=n.getMap(),d=l.slice(a);if(0===c.ranges.length&&K(n)){let{from:p,to:f}=n;s.push({from:p,to:f})}else c.forEach((n,i)=>{s.push({from:n,to:i})});s.forEach(n=>{let i=d.map(n.from,-1),a=d.map(n.to);o.push({from:i,to:a,prevFrom:u.map(i,-1),prevTo:u.map(a)})})});let c=(0,s.DY)(o,(n,i)=>n.from-i.from);return ew(c)}function eS(n,i){let o=[],a=eE(n,i);for(let s of a)try{let l=n.doc.resolve(s.from),u=n.doc.resolve(s.to),c=l.blockRange(u);c&&o.push(c)}catch{}return o}function ex(n){var i;return(null==(i=n.content.firstChild)?void 0:i.textContent)??""}function e_(n,i){if(!eo(n.selection))return;let{from:o,to:s}=n.selection,u=(i,o)=>ex(l.Bs.between(n.doc.resolve(i),n.doc.resolve(o)).content());for(let c=u(o-1,o);c&&!i.test(c);c=u(--o-1,o));for(let d=u(s,s+1);d&&!i.test(d);d=u(++s,s+1));if(o===s)return;let p=n.doc.textBetween(o,s,a.Z9,"\n\n");return{from:o,to:s,text:p}}function ek(n){return e_(n,/\W/)}function eA(n,i=0){let o=(0,s.kJ)(n)?n[i]:n;return(0,s.hu)((0,s.HD)(o),`No match string found for match ${n}`),o??""}function eT(n){return eo(n)?n.$cursor:void 0}function eC(n,i){return!!et(n)&&(i?n.type===i.nodes.doc:"doc"===n.type.name)}function eR(n){return(0,s.Kn)(n)&&(0,s.hj)(n.anchor)&&(0,s.hj)(n.head)}function eD(n,i){let o;let a=i.nodeSize-2,u=0,c=n=>(0,s.uZ)({min:u,max:a,value:n});if(es(n))return n;if("all"===n)return new l.C1(i);if(o="start"===n?u:"end"===n?a:el(n)?n.pos:n,(0,s.hj)(o))return o=c(o),l.Bs.near(i.resolve(o));if(eR(o)){let d=c(o.anchor),p=c(o.head);return l.Bs.between(i.resolve(d),i.resolve(p))}let f=c(o.from),h=c(o.to);return l.Bs.between(i.resolve(f),i.resolve(h))}var eO=3;function eI(n){let{content:i,schema:o,document:l,stringHandler:u,onError:c,attempts:d=0}=n,p=c&&d<=eO||0===d;if((0,s.kG)(p,{code:a.mA.INVALID_CONTENT,message:"The invalid content has been called recursively more than ${MAX_ATTEMPTS} times. The content is invalid and the error handler has not been able to recover properly."}),(0,s.HD)(i)){(0,s.kG)(u,{code:a.mA.INVALID_CONTENT,message:`The string '${i}' was added to the editor, but no \`stringHandler\` was added. Please provide a valid string handler which transforms your content to a \`ProsemirrorNode\` to prevent this error.`});let f={document:l,content:i,schema:o};return u(f)}if(ei(i))return i.doc;if(et(i))return i;try{return o.nodeFromJSON(i)}catch(g){let h=eG({schema:o,error:g,json:i}),m=null==c?void 0:c(h);return(0,s.kG)(m,{code:a.mA.INVALID_CONTENT,message:`An error occurred when processing the content. Please provide an \`onError\` handler to process the invalid content: ${JSON.stringify(h.invalidContent,null,2)}`}),eI({...n,content:m,attempts:d+1})}}function eN(){let n=y();if(n)return n;throw Error("Unable to retrieve the document from the global scope. \nIt seems that you are running Remirror in a non-browser environment. Remirror need browser APIs to work. \nIf you are using Jest (or other testing frameworks), make sure that you are using the JSDOM environment (https://jestjs.io/docs/29.0/configuration#testenvironment-string). \nIf you are using Next.js (or other server-side rendering frameworks), please use dynamic import with `ssr: false` to load the editor component without rendering it on the server (https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr). \nIf you are using Node.js, you can install JSDOM and Remirror will try to use it automatically, or you can create a fake document and pass it to Remirror")}function eM(n){var i;return(null==n?void 0:n.defaultView)??("undefined"!=typeof window?window:void 0)??(null==(i=y())?void 0:i.defaultView)}function eL(n){return eM(null==n?void 0:n.ownerDocument)}function eP(n){let i=eM(n)??eN().defaultView;if(i)return i;throw Error("Unable to retrieve the window from the global scope")}function eF(n,i=eN()){let o=eC(n,n.type.schema)?n.content:w.HY.from(n);return w.PW.fromSchema(n.type.schema).serializeFragment(o,{document:i})}function eB(n,i){let o=new(eP(i)).DOMParser;return o.parseFromString(`${n}`,"text/html").body}function eU(n,i=eN()){let o=i.createElement("div");return o.append(eF(n,i)),o.innerHTML}function ez(n){let{content:i,schema:o,document:a,fragment:s=!1,...l}=n,u=eB(i,a),c=w.aw.fromSchema(o);return s?c.parseSlice(u,{...ej,...l}).content:c.parse(u,{...ej,...l})}var ej={preserveWhitespace:!1};function e$(n,i){let o=(0,s.XP)(i.defaults());return v({...n},o)}function eH(n,i){let o="";i&&(o=`${i.trim()}`);let a=b(n);if(!a)return o;let s=(o.endsWith(";")," ");return`${o}${s}${a}`}var eV={remove(n,i){let o=n;for(let a of i)a.invalidParentNode||(o=(0,s.zN)(a.path,o));return o}};function eG({json:n,schema:i,...o}){let a=new Set((0,s.XP)(i.marks)),l=new Set((0,s.XP)(i.nodes)),u=eq({json:n,path:[],validNodes:l,validMarks:a});return{json:n,invalidContent:u,transformers:eV,...o}}function eq(n){let{json:i,validMarks:o,validNodes:a,path:l=[]}=n,u={validMarks:o,validNodes:a},c=[],{type:d,marks:p,content:f}=i,{invalidParentMark:h=!1,invalidParentNode:m=!1}=n;if(p){let g=[];for(let[b,y]of p.entries()){let v=(0,s.HD)(y)?y:y.type;o.has(v)||(g.unshift({name:v,path:[...l,"marks",`${b}`],type:"mark",invalidParentMark:h,invalidParentNode:m}),h=!0)}c.push(...g)}if(a.has(d)||(c.push({name:d,type:"node",path:l,invalidParentMark:h,invalidParentNode:m}),m=!0),f){let w=[];for(let[E,S]of f.entries())w.unshift(...eq({...u,json:S,path:[...l,"content",`${E}`],invalidParentMark:h,invalidParentNode:m}));c.unshift(...w)}return c}function eW(n){return!!(eo(n)&&n.$cursor&&n.$cursor.parentOffset>=n.$cursor.parent.content.size)}function eK(n){return!!(eo(n)&&n.$cursor&&n.$cursor.parentOffset<=0)}function eY(n){let i=l.Y1.atStart(n.$anchor.doc);return!!(eK(n)&&i.anchor===n.anchor)}function eZ(n){return({dispatch:i,tr:o})=>{let{type:a,attrs:u=(0,s.Ry)(),appendText:c,range:d}=n,p=d?l.Bs.between(o.doc.resolve(d.from),o.doc.resolve(d.to)):o.selection,{$from:f,from:h,to:m}=p,g=0===f.depth&&o.doc.type.allowsMarkType(a);return o.doc.nodesBetween(h,m,n=>{if(g)return!1;n.inlineContent&&n.type.allowsMarkType(a)&&(g=!0)}),!!g&&(null==i||i(o.addMark(h,m,a.create(u))&&c?o.insertText(c):o),!0)}}function eX({tr:n,dispatch:i}){let{$from:o,$to:a}=n.selection,l=o.blockRange(a),c=l&&(0,u.k9)(l);return!!(0,s.hj)(c)&&!!l&&(null==i||i(n.lift(l,c).scrollIntoView()),!0)}function eJ(n,i={},o){return function(a){let{tr:l,dispatch:c,state:d}=a,p=(0,s.HD)(n)?(0,s.fp)(d.schema.nodes,n):n,{from:f,to:h}=eD(o??l.selection,l.doc),m=l.doc.resolve(f),g=l.doc.resolve(h),b=m.blockRange(g),y=b&&(0,u.nd)(b,p,i);return!!y&&!!b&&(null==c||c(l.wrap(b,y).scrollIntoView()),!0)}}function eQ(n,i={},o){return a=>{let{tr:l,state:u}=a,c=(0,s.HD)(n)?(0,s.fp)(u.schema.nodes,n):n,d=H({state:l,type:c,attrs:i});return d?eX(a):eJ(n,i,o)(a)}}function e0(n,i,o,a=!0){return function(l){let u;let{tr:c,dispatch:d,state:p}=l,f=(0,s.HD)(n)?(0,s.fp)(p.schema.nodes,n):n,{from:h,to:m}=eD(o??c.selection,c.doc),g=!1;return c.doc.nodesBetween(h,m,(n,o)=>{if(g)return!1;if(!n.isTextblock||n.hasMarkup(f,i))return;if(n.type===f){g=!0,u=n.attrs;return}let a=c.doc.resolve(o),s=a.index();(g=a.parent.canReplaceWith(s,s+1,f))&&(u=a.parent.attrs)}),!!g&&(null==d||d(c.setBlockType(h,m,f,{...a?u:{},...i}).scrollIntoView()),!0)}}function e1(n){return i=>{let{tr:o,state:a}=i,{type:s,attrs:l,preserveAttrs:u=!0}=n,c=H({state:o,type:s,attrs:l}),d=n.toggleType??em(a.schema);if(c)return e0(d,{...u?c.node.attrs:{},...l})(i);let p=H({state:o,type:d,attrs:l});return e0(s,{...u?null==p?void 0:p.node.attrs:{},...l})(i)}}function e2(n=0){let i=navigator.userAgent.match(/Chrom(e|ium)\/(\d+)\./);return!!i&&Number.parseInt((0,s.fp)(i,2),10)>=n}function e3(n,i){let{head:o,empty:a,anchor:s}=n;for(let u of i.steps){let c=u.getMap();o=c.map(o)}a?i.setSelection(l.Bs.near(i.doc.resolve(o))):i.setSelection(l.Bs.between(i.doc.resolve(s),i.doc.resolve(o)))}function e5(n){let{attrs:i={},appendText:o="",content:l="",keepSelection:u=!1,range:c}=n;return({state:d,tr:p,dispatch:f})=>{var h;let m=d.schema,g=eD(n.selection??c??p.selection,p.doc),b=g.$from.index(),{from:y,to:v,$from:w}=g,E=(0,s.HD)(n.type)?m.nodes[n.type]??m.marks[n.type]:n.type;if((0,s.kG)(!(0,s.HD)(n.type)||E,{code:a.mA.SCHEMA,message:`Schema contains no marks or nodes with name ${E}`}),X(E)){if(!w.parent.canReplaceWith(b,b,E))return!1;p.replaceWith(y,v,E.create(i,l?m.text(l):void 0))}else(0,s.kG)(l,{message:"`replaceText` cannot be called without content when using a mark type"}),p.replaceWith(y,v,m.text(l,Q(E)?[E.create(i)]:void 0));return o&&p.insertText(o),u&&e3(d.selection,p),f&&(e2(60)&&(null==(h=document.getSelection())||h.empty()),f(p)),!0}}function e4(n,i){let o=n.parent.childAfter(n.parentOffset);if(!o.node)return;let{marks:a,nodeSize:s}=o.node;if(a[0])return a[0].type;let l=n.start()+o.offset,u=l+s;return e4(n.doc.resolve(u+1),i)}function e6(n){return({dispatch:i,tr:o,state:l})=>{let{type:u,expand:c=!0,range:d}=n,p=eD(n.selection??d??o.selection,o.doc),{from:f,to:h,$from:m,$to:g}=p,b=(0,s.HD)(u)?l.schema.marks[u]:u;null!==b&&(0,s.kG)(b,{code:a.mA.SCHEMA,message:`Mark type: ${u} does not exist on the current schema.`});let y=b??e4(m);if(!y)return!1;let v=ey(m,y,g);return c&&v&&(f=Math.max(0,Math.min(f,v.from)),h=Math.min(Math.max(h,v.to),o.doc.nodeSize-2)),null==i||i(o.removeMark(f,(0,s.hj)(h)?h:f,Q(b)?b:void 0)),!0}}function e8(n){let i=["command","cmd","meta"];return k.isMac&&i.push("mod"),i.includes(n)}function e9(n){let i=["control","ctrl"];return k.isMac||i.push("mod"),i.includes(n)}function e7(n){let i=[];for(let o of n.split("-")){if(e8(o=o.toLowerCase())){i.push({type:"modifier",symbol:"⌘",key:"command",i18n:E.LS.COMMAND_KEY});continue}if(e9(o)){i.push({type:"modifier",symbol:"⌃",key:"control",i18n:E.LS.CONTROL_KEY});continue}switch(o){case"shift":i.push({type:"modifier",symbol:"⇧",key:o,i18n:E.LS.SHIFT_KEY});continue;case"alt":i.push({type:"modifier",symbol:"⌥",key:o,i18n:E.LS.ALT_KEY});continue;case"\n":case"\r":case"enter":i.push({type:"named",symbol:"↵",key:o,i18n:E.LS.ENTER_KEY});continue;case"backspace":i.push({type:"named",symbol:"⌫",key:o,i18n:E.LS.BACKSPACE_KEY});continue;case"delete":i.push({type:"named",symbol:"⌦",key:o,i18n:E.LS.DELETE_KEY});continue;case"escape":i.push({type:"named",symbol:"␛",key:o,i18n:E.LS.ESCAPE_KEY});continue;case"tab":i.push({type:"named",symbol:"⇥",key:o,i18n:E.LS.TAB_KEY});continue;case"capslock":i.push({type:"named",symbol:"⇪",key:o,i18n:E.LS.CAPS_LOCK_KEY});continue;case"space":i.push({type:"named",symbol:"␣",key:o,i18n:E.LS.SPACE_KEY});continue;case"pageup":i.push({type:"named",symbol:"⤒",key:o,i18n:E.LS.PAGE_UP_KEY});continue;case"pagedown":i.push({type:"named",symbol:"⤓",key:o,i18n:E.LS.PAGE_DOWN_KEY});continue;case"home":i.push({type:"named",key:o,i18n:E.LS.HOME_KEY});continue;case"end":i.push({type:"named",key:o,i18n:E.LS.END_KEY});continue;case"arrowleft":i.push({type:"named",symbol:"←",key:o,i18n:E.LS.ARROW_LEFT_KEY});continue;case"arrowright":i.push({type:"named",symbol:"→",key:o,i18n:E.LS.ARROW_RIGHT_KEY});continue;case"arrowup":i.push({type:"named",symbol:"→",key:o,i18n:E.LS.ARROW_UP_KEY});continue;case"arrowdown":i.push({type:"named",symbol:"↓",key:o,i18n:E.LS.ARROW_DOWN_KEY});continue;default:i.push({type:"char",key:o});continue}}return i}function te(n){let{node:i,predicate:o,descend:l=!0,action:u}=n;(0,s.kG)(et(i),{code:a.mA.INTERNAL,message:'Invalid "node" parameter passed to "findChildren".'}),(0,s.kG)((0,s.mf)(o),{code:a.mA.INTERNAL,message:'Invalid "predicate" parameter passed to "findChildren".'});let c=[];return i.descendants((n,i)=>{let a={node:n,pos:i},s=o(a);return s&&(c.push(a),null==u||u(a)),l}),c}function tt({predicate:n}){return i=>te({...i,predicate:n})}function tn(n){let{type:i,...o}=n;return te({...o,predicate:n=>n.node.type===i})}function tr(n,i={}){let{descend:o=!1,predicate:a,StepTypes:s}=i,l=eS(n,s),u=[];for(let c of l){let{start:d,end:p}=c;n.doc.nodesBetween(d,p,(n,i)=>{let s=(null==a?void 0:a(n,i,c))??!0;return s&&u.push({node:n,pos:i}),o})}return u}function ti(n){let i;let{regexp:o,type:l,getAttributes:u,ignoreWhitespace:c=!1,beforeDispatch:d,updateCaptured:p,shouldSkip:f,invalidMarks:h}=n,m=new S.VK(o,(n,o,g,b)=>{let{tr:y,schema:v}=n;i||(i=(0,s.HD)(l)?v.marks[l]:l,(0,s.kG)(i,{code:a.mA.SCHEMA,message:`Mark type: ${l} does not exist on the current schema.`}));let w=o[1],E=o[0],S=ts({captureGroup:w,fullMatch:E,end:b,start:g,rule:m,state:n,ignoreWhitespace:c,invalidMarks:h,shouldSkip:f,updateCaptured:p});if(!S)return null;({start:g,end:b,captureGroup:w,fullMatch:E}=S);let x=(0,s.mf)(u)?u(o):u,_=b,k=[];if(w){let A=E.search(/\S/),T=g+E.indexOf(w),C=T+w.length;k=y.storedMarks??[],Cg&&y.delete(g+A,T),_=g+A+w.length}return y.addMark(g,_,i.create(x)),y.setStoredMarks(k),null==d||d({tr:y,match:o,start:g,end:b}),y});return m}function to(n){let{regexp:i,type:o,getAttributes:l,beforeDispatch:u,shouldSkip:c,ignoreWhitespace:d=!1,updateCaptured:p,invalidMarks:f}=n,h=new S.VK(i,(n,i,m,g)=>{let b=(0,s.mf)(l)?l(i):l,{tr:y,schema:v}=n,w=(0,s.HD)(o)?v.nodes[o]:o,E=i[1],S=i[0],x=ts({captureGroup:E,fullMatch:S,end:g,start:m,rule:h,state:n,ignoreWhitespace:d,invalidMarks:f,shouldSkip:c,updateCaptured:p});if(!x)return null;({start:m,end:g,captureGroup:E,fullMatch:S}=x),(0,s.kG)(w,{code:a.mA.SCHEMA,message:`No node exists for ${o} in the schema.`});let _=w.createAndFill(b);return _&&(y.replaceRangeWith(w.isBlock?y.doc.resolve(m).before():m,g,_),null==u||u({tr:y,match:[S,E??""],start:m,end:g})),y});return h}function ta(n){let{regexp:i,transformMatch:o,beforeDispatch:a,shouldSkip:l,ignoreWhitespace:u=!1,updateCaptured:c,invalidMarks:d}=n,p=new S.VK(i,(n,i,f,h)=>{let m=o(i);if((0,s.le)(m))return null;let{tr:g,schema:b}=n,y=i[1],v=i[0],w=ts({captureGroup:y,fullMatch:v,end:h,start:f,rule:p,state:n,ignoreWhitespace:u,invalidMarks:d,shouldSkip:l,updateCaptured:c});return w?({start:f,end:h,captureGroup:y,fullMatch:v}=w,""===m?g.delete(f,h):g.replaceWith(f,h,b.text(m)),null==a||a({tr:g,match:i,start:f,end:h}),g):null});return p}function ts({captureGroup:n,fullMatch:i,end:o,start:a,rule:s,ignoreWhitespace:l,shouldSkip:u,updateCaptured:c,state:d,invalidMarks:p}){var f;if(null==i)return null;let h=(null==c?void 0:c({captureGroup:n,fullMatch:i,start:a,end:o}))??{};n=h.captureGroup??n,i=h.fullMatch??i,a=h.start??a,o=h.end??o;let m=d.doc.resolve(a),g=d.doc.resolve(o);return p&&(0,x.j4)({$from:m,$to:g},p)||s.invalidMarks&&(0,x.j4)({$from:m,$to:g},s.invalidMarks)||l&&(null==n?void 0:n.trim())===""||(null==u?void 0:u({state:d,captureGroup:n,fullMatch:i,start:a,end:o,ruleType:"mark"}))||(null==(f=s.shouldSkip)?void 0:f.call(s,{state:d,captureGroup:n,fullMatch:i,start:a,end:o,ruleType:"mark"}))?null:{captureGroup:n,end:o,fullMatch:i,start:a}}tt({predicate:n=>n.node.isText}),tt({predicate:n=>n.node.isInline}),tt({predicate:n=>n.node.isBlock})},31871:function(n,i,o){"use strict";o.d(i,{z:function(){return h}});var a=o(44573),s=o(378),l=o(27398),u=o(48776),c=o(36912),d=Object.defineProperty,p=Object.getOwnPropertyDescriptor,f=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?p(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&d(i,o,l),l},h=class extends a.QR{get name(){return"blockquote"}createTags(){return[s.eX.Block,s.eX.FormattingNode]}createNodeSpec(n,i){return{content:"block+",defining:!0,draggable:!1,...i,attrs:n.defaults(),parseDOM:[{tag:"blockquote",getAttrs:n.parse,priority:100},...i.parseDOM??[]],toDOM:i=>["blockquote",n.dom(i),0]}}toggleBlockquote(){return(0,l.bm)(this.type)}shortcut(n){return this.toggleBlockquote()(n)}createInputRules(){return[(0,c.S0)(/^\s*>\s$/,this.type)]}createPasteRules(){return{type:"node",nodeType:this.type,regexp:/^\s*>\s$/,startOfTextBlock:!0}}};f([(0,a.WDe)({icon:"doubleQuotesL",description:({t:n})=>n(u.TU.DESCRIPTION),label:({t:n})=>n(u.TU.LABEL)})],h.prototype,"toggleBlockquote",1),f([(0,a.IGC)({shortcut:"Ctrl->",command:"toggleBlockquote"})],h.prototype,"shortcut",1)},56073:function(n,i,o){"use strict";o.d(i,{H:function(){return m}});var a=o(44573),s=o(378),l=o(27398),u=o(57555),c=o(48776),d=Object.defineProperty,p=Object.getOwnPropertyDescriptor,f=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?p(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&d(i,o,l),l},h={icon:"bold",label:({t:n})=>n(c.ov.LABEL),description:({t:n})=>n(c.ov.DESCRIPTION)},m=class extends a.uS7{get name(){return"bold"}createTags(){return[s.eX.FormattingMark,s.eX.FontStyle]}createMarkSpec(n,i){return{...i,attrs:n.defaults(),parseDOM:[{tag:"strong",getAttrs:n.parse},{tag:"b",getAttrs:i=>!!(0,l.jd)(i)&&"normal"!==i.style.fontWeight&&n.parse(i)},{style:"font-weight",getAttrs:n=>!!((0,u.HD)(n)&&/^(bold(er)?|[5-9]\d{2,})$/.test(n))&&null},...i.parseDOM??[]],toDOM:i=>{let{weight:o}=this.options;return o?["strong",{"font-weight":o.toString()},0]:["strong",n.dom(i),0]}}}createInputRules(){return[(0,l.Cf)({regexp:/(?:\*\*|__)([^*_]+)(?:\*\*|__)$/,type:this.type,ignoreWhitespace:!0})]}toggleBold(n){return(0,a.w9d)({type:this.type,selection:n})}setBold(n){return({tr:i,dispatch:o})=>{let{from:a,to:s}=(0,l.b0)(n??i.selection,i.doc);return null==o||o(i.addMark(a,s,this.type.create())),!0}}removeBold(n){return({tr:i,dispatch:o})=>{let{from:a,to:s}=(0,l.b0)(n??i.selection,i.doc);return!!i.doc.rangeHasMark(a,s,this.type)&&(null==o||o(i.removeMark(a,s,this.type)),!0)}}shortcut(n){return this.toggleBold()(n)}};f([(0,a.WDe)(h)],m.prototype,"toggleBold",1),f([(0,a.WDe)()],m.prototype,"setBold",1),f([(0,a.WDe)()],m.prototype,"removeBold",1),f([(0,a.IGC)({shortcut:s.vO.Bold,command:"toggleBold"})],m.prototype,"shortcut",1),m=f([(0,a.AOx)({defaultOptions:{weight:void 0},staticKeys:["weight"]})],m)},78822:function(n,i,o){"use strict";o.d(i,{W:function(){return z}});var a,s,l,u=o(11215),c=o(44573),d=o(378),p=o(27398),f=o(57555),h=o(82696),m=o(2376),g=o(31026),b=o(84348),y=o(48776),v=Object.defineProperty,w=Object.getOwnPropertyDescriptor,E=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?w(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&v(i,o,l),l},S=(n,i,o)=>{if(!i.has(n))throw TypeError("Cannot "+o)},x=(n,i,o)=>(S(n,i,"read from private field"),o?o.call(n):i.get(n)),_=(n,i,o)=>{if(i.has(n))throw TypeError("Cannot add the same private member more than once");i instanceof WeakSet?i.add(n):i.set(n,o)},k=(n,i,o,a)=>(S(n,i,"write to private field"),a?a.call(n,o):i.set(n,o),o),A="data-code-block-language";function T(n,i,o=[]){return n.map(n=>{let a=[...o];return("element"===n.type&&n.properties.className?a.push(...n.properties.className):"text"===n.type&&0===a.length&&i&&a.push(i),"element"===n.type)?T(n.children,i,a):{text:n.value,classes:a}})}function C(n,i){var o;let{node:a,pos:s}=n,l=I({language:null==(o=a.attrs.language)?void 0:o.replace("language-",""),fallback:"markup"}),c=u.highlight(a.textContent??"",l),d=T(c,i),p=s+1;function h(n){let i=p,o=i+n.text.length;return p=o,{...n,from:i,to:o}}return(0,f.VF)(d).map(h)}function R(n){let{blocks:i,skipLast:o,plainTextClassName:a}=n,s=[];for(let l of i){let u=C(l,a),c=o?u.length-1:u.length;for(let d of(0,f.w6)(c)){let p=u[d],h=null==p?void 0:p.classes;if(!p||!(null==h?void 0:h.length))continue;let m=b.p.inline(p.from,p.to,{class:h.join(" ")});s.push(m)}}return s}function D(n){return!!(n&&(0,f.Kn)(n)&&(0,f.HD)(n.language)&&n.language.length>0)}function O(n){return i=>({state:{tr:o,selection:a},dispatch:s})=>{if(!D(i))throw Error("Invalid attrs passed to the updateAttributes method");let l=(0,p.Tr)({types:n,selection:a});return!(!l||(0,f.Xy)(i,l.node.attrs))&&(o.setNodeMarkup(l.pos,n,{...l.node.attrs,...i}),s&&s(o),!0)}}function I(n){let{language:i,fallback:o}=n;if(!i)return o;let a=u.listLanguages();for(let s of a)if(s.toLowerCase()===i.toLowerCase())return s;return o}function N(n,i){let{language:o,wrap:a}=(0,p.Kh)(n.attrs,i),{style:s,...l}=i.dom(n),u=l.style;a&&(u=(0,p.X3)({whiteSpace:"pre-wrap",wordBreak:"break-all"},u));let d={spellcheck:"false",...l,class:(0,c.cx)(l.class,`language-${o}`)};return["pre",d,["code",{[A]:o,style:u},0]]}function M(n){return({pos:i}=(0,f.Ry)())=>({tr:o,dispatch:a})=>{let s;let{type:l,formatter:u,defaultLanguage:c}=n,{from:d,to:f}=i?{from:i,to:i}:o.selection,h=(0,p.Tr)({types:l,selection:o.selection});if(!h)return!1;let{node:{attrs:g,textContent:b},start:y}=h,v=d-y,w=f-y,E=I({language:g.language,fallback:c}),S=u({source:b,language:E,cursorOffset:v});if(v!==w&&(s=u({source:b,language:E,cursorOffset:w})),!S)return!1;let{cursorOffset:x,formatted:_}=S;if(_===b)return!1;let k=y+b.length;o.insertText(_,y,k);let A=y+x,T=s?y+s.cursorOffset:void 0;return o.setSelection(m.Bs.between(o.doc.resolve(A),o.doc.resolve(T??A))),a&&a(o),!0}}function L(n){var i;return null==(i=n.getAttribute(A)??n.classList[0])?void 0:i.replace("language-","")}var{DESCRIPTION:P,LABEL:F}=y.J,B={icon:"bracesLine",description:({t:n})=>n(P),label:({t:n})=>n(F)},U=class{constructor(n,i){_(this,a,void 0),_(this,s,void 0),_(this,l,!1),k(this,s,n),k(this,a,i)}init(n){let i=(0,p.as)({node:n.doc,type:x(this,s)});return this.refreshDecorationSet(n.doc,i),this}refreshDecorationSet(n,i){let o=R({blocks:i,skipLast:x(this,l),defaultLanguage:x(this,a).options.defaultLanguage,plainTextClassName:x(this,a).options.plainTextClassName??void 0});this.decorationSet=b.EH.create(n,o)}apply(n,i){if(!n.docChanged)return this;this.decorationSet=this.decorationSet.map(n.mapping,n.doc);let o=(0,p.qh)(n,{descend:!0,predicate:n=>n.type===x(this,s),StepTypes:[]});return this.updateDecorationSet(n,o),this}updateDecorationSet(n,i){if(0===i.length)return;let o=this.decorationSet;for(let{node:s,pos:u}of i)o=this.decorationSet.remove(this.decorationSet.find(u,u+s.nodeSize));this.decorationSet=o.add(n.doc,R({blocks:i,skipLast:x(this,l),defaultLanguage:x(this,a).options.defaultLanguage,plainTextClassName:x(this,a).options.plainTextClassName??void 0}))}setDeleted(n){k(this,l,n)}};a=new WeakMap,s=new WeakMap,l=new WeakMap;var z=class extends c.QR{get name(){return"codeBlock"}createTags(){return[d.eX.Block,d.eX.Code]}init(){this.registerLanguages()}createNodeSpec(n,i){let o=/highlight-(?:text|source)-([\da-z]+)/;return{content:"text*",marks:"",defining:!0,draggable:!1,...i,code:!0,attrs:{...n.defaults(),language:{default:this.options.defaultLanguage},wrap:{default:this.options.defaultWrap}},parseDOM:[{tag:"div.highlight",preserveWhitespace:"full",getAttrs(i){var a,s;if(!(0,p.jd)(i))return!1;let l=i.querySelector("pre.code");if(!(0,p.jd)(l))return!1;let u="pre-wrap"===(0,p.C2)(l,"white-space"),c=null==(s=null==(a=i.className.match(o))?void 0:a[1])?void 0:s.replace("language-","");return{...n.parse(i),language:c,wrap:u}}},{tag:"pre",preserveWhitespace:"full",getAttrs:i=>{if(!(0,p.jd)(i))return!1;let o=i.querySelector("code");if(!(0,p.jd)(o))return!1;let a="pre-wrap"===(0,p.C2)(o,"white-space"),s=this.options.getLanguageFromDom(o,i);return{...n.parse(i),language:s,wrap:a}}},...i.parseDOM??[]],toDOM:i=>N(i,n)}}createAttributes(){return{class:g.uV[this.options.syntaxTheme.toUpperCase()]}}createInputRules(){let n=/^```([\dA-Za-z]*) $/,i=n=>{let i=I({language:(0,p.FI)(n,1),fallback:this.options.defaultLanguage});return{language:i}};return[(0,p.x2)({regexp:n,type:this.type,beforeDispatch({tr:n,start:i}){let o=n.doc.resolve(i);n.setSelection(m.Bs.near(o))},getAttributes:i})]}onSetOptions(n){let{changes:i}=n;i.supportedLanguages.changed&&this.registerLanguages(),i.syntaxTheme.changed&&this.store.updateAttributes()}createPlugin(){let n=new U(this.type,this),i=()=>(n.setDeleted(!0),!1);return{state:{init:(i,o)=>n.init(o),apply:(i,o,a,s)=>n.apply(i,s)},props:{handleKeyDown:(0,h.$)({Backspace:i,"Mod-Backspace":i,Delete:i,"Mod-Delete":i,"Ctrl-h":i,"Alt-Backspace":i,"Ctrl-d":i,"Ctrl-Alt-Backspace":i,"Alt-Delete":i,"Alt-d":i}),decorations:()=>(n.setDeleted(!1),n.decorationSet)}}}toggleCodeBlock(n={}){return(0,p.zU)({type:this.type,toggleType:this.options.toggleName,attrs:{language:this.options.defaultLanguage,...n}})}createCodeBlock(n){return(0,p.uJ)(this.type,n)}updateCodeBlock(n){return O(this.type)(n)}formatCodeBlock(n){return M({type:this.type,formatter:this.options.formatter,defaultLanguage:this.options.defaultLanguage})(n)}tabKey({state:n,dispatch:i}){let{selection:o,tr:a,schema:s}=n,{node:l}=(0,p.JB)(o);if(!(0,p.$9)({node:l,types:this.type}))return!1;if(o.empty)a.insertText(" ");else{let{from:u,to:c}=o;a.replaceWith(u,c,s.text(" "))}return i&&i(a),!0}backspaceKey({dispatch:n,tr:i,state:o}){if(!i.selection.empty)return!1;let a=(0,p.Tr)({types:this.type,selection:i.selection});if((null==a?void 0:a.start)!==i.selection.from)return!1;let{pos:s,node:l,start:u}=a,c=(0,f.fp)(o.schema.nodes,this.options.toggleName);return""===l.textContent.trim()?i.doc.lastChild===l&&i.doc.firstChild===l?(0,p.IY)({pos:s,tr:i,content:c.create()}):(0,p.aS)({pos:s,tr:i}):u>2?i.setSelection(m.Bs.near(i.doc.resolve(u-2))):(i.insert(0,c.create()),i.setSelection(m.Bs.near(i.doc.resolve(1)))),n&&n(i),!0}enterKey({dispatch:n,tr:i}){if(!((0,p.hT)(i.selection)&&i.selection.empty))return!1;let{nodeBefore:o,parent:a}=i.selection.$anchor;if(!(null==o?void 0:o.isText)||!a.type.isTextblock)return!1;let s=/^```([A-Za-z]*)?$/,{text:l,nodeSize:u}=o,{textContent:c}=a;if(!l)return!1;let d=l.match(s),f=c.match(s);if(!d||!f)return!1;let[,h]=d,g=I({language:h,fallback:this.options.defaultLanguage}),b=i.selection.$from.before(),y=b+u+1;return i.replaceWith(b,y,this.type.create({language:g})),i.setSelection(m.Bs.near(i.doc.resolve(b+1))),n&&n(i),!0}formatShortcut({tr:n}){let i=this.store.commands;if(!(0,p.Ig)({type:this.type,state:n}))return!1;let o=i.formatCodeBlock.isEnabled();return o&&i.formatCodeBlock(),o}registerLanguages(){for(let n of this.options.supportedLanguages)u.register(n)}};E([(0,c.WDe)(B)],z.prototype,"toggleCodeBlock",1),E([(0,c.WDe)()],z.prototype,"createCodeBlock",1),E([(0,c.WDe)()],z.prototype,"updateCodeBlock",1),E([(0,c.WDe)()],z.prototype,"formatCodeBlock",1),E([(0,c.IGC)({shortcut:"Tab"})],z.prototype,"tabKey",1),E([(0,c.IGC)({shortcut:"Backspace"})],z.prototype,"backspaceKey",1),E([(0,c.IGC)({shortcut:"Enter"})],z.prototype,"enterKey",1),E([(0,c.IGC)({shortcut:d.vO.Format})],z.prototype,"formatShortcut",1),z=E([(0,c.AOx)({defaultOptions:{supportedLanguages:[],toggleName:"paragraph",formatter:({source:n})=>({cursorOffset:0,formatted:n}),syntaxTheme:"a11y_dark",defaultLanguage:"markup",defaultWrap:!1,plainTextClassName:"",getLanguageFromDom:L},staticKeys:["getLanguageFromDom"]})],z)},55658:function(n,i,o){"use strict";o.d(i,{l:function(){return g}});var a=o(44573),s=o(378),l=o(27398),u=o(48776),c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,p=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?d(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&c(i,o,l),l},{DESCRIPTION:f,LABEL:h}=u.jz,m={icon:"codeLine",description:({t:n})=>n(f),label:({t:n})=>n(h)},g=class extends a.uS7{get name(){return"code"}createTags(){return[s.eX.Code,s.eX.ExcludeInputRules]}createMarkSpec(n,i){return{excludes:"_",...i,attrs:n.defaults(),parseDOM:[{tag:"code",getAttrs:n.parse},...i.parseDOM??[]],toDOM:i=>["code",{spellcheck:"false",...n.dom(i)},0]}}createKeymap(){return{"Mod-`":(0,a.w9d)({type:this.type})}}keyboardShortcut(n){return this.toggleCode()(n)}toggleCode(){return(0,a.w9d)({type:this.type})}createInputRules(){return[(0,l.Cf)({regexp:RegExp(`(?:\`)([^\`${s.Z9}]+)(?:\`)$`),type:this.type,ignoreWhitespace:!0})]}createPasteRules(){return[{type:"mark",regexp:/`([^`]+)`/g,markType:this.type}]}};p([(0,a.IGC)({shortcut:s.vO.Code,command:"toggleCode"})],g.prototype,"keyboardShortcut",1),p([(0,a.WDe)(m)],g.prototype,"toggleCode",1),g=p([(0,a.AOx)({})],g)},84672:function(n,i,o){"use strict";o.d(i,{x:function(){return T}});var a,s=o(88945),l=o(15619),u=o(24315),c=o(63150),d=o(44573),p=o(57555),f=o(378),h=o(27398),m=o(84799),g=o(31026),b=o(36388),y=Object.defineProperty,v=Object.getOwnPropertyDescriptor,w=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?v(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&y(i,o,l),l},{Blobmoji:E,Notomoji:S,Openmoji:x,Twemoji:_}=(0,p.bH)(a||(a=o.t(b,2))),k={noto:S,openmoji:x,twemoji:_,blob:E},A="data-remirror-emoji",T=class extends d.QR{get name(){return"emoji"}get moji(){return this._moji??(this._moji=(0,p.HD)(this.options.moji)?new k[this.options.moji]({data:this.options.data,type:"all",fallback:this.options.fallback}):this.options.moji)}createTags(){return[f.eX.InlineNode]}createNodeSpec(n,i){return{selectable:!0,draggable:!1,...i,inline:!0,atom:!0,attrs:{...n.defaults(),code:{}},parseDOM:[{tag:`span[${A}`,getAttrs(i){if(!(0,h.jd)(i))return null;let o=i.getAttribute(A);return{...n.parse(i),code:o}}},...i.parseDOM??[]],toDOM:i=>{let{code:o}=(0,h.Kh)(i.attrs,n),a=this.moji.find(o)??this.moji.fallback;return["span",{class:g.Nh.EMOJI_WRAPPER,[A]:a[this.options.identifier]},["img",{role:"presentation",class:g.Nh.EMOJI_IMAGE,"aria-label":a.annotation,alt:a.annotation,src:this.moji.url(o)}]]}}}createInputRules(){if(this.options.plainText)return[(0,h.TY)({regexp:RegExp(`(${l.source})[\\s]$`),transformMatch:([n,i])=>{if(!n||!i)return null;let o=this.moji.find(i);return o?n.replace(i,o.emoji):null}}),(0,h.TY)({regexp:RegExp(`(${u.source})$`),transformMatch:([,n])=>{if(!n)return null;let i=this.moji.find(n);return i?i.emoji:null}})];let n=({captureGroup:n})=>!n||!this.moji.find(n),i=([,n])=>{if(!n)return;let i=this.moji.find(n);return i?{code:i[this.options.identifier]}:void 0},o=this.type;return[(0,h.x2)({type:o,shouldSkip:n,getAttributes:i,regexp:RegExp(`(${l.source})[\\s]$`),beforeDispatch({tr:n}){n.insertText(" ")}}),(0,h.x2)({type:o,shouldSkip:n,getAttributes:i,regexp:RegExp(`(${u.source})$`)}),(0,h.x2)({type:o,shouldSkip:n,getAttributes:i,regexp:RegExp(`(${s.source})`)})]}addEmoji(n,i={}){return o=>{let{dispatch:a,tr:s}=o,l=this.moji.find(n);if(!l)return!1;if(!this.options.plainText)return this.store.commands.replaceText.original({type:this.type,attrs:{code:l[this.options.identifier]},selection:i.selection})(o);let{from:u,to:c}=(0,h.b0)(i.selection??s.selection,s.doc);return null==a||a(s.insertText(l.emoji,u,c)),!0}}suggestEmoji(n){return({tr:i,dispatch:o})=>{let{from:a,to:s}=(0,h.b0)(n??i.selection,i.doc),l=this.store.helpers.getTextBetween(a-1,s,i.doc);return!l.includes(this.options.suggestionCharacter)&&(null==o||o(i.insertText(this.options.suggestionCharacter,a,s)),!0)}}handleEnterKey({tr:n,next:i}){let{$from:o,empty:a}=n.selection;if(!a)return i();let s=o.parent.textBetween(Math.max(0,o.parentOffset-5),o.parentOffset,void 0,f.Z9),u=s.match(l);if(u){let c=(0,h.FI)(u),d={from:o.pos-c.length,to:o.pos};this.store.chain(n).addEmoji(c,{selection:d}).tr()}return i()}createSuggesters(){return{disableDecorations:!0,invalidPrefixCharacters:`${c(this.options.suggestionCharacter)}|\\w`,supportedCharacters:this.options.supportedCharacters,char:this.options.suggestionCharacter,name:this.name,suggestTag:"span",onChange:n=>{this.options.suggestEmoji({moji:this.moji,query:n.query.full,text:n.text.full,range:n.range,exit:!!n.exitReason,change:!!n.changeReason,apply:i=>{this.store.commands.addEmoji(i,{selection:n.range})}})}}}};w([(0,d.WDe)()],T.prototype,"addEmoji",1),w([(0,d.WDe)()],T.prototype,"suggestEmoji",1),w([(0,d.IGC)({shortcut:"Enter"})],T.prototype,"handleEnterKey",1),T=w([(0,d.AOx)({defaultOptions:{plainText:!1,data:[],identifier:"emoji",fallback:":red_question_mark:",moji:"noto",suggestionCharacter:":",supportedCharacters:m.ZF.supportedCharacters},staticKeys:["plainText"],handlerKeys:["suggestEmoji"]})],T)},13848:function(n,i,o){"use strict";o.d(i,{h:function(){return f}});var a=o(44573),s=o(378),l=o(84133),u=o(25804),c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,p=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?d(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&c(i,o,l),l},f=class extends a.QR{get name(){return"hardBreak"}createTags(){return[s.eX.InlineNode]}createNodeSpec(n,i){return{inline:!0,selectable:!1,atom:!0,leafText:()=>"\n",...i,attrs:n.defaults(),parseDOM:[{tag:"br",getAttrs:n.parse},...i.parseDOM??[]],toDOM:i=>["br",n.dom(i)]}}createKeymap(){let n=(0,l.QF)((0,l.A_)(u.uo),()=>(this.store.commands.insertHardBreak(),!0));return{"Mod-Enter":n,"Shift-Enter":n}}insertHardBreak(){return n=>{let{tr:i,dispatch:o}=n;return null==o||o(i.replaceSelectionWith(this.type.create()).scrollIntoView()),!0}}};p([(0,a.WDe)()],f.prototype,"insertHardBreak",1),f=p([(0,a.AOx)({defaultPriority:s.xV.Low})],f)},71265:function(n,i,o){"use strict";o.d(i,{e:function(){return y}});var a=o(44573),s=o(378),l=o(27398),u=o(57555),c=o(36912),d=o(48776),p=Object.defineProperty,f=Object.getOwnPropertyDescriptor,h=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?f(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&p(i,o,l),l},{LABEL:m}=d.bk,g={icon:({attrs:n})=>`h${(null==n?void 0:n.level)??"1"}`,label:({t:n,attrs:i})=>n({...m,values:{level:null==i?void 0:i.level}})},b=[s.vO.H1,s.vO.H2,s.vO.H3,s.vO.H4,s.vO.H5,s.vO.H6],y=class extends a.QR{get name(){return"heading"}createTags(){return[s.eX.Block,s.eX.TextBlock,s.eX.FormattingNode]}createNodeSpec(n,i){return{content:"inline*",defining:!0,draggable:!1,...i,attrs:{...n.defaults(),level:{default:this.options.defaultLevel}},parseDOM:[...this.options.levels.map(i=>({tag:`h${i}`,getAttrs:o=>({...n.parse(o),level:i})})),...i.parseDOM??[]],toDOM:i=>this.options.levels.includes(i.attrs.level)?[`h${i.attrs.level}`,n.dom(i),0]:[`h${this.options.defaultLevel}`,n.dom(i),0]}}toggleHeading(n={}){return(0,l.zU)({type:this.type,toggleType:"paragraph",attrs:n})}createKeymap(n){let i=this.store.getExtension(a.i8b),o=(0,u.Ry)(),c=[];for(let d of this.options.levels){let p=b[d-1]??s.vO.H1;o[p]=(0,l.uJ)(this.type,{level:d}),c.push({attrs:{level:d},shortcut:n(p)[0]})}return i.updateDecorated("toggleHeading",{shortcut:c}),o}createInputRules(){return this.options.levels.map(n=>(0,c.zK)(RegExp(`^(#{1,${n}})\\s$`),this.type,()=>({level:n})))}createPasteRules(){return this.options.levels.map(n=>({type:"node",nodeType:this.type,regexp:RegExp(`^#{${n}}\\s([\\s\\w]+)$`),getAttributes:()=>({level:n}),startOfTextBlock:!0}))}};h([(0,a.WDe)(g)],y.prototype,"toggleHeading",1),y=h([(0,a.AOx)({defaultOptions:{levels:[1,2,3,4,5,6],defaultLevel:1},staticKeys:["defaultLevel","levels"]})],y)},11033:function(n,i,o){"use strict";o.d(i,{V:function(){return g}});var a=o(44573),s=o(378),l=o(27398),u=o(57555),c=o(2376),d=o(48776),p=Object.defineProperty,f=Object.getOwnPropertyDescriptor,h=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?f(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&p(i,o,l),l},m={icon:"separator",label:({t:n})=>n(d.ir.LABEL),description:({t:n})=>n(d.ir.DESCRIPTION)},g=class extends a.QR{get name(){return"horizontalRule"}createTags(){return[s.eX.Block]}createNodeSpec(n,i){return{...i,attrs:n.defaults(),parseDOM:[{tag:"hr",getAttrs:n.parse},...i.parseDOM??[]],toDOM:i=>["hr",n.dom(i)]}}insertHorizontalRule(){return n=>{let{tr:i,dispatch:o}=n,a=i.selection.$anchor,s=a.parent;if("doc"===s.type.name||s.isAtom||s.isLeaf)return!1;if(!o)return!0;let u=i.selection.empty&&(0,l.mp)(s);return u&&i.insert(a.pos+1,s),i.replaceSelectionWith(this.type.create()),this.updateFromNodeSelection(i),o(i.scrollIntoView()),!0}}createInputRules(){return[(0,l.x2)({regexp:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type,beforeDispatch:({tr:n})=>{this.updateFromNodeSelection(n)}})]}updateFromNodeSelection(n){if(!(0,l.EG)(n.selection)||n.selection.node.type.name!==this.name)return;let i=n.selection.$from.pos+1,{insertionNode:o}=this.options;if(!o)return;let a=this.store.schema.nodes[o];(0,u.kG)(a,{code:s.mA.EXTENSION,message:`'${o}' node provided as the insertionNode to the '${this.constructorName}' does not exist.`});let d=a.create();n.insert(i,d),n.setSelection(c.Bs.near(n.doc.resolve(i+1)))}};h([(0,a.WDe)(m)],g.prototype,"insertHorizontalRule",1),g=h([(0,a.AOx)({defaultOptions:{insertionNode:"paragraph"}})],g)},82874:function(n,i,o){"use strict";o.d(i,{Gc:function(){return B}});var a,s,l,u,c,d,p,f=o(44573),h=o(378),m=o(27398),g=o(57555),b=o(16560),y=o(31026),v=o(27856),w=(n,i,o)=>{if(!i.has(n))throw TypeError("Cannot "+o)},E=(n,i,o)=>(w(n,i,"read from private field"),o?o.call(n):i.get(n)),S=(n,i,o)=>{if(i.has(n))throw TypeError("Cannot add the same private member more than once");i instanceof WeakSet?i.add(n):i.set(n,o)},x=(n,i,o,a)=>(w(n,i,"write to private field"),a?a.call(n,o):i.set(n,o),o),_='',k=encodeURIComponent(''),A=encodeURIComponent(_),T=class{constructor(n){S(this,s,void 0);let i=document.createElement("div"),o=document.createElement("div");this.dom=i,x(this,s,o),this.type=n,this.createHandle(n)}createHandle(n){switch((0,m.yL)(this.dom,{position:"absolute",pointerEvents:"auto",display:"flex",alignItems:"center",justifyContent:"center",zIndex:"100"}),(0,m.yL)(E(this,s),{opacity:"0",transition:"opacity 300ms ease-in 0s"}),E(this,s).dataset.dragging="",n){case 0:(0,m.yL)(this.dom,{right:"0px",top:"0px",height:"100%",width:"15px",cursor:"col-resize"}),(0,m.yL)(E(this,s),{width:" 4px",height:"36px",maxHeight:"50%",boxSizing:"content-box",background:"rgba(0, 0, 0, 0.65)",border:"1px solid rgba(255, 255, 255, 0.5)",borderRadius:"6px"});break;case 1:(0,m.yL)(this.dom,{left:"0px",top:"0px",height:"100%",width:"15px",cursor:"col-resize"}),(0,m.yL)(E(this,s),{width:" 4px",height:"36px",maxHeight:"50%",boxSizing:"content-box",background:"rgba(0, 0, 0, 0.65)",border:"1px solid rgba(255, 255, 255, 0.5)",borderRadius:"6px"});break;case 2:(0,m.yL)(this.dom,{bottom:"0px",width:"100%",height:"14px",cursor:"row-resize"}),(0,m.yL)(E(this,s),{width:" 42px",height:"4px",boxSizing:"content-box",maxWidth:"50%",background:"rgba(0, 0, 0, 0.65)",border:"1px solid rgba(255, 255, 255, 0.5)",borderRadius:"6px"});break;case 3:(0,m.yL)(this.dom,{right:"-1px",bottom:"-2px",width:"30px",height:"30px",cursor:"nwse-resize",zIndex:"101"}),(0,m.yL)(E(this,s),{height:"22px",width:"22px",backgroundRepeat:"no-repeat",backgroundImage:`url("data:image/svg+xml,${A}") `});break;case 4:(0,m.yL)(this.dom,{left:"-1px",bottom:"-2px",width:"30px",height:"30px",cursor:"nesw-resize",zIndex:"101"}),(0,m.yL)(E(this,s),{height:"22px",width:"22px",backgroundRepeat:"no-repeat",backgroundImage:`url("data:image/svg+xml,${k}") `})}this.dom.append(E(this,s))}setHandleVisibility(n){let i=n||!!E(this,s).dataset.dragging;E(this,s).style.opacity=i?"1":"0"}dataSetDragging(n){E(this,s).dataset.dragging=n?"true":""}};s=new WeakMap;var C=50,R=((a=R||{})[a.Fixed=0]="Fixed",a[a.Flexible=1]="Flexible",a),D=class{constructor({node:n,view:i,getPos:o,aspectRatio:a=0,options:s,initialSize:f}){S(this,l,void 0),S(this,u,void 0),S(this,c,[]),S(this,d,void 0),S(this,p,void 0);let h=this.createWrapper(n,f),m=this.createElement({node:n,view:i,getPos:o,options:s}),g=1===a?[0,1,2,3,4]:[0,1],b=g.map(n=>new T(n));for(let y of b){let v=n=>{this.startResizing(n,i,o,y)};y.dom.addEventListener("mousedown",v),E(this,c).push(()=>y.dom.removeEventListener("mousedown",v)),h.append(y.dom)}let w=()=>{b.forEach(n=>n.setHandleVisibility(!0))},_=()=>{b.forEach(n=>n.setHandleVisibility(!1))};h.addEventListener("mouseover",w),h.addEventListener("mouseout",_),E(this,c).push(()=>h.removeEventListener("mouseover",w),()=>h.removeEventListener("mouseout",_)),h.append(m),this.dom=h,x(this,u,n),x(this,l,m),this.aspectRatio=a}createWrapper(n,i){let o=document.createElement("div");return o.classList.add("remirror-resizable-view"),o.style.position="relative",i?(0,m.yL)(o,{width:N(i.width),aspectRatio:`${i.width} / ${i.height}`}):(0,m.yL)(o,{width:N(n.attrs.width),aspectRatio:`${n.attrs.width} / ${n.attrs.height}`}),(0,m.yL)(o,{maxWidth:"100%",minWidth:`${C}px`,verticalAlign:"bottom",display:"inline-block",lineHeight:"0",transition:"width 0.15s ease-out, height 0.15s ease-out"}),o}startResizing(n,i,o,a){var s,f;n.preventDefault(),a.dataSetDragging(!0),E(this,l).style.pointerEvents="none";let h=n.pageX,m=n.pageY,g=(null==(s=E(this,l))?void 0:s.getBoundingClientRect().width)||0,b=(null==(f=E(this,l))?void 0:f.getBoundingClientRect().height)||0,y=(0,v.P)(100,!1,n=>{let i=n.pageX,o=n.pageY,s=i-h,l=o-m,u=null,c=null;if(0===this.aspectRatio&&g&&b)switch(a.type){case 0:case 3:u=g+s,c=b/g*u;break;case 1:case 4:u=g-s,c=b/g*u;break;case 2:c=b+l,u=g/b*c}else if(1===this.aspectRatio)switch(a.type){case 0:u=g+s;break;case 1:u=g-s;break;case 2:c=b+l;break;case 3:u=g+s,c=b+l;break;case 4:u=g-s,c=b+l}"number"==typeof u&&u{n.preventDefault(),a.dataSetDragging(!1),a.setHandleVisibility(!1),E(this,l).style.pointerEvents="auto",document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",w);let s=o(),c=i.state.tr.setNodeMarkup(s,void 0,{...E(this,u).attrs,width:E(this,d),height:E(this,p)});i.dispatch(c)};document.addEventListener("mousemove",y),document.addEventListener("mouseup",w),E(this,c).push(()=>document.removeEventListener("mousemove",y)),E(this,c).push(()=>document.removeEventListener("mouseup",w))}update(n){return n.type===E(this,u).type&&(0!==this.aspectRatio||!n.attrs.width||n.attrs.width===E(this,d))&&(1!==this.aspectRatio||!n.attrs.width||!n.attrs.height||n.attrs.width===E(this,d)||n.attrs.height===E(this,p))&&!!O(E(this,u),n,["width","height"])&&(x(this,u,n),x(this,d,n.attrs.width),x(this,p,n.attrs.height),!0)}destroy(){E(this,c).forEach(n=>n())}};function O(n,i,o){return n===i||I(n,i,o)&&n.content.eq(i.content)}function I(n,i,o){let a=n.attrs,s=i.attrs,l={};for(let u of o)l[u]=null;n.attrs={...a,...l},i.attrs={...s,...l};let c=n.sameMarkup(i);return n.attrs=a,i.attrs=s,c}function N(n){return"number"==typeof n?`${n}px`:n||void 0}l=new WeakMap,u=new WeakMap,c=new WeakMap,d=new WeakMap,p=new WeakMap;var M=Object.defineProperty,L=Object.getOwnPropertyDescriptor,P=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?L(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&M(i,o,l),l},F=class extends D{constructor(n,i,o){super({node:n,view:i,getPos:o,aspectRatio:R.Fixed})}createElement({node:n}){let i=document.createElement("img");return i.setAttribute("src",n.attrs.src),(0,m.yL)(i,{width:"100%",minWidth:"50px",objectFit:"contain"}),i}},B=class extends f.QR{get name(){return"image"}createTags(){return[h.eX.InlineNode,h.eX.Media]}createNodeSpec(n,i){let{preferPastedTextContent:o}=this.options;return{inline:!0,draggable:!0,selectable:!1,...i,attrs:{...n.defaults(),alt:{default:""},crop:{default:null},height:{default:null},width:{default:null},rotate:{default:null},src:{default:null},title:{default:""},fileName:{default:null},resizable:{default:!1}},parseDOM:[{tag:"img[src]",getAttrs(i){var a;if((0,m.jd)(i)){let s=z({element:i,parse:n.parse});return!(o&&(null==(a=s.src)?void 0:a.startsWith("file:///")))&&s}return{}}},...i.parseDOM??[]],toDOM(i){let o=(0,m.Kh)(i.attrs,n);return["img",{...n.dom(i),...o}]}}}insertImage(n,i){return({tr:o,dispatch:a})=>{let{from:s,to:l}=(0,m.b0)(i??o.selection,o.doc),u=this.type.create(n);return null==a||a(o.replaceRangeWith(s,l,u)),!0}}uploadImage(n,i){let{updatePlaceholder:o,destroyPlaceholder:a,createPlaceholder:s}=this.options;return l=>{let{tr:u}=l,c=u.selection.from;return this.store.createPlaceholderCommand({promise:n,placeholder:{type:"widget",get pos(){return c},createElement(n,o){let a=s(n,o);return null==i||i(a),a},onUpdate(n,i,a,s){o(n,i,a,s)},onDestroy(n,i){a(n,i)}},onSuccess:(n,i,o)=>this.insertImage(n,i)(o)}).validate(({tr:n,dispatch:i})=>{let o=(0,b.Yo)(n.doc,c,this.type);return null!=o&&(c=o,n.selection.empty||null==i||i(n.deleteSelection()),!0)},"unshift").generateCommand()(l)}}fileUploadFileHandler(n,i,o){var a;let{preferPastedTextContent:s,uploadHandler:l}=this.options;if(s&&H(i)&&(null==(a=i.clipboardData)?void 0:a.getData("text/plain")))return!1;let{commands:u,chain:c}=this.store,d=n.map((n,i)=>({file:n,progress(n){u.updatePlaceholder(p[i],n)}})),p=l(d);for(let f of((0,g.hj)(o)&&c.selectText(o),p))c.uploadImage(f);return c.run(),!0}createPasteRules(){return[{type:"file",regexp:/image/i,fileHandler:n=>{let i="drop"===n.type?n.pos:void 0;return this.fileUploadFileHandler(n.files,n.event,i)}}]}createNodeViews(){return this.options.enableResizing?(n,i,o)=>new F(n,i,o):{}}};function U(n){let{width:i,height:o}=n.style;return i=i||n.getAttribute("width")||"",o=o||n.getAttribute("height")||"",{width:i,height:o}}function z({element:n,parse:i}){let{width:o,height:a}=U(n);return{...i(n),alt:n.getAttribute("alt")??"",height:Number.parseInt(a||"0",10)||null,src:n.getAttribute("src")??null,title:n.getAttribute("title")??"",width:Number.parseInt(o||"0",10)||null,fileName:n.getAttribute("data-file-name")??null}}function j(n,i){let o=document.createElement("div");return o.classList.add(y.Jl.IMAGE_LOADER),o}function $(n){(0,g.kG)(n.length>0,{code:h.mA.EXTENSION,message:"The upload handler was applied for the image extension without any valid files"});let i=0,o=[];for(let{file:a,progress:s}of n)o.push(()=>new Promise(o=>{let l=new FileReader;l.addEventListener("load",l=>{var u;s((i+=1)/n.length),o({src:null==(u=l.target)?void 0:u.result,fileName:a.name})},{once:!0}),l.readAsDataURL(a)}));return o}function H(n){return void 0!==n.clipboardData}P([(0,f.WDe)()],B.prototype,"insertImage",1),P([(0,f.WDe)()],B.prototype,"uploadImage",1),B=P([(0,f.AOx)({defaultOptions:{createPlaceholder:j,updatePlaceholder(){},destroyPlaceholder(){},uploadHandler:$,enableResizing:!1,preferPastedTextContent:!0}})],B)},5705:function(n,i,o){"use strict";o.d(i,{f:function(){return h}});var a=o(44573),s=o(378),l=o(27398),u=o(48776),c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,p=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?d(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&c(i,o,l),l},f={icon:"italic",label:({t:n})=>n(u.wr.LABEL),description:({t:n})=>n(u.wr.DESCRIPTION)},h=class extends a.uS7{get name(){return"italic"}createTags(){return[s.eX.FontStyle,s.eX.FormattingMark]}createMarkSpec(n,i){return{...i,attrs:n.defaults(),parseDOM:[{tag:"i",getAttrs:n.parse},{tag:"em",getAttrs:n.parse},{style:"font-style=italic"},...i.parseDOM??[]],toDOM:i=>["em",n.dom(i),0]}}createKeymap(){return{"Mod-i":(0,a.w9d)({type:this.type})}}createInputRules(){return[(0,l.Cf)({regexp:/(?:^|[^*])\*([^*]+)\*$/,type:this.type,ignoreWhitespace:!0,updateCaptured:({fullMatch:n,start:i})=>n.startsWith("*")?{}:{fullMatch:n.slice(1),start:i+1}}),(0,l.Cf)({regexp:/(?:^|\W)_([^_]+)_$/,type:this.type,ignoreWhitespace:!0,updateCaptured:({fullMatch:n,start:i})=>n.startsWith("_")?{}:{fullMatch:n.slice(1),start:i+1}})]}createPasteRules(){return[{type:"mark",markType:this.type,regexp:/(?:^|\W)_([^_]+)_/g},{type:"mark",markType:this.type,regexp:/\*([^*]+)\*/g}]}toggleItalic(n){return(0,a.w9d)({type:this.type,selection:n})}shortcut(n){return this.toggleItalic()(n)}};p([(0,a.WDe)(f)],h.prototype,"toggleItalic",1),p([(0,a.IGC)({shortcut:s.vO.Italic,command:"toggleItalic"})],h.prototype,"shortcut",1),h=p([(0,a.AOx)({})],h)},611:function(n,i,o){"use strict";o.d(i,{y5:function(){return v}});var a=o(69463),s=o(44573),l=o(378),u=o(57555),c=o(27398),d=o(58463),p=o(16560),f=Object.defineProperty,h=Object.getOwnPropertyDescriptor,m=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?h(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&f(i,o,l),l},g=["com","de","net","org","uk","cn","ga","nl","cf","ml","tk","ru","br","gq","xyz","fr","eu","info","co","au","ca","it","in","ch","pl","es","online","us","top","be","jp","biz","se","at","dk","cz","za","me","ir","icu","shop","kr","site","mx","hu","io","cc","club","no","cyou"],b="updateLink",y=/(?:(?:(?:https?|ftp):)?\/\/)?(?:\S+(?::\S*)?@)?(?:(?:[\da-z\u00A1-\uFFFF][\w\u00A1-\uFFFF-]{0,62})?[\da-z\u00A1-\uFFFF]\.)*(?:(?:\d(?!\.)|[a-z\u00A1-\uFFFF])(?:[\da-z\u00A1-\uFFFF][\w\u00A1-\uFFFF-]{0,62})?[\da-z\u00A1-\uFFFF]\.)+[a-z\u00A1-\uFFFF]{2,}(?::\d{2,5})?(?:[#/?]\S*)?/gi,v=class extends s.uS7{constructor(){super(...arguments),this._autoLinkRegexNonGlobal=void 0}get name(){return"link"}createTags(){return[l.eX.Link,l.eX.ExcludeInputRules]}createMarkSpec(n,i){let o="data-link-auto",a=n=>{let{defaultTarget:i,supportedTargets:o}=this.options,a=i?[...o,i]:o;return n&&(0,u.q9)(a,n)?{target:n}:void 0};return{inclusive:!1,excludes:"_",...i,attrs:{...n.defaults(),href:{},target:{default:this.options.defaultTarget},auto:{default:!1}},parseDOM:[{tag:"a[href]",getAttrs:i=>{if(!(0,c.jd)(i))return!1;let s=i.getAttribute("href"),l=i.textContent,u=this.options.autoLink&&(i.hasAttribute(o)||s===l||(null==s?void 0:s.replace(`${this.options.defaultProtocol}//`,""))===l);return{...n.parse(i),href:s,auto:u,...a(i.getAttribute("target"))}}},...i.parseDOM??[]],toDOM(i){let{auto:s,target:l,...u}=(0,c.Kh)(i.attrs,n),d=i.attrs.auto?{[o]:""}:{},p="noopener noreferrer nofollow",f={...n.dom(i),...u,rel:p,...d,...a(i.attrs.target)};return["a",f,0]}}}onCreate(){let{autoLinkRegex:n}=this.options;this._autoLinkRegexNonGlobal=RegExp(`^${n.source}$`,n.flags.replace("g",""))}shortcut({tr:n}){let i="",{from:o,to:a,empty:s,$from:l}=n.selection,u=!1,d=(0,c.IH)(l,this.type);if(s){let p=d??(0,c.JM)(n);if(!p)return!1;({text:i,from:o,to:a}=p),u=!0}return o!==a&&(u||(i=n.doc.textBetween(o,a)),this.options.onActivateLink(i),this.options.onShortcut({activeLink:d?{attrs:d.mark.attrs,from:d.from,to:d.to}:void 0,selectedText:i,from:o,to:a}),!0)}updateLink(n,i){return o=>{let{tr:a}=o,s=(0,c.hT)(a.selection)&&!(0,c.Ab)(a.selection)||(0,c.d7)(a.selection)||(0,c.yw)({trState:a,type:this.type});return(!!s||!!i)&&(a.setMeta(this.name,{command:b,attrs:n,range:i}),(0,c.dy)({type:this.type,attrs:n,range:i})(o))}}selectLink(){return this.store.commands.selectMark.original(this.type)}removeLink(n){return i=>{let{tr:o}=i;return!!(0,c.yw)({trState:o,type:this.type,...n})&&(0,c.P9)({type:this.type,expand:!0,range:n})(i)}}createPasteRules(){return[{type:"mark",regexp:this.options.autoLinkRegex,markType:this.type,getAttributes:(n,i)=>({href:this.buildHref((0,c.FI)(n)),auto:!i}),transformMatch:n=>{let i=(0,c.FI)(n);return!!(i&&this.isValidUrl(i))&&i}}]}createEventHandlers(){return{clickMark:(n,i)=>{let o=i.getMark(this.type);if(!o)return;let a=o.mark.attrs,s={...a,...o};if(this.options.onClick(n,s))return!0;if(!this.store.view.editable)return;let l=!1;if(this.options.openLinkOnClick){l=!0;let u=a.href;window.open(u,"_blank")}return this.options.selectTextOnClick&&(l=!0,this.store.commands.selectText(o)),l}}}createPlugin(){return{appendTransaction:(n,i,o)=>{let a=n.filter(n=>!!n.getMeta(this.name));if(a.forEach(n=>{let i=n.getMeta(this.name);if(i.command===b){let{range:a,attrs:s}=i,{selection:l,doc:u}=o,c={range:a,selection:l,doc:u,attrs:s},{from:d,to:p}=a??l;this.options.onUpdateLink(u.textBetween(d,p),c)}}),!this.options.autoLink)return;let s=(0,d.of)(i)-(0,d.of)(o)==1;if(s)return;let l=n.some(n=>n.docChanged);if(!l)return;let u=(0,c.PZ)(n,i),f=(0,c.QC)(u,[p.FC,p.Pu]),{mapping:h}=u,{tr:m,doc:g}=o,{updateLink:y,removeLink:v}=this.store.chain(m);if(f.forEach(({prevFrom:n,prevTo:o,from:a,to:s})=>{let l=[],u=s-a==2,c=this.getLinkMarksInRange(i.doc,n,o,!0).filter(n=>n.mark.type===this.type).map(({from:n,to:i,text:o})=>({mappedFrom:h.map(n),mappedTo:h.map(i),text:o,from:n,to:i}));c.forEach(({mappedFrom:n,mappedTo:o,from:d,to:p},f)=>this.getLinkMarksInRange(g,n,o,!0).filter(n=>n.mark.type===this.type).forEach(o=>{let h=i.doc.textBetween(d,p,void 0," "),m=g.textBetween(o.from,o.to+1,void 0," ").trim(),b=this.isValidUrl(h),w=this.isValidUrl(m);!w&&(b&&(v({from:o.from,to:o.to}).tr(),c.splice(f,1)),u||a!==s||this.findAutoLinks(m).map(i=>this.addLinkProperties({...i,from:n+i.start,to:n+i.end})).forEach(({attrs:n,range:i,text:o})=>{y(n,i).tr(),l.push({attrs:n,range:i,text:o})}))})),this.findTextBlocksInRange(g,{from:a,to:s}).forEach(({text:n,positionStart:i})=>{this.findAutoLinks(n).map(n=>this.addLinkProperties({...n,from:i+n.start+1,to:i+n.end+1})).filter(({range:n})=>{let i=a>=n.from&&a<=n.to,o=s>=n.from&&s<=n.to;return i||o||u}).filter(({range:n})=>0===this.getLinkMarksInRange(m.doc,n.from,n.to,!1).length).filter(({range:{from:n},text:i})=>!c.some(({text:o,mappedFrom:a})=>a===n&&o===i)).forEach(({attrs:n,text:i,range:o})=>{y(n,o).tr(),l.push({attrs:n,range:o,text:i})})}),window.requestAnimationFrame(()=>{l.forEach(({attrs:n,range:i,text:o})=>{let{doc:a,selection:s}=m;this.options.onUpdateLink(o,{attrs:n,doc:a,range:i,selection:s})})})}),0!==m.steps.length)return m}}}buildHref(n){return this.options.extractHref({url:n,defaultProtocol:this.options.defaultProtocol})}getLinkMarksInRange(n,i,o,a){let s=[];if(i===o){let l=Math.max(i-1,0),u=n.resolve(l),d=(0,c.IH)(u,this.type);(null==d?void 0:d.mark.attrs.auto)===a&&s.push(d)}else n.nodesBetween(i,o,(n,i)=>{let o=n.marks??[],l=o.find(({type:n,attrs:i})=>n===this.type&&i.auto===a);l&&s.push({from:i,to:i+n.nodeSize,mark:l,text:n.textContent})});return s}findTextBlocksInRange(n,i){let o=[];return n.nodesBetween(i.from,i.to,(n,i)=>{n.isTextblock&&n.type.allowsMarkType(this.type)&&o.push({node:n,pos:i})}),o.map(i=>({text:n.textBetween(i.pos,i.pos+i.node.nodeSize,void 0," "),positionStart:i.pos}))}addLinkProperties({from:n,to:i,href:o,...a}){return{...a,range:{from:n,to:i},attrs:{href:o,auto:!0}}}findAutoLinks(n){if(this.options.findAutoLinks)return this.options.findAutoLinks(n,this.options.defaultProtocol);let i=[];for(let o of(0,u.JD)(n,this.options.autoLinkRegex)){let a=(0,c.FI)(o);if(!a)continue;let s=this.buildHref(a);(this.isValidTLD(s)||s.startsWith("tel:"))&&i.push({text:a,href:s,start:o.index,end:o.index+a.length})}return i}isValidUrl(n){var i;return this.options.isValidUrl?this.options.isValidUrl(n,this.options.defaultProtocol):this.isValidTLD(this.buildHref(n))&&!!(null==(i=this._autoLinkRegexNonGlobal)?void 0:i.test(n))}isValidTLD(n){let{autoLinkAllowedTLDs:i}=this.options;if(0===i.length)return!0;let o=a(n);if(""===o)return!0;let s=(0,u.Z$)(o.split("."));return i.includes(s)}};function w({url:n,defaultProtocol:i}){let o=/^((?:https?|ftp)?:)\/\//.test(n),a=!o&&n.includes("@");return a?`mailto:${n}`:o?n:`${i}//${n}`}m([(0,s.IGC)({shortcut:l.vO.InsertLink})],v.prototype,"shortcut",1),m([(0,s.WDe)()],v.prototype,"updateLink",1),m([(0,s.WDe)()],v.prototype,"selectLink",1),m([(0,s.WDe)()],v.prototype,"removeLink",1),v=m([(0,s.AOx)({defaultOptions:{autoLink:!1,defaultProtocol:"",selectTextOnClick:!1,openLinkOnClick:!1,autoLinkRegex:y,autoLinkAllowedTLDs:g,findAutoLinks:void 0,isValidUrl:void 0,defaultTarget:null,supportedTargets:[],extractHref:w},staticKeys:["autoLinkRegex"],handlerKeyOptions:{onClick:{earlyReturnValue:!0}},handlerKeys:["onActivateLink","onShortcut","onUpdateLink","onClick"],defaultPriority:l.xV.Medium})],v)},78469:function(n,i,o){"use strict";o.d(i,{UQ:function(){return er},Jb:function(){return ee},_3:function(){return ei}});var a=o(44573),s=o(378),l=o(57555),u=o(48776),c=o(36912),d=o(2376),p=o(31026),f=o(84133),h=o(27398),m=o(25804),g=o(12806),b=o(16560);function y(n,i=null){return function(o,a){let{$from:s,$to:l}=o.selection,u=s.blockRange(l),c=!1,d=u;if(!u)return!1;if(u.depth>=2&&s.node(u.depth-1).type.compatibleContent(n)&&0==u.startIndex){if(0==s.index(u.depth-1))return!1;let p=o.doc.resolve(u.start-2);d=new g.Ts(p,p,u.depth),u.endIndex=0;u--)l=g.HY.from(o[u].type.create(o[u].attrs,l));n.step(new b.FC(i.start-(a?2:0),i.end,i.start,i.end,new g.p2(l,0,0),o.length,!0));let c=0;for(let d=0;di.childCount>0&&i.firstChild.type==n);return!!l&&(!o||(a.node(l.depth-1).type==n?E(i,o,n,l):S(i,o,l)))}}function E(n,i,o,a){let s=n.tr,l=a.end,u=a.$to.end(a.depth);lc;u--)l-=s.child(u).nodeSize,a.delete(l-1,l+1);let d=a.doc.resolve(o.start),p=d.nodeAfter;if(a.mapping.map(o.end)!=o.start+d.nodeAfter.nodeSize)return!1;let f=0==o.startIndex,h=o.endIndex==s.childCount,m=d.node(-1),y=d.index(-1);if(!m.canReplace(y+(f?0:1),y+1,p.content.append(h?g.HY.empty:g.HY.from(s))))return!1;let v=d.pos,w=v+p.nodeSize;return a.step(new b.FC(v-(f?1:0),w+(h?1:0),v+1,w-1,new g.p2((f?g.HY.empty:g.HY.from(s.copy(g.HY.empty))).append(h?g.HY.empty:g.HY.from(s.copy(g.HY.empty))),f?0:1,h?0:1),f?0:1)),i(a.scrollIntoView()),!0}var x=Object.defineProperty,_=Object.getOwnPropertyDescriptor,k=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?_(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&x(i,o,l),l};function A(n){var i;return!!(null==(i=n.spec.group)?void 0:i.includes(s.eX.ListContainerNode))}function T(n){var i;return!!(null==(i=n.spec.group)?void 0:i.includes(s.eX.ListItemNode))}function C(n){return A(n.type)}function R(n){return T(n.type)}function D(n,i){return o=>{let{dispatch:a,tr:s}=o,l=(0,f.Ux)(s,o.state),{$from:u,$to:c}=s.selection,d=u.blockRange(c);if(!d)return!1;let p=(0,h.Kk)({predicate:n=>A(n.type),selection:s.selection});if(p&&d.depth-p.depth<=1&&0===d.startIndex){if(p.node.type===n)return F(i)(o);if(A(p.node.type))return n.validContent(p.node.content)?(null==a||a(s.setNodeMarkup(p.pos,n)),!0):!!I(s,p,n,i)&&(null==a||a(s.scrollIntoView()),!0)}return y(n)(l,a)}}function O(n,i=["checked"]){return function({tr:o,dispatch:a,state:s}){var l,u;let c=(0,h.jo)(n,s.schema),{$from:p,$to:f}=o.selection;if((0,h.EG)(o.selection)&&o.selection.node.isBlock||p.depth<2||!p.sameParent(f))return!1;let m=p.node(-1);if(m.type!==c)return!1;if(0===p.parent.content.size&&p.node(-1).childCount===p.indexAfter(-1)){if(2===p.depth||p.node(-3).type!==c||p.index(-2)!==p.node(-2).childCount-1)return!1;if(a){let y=p.index(-1)>0,v=g.HY.empty;for(let w=p.depth-(y?1:2);w>=p.depth-3;w--)v=g.HY.from(p.node(w).copy(v));let E=(null==(l=c.contentMatch.defaultType)?void 0:l.createAndFill())||void 0;v=v.append(g.HY.from(c.createAndFill(null,E)||void 0));let S=p.indexAfter(-1)!i.includes(n))),T=f.pos===p.end()?m.contentMatchAt(0).defaultType:null,C={...p.node().attrs};o.delete(p.pos,f.pos);let R=T?[{type:c,attrs:A},{type:T,attrs:C}]:[{type:c,attrs:A}];return!!(0,b.Ax)(o.doc,p.pos,2)&&(a&&a(o.split(p.pos,2,R).scrollIntoView()),!0)}}function I(n,i,o,a){let s=i.node,l=n.doc.resolve(i.start),u=l.node(-1),c=l.index(-1);if(!u||!u.canReplace(c,c+1,g.HY.from(o.create())))return!1;let d=[];for(let p=0;pd;c--)u-=s.child(c).nodeSize,a.delete(u-1,u+1);let p=a.doc.resolve(o.start),f=p.nodeAfter;if(!f||a.mapping.slice(l).map(o.end)!==o.start+f.nodeSize)return!1;let h=0===o.startIndex,m=o.endIndex===s.childCount,y=p.node(-1),v=p.index(-1);if(!y.canReplace(v+(h?0:1),v+1,f.content.append(m?g.HY.empty:g.HY.from(s))))return!1;let w=p.pos,E=w+f.nodeSize;return a.step(new b.FC(w-(h?1:0),E+(m?1:0),w+1,E-1,new g.p2((h?g.HY.empty:g.HY.from(s.copy(g.HY.empty))).append(m?g.HY.empty:g.HY.from(s.copy(g.HY.empty))),h?0:1,m?0:1),h?0:1)),i(a.scrollIntoView()),!0}function P(n,i){let o,a,s,l;let u=i||n.selection.$from,c=[];for(let d=u.depth;d>=0;d--){if(a=u.node(d),o=u.index(d),s=a.maybeChild(o-1),l=a.maybeChild(o),s&&l&&s.type.name===l.type.name&&C(s)){let p=u.before(d+1);c.push(p)}if(o=u.indexAfter(d),s=a.maybeChild(o-1),l=a.maybeChild(o),s&&l&&s.type.name===l.type.name&&C(s)){let f=u.after(d+1);c.push(f)}}c=[...new Set(c)].sort((n,i)=>i-n);let h=!1;for(let m of c)(0,b.Mn)(n.doc,m)&&(n.join(m),h=!0);return h}function F(n){return i=>{let{dispatch:o,tr:a}=i,s=(0,f.Ux)(a,i.state),l=B(n,a.selection);return!!l&&(!o||(L(s,o,l),!0))}}function B(n,i){let{$from:o,$to:a}=i,s=o.blockRange(a,i=>{var o;return(null==(o=i.firstChild)?void 0:o.type)===n});return s}function U(n){let{$from:i,$to:o}=n;return i.blockRange(o,C)}function z(n){let i=n.selection.$from,o=i.blockRange();if(!o||!R(o.parent)||0!==o.startIndex)return!1;let a=i.node(o.depth-2),s=i.index(o.depth),l=i.index(o.depth-1),u=i.index(o.depth-2),c=a.maybeChild(u-1),d=null==c?void 0:c.lastChild;if(0!==s||0!==l)return!1;if(c&&C(c)&&d&&R(d))return M({listType:c.type,itemType:d.type,tr:n});if(R(a)){let p=a,f=i.node(o.depth-3);if(C(f))return M({listType:f.type,itemType:p.type,tr:n})}return!1}function j({view:n}){if(!n)return!1;{let i=n.state.selection.$cursor;if(!i||i.parentOffset>0)return!1;let o=i.blockRange();if(!o||!R(o.parent)||0!==o.startIndex)return!1}{let a=n.state.tr;z(a)&&n.dispatch(a)}{let s=n.state.selection.$cursor;if(!s||s.parentOffset>0)return!1;let l=s.blockRange();if(!l||!R(l.parent)||0!==l.startIndex)return!1;let u=s.index(l.depth),c=s.index(l.depth-1),d=s.index(l.depth-2),p=l.depth-2>=1&&R(s.node(l.depth-2));0===u&&0===c&&d<=1&&p&&w(l.parent.type)(n.state,n.dispatch)}return(0,m.al)(n.state,n.dispatch,n),!0}function $({node:n,mark:i,updateDOM:o,updateMark:a}){let s=document.createElement("label");s.contentEditable="false",s.classList.add(p.MQ.LIST_ITEM_MARKER_CONTAINER),s.append(i);let l=document.createElement("div"),u=document.createElement("li");u.classList.add(p.MQ.LIST_ITEM_WITH_CUSTOM_MARKER),u.append(s),u.append(l);let c=s=>s.type===n.type&&(o(n=s,u),a(n,i),!0);return c(n),{dom:u,contentDOM:l,update:c}}function H(n,i){let o=n.node(i.depth-1),a=n.node(i.depth-2);return!!(R(o)&&C(a))&&{parentItem:o,parentList:a}}function V(n,i){let o=i.parent,a=i.parent.child(i.endIndex-1),s=i.end,l=i.$to.end(i.depth);return s!!W(n)&&(null==i||i(n.scrollIntoView()),!0);function Y(n,i,o){let a,s,l,u;let c=i.doc;if(o.startIndex>=1){a=n.child(o.startIndex-1),s=n,l=(u=c.resolve(o.start).start(o.depth))+1;for(let d=0;d=1))return!1;{let f=i.node(o.depth-1),h=i.start(o.depth-1);if(!C(s=f.child(p-1)))return!1;u=h+1;for(let m=0;m=o.depth+2?i.end(o.depth+2):o.end-1,c=o.end;return u+1>=c?(a=n.slice(l,c),s=null):(a=n.slice(l,u),s=n.slice(u+1,c-1)),{selectedSlice:a,unselectedSlice:s}}function X(n){let{$from:i,$to:o}=n.selection,a=U(n.selection);if(!a)return!1;let s=n.doc.resolve(a.start).node();if(!C(s))return!1;let l=Y(s,i,a);if(!l)return!1;let{previousItem:u,previousList:c,previousItemStart:p}=l,{selectedSlice:f,unselectedSlice:h}=Z(n.doc,o,a),m=u.content.append(g.HY.fromArray([s.copy(f.content)])).append(h?h.content:g.HY.empty);n.deleteRange(a.start,a.end);let b=p+u.nodeSize-2,y=u.copy(m);return y.check(),n.replaceRangeWith(p-1,b+1,y),n.setSelection(c===s?d.Bs.between(n.doc.resolve(i.pos),n.doc.resolve(o.pos)):d.Bs.between(n.doc.resolve(i.pos-2),n.doc.resolve(o.pos-2))),!0}var J=({tr:n,dispatch:i})=>!!X(n)&&(null==i||i(n.scrollIntoView()),!0),Q=class extends a.nNj{get name(){return"listItemShared"}createKeymap(){let n={Tab:J,"Shift-Tab":K,Backspace:j,"Mod-Backspace":j};if(h.NZ.isMac){let i={"Ctrl-h":n.Backspace,"Alt-Backspace":n["Mod-Backspace"]};return{...n,...i}}return n}createPlugin(){return{appendTransaction(n,i,o){let a=o.tr,s=P(a);return s?a:null}}}},ee=class extends a.QR{get name(){return"listItem"}createTags(){return[s.eX.ListItemNode]}createNodeSpec(n,i){return{content:"paragraph block*",defining:!0,draggable:!1,...i,attrs:{...n.defaults(),closed:{default:!1},nested:{default:!1}},parseDOM:[{tag:"li",getAttrs:n.parse,priority:s.xV.Lowest},...i.parseDOM??[]],toDOM(i){let o=n.dom(i);return["li",o,0]}}}createNodeViews(){return this.options.enableCollapsible?(n,i,o)=>{let a=document.createElement("div");return a.classList.add(p.MQ.COLLAPSIBLE_LIST_ITEM_BUTTON),a.contentEditable="false",a.addEventListener("click",()=>{if(a.classList.contains("disabled"))return;let n=o(),s=d.qv.create(i.state.doc,n);return i.dispatch(i.state.tr.setSelection(s)),this.store.commands.toggleListItemClosed(),!0}),$({mark:a,node:n,updateDOM:et,updateMark:en})}:{}}createKeymap(){return{Enter:O(this.type)}}createExtensions(){return[new Q]}toggleListItemClosed(n){return({state:{tr:i,selection:o},dispatch:a})=>{if(!(0,h.EG)(o)||o.node.type.name!==this.name)return!1;let{node:s,from:u}=o;return n=(0,l.jn)(n)?n:!s.attrs.closed,null==a||a(i.setNodeMarkup(u,void 0,{...s.attrs,closed:n})),!0}}liftListItemOutOfList(n){return F(n??this.type)}};function et(n,i){n.attrs.closed?i.classList.add(p.MQ.COLLAPSIBLE_LIST_ITEM_CLOSED):i.classList.remove(p.MQ.COLLAPSIBLE_LIST_ITEM_CLOSED)}function en(n,i){n.childCount<=1?i.classList.add("disabled"):i.classList.remove("disabled")}k([(0,a.WDe)()],ee.prototype,"toggleListItemClosed",1),k([(0,a.WDe)()],ee.prototype,"liftListItemOutOfList",1),ee=k([(0,a.AOx)({defaultOptions:{enableCollapsible:!1},staticKeys:["enableCollapsible"]})],ee);var er=class extends a.QR{get name(){return"bulletList"}createTags(){return[s.eX.Block,s.eX.ListContainerNode]}createNodeSpec(n,i){return{content:"listItem+",...i,attrs:n.defaults(),parseDOM:[{tag:"ul",getAttrs:n.parse},...i.parseDOM??[]],toDOM:i=>["ul",n.dom(i),0]}}createNodeViews(){return this.options.enableSpine?(n,i,o)=>{var a;let s=document.createElement("div");s.style.position="relative";let l=o(),u=i.state.doc.resolve(l+1),c=u.node(u.depth-1),f=(null==(a=null==c?void 0:c.type)?void 0:a.name)!=="listItem";if(!f){let h=document.createElement("div");h.contentEditable="false",h.classList.add(p.MQ.LIST_SPINE),h.addEventListener("click",n=>{let a=o(),s=i.state.doc.resolve(a+1),l=s.start(s.depth-1),u=d.qv.create(i.state.doc,l-1);i.dispatch(i.state.tr.setSelection(u)),this.store.commands.toggleListItemClosed(),n.preventDefault(),n.stopPropagation()}),s.append(h)}let m=document.createElement("ul");return m.classList.add(p.MQ.UL_LIST_CONTENT),s.append(m),{dom:s,contentDOM:m}}:{}}createExtensions(){return[new ee({priority:s.xV.Low,enableCollapsible:this.options.enableSpine})]}toggleBulletList(){return D(this.type,(0,l.fp)(this.store.schema.nodes,"listItem"))}listShortcut(n){return this.toggleBulletList()(n)}createInputRules(){let n=/^\s*([*+-])\s$/;return[(0,c.S0)(n,this.type),new c.VK(n,(n,i,o,a)=>{let s=n.tr;s.deleteRange(o,a);let u=M({listType:this.type,itemType:(0,l.fp)(this.store.schema.nodes,"listItem"),tr:s});return u?s:null})]}};k([(0,a.WDe)({icon:"listUnordered",label:({t:n})=>n(u.it.BULLET_LIST_LABEL)})],er.prototype,"toggleBulletList",1),k([(0,a.IGC)({shortcut:s.vO.BulletList,command:"toggleBulletList"})],er.prototype,"listShortcut",1),er=k([(0,a.AOx)({defaultOptions:{enableSpine:!1},staticKeys:["enableSpine"]})],er);var ei=class extends a.QR{get name(){return"orderedList"}createTags(){return[s.eX.Block,s.eX.ListContainerNode]}createNodeSpec(n,i){return{content:"listItem+",...i,attrs:{...n.defaults(),order:{default:1}},parseDOM:[{tag:"ol",getAttrs:i=>(0,h.jd)(i)?{...n.parse(i),order:+(i.getAttribute("start")??1)}:{}},...i.parseDOM??[]],toDOM(i){let o=n.dom(i);return 1===i.attrs.order?["ol",o,0]:["ol",{...o,start:i.attrs.order},0]}}}createExtensions(){return[new ee({priority:s.xV.Low})]}toggleOrderedList(){return D(this.type,(0,l.fp)(this.store.schema.nodes,"listItem"))}listShortcut(n){return this.toggleOrderedList()(n)}createInputRules(){let n=/^(\d+)\.\s$/;return[(0,c.S0)(n,this.type,n=>({order:+(0,l.fp)(n,1)}),(n,i)=>i.childCount+i.attrs.order===+(0,l.fp)(n,1)),new c.VK(n,(n,i,o,a)=>{let s=n.tr;s.deleteRange(o,a);let u=M({listType:this.type,itemType:(0,l.fp)(this.store.schema.nodes,"listItem"),tr:s});if(!u)return null;let c=+(0,l.fp)(i,1);if(1!==c){let d=(0,h.Tr)({selection:s.selection,types:this.type});d&&s.setNodeMarkup(d.pos,void 0,{order:c})}return s})]}};k([(0,a.WDe)({icon:"listOrdered",label:({t:n})=>n(u.it.ORDERED_LIST_LABEL)})],ei.prototype,"toggleOrderedList",1),k([(0,a.IGC)({shortcut:s.vO.OrderedList,command:"toggleOrderedList"})],ei.prototype,"listShortcut",1),ei=k([(0,a.AOx)({})],ei);var eo=class extends a.QR{get name(){return"taskListItem"}createTags(){return[s.eX.ListItemNode]}createNodeSpec(n,i){return{content:"paragraph block*",defining:!0,draggable:!1,...i,attrs:{...n.defaults(),checked:{default:!1}},parseDOM:[{tag:"li[data-task-list-item]",getAttrs(i){let o=!1;return(0,h.jd)(i)&&null!==i.getAttribute("data-checked")&&(o=!0),{checked:o,...n.parse(i)}},priority:s.xV.Medium},...i.parseDOM??[]],toDOM:i=>["li",{...n.dom(i),"data-task-list-item":"","data-checked":i.attrs.checked?"":void 0},0]}}createNodeViews(){return(n,i,o)=>{let a=document.createElement("input");return a.type="checkbox",a.classList.add(p.MQ.LIST_ITEM_CHECKBOX),a.contentEditable="false",a.addEventListener("click",n=>{i.editable||n.preventDefault()}),a.addEventListener("change",()=>{let n=o(),a=i.state.doc.resolve(n+1);this.store.commands.toggleCheckboxChecked({$pos:a})}),a.checked=n.attrs.checked,$({node:n,mark:a,updateDOM:ea,updateMark:es})}}createKeymap(){return{Enter:O(this.type)}}createExtensions(){return[new Q]}toggleCheckboxChecked(n){let i,o;return"boolean"==typeof n?i=n:n&&(i=n.checked,o=n.$pos),({tr:n,dispatch:a})=>{let s=(0,h.Tr)({selection:o??n.selection.$from,types:this.type});if(!s)return!1;let{node:l,pos:u}=s,c={...l.attrs,checked:i??!l.attrs.checked};return null==a||a(n.setNodeMarkup(u,void 0,c)),!0}}createInputRules(){let n=/^\s*(\[( ?|x|X)]\s)$/;return[(0,c.S0)(n,this.type,n=>({checked:["x","X"].includes((0,h.FI)(n,2))})),new c.VK(n,(n,i,o,a)=>{let s=n.tr;s.deleteRange(o,a);let u=M({listType:(0,l.fp)(this.store.schema.nodes,"taskList"),itemType:this.type,tr:s});if(!u)return null;let c=["x","X"].includes((0,h.FI)(i,2));if(c){let d=(0,h.Tr)({selection:s.selection,types:this.type});d&&s.setNodeMarkup(d.pos,void 0,{checked:c})}return s})]}};function ea(n,i){n.attrs.checked?i.setAttribute("data-checked",""):i.removeAttribute("data-checked"),i.setAttribute("data-task-list-item","")}function es(n,i){i.checked=!!n.attrs.checked}k([(0,a.WDe)()],eo.prototype,"toggleCheckboxChecked",1);var el=class extends a.QR{get name(){return"taskList"}createTags(){return[s.eX.Block,s.eX.ListContainerNode]}createNodeSpec(n,i){return{content:"taskListItem+",...i,attrs:n.defaults(),parseDOM:[{tag:"ul[data-task-list]",getAttrs:n.parse,priority:s.xV.Medium},...i.parseDOM??[]],toDOM:i=>["ul",{...n.dom(i),"data-task-list":""},0]}}createExtensions(){return[new eo({})]}toggleTaskList(){return D(this.type,(0,l.fp)(this.store.schema.nodes,"taskListItem"))}listShortcut(n){return this.toggleTaskList()(n)}};k([(0,a.WDe)({icon:"checkboxMultipleLine",label:({t:n})=>n(u.it.TASK_LIST_LABEL)})],el.prototype,"toggleTaskList",1),k([(0,a.IGC)({shortcut:s.vO.TaskList,command:"toggleTaskList"})],el.prototype,"listShortcut",1)},81373:function(n,i,o){"use strict";o.d(i,{g:function(){return e4}});var a,s=o(44573),l=o(378),u=o(12806);function c(n){for(var i=1;i0&&"\n"===n[i-1];)i--;return n.substring(0,i)}var h=["ADDRESS","ARTICLE","ASIDE","AUDIO","BLOCKQUOTE","BODY","CANVAS","CENTER","DD","DIR","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","FRAMESET","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","HTML","ISINDEX","LI","MAIN","MENU","NAV","NOFRAMES","NOSCRIPT","OL","OUTPUT","P","PRE","SECTION","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","UL"];function m(n){return S(n,h)}var g=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"];function b(n){return S(n,g)}function y(n){return x(n,g)}var v=["A","TABLE","THEAD","TBODY","TFOOT","TH","TD","IFRAME","SCRIPT","AUDIO","VIDEO"];function w(n){return S(n,v)}function E(n){return x(n,v)}function S(n,i){return i.indexOf(n.nodeName)>=0}function x(n,i){return n.getElementsByTagName&&i.some(function(i){return n.getElementsByTagName(i).length})}var _={};function k(n){return n?n.replace(/(\n+\s*)+/g,"\n"):""}function A(n){for(var i in this.options=n,this._keep=[],this._remove=[],this.blankRule={replacement:n.blankReplacement},this.keepReplacement=n.keepReplacement,this.defaultRule={replacement:n.defaultReplacement},this.array=[],n.rules)this.array.push(n.rules[i])}function T(n,i,o){for(var a=0;a-1)return!0}else if("function"==typeof a){if(a.call(n,i,o))return!0}else throw TypeError("`filter` needs to be a string, array, or function")}function R(n){var i=n.element,o=n.isBlock,a=n.isVoid,s=n.isPre||function(n){return"PRE"===n.nodeName};if(!(!i.firstChild||s(i))){for(var l=null,u=!1,c=null,d=O(c,i,s);d!==i;){if(3===d.nodeType||4===d.nodeType){var p=d.data.replace(/[ \r\n\t]+/g," ");if((!l||/ $/.test(l.data))&&!u&&" "===p[0]&&(p=p.substr(1)),!p){d=D(d);continue}d.data=p,l=d}else if(1===d.nodeType)o(d)||"BR"===d.nodeName?(l&&(l.data=l.data.replace(/ $/,"")),l=null,u=!1):a(d)||s(d)?(l=null,u=!0):l&&(u=!1);else{d=D(d);continue}var f=O(c,d,s);c=d,d=f}l&&(l.data=l.data.replace(/ $/,""),l.data||D(l))}}function D(n){var i=n.nextSibling||n.parentNode;return n.parentNode.removeChild(n),i}function O(n,i,o){return n&&n.parentNode===i||o(i)?i.nextSibling||i.parentNode:i.firstChild||i.nextSibling||i.parentNode}_.paragraph={filter:"p",replacement:function(n){return"\n\n"+n+"\n\n"}},_.lineBreak={filter:"br",replacement:function(n,i,o){return o.br+"\n"}},_.heading={filter:["h1","h2","h3","h4","h5","h6"],replacement:function(n,i,o){var a=Number(i.nodeName.charAt(1));if("setext"!==o.headingStyle||!(a<3))return"\n\n"+d("#",a)+" "+n+"\n\n";var s=d(1===a?"=":"-",n.length);return"\n\n"+n+"\n"+s+"\n\n"}},_.blockquote={filter:"blockquote",replacement:function(n){return"\n\n"+(n=(n=n.replace(/^\n+|\n+$/g,"")).replace(/^/gm,"> "))+"\n\n"}},_.list={filter:["ul","ol"],replacement:function(n,i){var o=i.parentNode;return"LI"===o.nodeName&&o.lastElementChild===i?"\n"+n:"\n\n"+n+"\n\n"}},_.listItem={filter:"li",replacement:function(n,i,o){n=n.replace(/^\n+/,"").replace(/\n+$/,"\n").replace(/\n/gm,"\n ");var a=o.bulletListMarker+" ",s=i.parentNode;if("OL"===s.nodeName){var l=s.getAttribute("start"),u=Array.prototype.indexOf.call(s.children,i);a=(l?Number(l)+u:u+1)+". "}return a+n+(i.nextSibling&&!/\n$/.test(n)?"\n":"")}},_.indentedCodeBlock={filter:function(n,i){return"indented"===i.codeBlockStyle&&"PRE"===n.nodeName&&n.firstChild&&"CODE"===n.firstChild.nodeName},replacement:function(n,i,o){return"\n\n "+i.firstChild.textContent.replace(/\n/g,"\n ")+"\n\n"}},_.fencedCodeBlock={filter:function(n,i){return"fenced"===i.codeBlockStyle&&"PRE"===n.nodeName&&n.firstChild&&"CODE"===n.firstChild.nodeName},replacement:function(n,i,o){for(var a,s=((i.firstChild.getAttribute("class")||"").match(/language-(\S+)/)||[null,""])[1],l=i.firstChild.textContent,u=o.fence.charAt(0),c=3,p=RegExp("^"+u+"{3,}","gm");a=p.exec(l);)a[0].length>=c&&(c=a[0].length+1);var f=d(u,c);return"\n\n"+f+s+"\n"+l.replace(/\n$/,"")+"\n"+f+"\n\n"}},_.horizontalRule={filter:"hr",replacement:function(n,i,o){return"\n\n"+o.hr+"\n\n"}},_.inlineLink={filter:function(n,i){return"inlined"===i.linkStyle&&"A"===n.nodeName&&n.getAttribute("href")},replacement:function(n,i){var o=i.getAttribute("href"),a=k(i.getAttribute("title"));return a&&(a=' "'+a+'"'),"["+n+"]("+o+a+")"}},_.referenceLink={filter:function(n,i){return"referenced"===i.linkStyle&&"A"===n.nodeName&&n.getAttribute("href")},replacement:function(n,i,o){var a,s,l=i.getAttribute("href"),u=k(i.getAttribute("title"));switch(u&&(u=' "'+u+'"'),o.linkReferenceStyle){case"collapsed":a="["+n+"][]",s="["+n+"]: "+l+u;break;case"shortcut":a="["+n+"]",s="["+n+"]: "+l+u;break;default:var c=this.references.length+1;a="["+n+"]["+c+"]",s="["+c+"]: "+l+u}return this.references.push(s),a},references:[],append:function(n){var i="";return this.references.length&&(i="\n\n"+this.references.join("\n")+"\n\n",this.references=[]),i}},_.emphasis={filter:["em","i"],replacement:function(n,i,o){return n.trim()?o.emDelimiter+n+o.emDelimiter:""}},_.strong={filter:["strong","b"],replacement:function(n,i,o){return n.trim()?o.strongDelimiter+n+o.strongDelimiter:""}},_.code={filter:function(n){var i=n.previousSibling||n.nextSibling,o="PRE"===n.parentNode.nodeName&&!i;return"CODE"===n.nodeName&&!o},replacement:function(n){if(!n)return"";n=n.replace(/\r?\n|\r/g," ");for(var i=/^`|^ .*?[^ ].* $|`$/.test(n)?" ":"",o="`",a=n.match(/`+/gm)||[];-1!==a.indexOf(o);)o+="`";return o+i+n+i+o}},_.image={filter:"img",replacement:function(n,i){var o=k(i.getAttribute("alt")),a=i.getAttribute("src")||"",s=k(i.getAttribute("title")),l=s?' "'+s+'"':"";return a?"!["+o+"]("+a+l+")":""}},A.prototype={add:function(n,i){this.array.unshift(i)},keep:function(n){this._keep.unshift({filter:n,replacement:this.keepReplacement})},remove:function(n){this._remove.unshift({filter:n,replacement:function(){return""}})},forNode:function(n){var i;return n.isBlank?this.blankRule:(i=T(this.array,n,this.options))||(i=T(this._keep,n,this.options))||(i=T(this._remove,n,this.options))?i:this.defaultRule},forEach:function(n){for(var i=0;i'+n+"","text/html").getElementById("turndown-root"):n.cloneNode(!0),isBlock:m,isVoid:b,isPre:i.preformattedCode?B:null}),o}function F(){return a=a||new L}function B(n){return"PRE"===n.nodeName||"CODE"===n.nodeName}function U(n,i){return n.isBlock=m(n),n.isCode="CODE"===n.nodeName||n.parentNode.isCode,n.isBlank=z(n),n.flankingWhitespace=j(n,i),n}function z(n){return!b(n)&&!w(n)&&/^\s*$/i.test(n.textContent)&&!y(n)&&!E(n)}function j(n,i){if(n.isBlock||i.preformattedCode&&n.isCode)return{leading:"",trailing:""};var o=$(n.textContent);return o.leadingAscii&&H("left",n,i)&&(o.leading=o.leadingNonAscii),o.trailingAscii&&H("right",n,i)&&(o.trailing=o.trailingNonAscii),{leading:o.leading,trailing:o.trailing}}function $(n){var i=n.match(/^(([ \t\r\n]*)(\s*))(?:(?=\S)[\s\S]*\S)?((\s*?)([ \t\r\n]*))$/);return{leading:i[1],leadingAscii:i[2],leadingNonAscii:i[3],trailing:i[4],trailingNonAscii:i[5],trailingAscii:i[6]}}function H(n,i,o){var a,s,l;return"left"===n?(a=i.previousSibling,s=/ $/):(a=i.nextSibling,s=/^ /),a&&(3===a.nodeType?l=s.test(a.nodeValue):o.preformattedCode&&"CODE"===a.nodeName?l=!1:1!==a.nodeType||m(a)||(l=s.test(a.textContent))),l}var V=Array.prototype.reduce,G=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];function q(n){if(!(this instanceof q))return new q(n);var i={rules:_,headingStyle:"setext",hr:"* * *",bulletListMarker:"*",codeBlockStyle:"indented",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",br:" ",preformattedCode:!1,blankReplacement:function(n,i){return i.isBlock?"\n\n":""},keepReplacement:function(n,i){return i.isBlock?"\n\n"+i.outerHTML+"\n\n":i.outerHTML},defaultReplacement:function(n,i){return i.isBlock?"\n\n"+n+"\n\n":n}};this.options=c({},i,n),this.rules=new A(this.options)}function W(n){var i=this;return V.call(n.childNodes,function(n,o){o=new U(o,i.options);var a="";return 3===o.nodeType?a=o.isCode?o.nodeValue:i.escape(o.nodeValue):1===o.nodeType&&(a=Y.call(i,o)),Z(n,a)},"")}function K(n){var i=this;return this.rules.forEach(function(o){"function"==typeof o.append&&(n=Z(n,o.append(i.options)))}),n.replace(/^[\t\r\n]+/,"").replace(/[\t\r\n\s]+$/,"")}function Y(n){var i=this.rules.forNode(n),o=W.call(this,n),a=n.flankingWhitespace;return(a.leading||a.trailing)&&(o=o.trim()),a.leading+i.replacement(o,n,this.options)+a.trailing}function Z(n,i){var o=f(n),a=p(i),s=Math.max(n.length-o.length,i.length-a.length);return o+"\n\n".substring(0,s)+a}function X(n){return null!=n&&("string"==typeof n||n.nodeType&&(1===n.nodeType||9===n.nodeType||11===n.nodeType))}q.prototype={turndown:function(n){if(!X(n))throw TypeError(n+" is not a string, or an element/document/fragment node.");return""===n?"":K.call(this,W.call(this,new P(n,this.options)))},use:function(n){if(Array.isArray(n))for(var i=0;i"']/,eo=RegExp(ei.source,"g"),ea=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,es=RegExp(ea.source,"g"),el={"&":"&","<":"<",">":">",'"':""","'":"'"},eu=n=>el[n];function ec(n,i){if(i){if(ei.test(n))return n.replace(eo,eu)}else if(ea.test(n))return n.replace(es,eu);return n}let ed=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function ep(n){return n.replace(ed,(n,i)=>"colon"===(i=i.toLowerCase())?":":"#"===i.charAt(0)?"x"===i.charAt(1)?String.fromCharCode(parseInt(i.substring(2),16)):String.fromCharCode(+i.substring(1)):"")}let ef=/(^|[^\[])\^/g;function eh(n,i){n="string"==typeof n?n:n.source,i=i||"";let o={replace:(i,a)=>(a=(a=a.source||a).replace(ef,"$1"),n=n.replace(i,a),o),getRegex:()=>RegExp(n,i)};return o}let em=/[^\w:]/g,eg=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function eb(n,i,o){if(n){let a;try{a=decodeURIComponent(ep(o)).replace(em,"").toLowerCase()}catch(s){return null}if(0===a.indexOf("javascript:")||0===a.indexOf("vbscript:")||0===a.indexOf("data:"))return null}i&&!eg.test(o)&&(o=eS(i,o));try{o=encodeURI(o).replace(/%25/g,"%")}catch(l){return null}return o}let ey={},ev=/^[^:]+:\/*[^/]*$/,ew=/^([^:]+:)[\s\S]*$/,eE=/^([^:]+:\/*[^/]*)[\s\S]*$/;function eS(n,i){ey[" "+n]||(ev.test(n)?ey[" "+n]=n+"/":ey[" "+n]=ek(n,"/",!0)),n=ey[" "+n];let o=-1===n.indexOf(":");return"//"===i.substring(0,2)?o?i:n.replace(ew,"$1")+i:"/"!==i.charAt(0)?n+i:o?i:n.replace(eE,"$1")+i}let ex={exec:function(){}};function e_(n,i){let o=n.replace(/\|/g,(n,i,o)=>{let a=!1,s=i;for(;--s>=0&&"\\"===o[s];)a=!a;return a?"|":" |"}),a=o.split(/ \|/),s=0;if(a[0].trim()||a.shift(),a.length>0&&!a[a.length-1].trim()&&a.pop(),a.length>i)a.splice(i);else for(;a.length1;)1&i&&(o+=n),i>>=1,n+=n;return o+n}function eR(n,i,o,a){let s=i.href,l=i.title?ec(i.title):null,u=n[1].replace(/\\([\[\]])/g,"$1");if("!"!==n[0].charAt(0)){a.state.inLink=!0;let c={type:"link",raw:o,href:s,title:l,text:u,tokens:a.inlineTokens(u)};return a.state.inLink=!1,c}return{type:"image",raw:o,href:s,title:l,text:ec(u)}}function eD(n,i){let o=n.match(/^(\s+)(?:```)/);if(null===o)return i;let a=o[1];return i.split("\n").map(n=>{let i=n.match(/^\s+/);if(null===i)return n;let[o]=i;return o.length>=a.length?n.slice(a.length):n}).join("\n")}class eO{constructor(n){this.options=n||en}space(n){let i=this.rules.block.newline.exec(n);if(i&&i[0].length>0)return{type:"space",raw:i[0]}}code(n){let i=this.rules.block.code.exec(n);if(i){let o=i[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:i[0],codeBlockStyle:"indented",text:this.options.pedantic?o:ek(o,"\n")}}}fences(n){let i=this.rules.block.fences.exec(n);if(i){let o=i[0],a=eD(o,i[3]||"");return{type:"code",raw:o,lang:i[2]?i[2].trim().replace(this.rules.inline._escapes,"$1"):i[2],text:a}}}heading(n){let i=this.rules.block.heading.exec(n);if(i){let o=i[2].trim();if(/#$/.test(o)){let a=ek(o,"#");this.options.pedantic?o=a.trim():(!a||/ $/.test(a))&&(o=a.trim())}return{type:"heading",raw:i[0],depth:i[1].length,text:o,tokens:this.lexer.inline(o)}}}hr(n){let i=this.rules.block.hr.exec(n);if(i)return{type:"hr",raw:i[0]}}blockquote(n){let i=this.rules.block.blockquote.exec(n);if(i){let o=i[0].replace(/^ *>[ \t]?/gm,""),a=this.lexer.state.top;this.lexer.state.top=!0;let s=this.lexer.blockTokens(o);return this.lexer.state.top=a,{type:"blockquote",raw:i[0],tokens:s,text:o}}}list(n){let i=this.rules.block.list.exec(n);if(i){let o,a,s,l,u,c,d,p,f,h,m,g;let b=i[1].trim(),y=b.length>1,v={type:"list",raw:"",ordered:y,start:y?+b.slice(0,-1):"",loose:!1,items:[]};b=y?`\\d{1,9}\\${b.slice(-1)}`:`\\${b}`,this.options.pedantic&&(b=y?b:"[*+-]");let w=RegExp(`^( {0,3}${b})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;n&&(g=!1,!(!(i=w.exec(n))||this.rules.block.hr.test(n)));){if(o=i[0],n=n.substring(o.length),p=i[2].split("\n",1)[0].replace(/^\t+/,n=>" ".repeat(3*n.length)),f=n.split("\n",1)[0],this.options.pedantic?(l=2,m=p.trimLeft()):(l=(l=i[2].search(/[^ ]/))>4?1:l,m=p.slice(l),l+=i[1].length),c=!1,!p&&/^ *$/.test(f)&&(o+=f+"\n",n=n.substring(f.length+1),g=!0),!g){let E=RegExp(`^ {0,${Math.min(3,l-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),S=RegExp(`^ {0,${Math.min(3,l-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),x=RegExp(`^ {0,${Math.min(3,l-1)}}(?:\`\`\`|~~~)`),_=RegExp(`^ {0,${Math.min(3,l-1)}}#`);for(;n&&(f=h=n.split("\n",1)[0],this.options.pedantic&&(f=f.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(x.test(f)||_.test(f)||E.test(f)||S.test(n)));){if(f.search(/[^ ]/)>=l||!f.trim())m+="\n"+f.slice(l);else{if(c||p.search(/[^ ]/)>=4||x.test(p)||_.test(p)||S.test(p))break;m+="\n"+f}c||f.trim()||(c=!0),o+=h+"\n",n=n.substring(h.length+1),p=f.slice(l)}}!v.loose&&(d?v.loose=!0:/\n *\n *$/.test(o)&&(d=!0)),this.options.gfm&&(a=/^\[[ xX]\] /.exec(m))&&(s="[ ] "!==a[0],m=m.replace(/^\[[ xX]\] +/,"")),v.items.push({type:"list_item",raw:o,task:!!a,checked:s,loose:!1,text:m}),v.raw+=o}v.items[v.items.length-1].raw=o.trimRight(),v.items[v.items.length-1].text=m.trimRight(),v.raw=v.raw.trimRight();let k=v.items.length;for(u=0;u"space"===n.type),T=A.length>0&&A.some(n=>/\n.*\n/.test(n.raw));v.loose=T}if(v.loose)for(u=0;u$/,"$1").replace(this.rules.inline._escapes,"$1"):"",s=i[3]?i[3].substring(1,i[3].length-1).replace(this.rules.inline._escapes,"$1"):i[3];return{type:"def",tag:o,raw:i[0],href:a,title:s}}}table(n){let i=this.rules.block.table.exec(n);if(i){let o={type:"table",header:e_(i[1]).map(n=>({text:n})),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:i[3]&&i[3].trim()?i[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(o.header.length===o.align.length){let a,s,l,u;o.raw=i[0];let c=o.align.length;for(a=0;a({text:n}));for(s=0,c=o.header.length;s/i.test(i[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(i[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(i[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:i[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):ec(i[0]):i[0]}}link(n){let i=this.rules.inline.link.exec(n);if(i){let o=i[2].trim();if(!this.options.pedantic&&/^$/.test(o))return;let a=ek(o.slice(0,-1),"\\");if((o.length-a.length)%2==0)return}else{let s=eA(i[2],"()");if(s>-1){let l=0===i[0].indexOf("!")?5:4,u=l+i[1].length+s;i[2]=i[2].substring(0,s),i[0]=i[0].substring(0,u).trim(),i[3]=""}}let c=i[2],d="";if(this.options.pedantic){let p=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(c);p&&(c=p[1],d=p[3])}else d=i[3]?i[3].slice(1,-1):"";return c=c.trim(),/^$/.test(o)?c.slice(1):c.slice(1,-1)),eR(i,{href:c?c.replace(this.rules.inline._escapes,"$1"):c,title:d?d.replace(this.rules.inline._escapes,"$1"):d},i[0],this.lexer)}}reflink(n,i){let o;if((o=this.rules.inline.reflink.exec(n))||(o=this.rules.inline.nolink.exec(n))){let a=(o[2]||o[1]).replace(/\s+/g," ");if(!(a=i[a.toLowerCase()])){let s=o[0].charAt(0);return{type:"text",raw:s,text:s}}return eR(o,a,o[0],this.lexer)}}emStrong(n,i,o=""){let a=this.rules.inline.emStrong.lDelim.exec(n);if(!a||a[3]&&o.match(/[\p{L}\p{N}]/u))return;let s=a[1]||a[2]||"";if(!s||s&&(""===o||this.rules.inline.punctuation.exec(o))){let l=a[0].length-1,u,c,d=l,p=0,f="*"===a[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(f.lastIndex=0,i=i.slice(-1*n.length+l);null!=(a=f.exec(i));){if(!(u=a[1]||a[2]||a[3]||a[4]||a[5]||a[6]))continue;if(c=u.length,a[3]||a[4]){d+=c;continue}if((a[5]||a[6])&&l%3&&!((l+c)%3)){p+=c;continue}if((d-=c)>0)continue;c=Math.min(c,c+d+p);let h=n.slice(0,l+a.index+(a[0].length-u.length)+c);if(Math.min(l,c)%2){let m=h.slice(1,-1);return{type:"em",raw:h,text:m,tokens:this.lexer.inlineTokens(m)}}let g=h.slice(2,-2);return{type:"strong",raw:h,text:g,tokens:this.lexer.inlineTokens(g)}}}}codespan(n){let i=this.rules.inline.code.exec(n);if(i){let o=i[2].replace(/\n/g," "),a=/[^ ]/.test(o),s=/^ /.test(o)&&/ $/.test(o);return a&&s&&(o=o.substring(1,o.length-1)),o=ec(o,!0),{type:"codespan",raw:i[0],text:o}}}br(n){let i=this.rules.inline.br.exec(n);if(i)return{type:"br",raw:i[0]}}del(n){let i=this.rules.inline.del.exec(n);if(i)return{type:"del",raw:i[0],text:i[2],tokens:this.lexer.inlineTokens(i[2])}}autolink(n,i){let o=this.rules.inline.autolink.exec(n);if(o){let a,s;return s="@"===o[2]?"mailto:"+(a=ec(this.options.mangle?i(o[1]):o[1])):a=ec(o[1]),{type:"link",raw:o[0],text:a,href:s,tokens:[{type:"text",raw:a,text:a}]}}}url(n,i){let o;if(o=this.rules.inline.url.exec(n)){let a,s;if("@"===o[2])s="mailto:"+(a=ec(this.options.mangle?i(o[0]):o[0]));else{let l;do l=o[0],o[0]=this.rules.inline._backpedal.exec(o[0])[0];while(l!==o[0]);a=ec(o[0]),s="www."===o[1]?"http://"+o[0]:o[0]}return{type:"link",raw:o[0],text:a,href:s,tokens:[{type:"text",raw:a,text:a}]}}}inlineText(n,i){let o=this.rules.inline.text.exec(n);if(o){let a;return a=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):ec(o[0]):o[0]:ec(this.options.smartypants?i(o[0]):o[0]),{type:"text",raw:o[0],text:a}}}}let eI={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:ex,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};eI._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,eI._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,eI.def=eh(eI.def).replace("label",eI._label).replace("title",eI._title).getRegex(),eI.bullet=/(?:[*+-]|\d{1,9}[.)])/,eI.listItemStart=eh(/^( *)(bull) */).replace("bull",eI.bullet).getRegex(),eI.list=eh(eI.list).replace(/bull/g,eI.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+eI.def.source+")").getRegex(),eI._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",eI._comment=/|$)/,eI.html=eh(eI.html,"i").replace("comment",eI._comment).replace("tag",eI._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),eI.paragraph=eh(eI._paragraph).replace("hr",eI.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",eI._tag).getRegex(),eI.blockquote=eh(eI.blockquote).replace("paragraph",eI.paragraph).getRegex(),eI.normal={...eI},eI.gfm={...eI.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},eI.gfm.table=eh(eI.gfm.table).replace("hr",eI.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",eI._tag).getRegex(),eI.gfm.paragraph=eh(eI._paragraph).replace("hr",eI.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",eI.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",eI._tag).getRegex(),eI.pedantic={...eI.normal,html:eh("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",eI._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:ex,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:eh(eI.normal._paragraph).replace("hr",eI.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",eI.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};let eN={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:ex,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:ex,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(a="x"+a.toString(16)),i+="&#"+a+";";return i}eN._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",eN.punctuation=eh(eN.punctuation).replace(/punctuation/g,eN._punctuation).getRegex(),eN.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,eN.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,eN._comment=eh(eI._comment).replace("(?:-->|$)","-->").getRegex(),eN.emStrong.lDelim=eh(eN.emStrong.lDelim).replace(/punct/g,eN._punctuation).getRegex(),eN.emStrong.rDelimAst=eh(eN.emStrong.rDelimAst,"g").replace(/punct/g,eN._punctuation).getRegex(),eN.emStrong.rDelimUnd=eh(eN.emStrong.rDelimUnd,"g").replace(/punct/g,eN._punctuation).getRegex(),eN._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,eN._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,eN._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,eN.autolink=eh(eN.autolink).replace("scheme",eN._scheme).replace("email",eN._email).getRegex(),eN._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,eN.tag=eh(eN.tag).replace("comment",eN._comment).replace("attribute",eN._attribute).getRegex(),eN._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,eN._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,eN._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,eN.link=eh(eN.link).replace("label",eN._label).replace("href",eN._href).replace("title",eN._title).getRegex(),eN.reflink=eh(eN.reflink).replace("label",eN._label).replace("ref",eI._label).getRegex(),eN.nolink=eh(eN.nolink).replace("ref",eI._label).getRegex(),eN.reflinkSearch=eh(eN.reflinkSearch,"g").replace("reflink",eN.reflink).replace("nolink",eN.nolink).getRegex(),eN.normal={...eN},eN.pedantic={...eN.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:eh(/^!?\[(label)\]\((.*?)\)/).replace("label",eN._label).getRegex(),reflink:eh(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",eN._label).getRegex()},eN.gfm={...eN.normal,escape:eh(eN.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\i+" ".repeat(o.length));n;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>!!(o=a.call({lexer:this},n,i))&&(n=n.substring(o.raw.length),i.push(o),!0)))){if(o=this.tokenizer.space(n)){n=n.substring(o.raw.length),1===o.raw.length&&i.length>0?i[i.length-1].raw+="\n":i.push(o);continue}if(o=this.tokenizer.code(n)){n=n.substring(o.raw.length),(a=i[i.length-1])&&("paragraph"===a.type||"text"===a.type)?(a.raw+="\n"+o.raw,a.text+="\n"+o.text,this.inlineQueue[this.inlineQueue.length-1].src=a.text):i.push(o);continue}if((o=this.tokenizer.fences(n))||(o=this.tokenizer.heading(n))||(o=this.tokenizer.hr(n))||(o=this.tokenizer.blockquote(n))||(o=this.tokenizer.list(n))||(o=this.tokenizer.html(n))){n=n.substring(o.raw.length),i.push(o);continue}if(o=this.tokenizer.def(n)){n=n.substring(o.raw.length),(a=i[i.length-1])&&("paragraph"===a.type||"text"===a.type)?(a.raw+="\n"+o.raw,a.text+="\n"+o.raw,this.inlineQueue[this.inlineQueue.length-1].src=a.text):this.tokens.links[o.tag]||(this.tokens.links[o.tag]={href:o.href,title:o.title});continue}if((o=this.tokenizer.table(n))||(o=this.tokenizer.lheading(n))){n=n.substring(o.raw.length),i.push(o);continue}if(s=n,this.options.extensions&&this.options.extensions.startBlock){let u,c=1/0,d=n.slice(1);this.options.extensions.startBlock.forEach(function(n){"number"==typeof(u=n.call({lexer:this},d))&&u>=0&&(c=Math.min(c,u))}),c<1/0&&c>=0&&(s=n.substring(0,c+1))}if(this.state.top&&(o=this.tokenizer.paragraph(s))){a=i[i.length-1],l&&"paragraph"===a.type?(a.raw+="\n"+o.raw,a.text+="\n"+o.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=a.text):i.push(o),l=s.length!==n.length,n=n.substring(o.raw.length);continue}if(o=this.tokenizer.text(n)){n=n.substring(o.raw.length),(a=i[i.length-1])&&"text"===a.type?(a.raw+="\n"+o.raw,a.text+="\n"+o.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=a.text):i.push(o);continue}if(n){let p="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(p);break}throw Error(p)}}return this.state.top=!0,i}inline(n,i=[]){return this.inlineQueue.push({src:n,tokens:i}),i}inlineTokens(n,i=[]){let o,a,s,l,u,c;let d=n;if(this.tokens.links){let p=Object.keys(this.tokens.links);if(p.length>0)for(;null!=(l=this.tokenizer.rules.inline.reflinkSearch.exec(d));)p.includes(l[0].slice(l[0].lastIndexOf("[")+1,-1))&&(d=d.slice(0,l.index)+"["+eC("a",l[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(l=this.tokenizer.rules.inline.blockSkip.exec(d));)d=d.slice(0,l.index)+"["+eC("a",l[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(l=this.tokenizer.rules.inline.escapedEmSt.exec(d));)d=d.slice(0,l.index+l[0].length-2)+"++"+d.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;n;)if(u||(c=""),u=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(a=>!!(o=a.call({lexer:this},n,i))&&(n=n.substring(o.raw.length),i.push(o),!0)))){if(o=this.tokenizer.escape(n)){n=n.substring(o.raw.length),i.push(o);continue}if(o=this.tokenizer.tag(n)){n=n.substring(o.raw.length),(a=i[i.length-1])&&"text"===o.type&&"text"===a.type?(a.raw+=o.raw,a.text+=o.text):i.push(o);continue}if(o=this.tokenizer.link(n)){n=n.substring(o.raw.length),i.push(o);continue}if(o=this.tokenizer.reflink(n,this.tokens.links)){n=n.substring(o.raw.length),(a=i[i.length-1])&&"text"===o.type&&"text"===a.type?(a.raw+=o.raw,a.text+=o.text):i.push(o);continue}if((o=this.tokenizer.emStrong(n,d,c))||(o=this.tokenizer.codespan(n))||(o=this.tokenizer.br(n))||(o=this.tokenizer.del(n))||(o=this.tokenizer.autolink(n,eL))||!this.state.inLink&&(o=this.tokenizer.url(n,eL))){n=n.substring(o.raw.length),i.push(o);continue}if(s=n,this.options.extensions&&this.options.extensions.startInline){let f,h=1/0,m=n.slice(1);this.options.extensions.startInline.forEach(function(n){"number"==typeof(f=n.call({lexer:this},m))&&f>=0&&(h=Math.min(h,f))}),h<1/0&&h>=0&&(s=n.substring(0,h+1))}if(o=this.tokenizer.inlineText(s,eM)){n=n.substring(o.raw.length),"_"!==o.raw.slice(-1)&&(c=o.raw.slice(-1)),u=!0,(a=i[i.length-1])&&"text"===a.type?(a.raw+=o.raw,a.text+=o.text):i.push(o);continue}if(n){let g="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(g);break}throw Error(g)}}return i}}class eF{constructor(n){this.options=n||en}code(n,i,o){let a=(i||"").match(/\S*/)[0];if(this.options.highlight){let s=this.options.highlight(n,a);null!=s&&s!==n&&(o=!0,n=s)}return(n=n.replace(/\n$/,"")+"\n",a)?'
'+(o?n:ec(n,!0))+"
\n":"
"+(o?n:ec(n,!0))+"
\n"}blockquote(n){return`
+`:"";return`${a}${s}For more information visit ${eu}#${n.toLowerCase()}`}var ef=class extends a.BaseError{constructor({code:n,message:i,disableLogging:o=!1}={}){let a=ed(n)?n:s.mA.CUSTOM;super(ep(a,i)),this.errorCode=a,this.url=`${eu}#${a.toLowerCase()}`,o||console.error(this.message)}static create(n={}){return new ef(n)}};function eh(n,i){if(!n)throw ef.create(i)}function em(n){if("object"!=typeof n||null===n)return n;let i=Symbol.toStringTag in n&&"Module"===n[Symbol.toStringTag]?n.default??n:n;return i&&"object"==typeof n&&"__esModule"in i&&i.__esModule&&void 0!==i.default?i.default:i}function eg(n,i={}){return n}},27398:function(n,i,o){"use strict";o.d(i,{Q2:function(){return V},PZ:function(){return I},V1:function(){return W},EP:function(){return eI},NZ:function(){return k},as:function(){return tn},hK:function(){return P},JB:function(){return F},Kk:function(){return L},Tr:function(){return B},EM:function(){return H},qh:function(){return tr},QC:function(){return eE},Lp:function(){return eT},JN:function(){return em},Me:function(){return eN},IH:function(){return ey},FI:function(){return eA},jo:function(){return J},JM:function(){return ek},Jv:function(){return e7},C2:function(){return A},b0:function(){return eD},yZ:function(){return j},OC:function(){return ez},d7:function(){return ea},xN:function(){return eg},$q:function(){return ep},mV:function(){return C},jd:function(){return R},mp:function(){return eb},OA:function(){return eW},pI:function(){return Z},yw:function(){return ed},Ig:function(){return $},$9:function(){return O},EG:function(){return ec},mt:function(){return en},K_:function(){return er},PH:function(){return et},gf:function(){return Y},Ab:function(){return z},GK:function(){return eY},sg:function(){return eK},Q$:function(){return D},hT:function(){return eo},X3:function(){return eH},Cf:function(){return ti},bk:function(){return q},x2:function(){return to},Kh:function(){return e$},TY:function(){return ta},Em:function(){return eU},P9:function(){return e6},aS:function(){return N},IY:function(){return M},lp:function(){return e5},uJ:function(){return e0},yL:function(){return T},zU:function(){return e1},bm:function(){return eQ},dy:function(){return eZ},ym:function(){return eJ}});var a=o(378),s=o(57555),l=o(2376),u=o(16560),c=/[A-Z]/g,d=/^ms-/,p={};function f(n){return"-"+n.toLowerCase()}var h=function(n){if(p.hasOwnProperty(n))return p[n];var i=n.replace(c,f);return p[n]=d.test(i)?"-"+i:i};function m(n){return h(n)}function g(n,i){return m(n)+":"+i}function b(n){var i="";for(var o in n){var a=n[o];("string"==typeof a||"number"==typeof a)&&(i&&(i+=";"),i+=g(o,a))}return i}function y(){return"undefined"!=typeof document?document:null}var v=o(47650),w=o(12806);o(1161);var E=o(48776),S=o(36912),x=o(84799),_=o(34155),k={get isBrowser(){return!!("undefined"!=typeof window&&void 0!==window.document&&window.navigator&&window.navigator.userAgent)},get isJSDOM(){return k.isBrowser&&window.navigator.userAgent.includes("jsdom")},get isNode(){return void 0!==_&&null!=_.versions&&null!=_.versions.node},get isIos(){return k.isBrowser&&/iPod|iPhone|iPad/.test(navigator.platform)},get isMac(){return k.isBrowser&&/Mac|iPod|iPhone|iPad/.test(navigator.platform)},get isApple(){return k.isNode?"darwin"===_.platform:!!k.isBrowser&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform)},get isDevelopment(){return!1},get isTest(){return!1},get isProduction(){return!0}};function A(n,i){var o;let a=eL(n);return(null==(o=null==a?void 0:a.getComputedStyle(n))?void 0:o.getPropertyValue(i))??""}function T(n,i){return Object.assign(n.style,i)}function C(n){return(0,s.Kn)(n)&&(0,s.hj)(n.nodeType)&&(0,s.HD)(n.nodeName)}function R(n){return C(n)&&1===n.nodeType}function D(n){return C(n)&&3===n.nodeType}function O(n){let{types:i,node:o}=n;if(!o)return!1;let a=n=>n===o.type||n===o.type.name;return(0,s.kJ)(i)?i.some(a):a(i)}function I(n,i){let{tr:o}=i;return n.forEach(n=>{n.steps.forEach(n=>{o.step(n)})}),o}function N({pos:n,tr:i}){let o=i.doc.nodeAt(n);return o&&i.delete(n,n+o.nodeSize),i}function M({pos:n,tr:i,content:o}){let a=i.doc.nodeAt(n);return a&&i.replaceWith(n,n+a.nodeSize,o),i}function L(n){let{predicate:i,selection:o}=n,a=ei(o)?o.selection.$from:es(o)?o.$from:o;for(let s=a.depth;s>0;s--){let l=a.node(s),u=s>0?a.before(s):0,c=a.start(s),d=u+l.nodeSize;if(i(l,u))return{pos:u,depth:s,node:l,start:c,end:d}}}function P(n){let{depth:i}=n,o=i>0?n.before(i):0,a=n.node(i),s=n.start(i),l=o+a.nodeSize;return{pos:o,start:s,node:a,end:l,depth:i}}function F(n){let i=L({predicate:()=>!0,selection:n});return(0,s.kG)(i,{message:"No parent node found for the selection provided."}),i}function B(n){let{types:i,selection:o}=n;return L({predicate:n=>O({types:i,node:n}),selection:o})}function U(n){let{types:i,selection:o}=n;if(ec(o)&&O({types:i,node:o.node}))return{pos:o.$from.pos,depth:o.$from.depth,start:o.$from.start(),end:o.$from.pos+o.node.nodeSize,node:o.node}}function z(n){return es(n)?n.empty:n.selection.empty}function j(n){return n.docChanged||n.selectionSet}function $(n){return!!H(n)}function H(n){let{state:i,type:o,attrs:l}=n,{selection:u,doc:c}=i,d=(0,s.HD)(o)?c.type.schema.nodes[o]:o;(0,s.kG)(d,{code:a.mA.SCHEMA,message:`No node exists for ${o}`});let p=U({selection:u,types:o})??L({predicate:n=>n.type===d,selection:u});return!l||(0,s.Qr)(l)||!p?p:p.node.hasMarkup(d,{...p.node.attrs,...l})?p:void 0}function V(...n){return i=>{if(!(0,s.Of)(n))return!1;let[o,...a]=n,l=!1,u=(...n)=>()=>{if(!(0,s.Of)(n))return!1;l=!0;let[,...o]=n;return V(...n)({...i,next:u(...o)})},c=u(...a),d=o({...i,next:c});return l||d?d:c()}}function G(n,i){let o=new Map,a=(0,s.Ry)();for(let l of n)for(let[u,c]of(0,s.qh)(l)){let d=o.get(u)??[],p=[...d,c],f=V(...p);o.set(u,p),a[u]=i(f)}return a}function q(n){return G(n,n=>(i,o,a)=>n({state:i,dispatch:o,view:a,tr:i.tr,next:()=>!1}))}function W(n,i){let o=n.attrs??{};return Object.entries(i).every(([n,i])=>o[n]===i)}function K(n){return ev(n,[u.WJ,u.FC,u.Pu,u.xu])}function Y(n){return(0,s.Kn)(n)}function Z(n,i){return(0,s.kJ)(i)?(0,s.q9)(i,n[a.By]):i===n[a.By]}function X(n){return(0,s.Kn)(n)&&n instanceof w.Jq}function J(n,i){return(0,s.HD)(n)?(0,s.fp)(i.nodes,n):n}function Q(n){return(0,s.Kn)(n)&&n instanceof w.ZU}function ee(n,i){return(0,s.HD)(n)?(0,s.fp)(i.marks,n):n}function et(n){return(0,s.Kn)(n)&&n instanceof w.NB}function en(n){return(0,s.Kn)(n)&&n instanceof w.HY}function er(n){return(0,s.Kn)(n)&&n instanceof w.vc}function ei(n){return(0,s.Kn)(n)&&n instanceof l.yy}function eo(n){return(0,s.Kn)(n)&&n instanceof l.Bs}function ea(n){return(0,s.Kn)(n)&&n instanceof l.C1}function es(n){return(0,s.Kn)(n)&&n instanceof l.Y1}function el(n){return(0,s.Kn)(n)&&n instanceof w.ZQ}function eu(n){let{trState:i,from:o,to:a,type:s,attrs:l={}}=n,{doc:u}=i,c=ee(s,u.type.schema);if(0===Object.keys(l).length)return u.rangeHasMark(o,a,c);let d=!1;return a>o&&u.nodesBetween(o,a,n=>{if(d)return!1;let i=n.marks??[];return!(d=i.some(n=>n.type===c&&W(n,l)))}),d}function ec(n){return(0,s.Kn)(n)&&n instanceof l.qv}function ed(n){let{trState:i,type:o,attrs:l={},from:u,to:c}=n,{selection:d,doc:p,storedMarks:f}=i,h=(0,s.HD)(o)?p.type.schema.marks[o]:o;if((0,s.kG)(h,{code:a.mA.SCHEMA,message:`Mark type: ${o} does not exist on the current schema.`}),u&&c)try{return Math.max(u,c)n.type===o&&W(n,l??{}))}return eu({...n,from:d.from,to:d.to})}function ep(n,i={}){let o=eh(n.type.schema);if(!o)return!1;let{ignoreAttributes:a,ignoreDocAttributes:s}=i;return a?ef(o,n):s?o.content.eq(n.content):o.eq(n)}function ef(n,i){if(n===i)return!0;let o=n.type===i.type&&w.vc.sameSet(n.marks,i.marks);function a(){if(n.content===i.content)return!0;if(n.content.size!==i.content.size)return!1;let o=[],a=[];for(let[s,l]of(n.content.forEach(n=>o.push(n)),i.content.forEach(n=>a.push(n)),o.entries())){let u=a[s];if(!u||!ef(l,u))return!1}return!0}return o&&a()}function eh(n){var i;return(null==(i=n.nodes.doc)?void 0:i.createAndFill())??void 0}function em(n){for(let i of Object.values(n.nodes))if("doc"!==i.name&&(i.isBlock||i.isTextblock))return i;(0,s.kG)(!1,{code:a.mA.SCHEMA,message:"No default block node found for the provided schema."})}function eg(n){return n.type===em(n.type.schema)}function eb(n){return!!n&&n.type.isBlock&&!n.textContent&&!n.childCount}function ey(n,i,o){let l=n.parent.childAfter(n.parentOffset);if(!l.node)return;let u=(0,s.HD)(i)?i:i.name,c=l.node.marks.find(({type:n})=>n.name===u),d=n.index(),p=n.start()+l.offset,f=d+1,h=p+l.node.nodeSize;if(!c)return o&&h0&&c.isInSet(n.parent.child(d-1).marks);)d-=1,p-=n.parent.child(d).nodeSize;for(;fn instanceof i)}function ew(n){let i=(0,s.uw)(n,({from:n,to:i,prevFrom:o,prevTo:a})=>`${n}_${i}_${o}_${a}`);return i.filter((n,i,o)=>!o.some((o,a)=>i!==a&&n.prevFrom>=o.prevFrom&&n.prevTo<=o.prevTo&&n.from>=o.from&&n.to<=o.to))}function eE(n,i=[]){let o=[],{steps:a,mapping:l}=n,u=l.invert();a.forEach((n,a)=>{if(!ev(n,i))return;let s=[],c=n.getMap(),d=l.slice(a);if(0===c.ranges.length&&K(n)){let{from:p,to:f}=n;s.push({from:p,to:f})}else c.forEach((n,i)=>{s.push({from:n,to:i})});s.forEach(n=>{let i=d.map(n.from,-1),a=d.map(n.to);o.push({from:i,to:a,prevFrom:u.map(i,-1),prevTo:u.map(a)})})});let c=(0,s.DY)(o,(n,i)=>n.from-i.from);return ew(c)}function eS(n,i){let o=[],a=eE(n,i);for(let s of a)try{let l=n.doc.resolve(s.from),u=n.doc.resolve(s.to),c=l.blockRange(u);c&&o.push(c)}catch{}return o}function ex(n){var i;return(null==(i=n.content.firstChild)?void 0:i.textContent)??""}function e_(n,i){if(!eo(n.selection))return;let{from:o,to:s}=n.selection,u=(i,o)=>ex(l.Bs.between(n.doc.resolve(i),n.doc.resolve(o)).content());for(let c=u(o-1,o);c&&!i.test(c);c=u(--o-1,o));for(let d=u(s,s+1);d&&!i.test(d);d=u(++s,s+1));if(o===s)return;let p=n.doc.textBetween(o,s,a.Z9,"\n\n");return{from:o,to:s,text:p}}function ek(n){return e_(n,/\W/)}function eA(n,i=0){let o=(0,s.kJ)(n)?n[i]:n;return(0,s.hu)((0,s.HD)(o),`No match string found for match ${n}`),o??""}function eT(n){return eo(n)?n.$cursor:void 0}function eC(n,i){return!!et(n)&&(i?n.type===i.nodes.doc:"doc"===n.type.name)}function eR(n){return(0,s.Kn)(n)&&(0,s.hj)(n.anchor)&&(0,s.hj)(n.head)}function eD(n,i){let o;let a=i.nodeSize-2,u=0,c=n=>(0,s.uZ)({min:u,max:a,value:n});if(es(n))return n;if("all"===n)return new l.C1(i);if(o="start"===n?u:"end"===n?a:el(n)?n.pos:n,(0,s.hj)(o))return o=c(o),l.Bs.near(i.resolve(o));if(eR(o)){let d=c(o.anchor),p=c(o.head);return l.Bs.between(i.resolve(d),i.resolve(p))}let f=c(o.from),h=c(o.to);return l.Bs.between(i.resolve(f),i.resolve(h))}var eO=3;function eI(n){let{content:i,schema:o,document:l,stringHandler:u,onError:c,attempts:d=0}=n,p=c&&d<=eO||0===d;if((0,s.kG)(p,{code:a.mA.INVALID_CONTENT,message:"The invalid content has been called recursively more than ${MAX_ATTEMPTS} times. The content is invalid and the error handler has not been able to recover properly."}),(0,s.HD)(i)){(0,s.kG)(u,{code:a.mA.INVALID_CONTENT,message:`The string '${i}' was added to the editor, but no \`stringHandler\` was added. Please provide a valid string handler which transforms your content to a \`ProsemirrorNode\` to prevent this error.`});let f={document:l,content:i,schema:o};return u(f)}if(ei(i))return i.doc;if(et(i))return i;try{return o.nodeFromJSON(i)}catch(g){let h=eG({schema:o,error:g,json:i}),m=null==c?void 0:c(h);return(0,s.kG)(m,{code:a.mA.INVALID_CONTENT,message:`An error occurred when processing the content. Please provide an \`onError\` handler to process the invalid content: ${JSON.stringify(h.invalidContent,null,2)}`}),eI({...n,content:m,attempts:d+1})}}function eN(){let n=y();if(n)return n;throw Error("Unable to retrieve the document from the global scope. \nIt seems that you are running Remirror in a non-browser environment. Remirror need browser APIs to work. \nIf you are using Jest (or other testing frameworks), make sure that you are using the JSDOM environment (https://jestjs.io/docs/29.0/configuration#testenvironment-string). \nIf you are using Next.js (or other server-side rendering frameworks), please use dynamic import with `ssr: false` to load the editor component without rendering it on the server (https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr). \nIf you are using Node.js, you can install JSDOM and Remirror will try to use it automatically, or you can create a fake document and pass it to Remirror")}function eM(n){var i;return(null==n?void 0:n.defaultView)??("undefined"!=typeof window?window:void 0)??(null==(i=y())?void 0:i.defaultView)}function eL(n){return eM(null==n?void 0:n.ownerDocument)}function eP(n){let i=eM(n)??eN().defaultView;if(i)return i;throw Error("Unable to retrieve the window from the global scope")}function eF(n,i=eN()){let o=eC(n,n.type.schema)?n.content:w.HY.from(n);return w.PW.fromSchema(n.type.schema).serializeFragment(o,{document:i})}function eB(n,i){let o=new(eP(i)).DOMParser;return o.parseFromString(`${n}`,"text/html").body}function eU(n,i=eN()){let o=i.createElement("div");return o.append(eF(n,i)),o.innerHTML}function ez(n){let{content:i,schema:o,document:a,fragment:s=!1,...l}=n,u=eB(i,a),c=w.aw.fromSchema(o);return s?c.parseSlice(u,{...ej,...l}).content:c.parse(u,{...ej,...l})}var ej={preserveWhitespace:!1};function e$(n,i){let o=(0,s.XP)(i.defaults());return v({...n},o)}function eH(n,i){let o="";i&&(o=`${i.trim()}`);let a=b(n);if(!a)return o;let s=(o.endsWith(";")," ");return`${o}${s}${a}`}var eV={remove(n,i){let o=n;for(let a of i)a.invalidParentNode||(o=(0,s.zN)(a.path,o));return o}};function eG({json:n,schema:i,...o}){let a=new Set((0,s.XP)(i.marks)),l=new Set((0,s.XP)(i.nodes)),u=eq({json:n,path:[],validNodes:l,validMarks:a});return{json:n,invalidContent:u,transformers:eV,...o}}function eq(n){let{json:i,validMarks:o,validNodes:a,path:l=[]}=n,u={validMarks:o,validNodes:a},c=[],{type:d,marks:p,content:f}=i,{invalidParentMark:h=!1,invalidParentNode:m=!1}=n;if(p){let g=[];for(let[b,y]of p.entries()){let v=(0,s.HD)(y)?y:y.type;o.has(v)||(g.unshift({name:v,path:[...l,"marks",`${b}`],type:"mark",invalidParentMark:h,invalidParentNode:m}),h=!0)}c.push(...g)}if(a.has(d)||(c.push({name:d,type:"node",path:l,invalidParentMark:h,invalidParentNode:m}),m=!0),f){let w=[];for(let[E,S]of f.entries())w.unshift(...eq({...u,json:S,path:[...l,"content",`${E}`],invalidParentMark:h,invalidParentNode:m}));c.unshift(...w)}return c}function eW(n){return!!(eo(n)&&n.$cursor&&n.$cursor.parentOffset>=n.$cursor.parent.content.size)}function eK(n){return!!(eo(n)&&n.$cursor&&n.$cursor.parentOffset<=0)}function eY(n){let i=l.Y1.atStart(n.$anchor.doc);return!!(eK(n)&&i.anchor===n.anchor)}function eZ(n){return({dispatch:i,tr:o})=>{let{type:a,attrs:u=(0,s.Ry)(),appendText:c,range:d}=n,p=d?l.Bs.between(o.doc.resolve(d.from),o.doc.resolve(d.to)):o.selection,{$from:f,from:h,to:m}=p,g=0===f.depth&&o.doc.type.allowsMarkType(a);return o.doc.nodesBetween(h,m,n=>{if(g)return!1;n.inlineContent&&n.type.allowsMarkType(a)&&(g=!0)}),!!g&&(null==i||i(o.addMark(h,m,a.create(u))&&c?o.insertText(c):o),!0)}}function eX({tr:n,dispatch:i}){let{$from:o,$to:a}=n.selection,l=o.blockRange(a),c=l&&(0,u.k9)(l);return!!(0,s.hj)(c)&&!!l&&(null==i||i(n.lift(l,c).scrollIntoView()),!0)}function eJ(n,i={},o){return function(a){let{tr:l,dispatch:c,state:d}=a,p=(0,s.HD)(n)?(0,s.fp)(d.schema.nodes,n):n,{from:f,to:h}=eD(o??l.selection,l.doc),m=l.doc.resolve(f),g=l.doc.resolve(h),b=m.blockRange(g),y=b&&(0,u.nd)(b,p,i);return!!y&&!!b&&(null==c||c(l.wrap(b,y).scrollIntoView()),!0)}}function eQ(n,i={},o){return a=>{let{tr:l,state:u}=a,c=(0,s.HD)(n)?(0,s.fp)(u.schema.nodes,n):n,d=H({state:l,type:c,attrs:i});return d?eX(a):eJ(n,i,o)(a)}}function e0(n,i,o,a=!0){return function(l){let u;let{tr:c,dispatch:d,state:p}=l,f=(0,s.HD)(n)?(0,s.fp)(p.schema.nodes,n):n,{from:h,to:m}=eD(o??c.selection,c.doc),g=!1;return c.doc.nodesBetween(h,m,(n,o)=>{if(g)return!1;if(!n.isTextblock||n.hasMarkup(f,i))return;if(n.type===f){g=!0,u=n.attrs;return}let a=c.doc.resolve(o),s=a.index();(g=a.parent.canReplaceWith(s,s+1,f))&&(u=a.parent.attrs)}),!!g&&(null==d||d(c.setBlockType(h,m,f,{...a?u:{},...i}).scrollIntoView()),!0)}}function e1(n){return i=>{let{tr:o,state:a}=i,{type:s,attrs:l,preserveAttrs:u=!0}=n,c=H({state:o,type:s,attrs:l}),d=n.toggleType??em(a.schema);if(c)return e0(d,{...u?c.node.attrs:{},...l})(i);let p=H({state:o,type:d,attrs:l});return e0(s,{...u?null==p?void 0:p.node.attrs:{},...l})(i)}}function e2(n=0){let i=navigator.userAgent.match(/Chrom(e|ium)\/(\d+)\./);return!!i&&Number.parseInt((0,s.fp)(i,2),10)>=n}function e3(n,i){let{head:o,empty:a,anchor:s}=n;for(let u of i.steps){let c=u.getMap();o=c.map(o)}a?i.setSelection(l.Bs.near(i.doc.resolve(o))):i.setSelection(l.Bs.between(i.doc.resolve(s),i.doc.resolve(o)))}function e5(n){let{attrs:i={},appendText:o="",content:l="",keepSelection:u=!1,range:c}=n;return({state:d,tr:p,dispatch:f})=>{var h;let m=d.schema,g=eD(n.selection??c??p.selection,p.doc),b=g.$from.index(),{from:y,to:v,$from:w}=g,E=(0,s.HD)(n.type)?m.nodes[n.type]??m.marks[n.type]:n.type;if((0,s.kG)(!(0,s.HD)(n.type)||E,{code:a.mA.SCHEMA,message:`Schema contains no marks or nodes with name ${E}`}),X(E)){if(!w.parent.canReplaceWith(b,b,E))return!1;p.replaceWith(y,v,E.create(i,l?m.text(l):void 0))}else(0,s.kG)(l,{message:"`replaceText` cannot be called without content when using a mark type"}),p.replaceWith(y,v,m.text(l,Q(E)?[E.create(i)]:void 0));return o&&p.insertText(o),u&&e3(d.selection,p),f&&(e2(60)&&(null==(h=document.getSelection())||h.empty()),f(p)),!0}}function e4(n,i){let o=n.parent.childAfter(n.parentOffset);if(!o.node)return;let{marks:a,nodeSize:s}=o.node;if(a[0])return a[0].type;let l=n.start()+o.offset,u=l+s;return e4(n.doc.resolve(u+1),i)}function e6(n){return({dispatch:i,tr:o,state:l})=>{let{type:u,expand:c=!0,range:d}=n,p=eD(n.selection??d??o.selection,o.doc),{from:f,to:h,$from:m,$to:g}=p,b=(0,s.HD)(u)?l.schema.marks[u]:u;null!==b&&(0,s.kG)(b,{code:a.mA.SCHEMA,message:`Mark type: ${u} does not exist on the current schema.`});let y=b??e4(m);if(!y)return!1;let v=ey(m,y,g);return c&&v&&(f=Math.max(0,Math.min(f,v.from)),h=Math.min(Math.max(h,v.to),o.doc.nodeSize-2)),null==i||i(o.removeMark(f,(0,s.hj)(h)?h:f,Q(b)?b:void 0)),!0}}function e8(n){let i=["command","cmd","meta"];return k.isMac&&i.push("mod"),i.includes(n)}function e9(n){let i=["control","ctrl"];return k.isMac||i.push("mod"),i.includes(n)}function e7(n){let i=[];for(let o of n.split("-")){if(e8(o=o.toLowerCase())){i.push({type:"modifier",symbol:"⌘",key:"command",i18n:E.LS.COMMAND_KEY});continue}if(e9(o)){i.push({type:"modifier",symbol:"⌃",key:"control",i18n:E.LS.CONTROL_KEY});continue}switch(o){case"shift":i.push({type:"modifier",symbol:"⇧",key:o,i18n:E.LS.SHIFT_KEY});continue;case"alt":i.push({type:"modifier",symbol:"⌥",key:o,i18n:E.LS.ALT_KEY});continue;case"\n":case"\r":case"enter":i.push({type:"named",symbol:"↵",key:o,i18n:E.LS.ENTER_KEY});continue;case"backspace":i.push({type:"named",symbol:"⌫",key:o,i18n:E.LS.BACKSPACE_KEY});continue;case"delete":i.push({type:"named",symbol:"⌦",key:o,i18n:E.LS.DELETE_KEY});continue;case"escape":i.push({type:"named",symbol:"␛",key:o,i18n:E.LS.ESCAPE_KEY});continue;case"tab":i.push({type:"named",symbol:"⇥",key:o,i18n:E.LS.TAB_KEY});continue;case"capslock":i.push({type:"named",symbol:"⇪",key:o,i18n:E.LS.CAPS_LOCK_KEY});continue;case"space":i.push({type:"named",symbol:"␣",key:o,i18n:E.LS.SPACE_KEY});continue;case"pageup":i.push({type:"named",symbol:"⤒",key:o,i18n:E.LS.PAGE_UP_KEY});continue;case"pagedown":i.push({type:"named",symbol:"⤓",key:o,i18n:E.LS.PAGE_DOWN_KEY});continue;case"home":i.push({type:"named",key:o,i18n:E.LS.HOME_KEY});continue;case"end":i.push({type:"named",key:o,i18n:E.LS.END_KEY});continue;case"arrowleft":i.push({type:"named",symbol:"←",key:o,i18n:E.LS.ARROW_LEFT_KEY});continue;case"arrowright":i.push({type:"named",symbol:"→",key:o,i18n:E.LS.ARROW_RIGHT_KEY});continue;case"arrowup":i.push({type:"named",symbol:"→",key:o,i18n:E.LS.ARROW_UP_KEY});continue;case"arrowdown":i.push({type:"named",symbol:"↓",key:o,i18n:E.LS.ARROW_DOWN_KEY});continue;default:i.push({type:"char",key:o});continue}}return i}function te(n){let{node:i,predicate:o,descend:l=!0,action:u}=n;(0,s.kG)(et(i),{code:a.mA.INTERNAL,message:'Invalid "node" parameter passed to "findChildren".'}),(0,s.kG)((0,s.mf)(o),{code:a.mA.INTERNAL,message:'Invalid "predicate" parameter passed to "findChildren".'});let c=[];return i.descendants((n,i)=>{let a={node:n,pos:i},s=o(a);return s&&(c.push(a),null==u||u(a)),l}),c}function tt({predicate:n}){return i=>te({...i,predicate:n})}function tn(n){let{type:i,...o}=n;return te({...o,predicate:n=>n.node.type===i})}function tr(n,i={}){let{descend:o=!1,predicate:a,StepTypes:s}=i,l=eS(n,s),u=[];for(let c of l){let{start:d,end:p}=c;n.doc.nodesBetween(d,p,(n,i)=>{let s=(null==a?void 0:a(n,i,c))??!0;return s&&u.push({node:n,pos:i}),o})}return u}function ti(n){let i;let{regexp:o,type:l,getAttributes:u,ignoreWhitespace:c=!1,beforeDispatch:d,updateCaptured:p,shouldSkip:f,invalidMarks:h}=n,m=new S.VK(o,(n,o,g,b)=>{let{tr:y,schema:v}=n;i||(i=(0,s.HD)(l)?v.marks[l]:l,(0,s.kG)(i,{code:a.mA.SCHEMA,message:`Mark type: ${l} does not exist on the current schema.`}));let w=o[1],E=o[0],S=ts({captureGroup:w,fullMatch:E,end:b,start:g,rule:m,state:n,ignoreWhitespace:c,invalidMarks:h,shouldSkip:f,updateCaptured:p});if(!S)return null;({start:g,end:b,captureGroup:w,fullMatch:E}=S);let x=(0,s.mf)(u)?u(o):u,_=b,k=[];if(w){let A=E.search(/\S/),T=g+E.indexOf(w),C=T+w.length;k=y.storedMarks??[],Cg&&y.delete(g+A,T),_=g+A+w.length}return y.addMark(g,_,i.create(x)),y.setStoredMarks(k),null==d||d({tr:y,match:o,start:g,end:b}),y});return m}function to(n){let{regexp:i,type:o,getAttributes:l,beforeDispatch:u,shouldSkip:c,ignoreWhitespace:d=!1,updateCaptured:p,invalidMarks:f}=n,h=new S.VK(i,(n,i,m,g)=>{let b=(0,s.mf)(l)?l(i):l,{tr:y,schema:v}=n,w=(0,s.HD)(o)?v.nodes[o]:o,E=i[1],S=i[0],x=ts({captureGroup:E,fullMatch:S,end:g,start:m,rule:h,state:n,ignoreWhitespace:d,invalidMarks:f,shouldSkip:c,updateCaptured:p});if(!x)return null;({start:m,end:g,captureGroup:E,fullMatch:S}=x),(0,s.kG)(w,{code:a.mA.SCHEMA,message:`No node exists for ${o} in the schema.`});let _=w.createAndFill(b);return _&&(y.replaceRangeWith(w.isBlock?y.doc.resolve(m).before():m,g,_),null==u||u({tr:y,match:[S,E??""],start:m,end:g})),y});return h}function ta(n){let{regexp:i,transformMatch:o,beforeDispatch:a,shouldSkip:l,ignoreWhitespace:u=!1,updateCaptured:c,invalidMarks:d}=n,p=new S.VK(i,(n,i,f,h)=>{let m=o(i);if((0,s.le)(m))return null;let{tr:g,schema:b}=n,y=i[1],v=i[0],w=ts({captureGroup:y,fullMatch:v,end:h,start:f,rule:p,state:n,ignoreWhitespace:u,invalidMarks:d,shouldSkip:l,updateCaptured:c});return w?({start:f,end:h,captureGroup:y,fullMatch:v}=w,""===m?g.delete(f,h):g.replaceWith(f,h,b.text(m)),null==a||a({tr:g,match:i,start:f,end:h}),g):null});return p}function ts({captureGroup:n,fullMatch:i,end:o,start:a,rule:s,ignoreWhitespace:l,shouldSkip:u,updateCaptured:c,state:d,invalidMarks:p}){var f;if(null==i)return null;let h=(null==c?void 0:c({captureGroup:n,fullMatch:i,start:a,end:o}))??{};n=h.captureGroup??n,i=h.fullMatch??i,a=h.start??a,o=h.end??o;let m=d.doc.resolve(a),g=d.doc.resolve(o);return p&&(0,x.j4)({$from:m,$to:g},p)||s.invalidMarks&&(0,x.j4)({$from:m,$to:g},s.invalidMarks)||l&&(null==n?void 0:n.trim())===""||(null==u?void 0:u({state:d,captureGroup:n,fullMatch:i,start:a,end:o,ruleType:"mark"}))||(null==(f=s.shouldSkip)?void 0:f.call(s,{state:d,captureGroup:n,fullMatch:i,start:a,end:o,ruleType:"mark"}))?null:{captureGroup:n,end:o,fullMatch:i,start:a}}tt({predicate:n=>n.node.isText}),tt({predicate:n=>n.node.isInline}),tt({predicate:n=>n.node.isBlock})},31871:function(n,i,o){"use strict";o.d(i,{z:function(){return h}});var a=o(44573),s=o(378),l=o(27398),u=o(48776),c=o(36912),d=Object.defineProperty,p=Object.getOwnPropertyDescriptor,f=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?p(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&d(i,o,l),l},h=class extends a.QR{get name(){return"blockquote"}createTags(){return[s.eX.Block,s.eX.FormattingNode]}createNodeSpec(n,i){return{content:"block+",defining:!0,draggable:!1,...i,attrs:n.defaults(),parseDOM:[{tag:"blockquote",getAttrs:n.parse,priority:100},...i.parseDOM??[]],toDOM:i=>["blockquote",n.dom(i),0]}}toggleBlockquote(){return(0,l.bm)(this.type)}shortcut(n){return this.toggleBlockquote()(n)}createInputRules(){return[(0,c.S0)(/^\s*>\s$/,this.type)]}createPasteRules(){return{type:"node",nodeType:this.type,regexp:/^\s*>\s$/,startOfTextBlock:!0}}};f([(0,a.WDe)({icon:"doubleQuotesL",description:({t:n})=>n(u.TU.DESCRIPTION),label:({t:n})=>n(u.TU.LABEL)})],h.prototype,"toggleBlockquote",1),f([(0,a.IGC)({shortcut:"Ctrl->",command:"toggleBlockquote"})],h.prototype,"shortcut",1)},56073:function(n,i,o){"use strict";o.d(i,{H:function(){return m}});var a=o(44573),s=o(378),l=o(27398),u=o(57555),c=o(48776),d=Object.defineProperty,p=Object.getOwnPropertyDescriptor,f=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?p(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&d(i,o,l),l},h={icon:"bold",label:({t:n})=>n(c.ov.LABEL),description:({t:n})=>n(c.ov.DESCRIPTION)},m=class extends a.uS7{get name(){return"bold"}createTags(){return[s.eX.FormattingMark,s.eX.FontStyle]}createMarkSpec(n,i){return{...i,attrs:n.defaults(),parseDOM:[{tag:"strong",getAttrs:n.parse},{tag:"b",getAttrs:i=>!!(0,l.jd)(i)&&"normal"!==i.style.fontWeight&&n.parse(i)},{style:"font-weight",getAttrs:n=>!!((0,u.HD)(n)&&/^(bold(er)?|[5-9]\d{2,})$/.test(n))&&null},...i.parseDOM??[]],toDOM:i=>{let{weight:o}=this.options;return o?["strong",{"font-weight":o.toString()},0]:["strong",n.dom(i),0]}}}createInputRules(){return[(0,l.Cf)({regexp:/(?:\*\*|__)([^*_]+)(?:\*\*|__)$/,type:this.type,ignoreWhitespace:!0})]}toggleBold(n){return(0,a.w9d)({type:this.type,selection:n})}setBold(n){return({tr:i,dispatch:o})=>{let{from:a,to:s}=(0,l.b0)(n??i.selection,i.doc);return null==o||o(i.addMark(a,s,this.type.create())),!0}}removeBold(n){return({tr:i,dispatch:o})=>{let{from:a,to:s}=(0,l.b0)(n??i.selection,i.doc);return!!i.doc.rangeHasMark(a,s,this.type)&&(null==o||o(i.removeMark(a,s,this.type)),!0)}}shortcut(n){return this.toggleBold()(n)}};f([(0,a.WDe)(h)],m.prototype,"toggleBold",1),f([(0,a.WDe)()],m.prototype,"setBold",1),f([(0,a.WDe)()],m.prototype,"removeBold",1),f([(0,a.IGC)({shortcut:s.vO.Bold,command:"toggleBold"})],m.prototype,"shortcut",1),m=f([(0,a.AOx)({defaultOptions:{weight:void 0},staticKeys:["weight"]})],m)},78822:function(n,i,o){"use strict";o.d(i,{W:function(){return z}});var a,s,l,u=o(11215),c=o(44573),d=o(378),p=o(27398),f=o(57555),h=o(82696),m=o(2376),g=o(31026),b=o(84348),y=o(48776),v=Object.defineProperty,w=Object.getOwnPropertyDescriptor,E=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?w(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&v(i,o,l),l},S=(n,i,o)=>{if(!i.has(n))throw TypeError("Cannot "+o)},x=(n,i,o)=>(S(n,i,"read from private field"),o?o.call(n):i.get(n)),_=(n,i,o)=>{if(i.has(n))throw TypeError("Cannot add the same private member more than once");i instanceof WeakSet?i.add(n):i.set(n,o)},k=(n,i,o,a)=>(S(n,i,"write to private field"),a?a.call(n,o):i.set(n,o),o),A="data-code-block-language";function T(n,i,o=[]){return n.map(n=>{let a=[...o];return("element"===n.type&&n.properties.className?a.push(...n.properties.className):"text"===n.type&&0===a.length&&i&&a.push(i),"element"===n.type)?T(n.children,i,a):{text:n.value,classes:a}})}function C(n,i){var o;let{node:a,pos:s}=n,l=I({language:null==(o=a.attrs.language)?void 0:o.replace("language-",""),fallback:"markup"}),c=u.highlight(a.textContent??"",l),d=T(c,i),p=s+1;function h(n){let i=p,o=i+n.text.length;return p=o,{...n,from:i,to:o}}return(0,f.VF)(d).map(h)}function R(n){let{blocks:i,skipLast:o,plainTextClassName:a}=n,s=[];for(let l of i){let u=C(l,a),c=o?u.length-1:u.length;for(let d of(0,f.w6)(c)){let p=u[d],h=null==p?void 0:p.classes;if(!p||!(null==h?void 0:h.length))continue;let m=b.p.inline(p.from,p.to,{class:h.join(" ")});s.push(m)}}return s}function D(n){return!!(n&&(0,f.Kn)(n)&&(0,f.HD)(n.language)&&n.language.length>0)}function O(n){return i=>({state:{tr:o,selection:a},dispatch:s})=>{if(!D(i))throw Error("Invalid attrs passed to the updateAttributes method");let l=(0,p.Tr)({types:n,selection:a});return!(!l||(0,f.Xy)(i,l.node.attrs))&&(o.setNodeMarkup(l.pos,n,{...l.node.attrs,...i}),s&&s(o),!0)}}function I(n){let{language:i,fallback:o}=n;if(!i)return o;let a=u.listLanguages();for(let s of a)if(s.toLowerCase()===i.toLowerCase())return s;return o}function N(n,i){let{language:o,wrap:a}=(0,p.Kh)(n.attrs,i),{style:s,...l}=i.dom(n),u=l.style;a&&(u=(0,p.X3)({whiteSpace:"pre-wrap",wordBreak:"break-all"},u));let d={spellcheck:"false",...l,class:(0,c.cx)(l.class,`language-${o}`)};return["pre",d,["code",{[A]:o,style:u},0]]}function M(n){return({pos:i}=(0,f.Ry)())=>({tr:o,dispatch:a})=>{let s;let{type:l,formatter:u,defaultLanguage:c}=n,{from:d,to:f}=i?{from:i,to:i}:o.selection,h=(0,p.Tr)({types:l,selection:o.selection});if(!h)return!1;let{node:{attrs:g,textContent:b},start:y}=h,v=d-y,w=f-y,E=I({language:g.language,fallback:c}),S=u({source:b,language:E,cursorOffset:v});if(v!==w&&(s=u({source:b,language:E,cursorOffset:w})),!S)return!1;let{cursorOffset:x,formatted:_}=S;if(_===b)return!1;let k=y+b.length;o.insertText(_,y,k);let A=y+x,T=s?y+s.cursorOffset:void 0;return o.setSelection(m.Bs.between(o.doc.resolve(A),o.doc.resolve(T??A))),a&&a(o),!0}}function L(n){var i;return null==(i=n.getAttribute(A)??n.classList[0])?void 0:i.replace("language-","")}var{DESCRIPTION:P,LABEL:F}=y.J,B={icon:"bracesLine",description:({t:n})=>n(P),label:({t:n})=>n(F)},U=class{constructor(n,i){_(this,a,void 0),_(this,s,void 0),_(this,l,!1),k(this,s,n),k(this,a,i)}init(n){let i=(0,p.as)({node:n.doc,type:x(this,s)});return this.refreshDecorationSet(n.doc,i),this}refreshDecorationSet(n,i){let o=R({blocks:i,skipLast:x(this,l),defaultLanguage:x(this,a).options.defaultLanguage,plainTextClassName:x(this,a).options.plainTextClassName??void 0});this.decorationSet=b.EH.create(n,o)}apply(n,i){if(!n.docChanged)return this;this.decorationSet=this.decorationSet.map(n.mapping,n.doc);let o=(0,p.qh)(n,{descend:!0,predicate:n=>n.type===x(this,s),StepTypes:[]});return this.updateDecorationSet(n,o),this}updateDecorationSet(n,i){if(0===i.length)return;let o=this.decorationSet;for(let{node:s,pos:u}of i)o=this.decorationSet.remove(this.decorationSet.find(u,u+s.nodeSize));this.decorationSet=o.add(n.doc,R({blocks:i,skipLast:x(this,l),defaultLanguage:x(this,a).options.defaultLanguage,plainTextClassName:x(this,a).options.plainTextClassName??void 0}))}setDeleted(n){k(this,l,n)}};a=new WeakMap,s=new WeakMap,l=new WeakMap;var z=class extends c.QR{get name(){return"codeBlock"}createTags(){return[d.eX.Block,d.eX.Code]}init(){this.registerLanguages()}createNodeSpec(n,i){let o=/highlight-(?:text|source)-([\da-z]+)/;return{content:"text*",marks:"",defining:!0,draggable:!1,...i,code:!0,attrs:{...n.defaults(),language:{default:this.options.defaultLanguage},wrap:{default:this.options.defaultWrap}},parseDOM:[{tag:"div.highlight",preserveWhitespace:"full",getAttrs(i){var a,s;if(!(0,p.jd)(i))return!1;let l=i.querySelector("pre.code");if(!(0,p.jd)(l))return!1;let u="pre-wrap"===(0,p.C2)(l,"white-space"),c=null==(s=null==(a=i.className.match(o))?void 0:a[1])?void 0:s.replace("language-","");return{...n.parse(i),language:c,wrap:u}}},{tag:"pre",preserveWhitespace:"full",getAttrs:i=>{if(!(0,p.jd)(i))return!1;let o=i.querySelector("code");if(!(0,p.jd)(o))return!1;let a="pre-wrap"===(0,p.C2)(o,"white-space"),s=this.options.getLanguageFromDom(o,i);return{...n.parse(i),language:s,wrap:a}}},...i.parseDOM??[]],toDOM:i=>N(i,n)}}createAttributes(){return{class:g.uV[this.options.syntaxTheme.toUpperCase()]}}createInputRules(){let n=/^```([\dA-Za-z]*) $/,i=n=>{let i=I({language:(0,p.FI)(n,1),fallback:this.options.defaultLanguage});return{language:i}};return[(0,p.x2)({regexp:n,type:this.type,beforeDispatch({tr:n,start:i}){let o=n.doc.resolve(i);n.setSelection(m.Bs.near(o))},getAttributes:i})]}onSetOptions(n){let{changes:i}=n;i.supportedLanguages.changed&&this.registerLanguages(),i.syntaxTheme.changed&&this.store.updateAttributes()}createPlugin(){let n=new U(this.type,this),i=()=>(n.setDeleted(!0),!1);return{state:{init:(i,o)=>n.init(o),apply:(i,o,a,s)=>n.apply(i,s)},props:{handleKeyDown:(0,h.$)({Backspace:i,"Mod-Backspace":i,Delete:i,"Mod-Delete":i,"Ctrl-h":i,"Alt-Backspace":i,"Ctrl-d":i,"Ctrl-Alt-Backspace":i,"Alt-Delete":i,"Alt-d":i}),decorations:()=>(n.setDeleted(!1),n.decorationSet)}}}toggleCodeBlock(n={}){return(0,p.zU)({type:this.type,toggleType:this.options.toggleName,attrs:{language:this.options.defaultLanguage,...n}})}createCodeBlock(n){return(0,p.uJ)(this.type,n)}updateCodeBlock(n){return O(this.type)(n)}formatCodeBlock(n){return M({type:this.type,formatter:this.options.formatter,defaultLanguage:this.options.defaultLanguage})(n)}tabKey({state:n,dispatch:i}){let{selection:o,tr:a,schema:s}=n,{node:l}=(0,p.JB)(o);if(!(0,p.$9)({node:l,types:this.type}))return!1;if(o.empty)a.insertText(" ");else{let{from:u,to:c}=o;a.replaceWith(u,c,s.text(" "))}return i&&i(a),!0}backspaceKey({dispatch:n,tr:i,state:o}){if(!i.selection.empty)return!1;let a=(0,p.Tr)({types:this.type,selection:i.selection});if((null==a?void 0:a.start)!==i.selection.from)return!1;let{pos:s,node:l,start:u}=a,c=(0,f.fp)(o.schema.nodes,this.options.toggleName);return""===l.textContent.trim()?i.doc.lastChild===l&&i.doc.firstChild===l?(0,p.IY)({pos:s,tr:i,content:c.create()}):(0,p.aS)({pos:s,tr:i}):u>2?i.setSelection(m.Bs.near(i.doc.resolve(u-2))):(i.insert(0,c.create()),i.setSelection(m.Bs.near(i.doc.resolve(1)))),n&&n(i),!0}enterKey({dispatch:n,tr:i}){if(!((0,p.hT)(i.selection)&&i.selection.empty))return!1;let{nodeBefore:o,parent:a}=i.selection.$anchor;if(!(null==o?void 0:o.isText)||!a.type.isTextblock)return!1;let s=/^```([A-Za-z]*)?$/,{text:l,nodeSize:u}=o,{textContent:c}=a;if(!l)return!1;let d=l.match(s),f=c.match(s);if(!d||!f)return!1;let[,h]=d,g=I({language:h,fallback:this.options.defaultLanguage}),b=i.selection.$from.before(),y=b+u+1;return i.replaceWith(b,y,this.type.create({language:g})),i.setSelection(m.Bs.near(i.doc.resolve(b+1))),n&&n(i),!0}formatShortcut({tr:n}){let i=this.store.commands;if(!(0,p.Ig)({type:this.type,state:n}))return!1;let o=i.formatCodeBlock.isEnabled();return o&&i.formatCodeBlock(),o}registerLanguages(){for(let n of this.options.supportedLanguages)u.register(n)}};E([(0,c.WDe)(B)],z.prototype,"toggleCodeBlock",1),E([(0,c.WDe)()],z.prototype,"createCodeBlock",1),E([(0,c.WDe)()],z.prototype,"updateCodeBlock",1),E([(0,c.WDe)()],z.prototype,"formatCodeBlock",1),E([(0,c.IGC)({shortcut:"Tab"})],z.prototype,"tabKey",1),E([(0,c.IGC)({shortcut:"Backspace"})],z.prototype,"backspaceKey",1),E([(0,c.IGC)({shortcut:"Enter"})],z.prototype,"enterKey",1),E([(0,c.IGC)({shortcut:d.vO.Format})],z.prototype,"formatShortcut",1),z=E([(0,c.AOx)({defaultOptions:{supportedLanguages:[],toggleName:"paragraph",formatter:({source:n})=>({cursorOffset:0,formatted:n}),syntaxTheme:"a11y_dark",defaultLanguage:"markup",defaultWrap:!1,plainTextClassName:"",getLanguageFromDom:L},staticKeys:["getLanguageFromDom"]})],z)},55658:function(n,i,o){"use strict";o.d(i,{l:function(){return g}});var a=o(44573),s=o(378),l=o(27398),u=o(48776),c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,p=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?d(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&c(i,o,l),l},{DESCRIPTION:f,LABEL:h}=u.jz,m={icon:"codeLine",description:({t:n})=>n(f),label:({t:n})=>n(h)},g=class extends a.uS7{get name(){return"code"}createTags(){return[s.eX.Code,s.eX.ExcludeInputRules]}createMarkSpec(n,i){return{excludes:"_",...i,attrs:n.defaults(),parseDOM:[{tag:"code",getAttrs:n.parse},...i.parseDOM??[]],toDOM:i=>["code",{spellcheck:"false",...n.dom(i)},0]}}createKeymap(){return{"Mod-`":(0,a.w9d)({type:this.type})}}keyboardShortcut(n){return this.toggleCode()(n)}toggleCode(){return(0,a.w9d)({type:this.type})}createInputRules(){return[(0,l.Cf)({regexp:RegExp(`(?:\`)([^\`${s.Z9}]+)(?:\`)$`),type:this.type,ignoreWhitespace:!0})]}createPasteRules(){return[{type:"mark",regexp:/`([^`]+)`/g,markType:this.type}]}};p([(0,a.IGC)({shortcut:s.vO.Code,command:"toggleCode"})],g.prototype,"keyboardShortcut",1),p([(0,a.WDe)(m)],g.prototype,"toggleCode",1),g=p([(0,a.AOx)({})],g)},84672:function(n,i,o){"use strict";o.d(i,{x:function(){return T}});var a,s=o(75549),l=o(96142),u=o(91249),c=o(63150),d=o(44573),p=o(57555),f=o(378),h=o(27398),m=o(84799),g=o(31026),b=o(36388),y=Object.defineProperty,v=Object.getOwnPropertyDescriptor,w=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?v(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&y(i,o,l),l},{Blobmoji:E,Notomoji:S,Openmoji:x,Twemoji:_}=(0,p.bH)(a||(a=o.t(b,2))),k={noto:S,openmoji:x,twemoji:_,blob:E},A="data-remirror-emoji",T=class extends d.QR{get name(){return"emoji"}get moji(){return this._moji??(this._moji=(0,p.HD)(this.options.moji)?new k[this.options.moji]({data:this.options.data,type:"all",fallback:this.options.fallback}):this.options.moji)}createTags(){return[f.eX.InlineNode]}createNodeSpec(n,i){return{selectable:!0,draggable:!1,...i,inline:!0,atom:!0,attrs:{...n.defaults(),code:{}},parseDOM:[{tag:`span[${A}`,getAttrs(i){if(!(0,h.jd)(i))return null;let o=i.getAttribute(A);return{...n.parse(i),code:o}}},...i.parseDOM??[]],toDOM:i=>{let{code:o}=(0,h.Kh)(i.attrs,n),a=this.moji.find(o)??this.moji.fallback;return["span",{class:g.Nh.EMOJI_WRAPPER,[A]:a[this.options.identifier]},["img",{role:"presentation",class:g.Nh.EMOJI_IMAGE,"aria-label":a.annotation,alt:a.annotation,src:this.moji.url(o)}]]}}}createInputRules(){if(this.options.plainText)return[(0,h.TY)({regexp:RegExp(`(${l.source})[\\s]$`),transformMatch:([n,i])=>{if(!n||!i)return null;let o=this.moji.find(i);return o?n.replace(i,o.emoji):null}}),(0,h.TY)({regexp:RegExp(`(${u.source})$`),transformMatch:([,n])=>{if(!n)return null;let i=this.moji.find(n);return i?i.emoji:null}})];let n=({captureGroup:n})=>!n||!this.moji.find(n),i=([,n])=>{if(!n)return;let i=this.moji.find(n);return i?{code:i[this.options.identifier]}:void 0},o=this.type;return[(0,h.x2)({type:o,shouldSkip:n,getAttributes:i,regexp:RegExp(`(${l.source})[\\s]$`),beforeDispatch({tr:n}){n.insertText(" ")}}),(0,h.x2)({type:o,shouldSkip:n,getAttributes:i,regexp:RegExp(`(${u.source})$`)}),(0,h.x2)({type:o,shouldSkip:n,getAttributes:i,regexp:RegExp(`(${s.source})`)})]}addEmoji(n,i={}){return o=>{let{dispatch:a,tr:s}=o,l=this.moji.find(n);if(!l)return!1;if(!this.options.plainText)return this.store.commands.replaceText.original({type:this.type,attrs:{code:l[this.options.identifier]},selection:i.selection})(o);let{from:u,to:c}=(0,h.b0)(i.selection??s.selection,s.doc);return null==a||a(s.insertText(l.emoji,u,c)),!0}}suggestEmoji(n){return({tr:i,dispatch:o})=>{let{from:a,to:s}=(0,h.b0)(n??i.selection,i.doc),l=this.store.helpers.getTextBetween(a-1,s,i.doc);return!l.includes(this.options.suggestionCharacter)&&(null==o||o(i.insertText(this.options.suggestionCharacter,a,s)),!0)}}handleEnterKey({tr:n,next:i}){let{$from:o,empty:a}=n.selection;if(!a)return i();let s=o.parent.textBetween(Math.max(0,o.parentOffset-5),o.parentOffset,void 0,f.Z9),u=s.match(l);if(u){let c=(0,h.FI)(u),d={from:o.pos-c.length,to:o.pos};this.store.chain(n).addEmoji(c,{selection:d}).tr()}return i()}createSuggesters(){return{disableDecorations:!0,invalidPrefixCharacters:`${c(this.options.suggestionCharacter)}|\\w`,supportedCharacters:this.options.supportedCharacters,char:this.options.suggestionCharacter,name:this.name,suggestTag:"span",onChange:n=>{this.options.suggestEmoji({moji:this.moji,query:n.query.full,text:n.text.full,range:n.range,exit:!!n.exitReason,change:!!n.changeReason,apply:i=>{this.store.commands.addEmoji(i,{selection:n.range})}})}}}};w([(0,d.WDe)()],T.prototype,"addEmoji",1),w([(0,d.WDe)()],T.prototype,"suggestEmoji",1),w([(0,d.IGC)({shortcut:"Enter"})],T.prototype,"handleEnterKey",1),T=w([(0,d.AOx)({defaultOptions:{plainText:!1,data:[],identifier:"emoji",fallback:":red_question_mark:",moji:"noto",suggestionCharacter:":",supportedCharacters:m.ZF.supportedCharacters},staticKeys:["plainText"],handlerKeys:["suggestEmoji"]})],T)},13848:function(n,i,o){"use strict";o.d(i,{h:function(){return f}});var a=o(44573),s=o(378),l=o(84133),u=o(25804),c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,p=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?d(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&c(i,o,l),l},f=class extends a.QR{get name(){return"hardBreak"}createTags(){return[s.eX.InlineNode]}createNodeSpec(n,i){return{inline:!0,selectable:!1,atom:!0,leafText:()=>"\n",...i,attrs:n.defaults(),parseDOM:[{tag:"br",getAttrs:n.parse},...i.parseDOM??[]],toDOM:i=>["br",n.dom(i)]}}createKeymap(){let n=(0,l.QF)((0,l.A_)(u.uo),()=>(this.store.commands.insertHardBreak(),!0));return{"Mod-Enter":n,"Shift-Enter":n}}insertHardBreak(){return n=>{let{tr:i,dispatch:o}=n;return null==o||o(i.replaceSelectionWith(this.type.create()).scrollIntoView()),!0}}};p([(0,a.WDe)()],f.prototype,"insertHardBreak",1),f=p([(0,a.AOx)({defaultPriority:s.xV.Low})],f)},71265:function(n,i,o){"use strict";o.d(i,{e:function(){return y}});var a=o(44573),s=o(378),l=o(27398),u=o(57555),c=o(36912),d=o(48776),p=Object.defineProperty,f=Object.getOwnPropertyDescriptor,h=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?f(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&p(i,o,l),l},{LABEL:m}=d.bk,g={icon:({attrs:n})=>`h${(null==n?void 0:n.level)??"1"}`,label:({t:n,attrs:i})=>n({...m,values:{level:null==i?void 0:i.level}})},b=[s.vO.H1,s.vO.H2,s.vO.H3,s.vO.H4,s.vO.H5,s.vO.H6],y=class extends a.QR{get name(){return"heading"}createTags(){return[s.eX.Block,s.eX.TextBlock,s.eX.FormattingNode]}createNodeSpec(n,i){return{content:"inline*",defining:!0,draggable:!1,...i,attrs:{...n.defaults(),level:{default:this.options.defaultLevel}},parseDOM:[...this.options.levels.map(i=>({tag:`h${i}`,getAttrs:o=>({...n.parse(o),level:i})})),...i.parseDOM??[]],toDOM:i=>this.options.levels.includes(i.attrs.level)?[`h${i.attrs.level}`,n.dom(i),0]:[`h${this.options.defaultLevel}`,n.dom(i),0]}}toggleHeading(n={}){return(0,l.zU)({type:this.type,toggleType:"paragraph",attrs:n})}createKeymap(n){let i=this.store.getExtension(a.i8b),o=(0,u.Ry)(),c=[];for(let d of this.options.levels){let p=b[d-1]??s.vO.H1;o[p]=(0,l.uJ)(this.type,{level:d}),c.push({attrs:{level:d},shortcut:n(p)[0]})}return i.updateDecorated("toggleHeading",{shortcut:c}),o}createInputRules(){return this.options.levels.map(n=>(0,c.zK)(RegExp(`^(#{1,${n}})\\s$`),this.type,()=>({level:n})))}createPasteRules(){return this.options.levels.map(n=>({type:"node",nodeType:this.type,regexp:RegExp(`^#{${n}}\\s([\\s\\w]+)$`),getAttributes:()=>({level:n}),startOfTextBlock:!0}))}};h([(0,a.WDe)(g)],y.prototype,"toggleHeading",1),y=h([(0,a.AOx)({defaultOptions:{levels:[1,2,3,4,5,6],defaultLevel:1},staticKeys:["defaultLevel","levels"]})],y)},11033:function(n,i,o){"use strict";o.d(i,{V:function(){return g}});var a=o(44573),s=o(378),l=o(27398),u=o(57555),c=o(2376),d=o(48776),p=Object.defineProperty,f=Object.getOwnPropertyDescriptor,h=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?f(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&p(i,o,l),l},m={icon:"separator",label:({t:n})=>n(d.ir.LABEL),description:({t:n})=>n(d.ir.DESCRIPTION)},g=class extends a.QR{get name(){return"horizontalRule"}createTags(){return[s.eX.Block]}createNodeSpec(n,i){return{...i,attrs:n.defaults(),parseDOM:[{tag:"hr",getAttrs:n.parse},...i.parseDOM??[]],toDOM:i=>["hr",n.dom(i)]}}insertHorizontalRule(){return n=>{let{tr:i,dispatch:o}=n,a=i.selection.$anchor,s=a.parent;if("doc"===s.type.name||s.isAtom||s.isLeaf)return!1;if(!o)return!0;let u=i.selection.empty&&(0,l.mp)(s);return u&&i.insert(a.pos+1,s),i.replaceSelectionWith(this.type.create()),this.updateFromNodeSelection(i),o(i.scrollIntoView()),!0}}createInputRules(){return[(0,l.x2)({regexp:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type,beforeDispatch:({tr:n})=>{this.updateFromNodeSelection(n)}})]}updateFromNodeSelection(n){if(!(0,l.EG)(n.selection)||n.selection.node.type.name!==this.name)return;let i=n.selection.$from.pos+1,{insertionNode:o}=this.options;if(!o)return;let a=this.store.schema.nodes[o];(0,u.kG)(a,{code:s.mA.EXTENSION,message:`'${o}' node provided as the insertionNode to the '${this.constructorName}' does not exist.`});let d=a.create();n.insert(i,d),n.setSelection(c.Bs.near(n.doc.resolve(i+1)))}};h([(0,a.WDe)(m)],g.prototype,"insertHorizontalRule",1),g=h([(0,a.AOx)({defaultOptions:{insertionNode:"paragraph"}})],g)},82874:function(n,i,o){"use strict";o.d(i,{Gc:function(){return B}});var a,s,l,u,c,d,p,f=o(44573),h=o(378),m=o(27398),g=o(57555),b=o(16560),y=o(31026),v=o(27856),w=(n,i,o)=>{if(!i.has(n))throw TypeError("Cannot "+o)},E=(n,i,o)=>(w(n,i,"read from private field"),o?o.call(n):i.get(n)),S=(n,i,o)=>{if(i.has(n))throw TypeError("Cannot add the same private member more than once");i instanceof WeakSet?i.add(n):i.set(n,o)},x=(n,i,o,a)=>(w(n,i,"write to private field"),a?a.call(n,o):i.set(n,o),o),_='',k=encodeURIComponent(''),A=encodeURIComponent(_),T=class{constructor(n){S(this,s,void 0);let i=document.createElement("div"),o=document.createElement("div");this.dom=i,x(this,s,o),this.type=n,this.createHandle(n)}createHandle(n){switch((0,m.yL)(this.dom,{position:"absolute",pointerEvents:"auto",display:"flex",alignItems:"center",justifyContent:"center",zIndex:"100"}),(0,m.yL)(E(this,s),{opacity:"0",transition:"opacity 300ms ease-in 0s"}),E(this,s).dataset.dragging="",n){case 0:(0,m.yL)(this.dom,{right:"0px",top:"0px",height:"100%",width:"15px",cursor:"col-resize"}),(0,m.yL)(E(this,s),{width:" 4px",height:"36px",maxHeight:"50%",boxSizing:"content-box",background:"rgba(0, 0, 0, 0.65)",border:"1px solid rgba(255, 255, 255, 0.5)",borderRadius:"6px"});break;case 1:(0,m.yL)(this.dom,{left:"0px",top:"0px",height:"100%",width:"15px",cursor:"col-resize"}),(0,m.yL)(E(this,s),{width:" 4px",height:"36px",maxHeight:"50%",boxSizing:"content-box",background:"rgba(0, 0, 0, 0.65)",border:"1px solid rgba(255, 255, 255, 0.5)",borderRadius:"6px"});break;case 2:(0,m.yL)(this.dom,{bottom:"0px",width:"100%",height:"14px",cursor:"row-resize"}),(0,m.yL)(E(this,s),{width:" 42px",height:"4px",boxSizing:"content-box",maxWidth:"50%",background:"rgba(0, 0, 0, 0.65)",border:"1px solid rgba(255, 255, 255, 0.5)",borderRadius:"6px"});break;case 3:(0,m.yL)(this.dom,{right:"-1px",bottom:"-2px",width:"30px",height:"30px",cursor:"nwse-resize",zIndex:"101"}),(0,m.yL)(E(this,s),{height:"22px",width:"22px",backgroundRepeat:"no-repeat",backgroundImage:`url("data:image/svg+xml,${A}") `});break;case 4:(0,m.yL)(this.dom,{left:"-1px",bottom:"-2px",width:"30px",height:"30px",cursor:"nesw-resize",zIndex:"101"}),(0,m.yL)(E(this,s),{height:"22px",width:"22px",backgroundRepeat:"no-repeat",backgroundImage:`url("data:image/svg+xml,${k}") `})}this.dom.append(E(this,s))}setHandleVisibility(n){let i=n||!!E(this,s).dataset.dragging;E(this,s).style.opacity=i?"1":"0"}dataSetDragging(n){E(this,s).dataset.dragging=n?"true":""}};s=new WeakMap;var C=50,R=((a=R||{})[a.Fixed=0]="Fixed",a[a.Flexible=1]="Flexible",a),D=class{constructor({node:n,view:i,getPos:o,aspectRatio:a=0,options:s,initialSize:f}){S(this,l,void 0),S(this,u,void 0),S(this,c,[]),S(this,d,void 0),S(this,p,void 0);let h=this.createWrapper(n,f),m=this.createElement({node:n,view:i,getPos:o,options:s}),g=1===a?[0,1,2,3,4]:[0,1],b=g.map(n=>new T(n));for(let y of b){let v=n=>{this.startResizing(n,i,o,y)};y.dom.addEventListener("mousedown",v),E(this,c).push(()=>y.dom.removeEventListener("mousedown",v)),h.append(y.dom)}let w=()=>{b.forEach(n=>n.setHandleVisibility(!0))},_=()=>{b.forEach(n=>n.setHandleVisibility(!1))};h.addEventListener("mouseover",w),h.addEventListener("mouseout",_),E(this,c).push(()=>h.removeEventListener("mouseover",w),()=>h.removeEventListener("mouseout",_)),h.append(m),this.dom=h,x(this,u,n),x(this,l,m),this.aspectRatio=a}createWrapper(n,i){let o=document.createElement("div");return o.classList.add("remirror-resizable-view"),o.style.position="relative",i?(0,m.yL)(o,{width:N(i.width),aspectRatio:`${i.width} / ${i.height}`}):(0,m.yL)(o,{width:N(n.attrs.width),aspectRatio:`${n.attrs.width} / ${n.attrs.height}`}),(0,m.yL)(o,{maxWidth:"100%",minWidth:`${C}px`,verticalAlign:"bottom",display:"inline-block",lineHeight:"0",transition:"width 0.15s ease-out, height 0.15s ease-out"}),o}startResizing(n,i,o,a){var s,f;n.preventDefault(),a.dataSetDragging(!0),E(this,l).style.pointerEvents="none";let h=n.pageX,m=n.pageY,g=(null==(s=E(this,l))?void 0:s.getBoundingClientRect().width)||0,b=(null==(f=E(this,l))?void 0:f.getBoundingClientRect().height)||0,y=(0,v.P)(100,!1,n=>{let i=n.pageX,o=n.pageY,s=i-h,l=o-m,u=null,c=null;if(0===this.aspectRatio&&g&&b)switch(a.type){case 0:case 3:u=g+s,c=b/g*u;break;case 1:case 4:u=g-s,c=b/g*u;break;case 2:c=b+l,u=g/b*c}else if(1===this.aspectRatio)switch(a.type){case 0:u=g+s;break;case 1:u=g-s;break;case 2:c=b+l;break;case 3:u=g+s,c=b+l;break;case 4:u=g-s,c=b+l}"number"==typeof u&&u{n.preventDefault(),a.dataSetDragging(!1),a.setHandleVisibility(!1),E(this,l).style.pointerEvents="auto",document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",w);let s=o(),c=i.state.tr.setNodeMarkup(s,void 0,{...E(this,u).attrs,width:E(this,d),height:E(this,p)});i.dispatch(c)};document.addEventListener("mousemove",y),document.addEventListener("mouseup",w),E(this,c).push(()=>document.removeEventListener("mousemove",y)),E(this,c).push(()=>document.removeEventListener("mouseup",w))}update(n){return n.type===E(this,u).type&&(0!==this.aspectRatio||!n.attrs.width||n.attrs.width===E(this,d))&&(1!==this.aspectRatio||!n.attrs.width||!n.attrs.height||n.attrs.width===E(this,d)||n.attrs.height===E(this,p))&&!!O(E(this,u),n,["width","height"])&&(x(this,u,n),x(this,d,n.attrs.width),x(this,p,n.attrs.height),!0)}destroy(){E(this,c).forEach(n=>n())}};function O(n,i,o){return n===i||I(n,i,o)&&n.content.eq(i.content)}function I(n,i,o){let a=n.attrs,s=i.attrs,l={};for(let u of o)l[u]=null;n.attrs={...a,...l},i.attrs={...s,...l};let c=n.sameMarkup(i);return n.attrs=a,i.attrs=s,c}function N(n){return"number"==typeof n?`${n}px`:n||void 0}l=new WeakMap,u=new WeakMap,c=new WeakMap,d=new WeakMap,p=new WeakMap;var M=Object.defineProperty,L=Object.getOwnPropertyDescriptor,P=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?L(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&M(i,o,l),l},F=class extends D{constructor(n,i,o){super({node:n,view:i,getPos:o,aspectRatio:R.Fixed})}createElement({node:n}){let i=document.createElement("img");return i.setAttribute("src",n.attrs.src),(0,m.yL)(i,{width:"100%",minWidth:"50px",objectFit:"contain"}),i}},B=class extends f.QR{get name(){return"image"}createTags(){return[h.eX.InlineNode,h.eX.Media]}createNodeSpec(n,i){let{preferPastedTextContent:o}=this.options;return{inline:!0,draggable:!0,selectable:!1,...i,attrs:{...n.defaults(),alt:{default:""},crop:{default:null},height:{default:null},width:{default:null},rotate:{default:null},src:{default:null},title:{default:""},fileName:{default:null},resizable:{default:!1}},parseDOM:[{tag:"img[src]",getAttrs(i){var a;if((0,m.jd)(i)){let s=z({element:i,parse:n.parse});return!(o&&(null==(a=s.src)?void 0:a.startsWith("file:///")))&&s}return{}}},...i.parseDOM??[]],toDOM(i){let o=(0,m.Kh)(i.attrs,n);return["img",{...n.dom(i),...o}]}}}insertImage(n,i){return({tr:o,dispatch:a})=>{let{from:s,to:l}=(0,m.b0)(i??o.selection,o.doc),u=this.type.create(n);return null==a||a(o.replaceRangeWith(s,l,u)),!0}}uploadImage(n,i){let{updatePlaceholder:o,destroyPlaceholder:a,createPlaceholder:s}=this.options;return l=>{let{tr:u}=l,c=u.selection.from;return this.store.createPlaceholderCommand({promise:n,placeholder:{type:"widget",get pos(){return c},createElement(n,o){let a=s(n,o);return null==i||i(a),a},onUpdate(n,i,a,s){o(n,i,a,s)},onDestroy(n,i){a(n,i)}},onSuccess:(n,i,o)=>this.insertImage(n,i)(o)}).validate(({tr:n,dispatch:i})=>{let o=(0,b.Yo)(n.doc,c,this.type);return null!=o&&(c=o,n.selection.empty||null==i||i(n.deleteSelection()),!0)},"unshift").generateCommand()(l)}}fileUploadFileHandler(n,i,o){var a;let{preferPastedTextContent:s,uploadHandler:l}=this.options;if(s&&H(i)&&(null==(a=i.clipboardData)?void 0:a.getData("text/plain")))return!1;let{commands:u,chain:c}=this.store,d=n.map((n,i)=>({file:n,progress(n){u.updatePlaceholder(p[i],n)}})),p=l(d);for(let f of((0,g.hj)(o)&&c.selectText(o),p))c.uploadImage(f);return c.run(),!0}createPasteRules(){return[{type:"file",regexp:/image/i,fileHandler:n=>{let i="drop"===n.type?n.pos:void 0;return this.fileUploadFileHandler(n.files,n.event,i)}}]}createNodeViews(){return this.options.enableResizing?(n,i,o)=>new F(n,i,o):{}}};function U(n){let{width:i,height:o}=n.style;return i=i||n.getAttribute("width")||"",o=o||n.getAttribute("height")||"",{width:i,height:o}}function z({element:n,parse:i}){let{width:o,height:a}=U(n);return{...i(n),alt:n.getAttribute("alt")??"",height:Number.parseInt(a||"0",10)||null,src:n.getAttribute("src")??null,title:n.getAttribute("title")??"",width:Number.parseInt(o||"0",10)||null,fileName:n.getAttribute("data-file-name")??null}}function j(n,i){let o=document.createElement("div");return o.classList.add(y.Jl.IMAGE_LOADER),o}function $(n){(0,g.kG)(n.length>0,{code:h.mA.EXTENSION,message:"The upload handler was applied for the image extension without any valid files"});let i=0,o=[];for(let{file:a,progress:s}of n)o.push(()=>new Promise(o=>{let l=new FileReader;l.addEventListener("load",l=>{var u;s((i+=1)/n.length),o({src:null==(u=l.target)?void 0:u.result,fileName:a.name})},{once:!0}),l.readAsDataURL(a)}));return o}function H(n){return void 0!==n.clipboardData}P([(0,f.WDe)()],B.prototype,"insertImage",1),P([(0,f.WDe)()],B.prototype,"uploadImage",1),B=P([(0,f.AOx)({defaultOptions:{createPlaceholder:j,updatePlaceholder(){},destroyPlaceholder(){},uploadHandler:$,enableResizing:!1,preferPastedTextContent:!0}})],B)},5705:function(n,i,o){"use strict";o.d(i,{f:function(){return h}});var a=o(44573),s=o(378),l=o(27398),u=o(48776),c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,p=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?d(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&c(i,o,l),l},f={icon:"italic",label:({t:n})=>n(u.wr.LABEL),description:({t:n})=>n(u.wr.DESCRIPTION)},h=class extends a.uS7{get name(){return"italic"}createTags(){return[s.eX.FontStyle,s.eX.FormattingMark]}createMarkSpec(n,i){return{...i,attrs:n.defaults(),parseDOM:[{tag:"i",getAttrs:n.parse},{tag:"em",getAttrs:n.parse},{style:"font-style=italic"},...i.parseDOM??[]],toDOM:i=>["em",n.dom(i),0]}}createKeymap(){return{"Mod-i":(0,a.w9d)({type:this.type})}}createInputRules(){return[(0,l.Cf)({regexp:/(?:^|[^*])\*([^*]+)\*$/,type:this.type,ignoreWhitespace:!0,updateCaptured:({fullMatch:n,start:i})=>n.startsWith("*")?{}:{fullMatch:n.slice(1),start:i+1}}),(0,l.Cf)({regexp:/(?:^|\W)_([^_]+)_$/,type:this.type,ignoreWhitespace:!0,updateCaptured:({fullMatch:n,start:i})=>n.startsWith("_")?{}:{fullMatch:n.slice(1),start:i+1}})]}createPasteRules(){return[{type:"mark",markType:this.type,regexp:/(?:^|\W)_([^_]+)_/g},{type:"mark",markType:this.type,regexp:/\*([^*]+)\*/g}]}toggleItalic(n){return(0,a.w9d)({type:this.type,selection:n})}shortcut(n){return this.toggleItalic()(n)}};p([(0,a.WDe)(f)],h.prototype,"toggleItalic",1),p([(0,a.IGC)({shortcut:s.vO.Italic,command:"toggleItalic"})],h.prototype,"shortcut",1),h=p([(0,a.AOx)({})],h)},611:function(n,i,o){"use strict";o.d(i,{y5:function(){return v}});var a=o(69463),s=o(44573),l=o(378),u=o(57555),c=o(27398),d=o(58463),p=o(16560),f=Object.defineProperty,h=Object.getOwnPropertyDescriptor,m=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?h(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&f(i,o,l),l},g=["com","de","net","org","uk","cn","ga","nl","cf","ml","tk","ru","br","gq","xyz","fr","eu","info","co","au","ca","it","in","ch","pl","es","online","us","top","be","jp","biz","se","at","dk","cz","za","me","ir","icu","shop","kr","site","mx","hu","io","cc","club","no","cyou"],b="updateLink",y=/(?:(?:(?:https?|ftp):)?\/\/)?(?:\S+(?::\S*)?@)?(?:(?:[\da-z\u00A1-\uFFFF][\w\u00A1-\uFFFF-]{0,62})?[\da-z\u00A1-\uFFFF]\.)*(?:(?:\d(?!\.)|[a-z\u00A1-\uFFFF])(?:[\da-z\u00A1-\uFFFF][\w\u00A1-\uFFFF-]{0,62})?[\da-z\u00A1-\uFFFF]\.)+[a-z\u00A1-\uFFFF]{2,}(?::\d{2,5})?(?:[#/?]\S*)?/gi,v=class extends s.uS7{constructor(){super(...arguments),this._autoLinkRegexNonGlobal=void 0}get name(){return"link"}createTags(){return[l.eX.Link,l.eX.ExcludeInputRules]}createMarkSpec(n,i){let o="data-link-auto",a=n=>{let{defaultTarget:i,supportedTargets:o}=this.options,a=i?[...o,i]:o;return n&&(0,u.q9)(a,n)?{target:n}:void 0};return{inclusive:!1,excludes:"_",...i,attrs:{...n.defaults(),href:{},target:{default:this.options.defaultTarget},auto:{default:!1}},parseDOM:[{tag:"a[href]",getAttrs:i=>{if(!(0,c.jd)(i))return!1;let s=i.getAttribute("href"),l=i.textContent,u=this.options.autoLink&&(i.hasAttribute(o)||s===l||(null==s?void 0:s.replace(`${this.options.defaultProtocol}//`,""))===l);return{...n.parse(i),href:s,auto:u,...a(i.getAttribute("target"))}}},...i.parseDOM??[]],toDOM(i){let{auto:s,target:l,...u}=(0,c.Kh)(i.attrs,n),d=i.attrs.auto?{[o]:""}:{},p="noopener noreferrer nofollow",f={...n.dom(i),...u,rel:p,...d,...a(i.attrs.target)};return["a",f,0]}}}onCreate(){let{autoLinkRegex:n}=this.options;this._autoLinkRegexNonGlobal=RegExp(`^${n.source}$`,n.flags.replace("g",""))}shortcut({tr:n}){let i="",{from:o,to:a,empty:s,$from:l}=n.selection,u=!1,d=(0,c.IH)(l,this.type);if(s){let p=d??(0,c.JM)(n);if(!p)return!1;({text:i,from:o,to:a}=p),u=!0}return o!==a&&(u||(i=n.doc.textBetween(o,a)),this.options.onActivateLink(i),this.options.onShortcut({activeLink:d?{attrs:d.mark.attrs,from:d.from,to:d.to}:void 0,selectedText:i,from:o,to:a}),!0)}updateLink(n,i){return o=>{let{tr:a}=o,s=(0,c.hT)(a.selection)&&!(0,c.Ab)(a.selection)||(0,c.d7)(a.selection)||(0,c.yw)({trState:a,type:this.type});return(!!s||!!i)&&(a.setMeta(this.name,{command:b,attrs:n,range:i}),(0,c.dy)({type:this.type,attrs:n,range:i})(o))}}selectLink(){return this.store.commands.selectMark.original(this.type)}removeLink(n){return i=>{let{tr:o}=i;return!!(0,c.yw)({trState:o,type:this.type,...n})&&(0,c.P9)({type:this.type,expand:!0,range:n})(i)}}createPasteRules(){return[{type:"mark",regexp:this.options.autoLinkRegex,markType:this.type,getAttributes:(n,i)=>({href:this.buildHref((0,c.FI)(n)),auto:!i}),transformMatch:n=>{let i=(0,c.FI)(n);return!!(i&&this.isValidUrl(i))&&i}}]}createEventHandlers(){return{clickMark:(n,i)=>{let o=i.getMark(this.type);if(!o)return;let a=o.mark.attrs,s={...a,...o};if(this.options.onClick(n,s))return!0;if(!this.store.view.editable)return;let l=!1;if(this.options.openLinkOnClick){l=!0;let u=a.href;window.open(u,"_blank")}return this.options.selectTextOnClick&&(l=!0,this.store.commands.selectText(o)),l}}}createPlugin(){return{appendTransaction:(n,i,o)=>{let a=n.filter(n=>!!n.getMeta(this.name));if(a.forEach(n=>{let i=n.getMeta(this.name);if(i.command===b){let{range:a,attrs:s}=i,{selection:l,doc:u}=o,c={range:a,selection:l,doc:u,attrs:s},{from:d,to:p}=a??l;this.options.onUpdateLink(u.textBetween(d,p),c)}}),!this.options.autoLink)return;let s=(0,d.of)(i)-(0,d.of)(o)==1;if(s)return;let l=n.some(n=>n.docChanged);if(!l)return;let u=(0,c.PZ)(n,i),f=(0,c.QC)(u,[p.FC,p.Pu]),{mapping:h}=u,{tr:m,doc:g}=o,{updateLink:y,removeLink:v}=this.store.chain(m);if(f.forEach(({prevFrom:n,prevTo:o,from:a,to:s})=>{let l=[],u=s-a==2,c=this.getLinkMarksInRange(i.doc,n,o,!0).filter(n=>n.mark.type===this.type).map(({from:n,to:i,text:o})=>({mappedFrom:h.map(n),mappedTo:h.map(i),text:o,from:n,to:i}));c.forEach(({mappedFrom:n,mappedTo:o,from:d,to:p},f)=>this.getLinkMarksInRange(g,n,o,!0).filter(n=>n.mark.type===this.type).forEach(o=>{let h=i.doc.textBetween(d,p,void 0," "),m=g.textBetween(o.from,o.to+1,void 0," ").trim(),b=this.isValidUrl(h),w=this.isValidUrl(m);!w&&(b&&(v({from:o.from,to:o.to}).tr(),c.splice(f,1)),u||a!==s||this.findAutoLinks(m).map(i=>this.addLinkProperties({...i,from:n+i.start,to:n+i.end})).forEach(({attrs:n,range:i,text:o})=>{y(n,i).tr(),l.push({attrs:n,range:i,text:o})}))})),this.findTextBlocksInRange(g,{from:a,to:s}).forEach(({text:n,positionStart:i})=>{this.findAutoLinks(n).map(n=>this.addLinkProperties({...n,from:i+n.start+1,to:i+n.end+1})).filter(({range:n})=>{let i=a>=n.from&&a<=n.to,o=s>=n.from&&s<=n.to;return i||o||u}).filter(({range:n})=>0===this.getLinkMarksInRange(m.doc,n.from,n.to,!1).length).filter(({range:{from:n},text:i})=>!c.some(({text:o,mappedFrom:a})=>a===n&&o===i)).forEach(({attrs:n,text:i,range:o})=>{y(n,o).tr(),l.push({attrs:n,range:o,text:i})})}),window.requestAnimationFrame(()=>{l.forEach(({attrs:n,range:i,text:o})=>{let{doc:a,selection:s}=m;this.options.onUpdateLink(o,{attrs:n,doc:a,range:i,selection:s})})})}),0!==m.steps.length)return m}}}buildHref(n){return this.options.extractHref({url:n,defaultProtocol:this.options.defaultProtocol})}getLinkMarksInRange(n,i,o,a){let s=[];if(i===o){let l=Math.max(i-1,0),u=n.resolve(l),d=(0,c.IH)(u,this.type);(null==d?void 0:d.mark.attrs.auto)===a&&s.push(d)}else n.nodesBetween(i,o,(n,i)=>{let o=n.marks??[],l=o.find(({type:n,attrs:i})=>n===this.type&&i.auto===a);l&&s.push({from:i,to:i+n.nodeSize,mark:l,text:n.textContent})});return s}findTextBlocksInRange(n,i){let o=[];return n.nodesBetween(i.from,i.to,(n,i)=>{n.isTextblock&&n.type.allowsMarkType(this.type)&&o.push({node:n,pos:i})}),o.map(i=>({text:n.textBetween(i.pos,i.pos+i.node.nodeSize,void 0," "),positionStart:i.pos}))}addLinkProperties({from:n,to:i,href:o,...a}){return{...a,range:{from:n,to:i},attrs:{href:o,auto:!0}}}findAutoLinks(n){if(this.options.findAutoLinks)return this.options.findAutoLinks(n,this.options.defaultProtocol);let i=[];for(let o of(0,u.JD)(n,this.options.autoLinkRegex)){let a=(0,c.FI)(o);if(!a)continue;let s=this.buildHref(a);(this.isValidTLD(s)||s.startsWith("tel:"))&&i.push({text:a,href:s,start:o.index,end:o.index+a.length})}return i}isValidUrl(n){var i;return this.options.isValidUrl?this.options.isValidUrl(n,this.options.defaultProtocol):this.isValidTLD(this.buildHref(n))&&!!(null==(i=this._autoLinkRegexNonGlobal)?void 0:i.test(n))}isValidTLD(n){let{autoLinkAllowedTLDs:i}=this.options;if(0===i.length)return!0;let o=a(n);if(""===o)return!0;let s=(0,u.Z$)(o.split("."));return i.includes(s)}};function w({url:n,defaultProtocol:i}){let o=/^((?:https?|ftp)?:)\/\//.test(n),a=!o&&n.includes("@");return a?`mailto:${n}`:o?n:`${i}//${n}`}m([(0,s.IGC)({shortcut:l.vO.InsertLink})],v.prototype,"shortcut",1),m([(0,s.WDe)()],v.prototype,"updateLink",1),m([(0,s.WDe)()],v.prototype,"selectLink",1),m([(0,s.WDe)()],v.prototype,"removeLink",1),v=m([(0,s.AOx)({defaultOptions:{autoLink:!1,defaultProtocol:"",selectTextOnClick:!1,openLinkOnClick:!1,autoLinkRegex:y,autoLinkAllowedTLDs:g,findAutoLinks:void 0,isValidUrl:void 0,defaultTarget:null,supportedTargets:[],extractHref:w},staticKeys:["autoLinkRegex"],handlerKeyOptions:{onClick:{earlyReturnValue:!0}},handlerKeys:["onActivateLink","onShortcut","onUpdateLink","onClick"],defaultPriority:l.xV.Medium})],v)},78469:function(n,i,o){"use strict";o.d(i,{UQ:function(){return er},Jb:function(){return ee},_3:function(){return ei}});var a=o(44573),s=o(378),l=o(57555),u=o(48776),c=o(36912),d=o(2376),p=o(31026),f=o(84133),h=o(27398),m=o(25804),g=o(12806),b=o(16560);function y(n,i=null){return function(o,a){let{$from:s,$to:l}=o.selection,u=s.blockRange(l),c=!1,d=u;if(!u)return!1;if(u.depth>=2&&s.node(u.depth-1).type.compatibleContent(n)&&0==u.startIndex){if(0==s.index(u.depth-1))return!1;let p=o.doc.resolve(u.start-2);d=new g.Ts(p,p,u.depth),u.endIndex=0;u--)l=g.HY.from(o[u].type.create(o[u].attrs,l));n.step(new b.FC(i.start-(a?2:0),i.end,i.start,i.end,new g.p2(l,0,0),o.length,!0));let c=0;for(let d=0;di.childCount>0&&i.firstChild.type==n);return!!l&&(!o||(a.node(l.depth-1).type==n?E(i,o,n,l):S(i,o,l)))}}function E(n,i,o,a){let s=n.tr,l=a.end,u=a.$to.end(a.depth);lc;u--)l-=s.child(u).nodeSize,a.delete(l-1,l+1);let d=a.doc.resolve(o.start),p=d.nodeAfter;if(a.mapping.map(o.end)!=o.start+d.nodeAfter.nodeSize)return!1;let f=0==o.startIndex,h=o.endIndex==s.childCount,m=d.node(-1),y=d.index(-1);if(!m.canReplace(y+(f?0:1),y+1,p.content.append(h?g.HY.empty:g.HY.from(s))))return!1;let v=d.pos,w=v+p.nodeSize;return a.step(new b.FC(v-(f?1:0),w+(h?1:0),v+1,w-1,new g.p2((f?g.HY.empty:g.HY.from(s.copy(g.HY.empty))).append(h?g.HY.empty:g.HY.from(s.copy(g.HY.empty))),f?0:1,h?0:1),f?0:1)),i(a.scrollIntoView()),!0}var x=Object.defineProperty,_=Object.getOwnPropertyDescriptor,k=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?_(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&x(i,o,l),l};function A(n){var i;return!!(null==(i=n.spec.group)?void 0:i.includes(s.eX.ListContainerNode))}function T(n){var i;return!!(null==(i=n.spec.group)?void 0:i.includes(s.eX.ListItemNode))}function C(n){return A(n.type)}function R(n){return T(n.type)}function D(n,i){return o=>{let{dispatch:a,tr:s}=o,l=(0,f.Ux)(s,o.state),{$from:u,$to:c}=s.selection,d=u.blockRange(c);if(!d)return!1;let p=(0,h.Kk)({predicate:n=>A(n.type),selection:s.selection});if(p&&d.depth-p.depth<=1&&0===d.startIndex){if(p.node.type===n)return F(i)(o);if(A(p.node.type))return n.validContent(p.node.content)?(null==a||a(s.setNodeMarkup(p.pos,n)),!0):!!I(s,p,n,i)&&(null==a||a(s.scrollIntoView()),!0)}return y(n)(l,a)}}function O(n,i=["checked"]){return function({tr:o,dispatch:a,state:s}){var l,u;let c=(0,h.jo)(n,s.schema),{$from:p,$to:f}=o.selection;if((0,h.EG)(o.selection)&&o.selection.node.isBlock||p.depth<2||!p.sameParent(f))return!1;let m=p.node(-1);if(m.type!==c)return!1;if(0===p.parent.content.size&&p.node(-1).childCount===p.indexAfter(-1)){if(2===p.depth||p.node(-3).type!==c||p.index(-2)!==p.node(-2).childCount-1)return!1;if(a){let y=p.index(-1)>0,v=g.HY.empty;for(let w=p.depth-(y?1:2);w>=p.depth-3;w--)v=g.HY.from(p.node(w).copy(v));let E=(null==(l=c.contentMatch.defaultType)?void 0:l.createAndFill())||void 0;v=v.append(g.HY.from(c.createAndFill(null,E)||void 0));let S=p.indexAfter(-1)!i.includes(n))),T=f.pos===p.end()?m.contentMatchAt(0).defaultType:null,C={...p.node().attrs};o.delete(p.pos,f.pos);let R=T?[{type:c,attrs:A},{type:T,attrs:C}]:[{type:c,attrs:A}];return!!(0,b.Ax)(o.doc,p.pos,2)&&(a&&a(o.split(p.pos,2,R).scrollIntoView()),!0)}}function I(n,i,o,a){let s=i.node,l=n.doc.resolve(i.start),u=l.node(-1),c=l.index(-1);if(!u||!u.canReplace(c,c+1,g.HY.from(o.create())))return!1;let d=[];for(let p=0;pd;c--)u-=s.child(c).nodeSize,a.delete(u-1,u+1);let p=a.doc.resolve(o.start),f=p.nodeAfter;if(!f||a.mapping.slice(l).map(o.end)!==o.start+f.nodeSize)return!1;let h=0===o.startIndex,m=o.endIndex===s.childCount,y=p.node(-1),v=p.index(-1);if(!y.canReplace(v+(h?0:1),v+1,f.content.append(m?g.HY.empty:g.HY.from(s))))return!1;let w=p.pos,E=w+f.nodeSize;return a.step(new b.FC(w-(h?1:0),E+(m?1:0),w+1,E-1,new g.p2((h?g.HY.empty:g.HY.from(s.copy(g.HY.empty))).append(m?g.HY.empty:g.HY.from(s.copy(g.HY.empty))),h?0:1,m?0:1),h?0:1)),i(a.scrollIntoView()),!0}function P(n,i){let o,a,s,l;let u=i||n.selection.$from,c=[];for(let d=u.depth;d>=0;d--){if(a=u.node(d),o=u.index(d),s=a.maybeChild(o-1),l=a.maybeChild(o),s&&l&&s.type.name===l.type.name&&C(s)){let p=u.before(d+1);c.push(p)}if(o=u.indexAfter(d),s=a.maybeChild(o-1),l=a.maybeChild(o),s&&l&&s.type.name===l.type.name&&C(s)){let f=u.after(d+1);c.push(f)}}c=[...new Set(c)].sort((n,i)=>i-n);let h=!1;for(let m of c)(0,b.Mn)(n.doc,m)&&(n.join(m),h=!0);return h}function F(n){return i=>{let{dispatch:o,tr:a}=i,s=(0,f.Ux)(a,i.state),l=B(n,a.selection);return!!l&&(!o||(L(s,o,l),!0))}}function B(n,i){let{$from:o,$to:a}=i,s=o.blockRange(a,i=>{var o;return(null==(o=i.firstChild)?void 0:o.type)===n});return s}function U(n){let{$from:i,$to:o}=n;return i.blockRange(o,C)}function z(n){let i=n.selection.$from,o=i.blockRange();if(!o||!R(o.parent)||0!==o.startIndex)return!1;let a=i.node(o.depth-2),s=i.index(o.depth),l=i.index(o.depth-1),u=i.index(o.depth-2),c=a.maybeChild(u-1),d=null==c?void 0:c.lastChild;if(0!==s||0!==l)return!1;if(c&&C(c)&&d&&R(d))return M({listType:c.type,itemType:d.type,tr:n});if(R(a)){let p=a,f=i.node(o.depth-3);if(C(f))return M({listType:f.type,itemType:p.type,tr:n})}return!1}function j({view:n}){if(!n)return!1;{let i=n.state.selection.$cursor;if(!i||i.parentOffset>0)return!1;let o=i.blockRange();if(!o||!R(o.parent)||0!==o.startIndex)return!1}{let a=n.state.tr;z(a)&&n.dispatch(a)}{let s=n.state.selection.$cursor;if(!s||s.parentOffset>0)return!1;let l=s.blockRange();if(!l||!R(l.parent)||0!==l.startIndex)return!1;let u=s.index(l.depth),c=s.index(l.depth-1),d=s.index(l.depth-2),p=l.depth-2>=1&&R(s.node(l.depth-2));0===u&&0===c&&d<=1&&p&&w(l.parent.type)(n.state,n.dispatch)}return(0,m.al)(n.state,n.dispatch,n),!0}function $({node:n,mark:i,updateDOM:o,updateMark:a}){let s=document.createElement("label");s.contentEditable="false",s.classList.add(p.MQ.LIST_ITEM_MARKER_CONTAINER),s.append(i);let l=document.createElement("div"),u=document.createElement("li");u.classList.add(p.MQ.LIST_ITEM_WITH_CUSTOM_MARKER),u.append(s),u.append(l);let c=s=>s.type===n.type&&(o(n=s,u),a(n,i),!0);return c(n),{dom:u,contentDOM:l,update:c}}function H(n,i){let o=n.node(i.depth-1),a=n.node(i.depth-2);return!!(R(o)&&C(a))&&{parentItem:o,parentList:a}}function V(n,i){let o=i.parent,a=i.parent.child(i.endIndex-1),s=i.end,l=i.$to.end(i.depth);return s!!W(n)&&(null==i||i(n.scrollIntoView()),!0);function Y(n,i,o){let a,s,l,u;let c=i.doc;if(o.startIndex>=1){a=n.child(o.startIndex-1),s=n,l=(u=c.resolve(o.start).start(o.depth))+1;for(let d=0;d=1))return!1;{let f=i.node(o.depth-1),h=i.start(o.depth-1);if(!C(s=f.child(p-1)))return!1;u=h+1;for(let m=0;m=o.depth+2?i.end(o.depth+2):o.end-1,c=o.end;return u+1>=c?(a=n.slice(l,c),s=null):(a=n.slice(l,u),s=n.slice(u+1,c-1)),{selectedSlice:a,unselectedSlice:s}}function X(n){let{$from:i,$to:o}=n.selection,a=U(n.selection);if(!a)return!1;let s=n.doc.resolve(a.start).node();if(!C(s))return!1;let l=Y(s,i,a);if(!l)return!1;let{previousItem:u,previousList:c,previousItemStart:p}=l,{selectedSlice:f,unselectedSlice:h}=Z(n.doc,o,a),m=u.content.append(g.HY.fromArray([s.copy(f.content)])).append(h?h.content:g.HY.empty);n.deleteRange(a.start,a.end);let b=p+u.nodeSize-2,y=u.copy(m);return y.check(),n.replaceRangeWith(p-1,b+1,y),n.setSelection(c===s?d.Bs.between(n.doc.resolve(i.pos),n.doc.resolve(o.pos)):d.Bs.between(n.doc.resolve(i.pos-2),n.doc.resolve(o.pos-2))),!0}var J=({tr:n,dispatch:i})=>!!X(n)&&(null==i||i(n.scrollIntoView()),!0),Q=class extends a.nNj{get name(){return"listItemShared"}createKeymap(){let n={Tab:J,"Shift-Tab":K,Backspace:j,"Mod-Backspace":j};if(h.NZ.isMac){let i={"Ctrl-h":n.Backspace,"Alt-Backspace":n["Mod-Backspace"]};return{...n,...i}}return n}createPlugin(){return{appendTransaction(n,i,o){let a=o.tr,s=P(a);return s?a:null}}}},ee=class extends a.QR{get name(){return"listItem"}createTags(){return[s.eX.ListItemNode]}createNodeSpec(n,i){return{content:"paragraph block*",defining:!0,draggable:!1,...i,attrs:{...n.defaults(),closed:{default:!1},nested:{default:!1}},parseDOM:[{tag:"li",getAttrs:n.parse,priority:s.xV.Lowest},...i.parseDOM??[]],toDOM(i){let o=n.dom(i);return["li",o,0]}}}createNodeViews(){return this.options.enableCollapsible?(n,i,o)=>{let a=document.createElement("div");return a.classList.add(p.MQ.COLLAPSIBLE_LIST_ITEM_BUTTON),a.contentEditable="false",a.addEventListener("click",()=>{if(a.classList.contains("disabled"))return;let n=o(),s=d.qv.create(i.state.doc,n);return i.dispatch(i.state.tr.setSelection(s)),this.store.commands.toggleListItemClosed(),!0}),$({mark:a,node:n,updateDOM:et,updateMark:en})}:{}}createKeymap(){return{Enter:O(this.type)}}createExtensions(){return[new Q]}toggleListItemClosed(n){return({state:{tr:i,selection:o},dispatch:a})=>{if(!(0,h.EG)(o)||o.node.type.name!==this.name)return!1;let{node:s,from:u}=o;return n=(0,l.jn)(n)?n:!s.attrs.closed,null==a||a(i.setNodeMarkup(u,void 0,{...s.attrs,closed:n})),!0}}liftListItemOutOfList(n){return F(n??this.type)}};function et(n,i){n.attrs.closed?i.classList.add(p.MQ.COLLAPSIBLE_LIST_ITEM_CLOSED):i.classList.remove(p.MQ.COLLAPSIBLE_LIST_ITEM_CLOSED)}function en(n,i){n.childCount<=1?i.classList.add("disabled"):i.classList.remove("disabled")}k([(0,a.WDe)()],ee.prototype,"toggleListItemClosed",1),k([(0,a.WDe)()],ee.prototype,"liftListItemOutOfList",1),ee=k([(0,a.AOx)({defaultOptions:{enableCollapsible:!1},staticKeys:["enableCollapsible"]})],ee);var er=class extends a.QR{get name(){return"bulletList"}createTags(){return[s.eX.Block,s.eX.ListContainerNode]}createNodeSpec(n,i){return{content:"listItem+",...i,attrs:n.defaults(),parseDOM:[{tag:"ul",getAttrs:n.parse},...i.parseDOM??[]],toDOM:i=>["ul",n.dom(i),0]}}createNodeViews(){return this.options.enableSpine?(n,i,o)=>{var a;let s=document.createElement("div");s.style.position="relative";let l=o(),u=i.state.doc.resolve(l+1),c=u.node(u.depth-1),f=(null==(a=null==c?void 0:c.type)?void 0:a.name)!=="listItem";if(!f){let h=document.createElement("div");h.contentEditable="false",h.classList.add(p.MQ.LIST_SPINE),h.addEventListener("click",n=>{let a=o(),s=i.state.doc.resolve(a+1),l=s.start(s.depth-1),u=d.qv.create(i.state.doc,l-1);i.dispatch(i.state.tr.setSelection(u)),this.store.commands.toggleListItemClosed(),n.preventDefault(),n.stopPropagation()}),s.append(h)}let m=document.createElement("ul");return m.classList.add(p.MQ.UL_LIST_CONTENT),s.append(m),{dom:s,contentDOM:m}}:{}}createExtensions(){return[new ee({priority:s.xV.Low,enableCollapsible:this.options.enableSpine})]}toggleBulletList(){return D(this.type,(0,l.fp)(this.store.schema.nodes,"listItem"))}listShortcut(n){return this.toggleBulletList()(n)}createInputRules(){let n=/^\s*([*+-])\s$/;return[(0,c.S0)(n,this.type),new c.VK(n,(n,i,o,a)=>{let s=n.tr;s.deleteRange(o,a);let u=M({listType:this.type,itemType:(0,l.fp)(this.store.schema.nodes,"listItem"),tr:s});return u?s:null})]}};k([(0,a.WDe)({icon:"listUnordered",label:({t:n})=>n(u.it.BULLET_LIST_LABEL)})],er.prototype,"toggleBulletList",1),k([(0,a.IGC)({shortcut:s.vO.BulletList,command:"toggleBulletList"})],er.prototype,"listShortcut",1),er=k([(0,a.AOx)({defaultOptions:{enableSpine:!1},staticKeys:["enableSpine"]})],er);var ei=class extends a.QR{get name(){return"orderedList"}createTags(){return[s.eX.Block,s.eX.ListContainerNode]}createNodeSpec(n,i){return{content:"listItem+",...i,attrs:{...n.defaults(),order:{default:1}},parseDOM:[{tag:"ol",getAttrs:i=>(0,h.jd)(i)?{...n.parse(i),order:+(i.getAttribute("start")??1)}:{}},...i.parseDOM??[]],toDOM(i){let o=n.dom(i);return 1===i.attrs.order?["ol",o,0]:["ol",{...o,start:i.attrs.order},0]}}}createExtensions(){return[new ee({priority:s.xV.Low})]}toggleOrderedList(){return D(this.type,(0,l.fp)(this.store.schema.nodes,"listItem"))}listShortcut(n){return this.toggleOrderedList()(n)}createInputRules(){let n=/^(\d+)\.\s$/;return[(0,c.S0)(n,this.type,n=>({order:+(0,l.fp)(n,1)}),(n,i)=>i.childCount+i.attrs.order===+(0,l.fp)(n,1)),new c.VK(n,(n,i,o,a)=>{let s=n.tr;s.deleteRange(o,a);let u=M({listType:this.type,itemType:(0,l.fp)(this.store.schema.nodes,"listItem"),tr:s});if(!u)return null;let c=+(0,l.fp)(i,1);if(1!==c){let d=(0,h.Tr)({selection:s.selection,types:this.type});d&&s.setNodeMarkup(d.pos,void 0,{order:c})}return s})]}};k([(0,a.WDe)({icon:"listOrdered",label:({t:n})=>n(u.it.ORDERED_LIST_LABEL)})],ei.prototype,"toggleOrderedList",1),k([(0,a.IGC)({shortcut:s.vO.OrderedList,command:"toggleOrderedList"})],ei.prototype,"listShortcut",1),ei=k([(0,a.AOx)({})],ei);var eo=class extends a.QR{get name(){return"taskListItem"}createTags(){return[s.eX.ListItemNode]}createNodeSpec(n,i){return{content:"paragraph block*",defining:!0,draggable:!1,...i,attrs:{...n.defaults(),checked:{default:!1}},parseDOM:[{tag:"li[data-task-list-item]",getAttrs(i){let o=!1;return(0,h.jd)(i)&&null!==i.getAttribute("data-checked")&&(o=!0),{checked:o,...n.parse(i)}},priority:s.xV.Medium},...i.parseDOM??[]],toDOM:i=>["li",{...n.dom(i),"data-task-list-item":"","data-checked":i.attrs.checked?"":void 0},0]}}createNodeViews(){return(n,i,o)=>{let a=document.createElement("input");return a.type="checkbox",a.classList.add(p.MQ.LIST_ITEM_CHECKBOX),a.contentEditable="false",a.addEventListener("click",n=>{i.editable||n.preventDefault()}),a.addEventListener("change",()=>{let n=o(),a=i.state.doc.resolve(n+1);this.store.commands.toggleCheckboxChecked({$pos:a})}),a.checked=n.attrs.checked,$({node:n,mark:a,updateDOM:ea,updateMark:es})}}createKeymap(){return{Enter:O(this.type)}}createExtensions(){return[new Q]}toggleCheckboxChecked(n){let i,o;return"boolean"==typeof n?i=n:n&&(i=n.checked,o=n.$pos),({tr:n,dispatch:a})=>{let s=(0,h.Tr)({selection:o??n.selection.$from,types:this.type});if(!s)return!1;let{node:l,pos:u}=s,c={...l.attrs,checked:i??!l.attrs.checked};return null==a||a(n.setNodeMarkup(u,void 0,c)),!0}}createInputRules(){let n=/^\s*(\[( ?|x|X)]\s)$/;return[(0,c.S0)(n,this.type,n=>({checked:["x","X"].includes((0,h.FI)(n,2))})),new c.VK(n,(n,i,o,a)=>{let s=n.tr;s.deleteRange(o,a);let u=M({listType:(0,l.fp)(this.store.schema.nodes,"taskList"),itemType:this.type,tr:s});if(!u)return null;let c=["x","X"].includes((0,h.FI)(i,2));if(c){let d=(0,h.Tr)({selection:s.selection,types:this.type});d&&s.setNodeMarkup(d.pos,void 0,{checked:c})}return s})]}};function ea(n,i){n.attrs.checked?i.setAttribute("data-checked",""):i.removeAttribute("data-checked"),i.setAttribute("data-task-list-item","")}function es(n,i){i.checked=!!n.attrs.checked}k([(0,a.WDe)()],eo.prototype,"toggleCheckboxChecked",1);var el=class extends a.QR{get name(){return"taskList"}createTags(){return[s.eX.Block,s.eX.ListContainerNode]}createNodeSpec(n,i){return{content:"taskListItem+",...i,attrs:n.defaults(),parseDOM:[{tag:"ul[data-task-list]",getAttrs:n.parse,priority:s.xV.Medium},...i.parseDOM??[]],toDOM:i=>["ul",{...n.dom(i),"data-task-list":""},0]}}createExtensions(){return[new eo({})]}toggleTaskList(){return D(this.type,(0,l.fp)(this.store.schema.nodes,"taskListItem"))}listShortcut(n){return this.toggleTaskList()(n)}};k([(0,a.WDe)({icon:"checkboxMultipleLine",label:({t:n})=>n(u.it.TASK_LIST_LABEL)})],el.prototype,"toggleTaskList",1),k([(0,a.IGC)({shortcut:s.vO.TaskList,command:"toggleTaskList"})],el.prototype,"listShortcut",1)},81373:function(n,i,o){"use strict";o.d(i,{g:function(){return e4}});var a,s=o(44573),l=o(378),u=o(12806);function c(n){for(var i=1;i0&&"\n"===n[i-1];)i--;return n.substring(0,i)}var h=["ADDRESS","ARTICLE","ASIDE","AUDIO","BLOCKQUOTE","BODY","CANVAS","CENTER","DD","DIR","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","FRAMESET","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","HTML","ISINDEX","LI","MAIN","MENU","NAV","NOFRAMES","NOSCRIPT","OL","OUTPUT","P","PRE","SECTION","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","UL"];function m(n){return S(n,h)}var g=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"];function b(n){return S(n,g)}function y(n){return x(n,g)}var v=["A","TABLE","THEAD","TBODY","TFOOT","TH","TD","IFRAME","SCRIPT","AUDIO","VIDEO"];function w(n){return S(n,v)}function E(n){return x(n,v)}function S(n,i){return i.indexOf(n.nodeName)>=0}function x(n,i){return n.getElementsByTagName&&i.some(function(i){return n.getElementsByTagName(i).length})}var _={};function k(n){return n?n.replace(/(\n+\s*)+/g,"\n"):""}function A(n){for(var i in this.options=n,this._keep=[],this._remove=[],this.blankRule={replacement:n.blankReplacement},this.keepReplacement=n.keepReplacement,this.defaultRule={replacement:n.defaultReplacement},this.array=[],n.rules)this.array.push(n.rules[i])}function T(n,i,o){for(var a=0;a-1)return!0}else if("function"==typeof a){if(a.call(n,i,o))return!0}else throw TypeError("`filter` needs to be a string, array, or function")}function R(n){var i=n.element,o=n.isBlock,a=n.isVoid,s=n.isPre||function(n){return"PRE"===n.nodeName};if(!(!i.firstChild||s(i))){for(var l=null,u=!1,c=null,d=O(c,i,s);d!==i;){if(3===d.nodeType||4===d.nodeType){var p=d.data.replace(/[ \r\n\t]+/g," ");if((!l||/ $/.test(l.data))&&!u&&" "===p[0]&&(p=p.substr(1)),!p){d=D(d);continue}d.data=p,l=d}else if(1===d.nodeType)o(d)||"BR"===d.nodeName?(l&&(l.data=l.data.replace(/ $/,"")),l=null,u=!1):a(d)||s(d)?(l=null,u=!0):l&&(u=!1);else{d=D(d);continue}var f=O(c,d,s);c=d,d=f}l&&(l.data=l.data.replace(/ $/,""),l.data||D(l))}}function D(n){var i=n.nextSibling||n.parentNode;return n.parentNode.removeChild(n),i}function O(n,i,o){return n&&n.parentNode===i||o(i)?i.nextSibling||i.parentNode:i.firstChild||i.nextSibling||i.parentNode}_.paragraph={filter:"p",replacement:function(n){return"\n\n"+n+"\n\n"}},_.lineBreak={filter:"br",replacement:function(n,i,o){return o.br+"\n"}},_.heading={filter:["h1","h2","h3","h4","h5","h6"],replacement:function(n,i,o){var a=Number(i.nodeName.charAt(1));if("setext"!==o.headingStyle||!(a<3))return"\n\n"+d("#",a)+" "+n+"\n\n";var s=d(1===a?"=":"-",n.length);return"\n\n"+n+"\n"+s+"\n\n"}},_.blockquote={filter:"blockquote",replacement:function(n){return"\n\n"+(n=(n=n.replace(/^\n+|\n+$/g,"")).replace(/^/gm,"> "))+"\n\n"}},_.list={filter:["ul","ol"],replacement:function(n,i){var o=i.parentNode;return"LI"===o.nodeName&&o.lastElementChild===i?"\n"+n:"\n\n"+n+"\n\n"}},_.listItem={filter:"li",replacement:function(n,i,o){n=n.replace(/^\n+/,"").replace(/\n+$/,"\n").replace(/\n/gm,"\n ");var a=o.bulletListMarker+" ",s=i.parentNode;if("OL"===s.nodeName){var l=s.getAttribute("start"),u=Array.prototype.indexOf.call(s.children,i);a=(l?Number(l)+u:u+1)+". "}return a+n+(i.nextSibling&&!/\n$/.test(n)?"\n":"")}},_.indentedCodeBlock={filter:function(n,i){return"indented"===i.codeBlockStyle&&"PRE"===n.nodeName&&n.firstChild&&"CODE"===n.firstChild.nodeName},replacement:function(n,i,o){return"\n\n "+i.firstChild.textContent.replace(/\n/g,"\n ")+"\n\n"}},_.fencedCodeBlock={filter:function(n,i){return"fenced"===i.codeBlockStyle&&"PRE"===n.nodeName&&n.firstChild&&"CODE"===n.firstChild.nodeName},replacement:function(n,i,o){for(var a,s=((i.firstChild.getAttribute("class")||"").match(/language-(\S+)/)||[null,""])[1],l=i.firstChild.textContent,u=o.fence.charAt(0),c=3,p=RegExp("^"+u+"{3,}","gm");a=p.exec(l);)a[0].length>=c&&(c=a[0].length+1);var f=d(u,c);return"\n\n"+f+s+"\n"+l.replace(/\n$/,"")+"\n"+f+"\n\n"}},_.horizontalRule={filter:"hr",replacement:function(n,i,o){return"\n\n"+o.hr+"\n\n"}},_.inlineLink={filter:function(n,i){return"inlined"===i.linkStyle&&"A"===n.nodeName&&n.getAttribute("href")},replacement:function(n,i){var o=i.getAttribute("href"),a=k(i.getAttribute("title"));return a&&(a=' "'+a+'"'),"["+n+"]("+o+a+")"}},_.referenceLink={filter:function(n,i){return"referenced"===i.linkStyle&&"A"===n.nodeName&&n.getAttribute("href")},replacement:function(n,i,o){var a,s,l=i.getAttribute("href"),u=k(i.getAttribute("title"));switch(u&&(u=' "'+u+'"'),o.linkReferenceStyle){case"collapsed":a="["+n+"][]",s="["+n+"]: "+l+u;break;case"shortcut":a="["+n+"]",s="["+n+"]: "+l+u;break;default:var c=this.references.length+1;a="["+n+"]["+c+"]",s="["+c+"]: "+l+u}return this.references.push(s),a},references:[],append:function(n){var i="";return this.references.length&&(i="\n\n"+this.references.join("\n")+"\n\n",this.references=[]),i}},_.emphasis={filter:["em","i"],replacement:function(n,i,o){return n.trim()?o.emDelimiter+n+o.emDelimiter:""}},_.strong={filter:["strong","b"],replacement:function(n,i,o){return n.trim()?o.strongDelimiter+n+o.strongDelimiter:""}},_.code={filter:function(n){var i=n.previousSibling||n.nextSibling,o="PRE"===n.parentNode.nodeName&&!i;return"CODE"===n.nodeName&&!o},replacement:function(n){if(!n)return"";n=n.replace(/\r?\n|\r/g," ");for(var i=/^`|^ .*?[^ ].* $|`$/.test(n)?" ":"",o="`",a=n.match(/`+/gm)||[];-1!==a.indexOf(o);)o+="`";return o+i+n+i+o}},_.image={filter:"img",replacement:function(n,i){var o=k(i.getAttribute("alt")),a=i.getAttribute("src")||"",s=k(i.getAttribute("title")),l=s?' "'+s+'"':"";return a?"!["+o+"]("+a+l+")":""}},A.prototype={add:function(n,i){this.array.unshift(i)},keep:function(n){this._keep.unshift({filter:n,replacement:this.keepReplacement})},remove:function(n){this._remove.unshift({filter:n,replacement:function(){return""}})},forNode:function(n){var i;return n.isBlank?this.blankRule:(i=T(this.array,n,this.options))||(i=T(this._keep,n,this.options))||(i=T(this._remove,n,this.options))?i:this.defaultRule},forEach:function(n){for(var i=0;i'+n+"","text/html").getElementById("turndown-root"):n.cloneNode(!0),isBlock:m,isVoid:b,isPre:i.preformattedCode?B:null}),o}function F(){return a=a||new L}function B(n){return"PRE"===n.nodeName||"CODE"===n.nodeName}function U(n,i){return n.isBlock=m(n),n.isCode="CODE"===n.nodeName||n.parentNode.isCode,n.isBlank=z(n),n.flankingWhitespace=j(n,i),n}function z(n){return!b(n)&&!w(n)&&/^\s*$/i.test(n.textContent)&&!y(n)&&!E(n)}function j(n,i){if(n.isBlock||i.preformattedCode&&n.isCode)return{leading:"",trailing:""};var o=$(n.textContent);return o.leadingAscii&&H("left",n,i)&&(o.leading=o.leadingNonAscii),o.trailingAscii&&H("right",n,i)&&(o.trailing=o.trailingNonAscii),{leading:o.leading,trailing:o.trailing}}function $(n){var i=n.match(/^(([ \t\r\n]*)(\s*))(?:(?=\S)[\s\S]*\S)?((\s*?)([ \t\r\n]*))$/);return{leading:i[1],leadingAscii:i[2],leadingNonAscii:i[3],trailing:i[4],trailingNonAscii:i[5],trailingAscii:i[6]}}function H(n,i,o){var a,s,l;return"left"===n?(a=i.previousSibling,s=/ $/):(a=i.nextSibling,s=/^ /),a&&(3===a.nodeType?l=s.test(a.nodeValue):o.preformattedCode&&"CODE"===a.nodeName?l=!1:1!==a.nodeType||m(a)||(l=s.test(a.textContent))),l}var V=Array.prototype.reduce,G=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];function q(n){if(!(this instanceof q))return new q(n);var i={rules:_,headingStyle:"setext",hr:"* * *",bulletListMarker:"*",codeBlockStyle:"indented",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",br:" ",preformattedCode:!1,blankReplacement:function(n,i){return i.isBlock?"\n\n":""},keepReplacement:function(n,i){return i.isBlock?"\n\n"+i.outerHTML+"\n\n":i.outerHTML},defaultReplacement:function(n,i){return i.isBlock?"\n\n"+n+"\n\n":n}};this.options=c({},i,n),this.rules=new A(this.options)}function W(n){var i=this;return V.call(n.childNodes,function(n,o){o=new U(o,i.options);var a="";return 3===o.nodeType?a=o.isCode?o.nodeValue:i.escape(o.nodeValue):1===o.nodeType&&(a=Y.call(i,o)),Z(n,a)},"")}function K(n){var i=this;return this.rules.forEach(function(o){"function"==typeof o.append&&(n=Z(n,o.append(i.options)))}),n.replace(/^[\t\r\n]+/,"").replace(/[\t\r\n\s]+$/,"")}function Y(n){var i=this.rules.forNode(n),o=W.call(this,n),a=n.flankingWhitespace;return(a.leading||a.trailing)&&(o=o.trim()),a.leading+i.replacement(o,n,this.options)+a.trailing}function Z(n,i){var o=f(n),a=p(i),s=Math.max(n.length-o.length,i.length-a.length);return o+"\n\n".substring(0,s)+a}function X(n){return null!=n&&("string"==typeof n||n.nodeType&&(1===n.nodeType||9===n.nodeType||11===n.nodeType))}q.prototype={turndown:function(n){if(!X(n))throw TypeError(n+" is not a string, or an element/document/fragment node.");return""===n?"":K.call(this,W.call(this,new P(n,this.options)))},use:function(n){if(Array.isArray(n))for(var i=0;i"']/,eo=RegExp(ei.source,"g"),ea=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,es=RegExp(ea.source,"g"),el={"&":"&","<":"<",">":">",'"':""","'":"'"},eu=n=>el[n];function ec(n,i){if(i){if(ei.test(n))return n.replace(eo,eu)}else if(ea.test(n))return n.replace(es,eu);return n}let ed=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function ep(n){return n.replace(ed,(n,i)=>"colon"===(i=i.toLowerCase())?":":"#"===i.charAt(0)?"x"===i.charAt(1)?String.fromCharCode(parseInt(i.substring(2),16)):String.fromCharCode(+i.substring(1)):"")}let ef=/(^|[^\[])\^/g;function eh(n,i){n="string"==typeof n?n:n.source,i=i||"";let o={replace:(i,a)=>(a=(a=a.source||a).replace(ef,"$1"),n=n.replace(i,a),o),getRegex:()=>RegExp(n,i)};return o}let em=/[^\w:]/g,eg=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function eb(n,i,o){if(n){let a;try{a=decodeURIComponent(ep(o)).replace(em,"").toLowerCase()}catch(s){return null}if(0===a.indexOf("javascript:")||0===a.indexOf("vbscript:")||0===a.indexOf("data:"))return null}i&&!eg.test(o)&&(o=eS(i,o));try{o=encodeURI(o).replace(/%25/g,"%")}catch(l){return null}return o}let ey={},ev=/^[^:]+:\/*[^/]*$/,ew=/^([^:]+:)[\s\S]*$/,eE=/^([^:]+:\/*[^/]*)[\s\S]*$/;function eS(n,i){ey[" "+n]||(ev.test(n)?ey[" "+n]=n+"/":ey[" "+n]=ek(n,"/",!0)),n=ey[" "+n];let o=-1===n.indexOf(":");return"//"===i.substring(0,2)?o?i:n.replace(ew,"$1")+i:"/"!==i.charAt(0)?n+i:o?i:n.replace(eE,"$1")+i}let ex={exec:function(){}};function e_(n,i){let o=n.replace(/\|/g,(n,i,o)=>{let a=!1,s=i;for(;--s>=0&&"\\"===o[s];)a=!a;return a?"|":" |"}),a=o.split(/ \|/),s=0;if(a[0].trim()||a.shift(),a.length>0&&!a[a.length-1].trim()&&a.pop(),a.length>i)a.splice(i);else for(;a.length1;)1&i&&(o+=n),i>>=1,n+=n;return o+n}function eR(n,i,o,a){let s=i.href,l=i.title?ec(i.title):null,u=n[1].replace(/\\([\[\]])/g,"$1");if("!"!==n[0].charAt(0)){a.state.inLink=!0;let c={type:"link",raw:o,href:s,title:l,text:u,tokens:a.inlineTokens(u)};return a.state.inLink=!1,c}return{type:"image",raw:o,href:s,title:l,text:ec(u)}}function eD(n,i){let o=n.match(/^(\s+)(?:```)/);if(null===o)return i;let a=o[1];return i.split("\n").map(n=>{let i=n.match(/^\s+/);if(null===i)return n;let[o]=i;return o.length>=a.length?n.slice(a.length):n}).join("\n")}class eO{constructor(n){this.options=n||en}space(n){let i=this.rules.block.newline.exec(n);if(i&&i[0].length>0)return{type:"space",raw:i[0]}}code(n){let i=this.rules.block.code.exec(n);if(i){let o=i[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:i[0],codeBlockStyle:"indented",text:this.options.pedantic?o:ek(o,"\n")}}}fences(n){let i=this.rules.block.fences.exec(n);if(i){let o=i[0],a=eD(o,i[3]||"");return{type:"code",raw:o,lang:i[2]?i[2].trim().replace(this.rules.inline._escapes,"$1"):i[2],text:a}}}heading(n){let i=this.rules.block.heading.exec(n);if(i){let o=i[2].trim();if(/#$/.test(o)){let a=ek(o,"#");this.options.pedantic?o=a.trim():(!a||/ $/.test(a))&&(o=a.trim())}return{type:"heading",raw:i[0],depth:i[1].length,text:o,tokens:this.lexer.inline(o)}}}hr(n){let i=this.rules.block.hr.exec(n);if(i)return{type:"hr",raw:i[0]}}blockquote(n){let i=this.rules.block.blockquote.exec(n);if(i){let o=i[0].replace(/^ *>[ \t]?/gm,""),a=this.lexer.state.top;this.lexer.state.top=!0;let s=this.lexer.blockTokens(o);return this.lexer.state.top=a,{type:"blockquote",raw:i[0],tokens:s,text:o}}}list(n){let i=this.rules.block.list.exec(n);if(i){let o,a,s,l,u,c,d,p,f,h,m,g;let b=i[1].trim(),y=b.length>1,v={type:"list",raw:"",ordered:y,start:y?+b.slice(0,-1):"",loose:!1,items:[]};b=y?`\\d{1,9}\\${b.slice(-1)}`:`\\${b}`,this.options.pedantic&&(b=y?b:"[*+-]");let w=RegExp(`^( {0,3}${b})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;n&&(g=!1,!(!(i=w.exec(n))||this.rules.block.hr.test(n)));){if(o=i[0],n=n.substring(o.length),p=i[2].split("\n",1)[0].replace(/^\t+/,n=>" ".repeat(3*n.length)),f=n.split("\n",1)[0],this.options.pedantic?(l=2,m=p.trimLeft()):(l=(l=i[2].search(/[^ ]/))>4?1:l,m=p.slice(l),l+=i[1].length),c=!1,!p&&/^ *$/.test(f)&&(o+=f+"\n",n=n.substring(f.length+1),g=!0),!g){let E=RegExp(`^ {0,${Math.min(3,l-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),S=RegExp(`^ {0,${Math.min(3,l-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),x=RegExp(`^ {0,${Math.min(3,l-1)}}(?:\`\`\`|~~~)`),_=RegExp(`^ {0,${Math.min(3,l-1)}}#`);for(;n&&(f=h=n.split("\n",1)[0],this.options.pedantic&&(f=f.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(x.test(f)||_.test(f)||E.test(f)||S.test(n)));){if(f.search(/[^ ]/)>=l||!f.trim())m+="\n"+f.slice(l);else{if(c||p.search(/[^ ]/)>=4||x.test(p)||_.test(p)||S.test(p))break;m+="\n"+f}c||f.trim()||(c=!0),o+=h+"\n",n=n.substring(h.length+1),p=f.slice(l)}}!v.loose&&(d?v.loose=!0:/\n *\n *$/.test(o)&&(d=!0)),this.options.gfm&&(a=/^\[[ xX]\] /.exec(m))&&(s="[ ] "!==a[0],m=m.replace(/^\[[ xX]\] +/,"")),v.items.push({type:"list_item",raw:o,task:!!a,checked:s,loose:!1,text:m}),v.raw+=o}v.items[v.items.length-1].raw=o.trimRight(),v.items[v.items.length-1].text=m.trimRight(),v.raw=v.raw.trimRight();let k=v.items.length;for(u=0;u"space"===n.type),T=A.length>0&&A.some(n=>/\n.*\n/.test(n.raw));v.loose=T}if(v.loose)for(u=0;u$/,"$1").replace(this.rules.inline._escapes,"$1"):"",s=i[3]?i[3].substring(1,i[3].length-1).replace(this.rules.inline._escapes,"$1"):i[3];return{type:"def",tag:o,raw:i[0],href:a,title:s}}}table(n){let i=this.rules.block.table.exec(n);if(i){let o={type:"table",header:e_(i[1]).map(n=>({text:n})),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:i[3]&&i[3].trim()?i[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(o.header.length===o.align.length){let a,s,l,u;o.raw=i[0];let c=o.align.length;for(a=0;a({text:n}));for(s=0,c=o.header.length;s/i.test(i[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(i[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(i[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:i[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):ec(i[0]):i[0]}}link(n){let i=this.rules.inline.link.exec(n);if(i){let o=i[2].trim();if(!this.options.pedantic&&/^$/.test(o))return;let a=ek(o.slice(0,-1),"\\");if((o.length-a.length)%2==0)return}else{let s=eA(i[2],"()");if(s>-1){let l=0===i[0].indexOf("!")?5:4,u=l+i[1].length+s;i[2]=i[2].substring(0,s),i[0]=i[0].substring(0,u).trim(),i[3]=""}}let c=i[2],d="";if(this.options.pedantic){let p=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(c);p&&(c=p[1],d=p[3])}else d=i[3]?i[3].slice(1,-1):"";return c=c.trim(),/^$/.test(o)?c.slice(1):c.slice(1,-1)),eR(i,{href:c?c.replace(this.rules.inline._escapes,"$1"):c,title:d?d.replace(this.rules.inline._escapes,"$1"):d},i[0],this.lexer)}}reflink(n,i){let o;if((o=this.rules.inline.reflink.exec(n))||(o=this.rules.inline.nolink.exec(n))){let a=(o[2]||o[1]).replace(/\s+/g," ");if(!(a=i[a.toLowerCase()])){let s=o[0].charAt(0);return{type:"text",raw:s,text:s}}return eR(o,a,o[0],this.lexer)}}emStrong(n,i,o=""){let a=this.rules.inline.emStrong.lDelim.exec(n);if(!a||a[3]&&o.match(/[\p{L}\p{N}]/u))return;let s=a[1]||a[2]||"";if(!s||s&&(""===o||this.rules.inline.punctuation.exec(o))){let l=a[0].length-1,u,c,d=l,p=0,f="*"===a[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(f.lastIndex=0,i=i.slice(-1*n.length+l);null!=(a=f.exec(i));){if(!(u=a[1]||a[2]||a[3]||a[4]||a[5]||a[6]))continue;if(c=u.length,a[3]||a[4]){d+=c;continue}if((a[5]||a[6])&&l%3&&!((l+c)%3)){p+=c;continue}if((d-=c)>0)continue;c=Math.min(c,c+d+p);let h=n.slice(0,l+a.index+(a[0].length-u.length)+c);if(Math.min(l,c)%2){let m=h.slice(1,-1);return{type:"em",raw:h,text:m,tokens:this.lexer.inlineTokens(m)}}let g=h.slice(2,-2);return{type:"strong",raw:h,text:g,tokens:this.lexer.inlineTokens(g)}}}}codespan(n){let i=this.rules.inline.code.exec(n);if(i){let o=i[2].replace(/\n/g," "),a=/[^ ]/.test(o),s=/^ /.test(o)&&/ $/.test(o);return a&&s&&(o=o.substring(1,o.length-1)),o=ec(o,!0),{type:"codespan",raw:i[0],text:o}}}br(n){let i=this.rules.inline.br.exec(n);if(i)return{type:"br",raw:i[0]}}del(n){let i=this.rules.inline.del.exec(n);if(i)return{type:"del",raw:i[0],text:i[2],tokens:this.lexer.inlineTokens(i[2])}}autolink(n,i){let o=this.rules.inline.autolink.exec(n);if(o){let a,s;return s="@"===o[2]?"mailto:"+(a=ec(this.options.mangle?i(o[1]):o[1])):a=ec(o[1]),{type:"link",raw:o[0],text:a,href:s,tokens:[{type:"text",raw:a,text:a}]}}}url(n,i){let o;if(o=this.rules.inline.url.exec(n)){let a,s;if("@"===o[2])s="mailto:"+(a=ec(this.options.mangle?i(o[0]):o[0]));else{let l;do l=o[0],o[0]=this.rules.inline._backpedal.exec(o[0])[0];while(l!==o[0]);a=ec(o[0]),s="www."===o[1]?"http://"+o[0]:o[0]}return{type:"link",raw:o[0],text:a,href:s,tokens:[{type:"text",raw:a,text:a}]}}}inlineText(n,i){let o=this.rules.inline.text.exec(n);if(o){let a;return a=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):ec(o[0]):o[0]:ec(this.options.smartypants?i(o[0]):o[0]),{type:"text",raw:o[0],text:a}}}}let eI={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:ex,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};eI._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,eI._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,eI.def=eh(eI.def).replace("label",eI._label).replace("title",eI._title).getRegex(),eI.bullet=/(?:[*+-]|\d{1,9}[.)])/,eI.listItemStart=eh(/^( *)(bull) */).replace("bull",eI.bullet).getRegex(),eI.list=eh(eI.list).replace(/bull/g,eI.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+eI.def.source+")").getRegex(),eI._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",eI._comment=/|$)/,eI.html=eh(eI.html,"i").replace("comment",eI._comment).replace("tag",eI._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),eI.paragraph=eh(eI._paragraph).replace("hr",eI.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",eI._tag).getRegex(),eI.blockquote=eh(eI.blockquote).replace("paragraph",eI.paragraph).getRegex(),eI.normal={...eI},eI.gfm={...eI.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},eI.gfm.table=eh(eI.gfm.table).replace("hr",eI.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",eI._tag).getRegex(),eI.gfm.paragraph=eh(eI._paragraph).replace("hr",eI.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",eI.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",eI._tag).getRegex(),eI.pedantic={...eI.normal,html:eh("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",eI._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:ex,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:eh(eI.normal._paragraph).replace("hr",eI.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",eI.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};let eN={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:ex,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:ex,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(a="x"+a.toString(16)),i+="&#"+a+";";return i}eN._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",eN.punctuation=eh(eN.punctuation).replace(/punctuation/g,eN._punctuation).getRegex(),eN.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,eN.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,eN._comment=eh(eI._comment).replace("(?:-->|$)","-->").getRegex(),eN.emStrong.lDelim=eh(eN.emStrong.lDelim).replace(/punct/g,eN._punctuation).getRegex(),eN.emStrong.rDelimAst=eh(eN.emStrong.rDelimAst,"g").replace(/punct/g,eN._punctuation).getRegex(),eN.emStrong.rDelimUnd=eh(eN.emStrong.rDelimUnd,"g").replace(/punct/g,eN._punctuation).getRegex(),eN._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,eN._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,eN._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,eN.autolink=eh(eN.autolink).replace("scheme",eN._scheme).replace("email",eN._email).getRegex(),eN._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,eN.tag=eh(eN.tag).replace("comment",eN._comment).replace("attribute",eN._attribute).getRegex(),eN._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,eN._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,eN._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,eN.link=eh(eN.link).replace("label",eN._label).replace("href",eN._href).replace("title",eN._title).getRegex(),eN.reflink=eh(eN.reflink).replace("label",eN._label).replace("ref",eI._label).getRegex(),eN.nolink=eh(eN.nolink).replace("ref",eI._label).getRegex(),eN.reflinkSearch=eh(eN.reflinkSearch,"g").replace("reflink",eN.reflink).replace("nolink",eN.nolink).getRegex(),eN.normal={...eN},eN.pedantic={...eN.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:eh(/^!?\[(label)\]\((.*?)\)/).replace("label",eN._label).getRegex(),reflink:eh(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",eN._label).getRegex()},eN.gfm={...eN.normal,escape:eh(eN.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\i+" ".repeat(o.length));n;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>!!(o=a.call({lexer:this},n,i))&&(n=n.substring(o.raw.length),i.push(o),!0)))){if(o=this.tokenizer.space(n)){n=n.substring(o.raw.length),1===o.raw.length&&i.length>0?i[i.length-1].raw+="\n":i.push(o);continue}if(o=this.tokenizer.code(n)){n=n.substring(o.raw.length),(a=i[i.length-1])&&("paragraph"===a.type||"text"===a.type)?(a.raw+="\n"+o.raw,a.text+="\n"+o.text,this.inlineQueue[this.inlineQueue.length-1].src=a.text):i.push(o);continue}if((o=this.tokenizer.fences(n))||(o=this.tokenizer.heading(n))||(o=this.tokenizer.hr(n))||(o=this.tokenizer.blockquote(n))||(o=this.tokenizer.list(n))||(o=this.tokenizer.html(n))){n=n.substring(o.raw.length),i.push(o);continue}if(o=this.tokenizer.def(n)){n=n.substring(o.raw.length),(a=i[i.length-1])&&("paragraph"===a.type||"text"===a.type)?(a.raw+="\n"+o.raw,a.text+="\n"+o.raw,this.inlineQueue[this.inlineQueue.length-1].src=a.text):this.tokens.links[o.tag]||(this.tokens.links[o.tag]={href:o.href,title:o.title});continue}if((o=this.tokenizer.table(n))||(o=this.tokenizer.lheading(n))){n=n.substring(o.raw.length),i.push(o);continue}if(s=n,this.options.extensions&&this.options.extensions.startBlock){let u,c=1/0,d=n.slice(1);this.options.extensions.startBlock.forEach(function(n){"number"==typeof(u=n.call({lexer:this},d))&&u>=0&&(c=Math.min(c,u))}),c<1/0&&c>=0&&(s=n.substring(0,c+1))}if(this.state.top&&(o=this.tokenizer.paragraph(s))){a=i[i.length-1],l&&"paragraph"===a.type?(a.raw+="\n"+o.raw,a.text+="\n"+o.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=a.text):i.push(o),l=s.length!==n.length,n=n.substring(o.raw.length);continue}if(o=this.tokenizer.text(n)){n=n.substring(o.raw.length),(a=i[i.length-1])&&"text"===a.type?(a.raw+="\n"+o.raw,a.text+="\n"+o.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=a.text):i.push(o);continue}if(n){let p="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(p);break}throw Error(p)}}return this.state.top=!0,i}inline(n,i=[]){return this.inlineQueue.push({src:n,tokens:i}),i}inlineTokens(n,i=[]){let o,a,s,l,u,c;let d=n;if(this.tokens.links){let p=Object.keys(this.tokens.links);if(p.length>0)for(;null!=(l=this.tokenizer.rules.inline.reflinkSearch.exec(d));)p.includes(l[0].slice(l[0].lastIndexOf("[")+1,-1))&&(d=d.slice(0,l.index)+"["+eC("a",l[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(l=this.tokenizer.rules.inline.blockSkip.exec(d));)d=d.slice(0,l.index)+"["+eC("a",l[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(l=this.tokenizer.rules.inline.escapedEmSt.exec(d));)d=d.slice(0,l.index+l[0].length-2)+"++"+d.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;n;)if(u||(c=""),u=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(a=>!!(o=a.call({lexer:this},n,i))&&(n=n.substring(o.raw.length),i.push(o),!0)))){if(o=this.tokenizer.escape(n)){n=n.substring(o.raw.length),i.push(o);continue}if(o=this.tokenizer.tag(n)){n=n.substring(o.raw.length),(a=i[i.length-1])&&"text"===o.type&&"text"===a.type?(a.raw+=o.raw,a.text+=o.text):i.push(o);continue}if(o=this.tokenizer.link(n)){n=n.substring(o.raw.length),i.push(o);continue}if(o=this.tokenizer.reflink(n,this.tokens.links)){n=n.substring(o.raw.length),(a=i[i.length-1])&&"text"===o.type&&"text"===a.type?(a.raw+=o.raw,a.text+=o.text):i.push(o);continue}if((o=this.tokenizer.emStrong(n,d,c))||(o=this.tokenizer.codespan(n))||(o=this.tokenizer.br(n))||(o=this.tokenizer.del(n))||(o=this.tokenizer.autolink(n,eL))||!this.state.inLink&&(o=this.tokenizer.url(n,eL))){n=n.substring(o.raw.length),i.push(o);continue}if(s=n,this.options.extensions&&this.options.extensions.startInline){let f,h=1/0,m=n.slice(1);this.options.extensions.startInline.forEach(function(n){"number"==typeof(f=n.call({lexer:this},m))&&f>=0&&(h=Math.min(h,f))}),h<1/0&&h>=0&&(s=n.substring(0,h+1))}if(o=this.tokenizer.inlineText(s,eM)){n=n.substring(o.raw.length),"_"!==o.raw.slice(-1)&&(c=o.raw.slice(-1)),u=!0,(a=i[i.length-1])&&"text"===a.type?(a.raw+=o.raw,a.text+=o.text):i.push(o);continue}if(n){let g="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(g);break}throw Error(g)}}return i}}class eF{constructor(n){this.options=n||en}code(n,i,o){let a=(i||"").match(/\S*/)[0];if(this.options.highlight){let s=this.options.highlight(n,a);null!=s&&s!==n&&(o=!0,n=s)}return(n=n.replace(/\n$/,"")+"\n",a)?'
'+(o?n:ec(n,!0))+"
\n":"
"+(o?n:ec(n,!0))+"
\n"}blockquote(n){return`
${n}
`}html(n){return n}heading(n,i,o,a){if(this.options.headerIds){let s=this.options.headerPrefix+a.slug(o);return`${n} `}return`${n} @@ -663,4 +663,4 @@ ${n} animation-iteration-count: infinite; animation-delay: 200ms; } -`),oK.rippleVisible,o3,o1,({theme:n})=>n.transitions.easing.easeInOut,oK.ripplePulsate,({theme:n})=>n.transitions.duration.shorter,oK.child,oK.childLeaving,o5,o1,({theme:n})=>n.transitions.easing.easeInOut,oK.childPulsate,o4,({theme:n})=>n.transitions.easing.easeInOut),o9=f.forwardRef(function(n,i){let o=nP({props:n,name:"MuiTouchRipple"}),{center:a=!1,classes:s={},className:l}=o,u=(0,m.Z)(o,oY),[c,d]=f.useState([]),p=f.useRef(0),h=f.useRef(null);f.useEffect(()=>{h.current&&(h.current(),h.current=null)},[c]);let b=f.useRef(!1),v=f.useRef(0),w=f.useRef(null),E=f.useRef(null);f.useEffect(()=>()=>{v.current&&clearTimeout(v.current)},[]);let S=f.useCallback(n=>{let{pulsate:i,rippleX:o,rippleY:a,rippleSize:l,cb:u}=n;d(n=>[...n,(0,n3.jsx)(o8,{classes:{ripple:y(s.ripple,oK.ripple),rippleVisible:y(s.rippleVisible,oK.rippleVisible),ripplePulsate:y(s.ripplePulsate,oK.ripplePulsate),child:y(s.child,oK.child),childLeaving:y(s.childLeaving,oK.childLeaving),childPulsate:y(s.childPulsate,oK.childPulsate)},timeout:o1,pulsate:i,rippleX:o,rippleY:a,rippleSize:l},p.current)]),p.current+=1,h.current=u},[s]),x=f.useCallback((n={},i={},o=()=>{})=>{let s,l,u;let{pulsate:c=!1,center:d=a||i.pulsate,fakeElement:p=!1}=i;if((null==n?void 0:n.type)==="mousedown"&&b.current){b.current=!1;return}(null==n?void 0:n.type)==="touchstart"&&(b.current=!0);let f=p?null:E.current,h=f?f.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(!d&&void 0!==n&&(0!==n.clientX||0!==n.clientY)&&(n.clientX||n.touches)){let{clientX:m,clientY:g}=n.touches&&n.touches.length>0?n.touches[0]:n;s=Math.round(m-h.left),l=Math.round(g-h.top)}else s=Math.round(h.width/2),l=Math.round(h.height/2);if(d)(u=Math.sqrt((2*h.width**2+h.height**2)/3))%2==0&&(u+=1);else{let y=2*Math.max(Math.abs((f?f.clientWidth:0)-s),s)+2,x=2*Math.max(Math.abs((f?f.clientHeight:0)-l),l)+2;u=Math.sqrt(y**2+x**2)}null!=n&&n.touches?null===w.current&&(w.current=()=>{S({pulsate:c,rippleX:s,rippleY:l,rippleSize:u,cb:o})},v.current=setTimeout(()=>{w.current&&(w.current(),w.current=null)},o2)):S({pulsate:c,rippleX:s,rippleY:l,rippleSize:u,cb:o})},[a,S]),_=f.useCallback(()=>{x({},{pulsate:!0})},[x]),k=f.useCallback((n,i)=>{if(clearTimeout(v.current),(null==n?void 0:n.type)==="touchend"&&w.current){w.current(),w.current=null,v.current=setTimeout(()=>{k(n,i)});return}w.current=null,d(n=>n.length>0?n.slice(1):n),h.current=i},[]);return f.useImperativeHandle(i,()=>({pulsate:_,start:x,stop:k}),[_,x,k]),(0,n3.jsx)(o6,(0,g.Z)({className:y(oK.root,s.root,l),ref:E},u,{children:(0,n3.jsx)(oH,{component:null,exit:!0,children:c})}))});var o7=o9;function ae(n){return iO("MuiButtonBase",n)}let at=iI("MuiButtonBase",["root","disabled","focusVisible"]);var an=at;let ar=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],ai=n=>{let{disabled:i,focusVisible:o,focusVisibleClassName:a,classes:s}=n,l={root:["root",i&&"disabled",o&&"focusVisible"]},u=v(l,ae,s);return o&&a&&(u.root+=` ${a}`),u},ao=nT("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(n,i)=>i.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${an.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),aa=f.forwardRef(function(n,i){let o=nP({props:n,name:"MuiButtonBase"}),{action:a,centerRipple:s=!1,children:l,className:u,component:c="button",disabled:d=!1,disableRipple:p=!1,disableTouchRipple:h=!1,focusRipple:b=!1,LinkComponent:v="a",onBlur:w,onClick:E,onContextMenu:S,onDragLeave:x,onFocus:_,onFocusVisible:k,onKeyDown:A,onKeyUp:T,onMouseDown:C,onMouseLeave:R,onMouseUp:D,onTouchEnd:O,onTouchMove:I,onTouchStart:N,tabIndex:M=0,TouchRippleProps:L,touchRippleRef:P,type:F}=o,B=(0,m.Z)(o,ar),U=f.useRef(null),z=f.useRef(null),j=n2(z,P),{isFocusVisibleRef:$,onFocus:H,onBlur:V,ref:G}=oa(),[q,W]=f.useState(!1);d&&q&&W(!1),f.useImperativeHandle(a,()=>({focusVisible(){W(!0),U.current.focus()}}),[]);let[K,Y]=f.useState(!1);f.useEffect(()=>{Y(!0)},[]);let Z=K&&!p&&!d;function X(n,i,o=h){return i2(a=>{i&&i(a);let s=o;return!s&&z.current&&z.current[n](a),!0})}f.useEffect(()=>{q&&b&&!p&&K&&z.current.pulsate()},[p,b,q,K]);let J=X("start",C),Q=X("stop",S),ee=X("stop",x),et=X("stop",D),en=X("stop",n=>{q&&n.preventDefault(),R&&R(n)}),er=X("start",N),ei=X("stop",O),eo=X("stop",I),ea=X("stop",n=>{V(n),!1===$.current&&W(!1),w&&w(n)},!1),es=i2(n=>{U.current||(U.current=n.currentTarget),H(n),!0===$.current&&(W(!0),k&&k(n)),_&&_(n)}),el=()=>{let n=U.current;return c&&"button"!==c&&!("A"===n.tagName&&n.href)},eu=f.useRef(!1),ec=i2(n=>{b&&!eu.current&&q&&z.current&&" "===n.key&&(eu.current=!0,z.current.stop(n,()=>{z.current.start(n)})),n.target===n.currentTarget&&el()&&" "===n.key&&n.preventDefault(),A&&A(n),n.target===n.currentTarget&&el()&&"Enter"===n.key&&!d&&(n.preventDefault(),E&&E(n))}),ed=i2(n=>{b&&" "===n.key&&z.current&&q&&!n.defaultPrevented&&(eu.current=!1,z.current.stop(n,()=>{z.current.pulsate(n)})),T&&T(n),E&&n.target===n.currentTarget&&el()&&" "===n.key&&!n.defaultPrevented&&E(n)}),ep=c;"button"===ep&&(B.href||B.to)&&(ep=v);let ef={};"button"===ep?(ef.type=void 0===F?"button":F,ef.disabled=d):(B.href||B.to||(ef.role="button"),d&&(ef["aria-disabled"]=d));let eh=n2(i,G,U),em=(0,g.Z)({},o,{centerRipple:s,component:c,disabled:d,disableRipple:p,disableTouchRipple:h,focusRipple:b,tabIndex:M,focusVisible:q}),eg=ai(em);return(0,n3.jsxs)(ao,(0,g.Z)({as:ep,className:y(eg.root,u),ownerState:em,onBlur:ea,onClick:E,onContextMenu:Q,onFocus:es,onKeyDown:ec,onKeyUp:ed,onMouseDown:J,onMouseLeave:en,onMouseUp:et,onDragLeave:ee,onTouchEnd:ei,onTouchMove:eo,onTouchStart:er,ref:eh,tabIndex:d?-1:M,type:F},ef,B,{children:[l,Z?(0,n3.jsx)(o7,(0,g.Z)({ref:j,center:s},L)):null]}))});var as=aa;function al(n){return iO("MuiToggleButton",n)}let au=iI("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]);var ac=au;let ad=["children","className","color","disabled","disableFocusRipple","fullWidth","onChange","onClick","selected","size","value"],ap=n=>{let{classes:i,fullWidth:o,selected:a,disabled:s,size:l,color:u}=n,c={root:["root",a&&"selected",s&&"disabled",o&&"fullWidth",`size${nF(l)}`,u]};return v(c,al,i)},af=nT(as,{name:"MuiToggleButton",slot:"Root",overridesResolver(n,i){let{ownerState:o}=n;return[i.root,i[`size${nF(o.size)}`]]}})(({theme:n,ownerState:i})=>{let o,a="standard"===i.color?n.palette.text.primary:n.palette[i.color].main;return n.vars&&(a="standard"===i.color?n.vars.palette.text.primary:n.vars.palette[i.color].main,o="standard"===i.color?n.vars.palette.text.primaryChannel:n.vars.palette[i.color].mainChannel),(0,g.Z)({},n.typography.button,{borderRadius:(n.vars||n).shape.borderRadius,padding:11,border:`1px solid ${(n.vars||n).palette.divider}`,color:(n.vars||n).palette.action.active},i.fullWidth&&{width:"100%"},{[`&.${ac.disabled}`]:{color:(n.vars||n).palette.action.disabled,border:`1px solid ${(n.vars||n).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:n.vars?`rgba(${n.vars.palette.text.primaryChannel} / ${n.vars.palette.action.hoverOpacity})`:D(n.palette.text.primary,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ac.selected}`]:{color:a,backgroundColor:n.vars?`rgba(${o} / ${n.vars.palette.action.selectedOpacity})`:D(a,n.palette.action.selectedOpacity),"&:hover":{backgroundColor:n.vars?`rgba(${o} / calc(${n.vars.palette.action.selectedOpacity} + ${n.vars.palette.action.hoverOpacity}))`:D(a,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?`rgba(${o} / ${n.vars.palette.action.selectedOpacity})`:D(a,n.palette.action.selectedOpacity)}}}},"small"===i.size&&{padding:7,fontSize:n.typography.pxToRem(13)},"large"===i.size&&{padding:15,fontSize:n.typography.pxToRem(15)})}),ah=f.forwardRef(function(n,i){let o=nP({props:n,name:"MuiToggleButton"}),{children:a,className:s,color:l="standard",disabled:u=!1,disableFocusRipple:c=!1,fullWidth:d=!1,onChange:p,onClick:f,selected:h,size:b="medium",value:v}=o,w=(0,m.Z)(o,ad),E=(0,g.Z)({},o,{color:l,disabled:u,disableFocusRipple:c,fullWidth:d,size:b}),S=ap(E),x=n=>{f&&(f(n,v),n.defaultPrevented)||!p||p(n,v)};return(0,n3.jsx)(af,(0,g.Z)({className:y(S.root,s),disabled:u,focusRipple:!c,ref:i,onClick:x,onChange:p,value:v,ownerState:E,"aria-pressed":h},w,{children:a}))});var am=ah,ag=o(57555),ab=o(93282),ay=o(27398);let av=n=>{let i=f.useRef({});return f.useEffect(()=>{i.current=n}),i.current};var aw=av;function aE(n){let{badgeContent:i,invisible:o=!1,max:a=99,showZero:s=!1}=n,l=aw({badgeContent:i,max:a}),u=o;!1!==o||0!==i||s||(u=!0);let{badgeContent:c,max:d=a}=u?l:n,p=c&&Number(c)>d?`${d}+`:c;return{badgeContent:c,invisible:u,max:d,displayValue:p}}function aS(n){return iO("MuiBadge",n)}let ax=iI("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]);var a_=ax;let ak=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],aA=10,aT=4,aC=n=>{let{color:i,anchorOrigin:o,invisible:a,overlap:s,variant:l,classes:u={}}=n,c={root:["root"],badge:["badge",l,a&&"invisible",`anchorOrigin${nF(o.vertical)}${nF(o.horizontal)}`,`anchorOrigin${nF(o.vertical)}${nF(o.horizontal)}${nF(s)}`,`overlap${nF(s)}`,"default"!==i&&`color${nF(i)}`]};return v(c,aS,u)},aR=nT("span",{name:"MuiBadge",slot:"Root",overridesResolver:(n,i)=>i.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),aD=nT("span",{name:"MuiBadge",slot:"Badge",overridesResolver(n,i){let{ownerState:o}=n;return[i.badge,i[o.variant],i[`anchorOrigin${nF(o.anchorOrigin.vertical)}${nF(o.anchorOrigin.horizontal)}${nF(o.overlap)}`],"default"!==o.color&&i[`color${nF(o.color)}`],o.invisible&&i.invisible]}})(({theme:n,ownerState:i})=>(0,g.Z)({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:n.typography.fontFamily,fontWeight:n.typography.fontWeightMedium,fontSize:n.typography.pxToRem(12),minWidth:2*aA,lineHeight:1,padding:"0 6px",height:2*aA,borderRadius:aA,zIndex:1,transition:n.transitions.create("transform",{easing:n.transitions.easing.easeInOut,duration:n.transitions.duration.enteringScreen})},"default"!==i.color&&{backgroundColor:(n.vars||n).palette[i.color].main,color:(n.vars||n).palette[i.color].contrastText},"dot"===i.variant&&{borderRadius:aT,height:2*aT,minWidth:2*aT,padding:0},"top"===i.anchorOrigin.vertical&&"right"===i.anchorOrigin.horizontal&&"rectangular"===i.overlap&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${a_.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===i.anchorOrigin.vertical&&"right"===i.anchorOrigin.horizontal&&"rectangular"===i.overlap&&{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${a_.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===i.anchorOrigin.vertical&&"left"===i.anchorOrigin.horizontal&&"rectangular"===i.overlap&&{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${a_.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===i.anchorOrigin.vertical&&"left"===i.anchorOrigin.horizontal&&"rectangular"===i.overlap&&{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${a_.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},"top"===i.anchorOrigin.vertical&&"right"===i.anchorOrigin.horizontal&&"circular"===i.overlap&&{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${a_.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===i.anchorOrigin.vertical&&"right"===i.anchorOrigin.horizontal&&"circular"===i.overlap&&{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${a_.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===i.anchorOrigin.vertical&&"left"===i.anchorOrigin.horizontal&&"circular"===i.overlap&&{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${a_.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===i.anchorOrigin.vertical&&"left"===i.anchorOrigin.horizontal&&"circular"===i.overlap&&{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${a_.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},i.invisible&&{transition:n.transitions.create("transform",{easing:n.transitions.easing.easeInOut,duration:n.transitions.duration.leavingScreen})})),aO=f.forwardRef(function(n,i){var o,a,s,l,u,c;let d=nP({props:n,name:"MuiBadge"}),{anchorOrigin:p={vertical:"top",horizontal:"right"},className:f,component:h,components:b={},componentsProps:v={},children:w,overlap:E="rectangular",color:S="default",invisible:x=!1,max:_=99,badgeContent:k,slots:A,slotProps:T,showZero:C=!1,variant:R="standard"}=d,D=(0,m.Z)(d,ak),{badgeContent:O,invisible:I,max:N,displayValue:M}=aE({max:_,invisible:x,badgeContent:k,showZero:C}),L=aw({anchorOrigin:p,color:S,overlap:E,variant:R,badgeContent:k}),P=I||null==O&&"dot"!==R,{color:F=S,overlap:B=E,anchorOrigin:U=p,variant:z=R}=P?L:d,j="dot"!==z?M:void 0,$=(0,g.Z)({},d,{badgeContent:O,invisible:P,max:N,displayValue:j,showZero:C,anchorOrigin:U,color:F,overlap:B,variant:z}),H=aC($),V=null!=(o=null!=(a=null==A?void 0:A.root)?a:b.Root)?o:aR,G=null!=(s=null!=(l=null==A?void 0:A.badge)?l:b.Badge)?s:aD,q=null!=(u=null==T?void 0:T.root)?u:v.root,W=null!=(c=null==T?void 0:T.badge)?c:v.badge,K=iU({elementType:V,externalSlotProps:q,externalForwardedProps:D,additionalProps:{ref:i,as:h},ownerState:$,className:y(null==q?void 0:q.className,H.root,f)}),Y=iU({elementType:G,externalSlotProps:W,ownerState:$,className:y(H.badge,null==W?void 0:W.className)});return(0,n3.jsxs)(V,(0,g.Z)({},K,{children:[w,(0,n3.jsx)(G,(0,g.Z)({},Y,{children:j}))]}))});var aI=aO,aN=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5 15v2c0 1.054.95 2 2 2h3v2H7a4 4 0 0 1-4-4v-2h2zm13-5l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16 10h2zm-1 2.885L15.753 16h2.492L17 12.885zM3 3h6a3 3 0 0 1 2.235 5A3 3 0 0 1 9 13H3V3zm6 6H5v2h4a1 1 0 0 0 0-2zm8-6a4 4 0 0 1 4 4v2h-2V7a2 2 0 0 0-2-2h-3V3h3zM9 5H5v2h4a1 1 0 1 0 0-2z"}}],aM=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z"}}],aL=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z"}}],aP=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M12.866 3l9.526 16.5a1 1 0 0 1-.866 1.5H2.474a1 1 0 0 1-.866-1.5L11.134 3a1 1 0 0 1 1.732 0zm-8.66 16h15.588L12 5.5 4.206 19zM11 16h2v2h-2v-2zm0-7h2v5h-2V9z"}}],aF=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 19h18v2H3v-2zm5-6h3l-4 4-4-4h3V3h2v10zm10 0h3l-4 4-4-4h3V3h2v10z"}}],aB=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 4h18v2H3V4zm2 15h14v2H5v-2zm-2-5h18v2H3v-2zm2-5h14v2H5V9z"}}],aU=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 4h18v2H3V4zm0 15h18v2H3v-2zm0-5h18v2H3v-2zm0-5h18v2H3V9z"}}],az=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 4h18v2H3V4zm0 15h14v2H3v-2zm0-5h18v2H3v-2zm0-5h14v2H3V9z"}}],aj=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 4h18v2H3V4zm4 15h14v2H7v-2zm-4-5h18v2H3v-2zm4-5h14v2H7V9z"}}],a$=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 3h18v2H3V3zm5 8v10H6V11H3l4-4 4 4H8zm10 0v10h-2V11h-3l4-4 4 4h-3z"}}],aH=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 11h18v2H3v-2zm15 7v3h-2v-3h-3l4-4 4 4h-3zM8 18v3H6v-3H3l4-4 4 4H8zM18 6h3l-4 4-4-4h3V3h2v3zM8 6h3l-4 4-4-4h3V3h2v3z"}}],aV=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M6.75 2.5A4.25 4.25 0 0 1 11 6.75V11H6.75a4.25 4.25 0 1 1 0-8.5zM9 9V6.75A2.25 2.25 0 1 0 6.75 9H9zm-2.25 4H11v4.25A4.25 4.25 0 1 1 6.75 13zm0 2A2.25 2.25 0 1 0 9 17.25V15H6.75zm10.5-12.5a4.25 4.25 0 1 1 0 8.5H13V6.75a4.25 4.25 0 0 1 4.25-4.25zm0 6.5A2.25 2.25 0 1 0 15 6.75V9h2.25zM13 13h4.25A4.25 4.25 0 1 1 13 17.25V13zm2 2v2.25A2.25 2.25 0 1 0 17.25 15H15z"}}],aG=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 16l-6-6h12z"}}],aq=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 7v4L2 6l6-5v4h5a8 8 0 1 1 0 16H4v-2h9a6 6 0 1 0 0-12H8z"}}],aW=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16 7h-5a6 6 0 1 0 0 12h9v2h-9a8 8 0 1 1 0-16h5V1l6 5-6 5V7z"}}],aK=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 12l6-6v12z"}}],aY=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16 12l-6 6V6z"}}],aZ=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 8l6 6H6z"}}],aX=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M13 3v7.267l6.294-3.633 1 1.732-6.293 3.633 6.293 3.635-1 1.732L13 13.732V21h-2v-7.268l-6.294 3.634-1-1.732L9.999 12 3.706 8.366l1-1.732L11 10.267V3z"}}],aJ=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M14.828 7.757l-5.656 5.657a1 1 0 1 0 1.414 1.414l5.657-5.656A3 3 0 1 0 12 4.929l-5.657 5.657a5 5 0 1 0 7.071 7.07L19.071 12l1.414 1.414-5.657 5.657a7 7 0 1 1-9.9-9.9l5.658-5.656a5 5 0 0 1 7.07 7.07L12 16.244A3 3 0 1 1 7.757 12l5.657-5.657 1.414 1.414z"}}],aQ=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 11h4.5a2.5 2.5 0 1 0 0-5H8v5zm10 4.5a4.5 4.5 0 0 1-4.5 4.5H6V4h6.5a4.5 4.5 0 0 1 3.256 7.606A4.498 4.498 0 0 1 18 15.5zM8 13v5h5.5a2.5 2.5 0 1 0 0-5H8z"}}],a0=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4 18v-3.7a1.5 1.5 0 0 0-1.5-1.5H2v-1.6h.5A1.5 1.5 0 0 0 4 9.7V6a3 3 0 0 1 3-3h1v2H7a1 1 0 0 0-1 1v4.1A2 2 0 0 1 4.626 12 2 2 0 0 1 6 13.9V18a1 1 0 0 0 1 1h1v2H7a3 3 0 0 1-3-3zm16-3.7V18a3 3 0 0 1-3 3h-1v-2h1a1 1 0 0 0 1-1v-4.1a2 2 0 0 1 1.374-1.9A2 2 0 0 1 18 10.1V6a1 1 0 0 0-1-1h-1V3h1a3 3 0 0 1 3 3v3.7a1.5 1.5 0 0 0 1.5 1.5h.5v1.6h-.5a1.5 1.5 0 0 0-1.5 1.5z"}}],a1=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M14 3c.552 0 1 .448 1 1v5h5c.552 0 1 .448 1 1v10c0 .552-.448 1-1 1H10c-.552 0-1-.448-1-1v-5H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h10zm-1 2H5v8h8V5z"}}],a2=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M11 3c.552 0 1 .448 1 1v2h5c.552 0 1 .448 1 1v5h2c.552 0 1 .448 1 1v7c0 .552-.448 1-1 1h-7c-.552 0-1-.448-1-1v-2H7c-.552 0-1-.448-1-1v-5H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h7zm5 5H8v8h8V8z"}}],a3=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M14 3v2H4v13.385L5.763 17H20v-7h2v8a1 1 0 0 1-1 1H6.455L2 22.5V4a1 1 0 0 1 1-1h11zm5 0V0h2v3h3v2h-3v3h-2V5h-3V3h3z"}}],a5=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm-.997-4L6.76 11.757l1.414-1.414 2.829 2.829 5.656-5.657 1.415 1.414L11.003 16z"}}],a4=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M7 7V3a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-4v3.993c0 .556-.449 1.007-1.007 1.007H3.007A1.006 1.006 0 0 1 2 20.993l.003-12.986C2.003 7.451 2.452 7 3.01 7H7zm2 0h6.993C16.549 7 17 7.449 17 8.007V15h3V4H9v3zm6 2H4.003L4 20h11V9zm-6.497 9l-3.536-3.536 1.414-1.414 2.122 2.122 4.242-4.243 1.414 1.414L8.503 18z"}}],a6=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M6 4v4h12V4h2.007c.548 0 .993.445.993.993v16.014a.994.994 0 0 1-.993.993H3.993A.994.994 0 0 1 3 21.007V4.993C3 4.445 3.445 4 3.993 4H6zm2-2h8v4H8V2z"}}],a8=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7 4V2h10v2h3.007c.548 0 .993.445.993.993v16.014a.994.994 0 0 1-.993.993H3.993A.994.994 0 0 1 3 21.007V4.993C3 4.445 3.445 4 3.993 4H7zm0 2H5v14h14V6h-2v2H7V6zm2-2v2h6V4H9z"}}],a9=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm0-9.414l2.828-2.829 1.415 1.415L13.414 12l2.829 2.828-1.415 1.415L12 13.414l-2.828 2.829-1.415-1.415L10.586 12 7.757 9.172l1.415-1.415L12 10.586z"}}],a7=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z"}}],se=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z"}}],st=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M23 12l-7.071 7.071-1.414-1.414L20.172 12l-5.657-5.657 1.414-1.414L23 12zM3.828 12l5.657 5.657-1.414 1.414L1 12l7.071-7.071 1.414 1.414L3.828 12z"}}],sn=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16.95 8.464l1.414-1.414 4.95 4.95-4.95 4.95-1.414-1.414L20.485 12 16.95 8.464zm-9.9 0L3.515 12l3.535 3.536-1.414 1.414L.686 12l4.95-4.95L7.05 8.464z"}}],sr=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17 6h5v2h-2v13a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V8H2V6h5V3a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v3zm-8 5v6h2v-6H9zm4 0v6h2v-6h-2zM9 4v2h6V4H9z"}}],si=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17 6h5v2h-2v13a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V8H2V6h5V3a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v3zm1 2H6v12h12V8zm-9 3h2v6H9v-6zm4 0h2v6h-2v-6zM9 4v2h6V4H9z"}}],so=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M12 3c.552 0 1 .448 1 1v8c.835-.628 1.874-1 3-1 2.761 0 5 2.239 5 5s-2.239 5-5 5c-1.032 0-1.99-.313-2.787-.848L13 20c0 .552-.448 1-1 1H6c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h6zm-1 2H7v14h4V5zm8 10h-6v2h6v-2z"}}],sa=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 5c.552 0 1 .448 1 1v6c0 .552-.448 1-1 1 .628.835 1 1.874 1 3 0 2.761-2.239 5-5 5s-5-2.239-5-5c0-1.126.372-2.165 1-3H4c-.552 0-1-.448-1-1V6c0-.552.448-1 1-1h16zm-7 10v2h6v-2h-6zm6-8H5v4h14V7z"}}],ss=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4.583 17.321C3.553 16.227 3 15 3 13.011c0-3.5 2.457-6.637 6.03-8.188l.893 1.378c-3.335 1.804-3.987 4.145-4.247 5.621.537-.278 1.24-.375 1.929-.311 1.804.167 3.226 1.648 3.226 3.489a3.5 3.5 0 0 1-3.5 3.5c-1.073 0-2.099-.49-2.748-1.179zm10 0C13.553 16.227 13 15 13 13.011c0-3.5 2.457-6.637 6.03-8.188l.893 1.378c-3.335 1.804-3.987 4.145-4.247 5.621.537-.278 1.24-.375 1.929-.311 1.804.167 3.226 1.648 3.226 3.489a3.5 3.5 0 0 1-3.5 3.5c-1.073 0-2.099-.49-2.748-1.179z"}}],sl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19.417 6.679C20.447 7.773 21 9 21 10.989c0 3.5-2.457 6.637-6.03 8.188l-.893-1.378c3.335-1.804 3.987-4.145 4.247-5.621-.537.278-1.24.375-1.929.311-1.804-.167-3.226-1.648-3.226-3.489a3.5 3.5 0 0 1 3.5-3.5c1.073 0 2.099.49 2.748 1.179zm-10 0C10.447 7.773 11 9 11 10.989c0 3.5-2.457 6.637-6.03 8.188l-.893-1.378c3.335-1.804 3.987-4.145 4.247-5.621-.537.278-1.24.375-1.929.311C4.591 12.322 3.17 10.841 3.17 9a3.5 3.5 0 0 1 3.5-3.5c1.073 0 2.099.49 2.748 1.179z"}}],su=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4 19h16v-7h2v8a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-8h2v7zM14 9h5l-7 7-7-7h5V3h4v6z"}}],sc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M16 13l6.964 4.062-2.973.85 2.125 3.681-1.732 1-2.125-3.68-2.223 2.15L16 13zm-2-7h2v2h5a1 1 0 0 1 1 1v4h-2v-3H10v10h4v2H9a1 1 0 0 1-1-1v-5H6v-2h2V9a1 1 0 0 1 1-1h5V6zM4 14v2H2v-2h2zm0-4v2H2v-2h2zm0-4v2H2V6h2zm0-4v2H2V2h2zm4 0v2H6V2h2zm4 0v2h-2V2h2zm4 0v2h-2V2h2z"}}],sd=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 19a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zm-5.5 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zm11 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zM13 2v2h6v2h-1.968a18.222 18.222 0 0 1-3.621 6.302 14.685 14.685 0 0 0 5.327 3.042l-.536 1.93A16.685 16.685 0 0 1 12 13.726a16.696 16.696 0 0 1-6.202 3.547l-.536-1.929a14.7 14.7 0 0 0 5.327-3.042 18.077 18.077 0 0 1-2.822-4.3h2.24A16.031 16.031 0 0 0 12 10.876a16.168 16.168 0 0 0 2.91-4.876L5 6V4h6V2h2z"}}],sp=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 19a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zm-5.5 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zm11 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zM18 3v2H8v4h9v2H8v4h10v2H6V3h12z"}}],sf=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M14 10h2v.757a4.5 4.5 0 0 1 7 3.743V20h-2v-5.5c0-1.43-1.175-2.5-2.5-2.5S16 13.07 16 14.5V20h-2V10zm-2-6v2H4v5h8v2H4v5h8v2H2V4h10z"}}],sh=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm-1-5h2v2h-2v-2zm0-8h2v6h-2V7z"}}],sm=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M10 6v2H5v11h11v-5h2v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm11-3v9l-3.794-3.793-5.999 6-1.414-1.414 5.999-6L12 3h9z"}}],sg=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7 6V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-3v3c0 .552-.45 1-1.007 1H4.007A1.001 1.001 0 0 1 3 21l.003-14c0-.552.45-1 1.007-1H7zM5.003 8L5 20h10V8H5.003zM9 6h8v10h2V4H9v2z"}}],sb=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M6 21.5c-1.933 0-3.5-1.567-3.5-3.5s1.567-3.5 3.5-3.5c1.585 0 2.924 1.054 3.355 2.5H15v-2h2V9.242L14.757 7H9V9H3V3h6v2h5.757L18 1.756 22.243 6 19 9.241V15L21 15v6h-6v-2H9.355c-.43 1.446-1.77 2.5-3.355 2.5zm0-5c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm13 .5h-2v2h2v-2zM18 4.586L16.586 6 18 7.414 19.414 6 18 4.586zM7 5H5v2h2V5z"}}],sy=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15.246 14H8.754l-1.6 4H5l6-15h2l6 15h-2.154l-1.6-4zm-.8-2L12 5.885 9.554 12h4.892zM3 20h18v2H3v-2z"}}],sv=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M10 6v15H8V6H2V4h14v2h-6zm8 8v7h-2v-7h-3v-2h8v2h-3z"}}],sw=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11.246 15H4.754l-2 5H.6L7 4h2l6.4 16h-2.154l-2-5zm-.8-2L8 6.885 5.554 13h4.892zM21 12.535V12h2v8h-2v-.535a4 4 0 1 1 0-6.93zM19 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}}],sE=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12.651 14.065L11.605 20H9.574l1.35-7.661-7.41-7.41L4.93 3.515 20.485 19.07l-1.414 1.414-6.42-6.42zm-.878-6.535l.27-1.53h-1.8l-2-2H20v2h-5.927L13.5 9.257 11.773 7.53z"}}],sS=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18 7h4v2h-6V3h2v4zM8 9H2V7h4V3h2v6zm10 8v4h-2v-6h6v2h-4zM8 15v6H6v-4H2v-2h6z"}}],sx=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 3h2v6h-2V5h-4V3h4zM4 3h4v2H4v4H2V3h2zm16 16v-4h2v6h-6v-2h4zM4 19h4v2H2v-6h2v4z"}}],s_=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5 18l7.68-6L5 6V4h14v2H8.263L16 12l-7.737 6H19v2H5v-2z"}}],sk=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 1v4H4v14h16V3h1.008c.548 0 .992.445.992.993v16.014a1 1 0 0 1-.992.993H2.992A.993.993 0 0 1 2 20.007V3.993A1 1 0 0 1 2.992 3H6V1h2zm4 7l4 4h-3v4h-2v-4H8l4-4zm6-7v4h-8V3h6V1h2z"}}],sA=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M13 20h-2v-7H4v7H2V4h2v7h7V4h2v16zm8-12v12h-2v-9.796l-2 .536V8.67L19.5 8H21z"}}],sT=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M4 4v7h7V4h2v16h-2v-7H4v7H2V4h2zm14.5 4c2.071 0 3.75 1.679 3.75 3.75 0 .857-.288 1.648-.772 2.28l-.148.18L18.034 18H22v2h-7v-1.556l4.82-5.546c.268-.307.43-.709.43-1.148 0-.966-.784-1.75-1.75-1.75-.918 0-1.671.707-1.744 1.606l-.006.144h-2C14.75 9.679 16.429 8 18.5 8z"}}],sC=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M22 8l-.002 2-2.505 2.883c1.59.435 2.757 1.89 2.757 3.617 0 2.071-1.679 3.75-3.75 3.75-1.826 0-3.347-1.305-3.682-3.033l1.964-.382c.156.806.866 1.415 1.718 1.415.966 0 1.75-.784 1.75-1.75s-.784-1.75-1.75-1.75c-.286 0-.556.069-.794.19l-1.307-1.547L19.35 10H15V8h7zM4 4v7h7V4h2v16h-2v-7H4v7H2V4h2z"}}],sR=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M13 20h-2v-7H4v7H2V4h2v7h7V4h2v16zm9-12v8h1.5v2H22v2h-2v-2h-5.5v-1.34l5-8.66H22zm-2 3.133L17.19 16H20v-4.867z"}}],sD=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M22 8v2h-4.323l-.464 2.636c.33-.089.678-.136 1.037-.136 2.21 0 4 1.79 4 4s-1.79 4-4 4c-1.827 0-3.367-1.224-3.846-2.897l1.923-.551c.24.836 1.01 1.448 1.923 1.448 1.105 0 2-.895 2-2s-.895-2-2-2c-.63 0-1.193.292-1.56.748l-1.81-.904L16 8h6zM4 4v7h7V4h2v16h-2v-7H4v7H2V4h2z"}}],sO=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M21.097 8l-2.598 4.5c2.21 0 4.001 1.79 4.001 4s-1.79 4-4 4-4-1.79-4-4c0-.736.199-1.426.546-2.019L18.788 8h2.309zM4 4v7h7V4h2v16h-2v-7H4v7H2V4h2zm14.5 10.5c-1.105 0-2 .895-2 2s.895 2 2 2 2-.895 2-2-.895-2-2-2z"}}],sI=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7.784 14l.42-4H4V8h4.415l.525-5h2.011l-.525 5h3.989l.525-5h2.011l-.525 5H20v2h-3.784l-.42 4H20v2h-4.415l-.525 5h-2.011l.525-5H9.585l-.525 5H7.049l.525-5H4v-2h3.784zm2.011 0h3.99l.42-4h-3.99l-.42 4z"}}],sN=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17 11V4h2v17h-2v-8H7v8H5V4h2v7z"}}],sM=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M21 15v3h3v2h-3v3h-2v-3h-3v-2h3v-3h2zm.008-12c.548 0 .992.445.992.993V13h-2V5H4v13.999L14 9l3 3v2.829l-3-3L6.827 19H14v2H2.992A.993.993 0 0 1 2 20.007V3.993A1 1 0 0 1 2.992 3h18.016zM8 7a2 2 0 1 1 0 4 2 2 0 0 1 0-4z"}}],sL=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 3c.552 0 1 .448 1 1v1.757l-2 2V5H5v8.1l4-4 4.328 4.329-1.415 1.413L9 11.93l-4 3.999V19h10.533l.708.001 1.329-1.33L18.9 19h.1v-2.758l2-2V20c0 .552-.448 1-1 1H4c-.55 0-1-.45-1-1V4c0-.552.448-1 1-1h16zm1.778 4.808l1.414 1.414L15.414 17l-1.416-.002.002-1.412 7.778-7.778zM15.5 7c.828 0 1.5.672 1.5 1.5s-.672 1.5-1.5 1.5S14 9.328 14 8.5 14.672 7 15.5 7z"}}],sP=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4.828 21l-.02.02-.021-.02H2.992A.993.993 0 0 1 2 20.007V3.993A1 1 0 0 1 2.992 3h18.016c.548 0 .992.445.992.993v16.014a1 1 0 0 1-.992.993H4.828zM20 15V5H4v14L14 9l6 6zm0 2.828l-6-6L6.828 19H20v-1.172zM8 11a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}}],sF=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 4h18v2H3V4zm0 15h18v2H3v-2zm8-5h10v2H11v-2zm0-5h10v2H11V9zm-8 3.5L7 9v7l-4-3.5z"}}],sB=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 4h18v2H3V4zm0 15h18v2H3v-2zm8-5h10v2H11v-2zm0-5h10v2H11V9zm-4 3.5L3 16V9l4 3.5z"}}],sU=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zM11 7h2v2h-2V7zm0 4h2v6h-2v-6z"}}],sz=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 21v-2h3V5H8V3h8v2h-3v14h3v2H8zM18.05 7.05L23 12l-4.95 4.95-1.414-1.414L20.172 12l-3.536-3.536L18.05 7.05zm-12.1 0l1.414 1.414L3.828 12l3.536 3.536L5.95 16.95 1 12l4.95-4.95z"}}],sj=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 3c.552 0 1 .448 1 1v16c0 .552-.448 1-1 1h-6c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h6zm-1 2h-4v14h4V5zM6 7c2.761 0 5 2.239 5 5s-2.239 5-5 5-5-2.239-5-5 2.239-5 5-5zm1 2H5v1.999L3 11v2l2-.001V15h2v-2.001L9 13v-2l-2-.001V9z"}}],s$=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M10 3c.552 0 1 .448 1 1v16c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h6zM9 5H5v14h4V5zm9 2c2.761 0 5 2.239 5 5s-2.239 5-5 5-5-2.239-5-5 2.239-5 5-5zm1 2h-2v1.999L15 11v2l2-.001V15h2v-2.001L21 13v-2l-2-.001V9z"}}],sH=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M12 13c2.761 0 5 2.239 5 5s-2.239 5-5 5-5-2.239-5-5 2.239-5 5-5zm1 2h-2v1.999L9 17v2l2-.001V21h2v-2.001L15 19v-2l-2-.001V15zm7-12c.552 0 1 .448 1 1v6c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h16zM5 5v4h14V5H5z"}}],sV=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 13c.552 0 1 .448 1 1v6c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1v-6c0-.552.448-1 1-1h16zm-1 2H5v4h14v-4zM12 1c2.761 0 5 2.239 5 5s-2.239 5-5 5-5-2.239-5-5 2.239-5 5-5zm1 2h-2v1.999L9 5v2l2-.001V9h2V6.999L15 7V5l-2-.001V3z"}}],sG=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15 20H7v-2h2.927l2.116-12H9V4h8v2h-2.927l-2.116 12H15z"}}],sq=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M11 5H5v14h6V5zm2 0v14h6V5h-6zM4 3h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z"}}],sW=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 4h10v2H11V4zM6 7v4H4V7H1l4-4 4 4H6zm0 10h3l-4 4-4-4h3v-4h2v4zm5 1h10v2H11v-2zm-2-7h12v2H9v-2z"}}],sK=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17.657 14.828l-1.414-1.414L17.657 12A4 4 0 1 0 12 6.343l-1.414 1.414-1.414-1.414 1.414-1.414a6 6 0 0 1 8.485 8.485l-1.414 1.414zm-2.829 2.829l-1.414 1.414a6 6 0 1 1-8.485-8.485l1.414-1.414 1.414 1.414L6.343 12A4 4 0 1 0 12 17.657l1.414-1.414 1.414 1.414zm0-9.9l1.415 1.415-7.071 7.07-1.415-1.414 7.071-7.07z"}}],sY=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17.657 14.828l-1.414-1.414L17.657 12A4 4 0 1 0 12 6.343l-1.414 1.414-1.414-1.414 1.414-1.414a6 6 0 0 1 8.485 8.485l-1.414 1.414zm-2.829 2.829l-1.414 1.414a6 6 0 1 1-8.485-8.485l1.414-1.414 1.414 1.414L6.343 12A4 4 0 1 0 12 17.657l1.414-1.414 1.414 1.414zm0-9.9l1.415 1.415-7.071 7.07-1.415-1.414 7.071-7.07zM5.775 2.293l1.932-.518L8.742 5.64l-1.931.518-1.036-3.864zm9.483 16.068l1.931-.518 1.036 3.864-1.932.518-1.035-3.864zM2.293 5.775l3.864 1.036-.518 1.931-3.864-1.035.518-1.932zm16.068 9.483l3.864 1.035-.518 1.932-3.864-1.036.518-1.931z"}}],sZ=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17 17h5v2h-3v3h-2v-5zM7 7H2V5h3V2h2v5zm11.364 8.536L16.95 14.12l1.414-1.414a5 5 0 1 0-7.071-7.071L9.879 7.05 8.464 5.636 9.88 4.222a7 7 0 0 1 9.9 9.9l-1.415 1.414zm-2.828 2.828l-1.415 1.414a7 7 0 0 1-9.9-9.9l1.415-1.414L7.05 9.88l-1.414 1.414a5 5 0 1 0 7.071 7.071l1.414-1.414 1.415 1.414zm-.708-10.607l1.415 1.415-7.071 7.07-1.415-1.414 7.071-7.07z"}}],sX=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18.364 15.536L16.95 14.12l1.414-1.414a5 5 0 1 0-7.071-7.071L9.879 7.05 8.464 5.636 9.88 4.222a7 7 0 0 1 9.9 9.9l-1.415 1.414zm-2.828 2.828l-1.415 1.414a7 7 0 0 1-9.9-9.9l1.415-1.414L7.05 9.88l-1.414 1.414a5 5 0 1 0 7.071 7.071l1.414-1.414 1.415 1.414zm-.708-10.607l1.415 1.415-7.071 7.07-1.415-1.414 7.071-7.07z"}}],sJ=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 4h10v2H11V4zm0 4h6v2h-6V8zm0 6h10v2H11v-2zm0 4h6v2h-6v-2zM3 4h6v6H3V4zm2 2v2h2V6H5zm-2 8h6v6H3v-6zm2 2v2h2v-2H5z"}}],sQ=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 4h13v2H8V4zm-5-.5h3v3H3v-3zm0 7h3v3H3v-3zm0 7h3v3H3v-3zM8 11h13v2H8v-2zm0 7h13v2H8v-2z"}}],s0=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 4h13v2H8V4zM5 3v3h1v1H3V6h1V4H3V3h2zM3 14v-2.5h2V11H3v-1h3v2.5H4v.5h2v1H3zm2 5.5H3v-1h2V18H3v-1h3v4H3v-1h2v-.5zM8 11h13v2H8v-2zm0 7h13v2H8v-2z"}}],s1=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 4h13v2H8V4zM4.5 6.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0 6.9a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zM8 11h13v2H8v-2zm0 7h13v2H8v-2z"}}],s2=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15.243 4.515l-6.738 6.737-.707 2.121-1.04 1.041 2.828 2.829 1.04-1.041 2.122-.707 6.737-6.738-4.242-4.242zm6.364 3.535a1 1 0 0 1 0 1.414l-7.779 7.779-2.12.707-1.415 1.414a1 1 0 0 1-1.414 0l-4.243-4.243a1 1 0 0 1 0-1.414l1.414-1.414.707-2.121 7.779-7.779a1 1 0 0 1 1.414 0l5.657 5.657zm-6.364-.707l1.414 1.414-4.95 4.95-1.414-1.414 4.95-4.95zM4.283 16.89l2.828 2.829-1.414 1.414-4.243-1.414 2.828-2.829z"}}],s3=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm4 12.5v-4l2 2 2-2v4h2v-7h-2l-2 2-2-2H5v7h2zm11-3v-4h-2v4h-2l3 3 3-3h-2z"}}],s5=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm1 2v14h16V5H4zm3 10.5H5v-7h2l2 2 2-2h2v7h-2v-4l-2 2-2-2v4zm11-3h2l-3 3-3-3h2v-4h2v4z"}}],s4=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 3c.552 0 1 .448 1 1v16c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h16zm-9 2H5v5.999h2V9l3 3-3 3v-2H5v6h6v-2h2v2h6v-6h-2v2l-3-3 3-3v1.999h2V5h-6v2h-2V5zm2 8v2h-2v-2h2zm0-4v2h-2V9h2z"}}],s6=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M21 20c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h16c.552 0 1 .448 1 1v16zm-2-9V5h-5.999v2H15l-3 3-3-3h2V5H5v6h2v2H5v6h6v-2H9l3-3 3 3h-1.999v2H19v-6h-2v-2h2zm-8 2H9v-2h2v2zm4 0h-2v-2h2v2z"}}],s8=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M18 3c1.657 0 3 1.343 3 3s-1.343 3-3 3h-3c-1.306 0-2.417-.834-2.829-2H11c-1.1 0-2 .9-2 2v.171c1.166.412 2 1.523 2 2.829 0 1.306-.834 2.417-2 2.829V15c0 1.1.9 2 2 2h1.17c.412-1.165 1.524-2 2.83-2h3c1.657 0 3 1.343 3 3s-1.343 3-3 3h-3c-1.306 0-2.417-.834-2.829-2H11c-2.21 0-4-1.79-4-4H5c-1.657 0-3-1.343-3-3s1.343-3 3-3h2c0-2.21 1.79-4 4-4h1.17c.412-1.165 1.524-2 2.83-2h3zm0 14h-3c-.552 0-1 .448-1 1s.448 1 1 1h3c.552 0 1-.448 1-1s-.448-1-1-1zM8 11H5c-.552 0-1 .448-1 1s.448 1 1 1h3c.552 0 1-.448 1-1s-.448-1-1-1zm10-6h-3c-.552 0-1 .448-1 1s.448 1 1 1h3c.552 0 1-.448 1-1s-.448-1-1-1z"}}],s9=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm14 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}}],s7=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M10 2c.552 0 1 .448 1 1v4c0 .552-.448 1-1 1H8v2h5V9c0-.552.448-1 1-1h6c.552 0 1 .448 1 1v4c0 .552-.448 1-1 1h-6c-.552 0-1-.448-1-1v-1H8v6h5v-1c0-.552.448-1 1-1h6c.552 0 1 .448 1 1v4c0 .552-.448 1-1 1h-6c-.552 0-1-.448-1-1v-1H7c-.552 0-1-.448-1-1V8H4c-.552 0-1-.448-1-1V3c0-.552.448-1 1-1h6zm9 16h-4v2h4v-2zm0-8h-4v2h4v-2zM9 4H5v2h4V4z"}}],le=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 1.5c1.321 0 2.484.348 3.447.994.963.645 1.726 1.588 2.249 2.778.522 1.19.804 2.625.804 4.257v4.942c0 1.632-.282 3.068-.804 4.257-.523 1.19-1.286 2.133-2.25 2.778-.962.646-2.125.994-3.446.994-1.321 0-2.484-.348-3.447-.994-.963-.645-1.726-1.588-2.249-2.778-.522-1.19-.804-2.625-.804-4.257V9.529c0-1.632.282-3.068.804-4.257.523-1.19 1.286-2.133 2.25-2.778C9.515 1.848 10.678 1.5 12 1.5zm0 2c-.916 0-1.694.226-2.333.655-.637.427-1.158 1.07-1.532 1.92-.412.94-.635 2.108-.635 3.454v4.942c0 1.346.223 2.514.635 3.453.374.851.895 1.494 1.532 1.921.639.429 1.417.655 2.333.655.916 0 1.694-.226 2.333-.655.637-.427 1.158-1.07 1.532-1.92.412-.94.635-2.108.635-3.454V9.529c0-1.346-.223-2.514-.635-3.453-.374-.851-.895-1.494-1.532-1.921C13.694 3.726 12.916 3.5 12 3.5z"}}],lt=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M14 1.5V22h-2V3.704L7.5 4.91V2.839l5-1.339z"}}],ln=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16 7.5a4 4 0 1 0-8 0H6a6 6 0 1 1 10.663 3.776l-7.32 8.723L18 20v2H6v-1.127l9.064-10.802A3.982 3.982 0 0 0 16 7.5z"}}],lr=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18 2v1.362L12.809 9.55a6.501 6.501 0 1 1-7.116 8.028l1.94-.486A4.502 4.502 0 0 0 16.5 16a4.5 4.5 0 0 0-6.505-4.03l-.228.122-.69-1.207L14.855 4 6.5 4V2H18z"}}],li=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16 1.5V16h3v2h-3v4h-2v-4H4v-1.102L14 1.5h2zM14 16V5.171L6.968 16H14z"}}],lo=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18 2v2H9.3l-.677 6.445a6.5 6.5 0 1 1-2.93 7.133l1.94-.486A4.502 4.502 0 0 0 16.5 16a4.5 4.5 0 0 0-4.5-4.5c-2.022 0-3.278.639-3.96 1.53l-1.575-1.182L7.5 2H18z"}}],la=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M14.886 2l-4.438 7.686A6.5 6.5 0 1 1 6.4 12.7L12.576 2h2.31zM12 11.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9z"}}],ls=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 2v1.5L10.763 22H8.574l8.013-18H6V2z"}}],ll=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 1.5a5.5 5.5 0 0 1 3.352 9.86C17.24 12.41 18.5 14.32 18.5 16.5c0 3.314-2.91 6-6.5 6s-6.5-2.686-6.5-6c0-2.181 1.261-4.09 3.147-5.141A5.5 5.5 0 0 1 12 1.5zm0 11c-2.52 0-4.5 1.828-4.5 4 0 2.172 1.98 4 4.5 4s4.5-1.828 4.5-4c0-2.172-1.98-4-4.5-4zm0-9a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7z"}}],lu=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 1.5a6.5 6.5 0 0 1 5.619 9.77l-6.196 10.729H9.114l4.439-7.686A6.5 6.5 0 1 1 12 1.5zm0 2a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9z"}}],lc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M14 20v-2.157c1.863-1.192 3.5-3.875 3.5-6.959 0-3.073-2-6.029-5.5-6.029s-5.5 2.956-5.5 6.03c0 3.083 1.637 5.766 3.5 6.958V20H3v-2h4.76C5.666 16.505 4 13.989 4 10.884 4 6.247 7.5 3 12 3s8 3.247 8 7.884c0 3.105-1.666 5.621-3.76 7.116H21v2h-7z"}}],ld=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M15 3c.552 0 1 .448 1 1v4c0 .552-.448 1-1 1h-2v2h4c.552 0 1 .448 1 1v3h2c.552 0 1 .448 1 1v4c0 .552-.448 1-1 1h-6c-.552 0-1-.448-1-1v-4c0-.552.448-1 1-1h2v-2H8v2h2c.552 0 1 .448 1 1v4c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1v-4c0-.552.448-1 1-1h2v-3c0-.552.448-1 1-1h4V9H9c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h6zM9 17H5v2h4v-2zm10 0h-4v2h4v-2zM14 5h-4v2h4V5z"}}],lp=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17 21v-4H7v4H5v-5a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v5h-2zM7 3v4h10V3h2v5a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V3h2zM2 9l4 3-4 3V9zm20 0v6l-4-3 4-3z"}}],lf=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 6v15h-2v-5a6 6 0 1 1 0-12h10v2h-3v15h-2V6h-3zm-2 0a4 4 0 1 0 0 8V6z"}}],lh=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12.9 6.858l4.242 4.243L7.242 21H3v-4.243l9.9-9.9zm1.414-1.414l2.121-2.122a1 1 0 0 1 1.414 0l2.829 2.829a1 1 0 0 1 0 1.414l-2.122 2.121-4.242-4.242z"}}],lm=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15.728 9.686l-1.414-1.414L5 17.586V19h1.414l9.314-9.314zm1.414-1.414l1.414-1.414-1.414-1.414-1.414 1.414 1.414 1.414zM7.242 21H3v-4.243L16.435 3.322a1 1 0 0 1 1.414 0l2.829 2.829a1 1 0 0 1 0 1.414L7.243 21z"}}],lg=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17.934 3.036l1.732 1L18.531 6H21v2h-2v4h2v2h-2v7h-2v-7h-3.084c-.325 2.862-1.564 5.394-3.37 7.193l-1.562-1.27c1.52-1.438 2.596-3.522 2.917-5.922L10 14v-2l2-.001V8h-2V6h2.467l-1.133-1.964 1.732-1L14.777 6h1.444l1.713-2.964zM5 13.803l-2 .536v-2.071l2-.536V8H3V6h2V3h2v3h2v2H7v3.197l2-.536v2.07l-2 .536V18.5A2.5 2.5 0 0 1 4.5 21H3v-2h1.5a.5.5 0 0 0 .492-.41L5 18.5v-4.697zM17 8h-3v4h3V8z"}}],lb=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M12 19c.828 0 1.5.672 1.5 1.5S12.828 22 12 22s-1.5-.672-1.5-1.5.672-1.5 1.5-1.5zm0-17c3.314 0 6 2.686 6 6 0 2.165-.753 3.29-2.674 4.923C13.399 14.56 13 15.297 13 17h-2c0-2.474.787-3.695 3.031-5.601C15.548 10.11 16 9.434 16 8c0-2.21-1.79-4-4-4S8 5.79 8 8v1H6V8c0-3.314 2.686-6 6-6z"}}],ly=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M21 19v2h-2v-2h2zm-4 0v2h-2v-2h2zm-4 0v2h-2v-2h2zm-4 0v2H7v-2h2zm-4 0v2H3v-2h2zm16-4v2h-2v-2h2zM5 15v2H3v-2h2zm0-4v2H3v-2h2zm11-8c2.687 0 4.882 2.124 4.995 4.783L21 8v5h-2V8c0-1.591-1.255-2.903-2.824-2.995L16 5h-5V3h5zM5 7v2H3V7h2zm0-4v2H3V3h2zm4 0v2H7V3h2z"}}],lv=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M9.683 7.562L12 9.88l6.374-6.375a2 2 0 0 1 2.829 0l.707.707L9.683 16.438a4 4 0 1 1-2.121-2.121L9.88 12 7.562 9.683a4 4 0 1 1 2.121-2.121zM6 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 12a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm9.535-6.587l6.375 6.376-.707.707a2 2 0 0 1-2.829 0l-4.96-4.961 2.12-2.122z"}}],lw=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M14 3c.552 0 1 .448 1 1v5h5c.552 0 1 .448 1 1v10c0 .552-.448 1-1 1H10c-.552 0-1-.448-1-1v-5H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h10zm-1 2H5v8h4v-3c0-.552.448-1 1-1h3V5z"}}],lE=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M11 3c.552 0 1 .448 1 1v2h5c.552 0 1 .448 1 1v5h2c.552 0 1 .448 1 1v7c0 .552-.448 1-1 1h-7c-.552 0-1-.448-1-1v-2H7c-.552 0-1-.448-1-1v-5H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h7zm5 5h-4v3c0 .552-.448 1-1 1H8v4h4v-3c0-.552.448-1 1-1h3V8z"}}],lS=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M2 11h2v2H2v-2zm4 0h12v2H6v-2zm14 0h2v2h-2v-2z"}}],lx=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M9.583 17.321C8.553 16.227 8 15 8 13.011c0-3.5 2.457-6.637 6.03-8.188l.893 1.378c-3.335 1.804-3.987 4.145-4.247 5.621.537-.278 1.24-.375 1.929-.311 1.804.167 3.226 1.648 3.226 3.489a3.5 3.5 0 0 1-3.5 3.5c-1.073 0-2.099-.49-2.748-1.179z"}}],l_=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M14.417 6.679C15.447 7.773 16 9 16 10.989c0 3.5-2.457 6.637-6.03 8.188l-.893-1.378c3.335-1.804 3.987-4.145 4.247-5.621-.537.278-1.24.375-1.929.311C9.591 12.322 8.17 10.841 8.17 9a3.5 3.5 0 0 1 3.5-3.5c1.073 0 2.099.49 2.748 1.179z"}}],lk=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M19 3l4 5h-3v12h-2V8h-3l4-5zm-5 15v2H3v-2h11zm0-7v2H3v-2h11zm-2-7v2H3V4h9z"}}],lA=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 4v12h3l-4 5-4-5h3V4h2zm-8 14v2H3v-2h9zm2-7v2H3v-2h11zm0-7v2H3V4h11z"}}],lT=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4 9v4h16V9h2v5a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V9h2z"}}],lC=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M17.5 2.5L23 12l-5.5 9.5h-11L1 12l5.5-9.5h11zm-1.153 2H7.653L3.311 12l4.342 7.5h8.694l4.342-7.5-4.342-7.5zM11 15h2v2h-2v-2zm0-8h2v6h-2V7z"}}],lR=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 3c.552 0 1 .448 1 1v16c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h16zm-9 2H5v14h6v-4h2v4h6V5h-6v4h-2V5zm4 4l3 3-3 3v-2H9v2l-3-3 3-3v2h6V9z"}}],lD=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 3c.552 0 1 .448 1 1v16c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h16zm-1 2H5v5.999L9 11v2H5v6h14v-6h-4v-2l4-.001V5zm-7 1l3 3h-2v6h2l-3 3-3-3h2V9H9l3-3z"}}],lO=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M13 9h-2V6H5V4h14v2h-6v3zm0 6v5h-2v-5h2zM3 11h18v2H3v-2z"}}],lI=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17.154 14c.23.516.346 1.09.346 1.72 0 1.342-.524 2.392-1.571 3.147C14.88 19.622 13.433 20 11.586 20c-1.64 0-3.263-.381-4.87-1.144V16.6c1.52.877 3.075 1.316 4.666 1.316 2.551 0 3.83-.732 3.839-2.197a2.21 2.21 0 0 0-.648-1.603l-.12-.117H3v-2h18v2h-3.846zm-4.078-3H7.629a4.086 4.086 0 0 1-.481-.522C6.716 9.92 6.5 9.246 6.5 8.452c0-1.236.466-2.287 1.397-3.153C8.83 4.433 10.271 4 12.222 4c1.471 0 2.879.328 4.222.984v2.152c-1.2-.687-2.515-1.03-3.946-1.03-2.48 0-3.719.782-3.719 2.346 0 .42.218.786.654 1.099.436.313.974.562 1.613.75.62.18 1.297.414 2.03.699z"}}],lN=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 6v13H9V6H3V4h14v2h-6zm8.55 10.58a.8.8 0 1 0-1.32-.36l-1.154.33A2.001 2.001 0 0 1 19 14a2 2 0 0 1 1.373 3.454L18.744 19H21v1h-4v-1l2.55-2.42z"}}],lM=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5.596 4L10.5 9.928 15.404 4H18l-6.202 7.497L18 18.994V19h-2.59l-4.91-5.934L5.59 19H3v-.006l6.202-7.497L3 4h2.596zM21.55 16.58a.8.8 0 1 0-1.32-.36l-1.155.33A2.001 2.001 0 0 1 21 14a2 2 0 0 1 1.373 3.454L20.744 19H23v1h-4v-1l2.55-2.42z"}}],lL=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5 11h14v2H5z"}}],lP=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 7v13H9V7H3V5h12v2h-4zm8.55-.42a.8.8 0 1 0-1.32-.36l-1.154.33A2.001 2.001 0 0 1 19 4a2 2 0 0 1 1.373 3.454L18.744 9H21v1h-4V9l2.55-2.42z"}}],lF=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5.596 5l4.904 5.928L15.404 5H18l-6.202 7.497L18 19.994V20h-2.59l-4.91-5.934L5.59 20H3v-.006l6.202-7.497L3 5h2.596zM21.55 6.58a.8.8 0 1 0-1.32-.36l-1.155.33A2.001 2.001 0 0 1 21 4a2 2 0 0 1 1.373 3.454L20.744 9H23v1h-4V9l2.55-2.42z"}}],lB=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M13 10v4h6v-4h-6zm-2 0H5v4h6v-4zm2 9h6v-3h-6v3zm-2 0v-3H5v3h6zm2-14v3h6V5h-6zm-2 0H5v3h6V5zM4 3h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z"}}],lU=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4 8h16V5H4v3zm10 11v-9h-4v9h4zm2 0h4v-9h-4v9zm-8 0v-9H4v9h4zM3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z"}}],lz=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 5v10H9v-4a4 4 0 1 1 0-8h8v2h-2v10h-2V5h-2zM9 5a2 2 0 1 0 0 4V5zm8 12v-2.5l4 3.5-4 3.5V19H5v-2h12z"}}],lj=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 5v10H9v-4a4 4 0 1 1 0-8h8v2h-2v10h-2V5h-2zM9 5a2 2 0 1 0 0 4V5zM7 17h12v2H7v2.5L3 18l4-3.5V17z"}}],l$=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7 17h10v-2.5l3.5 3.5-3.5 3.5V19H7v2.5L3.5 18 7 14.5V17zm6-11v9h-2V6H5V4h14v2h-6z"}}],lH=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15 18h1.5a2.5 2.5 0 1 0 0-5H3v-2h13.5a4.5 4.5 0 1 1 0 9H15v2l-4-3 4-3v2zM3 4h18v2H3V4zm6 14v2H3v-2h6z"}}],lV=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M13 6v15h-2V6H5V4h14v2z"}}],lG=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18.5 10l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16.5 10h2zM10 2v2h6v2h-1.968a18.222 18.222 0 0 1-3.62 6.301 14.864 14.864 0 0 0 2.336 1.707l-.751 1.878A17.015 17.015 0 0 1 9 13.725a16.676 16.676 0 0 1-6.201 3.548l-.536-1.929a14.7 14.7 0 0 0 5.327-3.042A18.078 18.078 0 0 1 4.767 8h2.24A16.032 16.032 0 0 0 9 10.877a16.165 16.165 0 0 0 2.91-4.876L2 6V4h6V2h2zm7.5 10.885L16.253 16h2.492L17.5 12.885z"}}],lq=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5 15v2a2 2 0 0 0 1.85 1.995L7 19h3v2H7a4 4 0 0 1-4-4v-2h2zm13-5l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16 10h2zm-1 2.885L15.753 16h2.492L17 12.885zM8 2v2h4v7H8v3H6v-3H2V4h4V2h2zm9 1a4 4 0 0 1 4 4v2h-2V7a2 2 0 0 0-2-2h-3V3h3zM6 6H4v3h2V6zm4 0H8v3h2V6z"}}],lW=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 3v9a4 4 0 1 0 8 0V3h2v9a6 6 0 1 1-12 0V3h2zM4 20h16v2H4v-2z"}}],lK=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4 19h16v-7h2v8a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-8h2v7zM14 9v6h-4V9H5l7-7 7 7h-5z"}}],lY=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 3.993C3 3.445 3.445 3 3.993 3h16.014c.548 0 .993.445.993.993v16.014a.994.994 0 0 1-.993.993H3.993A.994.994 0 0 1 3 20.007V3.993zM5 5v14h14V5H5zm5.622 3.415l4.879 3.252a.4.4 0 0 1 0 .666l-4.88 3.252a.4.4 0 0 1-.621-.332V8.747a.4.4 0 0 1 .622-.332z"}}],lZ=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 21v-2h3.662l1.234-7H5v-2h3.249l.881-5H4V3h16v2h-8.839l-.882 5H18v9h3v2H3zm13-9H9.927l-1.235 7H16v-7z"}}],lX=o(99601);let lJ=f.createContext(null);var lQ=lJ;function l0(){let n=f.useContext(lQ);return n}let l1="function"==typeof Symbol&&Symbol.for;var l2=l1?Symbol.for("mui.nested"):"__THEME_NESTED__";function l3(n,i){if("function"==typeof i){let o=i(n);return o}return(0,g.Z)({},n,i)}var l5=function(n){let{children:i,theme:o}=n,a=l0(),s=f.useMemo(()=>{let n=null===a?o:l3(a,o);return null!=n&&(n[l2]=null!==a),n},[o,a]);return(0,n3.jsx)(lQ.Provider,{value:s,children:i})};let l4={};function l6(n,i,o,a=!1){return f.useMemo(()=>{let s=n&&i[n]||i;if("function"==typeof o){let l=o(s),u=n?(0,g.Z)({},i,{[n]:l}):l;return a?()=>u:u}return n?(0,g.Z)({},i,{[n]:o}):(0,g.Z)({},i,o)},[n,i,o,a])}var l8=function(n){let{children:i,theme:o,themeId:a}=n,s=nR(l4),l=l0()||l4,u=l6(a,s,o),c=l6(a,l,o,!0);return(0,n3.jsx)(l5,{theme:c,children:(0,n3.jsx)(P.T.Provider,{value:u,children:i})})};let l9=["theme"];function l7(n){let{theme:i}=n,o=(0,m.Z)(n,l9),a=i[n_];return(0,n3.jsx)(l8,(0,g.Z)({},o,{themeId:a?n_:void 0,theme:a||i}))}var ue=o(44573),ut=o(31026);let un=tP();var ur=un;let ui=["component","direction","spacing","divider","children","className","useFlexGap"],uo=ty(),ua=ur("div",{name:"MuiStack",slot:"Root",overridesResolver:(n,i)=>i.root});function us(n){return nL({props:n,name:"MuiStack",defaultTheme:uo})}function ul(n,i){let o=f.Children.toArray(n).filter(Boolean);return o.reduce((n,a,s)=>(n.push(a),s({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[n],uc=({ownerState:n,theme:i})=>{let o=(0,g.Z)({display:"flex",flexDirection:"column"},eo({theme:i},ec({values:n.direction,breakpoints:i.breakpoints.values}),n=>({flexDirection:n})));if(n.spacing){let a=ek(i),s=Object.keys(i.breakpoints.values).reduce((i,o)=>(("object"==typeof n.spacing&&null!=n.spacing[o]||"object"==typeof n.direction&&null!=n.direction[o])&&(i[o]=!0),i),{}),l=ec({values:n.direction,base:s}),u=ec({values:n.spacing,base:s});"object"==typeof l&&Object.keys(l).forEach((n,i,o)=>{let a=l[n];if(!a){let s=i>0?l[o[i-1]]:"column";l[n]=s}});let c=(i,o)=>n.useFlexGap?{gap:eA(a,i)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${uu(o?l[o]:n.direction)}`]:eA(a,i)}};o=X(o,eo({theme:i},u,c))}return el(i.breakpoints,o)};function ud(n={}){let{createStyledComponent:i=ua,useThemeProps:o=us,componentName:a="MuiStack"}=n,s=()=>{let n={root:["root"]};return v(n,n=>iO(a,n),{})},l=i(uc),u=f.forwardRef(function(n,i){let a=o(n),u=oA(a),{component:c="div",direction:d="column",spacing:p=0,divider:f,children:h,className:b,useFlexGap:v=!1}=u,w=(0,m.Z)(u,ui),E={direction:d,spacing:p,useFlexGap:v},S=s();return(0,n3.jsx)(l,(0,g.Z)({as:c,ownerState:E,ref:i,className:y(S.root,b)},w,{children:f?ul(h,f):h}))});return u}let up=ud({createStyledComponent:nT("div",{name:"MuiStack",slot:"Root",overridesResolver:(n,i)=>i.root}),useThemeProps:n=>nP({props:n,name:"MuiStack"})});var uf=up;function uh(n,i){return(0,ag.mf)(n)?n(i):n}function um(n){return(0,ag.HD)(n[0])}function ug(n,i){var o;return(0,ag.HD)(n)?n:(0,ag.kJ)(n)?um(n)?n[0]??"":(null==(o=n.find(n=>(0,ag.Xy)(n.attrs,i))??n[0])?void 0:o.shortcut)??"":n.shortcut}var ub={title:n=>(0,ag.kC)(n),upper:n=>n.toLocaleUpperCase(),lower:n=>n.toLocaleLowerCase()};function uy(n,i){let{casing:o="title",namedAsSymbol:a=!1,modifierAsSymbol:s=!0,separator:l=" ",t:u}=i,c=(0,ay.Jv)(n),d=[],p=ub[o];for(let f of c){if("char"===f.type){d.push(p(f.key));continue}if("named"===f.type){let h=!0===a||(0,ag.kJ)(a)&&(0,ag.q9)(a,f.key)?f.symbol??u(f.i18n):u(f.i18n);d.push(p(h));continue}let m=!0===s||(0,ag.kJ)(s)&&(0,ag.q9)(s,f.key)?f.symbol:u(f.i18n);d.push(p(m))}return d.join(l)}var uv=({commandName:n,active:i,enabled:o,attrs:a})=>{let{t:s}=(0,ab.QT)(),{getCommandOptions:l}=(0,ab.z8)(),u=l(n),{description:c,label:d,icon:p,shortcut:h}=u||{},m=(0,f.useMemo)(()=>({active:i,attrs:a,enabled:o,t:s}),[i,a,o,s]),g=(0,f.useMemo)(()=>{if(h)return uy(ug(h,a??{}),{t:s,separator:""})},[h,a,s]);return(0,f.useMemo)(()=>({description:uh(c,m),label:uh(d,m),icon:uh(p,m),shortcut:g}),[m,c,d,p,g])},uw={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},uE=(0,f.createContext)(uw);function uS(n){return n.map((n,i)=>(0,f.createElement)(n.tag,{key:i,...n.attr},uS(n.child??[])))}uE.Provider;var ux=n=>{let{name:i}=n;return f.createElement(u_,{...n},uS(p[i]))},u_=n=>{let i=i=>{let o;let a=n.size??i.size??"1em";i.className&&(o=i.className),n.className&&(o=(o?`${o} `:"")+n.className);let{title:s,...l}=n;return f.createElement("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",...i.attr,...l,className:o,style:{color:n.color??i.color,...i.style,...n.style},height:a,width:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s&&f.createElement("title",null,s),n.children)};return f.createElement(uE.Consumer,null,i)},uk=n=>!!(0,ag.PO)(n)&&!!n.name,uA=({icon:n})=>(0,ag.HD)(n)?f.createElement(ux,{name:n,size:"1rem"}):n,uT=({icon:n,children:i})=>{if(!uk(n))return f.createElement(f.Fragment,null,i);let{sub:o,sup:a}=n,s=o??a,l=void 0!==o;return void 0===s?f.createElement(f.Fragment,null,i):f.createElement(aI,{anchorOrigin:{vertical:l?"bottom":"top",horizontal:"right"},badgeContent:s,sx:{"& > .MuiBadge-badge":{bgcolor:"background.paper",color:"text.secondary",minWidth:12,height:12,margin:"2px 0",padding:"1px"}}},i)},uC=({commandName:n,active:i=!1,enabled:o,attrs:a,onSelect:s,onChange:l,icon:u,displayShortcut:c=!0,"aria-label":d,label:p,...h})=>{let m=(0,f.useCallback)((n,i)=>{s(),null==l||l(n,i)},[s,l]),g=(0,f.useCallback)(n=>{n.preventDefault()},[]),b=uv({commandName:n,active:i,enabled:o,attrs:a}),y=null;b.icon&&(y=(0,ag.HD)(b.icon)?b.icon:b.icon.name);let v=d??b.label??"",w=p??v,E=c&&b.shortcut?` (${b.shortcut})`:"";return f.createElement(ox,{title:`${w}${E}`},f.createElement(oN,{component:"span",sx:{"&:not(:first-of-type)":{marginLeft:"-1px"}}},f.createElement(am,{"aria-label":v,selected:i,disabled:!o,onMouseDown:g,color:"primary",size:"small",sx:{padding:"6px 12px","&.Mui-selected":{backgroundColor:"primary.main",color:"primary.contrastText"},"&.Mui-selected:hover":{backgroundColor:"primary.dark",color:"primary.contrastText"},"&:not(:first-of-type)":{borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-of-type)":{borderTopRightRadius:0,borderBottomRightRadius:0}},...h,value:n,onChange:m},f.createElement(uT,{icon:b.icon},f.createElement(uA,{icon:u??y})))))},uR=n=>{let{toggleBlockquote:i}=(0,ab.xd)(),o=(0,f.useCallback)(()=>{i.enabled()&&i()},[i]),a=(0,ab.tZ)().blockquote(),s=i.enabled();return f.createElement(uC,{...n,commandName:"toggleBlockquote",active:a,enabled:s,onSelect:o})},uD=n=>{let{toggleBold:i}=(0,ab.xd)(),o=(0,f.useCallback)(()=>{i.enabled()&&i()},[i]),a=(0,ab.tZ)().bold(),s=i.enabled();return f.createElement(uC,{...n,commandName:"toggleBold",active:a,enabled:s,onSelect:o})},uO=n=>{let{toggleBulletList:i}=(0,ab.xd)(),o=(0,f.useCallback)(()=>{i.enabled()&&i()},[i]),a=(0,ab.tZ)().bulletList(),s=i.enabled();return f.createElement(uC,{...n,commandName:"toggleBulletList",active:a,enabled:s,onSelect:o})},uI=({attrs:n={},...i})=>{let{toggleCodeBlock:o}=(0,ab.xd)(),a=(0,f.useCallback)(()=>{o.enabled(n)&&o(n)},[o,n]),s=(0,ab.tZ)().codeBlock(),l=o.enabled(n);return f.createElement(uC,{...i,commandName:"toggleCodeBlock",active:s,enabled:l,attrs:n,onSelect:a})},uN=({attrs:n,...i})=>{let{toggleHeading:o}=(0,ab.xd)(),a=(0,f.useCallback)(()=>{o.enabled(n)&&o(n)},[o,n]),s=(0,ab.tZ)().heading(n),l=o.enabled(n);return f.createElement(uC,{...i,commandName:"toggleHeading",active:s,enabled:l,attrs:n,onSelect:a})},uM=n=>{let{toggleItalic:i}=(0,ab.xd)(),o=(0,f.useCallback)(()=>{i.enabled()&&i()},[i]),a=(0,ab.tZ)().italic(),s=i.enabled();return f.createElement(uC,{...n,commandName:"toggleItalic",active:a,enabled:s,onSelect:o})},uL=n=>{let{toggleOrderedList:i}=(0,ab.xd)(),o=(0,f.useCallback)(()=>{i.enabled()&&i()},[i]),a=(0,ab.tZ)().orderedList(),s=i.enabled();return f.createElement(uC,{...n,commandName:"toggleOrderedList",active:a,enabled:s,onSelect:o})},uP=n=>{let{toggleStrike:i}=(0,ab.xd)(),o=(0,f.useCallback)(()=>{i.enabled()&&i()},[i]),a=(0,ab.tZ)().strike(),s=i.enabled();return f.createElement(uC,{...n,commandName:"toggleStrike",active:a,enabled:s,onSelect:o})};"object"==typeof lX&&lX.__esModule&&lX.default&&lX.default;var uF=(0,f.createContext)({});function uB(n={}){let i=(0,f.useContext)(uF),o=(0,f.useMemo)(()=>(0,ag.RH)(i,n.theme??{}),[i,n.theme]),a=(0,f.useMemo)(()=>(0,ut.Ie)(o).styles,[o]),s=(0,ue.cx)(ut.C6,n.className);return(0,f.useMemo)(()=>({style:a,className:s,theme:o}),[a,s,o])}var uU=n=>{var i,o,a,s,l,u,c,d;let{children:p,as:h="div"}=n,{theme:m,style:g,className:b}=uB({theme:n.theme??ut.U9}),y=nE({palette:{primary:{main:(null==(i=m.color)?void 0:i.primary)??ut.U9.color.primary,dark:(null==(a=null==(o=m.color)?void 0:o.hover)?void 0:a.primary)??ut.U9.color.hover.primary,contrastText:(null==(s=m.color)?void 0:s.primaryText)??ut.U9.color.primaryText},secondary:{main:(null==(l=m.color)?void 0:l.secondary)??ut.U9.color.secondary,dark:(null==(c=null==(u=m.color)?void 0:u.hover)?void 0:c.secondary)??ut.U9.color.hover.secondary,contrastText:(null==(d=m.color)?void 0:d.secondaryText)??ut.U9.color.secondaryText}}});return f.createElement(l7,{theme:y},f.createElement(uF.Provider,{value:m},f.createElement(h,{style:g,className:b},p)))},uz=n=>f.createElement(uf,{direction:"row",spacing:1,sx:{backgroundColor:"background.paper",overflowX:"auto"},...n})},93282:function(n,i,o){"use strict";o.d(i,{PG:function(){return oH},O1:function(){return oG},tZ:function(){return oC},xd:function(){return oR},z8:function(){return oD},QT:function(){return oI},iF:function(){return o$}});var a,s,l,u,c,d,p,f,h,m,g,b,y,v,w,E,S,x,_,k,A,T,C,R={};o.r(R),o.d(R,{_in:function(){return eb},af:function(){return ey},ak:function(){return ev},am:function(){return ew},an:function(){return eE},ar:function(){return eS},ars:function(){return ex},as:function(){return e_},asa:function(){return ek},ast:function(){return eA},az:function(){return eT},be:function(){return eC},bem:function(){return eR},bez:function(){return eD},bg:function(){return eO},bho:function(){return eI},bm:function(){return eN},bn:function(){return eM},bo:function(){return eL},br:function(){return eP},brx:function(){return eF},bs:function(){return eB},ca:function(){return eU},ce:function(){return ez},ceb:function(){return ej},cgg:function(){return e$},chr:function(){return eH},ckb:function(){return eV},cs:function(){return eG},cy:function(){return eq},da:function(){return eW},de:function(){return eK},dsb:function(){return eY},dv:function(){return eZ},dz:function(){return eX},ee:function(){return eJ},el:function(){return eQ},en:function(){return e0},eo:function(){return e1},es:function(){return e2},et:function(){return e3},eu:function(){return e5},fa:function(){return e4},ff:function(){return e6},fi:function(){return e8},fil:function(){return e9},fo:function(){return e7},fr:function(){return te},fur:function(){return tt},fy:function(){return tn},ga:function(){return tr},gd:function(){return ti},gl:function(){return to},gsw:function(){return ta},gu:function(){return ts},guw:function(){return tl},gv:function(){return tu},ha:function(){return tc},haw:function(){return td},he:function(){return tp},hi:function(){return tf},hr:function(){return th},hsb:function(){return tm},hu:function(){return tg},hy:function(){return tb},ia:function(){return ty},id:function(){return tv},ig:function(){return tw},ii:function(){return tE},io:function(){return tS},is:function(){return tx},it:function(){return t_},iu:function(){return tk},iw:function(){return tA},ja:function(){return tT},jbo:function(){return tC},jgo:function(){return tR},ji:function(){return tD},jmc:function(){return tO},jv:function(){return tI},jw:function(){return tN},ka:function(){return tM},kab:function(){return tL},kaj:function(){return tP},kcg:function(){return tF},kde:function(){return tB},kea:function(){return tU},kk:function(){return tz},kkj:function(){return tj},kl:function(){return t$},km:function(){return tH},kn:function(){return tV},ko:function(){return tG},ks:function(){return tq},ksb:function(){return tW},ksh:function(){return tK},ku:function(){return tY},kw:function(){return tZ},ky:function(){return tX},lag:function(){return tJ},lb:function(){return tQ},lg:function(){return t0},lkt:function(){return t1},ln:function(){return t2},lo:function(){return t3},lt:function(){return t5},lv:function(){return t4},mas:function(){return t6},mg:function(){return t8},mgo:function(){return t9},mk:function(){return t7},ml:function(){return ne},mn:function(){return nt},mo:function(){return nn},mr:function(){return nr},ms:function(){return ni},mt:function(){return no},my:function(){return na},nah:function(){return ns},naq:function(){return nl},nb:function(){return nu},nd:function(){return nc},ne:function(){return nd},nl:function(){return np},nn:function(){return nf},nnh:function(){return nh},no:function(){return nm},nqo:function(){return ng},nr:function(){return nb},nso:function(){return ny},ny:function(){return nv},nyn:function(){return nw},om:function(){return nE},or:function(){return nS},os:function(){return nx},osa:function(){return n_},pa:function(){return nk},pap:function(){return nA},pl:function(){return nT},prg:function(){return nC},ps:function(){return nR},pt:function(){return nD},pt_PT:function(){return nO},rm:function(){return nI},ro:function(){return nN},rof:function(){return nM},root:function(){return nL},ru:function(){return nP},rwk:function(){return nF},sah:function(){return nB},saq:function(){return nU},sc:function(){return nz},scn:function(){return nj},sd:function(){return n$},sdh:function(){return nH},se:function(){return nV},seh:function(){return nG},ses:function(){return nq},sg:function(){return nW},sh:function(){return nK},shi:function(){return nY},si:function(){return nZ},sk:function(){return nX},sl:function(){return nJ},sma:function(){return nQ},smi:function(){return n0},smj:function(){return n1},smn:function(){return n2},sms:function(){return n3},sn:function(){return n5},so:function(){return n4},sq:function(){return n6},sr:function(){return n8},ss:function(){return n9},ssy:function(){return n7},st:function(){return re},su:function(){return rt},sv:function(){return rn},sw:function(){return rr},syr:function(){return ri},ta:function(){return ro},te:function(){return ra},teo:function(){return rs},th:function(){return rl},ti:function(){return ru},tig:function(){return rc},tk:function(){return rd},tl:function(){return rp},tn:function(){return rf},to:function(){return rh},tr:function(){return rm},ts:function(){return rg},tzm:function(){return rb},ug:function(){return ry},uk:function(){return rv},ur:function(){return rw},uz:function(){return rE},ve:function(){return rS},vi:function(){return rx},vo:function(){return r_},vun:function(){return rk},wa:function(){return rA},wae:function(){return rT},wo:function(){return rC},xh:function(){return rR},xog:function(){return rD},yi:function(){return rO},yo:function(){return rI},yue:function(){return rN},zh:function(){return rM},zu:function(){return rL}});var D=o(67294),O=o(57555),I=o(378);function N(n){let i=(0,D.createContext)(null),o=M(i),a=o=>{let a=n(o);return D.createElement(i.Provider,{value:a},o.children)};return[a,o,i]}function M(n){return(i,o)=>{let a=(0,D.useContext)(n),s=L(a);if(!a)throw Error("`useContextHook` must be placed inside the `Provider` returned by the `createContextState` method");if(!i)return a;if("function"!=typeof i)throw TypeError("invalid arguments passed to `useContextHook`. This hook must be called with zero arguments, a getter function or a path string.");let l=i(a);if(!s||!o)return l;let u=i(s);return o(u,l)?u:l}}function L(n){let i=(0,D.useRef)();return P(()=>{i.current=n}),i.current}var P="undefined"!=typeof document?D.useLayoutEffect:D.useEffect;function F(n,i){return N(o=>{let a=(0,D.useRef)(null),s=(0,D.useRef)(),l=null==i?void 0:i(o),[u,c]=(0,D.useState)(()=>n({get:B(a),set:U(s),previousContext:void 0,props:o,state:l})),d=[...Object.values(o),l];return(0,D.useEffect)(()=>{0!==d.length&&c(i=>n({get:B(a),set:U(s),previousContext:i,props:o,state:l}))},d),a.current=u,s.current=c,u})}function B(n){return i=>{if(!n.current)throw Error("`get` called outside of function scope. `get` can only be called within a function.");if(!i)return n.current;if("function"!=typeof i)throw TypeError("Invalid arguments passed to `useContextHook`. The hook must be called with zero arguments, a getter function or a path string.");return i(n.current)}}function U(n){return i=>{if(!n.current)throw Error("`set` called outside of function scope. `set` can only be called within a function.");n.current(n=>({...n,..."function"==typeof i?i(n):i}))}}var z=o(93012);let j=n=>"string"==typeof n,$=n=>"function"==typeof n,H=new Map,V="en";function G(n){let i=Array.isArray(n)?n:[n];return[...i,V]}function q(n,i,o){let a=G(n),s=Y(()=>Z("date",a,o),()=>new Intl.DateTimeFormat(a,o));return s.format(j(i)?new Date(i):i)}function W(n,i,o){let a=G(n),s=Y(()=>Z("number",a,o),()=>new Intl.NumberFormat(a,o));return s.format(i)}function K(n,i,o,{offset:a=0,...s}){let l=G(n),u=i?Y(()=>Z("plural-ordinal",l),()=>new Intl.PluralRules(l,{type:"ordinal"})):Y(()=>Z("plural-cardinal",l),()=>new Intl.PluralRules(l,{type:"cardinal"}));return s[o]??s[u.select(o-a)]??s.other}function Y(n,i){let o=n(),a=H.get(o);return a||(a=i(),H.set(o,a)),a}function Z(n,i,o){let a=i.join("-");return`${n}-${a}-${JSON.stringify(o)}`}let X=/\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/g,J=(n,i,o={})=>{let a=i||n,s=n=>"object"==typeof n?n:o[n]||{style:n},l=(n,i)=>{let l=Object.keys(o).length?s("number"):void 0,u=W(a,n,l);return i.replace("#",u)};return{plural(n,i){let{offset:o=0}=i,s=K(a,!1,n,i);return l(n-o,s)},selectordinal(n,i){let{offset:o=0}=i,s=K(a,!0,n,i);return l(n-o,s)},select:Q,number:(n,i)=>W(a,n,s(i)),date:(n,i)=>q(a,n,s(i)),undefined:ee}},Q=(n,i)=>i[n]??i.other,ee=n=>n;function et(n,i,o){return(a={},s)=>{let l=J(i,o,s),u=n=>Array.isArray(n)?n.reduce((n,i)=>{if(j(i))return n+i;let[o,s,c]=i,d={};null!=c&&"object"==typeof c?Object.entries(c).forEach(([n,i])=>{d[n]=u(i)}):d=c;let p=l[s],f=p(a[o],d);return null==f?n:n+f},""):n,c=u(n);return j(c)&&X.test(c)?z(c.trim()):j(c)?c.trim():c?String(c):""}}var en=Object.defineProperty,er=(n,i,o)=>i in n?en(n,i,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[i]=o,ei=(n,i,o)=>(er(n,"symbol"!=typeof i?i+"":i,o),o);class eo{constructor(){ei(this,"_events",{})}on(n,i){var o;return(o=this._events)[n],o[n]=[],this._events[n].push(i),()=>this.removeListener(n,i)}removeListener(n,i){let o=this._getListeners(n);if(!o)return;let a=o.indexOf(i);~a&&o.splice(a,1)}emit(n,...i){let o=this._getListeners(n);o&&o.map(n=>n.apply(this,i))}_getListeners(n){let i=this._events[n];return!!Array.isArray(i)&&i}}var ea=Object.defineProperty,es=(n,i,o)=>i in n?ea(n,i,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[i]=o,el=(n,i,o)=>(es(n,"symbol"!=typeof i?i+"":i,o),o);class eu extends eo{constructor(n){super(),el(this,"_locale",""),el(this,"_locales"),el(this,"_localeData",{}),el(this,"_messages",{}),el(this,"_missing"),el(this,"t",this._.bind(this)),null!=n.missing&&(this._missing=n.missing),null!=n.messages&&this.load(n.messages),null!=n.localeData&&this.loadLocaleData(n.localeData),("string"==typeof n.locale||n.locales)&&this.activate(n.locale??V,n.locales)}get locale(){return this._locale}get locales(){return this._locales}get messages(){return this._messages[this._locale]??{}}get localeData(){return this._localeData[this._locale]??{}}_loadLocaleData(n,i){let o=this._localeData[n];o?Object.assign(o,i):this._localeData[n]=i}loadLocaleData(n,i){null!=i?this._loadLocaleData(n,i):Object.keys(n).forEach(i=>this._loadLocaleData(i,n[i])),this.emit("change")}_load(n,i){let o=this._messages[n];o?Object.assign(o,i):this._messages[n]=i}load(n,i){"string"==typeof n&&"object"==typeof i?this._load(n,i):Object.entries(n).forEach(([n,i])=>this._load(n,i)),this.emit("change")}loadAndActivate({locale:n,locales:i,messages:o}){this._locale=n,this._locales=i||void 0,this._messages[this._locale]=o,this.emit("change")}activate(n,i){this._locale=n,this._locales=i,this.emit("change")}_(n,i,o){let a=o?.message;j(n)||(i=n.values||i,a=n.message,n=n.id);let s=this.messages[n],l=void 0===s,u=this._missing;if(u&&l)return $(u)?u(this._locale,n):u;l&&this.emit("missing",{id:n,locale:this._locale});let c=s||a||n;return j(c)&&X.test(c)?JSON.parse(`"${c}"`):j(c)?c:et(c,this._locale,this._locales)(i,o?.formats)}date(n,i){return q(this._locales||this._locale,n,i)}number(n,i){return W(this._locales||this._locale,n,i)}}function ec(n={}){return new eu(n)}let ed=ec();function ep(n,i){return i?"other":1==n?"one":"other"}function ef(n,i){return i?"other":0==n||1==n?"one":"other"}function eh(n,i){var o=!String(n).split(".")[1];return i?"other":1==n&&o?"one":"other"}function em(n,i){return"other"}function eg(n,i){return i?"other":1==n?"one":2==n?"two":"other"}let eb=em,ey=ep,ev=ef;function ew(n,i){return i?"other":n>=0&&n<=1?"one":"other"}let eE=ep;function eS(n,i){var o=String(n).split("."),a=Number(o[0])==n&&o[0].slice(-2);return i?"other":0==n?"zero":1==n?"one":2==n?"two":a>=3&&a<=10?"few":a>=11&&a<=99?"many":"other"}function ex(n,i){var o=String(n).split("."),a=Number(o[0])==n&&o[0].slice(-2);return i?"other":0==n?"zero":1==n?"one":2==n?"two":a>=3&&a<=10?"few":a>=11&&a<=99?"many":"other"}function e_(n,i){return i?1==n||5==n||7==n||8==n||9==n||10==n?"one":2==n||3==n?"two":4==n?"few":6==n?"many":"other":n>=0&&n<=1?"one":"other"}let ek=ep,eA=eh;function eT(n,i){var o=String(n).split(".")[0],a=o.slice(-1),s=o.slice(-2),l=o.slice(-3);return i?1==a||2==a||5==a||7==a||8==a||20==s||50==s||70==s||80==s?"one":3==a||4==a||100==l||200==l||300==l||400==l||500==l||600==l||700==l||800==l||900==l?"few":0==o||6==a||40==s||60==s||90==s?"many":"other":1==n?"one":"other"}function eC(n,i){var o=String(n).split("."),a=Number(o[0])==n,s=a&&o[0].slice(-1),l=a&&o[0].slice(-2);return i?(2==s||3==s)&&12!=l&&13!=l?"few":"other":1==s&&11!=l?"one":s>=2&&s<=4&&(l<12||l>14)?"few":a&&0==s||s>=5&&s<=9||l>=11&&l<=14?"many":"other"}let eR=ep,eD=ep,eO=ep,eI=ef,eN=em;function eM(n,i){return i?1==n||5==n||7==n||8==n||9==n||10==n?"one":2==n||3==n?"two":4==n?"few":6==n?"many":"other":n>=0&&n<=1?"one":"other"}let eL=em;function eP(n,i){var o=String(n).split("."),a=Number(o[0])==n,s=a&&o[0].slice(-1),l=a&&o[0].slice(-2),u=a&&o[0].slice(-6);return i?"other":1==s&&11!=l&&71!=l&&91!=l?"one":2==s&&12!=l&&72!=l&&92!=l?"two":(3==s||4==s||9==s)&&(l<10||l>19)&&(l<70||l>79)&&(l<90||l>99)?"few":0!=n&&a&&0==u?"many":"other"}let eF=ep;function eB(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"",l=!o[1],u=a.slice(-1),c=a.slice(-2),d=s.slice(-1),p=s.slice(-2);return i?"other":l&&1==u&&11!=c||1==d&&11!=p?"one":l&&u>=2&&u<=4&&(c<12||c>14)||d>=2&&d<=4&&(p<12||p>14)?"few":"other"}function eU(n,i){var o=!String(n).split(".")[1];return i?1==n||3==n?"one":2==n?"two":4==n?"few":"other":1==n&&o?"one":"other"}let ez=ep;function ej(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"",l=!o[1],u=a.slice(-1),c=s.slice(-1);return i?"other":l&&(1==a||2==a||3==a)||l&&4!=u&&6!=u&&9!=u||!l&&4!=c&&6!=c&&9!=c?"one":"other"}let e$=ep,eH=ep,eV=ep;function eG(n,i){var o=String(n).split("."),a=o[0],s=!o[1];return i?"other":1==n&&s?"one":a>=2&&a<=4&&s?"few":s?"other":"many"}function eq(n,i){return i?0==n||7==n||8==n||9==n?"zero":1==n?"one":2==n?"two":3==n||4==n?"few":5==n||6==n?"many":"other":0==n?"zero":1==n?"one":2==n?"two":3==n?"few":6==n?"many":"other"}function eW(n,i){var o=String(n).split("."),a=o[0],s=Number(o[0])==n;return i?"other":1!=n&&(s||0!=a&&1!=a)?"other":"one"}let eK=eh;function eY(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"",l=!o[1],u=a.slice(-2),c=s.slice(-2);return i?"other":l&&1==u||1==c?"one":l&&2==u||2==c?"two":l&&(3==u||4==u)||3==c||4==c?"few":"other"}let eZ=ep,eX=em,eJ=ep,eQ=ep;function e0(n,i){var o=String(n).split("."),a=!o[1],s=Number(o[0])==n,l=s&&o[0].slice(-1),u=s&&o[0].slice(-2);return i?1==l&&11!=u?"one":2==l&&12!=u?"two":3==l&&13!=u?"few":"other":1==n&&a?"one":"other"}let e1=ep,e2=ep,e3=eh,e5=ep;function e4(n,i){return i?"other":n>=0&&n<=1?"one":"other"}function e6(n,i){return i?"other":n>=0&&n<2?"one":"other"}let e8=eh;function e9(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"",l=!o[1],u=a.slice(-1),c=s.slice(-1);return i?1==n?"one":"other":l&&(1==a||2==a||3==a)||l&&4!=u&&6!=u&&9!=u||!l&&4!=c&&6!=c&&9!=c?"one":"other"}let e7=ep;function te(n,i){return i?1==n?"one":"other":n>=0&&n<2?"one":"other"}let tt=ep,tn=eh;function tr(n,i){var o=Number(String(n).split(".")[0])==n;return i?1==n?"one":"other":1==n?"one":2==n?"two":o&&n>=3&&n<=6?"few":o&&n>=7&&n<=10?"many":"other"}function ti(n,i){var o=Number(String(n).split(".")[0])==n;return i?1==n||11==n?"one":2==n||12==n?"two":3==n||13==n?"few":"other":1==n||11==n?"one":2==n||12==n?"two":o&&n>=3&&n<=10||o&&n>=13&&n<=19?"few":"other"}let to=eh,ta=ep;function ts(n,i){return i?1==n?"one":2==n||3==n?"two":4==n?"few":6==n?"many":"other":n>=0&&n<=1?"one":"other"}let tl=ef;function tu(n,i){var o=String(n).split("."),a=o[0],s=!o[1],l=a.slice(-1),u=a.slice(-2);return i?"other":s&&1==l?"one":s&&2==l?"two":s&&(0==u||20==u||40==u||60==u||80==u)?"few":s?"other":"many"}let tc=ep,td=ep;function tp(n,i){var o=String(n).split("."),a=o[0],s=!o[1],l=Number(o[0])==n,u=l&&o[0].slice(-1);return i?"other":1==n&&s?"one":2==a&&s?"two":s&&(n<0||n>10)&&l&&0==u?"many":"other"}function tf(n,i){return i?1==n?"one":2==n||3==n?"two":4==n?"few":6==n?"many":"other":n>=0&&n<=1?"one":"other"}function th(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"",l=!o[1],u=a.slice(-1),c=a.slice(-2),d=s.slice(-1),p=s.slice(-2);return i?"other":l&&1==u&&11!=c||1==d&&11!=p?"one":l&&u>=2&&u<=4&&(c<12||c>14)||d>=2&&d<=4&&(p<12||p>14)?"few":"other"}function tm(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"",l=!o[1],u=a.slice(-2),c=s.slice(-2);return i?"other":l&&1==u||1==c?"one":l&&2==u||2==c?"two":l&&(3==u||4==u)||3==c||4==c?"few":"other"}function tg(n,i){return i?1==n||5==n?"one":"other":1==n?"one":"other"}function tb(n,i){return i?1==n?"one":"other":n>=0&&n<2?"one":"other"}let ty=eh,tv=em,tw=em,tE=em,tS=eh;function tx(n,i){var o=String(n).split("."),a=o[0],s=Number(o[0])==n,l=a.slice(-1),u=a.slice(-2);return i?"other":s&&1==l&&11!=u||!s?"one":"other"}function t_(n,i){var o=!String(n).split(".")[1];return i?11==n||8==n||80==n||800==n?"many":"other":1==n&&o?"one":"other"}let tk=eg;function tA(n,i){var o=String(n).split("."),a=o[0],s=!o[1],l=Number(o[0])==n,u=l&&o[0].slice(-1);return i?"other":1==n&&s?"one":2==a&&s?"two":s&&(n<0||n>10)&&l&&0==u?"many":"other"}let tT=em,tC=em,tR=ep,tD=eh,tO=ep,tI=em,tN=em;function tM(n,i){var o=String(n).split(".")[0],a=o.slice(-2);return i?1==o?"one":0==o||a>=2&&a<=20||40==a||60==a||80==a?"many":"other":1==n?"one":"other"}function tL(n,i){return i?"other":n>=0&&n<2?"one":"other"}let tP=ep,tF=ep,tB=em,tU=em;function tz(n,i){var o=String(n).split("."),a=Number(o[0])==n,s=a&&o[0].slice(-1);return i?6==s||9==s||a&&0==s&&0!=n?"many":"other":1==n?"one":"other"}let tj=ep,t$=ep,tH=em;function tV(n,i){return i?"other":n>=0&&n<=1?"one":"other"}let tG=em,tq=ep,tW=ep;function tK(n,i){return i?"other":0==n?"zero":1==n?"one":"other"}let tY=ep;function tZ(n,i){var o=String(n).split("."),a=Number(o[0])==n,s=a&&o[0].slice(-2),l=a&&o[0].slice(-3),u=a&&o[0].slice(-5),c=a&&o[0].slice(-6);return i?a&&n>=1&&n<=4||s>=1&&s<=4||s>=21&&s<=24||s>=41&&s<=44||s>=61&&s<=64||s>=81&&s<=84?"one":5==n||5==s?"many":"other":0==n?"zero":1==n?"one":2==s||22==s||42==s||62==s||82==s||a&&0==l&&(u>=1e3&&u<=2e4||4e4==u||6e4==u||8e4==u)||0!=n&&1e5==c?"two":3==s||23==s||43==s||63==s||83==s?"few":1!=n&&(1==s||21==s||41==s||61==s||81==s)?"many":"other"}let tX=ep;function tJ(n,i){var o=String(n).split(".")[0];return i?"other":0==n?"zero":(0==o||1==o)&&0!=n?"one":"other"}let tQ=ep,t0=ep,t1=em,t2=ef;function t3(n,i){return i&&1==n?"one":"other"}function t5(n,i){var o=String(n).split("."),a=o[1]||"",s=Number(o[0])==n,l=s&&o[0].slice(-1),u=s&&o[0].slice(-2);return i?"other":1==l&&(u<11||u>19)?"one":l>=2&&l<=9&&(u<11||u>19)?"few":0!=a?"many":"other"}function t4(n,i){var o=String(n).split("."),a=o[1]||"",s=a.length,l=Number(o[0])==n,u=l&&o[0].slice(-1),c=l&&o[0].slice(-2),d=a.slice(-2),p=a.slice(-1);return i?"other":l&&0==u||c>=11&&c<=19||2==s&&d>=11&&d<=19?"zero":1==u&&11!=c||2==s&&1==p&&11!=d||2!=s&&1==p?"one":"other"}let t6=ep,t8=ef,t9=ep;function t7(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"",l=!o[1],u=a.slice(-1),c=a.slice(-2),d=s.slice(-1),p=s.slice(-2);return i?1==u&&11!=c?"one":2==u&&12!=c?"two":(7==u||8==u)&&17!=c&&18!=c?"many":"other":l&&1==u&&11!=c||1==d&&11!=p?"one":"other"}let ne=ep,nt=ep;function nn(n,i){var o=String(n).split("."),a=!o[1],s=Number(o[0])==n&&o[0].slice(-2);return i?1==n?"one":"other":1==n&&a?"one":!a||0==n||s>=2&&s<=19?"few":"other"}function nr(n,i){return i?1==n?"one":2==n||3==n?"two":4==n?"few":"other":1==n?"one":"other"}function ni(n,i){return i&&1==n?"one":"other"}function no(n,i){var o=String(n).split("."),a=Number(o[0])==n&&o[0].slice(-2);return i?"other":1==n?"one":0==n||a>=2&&a<=10?"few":a>=11&&a<=19?"many":"other"}let na=em,ns=ep,nl=eg,nu=ep,nc=ep;function nd(n,i){var o=Number(String(n).split(".")[0])==n;return i?o&&n>=1&&n<=4?"one":"other":1==n?"one":"other"}let np=eh,nf=ep,nh=ep,nm=ep,ng=em,nb=ep,ny=ef,nv=ep,nw=ep,nE=ep;function nS(n,i){var o=Number(String(n).split(".")[0])==n;return i?1==n||5==n||o&&n>=7&&n<=9?"one":2==n||3==n?"two":4==n?"few":6==n?"many":"other":1==n?"one":"other"}let nx=ep,n_=em,nk=ef,nA=ep;function nT(n,i){var o=String(n).split("."),a=o[0],s=!o[1],l=a.slice(-1),u=a.slice(-2);return i?"other":1==n&&s?"one":s&&l>=2&&l<=4&&(u<12||u>14)?"few":s&&1!=a&&(0==l||1==l)||s&&l>=5&&l<=9||s&&u>=12&&u<=14?"many":"other"}function nC(n,i){var o=String(n).split("."),a=o[1]||"",s=a.length,l=Number(o[0])==n,u=l&&o[0].slice(-1),c=l&&o[0].slice(-2),d=a.slice(-2),p=a.slice(-1);return i?"other":l&&0==u||c>=11&&c<=19||2==s&&d>=11&&d<=19?"zero":1==u&&11!=c||2==s&&1==p&&11!=d||2!=s&&1==p?"one":"other"}let nR=ep;function nD(n,i){var o=String(n).split(".")[0];return i?"other":0==o||1==o?"one":"other"}let nO=eh,nI=ep;function nN(n,i){var o=String(n).split("."),a=!o[1],s=Number(o[0])==n&&o[0].slice(-2);return i?1==n?"one":"other":1==n&&a?"one":!a||0==n||s>=2&&s<=19?"few":"other"}let nM=ep,nL=em;function nP(n,i){var o=String(n).split("."),a=o[0],s=!o[1],l=a.slice(-1),u=a.slice(-2);return i?"other":s&&1==l&&11!=u?"one":s&&l>=2&&l<=4&&(u<12||u>14)?"few":s&&0==l||s&&l>=5&&l<=9||s&&u>=11&&u<=14?"many":"other"}let nF=ep,nB=em,nU=ep;function nz(n,i){var o=!String(n).split(".")[1];return i?11==n||8==n||80==n||800==n?"many":"other":1==n&&o?"one":"other"}function nj(n,i){var o=!String(n).split(".")[1];return i?11==n||8==n||80==n||800==n?"many":"other":1==n&&o?"one":"other"}let n$=ep,nH=ep,nV=eg,nG=ep,nq=em,nW=em;function nK(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"",l=!o[1],u=a.slice(-1),c=a.slice(-2),d=s.slice(-1),p=s.slice(-2);return i?"other":l&&1==u&&11!=c||1==d&&11!=p?"one":l&&u>=2&&u<=4&&(c<12||c>14)||d>=2&&d<=4&&(p<12||p>14)?"few":"other"}function nY(n,i){var o=Number(String(n).split(".")[0])==n;return i?"other":n>=0&&n<=1?"one":o&&n>=2&&n<=10?"few":"other"}function nZ(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"";return i?"other":0==n||1==n||0==a&&1==s?"one":"other"}function nX(n,i){var o=String(n).split("."),a=o[0],s=!o[1];return i?"other":1==n&&s?"one":a>=2&&a<=4&&s?"few":s?"other":"many"}function nJ(n,i){var o=String(n).split("."),a=o[0],s=!o[1],l=a.slice(-2);return i?"other":s&&1==l?"one":s&&2==l?"two":s&&(3==l||4==l)||!s?"few":"other"}let nQ=eg,n0=eg,n1=eg,n2=eg,n3=eg,n5=ep,n4=ep;function n6(n,i){var o=String(n).split("."),a=Number(o[0])==n,s=a&&o[0].slice(-1),l=a&&o[0].slice(-2);return i?1==n?"one":4==s&&14!=l?"many":"other":1==n?"one":"other"}function n8(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"",l=!o[1],u=a.slice(-1),c=a.slice(-2),d=s.slice(-1),p=s.slice(-2);return i?"other":l&&1==u&&11!=c||1==d&&11!=p?"one":l&&u>=2&&u<=4&&(c<12||c>14)||d>=2&&d<=4&&(p<12||p>14)?"few":"other"}let n9=ep,n7=ep,re=ep,rt=em;function rn(n,i){var o=String(n).split("."),a=!o[1],s=Number(o[0])==n,l=s&&o[0].slice(-1),u=s&&o[0].slice(-2);return i?(1==l||2==l)&&11!=u&&12!=u?"one":"other":1==n&&a?"one":"other"}let rr=eh,ri=ep,ro=ep,ra=ep,rs=ep,rl=em,ru=ef,rc=ep;function rd(n,i){var o=String(n).split("."),a=Number(o[0])==n&&o[0].slice(-1);return i?6==a||9==a||10==n?"few":"other":1==n?"one":"other"}function rp(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"",l=!o[1],u=a.slice(-1),c=s.slice(-1);return i?1==n?"one":"other":l&&(1==a||2==a||3==a)||l&&4!=u&&6!=u&&9!=u||!l&&4!=c&&6!=c&&9!=c?"one":"other"}let rf=ep,rh=em,rm=ep,rg=ep;function rb(n,i){var o=Number(String(n).split(".")[0])==n;return i?"other":0==n||1==n||o&&n>=11&&n<=99?"one":"other"}let ry=ep;function rv(n,i){var o=String(n).split("."),a=o[0],s=!o[1],l=Number(o[0])==n,u=l&&o[0].slice(-1),c=l&&o[0].slice(-2),d=a.slice(-1),p=a.slice(-2);return i?3==u&&13!=c?"few":"other":s&&1==d&&11!=p?"one":s&&d>=2&&d<=4&&(p<12||p>14)?"few":s&&0==d||s&&d>=5&&d<=9||s&&p>=11&&p<=14?"many":"other"}let rw=eh,rE=ep,rS=ep;function rx(n,i){return i&&1==n?"one":"other"}let r_=ep,rk=ep,rA=ef,rT=ep,rC=em,rR=ep,rD=ep,rO=eh,rI=em,rN=em,rM=em;function rL(n,i){return i?"other":n>=0&&n<=1?"one":"other"}var rP=Object.defineProperty,rF=Object.getOwnPropertyDescriptor,rB=Object.getOwnPropertyNames,rU=Object.prototype.hasOwnProperty,rz=(n,i,o,a)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let s of rB(i))rU.call(n,s)||s===o||rP(n,s,{get:()=>i[s],enumerable:!(a=rF(i,s))||a.enumerable});return n},rj=(n,i,o)=>(rz(n,i,"default"),o&&rz(o,i,"default")),r$=JSON.parse('{"extension.command.toggle-upper-case.label":[["case","select",{"upper":"Uppercase","lower":"Lowercase","capitalize":"Sentence case","smallCaps":"Small caps","other":"Text case"}]],"extension.table.column_count":[["count","plural",{"one":["#"," column"],"other":["#"," columns"]}]],"extension.table.row_count":[["count","plural",{"one":["#"," row"],"other":["#"," rows"]}]],"extension.command.toggle-columns.description":[["count","select",{"2":"Split the block into two columns","3":"Split the current block into three columns","4":"Split the current block into four columns","other":"Split the current block into multiple columns"}]],"extension.command.toggle-columns.label":[["count","select",{"2":"Two Column Block","3":"Three Column Block","4":"Four Column Block","other":"Multi Column Block"}]],"extension.command.set-text-direction.label":[["dir","select",{"ltr":"Left-To-Right","rtl":"Right-To-Left","other":"Reset Direction"}]],"extension.command.set-text-direction.description":[["dir","select",{"ltr":"Set the text direction from left to right","rtl":"Set the text direction from right to left","other":"Reset text direction"}]],"extension.command.toggle-heading.label":[["level","select",{"1":"Heading 1","2":"Heading 2","3":"Heading 3","4":"Heading 4","5":"Heading 5","6":"Heading 6","other":"Heading"}]],"extension.command.toggle-callout.description":[["type","select",{"info":"Create an information callout block","warning":"Create a warning callout block","error":"Create an error callout block","success":"Create a success callout block","other":"Create a callout block"}]],"extension.command.toggle-callout.label":[["type","select",{"info":"Information Callout","warning":"Warning Callout","error":"Error Callout","success":"Success Callout","other":"Callout"}]],"extension.command.toggle-code-block.description":"Add a code block","extension.command.add-annotation.label":"Add annotation","extension.command.toggle-blockquote.description":"Add blockquote formatting to the selected text","extension.command.toggle-bold.description":"Add bold formatting to the selected text","extension.command.toggle-code.description":"Add inline code formatting to the selected text","keyboard.shortcut.alt":"Alt","keyboard.shortcut.arrowDown":"Arrow Down","keyboard.shortcut.arrowLeft":"Arrow Left","keyboard.shortcut.arrowRight":"Arrow Right","keyboard.shortcut.arrowUp":"Arrow Up","keyboard.shortcut.backspace":"Backspace","ui.text-color.black":"Black","extension.command.toggle-blockquote.label":"Blockquote","ui.text-color.blue":"Blue","ui.text-color.blue.hue":["Blue ",["hue"]],"extension.command.toggle-bold.label":"Bold","extension.command.toggle-bullet-list.description":"Bulleted list","keyboard.shortcut.capsLock":"Caps Lock","extension.command.center-align.label":"Center align","extension.command.toggle-code.label":"Code","extension.command.toggle-code-block.label":"Codeblock","keyboard.shortcut.command":"Command","QcPNd6":"Image description","ogrUzJ":"Add a short description here.","yqdyzr":"Image","6/02F4":"Image source","X8H91v":"Image","zhQ7Zt":"Italic","ZL7E7l":"Underline","keyboard.shortcut.control":"Control","extension.command.convert-paragraph.description":"Convert current block into a paragraph block.","extension.command.convert-paragraph.label":"Convert Paragraph","extension.command.copy.label":"Copy","extension.command.copy.description":"Copy the selected text","extension.command.create-table.description":"Create a table with set number of rows and columns.","extension.command.create-table.label":"Create table","extension.command.cut.label":"Cut","extension.command.cut.description":"Cut the selected text","ui.text-color.cyan":"Cyan","ui.text-color.cyan.hue":["Cyan ",["hue"]],"extension.command.decrease-font-size.label":"Decrease","extension.command.decrease-indent.label":"Decrease indentation","extension.command.decrease-font-size.description":"Decrease the font size.","keyboard.shortcut.delete":"Delete","extension.command.insert-horizontal-rule.label":"Divider","keyboard.shortcut.end":"End","keyboard.shortcut.escape":"Enter","keyboard.shortcut.enter":"Enter","6PjrOF":"Add annotation","OTq5WC":"Center align","oeZ3ox":"Convert current block into a paragraph block.","m1khs+":"Convert Paragraph","w/1U+3":"Copy the selected text","kdodi0":"Copy","k0KR/u":"Create a table with set number of rows and columns.","zrwMyD":"Create table","D/nWxh":"Cut the selected text","jHPv5m":"Cut","5cNgRx":"Decrease the font size.","vyRNWx":"Decrease","Jgiol4":"Decrease indentation","1gJSHH":"Increase the font size","OQXJXz":"Increase","72TLhr":"Increase indentation","HFlfzJ":"Insert Emoji","RPq9fY":"Separate content with a diving horizontal line","OKQF+e":"Divider","zjYb9C":"Insert a new paragraph","4M4sXC":"Insert Paragraph","1Q+eVc":"Justify","ejWWtP":"Left align","wVqrpS":"Paste content into the editor","07v9aw":"Paste","zUYfou":"Redo the most recent action","9Nq9zr":"Redo","0uxaZe":"Remove annotation","iJWZAz":"Right align","g5WpPn":"Select all content within the editor","2+pZDT":"Select all","yChCR1":"Set text case","GMzAC/":"Set the font size for the selected text.","vzEyrv":"Font size","7VCkJ8":"Set the text color for the selected text.","qjWFaR":"Text color","LVWgFu":[["dir","select",{"ltr":"Set the text direction from left to right","rtl":"Set the text direction from right to left","other":"Reset text direction"}]],"WXwRy1":[["dir","select",{"ltr":"Left-To-Right","rtl":"Right-To-Left","other":"Reset Direction"}]],"G/o315":"Set the text highlight color for the selected text.","xtHg6d":"Text highlight","1p1W/p":"Add blockquote formatting to the selected text","6+rh6I":"Blockquote","0yB3LV":"Add bold formatting to the selected text","sFMo4Z":"Bold","SMKG/s":"Bulleted list","/BYCMi":[["type","select",{"info":"Create an information callout block","warning":"Create a warning callout block","error":"Create an error callout block","success":"Create a success callout block","other":"Create a callout block"}]],"V+3IBe":[["type","select",{"info":"Information Callout","warning":"Warning Callout","error":"Error Callout","success":"Success Callout","other":"Callout"}]],"hbIo4L":"Add a code block","7GkMcx":"Codeblock","2r4JYl":"Add inline code formatting to the selected text","Up8Tpe":"Code","ATHSPS":[["count","select",{"2":"Split the block into two columns","3":"Split the current block into three columns","4":"Split the current block into four columns","other":"Split the current block into multiple columns"}]],"7DC1VE":[["count","select",{"2":"Two Column Block","3":"Three Column Block","4":"Four Column Block","other":"Multi Column Block"}]],"hnrBeo":[["level","select",{"1":"Heading 1","2":"Heading 2","3":"Heading 3","4":"Heading 4","5":"Heading 5","6":"Heading 6","other":"Heading"}]],"NkZAcw":"Italicize the selected text","2fTW9e":"Italic","c759Ra":"Ordered list","uQwrZu":"Strikethrough the selected text","pT3qly":"Strikethrough","BHk+zu":"Subscript","18BVwM":"Superscript","tOIVCV":"Tasked list","4Janx3":"Underline the selected text","dCHt+D":"Underline","YYAprs":[["case","select",{"upper":"Uppercase","lower":"Lowercase","capitalize":"Sentence case","smallCaps":"Small caps","other":"Text case"}]],"tczyZL":"Show hidden whitespace characters in your editor.","0qAX23":"Toggle Whitespace","ezMADU":"Undo the most recent action","N3P7EC":"Undo","2nj/+s":"Update annotation","dWD7u4":[["count","plural",{"one":["#"," column"],"other":["#"," columns"]}]],"qXqgVT":[["count","plural",{"one":["#"," row"],"other":["#"," rows"]}]],"extension.command.set-font-size.label":"Font size","ui.text-color.grape":"Grape","ui.text-color.grape.hue":["Grape ",["hue"]],"ui.text-color.gray":"Gray","ui.text-color.gray.hue":["Gray ",["hue"]],"ui.text-color.green":"Green","ui.text-color.green.hue":["Green ",["hue"]],"keyboard.shortcut.home":"Home","extension.command.increase-font-size.label":"Increase","extension.command.increase-indent.label":"Increase indentation","extension.command.increase-font-size.description":"Increase the font size","ui.text-color.indigo":"Indigo","ui.text-color.indigo.hue":["Indigo ",["hue"]],"extension.command.insert-paragraph.description":"Insert a new paragraph","extension.command.insert-emoji.label":"Insert Emoji","extension.command.insert-paragraph.label":"Insert Paragraph","extension.command.toggle-italic.label":"Italic","extension.command.toggle-italic.description":"Italicize the selected text","extension.command.justify-align.label":"Justify","R7NlCw":"Alt","RbDiK5":"Arrow Down","Dgyd+E":"Arrow Left","8pdCk4":"Arrow Right","Gp/343":"Arrow Up","PFPV0A":"Backspace","0IRYvp":"Caps Lock","X7HX0D":"Command","zq0AdD":"Control","8SfToN":"Delete","Ys/uah":"End","3K5hww":"Enter","veQt1j":"Enter","ySv7i+":"Home","e6RUI1":"Page Down","EEJk31":"Page Up","7sbhAU":"Shift","Q4eplT":"Space","SUhVVC":"Tab","extension.command.left-align.label":"Left align","ui.text-color.lime":"Lime","ui.text-color.lime.hue":["Lime ",["hue"]],"react-components.mention-atom-component.zero-items":"No items available","ui.text-color.orange":"Orange","ui.text-color.orange.hue":["Orange ",["hue"]],"extension.command.toggle-ordered-list.label":"Ordered list","keyboard.shortcut.pageDown":"Page Down","keyboard.shortcut.pageUp":"Page Up","extension.command.paste.label":"Paste","extension.command.paste.description":"Paste content into the editor","ui.text-color.pink":"Pink","ui.text-color.pink.hue":["Pink ",["hue"]],"zvMfIA":"No items available","pEjhti":"Static Menu","ui.text-color.red":"Red","ui.text-color.red.hue":["Red ",["hue"]],"extension.command.redo.label":"Redo","extension.command.redo.description":"Redo the most recent action","extension.command.remove-annotation.label":"Remove annotation","extension.command.right-align.label":"Right align","extension.command.select-all.label":"Select all","extension.command.select-all.description":"Select all content within the editor","extension.command.insert-horizontal-rule.description":"Separate content with a diving horizontal line","extension.command.set-casing.label":"Set text case","extension.command.set-font-size.description":"Set the font size for the selected text.","extension.command.set-text-color.description":"Set the text color for the selected text.","extension.command.set-text-highlight.description":"Set the text highlight color for the selected text.","keyboard.shortcut.shift":"Shift","extension.command.toggle-whitespace.description":"Show hidden whitespace characters in your editor.","keyboard.shortcut.space":"Space","extension.command.toggle-strike.label":"Strikethrough","extension.command.toggle-strike.description":"Strikethrough the selected text","extension.command.toggle-subscript.label":"Subscript","extension.command.toggle-superscript.label":"Superscript","keyboard.shortcut.tab":"Tab","extension.command.toggle-task-list.description":"Tasked list","ui.text-color.teal":"Teal","ui.text-color.teal.hue":["Teal ",["hue"]],"extension.command.set-text-color.label":"Text color","extension.command.set-text-highlight.label":"Text highlight","extension.command.toggle-whitespace.label":"Toggle Whitespace","ui.text-color.transparent":"Transparent","slrB1c":"Black","6QML30":"Blue","xw+keN":["Blue ",["hue"]],"38RHqP":"Cyan","D89yPf":["Cyan ",["hue"]],"VjBLnd":"Grape","Rp40yv":["Grape ",["hue"]],"5Dm9D1":"Gray","HGjXjC":["Gray ",["hue"]],"b9fz+n":"Green","18jo3M":["Green ",["hue"]],"CFzqCV":"Indigo","aVlDku":["Indigo ",["hue"]],"04PfLc":"Lime","KRTK6Y":["Lime ",["hue"]],"pSnXFd":"Orange","ve/MJZ":["Orange ",["hue"]],"OvCgDa":"Pink","l7NqyT":["Pink ",["hue"]],"IT9k0j":"Red","AdyJ7/":["Red ",["hue"]],"3D2UWc":"Teal","Dcq0Y1":["Teal ",["hue"]],"bsi2ik":"Transparent","Tj3PRR":"Violet","xxMH5N":["Violet ",["hue"]],"Rum0ah":"White","4gaw/Q":"Yellow","hhauc3":["Yellow ",["hue"]],"extension.command.toggle-underline.label":"Underline","extension.command.toggle-underline.description":"Underline the selected text","extension.command.undo.label":"Undo","extension.command.undo.description":"Undo the most recent action","extension.command.update-annotation.label":"Update annotation","ui.text-color.violet":"Violet","ui.text-color.violet.hue":["Violet ",["hue"]],"ui.text-color.white":"White","ui.text-color.yellow":"Yellow","ui.text-color.yellow.hue":["Yellow ",["hue"]]}'),rH={};rj(rH,R),ed.loadLocaleData("en",{plurals:rH.en}),ed.load("en",r$),ed.activate("en");var rV=o(44573),rG=o(27398),rq=o(16560),rW=Object.defineProperty,rK=Object.getOwnPropertyDescriptor,rY=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?rK(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&rW(i,o,l),l},rZ=class extends rV.QR{get name(){return"doc"}createNodeSpec(n,i){let{docAttributes:o,content:a}=this.options,s=(0,O.Ry)();if((0,O.PO)(o))for(let[l,u]of(0,O.qh)(o))s[l]={default:u};else for(let c of o)s[c]={default:null};return{attrs:s,content:a,...i}}setDocAttributes(n){return({tr:i,dispatch:o})=>{if(o){for(let[a,s]of Object.entries(n))i.step(new rQ(a,s));o(i)}return!0}}isDefaultDocNode({state:n=this.store.getState(),options:i}={}){return(0,rG.$q)(n.doc,i)}};rY([(0,rV.WDe)()],rZ.prototype,"setDocAttributes",1),rY([(0,rV._y)()],rZ.prototype,"isDefaultDocNode",1),rZ=rY([(0,rV.AOx)({defaultOptions:{content:"block+",docAttributes:[]},defaultPriority:I.xV.Medium,staticKeys:["content","docAttributes"],disableExtraAttributes:!0})],rZ);var rX="SetDocAttribute",rJ="RevertSetDocAttribute",rQ=class extends rq.h8{constructor(n,i,o=rX){super(),this.stepType=o,this.key=n,this.value=i}static fromJSON(n,i){return new rQ(i.key,i.value,i.stepType)}apply(n){this.previous=n.attrs[this.key];let i={...n.attrs,[this.key]:this.value};return rq.oo.ok(n.type.create(i,n.content,n.marks))}invert(){return new rQ(this.key,this.previous,rJ)}map(){return this}toJSON(){return{stepType:this.stepType,key:this.key,value:this.value}}};try{rq.h8.jsonID(rX,rQ),rq.h8.jsonID(rJ,rQ)}catch(r0){if(!r0.message.startsWith("Duplicate use of step JSON ID"))throw r0}var r1=Object.defineProperty,r2=Object.getOwnPropertyDescriptor,r3=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?r2(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&r1(i,o,l),l};function r5(n,i,o,a){let s=n.docView.posFromDOM(i,o,a);return null===s||s<0?null:s}function r4(n,i){let o=i.target;if(o){let a=r5(n,o,0);if(null!==a){let s=n.state.doc.resolve(a),l=s.node().isLeaf?0:1,u=s.start()-l;return{pos:a,inside:u}}}return n.posAtCoords({left:i.clientX,top:i.clientY})??void 0}var r6=class extends rV.nNj{constructor(){super(...arguments),this.mousedown=!1,this.mouseover=!1,this.createMouseEventHandler=n=>(i,o)=>{let a=o,s=r4(i,a);if(!s)return!1;let l=[],u=[],{inside:c,pos:d}=s;if(-1===c)return!1;let p=i.state.doc.resolve(d),f=p.depth+1;for(let h of(0,O.w6)(f,1))l.push({node:h>p.depth&&p.nodeAfter?p.nodeAfter:p.node(h),pos:p.before(h)});for(let{type:m}of p.marksAcross(p)??[]){let g=(0,rG.IH)(p,m);g&&u.push(g)}return n(a,{view:i,nodes:l,marks:u,getMark(n){let o=(0,O.HD)(n)?i.state.schema.marks[n]:n;return(0,O.kG)(o,{code:I.mA.EXTENSION,message:`The mark ${n} being checked does not exist within the editor schema.`}),u.find(n=>n.mark.type===o)},getNode(n){var o;let a=(0,O.HD)(n)?i.state.schema.nodes[n]:n;(0,O.kG)(a,{code:I.mA.EXTENSION,message:"The node being checked does not exist"});let s=l.find(({node:n})=>n.type===a);if(s)return{...s,isRoot:!!(null==(o=l[0])?void 0:o.node.eq(s.node))}}})}}get name(){return"events"}onView(){var n,i;if(null==(n=this.store.managerSettings.exclude)||!n.clickHandler)for(let o of this.store.extensions){if(!o.createEventHandlers||(null==(i=o.options.exclude)?void 0:i.clickHandler))continue;let a=o.createEventHandlers();for(let[s,l]of(0,O.qh)(a))this.addHandler(s,l)}}createPlugin(){let n=new WeakMap,i=(i,o,a,s,l,u,c,d)=>{let p=this.store.currentState,{schema:f,doc:h}=p,m=h.resolve(s),g=n.has(c),b=r8({$pos:m,handled:g,view:a,state:p}),y=!1;g||(y=i(c,b)||y);let v={...b,pos:s,direct:d,nodeWithPosition:{node:l,pos:u},getNode(n){let i=(0,O.HD)(n)?f.nodes[n]:n;return(0,O.kG)(i,{code:I.mA.EXTENSION,message:"The node being checked does not exist"}),i===l.type?{node:l,pos:u}:void 0}};return n.set(c,!0),o(c,v)||y};return{props:{handleKeyPress:(n,i)=>this.options.keypress(i)||!1,handleKeyDown:(n,i)=>this.options.keydown(i)||!1,handleTextInput:(n,i,o,a)=>this.options.textInput({from:i,to:o,text:a})||!1,handleClickOn:(n,o,a,s,l,u)=>i(this.options.clickMark,this.options.click,n,o,a,s,l,u),handleDoubleClickOn:(n,o,a,s,l,u)=>i(this.options.doubleClickMark,this.options.doubleClick,n,o,a,s,l,u),handleTripleClickOn:(n,o,a,s,l,u)=>i(this.options.tripleClickMark,this.options.tripleClick,n,o,a,s,l,u),handleDOMEvents:{focus:(n,i)=>this.options.focus(i)||!1,blur:(n,i)=>this.options.blur(i)||!1,mousedown:(n,i)=>(this.startMouseover(),this.options.mousedown(i)||!1),mouseup:(n,i)=>(this.endMouseover(),this.options.mouseup(i)||!1),mouseleave:(n,i)=>(this.mouseover=!1,this.options.mouseleave(i)||!1),mouseenter:(n,i)=>(this.mouseover=!0,this.options.mouseenter(i)||!1),keyup:(n,i)=>this.options.keyup(i)||!1,mouseout:this.createMouseEventHandler((n,i)=>{let o={...i,hovering:!1};return this.options.hover(n,o)||!1}),mouseover:this.createMouseEventHandler((n,i)=>{let o={...i,hovering:!0};return this.options.hover(n,o)||!1}),contextmenu:this.createMouseEventHandler((n,i)=>this.options.contextmenu(n,i)||!1),scroll:(n,i)=>this.options.scroll(i)||!1,copy:(n,i)=>this.options.copy(i)||!1,cut:(n,i)=>this.options.cut(i)||!1,paste:(n,i)=>this.options.paste(i)||!1}},view:n=>{let i=n.editable,o=this.options;return{update(n){let a=n.editable;a!==i&&(o.editable(a),i=a)}}}}}isInteracting(){return this.mousedown&&this.mouseover}startMouseover(){this.mouseover=!0,this.mousedown||(this.mousedown=!0,this.store.document.documentElement.addEventListener("mouseup",()=>{this.endMouseover()},{once:!0}))}endMouseover(){this.mousedown&&(this.mousedown=!1,this.store.commands.emptyUpdate())}};function r8(n){let{handled:i,view:o,$pos:a,state:s}=n,l={getMark:O.ZT,markRanges:[],view:o,state:s};if(i)return l;for(let{type:u}of a.marksAcross(a)??[]){let c=(0,rG.IH)(a,u);c&&l.markRanges.push(c)}return l.getMark=n=>{let i=(0,O.HD)(n)?s.schema.marks[n]:n;return(0,O.kG)(i,{code:I.mA.EXTENSION,message:`The mark ${n} being checked does not exist within the editor schema.`}),l.markRanges.find(n=>n.mark.type===i)},l}r3([(0,rV._y)()],r6.prototype,"isInteracting",1),r6=r3([(0,rV.AOx)({handlerKeys:["blur","focus","mousedown","mouseup","mouseenter","mouseleave","textInput","keypress","keyup","keydown","click","clickMark","doubleClick","doubleClickMark","tripleClick","tripleClickMark","contextmenu","hover","scroll","copy","cut","paste","editable"],handlerKeyOptions:{blur:{earlyReturnValue:!0},focus:{earlyReturnValue:!0},mousedown:{earlyReturnValue:!0},mouseleave:{earlyReturnValue:!0},mouseup:{earlyReturnValue:!0},click:{earlyReturnValue:!0},doubleClick:{earlyReturnValue:!0},tripleClick:{earlyReturnValue:!0},hover:{earlyReturnValue:!0},contextmenu:{earlyReturnValue:!0},scroll:{earlyReturnValue:!0},copy:{earlyReturnValue:!0},cut:{earlyReturnValue:!0},paste:{earlyReturnValue:!0}},defaultPriority:I.xV.High})],r6);var r9=o(82696),r7=o(2376),ie=o(12806),it=o(84348);class ir extends r7.Y1{constructor(n){super(n,n)}map(n,i){let o=n.resolve(i.map(this.head));return ir.valid(o)?new ir(o):r7.Y1.near(o)}content(){return ie.p2.empty}eq(n){return n instanceof ir&&n.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(n,i){if("number"!=typeof i.pos)throw RangeError("Invalid input for GapCursor.fromJSON");return new ir(n.resolve(i.pos))}getBookmark(){return new ii(this.anchor)}static valid(n){let i=n.parent;if(i.isTextblock||!io(n)||!ia(n))return!1;let o=i.type.spec.allowGapCursor;if(null!=o)return o;let a=i.contentMatchAt(n.index()).defaultType;return a&&a.isTextblock}static findGapCursorFrom(n,i,o=!1){o:for(;;){if(!o&&ir.valid(n))return n;let a=n.pos,s=null;for(let l=n.depth;;l--){let u=n.node(l);if(i>0?n.indexAfter(l)0){s=u.child(i>0?n.indexAfter(l):n.index(l)-1);break}if(0==l)return null;a+=i;let c=n.doc.resolve(a);if(ir.valid(c))return c}for(;;){let d=i>0?s.firstChild:s.lastChild;if(!d){if(s.isAtom&&!s.isText&&!r7.qv.isSelectable(s)){n=n.doc.resolve(a+s.nodeSize*i),o=!1;continue o}break}s=d,a+=i;let p=n.doc.resolve(a);if(ir.valid(p))return p}return null}}}ir.prototype.visible=!1,ir.findFrom=ir.findGapCursorFrom,r7.Y1.jsonID("gapcursor",ir);class ii{constructor(n){this.pos=n}map(n){return new ii(n.map(this.pos))}resolve(n){let i=n.resolve(this.pos);return ir.valid(i)?new ir(i):r7.Y1.near(i)}}function io(n){for(let i=n.depth;i>=0;i--){let o=n.index(i),a=n.node(i);if(0==o){if(a.type.spec.isolating)return!0;continue}for(let s=a.child(o-1);;s=s.lastChild){if(0==s.childCount&&!s.inlineContent||s.isAtom||s.type.spec.isolating)return!0;if(s.inlineContent)return!1}}return!0}function ia(n){for(let i=n.depth;i>=0;i--){let o=n.indexAfter(i),a=n.node(i);if(o==a.childCount){if(a.type.spec.isolating)return!0;continue}for(let s=a.child(o);;s=s.firstChild){if(0==s.childCount&&!s.inlineContent||s.isAtom||s.type.spec.isolating)return!0;if(s.inlineContent)return!1}}return!0}function is(){return new r7.Sy({props:{decorations:ip,createSelectionBetween:(n,i,o)=>i.pos==o.pos&&ir.valid(o)?new ir(o):null,handleClick:ic,handleKeyDown:il,handleDOMEvents:{beforeinput:id}}})}let il=(0,r9.$)({ArrowLeft:iu("horiz",-1),ArrowRight:iu("horiz",1),ArrowUp:iu("vert",-1),ArrowDown:iu("vert",1)});function iu(n,i){let o="vert"==n?i>0?"down":"up":i>0?"right":"left";return function(n,a,s){let l=n.selection,u=i>0?l.$to:l.$from,c=l.empty;if(l instanceof r7.Bs){if(!s.endOfTextblock(o)||0==u.depth)return!1;c=!1,u=n.doc.resolve(i>0?u.after():u.before())}let d=ir.findGapCursorFrom(u,i,c);return!!d&&(a&&a(n.tr.setSelection(new ir(d))),!0)}}function ic(n,i,o){if(!n||!n.editable)return!1;let a=n.state.doc.resolve(i);if(!ir.valid(a))return!1;let s=n.posAtCoords({left:o.clientX,top:o.clientY});return!(s&&s.inside>-1&&r7.qv.isSelectable(n.state.doc.nodeAt(s.inside)))&&(n.dispatch(n.state.tr.setSelection(new ir(a))),!0)}function id(n,i){if("insertCompositionText"!=i.inputType||!(n.state.selection instanceof ir))return!1;let{$from:o}=n.state.selection,a=o.parent.contentMatchAt(o.index()).findWrapping(n.state.schema.nodes.text);if(!a)return!1;let s=ie.HY.empty;for(let l=a.length-1;l>=0;l--)s=ie.HY.from(a[l].createAndFill(null,s));let u=n.state.tr.replace(o.pos,o.pos,new ie.p2(s,0,0));return u.setSelection(r7.Bs.near(u.doc.resolve(o.pos+1))),n.dispatch(u),!1}function ip(n){if(!(n.selection instanceof ir))return null;let i=document.createElement("div");return i.className="ProseMirror-gapcursor",it.EH.create(n.doc,[it.p.widget(n.selection.head,i,{key:"gapcursor"})])}var ih=Object.defineProperty,im=Object.getOwnPropertyDescriptor,ig=class extends rV.nNj{get name(){return"gapCursor"}createExternalPlugins(){return[is()]}};ig=((n,i,o,a)=>{for(var s,l=a>1?void 0:a?im(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&ih(i,o,l),l})([(0,rV.AOx)({})],ig),(0,O.V9)(ir);var ib=o(84133),iy=o(48776),iv=o(58463),iw=Object.defineProperty,iE=Object.getOwnPropertyDescriptor,iS=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?iE(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&iw(i,o,l),l},ix=class extends rV.nNj{constructor(){super(...arguments),this.wrapMethod=(n,i)=>({state:o,dispatch:a,view:s})=>{let{getState:l,getDispatch:u}=this.options,c=(0,O.mf)(l)?l():o,d=(0,O.mf)(u)&&a?u():a,p=n(c,d,s);return null==i||i(p),p}}get name(){return"history"}createKeymap(){return{"Mod-y":rG.NZ.isMac?()=>!1:this.wrapMethod(iv.KX,this.options.onRedo),"Mod-z":this.wrapMethod(iv.Yw,this.options.onUndo),"Shift-Mod-z":this.wrapMethod(iv.KX,this.options.onRedo)}}undoShortcut(n){return this.wrapMethod(iv.Yw,this.options.onUndo)(n)}redoShortcut(n){return this.wrapMethod(iv.KX,this.options.onRedo)(n)}createExternalPlugins(){let{depth:n,newGroupDelay:i}=this.options;return[(0,iv.m8)({depth:n,newGroupDelay:i})]}undo(){return(0,ib.fB)(this.wrapMethod(iv.Yw,this.options.onUndo))}redo(){return(0,ib.fB)(this.wrapMethod(iv.KX,this.options.onRedo))}undoDepth(n=this.store.getState()){return(0,iv.of)(n)}redoDepth(n=this.store.getState()){return(0,iv.AH)(n)}};iS([(0,rV.IGC)({shortcut:I.vO.Undo,command:"undo"})],ix.prototype,"undoShortcut",1),iS([(0,rV.IGC)({shortcut:I.vO.Redo,command:"redo"})],ix.prototype,"redoShortcut",1),iS([(0,rV.WDe)({disableChaining:!0,description:({t:n})=>n(iy.XW.UNDO_DESCRIPTION),label:({t:n})=>n(iy.XW.UNDO_LABEL),icon:"arrowGoBackFill"})],ix.prototype,"undo",1),iS([(0,rV.WDe)({disableChaining:!0,description:({t:n})=>n(iy.XW.REDO_DESCRIPTION),label:({t:n})=>n(iy.XW.REDO_LABEL),icon:"arrowGoForwardFill"})],ix.prototype,"redo",1),iS([(0,rV._y)()],ix.prototype,"undoDepth",1),iS([(0,rV._y)()],ix.prototype,"redoDepth",1),ix=iS([(0,rV.AOx)({defaultOptions:{depth:100,newGroupDelay:500,getDispatch:void 0,getState:void 0},staticKeys:["depth","newGroupDelay"],handlerKeys:["onUndo","onRedo"]})],ix);var i_=Object.defineProperty,ik=Object.getOwnPropertyDescriptor,iA=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?ik(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&i_(i,o,l),l},iT={icon:"paragraph",label:({t:n})=>n(iy.iR.INSERT_LABEL),description:({t:n})=>n(iy.iR.INSERT_DESCRIPTION)},iC={icon:"paragraph",label:({t:n})=>n(iy.iR.CONVERT_LABEL),description:({t:n})=>n(iy.iR.CONVERT_DESCRIPTION)},iR=class extends rV.QR{get name(){return"paragraph"}createTags(){return[I.eX.LastNodeCompatible,I.eX.TextBlock,I.eX.Block,I.eX.FormattingNode]}createNodeSpec(n,i){return{content:"inline*",draggable:!1,...i,attrs:{...n.defaults()},parseDOM:[{tag:"p",getAttrs:i=>({...n.parse(i)})},...i.parseDOM??[]],toDOM:i=>["p",n.dom(i),0]}}convertParagraph(n={}){let{attrs:i,selection:o,preserveAttrs:a}=n;return this.store.commands.setBlockNodeType.original(this.type,i,o,a)}insertParagraph(n,i={}){let{selection:o,attrs:a}=i;return this.store.commands.insertNode.original(this.type,{content:n,selection:o,attrs:a})}shortcut(n){return this.convertParagraph()(n)}};iA([(0,rV.WDe)(iC)],iR.prototype,"convertParagraph",1),iA([(0,rV.WDe)(iT)],iR.prototype,"insertParagraph",1),iA([(0,rV.IGC)({shortcut:I.vO.Paragraph,command:"convertParagraph"})],iR.prototype,"shortcut",1),iR=iA([(0,rV.AOx)({defaultPriority:I.xV.Medium})],iR);var iD=o(48111),iO=o(27856),iI=o(31026),iN=Object.defineProperty,iM=Object.getOwnPropertyDescriptor,iL=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?iM(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&iN(i,o,l),l},iP=(n,i,o)=>{if(!i.has(n))throw TypeError("Cannot "+o)},iF=(n,i,o)=>(iP(n,i,"read from private field"),o?o.call(n):i.get(n)),iB=(n,i,o)=>{if(i.has(n))throw TypeError("Cannot add the same private member more than once");i instanceof WeakSet?i.add(n):i.set(n,o)},iU=(n,i,o,a)=>(iP(n,i,"write to private field"),a?a.call(n,o):i.set(n,o),o),iz=class{constructor(n){iB(this,a,(0,iD.i)()),iB(this,s,[]),iB(this,l,new Map),iB(this,u,[]),iB(this,c,!1),iB(this,d,void 0),iB(this,p,void 0),iB(this,f,void 0),iB(this,h,void 0),this.addListener=(n,i)=>iF(this,a).on(n,i),iU(this,d,n),iU(this,p,n.getActive),iU(this,h,n.getPosition),iU(this,f,n.getID),this.hasChanged=n.hasChanged,this.events=n.events??["state","scroll"]}static create(n){return new iz(n)}static fromPositioner(n,i){return iz.create({...n.basePositioner,...i})}get basePositioner(){return{getActive:iF(this,p),getPosition:iF(this,h),hasChanged:this.hasChanged,events:this.events,getID:iF(this,f)}}onActiveChanged(n){this.recentUpdate=n;let i=iF(this,p).call(this,n);iU(this,s,i),iU(this,l,new Map),iU(this,c,!1),iU(this,u,[]);let o=[];for(let[d,f]of i.entries()){let h=this.getID(f,d);iF(this,u).push(h),o.push({setElement:i=>this.addProps({...n,data:f,element:i},d),id:h,data:f})}iF(this,a).emit("update",o)}getID(n,i){var o;return(null==(o=iF(this,f))?void 0:o.call(this,n,i))??i.toString()}addProps(n,i){if(iF(this,c)||(iF(this,l).set(i,n),iF(this,l).sizen;return this.clone(n=>({getActive:o=>n.getActive(o).filter(i)}))}},ij=iz;function i$(n,i=iW){let{key:o}=(null==n?void 0:n.getMeta(iq))??{};return o===i}function iH(n){let{tr:i,state:o,previousState:a}=n;return!!(!a||i&&i$(i))||(i?(0,rG.yZ)(i):!o.doc.eq(a.doc)||!o.selection.eq(a.selection))}function iV(n,i,o={}){let a=i.getBoundingClientRect(),{accountForPadding:s=!1}=o,l=0,u=0,c=0,d=0;if((0,rG.jd)(i)&&s){let p=Number.parseFloat((0,rG.C2)(i,"padding-left").replace("px","")),f=Number.parseFloat((0,rG.C2)(i,"padding-right").replace("px","")),h=Number.parseFloat((0,rG.C2)(i,"padding-top").replace("px","")),m=Number.parseFloat((0,rG.C2)(i,"padding-bottom").replace("px","")),g=Number.parseFloat((0,rG.C2)(i,"border-left").replace("px","")),b=Number.parseFloat((0,rG.C2)(i,"border-right").replace("px","")),y=Number.parseFloat((0,rG.C2)(i,"border-top").replace("px","")),v=Number.parseFloat((0,rG.C2)(i,"border-bottom").replace("px","")),w=i.offsetWidth-i.clientWidth,E=i.offsetHeight-i.clientHeight;l+=p+g+("rtl"===i.dir?w:0),u+=f+b+("rtl"===i.dir?0:w),c+=h+y,d+=m+v+E}let S=new DOMRect(a.left+l,a.top+c,a.width-u,a.height-d);for(let[x,_]of[[n.top,n.left],[n.top,n.right],[n.bottom,n.left],[n.bottom,n.right]])if((0,O.uh)(x,S.top,S.bottom)&&(0,O.uh)(_,S.left,S.right))return!0;return!1}a=new WeakMap,s=new WeakMap,l=new WeakMap,u=new WeakMap,c=new WeakMap,d=new WeakMap,p=new WeakMap,f=new WeakMap,h=new WeakMap,ij.EMPTY=[];var iG="remirror-positioner-widget",iq="positionerUpdate",iW="__all_positioners__",iK={y:-999999,x:-999999,width:0,height:0},iY={...iK,left:-999999,top:-999999,bottom:-999999,right:-999999},iZ={...iK,rect:{...iY,toJSON:()=>iY},visible:!1},iX=ij.create({hasChanged:iH,getActive(n){let{state:i}=n;if(!(0,rG.Ab)(i)||i.selection.$anchor.depth>2)return ij.EMPTY;let o=(0,rG.Kk)({predicate:n=>n.type.isBlock,selection:i});return o?[o]:ij.EMPTY},getPosition(n){let{view:i,data:o}=n,a=i.nodeDOM(o.pos);if(!(0,rG.jd)(a))return iZ;let s=a.getBoundingClientRect(),l=i.dom.getBoundingClientRect(),u=s.height,c=s.width,d=i.dom.scrollLeft+s.left-l.left,p=i.dom.scrollTop+s.top-l.top,f=iV(s,i.dom);return{y:p,x:d,height:u,width:c,rect:s,visible:f}}}).clone(({getActive:n})=>({getActive(i){let[o]=n(i);return o&&(0,rG.mp)(o.node)&&o.node.type===(0,rG.JN)(i.state.schema)?[o]:ij.EMPTY}}));function iJ(n){return ij.create({hasChanged:iH,getActive(i){let{state:o,view:a}=i;if(!n(o)||!(0,rG.hT)(o.selection))return ij.EMPTY;try{let{head:s,anchor:l}=o.selection;return[{from:a.coordsAtPos(l),to:a.coordsAtPos(s)}]}catch{return ij.EMPTY}},getPosition(n){let{element:i,data:o,view:a}=n,{from:s,to:l}=o,u=i.offsetParent??a.dom,c=u.getBoundingClientRect(),d=Math.abs(l.bottom-s.top),p=d>s.bottom-s.top,f=Math.min(s.left,l.left),h=Math.min(s.top,l.top),m=u.scrollLeft+(p?l.left-c.left:f-c.left),g=u.scrollTop+h-c.top,b=p?1:Math.abs(s.left-l.right),y=new DOMRect(p?l.left:f,h,b,d),v=iV(y,a.dom);return{rect:y,y:g,x:m,height:d,width:b,visible:v}}})}iX.clone(({getPosition:n})=>({getPosition:i=>({...n(i),width:1})})),iX.clone(({getPosition:n})=>({getPosition(i){let{width:o,x:a,y:s,height:l}=n(i);return{...n(i),width:1,x:o+a,rect:new DOMRect(o+a,s,1,l)}}}));var iQ=iJ(n=>!n.selection.empty);iJ(n=>n.selection.empty),iJ(()=>!0),iQ.clone(()=>({getActive(n){let{state:i,view:o}=n;if(!i.selection.empty)return ij.EMPTY;let a=(0,rG.JM)(i);if(!a)return ij.EMPTY;try{return[{from:o.coordsAtPos(a.from),to:o.coordsAtPos(a.to)}]}catch{return ij.EMPTY}}}));var i0=class extends rV.nNj{constructor(){super(...arguments),this.positioners=[],this.onAddCustomHandler=({positioner:n})=>{if(n)return this.positioners=[...this.positioners,n],this.store.commands.forceUpdate(),()=>{this.positioners=this.positioners.filter(i=>i!==n)}}}get name(){return"positioner"}createAttributes(){return{class:iI.bu.EDITOR}}init(){this.onScroll=(0,iO.D)(this.options.scrollDebounce,this.onScroll.bind(this))}createEventHandlers(){return{scroll:()=>(this.onScroll(),!1),hover:(n,i)=>(this.positioner(this.getBaseProps("hover",{hover:i})),!1),contextmenu:(n,i)=>(this.positioner(this.getBaseProps("contextmenu",{contextmenu:i})),!1)}}onStateUpdate(n){this.positioner({...n,previousState:n.firstUpdate?void 0:n.previousState,event:"state",helpers:this.store.helpers})}createDecorations(n){if(this.element,this.element=this.createElement(),!this.element.hasChildNodes())return it.EH.empty;let i=it.p.widget(0,this.element,{key:"positioner-widget",side:-1,stopEvent:()=>!0});return it.EH.create(n.doc,[i])}forceUpdatePositioners(n=iW){return({tr:i,dispatch:o})=>(null==o||o(i.setMeta(iq,{key:n})),!0)}getPositionerWidget(){return this.element??(this.element=this.createElement())}createElement(){let n=document.createElement("span");return n.dataset.id=iG,n.setAttribute("role","presentation"),n}triggerPositioner(n,i){n.hasChanged(i)&&n.onActiveChanged({...i,view:this.store.view})}positioner(n){for(let i of this.positioners){let o=!i.events.includes(n.event);o||this.triggerPositioner(i,n)}}getBaseProps(n,i){let o=this.store.getState(),a=this.store.previousState;return{helpers:this.store.helpers,event:n,firstUpdate:!1,previousState:a,state:o,...i}}onScroll(){this.positioner(this.getBaseProps("scroll",{scroll:{scrollTop:this.store.view.dom.scrollTop}}))}};iL([(0,rV.WDe)()],i0.prototype,"forceUpdatePositioners",1),iL([(0,rV._y)()],i0.prototype,"getPositionerWidget",1),i0=iL([(0,rV.AOx)({defaultOptions:{scrollDebounce:100},customHandlerKeys:["positioner"],staticKeys:["scrollDebounce"]})],i0);var i1=Object.defineProperty,i2=Object.getOwnPropertyDescriptor,i3=class extends rV.QR{get name(){return"text"}createTags(){return[I.eX.InlineNode]}createNodeSpec(){return{}}};i3=((n,i,o,a)=>{for(var s,l=a>1?void 0:a?i2(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&i1(i,o,l),l})([(0,rV.AOx)({disableExtraAttributes:!0,defaultPriority:I.xV.Medium})],i3);var i5={...rZ.defaultOptions,...iR.defaultOptions,...ix.defaultOptions,excludeExtensions:[]};function i4(n={}){n={...i5,...n};let{content:i,depth:o,getDispatch:a,getState:s,newGroupDelay:l,excludeExtensions:u}=n,c={};for(let d of u??[])c[d]=!0;let p=[];if(!c.history){let f=new ix({depth:o,getDispatch:a,getState:s,newGroupDelay:l});p.push(f)}return c.doc||p.push(new rZ({content:i})),c.text||p.push(new i3),c.paragraph||p.push(new iR),c.positioner||p.push(new i0),c.gapCursor||p.push(new ig),c.events||p.push(new r6),p}var i6=o(49891),i8=o(73935),i9=o(31857),i7=Object.defineProperty,oe=Object.getOwnPropertyDescriptor,ot=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?oe(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&i7(i,o,l),l},on=(n,i,o)=>{if(!i.has(n))throw TypeError("Cannot "+o)},or=(n,i,o)=>(on(n,i,"read from private field"),o?o.call(n):i.get(n)),oi=(n,i,o)=>{if(i.has(n))throw TypeError("Cannot add the same private member more than once");i instanceof WeakSet?i.add(n):i.set(n,o)},oo=(n,i,o,a)=>(on(n,i,"write to private field"),a?a.call(n,o):i.set(n,o),o),oa=class{constructor(){this.portals=new Map,oi(this,m,(0,iD.i)()),this.on=n=>or(this,m).on("update",n),this.once=n=>{let i=or(this,m).on("update",o=>{i(),n(o)});return i}}update(){or(this,m).emit("update",this.portals)}render({Component:n,container:i}){let o=this.portals.get(i);this.portals.set(i,{Component:n,key:(null==o?void 0:o.key)??(0,O.EL)()}),this.update()}forceUpdate(){for(let[n,{Component:i}]of this.portals)this.portals.set(n,{Component:i,key:(0,O.EL)()})}remove(n){this.portals.delete(n),this.update()}};m=new WeakMap;var ol=n=>{let{portals:i}=n;return D.createElement(D.Fragment,null,i.map(([n,{Component:i,key:o}])=>(0,i8.createPortal)(D.createElement(i,null),n,o)))};function ou(n){let[i,o]=(0,D.useState)(()=>Array.from(n.portals.entries()));return(0,D.useEffect)(()=>n.on(n=>{o(Array.from(n.entries()))}),[n]),(0,D.useMemo)(()=>i,[i])}var oc=class{constructor({getPosition:n,node:i,portalContainer:o,view:a,ReactComponent:s,options:l}){oi(this,g,void 0),oi(this,b,[]),oi(this,y,void 0),oi(this,v,void 0),oi(this,w,void 0),oi(this,E,void 0),oi(this,S,void 0),oi(this,x,!1),oi(this,_,void 0),oi(this,k,void 0),oi(this,A,void 0),oi(this,T,n=>{n&&((0,O.kG)(or(this,k),{code:I.mA.REACT_NODE_VIEW,message:`You have applied a ref to a node view provided for '${or(this,g).type.name}' which doesn't support content.`}),n.append(or(this,k)))}),this.Component=()=>{let n=or(this,w);return(0,O.kG)(n,{code:I.mA.REACT_NODE_VIEW,message:`The custom react node view provided for ${or(this,g).type.name} doesn't have a valid ReactComponent`}),D.createElement(n,{updateAttributes:this.updateAttributes,selected:this.selected,view:or(this,y),getPosition:or(this,E),node:or(this,g),forwardRef:or(this,T),decorations:or(this,b)})},this.updateAttributes=n=>{if(!or(this,y).editable)return;let i=or(this,E).call(this);if(null==i)return;let o=or(this,y).state.tr.setNodeMarkup(i,void 0,{...or(this,g).attrs,...n});or(this,y).dispatch(o)},(0,O.kG)((0,O.mf)(n),{message:"You are attempting to use a node view for a mark type. This is not supported yet. Please check your configuration."}),oo(this,g,i),oo(this,y,a),oo(this,v,o),oo(this,w,s),oo(this,E,n),oo(this,S,l),oo(this,A,this.createDom());let{contentDOM:u,wrapper:c}=this.createContentDom()??{};oo(this,_,u??void 0),oo(this,k,c),or(this,k)&&or(this,A).append(or(this,k)),this.setDomAttributes(or(this,g),or(this,A)),this.Component.displayName=(0,i9.Ho)(`${or(this,g).type.name}NodeView`),this.renderComponent()}static create(n){let{portalContainer:i,ReactComponent:o,options:a}=n;return(n,s,l)=>new oc({options:a,node:n,view:s,getPosition:l,portalContainer:i,ReactComponent:o})}get selected(){return or(this,x)}get contentDOM(){return or(this,_)}get dom(){return or(this,A)}renderComponent(){or(this,v).render({Component:this.Component,container:or(this,A)})}createDom(){let{defaultBlockNode:n,defaultInlineNode:i}=or(this,S),o=or(this,g).isInline?document.createElement(i):document.createElement(n);return o.classList.add(`${(0,i9.GL)(or(this,g).type.name)}-node-view-wrapper`),o}createContentDom(){var n,i;let o;if(or(this,g).isLeaf)return;let a=null==(i=(n=or(this,g).type.spec).toDOM)?void 0:i.call(n,or(this,g));if(!a)return;let{contentDOM:s,dom:l}=ie.PW.renderSpec(document,a);if((0,rG.jd)(l))return o=l,l===s&&((o=document.createElement("span")).classList.add(`${(0,i9.GL)(or(this,g).type.name)}-node-view-content-wrapper`),o.append(s)),(0,rG.jd)(s),{wrapper:o,contentDOM:s}}update(n,i){return!!(0,rG.$9)({types:or(this,g).type,node:n})&&(or(this,g)===n&&or(this,b)===i||(or(this,g).sameMarkup(n)||this.setDomAttributes(n,or(this,A)),oo(this,g,n),oo(this,b,i),this.renderComponent(),!0))}setDomAttributes(n,i){let{toDOM:o}=or(this,g).type.spec,a=n.attrs;if(o){let s=o(n);if((0,O.HD)(s)||op(s))return;(0,O.PO)(s[1])&&(a=s[1])}for(let[l,u]of(0,O.qh)(a))i.setAttribute(l,u)}selectNode(){oo(this,x,!0),or(this,A)&&or(this,A).classList.add(I.Eg),this.renderComponent()}deselectNode(){oo(this,x,!1),or(this,A)&&or(this,A).classList.remove(I.Eg),this.renderComponent()}destroy(){or(this,v).remove(or(this,A))}ignoreMutation(n){return"selection"===n.type?!or(this,g).type.spec.selectable:!or(this,k)||!or(this,k).contains(n.target)}stopEvent(n){var i;if(!or(this,A))return!1;if((0,O.mf)(or(this,S).stopEvent))return or(this,S).stopEvent({event:n});let o=n.target,a=or(this,A).contains(o)&&!(null==(i=this.contentDOM)?void 0:i.contains(o));if(!a)return!1;let s="drop"===n.type,l=["INPUT","BUTTON","SELECT","TEXTAREA"].includes(o.tagName)||o.isContentEditable;if(l&&!s)return!0;let u=!!or(this,g).type.spec.draggable,c=r7.qv.isSelectable(or(this,g)),d="copy"===n.type,p="paste"===n.type,f="cut"===n.type,h="mousedown"===n.type,m=n.type.startsWith("drag");return!u&&c&&m&&n.preventDefault(),!m&&!s&&!d&&!p&&!f&&(!h||!c)}},od=oc;function op(n){return(0,rG.mV)(n)||(0,O.PO)(n)&&(0,rG.mV)(n.dom)}g=new WeakMap,b=new WeakMap,y=new WeakMap,v=new WeakMap,w=new WeakMap,E=new WeakMap,S=new WeakMap,x=new WeakMap,_=new WeakMap,k=new WeakMap,A=new WeakMap,T=new WeakMap;var of=class extends rV.nNj{constructor(){super(...arguments),this.portalContainer=new oa}get name(){return"reactComponent"}onCreate(){this.store.setStoreKey("portalContainer",this.portalContainer)}createNodeViews(){let n=(0,O.Ry)(),i=this.store.managerSettings.nodeViewComponents??{};for(let o of this.store.extensions)o.ReactComponent&&(0,rV.JZE)(o)&&"ssr"!==o.reactComponentEnvironment&&(n[o.name]=od.create({options:this.options,ReactComponent:o.ReactComponent,portalContainer:this.portalContainer}));let a=(0,O.qh)({...this.options.nodeViewComponents,...i});for(let[s,l]of a)n[s]=od.create({options:this.options,ReactComponent:l,portalContainer:this.portalContainer});return n}};of=ot([(0,rV.AOx)({defaultOptions:{defaultBlockNode:"div",defaultInlineNode:"span",defaultContentNode:"span",defaultEnvironment:"both",nodeViewComponents:{},stopEvent:null},staticKeys:["defaultBlockNode","defaultInlineNode","defaultContentNode","defaultEnvironment"]})],of);var oh=Object.defineProperty,om=Object.getOwnPropertyDescriptor,og=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?om(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&oh(i,o,l),l},ob={...i6.X.defaultOptions,...of.defaultOptions},oy=[...i6.X.staticKeys,...of.staticKeys],ov=class extends rV.nNj{get name(){return"react"}onSetOptions(n){let{pickChanged:i}=n;this.getExtension(i6.X).setOptions(i(["placeholder"]))}createExtensions(){let{emptyNodeClass:n,placeholder:i,defaultBlockNode:o,defaultContentNode:a,defaultEnvironment:s,defaultInlineNode:l,nodeViewComponents:u}=this.options;return[new i6.X({emptyNodeClass:n,placeholder:i,priority:I.xV.Low}),new of({defaultBlockNode:o,defaultContentNode:a,defaultEnvironment:s,defaultInlineNode:l,nodeViewComponents:u})]}};ov=og([(0,rV.AOx)({defaultOptions:ob,staticKeys:oy})],ov);var ow=o(99601),oE=(n,i,o)=>{if(!i.has(n))throw TypeError("Cannot "+o)},oS=(n,i,o)=>(oE(n,i,"read from private field"),o?o.call(n):i.get(n)),ox=(n,i,o)=>{if(i.has(n))throw TypeError("Cannot add the same private member more than once");i instanceof WeakSet?i.add(n):i.set(n,o)},o_=(n,i,o,a)=>(oE(n,i,"write to private field"),a?a.call(n,o):i.set(n,o),o);function ok(){let[,n]=(0,D.useState)((0,O.Ry)());return(0,D.useCallback)(()=>{n((0,O.Ry)())},[])}var oA=(0,D.createContext)(null);function oT(n){let i=(0,D.useContext)(oA),o=(0,D.useRef)(ok());(0,O.kG)(i,{code:I.mA.REACT_PROVIDER_CONTEXT});let{addHandler:a}=i;return(0,D.useEffect)(()=>{let i=n;if(i){if((0,O.PO)(i)){let{autoUpdate:s}=i;i=s?()=>o.current():void 0}if((0,O.mf)(i))return a("updated",i)}},[a,n]),i}function oC(n=!0){return oT({autoUpdate:n}).active}function oR(){return oT().commands}function oD(n=!1){return oT(n?{autoUpdate:!0}:void 0).helpers}var[oO,oI]=F(({props:n})=>{let i=n.locale??"en",o=n.i18n??ed,a=n.supportedLocales??[i],s=o._.bind(o);return{locale:i,i18n:o,supportedLocales:a,t:s}});function oN(n,i={}){let{core:o,react:a,...s}=i;return(0,rV.ZQL)(n)?n:rV.Ao0.create(()=>[...(0,O.r2)(n),new ov(a),...i4(o)],s)}function oM(n,i={}){let o=(0,D.useRef)(n),a=(0,D.useRef)(i),[s,l]=(0,D.useState)(()=>oN(n,i));return o.current=n,a.current=i,(0,D.useEffect)(()=>s.addHandler("destroy",()=>{l(()=>oN(o.current,a.current))}),[s]),s}var oL="object"==typeof ow&&ow.__esModule&&ow.default?ow.default:ow,oP=class extends rV.gQe{constructor(n){if(super(n),ox(this,C,void 0),this.rootPropsConfig={called:!1,count:0},this.getRootProps=n=>this.internalGetRootProps(n,null),this.internalGetRootProps=(n,i)=>{this.rootPropsConfig.called=!0;let{refKey:o="ref",ref:a,...s}=n??(0,O.Ry)();return{[o]:oL(a,this.onRef),key:this.uid,...s,children:i}},this.onRef=n=>{n&&(this.rootPropsConfig.count+=1,(0,O.kG)(this.rootPropsConfig.count<=1,{code:I.mA.REACT_GET_ROOT_PROPS,message:`Called ${this.rootPropsConfig.count} times`}),o_(this,C,n),this.onRefLoad())},this.manager.view){this.manager.view.setProps({state:this.manager.view.state,dispatchTransaction:this.dispatchTransaction,attributes:()=>this.getAttributes(),editable:()=>this.props.editable??!0});return}this.manager.getExtension(i6.X).setOptions({placeholder:this.props.placeholder??""})}get name(){return"react"}update(n){return super.update(n),this}createView(n){return new it.tk(null,{state:n,dispatchTransaction:this.dispatchTransaction,attributes:()=>this.getAttributes(),editable:()=>this.props.editable??!0,plugins:[]})}updateState({state:n,...i}){let{triggerChange:o=!0,tr:a,transactions:s}=i;if(this.props.state){let{onChange:l}=this.props;(0,O.kG)(l,{code:I.mA.REACT_CONTROLLED,message:"You are required to provide the `onChange` handler when creating a controlled editor."}),(0,O.kG)(o,{code:I.mA.REACT_CONTROLLED,message:"Controlled editors do not support `clearContent` or `setContent` where `triggerChange` is `true`. Update the `state` prop instead."}),this.previousStateOverride||(this.previousStateOverride=this.getState()),this.onChange({state:n,tr:a,transactions:s});return}a||s||(n=n.apply(n.tr.setMeta(I.zr,{}))),this.view.updateState(n),o&&(null==s?void 0:s.length)!==0&&this.onChange({state:n,tr:a,transactions:s}),this.manager.onStateUpdate({previousState:this.previousState,state:n,tr:a,transactions:s})}updateControlledState(n,i){this.previousStateOverride=i,n=n.apply(n.tr.setMeta(I.zr,{})),this.view.updateState(n),this.manager.onStateUpdate({previousState:this.previousState,state:n}),this.previousStateOverride=void 0}addProsemirrorViewToDom(n,i){"start"===this.props.insertPosition?n.insertBefore(i,n.firstChild):n.append(i)}onRefLoad(){(0,O.kG)(oS(this,C),{code:I.mA.REACT_EDITOR_VIEW,message:"Something went wrong when initializing the text editor. Please check your setup."});let{autoFocus:n}=this.props;this.addProsemirrorViewToDom(oS(this,C),this.view.dom),n&&this.focus(n),this.onChange(),this.addFocusListeners()}onUpdate(){this.view&&oS(this,C)&&this.view.setProps({...this.view.props,editable:()=>this.props.editable??!0})}get frameworkOutput(){return{...this.baseOutput,getRootProps:this.getRootProps,portalContainer:this.manager.store.portalContainer}}resetRender(){this.rootPropsConfig.called=!1,this.rootPropsConfig.count=0}};C=new WeakMap;var oF="undefined"!=typeof document?D.useLayoutEffect:D.useEffect;function oB(n){let i=(0,D.useRef)();return oF(()=>{i.current=n}),i.current}function oU(n){let{manager:i,state:o}=n,{placeholder:a,editable:s}=n,l=(0,D.useRef)(!0);l.current&&!(0,O.le)(a)&&i.getExtension(ov).setOptions({placeholder:a}),(0,D.useEffect)(()=>{null!=a&&i.getExtension(ov).setOptions({placeholder:a})},[a,i]);let[u]=(0,D.useState)(()=>{if(o)return o;let a=i.createEmptyDoc(),[s,l]=(0,O.kJ)(n.initialContent)?n.initialContent:[n.initialContent??a];return i.createState({content:s,selection:l})}),c=oz({initialEditorState:u,getProps:()=>n});return(0,D.useEffect)(()=>()=>{c.destroy()},[c]),(0,D.useEffect)(()=>{c.onUpdate()},[s,c]),oj(c),c.frameworkOutput}function oz(n){let i=(0,D.useRef)(n);i.current=n;let o=(0,D.useMemo)(()=>new oP(i.current),[]);return o.update(n),o}function oj(n){let{state:i}=n.props,o=(0,D.useRef)(!!i),a=oB(i);oF(()=>{let s=i?!0===o.current:!1===o.current;(0,O.kG)(s,{code:I.mA.REACT_CONTROLLED,message:o.current?"You have attempted to switch from a controlled to an uncontrolled editor. Once you set up an editor as a controlled editor it must always provide a `state` prop.":"You have provided a `state` prop to an uncontrolled editor. In order to set up your editor as controlled you must provide the `state` prop from the very first render."}),i&&i!==a&&n.updateControlledState(i,a??void 0)},[i,a,n])}function o$(n={}){let{content:i,document:o,selection:a,extensions:s,...l}=n,u=oM(s??(()=>[]),l),[c,d]=(0,D.useState)(()=>u.createState({selection:a,content:i??u.createEmptyDoc()})),p=(0,D.useCallback)(({state:n})=>{d(n)},[]),f=(0,D.useCallback)(()=>{let n=u.output;return n},[u]);return(0,D.useMemo)(()=>({state:c,setState:d,manager:u,onChange:p,getContext:f}),[f,u,p,c])}var oH=()=>D.createElement("div",{className:iI.kd.EDITOR_WRAPPER,...oT().getRootProps()}),oV=n=>(n.hook(),null);function oG(n){let{children:i,autoRender:o,i18n:a,locale:s,supportedLocales:l,hooks:u=[],...c}=n,d=oU(c),p=ou(d.portalContainer),f="start"===o||!0===o||!i&&(0,O.le)(o),h="end"===o;return D.createElement(oO,{i18n:a,locale:s,supportedLocales:l},D.createElement(oA.Provider,{value:d},D.createElement(ol,{portals:p}),u.map((n,i)=>D.createElement(oV,{hook:n,key:i})),f&&D.createElement(oH,null),i,h&&D.createElement(oH,null)))}},31026:function(n,i,o){"use strict";function a(n,i,o){return Math.min(Math.max(n,o),i)}o.d(i,{kd:function(){return eC},uV:function(){return eY},Nh:function(){return e5},Jl:function(){return e6},MQ:function(){return to},_x:function(){return ts},bu:function(){return td},C6:function(){return tp},Ie:function(){return tf},U9:function(){return tL},y2:function(){return tb}});class s extends Error{constructor(n){super(`Failed to parse color: "${n}"`)}}var l=s;function u(n){if("string"!=typeof n)throw new l(n);if("transparent"===n.trim().toLowerCase())return[0,0,0,0];let i=n.trim();i=v.test(n)?f(n):n;let o=m.exec(i);if(o){let s=Array.from(o).slice(1);return[...s.slice(0,3).map(n=>parseInt(h(n,2),16)),parseInt(h(s[3]||"f",2),16)/255]}let u=g.exec(i);if(u){let c=Array.from(u).slice(1);return[...c.slice(0,3).map(n=>parseInt(n,16)),parseInt(c[3]||"ff",16)/255]}let d=b.exec(i);if(d){let p=Array.from(d).slice(1);return[...p.slice(0,3).map(n=>parseInt(n,10)),parseFloat(p[3]||"1")]}let w=y.exec(i);if(w){let[S,x,_,k]=Array.from(w).slice(1).map(parseFloat);if(a(0,100,x)!==x||a(0,100,_)!==_)throw new l(n);return[...E(S,x,_),Number.isNaN(k)?1:k]}throw new l(n)}function c(n){let i=5381,o=n.length;for(;o;)i=33*i^n.charCodeAt(--o);return(i>>>0)%2341}let d=n=>parseInt(n.replace(/_/g,""),36),p="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((n,i)=>{let o=d(i.substring(0,3)),a=d(i.substring(3)).toString(16),s="";for(let l=0;l<6-a.length;l++)s+="0";return n[o]=`${s}${a}`,n},{});function f(n){let i=n.toLowerCase().trim(),o=p[c(i)];if(!o)throw new l(n);return`#${o}`}let h=(n,i)=>Array.from(Array(i)).map(()=>n).join(""),m=RegExp(`^#${h("([a-f0-9])",3)}([a-f0-9])?$`,"i"),g=RegExp(`^#${h("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),b=RegExp(`^rgba?\\(\\s*(\\d+)\\s*${h(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),y=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,v=/^[a-z]+$/i,w=n=>Math.round(255*n),E=(n,i,o)=>{let a=o/100;if(0===i)return[a,a,a].map(w);let s=(n%360+360)%360/60,l=(1-Math.abs(2*a-1))*(i/100),u=l*(1-Math.abs(s%2-1)),c=0,d=0,p=0;s>=0&&s<1?(c=l,d=u):s>=1&&s<2?(c=u,d=l):s>=2&&s<3?(d=l,p=u):s>=3&&s<4?(d=u,p=l):s>=4&&s<5?(c=u,p=l):s>=5&&s<6&&(c=l,p=u);let f=a-l/2,h=c+f,m=d+f,g=p+f;return[h,m,g].map(w)};function S(n){let[i,o,a,s]=u(n).map((n,i)=>3===i?n:n/255),l=Math.max(i,o,a),c=Math.min(i,o,a),d=(l+c)/2;if(l===c)return[0,0,d,s];let p=l-c,f=d>.5?p/(2-l-c):p/(l+c),h=60*(i===l?(o-a)/p+(o.179}function D(n){return R(n)?"#000":"#fff"}let O="remirror-editor-wrapper",I="remirror-button-active",N="remirror-button",M="remirror-composite",L="remirror-dialog",P="remirror-dialog-backdrop",F="remirror-form",B="remirror-form-message",U="remirror-form-label",z="remirror-form-group",j="remirror-group",$="remirror-input",H="remirror-menu",V="remirror-menu-pane",G="remirror-menu-pane-active",q="remirror-menu-dropdown-label",W="remirror-menu-pane-icon",K="remirror-menu-pane-label",Y="remirror-menu-pane-shortcut",Z="remirror-menu-button-left",X="remirror-menu-button-right",J="remirror-menu-button-nested-left",Q="remirror-menu-button-nested-right",ee="remirror-menu-button",et="remirror-menu-bar",en="remirror-flex-column",er="remirror-flex-row",ei="remirror-menu-item",eo="remirror-menu-item-row",ea="remirror-menu-item-column",es="remirror-menu-item-checkbox",el="remirror-menu-item-radio",eu="remirror-menu-group",ec="remirror-floating-popover",ed="remirror-popover",ep="remirror-animated-popover",ef="remirror-role",eh="remirror-separator",em="remirror-tab",eg="remirror-tab-list",eb="remirror-tabbable",ey="remirror-toolbar",ev="remirror-tooltip",ew="remirror-table-size-editor",eE="remirror-table-size-editor-body",eS="remirror-table-size-editor-cell",ex="remirror-table-size-editor-cell-selected",e_="remirror-table-size-editor-footer",ek="remirror-color-picker",eA="remirror-color-picker-cell",eT="remirror-color-picker-cell-selected";var eC=Object.freeze({__proto__:null,ANIMATED_POPOVER:ep,BUTTON:N,BUTTON_ACTIVE:I,COLOR_PICKER:ek,COLOR_PICKER_CELL:eA,COLOR_PICKER_CELL_SELECTED:eT,COMPOSITE:M,DIALOG:L,DIALOG_BACKDROP:P,EDITOR_WRAPPER:O,FLEX_COLUMN:en,FLEX_ROW:er,FLOATING_POPOVER:ec,FORM:F,FORM_GROUP:z,FORM_LABEL:U,FORM_MESSAGE:B,GROUP:j,INPUT:$,MENU:H,MENU_BAR:et,MENU_BUTTON:ee,MENU_BUTTON_LEFT:Z,MENU_BUTTON_NESTED_LEFT:J,MENU_BUTTON_NESTED_RIGHT:Q,MENU_BUTTON_RIGHT:X,MENU_DROPDOWN_LABEL:q,MENU_GROUP:eu,MENU_ITEM:ei,MENU_ITEM_CHECKBOX:es,MENU_ITEM_COLUMN:ea,MENU_ITEM_RADIO:el,MENU_ITEM_ROW:eo,MENU_PANE:V,MENU_PANE_ACTIVE:G,MENU_PANE_ICON:W,MENU_PANE_LABEL:K,MENU_PANE_SHORTCUT:Y,POPOVER:ed,ROLE:ef,SEPARATOR:eh,TAB:em,TABBABLE:eb,TABLE_SIZE_EDITOR:ew,TABLE_SIZE_EDITOR_BODY:eE,TABLE_SIZE_EDITOR_CELL:eS,TABLE_SIZE_EDITOR_CELL_SELECTED:ex,TABLE_SIZE_EDITOR_FOOTER:e_,TAB_LIST:eg,TOOLBAR:ey,TOOLTIP:ev});let eR="remirror-wrap",eD="remirror-language-select-positioner",eO="remirror-language-select-width",eI="remirror-a11y-dark",eN="remirror-atom-dark",eM="remirror-base16-ateliersulphurpool-light",eL="remirror-cb",eP="remirror-darcula",eF="remirror-dracula",eB="remirror-duotone-dark",eU="remirror-duotone-earth",ez="remirror-duotone-forest",ej="remirror-duotone-light",e$="remirror-duotone-sea",eH="remirror-duotone-space",eV="remirror-gh-colors",eG="remirror-hopscotch",eq="remirror-pojoaque",eW="remirror-vs",eK="remirror-xonokai";var eY=Object.freeze({__proto__:null,A11Y_DARK:eI,ATOM_DARK:eN,BASE16_ATELIERSULPHURPOOL_LIGHT:eM,CB:eL,DARCULA:eP,DRACULA:eF,DUOTONE_DARK:eB,DUOTONE_EARTH:eU,DUOTONE_FOREST:ez,DUOTONE_LIGHT:ej,DUOTONE_SEA:e$,DUOTONE_SPACE:eH,GH_COLORS:eV,HOPSCOTCH:eG,LANGUAGE_SELECT_POSITIONER:eD,LANGUAGE_SELECT_WIDTH:eO,POJOAQUE:eq,VS:eW,WRAP:eR,XONOKAI:eK});let eZ="remirror-emoji-image",eX="remirror-emoji-wrapper",eJ="remirror-emoji-popup-item",eQ="remirror-emoji-popup-hovered",e0="remirror-emoji-popup-highlight",e1="remirror-emoji-popup-wrapper",e2="remirror-emoji-popup-name",e3="remirror-emoji-popup-char";var e5=Object.freeze({__proto__:null,EMOJI_IMAGE:eZ,EMOJI_POPUP_CHAR:e3,EMOJI_POPUP_HIGHLIGHT:e0,EMOJI_POPUP_HOVERED:eQ,EMOJI_POPUP_ITEM:eJ,EMOJI_POPUP_NAME:e2,EMOJI_POPUP_WRAPPER:e1,EMOJI_WRAPPER:eX});let e4="remirror-image-loader";var e6=Object.freeze({__proto__:null,IMAGE_LOADER:e4});let e8="remirror-list-item-with-custom-mark",e9="remirror-ul-list-content",e7="remirror-editor",te="remirror-list-item-marker-container",tt="remirror-list-item-checkbox",tn="remirror-collapsible-list-item-closed",tr="remirror-collapsible-list-item-button",ti="remirror-list-spine";var to=Object.freeze({__proto__:null,COLLAPSIBLE_LIST_ITEM_BUTTON:tr,COLLAPSIBLE_LIST_ITEM_CLOSED:tn,EDITOR:e7,LIST_ITEM_CHECKBOX:tt,LIST_ITEM_MARKER_CONTAINER:te,LIST_ITEM_WITH_CUSTOM_MARKER:e8,LIST_SPINE:ti,UL_LIST_CONTENT:e9});let ta="remirror-is-empty";var ts=Object.freeze({__proto__:null,IS_EMPTY:ta});let tl="remirror-editor",tu="remirror-positioner",tc="remirror-positioner-widget";var td=Object.freeze({__proto__:null,EDITOR:tl,POSITIONER:tu,POSITIONER_WIDGET:tc});let tp="remirror-theme";function tf(n={}){let i=[],o={};function a(n,s){if("string"==typeof s||"number"==typeof s){i.push(`${tm(n)}: ${s};`),o[tm(n)]=s;return}if("object"==typeof s&&s)for(let[l,u]of Object.entries(s))a([...n,l],u)}for(let[s,l]of Object.entries(n))a([s],l);return{css:i.join("\n"),styles:o}}function th(n){return n.replace(/([a-z])([\dA-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}function tm(n){return`--rmr-${n.map(th).join("-")}`}function tg(n){return`var(${tm(n)})`}function tb(...n){return tg(n.map(n=>n.toString()))}let ty={gray:["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"],red:["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],pink:["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],grape:["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],violet:["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],indigo:["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],blue:["#e7f5ff","#d0ebff","#a5d8ff","#74c0fc","#4dabf7","#339af0","#228be6","#1c7ed6","#1971c2","#1864ab"],cyan:["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],teal:["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],green:["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],lime:["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],yellow:["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],orange:["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"]},tv="#000000",tw="#ffffff",tE="#252103",tS=C(tv,.75),tx="#7963d2",t_="#bcd263",tk="#fff",tA="#fff",tT=ty.gray[1],tC="rgba(10,31,68,0.08)",tR="rgba(10,31,68,0.10)",tD="rgba(10,31,68,0.12)",tO=T(C(tv,.1),.13),tI={background:tw,border:tS,foreground:tv,muted:tT,primary:tx,secondary:t_,primaryText:tk,secondaryText:tA,text:tE,faded:tO},tN={...tI,background:_(tw,.15),border:_(tS,.15),foreground:_(tv,.15),muted:_(tT,.15),primary:_(tx,.15),secondary:_(t_,.15),get text(){return D(this.background)},get primaryText(){return D(this.primary)},get secondaryText(){return D(this.secondary)}},tM={...tI,background:_(tw,.075),border:_(tS,.075),foreground:_(tv,.075),muted:_(tT,.075),primary:_(tx,.075),secondary:_(t_,.075),get text(){return D(this.background)},get primaryText(){return D(this.primary)},get secondaryText(){return D(this.secondary)}},tL={color:{...tI,active:tN,hover:tM,shadow1:tC,shadow2:tR,shadow3:tD,backdrop:C(tv,.1),outline:C(tx,.6),table:{default:{border:T(tv,.8),cell:T(tv,.4),controller:ty.gray[3]},selected:{border:ty.blue[7],cell:ty.blue[1],controller:ty.blue[5]},preselect:{border:ty.blue[7],cell:T(tv,.4),controller:ty.blue[5]},predelete:{border:ty.red[7],cell:ty.red[1],controller:ty.red[5]},mark:"#91919196"}},hue:ty,radius:{border:"0.25rem",extra:"0.5rem",circle:"50%"},fontFamily:{default:'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif',heading:"inherit",mono:"Menlo, monospace"},fontSize:{0:"12px",1:"14px",2:"16px",3:"20px",4:"24px",5:"32px",6:"48px",7:"64px",8:"96px",default:"16px"},space:{1:"4px",2:"8px",3:"16px",4:"32px",5:"64px",6:"128px",7:"256px",8:"512px"},fontWeight:{bold:"700",default:"400",heading:"700"},letterSpacing:{tight:"-1px",default:"normal",loose:"1px",wide:"3px"},lineHeight:{heading:"1.25em",default:"1.5em"},boxShadow:{1:`0 1px 1px ${tC}`,2:`0 1px 1px ${tR}`,3:`0 1px 1px ${tD}`}}},7297:function(n,i,o){"use strict";function a(n,i){return i||(i=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(i)}}))}o.d(i,{Z:function(){return a}})},5121:function(n,i,o){"use strict";o.d(i,{Z:function(){return tN}});var a,s,l,u={};function c(n,i){return function(){return n.apply(i,arguments)}}o.r(u),o.d(u,{hasBrowserEnv:function(){return eL},hasStandardBrowserEnv:function(){return eP},hasStandardBrowserWebWorkerEnv:function(){return eF}});let{toString:d}=Object.prototype,{getPrototypeOf:p}=Object,f=(a=Object.create(null),n=>{let i=d.call(n);return a[i]||(a[i]=i.slice(8,-1).toLowerCase())}),h=n=>(n=n.toLowerCase(),i=>f(i)===n),m=n=>i=>typeof i===n,{isArray:g}=Array,b=m("undefined");function y(n){return null!==n&&!b(n)&&null!==n.constructor&&!b(n.constructor)&&S(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}let v=h("ArrayBuffer");function w(n){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(n):n&&n.buffer&&v(n.buffer)}let E=m("string"),S=m("function"),x=m("number"),_=n=>null!==n&&"object"==typeof n,k=n=>!0===n||!1===n,A=n=>{if("object"!==f(n))return!1;let i=p(n);return(null===i||i===Object.prototype||null===Object.getPrototypeOf(i))&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)},T=h("Date"),C=h("File"),R=h("Blob"),D=h("FileList"),O=n=>_(n)&&S(n.pipe),I=n=>{let i;return n&&("function"==typeof FormData&&n instanceof FormData||S(n.append)&&("formdata"===(i=f(n))||"object"===i&&S(n.toString)&&"[object FormData]"===n.toString()))},N=h("URLSearchParams"),M=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function L(n,i,{allOwnKeys:o=!1}={}){let a,s;if(null!=n){if("object"!=typeof n&&(n=[n]),g(n))for(a=0,s=n.length;a0;)if(i===(o=a[s]).toLowerCase())return o;return null}let F="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,B=n=>!b(n)&&n!==F;function U(){let{caseless:n}=B(this)&&this||{},i={},o=(o,a)=>{let s=n&&P(i,a)||a;A(i[s])&&A(o)?i[s]=U(i[s],o):A(o)?i[s]=U({},o):g(o)?i[s]=o.slice():i[s]=o};for(let a=0,s=arguments.length;a(L(i,(i,a)=>{o&&S(i)?n[a]=c(i,o):n[a]=i},{allOwnKeys:a}),n),j=n=>(65279===n.charCodeAt(0)&&(n=n.slice(1)),n),$=(n,i,o,a)=>{n.prototype=Object.create(i.prototype,a),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:i.prototype}),o&&Object.assign(n.prototype,o)},H=(n,i,o,a)=>{let s,l,u;let c={};if(i=i||{},null==n)return i;do{for(l=(s=Object.getOwnPropertyNames(n)).length;l-- >0;)u=s[l],(!a||a(u,n,i))&&!c[u]&&(i[u]=n[u],c[u]=!0);n=!1!==o&&p(n)}while(n&&(!o||o(n,i))&&n!==Object.prototype);return i},V=(n,i,o)=>{n=String(n),(void 0===o||o>n.length)&&(o=n.length),o-=i.length;let a=n.indexOf(i,o);return -1!==a&&a===o},G=n=>{if(!n)return null;if(g(n))return n;let i=n.length;if(!x(i))return null;let o=Array(i);for(;i-- >0;)o[i]=n[i];return o},q=(s="undefined"!=typeof Uint8Array&&p(Uint8Array),n=>s&&n instanceof s),W=(n,i)=>{let o;let a=n&&n[Symbol.iterator],s=a.call(n);for(;(o=s.next())&&!o.done;){let l=o.value;i.call(n,l[0],l[1])}},K=(n,i)=>{let o;let a=[];for(;null!==(o=n.exec(i));)a.push(o);return a},Y=h("HTMLFormElement"),Z=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,o){return i.toUpperCase()+o}),X=(({hasOwnProperty:n})=>(i,o)=>n.call(i,o))(Object.prototype),J=h("RegExp"),Q=(n,i)=>{let o=Object.getOwnPropertyDescriptors(n),a={};L(o,(o,s)=>{let l;!1!==(l=i(o,s,n))&&(a[s]=l||o)}),Object.defineProperties(n,a)},ee=n=>{Q(n,(i,o)=>{if(S(n)&&-1!==["arguments","caller","callee"].indexOf(o))return!1;let a=n[o];if(S(a)){if(i.enumerable=!1,"writable"in i){i.writable=!1;return}i.set||(i.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},et=(n,i)=>{let o={},a=n=>{n.forEach(n=>{o[n]=!0})};return a(g(n)?n:String(n).split(i)),o},en=()=>{},er=(n,i)=>Number.isFinite(n=+n)?n:i,ei="abcdefghijklmnopqrstuvwxyz",eo="0123456789",ea={DIGIT:eo,ALPHA:ei,ALPHA_DIGIT:ei+ei.toUpperCase()+eo},es=(n=16,i=ea.ALPHA_DIGIT)=>{let o="",{length:a}=i;for(;n--;)o+=i[Math.random()*a|0];return o};function el(n){return!!(n&&S(n.append)&&"FormData"===n[Symbol.toStringTag]&&n[Symbol.iterator])}let eu=n=>{let i=Array(10),o=(n,a)=>{if(_(n)){if(i.indexOf(n)>=0)return;if(!("toJSON"in n)){i[a]=n;let s=g(n)?[]:{};return L(n,(n,i)=>{let l=o(n,a+1);b(l)||(s[i]=l)}),i[a]=void 0,s}}return n};return o(n,0)},ec=h("AsyncFunction"),ed=n=>n&&(_(n)||S(n))&&S(n.then)&&S(n.catch);var ep={isArray:g,isArrayBuffer:v,isBuffer:y,isFormData:I,isArrayBufferView:w,isString:E,isNumber:x,isBoolean:k,isObject:_,isPlainObject:A,isUndefined:b,isDate:T,isFile:C,isBlob:R,isRegExp:J,isFunction:S,isStream:O,isURLSearchParams:N,isTypedArray:q,isFileList:D,forEach:L,merge:U,extend:z,trim:M,stripBOM:j,inherits:$,toFlatObject:H,kindOf:f,kindOfTest:h,endsWith:V,toArray:G,forEachEntry:W,matchAll:K,isHTMLForm:Y,hasOwnProperty:X,hasOwnProp:X,reduceDescriptors:Q,freezeMethods:ee,toObjectSet:et,toCamelCase:Z,noop:en,toFiniteNumber:er,findKey:P,global:F,isContextDefined:B,ALPHABET:ea,generateString:es,isSpecCompliantForm:el,toJSONObject:eu,isAsyncFn:ec,isThenable:ed};function ef(n,i,o,a,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=n,this.name="AxiosError",i&&(this.code=i),o&&(this.config=o),a&&(this.request=a),s&&(this.response=s)}ep.inherits(ef,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ep.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let eh=ef.prototype,em={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(n=>{em[n]={value:n}}),Object.defineProperties(ef,em),Object.defineProperty(eh,"isAxiosError",{value:!0}),ef.from=(n,i,o,a,s,l)=>{let u=Object.create(eh);return ep.toFlatObject(n,u,function(n){return n!==Error.prototype},n=>"isAxiosError"!==n),ef.call(u,n.message,i,o,a,s),u.cause=n,u.name=n.name,l&&Object.assign(u,l),u};var eg=ef,eb=null,ey=o(48764).Buffer;function ev(n){return ep.isPlainObject(n)||ep.isArray(n)}function ew(n){return ep.endsWith(n,"[]")?n.slice(0,-2):n}function eE(n,i,o){return n?n.concat(i).map(function(n,i){return n=ew(n),!o&&i?"["+n+"]":n}).join(o?".":""):i}function eS(n){return ep.isArray(n)&&!n.some(ev)}let ex=ep.toFlatObject(ep,{},null,function(n){return/^is[A-Z]/.test(n)});var e_=function(n,i,o){if(!ep.isObject(n))throw TypeError("target must be an object");i=i||new(eb||FormData),o=ep.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(n,i){return!ep.isUndefined(i[n])});let a=o.metaTokens,s=o.visitor||f,l=o.dots,u=o.indexes,c=o.Blob||"undefined"!=typeof Blob&&Blob,d=c&&ep.isSpecCompliantForm(i);if(!ep.isFunction(s))throw TypeError("visitor must be a function");function p(n){if(null===n)return"";if(ep.isDate(n))return n.toISOString();if(!d&&ep.isBlob(n))throw new eg("Blob is not supported. Use a Buffer instead.");return ep.isArrayBuffer(n)||ep.isTypedArray(n)?d&&"function"==typeof Blob?new Blob([n]):ey.from(n):n}function f(n,o,s){let c=n;if(n&&!s&&"object"==typeof n){if(ep.endsWith(o,"{}"))o=a?o:o.slice(0,-2),n=JSON.stringify(n);else if(ep.isArray(n)&&eS(n)||(ep.isFileList(n)||ep.endsWith(o,"[]"))&&(c=ep.toArray(n)))return o=ew(o),c.forEach(function(n,a){ep.isUndefined(n)||null===n||i.append(!0===u?eE([o],a,l):null===u?o:o+"[]",p(n))}),!1}return!!ev(n)||(i.append(eE(s,o,l),p(n)),!1)}let h=[],m=Object.assign(ex,{defaultVisitor:f,convertValue:p,isVisitable:ev});function g(n,o){if(!ep.isUndefined(n)){if(-1!==h.indexOf(n))throw Error("Circular reference detected in "+o.join("."));h.push(n),ep.forEach(n,function(n,a){let l=!(ep.isUndefined(n)||null===n)&&s.call(i,n,ep.isString(a)?a.trim():a,o,m);!0===l&&g(n,o?o.concat(a):[a])}),h.pop()}}if(!ep.isObject(n))throw TypeError("data must be an object");return g(n),i};function ek(n){let i={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(n){return i[n]})}function eA(n,i){this._pairs=[],n&&e_(n,this,i)}let eT=eA.prototype;eT.append=function(n,i){this._pairs.push([n,i])},eT.toString=function(n){let i=n?function(i){return n.call(this,i,ek)}:ek;return this._pairs.map(function(n){return i(n[0])+"="+i(n[1])},"").join("&")};var eC=eA;function eR(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function eD(n,i,o){let a;if(!i)return n;let s=o&&o.encode||eR,l=o&&o.serialize;if(a=l?l(i,o):ep.isURLSearchParams(i)?i.toString():new eC(i,o).toString(s)){let u=n.indexOf("#");-1!==u&&(n=n.slice(0,u)),n+=(-1===n.indexOf("?")?"?":"&")+a}return n}class eO{constructor(){this.handlers=[]}use(n,i,o){return this.handlers.push({fulfilled:n,rejected:i,synchronous:!!o&&o.synchronous,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(n){this.handlers[n]&&(this.handlers[n]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(n){ep.forEach(this.handlers,function(i){null!==i&&n(i)})}}var eI=eO,eN={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},eM={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:eC,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};let eL="undefined"!=typeof window&&"undefined"!=typeof document,eP=(l="undefined"!=typeof navigator&&navigator.product,eL&&0>["ReactNative","NativeScript","NS"].indexOf(l)),eF="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var eB={...u,...eM};function eU(n,i){return e_(n,new eB.classes.URLSearchParams,Object.assign({visitor:function(n,i,o,a){return eB.isNode&&ep.isBuffer(n)?(this.append(i,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},i))}function ez(n){return ep.matchAll(/\w+|\[(\w*)]/g,n).map(n=>"[]"===n[0]?"":n[1]||n[0])}function ej(n){let i,o;let a={},s=Object.keys(n),l=s.length;for(i=0;i=n.length;if(l=!l&&ep.isArray(a)?a.length:l,c)return ep.hasOwnProp(a,l)?a[l]=[a[l],o]:a[l]=o,!u;a[l]&&ep.isObject(a[l])||(a[l]=[]);let d=i(n,o,a[l],s);return d&&ep.isArray(a[l])&&(a[l]=ej(a[l])),!u}if(ep.isFormData(n)&&ep.isFunction(n.entries)){let o={};return ep.forEachEntry(n,(n,a)=>{i(ez(n),a,o,0)}),o}return null};function eH(n,i,o){if(ep.isString(n))try{return(i||JSON.parse)(n),ep.trim(n)}catch(a){if("SyntaxError"!==a.name)throw a}return(o||JSON.stringify)(n)}let eV={transitional:eN,adapter:["xhr","http"],transformRequest:[function(n,i){let o;let a=i.getContentType()||"",s=a.indexOf("application/json")>-1,l=ep.isObject(n);l&&ep.isHTMLForm(n)&&(n=new FormData(n));let u=ep.isFormData(n);if(u)return s&&s?JSON.stringify(e$(n)):n;if(ep.isArrayBuffer(n)||ep.isBuffer(n)||ep.isStream(n)||ep.isFile(n)||ep.isBlob(n))return n;if(ep.isArrayBufferView(n))return n.buffer;if(ep.isURLSearchParams(n))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),n.toString();if(l){if(a.indexOf("application/x-www-form-urlencoded")>-1)return eU(n,this.formSerializer).toString();if((o=ep.isFileList(n))||a.indexOf("multipart/form-data")>-1){let c=this.env&&this.env.FormData;return e_(o?{"files[]":n}:n,c&&new c,this.formSerializer)}}return l||s?(i.setContentType("application/json",!1),eH(n)):n}],transformResponse:[function(n){let i=this.transitional||eV.transitional,o=i&&i.forcedJSONParsing,a="json"===this.responseType;if(n&&ep.isString(n)&&(o&&!this.responseType||a)){let s=i&&i.silentJSONParsing,l=!s&&a;try{return JSON.parse(n)}catch(u){if(l){if("SyntaxError"===u.name)throw eg.from(u,eg.ERR_BAD_RESPONSE,this,null,this.response);throw u}}}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:eB.classes.FormData,Blob:eB.classes.Blob},validateStatus:function(n){return n>=200&&n<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ep.forEach(["delete","get","head","post","put","patch"],n=>{eV.headers[n]={}});var eG=eV;let eq=ep.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var eW=n=>{let i,o,a;let s={};return n&&n.split("\n").forEach(function(n){a=n.indexOf(":"),i=n.substring(0,a).trim().toLowerCase(),o=n.substring(a+1).trim(),!i||s[i]&&eq[i]||("set-cookie"===i?s[i]?s[i].push(o):s[i]=[o]:s[i]=s[i]?s[i]+", "+o:o)}),s};let eK=Symbol("internals");function eY(n){return n&&String(n).trim().toLowerCase()}function eZ(n){return!1===n||null==n?n:ep.isArray(n)?n.map(eZ):String(n)}function eX(n){let i;let o=Object.create(null),a=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;i=a.exec(n);)o[i[1]]=i[2];return o}let eJ=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function eQ(n,i,o,a,s){if(ep.isFunction(a))return a.call(this,i,o);if(s&&(i=o),ep.isString(i)){if(ep.isString(a))return -1!==i.indexOf(a);if(ep.isRegExp(a))return a.test(i)}}function e0(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,i,o)=>i.toUpperCase()+o)}function e1(n,i){let o=ep.toCamelCase(" "+i);["get","set","has"].forEach(a=>{Object.defineProperty(n,a+o,{value:function(n,o,s){return this[a].call(this,i,n,o,s)},configurable:!0})})}class e2{constructor(n){n&&this.set(n)}set(n,i,o){let a=this;function s(n,i,o){let s=eY(i);if(!s)throw Error("header name must be a non-empty string");let l=ep.findKey(a,s);l&&void 0!==a[l]&&!0!==o&&(void 0!==o||!1===a[l])||(a[l||i]=eZ(n))}let l=(n,i)=>ep.forEach(n,(n,o)=>s(n,o,i));return ep.isPlainObject(n)||n instanceof this.constructor?l(n,i):ep.isString(n)&&(n=n.trim())&&!eJ(n)?l(eW(n),i):null!=n&&s(i,n,o),this}get(n,i){if(n=eY(n)){let o=ep.findKey(this,n);if(o){let a=this[o];if(!i)return a;if(!0===i)return eX(a);if(ep.isFunction(i))return i.call(this,a,o);if(ep.isRegExp(i))return i.exec(a);throw TypeError("parser must be boolean|regexp|function")}}}has(n,i){if(n=eY(n)){let o=ep.findKey(this,n);return!!(o&&void 0!==this[o]&&(!i||eQ(this,this[o],o,i)))}return!1}delete(n,i){let o=this,a=!1;function s(n){if(n=eY(n)){let s=ep.findKey(o,n);s&&(!i||eQ(o,o[s],s,i))&&(delete o[s],a=!0)}}return ep.isArray(n)?n.forEach(s):s(n),a}clear(n){let i=Object.keys(this),o=i.length,a=!1;for(;o--;){let s=i[o];(!n||eQ(this,this[s],s,n,!0))&&(delete this[s],a=!0)}return a}normalize(n){let i=this,o={};return ep.forEach(this,(a,s)=>{let l=ep.findKey(o,s);if(l){i[l]=eZ(a),delete i[s];return}let u=n?e0(s):String(s).trim();u!==s&&delete i[s],i[u]=eZ(a),o[u]=!0}),this}concat(...n){return this.constructor.concat(this,...n)}toJSON(n){let i=Object.create(null);return ep.forEach(this,(o,a)=>{null!=o&&!1!==o&&(i[a]=n&&ep.isArray(o)?o.join(", "):o)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([n,i])=>n+": "+i).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(n){return n instanceof this?n:new this(n)}static concat(n,...i){let o=new this(n);return i.forEach(n=>o.set(n)),o}static accessor(n){let i=this[eK]=this[eK]={accessors:{}},o=i.accessors,a=this.prototype;function s(n){let i=eY(n);o[i]||(e1(a,n),o[i]=!0)}return ep.isArray(n)?n.forEach(s):s(n),this}}e2.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ep.reduceDescriptors(e2.prototype,({value:n},i)=>{let o=i[0].toUpperCase()+i.slice(1);return{get:()=>n,set(n){this[o]=n}}}),ep.freezeMethods(e2);var e3=e2;function e5(n,i){let o=this||eG,a=i||o,s=e3.from(a.headers),l=a.data;return ep.forEach(n,function(n){l=n.call(o,l,s.normalize(),i?i.status:void 0)}),s.normalize(),l}function e4(n){return!!(n&&n.__CANCEL__)}function e6(n,i,o){eg.call(this,null==n?"canceled":n,eg.ERR_CANCELED,i,o),this.name="CanceledError"}ep.inherits(e6,eg,{__CANCEL__:!0});var e8=e6;function e9(n,i,o){let a=o.config.validateStatus;!o.status||!a||a(o.status)?n(o):i(new eg("Request failed with status code "+o.status,[eg.ERR_BAD_REQUEST,eg.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}var e7=eB.hasStandardBrowserEnv?{write(n,i,o,a,s,l){let u=[n+"="+encodeURIComponent(i)];ep.isNumber(o)&&u.push("expires="+new Date(o).toGMTString()),ep.isString(a)&&u.push("path="+a),ep.isString(s)&&u.push("domain="+s),!0===l&&u.push("secure"),document.cookie=u.join("; ")},read(n){let i=document.cookie.match(RegExp("(^|;\\s*)("+n+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove(n){this.write(n,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function te(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function tt(n,i){return i?n.replace(/\/+$/,"")+"/"+i.replace(/^\/+/,""):n}function tn(n,i){return n&&!te(i)?tt(n,i):i}var tr=eB.hasStandardBrowserEnv?function(){let n;let i=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");function a(n){let a=n;return i&&(o.setAttribute("href",a),a=o.href),o.setAttribute("href",a),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}return n=a(window.location.href),function(i){let o=ep.isString(i)?a(i):i;return o.protocol===n.protocol&&o.host===n.host}}():function(){return!0};function ti(n){let i=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return i&&i[1]||""}var to=function(n,i){let o;n=n||10;let a=Array(n),s=Array(n),l=0,u=0;return i=void 0!==i?i:1e3,function(c){let d=Date.now(),p=s[u];o||(o=d),a[l]=c,s[l]=d;let f=u,h=0;for(;f!==l;)h+=a[f++],f%=n;if((l=(l+1)%n)===u&&(u=(u+1)%n),d-o{let l=s.loaded,u=s.lengthComputable?s.total:void 0,c=l-o,d=a(c),p=l<=u;o=l;let f={loaded:l,total:u,progress:u?l/u:void 0,bytes:c,rate:d||void 0,estimated:d&&u&&p?(u-l)/d:void 0,event:s};f[i?"download":"upload"]=!0,n(f)}}let ts="undefined"!=typeof XMLHttpRequest;var tl=ts&&function(n){return new Promise(function(i,o){let a,s,l=n.data,u=e3.from(n.headers).normalize(),{responseType:c,withXSRFToken:d}=n;function p(){n.cancelToken&&n.cancelToken.unsubscribe(a),n.signal&&n.signal.removeEventListener("abort",a)}if(ep.isFormData(l)){if(eB.hasStandardBrowserEnv||eB.hasStandardBrowserWebWorkerEnv)u.setContentType(!1);else if(!1!==(s=u.getContentType())){let[f,...h]=s?s.split(";").map(n=>n.trim()).filter(Boolean):[];u.setContentType([f||"multipart/form-data",...h].join("; "))}}let m=new XMLHttpRequest;if(n.auth){let g=n.auth.username||"",b=n.auth.password?unescape(encodeURIComponent(n.auth.password)):"";u.set("Authorization","Basic "+btoa(g+":"+b))}let y=tn(n.baseURL,n.url);function v(){if(!m)return;let a=e3.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),s=c&&"text"!==c&&"json"!==c?m.response:m.responseText,l={data:s,status:m.status,statusText:m.statusText,headers:a,config:n,request:m};e9(function(n){i(n),p()},function(n){o(n),p()},l),m=null}if(m.open(n.method.toUpperCase(),eD(y,n.params,n.paramsSerializer),!0),m.timeout=n.timeout,"onloadend"in m?m.onloadend=v:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(v)},m.onabort=function(){m&&(o(new eg("Request aborted",eg.ECONNABORTED,n,m)),m=null)},m.onerror=function(){o(new eg("Network Error",eg.ERR_NETWORK,n,m)),m=null},m.ontimeout=function(){let i=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded",a=n.transitional||eN;n.timeoutErrorMessage&&(i=n.timeoutErrorMessage),o(new eg(i,a.clarifyTimeoutError?eg.ETIMEDOUT:eg.ECONNABORTED,n,m)),m=null},eB.hasStandardBrowserEnv&&(d&&ep.isFunction(d)&&(d=d(n)),d||!1!==d&&tr(y))){let w=n.xsrfHeaderName&&n.xsrfCookieName&&e7.read(n.xsrfCookieName);w&&u.set(n.xsrfHeaderName,w)}void 0===l&&u.setContentType(null),"setRequestHeader"in m&&ep.forEach(u.toJSON(),function(n,i){m.setRequestHeader(i,n)}),ep.isUndefined(n.withCredentials)||(m.withCredentials=!!n.withCredentials),c&&"json"!==c&&(m.responseType=n.responseType),"function"==typeof n.onDownloadProgress&&m.addEventListener("progress",ta(n.onDownloadProgress,!0)),"function"==typeof n.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",ta(n.onUploadProgress)),(n.cancelToken||n.signal)&&(a=i=>{m&&(o(!i||i.type?new e8(null,n,m):i),m.abort(),m=null)},n.cancelToken&&n.cancelToken.subscribe(a),n.signal&&(n.signal.aborted?a():n.signal.addEventListener("abort",a)));let E=ti(y);if(E&&-1===eB.protocols.indexOf(E)){o(new eg("Unsupported protocol "+E+":",eg.ERR_BAD_REQUEST,n));return}m.send(l||null)})};let tu={http:eb,xhr:tl};ep.forEach(tu,(n,i)=>{if(n){try{Object.defineProperty(n,"name",{value:i})}catch(o){}Object.defineProperty(n,"adapterName",{value:i})}});let tc=n=>`- ${n}`,td=n=>ep.isFunction(n)||null===n||!1===n;var tp={getAdapter(n){let i,o;n=ep.isArray(n)?n:[n];let{length:a}=n,s={};for(let l=0;l`adapter ${n} `+(!1===i?"is not supported by the environment":"is not available in the build")),d=a?c.length>1?"since :\n"+c.map(tc).join("\n"):" "+tc(c[0]):"as no adapter specified";throw new eg("There is no suitable adapter to dispatch the request "+d,"ERR_NOT_SUPPORT")}return o},adapters:tu};function tf(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new e8(null,n)}function th(n){tf(n),n.headers=e3.from(n.headers),n.data=e5.call(n,n.transformRequest),-1!==["post","put","patch"].indexOf(n.method)&&n.headers.setContentType("application/x-www-form-urlencoded",!1);let i=tp.getAdapter(n.adapter||eG.adapter);return i(n).then(function(i){return tf(n),i.data=e5.call(n,n.transformResponse,i),i.headers=e3.from(i.headers),i},function(i){return!e4(i)&&(tf(n),i&&i.response&&(i.response.data=e5.call(n,n.transformResponse,i.response),i.response.headers=e3.from(i.response.headers))),Promise.reject(i)})}let tm=n=>n instanceof e3?n.toJSON():n;function tg(n,i){i=i||{};let o={};function a(n,i,o){return ep.isPlainObject(n)&&ep.isPlainObject(i)?ep.merge.call({caseless:o},n,i):ep.isPlainObject(i)?ep.merge({},i):ep.isArray(i)?i.slice():i}function s(n,i,o){return ep.isUndefined(i)?ep.isUndefined(n)?void 0:a(void 0,n,o):a(n,i,o)}function l(n,i){if(!ep.isUndefined(i))return a(void 0,i)}function u(n,i){return ep.isUndefined(i)?ep.isUndefined(n)?void 0:a(void 0,n):a(void 0,i)}function c(o,s,l){return l in i?a(o,s):l in n?a(void 0,o):void 0}let d={url:l,method:l,data:l,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:c,headers:(n,i)=>s(tm(n),tm(i),!0)};return ep.forEach(Object.keys(Object.assign({},n,i)),function(a){let l=d[a]||s,u=l(n[a],i[a],a);ep.isUndefined(u)&&l!==c||(o[a]=u)}),o}let tb="1.6.2",ty={};["object","boolean","number","function","string","symbol"].forEach((n,i)=>{ty[n]=function(o){return typeof o===n||"a"+(i<1?"n ":" ")+n}});let tv={};function tw(n,i,o){if("object"!=typeof n)throw new eg("options must be an object",eg.ERR_BAD_OPTION_VALUE);let a=Object.keys(n),s=a.length;for(;s-- >0;){let l=a[s],u=i[l];if(u){let c=n[l],d=void 0===c||u(c,l,n);if(!0!==d)throw new eg("option "+l+" must be "+d,eg.ERR_BAD_OPTION_VALUE);continue}if(!0!==o)throw new eg("Unknown option "+l,eg.ERR_BAD_OPTION)}}ty.transitional=function(n,i,o){function a(n,i){return"[Axios v"+tb+"] Transitional option '"+n+"'"+i+(o?". "+o:"")}return(o,s,l)=>{if(!1===n)throw new eg(a(s," has been removed"+(i?" in "+i:"")),eg.ERR_DEPRECATED);return i&&!tv[s]&&(tv[s]=!0,console.warn(a(s," has been deprecated since v"+i+" and will be removed in the near future"))),!n||n(o,s,l)}};var tE={assertOptions:tw,validators:ty};let tS=tE.validators;class tx{constructor(n){this.defaults=n,this.interceptors={request:new eI,response:new eI}}request(n,i){let o,a;"string"==typeof n?(i=i||{}).url=n:i=n||{},i=tg(this.defaults,i);let{transitional:s,paramsSerializer:l,headers:u}=i;void 0!==s&&tE.assertOptions(s,{silentJSONParsing:tS.transitional(tS.boolean),forcedJSONParsing:tS.transitional(tS.boolean),clarifyTimeoutError:tS.transitional(tS.boolean)},!1),null!=l&&(ep.isFunction(l)?i.paramsSerializer={serialize:l}:tE.assertOptions(l,{encode:tS.function,serialize:tS.function},!0)),i.method=(i.method||this.defaults.method||"get").toLowerCase();let c=u&&ep.merge(u.common,u[i.method]);u&&ep.forEach(["delete","get","head","post","put","patch","common"],n=>{delete u[n]}),i.headers=e3.concat(c,u);let d=[],p=!0;this.interceptors.request.forEach(function(n){("function"!=typeof n.runWhen||!1!==n.runWhen(i))&&(p=p&&n.synchronous,d.unshift(n.fulfilled,n.rejected))});let f=[];this.interceptors.response.forEach(function(n){f.push(n.fulfilled,n.rejected)});let h=0;if(!p){let m=[th.bind(this),void 0];for(m.unshift.apply(m,d),m.push.apply(m,f),a=m.length,o=Promise.resolve(i);h{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](n);o._listeners=null}),this.promise.then=n=>{let i;let a=new Promise(n=>{o.subscribe(n),i=n}).then(n);return a.cancel=function(){o.unsubscribe(i)},a},n(function(n,a,s){o.reason||(o.reason=new e8(n,a,s),i(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]}unsubscribe(n){if(!this._listeners)return;let i=this._listeners.indexOf(n);-1!==i&&this._listeners.splice(i,1)}static source(){let n;let i=new tk(function(i){n=i});return{token:i,cancel:n}}}var tA=tk;function tT(n){return function(i){return n.apply(null,i)}}function tC(n){return ep.isObject(n)&&!0===n.isAxiosError}let tR={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(tR).forEach(([n,i])=>{tR[i]=n});var tD=tR;function tO(n){let i=new t_(n),o=c(t_.prototype.request,i);return ep.extend(o,t_.prototype,i,{allOwnKeys:!0}),ep.extend(o,i,null,{allOwnKeys:!0}),o.create=function(i){return tO(tg(n,i))},o}let tI=tO(eG);tI.Axios=t_,tI.CanceledError=e8,tI.CancelToken=tA,tI.isCancel=e4,tI.VERSION=tb,tI.toFormData=e_,tI.AxiosError=eg,tI.Cancel=tI.CanceledError,tI.all=function(n){return Promise.all(n)},tI.spread=tT,tI.isAxiosError=tC,tI.mergeConfig=tg,tI.AxiosHeaders=e3,tI.formToJSON=n=>e$(ep.isHTMLForm(n)?new FormData(n):n),tI.getAdapter=tp.getAdapter,tI.HttpStatusCode=tD,tI.default=tI;var tN=tI},31857:function(n,i,o){"use strict";o.d(i,{GL:function(){return p},Ho:function(){return d}});let a=/^[a-zà-öø-ÿ]+|[A-ZÀ-ÖØ-ß][a-zà-öø-ÿ]+|[a-zà-öø-ÿ]+|[0-9]+|[A-ZÀ-ÖØ-ß]+(?![a-zà-öø-ÿ])/g,s=/\S+/g;function l(n,i){let o={parts:[],prefixes:[]},a=n.matchAll(i),s=0;for(let l of a){if("number"!=typeof l.index)continue;let u=l[0];o.parts.push(u);let c=n.slice(s,l.index).trim();o.prefixes.push(c),s=l.index+u.length}let d=n.slice(s).trim();return d&&(o.parts.push(""),o.prefixes.push(d)),o}function u(n,i){let{keepSpecialCharacters:o=!1,keep:u,prefix:c=""}=i||{},d=n.trim().normalize("NFC"),p=d.includes(" "),f=p?s:a,h=l(d,f);return h.parts.map((n,i)=>{let a=h.prefixes[i]||"",s=n;return(!1!==o||(u&&(s=s.normalize("NFD").replace(RegExp(`[^a-zA-Z\xd8\xDF\xf80-9${u.join("")}]`,"g"),"")),u||(s=s.normalize("NFD").replace(/[^a-zA-ZØßø0-9]/g,""),a="")),u&&(a=a.replace(RegExp(`[^${u.join("")}]`,"g"),"")),0===i)?a+s:a||s?p&&!a&&c.match(/\s/)?" "+s:(a||c)+s:""}).filter(Boolean)}function c(n){let i=n.matchAll(a).next().value,o=i?i.index:0;return n.slice(0,o+1).toUpperCase()+n.slice(o+1).toLowerCase()}function d(n,i){return u(n,i).reduce((n,i)=>n+c(i),"")}function p(n,i){return u(n,{...i,prefix:"-"}).join("").toLowerCase()}},44301:function(n,i,o){"use strict";o.d(i,{T:function(){return s}});let a=document.createElement("i");function s(n){let i="&"+n+";";a.innerHTML=i;let o=a.textContent;return(59!==o.charCodeAt(o.length-1)||"semi"===n)&&o!==i&&o}},23402:function(n,i,o){"use strict";o.d(i,{w:function(){return l}});var a=o(42761),s=o(75364);let l={tokenize:u,partial:!0};function u(n,i,o){return l;function l(i){return(0,s.xz)(i)?(0,a.f)(n,u,"linePrefix")(i):u(i)}function u(n){return null===n||(0,s.Ch)(n)?i(n):o(n)}}},42761:function(n,i,o){"use strict";o.d(i,{f:function(){return s}});var a=o(75364);function s(n,i,o,s){let l=s?s-1:Number.POSITIVE_INFINITY,u=0;return c;function c(s){return(0,a.xz)(s)?(n.enter(o),d(s)):i(s)}function d(s){return(0,a.xz)(s)&&u++l?0:l+i:i>l?l:i,o=o>0?o:0,a.length<1e4)(s=Array.from(a)).unshift(i,o),n.splice(...s);else for(o&&n.splice(i,o);u0?(a(n,n.length,0,i),n):i}o.d(i,{V:function(){return s},d:function(){return a}})},62987:function(n,i,o){"use strict";o.d(i,{r:function(){return s}});var a=o(75364);function s(n){return null===n||(0,a.z3)(n)||(0,a.B8)(n)?1:(0,a.Xh)(n)?2:void 0}},4663:function(n,i,o){"use strict";o.d(i,{W:function(){return l}});var a=o(21905);let s={}.hasOwnProperty;function l(n){let i={},o=-1;for(;++o13&&o<32||o>126&&o<160||o>55295&&o<57344||o>64975&&o<65008||(65535&o)==65535||(65535&o)==65534||o>1114111?"�":String.fromCharCode(o)}o.d(i,{o:function(){return a}})},47881:function(n,i,o){"use strict";o.d(i,{v:function(){return u}});var a=o(44301),s=o(80889);let l=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function u(n){return n.replace(l,c)}function c(n,i,o){if(i)return i;let l=o.charCodeAt(0);if(35===l){let u=o.charCodeAt(1),c=120===u||88===u;return(0,s.o)(o.slice(c?2:1),c?16:10)}return(0,a.T)(o)||n}},11098:function(n,i,o){"use strict";function a(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}o.d(i,{d:function(){return a}})},63233:function(n,i,o){"use strict";function a(n,i,o){let a=[],s=-1;for(;++s{if(n===i)return!0;if(n.byteLength!==i.byteLength)return!1;for(let o=0;o{if(n instanceof Uint8Array&&"Uint8Array"===n.constructor.name)return n;if(n instanceof ArrayBuffer)return new Uint8Array(n);if(ArrayBuffer.isView(n))return new Uint8Array(n.buffer,n.byteOffset,n.byteLength);throw Error("Unknown type, must be binary type")}},29094:function(n,i,o){"use strict";o.d(i,{Jx:function(){return u},Ue:function(){return l},fS:function(){return c},zZ:function(){return d}});var a=o(7176),s=o(2171);let l=(n,i)=>{let o=i.byteLength,a=s.P$(n),l=a+s.P$(o),u=new Uint8Array(l+o);return s.mL(n,u,0),s.mL(o,u,a),u.set(i,l),new d(n,o,i,u)},u=n=>{let i=(0,a.oQ)(n),[o,l]=s.Jx(i),[u,c]=s.Jx(i.subarray(l)),p=i.subarray(l+c);if(p.byteLength!==u)throw Error("Incorrect length");return new d(o,u,p,i)},c=(n,i)=>{if(n===i)return!0;{let o=i;return n.code===o.code&&n.size===o.size&&o.bytes instanceof Uint8Array&&(0,a.fS)(n.bytes,o.bytes)}};class d{constructor(n,i,o,a){this.code=n,this.size=i,this.digest=o,this.bytes=a}}},22688:function(n,i,o){"use strict";o.d(i,{D:function(){return s}});var a=o(29094);let s=({name:n,code:i,encode:o})=>new l(n,i,o);class l{constructor(n,i,o){this.name=n,this.code=i,this.encode=o}digest(n){if(n instanceof Uint8Array){let i=this.encode(n);return i instanceof Uint8Array?a.Ue(this.code,i):i.then(n=>a.Ue(this.code,n))}throw Error("Unknown type, must be binary type")}}},27353:function(n,i,o){"use strict";o.d(i,{J:function(){return l}});var a=o(22688);let s=n=>async i=>new Uint8Array(await crypto.subtle.digest(n,i)),l=(0,a.D)({name:"sha2-256",code:18,encode:s("SHA-256")});(0,a.D)({name:"sha2-512",code:19,encode:s("SHA-512")})},57375:function(n,i,o){"use strict";o.d(i,{k0:function(){return k}});var a=o(2171),s=o(29094),l=function(n,i){if(n.length>=255)throw TypeError("Alphabet too long");for(var o=new Uint8Array(256),a=0;a>>0,u=new Uint8Array(l);n[i];){var f=o[n.charCodeAt(i)];if(255===f)return;for(var h=0,m=l-1;(0!==f||h>>0,u[m]=f%256>>>0,f=f/256>>>0;if(0!==f)throw Error("Non-zero carry");s=h,i++}if(" "!==n[i]){for(var g=l-s;g!==l&&0===u[g];)g++;for(var b=new Uint8Array(a+(l-g)),y=a;g!==l;)b[y++]=u[g++];return b}}}function m(n){var o=h(n);if(o)return o;throw Error(`Non-${i} character`)}return{encode:function(i){if(i instanceof Uint8Array||(ArrayBuffer.isView(i)?i=new Uint8Array(i.buffer,i.byteOffset,i.byteLength):Array.isArray(i)&&(i=Uint8Array.from(i))),!(i instanceof Uint8Array))throw TypeError("Expected Uint8Array");if(0===i.length)return"";for(var o=0,a=0,s=0,l=i.length;s!==l&&0===i[s];)s++,o++;for(var u=(l-s)*f+1>>>0,p=new Uint8Array(u);s!==l;){for(var h=i[s],m=0,g=u-1;(0!==h||m>>0,p[g]=h%c>>>0,h=h/c>>>0;if(0!==h)throw Error("Non-zero carry");a=m,s++}for(var b=u-a;b!==u&&0===p[b];)b++;for(var y=d.repeat(o);bnew p({...n.decoders||{[n.prefix]:n},...i.decoders||{[i.prefix]:i}});class h{constructor(n,i,o,a){this.name=n,this.prefix=i,this.baseEncode=o,this.baseDecode=a,this.encoder=new c(n,i,o),this.decoder=new d(n,i,a)}encode(n){return this.encoder.encode(n)}decode(n){return this.decoder.decode(n)}}let m=({name:n,prefix:i,encode:o,decode:a})=>new h(n,i,o,a),g=({prefix:n,name:i,alphabet:o})=>{let{encode:a,decode:s}=l(o,i);return m({prefix:n,name:i,encode:a,decode:n=>(0,u.oQ)(s(n))})},b=(n,i,o,a)=>{let s={};for(let l=0;l=8&&(d-=8,c[f++]=255&p>>d)}if(d>=o||255&p<<8-d)throw SyntaxError("Unexpected end of data");return c},y=(n,i,o)=>{let a="="===i[i.length-1],s=(1<o;)u-=o,l+=i[s&c>>u];if(u&&(l+=i[s&c<m({prefix:i,name:n,encode:n=>y(n,a,o),decode:i=>b(i,a,o,n)}),w=g({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"});g({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});let E=v({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5});v({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),v({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),v({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),v({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),v({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),v({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),v({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),v({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});let S=(n,i)=>{let{bytes:o,version:a}=n;return 0===a?T(o,_(n),i||w.encoder):C(o,_(n),i||E.encoder)},x=new WeakMap,_=n=>{let i=x.get(n);if(null==i){let o=new Map;return x.set(n,o),o}return i};class k{constructor(n,i,o,a){this.code=i,this.version=n,this.multihash=o,this.bytes=a,this["/"]=a}get asCID(){return this}get byteOffset(){return this.bytes.byteOffset}get byteLength(){return this.bytes.byteLength}toV0(){switch(this.version){case 0:return this;case 1:{let{code:n,multihash:i}=this;if(n!==R)throw Error("Cannot convert a non dag-pb CID to CIDv0");if(i.code!==D)throw Error("Cannot convert non sha2-256 multihash CID to CIDv0");return k.createV0(i)}default:throw Error(`Can not convert CID version ${this.version} to version 0. This is a bug please report`)}}toV1(){switch(this.version){case 0:{let{code:n,digest:i}=this.multihash,o=s.Ue(n,i);return k.createV1(this.code,o)}case 1:return this;default:throw Error(`Can not convert CID version ${this.version} to version 1. This is a bug please report`)}}equals(n){return k.equals(this,n)}static equals(n,i){let o=i;return o&&n.code===o.code&&n.version===o.version&&s.fS(n.multihash,o.multihash)}toString(n){return S(this,n)}toJSON(){return{code:this.code,version:this.version,hash:this.multihash.bytes}}link(){return this}get[Symbol.toStringTag](){return"CID"}[Symbol.for("nodejs.util.inspect.custom")](){return`CID(${this.toString()})`}static asCID(n){if(null==n)return null;let i=n;if(i instanceof k)return i;if(null!=i["/"]&&i["/"]===i.bytes||i.asCID===i){let{version:o,code:a,multihash:l,bytes:u}=i;return new k(o,a,l,u||O(o,a,l.bytes))}if(!0!==i[I])return null;{let{version:c,multihash:d,code:p}=i,f=s.Jx(d);return k.create(c,p,f)}}static create(n,i,o){if("number"!=typeof i)throw Error("String codecs are no longer supported");if(!(o.bytes instanceof Uint8Array))throw Error("Invalid digest");switch(n){case 0:if(i===R)return new k(n,i,o,o.bytes);throw Error(`Version 0 CID must use dag-pb (code: ${R}) block encoding`);case 1:{let a=O(n,i,o.bytes);return new k(n,i,o,a)}default:throw Error("Invalid version")}}static createV0(n){return k.create(0,R,n)}static createV1(n,i){return k.create(1,n,i)}static decode(n){let[i,o]=k.decodeFirst(n);if(o.length)throw Error("Incorrect length");return i}static decodeFirst(n){let i=k.inspectBytes(n),o=i.size-i.multihashSize,a=(0,u.oQ)(n.subarray(o,o+i.multihashSize));if(a.byteLength!==i.multihashSize)throw Error("Incorrect length");let l=a.subarray(i.multihashSize-i.digestSize),c=new s.zZ(i.multihashCode,i.digestSize,l,a),d=0===i.version?k.createV0(c):k.createV1(i.codec,c);return[d,n.subarray(i.size)]}static inspectBytes(n){let i=0,o=()=>{let[o,s]=a.Jx(n.subarray(i));return i+=s,o},s=o(),l=R;if(18===s?(s=0,i=0):l=o(),0!==s&&1!==s)throw RangeError(`Invalid CID version ${s}`);let u=i,c=o(),d=o(),p=i+d,f=p-u;return{version:s,codec:l,multihashCode:c,digestSize:d,multihashSize:f,size:p}}static parse(n,i){let[o,a]=A(n,i),s=k.decode(a);return _(s).set(o,n),s}}let A=(n,i)=>{switch(n[0]){case"Q":{let o=i||w;return[w.prefix,o.decode(`${w.prefix}${n}`)]}case w.prefix:{let a=i||w;return[w.prefix,a.decode(n)]}case E.prefix:{let s=i||E;return[E.prefix,s.decode(n)]}default:if(null==i)throw Error("To parse non base32 or base58btc encoded CID multibase decoder must be provided");return[n[0],i.decode(n)]}},T=(n,i,o)=>{let{prefix:a}=o;if(a!==w.prefix)throw Error(`Cannot string encode V0 in ${o.name} encoding`);let s=i.get(a);if(null!=s)return s;{let l=o.encode(n).slice(1);return i.set(a,l),l}},C=(n,i,o)=>{let{prefix:a}=o,s=i.get(a);if(null!=s)return s;{let l=o.encode(n);return i.set(a,l),l}},R=112,D=18,O=(n,i,o)=>{let s=a.P$(n),l=s+a.P$(i),u=new Uint8Array(l+o.byteLength);return a.mL(n,u,0),a.mL(i,u,s),u.set(o,l),u},I=Symbol.for("@ipld/js-cid/CID");o(22688)},2171:function(n,i,o){"use strict";o.d(i,{Jx:function(){return x},mL:function(){return _},P$:function(){return k}});var a=128,s=-128,l=2147483648;function u(n,i,o){i=i||[];for(var c=o=o||0;n>=l;)i[o++]=255&n|a,n/=128;for(;n&s;)i[o++]=255&n|a,n>>>=7;return i[o]=0|n,u.bytes=o-c+1,i}var c=128,d=127;function p(n,i){var o,a=0,i=i||0,s=0,l=i,u=n.length;do{if(l>=u)throw p.bytes=0,RangeError("Could not decode varint");o=n[l++],a+=s<28?(o&d)<=c);return p.bytes=l-i,a}var f=128,h=16384,m=2097152,g=268435456,b=34359738368,y=4398046511104,v=562949953421312,w=72057594037927940,E=0x7fffffffffffffff,S={encode:u,decode:p,encodingLength:function(n){return n{let o=S.decode(n,i);return[o,S.decode.bytes]},_=(n,i,o=0)=>(S.encode(n,i,o),i),k=n=>S.encodingLength(n)},48111:function(n,i,o){"use strict";o.d(i,{i:function(){return a}});let a=()=>({events:{},emit(n,...i){(this.events[n]||[]).forEach(n=>n(...i))},on(n,i){return(this.events[n]=this.events[n]||[]).push(i),()=>this.events[n]=(this.events[n]||[]).filter(n=>n!==i)}})},25804:function(n,i,o){"use strict";o.d(i,{N0:function(){return A},QF:function(){return L},YR:function(){return $},al:function(){return d},uo:function(){return E},w9:function(){return M}});var a=o(16560),s=o(12806),l=o(2376);let u=(n,i)=>!n.selection.empty&&(i&&i(n.tr.deleteSelection().scrollIntoView()),!0);function c(n,i){let{$cursor:o}=n.selection;return o&&(i?i.endOfTextblock("backward",n):!(o.parentOffset>0))?o:null}let d=(n,i,o)=>{let u=c(n,o);if(!u)return!1;let d=h(u);if(!d){let f=u.blockRange(),m=f&&(0,a.k9)(f);return null!=m&&(i&&i(n.tr.lift(f,m).scrollIntoView()),!0)}let g=d.nodeBefore;if(!g.type.spec.isolating&&R(n,d,i))return!0;if(0==u.parent.content.size&&(p(g,"end")||l.qv.isSelectable(g))){let b=(0,a.dR)(n.doc,u.before(),u.after(),s.p2.empty);if(b&&b.slice.size{let{$head:a,empty:s}=n.selection,u=a;if(!s)return!1;if(a.parent.isTextblock){if(o?!o.endOfTextblock("backward",n):a.parentOffset>0)return!1;u=h(a)}let c=u&&u.nodeBefore;return!!(c&&l.qv.isSelectable(c))&&(i&&i(n.tr.setSelection(l.qv.create(n.doc,u.pos-c.nodeSize)).scrollIntoView()),!0)};function h(n){if(!n.parent.type.spec.isolating)for(let i=n.depth-1;i>=0;i--){if(n.index(i)>0)return n.doc.resolve(n.before(i+1));if(n.node(i).type.spec.isolating)break}return null}function m(n,i){let{$cursor:o}=n.selection;return o&&(i?i.endOfTextblock("forward",n):!(o.parentOffset{let u=m(n,o);if(!u)return!1;let c=y(u);if(!c)return!1;let d=c.nodeAfter;if(R(n,c,i))return!0;if(0==u.parent.content.size&&(p(d,"start")||l.qv.isSelectable(d))){let f=(0,a.dR)(n.doc,u.before(),u.after(),s.p2.empty);if(f&&f.slice.size{let{$head:a,empty:s}=n.selection,u=a;if(!s)return!1;if(a.parent.isTextblock){if(o?!o.endOfTextblock("forward",n):a.parentOffset=0;i--){let o=n.node(i);if(n.index(i)+1{let{$head:o,$anchor:a}=n.selection;return!!(o.parent.type.spec.code&&o.sameParent(a))&&(i&&i(n.tr.insertText("\n").scrollIntoView()),!0)};function w(n){for(let i=0;i{let{$head:o,$anchor:a}=n.selection;if(!o.parent.type.spec.code||!o.sameParent(a))return!1;let s=o.node(-1),u=o.indexAfter(-1),c=w(s.contentMatchAt(u));if(!c||!s.canReplaceWith(u,u,c))return!1;if(i){let d=o.after(),p=n.tr.replaceWith(d,d,c.createAndFill());p.setSelection(l.Y1.near(p.doc.resolve(d),1)),i(p.scrollIntoView())}return!0},S=(n,i)=>{let o=n.selection,{$from:a,$to:s}=o;if(o instanceof l.C1||a.parent.inlineContent||s.parent.inlineContent)return!1;let u=w(s.parent.contentMatchAt(s.indexAfter()));if(!u||!u.isTextblock)return!1;if(i){let c=(!a.parentOffset&&s.index(){let{$cursor:o}=n.selection;if(!o||o.parent.content.size)return!1;if(o.depth>1&&o.after()!=o.end(-1)){let s=o.before();if((0,a.Ax)(n.doc,s))return i&&i(n.tr.split(s).scrollIntoView()),!0}let l=o.blockRange(),u=l&&(0,a.k9)(l);return null!=u&&(i&&i(n.tr.lift(l,u).scrollIntoView()),!0)};function _(n){return(i,o)=>{let{$from:s,$to:u}=i.selection;if(i.selection instanceof l.qv&&i.selection.node.isBlock)return!!(s.parentOffset&&(0,a.Ax)(i.doc,s.pos))&&(o&&o(i.tr.split(s.pos).scrollIntoView()),!0);if(!s.parent.isBlock)return!1;if(o){let c=u.parentOffset==u.parent.content.size,d=i.tr;(i.selection instanceof l.Bs||i.selection instanceof l.C1)&&d.deleteSelection();let p=0==s.depth?null:w(s.node(-1).contentMatchAt(s.indexAfter(-1))),f=n&&n(u.parent,c),h=f?[f]:c&&p?[{type:p}]:void 0,m=(0,a.Ax)(d.doc,d.mapping.map(s.pos),1,h);if(!h&&!m&&(0,a.Ax)(d.doc,d.mapping.map(s.pos),1,p?[{type:p}]:void 0)&&(p&&(h=[{type:p}]),m=!0),m&&(d.split(d.mapping.map(s.pos),1,h),!c&&!s.parentOffset&&s.parent.type!=p)){let g=d.mapping.map(s.before()),b=d.doc.resolve(g);p&&s.node(-1).canReplaceWith(b.index(),b.index()+1,p)&&d.setNodeMarkup(d.mapping.map(s.before()),p)}o(d.scrollIntoView())}return!0}}let k=_(),A=(n,i)=>{let{$from:o,to:a}=n.selection,s,u=o.sharedDepth(a);return 0!=u&&(s=o.before(u),i&&i(n.tr.setSelection(l.qv.create(n.doc,s))),!0)},T=(n,i)=>(i&&i(n.tr.setSelection(new l.C1(n.doc))),!0);function C(n,i,o){let s=i.nodeBefore,l=i.nodeAfter,u=i.index();return!!(s&&l&&s.type.compatibleContent(l.type))&&(!s.content.size&&i.parent.canReplace(u-1,u)?(o&&o(n.tr.delete(i.pos-s.nodeSize,i.pos).scrollIntoView()),!0):!!(i.parent.canReplace(u,u+1)&&(l.isTextblock||(0,a.Mn)(n.doc,i.pos)))&&(o&&o(n.tr.clearIncompatible(i.pos,s.type,s.contentMatchAt(s.childCount)).join(i.pos).scrollIntoView()),!0))}function R(n,i,o){let u=i.nodeBefore,c=i.nodeAfter,d,f;if(u.type.spec.isolating||c.type.spec.isolating)return!1;if(C(n,i,o))return!0;let h=i.parent.canReplace(i.index(),i.index()+1);if(h&&(d=(f=u.contentMatchAt(u.childCount)).findWrapping(c.type))&&f.matchType(d[0]||c.type).validEnd){if(o){let m=i.pos+c.nodeSize,g=s.HY.empty;for(let b=d.length-1;b>=0;b--)g=s.HY.from(d[b].create(null,g));g=s.HY.from(u.copy(g));let y=n.tr.step(new a.FC(i.pos-1,m,i.pos,m,new s.p2(g,1,0),d.length,!0)),v=m+2*d.length;(0,a.Mn)(y.doc,v)&&y.join(v),o(y.scrollIntoView())}return!0}let w=l.Y1.findFrom(i,1),E=w&&w.$from.blockRange(w.$to),S=E&&(0,a.k9)(E);if(null!=S&&S>=i.depth)return o&&o(n.tr.lift(E,S).scrollIntoView()),!0;if(h&&p(c,"start",!0)&&p(u,"end")){let x=u,_=[];for(;_.push(x),!x.isTextblock;)x=x.lastChild;let k=c,A=1;for(;!k.isTextblock;k=k.firstChild)A++;if(x.canReplace(x.childCount,x.childCount,k.content)){if(o){let T=s.HY.empty;for(let R=_.length-1;R>=0;R--)T=s.HY.from(_[R].copy(T));o(n.tr.step(new a.FC(i.pos-_.length,i.pos+c.nodeSize,i.pos+A,i.pos+c.nodeSize-A,new s.p2(T,_.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function D(n){return function(i,o){let a=i.selection,s=n<0?a.$from:a.$to,u=s.depth;for(;s.node(u).isInline;){if(!u)return!1;u--}return!!s.node(u).isTextblock&&(o&&o(i.tr.setSelection(l.Bs.create(i.doc,n<0?s.start(u):s.end(u)))),!0)}}let O=D(-1),I=D(1);function N(n,i,o){for(let a=0;a{if(u)return!1;u=n.inlineContent&&n.type.allowsMarkType(o)}),u)return!0}return!1}function M(n,i=null){return function(o,a){let{empty:s,$cursor:l,ranges:u}=o.selection;if(s&&!l||!N(o.doc,u,n))return!1;if(a){if(l)a(n.isInSet(o.storedMarks||l.marks())?o.tr.removeStoredMark(n):o.tr.addStoredMark(n.create(i)));else{let c=!1,d=o.tr;for(let p=0;!c&&p=i)?s.empty:this.sliceInner(Math.max(0,n),Math.min(this.length,i))},s.prototype.get=function(n){if(!(n<0)&&!(n>=this.length))return this.getInner(n)},s.prototype.forEach=function(n,i,o){void 0===i&&(i=0),void 0===o&&(o=this.length),i<=o?this.forEachInner(n,i,o,0):this.forEachInvertedInner(n,i,o,0)},s.prototype.map=function(n,i,o){void 0===i&&(i=0),void 0===o&&(o=this.length);var a=[];return this.forEach(function(i,o){return a.push(n(i,o))},i,o),a},s.from=function(n){return n instanceof s?n:n&&n.length?new l(n):s.empty};var l=function(n){function i(i){n.call(this),this.values=i}n&&(i.__proto__=n),i.prototype=Object.create(n&&n.prototype),i.prototype.constructor=i;var o={length:{configurable:!0},depth:{configurable:!0}};return i.prototype.flatten=function(){return this.values},i.prototype.sliceInner=function(n,o){return 0==n&&o==this.length?this:new i(this.values.slice(n,o))},i.prototype.getInner=function(n){return this.values[n]},i.prototype.forEachInner=function(n,i,o,a){for(var s=i;s=o;s--)if(!1===n(this.values[s],a+s))return!1},i.prototype.leafAppend=function(n){if(this.length+n.length<=a)return new i(this.values.concat(n.flatten()))},i.prototype.leafPrepend=function(n){if(this.length+n.length<=a)return new i(n.flatten().concat(this.values))},o.length.get=function(){return this.values.length},o.depth.get=function(){return 0},Object.defineProperties(i.prototype,o),i}(s);s.empty=new l([]);var u=function(n){function i(i,o){n.call(this),this.left=i,this.right=o,this.length=i.length+o.length,this.depth=Math.max(i.depth,o.depth)+1}return n&&(i.__proto__=n),i.prototype=Object.create(n&&n.prototype),i.prototype.constructor=i,i.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},i.prototype.getInner=function(n){return ns&&!1===this.right.forEachInner(n,Math.max(i-s,0),Math.min(this.length,o)-s,a+s))return!1},i.prototype.forEachInvertedInner=function(n,i,o,a){var s=this.left.length;if(i>s&&!1===this.right.forEachInvertedInner(n,i-s,Math.max(o,s)-s,a+s)||o=o?this.right.slice(n-o,i-o):this.left.slice(n,o).append(this.right.slice(0,i-o))},i.prototype.leafAppend=function(n){var o=this.right.leafAppend(n);if(o)return new i(this.left,o)},i.prototype.leafPrepend=function(n){var o=this.left.leafPrepend(n);if(o)return new i(o,this.right)},i.prototype.appendInner=function(n){return this.left.depth>=Math.max(this.right.depth,n.depth)+1?new i(this.left,new i(this.right,n)):new i(this,n)},i}(s),c=s,d=o(16560),p=o(2376);let f=500;class h{constructor(n,i){this.items=n,this.eventCount=i}popEvent(n,i){let o,a,s,l;if(0==this.eventCount)return null;let u=this.items.length;for(;;u--)if(this.items.get(u-1).selection){--u;break}i&&(a=(o=this.remapping(u,this.items.length)).maps.length);let c=n.tr,d=[],p=[];return this.items.forEach((n,i)=>{if(!n.step){o||(a=(o=this.remapping(u,i+1)).maps.length),a--,p.push(n);return}if(o){p.push(new g(n.map));let f=n.step.map(o.slice(a)),m;f&&c.maybeStep(f).doc&&(m=c.mapping.maps[c.mapping.maps.length-1],d.push(new g(m,void 0,void 0,d.length+p.length))),a--,m&&o.appendMap(m,a)}else c.maybeStep(n.step);if(n.selection)return s=o?n.selection.map(o.slice(a)):n.selection,l=new h(this.items.slice(0,u).append(p.reverse().concat(d)),this.eventCount-1),!1},this.items.length,0),{remaining:l,transform:c,selection:s}}addTransform(n,i,o,a){let s=[],l=this.eventCount,u=this.items,c=!a&&u.length?u.get(u.length-1):null;for(let d=0;dy&&(u=m(u,v),l-=v),new h(u.append(s),l)}remapping(n,i){let o=new d.vs;return this.items.forEach((i,a)=>{let s=null!=i.mirrorOffset&&a-i.mirrorOffset>=n?o.maps.length-i.mirrorOffset:void 0;o.appendMap(i.map,s)},n,i),o}addMaps(n){return 0==this.eventCount?this:new h(this.items.append(n.map(n=>new g(n))),this.eventCount)}rebased(n,i){if(!this.eventCount)return this;let o=[],a=Math.max(0,this.items.length-i),s=n.mapping,l=n.steps.length,u=this.eventCount;this.items.forEach(n=>{n.selection&&u--},a);let c=i;this.items.forEach(i=>{let a=s.getMirror(--c);if(null==a)return;l=Math.min(l,a);let d=s.maps[a];if(i.step){let p=n.steps[a].invert(n.docs[a]),f=i.selection&&i.selection.map(s.slice(c+1,a));f&&u++,o.push(new g(d,p,f))}else o.push(new g(d))},a);let d=[];for(let p=i;pf&&(b=b.compress(this.items.length-o.length)),b}emptyItemCount(){let n=0;return this.items.forEach(i=>{!i.step&&n++}),n}compress(n=this.items.length){let i=this.remapping(0,n),o=i.maps.length,a=[],s=0;return this.items.forEach((l,u)=>{if(u>=n)a.push(l),l.selection&&s++;else if(l.step){let c=l.step.map(i.slice(o)),d=c&&c.getMap();if(o--,d&&i.appendMap(d,o),c){let p=l.selection&&l.selection.map(i.slice(o));p&&s++;let f=new g(d.invert(),c,p),h,m=a.length-1;(h=a.length&&a[m].merge(f))?a[m]=h:a.push(f)}}else l.map&&o--},this.items.length,0),new h(c.from(a.reverse()),s)}}function m(n,i){let o;return n.forEach((n,a)=>{if(n.selection&&0==i--)return o=a,!1}),n.slice(o)}h.empty=new h(c.empty,0);class g{constructor(n,i,o,a){this.map=n,this.step=i,this.selection=o,this.mirrorOffset=a}merge(n){if(this.step&&n.step&&!n.selection){let i=n.step.merge(this.step);if(i)return new g(i.getMap().invert(),i,this.selection)}}}class b{constructor(n,i,o,a,s){this.done=n,this.undone=i,this.prevRanges=o,this.prevTime=a,this.prevComposition=s}}let y=20;function v(n,i,o,a){let s=o.getMeta(T),l;if(s)return s.historyState;o.getMeta(C)&&(n=new b(n.done,n.undone,null,0,-1));let u=o.getMeta("appendedTransaction");if(0==o.steps.length)return n;if(u&&u.getMeta(T))return u.getMeta(T).redo?new b(n.done.addTransform(o,void 0,a,A(i)),n.undone,E(o.mapping.maps[o.steps.length-1]),n.prevTime,n.prevComposition):new b(n.done,n.undone.addTransform(o,void 0,a,A(i)),null,n.prevTime,n.prevComposition);if(!1===o.getMeta("addToHistory")||u&&!1===u.getMeta("addToHistory"))return(l=o.getMeta("rebased"))?new b(n.done.rebased(o,l),n.undone.rebased(o,l),S(n.prevRanges,o.mapping),n.prevTime,n.prevComposition):new b(n.done.addMaps(o.mapping.maps),n.undone.addMaps(o.mapping.maps),S(n.prevRanges,o.mapping),n.prevTime,n.prevComposition);{let c=o.getMeta("composition"),d=0==n.prevTime||!u&&n.prevComposition!=c&&(n.prevTime<(o.time||0)-a.newGroupDelay||!w(o,n.prevRanges)),p=u?S(n.prevRanges,o.mapping):E(o.mapping.maps[o.steps.length-1]);return new b(n.done.addTransform(o,d?i.selection.getBookmark():void 0,a,A(i)),h.empty,p,o.time,null==c?n.prevComposition:c)}}function w(n,i){if(!i)return!1;if(!n.docChanged)return!0;let o=!1;return n.mapping.maps[0].forEach((n,a)=>{for(let s=0;s=i[s]&&(o=!0)}),o}function E(n){let i=[];return n.forEach((n,o,a,s)=>i.push(a,s)),i}function S(n,i){if(!n)return null;let o=[];for(let a=0;anew b(h.empty,h.empty,null,0,-1),apply:(i,o,a)=>v(o,a,i,n)},config:n,props:{handleDOMEvents:{beforeinput(n,i){let o=i.inputType,a="historyUndo"==o?D:"historyRedo"==o?O:null;return!!a&&(i.preventDefault(),a(n.state,n.dispatch))}}}})}let D=(n,i)=>{let o=T.getState(n);return!!o&&0!=o.done.eventCount&&(i&&x(o,n,i,!1),!0)},O=(n,i)=>{let o=T.getState(n);return!!o&&0!=o.undone.eventCount&&(i&&x(o,n,i,!0),!0)};function I(n){let i=T.getState(n);return i?i.done.eventCount:0}function N(n){let i=T.getState(n);return i?i.undone.eventCount:0}},36912:function(n,i,o){"use strict";o.d(i,{Hw:function(){return d},S0:function(){return h},VK:function(){return l},dU:function(){return f},zK:function(){return m}});var a=o(2376),s=o(16560);class l{constructor(n,i,o={}){this.match=n,this.match=n,this.handler="string"==typeof i?u(i):i,this.undoable=!1!==o.undoable}}function u(n){return function(i,o,a,s){let l=n;if(o[1]){let u=o[0].lastIndexOf(o[1]);l+=o[0].slice(u+o[1].length);let c=(a+=u)-s;c>0&&(l=o[0].slice(u-c,u)+l,a=s)}return i.tr.insertText(l,a,s)}}let c=500;function d({rules:n}){let i=new a.Sy({state:{init:()=>null,apply(n,i){return n.getMeta(this)||(n.selectionSet||n.docChanged?null:i)}},props:{handleTextInput:(o,a,s,l)=>p(o,a,s,l,n,i),handleDOMEvents:{compositionend(o){setTimeout(()=>{let{$cursor:a}=o.state.selection;a&&p(o,a.pos,a.pos,"",n,i)})}}},isInputRules:!0});return i}function p(n,i,o,a,s,l){if(n.composing)return!1;let u=n.state,d=u.doc.resolve(i);if(d.parent.type.spec.code)return!1;let p=d.parent.textBetween(Math.max(0,d.parentOffset-c),d.parentOffset,null,"")+a;for(let f=0;f{let o=n.plugins;for(let a=0;a=0;d--)u.step(c.steps[d].invert(c.docs[d]));if(l.text){let p=u.doc.resolve(l.from).marks();u.replaceWith(l.from,l.to,n.schema.text(l.text,p))}else u.delete(l.from,l.to);i(u)}return!0}}return!1};function h(n,i,o=null,a){return new l(n,(n,l,u,c)=>{let d=o instanceof Function?o(l):o,p=n.tr.delete(u,c),f=p.doc.resolve(u).blockRange(),h=f&&(0,s.nd)(f,i,d);if(!h)return null;p.wrap(f,h);let m=p.doc.resolve(u-1).nodeBefore;return m&&m.type==i&&(0,s.Mn)(p.doc,u-1)&&(!a||a(l,m))&&p.join(u-1),p})}function m(n,i,o=null){return new l(n,(n,a,s,l)=>{let u=n.doc.resolve(s),c=o instanceof Function?o(a):o;return u.node(-1).canReplaceWith(u.index(-1),u.indexAfter(-1),i)?n.tr.delete(s,l).setBlockType(s,s,i,c):null})}new l(/--$/,"—"),new l(/\.\.\.$/,"…"),new l(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"“"),new l(/"$/,"”"),new l(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"‘"),new l(/'$/,"’")},82696:function(n,i,o){"use strict";o.d(i,{$:function(){return b}});for(var a={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},s={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},l="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),u="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),c=0;c<10;c++)a[48+c]=a[96+c]=String(c);for(var c=1;c<=24;c++)a[c+111]="F"+c;for(var c=65;c<=90;c++)a[c]=String.fromCharCode(c+32),s[c]=String.fromCharCode(c);for(var d in a)s.hasOwnProperty(d)||(s[d]=a[d]);function p(n){var i=!(l&&n.metaKey&&n.shiftKey&&!n.ctrlKey&&!n.altKey||u&&n.shiftKey&&n.key&&1==n.key.length||"Unidentified"==n.key)&&n.key||(n.shiftKey?s:a)[n.keyCode]||n.key||"Unidentified";return"Esc"==i&&(i="Escape"),"Del"==i&&(i="Delete"),"Left"==i&&(i="ArrowLeft"),"Up"==i&&(i="ArrowUp"),"Right"==i&&(i="ArrowRight"),"Down"==i&&(i="ArrowDown"),i}let f="undefined"!=typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform);function h(n){let i,o,a,s,l=n.split(/-(?!$)/),u=l[l.length-1];"Space"==u&&(u=" ");for(let c=0;c127)&&(l=a[o.keyCode])&&l!=s){let d=i[g(l,o)];if(d&&d(n.state,n.dispatch,n))return!0}}return!1}}},12806:function(n,i,o){"use strict";function a(n){this.content=n}o.d(i,{aw:function(){return ea},PW:function(){return eS},HY:function(){return c},vc:function(){return h},ZU:function(){return er},NB:function(){return L},Ts:function(){return N},Jq:function(){return et},e4:function(){return m},ZQ:function(){return R},V_:function(){return ei},p2:function(){return g}}),a.prototype={constructor:a,find:function(n){for(var i=0;i>1}},a.from=function(n){if(n instanceof a)return n;var i=[];if(n)for(var o in n)i.push(o,n[o]);return new a(i)};var s=a;function l(n,i,o){for(let a=0;;a++){if(a==n.childCount||a==i.childCount)return n.childCount==i.childCount?null:o;let s=n.child(a),u=i.child(a);if(s==u){o+=s.nodeSize;continue}if(!s.sameMarkup(u))return o;if(s.isText&&s.text!=u.text){for(let c=0;s.text[c]==u.text[c];c++)o++;return o}if(s.content.size||u.content.size){let d=l(s.content,u.content,o+1);if(null!=d)return d}o+=s.nodeSize}}function u(n,i,o,a){for(let s=n.childCount,l=i.childCount;;){if(0==s||0==l)return s==l?null:{a:o,b:a};let c=n.child(--s),d=i.child(--l),p=c.nodeSize;if(c==d){o-=p,a-=p;continue}if(!c.sameMarkup(d))return{a:o,b:a};if(c.isText&&c.text!=d.text){let f=0,h=Math.min(c.text.length,d.text.length);for(;fn&&!1!==o(c,a+u,s||null,l)&&c.content.size){let p=u+1;c.nodesBetween(Math.max(0,n-p),Math.min(c.content.size,i-p),o,a+p)}u=d}}descendants(n){this.nodesBetween(0,this.size,n)}textBetween(n,i,o,a){let s="",l=!0;return this.nodesBetween(n,i,(u,c)=>{let d=u.isText?u.text.slice(Math.max(n,c)-c,i-c):u.isLeaf?a?"function"==typeof a?a(u):a:u.type.spec.leafText?u.type.spec.leafText(u):"":"";u.isBlock&&(u.isLeaf&&d||u.isTextblock)&&o&&(l?l=!1:s+=o),s+=d},0),s}append(n){if(!n.size)return this;if(!this.size)return n;let i=this.lastChild,o=n.firstChild,a=this.content.slice(),s=0;for(i.isText&&i.sameMarkup(o)&&(a[a.length-1]=i.withText(i.text+o.text),s=1);sn)for(let s=0,l=0;ln&&((li)&&(u=u.isText?u.cut(Math.max(0,n-l),Math.min(u.text.length,i-l)):u.cut(Math.max(0,n-l-1),Math.min(u.content.size,i-l-1))),o.push(u),a+=u.nodeSize),l=d}return new c(o,a)}cutByIndex(n,i){return n==i?c.empty:0==n&&i==this.content.length?this:new c(this.content.slice(n,i))}replaceChild(n,i){let o=this.content[n];if(o==i)return this;let a=this.content.slice(),s=this.size+i.nodeSize-o.nodeSize;return a[n]=i,new c(a,s)}addToStart(n){return new c([n].concat(this.content),this.size+n.nodeSize)}addToEnd(n){return new c(this.content.concat(n),this.size+n.nodeSize)}eq(n){if(this.content.length!=n.content.length)return!1;for(let i=0;ithis.size||n<0)throw RangeError(`Position ${n} outside of fragment (${this})`);for(let o=0,a=0;;o++){let s=a+this.child(o).nodeSize;if(s>=n){if(s==n||i>0)return p(o+1,s);return p(o,a)}a=s}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(n=>n.toJSON()):null}static fromJSON(n,i){if(!i)return c.empty;if(!Array.isArray(i))throw RangeError("Invalid input for Fragment.fromJSON");return new c(i.map(n.nodeFromJSON))}static fromArray(n){if(!n.length)return c.empty;let i,o=0;for(let a=0;athis.type.rank&&(i||(i=n.slice(0,a)),i.push(this),o=!0),i&&i.push(s)}}return i||(i=n.slice()),o||i.push(this),i}removeFromSet(n){for(let i=0;in.type.rank-i.type.rank),i}}h.none=[];class m extends Error{}class g{constructor(n,i,o){this.content=n,this.openStart=i,this.openEnd=o}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(n,i){let o=y(this.content,n+this.openStart,i);return o&&new g(o,this.openStart,this.openEnd)}removeBetween(n,i){return new g(b(this.content,n+this.openStart,i+this.openStart),this.openStart,this.openEnd)}eq(n){return this.content.eq(n.content)&&this.openStart==n.openStart&&this.openEnd==n.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let n={content:this.content.toJSON()};return this.openStart>0&&(n.openStart=this.openStart),this.openEnd>0&&(n.openEnd=this.openEnd),n}static fromJSON(n,i){if(!i)return g.empty;let o=i.openStart||0,a=i.openEnd||0;if("number"!=typeof o||"number"!=typeof a)throw RangeError("Invalid input for Slice.fromJSON");return new g(c.fromJSON(n,i.content),o,a)}static maxOpen(n,i=!0){let o=0,a=0;for(let s=n.firstChild;s&&!s.isLeaf&&(i||!s.type.spec.isolating);s=s.firstChild)o++;for(let l=n.lastChild;l&&!l.isLeaf&&(i||!l.type.spec.isolating);l=l.lastChild)a++;return new g(n,o,a)}}function b(n,i,o){let{index:a,offset:s}=n.findIndex(i),l=n.maybeChild(a),{index:u,offset:c}=n.findIndex(o);if(s==i||l.isText){if(c!=o&&!n.child(u).isText)throw RangeError("Removing non-flat range");return n.cut(0,i).append(n.cut(o))}if(a!=u)throw RangeError("Removing non-flat range");return n.replaceChild(a,l.copy(b(l.content,i-s-1,o-s-1)))}function y(n,i,o,a){let{index:s,offset:l}=n.findIndex(i),u=n.maybeChild(s);if(l==i||u.isText)return a&&!a.canReplace(s,s,o)?null:n.cut(0,i).append(o).append(n.cut(i));let c=y(u.content,i-l-1,o);return c&&n.replaceChild(s,u.copy(c))}function v(n,i,o){if(o.openStart>n.depth)throw new m("Inserted content deeper than insertion position");if(n.depth-o.openStart!=i.depth-o.openEnd)throw new m("Inconsistent open depths");return w(n,i,o,0)}function w(n,i,o,a){let s=n.index(a),l=n.node(a);if(s==i.index(a)&&a=0&&n.isText&&n.sameMarkup(i[o])?i[o]=n.withText(i[o].text+n.text):i.push(n)}function _(n,i,o,a){let s=(i||n).node(o),l=0,u=i?i.index(o):s.childCount;n&&(l=n.index(o),n.depth>o?l++:n.textOffset&&(x(n.nodeAfter,a),l++));for(let c=l;cs&&S(n,i,s+1),u=a.depth>s&&S(o,a,s+1),d=[];return _(null,n,s,d),l&&u&&i.index(s)==o.index(s)?(E(l,u),x(k(l,A(n,i,o,a,s+1)),d)):(l&&x(k(l,T(n,i,s+1)),d),_(i,o,s,d),u&&x(k(u,T(o,a,s+1)),d)),_(a,null,s,d),new c(d)}function T(n,i,o){let a=[];return _(null,n,o,a),n.depth>o&&x(k(S(n,i,o+1),T(n,i,o+1)),a),_(i,null,o,a),new c(a)}function C(n,i){let o=i.depth-n.openStart,a=i.node(o).copy(n.content);for(let s=o-1;s>=0;s--)a=i.node(s).copy(c.from(a));return{start:a.resolveNoCache(n.openStart+o),end:a.resolveNoCache(a.content.size-n.openEnd-o)}}g.empty=new g(c.empty,0,0);class R{constructor(n,i,o){this.pos=n,this.path=i,this.parentOffset=o,this.depth=i.length/3-1}resolveDepth(n){return null==n?this.depth:n<0?this.depth+n:n}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(n){return this.path[3*this.resolveDepth(n)]}index(n){return this.path[3*this.resolveDepth(n)+1]}indexAfter(n){return n=this.resolveDepth(n),this.index(n)+(n!=this.depth||this.textOffset?1:0)}start(n){return 0==(n=this.resolveDepth(n))?0:this.path[3*n-1]+1}end(n){return n=this.resolveDepth(n),this.start(n)+this.node(n).content.size}before(n){if(!(n=this.resolveDepth(n)))throw RangeError("There is no position before the top-level node");return n==this.depth+1?this.pos:this.path[3*n-1]}after(n){if(!(n=this.resolveDepth(n)))throw RangeError("There is no position after the top-level node");return n==this.depth+1?this.pos:this.path[3*n-1]+this.path[3*n].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let n=this.parent,i=this.index(this.depth);if(i==n.childCount)return null;let o=this.pos-this.path[this.path.length-1],a=n.child(i);return o?n.child(i).cut(o):a}get nodeBefore(){let n=this.index(this.depth),i=this.pos-this.path[this.path.length-1];return i?this.parent.child(n).cut(0,i):0==n?null:this.parent.child(n-1)}posAtIndex(n,i){i=this.resolveDepth(i);let o=this.path[3*i],a=0==i?0:this.path[3*i-1]+1;for(let s=0;s0;i--)if(this.start(i)<=n&&this.end(i)>=n)return i;return 0}blockRange(n=this,i){if(n.pos=0;o--)if(n.pos<=this.end(o)&&(!i||i(this.node(o))))return new N(this,n,o);return null}sameParent(n){return this.pos-this.parentOffset==n.pos-n.parentOffset}max(n){return n.pos>this.pos?n:this}min(n){return n.pos=0&&i<=n.content.size))throw RangeError("Position "+i+" out of range");let o=[],a=0,s=i;for(let l=n;;){let{index:u,offset:c}=l.content.findIndex(s),d=s-c;if(o.push(l,u,a+c),!d||(l=l.child(u)).isText)break;s=d-1,a+=c+1}return new R(i,o,s)}static resolveCached(n,i){for(let o=0;on&&this.nodesBetween(n,i,n=>(o.isInSet(n.marks)&&(a=!0),!a)),a}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let n=this.type.name;return this.content.size&&(n+="("+this.content.toStringInner()+")"),F(this.marks,n)}contentMatchAt(n){let i=this.type.contentMatch.matchFragment(this.content,0,n);if(!i)throw Error("Called contentMatchAt on a node with invalid content");return i}canReplace(n,i,o=c.empty,a=0,s=o.childCount){let l=this.contentMatchAt(n).matchFragment(o,a,s),u=l&&l.matchFragment(this.content,i);if(!u||!u.validEnd)return!1;for(let d=a;dn.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let n={type:this.type.name};for(let i in this.attrs){n.attrs=this.attrs;break}return this.content.size&&(n.content=this.content.toJSON()),this.marks.length&&(n.marks=this.marks.map(n=>n.toJSON())),n}static fromJSON(n,i){if(!i)throw RangeError("Invalid input for Node.fromJSON");let o=null;if(i.marks){if(!Array.isArray(i.marks))throw RangeError("Invalid mark data for Node.fromJSON");o=i.marks.map(n.markFromJSON)}if("text"==i.type){if("string"!=typeof i.text)throw RangeError("Invalid text node in JSON");return n.text(i.text,o)}let a=c.fromJSON(n,i.content);return n.nodeType(i.type).create(i.attrs,a,o)}}L.prototype.text=void 0;class P extends L{constructor(n,i,o,a){if(super(n,i,null,a),!o)throw RangeError("Empty text nodes are not allowed");this.text=o}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):F(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(n,i){return this.text.slice(n,i)}get nodeSize(){return this.text.length}mark(n){return n==this.marks?this:new P(this.type,this.attrs,this.text,n)}withText(n){return n==this.text?this:new P(this.type,this.attrs,n,this.marks)}cut(n=0,i=this.text.length){return 0==n&&i==this.text.length?this:this.withText(this.text.slice(n,i))}eq(n){return this.sameMarkup(n)&&this.text==n.text}toJSON(){let n=super.toJSON();return n.text=this.text,n}}function F(n,i){for(let o=n.length-1;o>=0;o--)i=n[o].type.name+"("+i+")";return i}class B{constructor(n){this.validEnd=n,this.next=[],this.wrapCache=[]}static parse(n,i){let o=new U(n,i);if(null==o.next)return B.empty;let a=z(o);o.next&&o.err("Unexpected trailing text");let s=Z(W(a));return X(s,o),s}matchType(n){for(let i=0;in.createAndFill()));for(let p=0;p=this.next.length)throw RangeError(`There's no ${n}th edge in this content match`);return this.next[n]}toString(){let n=[];function i(o){n.push(o);for(let a=0;a{let a=o+(i.validEnd?"*":" ")+" ";for(let s=0;s"+n.indexOf(i.next[s].next);return a}).join("\n")}}B.empty=new B(!0);class U{constructor(n,i){this.string=n,this.nodeTypes=i,this.inline=null,this.pos=0,this.tokens=n.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(n){return this.next==n&&(this.pos++||!0)}err(n){throw SyntaxError(n+" (in content expression '"+this.string+"')")}}function z(n){let i=[];do i.push(j(n));while(n.eat("|"));return 1==i.length?i[0]:{type:"choice",exprs:i}}function j(n){let i=[];do i.push($(n));while(n.next&&")"!=n.next&&"|"!=n.next);return 1==i.length?i[0]:{type:"seq",exprs:i}}function $(n){let i=q(n);for(;;)if(n.eat("+"))i={type:"plus",expr:i};else if(n.eat("*"))i={type:"star",expr:i};else if(n.eat("?"))i={type:"opt",expr:i};else if(n.eat("{"))i=V(n,i);else break;return i}function H(n){/\D/.test(n.next)&&n.err("Expected number, got '"+n.next+"'");let i=Number(n.next);return n.pos++,i}function V(n,i){let o=H(n),a=o;return n.eat(",")&&(a="}"!=n.next?H(n):-1),n.eat("}")||n.err("Unclosed braced range"),{type:"range",min:o,max:a,expr:i}}function G(n,i){let o=n.nodeTypes,a=o[i];if(a)return[a];let s=[];for(let l in o){let u=o[l];u.groups.indexOf(i)>-1&&s.push(u)}return 0==s.length&&n.err("No node type or group '"+i+"' found"),s}function q(n){if(n.eat("(")){let i=z(n);return n.eat(")")||n.err("Missing closing paren"),i}if(/\W/.test(n.next))n.err("Unexpected token '"+n.next+"'");else{let o=G(n,n.next).map(i=>(null==n.inline?n.inline=i.isInline:n.inline!=i.isInline&&n.err("Mixing inline and block content"),{type:"name",value:i}));return n.pos++,1==o.length?o[0]:{type:"choice",exprs:o}}}function W(n){let i=[[]];return s(l(n,0),o()),i;function o(){return i.push([])-1}function a(n,o,a){let s={term:a,to:o};return i[n].push(s),s}function s(n,i){n.forEach(n=>n.to=i)}function l(n,i){if("choice"==n.type)return n.exprs.reduce((n,o)=>n.concat(l(o,i)),[]);if("seq"==n.type)for(let u=0;;u++){let c=l(n.exprs[u],i);if(u==n.exprs.length-1)return c;s(c,i=o())}else if("star"==n.type){let d=o();return a(i,d),s(l(n.expr,d),d),[a(d)]}else if("plus"==n.type){let p=o();return s(l(n.expr,i),p),s(l(n.expr,p),p),[a(p)]}else if("opt"==n.type)return[a(i)].concat(l(n.expr,i));else if("range"==n.type){let f=i;for(let h=0;h{n[i].forEach(({term:i,to:o})=>{let a;if(i){for(let l=0;l{a||s.push([i,a=[]]),-1==a.indexOf(n)&&a.push(n)})}})});let l=i[a.join(",")]=new B(a.indexOf(n.length-1)>-1);for(let u=0;u-1}allowsMarks(n){if(null==this.markSet)return!0;for(let i=0;io[n]=new et(n,i,a));let a=i.spec.topNode||"doc";if(!o[a])throw RangeError("Schema is missing its top node type ('"+a+"')");if(!o.text)throw RangeError("Every schema needs a 'text' type");for(let s in o.text.attrs)throw RangeError("The text node type should not have attributes");return o}}class en{constructor(n){this.hasDefault=Object.prototype.hasOwnProperty.call(n,"default"),this.default=n.default}get isRequired(){return!this.hasDefault}}class er{constructor(n,i,o,a){this.name=n,this.rank=i,this.schema=o,this.spec=a,this.attrs=ee(a.attrs),this.excluded=null;let s=J(this.attrs);this.instance=s?new h(this,s):null}create(n=null){return!n&&this.instance?this.instance:new h(this,Q(this.attrs,n))}static compile(n,i){let o=Object.create(null),a=0;return n.forEach((n,s)=>o[n]=new er(n,a++,i,s)),o}removeFromSet(n){for(var i=0;i-1}}class ei{constructor(n){this.cached=Object.create(null);let i=this.spec={};for(let o in n)i[o]=n[o];i.nodes=s.from(n.nodes),i.marks=s.from(n.marks||{}),this.nodes=et.compile(this.spec.nodes,this),this.marks=er.compile(this.spec.marks,this);let a=Object.create(null);for(let l in this.nodes){if(l in this.marks)throw RangeError(l+" can not be both a node and a mark");let u=this.nodes[l],c=u.spec.content||"",d=u.spec.marks;u.contentMatch=a[c]||(a[c]=B.parse(c,this.nodes)),u.inlineContent=u.contentMatch.inlineContent,u.markSet="_"==d?null:d?eo(this,d.split(" ")):""!=d&&u.inlineContent?null:[]}for(let p in this.marks){let f=this.marks[p],h=f.spec.excludes;f.excluded=null==h?[f]:""==h?[]:eo(this,h.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(n,i=null,o,a){if("string"==typeof n)n=this.nodeType(n);else if(n instanceof et){if(n.schema!=this)throw RangeError("Node type from different schema used ("+n.name+")")}else throw RangeError("Invalid node type: "+n);return n.createChecked(i,o,a)}text(n,i){let o=this.nodes.text;return new P(o,o.defaultAttrs,n,h.setFrom(i))}mark(n,i){return"string"==typeof n&&(n=this.marks[n]),n.create(i)}nodeFromJSON(n){return L.fromJSON(this,n)}markFromJSON(n){return h.fromJSON(this,n)}nodeType(n){let i=this.nodes[n];if(!i)throw RangeError("Unknown node type: "+n);return i}}function eo(n,i){let o=[];for(let a=0;a-1)&&o.push(u=d)}if(!u)throw SyntaxError("Unknown mark type: '"+i[a]+"'")}return o}class ea{constructor(n,i){this.schema=n,this.rules=i,this.tags=[],this.styles=[],i.forEach(n=>{n.tag?this.tags.push(n):n.style&&this.styles.push(n)}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let o=n.nodes[i.node];return o.contentMatch.matchType(o)})}parse(n,i={}){let o=new em(this,i,!1);return o.addAll(n,i.from,i.to),o.finish()}parseSlice(n,i={}){let o=new em(this,i,!0);return o.addAll(n,i.from,i.to),g.maxOpen(o.finish())}matchTag(n,i,o){for(let a=o?this.tags.indexOf(o)+1:0;an.length)||61==u.charCodeAt(n.length)&&u.slice(n.length+1)==i)){if(l.getAttrs){let c=l.getAttrs(i);if(!1===c)continue;l.attrs=c||void 0}return l}}}static schemaRules(n){let i=[];function o(n){let o=null==n.priority?50:n.priority,a=0;for(;a{o(n=ev(n)),n.mark||n.ignore||n.clearMark||(n.mark=a)})}for(let l in n.nodes){let u=n.nodes[l].spec.parseDOM;u&&u.forEach(n=>{o(n=ev(n)),n.node||n.ignore||n.mark||(n.node=l)})}return i}static fromSchema(n){return n.cached.domParser||(n.cached.domParser=new ea(n,ea.schemaRules(n)))}}let es={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},el={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},eu={ol:!0,ul:!0},ec=1,ed=2,ep=4;function ef(n,i,o){return null!=i?(i?ec:0)|("full"===i?ed:0):n&&"pre"==n.whitespace?ec|ed:o&~ep}class eh{constructor(n,i,o,a,s,l,u){this.type=n,this.attrs=i,this.marks=o,this.pendingMarks=a,this.solid=s,this.options=u,this.content=[],this.activeMarks=h.none,this.stashMarks=[],this.match=l||(u&ep?null:n.contentMatch)}findWrapping(n){if(!this.match){if(!this.type)return[];let i=this.type.contentMatch.fillBefore(c.from(n));if(i)this.match=this.type.contentMatch.matchFragment(i);else{let o=this.type.contentMatch,a;return(a=o.findWrapping(n.type))?(this.match=o,a):null}}return this.match.findWrapping(n.type)}finish(n){if(!(this.options&ec)){let i=this.content[this.content.length-1],o;if(i&&i.isText&&(o=/[ \t\r\n\u000c]+$/.exec(i.text))){let a=i;i.text.length==o[0].length?this.content.pop():this.content[this.content.length-1]=a.withText(a.text.slice(0,a.text.length-o[0].length))}}let s=c.from(this.content);return!n&&this.match&&(s=s.append(this.match.fillBefore(c.empty,!0))),this.type?this.type.create(this.attrs,s,this.marks):s}popFromStashMark(n){for(let i=this.stashMarks.length-1;i>=0;i--)if(n.eq(this.stashMarks[i]))return this.stashMarks.splice(i,1)[0]}applyPending(n){for(let i=0,o=this.pendingMarks;ithis.addAll(n)),l&&this.sync(u),this.needsBlock=c}else this.withStyleRules(n,()=>{this.addElementByRule(n,s,!1===s.consuming?a:void 0)})}leafFallback(n){"BR"==n.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(n.ownerDocument.createTextNode("\n"))}ignoreFallback(n){"BR"!=n.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"))}readStyles(n){let i=h.none,o=h.none;for(let a=0;a{l.clearMark(n)&&(o=n.addToSet(o))}):i=this.parser.schema.marks[l.mark].create(l.attrs).addToSet(i),!1===l.consuming)s=l;else break}return[i,o]}addElementByRule(n,i,o){let a,s,l;i.node?(s=this.parser.schema.nodes[i.node]).isLeaf?this.insertNode(s.create(i.attrs))||this.leafFallback(n):a=this.enter(s,i.attrs||null,i.preserveWhitespace):(l=this.parser.schema.marks[i.mark].create(i.attrs),this.addPendingMark(l));let u=this.top;if(s&&s.isLeaf)this.findInside(n);else if(o)this.addElement(n,o);else if(i.getContent)this.findInside(n),i.getContent(n,this.parser.schema).forEach(n=>this.insertNode(n));else{let c=n;"string"==typeof i.contentElement?c=n.querySelector(i.contentElement):"function"==typeof i.contentElement?c=i.contentElement(n):i.contentElement&&(c=i.contentElement),this.findAround(n,c,!0),this.addAll(c)}a&&this.sync(u)&&this.open--,l&&this.removePendingMark(l,u)}addAll(n,i,o){let a=i||0;for(let s=i?n.childNodes[i]:n.firstChild,l=null==o?null:n.childNodes[o];s!=l;s=s.nextSibling,++a)this.findAtPoint(n,a),this.addDOM(s);this.findAtPoint(n,a)}findPlace(n){let i,o;for(let a=this.open;a>=0;a--){let s=this.nodes[a],l=s.findWrapping(n);if(l&&(!i||i.length>l.length)&&(i=l,o=s,!l.length)||s.solid)break}if(!i)return!1;this.sync(o);for(let u=0;uthis.open){for(;i>this.open;i--)this.nodes[i-1].content.push(this.nodes[i].finish(n));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(n){for(let i=this.open;i>=0;i--)if(this.nodes[i]==n)return this.open=i,!0;return!1}get currentPos(){this.closeExtra();let n=0;for(let i=this.open;i>=0;i--){let o=this.nodes[i].content;for(let a=o.length-1;a>=0;a--)n+=o[a].nodeSize;i&&n++}return n}findAtPoint(n,i){if(this.find)for(let o=0;o-1)return n.split(/\s*\|\s*/).some(this.matchesContext,this);let i=n.split("/"),o=this.options.context,a=!this.isOpen&&(!o||o.parent.type==this.nodes[0].type),s=-(o?o.depth+1:0)+(a?0:1),l=(n,u)=>{for(;n>=0;n--){let c=i[n];if(""==c){if(n==i.length-1||0==n)continue;for(;u>=s;u--)if(l(n-1,u))return!0;return!1}{let d=u>0||0==u&&a?this.nodes[u].type:o&&u>=s?o.node(u-s).type:null;if(!d||d.name!=c&&-1==d.groups.indexOf(c))return!1;u--}}return!0};return l(i.length-1,this.open)}textblockFromContext(){let n=this.options.context;if(n)for(let i=n.depth;i>=0;i--){let o=n.node(i).contentMatchAt(n.indexAfter(i)).defaultType;if(o&&o.isTextblock&&o.defaultAttrs)return o}for(let a in this.parser.schema.nodes){let s=this.parser.schema.nodes[a];if(s.isTextblock&&s.defaultAttrs)return s}}addPendingMark(n){let i=eE(n,this.top.pendingMarks);i&&this.top.stashMarks.push(i),this.top.pendingMarks=n.addToSet(this.top.pendingMarks)}removePendingMark(n,i){for(let o=this.open;o>=0;o--){let a=this.nodes[o];if(a.pendingMarks.lastIndexOf(n)>-1)a.pendingMarks=n.removeFromSet(a.pendingMarks);else{a.activeMarks=n.removeFromSet(a.activeMarks);let s=a.popFromStashMark(n);s&&a.type&&a.type.allowsMarkType(s.type)&&(a.activeMarks=s.addToSet(a.activeMarks))}if(a==i)break}}}function eg(n){for(let i=n.firstChild,o=null;i;i=i.nextSibling){let a=1==i.nodeType?i.nodeName.toLowerCase():null;a&&eu.hasOwnProperty(a)&&o?(o.appendChild(i),i=o):"li"==a?o=i:a&&(o=null)}}function eb(n,i){return(n.matches||n.msMatchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector).call(n,i)}function ey(n){let i=/\s*([\w-]+)\s*:\s*([^;]+)/g,o,a=[];for(;o=i.exec(n);)a.push(o[1],o[2].trim());return a}function ev(n){let i={};for(let o in n)i[o]=n[o];return i}function ew(n,i){let o=i.schema.nodes;for(let a in o){let s=o[a];if(!s.allowsMarkType(n))continue;let l=[],u=n=>{l.push(n);for(let o=0;ol.indexOf(s)&&u(s))return!0}};if(u(s.contentMatch))return!0}}function eE(n,i){for(let o=0;o{if(s.length||n.marks.length){let o=0,l=0;for(;o=0;a--){let s=this.serializeMark(n.marks[a],n.isInline,i);s&&((s.contentDOM||s.dom).appendChild(o),o=s.dom)}return o}serializeMark(n,i,o={}){let a=this.marks[n.type.name];return a&&eS.renderSpec(e_(o),a(n,i))}static renderSpec(n,i,o=null){let a;if("string"==typeof i)return{dom:n.createTextNode(i)};if(null!=i.nodeType)return{dom:i};if(i.dom&&null!=i.dom.nodeType)return i;let s=i[0],l=s.indexOf(" ");l>0&&(o=s.slice(0,l),s=s.slice(l+1));let u=o?n.createElementNS(o,s):n.createElement(s),c=i[1],d=1;if(c&&"object"==typeof c&&null==c.nodeType&&!Array.isArray(c)){for(let p in d=2,c)if(null!=c[p]){let f=p.indexOf(" ");f>0?u.setAttributeNS(p.slice(0,f),p.slice(f+1),c[p]):u.setAttribute(p,c[p])}}for(let h=d;hd)throw RangeError("Content hole must be the only child of its parent node");return{dom:u,contentDOM:u}}{let{dom:g,contentDOM:b}=eS.renderSpec(n,m,o);if(u.appendChild(g),b){if(a)throw RangeError("Multiple content holes");a=b}}}return{dom:u,contentDOM:a}}static fromSchema(n){return n.cached.domSerializer||(n.cached.domSerializer=new eS(this.nodesFromSchema(n),this.marksFromSchema(n)))}static nodesFromSchema(n){let i=ex(n.nodes);return i.text||(i.text=n=>n.text),i}static marksFromSchema(n){return ex(n.marks)}}function ex(n){let i={};for(let o in n){let a=n[o].spec.toDOM;a&&(i[o]=a)}return i}function e_(n){return n.document||window.document}},69400:function(n,i,o){"use strict";o.d(i,{N:function(){return c}});var a=o(12806),s=o(2376),l=o(378),u=o(57555);function c(n){let i;let o=(0,u.DY)(n,(n,i)=>(i.priority??l.xV.Low)-(n.priority??l.xV.Low)),c=[],p=[];for(let f of o)y(f)?c.push(f):p.push(f);return new s.Sy({key:d,view:n=>(i=n,{}),props:{transformPasted(n){var o,s,l;let d=i.state.selection.$from,p=d.node().type.name,f=new Set(d.marks().map(n=>n.type.name));for(let h of c){if((null==(o=h.ignoredNodes)?void 0:o.includes(p))||(null==(s=h.ignoredMarks)?void 0:s.some(n=>f.has(n))))continue;let m=(null==(l=n.content.firstChild)?void 0:l.textContent)??"",b=!i.state.selection.empty&&1===n.content.childCount&&m,y=(0,u.JD)(m,h.regexp)[0];if(b&&y&&"mark"===h.type&&h.replaceSelection){let{from:v,to:w}=i.state.selection,E=i.state.doc.slice(v,w),x=E.content.textBetween(0,E.content.size);if("boolean"!=typeof h.replaceSelection?h.replaceSelection(x):h.replaceSelection){let _=[],{getAttributes:k,markType:A}=h,T=(0,u.mf)(k)?k(y,!0):k,C=A.create(T);return E.content.forEach(n=>{if(n.isText){let i=C.addToSet(n.marks);_.push(n.mark(i))}}),a.p2.maxOpen(a.HY.fromArray(_))}}let{nodes:R,transformed:D}=g(n.content,h,i.state.schema);D&&(n="node"===h.type&&h.nodeType.isBlock?new a.p2(a.HY.fromArray(R),0,0):new a.p2(a.HY.fromArray(R),n.openStart,n.openEnd))}return S(n)},handleDOMEvents:{paste(n,i){var o,a;let s=i;if(!(null==(a=(o=n.props).editable)?void 0:a.call(o,n.state)))return!1;let{clipboardData:l}=s;if(!l)return!1;let u=[...l.items].map(n=>n.getAsFile()).filter(n=>!!n);if(0===u.length)return!1;let{selection:c}=n.state;for(let{fileHandler:d,regexp:f}of p){let h=f?u.filter(n=>f.test(n.type)):u;if(0!==h.length&&d({event:s,files:h,selection:c,view:n,type:"paste"}))return s.preventDefault(),!0}return!1},drop(n,i){var o,a,s;let l=i;if(!(null==(a=(o=n.props).editable)?void 0:a.call(o,n.state)))return!1;let{dataTransfer:u,clientX:c,clientY:d}=l;if(!u)return!1;let f=E(l);if(0===f.length)return!1;let h=(null==(s=n.posAtCoords({left:c,top:d}))?void 0:s.pos)??n.state.selection.anchor;for(let{fileHandler:m,regexp:g}of p){let b=g?f.filter(n=>g.test(n.type)):f;if(0!==b.length&&m({event:l,files:b,pos:h,view:n,type:"drop"}))return l.preventDefault(),!0}return!1}}}})}var d=new s.H$("pasteRule");function p(n,i){return function o(s){let{fragment:l,rule:c,nodes:d}=s,{regexp:p,ignoreWhitespace:f,ignoredMarks:h,ignoredNodes:m}=c,g=!1;return l.forEach(s=>{if((null==m?void 0:m.includes(s.type.name))||v(s)){d.push(s);return}if(!s.isText){let l=o({fragment:s.content,rule:c,nodes:[]});g||(g=l.transformed);let b=a.HY.fromArray(l.nodes);s.type.validContent(b)?d.push(s.copy(b)):d.push(...l.nodes);return}if(s.marks.some(n=>w(n)||(null==h?void 0:h.includes(n.type.name)))){d.push(s);return}let y=s.text??"",E=0;for(let S of(0,u.JD)(y,p)){let x=S[1],_=S[0];if(f&&(null==x?void 0:x.trim())===""||!_)return;let k=S.index,A=k+_.length;k>E&&d.push(s.cut(E,k));let T=s.cut(k,A);if(_&&x){let C=_.search(/\S/),R=k+_.indexOf(x),D=R+x.length;C&&d.push(s.cut(k,k+C)),T=s.cut(R,D)}n({nodes:d,rule:c,textNode:T,match:S,schema:i}),g=!0,E=A}y&&E0?[...a.files]:(null==(o=a.items)?void 0:o.length)?[...a.items].map(n=>n.getAsFile()).filter(n=>!!n):[]:[]}function S(n){let i=a.p2.maxOpen(n.content);return i.openStart=0;s--){let l=i<0?v(n.node(0),n.node(s),n.before(s+1),n.index(s),i,o):v(n.node(0),n.node(s),n.after(s+1),n.index(s)+1,i,o);if(l)return l}return null}static near(n,i=1){return this.findFrom(n,i)||this.findFrom(n,-i)||new b(n.node(0))}static atStart(n){return v(n,n,0,0,1)||new b(n)}static atEnd(n){return v(n,n,n.content.size,n.childCount,-1)||new b(n)}static fromJSON(n,i){if(!i||!i.type)throw RangeError("Invalid input for Selection.fromJSON");let o=l[i.type];if(!o)throw RangeError(`No selection type ${i.type} defined`);return o.fromJSON(n,i)}static jsonID(n,i){if(n in l)throw RangeError("Duplicate use of selection JSON ID "+n);return l[n]=i,i.prototype.jsonID=n,i}getBookmark(){return f.between(this.$anchor,this.$head).getBookmark()}}u.prototype.visible=!0;class c{constructor(n,i){this.$from=n,this.$to=i}}let d=!1;function p(n){d||n.parent.inlineContent||(d=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+n.parent.type.name+")"))}class f extends u{constructor(n,i=n){p(n),p(i),super(n,i)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(n,i){let o=n.resolve(i.map(this.head));if(!o.parent.inlineContent)return u.near(o);let a=n.resolve(i.map(this.anchor));return new f(a.parent.inlineContent?a:o,o)}replace(n,i=a.p2.empty){if(super.replace(n,i),i==a.p2.empty){let o=this.$from.marksAcross(this.$to);o&&n.ensureMarks(o)}}eq(n){return n instanceof f&&n.anchor==this.anchor&&n.head==this.head}getBookmark(){return new h(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(n,i){if("number"!=typeof i.anchor||"number"!=typeof i.head)throw RangeError("Invalid input for TextSelection.fromJSON");return new f(n.resolve(i.anchor),n.resolve(i.head))}static create(n,i,o=i){let a=n.resolve(i);return new this(a,o==i?a:n.resolve(o))}static between(n,i,o){let a=n.pos-i.pos;if((!o||a)&&(o=a>=0?1:-1),!i.parent.inlineContent){let s=u.findFrom(i,o,!0)||u.findFrom(i,-o,!0);if(!s)return u.near(i,o);i=s.$head}return n.parent.inlineContent||(0==a?n=i:(n=(u.findFrom(n,-o,!0)||u.findFrom(n,o,!0)).$anchor).posnew b(n)};function v(n,i,o,a,s,l=!1){if(i.inlineContent)return f.create(n,o);for(let u=a-(s>0?0:1);s>0?u=0;u+=s){let c=i.child(u);if(c.isAtom){if(!l&&m.isSelectable(c))return m.create(n,o-(s<0?c.nodeSize:0))}else{let d=v(n,c,o+s,s<0?c.childCount:0,s,l);if(d)return d}o+=c.nodeSize*s}return null}function w(n,i,o){let a,l=n.steps.length-1;if(l{null==a&&(a=s)}),n.setSelection(u.near(n.doc.resolve(a),o)))}let E=1,S=2,x=4;class _ extends s.wx{constructor(n){super(n.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=n.selection,this.storedMarks=n.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(n){return this.storedMarks=n,this.updated|=S,this}ensureMarks(n){return a.vc.sameSet(this.storedMarks||this.selection.$from.marks(),n)||this.setStoredMarks(n),this}addStoredMark(n){return this.ensureMarks(n.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(n){return this.ensureMarks(n.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&S)>0}addStep(n,i){super.addStep(n,i),this.updated=this.updated&~S,this.storedMarks=null}setTime(n){return this.time=n,this}replaceSelection(n){return this.selection.replace(this,n),this}replaceSelectionWith(n,i=!0){let o=this.selection;return i&&(n=n.mark(this.storedMarks||(o.empty?o.$from.marks():o.$from.marksAcross(o.$to)||a.vc.none))),o.replaceWith(this,n),this}deleteSelection(){return this.selection.replace(this),this}insertText(n,i,o){let a=this.doc.type.schema;if(null==i)return n?this.replaceSelectionWith(a.text(n),!0):this.deleteSelection();{if(null==o&&(o=i),o=null==o?i:o,!n)return this.deleteRange(i,o);let s=this.storedMarks;if(!s){let l=this.doc.resolve(i);s=o==i?l.marks():l.marksAcross(this.doc.resolve(o))}return this.replaceRangeWith(i,o,a.text(n,s)),this.selection.empty||this.setSelection(u.near(this.selection.$to)),this}}setMeta(n,i){return this.meta["string"==typeof n?n:n.key]=i,this}getMeta(n){return this.meta["string"==typeof n?n:n.key]}get isGeneric(){for(let n in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=x,this}get scrolledIntoView(){return(this.updated&x)>0}}function k(n,i){return i&&n?n.bind(i):n}class A{constructor(n,i,o){this.name=n,this.init=k(i.init,o),this.apply=k(i.apply,o)}}let T=[new A("doc",{init:n=>n.doc||n.schema.topNodeType.createAndFill(),apply:n=>n.doc}),new A("selection",{init:(n,i)=>n.selection||u.atStart(i.doc),apply:n=>n.selection}),new A("storedMarks",{init:n=>n.storedMarks||null,apply:(n,i,o,a)=>a.selection.$cursor?n.storedMarks:null}),new A("scrollToSelection",{init:()=>0,apply:(n,i)=>n.scrolledIntoView?i+1:i})];class C{constructor(n,i){this.schema=n,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=T.slice(),i&&i.forEach(n=>{if(this.pluginsByKey[n.key])throw RangeError("Adding different instances of a keyed plugin ("+n.key+")");this.plugins.push(n),this.pluginsByKey[n.key]=n,n.spec.state&&this.fields.push(new A(n.key,n.spec.state,n))})}}class R{constructor(n){this.config=n}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(n){return this.applyTransaction(n).state}filterTransaction(n,i=-1){for(let o=0;on.toJSON())),n&&"object"==typeof n)for(let o in n){if("doc"==o||"selection"==o)throw RangeError("The JSON fields `doc` and `selection` are reserved");let a=n[o],s=a.spec.state;s&&s.toJSON&&(i[o]=s.toJSON.call(a,this[a.key]))}return i}static fromJSON(n,i,o){if(!i)throw RangeError("Invalid input for EditorState.fromJSON");if(!n.schema)throw RangeError("Required config field 'schema' missing");let s=new C(n.schema,n.plugins),l=new R(s);return s.fields.forEach(s=>{if("doc"==s.name)l.doc=a.NB.fromJSON(n.schema,i.doc);else if("selection"==s.name)l.selection=u.fromJSON(l.doc,i.selection);else if("storedMarks"==s.name)i.storedMarks&&(l.storedMarks=i.storedMarks.map(n.schema.markFromJSON));else{if(o)for(let c in o){let d=o[c],p=d.spec.state;if(d.key==s.name&&p&&p.fromJSON&&Object.prototype.hasOwnProperty.call(i,c)){l[s.name]=p.fromJSON.call(d,n,i[c],l);return}}l[s.name]=s.init(n,l)}}),l}}function D(n,i,o){for(let a in n){let s=n[a];s instanceof Function?s=s.bind(i):"handleDOMEvents"==a&&(s=D(s,i,{})),o[a]=s}return o}class O{constructor(n){this.spec=n,this.props={},n.props&&D(n.props,this,this.props),this.key=n.key?n.key.key:N("plugin")}getState(n){return n[this.key]}}let I=Object.create(null);function N(n){return n in I?n+"$"+ ++I[n]:(I[n]=0,n+"$")}class M{constructor(n="key"){this.key=N(n)}get(n){return n.config.pluginsByKey[this.key]}getState(n){return n[this.key]}}},84799:function(n,i,o){"use strict";o.d(i,{C$:function(){return eh},D7:function(){return em},Ek:function(){return ep},ZF:function(){return eo},gn:function(){return ef},hu:function(){return ed},j4:function(){return Y}});var a,s,l,u,c,d,p,f,h,m,g,b=o(2376),y=o(84348),v=o(57555),w=o(63150),E=o(378),S=(n,i,o)=>{if(!i.has(n))throw TypeError("Cannot "+o)},x=(n,i,o)=>(S(n,i,"read from private field"),o?o.call(n):i.get(n)),_=(n,i,o)=>{if(i.has(n))throw TypeError("Cannot add the same private member more than once");i instanceof WeakSet?i.add(n):i.set(n,o)},k=(n,i,o,a)=>(S(n,i,"write to private field"),a?a.call(n,o):i.set(n,o),o),A=((a=A||{}).End="exit-end",a.Removed="delete",a.Split="exit-split",a.InvalidSplit="invalid-exit-split",a.MoveEnd="move-end",a.MoveStart="move-start",a.JumpForward="jump-forward-exit",a.JumpBackward="jump-backward-exit",a.SelectionOutside="selection-outside",a),T=((s=T||{}).Start="start",s.Text="change-character",s.SelectionInside="selection-inside",s.Move="move",s.JumpBackward="jump-backward-change",s.JumpForward="jump-forward-change",s);function C(n){return!!(n.prev&&n.next&&n.prev.text.full!==n.next.text.full)}function R(n){return!!(n.prev&&n.next&&n.prev.range.cursor!==n.next.range.cursor)}function D(n){return!!(!n.prev&&n.next)}function O(n){return!!(n.prev&&!n.next)}function I(n){return!!(n.prev&&n.next&&n.prev.range.from!==n.next.range.from)}function N(n){return"invalid-exit-split"===n}var M=["jump-backward-exit","jump-forward-exit"],L=["jump-backward-change","jump-forward-change"];function P(n){var i,o;return(0,v.q9)(M,null==(i=n.exit)?void 0:i.exitReason)||(0,v.q9)(L,null==(o=n.change)?void 0:o.changeReason)}function F(n){return!!(n&&n.query.full.length>=n.suggester.matchOffset)}function B(n){return(0,v.Kn)(n)&&n instanceof b.Bs}function U(n){let{match:i,changeReason:o,exitReason:a}=n;return{...i,changeReason:o,exitReason:a}}function z(n,i){let{invalidPrefixCharacters:o,validPrefixCharacters:a}=i;if(o){let s=RegExp(ee(o));return!s.test(n)}{let l=RegExp(ee(a));return l.test(n)}}function j(n){let i;let{text:o,regexp:a,$pos:s,suggester:l}=n,u=s.start();return(0,v.JD)(o,a).forEach(n=>{let o=n.input.slice(Math.max(0,n.index-1),n.index);if(z(o,l)){let a=n.index+u,c=n[0],d=n[1];if(!(0,v.HD)(c)||!(0,v.HD)(d))return;let p=a+c.length,f=Math.min(p,s.pos),h=f-a;a=s.pos&&(i={range:{from:a,to:p,cursor:f},match:n,query:{partial:c.slice(d.length,h),full:c.slice(d.length)},text:{partial:c.slice(0,h),full:c},textAfter:s.doc.textBetween(p,s.end(),E.Vp,E.Vp),textBefore:s.doc.textBetween(u,a,E.Vp,E.Vp),suggester:l})}}),i}function $(n){let{$pos:i,suggester:o}=n,{char:a,name:s,startOfLine:l,supportedCharacters:u,matchOffset:c,multiline:d,caseInsensitive:p,unicode:f}=o,h=ei({char:a,matchOffset:c,startOfLine:l,supportedCharacters:u,multiline:d,caseInsensitive:p,unicode:f}),m=i.doc.textBetween(i.before(),i.end(),E.Vp,E.Vp);return j({suggester:o,text:m,regexp:h,$pos:i,char:a,name:s})}function H(n){let{state:i,match:o}=n;try{return $({$pos:i.doc.resolve(o.range.cursor),suggester:o.suggester})}catch{return}}function V(n){let{prev:i,next:o,state:a}=n;return!o&&i.range.from>=a.doc.nodeSize?{exit:U({match:i,exitReason:"delete"})}:o&&i.query.partial?i.range.to===o.range.cursor?{exit:U({match:o,exitReason:"exit-end"})}:i.query.partial?{exit:U({match:o,exitReason:"exit-split"})}:{}:{exit:U({match:i,exitReason:"invalid-exit-split"})}}function G(n){let{prev:i,next:o,state:a}=n,s=(0,v.Ry)(),l=H({state:a,match:i}),{exit:u}=l&&l.query.full!==i.query.full?V({prev:i,next:l,state:a}):s,c=i.range.from=i.range.to)?{exit:U({match:i,exitReason:"selection-outside"})}:a.pos>i.range.to?{exit:U({match:i,exitReason:"move-end"})}:a.pos<=i.range.from?{exit:U({match:i,exitReason:"move-start"})}:{}:V({prev:i,next:l,state:o})}function W(n){let{prev:i,next:o,state:a,$pos:s}=n,l=(0,v.Ry)();if(!i&&!o)return l;let u={prev:i,next:o};return I(u)?G({prev:u.prev,next:u.next,state:a}):D(u)?{change:U({match:u.next,changeReason:"start"})}:O(u)?q({$pos:s,match:u.prev,state:a}):C(u)?{change:U({match:u.next,changeReason:"change-character"})}:R(u)?{change:U({match:u.next,changeReason:a.selection.empty?"move":"selection-inside"})}:l}function K(n,i){for(let o=n.depth;o>0;o--){let a=n.node(o);if(i.includes(a.type.name))return!0}return!1}function Y(n,i){let{$from:o,$to:a}=n;return!!Z(n,i)||(0,v.w6)(o.pos,a.pos).some(n=>X(o.doc.resolve(n),i))}function Z(n,i){let{$from:o,$to:a}=n,s=new Set((o.marksAcross(a)??[]).map(n=>n.type.name));return i.some(n=>s.has(n))}function X(n,i){let o=new Set(n.marks().map(n=>n.type.name));return i.some(n=>o.has(n))}function J(n,i){let{$cursor:o}=i,{validMarks:a,validNodes:s,invalidMarks:l,invalidNodes:u}=n;return!!(!a&&!s&&(0,v.yD)(l)&&(0,v.yD)(u))||!(a&&!Z(i,a)||s&&!K(o,s)||!a&&Y(i,l)||!s&&K(o,u))}function Q(n){let{suggesters:i,$pos:o,selectionEmpty:a}=n;for(let s of i)if(!s.emptySelectionsOnly||a)try{let l=$({suggester:s,$pos:o});if(!l)continue;let u={$from:o.doc.resolve(l.range.from),$to:o.doc.resolve(l.range.to),$cursor:o};if(J(s,u)&&s.isValidPosition(u,l))return l}catch{}}function ee(n){return(0,v.Kj)(n)?n.source:n}function et(n){return n?"^":""}function en(n,i){return`(?:${ee(n)}){${i},}`}function er(n){return(0,v.HD)(n)?RegExp(w(n)):n}function ei(n){let{char:i,matchOffset:o,startOfLine:a,supportedCharacters:s,captureChar:l=!0,caseInsensitive:u=!1,multiline:c=!1,unicode:d=!1}=n,p=`g${c?"m":""}${u?"i":""}${d?"u":""}`,f=er(i).source;return l&&(f=`(${f})`),RegExp(`${et(a)}${f}${en(s,o)}`,p)}var eo={appendTransaction:!1,priority:50,ignoredTag:"span",matchOffset:0,disableDecorations:!1,startOfLine:!1,suggestClassName:"suggest",suggestTag:"span",supportedCharacters:/\w+/,validPrefixCharacters:/^[\s\0]?$/,invalidPrefixCharacters:null,ignoredClassName:null,invalidMarks:[],invalidNodes:[],validMarks:null,validNodes:null,isValidPosition:()=>!0,checkNextValidSelection:null,emptySelectionsOnly:!1,caseInsensitive:!1,multiline:!1,unicode:!1,captureChar:!0},ea="__ignore_prosemirror_suggest_update__",es=class{constructor(n){_(this,l,!1),_(this,u,!1),_(this,c,void 0),_(this,d,void 0),_(this,p,void 0),_(this,f,(0,v.Ry)()),_(this,h,y.EH.empty),_(this,m,!1),_(this,g,!1),this.setMarkRemoved=()=>{k(this,m,!0)},this.findNextTextSelection=n=>{let i=n.$from.doc,o=Math.min(i.nodeSize-2,n.to+1),a=i.resolve(o),s=b.Y1.findFrom(a,1,!0);if(B(s))return s},this.ignoreNextExit=()=>{k(this,u,!0)},this.addIgnored=({from:n,name:i,specific:o=!1})=>{let a=x(this,c).find(n=>n.name===i);if(!a)throw Error(`No suggester exists for the name provided: ${i}`);let s=(0,v.HD)(a.char)?a.char.length:1,l=n+s,u=a.ignoredClassName?{class:a.ignoredClassName}:{},d=y.p.inline(n,l,{nodeName:a.ignoredTag,...u},{name:i,specific:o,char:a.char});k(this,h,x(this,h).add(this.view.state.doc,[d]))},this.removeIgnored=({from:n,name:i})=>{let o=x(this,c).find(n=>n.name===i);if(!o)throw Error(`No suggester exists for the name provided: ${i}`);let a=(0,v.HD)(o.char)?o.char.length:1,s=x(this,h).find(n,n+a)[0];s&&s.spec.name===i&&k(this,h,x(this,h).remove([s]))},this.clearIgnored=n=>{if(!n){k(this,h,y.EH.empty);return}let i=x(this,h).find(),o=i.filter(({spec:i})=>i.name===n);k(this,h,x(this,h).remove(o))},this.findMatchAtPosition=(n,i)=>{let o=i?x(this,c).filter(n=>n.name===i):x(this,c);return Q({suggesters:o,$pos:n,docChanged:!1,selectionEmpty:!0})},this.setLastChangeFromAppend=()=>{k(this,g,!0)};let i=eu();k(this,c,n.map(i)),k(this,c,(0,v.DY)(x(this,c),(n,i)=>i.priority-n.priority))}static create(n){return new es(n)}get decorationSet(){return x(this,h)}get removed(){return x(this,m)}get match(){return x(this,d)?x(this,d):x(this,p)&&x(this,f).exit?x(this,p):void 0}init(n){return this.view=n,this}createProps(n){let{name:i,char:o}=n.suggester;return{view:this.view,addIgnored:this.addIgnored,clearIgnored:this.clearIgnored,ignoreNextExit:this.ignoreNextExit,setMarkRemoved:this.setMarkRemoved,name:i,char:o,...n}}shouldRunExit(){return!x(this,u)||(k(this,u,!1),!1)}updateWithNextSelection(n){var i,o,a;let s=this.findNextTextSelection(n.selection);if(s)for(let l of x(this,c)){let u=null==(i=x(this,f).change)?void 0:i.suggester.name,d=null==(o=x(this,f).exit)?void 0:o.suggester.name;null==(a=l.checkNextValidSelection)||a.call(l,s.$from,n,{change:u,exit:d})}}changeHandler(n,i){let{change:o,exit:a}=x(this,f),s=this.match;if(!o&&!a||!F(s))return;let l=i===(null==a?void 0:a.suggester.appendTransaction)&&this.shouldRunExit(),u=i===(null==o?void 0:o.suggester.appendTransaction);if(l||u){if(o&&a&&P({change:o,exit:a})){let c=this.createProps(a),d=this.createProps(o);a.range.from,o.range.from,l&&a.suggester.onChange(c,n),u&&o.suggester.onChange(d,n),l&&k(this,m,!1);return}o&&u&&o.suggester.onChange(this.createProps(o),n),a&&l&&(a.suggester.onChange(this.createProps(a),n),k(this,m,!1),N(a.exitReason)&&k(this,f,(0,v.Ry)()))}}mapIgnoredDecorations(n){let i=x(this,h).map(n.mapping,n.doc),o=i.find(),a=o.filter(({from:n,to:i,spec:o})=>{let a=(0,v.HD)(o.char)?o.char.length:1;return i-n!==a});k(this,h,i.remove(a))}shouldIgnoreMatch({range:n,suggester:{name:i}}){let o=x(this,h).find(),a=o.some(({spec:o,from:a})=>a===n.from&&(!o.specific||o.name===i));return a}resetState(){k(this,f,(0,v.Ry)()),k(this,d,void 0),k(this,m,!1),k(this,g,!1)}updateReasons(n){let{$pos:i,state:o}=n,a=x(this,l),s=x(this,c),u=o.selection.empty,h=B(o.selection)?Q({suggesters:s,$pos:i,docChanged:a,selectionEmpty:u}):void 0;k(this,d,h&&this.shouldIgnoreMatch(h)?void 0:h),k(this,f,W({next:x(this,d),prev:x(this,p),state:o,$pos:i}))}addSuggester(n){let i=x(this,c).find(i=>i.name===n.name),o=eu();if(i)k(this,c,x(this,c).map(a=>a===i?o(n):a));else{let a=[...x(this,c),o(n)];k(this,c,(0,v.DY)(a,(n,i)=>i.priority-n.priority))}return()=>this.removeSuggester(n.name)}removeSuggester(n){let i=(0,v.HD)(n)?n:n.name;k(this,c,x(this,c).filter(n=>n.name!==i)),this.clearIgnored(i)}toJSON(){return this.match}apply(n){let{exit:i,change:o}=x(this,f);if(x(this,g)&&(k(this,g,!1),!(null==i?void 0:i.suggester.appendTransaction)&&!(null==o?void 0:o.suggester.appendTransaction)))return this;let{tr:a,state:s}=n,u=a.docChanged||a.selectionSet,c=a.getMeta(ea);return!c&&(u||x(this,m))&&(k(this,l,a.docChanged),this.mapIgnoredDecorations(a),i&&this.resetState(),k(this,p,x(this,d)),this.updateReasons({$pos:a.selection.$from,state:s})),this}createDecorations(n){let i=this.match;if(!F(i))return x(this,h);let{disableDecorations:o}=i.suggester,a=(0,v.mf)(o)?o(n,i):o;if(a)return x(this,h);let{range:s,suggester:l}=i,{name:u,suggestTag:c,suggestClassName:d}=l,{from:p,to:f}=s;return this.shouldIgnoreMatch(i)?x(this,h):x(this,h).add(n.doc,[y.p.inline(p,f,{nodeName:c,class:u?`${d} suggest-${u}`:d},{name:u})])}},el=es;function eu(){let n=new Set;return i=>{if(n.has(i.name))throw Error(`A suggester already exists with the name '${i.name}'. The name provided must be unique.`);let o={...eo,...i};return n.add(i.name),o}}l=new WeakMap,u=new WeakMap,c=new WeakMap,d=new WeakMap,p=new WeakMap,f=new WeakMap,h=new WeakMap,m=new WeakMap,g=new WeakMap;var ec=new b.H$("suggest");function ed(n){return ec.getState(n)}function ep(n,i){return ed(n).addSuggester(i)}function ef(n){n.setMeta(ea,!0)}function eh(n,i){return ed(n).removeSuggester(i)}function em(...n){let i=el.create(n);return new b.Sy({key:ec,view:n=>(i.init(n),{update:n=>i.changeHandler(n.state.tr,!1)}),state:{init:()=>i,apply:(n,o,a,s)=>i.apply({tr:n,state:s})},appendTransaction(n,o,a){let s=a.tr;return(i.updateWithNextSelection(s),i.changeHandler(s,!0),s.docChanged||s.steps.length>0||s.selectionSet||s.storedMarksSet)?(i.setLastChangeFromAppend(),s):null},props:{decorations:n=>i.createDecorations(n)}})}},16560:function(n,i,o){"use strict";o.d(i,{Ax:function(){return V},FC:function(){return C},Mn:function(){return q},Pu:function(){return T},WJ:function(){return x},Yo:function(){return Y},dR:function(){return X},h8:function(){return w},k9:function(){return M},nd:function(){return P},nj:function(){return Z},oo:function(){return E},vs:function(){return y},wx:function(){return em},xu:function(){return _}});var a=o(12806);let s=65535,l=65536;function u(n,i){return n+i*l}function c(n){return n&s}function d(n){return(n-(n&s))/l}let p=1,f=2,h=4,m=8;class g{constructor(n,i,o){this.pos=n,this.delInfo=i,this.recover=o}get deleted(){return(this.delInfo&m)>0}get deletedBefore(){return(this.delInfo&(p|h))>0}get deletedAfter(){return(this.delInfo&(f|h))>0}get deletedAcross(){return(this.delInfo&h)>0}}class b{constructor(n,i=!1){if(this.ranges=n,this.inverted=i,!n.length&&b.empty)return b.empty}recover(n){let i=0,o=c(n);if(!this.inverted)for(let a=0;an)break;let b=this.ranges[c+s],y=this.ranges[c+l],v=d+b;if(n<=v){let w=b?n==d?-1:n==v?1:i:i,E=d+a+(w<0?0:y);if(o)return E;let S=n==(i<0?d:v)?null:u(c/3,n-d),x=n==d?f:n==v?p:h;return(i<0?n!=d:n!=v)&&(x|=m),new g(E,x,S)}a+=y-b}return o?n+a:new g(n+a,0,null)}touches(n,i){let o=0,a=c(i),s=this.inverted?2:1,l=this.inverted?1:2;for(let u=0;un)break;let p=this.ranges[u+s];if(n<=d+p&&u==3*a)return!0;o+=this.ranges[u+l]-p}return!1}forEach(n){let i=this.inverted?2:1,o=this.inverted?1:2;for(let a=0,s=0;a=0;i--){let a=n.getMirror(i);this.appendMap(n.maps[i].invert(),null!=a&&a>i?o-a-1:void 0)}}invert(){let n=new y;return n.appendMappingInverted(this),n}map(n,i=1){if(this.mirror)return this._map(n,i,!0);for(let o=this.from;os&&un.isAtom&&i.type.allowsMarkType(this.mark.type)?n.mark(this.mark.addToSet(n.marks)):n,s),i.openStart,i.openEnd);return E.fromReplace(n,this.from,this.to,l)}invert(){return new _(this.from,this.to,this.mark)}map(n){let i=n.mapResult(this.from,1),o=n.mapResult(this.to,-1);return i.deleted&&o.deleted||i.pos>=o.pos?null:new x(i.pos,o.pos,this.mark)}merge(n){return n instanceof x&&n.mark.eq(this.mark)&&this.from<=n.to&&this.to>=n.from?new x(Math.min(this.from,n.from),Math.max(this.to,n.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(n,i){if("number"!=typeof i.from||"number"!=typeof i.to)throw RangeError("Invalid input for AddMarkStep.fromJSON");return new x(i.from,i.to,n.markFromJSON(i.mark))}}w.jsonID("addMark",x);class _ extends w{constructor(n,i,o){super(),this.from=n,this.to=i,this.mark=o}apply(n){let i=n.slice(this.from,this.to),o=new a.p2(S(i.content,n=>n.mark(this.mark.removeFromSet(n.marks)),n),i.openStart,i.openEnd);return E.fromReplace(n,this.from,this.to,o)}invert(){return new x(this.from,this.to,this.mark)}map(n){let i=n.mapResult(this.from,1),o=n.mapResult(this.to,-1);return i.deleted&&o.deleted||i.pos>=o.pos?null:new _(i.pos,o.pos,this.mark)}merge(n){return n instanceof _&&n.mark.eq(this.mark)&&this.from<=n.to&&this.to>=n.from?new _(Math.min(this.from,n.from),Math.max(this.to,n.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(n,i){if("number"!=typeof i.from||"number"!=typeof i.to)throw RangeError("Invalid input for RemoveMarkStep.fromJSON");return new _(i.from,i.to,n.markFromJSON(i.mark))}}w.jsonID("removeMark",_);class k extends w{constructor(n,i){super(),this.pos=n,this.mark=i}apply(n){let i=n.nodeAt(this.pos);if(!i)return E.fail("No node at mark step's position");let o=i.type.create(i.attrs,null,this.mark.addToSet(i.marks));return E.fromReplace(n,this.pos,this.pos+1,new a.p2(a.HY.from(o),0,i.isLeaf?0:1))}invert(n){let i=n.nodeAt(this.pos);if(i){let o=this.mark.addToSet(i.marks);if(o.length==i.marks.length){for(let a=0;ao.pos?null:new C(i.pos,o.pos,a,s,this.slice,this.insert,this.structure)}toJSON(){let n={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(n.slice=this.slice.toJSON()),this.structure&&(n.structure=!0),n}static fromJSON(n,i){if("number"!=typeof i.from||"number"!=typeof i.to||"number"!=typeof i.gapFrom||"number"!=typeof i.gapTo||"number"!=typeof i.insert)throw RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new C(i.from,i.to,i.gapFrom,i.gapTo,a.p2.fromJSON(n,i.slice),i.insert,!!i.structure)}}function R(n,i,o){let a=n.resolve(i),s=o-i,l=a.depth;for(;s>0&&l>0&&a.indexAfter(l)==a.node(l).childCount;)l--,s--;if(s>0){let u=a.node(l).maybeChild(a.indexAfter(l));for(;s>0;){if(!u||u.isLeaf)return!0;u=u.firstChild,s--}}return!1}function D(n,i,o,a){let s,l,u=[],c=[];n.doc.nodesBetween(i,o,(n,d,p)=>{if(!n.isInline)return;let f=n.marks;if(!a.isInSet(f)&&p.type.allowsMarkType(a.type)){let h=Math.max(d,i),m=Math.min(d+n.nodeSize,o),g=a.addToSet(f);for(let b=0;bn.step(i)),c.forEach(i=>n.step(i))}function O(n,i,o,s){let l=[],u=0;n.doc.nodesBetween(i,o,(n,c)=>{if(!n.isInline)return;u++;let d=null;if(s instanceof a.ZU){let p=n.marks,f;for(;f=s.isInSet(p);)(d||(d=[])).push(f),p=f.removeFromSet(p)}else s?s.isInSet(n.marks)&&(d=[s]):d=n.marks;if(d&&d.length){let h=Math.min(c+n.nodeSize,o);for(let m=0;mn.step(new _(i.from,i.to,i.style)))}function I(n,i,o,s=o.contentMatch){let l=n.doc.nodeAt(i),u=[],c=i+1;for(let d=0;d=0;w--)n.step(u[w])}function N(n,i,o){return(0==i||n.canReplace(i,n.childCount))&&(o==n.childCount||n.canReplace(0,o))}function M(n){let i=n.parent.content.cutByIndex(n.startIndex,n.endIndex);for(let o=n.depth;;--o){let a=n.$from.node(o),s=n.$from.index(o),l=n.$to.indexAfter(o);if(oo;g--)b||s.index(g)>0?(b=!0,h=a.HY.from(s.node(g).copy(h)),m++):p--;let y=a.HY.empty,v=0;for(let w=u,E=!1;w>o;w--)E||l.after(w+1)=0;l--){if(s.size){let u=o[l].type.contentMatch.matchFragment(s);if(!u||!u.validEnd)throw RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}s=a.HY.from(o[l].type.create(o[l].attrs,s))}let c=i.start,d=i.end;n.step(new C(c,d,c,d,new a.p2(s,0,0),o.length,!0))}function j(n,i,o,s,l){if(!s.isTextblock)throw RangeError("Type given to setBlockType should be a textblock");let u=n.steps.length;n.doc.nodesBetween(i,o,(i,o)=>{if(i.isTextblock&&!i.hasMarkup(s,l)&&$(n.doc,n.mapping.slice(u).map(o),s)){n.clearIncompatible(n.mapping.slice(u).map(o,1),s);let c=n.mapping.slice(u),d=c.map(o,1),p=c.map(o+i.nodeSize,1);return n.step(new C(d,p,d+1,p-1,new a.p2(a.HY.from(s.create(l,null,i.marks)),0,0),1,!0)),!1}})}function $(n,i,o){let a=n.resolve(i),s=a.index();return a.parent.canReplaceWith(s,s+1,o)}function H(n,i,o,s,l){let u=n.doc.nodeAt(i);if(!u)throw RangeError("No node at given position");o||(o=u.type);let c=o.create(s,null,l||u.marks);if(u.isLeaf)return n.replaceWith(i,i+u.nodeSize,c);if(!o.validContent(u.content))throw RangeError("Invalid content for node type "+o.name);n.step(new C(i,i+u.nodeSize,i+1,i+u.nodeSize-1,new a.p2(a.HY.from(c),0,0),1,!0))}function V(n,i,o=1,a){let s=n.resolve(i),l=s.depth-o,u=a&&a[a.length-1]||s.parent;if(l<0||s.parent.type.spec.isolating||!s.parent.canReplace(s.index(),s.parent.childCount)||!u.type.validContent(s.parent.content.cutByIndex(s.index(),s.parent.childCount)))return!1;for(let c=s.depth-1,d=o-2;c>l;c--,d--){let p=s.node(c),f=s.index(c);if(p.type.spec.isolating)return!1;let h=p.content.cutByIndex(f,p.childCount),m=a&&a[d+1];m&&(h=h.replaceChild(0,m.type.create(m.attrs)));let g=a&&a[d]||p;if(!p.canReplace(f+1,p.childCount)||!g.type.validContent(h))return!1}let b=s.indexAfter(l),y=a&&a[0];return s.node(l).canReplaceWith(b,b,y?y.type:s.node(l+1).type)}function G(n,i,o=1,s){let l=n.doc.resolve(i),u=a.HY.empty,c=a.HY.empty;for(let d=l.depth,p=l.depth-o,f=o-1;d>p;d--,f--){u=a.HY.from(l.node(d).copy(u));let h=s&&s[f];c=a.HY.from(h?h.type.create(h.attrs,c):l.node(d).copy(c))}n.step(new T(i,i,new a.p2(u.append(c),o,o),!0))}function q(n,i){let o=n.resolve(i),a=o.index();return W(o.nodeBefore,o.nodeAfter)&&o.parent.canReplace(a,a+1)}function W(n,i){return!!(n&&i&&!n.isLeaf&&n.canAppend(i))}function K(n,i,o){let s=new T(i-o,i+o,a.p2.empty,!0);n.step(s)}function Y(n,i,o){let a=n.resolve(i);if(a.parent.canReplaceWith(a.index(),a.index(),o))return i;if(0==a.parentOffset)for(let s=a.depth-1;s>=0;s--){let l=a.index(s);if(a.node(s).canReplaceWith(l,l,o))return a.before(s+1);if(l>0)return null}if(a.parentOffset==a.parent.content.size)for(let u=a.depth-1;u>=0;u--){let c=a.indexAfter(u);if(a.node(u).canReplaceWith(c,c,o))return a.after(u+1);if(c=0;c--){let d=c==a.depth?0:a.pos<=(a.start(c+1)+a.end(c+1))/2?-1:1,p=a.index(c)+(d>0?1:0),f=a.node(c),h=!1;if(1==u)h=f.canReplace(p,p,s);else{let m=f.contentMatchAt(p).findWrapping(s.firstChild.type);h=m&&f.canReplaceWith(p,p,m[0])}if(h)return 0==d?a.pos:d<0?a.before(c+1):a.after(c+1)}return null}function X(n,i,o=i,s=a.p2.empty){if(i==o&&!s.size)return null;let l=n.resolve(i),u=n.resolve(o);return J(l,u,s)?new T(i,o,s):new Q(l,u,s).fit()}function J(n,i,o){return!o.openStart&&!o.openEnd&&n.start()==i.start()&&n.parent.canReplace(n.index(),i.index(),o.content)}w.jsonID("replaceAround",C);class Q{constructor(n,i,o){this.$from=n,this.$to=i,this.unplaced=o,this.frontier=[],this.placed=a.HY.empty;for(let s=0;s<=n.depth;s++){let l=n.node(s);this.frontier.push({type:l.type,match:l.contentMatchAt(n.indexAfter(s))})}for(let u=n.depth;u>0;u--)this.placed=a.HY.from(n.node(u).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let n=this.findFittable();n?this.placeNodes(n):this.openMore()||this.dropNode()}let i=this.mustMoveInline(),o=this.placed.size-this.depth-this.$from.depth,s=this.$from,l=this.close(i<0?this.$to:s.doc.resolve(i));if(!l)return null;let u=this.placed,c=s.depth,d=l.depth;for(;c&&d&&1==u.childCount;)u=u.firstChild.content,c--,d--;let p=new a.p2(u,c,d);return i>-1?new C(s.pos,i,this.$to.pos,this.$to.end(),p,o):p.size||s.pos!=this.$to.pos?new T(s.pos,l.pos,p):null}findFittable(){let n=this.unplaced.openStart;for(let i=this.unplaced.content,o=0,s=this.unplaced.openEnd;o1&&(s=0),l.type.spec.isolating&&s<=o){n=o;break}i=l.content}for(let u=1;u<=2;u++)for(let c=1==u?n:this.unplaced.openStart;c>=0;c--){let d,p=null,f=(d=c?(p=en(this.unplaced.content,c-1).firstChild).content:this.unplaced.content).firstChild;for(let h=this.depth;h>=0;h--){let{type:m,match:g}=this.frontier[h],b,y=null;if(1==u&&(f?g.matchType(f.type)||(y=g.fillBefore(a.HY.from(f),!1)):p&&m.compatibleContent(p.type)))return{sliceDepth:c,frontierDepth:h,parent:p,inject:y};if(2==u&&f&&(b=g.findWrapping(f.type)))return{sliceDepth:c,frontierDepth:h,parent:p,wrap:b};if(p&&g.matchType(p.type))break}}}openMore(){let{content:n,openStart:i,openEnd:o}=this.unplaced,s=en(n,i);return!!s.childCount&&!s.firstChild.isLeaf&&(this.unplaced=new a.p2(n,i+1,Math.max(o,s.size+i>=n.size-o?i+1:0)),!0)}dropNode(){let{content:n,openStart:i,openEnd:o}=this.unplaced,s=en(n,i);if(s.childCount<=1&&i>0){let l=n.size-i<=i+s.size;this.unplaced=new a.p2(ee(n,i-1,1),i-1,l?i-1:o)}else this.unplaced=new a.p2(ee(n,i,1),i,o)}placeNodes({sliceDepth:n,frontierDepth:i,parent:o,inject:s,wrap:l}){for(;this.depth>i;)this.closeFrontierNode();if(l)for(let u=0;u1||0==p||v.content.size)&&(m=w,h.push(er(v.mark(g.allowedMarks(v.marks)),1==f?p:0,f==d.childCount?y:-1)))}let E=f==d.childCount;E||(y=-1),this.placed=et(this.placed,i,a.HY.from(h)),this.frontier[i].match=m,E&&y<0&&o&&o.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let S=0,x=d;S1&&a==this.$to.end(--o);)++a;return a}findCloseLevel(n){a:for(let i=Math.min(this.depth,n.depth);i>=0;i--){let{match:o,type:a}=this.frontier[i],s=i=0;u--){let{match:c,type:d}=this.frontier[u],p=ei(n,u,d,c,!0);if(!p||p.childCount)continue a}return{depth:i,fit:l,move:s?n.doc.resolve(n.after(i+1)):n}}}}close(n){let i=this.findCloseLevel(n);if(!i)return null;for(;this.depth>i.depth;)this.closeFrontierNode();i.fit.childCount&&(this.placed=et(this.placed,i.depth,i.fit)),n=i.move;for(let o=i.depth+1;o<=n.depth;o++){let a=n.node(o),s=a.type.contentMatch.fillBefore(a.content,!0,n.index(o));this.openFrontierNode(a.type,a.attrs,s)}return n}openFrontierNode(n,i=null,o){let s=this.frontier[this.depth];s.match=s.match.matchType(n),this.placed=et(this.placed,this.depth,a.HY.from(n.create(i,o))),this.frontier.push({type:n,match:n.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(a.HY.empty,!0);n.childCount&&(this.placed=et(this.placed,this.frontier.length,n))}}function ee(n,i,o){return 0==i?n.cutByIndex(o,n.childCount):n.replaceChild(0,n.firstChild.copy(ee(n.firstChild.content,i-1,o)))}function et(n,i,o){return 0==i?n.append(o):n.replaceChild(n.childCount-1,n.lastChild.copy(et(n.lastChild.content,i-1,o)))}function en(n,i){for(let o=0;o1&&(s=s.replaceChild(0,er(s.firstChild,i-1,1==s.childCount?o-1:0))),i>0&&(s=n.type.contentMatch.fillBefore(s).append(s),o<=0&&(s=s.append(n.type.contentMatch.matchFragment(s).fillBefore(a.HY.empty,!0)))),n.copy(s)}function ei(n,i,o,a,s){let l=n.node(i),u=s?n.indexAfter(i):n.index(i);if(u==l.childCount&&!o.compatibleContent(l.type))return null;let c=a.fillBefore(l.content,!0,u);return c&&!eo(o,l.content,u)?c:null}function eo(n,i,o){for(let a=o;a0;p--,f--){let h=l.node(p).type.spec;if(h.defining||h.definingAsContext||h.isolating)break;c.indexOf(p)>-1?d=p:l.before(p)==f&&c.splice(1,0,-p)}let m=c.indexOf(d),g=[],b=s.openStart;for(let y=s.content,v=0;;v++){let w=y.firstChild;if(g.push(w),v==s.openStart)break;y=w.content}for(let E=b-1;E>=0;E--){let S=g[E],x=ea(S.type);if(x&&!S.sameMarkup(l.node(Math.abs(d)-1)))b=E;else if(x||!S.type.isTextblock)break}for(let _=s.openStart;_>=0;_--){let k=(_+b+1)%(s.openStart+1),A=g[k];if(A)for(let C=0;C=0&&(n.replace(i,o,s),!(n.steps.length>N));M--){let L=c[M];L<0||(i=l.before(L),o=u.after(L))}}function el(n,i,o,s,l){if(is){let c=l.contentMatchAt(0),d=c.fillBefore(n).append(n);n=d.append(c.matchFragment(d).fillBefore(a.HY.empty,!0))}return n}function eu(n,i,o,s){if(!s.isInline&&i==o&&n.doc.resolve(i).parent.content.size){let l=Y(n.doc,i,s.type);null!=l&&(i=o=l)}n.replaceRange(i,o,new a.p2(a.HY.from(s),0,0))}function ec(n,i,o){let a=n.doc.resolve(i),s=n.doc.resolve(o),l=ed(a,s);for(let u=0;u0&&(d||a.node(c-1).canReplace(a.index(c-1),s.indexAfter(c-1))))return n.delete(a.before(c),s.after(c))}for(let p=1;p<=a.depth&&p<=s.depth;p++)if(i-a.start(p)==a.depth-p&&o>a.end(p)&&s.end(p)-o!=s.depth-p)return n.delete(a.before(p),o);n.delete(i,o)}function ed(n,i){let o=[],a=Math.min(n.depth,i.depth);for(let s=a;s>=0;s--){let l=n.start(s);if(li.pos+(i.depth-s)||n.node(s).type.spec.isolating||i.node(s).type.spec.isolating)break;(l==i.start(s)||s==n.depth&&s==i.depth&&n.parent.inlineContent&&i.parent.inlineContent&&s&&i.start(s-1)==l-1)&&o.push(s)}return o}class ep extends w{constructor(n,i,o){super(),this.pos=n,this.attr=i,this.value=o}apply(n){let i=n.nodeAt(this.pos);if(!i)return E.fail("No node at attribute step's position");let o=Object.create(null);for(let s in i.attrs)o[s]=i.attrs[s];o[this.attr]=this.value;let l=i.type.create(o,null,i.marks);return E.fromReplace(n,this.pos,this.pos+1,new a.p2(a.HY.from(l),0,i.isLeaf?0:1))}getMap(){return b.empty}invert(n){return new ep(this.pos,this.attr,n.nodeAt(this.pos).attrs[this.attr])}map(n){let i=n.mapResult(this.pos,1);return i.deletedAfter?null:new ep(i.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(n,i){if("number"!=typeof i.pos||"string"!=typeof i.attr)throw RangeError("Invalid input for AttrStep.fromJSON");return new ep(i.pos,i.attr,i.value)}}w.jsonID("attr",ep);class ef extends w{constructor(n,i){super(),this.attr=n,this.value=i}apply(n){let i=Object.create(null);for(let o in n.attrs)i[o]=n.attrs[o];i[this.attr]=this.value;let a=n.type.create(i,n.content,n.marks);return E.ok(a)}getMap(){return b.empty}invert(n){return new ef(this.attr,n.attrs[this.attr])}map(n){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(n,i){if("string"!=typeof i.attr)throw RangeError("Invalid input for DocAttrStep.fromJSON");return new ef(i.attr,i.value)}}w.jsonID("docAttr",ef);let eh=class extends Error{};(eh=function n(i){let o=Error.call(this,i);return o.__proto__=n.prototype,o}).prototype=Object.create(Error.prototype),eh.prototype.constructor=eh,eh.prototype.name="TransformError";class em{constructor(n){this.doc=n,this.steps=[],this.docs=[],this.mapping=new y}get before(){return this.docs.length?this.docs[0]:this.doc}step(n){let i=this.maybeStep(n);if(i.failed)throw new eh(i.failed);return this}maybeStep(n){let i=n.apply(this.doc);return i.failed||this.addStep(n,i.doc),i}get docChanged(){return this.steps.length>0}addStep(n,i){this.docs.push(this.doc),this.steps.push(n),this.mapping.appendMap(n.getMap()),this.doc=i}replace(n,i=n,o=a.p2.empty){let s=X(this.doc,n,i,o);return s&&this.step(s),this}replaceWith(n,i,o){return this.replace(n,i,new a.p2(a.HY.from(o),0,0))}delete(n,i){return this.replace(n,i,a.p2.empty)}insert(n,i){return this.replaceWith(n,n,i)}replaceRange(n,i,o){return es(this,n,i,o),this}replaceRangeWith(n,i,o){return eu(this,n,i,o),this}deleteRange(n,i){return ec(this,n,i),this}lift(n,i){return L(this,n,i),this}join(n,i=1){return K(this,n,i),this}wrap(n,i){return z(this,n,i),this}setBlockType(n,i=n,o,a=null){return j(this,n,i,o,a),this}setNodeMarkup(n,i,o=null,a){return H(this,n,i,o,a),this}setNodeAttribute(n,i,o){return this.step(new ep(n,i,o)),this}setDocAttribute(n,i){return this.step(new ef(n,i)),this}addNodeMark(n,i){return this.step(new k(n,i)),this}removeNodeMark(n,i){if(!(i instanceof a.vc)){let o=this.doc.nodeAt(n);if(!o)throw RangeError("No node at position "+n);if(!(i=i.isInSet(o.marks)))return this}return this.step(new A(n,i)),this}split(n,i=1,o){return G(this,n,i,o),this}addMark(n,i,o){return D(this,n,i,o),this}removeMark(n,i,o){return O(this,n,i,o),this}clearIncompatible(n,i,o){return I(this,n,i,o),this}}},48570:function(n,i,o){"use strict";o.d(i,{D:function(){return r9}});var a={};o.r(a),o.d(a,{attentionMarkers:function(){return t4},contentInitial:function(){return tQ},disable:function(){return t6},document:function(){return tJ},flow:function(){return t1},flowInitial:function(){return t0},insideSpan:function(){return t5},string:function(){return t2},text:function(){return t3}});var s={};o.r(s),o.d(s,{boolean:function(){return rd},booleanish:function(){return rp},commaOrSpaceSeparated:function(){return rb},commaSeparated:function(){return rg},number:function(){return rh},overloadedBoolean:function(){return rf},spaceSeparated:function(){return rm}});var l=o(67294),u=o(70529);function c(n){return n&&"object"==typeof n?"position"in n||"type"in n?p(n.position):"start"in n||"end"in n?p(n):"line"in n||"column"in n?d(n):"":""}function d(n){return f(n&&n.line)+":"+f(n&&n.column)}function p(n){return d(n&&n.start)+"-"+d(n&&n.end)}function f(n){return n&&"number"==typeof n?n:1}class h extends Error{constructor(n,i,o){let a=[null,null],s={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof i&&(o=i,i=void 0),"string"==typeof o){let l=o.indexOf(":");-1===l?a[1]=o:(a[0]=o.slice(0,l),a[1]=o.slice(l+1))}i&&("type"in i||"position"in i?i.position&&(s=i.position):"start"in i||"end"in i?s=i:("line"in i||"column"in i)&&(s.start=i)),this.name=c(i)||"1:1",this.message="object"==typeof n?n.message:n,this.stack="","object"==typeof n&&n.stack&&(this.stack=n.stack),this.reason=this.message,this.fatal,this.line=s.start.line,this.column=s.start.column,this.position=s,this.source=a[0],this.ruleId=a[1],this.file,this.actual,this.expected,this.url,this.note}}h.prototype.file="",h.prototype.name="",h.prototype.reason="",h.prototype.message="",h.prototype.stack="",h.prototype.fatal=null,h.prototype.column=null,h.prototype.line=null,h.prototype.source=null,h.prototype.ruleId=null,h.prototype.position=null;let m={basename:g,dirname:b,extname:y,join:v,sep:"/"};function g(n,i){let o;if(void 0!==i&&"string"!=typeof i)throw TypeError('"ext" argument must be a string');S(n);let a=0,s=-1,l=n.length;if(void 0===i||0===i.length||i.length>n.length){for(;l--;)if(47===n.charCodeAt(l)){if(o){a=l+1;break}}else s<0&&(o=!0,s=l+1);return s<0?"":n.slice(a,s)}if(i===n)return"";let u=-1,c=i.length-1;for(;l--;)if(47===n.charCodeAt(l)){if(o){a=l+1;break}}else u<0&&(o=!0,u=l+1),c>-1&&(n.charCodeAt(l)===i.charCodeAt(c--)?c<0&&(s=l):(c=-1,s=u));return a===s?s=u:s<0&&(s=n.length),n.slice(a,s)}function b(n){let i;if(S(n),0===n.length)return".";let o=-1,a=n.length;for(;--a;)if(47===n.charCodeAt(a)){if(i){o=a;break}}else i||(i=!0);return o<0?47===n.charCodeAt(0)?"/":".":1===o&&47===n.charCodeAt(0)?"//":n.slice(0,o)}function y(n){let i;S(n);let o=n.length,a=-1,s=0,l=-1,u=0;for(;o--;){let c=n.charCodeAt(o);if(47===c){if(i){s=o+1;break}continue}a<0&&(i=!0,a=o+1),46===c?l<0?l=o:1!==u&&(u=1):l>-1&&(u=-1)}return l<0||a<0||0===u||1===u&&l===a-1&&l===s+1?"":n.slice(l,a)}function v(...n){let i,o=-1;for(;++o0&&47===n.charCodeAt(n.length-1)&&(o+="/"),i?"/"+o:o}function E(n,i){let o,a,s="",l=0,u=-1,c=0,d=-1;for(;++d<=n.length;){if(d2){if((a=s.lastIndexOf("/"))!==s.length-1){a<0?(s="",l=0):l=(s=s.slice(0,a)).length-1-s.lastIndexOf("/"),u=d,c=0;continue}}else if(s.length>0){s="",l=0,u=d,c=0;continue}}i&&(s=s.length>0?s+"/..":"..",l=2)}else s.length>0?s+="/"+n.slice(u+1,d):s=n.slice(u+1,d),l=d-u-1;u=d,c=0}else 46===o&&c>-1?c++:c=-1}return s}function S(n){if("string"!=typeof n)throw TypeError("Path must be a string. Received "+JSON.stringify(n))}let x={cwd:_};function _(){return"/"}function k(n){return null!==n&&"object"==typeof n&&n.href&&n.origin}function A(n){if("string"==typeof n)n=new URL(n);else if(!k(n)){let i=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw i.code="ERR_INVALID_ARG_TYPE",i}if("file:"!==n.protocol){let o=TypeError("The URL must be of scheme file");throw o.code="ERR_INVALID_URL_SCHEME",o}return T(n)}function T(n){if(""!==n.hostname){let i=TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}let o=n.pathname,a=-1;for(;++ai.length;u&&i.push(s);try{a=n.apply(this,i)}catch(d){let c=d;if(u&&o)throw c;return s(c)}u||(a instanceof Promise?a.then(l,s):a instanceof Error?s(a):l(a))}function s(n,...a){o||(o=!0,i(n,...a))}function l(n){s(null,n)}}let z=$().freeze(),j={}.hasOwnProperty;function $(){let n;let i=B(),o=[],a={},s=-1;return l.data=u,l.Parser=void 0,l.Compiler=void 0,l.freeze=c,l.attachers=o,l.use=d,l.parse=p,l.stringify=f,l.run=h,l.runSync=m,l.process=g,l.processSync=b,l;function l(){let n=$(),i=-1;for(;++i{if(!n&&i&&o){let a=l.stringify(i,o);null==a||(J(a)?o.value=a:o.result=a),u(n,o)}else u(n)})}o(null,i)}function b(n){let i;l.freeze(),G("processSync",l.Parser),q("processSync",l.Compiler);let o=Z(n);return l.process(o,a),Y("processSync","process",i),o;function a(n){i=!0,M(n)}}}function H(n,i){return"function"==typeof n&&n.prototype&&(V(n.prototype)||i in n.prototype)}function V(n){let i;for(i in n)if(j.call(n,i))return!0;return!1}function G(n,i){if("function"!=typeof i)throw TypeError("Cannot `"+n+"` without `Parser`")}function q(n,i){if("function"!=typeof i)throw TypeError("Cannot `"+n+"` without `Compiler`")}function W(n,i){if(i)throw Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function K(n){if(!F(n)||"string"!=typeof n.type)throw TypeError("Expected node, got `"+n+"`")}function Y(n,i,o){if(!o)throw Error("`"+n+"` finished async. Use `"+i+"` instead")}function Z(n){return X(n)?n:new R(n)}function X(n){return Boolean(n&&"object"==typeof n&&"message"in n&&"messages"in n)}function J(n){return"string"==typeof n||L(n)}let Q={};function ee(n,i){let o=i||Q,a="boolean"!=typeof o.includeImageAlt||o.includeImageAlt,s="boolean"!=typeof o.includeHtml||o.includeHtml;return et(n,a,s)}function et(n,i,o){if(er(n)){if("value"in n)return"html"!==n.type||o?n.value:"";if(i&&"alt"in n&&n.alt)return n.alt;if("children"in n)return en(n.children,i,o)}return Array.isArray(n)?en(n,i,o):""}function en(n,i,o){let a=[],s=-1;for(;++sa))return;let h=s.events.length,m=h;for(;m--;)if("exit"===s.events[m][0]&&"chunkFlow"===s.events[m][1].type){if(d){p=s.events[m][1].end;break}d=!0}for(w(u),f=h;fi;){let a=l[o];s.containerState=a[1],a[0].exit.call(s,n)}l.length=i}function E(){i.write([null]),o=void 0,i=void 0,s.containerState._closeFlow=void 0}}function ef(n,i,o){return(0,eo.f)(n,n.attempt(this.parser.constructs.document,i,o),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var eh=o(23402);function em(n){let i,o,a,s,l,u,c;let d={},p=-1;for(;++p=4?i(s):n.interrupt(a.parser.constructs.flow,o,i)(s)}}let eS={tokenize:ex};function ex(n){let i=this,o=n.attempt(eh.w,a,n.attempt(this.parser.constructs.flowInitial,s,(0,eo.f)(n,n.attempt(this.parser.constructs.flow,s,n.attempt(eb,s)),"linePrefix")));return o;function a(a){if(null===a){n.consume(a);return}return n.enter("lineEndingBlank"),n.consume(a),n.exit("lineEndingBlank"),i.currentConstruct=void 0,o}function s(a){if(null===a){n.consume(a);return}return n.enter("lineEnding"),n.consume(a),n.exit("lineEnding"),i.currentConstruct=void 0,o}}let e_={resolveAll:eC()},ek=eT("string"),eA=eT("text");function eT(n){return{tokenize:i,resolveAll:eC("text"===n?eR:void 0)};function i(i){let o=this,a=this.parser.constructs[n],s=i.attempt(a,l,u);return l;function l(n){return d(n)?s(n):u(n)}function u(n){if(null===n){i.consume(n);return}return i.enter("data"),i.consume(n),c}function c(n){return d(n)?(i.exit("data"),s(n)):(i.consume(n),c)}function d(n){if(null===n)return!0;let i=a[n],s=-1;if(i)for(;++s-1){let c=o[0];"string"==typeof c?o[0]=c.slice(s):o.shift()}u>0&&o.push(n[l].slice(0,u))}return o}function eN(n,i){let o,a=-1,s=[];for(;++a=3&&(null===l||(0,ea.Ch)(l))?(n.exit("thematicBreak"),i(l)):o(l)}function d(i){return i===a?(n.consume(i),s++,d):(n.exit("thematicBreakSequence"),(0,ea.xz)(i)?(0,eo.f)(n,c,"whitespace")(i):c(i))}}let eP={name:"list",tokenize:eU,continuation:{tokenize:ez},exit:e$},eF={tokenize:eH,partial:!0},eB={tokenize:ej,partial:!0};function eU(n,i,o){let a=this,s=a.events[a.events.length-1],l=s&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,u=0;return c;function c(i){let s=a.containerState.type||(42===i||43===i||45===i?"listUnordered":"listOrdered");if("listUnordered"===s?!a.containerState.marker||i===a.containerState.marker:(0,ea.pY)(i)){if(a.containerState.type||(a.containerState.type=s,n.enter(s,{_container:!0})),"listUnordered"===s)return n.enter("listItemPrefix"),42===i||45===i?n.check(eM,o,p)(i):p(i);if(!a.interrupt||49===i)return n.enter("listItemPrefix"),n.enter("listItemValue"),d(i)}return o(i)}function d(i){return(0,ea.pY)(i)&&++u<10?(n.consume(i),d):(!a.interrupt||u<2)&&(a.containerState.marker?i===a.containerState.marker:41===i||46===i)?(n.exit("listItemValue"),p(i)):o(i)}function p(i){return n.enter("listItemMarker"),n.consume(i),n.exit("listItemMarker"),a.containerState.marker=a.containerState.marker||i,n.check(eh.w,a.interrupt?o:f,n.attempt(eF,m,h))}function f(n){return a.containerState.initialBlankLine=!0,l++,m(n)}function h(i){return(0,ea.xz)(i)?(n.enter("listItemPrefixWhitespace"),n.consume(i),n.exit("listItemPrefixWhitespace"),m):o(i)}function m(o){return a.containerState.size=l+a.sliceSerialize(n.exit("listItemPrefix"),!0).length,i(o)}}function ez(n,i,o){let a=this;return a.containerState._closeFlow=void 0,n.check(eh.w,s,l);function s(o){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,(0,eo.f)(n,i,"listItemIndent",a.containerState.size+1)(o)}function l(o){return a.containerState.furtherBlankLines||!(0,ea.xz)(o)?(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,u(o)):(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,n.attempt(eB,i,u)(o))}function u(s){return a.containerState._closeFlow=!0,a.interrupt=void 0,(0,eo.f)(n,n.attempt(eP,i,o),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function ej(n,i,o){let a=this;return(0,eo.f)(n,s,"listItemIndent",a.containerState.size+1);function s(n){let s=a.events[a.events.length-1];return s&&"listItemIndent"===s[1].type&&s[2].sliceSerialize(s[1],!0).length===a.containerState.size?i(n):o(n)}}function e$(n){n.exit(this.containerState.type)}function eH(n,i,o){let a=this;return(0,eo.f)(n,s,"listItemPrefixWhitespace",a.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(n){let s=a.events[a.events.length-1];return!(0,ea.xz)(n)&&s&&"listItemPrefixWhitespace"===s[1].type?i(n):o(n)}}let eV={name:"blockQuote",tokenize:eG,continuation:{tokenize:eq},exit:eW};function eG(n,i,o){let a=this;return s;function s(i){if(62===i){let s=a.containerState;return s.open||(n.enter("blockQuote",{_container:!0}),s.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(i),n.exit("blockQuoteMarker"),l}return o(i)}function l(o){return(0,ea.xz)(o)?(n.enter("blockQuotePrefixWhitespace"),n.consume(o),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),i):(n.exit("blockQuotePrefix"),i(o))}}function eq(n,i,o){let a=this;return s;function s(i){return(0,ea.xz)(i)?(0,eo.f)(n,l,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i):l(i)}function l(a){return n.attempt(eV,i,o)(a)}}function eW(n){n.exit("blockQuote")}function eK(n,i,o,a,s,l,u,c,d){let p=d||Number.POSITIVE_INFINITY,f=0;return h;function h(i){return 60===i?(n.enter(a),n.enter(s),n.enter(l),n.consume(i),n.exit(l),m):null===i||32===i||41===i||(0,ea.Av)(i)?o(i):(n.enter(a),n.enter(u),n.enter(c),n.enter("chunkString",{contentType:"string"}),y(i))}function m(o){return 62===o?(n.enter(l),n.consume(o),n.exit(l),n.exit(s),n.exit(a),i):(n.enter(c),n.enter("chunkString",{contentType:"string"}),g(o))}function g(i){return 62===i?(n.exit("chunkString"),n.exit(c),m(i)):null===i||60===i||(0,ea.Ch)(i)?o(i):(n.consume(i),92===i?b:g)}function b(i){return 60===i||62===i||92===i?(n.consume(i),g):g(i)}function y(s){return!f&&(null===s||41===s||(0,ea.z3)(s))?(n.exit("chunkString"),n.exit(c),n.exit(u),n.exit(a),i(s)):f999||null===p||91===p||93===p&&!u||94===p&&!d&&"_hiddenFootnoteSupport"in c.parser.constructs?o(p):93===p?(n.exit(l),n.enter(s),n.consume(p),n.exit(s),n.exit(a),i):(0,ea.Ch)(p)?(n.enter("lineEnding"),n.consume(p),n.exit("lineEnding"),f):(n.enter("chunkString",{contentType:"string"}),h(p))}function h(i){return null===i||91===i||93===i||(0,ea.Ch)(i)||d++>999?(n.exit("chunkString"),f(i)):(n.consume(i),u||(u=!(0,ea.xz)(i)),92===i?m:h)}function m(i){return 91===i||92===i||93===i?(n.consume(i),d++,h):h(i)}}function eZ(n,i,o,a,s,l){let u;return c;function c(i){return 34===i||39===i||40===i?(n.enter(a),n.enter(s),n.consume(i),n.exit(s),u=40===i?41:i,d):o(i)}function d(o){return o===u?(n.enter(s),n.consume(o),n.exit(s),n.exit(a),i):(n.enter(l),p(o))}function p(i){return i===u?(n.exit(l),d(u)):null===i?o(i):(0,ea.Ch)(i)?(n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),(0,eo.f)(n,p,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),f(i))}function f(i){return i===u||null===i||(0,ea.Ch)(i)?(n.exit("chunkString"),p(i)):(n.consume(i),92===i?h:f)}function h(i){return i===u||92===i?(n.consume(i),f):f(i)}}function eX(n,i){let o;return a;function a(s){return(0,ea.Ch)(s)?(n.enter("lineEnding"),n.consume(s),n.exit("lineEnding"),o=!0,a):(0,ea.xz)(s)?(0,eo.f)(n,a,o?"linePrefix":"lineSuffix")(s):i(s)}}var eJ=o(11098);let eQ={name:"definition",tokenize:e1},e0={tokenize:e2,partial:!0};function e1(n,i,o){let a;let s=this;return l;function l(i){return n.enter("definition"),u(i)}function u(i){return eY.call(s,n,c,o,"definitionLabel","definitionLabelMarker","definitionLabelString")(i)}function c(i){return(a=(0,eJ.d)(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)),58===i)?(n.enter("definitionMarker"),n.consume(i),n.exit("definitionMarker"),d):o(i)}function d(i){return(0,ea.z3)(i)?eX(n,p)(i):p(i)}function p(i){return eK(n,f,o,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(i)}function f(i){return n.attempt(e0,h,h)(i)}function h(i){return(0,ea.xz)(i)?(0,eo.f)(n,m,"whitespace")(i):m(i)}function m(l){return null===l||(0,ea.Ch)(l)?(n.exit("definition"),s.parser.defined.push(a),i(l)):o(l)}}function e2(n,i,o){return a;function a(i){return(0,ea.z3)(i)?eX(n,s)(i):o(i)}function s(i){return eZ(n,l,o,"definitionTitle","definitionTitleMarker","definitionTitleString")(i)}function l(i){return(0,ea.xz)(i)?(0,eo.f)(n,u,"whitespace")(i):u(i)}function u(n){return null===n||(0,ea.Ch)(n)?i(n):o(n)}}let e3={name:"codeIndented",tokenize:e4},e5={tokenize:e6,partial:!0};function e4(n,i,o){let a=this;return s;function s(i){return n.enter("codeIndented"),(0,eo.f)(n,l,"linePrefix",5)(i)}function l(n){let i=a.events[a.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?u(n):o(n)}function u(i){return null===i?d(i):(0,ea.Ch)(i)?n.attempt(e5,u,d)(i):(n.enter("codeFlowValue"),c(i))}function c(i){return null===i||(0,ea.Ch)(i)?(n.exit("codeFlowValue"),u(i)):(n.consume(i),c)}function d(o){return n.exit("codeIndented"),i(o)}}function e6(n,i,o){let a=this;return s;function s(i){return a.parser.lazy[a.now().line]?o(i):(0,ea.Ch)(i)?(n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),s):(0,eo.f)(n,l,"linePrefix",5)(i)}function l(n){let l=a.events[a.events.length-1];return l&&"linePrefix"===l[1].type&&l[2].sliceSerialize(l[1],!0).length>=4?i(n):(0,ea.Ch)(n)?s(n):o(n)}}let e8={name:"headingAtx",tokenize:e7,resolve:e9};function e9(n,i){let o,a,s=n.length-2,l=3;return"whitespace"===n[3][1].type&&(l+=2),s-2>l&&"whitespace"===n[s][1].type&&(s-=2),"atxHeadingSequence"===n[s][1].type&&(l===s-1||s-4>l&&"whitespace"===n[s-2][1].type)&&(s-=l+1===s?2:4),s>l&&(o={type:"atxHeadingText",start:n[l][1].start,end:n[s][1].end},a={type:"chunkText",start:n[l][1].start,end:n[s][1].end,contentType:"text"},(0,eu.d)(n,l,s-l+1,[["enter",o,i],["enter",a,i],["exit",a,i],["exit",o,i]])),n}function e7(n,i,o){let a=0;return s;function s(i){return n.enter("atxHeading"),l(i)}function l(i){return n.enter("atxHeadingSequence"),u(i)}function u(i){return 35===i&&a++<6?(n.consume(i),u):null===i||(0,ea.z3)(i)?(n.exit("atxHeadingSequence"),c(i)):o(i)}function c(o){return 35===o?(n.enter("atxHeadingSequence"),d(o)):null===o||(0,ea.Ch)(o)?(n.exit("atxHeading"),i(o)):(0,ea.xz)(o)?(0,eo.f)(n,c,"whitespace")(o):(n.enter("atxHeadingText"),p(o))}function d(i){return 35===i?(n.consume(i),d):(n.exit("atxHeadingSequence"),c(i))}function p(i){return null===i||35===i||(0,ea.z3)(i)?(n.exit("atxHeadingText"),c(i)):(n.consume(i),p)}}let te={name:"setextUnderline",tokenize:tn,resolveTo:tt};function tt(n,i){let o,a,s,l=n.length;for(;l--;)if("enter"===n[l][0]){if("content"===n[l][1].type){o=l;break}"paragraph"===n[l][1].type&&(a=l)}else"content"===n[l][1].type&&n.splice(l,1),s||"definition"!==n[l][1].type||(s=l);let u={type:"setextHeading",start:Object.assign({},n[a][1].start),end:Object.assign({},n[n.length-1][1].end)};return n[a][1].type="setextHeadingText",s?(n.splice(a,0,["enter",u,i]),n.splice(s+1,0,["exit",n[o][1],i]),n[o][1].end=Object.assign({},n[s][1].end)):n[o][1]=u,n.push(["exit",u,i]),n}function tn(n,i,o){let a;let s=this;return l;function l(i){let l,c=s.events.length;for(;c--;)if("lineEnding"!==s.events[c][1].type&&"linePrefix"!==s.events[c][1].type&&"content"!==s.events[c][1].type){l="paragraph"===s.events[c][1].type;break}return!s.parser.lazy[s.now().line]&&(s.interrupt||l)?(n.enter("setextHeadingLine"),a=i,u(i)):o(i)}function u(i){return n.enter("setextHeadingLineSequence"),c(i)}function c(i){return i===a?(n.consume(i),c):(n.exit("setextHeadingLineSequence"),(0,ea.xz)(i)?(0,eo.f)(n,d,"lineSuffix")(i):d(i))}function d(a){return null===a||(0,ea.Ch)(a)?(n.exit("setextHeadingLine"),i(a)):o(a)}}let tr=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ti=["pre","script","style","textarea"],to={name:"htmlFlow",tokenize:tu,resolveTo:tl,concrete:!0},ta={tokenize:td,partial:!0},ts={tokenize:tc,partial:!0};function tl(n){let i=n.length;for(;i--&&("enter"!==n[i][0]||"htmlFlow"!==n[i][1].type););return i>1&&"linePrefix"===n[i-2][1].type&&(n[i][1].start=n[i-2][1].start,n[i+1][1].start=n[i-2][1].start,n.splice(i-2,2)),n}function tu(n,i,o){let a,s,l,u,c;let d=this;return p;function p(n){return f(n)}function f(i){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(i),h}function h(u){return 33===u?(n.consume(u),m):47===u?(n.consume(u),s=!0,y):63===u?(n.consume(u),a=3,d.interrupt?i:U):(0,ea.jv)(u)?(n.consume(u),l=String.fromCharCode(u),v):o(u)}function m(s){return 45===s?(n.consume(s),a=2,g):91===s?(n.consume(s),a=5,u=0,b):(0,ea.jv)(s)?(n.consume(s),a=4,d.interrupt?i:U):o(s)}function g(a){return 45===a?(n.consume(a),d.interrupt?i:U):o(a)}function b(a){let s="CDATA[";return a===s.charCodeAt(u++)?(n.consume(a),u===s.length)?d.interrupt?i:O:b:o(a)}function y(i){return(0,ea.jv)(i)?(n.consume(i),l=String.fromCharCode(i),v):o(i)}function v(u){if(null===u||47===u||62===u||(0,ea.z3)(u)){let c=47===u,p=l.toLowerCase();return!c&&!s&&ti.includes(p)?(a=1,d.interrupt?i(u):O(u)):tr.includes(l.toLowerCase())?(a=6,c)?(n.consume(u),w):d.interrupt?i(u):O(u):(a=7,d.interrupt&&!d.parser.lazy[d.now().line]?o(u):s?E(u):S(u))}return 45===u||(0,ea.H$)(u)?(n.consume(u),l+=String.fromCharCode(u),v):o(u)}function w(a){return 62===a?(n.consume(a),d.interrupt?i:O):o(a)}function E(i){return(0,ea.xz)(i)?(n.consume(i),E):R(i)}function S(i){return 47===i?(n.consume(i),R):58===i||95===i||(0,ea.jv)(i)?(n.consume(i),x):(0,ea.xz)(i)?(n.consume(i),S):R(i)}function x(i){return 45===i||46===i||58===i||95===i||(0,ea.H$)(i)?(n.consume(i),x):_(i)}function _(i){return 61===i?(n.consume(i),k):(0,ea.xz)(i)?(n.consume(i),_):S(i)}function k(i){return null===i||60===i||61===i||62===i||96===i?o(i):34===i||39===i?(n.consume(i),c=i,A):(0,ea.xz)(i)?(n.consume(i),k):T(i)}function A(i){return i===c?(n.consume(i),c=null,C):null===i||(0,ea.Ch)(i)?o(i):(n.consume(i),A)}function T(i){return null===i||34===i||39===i||47===i||60===i||61===i||62===i||96===i||(0,ea.z3)(i)?_(i):(n.consume(i),T)}function C(n){return 47===n||62===n||(0,ea.xz)(n)?S(n):o(n)}function R(i){return 62===i?(n.consume(i),D):o(i)}function D(i){return null===i||(0,ea.Ch)(i)?O(i):(0,ea.xz)(i)?(n.consume(i),D):o(i)}function O(i){return 45===i&&2===a?(n.consume(i),L):60===i&&1===a?(n.consume(i),P):62===i&&4===a?(n.consume(i),z):63===i&&3===a?(n.consume(i),U):93===i&&5===a?(n.consume(i),B):(0,ea.Ch)(i)&&(6===a||7===a)?(n.exit("htmlFlowData"),n.check(ta,j,I)(i)):null===i||(0,ea.Ch)(i)?(n.exit("htmlFlowData"),I(i)):(n.consume(i),O)}function I(i){return n.check(ts,N,j)(i)}function N(i){return n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),M}function M(i){return null===i||(0,ea.Ch)(i)?I(i):(n.enter("htmlFlowData"),O(i))}function L(i){return 45===i?(n.consume(i),U):O(i)}function P(i){return 47===i?(n.consume(i),l="",F):O(i)}function F(i){if(62===i){let o=l.toLowerCase();return ti.includes(o)?(n.consume(i),z):O(i)}return(0,ea.jv)(i)&&l.length<8?(n.consume(i),l+=String.fromCharCode(i),F):O(i)}function B(i){return 93===i?(n.consume(i),U):O(i)}function U(i){return 62===i?(n.consume(i),z):45===i&&2===a?(n.consume(i),U):O(i)}function z(i){return null===i||(0,ea.Ch)(i)?(n.exit("htmlFlowData"),j(i)):(n.consume(i),z)}function j(o){return n.exit("htmlFlow"),i(o)}}function tc(n,i,o){let a=this;return s;function s(i){return(0,ea.Ch)(i)?(n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),l):o(i)}function l(n){return a.parser.lazy[a.now().line]?o(n):i(n)}}function td(n,i,o){return a;function a(a){return n.enter("lineEnding"),n.consume(a),n.exit("lineEnding"),n.attempt(eh.w,i,o)}}let tp={tokenize:tm,partial:!0},tf={name:"codeFenced",tokenize:th,concrete:!0};function th(n,i,o){let a;let s=this,l={tokenize:_,partial:!0},u=0,c=0;return d;function d(n){return p(n)}function p(i){let o=s.events[s.events.length-1];return u=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,a=i,n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),f(i)}function f(i){return i===a?(c++,n.consume(i),f):c<3?o(i):(n.exit("codeFencedFenceSequence"),(0,ea.xz)(i)?(0,eo.f)(n,h,"whitespace")(i):h(i))}function h(o){return null===o||(0,ea.Ch)(o)?(n.exit("codeFencedFence"),s.interrupt?i(o):n.check(tp,y,x)(o)):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),m(o))}function m(i){return null===i||(0,ea.Ch)(i)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),h(i)):(0,ea.xz)(i)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),(0,eo.f)(n,g,"whitespace")(i)):96===i&&i===a?o(i):(n.consume(i),m)}function g(i){return null===i||(0,ea.Ch)(i)?h(i):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),b(i))}function b(i){return null===i||(0,ea.Ch)(i)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),h(i)):96===i&&i===a?o(i):(n.consume(i),b)}function y(i){return n.attempt(l,x,v)(i)}function v(i){return n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),w}function w(i){return u>0&&(0,ea.xz)(i)?(0,eo.f)(n,E,"linePrefix",u+1)(i):E(i)}function E(i){return null===i||(0,ea.Ch)(i)?n.check(tp,y,x)(i):(n.enter("codeFlowValue"),S(i))}function S(i){return null===i||(0,ea.Ch)(i)?(n.exit("codeFlowValue"),E(i)):(n.consume(i),S)}function x(o){return n.exit("codeFenced"),i(o)}function _(n,i,o){let l=0;return u;function u(i){return n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),d}function d(i){return n.enter("codeFencedFence"),(0,ea.xz)(i)?(0,eo.f)(n,p,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i):p(i)}function p(i){return i===a?(n.enter("codeFencedFenceSequence"),f(i)):o(i)}function f(i){return i===a?(l++,n.consume(i),f):l>=c?(n.exit("codeFencedFenceSequence"),(0,ea.xz)(i)?(0,eo.f)(n,h,"whitespace")(i):h(i)):o(i)}function h(a){return null===a||(0,ea.Ch)(a)?(n.exit("codeFencedFence"),i(a)):o(a)}}}function tm(n,i,o){let a=this;return s;function s(i){return null===i?o(i):(n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),l)}function l(n){return a.parser.lazy[a.now().line]?o(n):i(n)}}var tg=o(44301);let tb={name:"characterReference",tokenize:ty};function ty(n,i,o){let a,s;let l=this,u=0;return c;function c(i){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(i),n.exit("characterReferenceMarker"),d}function d(i){return 35===i?(n.enter("characterReferenceMarkerNumeric"),n.consume(i),n.exit("characterReferenceMarkerNumeric"),p):(n.enter("characterReferenceValue"),a=31,s=ea.H$,f(i))}function p(i){return 88===i||120===i?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(i),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),a=6,s=ea.AF,f):(n.enter("characterReferenceValue"),a=7,s=ea.pY,f(i))}function f(c){if(59===c&&u){let d=n.exit("characterReferenceValue");return s!==ea.H$||(0,tg.T)(l.sliceSerialize(d))?(n.enter("characterReferenceMarker"),n.consume(c),n.exit("characterReferenceMarker"),n.exit("characterReference"),i):o(c)}return s(c)&&u++1&&n[f][1].end.offset-n[f][1].start.offset>1?2:1;let h=Object.assign({},n[o][1].end),m=Object.assign({},n[f][1].start);tU(h,-c),tU(m,c),l={type:c>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},n[o][1].end)},u={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},n[f][1].start),end:m},s={type:c>1?"strongText":"emphasisText",start:Object.assign({},n[o][1].end),end:Object.assign({},n[f][1].start)},a={type:c>1?"strong":"emphasis",start:Object.assign({},l.start),end:Object.assign({},u.end)},n[o][1].end=Object.assign({},l.start),n[f][1].start=Object.assign({},u.end),d=[],n[o][1].end.offset-n[o][1].start.offset&&(d=(0,eu.V)(d,[["enter",n[o][1],i],["exit",n[o][1],i]])),d=(0,eu.V)(d,[["enter",a,i],["enter",l,i],["exit",l,i],["enter",s,i]]),d=(0,eu.V)(d,(0,eD.C)(i.parser.constructs.insideSpan.null,n.slice(o+1,f),i)),d=(0,eu.V)(d,[["exit",s,i],["enter",u,i],["exit",u,i],["exit",a,i]]),n[f][1].end.offset-n[f][1].start.offset?(p=2,d=(0,eu.V)(d,[["enter",n[f][1],i],["exit",n[f][1],i]])):p=0,(0,eu.d)(n,o-1,f-o+3,d),f=o+d.length-p-2;break}}for(f=-1;++f0){let y=a.tokenStack[a.tokenStack.length-1],v=y[1]||nu;v.call(a,void 0,y[0])}for(o.position={start:na(n.length>0?n[0][1].start:{line:1,column:1,offset:0}),end:na(n.length>0?n[n.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d{let o=this.data("settings");return ni(i,Object.assign({},o,n,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))};Object.assign(this,{Parser:i})}function nd(n){let i=[],o=-1,a=0,s=0;for(;++o55295&&l<57344){let c=n.charCodeAt(o+1);l<56320&&c>56319&&c<57344?(u=String.fromCharCode(l,c),s=1):u="�"}else u=String.fromCharCode(l);u&&(i.push(n.slice(a,o),encodeURIComponent(u)),a=o+s+1,u=""),s&&(o+=s,s=0)}return i.join("")+n.slice(a)}function np(n){let i=[],o=-1;for(;++o1?"-"+c:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:n.footnoteBackLabel},children:[{type:"text",value:"↩"}]};c>1&&p.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(c)}]}),d.length>0&&d.push({type:"text",value:" "}),d.push(p)}let f=s[s.length-1];if(f&&"element"===f.type&&"p"===f.tagName){let h=f.children[f.children.length-1];h&&"text"===h.type?h.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...d)}else s.push(...d);let m={type:"element",tagName:"li",properties:{id:n.clobberPrefix+"fn-"+u},children:n.wrap(s,!0)};n.patch(a,m),i.push(m)}if(0!==i.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:n.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(n.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:n.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:n.wrap(i,!0)},{type:"text",value:"\n"}]}}var nf=o(20557);let nh=function(n,i,o,a){function s(n,i){let a=i[i.length-1];return o(n,a?a.children.indexOf(n):null,a)}"function"==typeof i&&"function"!=typeof o&&(a=o,o=i,i=null),(0,nf.S4)(n,i,s,a)},nm=ny("start"),ng=ny("end");function nb(n){return{start:nm(n),end:ng(n)}}function ny(n){return i;function i(i){let o=i&&i.position&&i.position[n]||{};return{line:o.line||null,column:o.column||null,offset:o.offset>-1?o.offset:null}}}function nv(n){return!n||!n.position||!n.position.start||!n.position.start.line||!n.position.start.column||!n.position.end||!n.position.end.line||!n.position.end.column}let nw={}.hasOwnProperty;function nE(n){let i=Object.create(null);if(!n||!n.type)throw Error("mdast-util-definitions expected node");return nh(n,"definition",n=>{let o=nS(n.identifier);o&&!nw.call(i,o)&&(i[o]=n)}),o;function o(n){let o=nS(n);return o&&nw.call(i,o)?i[o]:null}}function nS(n){return String(n||"").toUpperCase()}function nx(n,i){let o={type:"element",tagName:"blockquote",properties:{},children:n.wrap(n.all(i),!0)};return n.patch(i,o),n.applyData(i,o)}function n_(n,i){let o={type:"element",tagName:"br",properties:{},children:[]};return n.patch(i,o),[n.applyData(i,o),{type:"text",value:"\n"}]}function nk(n,i){let o=i.value?i.value+"\n":"",a=i.lang?i.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,s={};a&&(s.className=["language-"+a]);let l={type:"element",tagName:"code",properties:s,children:[{type:"text",value:o}]};return i.meta&&(l.data={meta:i.meta}),n.patch(i,l),l={type:"element",tagName:"pre",properties:{},children:[l=n.applyData(i,l)]},n.patch(i,l),l}function nA(n,i){let o={type:"element",tagName:"del",properties:{},children:n.all(i)};return n.patch(i,o),n.applyData(i,o)}function nT(n,i){let o={type:"element",tagName:"em",properties:{},children:n.all(i)};return n.patch(i,o),n.applyData(i,o)}function nC(n,i){let o;let a=String(i.identifier).toUpperCase(),s=nd(a.toLowerCase()),l=n.footnoteOrder.indexOf(a);-1===l?(n.footnoteOrder.push(a),n.footnoteCounts[a]=1,o=n.footnoteOrder.length):(n.footnoteCounts[a]++,o=l+1);let u=n.footnoteCounts[a],c={type:"element",tagName:"a",properties:{href:"#"+n.clobberPrefix+"fn-"+s,id:n.clobberPrefix+"fnref-"+s+(u>1?"-"+u:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};n.patch(i,c);let d={type:"element",tagName:"sup",properties:{},children:[c]};return n.patch(i,d),n.applyData(i,d)}function nR(n,i){let o=n.footnoteById,a=1;for(;(a in o);)a++;let s=String(a);return o[s]={type:"footnoteDefinition",identifier:s,children:[{type:"paragraph",children:i.children}],position:i.position},nC(n,{type:"footnoteReference",identifier:s,position:i.position})}function nD(n,i){let o={type:"element",tagName:"h"+i.depth,properties:{},children:n.all(i)};return n.patch(i,o),n.applyData(i,o)}function nO(n,i){if(n.dangerous){let o={type:"raw",value:i.value};return n.patch(i,o),n.applyData(i,o)}return null}function nI(n,i){let o=i.referenceType,a="]";if("collapsed"===o?a+="[]":"full"===o&&(a+="["+(i.label||i.identifier)+"]"),"imageReference"===i.type)return{type:"text",value:"!["+i.alt+a};let s=n.all(i),l=s[0];l&&"text"===l.type?l.value="["+l.value:s.unshift({type:"text",value:"["});let u=s[s.length-1];return u&&"text"===u.type?u.value+=a:s.push({type:"text",value:a}),s}function nN(n,i){let o=n.definition(i.identifier);if(!o)return nI(n,i);let a={src:nd(o.url||""),alt:i.alt};null!==o.title&&void 0!==o.title&&(a.title=o.title);let s={type:"element",tagName:"img",properties:a,children:[]};return n.patch(i,s),n.applyData(i,s)}function nM(n,i){let o={src:nd(i.url)};null!==i.alt&&void 0!==i.alt&&(o.alt=i.alt),null!==i.title&&void 0!==i.title&&(o.title=i.title);let a={type:"element",tagName:"img",properties:o,children:[]};return n.patch(i,a),n.applyData(i,a)}function nL(n,i){let o={type:"text",value:i.value.replace(/\r?\n|\r/g," ")};n.patch(i,o);let a={type:"element",tagName:"code",properties:{},children:[o]};return n.patch(i,a),n.applyData(i,a)}function nP(n,i){let o=n.definition(i.identifier);if(!o)return nI(n,i);let a={href:nd(o.url||"")};null!==o.title&&void 0!==o.title&&(a.title=o.title);let s={type:"element",tagName:"a",properties:a,children:n.all(i)};return n.patch(i,s),n.applyData(i,s)}function nF(n,i){let o={href:nd(i.url)};null!==i.title&&void 0!==i.title&&(o.title=i.title);let a={type:"element",tagName:"a",properties:o,children:n.all(i)};return n.patch(i,a),n.applyData(i,a)}function nB(n,i,o){let a=n.all(i),s=o?nU(o):nz(i),l={},u=[];if("boolean"==typeof i.checked){let c;let d=a[0];d&&"element"===d.type&&"p"===d.tagName?c=d:(c={type:"element",tagName:"p",properties:{},children:[]},a.unshift(c)),c.children.length>0&&c.children.unshift({type:"text",value:" "}),c.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:i.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let p=-1;for(;++p1:i}function nj(n,i){let o={},a=n.all(i),s=-1;for("number"==typeof i.start&&1!==i.start&&(o.start=i.start);++s0){let u={type:"element",tagName:"tbody",properties:{},children:n.wrap(o,!0)},c=nm(i.children[1]),d=ng(i.children[i.children.length-1]);c.line&&d.line&&(u.position={start:c,end:d}),s.push(u)}let p={type:"element",tagName:"table",properties:{},children:n.wrap(s,!0)};return n.patch(i,p),n.applyData(i,p)}function nq(n,i,o){let a=o?o.children:void 0,s=a?a.indexOf(i):1,l=0===s?"th":"td",u=o&&"table"===o.type?o.align:void 0,c=u?u.length:i.children.length,d=-1,p=[];for(;++d0,!0),a[0]),s=a.index+a[0].length,a=o.exec(i);return l.push(nX(i.slice(s),s>0,!1)),l.join("")}function nX(n,i,o){let a=0,s=n.length;if(i){let l=n.codePointAt(a);for(;l===nK||l===nY;)a++,l=n.codePointAt(a)}if(o){let u=n.codePointAt(s-1);for(;u===nK||u===nY;)s--,u=n.codePointAt(s-1)}return s>a?n.slice(a,s):""}function nJ(n,i){let o={type:"text",value:nZ(String(i.value))};return n.patch(i,o),n.applyData(i,o)}function nQ(n,i){let o={type:"element",tagName:"hr",properties:{},children:[]};return n.patch(i,o),n.applyData(i,o)}let n0={blockquote:nx,break:n_,code:nk,delete:nA,emphasis:nT,footnoteReference:nC,footnote:nR,heading:nD,html:nO,imageReference:nN,image:nM,inlineCode:nL,linkReference:nP,link:nF,listItem:nB,list:nj,paragraph:n$,root:nH,strong:nV,table:nG,tableCell:nW,tableRow:nq,text:nJ,thematicBreak:nQ,toml:n1,yaml:n1,definition:n1,footnoteDefinition:n1};function n1(){return null}let n2={}.hasOwnProperty;function n3(n,i){let o=i||{},a=o.allowDangerousHtml||!1,s={};return u.dangerous=a,u.clobberPrefix=void 0===o.clobberPrefix||null===o.clobberPrefix?"user-content-":o.clobberPrefix,u.footnoteLabel=o.footnoteLabel||"Footnotes",u.footnoteLabelTagName=o.footnoteLabelTagName||"h2",u.footnoteLabelProperties=o.footnoteLabelProperties||{className:["sr-only"]},u.footnoteBackLabel=o.footnoteBackLabel||"Back to content",u.unknownHandler=o.unknownHandler,u.passThrough=o.passThrough,u.handlers={...n0,...o.handlers},u.definition=nE(n),u.footnoteById=s,u.footnoteOrder=[],u.footnoteCounts={},u.patch=n5,u.applyData=n4,u.one=c,u.all=d,u.wrap=n7,u.augment=l,nh(n,"footnoteDefinition",n=>{let i=String(n.identifier).toUpperCase();n2.call(s,i)||(s[i]=n)}),u;function l(n,i){if(n&&"data"in n&&n.data){let o=n.data;o.hName&&("element"!==i.type&&(i={type:"element",tagName:"",properties:{},children:[]}),i.tagName=o.hName),"element"===i.type&&o.hProperties&&(i.properties={...i.properties,...o.hProperties}),"children"in i&&i.children&&o.hChildren&&(i.children=o.hChildren)}if(n){let a="type"in n?n:{position:n};nv(a)||(i.position={start:nm(a),end:ng(a)})}return i}function u(n,i,o,a){return Array.isArray(o)&&(a=o,o={}),l(n,{type:"element",tagName:i,properties:o||{},children:a||[]})}function c(n,i){return n6(u,n,i)}function d(n){return n8(u,n)}}function n5(n,i){n.position&&(i.position=nb(n))}function n4(n,i){let o=i;if(n&&n.data){let a=n.data.hName,s=n.data.hChildren,l=n.data.hProperties;"string"==typeof a&&("element"===o.type?o.tagName=a:o={type:"element",tagName:a,properties:{},children:[]}),"element"===o.type&&l&&(o.properties={...o.properties,...l}),"children"in o&&o.children&&null!=s&&(o.children=s)}return o}function n6(n,i,o){let a=i&&i.type;if(!a)throw Error("Expected node, got `"+i+"`");return n2.call(n.handlers,a)?n.handlers[a](n,i,o):n.passThrough&&n.passThrough.includes(a)?"children"in i?{...i,children:n8(n,i)}:i:n.unknownHandler?n.unknownHandler(n,i,o):n9(n,i)}function n8(n,i){let o=[];if("children"in i){let a=i.children,s=-1;for(;++s0&&o.push({type:"text",value:"\n"}),o}function re(n,i){let o=n3(n,i),a=o.one(n,null),s=np(o);return s&&a.children.push({type:"text",value:"\n"},s),Array.isArray(a)?{type:"root",children:a}:a}let rt=function(n,i){return n&&"run"in n?rr(n,i):ri(n||i)};var rn=rt;function rr(n,i){return(o,a,s)=>{n.run(re(o,i),a,n=>{s(n)})}}function ri(n){return i=>re(i,n)}var ro=o(45697);class ra{constructor(n,i,o){this.property=n,this.normal=i,o&&(this.space=o)}}function rs(n,i){let o={},a={},s=-1;for(;++s"xlink:"+i.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),rk=rx({space:"xml",transform:(n,i)=>"xml:"+i.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function rA(n,i){return i in n?n[i]:i}function rT(n,i){return rA(n,i.toLowerCase())}let rC=rx({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:rT,properties:{xmlns:null,xmlnsXLink:null}}),rR=rx({transform:(n,i)=>"role"===i?i:"aria-"+i.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:rp,ariaAutoComplete:null,ariaBusy:rp,ariaChecked:rp,ariaColCount:rh,ariaColIndex:rh,ariaColSpan:rh,ariaControls:rm,ariaCurrent:null,ariaDescribedBy:rm,ariaDetails:null,ariaDisabled:rp,ariaDropEffect:rm,ariaErrorMessage:null,ariaExpanded:rp,ariaFlowTo:rm,ariaGrabbed:rp,ariaHasPopup:null,ariaHidden:rp,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:rm,ariaLevel:rh,ariaLive:null,ariaModal:rp,ariaMultiLine:rp,ariaMultiSelectable:rp,ariaOrientation:null,ariaOwns:rm,ariaPlaceholder:null,ariaPosInSet:rh,ariaPressed:rp,ariaReadOnly:rp,ariaRelevant:null,ariaRequired:rp,ariaRoleDescription:rm,ariaRowCount:rh,ariaRowIndex:rh,ariaRowSpan:rh,ariaSelected:rp,ariaSetSize:rh,ariaSort:null,ariaValueMax:rh,ariaValueMin:rh,ariaValueNow:rh,ariaValueText:null,role:null}}),rD=rx({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:rT,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:rg,acceptCharset:rm,accessKey:rm,action:null,allow:null,allowFullScreen:rd,allowPaymentRequest:rd,allowUserMedia:rd,alt:null,as:null,async:rd,autoCapitalize:null,autoComplete:rm,autoFocus:rd,autoPlay:rd,blocking:rm,capture:rd,charSet:null,checked:rd,cite:null,className:rm,cols:rh,colSpan:null,content:null,contentEditable:rp,controls:rd,controlsList:rm,coords:rh|rg,crossOrigin:null,data:null,dateTime:null,decoding:null,default:rd,defer:rd,dir:null,dirName:null,disabled:rd,download:rf,draggable:rp,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:rd,formTarget:null,headers:rm,height:rh,hidden:rd,high:rh,href:null,hrefLang:null,htmlFor:rm,httpEquiv:rm,id:null,imageSizes:null,imageSrcSet:null,inert:rd,inputMode:null,integrity:null,is:null,isMap:rd,itemId:null,itemProp:rm,itemRef:rm,itemScope:rd,itemType:rm,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:rd,low:rh,manifest:null,max:null,maxLength:rh,media:null,method:null,min:null,minLength:rh,multiple:rd,muted:rd,name:null,nonce:null,noModule:rd,noValidate:rd,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:rd,optimum:rh,pattern:null,ping:rm,placeholder:null,playsInline:rd,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:rd,referrerPolicy:null,rel:rm,required:rd,reversed:rd,rows:rh,rowSpan:rh,sandbox:rm,scope:null,scoped:rd,seamless:rd,selected:rd,shadowRootDelegatesFocus:rd,shadowRootMode:null,shape:null,size:rh,sizes:null,slot:null,span:rh,spellCheck:rp,src:null,srcDoc:null,srcLang:null,srcSet:null,start:rh,step:null,style:null,tabIndex:rh,target:null,title:null,translate:null,type:null,typeMustMatch:rd,useMap:null,value:rp,width:rh,wrap:null,align:null,aLink:null,archive:rm,axis:null,background:null,bgColor:null,border:rh,borderColor:null,bottomMargin:rh,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:rd,declare:rd,event:null,face:null,frame:null,frameBorder:null,hSpace:rh,leftMargin:rh,link:null,longDesc:null,lowSrc:null,marginHeight:rh,marginWidth:rh,noResize:rd,noHref:rd,noShade:rd,noWrap:rd,object:null,profile:null,prompt:null,rev:null,rightMargin:rh,rules:null,scheme:null,scrolling:rp,standby:null,summary:null,text:null,topMargin:rh,valueType:null,version:null,vAlign:null,vLink:null,vSpace:rh,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:rd,disableRemotePlayback:rd,prefix:null,property:null,results:rh,security:null,unselectable:null}}),rO=rx({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:rA,properties:{about:rb,accentHeight:rh,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:rh,amplitude:rh,arabicForm:null,ascent:rh,attributeName:null,attributeType:null,azimuth:rh,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:rh,by:null,calcMode:null,capHeight:rh,className:rm,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:rh,diffuseConstant:rh,direction:null,display:null,dur:null,divisor:rh,dominantBaseline:null,download:rd,dx:null,dy:null,edgeMode:null,editable:null,elevation:rh,enableBackground:null,end:null,event:null,exponent:rh,externalResourcesRequired:null,fill:null,fillOpacity:rh,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:rg,g2:rg,glyphName:rg,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:rh,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:rh,horizOriginX:rh,horizOriginY:rh,id:null,ideographic:rh,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:rh,k:rh,k1:rh,k2:rh,k3:rh,k4:rh,kernelMatrix:rb,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:rh,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:rh,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:rh,overlineThickness:rh,paintOrder:null,panose1:null,path:null,pathLength:rh,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:rm,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:rh,pointsAtY:rh,pointsAtZ:rh,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:rb,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:rb,rev:rb,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:rb,requiredFeatures:rb,requiredFonts:rb,requiredFormats:rb,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:rh,specularExponent:rh,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:rh,strikethroughThickness:rh,string:null,stroke:null,strokeDashArray:rb,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:rh,strokeOpacity:rh,strokeWidth:null,style:null,surfaceScale:rh,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:rb,tabIndex:rh,tableValues:null,target:null,targetX:rh,targetY:rh,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:rb,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:rh,underlineThickness:rh,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:rh,values:null,vAlphabetic:rh,vMathematical:rh,vectorEffect:null,vHanging:rh,vIdeographic:rh,version:null,vertAdvY:rh,vertOriginX:rh,vertOriginY:rh,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:rh,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),rI=rs([rk,r_,rC,rR,rD],"html"),rN=rs([rk,r_,rC,rR,rO],"svg");function rM(n){if(n.allowedElements&&n.disallowedElements)throw TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(n.allowedElements||n.disallowedElements||n.allowElement)return i=>{nh(i,"element",(i,o,a)=>{let s;let l=a;if(n.allowedElements?s=!n.allowedElements.includes(i.tagName):n.disallowedElements&&(s=n.disallowedElements.includes(i.tagName)),!s&&n.allowElement&&"number"==typeof o&&(s=!n.allowElement(i,o,l)),s&&"number"==typeof o)return n.unwrapDisallowed&&i.children?l.children.splice(o,1,...i.children):l.children.splice(o,1),o})}}var rL=o(82143);function rP(n){let i=n&&"object"==typeof n&&"text"===n.type?n.value||"":n;return"string"==typeof i&&""===i.replace(/[ \t\n\f\r]/g,"")}let rF=/^data[-\w.:]+$/i,rB=/-[a-z]/g,rU=/[A-Z]/g;function rz(n,i){let o=rl(i),a=i,s=ru;if(o in n.normal)return n.property[n.normal[o]];if(o.length>4&&"data"===o.slice(0,4)&&rF.test(i)){if("-"===i.charAt(4)){let l=i.slice(5).replace(rB,r$);a="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{let u=i.slice(4);if(!rB.test(u)){let c=u.replace(rU,rj);"-"!==c.charAt(0)&&(c="-"+c),i="data"+c}}s=rw}return new s(a,i)}function rj(n){return"-"+n.toLowerCase()}function r$(n){return n.charAt(1).toUpperCase()}let rH={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};function rV(n){return n.join(" ").trim()}function rG(n,i){let o=i||{},a=""===n[n.length-1]?[...n,""]:n;return a.join((o.padRight?" ":"")+","+(!1===o.padLeft?"":" ")).trim()}var rq=o(57848);let rW=["http","https","mailto","tel"];function rK(n){let i=(n||"").trim(),o=i.charAt(0);if("#"===o||"/"===o)return i;let a=i.indexOf(":");if(-1===a)return i;let s=-1;for(;++ss||-1!==(s=i.indexOf("#"))&&a>s?i:"javascript:void(0)"}let rY={}.hasOwnProperty,rZ=new Set(["table","thead","tbody","tfoot","tr"]);function rX(n,i){let o;let a=[],s=-1;for(;++s0?l.createElement(b,f,m):l.createElement(b,f)}function rQ(n){let i=-1;for(;++i for more info)`),delete r8[i]}let a=z().use(nc).use(n.remarkPlugins||[]).use(rn,{...n.remarkRehypeOptions,allowDangerousHtml:!0}).use(n.rehypePlugins||[]).use(rM,n),s=new R;"string"==typeof n.children?s.value=n.children:void 0!==n.children&&null!==n.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${n.children}\`)`);let u=a.runSync(a.parse(s),s);if("root"!==u.type)throw TypeError("Expected a `root` node");let c=l.createElement(l.Fragment,{},rX({options:n,schema:rI,listDepth:0},u));return n.className&&(c=l.createElement("div",{className:n.className},c)),c}r9.propTypes={children:ro.string,className:ro.string,allowElement:ro.func,allowedElements:ro.arrayOf(ro.string),disallowedElements:ro.arrayOf(ro.string),unwrapDisallowed:ro.bool,remarkPlugins:ro.arrayOf(ro.oneOfType([ro.object,ro.func,ro.arrayOf(ro.oneOfType([ro.bool,ro.string,ro.object,ro.func,ro.arrayOf(ro.any)]))])),rehypePlugins:ro.arrayOf(ro.oneOfType([ro.object,ro.func,ro.arrayOf(ro.oneOfType([ro.bool,ro.string,ro.object,ro.func,ro.arrayOf(ro.any)]))])),sourcePos:ro.bool,rawSourcePos:ro.bool,skipHtml:ro.bool,includeElementIndex:ro.bool,transformLinkUri:ro.oneOfType([ro.func,ro.bool]),linkTarget:ro.oneOfType([ro.func,ro.string]),transformImageUri:ro.func,components:ro.object}},76199:function(n,i,o){"use strict";o.d(i,{Z:function(){return tR}});var a=o(4663),s=o(75364);let l={tokenize:S,partial:!0},u={tokenize:x,partial:!0},c={tokenize:_,partial:!0},d={tokenize:k,partial:!0},p={tokenize:A,partial:!0},f={tokenize:w,previous:T},h={tokenize:E,previous:C},m={tokenize:v,previous:R},g={},b={text:g},y=48;for(;y<123;)g[y]=m,58==++y?y=65:91===y&&(y=97);function v(n,i,o){let a,l;let u=this;return c;function c(i){return!D(i)||!R.call(u,u.previous)||O(u.events)?o(i):(n.enter("literalAutolink"),n.enter("literalAutolinkEmail"),d(i))}function d(i){return D(i)?(n.consume(i),d):64===i?(n.consume(i),f):o(i)}function f(i){return 46===i?n.check(p,m,h)(i):45===i||95===i||(0,s.H$)(i)?(l=!0,n.consume(i),f):m(i)}function h(i){return n.consume(i),a=!0,f}function m(c){return l&&a&&(0,s.jv)(u.previous)?(n.exit("literalAutolinkEmail"),n.exit("literalAutolink"),i(c)):o(c)}}function w(n,i,o){let a=this;return s;function s(i){return 87!==i&&119!==i||!T.call(a,a.previous)||O(a.events)?o(i):(n.enter("literalAutolink"),n.enter("literalAutolinkWww"),n.check(l,n.attempt(u,n.attempt(c,d),o),o)(i))}function d(o){return n.exit("literalAutolinkWww"),n.exit("literalAutolink"),i(o)}}function E(n,i,o){let a=this,l="",d=!1;return p;function p(i){return(72===i||104===i)&&C.call(a,a.previous)&&!O(a.events)?(n.enter("literalAutolink"),n.enter("literalAutolinkHttp"),l+=String.fromCodePoint(i),n.consume(i),f):o(i)}function f(i){if((0,s.jv)(i)&&l.length<5)return l+=String.fromCodePoint(i),n.consume(i),f;if(58===i){let a=l.toLowerCase();if("http"===a||"https"===a)return n.consume(i),h}return o(i)}function h(i){return 47===i?(n.consume(i),d)?m:(d=!0,h):o(i)}function m(i){return null===i||(0,s.Av)(i)||(0,s.z3)(i)||(0,s.B8)(i)||(0,s.Xh)(i)?o(i):n.attempt(u,n.attempt(c,g),o)(i)}function g(o){return n.exit("literalAutolinkHttp"),n.exit("literalAutolink"),i(o)}}function S(n,i,o){let a=0;return s;function s(i){return(87===i||119===i)&&a<3?(a++,n.consume(i),s):46===i&&3===a?(n.consume(i),l):o(i)}function l(n){return null===n?o(n):i(n)}}function x(n,i,o){let a,l,u;return c;function c(i){return 46===i||95===i?n.check(d,f,p)(i):null===i||(0,s.z3)(i)||(0,s.B8)(i)||45!==i&&(0,s.Xh)(i)?f(i):(u=!0,n.consume(i),c)}function p(i){return 95===i?a=!0:(l=a,a=void 0),n.consume(i),c}function f(n){return l||a||!u?o(n):i(n)}}function _(n,i){let o=0,a=0;return l;function l(c){return 40===c?(o++,n.consume(c),l):41===c&&a0&&!o&&(n[n.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),o}g[43]=m,g[45]=m,g[46]=m,g[95]=m,g[72]=[m,h],g[104]=[m,h],g[87]=[m,f],g[119]=[m,f];var I=o(23402),N=o(42761),M=o(11098);let L={tokenize:H,partial:!0};function P(){return{document:{91:{tokenize:z,continuation:{tokenize:j},exit:$}},text:{91:{tokenize:U},93:{add:"after",tokenize:F,resolveTo:B}}}}function F(n,i,o){let a;let s=this,l=s.events.length,u=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]);for(;l--;){let c=s.events[l][1];if("labelImage"===c.type){a=c;break}if("gfmFootnoteCall"===c.type||"labelLink"===c.type||"label"===c.type||"image"===c.type||"link"===c.type)break}return d;function d(l){if(!a||!a._balanced)return o(l);let c=(0,M.d)(s.sliceSerialize({start:a.end,end:s.now()}));return 94===c.codePointAt(0)&&u.includes(c.slice(1))?(n.enter("gfmFootnoteCallLabelMarker"),n.consume(l),n.exit("gfmFootnoteCallLabelMarker"),i(l)):o(l)}}function B(n,i){let o,a=n.length;for(;a--;)if("labelImage"===n[a][1].type&&"enter"===n[a][0]){o=n[a][1];break}n[a+1][1].type="data",n[a+3][1].type="gfmFootnoteCallLabelMarker";let s={type:"gfmFootnoteCall",start:Object.assign({},n[a+3][1].start),end:Object.assign({},n[n.length-1][1].end)},l={type:"gfmFootnoteCallMarker",start:Object.assign({},n[a+3][1].end),end:Object.assign({},n[a+3][1].end)};l.end.column++,l.end.offset++,l.end._bufferIndex++;let u={type:"gfmFootnoteCallString",start:Object.assign({},l.end),end:Object.assign({},n[n.length-1][1].start)},c={type:"chunkString",contentType:"string",start:Object.assign({},u.start),end:Object.assign({},u.end)},d=[n[a+1],n[a+2],["enter",s,i],n[a+3],n[a+4],["enter",l,i],["exit",l,i],["enter",u,i],["enter",c,i],["exit",c,i],["exit",u,i],n[n.length-2],n[n.length-1],["exit",s,i]];return n.splice(a,n.length-a+1,...d),n}function U(n,i,o){let a;let l=this,u=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]),c=0;return d;function d(i){return n.enter("gfmFootnoteCall"),n.enter("gfmFootnoteCallLabelMarker"),n.consume(i),n.exit("gfmFootnoteCallLabelMarker"),p}function p(i){return 94!==i?o(i):(n.enter("gfmFootnoteCallMarker"),n.consume(i),n.exit("gfmFootnoteCallMarker"),n.enter("gfmFootnoteCallString"),n.enter("chunkString").contentType="string",f)}function f(d){if(c>999||93===d&&!a||null===d||91===d||(0,s.z3)(d))return o(d);if(93===d){n.exit("chunkString");let p=n.exit("gfmFootnoteCallString");return u.includes((0,M.d)(l.sliceSerialize(p)))?(n.enter("gfmFootnoteCallLabelMarker"),n.consume(d),n.exit("gfmFootnoteCallLabelMarker"),n.exit("gfmFootnoteCall"),i):o(d)}return(0,s.z3)(d)||(a=!0),c++,n.consume(d),92===d?h:f}function h(i){return 91===i||92===i||93===i?(n.consume(i),c++,f):f(i)}}function z(n,i,o){let a,l;let u=this,c=u.parser.gfmFootnotes||(u.parser.gfmFootnotes=[]),d=0;return p;function p(i){return n.enter("gfmFootnoteDefinition")._container=!0,n.enter("gfmFootnoteDefinitionLabel"),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(i),n.exit("gfmFootnoteDefinitionLabelMarker"),f}function f(i){return 94===i?(n.enter("gfmFootnoteDefinitionMarker"),n.consume(i),n.exit("gfmFootnoteDefinitionMarker"),n.enter("gfmFootnoteDefinitionLabelString"),n.enter("chunkString").contentType="string",h):o(i)}function h(i){if(d>999||93===i&&!l||null===i||91===i||(0,s.z3)(i))return o(i);if(93===i){n.exit("chunkString");let c=n.exit("gfmFootnoteDefinitionLabelString");return a=(0,M.d)(u.sliceSerialize(c)),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(i),n.exit("gfmFootnoteDefinitionLabelMarker"),n.exit("gfmFootnoteDefinitionLabel"),g}return(0,s.z3)(i)||(l=!0),d++,n.consume(i),92===i?m:h}function m(i){return 91===i||92===i||93===i?(n.consume(i),d++,h):h(i)}function g(i){return 58===i?(n.enter("definitionMarker"),n.consume(i),n.exit("definitionMarker"),c.includes(a)||c.push(a),(0,N.f)(n,b,"gfmFootnoteDefinitionWhitespace")):o(i)}function b(n){return i(n)}}function j(n,i,o){return n.check(I.w,i,n.attempt(L,i,o))}function $(n){n.exit("gfmFootnoteDefinition")}function H(n,i,o){let a=this;return(0,N.f)(n,s,"gfmFootnoteDefinitionIndent",5);function s(n){let s=a.events[a.events.length-1];return s&&"gfmFootnoteDefinitionIndent"===s[1].type&&4===s[2].sliceSerialize(s[1],!0).length?i(n):o(n)}}var V=o(21905),G=o(62987),q=o(63233);function W(n){let i=n||{},o=i.singleTilde,a={tokenize:l,resolveAll:s};return null==o&&(o=!0),{text:{126:a},insideSpan:{null:[a]},attentionMarkers:{null:[126]}};function s(n,i){let o=-1;for(;++o1?a(l):(n.consume(l),u++,d);if(u<2&&!o)return a(l);let p=n.exit("strikethroughSequenceTemporary"),f=(0,G.r)(l);return p._open=!f||2===f&&Boolean(c),p._close=!c||2===c&&Boolean(f),i(l)}}}class K{constructor(){this.map=[]}add(n,i,o){Y(this,n,i,o)}consume(n){if(this.map.sort((n,i)=>n[0]-i[0]),0===this.map.length)return;let i=this.map.length,o=[];for(;i>0;)i-=1,o.push(n.slice(this.map[i][0]+this.map[i][1])),o.push(this.map[i][2]),n.length=this.map[i][0];o.push([...n]),n.length=0;let a=o.pop();for(;a;)n.push(...a),a=o.pop();this.map.length=0}}function Y(n,i,o,a){let s=0;if(0!==o||0!==a.length){for(;s-1;){let a=l.events[i][1].type;if("lineEnding"===a||"linePrefix"===a)i--;else break}let s=i>-1?l.events[i][1].type:null,u="tableHead"===s||"tableRow"===s?A:p;return u===A&&l.parser.lazy[l.now().line]?o(n):u(n)}function p(i){return n.enter("tableHead"),n.enter("tableRow"),f(i)}function f(n){return 124===n||(a=!0,c+=1),h(n)}function h(i){return null===i?o(i):(0,s.Ch)(i)?c>1?(c=0,l.interrupt=!0,n.exit("tableRow"),n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),b):o(i):(0,s.xz)(i)?(0,N.f)(n,h,"whitespace")(i):(c+=1,a&&(a=!1,u+=1),124===i)?(n.enter("tableCellDivider"),n.consume(i),n.exit("tableCellDivider"),a=!0,h):(n.enter("data"),m(i))}function m(i){return null===i||124===i||(0,s.z3)(i)?(n.exit("data"),h(i)):(n.consume(i),92===i?g:m)}function g(i){return 92===i||124===i?(n.consume(i),m):m(i)}function b(i){return(l.interrupt=!1,l.parser.lazy[l.now().line])?o(i):(n.enter("tableDelimiterRow"),a=!1,(0,s.xz)(i))?(0,N.f)(n,y,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i):y(i)}function y(i){return 45===i||58===i?w(i):124===i?(a=!0,n.enter("tableCellDivider"),n.consume(i),n.exit("tableCellDivider"),v):k(i)}function v(i){return(0,s.xz)(i)?(0,N.f)(n,w,"whitespace")(i):w(i)}function w(i){return 58===i?(c+=1,a=!0,n.enter("tableDelimiterMarker"),n.consume(i),n.exit("tableDelimiterMarker"),E):45===i?(c+=1,E(i)):null===i||(0,s.Ch)(i)?_(i):k(i)}function E(i){return 45===i?(n.enter("tableDelimiterFiller"),S(i)):k(i)}function S(i){return 45===i?(n.consume(i),S):58===i?(a=!0,n.exit("tableDelimiterFiller"),n.enter("tableDelimiterMarker"),n.consume(i),n.exit("tableDelimiterMarker"),x):(n.exit("tableDelimiterFiller"),x(i))}function x(i){return(0,s.xz)(i)?(0,N.f)(n,_,"whitespace")(i):_(i)}function _(o){return 124===o?y(o):(null===o||(0,s.Ch)(o))&&a&&u===c?(n.exit("tableDelimiterRow"),n.exit("tableHead"),i(o)):k(o)}function k(n){return o(n)}function A(i){return n.enter("tableRow"),T(i)}function T(o){return 124===o?(n.enter("tableCellDivider"),n.consume(o),n.exit("tableCellDivider"),T):null===o||(0,s.Ch)(o)?(n.exit("tableRow"),i(o)):(0,s.xz)(o)?(0,N.f)(n,T,"whitespace")(o):(n.enter("data"),C(o))}function C(i){return null===i||124===i||(0,s.z3)(i)?(n.exit("data"),T(i)):(n.consume(i),92===i?R:C)}function R(i){return 92===i||124===i?(n.consume(i),C):C(i)}}function Q(n,i){let o,a,s,l=-1,u=!0,c=0,d=[0,0,0,0],p=[0,0,0,0],f=!1,h=0,m=new K;for(;++lo[2]+1){let b=o[2]+1,y=o[3]-o[2]-1;n.add(b,y,[])}}n.add(o[3]+1,0,[["exit",h,i]])}return void 0!==s&&(l.end=Object.assign({},en(i.events,s)),n.add(s,0,[["exit",l,i]]),l=void 0),l}function et(n,i,o,a,s){let l=[],u=en(i.events,o);s&&(s.end=Object.assign({},u),l.push(["exit",s,i])),a.end=Object.assign({},u),l.push(["exit",a,i]),n.add(o+1,0,l)}function en(n,i){let o=n[i],a="enter"===o[0]?"start":"end";return o[1][a]}let er={tokenize:eo},ei={text:{91:er}};function eo(n,i,o){let a=this;return l;function l(i){return null===a.previous&&a._gfmTasklistFirstContentOfListItem?(n.enter("taskListCheck"),n.enter("taskListCheckMarker"),n.consume(i),n.exit("taskListCheckMarker"),u):o(i)}function u(i){return(0,s.z3)(i)?(n.enter("taskListCheckValueUnchecked"),n.consume(i),n.exit("taskListCheckValueUnchecked"),c):88===i||120===i?(n.enter("taskListCheckValueChecked"),n.consume(i),n.exit("taskListCheckValueChecked"),c):o(i)}function c(i){return 93===i?(n.enter("taskListCheckMarker"),n.consume(i),n.exit("taskListCheckMarker"),n.exit("taskListCheck"),d):o(i)}function d(a){return(0,s.Ch)(a)?i(a):(0,s.xz)(a)?n.check({tokenize:ea},i,o)(a):o(a)}}function ea(n,i,o){return(0,N.f)(n,a,"whitespace");function a(n){return null===n?o(n):i(n)}}function es(n){return(0,a.W)([b,P(),W(n),X,ei])}function el(n,i){let o=String(n);if("string"!=typeof i)throw TypeError("Expected character");let a=0,s=o.indexOf(i);for(;-1!==s;)a++,s=o.indexOf(i,s+i.length);return a}function eu(n){if("string"!=typeof n)throw TypeError("Expected a string");return n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var ec=o(20557),ed=o(96093);let ep={}.hasOwnProperty,ef=function(n,i,o,a){let s,l;"string"==typeof i||i instanceof RegExp?(l=[[i,o]],s=a):(l=i,s=o),s||(s={});let u=(0,ed.O)(s.ignore||[]),c=eh(l),d=-1;for(;++d0?{type:"text",value:b}:void 0),!1!==b&&(l!==m&&f.push({type:"text",value:n.value.slice(l,m)}),Array.isArray(b)?f.push(...b):b&&f.push(b),l=m+h[0].length,p=!0),!a.global)break;h=a.exec(n.value)}return p?(ln}let eb="phrasing",ey=["autolink","link","image","label"],ev={transforms:[eT],enter:{literalAutolink:eE,literalAutolinkEmail:eS,literalAutolinkHttp:eS,literalAutolinkWww:eS},exit:{literalAutolink:eA,literalAutolinkEmail:ek,literalAutolinkHttp:ex,literalAutolinkWww:e_}},ew={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:eb,notInConstruct:ey},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:eb,notInConstruct:ey},{character:":",before:"[ps]",after:"\\/",inConstruct:eb,notInConstruct:ey}]};function eE(n){this.enter({type:"link",title:null,url:"",children:[]},n)}function eS(n){this.config.enter.autolinkProtocol.call(this,n)}function ex(n){this.config.exit.autolinkProtocol.call(this,n)}function e_(n){this.config.exit.data.call(this,n);let i=this.stack[this.stack.length-1];i.url="http://"+this.sliceSerialize(n)}function ek(n){this.config.exit.autolinkEmail.call(this,n)}function eA(n){this.exit(n)}function eT(n){ef(n,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,eC],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,eR]],{ignore:["link","linkReference"]})}function eC(n,i,o,a,s){let l="";if(!eI(s)||(/^w/i.test(i)&&(o=i+o,i="",l="http://"),!eD(o)))return!1;let u=eO(o+a);if(!u[0])return!1;let c={type:"link",title:null,url:l+i+u[0],children:[{type:"text",value:i+u[0]}]};return u[1]?[c,{type:"text",value:u[1]}]:c}function eR(n,i,o,a){return!(!eI(a,!0)||/[-\d_]$/.test(o))&&{type:"link",title:null,url:"mailto:"+i+"@"+o,children:[{type:"text",value:i+"@"+o}]}}function eD(n){let i=n.split(".");return!(i.length<2||i[i.length-1]&&(/_/.test(i[i.length-1])||!/[a-zA-Z\d]/.test(i[i.length-1]))||i[i.length-2]&&(/_/.test(i[i.length-2])||!/[a-zA-Z\d]/.test(i[i.length-2])))}function eO(n){let i=/[!"&'),.:;<>?\]}]+$/.exec(n);if(!i)return[n,void 0];n=n.slice(0,i.index);let o=i[0],a=o.indexOf(")"),s=el(n,"("),l=el(n,")");for(;-1!==a&&s>l;)n+=o.slice(0,a+1),a=(o=o.slice(a+1)).indexOf(")"),l++;return[n,o]}function eI(n,i){let o=n.input.charCodeAt(n.index-1);return(0===n.index||(0,s.B8)(o)||(0,s.Xh)(o))&&(!i||47!==o)}var eN=o(47881);function eM(n){return n.label||!n.identifier?n.label||"":(0,eN.v)(n.identifier)}function eL(n,i,o){let a=i.indexStack,s=n.children||[],l=i.createTracker(o),u=[],c=-1;for(a.push(-1);++c\n\n"}return"\n\n"}let eF=/\r?\n|\r/g;function eB(n,i){let o;let a=[],s=0,l=0;for(;o=eF.exec(n);)u(n.slice(s,o.index)),a.push(o[0]),s=o.index+o[0].length,l++;return u(n.slice(s)),a.join("");function u(n){a.push(i(n,l,!n))}}function eU(n){if(!n._compiled){let i=(n.atBreak?"[\\r\\n][\\t ]*":"")+(n.before?"(?:"+n.before+")":"");n._compiled=RegExp((i?"("+i+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(n.character)?"\\":"")+n.character+(n.after?"(?:"+n.after+")":""),"g")}return n._compiled}function ez(n,i){return ej(n,i.inConstruct,!0)&&!ej(n,i.notInConstruct,!1)}function ej(n,i,o){if("string"==typeof i&&(i=[i]),!i||0===i.length)return o;let a=-1;for(;++a=y)&&(!(v+10?" ":"")),s.shift(4),l+=s.move(eB(eL(n,o,s.current()),e4)),u(),l}function e4(n,i,o){return 0===i?n:(o?"":" ")+n}function e6(n,i,o){let a=i.indexStack,s=n.children||[],l=[],u=-1,c=o.before;a.push(-1);let d=i.createTracker(o);for(;++u0&&("\r"===c||"\n"===c)&&"html"===f.type&&(l[l.length-1]=l[l.length-1].replace(/(\r?\n|\r)$/," "),c=" ",(d=i.createTracker(o)).move(l.join(""))),l.push(d.move(i.handle(f,n,i,{...d.current(),before:c,after:p}))),c=l[l.length-1].slice(-1)}return a.pop(),l.join("")}e2.peek=e3;let e8=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];tn.peek=tr;let e9={canContainEols:["delete"],enter:{strikethrough:te},exit:{strikethrough:tt}},e7={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:e8}],handlers:{delete:tn}};function te(n){this.enter({type:"delete",children:[]},n)}function tt(n){this.exit(n)}function tn(n,i,o,a){let s=eG(a),l=o.enter("strikethrough"),u=s.move("~~");return u+=e6(n,o,{...s.current(),before:u,after:"~"}),u+=s.move("~~"),l(),u}function tr(){return"~"}function ti(n,i,o){let a=n.value||"",s="`",l=-1;for(;RegExp("(^|[^`])"+s+"([^`]|$)").test(a);)s+="`";for(/[^ \r\n]/.test(a)&&(/^[ \r\n]/.test(a)&&/[ \r\n]$/.test(a)||/^`|`$/.test(a))&&(a=" "+a+" ");++ld&&(d=n[p].length);++mc[m])&&(c[m]=b)}f.push(g)}l[p]=f,u[p]=h}let y=-1;if("object"==typeof o&&"length"in o)for(;++yc[y]&&(c[y]=k),E[y]=k),w[y]=A}l.splice(1,0,w),u.splice(1,0,E),p=-1;let T=[];for(;++p"none"===n?null:n),children:[]},n),this.setData("inTable",!0)}function tp(n){this.exit(n),this.setData("inTable")}function tf(n){this.enter({type:"tableRow",children:[]},n)}function th(n){this.exit(n)}function tm(n){this.enter({type:"tableCell",children:[]},n)}function tg(n){let i=this.resume();this.getData("inTable")&&(i=i.replace(/\\([\\|])/g,tb));let o=this.stack[this.stack.length-1];o.value=i,this.exit(n)}function tb(n,i){return"|"===i?i:n}function ty(n){let i=n||{},o=i.tableCellPadding,a=i.tablePipeAlign,s=i.stringLength,l=o?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:u,tableRow:c,tableCell:d,inlineCode:m}};function u(n,i,o,a){return p(f(n,o,a),n.align)}function c(n,i,o,a){let s=h(n,o,a),l=p([s]);return l.slice(0,l.indexOf("\n"))}function d(n,i,o,a){let s=o.enter("tableCell"),u=o.enter("phrasing"),c=e6(n,o,{...a,before:l,after:l});return u(),s(),c}function p(n,i){return ta(n,{align:i,alignDelimiters:a,padding:o,stringLength:s})}function f(n,i,o){let a=n.children,s=-1,l=[],u=i.enter("table");for(;++s-1?i.start:1)+(!1===o.options.incrementListMarker?0:i.children.indexOf(n))+l);let u=l.length+1;("tab"===s||"mixed"===s&&(i&&"list"===i.type&&i.spread||n.spread))&&(u=4*Math.ceil(u/4));let c=o.createTracker(a);c.move(l+" ".repeat(u-l.length)),c.shift(u);let d=o.enter("listItem"),p=o.indentLines(o.containerFlow(n,c.current()),f);return d(),p;function f(n,i,o){return i?(o?"":" ".repeat(u))+n:(o?l:l+" ".repeat(u-l.length))+n}}let tS={exit:{taskListCheckValueChecked:t_,taskListCheckValueUnchecked:t_,paragraph:tk}},tx={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:tA}};function t_(n){let i=this.stack[this.stack.length-2];i.checked="taskListCheckValueChecked"===n.type}function tk(n){let i=this.stack[this.stack.length-2];if(i&&"listItem"===i.type&&"boolean"==typeof i.checked){let o=this.stack[this.stack.length-1],a=o.children[0];if(a&&"text"===a.type){let s;let l=i.children,u=-1;for(;++un?g():!0!==i&&(s=setTimeout(a?b:g,void 0===a?n-m:n)))}return"boolean"!=typeof i&&(a=o,o=i,i=void 0),p.cancel=d,p}function s(n,i,o){return void 0===o?a(n,i,!1):a(n,o,!1!==i)}o.d(i,{D:function(){return s},P:function(){return a}})},96093:function(n,i,o){"use strict";o.d(i,{O:function(){return a}});let a=function(n){if(null==n)return d;if("string"==typeof n)return u(n);if("object"==typeof n)return Array.isArray(n)?s(n):l(n);if("function"==typeof n)return c(n);throw Error("Expected function, string, or object as test")};function s(n){let i=[],o=-1;for(;++o":""))+")"})}return y;function y(){let s,g,b,y=[];if((!i||d(n,a,m[m.length-1]||null))&&(y=p(o(n,m)))[0]===u)return y;if(n.children&&y[0]!==c)for(g=(l?n.children.length:-1)+f,b=m.concat(n);g>-1&&g","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},93580:function(n){"use strict";n.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')}}]); \ No newline at end of file +`),oK.rippleVisible,o3,o1,({theme:n})=>n.transitions.easing.easeInOut,oK.ripplePulsate,({theme:n})=>n.transitions.duration.shorter,oK.child,oK.childLeaving,o5,o1,({theme:n})=>n.transitions.easing.easeInOut,oK.childPulsate,o4,({theme:n})=>n.transitions.easing.easeInOut),o9=f.forwardRef(function(n,i){let o=nP({props:n,name:"MuiTouchRipple"}),{center:a=!1,classes:s={},className:l}=o,u=(0,m.Z)(o,oY),[c,d]=f.useState([]),p=f.useRef(0),h=f.useRef(null);f.useEffect(()=>{h.current&&(h.current(),h.current=null)},[c]);let b=f.useRef(!1),v=f.useRef(0),w=f.useRef(null),E=f.useRef(null);f.useEffect(()=>()=>{v.current&&clearTimeout(v.current)},[]);let S=f.useCallback(n=>{let{pulsate:i,rippleX:o,rippleY:a,rippleSize:l,cb:u}=n;d(n=>[...n,(0,n3.jsx)(o8,{classes:{ripple:y(s.ripple,oK.ripple),rippleVisible:y(s.rippleVisible,oK.rippleVisible),ripplePulsate:y(s.ripplePulsate,oK.ripplePulsate),child:y(s.child,oK.child),childLeaving:y(s.childLeaving,oK.childLeaving),childPulsate:y(s.childPulsate,oK.childPulsate)},timeout:o1,pulsate:i,rippleX:o,rippleY:a,rippleSize:l},p.current)]),p.current+=1,h.current=u},[s]),x=f.useCallback((n={},i={},o=()=>{})=>{let s,l,u;let{pulsate:c=!1,center:d=a||i.pulsate,fakeElement:p=!1}=i;if((null==n?void 0:n.type)==="mousedown"&&b.current){b.current=!1;return}(null==n?void 0:n.type)==="touchstart"&&(b.current=!0);let f=p?null:E.current,h=f?f.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(!d&&void 0!==n&&(0!==n.clientX||0!==n.clientY)&&(n.clientX||n.touches)){let{clientX:m,clientY:g}=n.touches&&n.touches.length>0?n.touches[0]:n;s=Math.round(m-h.left),l=Math.round(g-h.top)}else s=Math.round(h.width/2),l=Math.round(h.height/2);if(d)(u=Math.sqrt((2*h.width**2+h.height**2)/3))%2==0&&(u+=1);else{let y=2*Math.max(Math.abs((f?f.clientWidth:0)-s),s)+2,x=2*Math.max(Math.abs((f?f.clientHeight:0)-l),l)+2;u=Math.sqrt(y**2+x**2)}null!=n&&n.touches?null===w.current&&(w.current=()=>{S({pulsate:c,rippleX:s,rippleY:l,rippleSize:u,cb:o})},v.current=setTimeout(()=>{w.current&&(w.current(),w.current=null)},o2)):S({pulsate:c,rippleX:s,rippleY:l,rippleSize:u,cb:o})},[a,S]),_=f.useCallback(()=>{x({},{pulsate:!0})},[x]),k=f.useCallback((n,i)=>{if(clearTimeout(v.current),(null==n?void 0:n.type)==="touchend"&&w.current){w.current(),w.current=null,v.current=setTimeout(()=>{k(n,i)});return}w.current=null,d(n=>n.length>0?n.slice(1):n),h.current=i},[]);return f.useImperativeHandle(i,()=>({pulsate:_,start:x,stop:k}),[_,x,k]),(0,n3.jsx)(o6,(0,g.Z)({className:y(oK.root,s.root,l),ref:E},u,{children:(0,n3.jsx)(oH,{component:null,exit:!0,children:c})}))});var o7=o9;function ae(n){return iO("MuiButtonBase",n)}let at=iI("MuiButtonBase",["root","disabled","focusVisible"]);var an=at;let ar=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],ai=n=>{let{disabled:i,focusVisible:o,focusVisibleClassName:a,classes:s}=n,l={root:["root",i&&"disabled",o&&"focusVisible"]},u=v(l,ae,s);return o&&a&&(u.root+=` ${a}`),u},ao=nT("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(n,i)=>i.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${an.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),aa=f.forwardRef(function(n,i){let o=nP({props:n,name:"MuiButtonBase"}),{action:a,centerRipple:s=!1,children:l,className:u,component:c="button",disabled:d=!1,disableRipple:p=!1,disableTouchRipple:h=!1,focusRipple:b=!1,LinkComponent:v="a",onBlur:w,onClick:E,onContextMenu:S,onDragLeave:x,onFocus:_,onFocusVisible:k,onKeyDown:A,onKeyUp:T,onMouseDown:C,onMouseLeave:R,onMouseUp:D,onTouchEnd:O,onTouchMove:I,onTouchStart:N,tabIndex:M=0,TouchRippleProps:L,touchRippleRef:P,type:F}=o,B=(0,m.Z)(o,ar),U=f.useRef(null),z=f.useRef(null),j=n2(z,P),{isFocusVisibleRef:$,onFocus:H,onBlur:V,ref:G}=oa(),[q,W]=f.useState(!1);d&&q&&W(!1),f.useImperativeHandle(a,()=>({focusVisible(){W(!0),U.current.focus()}}),[]);let[K,Y]=f.useState(!1);f.useEffect(()=>{Y(!0)},[]);let Z=K&&!p&&!d;function X(n,i,o=h){return i2(a=>{i&&i(a);let s=o;return!s&&z.current&&z.current[n](a),!0})}f.useEffect(()=>{q&&b&&!p&&K&&z.current.pulsate()},[p,b,q,K]);let J=X("start",C),Q=X("stop",S),ee=X("stop",x),et=X("stop",D),en=X("stop",n=>{q&&n.preventDefault(),R&&R(n)}),er=X("start",N),ei=X("stop",O),eo=X("stop",I),ea=X("stop",n=>{V(n),!1===$.current&&W(!1),w&&w(n)},!1),es=i2(n=>{U.current||(U.current=n.currentTarget),H(n),!0===$.current&&(W(!0),k&&k(n)),_&&_(n)}),el=()=>{let n=U.current;return c&&"button"!==c&&!("A"===n.tagName&&n.href)},eu=f.useRef(!1),ec=i2(n=>{b&&!eu.current&&q&&z.current&&" "===n.key&&(eu.current=!0,z.current.stop(n,()=>{z.current.start(n)})),n.target===n.currentTarget&&el()&&" "===n.key&&n.preventDefault(),A&&A(n),n.target===n.currentTarget&&el()&&"Enter"===n.key&&!d&&(n.preventDefault(),E&&E(n))}),ed=i2(n=>{b&&" "===n.key&&z.current&&q&&!n.defaultPrevented&&(eu.current=!1,z.current.stop(n,()=>{z.current.pulsate(n)})),T&&T(n),E&&n.target===n.currentTarget&&el()&&" "===n.key&&!n.defaultPrevented&&E(n)}),ep=c;"button"===ep&&(B.href||B.to)&&(ep=v);let ef={};"button"===ep?(ef.type=void 0===F?"button":F,ef.disabled=d):(B.href||B.to||(ef.role="button"),d&&(ef["aria-disabled"]=d));let eh=n2(i,G,U),em=(0,g.Z)({},o,{centerRipple:s,component:c,disabled:d,disableRipple:p,disableTouchRipple:h,focusRipple:b,tabIndex:M,focusVisible:q}),eg=ai(em);return(0,n3.jsxs)(ao,(0,g.Z)({as:ep,className:y(eg.root,u),ownerState:em,onBlur:ea,onClick:E,onContextMenu:Q,onFocus:es,onKeyDown:ec,onKeyUp:ed,onMouseDown:J,onMouseLeave:en,onMouseUp:et,onDragLeave:ee,onTouchEnd:ei,onTouchMove:eo,onTouchStart:er,ref:eh,tabIndex:d?-1:M,type:F},ef,B,{children:[l,Z?(0,n3.jsx)(o7,(0,g.Z)({ref:j,center:s},L)):null]}))});var as=aa;function al(n){return iO("MuiToggleButton",n)}let au=iI("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]);var ac=au;let ad=["children","className","color","disabled","disableFocusRipple","fullWidth","onChange","onClick","selected","size","value"],ap=n=>{let{classes:i,fullWidth:o,selected:a,disabled:s,size:l,color:u}=n,c={root:["root",a&&"selected",s&&"disabled",o&&"fullWidth",`size${nF(l)}`,u]};return v(c,al,i)},af=nT(as,{name:"MuiToggleButton",slot:"Root",overridesResolver(n,i){let{ownerState:o}=n;return[i.root,i[`size${nF(o.size)}`]]}})(({theme:n,ownerState:i})=>{let o,a="standard"===i.color?n.palette.text.primary:n.palette[i.color].main;return n.vars&&(a="standard"===i.color?n.vars.palette.text.primary:n.vars.palette[i.color].main,o="standard"===i.color?n.vars.palette.text.primaryChannel:n.vars.palette[i.color].mainChannel),(0,g.Z)({},n.typography.button,{borderRadius:(n.vars||n).shape.borderRadius,padding:11,border:`1px solid ${(n.vars||n).palette.divider}`,color:(n.vars||n).palette.action.active},i.fullWidth&&{width:"100%"},{[`&.${ac.disabled}`]:{color:(n.vars||n).palette.action.disabled,border:`1px solid ${(n.vars||n).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:n.vars?`rgba(${n.vars.palette.text.primaryChannel} / ${n.vars.palette.action.hoverOpacity})`:D(n.palette.text.primary,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ac.selected}`]:{color:a,backgroundColor:n.vars?`rgba(${o} / ${n.vars.palette.action.selectedOpacity})`:D(a,n.palette.action.selectedOpacity),"&:hover":{backgroundColor:n.vars?`rgba(${o} / calc(${n.vars.palette.action.selectedOpacity} + ${n.vars.palette.action.hoverOpacity}))`:D(a,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?`rgba(${o} / ${n.vars.palette.action.selectedOpacity})`:D(a,n.palette.action.selectedOpacity)}}}},"small"===i.size&&{padding:7,fontSize:n.typography.pxToRem(13)},"large"===i.size&&{padding:15,fontSize:n.typography.pxToRem(15)})}),ah=f.forwardRef(function(n,i){let o=nP({props:n,name:"MuiToggleButton"}),{children:a,className:s,color:l="standard",disabled:u=!1,disableFocusRipple:c=!1,fullWidth:d=!1,onChange:p,onClick:f,selected:h,size:b="medium",value:v}=o,w=(0,m.Z)(o,ad),E=(0,g.Z)({},o,{color:l,disabled:u,disableFocusRipple:c,fullWidth:d,size:b}),S=ap(E),x=n=>{f&&(f(n,v),n.defaultPrevented)||!p||p(n,v)};return(0,n3.jsx)(af,(0,g.Z)({className:y(S.root,s),disabled:u,focusRipple:!c,ref:i,onClick:x,onChange:p,value:v,ownerState:E,"aria-pressed":h},w,{children:a}))});var am=ah,ag=o(57555),ab=o(93282),ay=o(27398);let av=n=>{let i=f.useRef({});return f.useEffect(()=>{i.current=n}),i.current};var aw=av;function aE(n){let{badgeContent:i,invisible:o=!1,max:a=99,showZero:s=!1}=n,l=aw({badgeContent:i,max:a}),u=o;!1!==o||0!==i||s||(u=!0);let{badgeContent:c,max:d=a}=u?l:n,p=c&&Number(c)>d?`${d}+`:c;return{badgeContent:c,invisible:u,max:d,displayValue:p}}function aS(n){return iO("MuiBadge",n)}let ax=iI("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]);var a_=ax;let ak=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],aA=10,aT=4,aC=n=>{let{color:i,anchorOrigin:o,invisible:a,overlap:s,variant:l,classes:u={}}=n,c={root:["root"],badge:["badge",l,a&&"invisible",`anchorOrigin${nF(o.vertical)}${nF(o.horizontal)}`,`anchorOrigin${nF(o.vertical)}${nF(o.horizontal)}${nF(s)}`,`overlap${nF(s)}`,"default"!==i&&`color${nF(i)}`]};return v(c,aS,u)},aR=nT("span",{name:"MuiBadge",slot:"Root",overridesResolver:(n,i)=>i.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),aD=nT("span",{name:"MuiBadge",slot:"Badge",overridesResolver(n,i){let{ownerState:o}=n;return[i.badge,i[o.variant],i[`anchorOrigin${nF(o.anchorOrigin.vertical)}${nF(o.anchorOrigin.horizontal)}${nF(o.overlap)}`],"default"!==o.color&&i[`color${nF(o.color)}`],o.invisible&&i.invisible]}})(({theme:n,ownerState:i})=>(0,g.Z)({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:n.typography.fontFamily,fontWeight:n.typography.fontWeightMedium,fontSize:n.typography.pxToRem(12),minWidth:2*aA,lineHeight:1,padding:"0 6px",height:2*aA,borderRadius:aA,zIndex:1,transition:n.transitions.create("transform",{easing:n.transitions.easing.easeInOut,duration:n.transitions.duration.enteringScreen})},"default"!==i.color&&{backgroundColor:(n.vars||n).palette[i.color].main,color:(n.vars||n).palette[i.color].contrastText},"dot"===i.variant&&{borderRadius:aT,height:2*aT,minWidth:2*aT,padding:0},"top"===i.anchorOrigin.vertical&&"right"===i.anchorOrigin.horizontal&&"rectangular"===i.overlap&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${a_.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===i.anchorOrigin.vertical&&"right"===i.anchorOrigin.horizontal&&"rectangular"===i.overlap&&{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${a_.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===i.anchorOrigin.vertical&&"left"===i.anchorOrigin.horizontal&&"rectangular"===i.overlap&&{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${a_.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===i.anchorOrigin.vertical&&"left"===i.anchorOrigin.horizontal&&"rectangular"===i.overlap&&{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${a_.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},"top"===i.anchorOrigin.vertical&&"right"===i.anchorOrigin.horizontal&&"circular"===i.overlap&&{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${a_.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===i.anchorOrigin.vertical&&"right"===i.anchorOrigin.horizontal&&"circular"===i.overlap&&{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${a_.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===i.anchorOrigin.vertical&&"left"===i.anchorOrigin.horizontal&&"circular"===i.overlap&&{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${a_.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===i.anchorOrigin.vertical&&"left"===i.anchorOrigin.horizontal&&"circular"===i.overlap&&{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${a_.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},i.invisible&&{transition:n.transitions.create("transform",{easing:n.transitions.easing.easeInOut,duration:n.transitions.duration.leavingScreen})})),aO=f.forwardRef(function(n,i){var o,a,s,l,u,c;let d=nP({props:n,name:"MuiBadge"}),{anchorOrigin:p={vertical:"top",horizontal:"right"},className:f,component:h,components:b={},componentsProps:v={},children:w,overlap:E="rectangular",color:S="default",invisible:x=!1,max:_=99,badgeContent:k,slots:A,slotProps:T,showZero:C=!1,variant:R="standard"}=d,D=(0,m.Z)(d,ak),{badgeContent:O,invisible:I,max:N,displayValue:M}=aE({max:_,invisible:x,badgeContent:k,showZero:C}),L=aw({anchorOrigin:p,color:S,overlap:E,variant:R,badgeContent:k}),P=I||null==O&&"dot"!==R,{color:F=S,overlap:B=E,anchorOrigin:U=p,variant:z=R}=P?L:d,j="dot"!==z?M:void 0,$=(0,g.Z)({},d,{badgeContent:O,invisible:P,max:N,displayValue:j,showZero:C,anchorOrigin:U,color:F,overlap:B,variant:z}),H=aC($),V=null!=(o=null!=(a=null==A?void 0:A.root)?a:b.Root)?o:aR,G=null!=(s=null!=(l=null==A?void 0:A.badge)?l:b.Badge)?s:aD,q=null!=(u=null==T?void 0:T.root)?u:v.root,W=null!=(c=null==T?void 0:T.badge)?c:v.badge,K=iU({elementType:V,externalSlotProps:q,externalForwardedProps:D,additionalProps:{ref:i,as:h},ownerState:$,className:y(null==q?void 0:q.className,H.root,f)}),Y=iU({elementType:G,externalSlotProps:W,ownerState:$,className:y(H.badge,null==W?void 0:W.className)});return(0,n3.jsxs)(V,(0,g.Z)({},K,{children:[w,(0,n3.jsx)(G,(0,g.Z)({},Y,{children:j}))]}))});var aI=aO,aN=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5 15v2c0 1.054.95 2 2 2h3v2H7a4 4 0 0 1-4-4v-2h2zm13-5l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16 10h2zm-1 2.885L15.753 16h2.492L17 12.885zM3 3h6a3 3 0 0 1 2.235 5A3 3 0 0 1 9 13H3V3zm6 6H5v2h4a1 1 0 0 0 0-2zm8-6a4 4 0 0 1 4 4v2h-2V7a2 2 0 0 0-2-2h-3V3h3zM9 5H5v2h4a1 1 0 1 0 0-2z"}}],aM=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z"}}],aL=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z"}}],aP=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M12.866 3l9.526 16.5a1 1 0 0 1-.866 1.5H2.474a1 1 0 0 1-.866-1.5L11.134 3a1 1 0 0 1 1.732 0zm-8.66 16h15.588L12 5.5 4.206 19zM11 16h2v2h-2v-2zm0-7h2v5h-2V9z"}}],aF=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 19h18v2H3v-2zm5-6h3l-4 4-4-4h3V3h2v10zm10 0h3l-4 4-4-4h3V3h2v10z"}}],aB=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 4h18v2H3V4zm2 15h14v2H5v-2zm-2-5h18v2H3v-2zm2-5h14v2H5V9z"}}],aU=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 4h18v2H3V4zm0 15h18v2H3v-2zm0-5h18v2H3v-2zm0-5h18v2H3V9z"}}],az=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 4h18v2H3V4zm0 15h14v2H3v-2zm0-5h18v2H3v-2zm0-5h14v2H3V9z"}}],aj=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 4h18v2H3V4zm4 15h14v2H7v-2zm-4-5h18v2H3v-2zm4-5h14v2H7V9z"}}],a$=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 3h18v2H3V3zm5 8v10H6V11H3l4-4 4 4H8zm10 0v10h-2V11h-3l4-4 4 4h-3z"}}],aH=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 11h18v2H3v-2zm15 7v3h-2v-3h-3l4-4 4 4h-3zM8 18v3H6v-3H3l4-4 4 4H8zM18 6h3l-4 4-4-4h3V3h2v3zM8 6h3l-4 4-4-4h3V3h2v3z"}}],aV=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M6.75 2.5A4.25 4.25 0 0 1 11 6.75V11H6.75a4.25 4.25 0 1 1 0-8.5zM9 9V6.75A2.25 2.25 0 1 0 6.75 9H9zm-2.25 4H11v4.25A4.25 4.25 0 1 1 6.75 13zm0 2A2.25 2.25 0 1 0 9 17.25V15H6.75zm10.5-12.5a4.25 4.25 0 1 1 0 8.5H13V6.75a4.25 4.25 0 0 1 4.25-4.25zm0 6.5A2.25 2.25 0 1 0 15 6.75V9h2.25zM13 13h4.25A4.25 4.25 0 1 1 13 17.25V13zm2 2v2.25A2.25 2.25 0 1 0 17.25 15H15z"}}],aG=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 16l-6-6h12z"}}],aq=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 7v4L2 6l6-5v4h5a8 8 0 1 1 0 16H4v-2h9a6 6 0 1 0 0-12H8z"}}],aW=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16 7h-5a6 6 0 1 0 0 12h9v2h-9a8 8 0 1 1 0-16h5V1l6 5-6 5V7z"}}],aK=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 12l6-6v12z"}}],aY=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16 12l-6 6V6z"}}],aZ=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 8l6 6H6z"}}],aX=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M13 3v7.267l6.294-3.633 1 1.732-6.293 3.633 6.293 3.635-1 1.732L13 13.732V21h-2v-7.268l-6.294 3.634-1-1.732L9.999 12 3.706 8.366l1-1.732L11 10.267V3z"}}],aJ=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M14.828 7.757l-5.656 5.657a1 1 0 1 0 1.414 1.414l5.657-5.656A3 3 0 1 0 12 4.929l-5.657 5.657a5 5 0 1 0 7.071 7.07L19.071 12l1.414 1.414-5.657 5.657a7 7 0 1 1-9.9-9.9l5.658-5.656a5 5 0 0 1 7.07 7.07L12 16.244A3 3 0 1 1 7.757 12l5.657-5.657 1.414 1.414z"}}],aQ=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 11h4.5a2.5 2.5 0 1 0 0-5H8v5zm10 4.5a4.5 4.5 0 0 1-4.5 4.5H6V4h6.5a4.5 4.5 0 0 1 3.256 7.606A4.498 4.498 0 0 1 18 15.5zM8 13v5h5.5a2.5 2.5 0 1 0 0-5H8z"}}],a0=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4 18v-3.7a1.5 1.5 0 0 0-1.5-1.5H2v-1.6h.5A1.5 1.5 0 0 0 4 9.7V6a3 3 0 0 1 3-3h1v2H7a1 1 0 0 0-1 1v4.1A2 2 0 0 1 4.626 12 2 2 0 0 1 6 13.9V18a1 1 0 0 0 1 1h1v2H7a3 3 0 0 1-3-3zm16-3.7V18a3 3 0 0 1-3 3h-1v-2h1a1 1 0 0 0 1-1v-4.1a2 2 0 0 1 1.374-1.9A2 2 0 0 1 18 10.1V6a1 1 0 0 0-1-1h-1V3h1a3 3 0 0 1 3 3v3.7a1.5 1.5 0 0 0 1.5 1.5h.5v1.6h-.5a1.5 1.5 0 0 0-1.5 1.5z"}}],a1=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M14 3c.552 0 1 .448 1 1v5h5c.552 0 1 .448 1 1v10c0 .552-.448 1-1 1H10c-.552 0-1-.448-1-1v-5H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h10zm-1 2H5v8h8V5z"}}],a2=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M11 3c.552 0 1 .448 1 1v2h5c.552 0 1 .448 1 1v5h2c.552 0 1 .448 1 1v7c0 .552-.448 1-1 1h-7c-.552 0-1-.448-1-1v-2H7c-.552 0-1-.448-1-1v-5H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h7zm5 5H8v8h8V8z"}}],a3=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M14 3v2H4v13.385L5.763 17H20v-7h2v8a1 1 0 0 1-1 1H6.455L2 22.5V4a1 1 0 0 1 1-1h11zm5 0V0h2v3h3v2h-3v3h-2V5h-3V3h3z"}}],a5=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm-.997-4L6.76 11.757l1.414-1.414 2.829 2.829 5.656-5.657 1.415 1.414L11.003 16z"}}],a4=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M7 7V3a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-4v3.993c0 .556-.449 1.007-1.007 1.007H3.007A1.006 1.006 0 0 1 2 20.993l.003-12.986C2.003 7.451 2.452 7 3.01 7H7zm2 0h6.993C16.549 7 17 7.449 17 8.007V15h3V4H9v3zm6 2H4.003L4 20h11V9zm-6.497 9l-3.536-3.536 1.414-1.414 2.122 2.122 4.242-4.243 1.414 1.414L8.503 18z"}}],a6=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M6 4v4h12V4h2.007c.548 0 .993.445.993.993v16.014a.994.994 0 0 1-.993.993H3.993A.994.994 0 0 1 3 21.007V4.993C3 4.445 3.445 4 3.993 4H6zm2-2h8v4H8V2z"}}],a8=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7 4V2h10v2h3.007c.548 0 .993.445.993.993v16.014a.994.994 0 0 1-.993.993H3.993A.994.994 0 0 1 3 21.007V4.993C3 4.445 3.445 4 3.993 4H7zm0 2H5v14h14V6h-2v2H7V6zm2-2v2h6V4H9z"}}],a9=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm0-9.414l2.828-2.829 1.415 1.415L13.414 12l2.829 2.828-1.415 1.415L12 13.414l-2.828 2.829-1.415-1.415L10.586 12 7.757 9.172l1.415-1.415L12 10.586z"}}],a7=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z"}}],se=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z"}}],st=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M23 12l-7.071 7.071-1.414-1.414L20.172 12l-5.657-5.657 1.414-1.414L23 12zM3.828 12l5.657 5.657-1.414 1.414L1 12l7.071-7.071 1.414 1.414L3.828 12z"}}],sn=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16.95 8.464l1.414-1.414 4.95 4.95-4.95 4.95-1.414-1.414L20.485 12 16.95 8.464zm-9.9 0L3.515 12l3.535 3.536-1.414 1.414L.686 12l4.95-4.95L7.05 8.464z"}}],sr=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17 6h5v2h-2v13a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V8H2V6h5V3a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v3zm-8 5v6h2v-6H9zm4 0v6h2v-6h-2zM9 4v2h6V4H9z"}}],si=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17 6h5v2h-2v13a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V8H2V6h5V3a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v3zm1 2H6v12h12V8zm-9 3h2v6H9v-6zm4 0h2v6h-2v-6zM9 4v2h6V4H9z"}}],so=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M12 3c.552 0 1 .448 1 1v8c.835-.628 1.874-1 3-1 2.761 0 5 2.239 5 5s-2.239 5-5 5c-1.032 0-1.99-.313-2.787-.848L13 20c0 .552-.448 1-1 1H6c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h6zm-1 2H7v14h4V5zm8 10h-6v2h6v-2z"}}],sa=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 5c.552 0 1 .448 1 1v6c0 .552-.448 1-1 1 .628.835 1 1.874 1 3 0 2.761-2.239 5-5 5s-5-2.239-5-5c0-1.126.372-2.165 1-3H4c-.552 0-1-.448-1-1V6c0-.552.448-1 1-1h16zm-7 10v2h6v-2h-6zm6-8H5v4h14V7z"}}],ss=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4.583 17.321C3.553 16.227 3 15 3 13.011c0-3.5 2.457-6.637 6.03-8.188l.893 1.378c-3.335 1.804-3.987 4.145-4.247 5.621.537-.278 1.24-.375 1.929-.311 1.804.167 3.226 1.648 3.226 3.489a3.5 3.5 0 0 1-3.5 3.5c-1.073 0-2.099-.49-2.748-1.179zm10 0C13.553 16.227 13 15 13 13.011c0-3.5 2.457-6.637 6.03-8.188l.893 1.378c-3.335 1.804-3.987 4.145-4.247 5.621.537-.278 1.24-.375 1.929-.311 1.804.167 3.226 1.648 3.226 3.489a3.5 3.5 0 0 1-3.5 3.5c-1.073 0-2.099-.49-2.748-1.179z"}}],sl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19.417 6.679C20.447 7.773 21 9 21 10.989c0 3.5-2.457 6.637-6.03 8.188l-.893-1.378c3.335-1.804 3.987-4.145 4.247-5.621-.537.278-1.24.375-1.929.311-1.804-.167-3.226-1.648-3.226-3.489a3.5 3.5 0 0 1 3.5-3.5c1.073 0 2.099.49 2.748 1.179zm-10 0C10.447 7.773 11 9 11 10.989c0 3.5-2.457 6.637-6.03 8.188l-.893-1.378c3.335-1.804 3.987-4.145 4.247-5.621-.537.278-1.24.375-1.929.311C4.591 12.322 3.17 10.841 3.17 9a3.5 3.5 0 0 1 3.5-3.5c1.073 0 2.099.49 2.748 1.179z"}}],su=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4 19h16v-7h2v8a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-8h2v7zM14 9h5l-7 7-7-7h5V3h4v6z"}}],sc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M16 13l6.964 4.062-2.973.85 2.125 3.681-1.732 1-2.125-3.68-2.223 2.15L16 13zm-2-7h2v2h5a1 1 0 0 1 1 1v4h-2v-3H10v10h4v2H9a1 1 0 0 1-1-1v-5H6v-2h2V9a1 1 0 0 1 1-1h5V6zM4 14v2H2v-2h2zm0-4v2H2v-2h2zm0-4v2H2V6h2zm0-4v2H2V2h2zm4 0v2H6V2h2zm4 0v2h-2V2h2zm4 0v2h-2V2h2z"}}],sd=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 19a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zm-5.5 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zm11 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zM13 2v2h6v2h-1.968a18.222 18.222 0 0 1-3.621 6.302 14.685 14.685 0 0 0 5.327 3.042l-.536 1.93A16.685 16.685 0 0 1 12 13.726a16.696 16.696 0 0 1-6.202 3.547l-.536-1.929a14.7 14.7 0 0 0 5.327-3.042 18.077 18.077 0 0 1-2.822-4.3h2.24A16.031 16.031 0 0 0 12 10.876a16.168 16.168 0 0 0 2.91-4.876L5 6V4h6V2h2z"}}],sp=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 19a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zm-5.5 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zm11 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zM18 3v2H8v4h9v2H8v4h10v2H6V3h12z"}}],sf=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M14 10h2v.757a4.5 4.5 0 0 1 7 3.743V20h-2v-5.5c0-1.43-1.175-2.5-2.5-2.5S16 13.07 16 14.5V20h-2V10zm-2-6v2H4v5h8v2H4v5h8v2H2V4h10z"}}],sh=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm-1-5h2v2h-2v-2zm0-8h2v6h-2V7z"}}],sm=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M10 6v2H5v11h11v-5h2v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm11-3v9l-3.794-3.793-5.999 6-1.414-1.414 5.999-6L12 3h9z"}}],sg=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7 6V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-3v3c0 .552-.45 1-1.007 1H4.007A1.001 1.001 0 0 1 3 21l.003-14c0-.552.45-1 1.007-1H7zM5.003 8L5 20h10V8H5.003zM9 6h8v10h2V4H9v2z"}}],sb=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M6 21.5c-1.933 0-3.5-1.567-3.5-3.5s1.567-3.5 3.5-3.5c1.585 0 2.924 1.054 3.355 2.5H15v-2h2V9.242L14.757 7H9V9H3V3h6v2h5.757L18 1.756 22.243 6 19 9.241V15L21 15v6h-6v-2H9.355c-.43 1.446-1.77 2.5-3.355 2.5zm0-5c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm13 .5h-2v2h2v-2zM18 4.586L16.586 6 18 7.414 19.414 6 18 4.586zM7 5H5v2h2V5z"}}],sy=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15.246 14H8.754l-1.6 4H5l6-15h2l6 15h-2.154l-1.6-4zm-.8-2L12 5.885 9.554 12h4.892zM3 20h18v2H3v-2z"}}],sv=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M10 6v15H8V6H2V4h14v2h-6zm8 8v7h-2v-7h-3v-2h8v2h-3z"}}],sw=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11.246 15H4.754l-2 5H.6L7 4h2l6.4 16h-2.154l-2-5zm-.8-2L8 6.885 5.554 13h4.892zM21 12.535V12h2v8h-2v-.535a4 4 0 1 1 0-6.93zM19 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}}],sE=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12.651 14.065L11.605 20H9.574l1.35-7.661-7.41-7.41L4.93 3.515 20.485 19.07l-1.414 1.414-6.42-6.42zm-.878-6.535l.27-1.53h-1.8l-2-2H20v2h-5.927L13.5 9.257 11.773 7.53z"}}],sS=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18 7h4v2h-6V3h2v4zM8 9H2V7h4V3h2v6zm10 8v4h-2v-6h6v2h-4zM8 15v6H6v-4H2v-2h6z"}}],sx=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 3h2v6h-2V5h-4V3h4zM4 3h4v2H4v4H2V3h2zm16 16v-4h2v6h-6v-2h4zM4 19h4v2H2v-6h2v4z"}}],s_=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5 18l7.68-6L5 6V4h14v2H8.263L16 12l-7.737 6H19v2H5v-2z"}}],sk=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 1v4H4v14h16V3h1.008c.548 0 .992.445.992.993v16.014a1 1 0 0 1-.992.993H2.992A.993.993 0 0 1 2 20.007V3.993A1 1 0 0 1 2.992 3H6V1h2zm4 7l4 4h-3v4h-2v-4H8l4-4zm6-7v4h-8V3h6V1h2z"}}],sA=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M13 20h-2v-7H4v7H2V4h2v7h7V4h2v16zm8-12v12h-2v-9.796l-2 .536V8.67L19.5 8H21z"}}],sT=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M4 4v7h7V4h2v16h-2v-7H4v7H2V4h2zm14.5 4c2.071 0 3.75 1.679 3.75 3.75 0 .857-.288 1.648-.772 2.28l-.148.18L18.034 18H22v2h-7v-1.556l4.82-5.546c.268-.307.43-.709.43-1.148 0-.966-.784-1.75-1.75-1.75-.918 0-1.671.707-1.744 1.606l-.006.144h-2C14.75 9.679 16.429 8 18.5 8z"}}],sC=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M22 8l-.002 2-2.505 2.883c1.59.435 2.757 1.89 2.757 3.617 0 2.071-1.679 3.75-3.75 3.75-1.826 0-3.347-1.305-3.682-3.033l1.964-.382c.156.806.866 1.415 1.718 1.415.966 0 1.75-.784 1.75-1.75s-.784-1.75-1.75-1.75c-.286 0-.556.069-.794.19l-1.307-1.547L19.35 10H15V8h7zM4 4v7h7V4h2v16h-2v-7H4v7H2V4h2z"}}],sR=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M13 20h-2v-7H4v7H2V4h2v7h7V4h2v16zm9-12v8h1.5v2H22v2h-2v-2h-5.5v-1.34l5-8.66H22zm-2 3.133L17.19 16H20v-4.867z"}}],sD=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M22 8v2h-4.323l-.464 2.636c.33-.089.678-.136 1.037-.136 2.21 0 4 1.79 4 4s-1.79 4-4 4c-1.827 0-3.367-1.224-3.846-2.897l1.923-.551c.24.836 1.01 1.448 1.923 1.448 1.105 0 2-.895 2-2s-.895-2-2-2c-.63 0-1.193.292-1.56.748l-1.81-.904L16 8h6zM4 4v7h7V4h2v16h-2v-7H4v7H2V4h2z"}}],sO=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M21.097 8l-2.598 4.5c2.21 0 4.001 1.79 4.001 4s-1.79 4-4 4-4-1.79-4-4c0-.736.199-1.426.546-2.019L18.788 8h2.309zM4 4v7h7V4h2v16h-2v-7H4v7H2V4h2zm14.5 10.5c-1.105 0-2 .895-2 2s.895 2 2 2 2-.895 2-2-.895-2-2-2z"}}],sI=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7.784 14l.42-4H4V8h4.415l.525-5h2.011l-.525 5h3.989l.525-5h2.011l-.525 5H20v2h-3.784l-.42 4H20v2h-4.415l-.525 5h-2.011l.525-5H9.585l-.525 5H7.049l.525-5H4v-2h3.784zm2.011 0h3.99l.42-4h-3.99l-.42 4z"}}],sN=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17 11V4h2v17h-2v-8H7v8H5V4h2v7z"}}],sM=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M21 15v3h3v2h-3v3h-2v-3h-3v-2h3v-3h2zm.008-12c.548 0 .992.445.992.993V13h-2V5H4v13.999L14 9l3 3v2.829l-3-3L6.827 19H14v2H2.992A.993.993 0 0 1 2 20.007V3.993A1 1 0 0 1 2.992 3h18.016zM8 7a2 2 0 1 1 0 4 2 2 0 0 1 0-4z"}}],sL=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 3c.552 0 1 .448 1 1v1.757l-2 2V5H5v8.1l4-4 4.328 4.329-1.415 1.413L9 11.93l-4 3.999V19h10.533l.708.001 1.329-1.33L18.9 19h.1v-2.758l2-2V20c0 .552-.448 1-1 1H4c-.55 0-1-.45-1-1V4c0-.552.448-1 1-1h16zm1.778 4.808l1.414 1.414L15.414 17l-1.416-.002.002-1.412 7.778-7.778zM15.5 7c.828 0 1.5.672 1.5 1.5s-.672 1.5-1.5 1.5S14 9.328 14 8.5 14.672 7 15.5 7z"}}],sP=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4.828 21l-.02.02-.021-.02H2.992A.993.993 0 0 1 2 20.007V3.993A1 1 0 0 1 2.992 3h18.016c.548 0 .992.445.992.993v16.014a1 1 0 0 1-.992.993H4.828zM20 15V5H4v14L14 9l6 6zm0 2.828l-6-6L6.828 19H20v-1.172zM8 11a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}}],sF=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 4h18v2H3V4zm0 15h18v2H3v-2zm8-5h10v2H11v-2zm0-5h10v2H11V9zm-8 3.5L7 9v7l-4-3.5z"}}],sB=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 4h18v2H3V4zm0 15h18v2H3v-2zm8-5h10v2H11v-2zm0-5h10v2H11V9zm-4 3.5L3 16V9l4 3.5z"}}],sU=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zM11 7h2v2h-2V7zm0 4h2v6h-2v-6z"}}],sz=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 21v-2h3V5H8V3h8v2h-3v14h3v2H8zM18.05 7.05L23 12l-4.95 4.95-1.414-1.414L20.172 12l-3.536-3.536L18.05 7.05zm-12.1 0l1.414 1.414L3.828 12l3.536 3.536L5.95 16.95 1 12l4.95-4.95z"}}],sj=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 3c.552 0 1 .448 1 1v16c0 .552-.448 1-1 1h-6c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h6zm-1 2h-4v14h4V5zM6 7c2.761 0 5 2.239 5 5s-2.239 5-5 5-5-2.239-5-5 2.239-5 5-5zm1 2H5v1.999L3 11v2l2-.001V15h2v-2.001L9 13v-2l-2-.001V9z"}}],s$=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M10 3c.552 0 1 .448 1 1v16c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h6zM9 5H5v14h4V5zm9 2c2.761 0 5 2.239 5 5s-2.239 5-5 5-5-2.239-5-5 2.239-5 5-5zm1 2h-2v1.999L15 11v2l2-.001V15h2v-2.001L21 13v-2l-2-.001V9z"}}],sH=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M12 13c2.761 0 5 2.239 5 5s-2.239 5-5 5-5-2.239-5-5 2.239-5 5-5zm1 2h-2v1.999L9 17v2l2-.001V21h2v-2.001L15 19v-2l-2-.001V15zm7-12c.552 0 1 .448 1 1v6c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h16zM5 5v4h14V5H5z"}}],sV=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 13c.552 0 1 .448 1 1v6c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1v-6c0-.552.448-1 1-1h16zm-1 2H5v4h14v-4zM12 1c2.761 0 5 2.239 5 5s-2.239 5-5 5-5-2.239-5-5 2.239-5 5-5zm1 2h-2v1.999L9 5v2l2-.001V9h2V6.999L15 7V5l-2-.001V3z"}}],sG=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15 20H7v-2h2.927l2.116-12H9V4h8v2h-2.927l-2.116 12H15z"}}],sq=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M11 5H5v14h6V5zm2 0v14h6V5h-6zM4 3h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z"}}],sW=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 4h10v2H11V4zM6 7v4H4V7H1l4-4 4 4H6zm0 10h3l-4 4-4-4h3v-4h2v4zm5 1h10v2H11v-2zm-2-7h12v2H9v-2z"}}],sK=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17.657 14.828l-1.414-1.414L17.657 12A4 4 0 1 0 12 6.343l-1.414 1.414-1.414-1.414 1.414-1.414a6 6 0 0 1 8.485 8.485l-1.414 1.414zm-2.829 2.829l-1.414 1.414a6 6 0 1 1-8.485-8.485l1.414-1.414 1.414 1.414L6.343 12A4 4 0 1 0 12 17.657l1.414-1.414 1.414 1.414zm0-9.9l1.415 1.415-7.071 7.07-1.415-1.414 7.071-7.07z"}}],sY=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17.657 14.828l-1.414-1.414L17.657 12A4 4 0 1 0 12 6.343l-1.414 1.414-1.414-1.414 1.414-1.414a6 6 0 0 1 8.485 8.485l-1.414 1.414zm-2.829 2.829l-1.414 1.414a6 6 0 1 1-8.485-8.485l1.414-1.414 1.414 1.414L6.343 12A4 4 0 1 0 12 17.657l1.414-1.414 1.414 1.414zm0-9.9l1.415 1.415-7.071 7.07-1.415-1.414 7.071-7.07zM5.775 2.293l1.932-.518L8.742 5.64l-1.931.518-1.036-3.864zm9.483 16.068l1.931-.518 1.036 3.864-1.932.518-1.035-3.864zM2.293 5.775l3.864 1.036-.518 1.931-3.864-1.035.518-1.932zm16.068 9.483l3.864 1.035-.518 1.932-3.864-1.036.518-1.931z"}}],sZ=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17 17h5v2h-3v3h-2v-5zM7 7H2V5h3V2h2v5zm11.364 8.536L16.95 14.12l1.414-1.414a5 5 0 1 0-7.071-7.071L9.879 7.05 8.464 5.636 9.88 4.222a7 7 0 0 1 9.9 9.9l-1.415 1.414zm-2.828 2.828l-1.415 1.414a7 7 0 0 1-9.9-9.9l1.415-1.414L7.05 9.88l-1.414 1.414a5 5 0 1 0 7.071 7.071l1.414-1.414 1.415 1.414zm-.708-10.607l1.415 1.415-7.071 7.07-1.415-1.414 7.071-7.07z"}}],sX=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18.364 15.536L16.95 14.12l1.414-1.414a5 5 0 1 0-7.071-7.071L9.879 7.05 8.464 5.636 9.88 4.222a7 7 0 0 1 9.9 9.9l-1.415 1.414zm-2.828 2.828l-1.415 1.414a7 7 0 0 1-9.9-9.9l1.415-1.414L7.05 9.88l-1.414 1.414a5 5 0 1 0 7.071 7.071l1.414-1.414 1.415 1.414zm-.708-10.607l1.415 1.415-7.071 7.07-1.415-1.414 7.071-7.07z"}}],sJ=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 4h10v2H11V4zm0 4h6v2h-6V8zm0 6h10v2H11v-2zm0 4h6v2h-6v-2zM3 4h6v6H3V4zm2 2v2h2V6H5zm-2 8h6v6H3v-6zm2 2v2h2v-2H5z"}}],sQ=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 4h13v2H8V4zm-5-.5h3v3H3v-3zm0 7h3v3H3v-3zm0 7h3v3H3v-3zM8 11h13v2H8v-2zm0 7h13v2H8v-2z"}}],s0=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 4h13v2H8V4zM5 3v3h1v1H3V6h1V4H3V3h2zM3 14v-2.5h2V11H3v-1h3v2.5H4v.5h2v1H3zm2 5.5H3v-1h2V18H3v-1h3v4H3v-1h2v-.5zM8 11h13v2H8v-2zm0 7h13v2H8v-2z"}}],s1=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 4h13v2H8V4zM4.5 6.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0 6.9a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zM8 11h13v2H8v-2zm0 7h13v2H8v-2z"}}],s2=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15.243 4.515l-6.738 6.737-.707 2.121-1.04 1.041 2.828 2.829 1.04-1.041 2.122-.707 6.737-6.738-4.242-4.242zm6.364 3.535a1 1 0 0 1 0 1.414l-7.779 7.779-2.12.707-1.415 1.414a1 1 0 0 1-1.414 0l-4.243-4.243a1 1 0 0 1 0-1.414l1.414-1.414.707-2.121 7.779-7.779a1 1 0 0 1 1.414 0l5.657 5.657zm-6.364-.707l1.414 1.414-4.95 4.95-1.414-1.414 4.95-4.95zM4.283 16.89l2.828 2.829-1.414 1.414-4.243-1.414 2.828-2.829z"}}],s3=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm4 12.5v-4l2 2 2-2v4h2v-7h-2l-2 2-2-2H5v7h2zm11-3v-4h-2v4h-2l3 3 3-3h-2z"}}],s5=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm1 2v14h16V5H4zm3 10.5H5v-7h2l2 2 2-2h2v7h-2v-4l-2 2-2-2v4zm11-3h2l-3 3-3-3h2v-4h2v4z"}}],s4=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 3c.552 0 1 .448 1 1v16c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h16zm-9 2H5v5.999h2V9l3 3-3 3v-2H5v6h6v-2h2v2h6v-6h-2v2l-3-3 3-3v1.999h2V5h-6v2h-2V5zm2 8v2h-2v-2h2zm0-4v2h-2V9h2z"}}],s6=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M21 20c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h16c.552 0 1 .448 1 1v16zm-2-9V5h-5.999v2H15l-3 3-3-3h2V5H5v6h2v2H5v6h6v-2H9l3-3 3 3h-1.999v2H19v-6h-2v-2h2zm-8 2H9v-2h2v2zm4 0h-2v-2h2v2z"}}],s8=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M18 3c1.657 0 3 1.343 3 3s-1.343 3-3 3h-3c-1.306 0-2.417-.834-2.829-2H11c-1.1 0-2 .9-2 2v.171c1.166.412 2 1.523 2 2.829 0 1.306-.834 2.417-2 2.829V15c0 1.1.9 2 2 2h1.17c.412-1.165 1.524-2 2.83-2h3c1.657 0 3 1.343 3 3s-1.343 3-3 3h-3c-1.306 0-2.417-.834-2.829-2H11c-2.21 0-4-1.79-4-4H5c-1.657 0-3-1.343-3-3s1.343-3 3-3h2c0-2.21 1.79-4 4-4h1.17c.412-1.165 1.524-2 2.83-2h3zm0 14h-3c-.552 0-1 .448-1 1s.448 1 1 1h3c.552 0 1-.448 1-1s-.448-1-1-1zM8 11H5c-.552 0-1 .448-1 1s.448 1 1 1h3c.552 0 1-.448 1-1s-.448-1-1-1zm10-6h-3c-.552 0-1 .448-1 1s.448 1 1 1h3c.552 0 1-.448 1-1s-.448-1-1-1z"}}],s9=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm14 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}}],s7=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M10 2c.552 0 1 .448 1 1v4c0 .552-.448 1-1 1H8v2h5V9c0-.552.448-1 1-1h6c.552 0 1 .448 1 1v4c0 .552-.448 1-1 1h-6c-.552 0-1-.448-1-1v-1H8v6h5v-1c0-.552.448-1 1-1h6c.552 0 1 .448 1 1v4c0 .552-.448 1-1 1h-6c-.552 0-1-.448-1-1v-1H7c-.552 0-1-.448-1-1V8H4c-.552 0-1-.448-1-1V3c0-.552.448-1 1-1h6zm9 16h-4v2h4v-2zm0-8h-4v2h4v-2zM9 4H5v2h4V4z"}}],le=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 1.5c1.321 0 2.484.348 3.447.994.963.645 1.726 1.588 2.249 2.778.522 1.19.804 2.625.804 4.257v4.942c0 1.632-.282 3.068-.804 4.257-.523 1.19-1.286 2.133-2.25 2.778-.962.646-2.125.994-3.446.994-1.321 0-2.484-.348-3.447-.994-.963-.645-1.726-1.588-2.249-2.778-.522-1.19-.804-2.625-.804-4.257V9.529c0-1.632.282-3.068.804-4.257.523-1.19 1.286-2.133 2.25-2.778C9.515 1.848 10.678 1.5 12 1.5zm0 2c-.916 0-1.694.226-2.333.655-.637.427-1.158 1.07-1.532 1.92-.412.94-.635 2.108-.635 3.454v4.942c0 1.346.223 2.514.635 3.453.374.851.895 1.494 1.532 1.921.639.429 1.417.655 2.333.655.916 0 1.694-.226 2.333-.655.637-.427 1.158-1.07 1.532-1.92.412-.94.635-2.108.635-3.454V9.529c0-1.346-.223-2.514-.635-3.453-.374-.851-.895-1.494-1.532-1.921C13.694 3.726 12.916 3.5 12 3.5z"}}],lt=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M14 1.5V22h-2V3.704L7.5 4.91V2.839l5-1.339z"}}],ln=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16 7.5a4 4 0 1 0-8 0H6a6 6 0 1 1 10.663 3.776l-7.32 8.723L18 20v2H6v-1.127l9.064-10.802A3.982 3.982 0 0 0 16 7.5z"}}],lr=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18 2v1.362L12.809 9.55a6.501 6.501 0 1 1-7.116 8.028l1.94-.486A4.502 4.502 0 0 0 16.5 16a4.5 4.5 0 0 0-6.505-4.03l-.228.122-.69-1.207L14.855 4 6.5 4V2H18z"}}],li=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16 1.5V16h3v2h-3v4h-2v-4H4v-1.102L14 1.5h2zM14 16V5.171L6.968 16H14z"}}],lo=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18 2v2H9.3l-.677 6.445a6.5 6.5 0 1 1-2.93 7.133l1.94-.486A4.502 4.502 0 0 0 16.5 16a4.5 4.5 0 0 0-4.5-4.5c-2.022 0-3.278.639-3.96 1.53l-1.575-1.182L7.5 2H18z"}}],la=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M14.886 2l-4.438 7.686A6.5 6.5 0 1 1 6.4 12.7L12.576 2h2.31zM12 11.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9z"}}],ls=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 2v1.5L10.763 22H8.574l8.013-18H6V2z"}}],ll=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 1.5a5.5 5.5 0 0 1 3.352 9.86C17.24 12.41 18.5 14.32 18.5 16.5c0 3.314-2.91 6-6.5 6s-6.5-2.686-6.5-6c0-2.181 1.261-4.09 3.147-5.141A5.5 5.5 0 0 1 12 1.5zm0 11c-2.52 0-4.5 1.828-4.5 4 0 2.172 1.98 4 4.5 4s4.5-1.828 4.5-4c0-2.172-1.98-4-4.5-4zm0-9a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7z"}}],lu=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 1.5a6.5 6.5 0 0 1 5.619 9.77l-6.196 10.729H9.114l4.439-7.686A6.5 6.5 0 1 1 12 1.5zm0 2a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9z"}}],lc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M14 20v-2.157c1.863-1.192 3.5-3.875 3.5-6.959 0-3.073-2-6.029-5.5-6.029s-5.5 2.956-5.5 6.03c0 3.083 1.637 5.766 3.5 6.958V20H3v-2h4.76C5.666 16.505 4 13.989 4 10.884 4 6.247 7.5 3 12 3s8 3.247 8 7.884c0 3.105-1.666 5.621-3.76 7.116H21v2h-7z"}}],ld=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M15 3c.552 0 1 .448 1 1v4c0 .552-.448 1-1 1h-2v2h4c.552 0 1 .448 1 1v3h2c.552 0 1 .448 1 1v4c0 .552-.448 1-1 1h-6c-.552 0-1-.448-1-1v-4c0-.552.448-1 1-1h2v-2H8v2h2c.552 0 1 .448 1 1v4c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1v-4c0-.552.448-1 1-1h2v-3c0-.552.448-1 1-1h4V9H9c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h6zM9 17H5v2h4v-2zm10 0h-4v2h4v-2zM14 5h-4v2h4V5z"}}],lp=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17 21v-4H7v4H5v-5a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v5h-2zM7 3v4h10V3h2v5a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V3h2zM2 9l4 3-4 3V9zm20 0v6l-4-3 4-3z"}}],lf=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 6v15h-2v-5a6 6 0 1 1 0-12h10v2h-3v15h-2V6h-3zm-2 0a4 4 0 1 0 0 8V6z"}}],lh=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12.9 6.858l4.242 4.243L7.242 21H3v-4.243l9.9-9.9zm1.414-1.414l2.121-2.122a1 1 0 0 1 1.414 0l2.829 2.829a1 1 0 0 1 0 1.414l-2.122 2.121-4.242-4.242z"}}],lm=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15.728 9.686l-1.414-1.414L5 17.586V19h1.414l9.314-9.314zm1.414-1.414l1.414-1.414-1.414-1.414-1.414 1.414 1.414 1.414zM7.242 21H3v-4.243L16.435 3.322a1 1 0 0 1 1.414 0l2.829 2.829a1 1 0 0 1 0 1.414L7.243 21z"}}],lg=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17.934 3.036l1.732 1L18.531 6H21v2h-2v4h2v2h-2v7h-2v-7h-3.084c-.325 2.862-1.564 5.394-3.37 7.193l-1.562-1.27c1.52-1.438 2.596-3.522 2.917-5.922L10 14v-2l2-.001V8h-2V6h2.467l-1.133-1.964 1.732-1L14.777 6h1.444l1.713-2.964zM5 13.803l-2 .536v-2.071l2-.536V8H3V6h2V3h2v3h2v2H7v3.197l2-.536v2.07l-2 .536V18.5A2.5 2.5 0 0 1 4.5 21H3v-2h1.5a.5.5 0 0 0 .492-.41L5 18.5v-4.697zM17 8h-3v4h3V8z"}}],lb=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M12 19c.828 0 1.5.672 1.5 1.5S12.828 22 12 22s-1.5-.672-1.5-1.5.672-1.5 1.5-1.5zm0-17c3.314 0 6 2.686 6 6 0 2.165-.753 3.29-2.674 4.923C13.399 14.56 13 15.297 13 17h-2c0-2.474.787-3.695 3.031-5.601C15.548 10.11 16 9.434 16 8c0-2.21-1.79-4-4-4S8 5.79 8 8v1H6V8c0-3.314 2.686-6 6-6z"}}],ly=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M21 19v2h-2v-2h2zm-4 0v2h-2v-2h2zm-4 0v2h-2v-2h2zm-4 0v2H7v-2h2zm-4 0v2H3v-2h2zm16-4v2h-2v-2h2zM5 15v2H3v-2h2zm0-4v2H3v-2h2zm11-8c2.687 0 4.882 2.124 4.995 4.783L21 8v5h-2V8c0-1.591-1.255-2.903-2.824-2.995L16 5h-5V3h5zM5 7v2H3V7h2zm0-4v2H3V3h2zm4 0v2H7V3h2z"}}],lv=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M9.683 7.562L12 9.88l6.374-6.375a2 2 0 0 1 2.829 0l.707.707L9.683 16.438a4 4 0 1 1-2.121-2.121L9.88 12 7.562 9.683a4 4 0 1 1 2.121-2.121zM6 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 12a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm9.535-6.587l6.375 6.376-.707.707a2 2 0 0 1-2.829 0l-4.96-4.961 2.12-2.122z"}}],lw=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M14 3c.552 0 1 .448 1 1v5h5c.552 0 1 .448 1 1v10c0 .552-.448 1-1 1H10c-.552 0-1-.448-1-1v-5H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h10zm-1 2H5v8h4v-3c0-.552.448-1 1-1h3V5z"}}],lE=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M11 3c.552 0 1 .448 1 1v2h5c.552 0 1 .448 1 1v5h2c.552 0 1 .448 1 1v7c0 .552-.448 1-1 1h-7c-.552 0-1-.448-1-1v-2H7c-.552 0-1-.448-1-1v-5H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h7zm5 5h-4v3c0 .552-.448 1-1 1H8v4h4v-3c0-.552.448-1 1-1h3V8z"}}],lS=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M2 11h2v2H2v-2zm4 0h12v2H6v-2zm14 0h2v2h-2v-2z"}}],lx=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M9.583 17.321C8.553 16.227 8 15 8 13.011c0-3.5 2.457-6.637 6.03-8.188l.893 1.378c-3.335 1.804-3.987 4.145-4.247 5.621.537-.278 1.24-.375 1.929-.311 1.804.167 3.226 1.648 3.226 3.489a3.5 3.5 0 0 1-3.5 3.5c-1.073 0-2.099-.49-2.748-1.179z"}}],l_=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M14.417 6.679C15.447 7.773 16 9 16 10.989c0 3.5-2.457 6.637-6.03 8.188l-.893-1.378c3.335-1.804 3.987-4.145 4.247-5.621-.537.278-1.24.375-1.929.311C9.591 12.322 8.17 10.841 8.17 9a3.5 3.5 0 0 1 3.5-3.5c1.073 0 2.099.49 2.748 1.179z"}}],lk=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M19 3l4 5h-3v12h-2V8h-3l4-5zm-5 15v2H3v-2h11zm0-7v2H3v-2h11zm-2-7v2H3V4h9z"}}],lA=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 4v12h3l-4 5-4-5h3V4h2zm-8 14v2H3v-2h9zm2-7v2H3v-2h11zm0-7v2H3V4h11z"}}],lT=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4 9v4h16V9h2v5a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V9h2z"}}],lC=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M17.5 2.5L23 12l-5.5 9.5h-11L1 12l5.5-9.5h11zm-1.153 2H7.653L3.311 12l4.342 7.5h8.694l4.342-7.5-4.342-7.5zM11 15h2v2h-2v-2zm0-8h2v6h-2V7z"}}],lR=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 3c.552 0 1 .448 1 1v16c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h16zm-9 2H5v14h6v-4h2v4h6V5h-6v4h-2V5zm4 4l3 3-3 3v-2H9v2l-3-3 3-3v2h6V9z"}}],lD=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 3c.552 0 1 .448 1 1v16c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h16zm-1 2H5v5.999L9 11v2H5v6h14v-6h-4v-2l4-.001V5zm-7 1l3 3h-2v6h2l-3 3-3-3h2V9H9l3-3z"}}],lO=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M13 9h-2V6H5V4h14v2h-6v3zm0 6v5h-2v-5h2zM3 11h18v2H3v-2z"}}],lI=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17.154 14c.23.516.346 1.09.346 1.72 0 1.342-.524 2.392-1.571 3.147C14.88 19.622 13.433 20 11.586 20c-1.64 0-3.263-.381-4.87-1.144V16.6c1.52.877 3.075 1.316 4.666 1.316 2.551 0 3.83-.732 3.839-2.197a2.21 2.21 0 0 0-.648-1.603l-.12-.117H3v-2h18v2h-3.846zm-4.078-3H7.629a4.086 4.086 0 0 1-.481-.522C6.716 9.92 6.5 9.246 6.5 8.452c0-1.236.466-2.287 1.397-3.153C8.83 4.433 10.271 4 12.222 4c1.471 0 2.879.328 4.222.984v2.152c-1.2-.687-2.515-1.03-3.946-1.03-2.48 0-3.719.782-3.719 2.346 0 .42.218.786.654 1.099.436.313.974.562 1.613.75.62.18 1.297.414 2.03.699z"}}],lN=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 6v13H9V6H3V4h14v2h-6zm8.55 10.58a.8.8 0 1 0-1.32-.36l-1.154.33A2.001 2.001 0 0 1 19 14a2 2 0 0 1 1.373 3.454L18.744 19H21v1h-4v-1l2.55-2.42z"}}],lM=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5.596 4L10.5 9.928 15.404 4H18l-6.202 7.497L18 18.994V19h-2.59l-4.91-5.934L5.59 19H3v-.006l6.202-7.497L3 4h2.596zM21.55 16.58a.8.8 0 1 0-1.32-.36l-1.155.33A2.001 2.001 0 0 1 21 14a2 2 0 0 1 1.373 3.454L20.744 19H23v1h-4v-1l2.55-2.42z"}}],lL=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5 11h14v2H5z"}}],lP=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 7v13H9V7H3V5h12v2h-4zm8.55-.42a.8.8 0 1 0-1.32-.36l-1.154.33A2.001 2.001 0 0 1 19 4a2 2 0 0 1 1.373 3.454L18.744 9H21v1h-4V9l2.55-2.42z"}}],lF=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5.596 5l4.904 5.928L15.404 5H18l-6.202 7.497L18 19.994V20h-2.59l-4.91-5.934L5.59 20H3v-.006l6.202-7.497L3 5h2.596zM21.55 6.58a.8.8 0 1 0-1.32-.36l-1.155.33A2.001 2.001 0 0 1 21 4a2 2 0 0 1 1.373 3.454L20.744 9H23v1h-4V9l2.55-2.42z"}}],lB=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M13 10v4h6v-4h-6zm-2 0H5v4h6v-4zm2 9h6v-3h-6v3zm-2 0v-3H5v3h6zm2-14v3h6V5h-6zm-2 0H5v3h6V5zM4 3h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z"}}],lU=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4 8h16V5H4v3zm10 11v-9h-4v9h4zm2 0h4v-9h-4v9zm-8 0v-9H4v9h4zM3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z"}}],lz=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 5v10H9v-4a4 4 0 1 1 0-8h8v2h-2v10h-2V5h-2zM9 5a2 2 0 1 0 0 4V5zm8 12v-2.5l4 3.5-4 3.5V19H5v-2h12z"}}],lj=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 5v10H9v-4a4 4 0 1 1 0-8h8v2h-2v10h-2V5h-2zM9 5a2 2 0 1 0 0 4V5zM7 17h12v2H7v2.5L3 18l4-3.5V17z"}}],l$=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7 17h10v-2.5l3.5 3.5-3.5 3.5V19H7v2.5L3.5 18 7 14.5V17zm6-11v9h-2V6H5V4h14v2h-6z"}}],lH=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15 18h1.5a2.5 2.5 0 1 0 0-5H3v-2h13.5a4.5 4.5 0 1 1 0 9H15v2l-4-3 4-3v2zM3 4h18v2H3V4zm6 14v2H3v-2h6z"}}],lV=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M13 6v15h-2V6H5V4h14v2z"}}],lG=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18.5 10l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16.5 10h2zM10 2v2h6v2h-1.968a18.222 18.222 0 0 1-3.62 6.301 14.864 14.864 0 0 0 2.336 1.707l-.751 1.878A17.015 17.015 0 0 1 9 13.725a16.676 16.676 0 0 1-6.201 3.548l-.536-1.929a14.7 14.7 0 0 0 5.327-3.042A18.078 18.078 0 0 1 4.767 8h2.24A16.032 16.032 0 0 0 9 10.877a16.165 16.165 0 0 0 2.91-4.876L2 6V4h6V2h2zm7.5 10.885L16.253 16h2.492L17.5 12.885z"}}],lq=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5 15v2a2 2 0 0 0 1.85 1.995L7 19h3v2H7a4 4 0 0 1-4-4v-2h2zm13-5l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16 10h2zm-1 2.885L15.753 16h2.492L17 12.885zM8 2v2h4v7H8v3H6v-3H2V4h4V2h2zm9 1a4 4 0 0 1 4 4v2h-2V7a2 2 0 0 0-2-2h-3V3h3zM6 6H4v3h2V6zm4 0H8v3h2V6z"}}],lW=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 3v9a4 4 0 1 0 8 0V3h2v9a6 6 0 1 1-12 0V3h2zM4 20h16v2H4v-2z"}}],lK=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4 19h16v-7h2v8a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-8h2v7zM14 9v6h-4V9H5l7-7 7 7h-5z"}}],lY=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 3.993C3 3.445 3.445 3 3.993 3h16.014c.548 0 .993.445.993.993v16.014a.994.994 0 0 1-.993.993H3.993A.994.994 0 0 1 3 20.007V3.993zM5 5v14h14V5H5zm5.622 3.415l4.879 3.252a.4.4 0 0 1 0 .666l-4.88 3.252a.4.4 0 0 1-.621-.332V8.747a.4.4 0 0 1 .622-.332z"}}],lZ=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 21v-2h3.662l1.234-7H5v-2h3.249l.881-5H4V3h16v2h-8.839l-.882 5H18v9h3v2H3zm13-9H9.927l-1.235 7H16v-7z"}}],lX=o(99601);let lJ=f.createContext(null);var lQ=lJ;function l0(){let n=f.useContext(lQ);return n}let l1="function"==typeof Symbol&&Symbol.for;var l2=l1?Symbol.for("mui.nested"):"__THEME_NESTED__";function l3(n,i){if("function"==typeof i){let o=i(n);return o}return(0,g.Z)({},n,i)}var l5=function(n){let{children:i,theme:o}=n,a=l0(),s=f.useMemo(()=>{let n=null===a?o:l3(a,o);return null!=n&&(n[l2]=null!==a),n},[o,a]);return(0,n3.jsx)(lQ.Provider,{value:s,children:i})};let l4={};function l6(n,i,o,a=!1){return f.useMemo(()=>{let s=n&&i[n]||i;if("function"==typeof o){let l=o(s),u=n?(0,g.Z)({},i,{[n]:l}):l;return a?()=>u:u}return n?(0,g.Z)({},i,{[n]:o}):(0,g.Z)({},i,o)},[n,i,o,a])}var l8=function(n){let{children:i,theme:o,themeId:a}=n,s=nR(l4),l=l0()||l4,u=l6(a,s,o),c=l6(a,l,o,!0);return(0,n3.jsx)(l5,{theme:c,children:(0,n3.jsx)(P.T.Provider,{value:u,children:i})})};let l9=["theme"];function l7(n){let{theme:i}=n,o=(0,m.Z)(n,l9),a=i[n_];return(0,n3.jsx)(l8,(0,g.Z)({},o,{themeId:a?n_:void 0,theme:a||i}))}var ue=o(44573),ut=o(31026);let un=tP();var ur=un;let ui=["component","direction","spacing","divider","children","className","useFlexGap"],uo=ty(),ua=ur("div",{name:"MuiStack",slot:"Root",overridesResolver:(n,i)=>i.root});function us(n){return nL({props:n,name:"MuiStack",defaultTheme:uo})}function ul(n,i){let o=f.Children.toArray(n).filter(Boolean);return o.reduce((n,a,s)=>(n.push(a),s({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[n],uc=({ownerState:n,theme:i})=>{let o=(0,g.Z)({display:"flex",flexDirection:"column"},eo({theme:i},ec({values:n.direction,breakpoints:i.breakpoints.values}),n=>({flexDirection:n})));if(n.spacing){let a=ek(i),s=Object.keys(i.breakpoints.values).reduce((i,o)=>(("object"==typeof n.spacing&&null!=n.spacing[o]||"object"==typeof n.direction&&null!=n.direction[o])&&(i[o]=!0),i),{}),l=ec({values:n.direction,base:s}),u=ec({values:n.spacing,base:s});"object"==typeof l&&Object.keys(l).forEach((n,i,o)=>{let a=l[n];if(!a){let s=i>0?l[o[i-1]]:"column";l[n]=s}});let c=(i,o)=>n.useFlexGap?{gap:eA(a,i)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${uu(o?l[o]:n.direction)}`]:eA(a,i)}};o=X(o,eo({theme:i},u,c))}return el(i.breakpoints,o)};function ud(n={}){let{createStyledComponent:i=ua,useThemeProps:o=us,componentName:a="MuiStack"}=n,s=()=>{let n={root:["root"]};return v(n,n=>iO(a,n),{})},l=i(uc),u=f.forwardRef(function(n,i){let a=o(n),u=oA(a),{component:c="div",direction:d="column",spacing:p=0,divider:f,children:h,className:b,useFlexGap:v=!1}=u,w=(0,m.Z)(u,ui),E={direction:d,spacing:p,useFlexGap:v},S=s();return(0,n3.jsx)(l,(0,g.Z)({as:c,ownerState:E,ref:i,className:y(S.root,b)},w,{children:f?ul(h,f):h}))});return u}let up=ud({createStyledComponent:nT("div",{name:"MuiStack",slot:"Root",overridesResolver:(n,i)=>i.root}),useThemeProps:n=>nP({props:n,name:"MuiStack"})});var uf=up;function uh(n,i){return(0,ag.mf)(n)?n(i):n}function um(n){return(0,ag.HD)(n[0])}function ug(n,i){var o;return(0,ag.HD)(n)?n:(0,ag.kJ)(n)?um(n)?n[0]??"":(null==(o=n.find(n=>(0,ag.Xy)(n.attrs,i))??n[0])?void 0:o.shortcut)??"":n.shortcut}var ub={title:n=>(0,ag.kC)(n),upper:n=>n.toLocaleUpperCase(),lower:n=>n.toLocaleLowerCase()};function uy(n,i){let{casing:o="title",namedAsSymbol:a=!1,modifierAsSymbol:s=!0,separator:l=" ",t:u}=i,c=(0,ay.Jv)(n),d=[],p=ub[o];for(let f of c){if("char"===f.type){d.push(p(f.key));continue}if("named"===f.type){let h=!0===a||(0,ag.kJ)(a)&&(0,ag.q9)(a,f.key)?f.symbol??u(f.i18n):u(f.i18n);d.push(p(h));continue}let m=!0===s||(0,ag.kJ)(s)&&(0,ag.q9)(s,f.key)?f.symbol:u(f.i18n);d.push(p(m))}return d.join(l)}var uv=({commandName:n,active:i,enabled:o,attrs:a})=>{let{t:s}=(0,ab.QT)(),{getCommandOptions:l}=(0,ab.z8)(),u=l(n),{description:c,label:d,icon:p,shortcut:h}=u||{},m=(0,f.useMemo)(()=>({active:i,attrs:a,enabled:o,t:s}),[i,a,o,s]),g=(0,f.useMemo)(()=>{if(h)return uy(ug(h,a??{}),{t:s,separator:""})},[h,a,s]);return(0,f.useMemo)(()=>({description:uh(c,m),label:uh(d,m),icon:uh(p,m),shortcut:g}),[m,c,d,p,g])},uw={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},uE=(0,f.createContext)(uw);function uS(n){return n.map((n,i)=>(0,f.createElement)(n.tag,{key:i,...n.attr},uS(n.child??[])))}uE.Provider;var ux=n=>{let{name:i}=n;return f.createElement(u_,{...n},uS(p[i]))},u_=n=>{let i=i=>{let o;let a=n.size??i.size??"1em";i.className&&(o=i.className),n.className&&(o=(o?`${o} `:"")+n.className);let{title:s,...l}=n;return f.createElement("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",...i.attr,...l,className:o,style:{color:n.color??i.color,...i.style,...n.style},height:a,width:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},s&&f.createElement("title",null,s),n.children)};return f.createElement(uE.Consumer,null,i)},uk=n=>!!(0,ag.PO)(n)&&!!n.name,uA=({icon:n})=>(0,ag.HD)(n)?f.createElement(ux,{name:n,size:"1rem"}):n,uT=({icon:n,children:i})=>{if(!uk(n))return f.createElement(f.Fragment,null,i);let{sub:o,sup:a}=n,s=o??a,l=void 0!==o;return void 0===s?f.createElement(f.Fragment,null,i):f.createElement(aI,{anchorOrigin:{vertical:l?"bottom":"top",horizontal:"right"},badgeContent:s,sx:{"& > .MuiBadge-badge":{bgcolor:"background.paper",color:"text.secondary",minWidth:12,height:12,margin:"2px 0",padding:"1px"}}},i)},uC=({commandName:n,active:i=!1,enabled:o,attrs:a,onSelect:s,onChange:l,icon:u,displayShortcut:c=!0,"aria-label":d,label:p,...h})=>{let m=(0,f.useCallback)((n,i)=>{s(),null==l||l(n,i)},[s,l]),g=(0,f.useCallback)(n=>{n.preventDefault()},[]),b=uv({commandName:n,active:i,enabled:o,attrs:a}),y=null;b.icon&&(y=(0,ag.HD)(b.icon)?b.icon:b.icon.name);let v=d??b.label??"",w=p??v,E=c&&b.shortcut?` (${b.shortcut})`:"";return f.createElement(ox,{title:`${w}${E}`},f.createElement(oN,{component:"span",sx:{"&:not(:first-of-type)":{marginLeft:"-1px"}}},f.createElement(am,{"aria-label":v,selected:i,disabled:!o,onMouseDown:g,color:"primary",size:"small",sx:{padding:"6px 12px","&.Mui-selected":{backgroundColor:"primary.main",color:"primary.contrastText"},"&.Mui-selected:hover":{backgroundColor:"primary.dark",color:"primary.contrastText"},"&:not(:first-of-type)":{borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-of-type)":{borderTopRightRadius:0,borderBottomRightRadius:0}},...h,value:n,onChange:m},f.createElement(uT,{icon:b.icon},f.createElement(uA,{icon:u??y})))))},uR=n=>{let{toggleBlockquote:i}=(0,ab.xd)(),o=(0,f.useCallback)(()=>{i.enabled()&&i()},[i]),a=(0,ab.tZ)().blockquote(),s=i.enabled();return f.createElement(uC,{...n,commandName:"toggleBlockquote",active:a,enabled:s,onSelect:o})},uD=n=>{let{toggleBold:i}=(0,ab.xd)(),o=(0,f.useCallback)(()=>{i.enabled()&&i()},[i]),a=(0,ab.tZ)().bold(),s=i.enabled();return f.createElement(uC,{...n,commandName:"toggleBold",active:a,enabled:s,onSelect:o})},uO=n=>{let{toggleBulletList:i}=(0,ab.xd)(),o=(0,f.useCallback)(()=>{i.enabled()&&i()},[i]),a=(0,ab.tZ)().bulletList(),s=i.enabled();return f.createElement(uC,{...n,commandName:"toggleBulletList",active:a,enabled:s,onSelect:o})},uI=({attrs:n={},...i})=>{let{toggleCodeBlock:o}=(0,ab.xd)(),a=(0,f.useCallback)(()=>{o.enabled(n)&&o(n)},[o,n]),s=(0,ab.tZ)().codeBlock(),l=o.enabled(n);return f.createElement(uC,{...i,commandName:"toggleCodeBlock",active:s,enabled:l,attrs:n,onSelect:a})},uN=({attrs:n,...i})=>{let{toggleHeading:o}=(0,ab.xd)(),a=(0,f.useCallback)(()=>{o.enabled(n)&&o(n)},[o,n]),s=(0,ab.tZ)().heading(n),l=o.enabled(n);return f.createElement(uC,{...i,commandName:"toggleHeading",active:s,enabled:l,attrs:n,onSelect:a})},uM=n=>{let{toggleItalic:i}=(0,ab.xd)(),o=(0,f.useCallback)(()=>{i.enabled()&&i()},[i]),a=(0,ab.tZ)().italic(),s=i.enabled();return f.createElement(uC,{...n,commandName:"toggleItalic",active:a,enabled:s,onSelect:o})},uL=n=>{let{toggleOrderedList:i}=(0,ab.xd)(),o=(0,f.useCallback)(()=>{i.enabled()&&i()},[i]),a=(0,ab.tZ)().orderedList(),s=i.enabled();return f.createElement(uC,{...n,commandName:"toggleOrderedList",active:a,enabled:s,onSelect:o})},uP=n=>{let{toggleStrike:i}=(0,ab.xd)(),o=(0,f.useCallback)(()=>{i.enabled()&&i()},[i]),a=(0,ab.tZ)().strike(),s=i.enabled();return f.createElement(uC,{...n,commandName:"toggleStrike",active:a,enabled:s,onSelect:o})};"object"==typeof lX&&lX.__esModule&&lX.default&&lX.default;var uF=(0,f.createContext)({});function uB(n={}){let i=(0,f.useContext)(uF),o=(0,f.useMemo)(()=>(0,ag.RH)(i,n.theme??{}),[i,n.theme]),a=(0,f.useMemo)(()=>(0,ut.Ie)(o).styles,[o]),s=(0,ue.cx)(ut.C6,n.className);return(0,f.useMemo)(()=>({style:a,className:s,theme:o}),[a,s,o])}var uU=n=>{var i,o,a,s,l,u,c,d;let{children:p,as:h="div"}=n,{theme:m,style:g,className:b}=uB({theme:n.theme??ut.U9}),y=nE({palette:{primary:{main:(null==(i=m.color)?void 0:i.primary)??ut.U9.color.primary,dark:(null==(a=null==(o=m.color)?void 0:o.hover)?void 0:a.primary)??ut.U9.color.hover.primary,contrastText:(null==(s=m.color)?void 0:s.primaryText)??ut.U9.color.primaryText},secondary:{main:(null==(l=m.color)?void 0:l.secondary)??ut.U9.color.secondary,dark:(null==(c=null==(u=m.color)?void 0:u.hover)?void 0:c.secondary)??ut.U9.color.hover.secondary,contrastText:(null==(d=m.color)?void 0:d.secondaryText)??ut.U9.color.secondaryText}}});return f.createElement(l7,{theme:y},f.createElement(uF.Provider,{value:m},f.createElement(h,{style:g,className:b},p)))},uz=n=>f.createElement(uf,{direction:"row",spacing:1,sx:{backgroundColor:"background.paper",overflowX:"auto"},...n})},93282:function(n,i,o){"use strict";o.d(i,{PG:function(){return oH},O1:function(){return oG},tZ:function(){return oC},xd:function(){return oR},z8:function(){return oD},QT:function(){return oI},iF:function(){return o$}});var a,s,l,u,c,d,p,f,h,m,g,b,y,v,w,E,S,x,_,k,A,T,C,R={};o.r(R),o.d(R,{_in:function(){return eb},af:function(){return ey},ak:function(){return ev},am:function(){return ew},an:function(){return eE},ar:function(){return eS},ars:function(){return ex},as:function(){return e_},asa:function(){return ek},ast:function(){return eA},az:function(){return eT},be:function(){return eC},bem:function(){return eR},bez:function(){return eD},bg:function(){return eO},bho:function(){return eI},bm:function(){return eN},bn:function(){return eM},bo:function(){return eL},br:function(){return eP},brx:function(){return eF},bs:function(){return eB},ca:function(){return eU},ce:function(){return ez},ceb:function(){return ej},cgg:function(){return e$},chr:function(){return eH},ckb:function(){return eV},cs:function(){return eG},cy:function(){return eq},da:function(){return eW},de:function(){return eK},dsb:function(){return eY},dv:function(){return eZ},dz:function(){return eX},ee:function(){return eJ},el:function(){return eQ},en:function(){return e0},eo:function(){return e1},es:function(){return e2},et:function(){return e3},eu:function(){return e5},fa:function(){return e4},ff:function(){return e6},fi:function(){return e8},fil:function(){return e9},fo:function(){return e7},fr:function(){return te},fur:function(){return tt},fy:function(){return tn},ga:function(){return tr},gd:function(){return ti},gl:function(){return to},gsw:function(){return ta},gu:function(){return ts},guw:function(){return tl},gv:function(){return tu},ha:function(){return tc},haw:function(){return td},he:function(){return tp},hi:function(){return tf},hr:function(){return th},hsb:function(){return tm},hu:function(){return tg},hy:function(){return tb},ia:function(){return ty},id:function(){return tv},ig:function(){return tw},ii:function(){return tE},io:function(){return tS},is:function(){return tx},it:function(){return t_},iu:function(){return tk},iw:function(){return tA},ja:function(){return tT},jbo:function(){return tC},jgo:function(){return tR},ji:function(){return tD},jmc:function(){return tO},jv:function(){return tI},jw:function(){return tN},ka:function(){return tM},kab:function(){return tL},kaj:function(){return tP},kcg:function(){return tF},kde:function(){return tB},kea:function(){return tU},kk:function(){return tz},kkj:function(){return tj},kl:function(){return t$},km:function(){return tH},kn:function(){return tV},ko:function(){return tG},ks:function(){return tq},ksb:function(){return tW},ksh:function(){return tK},ku:function(){return tY},kw:function(){return tZ},ky:function(){return tX},lag:function(){return tJ},lb:function(){return tQ},lg:function(){return t0},lkt:function(){return t1},ln:function(){return t2},lo:function(){return t3},lt:function(){return t5},lv:function(){return t4},mas:function(){return t6},mg:function(){return t8},mgo:function(){return t9},mk:function(){return t7},ml:function(){return ne},mn:function(){return nt},mo:function(){return nn},mr:function(){return nr},ms:function(){return ni},mt:function(){return no},my:function(){return na},nah:function(){return ns},naq:function(){return nl},nb:function(){return nu},nd:function(){return nc},ne:function(){return nd},nl:function(){return np},nn:function(){return nf},nnh:function(){return nh},no:function(){return nm},nqo:function(){return ng},nr:function(){return nb},nso:function(){return ny},ny:function(){return nv},nyn:function(){return nw},om:function(){return nE},or:function(){return nS},os:function(){return nx},osa:function(){return n_},pa:function(){return nk},pap:function(){return nA},pl:function(){return nT},prg:function(){return nC},ps:function(){return nR},pt:function(){return nD},pt_PT:function(){return nO},rm:function(){return nI},ro:function(){return nN},rof:function(){return nM},root:function(){return nL},ru:function(){return nP},rwk:function(){return nF},sah:function(){return nB},saq:function(){return nU},sc:function(){return nz},scn:function(){return nj},sd:function(){return n$},sdh:function(){return nH},se:function(){return nV},seh:function(){return nG},ses:function(){return nq},sg:function(){return nW},sh:function(){return nK},shi:function(){return nY},si:function(){return nZ},sk:function(){return nX},sl:function(){return nJ},sma:function(){return nQ},smi:function(){return n0},smj:function(){return n1},smn:function(){return n2},sms:function(){return n3},sn:function(){return n5},so:function(){return n4},sq:function(){return n6},sr:function(){return n8},ss:function(){return n9},ssy:function(){return n7},st:function(){return re},su:function(){return rt},sv:function(){return rn},sw:function(){return rr},syr:function(){return ri},ta:function(){return ro},te:function(){return ra},teo:function(){return rs},th:function(){return rl},ti:function(){return ru},tig:function(){return rc},tk:function(){return rd},tl:function(){return rp},tn:function(){return rf},to:function(){return rh},tr:function(){return rm},ts:function(){return rg},tzm:function(){return rb},ug:function(){return ry},uk:function(){return rv},ur:function(){return rw},uz:function(){return rE},ve:function(){return rS},vi:function(){return rx},vo:function(){return r_},vun:function(){return rk},wa:function(){return rA},wae:function(){return rT},wo:function(){return rC},xh:function(){return rR},xog:function(){return rD},yi:function(){return rO},yo:function(){return rI},yue:function(){return rN},zh:function(){return rM},zu:function(){return rL}});var D=o(67294),O=o(57555),I=o(378);function N(n){let i=(0,D.createContext)(null),o=M(i),a=o=>{let a=n(o);return D.createElement(i.Provider,{value:a},o.children)};return[a,o,i]}function M(n){return(i,o)=>{let a=(0,D.useContext)(n),s=L(a);if(!a)throw Error("`useContextHook` must be placed inside the `Provider` returned by the `createContextState` method");if(!i)return a;if("function"!=typeof i)throw TypeError("invalid arguments passed to `useContextHook`. This hook must be called with zero arguments, a getter function or a path string.");let l=i(a);if(!s||!o)return l;let u=i(s);return o(u,l)?u:l}}function L(n){let i=(0,D.useRef)();return P(()=>{i.current=n}),i.current}var P="undefined"!=typeof document?D.useLayoutEffect:D.useEffect;function F(n,i){return N(o=>{let a=(0,D.useRef)(null),s=(0,D.useRef)(),l=null==i?void 0:i(o),[u,c]=(0,D.useState)(()=>n({get:B(a),set:U(s),previousContext:void 0,props:o,state:l})),d=[...Object.values(o),l];return(0,D.useEffect)(()=>{0!==d.length&&c(i=>n({get:B(a),set:U(s),previousContext:i,props:o,state:l}))},d),a.current=u,s.current=c,u})}function B(n){return i=>{if(!n.current)throw Error("`get` called outside of function scope. `get` can only be called within a function.");if(!i)return n.current;if("function"!=typeof i)throw TypeError("Invalid arguments passed to `useContextHook`. The hook must be called with zero arguments, a getter function or a path string.");return i(n.current)}}function U(n){return i=>{if(!n.current)throw Error("`set` called outside of function scope. `set` can only be called within a function.");n.current(n=>({...n,..."function"==typeof i?i(n):i}))}}var z=o(93012);let j=n=>"string"==typeof n,$=n=>"function"==typeof n,H=new Map,V="en";function G(n){let i=Array.isArray(n)?n:[n];return[...i,V]}function q(n,i,o){let a=G(n),s=Y(()=>Z("date",a,o),()=>new Intl.DateTimeFormat(a,o));return s.format(j(i)?new Date(i):i)}function W(n,i,o){let a=G(n),s=Y(()=>Z("number",a,o),()=>new Intl.NumberFormat(a,o));return s.format(i)}function K(n,i,o,{offset:a=0,...s}){let l=G(n),u=i?Y(()=>Z("plural-ordinal",l),()=>new Intl.PluralRules(l,{type:"ordinal"})):Y(()=>Z("plural-cardinal",l),()=>new Intl.PluralRules(l,{type:"cardinal"}));return s[o]??s[u.select(o-a)]??s.other}function Y(n,i){let o=n(),a=H.get(o);return a||(a=i(),H.set(o,a)),a}function Z(n,i,o){let a=i.join("-");return`${n}-${a}-${JSON.stringify(o)}`}let X=/\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/g,J=(n,i,o={})=>{let a=i||n,s=n=>"object"==typeof n?n:o[n]||{style:n},l=(n,i)=>{let l=Object.keys(o).length?s("number"):void 0,u=W(a,n,l);return i.replace("#",u)};return{plural(n,i){let{offset:o=0}=i,s=K(a,!1,n,i);return l(n-o,s)},selectordinal(n,i){let{offset:o=0}=i,s=K(a,!0,n,i);return l(n-o,s)},select:Q,number:(n,i)=>W(a,n,s(i)),date:(n,i)=>q(a,n,s(i)),undefined:ee}},Q=(n,i)=>i[n]??i.other,ee=n=>n;function et(n,i,o){return(a={},s)=>{let l=J(i,o,s),u=n=>Array.isArray(n)?n.reduce((n,i)=>{if(j(i))return n+i;let[o,s,c]=i,d={};null!=c&&"object"==typeof c?Object.entries(c).forEach(([n,i])=>{d[n]=u(i)}):d=c;let p=l[s],f=p(a[o],d);return null==f?n:n+f},""):n,c=u(n);return j(c)&&X.test(c)?z(c.trim()):j(c)?c.trim():c?String(c):""}}var en=Object.defineProperty,er=(n,i,o)=>i in n?en(n,i,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[i]=o,ei=(n,i,o)=>(er(n,"symbol"!=typeof i?i+"":i,o),o);class eo{constructor(){ei(this,"_events",{})}on(n,i){var o;return(o=this._events)[n],o[n]=[],this._events[n].push(i),()=>this.removeListener(n,i)}removeListener(n,i){let o=this._getListeners(n);if(!o)return;let a=o.indexOf(i);~a&&o.splice(a,1)}emit(n,...i){let o=this._getListeners(n);o&&o.map(n=>n.apply(this,i))}_getListeners(n){let i=this._events[n];return!!Array.isArray(i)&&i}}var ea=Object.defineProperty,es=(n,i,o)=>i in n?ea(n,i,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[i]=o,el=(n,i,o)=>(es(n,"symbol"!=typeof i?i+"":i,o),o);class eu extends eo{constructor(n){super(),el(this,"_locale",""),el(this,"_locales"),el(this,"_localeData",{}),el(this,"_messages",{}),el(this,"_missing"),el(this,"t",this._.bind(this)),null!=n.missing&&(this._missing=n.missing),null!=n.messages&&this.load(n.messages),null!=n.localeData&&this.loadLocaleData(n.localeData),("string"==typeof n.locale||n.locales)&&this.activate(n.locale??V,n.locales)}get locale(){return this._locale}get locales(){return this._locales}get messages(){return this._messages[this._locale]??{}}get localeData(){return this._localeData[this._locale]??{}}_loadLocaleData(n,i){let o=this._localeData[n];o?Object.assign(o,i):this._localeData[n]=i}loadLocaleData(n,i){null!=i?this._loadLocaleData(n,i):Object.keys(n).forEach(i=>this._loadLocaleData(i,n[i])),this.emit("change")}_load(n,i){let o=this._messages[n];o?Object.assign(o,i):this._messages[n]=i}load(n,i){"string"==typeof n&&"object"==typeof i?this._load(n,i):Object.entries(n).forEach(([n,i])=>this._load(n,i)),this.emit("change")}loadAndActivate({locale:n,locales:i,messages:o}){this._locale=n,this._locales=i||void 0,this._messages[this._locale]=o,this.emit("change")}activate(n,i){this._locale=n,this._locales=i,this.emit("change")}_(n,i,o){let a=o?.message;j(n)||(i=n.values||i,a=n.message,n=n.id);let s=this.messages[n],l=void 0===s,u=this._missing;if(u&&l)return $(u)?u(this._locale,n):u;l&&this.emit("missing",{id:n,locale:this._locale});let c=s||a||n;return j(c)&&X.test(c)?JSON.parse(`"${c}"`):j(c)?c:et(c,this._locale,this._locales)(i,o?.formats)}date(n,i){return q(this._locales||this._locale,n,i)}number(n,i){return W(this._locales||this._locale,n,i)}}function ec(n={}){return new eu(n)}let ed=ec();function ep(n,i){return i?"other":1==n?"one":"other"}function ef(n,i){return i?"other":0==n||1==n?"one":"other"}function eh(n,i){var o=!String(n).split(".")[1];return i?"other":1==n&&o?"one":"other"}function em(n,i){return"other"}function eg(n,i){return i?"other":1==n?"one":2==n?"two":"other"}let eb=em,ey=ep,ev=ef;function ew(n,i){return i?"other":n>=0&&n<=1?"one":"other"}let eE=ep;function eS(n,i){var o=String(n).split("."),a=Number(o[0])==n&&o[0].slice(-2);return i?"other":0==n?"zero":1==n?"one":2==n?"two":a>=3&&a<=10?"few":a>=11&&a<=99?"many":"other"}function ex(n,i){var o=String(n).split("."),a=Number(o[0])==n&&o[0].slice(-2);return i?"other":0==n?"zero":1==n?"one":2==n?"two":a>=3&&a<=10?"few":a>=11&&a<=99?"many":"other"}function e_(n,i){return i?1==n||5==n||7==n||8==n||9==n||10==n?"one":2==n||3==n?"two":4==n?"few":6==n?"many":"other":n>=0&&n<=1?"one":"other"}let ek=ep,eA=eh;function eT(n,i){var o=String(n).split(".")[0],a=o.slice(-1),s=o.slice(-2),l=o.slice(-3);return i?1==a||2==a||5==a||7==a||8==a||20==s||50==s||70==s||80==s?"one":3==a||4==a||100==l||200==l||300==l||400==l||500==l||600==l||700==l||800==l||900==l?"few":0==o||6==a||40==s||60==s||90==s?"many":"other":1==n?"one":"other"}function eC(n,i){var o=String(n).split("."),a=Number(o[0])==n,s=a&&o[0].slice(-1),l=a&&o[0].slice(-2);return i?(2==s||3==s)&&12!=l&&13!=l?"few":"other":1==s&&11!=l?"one":s>=2&&s<=4&&(l<12||l>14)?"few":a&&0==s||s>=5&&s<=9||l>=11&&l<=14?"many":"other"}let eR=ep,eD=ep,eO=ep,eI=ef,eN=em;function eM(n,i){return i?1==n||5==n||7==n||8==n||9==n||10==n?"one":2==n||3==n?"two":4==n?"few":6==n?"many":"other":n>=0&&n<=1?"one":"other"}let eL=em;function eP(n,i){var o=String(n).split("."),a=Number(o[0])==n,s=a&&o[0].slice(-1),l=a&&o[0].slice(-2),u=a&&o[0].slice(-6);return i?"other":1==s&&11!=l&&71!=l&&91!=l?"one":2==s&&12!=l&&72!=l&&92!=l?"two":(3==s||4==s||9==s)&&(l<10||l>19)&&(l<70||l>79)&&(l<90||l>99)?"few":0!=n&&a&&0==u?"many":"other"}let eF=ep;function eB(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"",l=!o[1],u=a.slice(-1),c=a.slice(-2),d=s.slice(-1),p=s.slice(-2);return i?"other":l&&1==u&&11!=c||1==d&&11!=p?"one":l&&u>=2&&u<=4&&(c<12||c>14)||d>=2&&d<=4&&(p<12||p>14)?"few":"other"}function eU(n,i){var o=!String(n).split(".")[1];return i?1==n||3==n?"one":2==n?"two":4==n?"few":"other":1==n&&o?"one":"other"}let ez=ep;function ej(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"",l=!o[1],u=a.slice(-1),c=s.slice(-1);return i?"other":l&&(1==a||2==a||3==a)||l&&4!=u&&6!=u&&9!=u||!l&&4!=c&&6!=c&&9!=c?"one":"other"}let e$=ep,eH=ep,eV=ep;function eG(n,i){var o=String(n).split("."),a=o[0],s=!o[1];return i?"other":1==n&&s?"one":a>=2&&a<=4&&s?"few":s?"other":"many"}function eq(n,i){return i?0==n||7==n||8==n||9==n?"zero":1==n?"one":2==n?"two":3==n||4==n?"few":5==n||6==n?"many":"other":0==n?"zero":1==n?"one":2==n?"two":3==n?"few":6==n?"many":"other"}function eW(n,i){var o=String(n).split("."),a=o[0],s=Number(o[0])==n;return i?"other":1!=n&&(s||0!=a&&1!=a)?"other":"one"}let eK=eh;function eY(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"",l=!o[1],u=a.slice(-2),c=s.slice(-2);return i?"other":l&&1==u||1==c?"one":l&&2==u||2==c?"two":l&&(3==u||4==u)||3==c||4==c?"few":"other"}let eZ=ep,eX=em,eJ=ep,eQ=ep;function e0(n,i){var o=String(n).split("."),a=!o[1],s=Number(o[0])==n,l=s&&o[0].slice(-1),u=s&&o[0].slice(-2);return i?1==l&&11!=u?"one":2==l&&12!=u?"two":3==l&&13!=u?"few":"other":1==n&&a?"one":"other"}let e1=ep,e2=ep,e3=eh,e5=ep;function e4(n,i){return i?"other":n>=0&&n<=1?"one":"other"}function e6(n,i){return i?"other":n>=0&&n<2?"one":"other"}let e8=eh;function e9(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"",l=!o[1],u=a.slice(-1),c=s.slice(-1);return i?1==n?"one":"other":l&&(1==a||2==a||3==a)||l&&4!=u&&6!=u&&9!=u||!l&&4!=c&&6!=c&&9!=c?"one":"other"}let e7=ep;function te(n,i){return i?1==n?"one":"other":n>=0&&n<2?"one":"other"}let tt=ep,tn=eh;function tr(n,i){var o=Number(String(n).split(".")[0])==n;return i?1==n?"one":"other":1==n?"one":2==n?"two":o&&n>=3&&n<=6?"few":o&&n>=7&&n<=10?"many":"other"}function ti(n,i){var o=Number(String(n).split(".")[0])==n;return i?1==n||11==n?"one":2==n||12==n?"two":3==n||13==n?"few":"other":1==n||11==n?"one":2==n||12==n?"two":o&&n>=3&&n<=10||o&&n>=13&&n<=19?"few":"other"}let to=eh,ta=ep;function ts(n,i){return i?1==n?"one":2==n||3==n?"two":4==n?"few":6==n?"many":"other":n>=0&&n<=1?"one":"other"}let tl=ef;function tu(n,i){var o=String(n).split("."),a=o[0],s=!o[1],l=a.slice(-1),u=a.slice(-2);return i?"other":s&&1==l?"one":s&&2==l?"two":s&&(0==u||20==u||40==u||60==u||80==u)?"few":s?"other":"many"}let tc=ep,td=ep;function tp(n,i){var o=String(n).split("."),a=o[0],s=!o[1],l=Number(o[0])==n,u=l&&o[0].slice(-1);return i?"other":1==n&&s?"one":2==a&&s?"two":s&&(n<0||n>10)&&l&&0==u?"many":"other"}function tf(n,i){return i?1==n?"one":2==n||3==n?"two":4==n?"few":6==n?"many":"other":n>=0&&n<=1?"one":"other"}function th(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"",l=!o[1],u=a.slice(-1),c=a.slice(-2),d=s.slice(-1),p=s.slice(-2);return i?"other":l&&1==u&&11!=c||1==d&&11!=p?"one":l&&u>=2&&u<=4&&(c<12||c>14)||d>=2&&d<=4&&(p<12||p>14)?"few":"other"}function tm(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"",l=!o[1],u=a.slice(-2),c=s.slice(-2);return i?"other":l&&1==u||1==c?"one":l&&2==u||2==c?"two":l&&(3==u||4==u)||3==c||4==c?"few":"other"}function tg(n,i){return i?1==n||5==n?"one":"other":1==n?"one":"other"}function tb(n,i){return i?1==n?"one":"other":n>=0&&n<2?"one":"other"}let ty=eh,tv=em,tw=em,tE=em,tS=eh;function tx(n,i){var o=String(n).split("."),a=o[0],s=Number(o[0])==n,l=a.slice(-1),u=a.slice(-2);return i?"other":s&&1==l&&11!=u||!s?"one":"other"}function t_(n,i){var o=!String(n).split(".")[1];return i?11==n||8==n||80==n||800==n?"many":"other":1==n&&o?"one":"other"}let tk=eg;function tA(n,i){var o=String(n).split("."),a=o[0],s=!o[1],l=Number(o[0])==n,u=l&&o[0].slice(-1);return i?"other":1==n&&s?"one":2==a&&s?"two":s&&(n<0||n>10)&&l&&0==u?"many":"other"}let tT=em,tC=em,tR=ep,tD=eh,tO=ep,tI=em,tN=em;function tM(n,i){var o=String(n).split(".")[0],a=o.slice(-2);return i?1==o?"one":0==o||a>=2&&a<=20||40==a||60==a||80==a?"many":"other":1==n?"one":"other"}function tL(n,i){return i?"other":n>=0&&n<2?"one":"other"}let tP=ep,tF=ep,tB=em,tU=em;function tz(n,i){var o=String(n).split("."),a=Number(o[0])==n,s=a&&o[0].slice(-1);return i?6==s||9==s||a&&0==s&&0!=n?"many":"other":1==n?"one":"other"}let tj=ep,t$=ep,tH=em;function tV(n,i){return i?"other":n>=0&&n<=1?"one":"other"}let tG=em,tq=ep,tW=ep;function tK(n,i){return i?"other":0==n?"zero":1==n?"one":"other"}let tY=ep;function tZ(n,i){var o=String(n).split("."),a=Number(o[0])==n,s=a&&o[0].slice(-2),l=a&&o[0].slice(-3),u=a&&o[0].slice(-5),c=a&&o[0].slice(-6);return i?a&&n>=1&&n<=4||s>=1&&s<=4||s>=21&&s<=24||s>=41&&s<=44||s>=61&&s<=64||s>=81&&s<=84?"one":5==n||5==s?"many":"other":0==n?"zero":1==n?"one":2==s||22==s||42==s||62==s||82==s||a&&0==l&&(u>=1e3&&u<=2e4||4e4==u||6e4==u||8e4==u)||0!=n&&1e5==c?"two":3==s||23==s||43==s||63==s||83==s?"few":1!=n&&(1==s||21==s||41==s||61==s||81==s)?"many":"other"}let tX=ep;function tJ(n,i){var o=String(n).split(".")[0];return i?"other":0==n?"zero":(0==o||1==o)&&0!=n?"one":"other"}let tQ=ep,t0=ep,t1=em,t2=ef;function t3(n,i){return i&&1==n?"one":"other"}function t5(n,i){var o=String(n).split("."),a=o[1]||"",s=Number(o[0])==n,l=s&&o[0].slice(-1),u=s&&o[0].slice(-2);return i?"other":1==l&&(u<11||u>19)?"one":l>=2&&l<=9&&(u<11||u>19)?"few":0!=a?"many":"other"}function t4(n,i){var o=String(n).split("."),a=o[1]||"",s=a.length,l=Number(o[0])==n,u=l&&o[0].slice(-1),c=l&&o[0].slice(-2),d=a.slice(-2),p=a.slice(-1);return i?"other":l&&0==u||c>=11&&c<=19||2==s&&d>=11&&d<=19?"zero":1==u&&11!=c||2==s&&1==p&&11!=d||2!=s&&1==p?"one":"other"}let t6=ep,t8=ef,t9=ep;function t7(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"",l=!o[1],u=a.slice(-1),c=a.slice(-2),d=s.slice(-1),p=s.slice(-2);return i?1==u&&11!=c?"one":2==u&&12!=c?"two":(7==u||8==u)&&17!=c&&18!=c?"many":"other":l&&1==u&&11!=c||1==d&&11!=p?"one":"other"}let ne=ep,nt=ep;function nn(n,i){var o=String(n).split("."),a=!o[1],s=Number(o[0])==n&&o[0].slice(-2);return i?1==n?"one":"other":1==n&&a?"one":!a||0==n||s>=2&&s<=19?"few":"other"}function nr(n,i){return i?1==n?"one":2==n||3==n?"two":4==n?"few":"other":1==n?"one":"other"}function ni(n,i){return i&&1==n?"one":"other"}function no(n,i){var o=String(n).split("."),a=Number(o[0])==n&&o[0].slice(-2);return i?"other":1==n?"one":0==n||a>=2&&a<=10?"few":a>=11&&a<=19?"many":"other"}let na=em,ns=ep,nl=eg,nu=ep,nc=ep;function nd(n,i){var o=Number(String(n).split(".")[0])==n;return i?o&&n>=1&&n<=4?"one":"other":1==n?"one":"other"}let np=eh,nf=ep,nh=ep,nm=ep,ng=em,nb=ep,ny=ef,nv=ep,nw=ep,nE=ep;function nS(n,i){var o=Number(String(n).split(".")[0])==n;return i?1==n||5==n||o&&n>=7&&n<=9?"one":2==n||3==n?"two":4==n?"few":6==n?"many":"other":1==n?"one":"other"}let nx=ep,n_=em,nk=ef,nA=ep;function nT(n,i){var o=String(n).split("."),a=o[0],s=!o[1],l=a.slice(-1),u=a.slice(-2);return i?"other":1==n&&s?"one":s&&l>=2&&l<=4&&(u<12||u>14)?"few":s&&1!=a&&(0==l||1==l)||s&&l>=5&&l<=9||s&&u>=12&&u<=14?"many":"other"}function nC(n,i){var o=String(n).split("."),a=o[1]||"",s=a.length,l=Number(o[0])==n,u=l&&o[0].slice(-1),c=l&&o[0].slice(-2),d=a.slice(-2),p=a.slice(-1);return i?"other":l&&0==u||c>=11&&c<=19||2==s&&d>=11&&d<=19?"zero":1==u&&11!=c||2==s&&1==p&&11!=d||2!=s&&1==p?"one":"other"}let nR=ep;function nD(n,i){var o=String(n).split(".")[0];return i?"other":0==o||1==o?"one":"other"}let nO=eh,nI=ep;function nN(n,i){var o=String(n).split("."),a=!o[1],s=Number(o[0])==n&&o[0].slice(-2);return i?1==n?"one":"other":1==n&&a?"one":!a||0==n||s>=2&&s<=19?"few":"other"}let nM=ep,nL=em;function nP(n,i){var o=String(n).split("."),a=o[0],s=!o[1],l=a.slice(-1),u=a.slice(-2);return i?"other":s&&1==l&&11!=u?"one":s&&l>=2&&l<=4&&(u<12||u>14)?"few":s&&0==l||s&&l>=5&&l<=9||s&&u>=11&&u<=14?"many":"other"}let nF=ep,nB=em,nU=ep;function nz(n,i){var o=!String(n).split(".")[1];return i?11==n||8==n||80==n||800==n?"many":"other":1==n&&o?"one":"other"}function nj(n,i){var o=!String(n).split(".")[1];return i?11==n||8==n||80==n||800==n?"many":"other":1==n&&o?"one":"other"}let n$=ep,nH=ep,nV=eg,nG=ep,nq=em,nW=em;function nK(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"",l=!o[1],u=a.slice(-1),c=a.slice(-2),d=s.slice(-1),p=s.slice(-2);return i?"other":l&&1==u&&11!=c||1==d&&11!=p?"one":l&&u>=2&&u<=4&&(c<12||c>14)||d>=2&&d<=4&&(p<12||p>14)?"few":"other"}function nY(n,i){var o=Number(String(n).split(".")[0])==n;return i?"other":n>=0&&n<=1?"one":o&&n>=2&&n<=10?"few":"other"}function nZ(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"";return i?"other":0==n||1==n||0==a&&1==s?"one":"other"}function nX(n,i){var o=String(n).split("."),a=o[0],s=!o[1];return i?"other":1==n&&s?"one":a>=2&&a<=4&&s?"few":s?"other":"many"}function nJ(n,i){var o=String(n).split("."),a=o[0],s=!o[1],l=a.slice(-2);return i?"other":s&&1==l?"one":s&&2==l?"two":s&&(3==l||4==l)||!s?"few":"other"}let nQ=eg,n0=eg,n1=eg,n2=eg,n3=eg,n5=ep,n4=ep;function n6(n,i){var o=String(n).split("."),a=Number(o[0])==n,s=a&&o[0].slice(-1),l=a&&o[0].slice(-2);return i?1==n?"one":4==s&&14!=l?"many":"other":1==n?"one":"other"}function n8(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"",l=!o[1],u=a.slice(-1),c=a.slice(-2),d=s.slice(-1),p=s.slice(-2);return i?"other":l&&1==u&&11!=c||1==d&&11!=p?"one":l&&u>=2&&u<=4&&(c<12||c>14)||d>=2&&d<=4&&(p<12||p>14)?"few":"other"}let n9=ep,n7=ep,re=ep,rt=em;function rn(n,i){var o=String(n).split("."),a=!o[1],s=Number(o[0])==n,l=s&&o[0].slice(-1),u=s&&o[0].slice(-2);return i?(1==l||2==l)&&11!=u&&12!=u?"one":"other":1==n&&a?"one":"other"}let rr=eh,ri=ep,ro=ep,ra=ep,rs=ep,rl=em,ru=ef,rc=ep;function rd(n,i){var o=String(n).split("."),a=Number(o[0])==n&&o[0].slice(-1);return i?6==a||9==a||10==n?"few":"other":1==n?"one":"other"}function rp(n,i){var o=String(n).split("."),a=o[0],s=o[1]||"",l=!o[1],u=a.slice(-1),c=s.slice(-1);return i?1==n?"one":"other":l&&(1==a||2==a||3==a)||l&&4!=u&&6!=u&&9!=u||!l&&4!=c&&6!=c&&9!=c?"one":"other"}let rf=ep,rh=em,rm=ep,rg=ep;function rb(n,i){var o=Number(String(n).split(".")[0])==n;return i?"other":0==n||1==n||o&&n>=11&&n<=99?"one":"other"}let ry=ep;function rv(n,i){var o=String(n).split("."),a=o[0],s=!o[1],l=Number(o[0])==n,u=l&&o[0].slice(-1),c=l&&o[0].slice(-2),d=a.slice(-1),p=a.slice(-2);return i?3==u&&13!=c?"few":"other":s&&1==d&&11!=p?"one":s&&d>=2&&d<=4&&(p<12||p>14)?"few":s&&0==d||s&&d>=5&&d<=9||s&&p>=11&&p<=14?"many":"other"}let rw=eh,rE=ep,rS=ep;function rx(n,i){return i&&1==n?"one":"other"}let r_=ep,rk=ep,rA=ef,rT=ep,rC=em,rR=ep,rD=ep,rO=eh,rI=em,rN=em,rM=em;function rL(n,i){return i?"other":n>=0&&n<=1?"one":"other"}var rP=Object.defineProperty,rF=Object.getOwnPropertyDescriptor,rB=Object.getOwnPropertyNames,rU=Object.prototype.hasOwnProperty,rz=(n,i,o,a)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let s of rB(i))rU.call(n,s)||s===o||rP(n,s,{get:()=>i[s],enumerable:!(a=rF(i,s))||a.enumerable});return n},rj=(n,i,o)=>(rz(n,i,"default"),o&&rz(o,i,"default")),r$=JSON.parse('{"extension.command.toggle-upper-case.label":[["case","select",{"upper":"Uppercase","lower":"Lowercase","capitalize":"Sentence case","smallCaps":"Small caps","other":"Text case"}]],"extension.table.column_count":[["count","plural",{"one":["#"," column"],"other":["#"," columns"]}]],"extension.table.row_count":[["count","plural",{"one":["#"," row"],"other":["#"," rows"]}]],"extension.command.toggle-columns.description":[["count","select",{"2":"Split the block into two columns","3":"Split the current block into three columns","4":"Split the current block into four columns","other":"Split the current block into multiple columns"}]],"extension.command.toggle-columns.label":[["count","select",{"2":"Two Column Block","3":"Three Column Block","4":"Four Column Block","other":"Multi Column Block"}]],"extension.command.set-text-direction.label":[["dir","select",{"ltr":"Left-To-Right","rtl":"Right-To-Left","other":"Reset Direction"}]],"extension.command.set-text-direction.description":[["dir","select",{"ltr":"Set the text direction from left to right","rtl":"Set the text direction from right to left","other":"Reset text direction"}]],"extension.command.toggle-heading.label":[["level","select",{"1":"Heading 1","2":"Heading 2","3":"Heading 3","4":"Heading 4","5":"Heading 5","6":"Heading 6","other":"Heading"}]],"extension.command.toggle-callout.description":[["type","select",{"info":"Create an information callout block","warning":"Create a warning callout block","error":"Create an error callout block","success":"Create a success callout block","other":"Create a callout block"}]],"extension.command.toggle-callout.label":[["type","select",{"info":"Information Callout","warning":"Warning Callout","error":"Error Callout","success":"Success Callout","other":"Callout"}]],"extension.command.toggle-code-block.description":"Add a code block","extension.command.add-annotation.label":"Add annotation","extension.command.toggle-blockquote.description":"Add blockquote formatting to the selected text","extension.command.toggle-bold.description":"Add bold formatting to the selected text","extension.command.toggle-code.description":"Add inline code formatting to the selected text","keyboard.shortcut.alt":"Alt","keyboard.shortcut.arrowDown":"Arrow Down","keyboard.shortcut.arrowLeft":"Arrow Left","keyboard.shortcut.arrowRight":"Arrow Right","keyboard.shortcut.arrowUp":"Arrow Up","keyboard.shortcut.backspace":"Backspace","ui.text-color.black":"Black","extension.command.toggle-blockquote.label":"Blockquote","ui.text-color.blue":"Blue","ui.text-color.blue.hue":["Blue ",["hue"]],"extension.command.toggle-bold.label":"Bold","extension.command.toggle-bullet-list.description":"Bulleted list","keyboard.shortcut.capsLock":"Caps Lock","extension.command.center-align.label":"Center align","extension.command.toggle-code.label":"Code","extension.command.toggle-code-block.label":"Codeblock","keyboard.shortcut.command":"Command","QcPNd6":"Image description","ogrUzJ":"Add a short description here.","yqdyzr":"Image","6/02F4":"Image source","X8H91v":"Image","zhQ7Zt":"Italic","ZL7E7l":"Underline","keyboard.shortcut.control":"Control","extension.command.convert-paragraph.description":"Convert current block into a paragraph block.","extension.command.convert-paragraph.label":"Convert Paragraph","extension.command.copy.label":"Copy","extension.command.copy.description":"Copy the selected text","extension.command.create-table.description":"Create a table with set number of rows and columns.","extension.command.create-table.label":"Create table","extension.command.cut.label":"Cut","extension.command.cut.description":"Cut the selected text","ui.text-color.cyan":"Cyan","ui.text-color.cyan.hue":["Cyan ",["hue"]],"extension.command.decrease-font-size.label":"Decrease","extension.command.decrease-indent.label":"Decrease indentation","extension.command.decrease-font-size.description":"Decrease the font size.","keyboard.shortcut.delete":"Delete","extension.command.insert-horizontal-rule.label":"Divider","keyboard.shortcut.end":"End","keyboard.shortcut.escape":"Enter","keyboard.shortcut.enter":"Enter","6PjrOF":"Add annotation","OTq5WC":"Center align","oeZ3ox":"Convert current block into a paragraph block.","m1khs+":"Convert Paragraph","w/1U+3":"Copy the selected text","kdodi0":"Copy","k0KR/u":"Create a table with set number of rows and columns.","zrwMyD":"Create table","D/nWxh":"Cut the selected text","jHPv5m":"Cut","5cNgRx":"Decrease the font size.","vyRNWx":"Decrease","Jgiol4":"Decrease indentation","1gJSHH":"Increase the font size","OQXJXz":"Increase","72TLhr":"Increase indentation","HFlfzJ":"Insert Emoji","RPq9fY":"Separate content with a diving horizontal line","OKQF+e":"Divider","zjYb9C":"Insert a new paragraph","4M4sXC":"Insert Paragraph","1Q+eVc":"Justify","ejWWtP":"Left align","wVqrpS":"Paste content into the editor","07v9aw":"Paste","zUYfou":"Redo the most recent action","9Nq9zr":"Redo","0uxaZe":"Remove annotation","iJWZAz":"Right align","g5WpPn":"Select all content within the editor","2+pZDT":"Select all","yChCR1":"Set text case","GMzAC/":"Set the font size for the selected text.","vzEyrv":"Font size","7VCkJ8":"Set the text color for the selected text.","qjWFaR":"Text color","LVWgFu":[["dir","select",{"ltr":"Set the text direction from left to right","rtl":"Set the text direction from right to left","other":"Reset text direction"}]],"WXwRy1":[["dir","select",{"ltr":"Left-To-Right","rtl":"Right-To-Left","other":"Reset Direction"}]],"G/o315":"Set the text highlight color for the selected text.","xtHg6d":"Text highlight","1p1W/p":"Add blockquote formatting to the selected text","6+rh6I":"Blockquote","0yB3LV":"Add bold formatting to the selected text","sFMo4Z":"Bold","SMKG/s":"Bulleted list","/BYCMi":[["type","select",{"info":"Create an information callout block","warning":"Create a warning callout block","error":"Create an error callout block","success":"Create a success callout block","other":"Create a callout block"}]],"V+3IBe":[["type","select",{"info":"Information Callout","warning":"Warning Callout","error":"Error Callout","success":"Success Callout","other":"Callout"}]],"hbIo4L":"Add a code block","7GkMcx":"Codeblock","2r4JYl":"Add inline code formatting to the selected text","Up8Tpe":"Code","ATHSPS":[["count","select",{"2":"Split the block into two columns","3":"Split the current block into three columns","4":"Split the current block into four columns","other":"Split the current block into multiple columns"}]],"7DC1VE":[["count","select",{"2":"Two Column Block","3":"Three Column Block","4":"Four Column Block","other":"Multi Column Block"}]],"hnrBeo":[["level","select",{"1":"Heading 1","2":"Heading 2","3":"Heading 3","4":"Heading 4","5":"Heading 5","6":"Heading 6","other":"Heading"}]],"NkZAcw":"Italicize the selected text","2fTW9e":"Italic","c759Ra":"Ordered list","uQwrZu":"Strikethrough the selected text","pT3qly":"Strikethrough","BHk+zu":"Subscript","18BVwM":"Superscript","tOIVCV":"Tasked list","4Janx3":"Underline the selected text","dCHt+D":"Underline","YYAprs":[["case","select",{"upper":"Uppercase","lower":"Lowercase","capitalize":"Sentence case","smallCaps":"Small caps","other":"Text case"}]],"tczyZL":"Show hidden whitespace characters in your editor.","0qAX23":"Toggle Whitespace","ezMADU":"Undo the most recent action","N3P7EC":"Undo","2nj/+s":"Update annotation","dWD7u4":[["count","plural",{"one":["#"," column"],"other":["#"," columns"]}]],"qXqgVT":[["count","plural",{"one":["#"," row"],"other":["#"," rows"]}]],"extension.command.set-font-size.label":"Font size","ui.text-color.grape":"Grape","ui.text-color.grape.hue":["Grape ",["hue"]],"ui.text-color.gray":"Gray","ui.text-color.gray.hue":["Gray ",["hue"]],"ui.text-color.green":"Green","ui.text-color.green.hue":["Green ",["hue"]],"keyboard.shortcut.home":"Home","extension.command.increase-font-size.label":"Increase","extension.command.increase-indent.label":"Increase indentation","extension.command.increase-font-size.description":"Increase the font size","ui.text-color.indigo":"Indigo","ui.text-color.indigo.hue":["Indigo ",["hue"]],"extension.command.insert-paragraph.description":"Insert a new paragraph","extension.command.insert-emoji.label":"Insert Emoji","extension.command.insert-paragraph.label":"Insert Paragraph","extension.command.toggle-italic.label":"Italic","extension.command.toggle-italic.description":"Italicize the selected text","extension.command.justify-align.label":"Justify","R7NlCw":"Alt","RbDiK5":"Arrow Down","Dgyd+E":"Arrow Left","8pdCk4":"Arrow Right","Gp/343":"Arrow Up","PFPV0A":"Backspace","0IRYvp":"Caps Lock","X7HX0D":"Command","zq0AdD":"Control","8SfToN":"Delete","Ys/uah":"End","3K5hww":"Enter","veQt1j":"Enter","ySv7i+":"Home","e6RUI1":"Page Down","EEJk31":"Page Up","7sbhAU":"Shift","Q4eplT":"Space","SUhVVC":"Tab","extension.command.left-align.label":"Left align","ui.text-color.lime":"Lime","ui.text-color.lime.hue":["Lime ",["hue"]],"react-components.mention-atom-component.zero-items":"No items available","ui.text-color.orange":"Orange","ui.text-color.orange.hue":["Orange ",["hue"]],"extension.command.toggle-ordered-list.label":"Ordered list","keyboard.shortcut.pageDown":"Page Down","keyboard.shortcut.pageUp":"Page Up","extension.command.paste.label":"Paste","extension.command.paste.description":"Paste content into the editor","ui.text-color.pink":"Pink","ui.text-color.pink.hue":["Pink ",["hue"]],"zvMfIA":"No items available","pEjhti":"Static Menu","ui.text-color.red":"Red","ui.text-color.red.hue":["Red ",["hue"]],"extension.command.redo.label":"Redo","extension.command.redo.description":"Redo the most recent action","extension.command.remove-annotation.label":"Remove annotation","extension.command.right-align.label":"Right align","extension.command.select-all.label":"Select all","extension.command.select-all.description":"Select all content within the editor","extension.command.insert-horizontal-rule.description":"Separate content with a diving horizontal line","extension.command.set-casing.label":"Set text case","extension.command.set-font-size.description":"Set the font size for the selected text.","extension.command.set-text-color.description":"Set the text color for the selected text.","extension.command.set-text-highlight.description":"Set the text highlight color for the selected text.","keyboard.shortcut.shift":"Shift","extension.command.toggle-whitespace.description":"Show hidden whitespace characters in your editor.","keyboard.shortcut.space":"Space","extension.command.toggle-strike.label":"Strikethrough","extension.command.toggle-strike.description":"Strikethrough the selected text","extension.command.toggle-subscript.label":"Subscript","extension.command.toggle-superscript.label":"Superscript","keyboard.shortcut.tab":"Tab","extension.command.toggle-task-list.description":"Tasked list","ui.text-color.teal":"Teal","ui.text-color.teal.hue":["Teal ",["hue"]],"extension.command.set-text-color.label":"Text color","extension.command.set-text-highlight.label":"Text highlight","extension.command.toggle-whitespace.label":"Toggle Whitespace","ui.text-color.transparent":"Transparent","slrB1c":"Black","6QML30":"Blue","xw+keN":["Blue ",["hue"]],"38RHqP":"Cyan","D89yPf":["Cyan ",["hue"]],"VjBLnd":"Grape","Rp40yv":["Grape ",["hue"]],"5Dm9D1":"Gray","HGjXjC":["Gray ",["hue"]],"b9fz+n":"Green","18jo3M":["Green ",["hue"]],"CFzqCV":"Indigo","aVlDku":["Indigo ",["hue"]],"04PfLc":"Lime","KRTK6Y":["Lime ",["hue"]],"pSnXFd":"Orange","ve/MJZ":["Orange ",["hue"]],"OvCgDa":"Pink","l7NqyT":["Pink ",["hue"]],"IT9k0j":"Red","AdyJ7/":["Red ",["hue"]],"3D2UWc":"Teal","Dcq0Y1":["Teal ",["hue"]],"bsi2ik":"Transparent","Tj3PRR":"Violet","xxMH5N":["Violet ",["hue"]],"Rum0ah":"White","4gaw/Q":"Yellow","hhauc3":["Yellow ",["hue"]],"extension.command.toggle-underline.label":"Underline","extension.command.toggle-underline.description":"Underline the selected text","extension.command.undo.label":"Undo","extension.command.undo.description":"Undo the most recent action","extension.command.update-annotation.label":"Update annotation","ui.text-color.violet":"Violet","ui.text-color.violet.hue":["Violet ",["hue"]],"ui.text-color.white":"White","ui.text-color.yellow":"Yellow","ui.text-color.yellow.hue":["Yellow ",["hue"]]}'),rH={};rj(rH,R),ed.loadLocaleData("en",{plurals:rH.en}),ed.load("en",r$),ed.activate("en");var rV=o(44573),rG=o(27398),rq=o(16560),rW=Object.defineProperty,rK=Object.getOwnPropertyDescriptor,rY=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?rK(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&rW(i,o,l),l},rZ=class extends rV.QR{get name(){return"doc"}createNodeSpec(n,i){let{docAttributes:o,content:a}=this.options,s=(0,O.Ry)();if((0,O.PO)(o))for(let[l,u]of(0,O.qh)(o))s[l]={default:u};else for(let c of o)s[c]={default:null};return{attrs:s,content:a,...i}}setDocAttributes(n){return({tr:i,dispatch:o})=>{if(o){for(let[a,s]of Object.entries(n))i.step(new rQ(a,s));o(i)}return!0}}isDefaultDocNode({state:n=this.store.getState(),options:i}={}){return(0,rG.$q)(n.doc,i)}};rY([(0,rV.WDe)()],rZ.prototype,"setDocAttributes",1),rY([(0,rV._y)()],rZ.prototype,"isDefaultDocNode",1),rZ=rY([(0,rV.AOx)({defaultOptions:{content:"block+",docAttributes:[]},defaultPriority:I.xV.Medium,staticKeys:["content","docAttributes"],disableExtraAttributes:!0})],rZ);var rX="SetDocAttribute",rJ="RevertSetDocAttribute",rQ=class extends rq.h8{constructor(n,i,o=rX){super(),this.stepType=o,this.key=n,this.value=i}static fromJSON(n,i){return new rQ(i.key,i.value,i.stepType)}apply(n){this.previous=n.attrs[this.key];let i={...n.attrs,[this.key]:this.value};return rq.oo.ok(n.type.create(i,n.content,n.marks))}invert(){return new rQ(this.key,this.previous,rJ)}map(){return this}toJSON(){return{stepType:this.stepType,key:this.key,value:this.value}}};try{rq.h8.jsonID(rX,rQ),rq.h8.jsonID(rJ,rQ)}catch(r0){if(!r0.message.startsWith("Duplicate use of step JSON ID"))throw r0}var r1=Object.defineProperty,r2=Object.getOwnPropertyDescriptor,r3=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?r2(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&r1(i,o,l),l};function r5(n,i,o,a){let s=n.docView.posFromDOM(i,o,a);return null===s||s<0?null:s}function r4(n,i){let o=i.target;if(o){let a=r5(n,o,0);if(null!==a){let s=n.state.doc.resolve(a),l=s.node().isLeaf?0:1,u=s.start()-l;return{pos:a,inside:u}}}return n.posAtCoords({left:i.clientX,top:i.clientY})??void 0}var r6=class extends rV.nNj{constructor(){super(...arguments),this.mousedown=!1,this.mouseover=!1,this.createMouseEventHandler=n=>(i,o)=>{let a=o,s=r4(i,a);if(!s)return!1;let l=[],u=[],{inside:c,pos:d}=s;if(-1===c)return!1;let p=i.state.doc.resolve(d),f=p.depth+1;for(let h of(0,O.w6)(f,1))l.push({node:h>p.depth&&p.nodeAfter?p.nodeAfter:p.node(h),pos:p.before(h)});for(let{type:m}of p.marksAcross(p)??[]){let g=(0,rG.IH)(p,m);g&&u.push(g)}return n(a,{view:i,nodes:l,marks:u,getMark(n){let o=(0,O.HD)(n)?i.state.schema.marks[n]:n;return(0,O.kG)(o,{code:I.mA.EXTENSION,message:`The mark ${n} being checked does not exist within the editor schema.`}),u.find(n=>n.mark.type===o)},getNode(n){var o;let a=(0,O.HD)(n)?i.state.schema.nodes[n]:n;(0,O.kG)(a,{code:I.mA.EXTENSION,message:"The node being checked does not exist"});let s=l.find(({node:n})=>n.type===a);if(s)return{...s,isRoot:!!(null==(o=l[0])?void 0:o.node.eq(s.node))}}})}}get name(){return"events"}onView(){var n,i;if(null==(n=this.store.managerSettings.exclude)||!n.clickHandler)for(let o of this.store.extensions){if(!o.createEventHandlers||(null==(i=o.options.exclude)?void 0:i.clickHandler))continue;let a=o.createEventHandlers();for(let[s,l]of(0,O.qh)(a))this.addHandler(s,l)}}createPlugin(){let n=new WeakMap,i=(i,o,a,s,l,u,c,d)=>{let p=this.store.currentState,{schema:f,doc:h}=p,m=h.resolve(s),g=n.has(c),b=r8({$pos:m,handled:g,view:a,state:p}),y=!1;g||(y=i(c,b)||y);let v={...b,pos:s,direct:d,nodeWithPosition:{node:l,pos:u},getNode(n){let i=(0,O.HD)(n)?f.nodes[n]:n;return(0,O.kG)(i,{code:I.mA.EXTENSION,message:"The node being checked does not exist"}),i===l.type?{node:l,pos:u}:void 0}};return n.set(c,!0),o(c,v)||y};return{props:{handleKeyPress:(n,i)=>this.options.keypress(i)||!1,handleKeyDown:(n,i)=>this.options.keydown(i)||!1,handleTextInput:(n,i,o,a)=>this.options.textInput({from:i,to:o,text:a})||!1,handleClickOn:(n,o,a,s,l,u)=>i(this.options.clickMark,this.options.click,n,o,a,s,l,u),handleDoubleClickOn:(n,o,a,s,l,u)=>i(this.options.doubleClickMark,this.options.doubleClick,n,o,a,s,l,u),handleTripleClickOn:(n,o,a,s,l,u)=>i(this.options.tripleClickMark,this.options.tripleClick,n,o,a,s,l,u),handleDOMEvents:{focus:(n,i)=>this.options.focus(i)||!1,blur:(n,i)=>this.options.blur(i)||!1,mousedown:(n,i)=>(this.startMouseover(),this.options.mousedown(i)||!1),mouseup:(n,i)=>(this.endMouseover(),this.options.mouseup(i)||!1),mouseleave:(n,i)=>(this.mouseover=!1,this.options.mouseleave(i)||!1),mouseenter:(n,i)=>(this.mouseover=!0,this.options.mouseenter(i)||!1),keyup:(n,i)=>this.options.keyup(i)||!1,mouseout:this.createMouseEventHandler((n,i)=>{let o={...i,hovering:!1};return this.options.hover(n,o)||!1}),mouseover:this.createMouseEventHandler((n,i)=>{let o={...i,hovering:!0};return this.options.hover(n,o)||!1}),contextmenu:this.createMouseEventHandler((n,i)=>this.options.contextmenu(n,i)||!1),scroll:(n,i)=>this.options.scroll(i)||!1,copy:(n,i)=>this.options.copy(i)||!1,cut:(n,i)=>this.options.cut(i)||!1,paste:(n,i)=>this.options.paste(i)||!1}},view:n=>{let i=n.editable,o=this.options;return{update(n){let a=n.editable;a!==i&&(o.editable(a),i=a)}}}}}isInteracting(){return this.mousedown&&this.mouseover}startMouseover(){this.mouseover=!0,this.mousedown||(this.mousedown=!0,this.store.document.documentElement.addEventListener("mouseup",()=>{this.endMouseover()},{once:!0}))}endMouseover(){this.mousedown&&(this.mousedown=!1,this.store.commands.emptyUpdate())}};function r8(n){let{handled:i,view:o,$pos:a,state:s}=n,l={getMark:O.ZT,markRanges:[],view:o,state:s};if(i)return l;for(let{type:u}of a.marksAcross(a)??[]){let c=(0,rG.IH)(a,u);c&&l.markRanges.push(c)}return l.getMark=n=>{let i=(0,O.HD)(n)?s.schema.marks[n]:n;return(0,O.kG)(i,{code:I.mA.EXTENSION,message:`The mark ${n} being checked does not exist within the editor schema.`}),l.markRanges.find(n=>n.mark.type===i)},l}r3([(0,rV._y)()],r6.prototype,"isInteracting",1),r6=r3([(0,rV.AOx)({handlerKeys:["blur","focus","mousedown","mouseup","mouseenter","mouseleave","textInput","keypress","keyup","keydown","click","clickMark","doubleClick","doubleClickMark","tripleClick","tripleClickMark","contextmenu","hover","scroll","copy","cut","paste","editable"],handlerKeyOptions:{blur:{earlyReturnValue:!0},focus:{earlyReturnValue:!0},mousedown:{earlyReturnValue:!0},mouseleave:{earlyReturnValue:!0},mouseup:{earlyReturnValue:!0},click:{earlyReturnValue:!0},doubleClick:{earlyReturnValue:!0},tripleClick:{earlyReturnValue:!0},hover:{earlyReturnValue:!0},contextmenu:{earlyReturnValue:!0},scroll:{earlyReturnValue:!0},copy:{earlyReturnValue:!0},cut:{earlyReturnValue:!0},paste:{earlyReturnValue:!0}},defaultPriority:I.xV.High})],r6);var r9=o(82696),r7=o(2376),ie=o(12806),it=o(84348);class ir extends r7.Y1{constructor(n){super(n,n)}map(n,i){let o=n.resolve(i.map(this.head));return ir.valid(o)?new ir(o):r7.Y1.near(o)}content(){return ie.p2.empty}eq(n){return n instanceof ir&&n.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(n,i){if("number"!=typeof i.pos)throw RangeError("Invalid input for GapCursor.fromJSON");return new ir(n.resolve(i.pos))}getBookmark(){return new ii(this.anchor)}static valid(n){let i=n.parent;if(i.isTextblock||!io(n)||!ia(n))return!1;let o=i.type.spec.allowGapCursor;if(null!=o)return o;let a=i.contentMatchAt(n.index()).defaultType;return a&&a.isTextblock}static findGapCursorFrom(n,i,o=!1){o:for(;;){if(!o&&ir.valid(n))return n;let a=n.pos,s=null;for(let l=n.depth;;l--){let u=n.node(l);if(i>0?n.indexAfter(l)0){s=u.child(i>0?n.indexAfter(l):n.index(l)-1);break}if(0==l)return null;a+=i;let c=n.doc.resolve(a);if(ir.valid(c))return c}for(;;){let d=i>0?s.firstChild:s.lastChild;if(!d){if(s.isAtom&&!s.isText&&!r7.qv.isSelectable(s)){n=n.doc.resolve(a+s.nodeSize*i),o=!1;continue o}break}s=d,a+=i;let p=n.doc.resolve(a);if(ir.valid(p))return p}return null}}}ir.prototype.visible=!1,ir.findFrom=ir.findGapCursorFrom,r7.Y1.jsonID("gapcursor",ir);class ii{constructor(n){this.pos=n}map(n){return new ii(n.map(this.pos))}resolve(n){let i=n.resolve(this.pos);return ir.valid(i)?new ir(i):r7.Y1.near(i)}}function io(n){for(let i=n.depth;i>=0;i--){let o=n.index(i),a=n.node(i);if(0==o){if(a.type.spec.isolating)return!0;continue}for(let s=a.child(o-1);;s=s.lastChild){if(0==s.childCount&&!s.inlineContent||s.isAtom||s.type.spec.isolating)return!0;if(s.inlineContent)return!1}}return!0}function ia(n){for(let i=n.depth;i>=0;i--){let o=n.indexAfter(i),a=n.node(i);if(o==a.childCount){if(a.type.spec.isolating)return!0;continue}for(let s=a.child(o);;s=s.firstChild){if(0==s.childCount&&!s.inlineContent||s.isAtom||s.type.spec.isolating)return!0;if(s.inlineContent)return!1}}return!0}function is(){return new r7.Sy({props:{decorations:ip,createSelectionBetween:(n,i,o)=>i.pos==o.pos&&ir.valid(o)?new ir(o):null,handleClick:ic,handleKeyDown:il,handleDOMEvents:{beforeinput:id}}})}let il=(0,r9.$)({ArrowLeft:iu("horiz",-1),ArrowRight:iu("horiz",1),ArrowUp:iu("vert",-1),ArrowDown:iu("vert",1)});function iu(n,i){let o="vert"==n?i>0?"down":"up":i>0?"right":"left";return function(n,a,s){let l=n.selection,u=i>0?l.$to:l.$from,c=l.empty;if(l instanceof r7.Bs){if(!s.endOfTextblock(o)||0==u.depth)return!1;c=!1,u=n.doc.resolve(i>0?u.after():u.before())}let d=ir.findGapCursorFrom(u,i,c);return!!d&&(a&&a(n.tr.setSelection(new ir(d))),!0)}}function ic(n,i,o){if(!n||!n.editable)return!1;let a=n.state.doc.resolve(i);if(!ir.valid(a))return!1;let s=n.posAtCoords({left:o.clientX,top:o.clientY});return!(s&&s.inside>-1&&r7.qv.isSelectable(n.state.doc.nodeAt(s.inside)))&&(n.dispatch(n.state.tr.setSelection(new ir(a))),!0)}function id(n,i){if("insertCompositionText"!=i.inputType||!(n.state.selection instanceof ir))return!1;let{$from:o}=n.state.selection,a=o.parent.contentMatchAt(o.index()).findWrapping(n.state.schema.nodes.text);if(!a)return!1;let s=ie.HY.empty;for(let l=a.length-1;l>=0;l--)s=ie.HY.from(a[l].createAndFill(null,s));let u=n.state.tr.replace(o.pos,o.pos,new ie.p2(s,0,0));return u.setSelection(r7.Bs.near(u.doc.resolve(o.pos+1))),n.dispatch(u),!1}function ip(n){if(!(n.selection instanceof ir))return null;let i=document.createElement("div");return i.className="ProseMirror-gapcursor",it.EH.create(n.doc,[it.p.widget(n.selection.head,i,{key:"gapcursor"})])}var ih=Object.defineProperty,im=Object.getOwnPropertyDescriptor,ig=class extends rV.nNj{get name(){return"gapCursor"}createExternalPlugins(){return[is()]}};ig=((n,i,o,a)=>{for(var s,l=a>1?void 0:a?im(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&ih(i,o,l),l})([(0,rV.AOx)({})],ig),(0,O.V9)(ir);var ib=o(84133),iy=o(48776),iv=o(58463),iw=Object.defineProperty,iE=Object.getOwnPropertyDescriptor,iS=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?iE(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&iw(i,o,l),l},ix=class extends rV.nNj{constructor(){super(...arguments),this.wrapMethod=(n,i)=>({state:o,dispatch:a,view:s})=>{let{getState:l,getDispatch:u}=this.options,c=(0,O.mf)(l)?l():o,d=(0,O.mf)(u)&&a?u():a,p=n(c,d,s);return null==i||i(p),p}}get name(){return"history"}createKeymap(){return{"Mod-y":rG.NZ.isMac?()=>!1:this.wrapMethod(iv.KX,this.options.onRedo),"Mod-z":this.wrapMethod(iv.Yw,this.options.onUndo),"Shift-Mod-z":this.wrapMethod(iv.KX,this.options.onRedo)}}undoShortcut(n){return this.wrapMethod(iv.Yw,this.options.onUndo)(n)}redoShortcut(n){return this.wrapMethod(iv.KX,this.options.onRedo)(n)}createExternalPlugins(){let{depth:n,newGroupDelay:i}=this.options;return[(0,iv.m8)({depth:n,newGroupDelay:i})]}undo(){return(0,ib.fB)(this.wrapMethod(iv.Yw,this.options.onUndo))}redo(){return(0,ib.fB)(this.wrapMethod(iv.KX,this.options.onRedo))}undoDepth(n=this.store.getState()){return(0,iv.of)(n)}redoDepth(n=this.store.getState()){return(0,iv.AH)(n)}};iS([(0,rV.IGC)({shortcut:I.vO.Undo,command:"undo"})],ix.prototype,"undoShortcut",1),iS([(0,rV.IGC)({shortcut:I.vO.Redo,command:"redo"})],ix.prototype,"redoShortcut",1),iS([(0,rV.WDe)({disableChaining:!0,description:({t:n})=>n(iy.XW.UNDO_DESCRIPTION),label:({t:n})=>n(iy.XW.UNDO_LABEL),icon:"arrowGoBackFill"})],ix.prototype,"undo",1),iS([(0,rV.WDe)({disableChaining:!0,description:({t:n})=>n(iy.XW.REDO_DESCRIPTION),label:({t:n})=>n(iy.XW.REDO_LABEL),icon:"arrowGoForwardFill"})],ix.prototype,"redo",1),iS([(0,rV._y)()],ix.prototype,"undoDepth",1),iS([(0,rV._y)()],ix.prototype,"redoDepth",1),ix=iS([(0,rV.AOx)({defaultOptions:{depth:100,newGroupDelay:500,getDispatch:void 0,getState:void 0},staticKeys:["depth","newGroupDelay"],handlerKeys:["onUndo","onRedo"]})],ix);var i_=Object.defineProperty,ik=Object.getOwnPropertyDescriptor,iA=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?ik(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&i_(i,o,l),l},iT={icon:"paragraph",label:({t:n})=>n(iy.iR.INSERT_LABEL),description:({t:n})=>n(iy.iR.INSERT_DESCRIPTION)},iC={icon:"paragraph",label:({t:n})=>n(iy.iR.CONVERT_LABEL),description:({t:n})=>n(iy.iR.CONVERT_DESCRIPTION)},iR=class extends rV.QR{get name(){return"paragraph"}createTags(){return[I.eX.LastNodeCompatible,I.eX.TextBlock,I.eX.Block,I.eX.FormattingNode]}createNodeSpec(n,i){return{content:"inline*",draggable:!1,...i,attrs:{...n.defaults()},parseDOM:[{tag:"p",getAttrs:i=>({...n.parse(i)})},...i.parseDOM??[]],toDOM:i=>["p",n.dom(i),0]}}convertParagraph(n={}){let{attrs:i,selection:o,preserveAttrs:a}=n;return this.store.commands.setBlockNodeType.original(this.type,i,o,a)}insertParagraph(n,i={}){let{selection:o,attrs:a}=i;return this.store.commands.insertNode.original(this.type,{content:n,selection:o,attrs:a})}shortcut(n){return this.convertParagraph()(n)}};iA([(0,rV.WDe)(iC)],iR.prototype,"convertParagraph",1),iA([(0,rV.WDe)(iT)],iR.prototype,"insertParagraph",1),iA([(0,rV.IGC)({shortcut:I.vO.Paragraph,command:"convertParagraph"})],iR.prototype,"shortcut",1),iR=iA([(0,rV.AOx)({defaultPriority:I.xV.Medium})],iR);var iD=o(48111),iO=o(27856),iI=o(31026),iN=Object.defineProperty,iM=Object.getOwnPropertyDescriptor,iL=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?iM(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&iN(i,o,l),l},iP=(n,i,o)=>{if(!i.has(n))throw TypeError("Cannot "+o)},iF=(n,i,o)=>(iP(n,i,"read from private field"),o?o.call(n):i.get(n)),iB=(n,i,o)=>{if(i.has(n))throw TypeError("Cannot add the same private member more than once");i instanceof WeakSet?i.add(n):i.set(n,o)},iU=(n,i,o,a)=>(iP(n,i,"write to private field"),a?a.call(n,o):i.set(n,o),o),iz=class{constructor(n){iB(this,a,(0,iD.i)()),iB(this,s,[]),iB(this,l,new Map),iB(this,u,[]),iB(this,c,!1),iB(this,d,void 0),iB(this,p,void 0),iB(this,f,void 0),iB(this,h,void 0),this.addListener=(n,i)=>iF(this,a).on(n,i),iU(this,d,n),iU(this,p,n.getActive),iU(this,h,n.getPosition),iU(this,f,n.getID),this.hasChanged=n.hasChanged,this.events=n.events??["state","scroll"]}static create(n){return new iz(n)}static fromPositioner(n,i){return iz.create({...n.basePositioner,...i})}get basePositioner(){return{getActive:iF(this,p),getPosition:iF(this,h),hasChanged:this.hasChanged,events:this.events,getID:iF(this,f)}}onActiveChanged(n){this.recentUpdate=n;let i=iF(this,p).call(this,n);iU(this,s,i),iU(this,l,new Map),iU(this,c,!1),iU(this,u,[]);let o=[];for(let[d,f]of i.entries()){let h=this.getID(f,d);iF(this,u).push(h),o.push({setElement:i=>this.addProps({...n,data:f,element:i},d),id:h,data:f})}iF(this,a).emit("update",o)}getID(n,i){var o;return(null==(o=iF(this,f))?void 0:o.call(this,n,i))??i.toString()}addProps(n,i){if(iF(this,c)||(iF(this,l).set(i,n),iF(this,l).sizen;return this.clone(n=>({getActive:o=>n.getActive(o).filter(i)}))}},ij=iz;function i$(n,i=iW){let{key:o}=(null==n?void 0:n.getMeta(iq))??{};return o===i}function iH(n){let{tr:i,state:o,previousState:a}=n;return!!(!a||i&&i$(i))||(i?(0,rG.yZ)(i):!o.doc.eq(a.doc)||!o.selection.eq(a.selection))}function iV(n,i,o={}){let a=i.getBoundingClientRect(),{accountForPadding:s=!1}=o,l=0,u=0,c=0,d=0;if((0,rG.jd)(i)&&s){let p=Number.parseFloat((0,rG.C2)(i,"padding-left").replace("px","")),f=Number.parseFloat((0,rG.C2)(i,"padding-right").replace("px","")),h=Number.parseFloat((0,rG.C2)(i,"padding-top").replace("px","")),m=Number.parseFloat((0,rG.C2)(i,"padding-bottom").replace("px","")),g=Number.parseFloat((0,rG.C2)(i,"border-left").replace("px","")),b=Number.parseFloat((0,rG.C2)(i,"border-right").replace("px","")),y=Number.parseFloat((0,rG.C2)(i,"border-top").replace("px","")),v=Number.parseFloat((0,rG.C2)(i,"border-bottom").replace("px","")),w=i.offsetWidth-i.clientWidth,E=i.offsetHeight-i.clientHeight;l+=p+g+("rtl"===i.dir?w:0),u+=f+b+("rtl"===i.dir?0:w),c+=h+y,d+=m+v+E}let S=new DOMRect(a.left+l,a.top+c,a.width-u,a.height-d);for(let[x,_]of[[n.top,n.left],[n.top,n.right],[n.bottom,n.left],[n.bottom,n.right]])if((0,O.uh)(x,S.top,S.bottom)&&(0,O.uh)(_,S.left,S.right))return!0;return!1}a=new WeakMap,s=new WeakMap,l=new WeakMap,u=new WeakMap,c=new WeakMap,d=new WeakMap,p=new WeakMap,f=new WeakMap,h=new WeakMap,ij.EMPTY=[];var iG="remirror-positioner-widget",iq="positionerUpdate",iW="__all_positioners__",iK={y:-999999,x:-999999,width:0,height:0},iY={...iK,left:-999999,top:-999999,bottom:-999999,right:-999999},iZ={...iK,rect:{...iY,toJSON:()=>iY},visible:!1},iX=ij.create({hasChanged:iH,getActive(n){let{state:i}=n;if(!(0,rG.Ab)(i)||i.selection.$anchor.depth>2)return ij.EMPTY;let o=(0,rG.Kk)({predicate:n=>n.type.isBlock,selection:i});return o?[o]:ij.EMPTY},getPosition(n){let{view:i,data:o}=n,a=i.nodeDOM(o.pos);if(!(0,rG.jd)(a))return iZ;let s=a.getBoundingClientRect(),l=i.dom.getBoundingClientRect(),u=s.height,c=s.width,d=i.dom.scrollLeft+s.left-l.left,p=i.dom.scrollTop+s.top-l.top,f=iV(s,i.dom);return{y:p,x:d,height:u,width:c,rect:s,visible:f}}}).clone(({getActive:n})=>({getActive(i){let[o]=n(i);return o&&(0,rG.mp)(o.node)&&o.node.type===(0,rG.JN)(i.state.schema)?[o]:ij.EMPTY}}));function iJ(n){return ij.create({hasChanged:iH,getActive(i){let{state:o,view:a}=i;if(!n(o)||!(0,rG.hT)(o.selection))return ij.EMPTY;try{let{head:s,anchor:l}=o.selection;return[{from:a.coordsAtPos(l),to:a.coordsAtPos(s)}]}catch{return ij.EMPTY}},getPosition(n){let{element:i,data:o,view:a}=n,{from:s,to:l}=o,u=i.offsetParent??a.dom,c=u.getBoundingClientRect(),d=Math.abs(l.bottom-s.top),p=d>s.bottom-s.top,f=Math.min(s.left,l.left),h=Math.min(s.top,l.top),m=u.scrollLeft+(p?l.left-c.left:f-c.left),g=u.scrollTop+h-c.top,b=p?1:Math.abs(s.left-l.right),y=new DOMRect(p?l.left:f,h,b,d),v=iV(y,a.dom);return{rect:y,y:g,x:m,height:d,width:b,visible:v}}})}iX.clone(({getPosition:n})=>({getPosition:i=>({...n(i),width:1})})),iX.clone(({getPosition:n})=>({getPosition(i){let{width:o,x:a,y:s,height:l}=n(i);return{...n(i),width:1,x:o+a,rect:new DOMRect(o+a,s,1,l)}}}));var iQ=iJ(n=>!n.selection.empty);iJ(n=>n.selection.empty),iJ(()=>!0),iQ.clone(()=>({getActive(n){let{state:i,view:o}=n;if(!i.selection.empty)return ij.EMPTY;let a=(0,rG.JM)(i);if(!a)return ij.EMPTY;try{return[{from:o.coordsAtPos(a.from),to:o.coordsAtPos(a.to)}]}catch{return ij.EMPTY}}}));var i0=class extends rV.nNj{constructor(){super(...arguments),this.positioners=[],this.onAddCustomHandler=({positioner:n})=>{if(n)return this.positioners=[...this.positioners,n],this.store.commands.forceUpdate(),()=>{this.positioners=this.positioners.filter(i=>i!==n)}}}get name(){return"positioner"}createAttributes(){return{class:iI.bu.EDITOR}}init(){this.onScroll=(0,iO.D)(this.options.scrollDebounce,this.onScroll.bind(this))}createEventHandlers(){return{scroll:()=>(this.onScroll(),!1),hover:(n,i)=>(this.positioner(this.getBaseProps("hover",{hover:i})),!1),contextmenu:(n,i)=>(this.positioner(this.getBaseProps("contextmenu",{contextmenu:i})),!1)}}onStateUpdate(n){this.positioner({...n,previousState:n.firstUpdate?void 0:n.previousState,event:"state",helpers:this.store.helpers})}createDecorations(n){if(this.element,this.element=this.createElement(),!this.element.hasChildNodes())return it.EH.empty;let i=it.p.widget(0,this.element,{key:"positioner-widget",side:-1,stopEvent:()=>!0});return it.EH.create(n.doc,[i])}forceUpdatePositioners(n=iW){return({tr:i,dispatch:o})=>(null==o||o(i.setMeta(iq,{key:n})),!0)}getPositionerWidget(){return this.element??(this.element=this.createElement())}createElement(){let n=document.createElement("span");return n.dataset.id=iG,n.setAttribute("role","presentation"),n}triggerPositioner(n,i){n.hasChanged(i)&&n.onActiveChanged({...i,view:this.store.view})}positioner(n){for(let i of this.positioners){let o=!i.events.includes(n.event);o||this.triggerPositioner(i,n)}}getBaseProps(n,i){let o=this.store.getState(),a=this.store.previousState;return{helpers:this.store.helpers,event:n,firstUpdate:!1,previousState:a,state:o,...i}}onScroll(){this.positioner(this.getBaseProps("scroll",{scroll:{scrollTop:this.store.view.dom.scrollTop}}))}};iL([(0,rV.WDe)()],i0.prototype,"forceUpdatePositioners",1),iL([(0,rV._y)()],i0.prototype,"getPositionerWidget",1),i0=iL([(0,rV.AOx)({defaultOptions:{scrollDebounce:100},customHandlerKeys:["positioner"],staticKeys:["scrollDebounce"]})],i0);var i1=Object.defineProperty,i2=Object.getOwnPropertyDescriptor,i3=class extends rV.QR{get name(){return"text"}createTags(){return[I.eX.InlineNode]}createNodeSpec(){return{}}};i3=((n,i,o,a)=>{for(var s,l=a>1?void 0:a?i2(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&i1(i,o,l),l})([(0,rV.AOx)({disableExtraAttributes:!0,defaultPriority:I.xV.Medium})],i3);var i5={...rZ.defaultOptions,...iR.defaultOptions,...ix.defaultOptions,excludeExtensions:[]};function i4(n={}){n={...i5,...n};let{content:i,depth:o,getDispatch:a,getState:s,newGroupDelay:l,excludeExtensions:u}=n,c={};for(let d of u??[])c[d]=!0;let p=[];if(!c.history){let f=new ix({depth:o,getDispatch:a,getState:s,newGroupDelay:l});p.push(f)}return c.doc||p.push(new rZ({content:i})),c.text||p.push(new i3),c.paragraph||p.push(new iR),c.positioner||p.push(new i0),c.gapCursor||p.push(new ig),c.events||p.push(new r6),p}var i6=o(49891),i8=o(73935),i9=o(31857),i7=Object.defineProperty,oe=Object.getOwnPropertyDescriptor,ot=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?oe(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&i7(i,o,l),l},on=(n,i,o)=>{if(!i.has(n))throw TypeError("Cannot "+o)},or=(n,i,o)=>(on(n,i,"read from private field"),o?o.call(n):i.get(n)),oi=(n,i,o)=>{if(i.has(n))throw TypeError("Cannot add the same private member more than once");i instanceof WeakSet?i.add(n):i.set(n,o)},oo=(n,i,o,a)=>(on(n,i,"write to private field"),a?a.call(n,o):i.set(n,o),o),oa=class{constructor(){this.portals=new Map,oi(this,m,(0,iD.i)()),this.on=n=>or(this,m).on("update",n),this.once=n=>{let i=or(this,m).on("update",o=>{i(),n(o)});return i}}update(){or(this,m).emit("update",this.portals)}render({Component:n,container:i}){let o=this.portals.get(i);this.portals.set(i,{Component:n,key:(null==o?void 0:o.key)??(0,O.EL)()}),this.update()}forceUpdate(){for(let[n,{Component:i}]of this.portals)this.portals.set(n,{Component:i,key:(0,O.EL)()})}remove(n){this.portals.delete(n),this.update()}};m=new WeakMap;var ol=n=>{let{portals:i}=n;return D.createElement(D.Fragment,null,i.map(([n,{Component:i,key:o}])=>(0,i8.createPortal)(D.createElement(i,null),n,o)))};function ou(n){let[i,o]=(0,D.useState)(()=>Array.from(n.portals.entries()));return(0,D.useEffect)(()=>n.on(n=>{o(Array.from(n.entries()))}),[n]),(0,D.useMemo)(()=>i,[i])}var oc=class{constructor({getPosition:n,node:i,portalContainer:o,view:a,ReactComponent:s,options:l}){oi(this,g,void 0),oi(this,b,[]),oi(this,y,void 0),oi(this,v,void 0),oi(this,w,void 0),oi(this,E,void 0),oi(this,S,void 0),oi(this,x,!1),oi(this,_,void 0),oi(this,k,void 0),oi(this,A,void 0),oi(this,T,n=>{n&&((0,O.kG)(or(this,k),{code:I.mA.REACT_NODE_VIEW,message:`You have applied a ref to a node view provided for '${or(this,g).type.name}' which doesn't support content.`}),n.append(or(this,k)))}),this.Component=()=>{let n=or(this,w);return(0,O.kG)(n,{code:I.mA.REACT_NODE_VIEW,message:`The custom react node view provided for ${or(this,g).type.name} doesn't have a valid ReactComponent`}),D.createElement(n,{updateAttributes:this.updateAttributes,selected:this.selected,view:or(this,y),getPosition:or(this,E),node:or(this,g),forwardRef:or(this,T),decorations:or(this,b)})},this.updateAttributes=n=>{if(!or(this,y).editable)return;let i=or(this,E).call(this);if(null==i)return;let o=or(this,y).state.tr.setNodeMarkup(i,void 0,{...or(this,g).attrs,...n});or(this,y).dispatch(o)},(0,O.kG)((0,O.mf)(n),{message:"You are attempting to use a node view for a mark type. This is not supported yet. Please check your configuration."}),oo(this,g,i),oo(this,y,a),oo(this,v,o),oo(this,w,s),oo(this,E,n),oo(this,S,l),oo(this,A,this.createDom());let{contentDOM:u,wrapper:c}=this.createContentDom()??{};oo(this,_,u??void 0),oo(this,k,c),or(this,k)&&or(this,A).append(or(this,k)),this.setDomAttributes(or(this,g),or(this,A)),this.Component.displayName=(0,i9.Ho)(`${or(this,g).type.name}NodeView`),this.renderComponent()}static create(n){let{portalContainer:i,ReactComponent:o,options:a}=n;return(n,s,l)=>new oc({options:a,node:n,view:s,getPosition:l,portalContainer:i,ReactComponent:o})}get selected(){return or(this,x)}get contentDOM(){return or(this,_)}get dom(){return or(this,A)}renderComponent(){or(this,v).render({Component:this.Component,container:or(this,A)})}createDom(){let{defaultBlockNode:n,defaultInlineNode:i}=or(this,S),o=or(this,g).isInline?document.createElement(i):document.createElement(n);return o.classList.add(`${(0,i9.GL)(or(this,g).type.name)}-node-view-wrapper`),o}createContentDom(){var n,i;let o;if(or(this,g).isLeaf)return;let a=null==(i=(n=or(this,g).type.spec).toDOM)?void 0:i.call(n,or(this,g));if(!a)return;let{contentDOM:s,dom:l}=ie.PW.renderSpec(document,a);if((0,rG.jd)(l))return o=l,l===s&&((o=document.createElement("span")).classList.add(`${(0,i9.GL)(or(this,g).type.name)}-node-view-content-wrapper`),o.append(s)),(0,rG.jd)(s),{wrapper:o,contentDOM:s}}update(n,i){return!!(0,rG.$9)({types:or(this,g).type,node:n})&&(or(this,g)===n&&or(this,b)===i||(or(this,g).sameMarkup(n)||this.setDomAttributes(n,or(this,A)),oo(this,g,n),oo(this,b,i),this.renderComponent(),!0))}setDomAttributes(n,i){let{toDOM:o}=or(this,g).type.spec,a=n.attrs;if(o){let s=o(n);if((0,O.HD)(s)||op(s))return;(0,O.PO)(s[1])&&(a=s[1])}for(let[l,u]of(0,O.qh)(a))i.setAttribute(l,u)}selectNode(){oo(this,x,!0),or(this,A)&&or(this,A).classList.add(I.Eg),this.renderComponent()}deselectNode(){oo(this,x,!1),or(this,A)&&or(this,A).classList.remove(I.Eg),this.renderComponent()}destroy(){or(this,v).remove(or(this,A))}ignoreMutation(n){return"selection"===n.type?!or(this,g).type.spec.selectable:!or(this,k)||!or(this,k).contains(n.target)}stopEvent(n){var i;if(!or(this,A))return!1;if((0,O.mf)(or(this,S).stopEvent))return or(this,S).stopEvent({event:n});let o=n.target,a=or(this,A).contains(o)&&!(null==(i=this.contentDOM)?void 0:i.contains(o));if(!a)return!1;let s="drop"===n.type,l=["INPUT","BUTTON","SELECT","TEXTAREA"].includes(o.tagName)||o.isContentEditable;if(l&&!s)return!0;let u=!!or(this,g).type.spec.draggable,c=r7.qv.isSelectable(or(this,g)),d="copy"===n.type,p="paste"===n.type,f="cut"===n.type,h="mousedown"===n.type,m=n.type.startsWith("drag");return!u&&c&&m&&n.preventDefault(),!m&&!s&&!d&&!p&&!f&&(!h||!c)}},od=oc;function op(n){return(0,rG.mV)(n)||(0,O.PO)(n)&&(0,rG.mV)(n.dom)}g=new WeakMap,b=new WeakMap,y=new WeakMap,v=new WeakMap,w=new WeakMap,E=new WeakMap,S=new WeakMap,x=new WeakMap,_=new WeakMap,k=new WeakMap,A=new WeakMap,T=new WeakMap;var of=class extends rV.nNj{constructor(){super(...arguments),this.portalContainer=new oa}get name(){return"reactComponent"}onCreate(){this.store.setStoreKey("portalContainer",this.portalContainer)}createNodeViews(){let n=(0,O.Ry)(),i=this.store.managerSettings.nodeViewComponents??{};for(let o of this.store.extensions)o.ReactComponent&&(0,rV.JZE)(o)&&"ssr"!==o.reactComponentEnvironment&&(n[o.name]=od.create({options:this.options,ReactComponent:o.ReactComponent,portalContainer:this.portalContainer}));let a=(0,O.qh)({...this.options.nodeViewComponents,...i});for(let[s,l]of a)n[s]=od.create({options:this.options,ReactComponent:l,portalContainer:this.portalContainer});return n}};of=ot([(0,rV.AOx)({defaultOptions:{defaultBlockNode:"div",defaultInlineNode:"span",defaultContentNode:"span",defaultEnvironment:"both",nodeViewComponents:{},stopEvent:null},staticKeys:["defaultBlockNode","defaultInlineNode","defaultContentNode","defaultEnvironment"]})],of);var oh=Object.defineProperty,om=Object.getOwnPropertyDescriptor,og=(n,i,o,a)=>{for(var s,l=a>1?void 0:a?om(i,o):i,u=n.length-1;u>=0;u--)(s=n[u])&&(l=(a?s(i,o,l):s(l))||l);return a&&l&&oh(i,o,l),l},ob={...i6.X.defaultOptions,...of.defaultOptions},oy=[...i6.X.staticKeys,...of.staticKeys],ov=class extends rV.nNj{get name(){return"react"}onSetOptions(n){let{pickChanged:i}=n;this.getExtension(i6.X).setOptions(i(["placeholder"]))}createExtensions(){let{emptyNodeClass:n,placeholder:i,defaultBlockNode:o,defaultContentNode:a,defaultEnvironment:s,defaultInlineNode:l,nodeViewComponents:u}=this.options;return[new i6.X({emptyNodeClass:n,placeholder:i,priority:I.xV.Low}),new of({defaultBlockNode:o,defaultContentNode:a,defaultEnvironment:s,defaultInlineNode:l,nodeViewComponents:u})]}};ov=og([(0,rV.AOx)({defaultOptions:ob,staticKeys:oy})],ov);var ow=o(99601),oE=(n,i,o)=>{if(!i.has(n))throw TypeError("Cannot "+o)},oS=(n,i,o)=>(oE(n,i,"read from private field"),o?o.call(n):i.get(n)),ox=(n,i,o)=>{if(i.has(n))throw TypeError("Cannot add the same private member more than once");i instanceof WeakSet?i.add(n):i.set(n,o)},o_=(n,i,o,a)=>(oE(n,i,"write to private field"),a?a.call(n,o):i.set(n,o),o);function ok(){let[,n]=(0,D.useState)((0,O.Ry)());return(0,D.useCallback)(()=>{n((0,O.Ry)())},[])}var oA=(0,D.createContext)(null);function oT(n){let i=(0,D.useContext)(oA),o=(0,D.useRef)(ok());(0,O.kG)(i,{code:I.mA.REACT_PROVIDER_CONTEXT});let{addHandler:a}=i;return(0,D.useEffect)(()=>{let i=n;if(i){if((0,O.PO)(i)){let{autoUpdate:s}=i;i=s?()=>o.current():void 0}if((0,O.mf)(i))return a("updated",i)}},[a,n]),i}function oC(n=!0){return oT({autoUpdate:n}).active}function oR(){return oT().commands}function oD(n=!1){return oT(n?{autoUpdate:!0}:void 0).helpers}var[oO,oI]=F(({props:n})=>{let i=n.locale??"en",o=n.i18n??ed,a=n.supportedLocales??[i],s=o._.bind(o);return{locale:i,i18n:o,supportedLocales:a,t:s}});function oN(n,i={}){let{core:o,react:a,...s}=i;return(0,rV.ZQL)(n)?n:rV.Ao0.create(()=>[...(0,O.r2)(n),new ov(a),...i4(o)],s)}function oM(n,i={}){let o=(0,D.useRef)(n),a=(0,D.useRef)(i),[s,l]=(0,D.useState)(()=>oN(n,i));return o.current=n,a.current=i,(0,D.useEffect)(()=>s.addHandler("destroy",()=>{l(()=>oN(o.current,a.current))}),[s]),s}var oL="object"==typeof ow&&ow.__esModule&&ow.default?ow.default:ow,oP=class extends rV.gQe{constructor(n){if(super(n),ox(this,C,void 0),this.rootPropsConfig={called:!1,count:0},this.getRootProps=n=>this.internalGetRootProps(n,null),this.internalGetRootProps=(n,i)=>{this.rootPropsConfig.called=!0;let{refKey:o="ref",ref:a,...s}=n??(0,O.Ry)();return{[o]:oL(a,this.onRef),key:this.uid,...s,children:i}},this.onRef=n=>{n&&(this.rootPropsConfig.count+=1,(0,O.kG)(this.rootPropsConfig.count<=1,{code:I.mA.REACT_GET_ROOT_PROPS,message:`Called ${this.rootPropsConfig.count} times`}),o_(this,C,n),this.onRefLoad())},this.manager.view){this.manager.view.setProps({state:this.manager.view.state,dispatchTransaction:this.dispatchTransaction,attributes:()=>this.getAttributes(),editable:()=>this.props.editable??!0});return}this.manager.getExtension(i6.X).setOptions({placeholder:this.props.placeholder??""})}get name(){return"react"}update(n){return super.update(n),this}createView(n){return new it.tk(null,{state:n,dispatchTransaction:this.dispatchTransaction,attributes:()=>this.getAttributes(),editable:()=>this.props.editable??!0,plugins:[]})}updateState({state:n,...i}){let{triggerChange:o=!0,tr:a,transactions:s}=i;if(this.props.state){let{onChange:l}=this.props;(0,O.kG)(l,{code:I.mA.REACT_CONTROLLED,message:"You are required to provide the `onChange` handler when creating a controlled editor."}),(0,O.kG)(o,{code:I.mA.REACT_CONTROLLED,message:"Controlled editors do not support `clearContent` or `setContent` where `triggerChange` is `true`. Update the `state` prop instead."}),this.previousStateOverride||(this.previousStateOverride=this.getState()),this.onChange({state:n,tr:a,transactions:s});return}a||s||(n=n.apply(n.tr.setMeta(I.zr,{}))),this.view.updateState(n),o&&(null==s?void 0:s.length)!==0&&this.onChange({state:n,tr:a,transactions:s}),this.manager.onStateUpdate({previousState:this.previousState,state:n,tr:a,transactions:s})}updateControlledState(n,i){this.previousStateOverride=i,n=n.apply(n.tr.setMeta(I.zr,{})),this.view.updateState(n),this.manager.onStateUpdate({previousState:this.previousState,state:n}),this.previousStateOverride=void 0}addProsemirrorViewToDom(n,i){"start"===this.props.insertPosition?n.insertBefore(i,n.firstChild):n.append(i)}onRefLoad(){(0,O.kG)(oS(this,C),{code:I.mA.REACT_EDITOR_VIEW,message:"Something went wrong when initializing the text editor. Please check your setup."});let{autoFocus:n}=this.props;this.addProsemirrorViewToDom(oS(this,C),this.view.dom),n&&this.focus(n),this.onChange(),this.addFocusListeners()}onUpdate(){this.view&&oS(this,C)&&this.view.setProps({...this.view.props,editable:()=>this.props.editable??!0})}get frameworkOutput(){return{...this.baseOutput,getRootProps:this.getRootProps,portalContainer:this.manager.store.portalContainer}}resetRender(){this.rootPropsConfig.called=!1,this.rootPropsConfig.count=0}};C=new WeakMap;var oF="undefined"!=typeof document?D.useLayoutEffect:D.useEffect;function oB(n){let i=(0,D.useRef)();return oF(()=>{i.current=n}),i.current}function oU(n){let{manager:i,state:o}=n,{placeholder:a,editable:s}=n,l=(0,D.useRef)(!0);l.current&&!(0,O.le)(a)&&i.getExtension(ov).setOptions({placeholder:a}),(0,D.useEffect)(()=>{null!=a&&i.getExtension(ov).setOptions({placeholder:a})},[a,i]);let[u]=(0,D.useState)(()=>{if(o)return o;let a=i.createEmptyDoc(),[s,l]=(0,O.kJ)(n.initialContent)?n.initialContent:[n.initialContent??a];return i.createState({content:s,selection:l})}),c=oz({initialEditorState:u,getProps:()=>n});return(0,D.useEffect)(()=>()=>{c.destroy()},[c]),(0,D.useEffect)(()=>{c.onUpdate()},[s,c]),oj(c),c.frameworkOutput}function oz(n){let i=(0,D.useRef)(n);i.current=n;let o=(0,D.useMemo)(()=>new oP(i.current),[]);return o.update(n),o}function oj(n){let{state:i}=n.props,o=(0,D.useRef)(!!i),a=oB(i);oF(()=>{let s=i?!0===o.current:!1===o.current;(0,O.kG)(s,{code:I.mA.REACT_CONTROLLED,message:o.current?"You have attempted to switch from a controlled to an uncontrolled editor. Once you set up an editor as a controlled editor it must always provide a `state` prop.":"You have provided a `state` prop to an uncontrolled editor. In order to set up your editor as controlled you must provide the `state` prop from the very first render."}),i&&i!==a&&n.updateControlledState(i,a??void 0)},[i,a,n])}function o$(n={}){let{content:i,document:o,selection:a,extensions:s,...l}=n,u=oM(s??(()=>[]),l),[c,d]=(0,D.useState)(()=>u.createState({selection:a,content:i??u.createEmptyDoc()})),p=(0,D.useCallback)(({state:n})=>{d(n)},[]),f=(0,D.useCallback)(()=>{let n=u.output;return n},[u]);return(0,D.useMemo)(()=>({state:c,setState:d,manager:u,onChange:p,getContext:f}),[f,u,p,c])}var oH=()=>D.createElement("div",{className:iI.kd.EDITOR_WRAPPER,...oT().getRootProps()}),oV=n=>(n.hook(),null);function oG(n){let{children:i,autoRender:o,i18n:a,locale:s,supportedLocales:l,hooks:u=[],...c}=n,d=oU(c),p=ou(d.portalContainer),f="start"===o||!0===o||!i&&(0,O.le)(o),h="end"===o;return D.createElement(oO,{i18n:a,locale:s,supportedLocales:l},D.createElement(oA.Provider,{value:d},D.createElement(ol,{portals:p}),u.map((n,i)=>D.createElement(oV,{hook:n,key:i})),f&&D.createElement(oH,null),i,h&&D.createElement(oH,null)))}},31026:function(n,i,o){"use strict";function a(n,i,o){return Math.min(Math.max(n,o),i)}o.d(i,{kd:function(){return eC},uV:function(){return eY},Nh:function(){return e5},Jl:function(){return e6},MQ:function(){return to},_x:function(){return ts},bu:function(){return td},C6:function(){return tp},Ie:function(){return tf},U9:function(){return tL},y2:function(){return tb}});class s extends Error{constructor(n){super(`Failed to parse color: "${n}"`)}}var l=s;function u(n){if("string"!=typeof n)throw new l(n);if("transparent"===n.trim().toLowerCase())return[0,0,0,0];let i=n.trim();i=v.test(n)?f(n):n;let o=m.exec(i);if(o){let s=Array.from(o).slice(1);return[...s.slice(0,3).map(n=>parseInt(h(n,2),16)),parseInt(h(s[3]||"f",2),16)/255]}let u=g.exec(i);if(u){let c=Array.from(u).slice(1);return[...c.slice(0,3).map(n=>parseInt(n,16)),parseInt(c[3]||"ff",16)/255]}let d=b.exec(i);if(d){let p=Array.from(d).slice(1);return[...p.slice(0,3).map(n=>parseInt(n,10)),parseFloat(p[3]||"1")]}let w=y.exec(i);if(w){let[S,x,_,k]=Array.from(w).slice(1).map(parseFloat);if(a(0,100,x)!==x||a(0,100,_)!==_)throw new l(n);return[...E(S,x,_),Number.isNaN(k)?1:k]}throw new l(n)}function c(n){let i=5381,o=n.length;for(;o;)i=33*i^n.charCodeAt(--o);return(i>>>0)%2341}let d=n=>parseInt(n.replace(/_/g,""),36),p="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((n,i)=>{let o=d(i.substring(0,3)),a=d(i.substring(3)).toString(16),s="";for(let l=0;l<6-a.length;l++)s+="0";return n[o]=`${s}${a}`,n},{});function f(n){let i=n.toLowerCase().trim(),o=p[c(i)];if(!o)throw new l(n);return`#${o}`}let h=(n,i)=>Array.from(Array(i)).map(()=>n).join(""),m=RegExp(`^#${h("([a-f0-9])",3)}([a-f0-9])?$`,"i"),g=RegExp(`^#${h("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),b=RegExp(`^rgba?\\(\\s*(\\d+)\\s*${h(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),y=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,v=/^[a-z]+$/i,w=n=>Math.round(255*n),E=(n,i,o)=>{let a=o/100;if(0===i)return[a,a,a].map(w);let s=(n%360+360)%360/60,l=(1-Math.abs(2*a-1))*(i/100),u=l*(1-Math.abs(s%2-1)),c=0,d=0,p=0;s>=0&&s<1?(c=l,d=u):s>=1&&s<2?(c=u,d=l):s>=2&&s<3?(d=l,p=u):s>=3&&s<4?(d=u,p=l):s>=4&&s<5?(c=u,p=l):s>=5&&s<6&&(c=l,p=u);let f=a-l/2,h=c+f,m=d+f,g=p+f;return[h,m,g].map(w)};function S(n){let[i,o,a,s]=u(n).map((n,i)=>3===i?n:n/255),l=Math.max(i,o,a),c=Math.min(i,o,a),d=(l+c)/2;if(l===c)return[0,0,d,s];let p=l-c,f=d>.5?p/(2-l-c):p/(l+c),h=60*(i===l?(o-a)/p+(o.179}function D(n){return R(n)?"#000":"#fff"}let O="remirror-editor-wrapper",I="remirror-button-active",N="remirror-button",M="remirror-composite",L="remirror-dialog",P="remirror-dialog-backdrop",F="remirror-form",B="remirror-form-message",U="remirror-form-label",z="remirror-form-group",j="remirror-group",$="remirror-input",H="remirror-menu",V="remirror-menu-pane",G="remirror-menu-pane-active",q="remirror-menu-dropdown-label",W="remirror-menu-pane-icon",K="remirror-menu-pane-label",Y="remirror-menu-pane-shortcut",Z="remirror-menu-button-left",X="remirror-menu-button-right",J="remirror-menu-button-nested-left",Q="remirror-menu-button-nested-right",ee="remirror-menu-button",et="remirror-menu-bar",en="remirror-flex-column",er="remirror-flex-row",ei="remirror-menu-item",eo="remirror-menu-item-row",ea="remirror-menu-item-column",es="remirror-menu-item-checkbox",el="remirror-menu-item-radio",eu="remirror-menu-group",ec="remirror-floating-popover",ed="remirror-popover",ep="remirror-animated-popover",ef="remirror-role",eh="remirror-separator",em="remirror-tab",eg="remirror-tab-list",eb="remirror-tabbable",ey="remirror-toolbar",ev="remirror-tooltip",ew="remirror-table-size-editor",eE="remirror-table-size-editor-body",eS="remirror-table-size-editor-cell",ex="remirror-table-size-editor-cell-selected",e_="remirror-table-size-editor-footer",ek="remirror-color-picker",eA="remirror-color-picker-cell",eT="remirror-color-picker-cell-selected";var eC=Object.freeze({__proto__:null,ANIMATED_POPOVER:ep,BUTTON:N,BUTTON_ACTIVE:I,COLOR_PICKER:ek,COLOR_PICKER_CELL:eA,COLOR_PICKER_CELL_SELECTED:eT,COMPOSITE:M,DIALOG:L,DIALOG_BACKDROP:P,EDITOR_WRAPPER:O,FLEX_COLUMN:en,FLEX_ROW:er,FLOATING_POPOVER:ec,FORM:F,FORM_GROUP:z,FORM_LABEL:U,FORM_MESSAGE:B,GROUP:j,INPUT:$,MENU:H,MENU_BAR:et,MENU_BUTTON:ee,MENU_BUTTON_LEFT:Z,MENU_BUTTON_NESTED_LEFT:J,MENU_BUTTON_NESTED_RIGHT:Q,MENU_BUTTON_RIGHT:X,MENU_DROPDOWN_LABEL:q,MENU_GROUP:eu,MENU_ITEM:ei,MENU_ITEM_CHECKBOX:es,MENU_ITEM_COLUMN:ea,MENU_ITEM_RADIO:el,MENU_ITEM_ROW:eo,MENU_PANE:V,MENU_PANE_ACTIVE:G,MENU_PANE_ICON:W,MENU_PANE_LABEL:K,MENU_PANE_SHORTCUT:Y,POPOVER:ed,ROLE:ef,SEPARATOR:eh,TAB:em,TABBABLE:eb,TABLE_SIZE_EDITOR:ew,TABLE_SIZE_EDITOR_BODY:eE,TABLE_SIZE_EDITOR_CELL:eS,TABLE_SIZE_EDITOR_CELL_SELECTED:ex,TABLE_SIZE_EDITOR_FOOTER:e_,TAB_LIST:eg,TOOLBAR:ey,TOOLTIP:ev});let eR="remirror-wrap",eD="remirror-language-select-positioner",eO="remirror-language-select-width",eI="remirror-a11y-dark",eN="remirror-atom-dark",eM="remirror-base16-ateliersulphurpool-light",eL="remirror-cb",eP="remirror-darcula",eF="remirror-dracula",eB="remirror-duotone-dark",eU="remirror-duotone-earth",ez="remirror-duotone-forest",ej="remirror-duotone-light",e$="remirror-duotone-sea",eH="remirror-duotone-space",eV="remirror-gh-colors",eG="remirror-hopscotch",eq="remirror-pojoaque",eW="remirror-vs",eK="remirror-xonokai";var eY=Object.freeze({__proto__:null,A11Y_DARK:eI,ATOM_DARK:eN,BASE16_ATELIERSULPHURPOOL_LIGHT:eM,CB:eL,DARCULA:eP,DRACULA:eF,DUOTONE_DARK:eB,DUOTONE_EARTH:eU,DUOTONE_FOREST:ez,DUOTONE_LIGHT:ej,DUOTONE_SEA:e$,DUOTONE_SPACE:eH,GH_COLORS:eV,HOPSCOTCH:eG,LANGUAGE_SELECT_POSITIONER:eD,LANGUAGE_SELECT_WIDTH:eO,POJOAQUE:eq,VS:eW,WRAP:eR,XONOKAI:eK});let eZ="remirror-emoji-image",eX="remirror-emoji-wrapper",eJ="remirror-emoji-popup-item",eQ="remirror-emoji-popup-hovered",e0="remirror-emoji-popup-highlight",e1="remirror-emoji-popup-wrapper",e2="remirror-emoji-popup-name",e3="remirror-emoji-popup-char";var e5=Object.freeze({__proto__:null,EMOJI_IMAGE:eZ,EMOJI_POPUP_CHAR:e3,EMOJI_POPUP_HIGHLIGHT:e0,EMOJI_POPUP_HOVERED:eQ,EMOJI_POPUP_ITEM:eJ,EMOJI_POPUP_NAME:e2,EMOJI_POPUP_WRAPPER:e1,EMOJI_WRAPPER:eX});let e4="remirror-image-loader";var e6=Object.freeze({__proto__:null,IMAGE_LOADER:e4});let e8="remirror-list-item-with-custom-mark",e9="remirror-ul-list-content",e7="remirror-editor",te="remirror-list-item-marker-container",tt="remirror-list-item-checkbox",tn="remirror-collapsible-list-item-closed",tr="remirror-collapsible-list-item-button",ti="remirror-list-spine";var to=Object.freeze({__proto__:null,COLLAPSIBLE_LIST_ITEM_BUTTON:tr,COLLAPSIBLE_LIST_ITEM_CLOSED:tn,EDITOR:e7,LIST_ITEM_CHECKBOX:tt,LIST_ITEM_MARKER_CONTAINER:te,LIST_ITEM_WITH_CUSTOM_MARKER:e8,LIST_SPINE:ti,UL_LIST_CONTENT:e9});let ta="remirror-is-empty";var ts=Object.freeze({__proto__:null,IS_EMPTY:ta});let tl="remirror-editor",tu="remirror-positioner",tc="remirror-positioner-widget";var td=Object.freeze({__proto__:null,EDITOR:tl,POSITIONER:tu,POSITIONER_WIDGET:tc});let tp="remirror-theme";function tf(n={}){let i=[],o={};function a(n,s){if("string"==typeof s||"number"==typeof s){i.push(`${tm(n)}: ${s};`),o[tm(n)]=s;return}if("object"==typeof s&&s)for(let[l,u]of Object.entries(s))a([...n,l],u)}for(let[s,l]of Object.entries(n))a([s],l);return{css:i.join("\n"),styles:o}}function th(n){return n.replace(/([a-z])([\dA-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}function tm(n){return`--rmr-${n.map(th).join("-")}`}function tg(n){return`var(${tm(n)})`}function tb(...n){return tg(n.map(n=>n.toString()))}let ty={gray:["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"],red:["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],pink:["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],grape:["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],violet:["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],indigo:["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],blue:["#e7f5ff","#d0ebff","#a5d8ff","#74c0fc","#4dabf7","#339af0","#228be6","#1c7ed6","#1971c2","#1864ab"],cyan:["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],teal:["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],green:["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],lime:["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],yellow:["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],orange:["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"]},tv="#000000",tw="#ffffff",tE="#252103",tS=C(tv,.75),tx="#7963d2",t_="#bcd263",tk="#fff",tA="#fff",tT=ty.gray[1],tC="rgba(10,31,68,0.08)",tR="rgba(10,31,68,0.10)",tD="rgba(10,31,68,0.12)",tO=T(C(tv,.1),.13),tI={background:tw,border:tS,foreground:tv,muted:tT,primary:tx,secondary:t_,primaryText:tk,secondaryText:tA,text:tE,faded:tO},tN={...tI,background:_(tw,.15),border:_(tS,.15),foreground:_(tv,.15),muted:_(tT,.15),primary:_(tx,.15),secondary:_(t_,.15),get text(){return D(this.background)},get primaryText(){return D(this.primary)},get secondaryText(){return D(this.secondary)}},tM={...tI,background:_(tw,.075),border:_(tS,.075),foreground:_(tv,.075),muted:_(tT,.075),primary:_(tx,.075),secondary:_(t_,.075),get text(){return D(this.background)},get primaryText(){return D(this.primary)},get secondaryText(){return D(this.secondary)}},tL={color:{...tI,active:tN,hover:tM,shadow1:tC,shadow2:tR,shadow3:tD,backdrop:C(tv,.1),outline:C(tx,.6),table:{default:{border:T(tv,.8),cell:T(tv,.4),controller:ty.gray[3]},selected:{border:ty.blue[7],cell:ty.blue[1],controller:ty.blue[5]},preselect:{border:ty.blue[7],cell:T(tv,.4),controller:ty.blue[5]},predelete:{border:ty.red[7],cell:ty.red[1],controller:ty.red[5]},mark:"#91919196"}},hue:ty,radius:{border:"0.25rem",extra:"0.5rem",circle:"50%"},fontFamily:{default:'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif',heading:"inherit",mono:"Menlo, monospace"},fontSize:{0:"12px",1:"14px",2:"16px",3:"20px",4:"24px",5:"32px",6:"48px",7:"64px",8:"96px",default:"16px"},space:{1:"4px",2:"8px",3:"16px",4:"32px",5:"64px",6:"128px",7:"256px",8:"512px"},fontWeight:{bold:"700",default:"400",heading:"700"},letterSpacing:{tight:"-1px",default:"normal",loose:"1px",wide:"3px"},lineHeight:{heading:"1.25em",default:"1.5em"},boxShadow:{1:`0 1px 1px ${tC}`,2:`0 1px 1px ${tR}`,3:`0 1px 1px ${tD}`}}},7297:function(n,i,o){"use strict";function a(n,i){return i||(i=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(i)}}))}o.d(i,{Z:function(){return a}})},5121:function(n,i,o){"use strict";o.d(i,{Z:function(){return tN}});var a,s,l,u={};function c(n,i){return function(){return n.apply(i,arguments)}}o.r(u),o.d(u,{hasBrowserEnv:function(){return eL},hasStandardBrowserEnv:function(){return eP},hasStandardBrowserWebWorkerEnv:function(){return eF}});let{toString:d}=Object.prototype,{getPrototypeOf:p}=Object,f=(a=Object.create(null),n=>{let i=d.call(n);return a[i]||(a[i]=i.slice(8,-1).toLowerCase())}),h=n=>(n=n.toLowerCase(),i=>f(i)===n),m=n=>i=>typeof i===n,{isArray:g}=Array,b=m("undefined");function y(n){return null!==n&&!b(n)&&null!==n.constructor&&!b(n.constructor)&&S(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}let v=h("ArrayBuffer");function w(n){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(n):n&&n.buffer&&v(n.buffer)}let E=m("string"),S=m("function"),x=m("number"),_=n=>null!==n&&"object"==typeof n,k=n=>!0===n||!1===n,A=n=>{if("object"!==f(n))return!1;let i=p(n);return(null===i||i===Object.prototype||null===Object.getPrototypeOf(i))&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)},T=h("Date"),C=h("File"),R=h("Blob"),D=h("FileList"),O=n=>_(n)&&S(n.pipe),I=n=>{let i;return n&&("function"==typeof FormData&&n instanceof FormData||S(n.append)&&("formdata"===(i=f(n))||"object"===i&&S(n.toString)&&"[object FormData]"===n.toString()))},N=h("URLSearchParams"),M=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function L(n,i,{allOwnKeys:o=!1}={}){let a,s;if(null!=n){if("object"!=typeof n&&(n=[n]),g(n))for(a=0,s=n.length;a0;)if(i===(o=a[s]).toLowerCase())return o;return null}let F="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,B=n=>!b(n)&&n!==F;function U(){let{caseless:n}=B(this)&&this||{},i={},o=(o,a)=>{let s=n&&P(i,a)||a;A(i[s])&&A(o)?i[s]=U(i[s],o):A(o)?i[s]=U({},o):g(o)?i[s]=o.slice():i[s]=o};for(let a=0,s=arguments.length;a(L(i,(i,a)=>{o&&S(i)?n[a]=c(i,o):n[a]=i},{allOwnKeys:a}),n),j=n=>(65279===n.charCodeAt(0)&&(n=n.slice(1)),n),$=(n,i,o,a)=>{n.prototype=Object.create(i.prototype,a),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:i.prototype}),o&&Object.assign(n.prototype,o)},H=(n,i,o,a)=>{let s,l,u;let c={};if(i=i||{},null==n)return i;do{for(l=(s=Object.getOwnPropertyNames(n)).length;l-- >0;)u=s[l],(!a||a(u,n,i))&&!c[u]&&(i[u]=n[u],c[u]=!0);n=!1!==o&&p(n)}while(n&&(!o||o(n,i))&&n!==Object.prototype);return i},V=(n,i,o)=>{n=String(n),(void 0===o||o>n.length)&&(o=n.length),o-=i.length;let a=n.indexOf(i,o);return -1!==a&&a===o},G=n=>{if(!n)return null;if(g(n))return n;let i=n.length;if(!x(i))return null;let o=Array(i);for(;i-- >0;)o[i]=n[i];return o},q=(s="undefined"!=typeof Uint8Array&&p(Uint8Array),n=>s&&n instanceof s),W=(n,i)=>{let o;let a=n&&n[Symbol.iterator],s=a.call(n);for(;(o=s.next())&&!o.done;){let l=o.value;i.call(n,l[0],l[1])}},K=(n,i)=>{let o;let a=[];for(;null!==(o=n.exec(i));)a.push(o);return a},Y=h("HTMLFormElement"),Z=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,o){return i.toUpperCase()+o}),X=(({hasOwnProperty:n})=>(i,o)=>n.call(i,o))(Object.prototype),J=h("RegExp"),Q=(n,i)=>{let o=Object.getOwnPropertyDescriptors(n),a={};L(o,(o,s)=>{let l;!1!==(l=i(o,s,n))&&(a[s]=l||o)}),Object.defineProperties(n,a)},ee=n=>{Q(n,(i,o)=>{if(S(n)&&-1!==["arguments","caller","callee"].indexOf(o))return!1;let a=n[o];if(S(a)){if(i.enumerable=!1,"writable"in i){i.writable=!1;return}i.set||(i.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},et=(n,i)=>{let o={},a=n=>{n.forEach(n=>{o[n]=!0})};return a(g(n)?n:String(n).split(i)),o},en=()=>{},er=(n,i)=>Number.isFinite(n=+n)?n:i,ei="abcdefghijklmnopqrstuvwxyz",eo="0123456789",ea={DIGIT:eo,ALPHA:ei,ALPHA_DIGIT:ei+ei.toUpperCase()+eo},es=(n=16,i=ea.ALPHA_DIGIT)=>{let o="",{length:a}=i;for(;n--;)o+=i[Math.random()*a|0];return o};function el(n){return!!(n&&S(n.append)&&"FormData"===n[Symbol.toStringTag]&&n[Symbol.iterator])}let eu=n=>{let i=Array(10),o=(n,a)=>{if(_(n)){if(i.indexOf(n)>=0)return;if(!("toJSON"in n)){i[a]=n;let s=g(n)?[]:{};return L(n,(n,i)=>{let l=o(n,a+1);b(l)||(s[i]=l)}),i[a]=void 0,s}}return n};return o(n,0)},ec=h("AsyncFunction"),ed=n=>n&&(_(n)||S(n))&&S(n.then)&&S(n.catch);var ep={isArray:g,isArrayBuffer:v,isBuffer:y,isFormData:I,isArrayBufferView:w,isString:E,isNumber:x,isBoolean:k,isObject:_,isPlainObject:A,isUndefined:b,isDate:T,isFile:C,isBlob:R,isRegExp:J,isFunction:S,isStream:O,isURLSearchParams:N,isTypedArray:q,isFileList:D,forEach:L,merge:U,extend:z,trim:M,stripBOM:j,inherits:$,toFlatObject:H,kindOf:f,kindOfTest:h,endsWith:V,toArray:G,forEachEntry:W,matchAll:K,isHTMLForm:Y,hasOwnProperty:X,hasOwnProp:X,reduceDescriptors:Q,freezeMethods:ee,toObjectSet:et,toCamelCase:Z,noop:en,toFiniteNumber:er,findKey:P,global:F,isContextDefined:B,ALPHABET:ea,generateString:es,isSpecCompliantForm:el,toJSONObject:eu,isAsyncFn:ec,isThenable:ed};function ef(n,i,o,a,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=n,this.name="AxiosError",i&&(this.code=i),o&&(this.config=o),a&&(this.request=a),s&&(this.response=s)}ep.inherits(ef,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ep.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let eh=ef.prototype,em={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(n=>{em[n]={value:n}}),Object.defineProperties(ef,em),Object.defineProperty(eh,"isAxiosError",{value:!0}),ef.from=(n,i,o,a,s,l)=>{let u=Object.create(eh);return ep.toFlatObject(n,u,function(n){return n!==Error.prototype},n=>"isAxiosError"!==n),ef.call(u,n.message,i,o,a,s),u.cause=n,u.name=n.name,l&&Object.assign(u,l),u};var eg=ef,eb=null,ey=o(48764).Buffer;function ev(n){return ep.isPlainObject(n)||ep.isArray(n)}function ew(n){return ep.endsWith(n,"[]")?n.slice(0,-2):n}function eE(n,i,o){return n?n.concat(i).map(function(n,i){return n=ew(n),!o&&i?"["+n+"]":n}).join(o?".":""):i}function eS(n){return ep.isArray(n)&&!n.some(ev)}let ex=ep.toFlatObject(ep,{},null,function(n){return/^is[A-Z]/.test(n)});var e_=function(n,i,o){if(!ep.isObject(n))throw TypeError("target must be an object");i=i||new(eb||FormData),o=ep.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(n,i){return!ep.isUndefined(i[n])});let a=o.metaTokens,s=o.visitor||f,l=o.dots,u=o.indexes,c=o.Blob||"undefined"!=typeof Blob&&Blob,d=c&&ep.isSpecCompliantForm(i);if(!ep.isFunction(s))throw TypeError("visitor must be a function");function p(n){if(null===n)return"";if(ep.isDate(n))return n.toISOString();if(!d&&ep.isBlob(n))throw new eg("Blob is not supported. Use a Buffer instead.");return ep.isArrayBuffer(n)||ep.isTypedArray(n)?d&&"function"==typeof Blob?new Blob([n]):ey.from(n):n}function f(n,o,s){let c=n;if(n&&!s&&"object"==typeof n){if(ep.endsWith(o,"{}"))o=a?o:o.slice(0,-2),n=JSON.stringify(n);else if(ep.isArray(n)&&eS(n)||(ep.isFileList(n)||ep.endsWith(o,"[]"))&&(c=ep.toArray(n)))return o=ew(o),c.forEach(function(n,a){ep.isUndefined(n)||null===n||i.append(!0===u?eE([o],a,l):null===u?o:o+"[]",p(n))}),!1}return!!ev(n)||(i.append(eE(s,o,l),p(n)),!1)}let h=[],m=Object.assign(ex,{defaultVisitor:f,convertValue:p,isVisitable:ev});function g(n,o){if(!ep.isUndefined(n)){if(-1!==h.indexOf(n))throw Error("Circular reference detected in "+o.join("."));h.push(n),ep.forEach(n,function(n,a){let l=!(ep.isUndefined(n)||null===n)&&s.call(i,n,ep.isString(a)?a.trim():a,o,m);!0===l&&g(n,o?o.concat(a):[a])}),h.pop()}}if(!ep.isObject(n))throw TypeError("data must be an object");return g(n),i};function ek(n){let i={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(n){return i[n]})}function eA(n,i){this._pairs=[],n&&e_(n,this,i)}let eT=eA.prototype;eT.append=function(n,i){this._pairs.push([n,i])},eT.toString=function(n){let i=n?function(i){return n.call(this,i,ek)}:ek;return this._pairs.map(function(n){return i(n[0])+"="+i(n[1])},"").join("&")};var eC=eA;function eR(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function eD(n,i,o){let a;if(!i)return n;let s=o&&o.encode||eR,l=o&&o.serialize;if(a=l?l(i,o):ep.isURLSearchParams(i)?i.toString():new eC(i,o).toString(s)){let u=n.indexOf("#");-1!==u&&(n=n.slice(0,u)),n+=(-1===n.indexOf("?")?"?":"&")+a}return n}class eO{constructor(){this.handlers=[]}use(n,i,o){return this.handlers.push({fulfilled:n,rejected:i,synchronous:!!o&&o.synchronous,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(n){this.handlers[n]&&(this.handlers[n]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(n){ep.forEach(this.handlers,function(i){null!==i&&n(i)})}}var eI=eO,eN={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},eM={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:eC,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};let eL="undefined"!=typeof window&&"undefined"!=typeof document,eP=(l="undefined"!=typeof navigator&&navigator.product,eL&&0>["ReactNative","NativeScript","NS"].indexOf(l)),eF="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var eB={...u,...eM};function eU(n,i){return e_(n,new eB.classes.URLSearchParams,Object.assign({visitor:function(n,i,o,a){return eB.isNode&&ep.isBuffer(n)?(this.append(i,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},i))}function ez(n){return ep.matchAll(/\w+|\[(\w*)]/g,n).map(n=>"[]"===n[0]?"":n[1]||n[0])}function ej(n){let i,o;let a={},s=Object.keys(n),l=s.length;for(i=0;i=n.length;if(l=!l&&ep.isArray(a)?a.length:l,c)return ep.hasOwnProp(a,l)?a[l]=[a[l],o]:a[l]=o,!u;a[l]&&ep.isObject(a[l])||(a[l]=[]);let d=i(n,o,a[l],s);return d&&ep.isArray(a[l])&&(a[l]=ej(a[l])),!u}if(ep.isFormData(n)&&ep.isFunction(n.entries)){let o={};return ep.forEachEntry(n,(n,a)=>{i(ez(n),a,o,0)}),o}return null};function eH(n,i,o){if(ep.isString(n))try{return(i||JSON.parse)(n),ep.trim(n)}catch(a){if("SyntaxError"!==a.name)throw a}return(o||JSON.stringify)(n)}let eV={transitional:eN,adapter:["xhr","http"],transformRequest:[function(n,i){let o;let a=i.getContentType()||"",s=a.indexOf("application/json")>-1,l=ep.isObject(n);l&&ep.isHTMLForm(n)&&(n=new FormData(n));let u=ep.isFormData(n);if(u)return s&&s?JSON.stringify(e$(n)):n;if(ep.isArrayBuffer(n)||ep.isBuffer(n)||ep.isStream(n)||ep.isFile(n)||ep.isBlob(n))return n;if(ep.isArrayBufferView(n))return n.buffer;if(ep.isURLSearchParams(n))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),n.toString();if(l){if(a.indexOf("application/x-www-form-urlencoded")>-1)return eU(n,this.formSerializer).toString();if((o=ep.isFileList(n))||a.indexOf("multipart/form-data")>-1){let c=this.env&&this.env.FormData;return e_(o?{"files[]":n}:n,c&&new c,this.formSerializer)}}return l||s?(i.setContentType("application/json",!1),eH(n)):n}],transformResponse:[function(n){let i=this.transitional||eV.transitional,o=i&&i.forcedJSONParsing,a="json"===this.responseType;if(n&&ep.isString(n)&&(o&&!this.responseType||a)){let s=i&&i.silentJSONParsing,l=!s&&a;try{return JSON.parse(n)}catch(u){if(l){if("SyntaxError"===u.name)throw eg.from(u,eg.ERR_BAD_RESPONSE,this,null,this.response);throw u}}}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:eB.classes.FormData,Blob:eB.classes.Blob},validateStatus:function(n){return n>=200&&n<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ep.forEach(["delete","get","head","post","put","patch"],n=>{eV.headers[n]={}});var eG=eV;let eq=ep.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var eW=n=>{let i,o,a;let s={};return n&&n.split("\n").forEach(function(n){a=n.indexOf(":"),i=n.substring(0,a).trim().toLowerCase(),o=n.substring(a+1).trim(),!i||s[i]&&eq[i]||("set-cookie"===i?s[i]?s[i].push(o):s[i]=[o]:s[i]=s[i]?s[i]+", "+o:o)}),s};let eK=Symbol("internals");function eY(n){return n&&String(n).trim().toLowerCase()}function eZ(n){return!1===n||null==n?n:ep.isArray(n)?n.map(eZ):String(n)}function eX(n){let i;let o=Object.create(null),a=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;i=a.exec(n);)o[i[1]]=i[2];return o}let eJ=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function eQ(n,i,o,a,s){if(ep.isFunction(a))return a.call(this,i,o);if(s&&(i=o),ep.isString(i)){if(ep.isString(a))return -1!==i.indexOf(a);if(ep.isRegExp(a))return a.test(i)}}function e0(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,i,o)=>i.toUpperCase()+o)}function e1(n,i){let o=ep.toCamelCase(" "+i);["get","set","has"].forEach(a=>{Object.defineProperty(n,a+o,{value:function(n,o,s){return this[a].call(this,i,n,o,s)},configurable:!0})})}class e2{constructor(n){n&&this.set(n)}set(n,i,o){let a=this;function s(n,i,o){let s=eY(i);if(!s)throw Error("header name must be a non-empty string");let l=ep.findKey(a,s);l&&void 0!==a[l]&&!0!==o&&(void 0!==o||!1===a[l])||(a[l||i]=eZ(n))}let l=(n,i)=>ep.forEach(n,(n,o)=>s(n,o,i));return ep.isPlainObject(n)||n instanceof this.constructor?l(n,i):ep.isString(n)&&(n=n.trim())&&!eJ(n)?l(eW(n),i):null!=n&&s(i,n,o),this}get(n,i){if(n=eY(n)){let o=ep.findKey(this,n);if(o){let a=this[o];if(!i)return a;if(!0===i)return eX(a);if(ep.isFunction(i))return i.call(this,a,o);if(ep.isRegExp(i))return i.exec(a);throw TypeError("parser must be boolean|regexp|function")}}}has(n,i){if(n=eY(n)){let o=ep.findKey(this,n);return!!(o&&void 0!==this[o]&&(!i||eQ(this,this[o],o,i)))}return!1}delete(n,i){let o=this,a=!1;function s(n){if(n=eY(n)){let s=ep.findKey(o,n);s&&(!i||eQ(o,o[s],s,i))&&(delete o[s],a=!0)}}return ep.isArray(n)?n.forEach(s):s(n),a}clear(n){let i=Object.keys(this),o=i.length,a=!1;for(;o--;){let s=i[o];(!n||eQ(this,this[s],s,n,!0))&&(delete this[s],a=!0)}return a}normalize(n){let i=this,o={};return ep.forEach(this,(a,s)=>{let l=ep.findKey(o,s);if(l){i[l]=eZ(a),delete i[s];return}let u=n?e0(s):String(s).trim();u!==s&&delete i[s],i[u]=eZ(a),o[u]=!0}),this}concat(...n){return this.constructor.concat(this,...n)}toJSON(n){let i=Object.create(null);return ep.forEach(this,(o,a)=>{null!=o&&!1!==o&&(i[a]=n&&ep.isArray(o)?o.join(", "):o)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([n,i])=>n+": "+i).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(n){return n instanceof this?n:new this(n)}static concat(n,...i){let o=new this(n);return i.forEach(n=>o.set(n)),o}static accessor(n){let i=this[eK]=this[eK]={accessors:{}},o=i.accessors,a=this.prototype;function s(n){let i=eY(n);o[i]||(e1(a,n),o[i]=!0)}return ep.isArray(n)?n.forEach(s):s(n),this}}e2.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ep.reduceDescriptors(e2.prototype,({value:n},i)=>{let o=i[0].toUpperCase()+i.slice(1);return{get:()=>n,set(n){this[o]=n}}}),ep.freezeMethods(e2);var e3=e2;function e5(n,i){let o=this||eG,a=i||o,s=e3.from(a.headers),l=a.data;return ep.forEach(n,function(n){l=n.call(o,l,s.normalize(),i?i.status:void 0)}),s.normalize(),l}function e4(n){return!!(n&&n.__CANCEL__)}function e6(n,i,o){eg.call(this,null==n?"canceled":n,eg.ERR_CANCELED,i,o),this.name="CanceledError"}ep.inherits(e6,eg,{__CANCEL__:!0});var e8=e6;function e9(n,i,o){let a=o.config.validateStatus;!o.status||!a||a(o.status)?n(o):i(new eg("Request failed with status code "+o.status,[eg.ERR_BAD_REQUEST,eg.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}var e7=eB.hasStandardBrowserEnv?{write(n,i,o,a,s,l){let u=[n+"="+encodeURIComponent(i)];ep.isNumber(o)&&u.push("expires="+new Date(o).toGMTString()),ep.isString(a)&&u.push("path="+a),ep.isString(s)&&u.push("domain="+s),!0===l&&u.push("secure"),document.cookie=u.join("; ")},read(n){let i=document.cookie.match(RegExp("(^|;\\s*)("+n+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove(n){this.write(n,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function te(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function tt(n,i){return i?n.replace(/\/+$/,"")+"/"+i.replace(/^\/+/,""):n}function tn(n,i){return n&&!te(i)?tt(n,i):i}var tr=eB.hasStandardBrowserEnv?function(){let n;let i=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");function a(n){let a=n;return i&&(o.setAttribute("href",a),a=o.href),o.setAttribute("href",a),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}return n=a(window.location.href),function(i){let o=ep.isString(i)?a(i):i;return o.protocol===n.protocol&&o.host===n.host}}():function(){return!0};function ti(n){let i=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return i&&i[1]||""}var to=function(n,i){let o;n=n||10;let a=Array(n),s=Array(n),l=0,u=0;return i=void 0!==i?i:1e3,function(c){let d=Date.now(),p=s[u];o||(o=d),a[l]=c,s[l]=d;let f=u,h=0;for(;f!==l;)h+=a[f++],f%=n;if((l=(l+1)%n)===u&&(u=(u+1)%n),d-o{let l=s.loaded,u=s.lengthComputable?s.total:void 0,c=l-o,d=a(c),p=l<=u;o=l;let f={loaded:l,total:u,progress:u?l/u:void 0,bytes:c,rate:d||void 0,estimated:d&&u&&p?(u-l)/d:void 0,event:s};f[i?"download":"upload"]=!0,n(f)}}let ts="undefined"!=typeof XMLHttpRequest;var tl=ts&&function(n){return new Promise(function(i,o){let a,s,l=n.data,u=e3.from(n.headers).normalize(),{responseType:c,withXSRFToken:d}=n;function p(){n.cancelToken&&n.cancelToken.unsubscribe(a),n.signal&&n.signal.removeEventListener("abort",a)}if(ep.isFormData(l)){if(eB.hasStandardBrowserEnv||eB.hasStandardBrowserWebWorkerEnv)u.setContentType(!1);else if(!1!==(s=u.getContentType())){let[f,...h]=s?s.split(";").map(n=>n.trim()).filter(Boolean):[];u.setContentType([f||"multipart/form-data",...h].join("; "))}}let m=new XMLHttpRequest;if(n.auth){let g=n.auth.username||"",b=n.auth.password?unescape(encodeURIComponent(n.auth.password)):"";u.set("Authorization","Basic "+btoa(g+":"+b))}let y=tn(n.baseURL,n.url);function v(){if(!m)return;let a=e3.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),s=c&&"text"!==c&&"json"!==c?m.response:m.responseText,l={data:s,status:m.status,statusText:m.statusText,headers:a,config:n,request:m};e9(function(n){i(n),p()},function(n){o(n),p()},l),m=null}if(m.open(n.method.toUpperCase(),eD(y,n.params,n.paramsSerializer),!0),m.timeout=n.timeout,"onloadend"in m?m.onloadend=v:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(v)},m.onabort=function(){m&&(o(new eg("Request aborted",eg.ECONNABORTED,n,m)),m=null)},m.onerror=function(){o(new eg("Network Error",eg.ERR_NETWORK,n,m)),m=null},m.ontimeout=function(){let i=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded",a=n.transitional||eN;n.timeoutErrorMessage&&(i=n.timeoutErrorMessage),o(new eg(i,a.clarifyTimeoutError?eg.ETIMEDOUT:eg.ECONNABORTED,n,m)),m=null},eB.hasStandardBrowserEnv&&(d&&ep.isFunction(d)&&(d=d(n)),d||!1!==d&&tr(y))){let w=n.xsrfHeaderName&&n.xsrfCookieName&&e7.read(n.xsrfCookieName);w&&u.set(n.xsrfHeaderName,w)}void 0===l&&u.setContentType(null),"setRequestHeader"in m&&ep.forEach(u.toJSON(),function(n,i){m.setRequestHeader(i,n)}),ep.isUndefined(n.withCredentials)||(m.withCredentials=!!n.withCredentials),c&&"json"!==c&&(m.responseType=n.responseType),"function"==typeof n.onDownloadProgress&&m.addEventListener("progress",ta(n.onDownloadProgress,!0)),"function"==typeof n.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",ta(n.onUploadProgress)),(n.cancelToken||n.signal)&&(a=i=>{m&&(o(!i||i.type?new e8(null,n,m):i),m.abort(),m=null)},n.cancelToken&&n.cancelToken.subscribe(a),n.signal&&(n.signal.aborted?a():n.signal.addEventListener("abort",a)));let E=ti(y);if(E&&-1===eB.protocols.indexOf(E)){o(new eg("Unsupported protocol "+E+":",eg.ERR_BAD_REQUEST,n));return}m.send(l||null)})};let tu={http:eb,xhr:tl};ep.forEach(tu,(n,i)=>{if(n){try{Object.defineProperty(n,"name",{value:i})}catch(o){}Object.defineProperty(n,"adapterName",{value:i})}});let tc=n=>`- ${n}`,td=n=>ep.isFunction(n)||null===n||!1===n;var tp={getAdapter(n){let i,o;n=ep.isArray(n)?n:[n];let{length:a}=n,s={};for(let l=0;l`adapter ${n} `+(!1===i?"is not supported by the environment":"is not available in the build")),d=a?c.length>1?"since :\n"+c.map(tc).join("\n"):" "+tc(c[0]):"as no adapter specified";throw new eg("There is no suitable adapter to dispatch the request "+d,"ERR_NOT_SUPPORT")}return o},adapters:tu};function tf(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new e8(null,n)}function th(n){tf(n),n.headers=e3.from(n.headers),n.data=e5.call(n,n.transformRequest),-1!==["post","put","patch"].indexOf(n.method)&&n.headers.setContentType("application/x-www-form-urlencoded",!1);let i=tp.getAdapter(n.adapter||eG.adapter);return i(n).then(function(i){return tf(n),i.data=e5.call(n,n.transformResponse,i),i.headers=e3.from(i.headers),i},function(i){return!e4(i)&&(tf(n),i&&i.response&&(i.response.data=e5.call(n,n.transformResponse,i.response),i.response.headers=e3.from(i.response.headers))),Promise.reject(i)})}let tm=n=>n instanceof e3?n.toJSON():n;function tg(n,i){i=i||{};let o={};function a(n,i,o){return ep.isPlainObject(n)&&ep.isPlainObject(i)?ep.merge.call({caseless:o},n,i):ep.isPlainObject(i)?ep.merge({},i):ep.isArray(i)?i.slice():i}function s(n,i,o){return ep.isUndefined(i)?ep.isUndefined(n)?void 0:a(void 0,n,o):a(n,i,o)}function l(n,i){if(!ep.isUndefined(i))return a(void 0,i)}function u(n,i){return ep.isUndefined(i)?ep.isUndefined(n)?void 0:a(void 0,n):a(void 0,i)}function c(o,s,l){return l in i?a(o,s):l in n?a(void 0,o):void 0}let d={url:l,method:l,data:l,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:c,headers:(n,i)=>s(tm(n),tm(i),!0)};return ep.forEach(Object.keys(Object.assign({},n,i)),function(a){let l=d[a]||s,u=l(n[a],i[a],a);ep.isUndefined(u)&&l!==c||(o[a]=u)}),o}let tb="1.6.2",ty={};["object","boolean","number","function","string","symbol"].forEach((n,i)=>{ty[n]=function(o){return typeof o===n||"a"+(i<1?"n ":" ")+n}});let tv={};function tw(n,i,o){if("object"!=typeof n)throw new eg("options must be an object",eg.ERR_BAD_OPTION_VALUE);let a=Object.keys(n),s=a.length;for(;s-- >0;){let l=a[s],u=i[l];if(u){let c=n[l],d=void 0===c||u(c,l,n);if(!0!==d)throw new eg("option "+l+" must be "+d,eg.ERR_BAD_OPTION_VALUE);continue}if(!0!==o)throw new eg("Unknown option "+l,eg.ERR_BAD_OPTION)}}ty.transitional=function(n,i,o){function a(n,i){return"[Axios v"+tb+"] Transitional option '"+n+"'"+i+(o?". "+o:"")}return(o,s,l)=>{if(!1===n)throw new eg(a(s," has been removed"+(i?" in "+i:"")),eg.ERR_DEPRECATED);return i&&!tv[s]&&(tv[s]=!0,console.warn(a(s," has been deprecated since v"+i+" and will be removed in the near future"))),!n||n(o,s,l)}};var tE={assertOptions:tw,validators:ty};let tS=tE.validators;class tx{constructor(n){this.defaults=n,this.interceptors={request:new eI,response:new eI}}request(n,i){let o,a;"string"==typeof n?(i=i||{}).url=n:i=n||{},i=tg(this.defaults,i);let{transitional:s,paramsSerializer:l,headers:u}=i;void 0!==s&&tE.assertOptions(s,{silentJSONParsing:tS.transitional(tS.boolean),forcedJSONParsing:tS.transitional(tS.boolean),clarifyTimeoutError:tS.transitional(tS.boolean)},!1),null!=l&&(ep.isFunction(l)?i.paramsSerializer={serialize:l}:tE.assertOptions(l,{encode:tS.function,serialize:tS.function},!0)),i.method=(i.method||this.defaults.method||"get").toLowerCase();let c=u&&ep.merge(u.common,u[i.method]);u&&ep.forEach(["delete","get","head","post","put","patch","common"],n=>{delete u[n]}),i.headers=e3.concat(c,u);let d=[],p=!0;this.interceptors.request.forEach(function(n){("function"!=typeof n.runWhen||!1!==n.runWhen(i))&&(p=p&&n.synchronous,d.unshift(n.fulfilled,n.rejected))});let f=[];this.interceptors.response.forEach(function(n){f.push(n.fulfilled,n.rejected)});let h=0;if(!p){let m=[th.bind(this),void 0];for(m.unshift.apply(m,d),m.push.apply(m,f),a=m.length,o=Promise.resolve(i);h{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](n);o._listeners=null}),this.promise.then=n=>{let i;let a=new Promise(n=>{o.subscribe(n),i=n}).then(n);return a.cancel=function(){o.unsubscribe(i)},a},n(function(n,a,s){o.reason||(o.reason=new e8(n,a,s),i(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]}unsubscribe(n){if(!this._listeners)return;let i=this._listeners.indexOf(n);-1!==i&&this._listeners.splice(i,1)}static source(){let n;let i=new tk(function(i){n=i});return{token:i,cancel:n}}}var tA=tk;function tT(n){return function(i){return n.apply(null,i)}}function tC(n){return ep.isObject(n)&&!0===n.isAxiosError}let tR={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(tR).forEach(([n,i])=>{tR[i]=n});var tD=tR;function tO(n){let i=new t_(n),o=c(t_.prototype.request,i);return ep.extend(o,t_.prototype,i,{allOwnKeys:!0}),ep.extend(o,i,null,{allOwnKeys:!0}),o.create=function(i){return tO(tg(n,i))},o}let tI=tO(eG);tI.Axios=t_,tI.CanceledError=e8,tI.CancelToken=tA,tI.isCancel=e4,tI.VERSION=tb,tI.toFormData=e_,tI.AxiosError=eg,tI.Cancel=tI.CanceledError,tI.all=function(n){return Promise.all(n)},tI.spread=tT,tI.isAxiosError=tC,tI.mergeConfig=tg,tI.AxiosHeaders=e3,tI.formToJSON=n=>e$(ep.isHTMLForm(n)?new FormData(n):n),tI.getAdapter=tp.getAdapter,tI.HttpStatusCode=tD,tI.default=tI;var tN=tI},31857:function(n,i,o){"use strict";o.d(i,{GL:function(){return p},Ho:function(){return d}});let a=/^[a-zà-öø-ÿ]+|[A-ZÀ-ÖØ-ß][a-zà-öø-ÿ]+|[a-zà-öø-ÿ]+|[0-9]+|[A-ZÀ-ÖØ-ß]+(?![a-zà-öø-ÿ])/g,s=/\S+/g;function l(n,i){let o={parts:[],prefixes:[]},a=n.matchAll(i),s=0;for(let l of a){if("number"!=typeof l.index)continue;let u=l[0];o.parts.push(u);let c=n.slice(s,l.index).trim();o.prefixes.push(c),s=l.index+u.length}let d=n.slice(s).trim();return d&&(o.parts.push(""),o.prefixes.push(d)),o}function u(n,i){let{keepSpecialCharacters:o=!1,keep:u,prefix:c=""}=i||{},d=n.trim().normalize("NFC"),p=d.includes(" "),f=p?s:a,h=l(d,f);return h.parts.map((n,i)=>{let a=h.prefixes[i]||"",s=n;return(!1!==o||(u&&(s=s.normalize("NFD").replace(RegExp(`[^a-zA-Z\xd8\xDF\xf80-9${u.join("")}]`,"g"),"")),u||(s=s.normalize("NFD").replace(/[^a-zA-ZØßø0-9]/g,""),a="")),u&&(a=a.replace(RegExp(`[^${u.join("")}]`,"g"),"")),0===i)?a+s:a||s?p&&!a&&c.match(/\s/)?" "+s:(a||c)+s:""}).filter(Boolean)}function c(n){let i=n.matchAll(a).next().value,o=i?i.index:0;return n.slice(0,o+1).toUpperCase()+n.slice(o+1).toLowerCase()}function d(n,i){return u(n,i).reduce((n,i)=>n+c(i),"")}function p(n,i){return u(n,{...i,prefix:"-"}).join("").toLowerCase()}},44301:function(n,i,o){"use strict";o.d(i,{T:function(){return s}});let a=document.createElement("i");function s(n){let i="&"+n+";";a.innerHTML=i;let o=a.textContent;return(59!==o.charCodeAt(o.length-1)||"semi"===n)&&o!==i&&o}},23402:function(n,i,o){"use strict";o.d(i,{w:function(){return l}});var a=o(42761),s=o(75364);let l={tokenize:u,partial:!0};function u(n,i,o){return l;function l(i){return(0,s.xz)(i)?(0,a.f)(n,u,"linePrefix")(i):u(i)}function u(n){return null===n||(0,s.Ch)(n)?i(n):o(n)}}},42761:function(n,i,o){"use strict";o.d(i,{f:function(){return s}});var a=o(75364);function s(n,i,o,s){let l=s?s-1:Number.POSITIVE_INFINITY,u=0;return c;function c(s){return(0,a.xz)(s)?(n.enter(o),d(s)):i(s)}function d(s){return(0,a.xz)(s)&&u++l?0:l+i:i>l?l:i,o=o>0?o:0,a.length<1e4)(s=Array.from(a)).unshift(i,o),n.splice(...s);else for(o&&n.splice(i,o);u0?(a(n,n.length,0,i),n):i}o.d(i,{V:function(){return s},d:function(){return a}})},62987:function(n,i,o){"use strict";o.d(i,{r:function(){return s}});var a=o(75364);function s(n){return null===n||(0,a.z3)(n)||(0,a.B8)(n)?1:(0,a.Xh)(n)?2:void 0}},4663:function(n,i,o){"use strict";o.d(i,{W:function(){return l}});var a=o(21905);let s={}.hasOwnProperty;function l(n){let i={},o=-1;for(;++o13&&o<32||o>126&&o<160||o>55295&&o<57344||o>64975&&o<65008||(65535&o)==65535||(65535&o)==65534||o>1114111?"�":String.fromCharCode(o)}o.d(i,{o:function(){return a}})},47881:function(n,i,o){"use strict";o.d(i,{v:function(){return u}});var a=o(44301),s=o(80889);let l=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function u(n){return n.replace(l,c)}function c(n,i,o){if(i)return i;let l=o.charCodeAt(0);if(35===l){let u=o.charCodeAt(1),c=120===u||88===u;return(0,s.o)(o.slice(c?2:1),c?16:10)}return(0,a.T)(o)||n}},11098:function(n,i,o){"use strict";function a(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}o.d(i,{d:function(){return a}})},63233:function(n,i,o){"use strict";function a(n,i,o){let a=[],s=-1;for(;++s{if(n===i)return!0;if(n.byteLength!==i.byteLength)return!1;for(let o=0;o{if(n instanceof Uint8Array&&"Uint8Array"===n.constructor.name)return n;if(n instanceof ArrayBuffer)return new Uint8Array(n);if(ArrayBuffer.isView(n))return new Uint8Array(n.buffer,n.byteOffset,n.byteLength);throw Error("Unknown type, must be binary type")}},29094:function(n,i,o){"use strict";o.d(i,{Jx:function(){return u},Ue:function(){return l},fS:function(){return c},zZ:function(){return d}});var a=o(7176),s=o(2171);let l=(n,i)=>{let o=i.byteLength,a=s.P$(n),l=a+s.P$(o),u=new Uint8Array(l+o);return s.mL(n,u,0),s.mL(o,u,a),u.set(i,l),new d(n,o,i,u)},u=n=>{let i=(0,a.oQ)(n),[o,l]=s.Jx(i),[u,c]=s.Jx(i.subarray(l)),p=i.subarray(l+c);if(p.byteLength!==u)throw Error("Incorrect length");return new d(o,u,p,i)},c=(n,i)=>{if(n===i)return!0;{let o=i;return n.code===o.code&&n.size===o.size&&o.bytes instanceof Uint8Array&&(0,a.fS)(n.bytes,o.bytes)}};class d{constructor(n,i,o,a){this.code=n,this.size=i,this.digest=o,this.bytes=a}}},22688:function(n,i,o){"use strict";o.d(i,{D:function(){return s}});var a=o(29094);let s=({name:n,code:i,encode:o})=>new l(n,i,o);class l{constructor(n,i,o){this.name=n,this.code=i,this.encode=o}digest(n){if(n instanceof Uint8Array){let i=this.encode(n);return i instanceof Uint8Array?a.Ue(this.code,i):i.then(n=>a.Ue(this.code,n))}throw Error("Unknown type, must be binary type")}}},27353:function(n,i,o){"use strict";o.d(i,{J:function(){return l}});var a=o(22688);let s=n=>async i=>new Uint8Array(await crypto.subtle.digest(n,i)),l=(0,a.D)({name:"sha2-256",code:18,encode:s("SHA-256")});(0,a.D)({name:"sha2-512",code:19,encode:s("SHA-512")})},57375:function(n,i,o){"use strict";o.d(i,{k0:function(){return k}});var a=o(2171),s=o(29094),l=function(n,i){if(n.length>=255)throw TypeError("Alphabet too long");for(var o=new Uint8Array(256),a=0;a>>0,u=new Uint8Array(l);n[i];){var f=o[n.charCodeAt(i)];if(255===f)return;for(var h=0,m=l-1;(0!==f||h>>0,u[m]=f%256>>>0,f=f/256>>>0;if(0!==f)throw Error("Non-zero carry");s=h,i++}if(" "!==n[i]){for(var g=l-s;g!==l&&0===u[g];)g++;for(var b=new Uint8Array(a+(l-g)),y=a;g!==l;)b[y++]=u[g++];return b}}}function m(n){var o=h(n);if(o)return o;throw Error(`Non-${i} character`)}return{encode:function(i){if(i instanceof Uint8Array||(ArrayBuffer.isView(i)?i=new Uint8Array(i.buffer,i.byteOffset,i.byteLength):Array.isArray(i)&&(i=Uint8Array.from(i))),!(i instanceof Uint8Array))throw TypeError("Expected Uint8Array");if(0===i.length)return"";for(var o=0,a=0,s=0,l=i.length;s!==l&&0===i[s];)s++,o++;for(var u=(l-s)*f+1>>>0,p=new Uint8Array(u);s!==l;){for(var h=i[s],m=0,g=u-1;(0!==h||m>>0,p[g]=h%c>>>0,h=h/c>>>0;if(0!==h)throw Error("Non-zero carry");a=m,s++}for(var b=u-a;b!==u&&0===p[b];)b++;for(var y=d.repeat(o);bnew p({...n.decoders||{[n.prefix]:n},...i.decoders||{[i.prefix]:i}});class h{constructor(n,i,o,a){this.name=n,this.prefix=i,this.baseEncode=o,this.baseDecode=a,this.encoder=new c(n,i,o),this.decoder=new d(n,i,a)}encode(n){return this.encoder.encode(n)}decode(n){return this.decoder.decode(n)}}let m=({name:n,prefix:i,encode:o,decode:a})=>new h(n,i,o,a),g=({prefix:n,name:i,alphabet:o})=>{let{encode:a,decode:s}=l(o,i);return m({prefix:n,name:i,encode:a,decode:n=>(0,u.oQ)(s(n))})},b=(n,i,o,a)=>{let s={};for(let l=0;l=8&&(d-=8,c[f++]=255&p>>d)}if(d>=o||255&p<<8-d)throw SyntaxError("Unexpected end of data");return c},y=(n,i,o)=>{let a="="===i[i.length-1],s=(1<o;)u-=o,l+=i[s&c>>u];if(u&&(l+=i[s&c<m({prefix:i,name:n,encode:n=>y(n,a,o),decode:i=>b(i,a,o,n)}),w=g({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"});g({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});let E=v({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5});v({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),v({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),v({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),v({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),v({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),v({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),v({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),v({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});let S=(n,i)=>{let{bytes:o,version:a}=n;return 0===a?T(o,_(n),i||w.encoder):C(o,_(n),i||E.encoder)},x=new WeakMap,_=n=>{let i=x.get(n);if(null==i){let o=new Map;return x.set(n,o),o}return i};class k{constructor(n,i,o,a){this.code=i,this.version=n,this.multihash=o,this.bytes=a,this["/"]=a}get asCID(){return this}get byteOffset(){return this.bytes.byteOffset}get byteLength(){return this.bytes.byteLength}toV0(){switch(this.version){case 0:return this;case 1:{let{code:n,multihash:i}=this;if(n!==R)throw Error("Cannot convert a non dag-pb CID to CIDv0");if(i.code!==D)throw Error("Cannot convert non sha2-256 multihash CID to CIDv0");return k.createV0(i)}default:throw Error(`Can not convert CID version ${this.version} to version 0. This is a bug please report`)}}toV1(){switch(this.version){case 0:{let{code:n,digest:i}=this.multihash,o=s.Ue(n,i);return k.createV1(this.code,o)}case 1:return this;default:throw Error(`Can not convert CID version ${this.version} to version 1. This is a bug please report`)}}equals(n){return k.equals(this,n)}static equals(n,i){let o=i;return o&&n.code===o.code&&n.version===o.version&&s.fS(n.multihash,o.multihash)}toString(n){return S(this,n)}toJSON(){return{code:this.code,version:this.version,hash:this.multihash.bytes}}link(){return this}get[Symbol.toStringTag](){return"CID"}[Symbol.for("nodejs.util.inspect.custom")](){return`CID(${this.toString()})`}static asCID(n){if(null==n)return null;let i=n;if(i instanceof k)return i;if(null!=i["/"]&&i["/"]===i.bytes||i.asCID===i){let{version:o,code:a,multihash:l,bytes:u}=i;return new k(o,a,l,u||O(o,a,l.bytes))}if(!0!==i[I])return null;{let{version:c,multihash:d,code:p}=i,f=s.Jx(d);return k.create(c,p,f)}}static create(n,i,o){if("number"!=typeof i)throw Error("String codecs are no longer supported");if(!(o.bytes instanceof Uint8Array))throw Error("Invalid digest");switch(n){case 0:if(i===R)return new k(n,i,o,o.bytes);throw Error(`Version 0 CID must use dag-pb (code: ${R}) block encoding`);case 1:{let a=O(n,i,o.bytes);return new k(n,i,o,a)}default:throw Error("Invalid version")}}static createV0(n){return k.create(0,R,n)}static createV1(n,i){return k.create(1,n,i)}static decode(n){let[i,o]=k.decodeFirst(n);if(o.length)throw Error("Incorrect length");return i}static decodeFirst(n){let i=k.inspectBytes(n),o=i.size-i.multihashSize,a=(0,u.oQ)(n.subarray(o,o+i.multihashSize));if(a.byteLength!==i.multihashSize)throw Error("Incorrect length");let l=a.subarray(i.multihashSize-i.digestSize),c=new s.zZ(i.multihashCode,i.digestSize,l,a),d=0===i.version?k.createV0(c):k.createV1(i.codec,c);return[d,n.subarray(i.size)]}static inspectBytes(n){let i=0,o=()=>{let[o,s]=a.Jx(n.subarray(i));return i+=s,o},s=o(),l=R;if(18===s?(s=0,i=0):l=o(),0!==s&&1!==s)throw RangeError(`Invalid CID version ${s}`);let u=i,c=o(),d=o(),p=i+d,f=p-u;return{version:s,codec:l,multihashCode:c,digestSize:d,multihashSize:f,size:p}}static parse(n,i){let[o,a]=A(n,i),s=k.decode(a);return _(s).set(o,n),s}}let A=(n,i)=>{switch(n[0]){case"Q":{let o=i||w;return[w.prefix,o.decode(`${w.prefix}${n}`)]}case w.prefix:{let a=i||w;return[w.prefix,a.decode(n)]}case E.prefix:{let s=i||E;return[E.prefix,s.decode(n)]}default:if(null==i)throw Error("To parse non base32 or base58btc encoded CID multibase decoder must be provided");return[n[0],i.decode(n)]}},T=(n,i,o)=>{let{prefix:a}=o;if(a!==w.prefix)throw Error(`Cannot string encode V0 in ${o.name} encoding`);let s=i.get(a);if(null!=s)return s;{let l=o.encode(n).slice(1);return i.set(a,l),l}},C=(n,i,o)=>{let{prefix:a}=o,s=i.get(a);if(null!=s)return s;{let l=o.encode(n);return i.set(a,l),l}},R=112,D=18,O=(n,i,o)=>{let s=a.P$(n),l=s+a.P$(i),u=new Uint8Array(l+o.byteLength);return a.mL(n,u,0),a.mL(i,u,s),u.set(o,l),u},I=Symbol.for("@ipld/js-cid/CID");o(22688)},2171:function(n,i,o){"use strict";o.d(i,{Jx:function(){return x},mL:function(){return _},P$:function(){return k}});var a=128,s=-128,l=2147483648;function u(n,i,o){i=i||[];for(var c=o=o||0;n>=l;)i[o++]=255&n|a,n/=128;for(;n&s;)i[o++]=255&n|a,n>>>=7;return i[o]=0|n,u.bytes=o-c+1,i}var c=128,d=127;function p(n,i){var o,a=0,i=i||0,s=0,l=i,u=n.length;do{if(l>=u)throw p.bytes=0,RangeError("Could not decode varint");o=n[l++],a+=s<28?(o&d)<=c);return p.bytes=l-i,a}var f=128,h=16384,m=2097152,g=268435456,b=34359738368,y=4398046511104,v=562949953421312,w=72057594037927940,E=0x7fffffffffffffff,S={encode:u,decode:p,encodingLength:function(n){return n{let o=S.decode(n,i);return[o,S.decode.bytes]},_=(n,i,o=0)=>(S.encode(n,i,o),i),k=n=>S.encodingLength(n)},48111:function(n,i,o){"use strict";o.d(i,{i:function(){return a}});let a=()=>({events:{},emit(n,...i){(this.events[n]||[]).forEach(n=>n(...i))},on(n,i){return(this.events[n]=this.events[n]||[]).push(i),()=>this.events[n]=(this.events[n]||[]).filter(n=>n!==i)}})},25804:function(n,i,o){"use strict";o.d(i,{N0:function(){return A},QF:function(){return L},YR:function(){return $},al:function(){return d},uo:function(){return E},w9:function(){return M}});var a=o(16560),s=o(12806),l=o(2376);let u=(n,i)=>!n.selection.empty&&(i&&i(n.tr.deleteSelection().scrollIntoView()),!0);function c(n,i){let{$cursor:o}=n.selection;return o&&(i?i.endOfTextblock("backward",n):!(o.parentOffset>0))?o:null}let d=(n,i,o)=>{let u=c(n,o);if(!u)return!1;let d=h(u);if(!d){let f=u.blockRange(),m=f&&(0,a.k9)(f);return null!=m&&(i&&i(n.tr.lift(f,m).scrollIntoView()),!0)}let g=d.nodeBefore;if(!g.type.spec.isolating&&R(n,d,i))return!0;if(0==u.parent.content.size&&(p(g,"end")||l.qv.isSelectable(g))){let b=(0,a.dR)(n.doc,u.before(),u.after(),s.p2.empty);if(b&&b.slice.size{let{$head:a,empty:s}=n.selection,u=a;if(!s)return!1;if(a.parent.isTextblock){if(o?!o.endOfTextblock("backward",n):a.parentOffset>0)return!1;u=h(a)}let c=u&&u.nodeBefore;return!!(c&&l.qv.isSelectable(c))&&(i&&i(n.tr.setSelection(l.qv.create(n.doc,u.pos-c.nodeSize)).scrollIntoView()),!0)};function h(n){if(!n.parent.type.spec.isolating)for(let i=n.depth-1;i>=0;i--){if(n.index(i)>0)return n.doc.resolve(n.before(i+1));if(n.node(i).type.spec.isolating)break}return null}function m(n,i){let{$cursor:o}=n.selection;return o&&(i?i.endOfTextblock("forward",n):!(o.parentOffset{let u=m(n,o);if(!u)return!1;let c=y(u);if(!c)return!1;let d=c.nodeAfter;if(R(n,c,i))return!0;if(0==u.parent.content.size&&(p(d,"start")||l.qv.isSelectable(d))){let f=(0,a.dR)(n.doc,u.before(),u.after(),s.p2.empty);if(f&&f.slice.size{let{$head:a,empty:s}=n.selection,u=a;if(!s)return!1;if(a.parent.isTextblock){if(o?!o.endOfTextblock("forward",n):a.parentOffset=0;i--){let o=n.node(i);if(n.index(i)+1{let{$head:o,$anchor:a}=n.selection;return!!(o.parent.type.spec.code&&o.sameParent(a))&&(i&&i(n.tr.insertText("\n").scrollIntoView()),!0)};function w(n){for(let i=0;i{let{$head:o,$anchor:a}=n.selection;if(!o.parent.type.spec.code||!o.sameParent(a))return!1;let s=o.node(-1),u=o.indexAfter(-1),c=w(s.contentMatchAt(u));if(!c||!s.canReplaceWith(u,u,c))return!1;if(i){let d=o.after(),p=n.tr.replaceWith(d,d,c.createAndFill());p.setSelection(l.Y1.near(p.doc.resolve(d),1)),i(p.scrollIntoView())}return!0},S=(n,i)=>{let o=n.selection,{$from:a,$to:s}=o;if(o instanceof l.C1||a.parent.inlineContent||s.parent.inlineContent)return!1;let u=w(s.parent.contentMatchAt(s.indexAfter()));if(!u||!u.isTextblock)return!1;if(i){let c=(!a.parentOffset&&s.index(){let{$cursor:o}=n.selection;if(!o||o.parent.content.size)return!1;if(o.depth>1&&o.after()!=o.end(-1)){let s=o.before();if((0,a.Ax)(n.doc,s))return i&&i(n.tr.split(s).scrollIntoView()),!0}let l=o.blockRange(),u=l&&(0,a.k9)(l);return null!=u&&(i&&i(n.tr.lift(l,u).scrollIntoView()),!0)};function _(n){return(i,o)=>{let{$from:s,$to:u}=i.selection;if(i.selection instanceof l.qv&&i.selection.node.isBlock)return!!(s.parentOffset&&(0,a.Ax)(i.doc,s.pos))&&(o&&o(i.tr.split(s.pos).scrollIntoView()),!0);if(!s.parent.isBlock)return!1;if(o){let c=u.parentOffset==u.parent.content.size,d=i.tr;(i.selection instanceof l.Bs||i.selection instanceof l.C1)&&d.deleteSelection();let p=0==s.depth?null:w(s.node(-1).contentMatchAt(s.indexAfter(-1))),f=n&&n(u.parent,c),h=f?[f]:c&&p?[{type:p}]:void 0,m=(0,a.Ax)(d.doc,d.mapping.map(s.pos),1,h);if(!h&&!m&&(0,a.Ax)(d.doc,d.mapping.map(s.pos),1,p?[{type:p}]:void 0)&&(p&&(h=[{type:p}]),m=!0),m&&(d.split(d.mapping.map(s.pos),1,h),!c&&!s.parentOffset&&s.parent.type!=p)){let g=d.mapping.map(s.before()),b=d.doc.resolve(g);p&&s.node(-1).canReplaceWith(b.index(),b.index()+1,p)&&d.setNodeMarkup(d.mapping.map(s.before()),p)}o(d.scrollIntoView())}return!0}}let k=_(),A=(n,i)=>{let{$from:o,to:a}=n.selection,s,u=o.sharedDepth(a);return 0!=u&&(s=o.before(u),i&&i(n.tr.setSelection(l.qv.create(n.doc,s))),!0)},T=(n,i)=>(i&&i(n.tr.setSelection(new l.C1(n.doc))),!0);function C(n,i,o){let s=i.nodeBefore,l=i.nodeAfter,u=i.index();return!!(s&&l&&s.type.compatibleContent(l.type))&&(!s.content.size&&i.parent.canReplace(u-1,u)?(o&&o(n.tr.delete(i.pos-s.nodeSize,i.pos).scrollIntoView()),!0):!!(i.parent.canReplace(u,u+1)&&(l.isTextblock||(0,a.Mn)(n.doc,i.pos)))&&(o&&o(n.tr.clearIncompatible(i.pos,s.type,s.contentMatchAt(s.childCount)).join(i.pos).scrollIntoView()),!0))}function R(n,i,o){let u=i.nodeBefore,c=i.nodeAfter,d,f;if(u.type.spec.isolating||c.type.spec.isolating)return!1;if(C(n,i,o))return!0;let h=i.parent.canReplace(i.index(),i.index()+1);if(h&&(d=(f=u.contentMatchAt(u.childCount)).findWrapping(c.type))&&f.matchType(d[0]||c.type).validEnd){if(o){let m=i.pos+c.nodeSize,g=s.HY.empty;for(let b=d.length-1;b>=0;b--)g=s.HY.from(d[b].create(null,g));g=s.HY.from(u.copy(g));let y=n.tr.step(new a.FC(i.pos-1,m,i.pos,m,new s.p2(g,1,0),d.length,!0)),v=m+2*d.length;(0,a.Mn)(y.doc,v)&&y.join(v),o(y.scrollIntoView())}return!0}let w=l.Y1.findFrom(i,1),E=w&&w.$from.blockRange(w.$to),S=E&&(0,a.k9)(E);if(null!=S&&S>=i.depth)return o&&o(n.tr.lift(E,S).scrollIntoView()),!0;if(h&&p(c,"start",!0)&&p(u,"end")){let x=u,_=[];for(;_.push(x),!x.isTextblock;)x=x.lastChild;let k=c,A=1;for(;!k.isTextblock;k=k.firstChild)A++;if(x.canReplace(x.childCount,x.childCount,k.content)){if(o){let T=s.HY.empty;for(let R=_.length-1;R>=0;R--)T=s.HY.from(_[R].copy(T));o(n.tr.step(new a.FC(i.pos-_.length,i.pos+c.nodeSize,i.pos+A,i.pos+c.nodeSize-A,new s.p2(T,_.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function D(n){return function(i,o){let a=i.selection,s=n<0?a.$from:a.$to,u=s.depth;for(;s.node(u).isInline;){if(!u)return!1;u--}return!!s.node(u).isTextblock&&(o&&o(i.tr.setSelection(l.Bs.create(i.doc,n<0?s.start(u):s.end(u)))),!0)}}let O=D(-1),I=D(1);function N(n,i,o){for(let a=0;a{if(u)return!1;u=n.inlineContent&&n.type.allowsMarkType(o)}),u)return!0}return!1}function M(n,i=null){return function(o,a){let{empty:s,$cursor:l,ranges:u}=o.selection;if(s&&!l||!N(o.doc,u,n))return!1;if(a){if(l)a(n.isInSet(o.storedMarks||l.marks())?o.tr.removeStoredMark(n):o.tr.addStoredMark(n.create(i)));else{let c=!1,d=o.tr;for(let p=0;!c&&p=i)?s.empty:this.sliceInner(Math.max(0,n),Math.min(this.length,i))},s.prototype.get=function(n){if(!(n<0)&&!(n>=this.length))return this.getInner(n)},s.prototype.forEach=function(n,i,o){void 0===i&&(i=0),void 0===o&&(o=this.length),i<=o?this.forEachInner(n,i,o,0):this.forEachInvertedInner(n,i,o,0)},s.prototype.map=function(n,i,o){void 0===i&&(i=0),void 0===o&&(o=this.length);var a=[];return this.forEach(function(i,o){return a.push(n(i,o))},i,o),a},s.from=function(n){return n instanceof s?n:n&&n.length?new l(n):s.empty};var l=function(n){function i(i){n.call(this),this.values=i}n&&(i.__proto__=n),i.prototype=Object.create(n&&n.prototype),i.prototype.constructor=i;var o={length:{configurable:!0},depth:{configurable:!0}};return i.prototype.flatten=function(){return this.values},i.prototype.sliceInner=function(n,o){return 0==n&&o==this.length?this:new i(this.values.slice(n,o))},i.prototype.getInner=function(n){return this.values[n]},i.prototype.forEachInner=function(n,i,o,a){for(var s=i;s=o;s--)if(!1===n(this.values[s],a+s))return!1},i.prototype.leafAppend=function(n){if(this.length+n.length<=a)return new i(this.values.concat(n.flatten()))},i.prototype.leafPrepend=function(n){if(this.length+n.length<=a)return new i(n.flatten().concat(this.values))},o.length.get=function(){return this.values.length},o.depth.get=function(){return 0},Object.defineProperties(i.prototype,o),i}(s);s.empty=new l([]);var u=function(n){function i(i,o){n.call(this),this.left=i,this.right=o,this.length=i.length+o.length,this.depth=Math.max(i.depth,o.depth)+1}return n&&(i.__proto__=n),i.prototype=Object.create(n&&n.prototype),i.prototype.constructor=i,i.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},i.prototype.getInner=function(n){return ns&&!1===this.right.forEachInner(n,Math.max(i-s,0),Math.min(this.length,o)-s,a+s))return!1},i.prototype.forEachInvertedInner=function(n,i,o,a){var s=this.left.length;if(i>s&&!1===this.right.forEachInvertedInner(n,i-s,Math.max(o,s)-s,a+s)||o=o?this.right.slice(n-o,i-o):this.left.slice(n,o).append(this.right.slice(0,i-o))},i.prototype.leafAppend=function(n){var o=this.right.leafAppend(n);if(o)return new i(this.left,o)},i.prototype.leafPrepend=function(n){var o=this.left.leafPrepend(n);if(o)return new i(o,this.right)},i.prototype.appendInner=function(n){return this.left.depth>=Math.max(this.right.depth,n.depth)+1?new i(this.left,new i(this.right,n)):new i(this,n)},i}(s),c=s,d=o(16560),p=o(2376);let f=500;class h{constructor(n,i){this.items=n,this.eventCount=i}popEvent(n,i){let o,a,s,l;if(0==this.eventCount)return null;let u=this.items.length;for(;;u--)if(this.items.get(u-1).selection){--u;break}i&&(a=(o=this.remapping(u,this.items.length)).maps.length);let c=n.tr,d=[],p=[];return this.items.forEach((n,i)=>{if(!n.step){o||(a=(o=this.remapping(u,i+1)).maps.length),a--,p.push(n);return}if(o){p.push(new g(n.map));let f=n.step.map(o.slice(a)),m;f&&c.maybeStep(f).doc&&(m=c.mapping.maps[c.mapping.maps.length-1],d.push(new g(m,void 0,void 0,d.length+p.length))),a--,m&&o.appendMap(m,a)}else c.maybeStep(n.step);if(n.selection)return s=o?n.selection.map(o.slice(a)):n.selection,l=new h(this.items.slice(0,u).append(p.reverse().concat(d)),this.eventCount-1),!1},this.items.length,0),{remaining:l,transform:c,selection:s}}addTransform(n,i,o,a){let s=[],l=this.eventCount,u=this.items,c=!a&&u.length?u.get(u.length-1):null;for(let d=0;dy&&(u=m(u,v),l-=v),new h(u.append(s),l)}remapping(n,i){let o=new d.vs;return this.items.forEach((i,a)=>{let s=null!=i.mirrorOffset&&a-i.mirrorOffset>=n?o.maps.length-i.mirrorOffset:void 0;o.appendMap(i.map,s)},n,i),o}addMaps(n){return 0==this.eventCount?this:new h(this.items.append(n.map(n=>new g(n))),this.eventCount)}rebased(n,i){if(!this.eventCount)return this;let o=[],a=Math.max(0,this.items.length-i),s=n.mapping,l=n.steps.length,u=this.eventCount;this.items.forEach(n=>{n.selection&&u--},a);let c=i;this.items.forEach(i=>{let a=s.getMirror(--c);if(null==a)return;l=Math.min(l,a);let d=s.maps[a];if(i.step){let p=n.steps[a].invert(n.docs[a]),f=i.selection&&i.selection.map(s.slice(c+1,a));f&&u++,o.push(new g(d,p,f))}else o.push(new g(d))},a);let d=[];for(let p=i;pf&&(b=b.compress(this.items.length-o.length)),b}emptyItemCount(){let n=0;return this.items.forEach(i=>{!i.step&&n++}),n}compress(n=this.items.length){let i=this.remapping(0,n),o=i.maps.length,a=[],s=0;return this.items.forEach((l,u)=>{if(u>=n)a.push(l),l.selection&&s++;else if(l.step){let c=l.step.map(i.slice(o)),d=c&&c.getMap();if(o--,d&&i.appendMap(d,o),c){let p=l.selection&&l.selection.map(i.slice(o));p&&s++;let f=new g(d.invert(),c,p),h,m=a.length-1;(h=a.length&&a[m].merge(f))?a[m]=h:a.push(f)}}else l.map&&o--},this.items.length,0),new h(c.from(a.reverse()),s)}}function m(n,i){let o;return n.forEach((n,a)=>{if(n.selection&&0==i--)return o=a,!1}),n.slice(o)}h.empty=new h(c.empty,0);class g{constructor(n,i,o,a){this.map=n,this.step=i,this.selection=o,this.mirrorOffset=a}merge(n){if(this.step&&n.step&&!n.selection){let i=n.step.merge(this.step);if(i)return new g(i.getMap().invert(),i,this.selection)}}}class b{constructor(n,i,o,a,s){this.done=n,this.undone=i,this.prevRanges=o,this.prevTime=a,this.prevComposition=s}}let y=20;function v(n,i,o,a){let s=o.getMeta(T),l;if(s)return s.historyState;o.getMeta(C)&&(n=new b(n.done,n.undone,null,0,-1));let u=o.getMeta("appendedTransaction");if(0==o.steps.length)return n;if(u&&u.getMeta(T))return u.getMeta(T).redo?new b(n.done.addTransform(o,void 0,a,A(i)),n.undone,E(o.mapping.maps[o.steps.length-1]),n.prevTime,n.prevComposition):new b(n.done,n.undone.addTransform(o,void 0,a,A(i)),null,n.prevTime,n.prevComposition);if(!1===o.getMeta("addToHistory")||u&&!1===u.getMeta("addToHistory"))return(l=o.getMeta("rebased"))?new b(n.done.rebased(o,l),n.undone.rebased(o,l),S(n.prevRanges,o.mapping),n.prevTime,n.prevComposition):new b(n.done.addMaps(o.mapping.maps),n.undone.addMaps(o.mapping.maps),S(n.prevRanges,o.mapping),n.prevTime,n.prevComposition);{let c=o.getMeta("composition"),d=0==n.prevTime||!u&&n.prevComposition!=c&&(n.prevTime<(o.time||0)-a.newGroupDelay||!w(o,n.prevRanges)),p=u?S(n.prevRanges,o.mapping):E(o.mapping.maps[o.steps.length-1]);return new b(n.done.addTransform(o,d?i.selection.getBookmark():void 0,a,A(i)),h.empty,p,o.time,null==c?n.prevComposition:c)}}function w(n,i){if(!i)return!1;if(!n.docChanged)return!0;let o=!1;return n.mapping.maps[0].forEach((n,a)=>{for(let s=0;s=i[s]&&(o=!0)}),o}function E(n){let i=[];return n.forEach((n,o,a,s)=>i.push(a,s)),i}function S(n,i){if(!n)return null;let o=[];for(let a=0;anew b(h.empty,h.empty,null,0,-1),apply:(i,o,a)=>v(o,a,i,n)},config:n,props:{handleDOMEvents:{beforeinput(n,i){let o=i.inputType,a="historyUndo"==o?D:"historyRedo"==o?O:null;return!!a&&(i.preventDefault(),a(n.state,n.dispatch))}}}})}let D=(n,i)=>{let o=T.getState(n);return!!o&&0!=o.done.eventCount&&(i&&x(o,n,i,!1),!0)},O=(n,i)=>{let o=T.getState(n);return!!o&&0!=o.undone.eventCount&&(i&&x(o,n,i,!0),!0)};function I(n){let i=T.getState(n);return i?i.done.eventCount:0}function N(n){let i=T.getState(n);return i?i.undone.eventCount:0}},36912:function(n,i,o){"use strict";o.d(i,{Hw:function(){return d},S0:function(){return h},VK:function(){return l},dU:function(){return f},zK:function(){return m}});var a=o(2376),s=o(16560);class l{constructor(n,i,o={}){this.match=n,this.match=n,this.handler="string"==typeof i?u(i):i,this.undoable=!1!==o.undoable}}function u(n){return function(i,o,a,s){let l=n;if(o[1]){let u=o[0].lastIndexOf(o[1]);l+=o[0].slice(u+o[1].length);let c=(a+=u)-s;c>0&&(l=o[0].slice(u-c,u)+l,a=s)}return i.tr.insertText(l,a,s)}}let c=500;function d({rules:n}){let i=new a.Sy({state:{init:()=>null,apply(n,i){return n.getMeta(this)||(n.selectionSet||n.docChanged?null:i)}},props:{handleTextInput:(o,a,s,l)=>p(o,a,s,l,n,i),handleDOMEvents:{compositionend(o){setTimeout(()=>{let{$cursor:a}=o.state.selection;a&&p(o,a.pos,a.pos,"",n,i)})}}},isInputRules:!0});return i}function p(n,i,o,a,s,l){if(n.composing)return!1;let u=n.state,d=u.doc.resolve(i);if(d.parent.type.spec.code)return!1;let p=d.parent.textBetween(Math.max(0,d.parentOffset-c),d.parentOffset,null,"")+a;for(let f=0;f{let o=n.plugins;for(let a=0;a=0;d--)u.step(c.steps[d].invert(c.docs[d]));if(l.text){let p=u.doc.resolve(l.from).marks();u.replaceWith(l.from,l.to,n.schema.text(l.text,p))}else u.delete(l.from,l.to);i(u)}return!0}}return!1};function h(n,i,o=null,a){return new l(n,(n,l,u,c)=>{let d=o instanceof Function?o(l):o,p=n.tr.delete(u,c),f=p.doc.resolve(u).blockRange(),h=f&&(0,s.nd)(f,i,d);if(!h)return null;p.wrap(f,h);let m=p.doc.resolve(u-1).nodeBefore;return m&&m.type==i&&(0,s.Mn)(p.doc,u-1)&&(!a||a(l,m))&&p.join(u-1),p})}function m(n,i,o=null){return new l(n,(n,a,s,l)=>{let u=n.doc.resolve(s),c=o instanceof Function?o(a):o;return u.node(-1).canReplaceWith(u.index(-1),u.indexAfter(-1),i)?n.tr.delete(s,l).setBlockType(s,s,i,c):null})}new l(/--$/,"—"),new l(/\.\.\.$/,"…"),new l(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"“"),new l(/"$/,"”"),new l(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"‘"),new l(/'$/,"’")},82696:function(n,i,o){"use strict";o.d(i,{$:function(){return b}});for(var a={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},s={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},l="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),u="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),c=0;c<10;c++)a[48+c]=a[96+c]=String(c);for(var c=1;c<=24;c++)a[c+111]="F"+c;for(var c=65;c<=90;c++)a[c]=String.fromCharCode(c+32),s[c]=String.fromCharCode(c);for(var d in a)s.hasOwnProperty(d)||(s[d]=a[d]);function p(n){var i=!(l&&n.metaKey&&n.shiftKey&&!n.ctrlKey&&!n.altKey||u&&n.shiftKey&&n.key&&1==n.key.length||"Unidentified"==n.key)&&n.key||(n.shiftKey?s:a)[n.keyCode]||n.key||"Unidentified";return"Esc"==i&&(i="Escape"),"Del"==i&&(i="Delete"),"Left"==i&&(i="ArrowLeft"),"Up"==i&&(i="ArrowUp"),"Right"==i&&(i="ArrowRight"),"Down"==i&&(i="ArrowDown"),i}let f="undefined"!=typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform);function h(n){let i,o,a,s,l=n.split(/-(?!$)/),u=l[l.length-1];"Space"==u&&(u=" ");for(let c=0;c127)&&(l=a[o.keyCode])&&l!=s){let d=i[g(l,o)];if(d&&d(n.state,n.dispatch,n))return!0}}return!1}}},12806:function(n,i,o){"use strict";function a(n){this.content=n}o.d(i,{aw:function(){return ea},PW:function(){return eS},HY:function(){return c},vc:function(){return h},ZU:function(){return er},NB:function(){return L},Ts:function(){return N},Jq:function(){return et},e4:function(){return m},ZQ:function(){return R},V_:function(){return ei},p2:function(){return g}}),a.prototype={constructor:a,find:function(n){for(var i=0;i>1}},a.from=function(n){if(n instanceof a)return n;var i=[];if(n)for(var o in n)i.push(o,n[o]);return new a(i)};var s=a;function l(n,i,o){for(let a=0;;a++){if(a==n.childCount||a==i.childCount)return n.childCount==i.childCount?null:o;let s=n.child(a),u=i.child(a);if(s==u){o+=s.nodeSize;continue}if(!s.sameMarkup(u))return o;if(s.isText&&s.text!=u.text){for(let c=0;s.text[c]==u.text[c];c++)o++;return o}if(s.content.size||u.content.size){let d=l(s.content,u.content,o+1);if(null!=d)return d}o+=s.nodeSize}}function u(n,i,o,a){for(let s=n.childCount,l=i.childCount;;){if(0==s||0==l)return s==l?null:{a:o,b:a};let c=n.child(--s),d=i.child(--l),p=c.nodeSize;if(c==d){o-=p,a-=p;continue}if(!c.sameMarkup(d))return{a:o,b:a};if(c.isText&&c.text!=d.text){let f=0,h=Math.min(c.text.length,d.text.length);for(;fn&&!1!==o(c,a+u,s||null,l)&&c.content.size){let p=u+1;c.nodesBetween(Math.max(0,n-p),Math.min(c.content.size,i-p),o,a+p)}u=d}}descendants(n){this.nodesBetween(0,this.size,n)}textBetween(n,i,o,a){let s="",l=!0;return this.nodesBetween(n,i,(u,c)=>{let d=u.isText?u.text.slice(Math.max(n,c)-c,i-c):u.isLeaf?a?"function"==typeof a?a(u):a:u.type.spec.leafText?u.type.spec.leafText(u):"":"";u.isBlock&&(u.isLeaf&&d||u.isTextblock)&&o&&(l?l=!1:s+=o),s+=d},0),s}append(n){if(!n.size)return this;if(!this.size)return n;let i=this.lastChild,o=n.firstChild,a=this.content.slice(),s=0;for(i.isText&&i.sameMarkup(o)&&(a[a.length-1]=i.withText(i.text+o.text),s=1);sn)for(let s=0,l=0;ln&&((li)&&(u=u.isText?u.cut(Math.max(0,n-l),Math.min(u.text.length,i-l)):u.cut(Math.max(0,n-l-1),Math.min(u.content.size,i-l-1))),o.push(u),a+=u.nodeSize),l=d}return new c(o,a)}cutByIndex(n,i){return n==i?c.empty:0==n&&i==this.content.length?this:new c(this.content.slice(n,i))}replaceChild(n,i){let o=this.content[n];if(o==i)return this;let a=this.content.slice(),s=this.size+i.nodeSize-o.nodeSize;return a[n]=i,new c(a,s)}addToStart(n){return new c([n].concat(this.content),this.size+n.nodeSize)}addToEnd(n){return new c(this.content.concat(n),this.size+n.nodeSize)}eq(n){if(this.content.length!=n.content.length)return!1;for(let i=0;ithis.size||n<0)throw RangeError(`Position ${n} outside of fragment (${this})`);for(let o=0,a=0;;o++){let s=a+this.child(o).nodeSize;if(s>=n){if(s==n||i>0)return p(o+1,s);return p(o,a)}a=s}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(n=>n.toJSON()):null}static fromJSON(n,i){if(!i)return c.empty;if(!Array.isArray(i))throw RangeError("Invalid input for Fragment.fromJSON");return new c(i.map(n.nodeFromJSON))}static fromArray(n){if(!n.length)return c.empty;let i,o=0;for(let a=0;athis.type.rank&&(i||(i=n.slice(0,a)),i.push(this),o=!0),i&&i.push(s)}}return i||(i=n.slice()),o||i.push(this),i}removeFromSet(n){for(let i=0;in.type.rank-i.type.rank),i}}h.none=[];class m extends Error{}class g{constructor(n,i,o){this.content=n,this.openStart=i,this.openEnd=o}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(n,i){let o=y(this.content,n+this.openStart,i);return o&&new g(o,this.openStart,this.openEnd)}removeBetween(n,i){return new g(b(this.content,n+this.openStart,i+this.openStart),this.openStart,this.openEnd)}eq(n){return this.content.eq(n.content)&&this.openStart==n.openStart&&this.openEnd==n.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let n={content:this.content.toJSON()};return this.openStart>0&&(n.openStart=this.openStart),this.openEnd>0&&(n.openEnd=this.openEnd),n}static fromJSON(n,i){if(!i)return g.empty;let o=i.openStart||0,a=i.openEnd||0;if("number"!=typeof o||"number"!=typeof a)throw RangeError("Invalid input for Slice.fromJSON");return new g(c.fromJSON(n,i.content),o,a)}static maxOpen(n,i=!0){let o=0,a=0;for(let s=n.firstChild;s&&!s.isLeaf&&(i||!s.type.spec.isolating);s=s.firstChild)o++;for(let l=n.lastChild;l&&!l.isLeaf&&(i||!l.type.spec.isolating);l=l.lastChild)a++;return new g(n,o,a)}}function b(n,i,o){let{index:a,offset:s}=n.findIndex(i),l=n.maybeChild(a),{index:u,offset:c}=n.findIndex(o);if(s==i||l.isText){if(c!=o&&!n.child(u).isText)throw RangeError("Removing non-flat range");return n.cut(0,i).append(n.cut(o))}if(a!=u)throw RangeError("Removing non-flat range");return n.replaceChild(a,l.copy(b(l.content,i-s-1,o-s-1)))}function y(n,i,o,a){let{index:s,offset:l}=n.findIndex(i),u=n.maybeChild(s);if(l==i||u.isText)return a&&!a.canReplace(s,s,o)?null:n.cut(0,i).append(o).append(n.cut(i));let c=y(u.content,i-l-1,o);return c&&n.replaceChild(s,u.copy(c))}function v(n,i,o){if(o.openStart>n.depth)throw new m("Inserted content deeper than insertion position");if(n.depth-o.openStart!=i.depth-o.openEnd)throw new m("Inconsistent open depths");return w(n,i,o,0)}function w(n,i,o,a){let s=n.index(a),l=n.node(a);if(s==i.index(a)&&a=0&&n.isText&&n.sameMarkup(i[o])?i[o]=n.withText(i[o].text+n.text):i.push(n)}function _(n,i,o,a){let s=(i||n).node(o),l=0,u=i?i.index(o):s.childCount;n&&(l=n.index(o),n.depth>o?l++:n.textOffset&&(x(n.nodeAfter,a),l++));for(let c=l;cs&&S(n,i,s+1),u=a.depth>s&&S(o,a,s+1),d=[];return _(null,n,s,d),l&&u&&i.index(s)==o.index(s)?(E(l,u),x(k(l,A(n,i,o,a,s+1)),d)):(l&&x(k(l,T(n,i,s+1)),d),_(i,o,s,d),u&&x(k(u,T(o,a,s+1)),d)),_(a,null,s,d),new c(d)}function T(n,i,o){let a=[];return _(null,n,o,a),n.depth>o&&x(k(S(n,i,o+1),T(n,i,o+1)),a),_(i,null,o,a),new c(a)}function C(n,i){let o=i.depth-n.openStart,a=i.node(o).copy(n.content);for(let s=o-1;s>=0;s--)a=i.node(s).copy(c.from(a));return{start:a.resolveNoCache(n.openStart+o),end:a.resolveNoCache(a.content.size-n.openEnd-o)}}g.empty=new g(c.empty,0,0);class R{constructor(n,i,o){this.pos=n,this.path=i,this.parentOffset=o,this.depth=i.length/3-1}resolveDepth(n){return null==n?this.depth:n<0?this.depth+n:n}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(n){return this.path[3*this.resolveDepth(n)]}index(n){return this.path[3*this.resolveDepth(n)+1]}indexAfter(n){return n=this.resolveDepth(n),this.index(n)+(n!=this.depth||this.textOffset?1:0)}start(n){return 0==(n=this.resolveDepth(n))?0:this.path[3*n-1]+1}end(n){return n=this.resolveDepth(n),this.start(n)+this.node(n).content.size}before(n){if(!(n=this.resolveDepth(n)))throw RangeError("There is no position before the top-level node");return n==this.depth+1?this.pos:this.path[3*n-1]}after(n){if(!(n=this.resolveDepth(n)))throw RangeError("There is no position after the top-level node");return n==this.depth+1?this.pos:this.path[3*n-1]+this.path[3*n].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let n=this.parent,i=this.index(this.depth);if(i==n.childCount)return null;let o=this.pos-this.path[this.path.length-1],a=n.child(i);return o?n.child(i).cut(o):a}get nodeBefore(){let n=this.index(this.depth),i=this.pos-this.path[this.path.length-1];return i?this.parent.child(n).cut(0,i):0==n?null:this.parent.child(n-1)}posAtIndex(n,i){i=this.resolveDepth(i);let o=this.path[3*i],a=0==i?0:this.path[3*i-1]+1;for(let s=0;s0;i--)if(this.start(i)<=n&&this.end(i)>=n)return i;return 0}blockRange(n=this,i){if(n.pos=0;o--)if(n.pos<=this.end(o)&&(!i||i(this.node(o))))return new N(this,n,o);return null}sameParent(n){return this.pos-this.parentOffset==n.pos-n.parentOffset}max(n){return n.pos>this.pos?n:this}min(n){return n.pos=0&&i<=n.content.size))throw RangeError("Position "+i+" out of range");let o=[],a=0,s=i;for(let l=n;;){let{index:u,offset:c}=l.content.findIndex(s),d=s-c;if(o.push(l,u,a+c),!d||(l=l.child(u)).isText)break;s=d-1,a+=c+1}return new R(i,o,s)}static resolveCached(n,i){for(let o=0;on&&this.nodesBetween(n,i,n=>(o.isInSet(n.marks)&&(a=!0),!a)),a}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let n=this.type.name;return this.content.size&&(n+="("+this.content.toStringInner()+")"),F(this.marks,n)}contentMatchAt(n){let i=this.type.contentMatch.matchFragment(this.content,0,n);if(!i)throw Error("Called contentMatchAt on a node with invalid content");return i}canReplace(n,i,o=c.empty,a=0,s=o.childCount){let l=this.contentMatchAt(n).matchFragment(o,a,s),u=l&&l.matchFragment(this.content,i);if(!u||!u.validEnd)return!1;for(let d=a;dn.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let n={type:this.type.name};for(let i in this.attrs){n.attrs=this.attrs;break}return this.content.size&&(n.content=this.content.toJSON()),this.marks.length&&(n.marks=this.marks.map(n=>n.toJSON())),n}static fromJSON(n,i){if(!i)throw RangeError("Invalid input for Node.fromJSON");let o=null;if(i.marks){if(!Array.isArray(i.marks))throw RangeError("Invalid mark data for Node.fromJSON");o=i.marks.map(n.markFromJSON)}if("text"==i.type){if("string"!=typeof i.text)throw RangeError("Invalid text node in JSON");return n.text(i.text,o)}let a=c.fromJSON(n,i.content);return n.nodeType(i.type).create(i.attrs,a,o)}}L.prototype.text=void 0;class P extends L{constructor(n,i,o,a){if(super(n,i,null,a),!o)throw RangeError("Empty text nodes are not allowed");this.text=o}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):F(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(n,i){return this.text.slice(n,i)}get nodeSize(){return this.text.length}mark(n){return n==this.marks?this:new P(this.type,this.attrs,this.text,n)}withText(n){return n==this.text?this:new P(this.type,this.attrs,n,this.marks)}cut(n=0,i=this.text.length){return 0==n&&i==this.text.length?this:this.withText(this.text.slice(n,i))}eq(n){return this.sameMarkup(n)&&this.text==n.text}toJSON(){let n=super.toJSON();return n.text=this.text,n}}function F(n,i){for(let o=n.length-1;o>=0;o--)i=n[o].type.name+"("+i+")";return i}class B{constructor(n){this.validEnd=n,this.next=[],this.wrapCache=[]}static parse(n,i){let o=new U(n,i);if(null==o.next)return B.empty;let a=z(o);o.next&&o.err("Unexpected trailing text");let s=Z(W(a));return X(s,o),s}matchType(n){for(let i=0;in.createAndFill()));for(let p=0;p=this.next.length)throw RangeError(`There's no ${n}th edge in this content match`);return this.next[n]}toString(){let n=[];function i(o){n.push(o);for(let a=0;a{let a=o+(i.validEnd?"*":" ")+" ";for(let s=0;s"+n.indexOf(i.next[s].next);return a}).join("\n")}}B.empty=new B(!0);class U{constructor(n,i){this.string=n,this.nodeTypes=i,this.inline=null,this.pos=0,this.tokens=n.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(n){return this.next==n&&(this.pos++||!0)}err(n){throw SyntaxError(n+" (in content expression '"+this.string+"')")}}function z(n){let i=[];do i.push(j(n));while(n.eat("|"));return 1==i.length?i[0]:{type:"choice",exprs:i}}function j(n){let i=[];do i.push($(n));while(n.next&&")"!=n.next&&"|"!=n.next);return 1==i.length?i[0]:{type:"seq",exprs:i}}function $(n){let i=q(n);for(;;)if(n.eat("+"))i={type:"plus",expr:i};else if(n.eat("*"))i={type:"star",expr:i};else if(n.eat("?"))i={type:"opt",expr:i};else if(n.eat("{"))i=V(n,i);else break;return i}function H(n){/\D/.test(n.next)&&n.err("Expected number, got '"+n.next+"'");let i=Number(n.next);return n.pos++,i}function V(n,i){let o=H(n),a=o;return n.eat(",")&&(a="}"!=n.next?H(n):-1),n.eat("}")||n.err("Unclosed braced range"),{type:"range",min:o,max:a,expr:i}}function G(n,i){let o=n.nodeTypes,a=o[i];if(a)return[a];let s=[];for(let l in o){let u=o[l];u.groups.indexOf(i)>-1&&s.push(u)}return 0==s.length&&n.err("No node type or group '"+i+"' found"),s}function q(n){if(n.eat("(")){let i=z(n);return n.eat(")")||n.err("Missing closing paren"),i}if(/\W/.test(n.next))n.err("Unexpected token '"+n.next+"'");else{let o=G(n,n.next).map(i=>(null==n.inline?n.inline=i.isInline:n.inline!=i.isInline&&n.err("Mixing inline and block content"),{type:"name",value:i}));return n.pos++,1==o.length?o[0]:{type:"choice",exprs:o}}}function W(n){let i=[[]];return s(l(n,0),o()),i;function o(){return i.push([])-1}function a(n,o,a){let s={term:a,to:o};return i[n].push(s),s}function s(n,i){n.forEach(n=>n.to=i)}function l(n,i){if("choice"==n.type)return n.exprs.reduce((n,o)=>n.concat(l(o,i)),[]);if("seq"==n.type)for(let u=0;;u++){let c=l(n.exprs[u],i);if(u==n.exprs.length-1)return c;s(c,i=o())}else if("star"==n.type){let d=o();return a(i,d),s(l(n.expr,d),d),[a(d)]}else if("plus"==n.type){let p=o();return s(l(n.expr,i),p),s(l(n.expr,p),p),[a(p)]}else if("opt"==n.type)return[a(i)].concat(l(n.expr,i));else if("range"==n.type){let f=i;for(let h=0;h{n[i].forEach(({term:i,to:o})=>{let a;if(i){for(let l=0;l{a||s.push([i,a=[]]),-1==a.indexOf(n)&&a.push(n)})}})});let l=i[a.join(",")]=new B(a.indexOf(n.length-1)>-1);for(let u=0;u-1}allowsMarks(n){if(null==this.markSet)return!0;for(let i=0;io[n]=new et(n,i,a));let a=i.spec.topNode||"doc";if(!o[a])throw RangeError("Schema is missing its top node type ('"+a+"')");if(!o.text)throw RangeError("Every schema needs a 'text' type");for(let s in o.text.attrs)throw RangeError("The text node type should not have attributes");return o}}class en{constructor(n){this.hasDefault=Object.prototype.hasOwnProperty.call(n,"default"),this.default=n.default}get isRequired(){return!this.hasDefault}}class er{constructor(n,i,o,a){this.name=n,this.rank=i,this.schema=o,this.spec=a,this.attrs=ee(a.attrs),this.excluded=null;let s=J(this.attrs);this.instance=s?new h(this,s):null}create(n=null){return!n&&this.instance?this.instance:new h(this,Q(this.attrs,n))}static compile(n,i){let o=Object.create(null),a=0;return n.forEach((n,s)=>o[n]=new er(n,a++,i,s)),o}removeFromSet(n){for(var i=0;i-1}}class ei{constructor(n){this.cached=Object.create(null);let i=this.spec={};for(let o in n)i[o]=n[o];i.nodes=s.from(n.nodes),i.marks=s.from(n.marks||{}),this.nodes=et.compile(this.spec.nodes,this),this.marks=er.compile(this.spec.marks,this);let a=Object.create(null);for(let l in this.nodes){if(l in this.marks)throw RangeError(l+" can not be both a node and a mark");let u=this.nodes[l],c=u.spec.content||"",d=u.spec.marks;u.contentMatch=a[c]||(a[c]=B.parse(c,this.nodes)),u.inlineContent=u.contentMatch.inlineContent,u.markSet="_"==d?null:d?eo(this,d.split(" ")):""!=d&&u.inlineContent?null:[]}for(let p in this.marks){let f=this.marks[p],h=f.spec.excludes;f.excluded=null==h?[f]:""==h?[]:eo(this,h.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(n,i=null,o,a){if("string"==typeof n)n=this.nodeType(n);else if(n instanceof et){if(n.schema!=this)throw RangeError("Node type from different schema used ("+n.name+")")}else throw RangeError("Invalid node type: "+n);return n.createChecked(i,o,a)}text(n,i){let o=this.nodes.text;return new P(o,o.defaultAttrs,n,h.setFrom(i))}mark(n,i){return"string"==typeof n&&(n=this.marks[n]),n.create(i)}nodeFromJSON(n){return L.fromJSON(this,n)}markFromJSON(n){return h.fromJSON(this,n)}nodeType(n){let i=this.nodes[n];if(!i)throw RangeError("Unknown node type: "+n);return i}}function eo(n,i){let o=[];for(let a=0;a-1)&&o.push(u=d)}if(!u)throw SyntaxError("Unknown mark type: '"+i[a]+"'")}return o}class ea{constructor(n,i){this.schema=n,this.rules=i,this.tags=[],this.styles=[],i.forEach(n=>{n.tag?this.tags.push(n):n.style&&this.styles.push(n)}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let o=n.nodes[i.node];return o.contentMatch.matchType(o)})}parse(n,i={}){let o=new em(this,i,!1);return o.addAll(n,i.from,i.to),o.finish()}parseSlice(n,i={}){let o=new em(this,i,!0);return o.addAll(n,i.from,i.to),g.maxOpen(o.finish())}matchTag(n,i,o){for(let a=o?this.tags.indexOf(o)+1:0;an.length)||61==u.charCodeAt(n.length)&&u.slice(n.length+1)==i)){if(l.getAttrs){let c=l.getAttrs(i);if(!1===c)continue;l.attrs=c||void 0}return l}}}static schemaRules(n){let i=[];function o(n){let o=null==n.priority?50:n.priority,a=0;for(;a{o(n=ev(n)),n.mark||n.ignore||n.clearMark||(n.mark=a)})}for(let l in n.nodes){let u=n.nodes[l].spec.parseDOM;u&&u.forEach(n=>{o(n=ev(n)),n.node||n.ignore||n.mark||(n.node=l)})}return i}static fromSchema(n){return n.cached.domParser||(n.cached.domParser=new ea(n,ea.schemaRules(n)))}}let es={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},el={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},eu={ol:!0,ul:!0},ec=1,ed=2,ep=4;function ef(n,i,o){return null!=i?(i?ec:0)|("full"===i?ed:0):n&&"pre"==n.whitespace?ec|ed:o&~ep}class eh{constructor(n,i,o,a,s,l,u){this.type=n,this.attrs=i,this.marks=o,this.pendingMarks=a,this.solid=s,this.options=u,this.content=[],this.activeMarks=h.none,this.stashMarks=[],this.match=l||(u&ep?null:n.contentMatch)}findWrapping(n){if(!this.match){if(!this.type)return[];let i=this.type.contentMatch.fillBefore(c.from(n));if(i)this.match=this.type.contentMatch.matchFragment(i);else{let o=this.type.contentMatch,a;return(a=o.findWrapping(n.type))?(this.match=o,a):null}}return this.match.findWrapping(n.type)}finish(n){if(!(this.options&ec)){let i=this.content[this.content.length-1],o;if(i&&i.isText&&(o=/[ \t\r\n\u000c]+$/.exec(i.text))){let a=i;i.text.length==o[0].length?this.content.pop():this.content[this.content.length-1]=a.withText(a.text.slice(0,a.text.length-o[0].length))}}let s=c.from(this.content);return!n&&this.match&&(s=s.append(this.match.fillBefore(c.empty,!0))),this.type?this.type.create(this.attrs,s,this.marks):s}popFromStashMark(n){for(let i=this.stashMarks.length-1;i>=0;i--)if(n.eq(this.stashMarks[i]))return this.stashMarks.splice(i,1)[0]}applyPending(n){for(let i=0,o=this.pendingMarks;ithis.addAll(n)),l&&this.sync(u),this.needsBlock=c}else this.withStyleRules(n,()=>{this.addElementByRule(n,s,!1===s.consuming?a:void 0)})}leafFallback(n){"BR"==n.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(n.ownerDocument.createTextNode("\n"))}ignoreFallback(n){"BR"!=n.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"))}readStyles(n){let i=h.none,o=h.none;for(let a=0;a{l.clearMark(n)&&(o=n.addToSet(o))}):i=this.parser.schema.marks[l.mark].create(l.attrs).addToSet(i),!1===l.consuming)s=l;else break}return[i,o]}addElementByRule(n,i,o){let a,s,l;i.node?(s=this.parser.schema.nodes[i.node]).isLeaf?this.insertNode(s.create(i.attrs))||this.leafFallback(n):a=this.enter(s,i.attrs||null,i.preserveWhitespace):(l=this.parser.schema.marks[i.mark].create(i.attrs),this.addPendingMark(l));let u=this.top;if(s&&s.isLeaf)this.findInside(n);else if(o)this.addElement(n,o);else if(i.getContent)this.findInside(n),i.getContent(n,this.parser.schema).forEach(n=>this.insertNode(n));else{let c=n;"string"==typeof i.contentElement?c=n.querySelector(i.contentElement):"function"==typeof i.contentElement?c=i.contentElement(n):i.contentElement&&(c=i.contentElement),this.findAround(n,c,!0),this.addAll(c)}a&&this.sync(u)&&this.open--,l&&this.removePendingMark(l,u)}addAll(n,i,o){let a=i||0;for(let s=i?n.childNodes[i]:n.firstChild,l=null==o?null:n.childNodes[o];s!=l;s=s.nextSibling,++a)this.findAtPoint(n,a),this.addDOM(s);this.findAtPoint(n,a)}findPlace(n){let i,o;for(let a=this.open;a>=0;a--){let s=this.nodes[a],l=s.findWrapping(n);if(l&&(!i||i.length>l.length)&&(i=l,o=s,!l.length)||s.solid)break}if(!i)return!1;this.sync(o);for(let u=0;uthis.open){for(;i>this.open;i--)this.nodes[i-1].content.push(this.nodes[i].finish(n));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(n){for(let i=this.open;i>=0;i--)if(this.nodes[i]==n)return this.open=i,!0;return!1}get currentPos(){this.closeExtra();let n=0;for(let i=this.open;i>=0;i--){let o=this.nodes[i].content;for(let a=o.length-1;a>=0;a--)n+=o[a].nodeSize;i&&n++}return n}findAtPoint(n,i){if(this.find)for(let o=0;o-1)return n.split(/\s*\|\s*/).some(this.matchesContext,this);let i=n.split("/"),o=this.options.context,a=!this.isOpen&&(!o||o.parent.type==this.nodes[0].type),s=-(o?o.depth+1:0)+(a?0:1),l=(n,u)=>{for(;n>=0;n--){let c=i[n];if(""==c){if(n==i.length-1||0==n)continue;for(;u>=s;u--)if(l(n-1,u))return!0;return!1}{let d=u>0||0==u&&a?this.nodes[u].type:o&&u>=s?o.node(u-s).type:null;if(!d||d.name!=c&&-1==d.groups.indexOf(c))return!1;u--}}return!0};return l(i.length-1,this.open)}textblockFromContext(){let n=this.options.context;if(n)for(let i=n.depth;i>=0;i--){let o=n.node(i).contentMatchAt(n.indexAfter(i)).defaultType;if(o&&o.isTextblock&&o.defaultAttrs)return o}for(let a in this.parser.schema.nodes){let s=this.parser.schema.nodes[a];if(s.isTextblock&&s.defaultAttrs)return s}}addPendingMark(n){let i=eE(n,this.top.pendingMarks);i&&this.top.stashMarks.push(i),this.top.pendingMarks=n.addToSet(this.top.pendingMarks)}removePendingMark(n,i){for(let o=this.open;o>=0;o--){let a=this.nodes[o];if(a.pendingMarks.lastIndexOf(n)>-1)a.pendingMarks=n.removeFromSet(a.pendingMarks);else{a.activeMarks=n.removeFromSet(a.activeMarks);let s=a.popFromStashMark(n);s&&a.type&&a.type.allowsMarkType(s.type)&&(a.activeMarks=s.addToSet(a.activeMarks))}if(a==i)break}}}function eg(n){for(let i=n.firstChild,o=null;i;i=i.nextSibling){let a=1==i.nodeType?i.nodeName.toLowerCase():null;a&&eu.hasOwnProperty(a)&&o?(o.appendChild(i),i=o):"li"==a?o=i:a&&(o=null)}}function eb(n,i){return(n.matches||n.msMatchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector).call(n,i)}function ey(n){let i=/\s*([\w-]+)\s*:\s*([^;]+)/g,o,a=[];for(;o=i.exec(n);)a.push(o[1],o[2].trim());return a}function ev(n){let i={};for(let o in n)i[o]=n[o];return i}function ew(n,i){let o=i.schema.nodes;for(let a in o){let s=o[a];if(!s.allowsMarkType(n))continue;let l=[],u=n=>{l.push(n);for(let o=0;ol.indexOf(s)&&u(s))return!0}};if(u(s.contentMatch))return!0}}function eE(n,i){for(let o=0;o{if(s.length||n.marks.length){let o=0,l=0;for(;o=0;a--){let s=this.serializeMark(n.marks[a],n.isInline,i);s&&((s.contentDOM||s.dom).appendChild(o),o=s.dom)}return o}serializeMark(n,i,o={}){let a=this.marks[n.type.name];return a&&eS.renderSpec(e_(o),a(n,i))}static renderSpec(n,i,o=null){let a;if("string"==typeof i)return{dom:n.createTextNode(i)};if(null!=i.nodeType)return{dom:i};if(i.dom&&null!=i.dom.nodeType)return i;let s=i[0],l=s.indexOf(" ");l>0&&(o=s.slice(0,l),s=s.slice(l+1));let u=o?n.createElementNS(o,s):n.createElement(s),c=i[1],d=1;if(c&&"object"==typeof c&&null==c.nodeType&&!Array.isArray(c)){for(let p in d=2,c)if(null!=c[p]){let f=p.indexOf(" ");f>0?u.setAttributeNS(p.slice(0,f),p.slice(f+1),c[p]):u.setAttribute(p,c[p])}}for(let h=d;hd)throw RangeError("Content hole must be the only child of its parent node");return{dom:u,contentDOM:u}}{let{dom:g,contentDOM:b}=eS.renderSpec(n,m,o);if(u.appendChild(g),b){if(a)throw RangeError("Multiple content holes");a=b}}}return{dom:u,contentDOM:a}}static fromSchema(n){return n.cached.domSerializer||(n.cached.domSerializer=new eS(this.nodesFromSchema(n),this.marksFromSchema(n)))}static nodesFromSchema(n){let i=ex(n.nodes);return i.text||(i.text=n=>n.text),i}static marksFromSchema(n){return ex(n.marks)}}function ex(n){let i={};for(let o in n){let a=n[o].spec.toDOM;a&&(i[o]=a)}return i}function e_(n){return n.document||window.document}},69400:function(n,i,o){"use strict";o.d(i,{N:function(){return c}});var a=o(12806),s=o(2376),l=o(378),u=o(57555);function c(n){let i;let o=(0,u.DY)(n,(n,i)=>(i.priority??l.xV.Low)-(n.priority??l.xV.Low)),c=[],p=[];for(let f of o)y(f)?c.push(f):p.push(f);return new s.Sy({key:d,view:n=>(i=n,{}),props:{transformPasted(n){var o,s,l;let d=i.state.selection.$from,p=d.node().type.name,f=new Set(d.marks().map(n=>n.type.name));for(let h of c){if((null==(o=h.ignoredNodes)?void 0:o.includes(p))||(null==(s=h.ignoredMarks)?void 0:s.some(n=>f.has(n))))continue;let m=(null==(l=n.content.firstChild)?void 0:l.textContent)??"",b=!i.state.selection.empty&&1===n.content.childCount&&m,y=(0,u.JD)(m,h.regexp)[0];if(b&&y&&"mark"===h.type&&h.replaceSelection){let{from:v,to:w}=i.state.selection,E=i.state.doc.slice(v,w),x=E.content.textBetween(0,E.content.size);if("boolean"!=typeof h.replaceSelection?h.replaceSelection(x):h.replaceSelection){let _=[],{getAttributes:k,markType:A}=h,T=(0,u.mf)(k)?k(y,!0):k,C=A.create(T);return E.content.forEach(n=>{if(n.isText){let i=C.addToSet(n.marks);_.push(n.mark(i))}}),a.p2.maxOpen(a.HY.fromArray(_))}}let{nodes:R,transformed:D}=g(n.content,h,i.state.schema);D&&(n="node"===h.type&&h.nodeType.isBlock?new a.p2(a.HY.fromArray(R),0,0):new a.p2(a.HY.fromArray(R),n.openStart,n.openEnd))}return S(n)},handleDOMEvents:{paste(n,i){var o,a;let s=i;if(!(null==(a=(o=n.props).editable)?void 0:a.call(o,n.state)))return!1;let{clipboardData:l}=s;if(!l)return!1;let u=[...l.items].map(n=>n.getAsFile()).filter(n=>!!n);if(0===u.length)return!1;let{selection:c}=n.state;for(let{fileHandler:d,regexp:f}of p){let h=f?u.filter(n=>f.test(n.type)):u;if(0!==h.length&&d({event:s,files:h,selection:c,view:n,type:"paste"}))return s.preventDefault(),!0}return!1},drop(n,i){var o,a,s;let l=i;if(!(null==(a=(o=n.props).editable)?void 0:a.call(o,n.state)))return!1;let{dataTransfer:u,clientX:c,clientY:d}=l;if(!u)return!1;let f=E(l);if(0===f.length)return!1;let h=(null==(s=n.posAtCoords({left:c,top:d}))?void 0:s.pos)??n.state.selection.anchor;for(let{fileHandler:m,regexp:g}of p){let b=g?f.filter(n=>g.test(n.type)):f;if(0!==b.length&&m({event:l,files:b,pos:h,view:n,type:"drop"}))return l.preventDefault(),!0}return!1}}}})}var d=new s.H$("pasteRule");function p(n,i){return function o(s){let{fragment:l,rule:c,nodes:d}=s,{regexp:p,ignoreWhitespace:f,ignoredMarks:h,ignoredNodes:m}=c,g=!1;return l.forEach(s=>{if((null==m?void 0:m.includes(s.type.name))||v(s)){d.push(s);return}if(!s.isText){let l=o({fragment:s.content,rule:c,nodes:[]});g||(g=l.transformed);let b=a.HY.fromArray(l.nodes);s.type.validContent(b)?d.push(s.copy(b)):d.push(...l.nodes);return}if(s.marks.some(n=>w(n)||(null==h?void 0:h.includes(n.type.name)))){d.push(s);return}let y=s.text??"",E=0;for(let S of(0,u.JD)(y,p)){let x=S[1],_=S[0];if(f&&(null==x?void 0:x.trim())===""||!_)return;let k=S.index,A=k+_.length;k>E&&d.push(s.cut(E,k));let T=s.cut(k,A);if(_&&x){let C=_.search(/\S/),R=k+_.indexOf(x),D=R+x.length;C&&d.push(s.cut(k,k+C)),T=s.cut(R,D)}n({nodes:d,rule:c,textNode:T,match:S,schema:i}),g=!0,E=A}y&&E0?[...a.files]:(null==(o=a.items)?void 0:o.length)?[...a.items].map(n=>n.getAsFile()).filter(n=>!!n):[]:[]}function S(n){let i=a.p2.maxOpen(n.content);return i.openStart=0;s--){let l=i<0?v(n.node(0),n.node(s),n.before(s+1),n.index(s),i,o):v(n.node(0),n.node(s),n.after(s+1),n.index(s)+1,i,o);if(l)return l}return null}static near(n,i=1){return this.findFrom(n,i)||this.findFrom(n,-i)||new b(n.node(0))}static atStart(n){return v(n,n,0,0,1)||new b(n)}static atEnd(n){return v(n,n,n.content.size,n.childCount,-1)||new b(n)}static fromJSON(n,i){if(!i||!i.type)throw RangeError("Invalid input for Selection.fromJSON");let o=l[i.type];if(!o)throw RangeError(`No selection type ${i.type} defined`);return o.fromJSON(n,i)}static jsonID(n,i){if(n in l)throw RangeError("Duplicate use of selection JSON ID "+n);return l[n]=i,i.prototype.jsonID=n,i}getBookmark(){return f.between(this.$anchor,this.$head).getBookmark()}}u.prototype.visible=!0;class c{constructor(n,i){this.$from=n,this.$to=i}}let d=!1;function p(n){d||n.parent.inlineContent||(d=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+n.parent.type.name+")"))}class f extends u{constructor(n,i=n){p(n),p(i),super(n,i)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(n,i){let o=n.resolve(i.map(this.head));if(!o.parent.inlineContent)return u.near(o);let a=n.resolve(i.map(this.anchor));return new f(a.parent.inlineContent?a:o,o)}replace(n,i=a.p2.empty){if(super.replace(n,i),i==a.p2.empty){let o=this.$from.marksAcross(this.$to);o&&n.ensureMarks(o)}}eq(n){return n instanceof f&&n.anchor==this.anchor&&n.head==this.head}getBookmark(){return new h(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(n,i){if("number"!=typeof i.anchor||"number"!=typeof i.head)throw RangeError("Invalid input for TextSelection.fromJSON");return new f(n.resolve(i.anchor),n.resolve(i.head))}static create(n,i,o=i){let a=n.resolve(i);return new this(a,o==i?a:n.resolve(o))}static between(n,i,o){let a=n.pos-i.pos;if((!o||a)&&(o=a>=0?1:-1),!i.parent.inlineContent){let s=u.findFrom(i,o,!0)||u.findFrom(i,-o,!0);if(!s)return u.near(i,o);i=s.$head}return n.parent.inlineContent||(0==a?n=i:(n=(u.findFrom(n,-o,!0)||u.findFrom(n,o,!0)).$anchor).posnew b(n)};function v(n,i,o,a,s,l=!1){if(i.inlineContent)return f.create(n,o);for(let u=a-(s>0?0:1);s>0?u=0;u+=s){let c=i.child(u);if(c.isAtom){if(!l&&m.isSelectable(c))return m.create(n,o-(s<0?c.nodeSize:0))}else{let d=v(n,c,o+s,s<0?c.childCount:0,s,l);if(d)return d}o+=c.nodeSize*s}return null}function w(n,i,o){let a,l=n.steps.length-1;if(l{null==a&&(a=s)}),n.setSelection(u.near(n.doc.resolve(a),o)))}let E=1,S=2,x=4;class _ extends s.wx{constructor(n){super(n.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=n.selection,this.storedMarks=n.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(n){return this.storedMarks=n,this.updated|=S,this}ensureMarks(n){return a.vc.sameSet(this.storedMarks||this.selection.$from.marks(),n)||this.setStoredMarks(n),this}addStoredMark(n){return this.ensureMarks(n.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(n){return this.ensureMarks(n.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&S)>0}addStep(n,i){super.addStep(n,i),this.updated=this.updated&~S,this.storedMarks=null}setTime(n){return this.time=n,this}replaceSelection(n){return this.selection.replace(this,n),this}replaceSelectionWith(n,i=!0){let o=this.selection;return i&&(n=n.mark(this.storedMarks||(o.empty?o.$from.marks():o.$from.marksAcross(o.$to)||a.vc.none))),o.replaceWith(this,n),this}deleteSelection(){return this.selection.replace(this),this}insertText(n,i,o){let a=this.doc.type.schema;if(null==i)return n?this.replaceSelectionWith(a.text(n),!0):this.deleteSelection();{if(null==o&&(o=i),o=null==o?i:o,!n)return this.deleteRange(i,o);let s=this.storedMarks;if(!s){let l=this.doc.resolve(i);s=o==i?l.marks():l.marksAcross(this.doc.resolve(o))}return this.replaceRangeWith(i,o,a.text(n,s)),this.selection.empty||this.setSelection(u.near(this.selection.$to)),this}}setMeta(n,i){return this.meta["string"==typeof n?n:n.key]=i,this}getMeta(n){return this.meta["string"==typeof n?n:n.key]}get isGeneric(){for(let n in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=x,this}get scrolledIntoView(){return(this.updated&x)>0}}function k(n,i){return i&&n?n.bind(i):n}class A{constructor(n,i,o){this.name=n,this.init=k(i.init,o),this.apply=k(i.apply,o)}}let T=[new A("doc",{init:n=>n.doc||n.schema.topNodeType.createAndFill(),apply:n=>n.doc}),new A("selection",{init:(n,i)=>n.selection||u.atStart(i.doc),apply:n=>n.selection}),new A("storedMarks",{init:n=>n.storedMarks||null,apply:(n,i,o,a)=>a.selection.$cursor?n.storedMarks:null}),new A("scrollToSelection",{init:()=>0,apply:(n,i)=>n.scrolledIntoView?i+1:i})];class C{constructor(n,i){this.schema=n,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=T.slice(),i&&i.forEach(n=>{if(this.pluginsByKey[n.key])throw RangeError("Adding different instances of a keyed plugin ("+n.key+")");this.plugins.push(n),this.pluginsByKey[n.key]=n,n.spec.state&&this.fields.push(new A(n.key,n.spec.state,n))})}}class R{constructor(n){this.config=n}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(n){return this.applyTransaction(n).state}filterTransaction(n,i=-1){for(let o=0;on.toJSON())),n&&"object"==typeof n)for(let o in n){if("doc"==o||"selection"==o)throw RangeError("The JSON fields `doc` and `selection` are reserved");let a=n[o],s=a.spec.state;s&&s.toJSON&&(i[o]=s.toJSON.call(a,this[a.key]))}return i}static fromJSON(n,i,o){if(!i)throw RangeError("Invalid input for EditorState.fromJSON");if(!n.schema)throw RangeError("Required config field 'schema' missing");let s=new C(n.schema,n.plugins),l=new R(s);return s.fields.forEach(s=>{if("doc"==s.name)l.doc=a.NB.fromJSON(n.schema,i.doc);else if("selection"==s.name)l.selection=u.fromJSON(l.doc,i.selection);else if("storedMarks"==s.name)i.storedMarks&&(l.storedMarks=i.storedMarks.map(n.schema.markFromJSON));else{if(o)for(let c in o){let d=o[c],p=d.spec.state;if(d.key==s.name&&p&&p.fromJSON&&Object.prototype.hasOwnProperty.call(i,c)){l[s.name]=p.fromJSON.call(d,n,i[c],l);return}}l[s.name]=s.init(n,l)}}),l}}function D(n,i,o){for(let a in n){let s=n[a];s instanceof Function?s=s.bind(i):"handleDOMEvents"==a&&(s=D(s,i,{})),o[a]=s}return o}class O{constructor(n){this.spec=n,this.props={},n.props&&D(n.props,this,this.props),this.key=n.key?n.key.key:N("plugin")}getState(n){return n[this.key]}}let I=Object.create(null);function N(n){return n in I?n+"$"+ ++I[n]:(I[n]=0,n+"$")}class M{constructor(n="key"){this.key=N(n)}get(n){return n.config.pluginsByKey[this.key]}getState(n){return n[this.key]}}},84799:function(n,i,o){"use strict";o.d(i,{C$:function(){return eh},D7:function(){return em},Ek:function(){return ep},ZF:function(){return eo},gn:function(){return ef},hu:function(){return ed},j4:function(){return Y}});var a,s,l,u,c,d,p,f,h,m,g,b=o(2376),y=o(84348),v=o(57555),w=o(63150),E=o(378),S=(n,i,o)=>{if(!i.has(n))throw TypeError("Cannot "+o)},x=(n,i,o)=>(S(n,i,"read from private field"),o?o.call(n):i.get(n)),_=(n,i,o)=>{if(i.has(n))throw TypeError("Cannot add the same private member more than once");i instanceof WeakSet?i.add(n):i.set(n,o)},k=(n,i,o,a)=>(S(n,i,"write to private field"),a?a.call(n,o):i.set(n,o),o),A=((a=A||{}).End="exit-end",a.Removed="delete",a.Split="exit-split",a.InvalidSplit="invalid-exit-split",a.MoveEnd="move-end",a.MoveStart="move-start",a.JumpForward="jump-forward-exit",a.JumpBackward="jump-backward-exit",a.SelectionOutside="selection-outside",a),T=((s=T||{}).Start="start",s.Text="change-character",s.SelectionInside="selection-inside",s.Move="move",s.JumpBackward="jump-backward-change",s.JumpForward="jump-forward-change",s);function C(n){return!!(n.prev&&n.next&&n.prev.text.full!==n.next.text.full)}function R(n){return!!(n.prev&&n.next&&n.prev.range.cursor!==n.next.range.cursor)}function D(n){return!!(!n.prev&&n.next)}function O(n){return!!(n.prev&&!n.next)}function I(n){return!!(n.prev&&n.next&&n.prev.range.from!==n.next.range.from)}function N(n){return"invalid-exit-split"===n}var M=["jump-backward-exit","jump-forward-exit"],L=["jump-backward-change","jump-forward-change"];function P(n){var i,o;return(0,v.q9)(M,null==(i=n.exit)?void 0:i.exitReason)||(0,v.q9)(L,null==(o=n.change)?void 0:o.changeReason)}function F(n){return!!(n&&n.query.full.length>=n.suggester.matchOffset)}function B(n){return(0,v.Kn)(n)&&n instanceof b.Bs}function U(n){let{match:i,changeReason:o,exitReason:a}=n;return{...i,changeReason:o,exitReason:a}}function z(n,i){let{invalidPrefixCharacters:o,validPrefixCharacters:a}=i;if(o){let s=RegExp(ee(o));return!s.test(n)}{let l=RegExp(ee(a));return l.test(n)}}function j(n){let i;let{text:o,regexp:a,$pos:s,suggester:l}=n,u=s.start();return(0,v.JD)(o,a).forEach(n=>{let o=n.input.slice(Math.max(0,n.index-1),n.index);if(z(o,l)){let a=n.index+u,c=n[0],d=n[1];if(!(0,v.HD)(c)||!(0,v.HD)(d))return;let p=a+c.length,f=Math.min(p,s.pos),h=f-a;a=s.pos&&(i={range:{from:a,to:p,cursor:f},match:n,query:{partial:c.slice(d.length,h),full:c.slice(d.length)},text:{partial:c.slice(0,h),full:c},textAfter:s.doc.textBetween(p,s.end(),E.Vp,E.Vp),textBefore:s.doc.textBetween(u,a,E.Vp,E.Vp),suggester:l})}}),i}function $(n){let{$pos:i,suggester:o}=n,{char:a,name:s,startOfLine:l,supportedCharacters:u,matchOffset:c,multiline:d,caseInsensitive:p,unicode:f}=o,h=ei({char:a,matchOffset:c,startOfLine:l,supportedCharacters:u,multiline:d,caseInsensitive:p,unicode:f}),m=i.doc.textBetween(i.before(),i.end(),E.Vp,E.Vp);return j({suggester:o,text:m,regexp:h,$pos:i,char:a,name:s})}function H(n){let{state:i,match:o}=n;try{return $({$pos:i.doc.resolve(o.range.cursor),suggester:o.suggester})}catch{return}}function V(n){let{prev:i,next:o,state:a}=n;return!o&&i.range.from>=a.doc.nodeSize?{exit:U({match:i,exitReason:"delete"})}:o&&i.query.partial?i.range.to===o.range.cursor?{exit:U({match:o,exitReason:"exit-end"})}:i.query.partial?{exit:U({match:o,exitReason:"exit-split"})}:{}:{exit:U({match:i,exitReason:"invalid-exit-split"})}}function G(n){let{prev:i,next:o,state:a}=n,s=(0,v.Ry)(),l=H({state:a,match:i}),{exit:u}=l&&l.query.full!==i.query.full?V({prev:i,next:l,state:a}):s,c=i.range.from=i.range.to)?{exit:U({match:i,exitReason:"selection-outside"})}:a.pos>i.range.to?{exit:U({match:i,exitReason:"move-end"})}:a.pos<=i.range.from?{exit:U({match:i,exitReason:"move-start"})}:{}:V({prev:i,next:l,state:o})}function W(n){let{prev:i,next:o,state:a,$pos:s}=n,l=(0,v.Ry)();if(!i&&!o)return l;let u={prev:i,next:o};return I(u)?G({prev:u.prev,next:u.next,state:a}):D(u)?{change:U({match:u.next,changeReason:"start"})}:O(u)?q({$pos:s,match:u.prev,state:a}):C(u)?{change:U({match:u.next,changeReason:"change-character"})}:R(u)?{change:U({match:u.next,changeReason:a.selection.empty?"move":"selection-inside"})}:l}function K(n,i){for(let o=n.depth;o>0;o--){let a=n.node(o);if(i.includes(a.type.name))return!0}return!1}function Y(n,i){let{$from:o,$to:a}=n;return!!Z(n,i)||(0,v.w6)(o.pos,a.pos).some(n=>X(o.doc.resolve(n),i))}function Z(n,i){let{$from:o,$to:a}=n,s=new Set((o.marksAcross(a)??[]).map(n=>n.type.name));return i.some(n=>s.has(n))}function X(n,i){let o=new Set(n.marks().map(n=>n.type.name));return i.some(n=>o.has(n))}function J(n,i){let{$cursor:o}=i,{validMarks:a,validNodes:s,invalidMarks:l,invalidNodes:u}=n;return!!(!a&&!s&&(0,v.yD)(l)&&(0,v.yD)(u))||!(a&&!Z(i,a)||s&&!K(o,s)||!a&&Y(i,l)||!s&&K(o,u))}function Q(n){let{suggesters:i,$pos:o,selectionEmpty:a}=n;for(let s of i)if(!s.emptySelectionsOnly||a)try{let l=$({suggester:s,$pos:o});if(!l)continue;let u={$from:o.doc.resolve(l.range.from),$to:o.doc.resolve(l.range.to),$cursor:o};if(J(s,u)&&s.isValidPosition(u,l))return l}catch{}}function ee(n){return(0,v.Kj)(n)?n.source:n}function et(n){return n?"^":""}function en(n,i){return`(?:${ee(n)}){${i},}`}function er(n){return(0,v.HD)(n)?RegExp(w(n)):n}function ei(n){let{char:i,matchOffset:o,startOfLine:a,supportedCharacters:s,captureChar:l=!0,caseInsensitive:u=!1,multiline:c=!1,unicode:d=!1}=n,p=`g${c?"m":""}${u?"i":""}${d?"u":""}`,f=er(i).source;return l&&(f=`(${f})`),RegExp(`${et(a)}${f}${en(s,o)}`,p)}var eo={appendTransaction:!1,priority:50,ignoredTag:"span",matchOffset:0,disableDecorations:!1,startOfLine:!1,suggestClassName:"suggest",suggestTag:"span",supportedCharacters:/\w+/,validPrefixCharacters:/^[\s\0]?$/,invalidPrefixCharacters:null,ignoredClassName:null,invalidMarks:[],invalidNodes:[],validMarks:null,validNodes:null,isValidPosition:()=>!0,checkNextValidSelection:null,emptySelectionsOnly:!1,caseInsensitive:!1,multiline:!1,unicode:!1,captureChar:!0},ea="__ignore_prosemirror_suggest_update__",es=class{constructor(n){_(this,l,!1),_(this,u,!1),_(this,c,void 0),_(this,d,void 0),_(this,p,void 0),_(this,f,(0,v.Ry)()),_(this,h,y.EH.empty),_(this,m,!1),_(this,g,!1),this.setMarkRemoved=()=>{k(this,m,!0)},this.findNextTextSelection=n=>{let i=n.$from.doc,o=Math.min(i.nodeSize-2,n.to+1),a=i.resolve(o),s=b.Y1.findFrom(a,1,!0);if(B(s))return s},this.ignoreNextExit=()=>{k(this,u,!0)},this.addIgnored=({from:n,name:i,specific:o=!1})=>{let a=x(this,c).find(n=>n.name===i);if(!a)throw Error(`No suggester exists for the name provided: ${i}`);let s=(0,v.HD)(a.char)?a.char.length:1,l=n+s,u=a.ignoredClassName?{class:a.ignoredClassName}:{},d=y.p.inline(n,l,{nodeName:a.ignoredTag,...u},{name:i,specific:o,char:a.char});k(this,h,x(this,h).add(this.view.state.doc,[d]))},this.removeIgnored=({from:n,name:i})=>{let o=x(this,c).find(n=>n.name===i);if(!o)throw Error(`No suggester exists for the name provided: ${i}`);let a=(0,v.HD)(o.char)?o.char.length:1,s=x(this,h).find(n,n+a)[0];s&&s.spec.name===i&&k(this,h,x(this,h).remove([s]))},this.clearIgnored=n=>{if(!n){k(this,h,y.EH.empty);return}let i=x(this,h).find(),o=i.filter(({spec:i})=>i.name===n);k(this,h,x(this,h).remove(o))},this.findMatchAtPosition=(n,i)=>{let o=i?x(this,c).filter(n=>n.name===i):x(this,c);return Q({suggesters:o,$pos:n,docChanged:!1,selectionEmpty:!0})},this.setLastChangeFromAppend=()=>{k(this,g,!0)};let i=eu();k(this,c,n.map(i)),k(this,c,(0,v.DY)(x(this,c),(n,i)=>i.priority-n.priority))}static create(n){return new es(n)}get decorationSet(){return x(this,h)}get removed(){return x(this,m)}get match(){return x(this,d)?x(this,d):x(this,p)&&x(this,f).exit?x(this,p):void 0}init(n){return this.view=n,this}createProps(n){let{name:i,char:o}=n.suggester;return{view:this.view,addIgnored:this.addIgnored,clearIgnored:this.clearIgnored,ignoreNextExit:this.ignoreNextExit,setMarkRemoved:this.setMarkRemoved,name:i,char:o,...n}}shouldRunExit(){return!x(this,u)||(k(this,u,!1),!1)}updateWithNextSelection(n){var i,o,a;let s=this.findNextTextSelection(n.selection);if(s)for(let l of x(this,c)){let u=null==(i=x(this,f).change)?void 0:i.suggester.name,d=null==(o=x(this,f).exit)?void 0:o.suggester.name;null==(a=l.checkNextValidSelection)||a.call(l,s.$from,n,{change:u,exit:d})}}changeHandler(n,i){let{change:o,exit:a}=x(this,f),s=this.match;if(!o&&!a||!F(s))return;let l=i===(null==a?void 0:a.suggester.appendTransaction)&&this.shouldRunExit(),u=i===(null==o?void 0:o.suggester.appendTransaction);if(l||u){if(o&&a&&P({change:o,exit:a})){let c=this.createProps(a),d=this.createProps(o);a.range.from,o.range.from,l&&a.suggester.onChange(c,n),u&&o.suggester.onChange(d,n),l&&k(this,m,!1);return}o&&u&&o.suggester.onChange(this.createProps(o),n),a&&l&&(a.suggester.onChange(this.createProps(a),n),k(this,m,!1),N(a.exitReason)&&k(this,f,(0,v.Ry)()))}}mapIgnoredDecorations(n){let i=x(this,h).map(n.mapping,n.doc),o=i.find(),a=o.filter(({from:n,to:i,spec:o})=>{let a=(0,v.HD)(o.char)?o.char.length:1;return i-n!==a});k(this,h,i.remove(a))}shouldIgnoreMatch({range:n,suggester:{name:i}}){let o=x(this,h).find(),a=o.some(({spec:o,from:a})=>a===n.from&&(!o.specific||o.name===i));return a}resetState(){k(this,f,(0,v.Ry)()),k(this,d,void 0),k(this,m,!1),k(this,g,!1)}updateReasons(n){let{$pos:i,state:o}=n,a=x(this,l),s=x(this,c),u=o.selection.empty,h=B(o.selection)?Q({suggesters:s,$pos:i,docChanged:a,selectionEmpty:u}):void 0;k(this,d,h&&this.shouldIgnoreMatch(h)?void 0:h),k(this,f,W({next:x(this,d),prev:x(this,p),state:o,$pos:i}))}addSuggester(n){let i=x(this,c).find(i=>i.name===n.name),o=eu();if(i)k(this,c,x(this,c).map(a=>a===i?o(n):a));else{let a=[...x(this,c),o(n)];k(this,c,(0,v.DY)(a,(n,i)=>i.priority-n.priority))}return()=>this.removeSuggester(n.name)}removeSuggester(n){let i=(0,v.HD)(n)?n:n.name;k(this,c,x(this,c).filter(n=>n.name!==i)),this.clearIgnored(i)}toJSON(){return this.match}apply(n){let{exit:i,change:o}=x(this,f);if(x(this,g)&&(k(this,g,!1),!(null==i?void 0:i.suggester.appendTransaction)&&!(null==o?void 0:o.suggester.appendTransaction)))return this;let{tr:a,state:s}=n,u=a.docChanged||a.selectionSet,c=a.getMeta(ea);return!c&&(u||x(this,m))&&(k(this,l,a.docChanged),this.mapIgnoredDecorations(a),i&&this.resetState(),k(this,p,x(this,d)),this.updateReasons({$pos:a.selection.$from,state:s})),this}createDecorations(n){let i=this.match;if(!F(i))return x(this,h);let{disableDecorations:o}=i.suggester,a=(0,v.mf)(o)?o(n,i):o;if(a)return x(this,h);let{range:s,suggester:l}=i,{name:u,suggestTag:c,suggestClassName:d}=l,{from:p,to:f}=s;return this.shouldIgnoreMatch(i)?x(this,h):x(this,h).add(n.doc,[y.p.inline(p,f,{nodeName:c,class:u?`${d} suggest-${u}`:d},{name:u})])}},el=es;function eu(){let n=new Set;return i=>{if(n.has(i.name))throw Error(`A suggester already exists with the name '${i.name}'. The name provided must be unique.`);let o={...eo,...i};return n.add(i.name),o}}l=new WeakMap,u=new WeakMap,c=new WeakMap,d=new WeakMap,p=new WeakMap,f=new WeakMap,h=new WeakMap,m=new WeakMap,g=new WeakMap;var ec=new b.H$("suggest");function ed(n){return ec.getState(n)}function ep(n,i){return ed(n).addSuggester(i)}function ef(n){n.setMeta(ea,!0)}function eh(n,i){return ed(n).removeSuggester(i)}function em(...n){let i=el.create(n);return new b.Sy({key:ec,view:n=>(i.init(n),{update:n=>i.changeHandler(n.state.tr,!1)}),state:{init:()=>i,apply:(n,o,a,s)=>i.apply({tr:n,state:s})},appendTransaction(n,o,a){let s=a.tr;return(i.updateWithNextSelection(s),i.changeHandler(s,!0),s.docChanged||s.steps.length>0||s.selectionSet||s.storedMarksSet)?(i.setLastChangeFromAppend(),s):null},props:{decorations:n=>i.createDecorations(n)}})}},16560:function(n,i,o){"use strict";o.d(i,{Ax:function(){return V},FC:function(){return C},Mn:function(){return q},Pu:function(){return T},WJ:function(){return x},Yo:function(){return Y},dR:function(){return X},h8:function(){return w},k9:function(){return M},nd:function(){return P},nj:function(){return Z},oo:function(){return E},vs:function(){return y},wx:function(){return em},xu:function(){return _}});var a=o(12806);let s=65535,l=65536;function u(n,i){return n+i*l}function c(n){return n&s}function d(n){return(n-(n&s))/l}let p=1,f=2,h=4,m=8;class g{constructor(n,i,o){this.pos=n,this.delInfo=i,this.recover=o}get deleted(){return(this.delInfo&m)>0}get deletedBefore(){return(this.delInfo&(p|h))>0}get deletedAfter(){return(this.delInfo&(f|h))>0}get deletedAcross(){return(this.delInfo&h)>0}}class b{constructor(n,i=!1){if(this.ranges=n,this.inverted=i,!n.length&&b.empty)return b.empty}recover(n){let i=0,o=c(n);if(!this.inverted)for(let a=0;an)break;let b=this.ranges[c+s],y=this.ranges[c+l],v=d+b;if(n<=v){let w=b?n==d?-1:n==v?1:i:i,E=d+a+(w<0?0:y);if(o)return E;let S=n==(i<0?d:v)?null:u(c/3,n-d),x=n==d?f:n==v?p:h;return(i<0?n!=d:n!=v)&&(x|=m),new g(E,x,S)}a+=y-b}return o?n+a:new g(n+a,0,null)}touches(n,i){let o=0,a=c(i),s=this.inverted?2:1,l=this.inverted?1:2;for(let u=0;un)break;let p=this.ranges[u+s];if(n<=d+p&&u==3*a)return!0;o+=this.ranges[u+l]-p}return!1}forEach(n){let i=this.inverted?2:1,o=this.inverted?1:2;for(let a=0,s=0;a=0;i--){let a=n.getMirror(i);this.appendMap(n.maps[i].invert(),null!=a&&a>i?o-a-1:void 0)}}invert(){let n=new y;return n.appendMappingInverted(this),n}map(n,i=1){if(this.mirror)return this._map(n,i,!0);for(let o=this.from;os&&un.isAtom&&i.type.allowsMarkType(this.mark.type)?n.mark(this.mark.addToSet(n.marks)):n,s),i.openStart,i.openEnd);return E.fromReplace(n,this.from,this.to,l)}invert(){return new _(this.from,this.to,this.mark)}map(n){let i=n.mapResult(this.from,1),o=n.mapResult(this.to,-1);return i.deleted&&o.deleted||i.pos>=o.pos?null:new x(i.pos,o.pos,this.mark)}merge(n){return n instanceof x&&n.mark.eq(this.mark)&&this.from<=n.to&&this.to>=n.from?new x(Math.min(this.from,n.from),Math.max(this.to,n.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(n,i){if("number"!=typeof i.from||"number"!=typeof i.to)throw RangeError("Invalid input for AddMarkStep.fromJSON");return new x(i.from,i.to,n.markFromJSON(i.mark))}}w.jsonID("addMark",x);class _ extends w{constructor(n,i,o){super(),this.from=n,this.to=i,this.mark=o}apply(n){let i=n.slice(this.from,this.to),o=new a.p2(S(i.content,n=>n.mark(this.mark.removeFromSet(n.marks)),n),i.openStart,i.openEnd);return E.fromReplace(n,this.from,this.to,o)}invert(){return new x(this.from,this.to,this.mark)}map(n){let i=n.mapResult(this.from,1),o=n.mapResult(this.to,-1);return i.deleted&&o.deleted||i.pos>=o.pos?null:new _(i.pos,o.pos,this.mark)}merge(n){return n instanceof _&&n.mark.eq(this.mark)&&this.from<=n.to&&this.to>=n.from?new _(Math.min(this.from,n.from),Math.max(this.to,n.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(n,i){if("number"!=typeof i.from||"number"!=typeof i.to)throw RangeError("Invalid input for RemoveMarkStep.fromJSON");return new _(i.from,i.to,n.markFromJSON(i.mark))}}w.jsonID("removeMark",_);class k extends w{constructor(n,i){super(),this.pos=n,this.mark=i}apply(n){let i=n.nodeAt(this.pos);if(!i)return E.fail("No node at mark step's position");let o=i.type.create(i.attrs,null,this.mark.addToSet(i.marks));return E.fromReplace(n,this.pos,this.pos+1,new a.p2(a.HY.from(o),0,i.isLeaf?0:1))}invert(n){let i=n.nodeAt(this.pos);if(i){let o=this.mark.addToSet(i.marks);if(o.length==i.marks.length){for(let a=0;ao.pos?null:new C(i.pos,o.pos,a,s,this.slice,this.insert,this.structure)}toJSON(){let n={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(n.slice=this.slice.toJSON()),this.structure&&(n.structure=!0),n}static fromJSON(n,i){if("number"!=typeof i.from||"number"!=typeof i.to||"number"!=typeof i.gapFrom||"number"!=typeof i.gapTo||"number"!=typeof i.insert)throw RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new C(i.from,i.to,i.gapFrom,i.gapTo,a.p2.fromJSON(n,i.slice),i.insert,!!i.structure)}}function R(n,i,o){let a=n.resolve(i),s=o-i,l=a.depth;for(;s>0&&l>0&&a.indexAfter(l)==a.node(l).childCount;)l--,s--;if(s>0){let u=a.node(l).maybeChild(a.indexAfter(l));for(;s>0;){if(!u||u.isLeaf)return!0;u=u.firstChild,s--}}return!1}function D(n,i,o,a){let s,l,u=[],c=[];n.doc.nodesBetween(i,o,(n,d,p)=>{if(!n.isInline)return;let f=n.marks;if(!a.isInSet(f)&&p.type.allowsMarkType(a.type)){let h=Math.max(d,i),m=Math.min(d+n.nodeSize,o),g=a.addToSet(f);for(let b=0;bn.step(i)),c.forEach(i=>n.step(i))}function O(n,i,o,s){let l=[],u=0;n.doc.nodesBetween(i,o,(n,c)=>{if(!n.isInline)return;u++;let d=null;if(s instanceof a.ZU){let p=n.marks,f;for(;f=s.isInSet(p);)(d||(d=[])).push(f),p=f.removeFromSet(p)}else s?s.isInSet(n.marks)&&(d=[s]):d=n.marks;if(d&&d.length){let h=Math.min(c+n.nodeSize,o);for(let m=0;mn.step(new _(i.from,i.to,i.style)))}function I(n,i,o,s=o.contentMatch){let l=n.doc.nodeAt(i),u=[],c=i+1;for(let d=0;d=0;w--)n.step(u[w])}function N(n,i,o){return(0==i||n.canReplace(i,n.childCount))&&(o==n.childCount||n.canReplace(0,o))}function M(n){let i=n.parent.content.cutByIndex(n.startIndex,n.endIndex);for(let o=n.depth;;--o){let a=n.$from.node(o),s=n.$from.index(o),l=n.$to.indexAfter(o);if(oo;g--)b||s.index(g)>0?(b=!0,h=a.HY.from(s.node(g).copy(h)),m++):p--;let y=a.HY.empty,v=0;for(let w=u,E=!1;w>o;w--)E||l.after(w+1)=0;l--){if(s.size){let u=o[l].type.contentMatch.matchFragment(s);if(!u||!u.validEnd)throw RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}s=a.HY.from(o[l].type.create(o[l].attrs,s))}let c=i.start,d=i.end;n.step(new C(c,d,c,d,new a.p2(s,0,0),o.length,!0))}function j(n,i,o,s,l){if(!s.isTextblock)throw RangeError("Type given to setBlockType should be a textblock");let u=n.steps.length;n.doc.nodesBetween(i,o,(i,o)=>{if(i.isTextblock&&!i.hasMarkup(s,l)&&$(n.doc,n.mapping.slice(u).map(o),s)){n.clearIncompatible(n.mapping.slice(u).map(o,1),s);let c=n.mapping.slice(u),d=c.map(o,1),p=c.map(o+i.nodeSize,1);return n.step(new C(d,p,d+1,p-1,new a.p2(a.HY.from(s.create(l,null,i.marks)),0,0),1,!0)),!1}})}function $(n,i,o){let a=n.resolve(i),s=a.index();return a.parent.canReplaceWith(s,s+1,o)}function H(n,i,o,s,l){let u=n.doc.nodeAt(i);if(!u)throw RangeError("No node at given position");o||(o=u.type);let c=o.create(s,null,l||u.marks);if(u.isLeaf)return n.replaceWith(i,i+u.nodeSize,c);if(!o.validContent(u.content))throw RangeError("Invalid content for node type "+o.name);n.step(new C(i,i+u.nodeSize,i+1,i+u.nodeSize-1,new a.p2(a.HY.from(c),0,0),1,!0))}function V(n,i,o=1,a){let s=n.resolve(i),l=s.depth-o,u=a&&a[a.length-1]||s.parent;if(l<0||s.parent.type.spec.isolating||!s.parent.canReplace(s.index(),s.parent.childCount)||!u.type.validContent(s.parent.content.cutByIndex(s.index(),s.parent.childCount)))return!1;for(let c=s.depth-1,d=o-2;c>l;c--,d--){let p=s.node(c),f=s.index(c);if(p.type.spec.isolating)return!1;let h=p.content.cutByIndex(f,p.childCount),m=a&&a[d+1];m&&(h=h.replaceChild(0,m.type.create(m.attrs)));let g=a&&a[d]||p;if(!p.canReplace(f+1,p.childCount)||!g.type.validContent(h))return!1}let b=s.indexAfter(l),y=a&&a[0];return s.node(l).canReplaceWith(b,b,y?y.type:s.node(l+1).type)}function G(n,i,o=1,s){let l=n.doc.resolve(i),u=a.HY.empty,c=a.HY.empty;for(let d=l.depth,p=l.depth-o,f=o-1;d>p;d--,f--){u=a.HY.from(l.node(d).copy(u));let h=s&&s[f];c=a.HY.from(h?h.type.create(h.attrs,c):l.node(d).copy(c))}n.step(new T(i,i,new a.p2(u.append(c),o,o),!0))}function q(n,i){let o=n.resolve(i),a=o.index();return W(o.nodeBefore,o.nodeAfter)&&o.parent.canReplace(a,a+1)}function W(n,i){return!!(n&&i&&!n.isLeaf&&n.canAppend(i))}function K(n,i,o){let s=new T(i-o,i+o,a.p2.empty,!0);n.step(s)}function Y(n,i,o){let a=n.resolve(i);if(a.parent.canReplaceWith(a.index(),a.index(),o))return i;if(0==a.parentOffset)for(let s=a.depth-1;s>=0;s--){let l=a.index(s);if(a.node(s).canReplaceWith(l,l,o))return a.before(s+1);if(l>0)return null}if(a.parentOffset==a.parent.content.size)for(let u=a.depth-1;u>=0;u--){let c=a.indexAfter(u);if(a.node(u).canReplaceWith(c,c,o))return a.after(u+1);if(c=0;c--){let d=c==a.depth?0:a.pos<=(a.start(c+1)+a.end(c+1))/2?-1:1,p=a.index(c)+(d>0?1:0),f=a.node(c),h=!1;if(1==u)h=f.canReplace(p,p,s);else{let m=f.contentMatchAt(p).findWrapping(s.firstChild.type);h=m&&f.canReplaceWith(p,p,m[0])}if(h)return 0==d?a.pos:d<0?a.before(c+1):a.after(c+1)}return null}function X(n,i,o=i,s=a.p2.empty){if(i==o&&!s.size)return null;let l=n.resolve(i),u=n.resolve(o);return J(l,u,s)?new T(i,o,s):new Q(l,u,s).fit()}function J(n,i,o){return!o.openStart&&!o.openEnd&&n.start()==i.start()&&n.parent.canReplace(n.index(),i.index(),o.content)}w.jsonID("replaceAround",C);class Q{constructor(n,i,o){this.$from=n,this.$to=i,this.unplaced=o,this.frontier=[],this.placed=a.HY.empty;for(let s=0;s<=n.depth;s++){let l=n.node(s);this.frontier.push({type:l.type,match:l.contentMatchAt(n.indexAfter(s))})}for(let u=n.depth;u>0;u--)this.placed=a.HY.from(n.node(u).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let n=this.findFittable();n?this.placeNodes(n):this.openMore()||this.dropNode()}let i=this.mustMoveInline(),o=this.placed.size-this.depth-this.$from.depth,s=this.$from,l=this.close(i<0?this.$to:s.doc.resolve(i));if(!l)return null;let u=this.placed,c=s.depth,d=l.depth;for(;c&&d&&1==u.childCount;)u=u.firstChild.content,c--,d--;let p=new a.p2(u,c,d);return i>-1?new C(s.pos,i,this.$to.pos,this.$to.end(),p,o):p.size||s.pos!=this.$to.pos?new T(s.pos,l.pos,p):null}findFittable(){let n=this.unplaced.openStart;for(let i=this.unplaced.content,o=0,s=this.unplaced.openEnd;o1&&(s=0),l.type.spec.isolating&&s<=o){n=o;break}i=l.content}for(let u=1;u<=2;u++)for(let c=1==u?n:this.unplaced.openStart;c>=0;c--){let d,p=null,f=(d=c?(p=en(this.unplaced.content,c-1).firstChild).content:this.unplaced.content).firstChild;for(let h=this.depth;h>=0;h--){let{type:m,match:g}=this.frontier[h],b,y=null;if(1==u&&(f?g.matchType(f.type)||(y=g.fillBefore(a.HY.from(f),!1)):p&&m.compatibleContent(p.type)))return{sliceDepth:c,frontierDepth:h,parent:p,inject:y};if(2==u&&f&&(b=g.findWrapping(f.type)))return{sliceDepth:c,frontierDepth:h,parent:p,wrap:b};if(p&&g.matchType(p.type))break}}}openMore(){let{content:n,openStart:i,openEnd:o}=this.unplaced,s=en(n,i);return!!s.childCount&&!s.firstChild.isLeaf&&(this.unplaced=new a.p2(n,i+1,Math.max(o,s.size+i>=n.size-o?i+1:0)),!0)}dropNode(){let{content:n,openStart:i,openEnd:o}=this.unplaced,s=en(n,i);if(s.childCount<=1&&i>0){let l=n.size-i<=i+s.size;this.unplaced=new a.p2(ee(n,i-1,1),i-1,l?i-1:o)}else this.unplaced=new a.p2(ee(n,i,1),i,o)}placeNodes({sliceDepth:n,frontierDepth:i,parent:o,inject:s,wrap:l}){for(;this.depth>i;)this.closeFrontierNode();if(l)for(let u=0;u1||0==p||v.content.size)&&(m=w,h.push(er(v.mark(g.allowedMarks(v.marks)),1==f?p:0,f==d.childCount?y:-1)))}let E=f==d.childCount;E||(y=-1),this.placed=et(this.placed,i,a.HY.from(h)),this.frontier[i].match=m,E&&y<0&&o&&o.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let S=0,x=d;S1&&a==this.$to.end(--o);)++a;return a}findCloseLevel(n){a:for(let i=Math.min(this.depth,n.depth);i>=0;i--){let{match:o,type:a}=this.frontier[i],s=i=0;u--){let{match:c,type:d}=this.frontier[u],p=ei(n,u,d,c,!0);if(!p||p.childCount)continue a}return{depth:i,fit:l,move:s?n.doc.resolve(n.after(i+1)):n}}}}close(n){let i=this.findCloseLevel(n);if(!i)return null;for(;this.depth>i.depth;)this.closeFrontierNode();i.fit.childCount&&(this.placed=et(this.placed,i.depth,i.fit)),n=i.move;for(let o=i.depth+1;o<=n.depth;o++){let a=n.node(o),s=a.type.contentMatch.fillBefore(a.content,!0,n.index(o));this.openFrontierNode(a.type,a.attrs,s)}return n}openFrontierNode(n,i=null,o){let s=this.frontier[this.depth];s.match=s.match.matchType(n),this.placed=et(this.placed,this.depth,a.HY.from(n.create(i,o))),this.frontier.push({type:n,match:n.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(a.HY.empty,!0);n.childCount&&(this.placed=et(this.placed,this.frontier.length,n))}}function ee(n,i,o){return 0==i?n.cutByIndex(o,n.childCount):n.replaceChild(0,n.firstChild.copy(ee(n.firstChild.content,i-1,o)))}function et(n,i,o){return 0==i?n.append(o):n.replaceChild(n.childCount-1,n.lastChild.copy(et(n.lastChild.content,i-1,o)))}function en(n,i){for(let o=0;o1&&(s=s.replaceChild(0,er(s.firstChild,i-1,1==s.childCount?o-1:0))),i>0&&(s=n.type.contentMatch.fillBefore(s).append(s),o<=0&&(s=s.append(n.type.contentMatch.matchFragment(s).fillBefore(a.HY.empty,!0)))),n.copy(s)}function ei(n,i,o,a,s){let l=n.node(i),u=s?n.indexAfter(i):n.index(i);if(u==l.childCount&&!o.compatibleContent(l.type))return null;let c=a.fillBefore(l.content,!0,u);return c&&!eo(o,l.content,u)?c:null}function eo(n,i,o){for(let a=o;a0;p--,f--){let h=l.node(p).type.spec;if(h.defining||h.definingAsContext||h.isolating)break;c.indexOf(p)>-1?d=p:l.before(p)==f&&c.splice(1,0,-p)}let m=c.indexOf(d),g=[],b=s.openStart;for(let y=s.content,v=0;;v++){let w=y.firstChild;if(g.push(w),v==s.openStart)break;y=w.content}for(let E=b-1;E>=0;E--){let S=g[E],x=ea(S.type);if(x&&!S.sameMarkup(l.node(Math.abs(d)-1)))b=E;else if(x||!S.type.isTextblock)break}for(let _=s.openStart;_>=0;_--){let k=(_+b+1)%(s.openStart+1),A=g[k];if(A)for(let C=0;C=0&&(n.replace(i,o,s),!(n.steps.length>N));M--){let L=c[M];L<0||(i=l.before(L),o=u.after(L))}}function el(n,i,o,s,l){if(is){let c=l.contentMatchAt(0),d=c.fillBefore(n).append(n);n=d.append(c.matchFragment(d).fillBefore(a.HY.empty,!0))}return n}function eu(n,i,o,s){if(!s.isInline&&i==o&&n.doc.resolve(i).parent.content.size){let l=Y(n.doc,i,s.type);null!=l&&(i=o=l)}n.replaceRange(i,o,new a.p2(a.HY.from(s),0,0))}function ec(n,i,o){let a=n.doc.resolve(i),s=n.doc.resolve(o),l=ed(a,s);for(let u=0;u0&&(d||a.node(c-1).canReplace(a.index(c-1),s.indexAfter(c-1))))return n.delete(a.before(c),s.after(c))}for(let p=1;p<=a.depth&&p<=s.depth;p++)if(i-a.start(p)==a.depth-p&&o>a.end(p)&&s.end(p)-o!=s.depth-p)return n.delete(a.before(p),o);n.delete(i,o)}function ed(n,i){let o=[],a=Math.min(n.depth,i.depth);for(let s=a;s>=0;s--){let l=n.start(s);if(li.pos+(i.depth-s)||n.node(s).type.spec.isolating||i.node(s).type.spec.isolating)break;(l==i.start(s)||s==n.depth&&s==i.depth&&n.parent.inlineContent&&i.parent.inlineContent&&s&&i.start(s-1)==l-1)&&o.push(s)}return o}class ep extends w{constructor(n,i,o){super(),this.pos=n,this.attr=i,this.value=o}apply(n){let i=n.nodeAt(this.pos);if(!i)return E.fail("No node at attribute step's position");let o=Object.create(null);for(let s in i.attrs)o[s]=i.attrs[s];o[this.attr]=this.value;let l=i.type.create(o,null,i.marks);return E.fromReplace(n,this.pos,this.pos+1,new a.p2(a.HY.from(l),0,i.isLeaf?0:1))}getMap(){return b.empty}invert(n){return new ep(this.pos,this.attr,n.nodeAt(this.pos).attrs[this.attr])}map(n){let i=n.mapResult(this.pos,1);return i.deletedAfter?null:new ep(i.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(n,i){if("number"!=typeof i.pos||"string"!=typeof i.attr)throw RangeError("Invalid input for AttrStep.fromJSON");return new ep(i.pos,i.attr,i.value)}}w.jsonID("attr",ep);class ef extends w{constructor(n,i){super(),this.attr=n,this.value=i}apply(n){let i=Object.create(null);for(let o in n.attrs)i[o]=n.attrs[o];i[this.attr]=this.value;let a=n.type.create(i,n.content,n.marks);return E.ok(a)}getMap(){return b.empty}invert(n){return new ef(this.attr,n.attrs[this.attr])}map(n){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(n,i){if("string"!=typeof i.attr)throw RangeError("Invalid input for DocAttrStep.fromJSON");return new ef(i.attr,i.value)}}w.jsonID("docAttr",ef);let eh=class extends Error{};(eh=function n(i){let o=Error.call(this,i);return o.__proto__=n.prototype,o}).prototype=Object.create(Error.prototype),eh.prototype.constructor=eh,eh.prototype.name="TransformError";class em{constructor(n){this.doc=n,this.steps=[],this.docs=[],this.mapping=new y}get before(){return this.docs.length?this.docs[0]:this.doc}step(n){let i=this.maybeStep(n);if(i.failed)throw new eh(i.failed);return this}maybeStep(n){let i=n.apply(this.doc);return i.failed||this.addStep(n,i.doc),i}get docChanged(){return this.steps.length>0}addStep(n,i){this.docs.push(this.doc),this.steps.push(n),this.mapping.appendMap(n.getMap()),this.doc=i}replace(n,i=n,o=a.p2.empty){let s=X(this.doc,n,i,o);return s&&this.step(s),this}replaceWith(n,i,o){return this.replace(n,i,new a.p2(a.HY.from(o),0,0))}delete(n,i){return this.replace(n,i,a.p2.empty)}insert(n,i){return this.replaceWith(n,n,i)}replaceRange(n,i,o){return es(this,n,i,o),this}replaceRangeWith(n,i,o){return eu(this,n,i,o),this}deleteRange(n,i){return ec(this,n,i),this}lift(n,i){return L(this,n,i),this}join(n,i=1){return K(this,n,i),this}wrap(n,i){return z(this,n,i),this}setBlockType(n,i=n,o,a=null){return j(this,n,i,o,a),this}setNodeMarkup(n,i,o=null,a){return H(this,n,i,o,a),this}setNodeAttribute(n,i,o){return this.step(new ep(n,i,o)),this}setDocAttribute(n,i){return this.step(new ef(n,i)),this}addNodeMark(n,i){return this.step(new k(n,i)),this}removeNodeMark(n,i){if(!(i instanceof a.vc)){let o=this.doc.nodeAt(n);if(!o)throw RangeError("No node at position "+n);if(!(i=i.isInSet(o.marks)))return this}return this.step(new A(n,i)),this}split(n,i=1,o){return G(this,n,i,o),this}addMark(n,i,o){return D(this,n,i,o),this}removeMark(n,i,o){return O(this,n,i,o),this}clearIncompatible(n,i,o){return I(this,n,i,o),this}}},94084:function(n,i,o){"use strict";o.d(i,{D:function(){return r9}});var a={};o.r(a),o.d(a,{attentionMarkers:function(){return t4},contentInitial:function(){return tQ},disable:function(){return t6},document:function(){return tJ},flow:function(){return t1},flowInitial:function(){return t0},insideSpan:function(){return t5},string:function(){return t2},text:function(){return t3}});var s={};o.r(s),o.d(s,{boolean:function(){return rd},booleanish:function(){return rp},commaOrSpaceSeparated:function(){return rb},commaSeparated:function(){return rg},number:function(){return rh},overloadedBoolean:function(){return rf},spaceSeparated:function(){return rm}});var l=o(67294),u=o(70529);function c(n){return n&&"object"==typeof n?"position"in n||"type"in n?p(n.position):"start"in n||"end"in n?p(n):"line"in n||"column"in n?d(n):"":""}function d(n){return f(n&&n.line)+":"+f(n&&n.column)}function p(n){return d(n&&n.start)+"-"+d(n&&n.end)}function f(n){return n&&"number"==typeof n?n:1}class h extends Error{constructor(n,i,o){let a=[null,null],s={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof i&&(o=i,i=void 0),"string"==typeof o){let l=o.indexOf(":");-1===l?a[1]=o:(a[0]=o.slice(0,l),a[1]=o.slice(l+1))}i&&("type"in i||"position"in i?i.position&&(s=i.position):"start"in i||"end"in i?s=i:("line"in i||"column"in i)&&(s.start=i)),this.name=c(i)||"1:1",this.message="object"==typeof n?n.message:n,this.stack="","object"==typeof n&&n.stack&&(this.stack=n.stack),this.reason=this.message,this.fatal,this.line=s.start.line,this.column=s.start.column,this.position=s,this.source=a[0],this.ruleId=a[1],this.file,this.actual,this.expected,this.url,this.note}}h.prototype.file="",h.prototype.name="",h.prototype.reason="",h.prototype.message="",h.prototype.stack="",h.prototype.fatal=null,h.prototype.column=null,h.prototype.line=null,h.prototype.source=null,h.prototype.ruleId=null,h.prototype.position=null;let m={basename:g,dirname:b,extname:y,join:v,sep:"/"};function g(n,i){let o;if(void 0!==i&&"string"!=typeof i)throw TypeError('"ext" argument must be a string');S(n);let a=0,s=-1,l=n.length;if(void 0===i||0===i.length||i.length>n.length){for(;l--;)if(47===n.charCodeAt(l)){if(o){a=l+1;break}}else s<0&&(o=!0,s=l+1);return s<0?"":n.slice(a,s)}if(i===n)return"";let u=-1,c=i.length-1;for(;l--;)if(47===n.charCodeAt(l)){if(o){a=l+1;break}}else u<0&&(o=!0,u=l+1),c>-1&&(n.charCodeAt(l)===i.charCodeAt(c--)?c<0&&(s=l):(c=-1,s=u));return a===s?s=u:s<0&&(s=n.length),n.slice(a,s)}function b(n){let i;if(S(n),0===n.length)return".";let o=-1,a=n.length;for(;--a;)if(47===n.charCodeAt(a)){if(i){o=a;break}}else i||(i=!0);return o<0?47===n.charCodeAt(0)?"/":".":1===o&&47===n.charCodeAt(0)?"//":n.slice(0,o)}function y(n){let i;S(n);let o=n.length,a=-1,s=0,l=-1,u=0;for(;o--;){let c=n.charCodeAt(o);if(47===c){if(i){s=o+1;break}continue}a<0&&(i=!0,a=o+1),46===c?l<0?l=o:1!==u&&(u=1):l>-1&&(u=-1)}return l<0||a<0||0===u||1===u&&l===a-1&&l===s+1?"":n.slice(l,a)}function v(...n){let i,o=-1;for(;++o0&&47===n.charCodeAt(n.length-1)&&(o+="/"),i?"/"+o:o}function E(n,i){let o,a,s="",l=0,u=-1,c=0,d=-1;for(;++d<=n.length;){if(d2){if((a=s.lastIndexOf("/"))!==s.length-1){a<0?(s="",l=0):l=(s=s.slice(0,a)).length-1-s.lastIndexOf("/"),u=d,c=0;continue}}else if(s.length>0){s="",l=0,u=d,c=0;continue}}i&&(s=s.length>0?s+"/..":"..",l=2)}else s.length>0?s+="/"+n.slice(u+1,d):s=n.slice(u+1,d),l=d-u-1;u=d,c=0}else 46===o&&c>-1?c++:c=-1}return s}function S(n){if("string"!=typeof n)throw TypeError("Path must be a string. Received "+JSON.stringify(n))}let x={cwd:_};function _(){return"/"}function k(n){return null!==n&&"object"==typeof n&&n.href&&n.origin}function A(n){if("string"==typeof n)n=new URL(n);else if(!k(n)){let i=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw i.code="ERR_INVALID_ARG_TYPE",i}if("file:"!==n.protocol){let o=TypeError("The URL must be of scheme file");throw o.code="ERR_INVALID_URL_SCHEME",o}return T(n)}function T(n){if(""!==n.hostname){let i=TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}let o=n.pathname,a=-1;for(;++ai.length;u&&i.push(s);try{a=n.apply(this,i)}catch(d){let c=d;if(u&&o)throw c;return s(c)}u||(a instanceof Promise?a.then(l,s):a instanceof Error?s(a):l(a))}function s(n,...a){o||(o=!0,i(n,...a))}function l(n){s(null,n)}}let z=$().freeze(),j={}.hasOwnProperty;function $(){let n;let i=B(),o=[],a={},s=-1;return l.data=u,l.Parser=void 0,l.Compiler=void 0,l.freeze=c,l.attachers=o,l.use=d,l.parse=p,l.stringify=f,l.run=h,l.runSync=m,l.process=g,l.processSync=b,l;function l(){let n=$(),i=-1;for(;++i{if(!n&&i&&o){let a=l.stringify(i,o);null==a||(J(a)?o.value=a:o.result=a),u(n,o)}else u(n)})}o(null,i)}function b(n){let i;l.freeze(),G("processSync",l.Parser),q("processSync",l.Compiler);let o=Z(n);return l.process(o,a),Y("processSync","process",i),o;function a(n){i=!0,M(n)}}}function H(n,i){return"function"==typeof n&&n.prototype&&(V(n.prototype)||i in n.prototype)}function V(n){let i;for(i in n)if(j.call(n,i))return!0;return!1}function G(n,i){if("function"!=typeof i)throw TypeError("Cannot `"+n+"` without `Parser`")}function q(n,i){if("function"!=typeof i)throw TypeError("Cannot `"+n+"` without `Compiler`")}function W(n,i){if(i)throw Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function K(n){if(!F(n)||"string"!=typeof n.type)throw TypeError("Expected node, got `"+n+"`")}function Y(n,i,o){if(!o)throw Error("`"+n+"` finished async. Use `"+i+"` instead")}function Z(n){return X(n)?n:new R(n)}function X(n){return Boolean(n&&"object"==typeof n&&"message"in n&&"messages"in n)}function J(n){return"string"==typeof n||L(n)}let Q={};function ee(n,i){let o=i||Q,a="boolean"!=typeof o.includeImageAlt||o.includeImageAlt,s="boolean"!=typeof o.includeHtml||o.includeHtml;return et(n,a,s)}function et(n,i,o){if(er(n)){if("value"in n)return"html"!==n.type||o?n.value:"";if(i&&"alt"in n&&n.alt)return n.alt;if("children"in n)return en(n.children,i,o)}return Array.isArray(n)?en(n,i,o):""}function en(n,i,o){let a=[],s=-1;for(;++sa))return;let h=s.events.length,m=h;for(;m--;)if("exit"===s.events[m][0]&&"chunkFlow"===s.events[m][1].type){if(d){p=s.events[m][1].end;break}d=!0}for(w(u),f=h;fi;){let a=l[o];s.containerState=a[1],a[0].exit.call(s,n)}l.length=i}function E(){i.write([null]),o=void 0,i=void 0,s.containerState._closeFlow=void 0}}function ef(n,i,o){return(0,eo.f)(n,n.attempt(this.parser.constructs.document,i,o),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var eh=o(23402);function em(n){let i,o,a,s,l,u,c;let d={},p=-1;for(;++p=4?i(s):n.interrupt(a.parser.constructs.flow,o,i)(s)}}let eS={tokenize:ex};function ex(n){let i=this,o=n.attempt(eh.w,a,n.attempt(this.parser.constructs.flowInitial,s,(0,eo.f)(n,n.attempt(this.parser.constructs.flow,s,n.attempt(eb,s)),"linePrefix")));return o;function a(a){if(null===a){n.consume(a);return}return n.enter("lineEndingBlank"),n.consume(a),n.exit("lineEndingBlank"),i.currentConstruct=void 0,o}function s(a){if(null===a){n.consume(a);return}return n.enter("lineEnding"),n.consume(a),n.exit("lineEnding"),i.currentConstruct=void 0,o}}let e_={resolveAll:eC()},ek=eT("string"),eA=eT("text");function eT(n){return{tokenize:i,resolveAll:eC("text"===n?eR:void 0)};function i(i){let o=this,a=this.parser.constructs[n],s=i.attempt(a,l,u);return l;function l(n){return d(n)?s(n):u(n)}function u(n){if(null===n){i.consume(n);return}return i.enter("data"),i.consume(n),c}function c(n){return d(n)?(i.exit("data"),s(n)):(i.consume(n),c)}function d(n){if(null===n)return!0;let i=a[n],s=-1;if(i)for(;++s-1){let c=o[0];"string"==typeof c?o[0]=c.slice(s):o.shift()}u>0&&o.push(n[l].slice(0,u))}return o}function eN(n,i){let o,a=-1,s=[];for(;++a=3&&(null===l||(0,ea.Ch)(l))?(n.exit("thematicBreak"),i(l)):o(l)}function d(i){return i===a?(n.consume(i),s++,d):(n.exit("thematicBreakSequence"),(0,ea.xz)(i)?(0,eo.f)(n,c,"whitespace")(i):c(i))}}let eP={name:"list",tokenize:eU,continuation:{tokenize:ez},exit:e$},eF={tokenize:eH,partial:!0},eB={tokenize:ej,partial:!0};function eU(n,i,o){let a=this,s=a.events[a.events.length-1],l=s&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,u=0;return c;function c(i){let s=a.containerState.type||(42===i||43===i||45===i?"listUnordered":"listOrdered");if("listUnordered"===s?!a.containerState.marker||i===a.containerState.marker:(0,ea.pY)(i)){if(a.containerState.type||(a.containerState.type=s,n.enter(s,{_container:!0})),"listUnordered"===s)return n.enter("listItemPrefix"),42===i||45===i?n.check(eM,o,p)(i):p(i);if(!a.interrupt||49===i)return n.enter("listItemPrefix"),n.enter("listItemValue"),d(i)}return o(i)}function d(i){return(0,ea.pY)(i)&&++u<10?(n.consume(i),d):(!a.interrupt||u<2)&&(a.containerState.marker?i===a.containerState.marker:41===i||46===i)?(n.exit("listItemValue"),p(i)):o(i)}function p(i){return n.enter("listItemMarker"),n.consume(i),n.exit("listItemMarker"),a.containerState.marker=a.containerState.marker||i,n.check(eh.w,a.interrupt?o:f,n.attempt(eF,m,h))}function f(n){return a.containerState.initialBlankLine=!0,l++,m(n)}function h(i){return(0,ea.xz)(i)?(n.enter("listItemPrefixWhitespace"),n.consume(i),n.exit("listItemPrefixWhitespace"),m):o(i)}function m(o){return a.containerState.size=l+a.sliceSerialize(n.exit("listItemPrefix"),!0).length,i(o)}}function ez(n,i,o){let a=this;return a.containerState._closeFlow=void 0,n.check(eh.w,s,l);function s(o){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,(0,eo.f)(n,i,"listItemIndent",a.containerState.size+1)(o)}function l(o){return a.containerState.furtherBlankLines||!(0,ea.xz)(o)?(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,u(o)):(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,n.attempt(eB,i,u)(o))}function u(s){return a.containerState._closeFlow=!0,a.interrupt=void 0,(0,eo.f)(n,n.attempt(eP,i,o),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function ej(n,i,o){let a=this;return(0,eo.f)(n,s,"listItemIndent",a.containerState.size+1);function s(n){let s=a.events[a.events.length-1];return s&&"listItemIndent"===s[1].type&&s[2].sliceSerialize(s[1],!0).length===a.containerState.size?i(n):o(n)}}function e$(n){n.exit(this.containerState.type)}function eH(n,i,o){let a=this;return(0,eo.f)(n,s,"listItemPrefixWhitespace",a.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(n){let s=a.events[a.events.length-1];return!(0,ea.xz)(n)&&s&&"listItemPrefixWhitespace"===s[1].type?i(n):o(n)}}let eV={name:"blockQuote",tokenize:eG,continuation:{tokenize:eq},exit:eW};function eG(n,i,o){let a=this;return s;function s(i){if(62===i){let s=a.containerState;return s.open||(n.enter("blockQuote",{_container:!0}),s.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(i),n.exit("blockQuoteMarker"),l}return o(i)}function l(o){return(0,ea.xz)(o)?(n.enter("blockQuotePrefixWhitespace"),n.consume(o),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),i):(n.exit("blockQuotePrefix"),i(o))}}function eq(n,i,o){let a=this;return s;function s(i){return(0,ea.xz)(i)?(0,eo.f)(n,l,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i):l(i)}function l(a){return n.attempt(eV,i,o)(a)}}function eW(n){n.exit("blockQuote")}function eK(n,i,o,a,s,l,u,c,d){let p=d||Number.POSITIVE_INFINITY,f=0;return h;function h(i){return 60===i?(n.enter(a),n.enter(s),n.enter(l),n.consume(i),n.exit(l),m):null===i||32===i||41===i||(0,ea.Av)(i)?o(i):(n.enter(a),n.enter(u),n.enter(c),n.enter("chunkString",{contentType:"string"}),y(i))}function m(o){return 62===o?(n.enter(l),n.consume(o),n.exit(l),n.exit(s),n.exit(a),i):(n.enter(c),n.enter("chunkString",{contentType:"string"}),g(o))}function g(i){return 62===i?(n.exit("chunkString"),n.exit(c),m(i)):null===i||60===i||(0,ea.Ch)(i)?o(i):(n.consume(i),92===i?b:g)}function b(i){return 60===i||62===i||92===i?(n.consume(i),g):g(i)}function y(s){return!f&&(null===s||41===s||(0,ea.z3)(s))?(n.exit("chunkString"),n.exit(c),n.exit(u),n.exit(a),i(s)):f999||null===p||91===p||93===p&&!u||94===p&&!d&&"_hiddenFootnoteSupport"in c.parser.constructs?o(p):93===p?(n.exit(l),n.enter(s),n.consume(p),n.exit(s),n.exit(a),i):(0,ea.Ch)(p)?(n.enter("lineEnding"),n.consume(p),n.exit("lineEnding"),f):(n.enter("chunkString",{contentType:"string"}),h(p))}function h(i){return null===i||91===i||93===i||(0,ea.Ch)(i)||d++>999?(n.exit("chunkString"),f(i)):(n.consume(i),u||(u=!(0,ea.xz)(i)),92===i?m:h)}function m(i){return 91===i||92===i||93===i?(n.consume(i),d++,h):h(i)}}function eZ(n,i,o,a,s,l){let u;return c;function c(i){return 34===i||39===i||40===i?(n.enter(a),n.enter(s),n.consume(i),n.exit(s),u=40===i?41:i,d):o(i)}function d(o){return o===u?(n.enter(s),n.consume(o),n.exit(s),n.exit(a),i):(n.enter(l),p(o))}function p(i){return i===u?(n.exit(l),d(u)):null===i?o(i):(0,ea.Ch)(i)?(n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),(0,eo.f)(n,p,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),f(i))}function f(i){return i===u||null===i||(0,ea.Ch)(i)?(n.exit("chunkString"),p(i)):(n.consume(i),92===i?h:f)}function h(i){return i===u||92===i?(n.consume(i),f):f(i)}}function eX(n,i){let o;return a;function a(s){return(0,ea.Ch)(s)?(n.enter("lineEnding"),n.consume(s),n.exit("lineEnding"),o=!0,a):(0,ea.xz)(s)?(0,eo.f)(n,a,o?"linePrefix":"lineSuffix")(s):i(s)}}var eJ=o(11098);let eQ={name:"definition",tokenize:e1},e0={tokenize:e2,partial:!0};function e1(n,i,o){let a;let s=this;return l;function l(i){return n.enter("definition"),u(i)}function u(i){return eY.call(s,n,c,o,"definitionLabel","definitionLabelMarker","definitionLabelString")(i)}function c(i){return(a=(0,eJ.d)(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)),58===i)?(n.enter("definitionMarker"),n.consume(i),n.exit("definitionMarker"),d):o(i)}function d(i){return(0,ea.z3)(i)?eX(n,p)(i):p(i)}function p(i){return eK(n,f,o,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(i)}function f(i){return n.attempt(e0,h,h)(i)}function h(i){return(0,ea.xz)(i)?(0,eo.f)(n,m,"whitespace")(i):m(i)}function m(l){return null===l||(0,ea.Ch)(l)?(n.exit("definition"),s.parser.defined.push(a),i(l)):o(l)}}function e2(n,i,o){return a;function a(i){return(0,ea.z3)(i)?eX(n,s)(i):o(i)}function s(i){return eZ(n,l,o,"definitionTitle","definitionTitleMarker","definitionTitleString")(i)}function l(i){return(0,ea.xz)(i)?(0,eo.f)(n,u,"whitespace")(i):u(i)}function u(n){return null===n||(0,ea.Ch)(n)?i(n):o(n)}}let e3={name:"codeIndented",tokenize:e4},e5={tokenize:e6,partial:!0};function e4(n,i,o){let a=this;return s;function s(i){return n.enter("codeIndented"),(0,eo.f)(n,l,"linePrefix",5)(i)}function l(n){let i=a.events[a.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?u(n):o(n)}function u(i){return null===i?d(i):(0,ea.Ch)(i)?n.attempt(e5,u,d)(i):(n.enter("codeFlowValue"),c(i))}function c(i){return null===i||(0,ea.Ch)(i)?(n.exit("codeFlowValue"),u(i)):(n.consume(i),c)}function d(o){return n.exit("codeIndented"),i(o)}}function e6(n,i,o){let a=this;return s;function s(i){return a.parser.lazy[a.now().line]?o(i):(0,ea.Ch)(i)?(n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),s):(0,eo.f)(n,l,"linePrefix",5)(i)}function l(n){let l=a.events[a.events.length-1];return l&&"linePrefix"===l[1].type&&l[2].sliceSerialize(l[1],!0).length>=4?i(n):(0,ea.Ch)(n)?s(n):o(n)}}let e8={name:"headingAtx",tokenize:e7,resolve:e9};function e9(n,i){let o,a,s=n.length-2,l=3;return"whitespace"===n[3][1].type&&(l+=2),s-2>l&&"whitespace"===n[s][1].type&&(s-=2),"atxHeadingSequence"===n[s][1].type&&(l===s-1||s-4>l&&"whitespace"===n[s-2][1].type)&&(s-=l+1===s?2:4),s>l&&(o={type:"atxHeadingText",start:n[l][1].start,end:n[s][1].end},a={type:"chunkText",start:n[l][1].start,end:n[s][1].end,contentType:"text"},(0,eu.d)(n,l,s-l+1,[["enter",o,i],["enter",a,i],["exit",a,i],["exit",o,i]])),n}function e7(n,i,o){let a=0;return s;function s(i){return n.enter("atxHeading"),l(i)}function l(i){return n.enter("atxHeadingSequence"),u(i)}function u(i){return 35===i&&a++<6?(n.consume(i),u):null===i||(0,ea.z3)(i)?(n.exit("atxHeadingSequence"),c(i)):o(i)}function c(o){return 35===o?(n.enter("atxHeadingSequence"),d(o)):null===o||(0,ea.Ch)(o)?(n.exit("atxHeading"),i(o)):(0,ea.xz)(o)?(0,eo.f)(n,c,"whitespace")(o):(n.enter("atxHeadingText"),p(o))}function d(i){return 35===i?(n.consume(i),d):(n.exit("atxHeadingSequence"),c(i))}function p(i){return null===i||35===i||(0,ea.z3)(i)?(n.exit("atxHeadingText"),c(i)):(n.consume(i),p)}}let te={name:"setextUnderline",tokenize:tn,resolveTo:tt};function tt(n,i){let o,a,s,l=n.length;for(;l--;)if("enter"===n[l][0]){if("content"===n[l][1].type){o=l;break}"paragraph"===n[l][1].type&&(a=l)}else"content"===n[l][1].type&&n.splice(l,1),s||"definition"!==n[l][1].type||(s=l);let u={type:"setextHeading",start:Object.assign({},n[a][1].start),end:Object.assign({},n[n.length-1][1].end)};return n[a][1].type="setextHeadingText",s?(n.splice(a,0,["enter",u,i]),n.splice(s+1,0,["exit",n[o][1],i]),n[o][1].end=Object.assign({},n[s][1].end)):n[o][1]=u,n.push(["exit",u,i]),n}function tn(n,i,o){let a;let s=this;return l;function l(i){let l,c=s.events.length;for(;c--;)if("lineEnding"!==s.events[c][1].type&&"linePrefix"!==s.events[c][1].type&&"content"!==s.events[c][1].type){l="paragraph"===s.events[c][1].type;break}return!s.parser.lazy[s.now().line]&&(s.interrupt||l)?(n.enter("setextHeadingLine"),a=i,u(i)):o(i)}function u(i){return n.enter("setextHeadingLineSequence"),c(i)}function c(i){return i===a?(n.consume(i),c):(n.exit("setextHeadingLineSequence"),(0,ea.xz)(i)?(0,eo.f)(n,d,"lineSuffix")(i):d(i))}function d(a){return null===a||(0,ea.Ch)(a)?(n.exit("setextHeadingLine"),i(a)):o(a)}}let tr=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ti=["pre","script","style","textarea"],to={name:"htmlFlow",tokenize:tu,resolveTo:tl,concrete:!0},ta={tokenize:td,partial:!0},ts={tokenize:tc,partial:!0};function tl(n){let i=n.length;for(;i--&&("enter"!==n[i][0]||"htmlFlow"!==n[i][1].type););return i>1&&"linePrefix"===n[i-2][1].type&&(n[i][1].start=n[i-2][1].start,n[i+1][1].start=n[i-2][1].start,n.splice(i-2,2)),n}function tu(n,i,o){let a,s,l,u,c;let d=this;return p;function p(n){return f(n)}function f(i){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(i),h}function h(u){return 33===u?(n.consume(u),m):47===u?(n.consume(u),s=!0,y):63===u?(n.consume(u),a=3,d.interrupt?i:U):(0,ea.jv)(u)?(n.consume(u),l=String.fromCharCode(u),v):o(u)}function m(s){return 45===s?(n.consume(s),a=2,g):91===s?(n.consume(s),a=5,u=0,b):(0,ea.jv)(s)?(n.consume(s),a=4,d.interrupt?i:U):o(s)}function g(a){return 45===a?(n.consume(a),d.interrupt?i:U):o(a)}function b(a){let s="CDATA[";return a===s.charCodeAt(u++)?(n.consume(a),u===s.length)?d.interrupt?i:O:b:o(a)}function y(i){return(0,ea.jv)(i)?(n.consume(i),l=String.fromCharCode(i),v):o(i)}function v(u){if(null===u||47===u||62===u||(0,ea.z3)(u)){let c=47===u,p=l.toLowerCase();return!c&&!s&&ti.includes(p)?(a=1,d.interrupt?i(u):O(u)):tr.includes(l.toLowerCase())?(a=6,c)?(n.consume(u),w):d.interrupt?i(u):O(u):(a=7,d.interrupt&&!d.parser.lazy[d.now().line]?o(u):s?E(u):S(u))}return 45===u||(0,ea.H$)(u)?(n.consume(u),l+=String.fromCharCode(u),v):o(u)}function w(a){return 62===a?(n.consume(a),d.interrupt?i:O):o(a)}function E(i){return(0,ea.xz)(i)?(n.consume(i),E):R(i)}function S(i){return 47===i?(n.consume(i),R):58===i||95===i||(0,ea.jv)(i)?(n.consume(i),x):(0,ea.xz)(i)?(n.consume(i),S):R(i)}function x(i){return 45===i||46===i||58===i||95===i||(0,ea.H$)(i)?(n.consume(i),x):_(i)}function _(i){return 61===i?(n.consume(i),k):(0,ea.xz)(i)?(n.consume(i),_):S(i)}function k(i){return null===i||60===i||61===i||62===i||96===i?o(i):34===i||39===i?(n.consume(i),c=i,A):(0,ea.xz)(i)?(n.consume(i),k):T(i)}function A(i){return i===c?(n.consume(i),c=null,C):null===i||(0,ea.Ch)(i)?o(i):(n.consume(i),A)}function T(i){return null===i||34===i||39===i||47===i||60===i||61===i||62===i||96===i||(0,ea.z3)(i)?_(i):(n.consume(i),T)}function C(n){return 47===n||62===n||(0,ea.xz)(n)?S(n):o(n)}function R(i){return 62===i?(n.consume(i),D):o(i)}function D(i){return null===i||(0,ea.Ch)(i)?O(i):(0,ea.xz)(i)?(n.consume(i),D):o(i)}function O(i){return 45===i&&2===a?(n.consume(i),L):60===i&&1===a?(n.consume(i),P):62===i&&4===a?(n.consume(i),z):63===i&&3===a?(n.consume(i),U):93===i&&5===a?(n.consume(i),B):(0,ea.Ch)(i)&&(6===a||7===a)?(n.exit("htmlFlowData"),n.check(ta,j,I)(i)):null===i||(0,ea.Ch)(i)?(n.exit("htmlFlowData"),I(i)):(n.consume(i),O)}function I(i){return n.check(ts,N,j)(i)}function N(i){return n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),M}function M(i){return null===i||(0,ea.Ch)(i)?I(i):(n.enter("htmlFlowData"),O(i))}function L(i){return 45===i?(n.consume(i),U):O(i)}function P(i){return 47===i?(n.consume(i),l="",F):O(i)}function F(i){if(62===i){let o=l.toLowerCase();return ti.includes(o)?(n.consume(i),z):O(i)}return(0,ea.jv)(i)&&l.length<8?(n.consume(i),l+=String.fromCharCode(i),F):O(i)}function B(i){return 93===i?(n.consume(i),U):O(i)}function U(i){return 62===i?(n.consume(i),z):45===i&&2===a?(n.consume(i),U):O(i)}function z(i){return null===i||(0,ea.Ch)(i)?(n.exit("htmlFlowData"),j(i)):(n.consume(i),z)}function j(o){return n.exit("htmlFlow"),i(o)}}function tc(n,i,o){let a=this;return s;function s(i){return(0,ea.Ch)(i)?(n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),l):o(i)}function l(n){return a.parser.lazy[a.now().line]?o(n):i(n)}}function td(n,i,o){return a;function a(a){return n.enter("lineEnding"),n.consume(a),n.exit("lineEnding"),n.attempt(eh.w,i,o)}}let tp={tokenize:tm,partial:!0},tf={name:"codeFenced",tokenize:th,concrete:!0};function th(n,i,o){let a;let s=this,l={tokenize:_,partial:!0},u=0,c=0;return d;function d(n){return p(n)}function p(i){let o=s.events[s.events.length-1];return u=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,a=i,n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),f(i)}function f(i){return i===a?(c++,n.consume(i),f):c<3?o(i):(n.exit("codeFencedFenceSequence"),(0,ea.xz)(i)?(0,eo.f)(n,h,"whitespace")(i):h(i))}function h(o){return null===o||(0,ea.Ch)(o)?(n.exit("codeFencedFence"),s.interrupt?i(o):n.check(tp,y,x)(o)):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),m(o))}function m(i){return null===i||(0,ea.Ch)(i)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),h(i)):(0,ea.xz)(i)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),(0,eo.f)(n,g,"whitespace")(i)):96===i&&i===a?o(i):(n.consume(i),m)}function g(i){return null===i||(0,ea.Ch)(i)?h(i):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),b(i))}function b(i){return null===i||(0,ea.Ch)(i)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),h(i)):96===i&&i===a?o(i):(n.consume(i),b)}function y(i){return n.attempt(l,x,v)(i)}function v(i){return n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),w}function w(i){return u>0&&(0,ea.xz)(i)?(0,eo.f)(n,E,"linePrefix",u+1)(i):E(i)}function E(i){return null===i||(0,ea.Ch)(i)?n.check(tp,y,x)(i):(n.enter("codeFlowValue"),S(i))}function S(i){return null===i||(0,ea.Ch)(i)?(n.exit("codeFlowValue"),E(i)):(n.consume(i),S)}function x(o){return n.exit("codeFenced"),i(o)}function _(n,i,o){let l=0;return u;function u(i){return n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),d}function d(i){return n.enter("codeFencedFence"),(0,ea.xz)(i)?(0,eo.f)(n,p,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i):p(i)}function p(i){return i===a?(n.enter("codeFencedFenceSequence"),f(i)):o(i)}function f(i){return i===a?(l++,n.consume(i),f):l>=c?(n.exit("codeFencedFenceSequence"),(0,ea.xz)(i)?(0,eo.f)(n,h,"whitespace")(i):h(i)):o(i)}function h(a){return null===a||(0,ea.Ch)(a)?(n.exit("codeFencedFence"),i(a)):o(a)}}}function tm(n,i,o){let a=this;return s;function s(i){return null===i?o(i):(n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),l)}function l(n){return a.parser.lazy[a.now().line]?o(n):i(n)}}var tg=o(44301);let tb={name:"characterReference",tokenize:ty};function ty(n,i,o){let a,s;let l=this,u=0;return c;function c(i){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(i),n.exit("characterReferenceMarker"),d}function d(i){return 35===i?(n.enter("characterReferenceMarkerNumeric"),n.consume(i),n.exit("characterReferenceMarkerNumeric"),p):(n.enter("characterReferenceValue"),a=31,s=ea.H$,f(i))}function p(i){return 88===i||120===i?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(i),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),a=6,s=ea.AF,f):(n.enter("characterReferenceValue"),a=7,s=ea.pY,f(i))}function f(c){if(59===c&&u){let d=n.exit("characterReferenceValue");return s!==ea.H$||(0,tg.T)(l.sliceSerialize(d))?(n.enter("characterReferenceMarker"),n.consume(c),n.exit("characterReferenceMarker"),n.exit("characterReference"),i):o(c)}return s(c)&&u++1&&n[f][1].end.offset-n[f][1].start.offset>1?2:1;let h=Object.assign({},n[o][1].end),m=Object.assign({},n[f][1].start);tU(h,-c),tU(m,c),l={type:c>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},n[o][1].end)},u={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},n[f][1].start),end:m},s={type:c>1?"strongText":"emphasisText",start:Object.assign({},n[o][1].end),end:Object.assign({},n[f][1].start)},a={type:c>1?"strong":"emphasis",start:Object.assign({},l.start),end:Object.assign({},u.end)},n[o][1].end=Object.assign({},l.start),n[f][1].start=Object.assign({},u.end),d=[],n[o][1].end.offset-n[o][1].start.offset&&(d=(0,eu.V)(d,[["enter",n[o][1],i],["exit",n[o][1],i]])),d=(0,eu.V)(d,[["enter",a,i],["enter",l,i],["exit",l,i],["enter",s,i]]),d=(0,eu.V)(d,(0,eD.C)(i.parser.constructs.insideSpan.null,n.slice(o+1,f),i)),d=(0,eu.V)(d,[["exit",s,i],["enter",u,i],["exit",u,i],["exit",a,i]]),n[f][1].end.offset-n[f][1].start.offset?(p=2,d=(0,eu.V)(d,[["enter",n[f][1],i],["exit",n[f][1],i]])):p=0,(0,eu.d)(n,o-1,f-o+3,d),f=o+d.length-p-2;break}}for(f=-1;++f0){let y=a.tokenStack[a.tokenStack.length-1],v=y[1]||nu;v.call(a,void 0,y[0])}for(o.position={start:na(n.length>0?n[0][1].start:{line:1,column:1,offset:0}),end:na(n.length>0?n[n.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d{let o=this.data("settings");return ni(i,Object.assign({},o,n,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))};Object.assign(this,{Parser:i})}function nd(n){let i=[],o=-1,a=0,s=0;for(;++o55295&&l<57344){let c=n.charCodeAt(o+1);l<56320&&c>56319&&c<57344?(u=String.fromCharCode(l,c),s=1):u="�"}else u=String.fromCharCode(l);u&&(i.push(n.slice(a,o),encodeURIComponent(u)),a=o+s+1,u=""),s&&(o+=s,s=0)}return i.join("")+n.slice(a)}function np(n){let i=[],o=-1;for(;++o1?"-"+c:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:n.footnoteBackLabel},children:[{type:"text",value:"↩"}]};c>1&&p.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(c)}]}),d.length>0&&d.push({type:"text",value:" "}),d.push(p)}let f=s[s.length-1];if(f&&"element"===f.type&&"p"===f.tagName){let h=f.children[f.children.length-1];h&&"text"===h.type?h.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...d)}else s.push(...d);let m={type:"element",tagName:"li",properties:{id:n.clobberPrefix+"fn-"+u},children:n.wrap(s,!0)};n.patch(a,m),i.push(m)}if(0!==i.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:n.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(n.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:n.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:n.wrap(i,!0)},{type:"text",value:"\n"}]}}var nf=o(20557);let nh=function(n,i,o,a){function s(n,i){let a=i[i.length-1];return o(n,a?a.children.indexOf(n):null,a)}"function"==typeof i&&"function"!=typeof o&&(a=o,o=i,i=null),(0,nf.S4)(n,i,s,a)},nm=ny("start"),ng=ny("end");function nb(n){return{start:nm(n),end:ng(n)}}function ny(n){return i;function i(i){let o=i&&i.position&&i.position[n]||{};return{line:o.line||null,column:o.column||null,offset:o.offset>-1?o.offset:null}}}function nv(n){return!n||!n.position||!n.position.start||!n.position.start.line||!n.position.start.column||!n.position.end||!n.position.end.line||!n.position.end.column}let nw={}.hasOwnProperty;function nE(n){let i=Object.create(null);if(!n||!n.type)throw Error("mdast-util-definitions expected node");return nh(n,"definition",n=>{let o=nS(n.identifier);o&&!nw.call(i,o)&&(i[o]=n)}),o;function o(n){let o=nS(n);return o&&nw.call(i,o)?i[o]:null}}function nS(n){return String(n||"").toUpperCase()}function nx(n,i){let o={type:"element",tagName:"blockquote",properties:{},children:n.wrap(n.all(i),!0)};return n.patch(i,o),n.applyData(i,o)}function n_(n,i){let o={type:"element",tagName:"br",properties:{},children:[]};return n.patch(i,o),[n.applyData(i,o),{type:"text",value:"\n"}]}function nk(n,i){let o=i.value?i.value+"\n":"",a=i.lang?i.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,s={};a&&(s.className=["language-"+a]);let l={type:"element",tagName:"code",properties:s,children:[{type:"text",value:o}]};return i.meta&&(l.data={meta:i.meta}),n.patch(i,l),l={type:"element",tagName:"pre",properties:{},children:[l=n.applyData(i,l)]},n.patch(i,l),l}function nA(n,i){let o={type:"element",tagName:"del",properties:{},children:n.all(i)};return n.patch(i,o),n.applyData(i,o)}function nT(n,i){let o={type:"element",tagName:"em",properties:{},children:n.all(i)};return n.patch(i,o),n.applyData(i,o)}function nC(n,i){let o;let a=String(i.identifier).toUpperCase(),s=nd(a.toLowerCase()),l=n.footnoteOrder.indexOf(a);-1===l?(n.footnoteOrder.push(a),n.footnoteCounts[a]=1,o=n.footnoteOrder.length):(n.footnoteCounts[a]++,o=l+1);let u=n.footnoteCounts[a],c={type:"element",tagName:"a",properties:{href:"#"+n.clobberPrefix+"fn-"+s,id:n.clobberPrefix+"fnref-"+s+(u>1?"-"+u:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};n.patch(i,c);let d={type:"element",tagName:"sup",properties:{},children:[c]};return n.patch(i,d),n.applyData(i,d)}function nR(n,i){let o=n.footnoteById,a=1;for(;(a in o);)a++;let s=String(a);return o[s]={type:"footnoteDefinition",identifier:s,children:[{type:"paragraph",children:i.children}],position:i.position},nC(n,{type:"footnoteReference",identifier:s,position:i.position})}function nD(n,i){let o={type:"element",tagName:"h"+i.depth,properties:{},children:n.all(i)};return n.patch(i,o),n.applyData(i,o)}function nO(n,i){if(n.dangerous){let o={type:"raw",value:i.value};return n.patch(i,o),n.applyData(i,o)}return null}function nI(n,i){let o=i.referenceType,a="]";if("collapsed"===o?a+="[]":"full"===o&&(a+="["+(i.label||i.identifier)+"]"),"imageReference"===i.type)return{type:"text",value:"!["+i.alt+a};let s=n.all(i),l=s[0];l&&"text"===l.type?l.value="["+l.value:s.unshift({type:"text",value:"["});let u=s[s.length-1];return u&&"text"===u.type?u.value+=a:s.push({type:"text",value:a}),s}function nN(n,i){let o=n.definition(i.identifier);if(!o)return nI(n,i);let a={src:nd(o.url||""),alt:i.alt};null!==o.title&&void 0!==o.title&&(a.title=o.title);let s={type:"element",tagName:"img",properties:a,children:[]};return n.patch(i,s),n.applyData(i,s)}function nM(n,i){let o={src:nd(i.url)};null!==i.alt&&void 0!==i.alt&&(o.alt=i.alt),null!==i.title&&void 0!==i.title&&(o.title=i.title);let a={type:"element",tagName:"img",properties:o,children:[]};return n.patch(i,a),n.applyData(i,a)}function nL(n,i){let o={type:"text",value:i.value.replace(/\r?\n|\r/g," ")};n.patch(i,o);let a={type:"element",tagName:"code",properties:{},children:[o]};return n.patch(i,a),n.applyData(i,a)}function nP(n,i){let o=n.definition(i.identifier);if(!o)return nI(n,i);let a={href:nd(o.url||"")};null!==o.title&&void 0!==o.title&&(a.title=o.title);let s={type:"element",tagName:"a",properties:a,children:n.all(i)};return n.patch(i,s),n.applyData(i,s)}function nF(n,i){let o={href:nd(i.url)};null!==i.title&&void 0!==i.title&&(o.title=i.title);let a={type:"element",tagName:"a",properties:o,children:n.all(i)};return n.patch(i,a),n.applyData(i,a)}function nB(n,i,o){let a=n.all(i),s=o?nU(o):nz(i),l={},u=[];if("boolean"==typeof i.checked){let c;let d=a[0];d&&"element"===d.type&&"p"===d.tagName?c=d:(c={type:"element",tagName:"p",properties:{},children:[]},a.unshift(c)),c.children.length>0&&c.children.unshift({type:"text",value:" "}),c.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:i.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let p=-1;for(;++p1:i}function nj(n,i){let o={},a=n.all(i),s=-1;for("number"==typeof i.start&&1!==i.start&&(o.start=i.start);++s0){let u={type:"element",tagName:"tbody",properties:{},children:n.wrap(o,!0)},c=nm(i.children[1]),d=ng(i.children[i.children.length-1]);c.line&&d.line&&(u.position={start:c,end:d}),s.push(u)}let p={type:"element",tagName:"table",properties:{},children:n.wrap(s,!0)};return n.patch(i,p),n.applyData(i,p)}function nq(n,i,o){let a=o?o.children:void 0,s=a?a.indexOf(i):1,l=0===s?"th":"td",u=o&&"table"===o.type?o.align:void 0,c=u?u.length:i.children.length,d=-1,p=[];for(;++d0,!0),a[0]),s=a.index+a[0].length,a=o.exec(i);return l.push(nX(i.slice(s),s>0,!1)),l.join("")}function nX(n,i,o){let a=0,s=n.length;if(i){let l=n.codePointAt(a);for(;l===nK||l===nY;)a++,l=n.codePointAt(a)}if(o){let u=n.codePointAt(s-1);for(;u===nK||u===nY;)s--,u=n.codePointAt(s-1)}return s>a?n.slice(a,s):""}function nJ(n,i){let o={type:"text",value:nZ(String(i.value))};return n.patch(i,o),n.applyData(i,o)}function nQ(n,i){let o={type:"element",tagName:"hr",properties:{},children:[]};return n.patch(i,o),n.applyData(i,o)}let n0={blockquote:nx,break:n_,code:nk,delete:nA,emphasis:nT,footnoteReference:nC,footnote:nR,heading:nD,html:nO,imageReference:nN,image:nM,inlineCode:nL,linkReference:nP,link:nF,listItem:nB,list:nj,paragraph:n$,root:nH,strong:nV,table:nG,tableCell:nW,tableRow:nq,text:nJ,thematicBreak:nQ,toml:n1,yaml:n1,definition:n1,footnoteDefinition:n1};function n1(){return null}let n2={}.hasOwnProperty;function n3(n,i){let o=i||{},a=o.allowDangerousHtml||!1,s={};return u.dangerous=a,u.clobberPrefix=void 0===o.clobberPrefix||null===o.clobberPrefix?"user-content-":o.clobberPrefix,u.footnoteLabel=o.footnoteLabel||"Footnotes",u.footnoteLabelTagName=o.footnoteLabelTagName||"h2",u.footnoteLabelProperties=o.footnoteLabelProperties||{className:["sr-only"]},u.footnoteBackLabel=o.footnoteBackLabel||"Back to content",u.unknownHandler=o.unknownHandler,u.passThrough=o.passThrough,u.handlers={...n0,...o.handlers},u.definition=nE(n),u.footnoteById=s,u.footnoteOrder=[],u.footnoteCounts={},u.patch=n5,u.applyData=n4,u.one=c,u.all=d,u.wrap=n7,u.augment=l,nh(n,"footnoteDefinition",n=>{let i=String(n.identifier).toUpperCase();n2.call(s,i)||(s[i]=n)}),u;function l(n,i){if(n&&"data"in n&&n.data){let o=n.data;o.hName&&("element"!==i.type&&(i={type:"element",tagName:"",properties:{},children:[]}),i.tagName=o.hName),"element"===i.type&&o.hProperties&&(i.properties={...i.properties,...o.hProperties}),"children"in i&&i.children&&o.hChildren&&(i.children=o.hChildren)}if(n){let a="type"in n?n:{position:n};nv(a)||(i.position={start:nm(a),end:ng(a)})}return i}function u(n,i,o,a){return Array.isArray(o)&&(a=o,o={}),l(n,{type:"element",tagName:i,properties:o||{},children:a||[]})}function c(n,i){return n6(u,n,i)}function d(n){return n8(u,n)}}function n5(n,i){n.position&&(i.position=nb(n))}function n4(n,i){let o=i;if(n&&n.data){let a=n.data.hName,s=n.data.hChildren,l=n.data.hProperties;"string"==typeof a&&("element"===o.type?o.tagName=a:o={type:"element",tagName:a,properties:{},children:[]}),"element"===o.type&&l&&(o.properties={...o.properties,...l}),"children"in o&&o.children&&null!=s&&(o.children=s)}return o}function n6(n,i,o){let a=i&&i.type;if(!a)throw Error("Expected node, got `"+i+"`");return n2.call(n.handlers,a)?n.handlers[a](n,i,o):n.passThrough&&n.passThrough.includes(a)?"children"in i?{...i,children:n8(n,i)}:i:n.unknownHandler?n.unknownHandler(n,i,o):n9(n,i)}function n8(n,i){let o=[];if("children"in i){let a=i.children,s=-1;for(;++s0&&o.push({type:"text",value:"\n"}),o}function re(n,i){let o=n3(n,i),a=o.one(n,null),s=np(o);return s&&a.children.push({type:"text",value:"\n"},s),Array.isArray(a)?{type:"root",children:a}:a}let rt=function(n,i){return n&&"run"in n?rr(n,i):ri(n||i)};var rn=rt;function rr(n,i){return(o,a,s)=>{n.run(re(o,i),a,n=>{s(n)})}}function ri(n){return i=>re(i,n)}var ro=o(45697);class ra{constructor(n,i,o){this.property=n,this.normal=i,o&&(this.space=o)}}function rs(n,i){let o={},a={},s=-1;for(;++s"xlink:"+i.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),rk=rx({space:"xml",transform:(n,i)=>"xml:"+i.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function rA(n,i){return i in n?n[i]:i}function rT(n,i){return rA(n,i.toLowerCase())}let rC=rx({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:rT,properties:{xmlns:null,xmlnsXLink:null}}),rR=rx({transform:(n,i)=>"role"===i?i:"aria-"+i.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:rp,ariaAutoComplete:null,ariaBusy:rp,ariaChecked:rp,ariaColCount:rh,ariaColIndex:rh,ariaColSpan:rh,ariaControls:rm,ariaCurrent:null,ariaDescribedBy:rm,ariaDetails:null,ariaDisabled:rp,ariaDropEffect:rm,ariaErrorMessage:null,ariaExpanded:rp,ariaFlowTo:rm,ariaGrabbed:rp,ariaHasPopup:null,ariaHidden:rp,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:rm,ariaLevel:rh,ariaLive:null,ariaModal:rp,ariaMultiLine:rp,ariaMultiSelectable:rp,ariaOrientation:null,ariaOwns:rm,ariaPlaceholder:null,ariaPosInSet:rh,ariaPressed:rp,ariaReadOnly:rp,ariaRelevant:null,ariaRequired:rp,ariaRoleDescription:rm,ariaRowCount:rh,ariaRowIndex:rh,ariaRowSpan:rh,ariaSelected:rp,ariaSetSize:rh,ariaSort:null,ariaValueMax:rh,ariaValueMin:rh,ariaValueNow:rh,ariaValueText:null,role:null}}),rD=rx({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:rT,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:rg,acceptCharset:rm,accessKey:rm,action:null,allow:null,allowFullScreen:rd,allowPaymentRequest:rd,allowUserMedia:rd,alt:null,as:null,async:rd,autoCapitalize:null,autoComplete:rm,autoFocus:rd,autoPlay:rd,blocking:rm,capture:rd,charSet:null,checked:rd,cite:null,className:rm,cols:rh,colSpan:null,content:null,contentEditable:rp,controls:rd,controlsList:rm,coords:rh|rg,crossOrigin:null,data:null,dateTime:null,decoding:null,default:rd,defer:rd,dir:null,dirName:null,disabled:rd,download:rf,draggable:rp,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:rd,formTarget:null,headers:rm,height:rh,hidden:rd,high:rh,href:null,hrefLang:null,htmlFor:rm,httpEquiv:rm,id:null,imageSizes:null,imageSrcSet:null,inert:rd,inputMode:null,integrity:null,is:null,isMap:rd,itemId:null,itemProp:rm,itemRef:rm,itemScope:rd,itemType:rm,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:rd,low:rh,manifest:null,max:null,maxLength:rh,media:null,method:null,min:null,minLength:rh,multiple:rd,muted:rd,name:null,nonce:null,noModule:rd,noValidate:rd,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:rd,optimum:rh,pattern:null,ping:rm,placeholder:null,playsInline:rd,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:rd,referrerPolicy:null,rel:rm,required:rd,reversed:rd,rows:rh,rowSpan:rh,sandbox:rm,scope:null,scoped:rd,seamless:rd,selected:rd,shadowRootDelegatesFocus:rd,shadowRootMode:null,shape:null,size:rh,sizes:null,slot:null,span:rh,spellCheck:rp,src:null,srcDoc:null,srcLang:null,srcSet:null,start:rh,step:null,style:null,tabIndex:rh,target:null,title:null,translate:null,type:null,typeMustMatch:rd,useMap:null,value:rp,width:rh,wrap:null,align:null,aLink:null,archive:rm,axis:null,background:null,bgColor:null,border:rh,borderColor:null,bottomMargin:rh,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:rd,declare:rd,event:null,face:null,frame:null,frameBorder:null,hSpace:rh,leftMargin:rh,link:null,longDesc:null,lowSrc:null,marginHeight:rh,marginWidth:rh,noResize:rd,noHref:rd,noShade:rd,noWrap:rd,object:null,profile:null,prompt:null,rev:null,rightMargin:rh,rules:null,scheme:null,scrolling:rp,standby:null,summary:null,text:null,topMargin:rh,valueType:null,version:null,vAlign:null,vLink:null,vSpace:rh,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:rd,disableRemotePlayback:rd,prefix:null,property:null,results:rh,security:null,unselectable:null}}),rO=rx({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:rA,properties:{about:rb,accentHeight:rh,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:rh,amplitude:rh,arabicForm:null,ascent:rh,attributeName:null,attributeType:null,azimuth:rh,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:rh,by:null,calcMode:null,capHeight:rh,className:rm,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:rh,diffuseConstant:rh,direction:null,display:null,dur:null,divisor:rh,dominantBaseline:null,download:rd,dx:null,dy:null,edgeMode:null,editable:null,elevation:rh,enableBackground:null,end:null,event:null,exponent:rh,externalResourcesRequired:null,fill:null,fillOpacity:rh,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:rg,g2:rg,glyphName:rg,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:rh,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:rh,horizOriginX:rh,horizOriginY:rh,id:null,ideographic:rh,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:rh,k:rh,k1:rh,k2:rh,k3:rh,k4:rh,kernelMatrix:rb,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:rh,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:rh,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:rh,overlineThickness:rh,paintOrder:null,panose1:null,path:null,pathLength:rh,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:rm,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:rh,pointsAtY:rh,pointsAtZ:rh,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:rb,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:rb,rev:rb,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:rb,requiredFeatures:rb,requiredFonts:rb,requiredFormats:rb,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:rh,specularExponent:rh,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:rh,strikethroughThickness:rh,string:null,stroke:null,strokeDashArray:rb,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:rh,strokeOpacity:rh,strokeWidth:null,style:null,surfaceScale:rh,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:rb,tabIndex:rh,tableValues:null,target:null,targetX:rh,targetY:rh,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:rb,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:rh,underlineThickness:rh,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:rh,values:null,vAlphabetic:rh,vMathematical:rh,vectorEffect:null,vHanging:rh,vIdeographic:rh,version:null,vertAdvY:rh,vertOriginX:rh,vertOriginY:rh,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:rh,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),rI=rs([rk,r_,rC,rR,rD],"html"),rN=rs([rk,r_,rC,rR,rO],"svg");function rM(n){if(n.allowedElements&&n.disallowedElements)throw TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(n.allowedElements||n.disallowedElements||n.allowElement)return i=>{nh(i,"element",(i,o,a)=>{let s;let l=a;if(n.allowedElements?s=!n.allowedElements.includes(i.tagName):n.disallowedElements&&(s=n.disallowedElements.includes(i.tagName)),!s&&n.allowElement&&"number"==typeof o&&(s=!n.allowElement(i,o,l)),s&&"number"==typeof o)return n.unwrapDisallowed&&i.children?l.children.splice(o,1,...i.children):l.children.splice(o,1),o})}}var rL=o(82143);function rP(n){let i=n&&"object"==typeof n&&"text"===n.type?n.value||"":n;return"string"==typeof i&&""===i.replace(/[ \t\n\f\r]/g,"")}let rF=/^data[-\w.:]+$/i,rB=/-[a-z]/g,rU=/[A-Z]/g;function rz(n,i){let o=rl(i),a=i,s=ru;if(o in n.normal)return n.property[n.normal[o]];if(o.length>4&&"data"===o.slice(0,4)&&rF.test(i)){if("-"===i.charAt(4)){let l=i.slice(5).replace(rB,r$);a="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{let u=i.slice(4);if(!rB.test(u)){let c=u.replace(rU,rj);"-"!==c.charAt(0)&&(c="-"+c),i="data"+c}}s=rw}return new s(a,i)}function rj(n){return"-"+n.toLowerCase()}function r$(n){return n.charAt(1).toUpperCase()}let rH={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};function rV(n){return n.join(" ").trim()}function rG(n,i){let o=i||{},a=""===n[n.length-1]?[...n,""]:n;return a.join((o.padRight?" ":"")+","+(!1===o.padLeft?"":" ")).trim()}var rq=o(57848);let rW=["http","https","mailto","tel"];function rK(n){let i=(n||"").trim(),o=i.charAt(0);if("#"===o||"/"===o)return i;let a=i.indexOf(":");if(-1===a)return i;let s=-1;for(;++ss||-1!==(s=i.indexOf("#"))&&a>s?i:"javascript:void(0)"}let rY={}.hasOwnProperty,rZ=new Set(["table","thead","tbody","tfoot","tr"]);function rX(n,i){let o;let a=[],s=-1;for(;++s0?l.createElement(b,f,m):l.createElement(b,f)}function rQ(n){let i=-1;for(;++i for more info)`),delete r8[i]}let a=z().use(nc).use(n.remarkPlugins||[]).use(rn,{...n.remarkRehypeOptions,allowDangerousHtml:!0}).use(n.rehypePlugins||[]).use(rM,n),s=new R;"string"==typeof n.children?s.value=n.children:void 0!==n.children&&null!==n.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${n.children}\`)`);let u=a.runSync(a.parse(s),s);if("root"!==u.type)throw TypeError("Expected a `root` node");let c=l.createElement(l.Fragment,{},rX({options:n,schema:rI,listDepth:0},u));return n.className&&(c=l.createElement("div",{className:n.className},c)),c}r9.propTypes={children:ro.string,className:ro.string,allowElement:ro.func,allowedElements:ro.arrayOf(ro.string),disallowedElements:ro.arrayOf(ro.string),unwrapDisallowed:ro.bool,remarkPlugins:ro.arrayOf(ro.oneOfType([ro.object,ro.func,ro.arrayOf(ro.oneOfType([ro.bool,ro.string,ro.object,ro.func,ro.arrayOf(ro.any)]))])),rehypePlugins:ro.arrayOf(ro.oneOfType([ro.object,ro.func,ro.arrayOf(ro.oneOfType([ro.bool,ro.string,ro.object,ro.func,ro.arrayOf(ro.any)]))])),sourcePos:ro.bool,rawSourcePos:ro.bool,skipHtml:ro.bool,includeElementIndex:ro.bool,transformLinkUri:ro.oneOfType([ro.func,ro.bool]),linkTarget:ro.oneOfType([ro.func,ro.string]),transformImageUri:ro.func,components:ro.object}},76199:function(n,i,o){"use strict";o.d(i,{Z:function(){return tR}});var a=o(4663),s=o(75364);let l={tokenize:S,partial:!0},u={tokenize:x,partial:!0},c={tokenize:_,partial:!0},d={tokenize:k,partial:!0},p={tokenize:A,partial:!0},f={tokenize:w,previous:T},h={tokenize:E,previous:C},m={tokenize:v,previous:R},g={},b={text:g},y=48;for(;y<123;)g[y]=m,58==++y?y=65:91===y&&(y=97);function v(n,i,o){let a,l;let u=this;return c;function c(i){return!D(i)||!R.call(u,u.previous)||O(u.events)?o(i):(n.enter("literalAutolink"),n.enter("literalAutolinkEmail"),d(i))}function d(i){return D(i)?(n.consume(i),d):64===i?(n.consume(i),f):o(i)}function f(i){return 46===i?n.check(p,m,h)(i):45===i||95===i||(0,s.H$)(i)?(l=!0,n.consume(i),f):m(i)}function h(i){return n.consume(i),a=!0,f}function m(c){return l&&a&&(0,s.jv)(u.previous)?(n.exit("literalAutolinkEmail"),n.exit("literalAutolink"),i(c)):o(c)}}function w(n,i,o){let a=this;return s;function s(i){return 87!==i&&119!==i||!T.call(a,a.previous)||O(a.events)?o(i):(n.enter("literalAutolink"),n.enter("literalAutolinkWww"),n.check(l,n.attempt(u,n.attempt(c,d),o),o)(i))}function d(o){return n.exit("literalAutolinkWww"),n.exit("literalAutolink"),i(o)}}function E(n,i,o){let a=this,l="",d=!1;return p;function p(i){return(72===i||104===i)&&C.call(a,a.previous)&&!O(a.events)?(n.enter("literalAutolink"),n.enter("literalAutolinkHttp"),l+=String.fromCodePoint(i),n.consume(i),f):o(i)}function f(i){if((0,s.jv)(i)&&l.length<5)return l+=String.fromCodePoint(i),n.consume(i),f;if(58===i){let a=l.toLowerCase();if("http"===a||"https"===a)return n.consume(i),h}return o(i)}function h(i){return 47===i?(n.consume(i),d)?m:(d=!0,h):o(i)}function m(i){return null===i||(0,s.Av)(i)||(0,s.z3)(i)||(0,s.B8)(i)||(0,s.Xh)(i)?o(i):n.attempt(u,n.attempt(c,g),o)(i)}function g(o){return n.exit("literalAutolinkHttp"),n.exit("literalAutolink"),i(o)}}function S(n,i,o){let a=0;return s;function s(i){return(87===i||119===i)&&a<3?(a++,n.consume(i),s):46===i&&3===a?(n.consume(i),l):o(i)}function l(n){return null===n?o(n):i(n)}}function x(n,i,o){let a,l,u;return c;function c(i){return 46===i||95===i?n.check(d,f,p)(i):null===i||(0,s.z3)(i)||(0,s.B8)(i)||45!==i&&(0,s.Xh)(i)?f(i):(u=!0,n.consume(i),c)}function p(i){return 95===i?a=!0:(l=a,a=void 0),n.consume(i),c}function f(n){return l||a||!u?o(n):i(n)}}function _(n,i){let o=0,a=0;return l;function l(c){return 40===c?(o++,n.consume(c),l):41===c&&a0&&!o&&(n[n.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),o}g[43]=m,g[45]=m,g[46]=m,g[95]=m,g[72]=[m,h],g[104]=[m,h],g[87]=[m,f],g[119]=[m,f];var I=o(23402),N=o(42761),M=o(11098);let L={tokenize:H,partial:!0};function P(){return{document:{91:{tokenize:z,continuation:{tokenize:j},exit:$}},text:{91:{tokenize:U},93:{add:"after",tokenize:F,resolveTo:B}}}}function F(n,i,o){let a;let s=this,l=s.events.length,u=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]);for(;l--;){let c=s.events[l][1];if("labelImage"===c.type){a=c;break}if("gfmFootnoteCall"===c.type||"labelLink"===c.type||"label"===c.type||"image"===c.type||"link"===c.type)break}return d;function d(l){if(!a||!a._balanced)return o(l);let c=(0,M.d)(s.sliceSerialize({start:a.end,end:s.now()}));return 94===c.codePointAt(0)&&u.includes(c.slice(1))?(n.enter("gfmFootnoteCallLabelMarker"),n.consume(l),n.exit("gfmFootnoteCallLabelMarker"),i(l)):o(l)}}function B(n,i){let o,a=n.length;for(;a--;)if("labelImage"===n[a][1].type&&"enter"===n[a][0]){o=n[a][1];break}n[a+1][1].type="data",n[a+3][1].type="gfmFootnoteCallLabelMarker";let s={type:"gfmFootnoteCall",start:Object.assign({},n[a+3][1].start),end:Object.assign({},n[n.length-1][1].end)},l={type:"gfmFootnoteCallMarker",start:Object.assign({},n[a+3][1].end),end:Object.assign({},n[a+3][1].end)};l.end.column++,l.end.offset++,l.end._bufferIndex++;let u={type:"gfmFootnoteCallString",start:Object.assign({},l.end),end:Object.assign({},n[n.length-1][1].start)},c={type:"chunkString",contentType:"string",start:Object.assign({},u.start),end:Object.assign({},u.end)},d=[n[a+1],n[a+2],["enter",s,i],n[a+3],n[a+4],["enter",l,i],["exit",l,i],["enter",u,i],["enter",c,i],["exit",c,i],["exit",u,i],n[n.length-2],n[n.length-1],["exit",s,i]];return n.splice(a,n.length-a+1,...d),n}function U(n,i,o){let a;let l=this,u=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]),c=0;return d;function d(i){return n.enter("gfmFootnoteCall"),n.enter("gfmFootnoteCallLabelMarker"),n.consume(i),n.exit("gfmFootnoteCallLabelMarker"),p}function p(i){return 94!==i?o(i):(n.enter("gfmFootnoteCallMarker"),n.consume(i),n.exit("gfmFootnoteCallMarker"),n.enter("gfmFootnoteCallString"),n.enter("chunkString").contentType="string",f)}function f(d){if(c>999||93===d&&!a||null===d||91===d||(0,s.z3)(d))return o(d);if(93===d){n.exit("chunkString");let p=n.exit("gfmFootnoteCallString");return u.includes((0,M.d)(l.sliceSerialize(p)))?(n.enter("gfmFootnoteCallLabelMarker"),n.consume(d),n.exit("gfmFootnoteCallLabelMarker"),n.exit("gfmFootnoteCall"),i):o(d)}return(0,s.z3)(d)||(a=!0),c++,n.consume(d),92===d?h:f}function h(i){return 91===i||92===i||93===i?(n.consume(i),c++,f):f(i)}}function z(n,i,o){let a,l;let u=this,c=u.parser.gfmFootnotes||(u.parser.gfmFootnotes=[]),d=0;return p;function p(i){return n.enter("gfmFootnoteDefinition")._container=!0,n.enter("gfmFootnoteDefinitionLabel"),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(i),n.exit("gfmFootnoteDefinitionLabelMarker"),f}function f(i){return 94===i?(n.enter("gfmFootnoteDefinitionMarker"),n.consume(i),n.exit("gfmFootnoteDefinitionMarker"),n.enter("gfmFootnoteDefinitionLabelString"),n.enter("chunkString").contentType="string",h):o(i)}function h(i){if(d>999||93===i&&!l||null===i||91===i||(0,s.z3)(i))return o(i);if(93===i){n.exit("chunkString");let c=n.exit("gfmFootnoteDefinitionLabelString");return a=(0,M.d)(u.sliceSerialize(c)),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(i),n.exit("gfmFootnoteDefinitionLabelMarker"),n.exit("gfmFootnoteDefinitionLabel"),g}return(0,s.z3)(i)||(l=!0),d++,n.consume(i),92===i?m:h}function m(i){return 91===i||92===i||93===i?(n.consume(i),d++,h):h(i)}function g(i){return 58===i?(n.enter("definitionMarker"),n.consume(i),n.exit("definitionMarker"),c.includes(a)||c.push(a),(0,N.f)(n,b,"gfmFootnoteDefinitionWhitespace")):o(i)}function b(n){return i(n)}}function j(n,i,o){return n.check(I.w,i,n.attempt(L,i,o))}function $(n){n.exit("gfmFootnoteDefinition")}function H(n,i,o){let a=this;return(0,N.f)(n,s,"gfmFootnoteDefinitionIndent",5);function s(n){let s=a.events[a.events.length-1];return s&&"gfmFootnoteDefinitionIndent"===s[1].type&&4===s[2].sliceSerialize(s[1],!0).length?i(n):o(n)}}var V=o(21905),G=o(62987),q=o(63233);function W(n){let i=n||{},o=i.singleTilde,a={tokenize:l,resolveAll:s};return null==o&&(o=!0),{text:{126:a},insideSpan:{null:[a]},attentionMarkers:{null:[126]}};function s(n,i){let o=-1;for(;++o1?a(l):(n.consume(l),u++,d);if(u<2&&!o)return a(l);let p=n.exit("strikethroughSequenceTemporary"),f=(0,G.r)(l);return p._open=!f||2===f&&Boolean(c),p._close=!c||2===c&&Boolean(f),i(l)}}}class K{constructor(){this.map=[]}add(n,i,o){Y(this,n,i,o)}consume(n){if(this.map.sort((n,i)=>n[0]-i[0]),0===this.map.length)return;let i=this.map.length,o=[];for(;i>0;)i-=1,o.push(n.slice(this.map[i][0]+this.map[i][1])),o.push(this.map[i][2]),n.length=this.map[i][0];o.push([...n]),n.length=0;let a=o.pop();for(;a;)n.push(...a),a=o.pop();this.map.length=0}}function Y(n,i,o,a){let s=0;if(0!==o||0!==a.length){for(;s-1;){let a=l.events[i][1].type;if("lineEnding"===a||"linePrefix"===a)i--;else break}let s=i>-1?l.events[i][1].type:null,u="tableHead"===s||"tableRow"===s?A:p;return u===A&&l.parser.lazy[l.now().line]?o(n):u(n)}function p(i){return n.enter("tableHead"),n.enter("tableRow"),f(i)}function f(n){return 124===n||(a=!0,c+=1),h(n)}function h(i){return null===i?o(i):(0,s.Ch)(i)?c>1?(c=0,l.interrupt=!0,n.exit("tableRow"),n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),b):o(i):(0,s.xz)(i)?(0,N.f)(n,h,"whitespace")(i):(c+=1,a&&(a=!1,u+=1),124===i)?(n.enter("tableCellDivider"),n.consume(i),n.exit("tableCellDivider"),a=!0,h):(n.enter("data"),m(i))}function m(i){return null===i||124===i||(0,s.z3)(i)?(n.exit("data"),h(i)):(n.consume(i),92===i?g:m)}function g(i){return 92===i||124===i?(n.consume(i),m):m(i)}function b(i){return(l.interrupt=!1,l.parser.lazy[l.now().line])?o(i):(n.enter("tableDelimiterRow"),a=!1,(0,s.xz)(i))?(0,N.f)(n,y,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i):y(i)}function y(i){return 45===i||58===i?w(i):124===i?(a=!0,n.enter("tableCellDivider"),n.consume(i),n.exit("tableCellDivider"),v):k(i)}function v(i){return(0,s.xz)(i)?(0,N.f)(n,w,"whitespace")(i):w(i)}function w(i){return 58===i?(c+=1,a=!0,n.enter("tableDelimiterMarker"),n.consume(i),n.exit("tableDelimiterMarker"),E):45===i?(c+=1,E(i)):null===i||(0,s.Ch)(i)?_(i):k(i)}function E(i){return 45===i?(n.enter("tableDelimiterFiller"),S(i)):k(i)}function S(i){return 45===i?(n.consume(i),S):58===i?(a=!0,n.exit("tableDelimiterFiller"),n.enter("tableDelimiterMarker"),n.consume(i),n.exit("tableDelimiterMarker"),x):(n.exit("tableDelimiterFiller"),x(i))}function x(i){return(0,s.xz)(i)?(0,N.f)(n,_,"whitespace")(i):_(i)}function _(o){return 124===o?y(o):(null===o||(0,s.Ch)(o))&&a&&u===c?(n.exit("tableDelimiterRow"),n.exit("tableHead"),i(o)):k(o)}function k(n){return o(n)}function A(i){return n.enter("tableRow"),T(i)}function T(o){return 124===o?(n.enter("tableCellDivider"),n.consume(o),n.exit("tableCellDivider"),T):null===o||(0,s.Ch)(o)?(n.exit("tableRow"),i(o)):(0,s.xz)(o)?(0,N.f)(n,T,"whitespace")(o):(n.enter("data"),C(o))}function C(i){return null===i||124===i||(0,s.z3)(i)?(n.exit("data"),T(i)):(n.consume(i),92===i?R:C)}function R(i){return 92===i||124===i?(n.consume(i),C):C(i)}}function Q(n,i){let o,a,s,l=-1,u=!0,c=0,d=[0,0,0,0],p=[0,0,0,0],f=!1,h=0,m=new K;for(;++lo[2]+1){let b=o[2]+1,y=o[3]-o[2]-1;n.add(b,y,[])}}n.add(o[3]+1,0,[["exit",h,i]])}return void 0!==s&&(l.end=Object.assign({},en(i.events,s)),n.add(s,0,[["exit",l,i]]),l=void 0),l}function et(n,i,o,a,s){let l=[],u=en(i.events,o);s&&(s.end=Object.assign({},u),l.push(["exit",s,i])),a.end=Object.assign({},u),l.push(["exit",a,i]),n.add(o+1,0,l)}function en(n,i){let o=n[i],a="enter"===o[0]?"start":"end";return o[1][a]}let er={tokenize:eo},ei={text:{91:er}};function eo(n,i,o){let a=this;return l;function l(i){return null===a.previous&&a._gfmTasklistFirstContentOfListItem?(n.enter("taskListCheck"),n.enter("taskListCheckMarker"),n.consume(i),n.exit("taskListCheckMarker"),u):o(i)}function u(i){return(0,s.z3)(i)?(n.enter("taskListCheckValueUnchecked"),n.consume(i),n.exit("taskListCheckValueUnchecked"),c):88===i||120===i?(n.enter("taskListCheckValueChecked"),n.consume(i),n.exit("taskListCheckValueChecked"),c):o(i)}function c(i){return 93===i?(n.enter("taskListCheckMarker"),n.consume(i),n.exit("taskListCheckMarker"),n.exit("taskListCheck"),d):o(i)}function d(a){return(0,s.Ch)(a)?i(a):(0,s.xz)(a)?n.check({tokenize:ea},i,o)(a):o(a)}}function ea(n,i,o){return(0,N.f)(n,a,"whitespace");function a(n){return null===n?o(n):i(n)}}function es(n){return(0,a.W)([b,P(),W(n),X,ei])}function el(n,i){let o=String(n);if("string"!=typeof i)throw TypeError("Expected character");let a=0,s=o.indexOf(i);for(;-1!==s;)a++,s=o.indexOf(i,s+i.length);return a}function eu(n){if("string"!=typeof n)throw TypeError("Expected a string");return n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var ec=o(20557),ed=o(96093);let ep={}.hasOwnProperty,ef=function(n,i,o,a){let s,l;"string"==typeof i||i instanceof RegExp?(l=[[i,o]],s=a):(l=i,s=o),s||(s={});let u=(0,ed.O)(s.ignore||[]),c=eh(l),d=-1;for(;++d0?{type:"text",value:b}:void 0),!1!==b&&(l!==m&&f.push({type:"text",value:n.value.slice(l,m)}),Array.isArray(b)?f.push(...b):b&&f.push(b),l=m+h[0].length,p=!0),!a.global)break;h=a.exec(n.value)}return p?(ln}let eb="phrasing",ey=["autolink","link","image","label"],ev={transforms:[eT],enter:{literalAutolink:eE,literalAutolinkEmail:eS,literalAutolinkHttp:eS,literalAutolinkWww:eS},exit:{literalAutolink:eA,literalAutolinkEmail:ek,literalAutolinkHttp:ex,literalAutolinkWww:e_}},ew={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:eb,notInConstruct:ey},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:eb,notInConstruct:ey},{character:":",before:"[ps]",after:"\\/",inConstruct:eb,notInConstruct:ey}]};function eE(n){this.enter({type:"link",title:null,url:"",children:[]},n)}function eS(n){this.config.enter.autolinkProtocol.call(this,n)}function ex(n){this.config.exit.autolinkProtocol.call(this,n)}function e_(n){this.config.exit.data.call(this,n);let i=this.stack[this.stack.length-1];i.url="http://"+this.sliceSerialize(n)}function ek(n){this.config.exit.autolinkEmail.call(this,n)}function eA(n){this.exit(n)}function eT(n){ef(n,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,eC],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,eR]],{ignore:["link","linkReference"]})}function eC(n,i,o,a,s){let l="";if(!eI(s)||(/^w/i.test(i)&&(o=i+o,i="",l="http://"),!eD(o)))return!1;let u=eO(o+a);if(!u[0])return!1;let c={type:"link",title:null,url:l+i+u[0],children:[{type:"text",value:i+u[0]}]};return u[1]?[c,{type:"text",value:u[1]}]:c}function eR(n,i,o,a){return!(!eI(a,!0)||/[-\d_]$/.test(o))&&{type:"link",title:null,url:"mailto:"+i+"@"+o,children:[{type:"text",value:i+"@"+o}]}}function eD(n){let i=n.split(".");return!(i.length<2||i[i.length-1]&&(/_/.test(i[i.length-1])||!/[a-zA-Z\d]/.test(i[i.length-1]))||i[i.length-2]&&(/_/.test(i[i.length-2])||!/[a-zA-Z\d]/.test(i[i.length-2])))}function eO(n){let i=/[!"&'),.:;<>?\]}]+$/.exec(n);if(!i)return[n,void 0];n=n.slice(0,i.index);let o=i[0],a=o.indexOf(")"),s=el(n,"("),l=el(n,")");for(;-1!==a&&s>l;)n+=o.slice(0,a+1),a=(o=o.slice(a+1)).indexOf(")"),l++;return[n,o]}function eI(n,i){let o=n.input.charCodeAt(n.index-1);return(0===n.index||(0,s.B8)(o)||(0,s.Xh)(o))&&(!i||47!==o)}var eN=o(47881);function eM(n){return n.label||!n.identifier?n.label||"":(0,eN.v)(n.identifier)}function eL(n,i,o){let a=i.indexStack,s=n.children||[],l=i.createTracker(o),u=[],c=-1;for(a.push(-1);++c\n\n"}return"\n\n"}let eF=/\r?\n|\r/g;function eB(n,i){let o;let a=[],s=0,l=0;for(;o=eF.exec(n);)u(n.slice(s,o.index)),a.push(o[0]),s=o.index+o[0].length,l++;return u(n.slice(s)),a.join("");function u(n){a.push(i(n,l,!n))}}function eU(n){if(!n._compiled){let i=(n.atBreak?"[\\r\\n][\\t ]*":"")+(n.before?"(?:"+n.before+")":"");n._compiled=RegExp((i?"("+i+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(n.character)?"\\":"")+n.character+(n.after?"(?:"+n.after+")":""),"g")}return n._compiled}function ez(n,i){return ej(n,i.inConstruct,!0)&&!ej(n,i.notInConstruct,!1)}function ej(n,i,o){if("string"==typeof i&&(i=[i]),!i||0===i.length)return o;let a=-1;for(;++a=y)&&(!(v+10?" ":"")),s.shift(4),l+=s.move(eB(eL(n,o,s.current()),e4)),u(),l}function e4(n,i,o){return 0===i?n:(o?"":" ")+n}function e6(n,i,o){let a=i.indexStack,s=n.children||[],l=[],u=-1,c=o.before;a.push(-1);let d=i.createTracker(o);for(;++u0&&("\r"===c||"\n"===c)&&"html"===f.type&&(l[l.length-1]=l[l.length-1].replace(/(\r?\n|\r)$/," "),c=" ",(d=i.createTracker(o)).move(l.join(""))),l.push(d.move(i.handle(f,n,i,{...d.current(),before:c,after:p}))),c=l[l.length-1].slice(-1)}return a.pop(),l.join("")}e2.peek=e3;let e8=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];tn.peek=tr;let e9={canContainEols:["delete"],enter:{strikethrough:te},exit:{strikethrough:tt}},e7={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:e8}],handlers:{delete:tn}};function te(n){this.enter({type:"delete",children:[]},n)}function tt(n){this.exit(n)}function tn(n,i,o,a){let s=eG(a),l=o.enter("strikethrough"),u=s.move("~~");return u+=e6(n,o,{...s.current(),before:u,after:"~"}),u+=s.move("~~"),l(),u}function tr(){return"~"}function ti(n,i,o){let a=n.value||"",s="`",l=-1;for(;RegExp("(^|[^`])"+s+"([^`]|$)").test(a);)s+="`";for(/[^ \r\n]/.test(a)&&(/^[ \r\n]/.test(a)&&/[ \r\n]$/.test(a)||/^`|`$/.test(a))&&(a=" "+a+" ");++ld&&(d=n[p].length);++mc[m])&&(c[m]=b)}f.push(g)}l[p]=f,u[p]=h}let y=-1;if("object"==typeof o&&"length"in o)for(;++yc[y]&&(c[y]=k),E[y]=k),w[y]=A}l.splice(1,0,w),u.splice(1,0,E),p=-1;let T=[];for(;++p"none"===n?null:n),children:[]},n),this.setData("inTable",!0)}function tp(n){this.exit(n),this.setData("inTable")}function tf(n){this.enter({type:"tableRow",children:[]},n)}function th(n){this.exit(n)}function tm(n){this.enter({type:"tableCell",children:[]},n)}function tg(n){let i=this.resume();this.getData("inTable")&&(i=i.replace(/\\([\\|])/g,tb));let o=this.stack[this.stack.length-1];o.value=i,this.exit(n)}function tb(n,i){return"|"===i?i:n}function ty(n){let i=n||{},o=i.tableCellPadding,a=i.tablePipeAlign,s=i.stringLength,l=o?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:u,tableRow:c,tableCell:d,inlineCode:m}};function u(n,i,o,a){return p(f(n,o,a),n.align)}function c(n,i,o,a){let s=h(n,o,a),l=p([s]);return l.slice(0,l.indexOf("\n"))}function d(n,i,o,a){let s=o.enter("tableCell"),u=o.enter("phrasing"),c=e6(n,o,{...a,before:l,after:l});return u(),s(),c}function p(n,i){return ta(n,{align:i,alignDelimiters:a,padding:o,stringLength:s})}function f(n,i,o){let a=n.children,s=-1,l=[],u=i.enter("table");for(;++s-1?i.start:1)+(!1===o.options.incrementListMarker?0:i.children.indexOf(n))+l);let u=l.length+1;("tab"===s||"mixed"===s&&(i&&"list"===i.type&&i.spread||n.spread))&&(u=4*Math.ceil(u/4));let c=o.createTracker(a);c.move(l+" ".repeat(u-l.length)),c.shift(u);let d=o.enter("listItem"),p=o.indentLines(o.containerFlow(n,c.current()),f);return d(),p;function f(n,i,o){return i?(o?"":" ".repeat(u))+n:(o?l:l+" ".repeat(u-l.length))+n}}let tS={exit:{taskListCheckValueChecked:t_,taskListCheckValueUnchecked:t_,paragraph:tk}},tx={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:tA}};function t_(n){let i=this.stack[this.stack.length-2];i.checked="taskListCheckValueChecked"===n.type}function tk(n){let i=this.stack[this.stack.length-2];if(i&&"listItem"===i.type&&"boolean"==typeof i.checked){let o=this.stack[this.stack.length-1],a=o.children[0];if(a&&"text"===a.type){let s;let l=i.children,u=-1;for(;++un?g():!0!==i&&(s=setTimeout(a?b:g,void 0===a?n-m:n)))}return"boolean"!=typeof i&&(a=o,o=i,i=void 0),p.cancel=d,p}function s(n,i,o){return void 0===o?a(n,i,!1):a(n,o,!1!==i)}o.d(i,{D:function(){return s},P:function(){return a}})},96093:function(n,i,o){"use strict";o.d(i,{O:function(){return a}});let a=function(n){if(null==n)return d;if("string"==typeof n)return u(n);if("object"==typeof n)return Array.isArray(n)?s(n):l(n);if("function"==typeof n)return c(n);throw Error("Expected function, string, or object as test")};function s(n){let i=[],o=-1;for(;++o":""))+")"})}return y;function y(){let s,g,b,y=[];if((!i||d(n,a,m[m.length-1]||null))&&(y=p(o(n,m)))[0]===u)return y;if(n.children&&y[0]!==c)for(g=(l?n.children.length:-1)+f,b=m.concat(n);g>-1&&g","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},93580:function(n){"use strict";n.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')}}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/_app-958449b12958810e.js b/_next/static/chunks/pages/_app-415bb23c7d448b7c.js similarity index 98% rename from _next/static/chunks/pages/_app-958449b12958810e.js rename to _next/static/chunks/pages/_app-415bb23c7d448b7c.js index 39b8f5d..f290cbb 100644 --- a/_next/static/chunks/pages/_app-958449b12958810e.js +++ b/_next/static/chunks/pages/_app-415bb23c7d448b7c.js @@ -28,4 +28,4 @@ Read more: https://wagmi.sh/docs/providers/jsonRpc`)}return{chains:a,provider(t) * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ var n=r(67294),i=r(61688),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=i.useSyncExternalStore,a=n.useRef,u=n.useEffect,l=n.useMemo,c=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var h=a(null);if(null===h.current){var f={hasValue:!1,value:null};h.current=f}else f=h.current;h=l(function(){function e(e){if(!u){if(u=!0,s=e,e=n(e),void 0!==i&&f.hasValue){var t=f.value;if(i(t,e))return a=t}return a=e}if(t=a,o(s,e))return t;var r=n(e);return void 0!==i&&i(t,r)?t:(s=e,a=r)}var s,a,u=!1,l=void 0===r?null:r;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]},[t,r,n,i]);var d=s(e,h[0],h[1]);return u(function(){f.hasValue=!0,f.value=d},[d]),c(d),d}},61688:function(e,t,r){"use strict";e.exports=r(53250)},52798:function(e,t,r){"use strict";e.exports=r(50139)},38109:function(e,t,r){"use strict";let n;function i(){}r.d(t,{eM:function(){return eC},eI:function(){return eS},mA:function(){return eB},$4:function(){return eD},cq:function(){return eZ},qL:function(){return eq},LN:function(){return eG},yL:function(){return eN},yw:function(){return eW},mx:function(){return ez},g0:function(){return eY}});let o="undefined"==typeof window||"Deno"in window;function s(){}function a(e){return"number"==typeof e&&e>=0&&e!==1/0}function u(e,t){return Math.max(e+(t||0)-Date.now(),0)}function l(e,t,r){return A(e)?"function"==typeof t?{...r,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function c(e,t,r){return A(e)?"function"==typeof t?{...r,mutationKey:e,mutationFn:t}:{...t,mutationKey:e}:"function"==typeof e?{...t,mutationFn:e}:{...e}}function h(e,t,r){return A(e)?[{...t,queryKey:e},r]:[e||{},t]}function f(e,t){let{type:r="all",exact:n,fetchStatus:i,predicate:o,queryKey:s,stale:a}=e;if(A(s)){if(n){if(t.queryHash!==p(s,t.options))return!1}else{if(!g(t.queryKey,s))return!1}}if("all"!==r){let u=t.isActive();if("active"===r&&!u||"inactive"===r&&u)return!1}return("boolean"!=typeof a||t.isStale()===a)&&(void 0===i||i===t.state.fetchStatus)&&(!o||!!o(t))}function d(e,t){let{exact:r,fetching:n,predicate:i,mutationKey:o}=e;if(A(o)){if(!t.options.mutationKey)return!1;if(r){if(m(t.options.mutationKey)!==m(o))return!1}else{if(!g(t.options.mutationKey,o))return!1}}return("boolean"!=typeof n||"loading"===t.state.status===n)&&(!i||!!i(t))}function p(e,t){let r=(null==t?void 0:t.queryKeyHashFn)||m;return r(e)}function m(e){return JSON.stringify(e,(e,t)=>b(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function g(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&!Object.keys(t).some(r=>!g(e[r],t[r]))}function y(e,t){if(e&&!t||t&&!e)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0}function v(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function b(e){if(!w(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!(w(r)&&r.hasOwnProperty("isPrototypeOf"))}function w(e){return"[object Object]"===Object.prototype.toString.call(e)}function A(e){return Array.isArray(e)}function E(e){return new Promise(t=>{setTimeout(t,e)})}function k(e){E(0).then(e)}function S(e,t,r){return null!=r.isDataEqual&&r.isDataEqual(e,t)?e:"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?function e(t,r){if(t===r)return t;let n=v(t)&&v(r);if(n||b(t)&&b(r)){let i=n?t.length:Object.keys(t).length,o=n?r:Object.keys(r),s=o.length,a=n?[]:{},u=0;for(let l=0;l{e()},n=e=>{e()},i=e=>{let r;t++;try{r=e()}finally{--t||a()}return r},o=n=>{t?e.push(n):k(()=>{r(n)})},s=e=>(...t)=>{o(()=>{e(...t)})},a=()=>{let t=e;e=[],t.length&&k(()=>{n(()=>{t.forEach(e=>{r(e)})})})},u=e=>{r=e},l=e=>{n=e};return{batch:i,batchCalls:s,schedule:o,setNotifyFunction:u,setBatchNotifyFunction:l}}();class C{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){let t={listener:e};return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}let _=new class extends C{constructor(){super(),this.setup=e=>{if(!o&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.cleanup)||e.call(this),this.cleanup=void 0}}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){let t=this.focused!==e;t&&(this.focused=e,this.onFocus())}onFocus(){this.listeners.forEach(({listener:e})=>{e()})}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}},O=["online","offline"],R=new class extends C{constructor(){super(),this.setup=e=>{if(!o&&window.addEventListener){let t=()=>e();return O.forEach(e=>{window.addEventListener(e,t,!1)}),()=>{O.forEach(e=>{window.removeEventListener(e,t)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.cleanup)||e.call(this),this.cleanup=void 0}}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(e=>{"boolean"==typeof e?this.setOnline(e):this.onOnline()})}setOnline(e){let t=this.online!==e;t&&(this.online=e,this.onOnline())}onOnline(){this.listeners.forEach(({listener:e})=>{e()})}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}};function M(e){return Math.min(1e3*2**e,3e4)}function N(e){return(null!=e?e:"online")!=="online"||R.isOnline()}class I{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}}function T(e){return e instanceof I}function B(e){let t,r,n,i=!1,o=0,s=!1,a=new Promise((e,t)=>{r=e,n=t}),u=t=>{s||(d(new I(t)),null==e.abort||e.abort())},l=()=>{i=!0},c=()=>{i=!1},h=()=>!_.isFocused()||"always"!==e.networkMode&&!R.isOnline(),f=n=>{s||(s=!0,null==e.onSuccess||e.onSuccess(n),null==t||t(),r(n))},d=r=>{s||(s=!0,null==e.onError||e.onError(r),null==t||t(),n(r))},p=()=>new Promise(r=>{t=e=>{let t=s||!h();return t&&r(e),t},null==e.onPause||e.onPause()}).then(()=>{t=void 0,s||null==e.onContinue||e.onContinue()}),m=()=>{let t;if(!s){try{t=e.fn()}catch(r){t=Promise.reject(r)}Promise.resolve(t).then(f).catch(t=>{var r,n;if(s)return;let a=null!=(r=e.retry)?r:3,u=null!=(n=e.retryDelay)?n:M,l="function"==typeof u?u(o,t):u,c=!0===a||"number"==typeof a&&o{if(h())return p()}).then(()=>{i?d(t):m()})})}};return N(e.networkMode)?m():p().then(m),{promise:a,cancel:u,continue(){let e=null==t?void 0:t();return e?a:Promise.resolve()},cancelRetry:l,continueRetry:c}}class L{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),a(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:o?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class F extends L{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||P,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||function(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(e,t){let r=S(this.state.data,e,this.options);return this.dispatch({data:r,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),r}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;let r=this.promise;return null==(t=this.retryer)||t.cancel(e),r?r.then(s).catch(s):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(e=>!1!==e.options.enabled)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(e=>e.getCurrentResult().isStale)}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!u(this.state.dataUpdatedAt,e)}onFocus(){var e;let t=this.observers.find(e=>e.shouldFetchOnWindowFocus());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}onOnline(){var e;let t=this.observers.find(e=>e.shouldFetchOnReconnect());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var r,n,i,o;if("idle"!==this.state.fetchStatus){if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise)return null==(i=this.retryer)||i.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){let s=this.observers.find(e=>e.options.queryFn);s&&this.setOptions(s.options)}let a=function(){if("function"==typeof AbortController)return new AbortController}(),u={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};l(u);let c=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(u)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),h={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:c};l(h),null==(r=this.options.behavior)||r.onFetch(h),this.revertState=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(n=h.fetchOptions)?void 0:n.meta))&&this.dispatch({type:"fetch",meta:null==(o=h.fetchOptions)?void 0:o.meta});let f=e=>{if(T(e)&&e.silent||this.dispatch({type:"error",error:e}),!T(e)){var t,r,n,i;null==(t=(r=this.cache.config).onError)||t.call(r,e,this),null==(n=(i=this.cache.config).onSettled)||n.call(i,this.state.data,e,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=B({fn:h.fetchFn,abort:null==a?void 0:a.abort.bind(a),onSuccess:e=>{var t,r,n,i;if(void 0===e){f(Error(this.queryHash+" data is undefined"));return}this.setData(e),null==(t=(r=this.cache.config).onSuccess)||t.call(r,e,this),null==(n=(i=this.cache.config).onSettled)||n.call(i,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:f,onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){this.state=(t=>{var r,n;switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(r=e.meta)?r:null,fetchStatus:N(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(n=e.dataUpdatedAt)?n:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let i=e.error;if(T(i)&&i.revert&&this.revertState)return{...this.revertState,fetchStatus:"idle"};return{...t,error:i,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),x.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate(e)}),this.cache.notify({query:this,type:"updated",action:e})})}}class D extends C{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,r){var n;let i=t.queryKey,o=null!=(n=t.queryHash)?n:p(i,t),s=this.get(o);return s||(s=new F({cache:this,logger:e.getLogger(),queryKey:i,queryHash:o,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(i)}),this.add(s)),s}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){let t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter(t=>t!==e),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){x.batch(()=>{this.queries.forEach(e=>{this.remove(e)})})}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){let[r]=h(e,t);return void 0===r.exact&&(r.exact=!0),this.queries.find(e=>f(r,e))}findAll(e,t){let[r]=h(e,t);return Object.keys(r).length>0?this.queries.filter(e=>f(r,e)):this.queries}notify(e){x.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}onFocus(){x.batch(()=>{this.queries.forEach(e=>{e.onFocus()})})}onOnline(){x.batch(()=>{this.queries.forEach(e=>{e.onOnline()})})}}class U extends L{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||P,this.observers=[],this.state=e.state||j(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter(t=>t!==e),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,t;return null!=(e=null==(t=this.retryer)?void 0:t.continue())?e:this.execute()}async execute(){var e,t,r,n,i,o,s,a,u,l,c,h,f,d,p,m,g,y,v,b;let w="loading"===this.state.status;try{if(!w){this.dispatch({type:"loading",variables:this.options.variables}),await (null==(u=(l=this.mutationCache.config).onMutate)?void 0:u.call(l,this.state.variables,this));let A=await (null==(c=(h=this.options).onMutate)?void 0:c.call(h,this.state.variables));A!==this.state.context&&this.dispatch({type:"loading",context:A,variables:this.state.variables})}let E=await (()=>{var e;return this.retryer=B({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise})();return await (null==(e=(t=this.mutationCache.config).onSuccess)?void 0:e.call(t,E,this.state.variables,this.state.context,this)),await (null==(r=(n=this.options).onSuccess)?void 0:r.call(n,E,this.state.variables,this.state.context)),await (null==(i=(o=this.mutationCache.config).onSettled)?void 0:i.call(o,E,null,this.state.variables,this.state.context,this)),await (null==(s=(a=this.options).onSettled)?void 0:s.call(a,E,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:E}),E}catch(k){try{throw await (null==(f=(d=this.mutationCache.config).onError)?void 0:f.call(d,k,this.state.variables,this.state.context,this)),await (null==(p=(m=this.options).onError)?void 0:p.call(m,k,this.state.variables,this.state.context)),await (null==(g=(y=this.mutationCache.config).onSettled)?void 0:g.call(y,void 0,k,this.state.variables,this.state.context,this)),await (null==(v=(b=this.options).onSettled)?void 0:v.call(b,void 0,k,this.state.variables,this.state.context)),k}finally{this.dispatch({type:"error",error:k})}}}dispatch(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"loading":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!N(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...t,...e.state}}})(this.state),x.batch(()=>{this.observers.forEach(t=>{t.onMutationUpdate(e)}),this.mutationCache.notify({mutation:this,type:"updated",action:e})})}}function j(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class q extends C{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,r){let n=new U({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:r,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(n),n}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter(t=>t!==e),this.notify({type:"removed",mutation:e})}clear(){x.batch(()=>{this.mutations.forEach(e=>{this.remove(e)})})}getAll(){return this.mutations}find(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find(t=>d(e,t))}findAll(e){return this.mutations.filter(t=>d(e,t))}notify(e){x.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}resumePausedMutations(){var e;return this.resuming=(null!=(e=this.resuming)?e:Promise.resolve()).then(()=>{let e=this.mutations.filter(e=>e.state.isPaused);return x.batch(()=>e.reduce((e,t)=>e.then(()=>t.continue().catch(s)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}function G(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}class K{constructor(e={}){this.queryCache=e.queryCache||new D,this.mutationCache=e.mutationCache||new q,this.logger=e.logger||P,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=_.subscribe(()=>{_.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=R.subscribe(()=>{R.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var e,t;this.mountCount--,0===this.mountCount&&(null==(e=this.unsubscribeFocus)||e.call(this),this.unsubscribeFocus=void 0,null==(t=this.unsubscribeOnline)||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){let[r]=h(e,t);return r.fetchStatus="fetching",this.queryCache.findAll(r).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var r;return null==(r=this.queryCache.find(e,t))?void 0:r.state.data}ensureQueryData(e,t,r){let n=l(e,t,r),i=this.getQueryData(n.queryKey);return i?Promise.resolve(i):this.fetchQuery(n)}getQueriesData(e){return this.getQueryCache().findAll(e).map(({queryKey:e,state:t})=>{let r=t.data;return[e,r]})}setQueryData(e,t,r){let n=this.queryCache.find(e),i=null==n?void 0:n.state.data,o="function"==typeof t?t(i):t;if(void 0===o)return;let s=l(e),a=this.defaultQueryOptions(s);return this.queryCache.build(this,a).setData(o,{...r,manual:!0})}setQueriesData(e,t,r){return x.batch(()=>this.getQueryCache().findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e,t){var r;return null==(r=this.queryCache.find(e,t))?void 0:r.state}removeQueries(e,t){let[r]=h(e,t),n=this.queryCache;x.batch(()=>{n.findAll(r).forEach(e=>{n.remove(e)})})}resetQueries(e,t,r){let[n,i]=h(e,t,r),o=this.queryCache,s={type:"active",...n};return x.batch(()=>(o.findAll(n).forEach(e=>{e.reset()}),this.refetchQueries(s,i)))}cancelQueries(e,t,r){let[n,i={}]=h(e,t,r);void 0===i.revert&&(i.revert=!0);let o=x.batch(()=>this.queryCache.findAll(n).map(e=>e.cancel(i)));return Promise.all(o).then(s).catch(s)}invalidateQueries(e,t,r){let[n,i]=h(e,t,r);return x.batch(()=>{var e,t;if(this.queryCache.findAll(n).forEach(e=>{e.invalidate()}),"none"===n.refetchType)return Promise.resolve();let r={...n,type:null!=(e=null!=(t=n.refetchType)?t:n.type)?e:"active"};return this.refetchQueries(r,i)})}refetchQueries(e,t,r){let[n,i]=h(e,t,r),o=x.batch(()=>this.queryCache.findAll(n).filter(e=>!e.isDisabled()).map(e=>{var t;return e.fetch(void 0,{...i,cancelRefetch:null==(t=null==i?void 0:i.cancelRefetch)||t,meta:{refetchPage:n.refetchPage}})})),a=Promise.all(o).then(s);return null!=i&&i.throwOnError||(a=a.catch(s)),a}fetchQuery(e,t,r){let n=l(e,t,r),i=this.defaultQueryOptions(n);void 0===i.retry&&(i.retry=!1);let o=this.queryCache.build(this,i);return o.isStaleByTime(i.staleTime)?o.fetch(i):Promise.resolve(o.state.data)}prefetchQuery(e,t,r){return this.fetchQuery(e,t,r).then(s).catch(s)}fetchInfiniteQuery(e,t,r){let n=l(e,t,r);return n.behavior={onFetch(e){e.fetchFn=()=>{var t,r,n,i,o,s,a;let u;let l=null==(t=e.fetchOptions)?void 0:null==(r=t.meta)?void 0:r.refetchPage,c=null==(n=e.fetchOptions)?void 0:null==(i=n.meta)?void 0:i.fetchMore,h=null==c?void 0:c.pageParam,f=(null==c?void 0:c.direction)==="forward",d=(null==c?void 0:c.direction)==="backward",p=(null==(o=e.state.data)?void 0:o.pages)||[],m=(null==(s=e.state.data)?void 0:s.pageParams)||[],g=m,y=!1,v=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get(){var t,r;return null!=(t=e.signal)&&t.aborted?y=!0:null==(r=e.signal)||r.addEventListener("abort",()=>{y=!0}),e.signal}})},b=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),w=(e,t,r,n)=>(g=n?[t,...g]:[...g,t],n?[r,...e]:[...e,r]),A=(t,r,n,i)=>{if(y)return Promise.reject("Cancelled");if(void 0===n&&!r&&t.length)return Promise.resolve(t);let o={queryKey:e.queryKey,pageParam:n,meta:e.options.meta};v(o);let s=b(o),a=Promise.resolve(s).then(e=>w(t,n,e,i));return a};if(p.length){if(f){let E=void 0!==h,k=E?h:G(e.options,p);u=A(p,E,k)}else if(d){let S=void 0!==h,P=S?h:null==(a=e.options).getPreviousPageParam?void 0:a.getPreviousPageParam(p[0],p);u=A(p,S,P,!0)}else{g=[];let x=void 0===e.options.getNextPageParam,C=!l||!p[0]||l(p[0],0,p);u=C?A([],x,m[0]):Promise.resolve(w([],m[0],p[0]));for(let _=1;_{let r=!l||!p[_]||l(p[_],_,p);if(r){let n=x?m[_]:G(e.options,t);return A(t,x,n)}return Promise.resolve(w(t,m[_],p[_]))})}}else u=A([]);let O=u.then(e=>({pages:e,pageParams:g}));return O}}},this.fetchQuery(n)}prefetchInfiniteQuery(e,t,r){return this.fetchInfiniteQuery(e,t,r).then(s).catch(s)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){let r=this.queryDefaults.find(t=>m(e)===m(t.queryKey));r?r.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;let t=this.queryDefaults.find(t=>g(e,t.queryKey));return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){let r=this.mutationDefaults.find(t=>m(e)===m(t.mutationKey));r?r.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;let t=this.mutationDefaults.find(t=>g(e,t.mutationKey));return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;let t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=p(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}var H=r(67294);let z=H.createContext(void 0),Q=H.createContext(!1);function W(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=z),window.ReactQueryClientContext):z)}let J=({context:e}={})=>{let t=H.useContext(W(e,H.useContext(Q)));if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},V=({client:e,children:t,context:r,contextSharing:n=!1})=>{H.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);let i=W(r,n);return H.createElement(Q.Provider,{value:!r&&n},H.createElement(i.Provider,{value:e},t))},Y=H.createContext(!1),Z=()=>H.useContext(Y);Y.Provider;let $=H.createContext((n=!1,{clearReset(){n=!1},reset(){n=!0},isReset:()=>n})),X=()=>H.useContext($);class ee extends C{constructor(e,t){super(),this.client=e,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;let r=this.options;this.options=this.client.defaultMutationOptions(e),y(r,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(t=this.currentMutation)||t.setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.currentMutation)||e.removeObserver(this)}}onMutationUpdate(e){this.updateResult();let t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==e?e:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){let e=this.currentMutation?this.currentMutation.state:j(),t={...e,isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset};this.currentResult=t}notify(e){x.batch(()=>{if(this.mutateOptions&&this.hasListeners()){var t,r,n,i,o,s,a,u;e.onSuccess?(null==(t=(r=this.mutateOptions).onSuccess)||t.call(r,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(n=(i=this.mutateOptions).onSettled)||n.call(i,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)):e.onError&&(null==(o=(s=this.mutateOptions).onError)||o.call(s,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(a=(u=this.mutateOptions).onSettled)||a.call(u,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context))}e.listeners&&this.listeners.forEach(({listener:e})=>{e(this.currentResult)})})}}var et=r(61688);let er=et.useSyncExternalStore;function en(){}class ei extends C{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),eo(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return es(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return es(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){let r=this.options,n=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),y(r,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=r.queryKey),this.updateQuery();let i=this.hasListeners();i&&ea(this.currentQuery,n,this.options,r)&&this.executeFetch(),this.updateResult(t),i&&(this.currentQuery!==n||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&this.updateStaleTimeout();let o=this.computeRefetchInterval();i&&(this.currentQuery!==n||this.options.enabled!==r.enabled||o!==this.currentRefetchInterval)&&this.updateRefetchInterval(o)}getOptimisticResult(e){let t=this.client.getQueryCache().build(this.client,e),r=this.createResult(t,e);return e.keepPreviousData||(void 0!==e.placeholderData?!r.isPlaceholderData:y(this.getCurrentResult(),r))||(this.currentResult=r,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),r}getCurrentResult(){return this.currentResult}trackResult(e){let t={};return Object.keys(e).forEach(r=>{Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(r),e[r])})}),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){let t=this.client.defaultQueryOptions(e),r=this.client.getQueryCache().build(this.client,t);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,t))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(s)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),o||this.currentResult.isStale||!a(this.options.staleTime))return;let e=u(this.currentResult.dataUpdatedAt,this.options.staleTime);this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},e+1)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!o&&!1!==this.options.enabled&&a(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||_.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){let r;let n=this.currentQuery,i=this.options,o=this.currentResult,s=this.currentResultState,a=this.currentResultOptions,u=e!==n,l=u?e.state:this.currentQueryInitialState,c=u?this.currentResult:this.previousQueryResult,{state:h}=e,{dataUpdatedAt:f,error:d,errorUpdatedAt:p,fetchStatus:m,status:g}=h,y=!1,v=!1;if(t._optimisticResults){let b=this.hasListeners(),w=!b&&eo(e,t),A=b&&ea(e,n,t,i);(w||A)&&(m=N(e.options.networkMode)?"fetching":"paused",f||(g="loading")),"isRestoring"===t._optimisticResults&&(m="idle")}if(t.keepPreviousData&&!h.dataUpdatedAt&&null!=c&&c.isSuccess&&"error"!==g)r=c.data,f=c.dataUpdatedAt,g=c.status,y=!0;else if(t.select&&void 0!==h.data){if(o&&h.data===(null==s?void 0:s.data)&&t.select===this.selectFn)r=this.selectResult;else try{this.selectFn=t.select,r=t.select(h.data),r=S(null==o?void 0:o.data,r,t),this.selectResult=r,this.selectError=null}catch(E){this.selectError=E}}else r=h.data;if(void 0!==t.placeholderData&&void 0===r&&"loading"===g){let k;if(null!=o&&o.isPlaceholderData&&t.placeholderData===(null==a?void 0:a.placeholderData))k=o.data;else if(k="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==k)try{k=t.select(k),this.selectError=null}catch(P){this.selectError=P}void 0!==k&&(g="success",r=S(null==o?void 0:o.data,k,t),v=!0)}this.selectError&&(d=this.selectError,r=this.selectResult,p=Date.now(),g="error");let x="fetching"===m,C="loading"===g,_="error"===g,O={status:g,fetchStatus:m,isLoading:C,isSuccess:"success"===g,isError:_,isInitialLoading:C&&x,data:r,dataUpdatedAt:f,error:d,errorUpdatedAt:p,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>l.dataUpdateCount||h.errorUpdateCount>l.errorUpdateCount,isFetching:x,isRefetching:x&&!C,isLoadingError:_&&0===h.dataUpdatedAt,isPaused:"paused"===m,isPlaceholderData:v,isPreviousData:y,isRefetchError:_&&0!==h.dataUpdatedAt,isStale:eu(e,t),refetch:this.refetch,remove:this.remove};return O}updateResult(e){let t=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,y(r,t))return;this.currentResult=r;let n={cache:!0};(null==e?void 0:e.listeners)!==!1&&(()=>{if(!t)return!0;let{notifyOnChangeProps:e}=this.options,r="function"==typeof e?e():e;if("all"===r||!r&&!this.trackedProps.size)return!0;let n=new Set(null!=r?r:this.trackedProps);return this.options.useErrorBoundary&&n.add("error"),Object.keys(this.currentResult).some(e=>{let r=this.currentResult[e]!==t[e];return r&&n.has(e)})})()&&(n.listeners=!0),this.notify({...n,...e})}updateQuery(){let e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;let t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){let t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||T(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){x.batch(()=>{var t,r,n,i,o,s,a,u;e.onSuccess?(null==(t=(r=this.options).onSuccess)||t.call(r,this.currentResult.data),null==(n=(i=this.options).onSettled)||n.call(i,this.currentResult.data,null)):e.onError&&(null==(o=(s=this.options).onError)||o.call(s,this.currentResult.error),null==(a=(u=this.options).onSettled)||a.call(u,void 0,this.currentResult.error)),e.listeners&&this.listeners.forEach(({listener:e})=>{e(this.currentResult)}),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function eo(e,t){return!1!==t.enabled&&!e.state.dataUpdatedAt&&!("error"===e.state.status&&!1===t.retryOnMount)||e.state.dataUpdatedAt>0&&es(e,t,t.refetchOnMount)}function es(e,t,r){if(!1!==t.enabled){let n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&eu(e,t)}return!1}function ea(e,t,r,n){return!1!==r.enabled&&(e!==t||!1===n.enabled)&&(!r.suspense||"error"!==e.state.status)&&eu(e,r)}function eu(e,t){return e.isStaleByTime(t.staleTime)}function el(e){return e.state.isPaused}function ec(e){return"success"===e.state.status}let eh=["added","removed","updated"];function ef(e){return eh.includes(e)}async function ed({queryClient:e,persister:t,maxAge:r=864e5,buster:n="",hydrateOptions:i}){try{let o=await t.restoreClient();if(o){if(o.timestamp){let s=Date.now()-o.timestamp>r,a=o.buster!==n;s||a?t.removeClient():function(e,t,r){if("object"!=typeof t||null===t)return;let n=e.getMutationCache(),i=e.getQueryCache(),o=t.mutations||[],s=t.queries||[];o.forEach(t=>{var i;n.build(e,{...null==r?void 0:null==(i=r.defaultOptions)?void 0:i.mutations,mutationKey:t.mutationKey},t.state)}),s.forEach(({queryKey:t,state:n,queryHash:o})=>{var s;let a=i.get(o);if(a){if(a.state.dataUpdatedAt{i(e)&&r.push({mutationKey:e.options.mutationKey,state:e.state})})}if(!1!==t.dehydrateQueries){let o=t.shouldDehydrateQuery||ec;e.getQueryCache().getAll().forEach(e=>{o(e)&&n.push({state:e.state,queryKey:e.queryKey,queryHash:e.queryHash})})}return{mutations:r,queries:n}}(e,n)};await t.persistClient(i)}var em=r(97231),eg=r(2984),ey=r(5151),ev=r(52798);let eb=(e,t)=>{let{find:r,replace:n}=t;return e&&r(e)?n(e):"object"!=typeof e?e:Array.isArray(e)?e.map(e=>eb(e,{find:r,replace:n})):e instanceof Object?Object.entries(e).reduce((e,t)=>{let[i,o]=t;return{...e,[i]:eb(o,{find:r,replace:n})}},{}):e};function ew(e){let t=JSON.parse(e),r=eb(t,{find:e=>"BigNumber"===e.type,replace:e=>ey.BigNumber.from(e.hex)});return r}function eA(e,t){return e.slice(0,t).join(".")||"."}function eE(e,t){let{length:r}=e;for(let n=0;n{try{e.setItem(t,n(r));return}catch(i){return i}};return{persistClient:function(e,t=100){let r=null;return function(...n){null===r&&(r=setTimeout(()=>{e(...n),r=null},t))}}(e=>{let t=e,r=a(t),n=0;for(;r&&t;)n++,(t=null==s?void 0:s({persistedClient:t,error:r,errorCount:n}))&&(r=a(t))},r),restoreClient(){let r=e.getItem(t);if(r)return o(r)},removeClient(){e.removeItem(t)}}}return{persistClient:i,restoreClient:()=>void 0,removeClient:i}}({key:"wagmi.cache",storage:window.localStorage,serialize:ek,deserialize:ew}):void 0,...n}=e,o=(0,em.k)(n);return r&&function(e){let t;ed(e).then(()=>{(function(e){let t=e.queryClient.getQueryCache().subscribe(t=>{ef(t.type)&&ep(e)}),r=e.queryClient.getMutationCache().subscribe(t=>{ef(t.type)&&ep(e)});()=>{t(),r()}})(e)})}({queryClient:t,persister:r,dehydrateOptions:{shouldDehydrateQuery:e=>0!==e.cacheTime&&!1!==e.queryKey[0].persist}}),Object.assign(o,{queryClient:t})}let eP=H.createContext(void 0),ex=H.createContext(void 0);function eC(e){let{children:t,client:r}=e;return H.createElement(eP.Provider,{value:r},H.createElement(V,{client:r.queryClient,context:ex},t))}function e_(){let e=H.useContext(eP);if(!e)throw Error("`useClient` must be used within `WagmiConfig`.\n\nRead more: https://wagmi.sh/docs/WagmiConfig");return e}let eO=et.useSyncExternalStore;function eR(e,t,r){let n=c(e,t,r);return function(e,t,r){var n,i;let o=c(e,void 0,void 0),s=J({context:o.context}),[a]=H.useState(()=>new ee(s,o));H.useEffect(()=>{a.setOptions(o)},[a,o]);let u=er(H.useCallback(e=>a.subscribe(x.batchCalls(e)),[a]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),l=H.useCallback((e,t)=>{a.mutate(e,t).catch(en)},[a]);if(u.error&&(n=a.options.useErrorBoundary,i=[u.error],"function"==typeof n?n(...i):!!n))throw u.error;return{...u,mutate:l,mutateAsync:u.mutate}}({context:ex,...n})}let eM=()=>J({context:ex});function eN(){let{chainId:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,ev.useSyncExternalStoreWithSelector)(t=>(0,eg.b0)({chainId:e},t),()=>(0,em.f)({chainId:e}),()=>(0,em.f)({chainId:e}),e=>e,(e,t)=>e.network.chainId===t.network.chainId)}let eI=e=>"object"==typeof e&&!Array.isArray(e);function eT(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:eg.vZ,i=H.useRef([]),o=(0,ev.useSyncExternalStoreWithSelector)(e,t,r,e=>e,(e,t)=>{if(eI(e)&&eI(t)){for(let r of i.current){let o=n(e[r],t[r]);if(!o)return!1}return!0}return n(e,t)});if(eI(o)){let s={...o};return Object.defineProperties(s,Object.entries(s).reduce((e,t)=>{let[r,n]=t;return{...e,[r]:{configurable:!1,enumerable:!0,get:()=>(i.current.includes(r)||i.current.push(r),n)}}},{})),s}return o}function eB(){var e,t,r;let{onConnect:n,onDisconnect:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=eT(eg.uH,eg.D0),s=H.useRef();return n&&(null===(e=s.current)||void 0===e?void 0:e.status)!=="connected"&&"connected"===o.status&&n({address:o.address,connector:o.connector,isReconnected:(null===(t=s.current)||void 0===t?void 0:t.status)==="reconnecting"}),i&&(null===(r=s.current)||void 0===r?void 0:r.status)=="connected"&&"disconnected"===o.status&&i(),s.current=o,o}let eL=e=>[{entity:"connect",...e}],eF=e=>{let{connector:t,chainId:r}=e;if(!t)throw Error("connector is required");return(0,eg.$j)({connector:t,chainId:r})};function eD(){let{chainId:e,connector:t,onError:r,onMutate:n,onSettled:i,onSuccess:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=e_(),{data:a,error:u,isError:l,isIdle:c,isLoading:h,isSuccess:f,mutate:d,mutateAsync:p,reset:m,status:g,variables:y}=eR(eL({connector:t,chainId:e}),eF,{onError:r,onMutate:n,onSettled:i,onSuccess:o}),v=H.useCallback(r=>d({chainId:(null==r?void 0:r.chainId)??e,connector:(null==r?void 0:r.connector)??t}),[e,t,d]),b=H.useCallback(r=>p({chainId:(null==r?void 0:r.chainId)??e,connector:(null==r?void 0:r.connector)??t}),[e,t,p]);return{connect:v,connectAsync:b,connectors:s.connectors,data:a,error:u,isError:l,isIdle:c,isLoading:h,isSuccess:f,pendingConnector:null==y?void 0:y.connector,reset:m,status:g,variables:y}}let eU=[{entity:"disconnect"}],ej=()=>(0,eg.zP)();function eq(){let{onError:e,onMutate:t,onSettled:r,onSuccess:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{error:i,isError:o,isIdle:s,isLoading:a,isSuccess:u,mutate:l,mutateAsync:c,reset:h,status:f}=eR(eU,ej,{...e?{onError(t,r,n){e(t,n)}}:{},onMutate:t,...r?{onSettled(e,t,n,i){r(t,i)}}:{},...n?{onSuccess(e,t,r){n(r)}}:{}});return{disconnect:l,disconnectAsync:c,error:i,isError:o,isIdle:s,isLoading:a,isSuccess:u,reset:h,status:f}}function eG(){return eT(eg.QC,eg.Hy)}function eK(e){let{chainId:t}=e;return[{entity:"signer",chainId:t,persist:!1}]}function eH(e){let{queryKey:[{chainId:t}]}=e;return(0,eg.DG)({chainId:t})}function ez(){let{chainId:e,suspense:t,onError:r,onSettled:n,onSuccess:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=function(){let{chainId:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=eN({chainId:e});return t.network.chainId}({chainId:e}),s=function(e,t,r){let n=Array.isArray(e)?"function"==typeof t?{...r,queryKey:e,queryFn:t}:{...t,queryKey:e}:e,i=function(e,t){var r,n;let i=J({context:e.context}),o=Z(),s=X(),a=i.defaultQueryOptions(e);a._optimisticResults=o?"isRestoring":"optimistic",a.onError&&(a.onError=x.batchCalls(a.onError)),a.onSuccess&&(a.onSuccess=x.batchCalls(a.onSuccess)),a.onSettled&&(a.onSettled=x.batchCalls(a.onSettled)),a.suspense&&"number"!=typeof a.staleTime&&(a.staleTime=1e3),(a.suspense||a.useErrorBoundary)&&!s.isReset()&&(a.retryOnMount=!1);let[u]=H.useState(()=>new t(i,a)),l=u.getOptimisticResult(a);if(eO(H.useCallback(e=>o?()=>void 0:u.subscribe(x.batchCalls(e)),[u,o]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),H.useEffect(()=>{s.clearReset()},[s]),H.useEffect(()=>{u.setOptions(a,{listeners:!1})},[a,u]),a.suspense&&l.isLoading&&l.isFetching&&!o)throw u.fetchOptimistic(a).then(e=>{var t,r;let{data:n}=e;null===(t=a.onSuccess)||void 0===t||t.call(a,n),null===(r=a.onSettled)||void 0===r||r.call(a,n,null)}).catch(e=>{var t,r;s.clearReset(),null===(t=a.onError)||void 0===t||t.call(a,e),null===(r=a.onSettled)||void 0===r||r.call(a,void 0,e)});if(l.isError&&!s.isReset()&&!l.isFetching&&(r=a.useErrorBoundary,n=[l.error,u.getCurrentQuery()],"function"==typeof r?r(...n):!!r))throw l.error;let c="loading"===l.status&&"idle"===l.fetchStatus?"idle":l.status,h="loading"===c&&"fetching"===l.fetchStatus;return{...l,defaultedOptions:a,isIdle:"idle"===c,isLoading:h,observer:u,status:c}}({context:ex,...n},ei),o={data:i.data,error:i.error,fetchStatus:i.fetchStatus,isError:i.isError,isFetched:i.isFetched,isFetchedAfterMount:i.isFetchedAfterMount,isFetching:i.isFetching,isIdle:i.isIdle,isLoading:i.isLoading,isRefetching:i.isRefetching,isSuccess:i.isSuccess,refetch:i.refetch,status:i.status,internal:{dataUpdatedAt:i.dataUpdatedAt,errorUpdatedAt:i.errorUpdatedAt,failureCount:i.failureCount,isFetchedAfterMount:i.isFetchedAfterMount,isLoadingError:i.isLoadingError,isPaused:i.isPaused,isPlaceholderData:i.isPlaceholderData,isPreviousData:i.isPreviousData,isRefetchError:i.isRefetchError,isStale:i.isStale,remove:i.remove}};return i.defaultedOptions.notifyOnChangeProps?o:function(e,t){let r={};return Object.keys(e).forEach(n=>{Object.defineProperty(r,n,{configurable:!1,enumerable:!0,get:()=>(t.trackedProps.add(n),e[n])})}),r}(o,i.observer)}(eK({chainId:o}),eH,{cacheTime:0,staleTime:1/0,suspense:t,onError:r,onSettled:n,onSuccess:i}),a=eM();return H.useEffect(()=>{let e=(0,eg.rn)({chainId:o},e=>a.setQueryData(eK({chainId:o}),e));return e},[a,o]),s}function eQ(e){let{domain:t,types:r,value:n}=e;if(!t)throw Error("domain is required");if(!r)throw Error("types is required");if(!n)throw Error("value is required");return(0,eg.xq)({domain:t,types:r,value:n})}function eW(){let{domain:e,types:t,value:r,onError:n,onMutate:i,onSettled:o,onSuccess:s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{data:a,error:u,isError:l,isIdle:c,isLoading:h,isSuccess:f,mutate:d,mutateAsync:p,reset:m,status:g,variables:y}=eR(function(e){let{domain:t,types:r,value:n}=e;return[{entity:"signTypedData",domain:t,types:r,value:n}]}({domain:e,types:t,value:r}),eQ,{onError:n,onMutate:i,onSettled:o,onSuccess:s}),v=H.useCallback(n=>d({domain:(null==n?void 0:n.domain)??e,types:(null==n?void 0:n.types)??t,value:(null==n?void 0:n.value)??r}),[e,t,r,d]),b=H.useCallback(n=>p({domain:(null==n?void 0:n.domain)??e,types:(null==n?void 0:n.types)??t,value:(null==n?void 0:n.value)??r}),[e,t,r,p]);return{data:a,error:u,isError:l,isIdle:c,isLoading:h,isSuccess:f,reset:m,signTypedData:v,signTypedDataAsync:b,status:g,variables:y}}let eJ=e=>[{entity:"switchNetwork",...e}],eV=e=>{let{chainId:t}=e;if(!t)throw Error("chainId is required");return(0,eg.If)({chainId:t})};function eY(){var e;let t,r;let{chainId:n,throwForSwitchChainNotSupported:i,onError:o,onMutate:s,onSettled:a,onSuccess:u}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=e_(),c=function(){let[,e]=H.useReducer(e=>e+1,0);return e}(),{data:h,error:f,isError:d,isIdle:p,isLoading:m,isSuccess:g,mutate:y,mutateAsync:v,reset:b,status:w,variables:A}=eR(eJ({chainId:n}),eV,{onError:o,onMutate:s,onSettled:a,onSuccess:u}),E=H.useCallback(e=>y({chainId:e??n}),[n,y]),k=H.useCallback(e=>v({chainId:e??n}),[n,v]);H.useEffect(()=>{let e=l.subscribe(e=>{let{chains:t,connector:r}=e;return{chains:t,connector:r}},c);return e},[l,c]);let S=!!(null!==(e=l.connector)&&void 0!==e&&e.switchChain);return(i||S)&&(t=E,r=k),{chains:l.chains??[],data:h,error:f,isError:d,isIdle:p,isLoading:m,isSuccess:g,pendingChainId:null==A?void 0:A.chainId,reset:b,status:w,switchNetwork:t,switchNetworkAsync:r,variables:A}}function eZ(){let{address:e,abi:t,signerOrProvider:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return H.useMemo(()=>e&&t?(0,eg.uN)({address:e,abi:t,signerOrProvider:null===r?void 0:r}):null,[e,t,r])}},46601:function(){}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(6840),t(80880)}),_N_E=e.O()}]); \ No newline at end of file + */ var n=r(67294),i=r(61688),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=i.useSyncExternalStore,a=n.useRef,u=n.useEffect,l=n.useMemo,c=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var h=a(null);if(null===h.current){var f={hasValue:!1,value:null};h.current=f}else f=h.current;h=l(function(){function e(e){if(!u){if(u=!0,s=e,e=n(e),void 0!==i&&f.hasValue){var t=f.value;if(i(t,e))return a=t}return a=e}if(t=a,o(s,e))return t;var r=n(e);return void 0!==i&&i(t,r)?t:(s=e,a=r)}var s,a,u=!1,l=void 0===r?null:r;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]},[t,r,n,i]);var d=s(e,h[0],h[1]);return u(function(){f.hasValue=!0,f.value=d},[d]),c(d),d}},61688:function(e,t,r){"use strict";e.exports=r(53250)},52798:function(e,t,r){"use strict";e.exports=r(50139)},38109:function(e,t,r){"use strict";let n;function i(){}r.d(t,{eM:function(){return eC},eI:function(){return eS},mA:function(){return eB},$4:function(){return eD},cq:function(){return eZ},qL:function(){return eq},LN:function(){return eG},yL:function(){return eN},yw:function(){return eW},mx:function(){return ez},g0:function(){return eY}});let o="undefined"==typeof window||"Deno"in window;function s(){}function a(e){return"number"==typeof e&&e>=0&&e!==1/0}function u(e,t){return Math.max(e+(t||0)-Date.now(),0)}function l(e,t,r){return A(e)?"function"==typeof t?{...r,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function c(e,t,r){return A(e)?"function"==typeof t?{...r,mutationKey:e,mutationFn:t}:{...t,mutationKey:e}:"function"==typeof e?{...t,mutationFn:e}:{...e}}function h(e,t,r){return A(e)?[{...t,queryKey:e},r]:[e||{},t]}function f(e,t){let{type:r="all",exact:n,fetchStatus:i,predicate:o,queryKey:s,stale:a}=e;if(A(s)){if(n){if(t.queryHash!==p(s,t.options))return!1}else{if(!g(t.queryKey,s))return!1}}if("all"!==r){let u=t.isActive();if("active"===r&&!u||"inactive"===r&&u)return!1}return("boolean"!=typeof a||t.isStale()===a)&&(void 0===i||i===t.state.fetchStatus)&&(!o||!!o(t))}function d(e,t){let{exact:r,fetching:n,predicate:i,mutationKey:o}=e;if(A(o)){if(!t.options.mutationKey)return!1;if(r){if(m(t.options.mutationKey)!==m(o))return!1}else{if(!g(t.options.mutationKey,o))return!1}}return("boolean"!=typeof n||"loading"===t.state.status===n)&&(!i||!!i(t))}function p(e,t){let r=(null==t?void 0:t.queryKeyHashFn)||m;return r(e)}function m(e){return JSON.stringify(e,(e,t)=>b(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function g(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&!Object.keys(t).some(r=>!g(e[r],t[r]))}function y(e,t){if(e&&!t||t&&!e)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0}function v(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function b(e){if(!w(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!(w(r)&&r.hasOwnProperty("isPrototypeOf"))}function w(e){return"[object Object]"===Object.prototype.toString.call(e)}function A(e){return Array.isArray(e)}function E(e){return new Promise(t=>{setTimeout(t,e)})}function k(e){E(0).then(e)}function S(e,t,r){return null!=r.isDataEqual&&r.isDataEqual(e,t)?e:"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?function e(t,r){if(t===r)return t;let n=v(t)&&v(r);if(n||b(t)&&b(r)){let i=n?t.length:Object.keys(t).length,o=n?r:Object.keys(r),s=o.length,a=n?[]:{},u=0;for(let l=0;l{e()},n=e=>{e()},i=e=>{let r;t++;try{r=e()}finally{--t||a()}return r},o=n=>{t?e.push(n):k(()=>{r(n)})},s=e=>(...t)=>{o(()=>{e(...t)})},a=()=>{let t=e;e=[],t.length&&k(()=>{n(()=>{t.forEach(e=>{r(e)})})})},u=e=>{r=e},l=e=>{n=e};return{batch:i,batchCalls:s,schedule:o,setNotifyFunction:u,setBatchNotifyFunction:l}}();class C{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){let t={listener:e};return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}let _=new class extends C{constructor(){super(),this.setup=e=>{if(!o&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.cleanup)||e.call(this),this.cleanup=void 0}}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){let t=this.focused!==e;t&&(this.focused=e,this.onFocus())}onFocus(){this.listeners.forEach(({listener:e})=>{e()})}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}},O=["online","offline"],R=new class extends C{constructor(){super(),this.setup=e=>{if(!o&&window.addEventListener){let t=()=>e();return O.forEach(e=>{window.addEventListener(e,t,!1)}),()=>{O.forEach(e=>{window.removeEventListener(e,t)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.cleanup)||e.call(this),this.cleanup=void 0}}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(e=>{"boolean"==typeof e?this.setOnline(e):this.onOnline()})}setOnline(e){let t=this.online!==e;t&&(this.online=e,this.onOnline())}onOnline(){this.listeners.forEach(({listener:e})=>{e()})}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}};function M(e){return Math.min(1e3*2**e,3e4)}function N(e){return(null!=e?e:"online")!=="online"||R.isOnline()}class I{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}}function T(e){return e instanceof I}function B(e){let t,r,n,i=!1,o=0,s=!1,a=new Promise((e,t)=>{r=e,n=t}),u=t=>{s||(d(new I(t)),null==e.abort||e.abort())},l=()=>{i=!0},c=()=>{i=!1},h=()=>!_.isFocused()||"always"!==e.networkMode&&!R.isOnline(),f=n=>{s||(s=!0,null==e.onSuccess||e.onSuccess(n),null==t||t(),r(n))},d=r=>{s||(s=!0,null==e.onError||e.onError(r),null==t||t(),n(r))},p=()=>new Promise(r=>{t=e=>{let t=s||!h();return t&&r(e),t},null==e.onPause||e.onPause()}).then(()=>{t=void 0,s||null==e.onContinue||e.onContinue()}),m=()=>{let t;if(!s){try{t=e.fn()}catch(r){t=Promise.reject(r)}Promise.resolve(t).then(f).catch(t=>{var r,n;if(s)return;let a=null!=(r=e.retry)?r:3,u=null!=(n=e.retryDelay)?n:M,l="function"==typeof u?u(o,t):u,c=!0===a||"number"==typeof a&&o{if(h())return p()}).then(()=>{i?d(t):m()})})}};return N(e.networkMode)?m():p().then(m),{promise:a,cancel:u,continue(){let e=null==t?void 0:t();return e?a:Promise.resolve()},cancelRetry:l,continueRetry:c}}class L{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),a(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:o?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class F extends L{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||P,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||function(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(e,t){let r=S(this.state.data,e,this.options);return this.dispatch({data:r,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),r}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;let r=this.promise;return null==(t=this.retryer)||t.cancel(e),r?r.then(s).catch(s):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(e=>!1!==e.options.enabled)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(e=>e.getCurrentResult().isStale)}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!u(this.state.dataUpdatedAt,e)}onFocus(){var e;let t=this.observers.find(e=>e.shouldFetchOnWindowFocus());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}onOnline(){var e;let t=this.observers.find(e=>e.shouldFetchOnReconnect());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var r,n,i,o;if("idle"!==this.state.fetchStatus){if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise)return null==(i=this.retryer)||i.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){let s=this.observers.find(e=>e.options.queryFn);s&&this.setOptions(s.options)}let a=function(){if("function"==typeof AbortController)return new AbortController}(),u={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};l(u);let c=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(u)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),h={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:c};l(h),null==(r=this.options.behavior)||r.onFetch(h),this.revertState=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(n=h.fetchOptions)?void 0:n.meta))&&this.dispatch({type:"fetch",meta:null==(o=h.fetchOptions)?void 0:o.meta});let f=e=>{if(T(e)&&e.silent||this.dispatch({type:"error",error:e}),!T(e)){var t,r,n,i;null==(t=(r=this.cache.config).onError)||t.call(r,e,this),null==(n=(i=this.cache.config).onSettled)||n.call(i,this.state.data,e,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=B({fn:h.fetchFn,abort:null==a?void 0:a.abort.bind(a),onSuccess:e=>{var t,r,n,i;if(void 0===e){f(Error(this.queryHash+" data is undefined"));return}this.setData(e),null==(t=(r=this.cache.config).onSuccess)||t.call(r,e,this),null==(n=(i=this.cache.config).onSettled)||n.call(i,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:f,onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){this.state=(t=>{var r,n;switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(r=e.meta)?r:null,fetchStatus:N(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(n=e.dataUpdatedAt)?n:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let i=e.error;if(T(i)&&i.revert&&this.revertState)return{...this.revertState,fetchStatus:"idle"};return{...t,error:i,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),x.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate(e)}),this.cache.notify({query:this,type:"updated",action:e})})}}class D extends C{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,r){var n;let i=t.queryKey,o=null!=(n=t.queryHash)?n:p(i,t),s=this.get(o);return s||(s=new F({cache:this,logger:e.getLogger(),queryKey:i,queryHash:o,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(i)}),this.add(s)),s}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){let t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter(t=>t!==e),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){x.batch(()=>{this.queries.forEach(e=>{this.remove(e)})})}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){let[r]=h(e,t);return void 0===r.exact&&(r.exact=!0),this.queries.find(e=>f(r,e))}findAll(e,t){let[r]=h(e,t);return Object.keys(r).length>0?this.queries.filter(e=>f(r,e)):this.queries}notify(e){x.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}onFocus(){x.batch(()=>{this.queries.forEach(e=>{e.onFocus()})})}onOnline(){x.batch(()=>{this.queries.forEach(e=>{e.onOnline()})})}}class U extends L{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||P,this.observers=[],this.state=e.state||j(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter(t=>t!==e),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,t;return null!=(e=null==(t=this.retryer)?void 0:t.continue())?e:this.execute()}async execute(){var e,t,r,n,i,o,s,a,u,l,c,h,f,d,p,m,g,y,v,b;let w="loading"===this.state.status;try{if(!w){this.dispatch({type:"loading",variables:this.options.variables}),await (null==(u=(l=this.mutationCache.config).onMutate)?void 0:u.call(l,this.state.variables,this));let A=await (null==(c=(h=this.options).onMutate)?void 0:c.call(h,this.state.variables));A!==this.state.context&&this.dispatch({type:"loading",context:A,variables:this.state.variables})}let E=await (()=>{var e;return this.retryer=B({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise})();return await (null==(e=(t=this.mutationCache.config).onSuccess)?void 0:e.call(t,E,this.state.variables,this.state.context,this)),await (null==(r=(n=this.options).onSuccess)?void 0:r.call(n,E,this.state.variables,this.state.context)),await (null==(i=(o=this.mutationCache.config).onSettled)?void 0:i.call(o,E,null,this.state.variables,this.state.context,this)),await (null==(s=(a=this.options).onSettled)?void 0:s.call(a,E,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:E}),E}catch(k){try{throw await (null==(f=(d=this.mutationCache.config).onError)?void 0:f.call(d,k,this.state.variables,this.state.context,this)),await (null==(p=(m=this.options).onError)?void 0:p.call(m,k,this.state.variables,this.state.context)),await (null==(g=(y=this.mutationCache.config).onSettled)?void 0:g.call(y,void 0,k,this.state.variables,this.state.context,this)),await (null==(v=(b=this.options).onSettled)?void 0:v.call(b,void 0,k,this.state.variables,this.state.context)),k}finally{this.dispatch({type:"error",error:k})}}}dispatch(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"loading":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!N(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...t,...e.state}}})(this.state),x.batch(()=>{this.observers.forEach(t=>{t.onMutationUpdate(e)}),this.mutationCache.notify({mutation:this,type:"updated",action:e})})}}function j(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class q extends C{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,r){let n=new U({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:r,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(n),n}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter(t=>t!==e),this.notify({type:"removed",mutation:e})}clear(){x.batch(()=>{this.mutations.forEach(e=>{this.remove(e)})})}getAll(){return this.mutations}find(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find(t=>d(e,t))}findAll(e){return this.mutations.filter(t=>d(e,t))}notify(e){x.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}resumePausedMutations(){var e;return this.resuming=(null!=(e=this.resuming)?e:Promise.resolve()).then(()=>{let e=this.mutations.filter(e=>e.state.isPaused);return x.batch(()=>e.reduce((e,t)=>e.then(()=>t.continue().catch(s)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}function G(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}class K{constructor(e={}){this.queryCache=e.queryCache||new D,this.mutationCache=e.mutationCache||new q,this.logger=e.logger||P,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=_.subscribe(()=>{_.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=R.subscribe(()=>{R.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var e,t;this.mountCount--,0===this.mountCount&&(null==(e=this.unsubscribeFocus)||e.call(this),this.unsubscribeFocus=void 0,null==(t=this.unsubscribeOnline)||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){let[r]=h(e,t);return r.fetchStatus="fetching",this.queryCache.findAll(r).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var r;return null==(r=this.queryCache.find(e,t))?void 0:r.state.data}ensureQueryData(e,t,r){let n=l(e,t,r),i=this.getQueryData(n.queryKey);return i?Promise.resolve(i):this.fetchQuery(n)}getQueriesData(e){return this.getQueryCache().findAll(e).map(({queryKey:e,state:t})=>{let r=t.data;return[e,r]})}setQueryData(e,t,r){let n=this.queryCache.find(e),i=null==n?void 0:n.state.data,o="function"==typeof t?t(i):t;if(void 0===o)return;let s=l(e),a=this.defaultQueryOptions(s);return this.queryCache.build(this,a).setData(o,{...r,manual:!0})}setQueriesData(e,t,r){return x.batch(()=>this.getQueryCache().findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e,t){var r;return null==(r=this.queryCache.find(e,t))?void 0:r.state}removeQueries(e,t){let[r]=h(e,t),n=this.queryCache;x.batch(()=>{n.findAll(r).forEach(e=>{n.remove(e)})})}resetQueries(e,t,r){let[n,i]=h(e,t,r),o=this.queryCache,s={type:"active",...n};return x.batch(()=>(o.findAll(n).forEach(e=>{e.reset()}),this.refetchQueries(s,i)))}cancelQueries(e,t,r){let[n,i={}]=h(e,t,r);void 0===i.revert&&(i.revert=!0);let o=x.batch(()=>this.queryCache.findAll(n).map(e=>e.cancel(i)));return Promise.all(o).then(s).catch(s)}invalidateQueries(e,t,r){let[n,i]=h(e,t,r);return x.batch(()=>{var e,t;if(this.queryCache.findAll(n).forEach(e=>{e.invalidate()}),"none"===n.refetchType)return Promise.resolve();let r={...n,type:null!=(e=null!=(t=n.refetchType)?t:n.type)?e:"active"};return this.refetchQueries(r,i)})}refetchQueries(e,t,r){let[n,i]=h(e,t,r),o=x.batch(()=>this.queryCache.findAll(n).filter(e=>!e.isDisabled()).map(e=>{var t;return e.fetch(void 0,{...i,cancelRefetch:null==(t=null==i?void 0:i.cancelRefetch)||t,meta:{refetchPage:n.refetchPage}})})),a=Promise.all(o).then(s);return null!=i&&i.throwOnError||(a=a.catch(s)),a}fetchQuery(e,t,r){let n=l(e,t,r),i=this.defaultQueryOptions(n);void 0===i.retry&&(i.retry=!1);let o=this.queryCache.build(this,i);return o.isStaleByTime(i.staleTime)?o.fetch(i):Promise.resolve(o.state.data)}prefetchQuery(e,t,r){return this.fetchQuery(e,t,r).then(s).catch(s)}fetchInfiniteQuery(e,t,r){let n=l(e,t,r);return n.behavior={onFetch(e){e.fetchFn=()=>{var t,r,n,i,o,s,a;let u;let l=null==(t=e.fetchOptions)?void 0:null==(r=t.meta)?void 0:r.refetchPage,c=null==(n=e.fetchOptions)?void 0:null==(i=n.meta)?void 0:i.fetchMore,h=null==c?void 0:c.pageParam,f=(null==c?void 0:c.direction)==="forward",d=(null==c?void 0:c.direction)==="backward",p=(null==(o=e.state.data)?void 0:o.pages)||[],m=(null==(s=e.state.data)?void 0:s.pageParams)||[],g=m,y=!1,v=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get(){var t,r;return null!=(t=e.signal)&&t.aborted?y=!0:null==(r=e.signal)||r.addEventListener("abort",()=>{y=!0}),e.signal}})},b=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),w=(e,t,r,n)=>(g=n?[t,...g]:[...g,t],n?[r,...e]:[...e,r]),A=(t,r,n,i)=>{if(y)return Promise.reject("Cancelled");if(void 0===n&&!r&&t.length)return Promise.resolve(t);let o={queryKey:e.queryKey,pageParam:n,meta:e.options.meta};v(o);let s=b(o),a=Promise.resolve(s).then(e=>w(t,n,e,i));return a};if(p.length){if(f){let E=void 0!==h,k=E?h:G(e.options,p);u=A(p,E,k)}else if(d){let S=void 0!==h,P=S?h:null==(a=e.options).getPreviousPageParam?void 0:a.getPreviousPageParam(p[0],p);u=A(p,S,P,!0)}else{g=[];let x=void 0===e.options.getNextPageParam,C=!l||!p[0]||l(p[0],0,p);u=C?A([],x,m[0]):Promise.resolve(w([],m[0],p[0]));for(let _=1;_{let r=!l||!p[_]||l(p[_],_,p);if(r){let n=x?m[_]:G(e.options,t);return A(t,x,n)}return Promise.resolve(w(t,m[_],p[_]))})}}else u=A([]);let O=u.then(e=>({pages:e,pageParams:g}));return O}}},this.fetchQuery(n)}prefetchInfiniteQuery(e,t,r){return this.fetchInfiniteQuery(e,t,r).then(s).catch(s)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){let r=this.queryDefaults.find(t=>m(e)===m(t.queryKey));r?r.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;let t=this.queryDefaults.find(t=>g(e,t.queryKey));return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){let r=this.mutationDefaults.find(t=>m(e)===m(t.mutationKey));r?r.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;let t=this.mutationDefaults.find(t=>g(e,t.mutationKey));return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;let t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=p(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}var H=r(67294);let z=H.createContext(void 0),Q=H.createContext(!1);function W(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=z),window.ReactQueryClientContext):z)}let J=({context:e}={})=>{let t=H.useContext(W(e,H.useContext(Q)));if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},V=({client:e,children:t,context:r,contextSharing:n=!1})=>{H.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);let i=W(r,n);return H.createElement(Q.Provider,{value:!r&&n},H.createElement(i.Provider,{value:e},t))},Y=H.createContext(!1),Z=()=>H.useContext(Y);Y.Provider;let $=H.createContext((n=!1,{clearReset(){n=!1},reset(){n=!0},isReset:()=>n})),X=()=>H.useContext($);class ee extends C{constructor(e,t){super(),this.client=e,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;let r=this.options;this.options=this.client.defaultMutationOptions(e),y(r,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(t=this.currentMutation)||t.setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.currentMutation)||e.removeObserver(this)}}onMutationUpdate(e){this.updateResult();let t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==e?e:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){let e=this.currentMutation?this.currentMutation.state:j(),t={...e,isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset};this.currentResult=t}notify(e){x.batch(()=>{if(this.mutateOptions&&this.hasListeners()){var t,r,n,i,o,s,a,u;e.onSuccess?(null==(t=(r=this.mutateOptions).onSuccess)||t.call(r,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(n=(i=this.mutateOptions).onSettled)||n.call(i,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)):e.onError&&(null==(o=(s=this.mutateOptions).onError)||o.call(s,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(a=(u=this.mutateOptions).onSettled)||a.call(u,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context))}e.listeners&&this.listeners.forEach(({listener:e})=>{e(this.currentResult)})})}}var et=r(61688);let er=et.useSyncExternalStore;function en(){}class ei extends C{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),eo(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return es(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return es(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){let r=this.options,n=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),y(r,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=r.queryKey),this.updateQuery();let i=this.hasListeners();i&&ea(this.currentQuery,n,this.options,r)&&this.executeFetch(),this.updateResult(t),i&&(this.currentQuery!==n||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&this.updateStaleTimeout();let o=this.computeRefetchInterval();i&&(this.currentQuery!==n||this.options.enabled!==r.enabled||o!==this.currentRefetchInterval)&&this.updateRefetchInterval(o)}getOptimisticResult(e){let t=this.client.getQueryCache().build(this.client,e),r=this.createResult(t,e);return e.keepPreviousData||(void 0!==e.placeholderData?!r.isPlaceholderData:y(this.getCurrentResult(),r))||(this.currentResult=r,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),r}getCurrentResult(){return this.currentResult}trackResult(e){let t={};return Object.keys(e).forEach(r=>{Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(r),e[r])})}),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){let t=this.client.defaultQueryOptions(e),r=this.client.getQueryCache().build(this.client,t);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,t))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(s)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),o||this.currentResult.isStale||!a(this.options.staleTime))return;let e=u(this.currentResult.dataUpdatedAt,this.options.staleTime);this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},e+1)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!o&&!1!==this.options.enabled&&a(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||_.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){let r;let n=this.currentQuery,i=this.options,o=this.currentResult,s=this.currentResultState,a=this.currentResultOptions,u=e!==n,l=u?e.state:this.currentQueryInitialState,c=u?this.currentResult:this.previousQueryResult,{state:h}=e,{dataUpdatedAt:f,error:d,errorUpdatedAt:p,fetchStatus:m,status:g}=h,y=!1,v=!1;if(t._optimisticResults){let b=this.hasListeners(),w=!b&&eo(e,t),A=b&&ea(e,n,t,i);(w||A)&&(m=N(e.options.networkMode)?"fetching":"paused",f||(g="loading")),"isRestoring"===t._optimisticResults&&(m="idle")}if(t.keepPreviousData&&!h.dataUpdatedAt&&null!=c&&c.isSuccess&&"error"!==g)r=c.data,f=c.dataUpdatedAt,g=c.status,y=!0;else if(t.select&&void 0!==h.data){if(o&&h.data===(null==s?void 0:s.data)&&t.select===this.selectFn)r=this.selectResult;else try{this.selectFn=t.select,r=t.select(h.data),r=S(null==o?void 0:o.data,r,t),this.selectResult=r,this.selectError=null}catch(E){this.selectError=E}}else r=h.data;if(void 0!==t.placeholderData&&void 0===r&&"loading"===g){let k;if(null!=o&&o.isPlaceholderData&&t.placeholderData===(null==a?void 0:a.placeholderData))k=o.data;else if(k="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==k)try{k=t.select(k),this.selectError=null}catch(P){this.selectError=P}void 0!==k&&(g="success",r=S(null==o?void 0:o.data,k,t),v=!0)}this.selectError&&(d=this.selectError,r=this.selectResult,p=Date.now(),g="error");let x="fetching"===m,C="loading"===g,_="error"===g,O={status:g,fetchStatus:m,isLoading:C,isSuccess:"success"===g,isError:_,isInitialLoading:C&&x,data:r,dataUpdatedAt:f,error:d,errorUpdatedAt:p,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>l.dataUpdateCount||h.errorUpdateCount>l.errorUpdateCount,isFetching:x,isRefetching:x&&!C,isLoadingError:_&&0===h.dataUpdatedAt,isPaused:"paused"===m,isPlaceholderData:v,isPreviousData:y,isRefetchError:_&&0!==h.dataUpdatedAt,isStale:eu(e,t),refetch:this.refetch,remove:this.remove};return O}updateResult(e){let t=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,y(r,t))return;this.currentResult=r;let n={cache:!0};(null==e?void 0:e.listeners)!==!1&&(()=>{if(!t)return!0;let{notifyOnChangeProps:e}=this.options,r="function"==typeof e?e():e;if("all"===r||!r&&!this.trackedProps.size)return!0;let n=new Set(null!=r?r:this.trackedProps);return this.options.useErrorBoundary&&n.add("error"),Object.keys(this.currentResult).some(e=>{let r=this.currentResult[e]!==t[e];return r&&n.has(e)})})()&&(n.listeners=!0),this.notify({...n,...e})}updateQuery(){let e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;let t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){let t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||T(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){x.batch(()=>{var t,r,n,i,o,s,a,u;e.onSuccess?(null==(t=(r=this.options).onSuccess)||t.call(r,this.currentResult.data),null==(n=(i=this.options).onSettled)||n.call(i,this.currentResult.data,null)):e.onError&&(null==(o=(s=this.options).onError)||o.call(s,this.currentResult.error),null==(a=(u=this.options).onSettled)||a.call(u,void 0,this.currentResult.error)),e.listeners&&this.listeners.forEach(({listener:e})=>{e(this.currentResult)}),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function eo(e,t){return!1!==t.enabled&&!e.state.dataUpdatedAt&&!("error"===e.state.status&&!1===t.retryOnMount)||e.state.dataUpdatedAt>0&&es(e,t,t.refetchOnMount)}function es(e,t,r){if(!1!==t.enabled){let n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&eu(e,t)}return!1}function ea(e,t,r,n){return!1!==r.enabled&&(e!==t||!1===n.enabled)&&(!r.suspense||"error"!==e.state.status)&&eu(e,r)}function eu(e,t){return e.isStaleByTime(t.staleTime)}function el(e){return e.state.isPaused}function ec(e){return"success"===e.state.status}let eh=["added","removed","updated"];function ef(e){return eh.includes(e)}async function ed({queryClient:e,persister:t,maxAge:r=864e5,buster:n="",hydrateOptions:i}){try{let o=await t.restoreClient();if(o){if(o.timestamp){let s=Date.now()-o.timestamp>r,a=o.buster!==n;s||a?t.removeClient():function(e,t,r){if("object"!=typeof t||null===t)return;let n=e.getMutationCache(),i=e.getQueryCache(),o=t.mutations||[],s=t.queries||[];o.forEach(t=>{var i;n.build(e,{...null==r?void 0:null==(i=r.defaultOptions)?void 0:i.mutations,mutationKey:t.mutationKey},t.state)}),s.forEach(({queryKey:t,state:n,queryHash:o})=>{var s;let a=i.get(o);if(a){if(a.state.dataUpdatedAt{i(e)&&r.push({mutationKey:e.options.mutationKey,state:e.state})})}if(!1!==t.dehydrateQueries){let o=t.shouldDehydrateQuery||ec;e.getQueryCache().getAll().forEach(e=>{o(e)&&n.push({state:e.state,queryKey:e.queryKey,queryHash:e.queryHash})})}return{mutations:r,queries:n}}(e,n)};await t.persistClient(i)}var em=r(97231),eg=r(2984),ey=r(5151),ev=r(52798);let eb=(e,t)=>{let{find:r,replace:n}=t;return e&&r(e)?n(e):"object"!=typeof e?e:Array.isArray(e)?e.map(e=>eb(e,{find:r,replace:n})):e instanceof Object?Object.entries(e).reduce((e,t)=>{let[i,o]=t;return{...e,[i]:eb(o,{find:r,replace:n})}},{}):e};function ew(e){let t=JSON.parse(e),r=eb(t,{find:e=>"BigNumber"===e.type,replace:e=>ey.BigNumber.from(e.hex)});return r}function eA(e,t){return e.slice(0,t).join(".")||"."}function eE(e,t){let{length:r}=e;for(let n=0;n{try{e.setItem(t,n(r));return}catch(i){return i}};return{persistClient:function(e,t=100){let r=null;return function(...n){null===r&&(r=setTimeout(()=>{e(...n),r=null},t))}}(e=>{let t=e,r=a(t),n=0;for(;r&&t;)n++,(t=null==s?void 0:s({persistedClient:t,error:r,errorCount:n}))&&(r=a(t))},r),restoreClient(){let r=e.getItem(t);if(r)return o(r)},removeClient(){e.removeItem(t)}}}return{persistClient:i,restoreClient:()=>void 0,removeClient:i}}({key:"wagmi.cache",storage:window.localStorage,serialize:ek,deserialize:ew}):void 0,...n}=e,o=(0,em.k)(n);return r&&function(e){let t;ed(e).then(()=>{(function(e){let t=e.queryClient.getQueryCache().subscribe(t=>{ef(t.type)&&ep(e)}),r=e.queryClient.getMutationCache().subscribe(t=>{ef(t.type)&&ep(e)});()=>{t(),r()}})(e)})}({queryClient:t,persister:r,dehydrateOptions:{shouldDehydrateQuery:e=>0!==e.cacheTime&&!1!==e.queryKey[0].persist}}),Object.assign(o,{queryClient:t})}let eP=H.createContext(void 0),ex=H.createContext(void 0);function eC(e){let{children:t,client:r}=e;return H.createElement(eP.Provider,{value:r},H.createElement(V,{client:r.queryClient,context:ex},t))}function e_(){let e=H.useContext(eP);if(!e)throw Error("`useClient` must be used within `WagmiConfig`.\n\nRead more: https://wagmi.sh/docs/WagmiConfig");return e}let eO=et.useSyncExternalStore;function eR(e,t,r){let n=c(e,t,r);return function(e,t,r){var n,i;let o=c(e,void 0,void 0),s=J({context:o.context}),[a]=H.useState(()=>new ee(s,o));H.useEffect(()=>{a.setOptions(o)},[a,o]);let u=er(H.useCallback(e=>a.subscribe(x.batchCalls(e)),[a]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),l=H.useCallback((e,t)=>{a.mutate(e,t).catch(en)},[a]);if(u.error&&(n=a.options.useErrorBoundary,i=[u.error],"function"==typeof n?n(...i):!!n))throw u.error;return{...u,mutate:l,mutateAsync:u.mutate}}({context:ex,...n})}let eM=()=>J({context:ex});function eN(){let{chainId:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,ev.useSyncExternalStoreWithSelector)(t=>(0,eg.b0)({chainId:e},t),()=>(0,em.f)({chainId:e}),()=>(0,em.f)({chainId:e}),e=>e,(e,t)=>e.network.chainId===t.network.chainId)}let eI=e=>"object"==typeof e&&!Array.isArray(e);function eT(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(e,t)=>(0,eg.vZ)(e,t),i=H.useRef([]),o=(0,ev.useSyncExternalStoreWithSelector)(e,t,r,e=>e,(e,t)=>{if(eI(e)&&eI(t)){for(let r of i.current){let o=n(e[r],t[r]);if(!o)return!1}return!0}return n(e,t)});if(eI(o)){let s={...o};return Object.defineProperties(s,Object.entries(s).reduce((e,t)=>{let[r,n]=t;return{...e,[r]:{configurable:!1,enumerable:!0,get:()=>(i.current.includes(r)||i.current.push(r),n)}}},{})),s}return o}function eB(){var e,t,r;let{onConnect:n,onDisconnect:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=eT(eg.uH,eg.D0),s=H.useRef();return n&&(null===(e=s.current)||void 0===e?void 0:e.status)!=="connected"&&"connected"===o.status&&n({address:o.address,connector:o.connector,isReconnected:(null===(t=s.current)||void 0===t?void 0:t.status)==="reconnecting"}),i&&(null===(r=s.current)||void 0===r?void 0:r.status)=="connected"&&"disconnected"===o.status&&i(),s.current=o,o}let eL=e=>[{entity:"connect",...e}],eF=e=>{let{connector:t,chainId:r}=e;if(!t)throw Error("connector is required");return(0,eg.$j)({connector:t,chainId:r})};function eD(){let{chainId:e,connector:t,onError:r,onMutate:n,onSettled:i,onSuccess:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=e_(),{data:a,error:u,isError:l,isIdle:c,isLoading:h,isSuccess:f,mutate:d,mutateAsync:p,reset:m,status:g,variables:y}=eR(eL({connector:t,chainId:e}),eF,{onError:r,onMutate:n,onSettled:i,onSuccess:o}),v=H.useCallback(r=>d({chainId:(null==r?void 0:r.chainId)??e,connector:(null==r?void 0:r.connector)??t}),[e,t,d]),b=H.useCallback(r=>p({chainId:(null==r?void 0:r.chainId)??e,connector:(null==r?void 0:r.connector)??t}),[e,t,p]);return{connect:v,connectAsync:b,connectors:s.connectors,data:a,error:u,isError:l,isIdle:c,isLoading:h,isSuccess:f,pendingConnector:null==y?void 0:y.connector,reset:m,status:g,variables:y}}let eU=[{entity:"disconnect"}],ej=()=>(0,eg.zP)();function eq(){let{onError:e,onMutate:t,onSettled:r,onSuccess:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{error:i,isError:o,isIdle:s,isLoading:a,isSuccess:u,mutate:l,mutateAsync:c,reset:h,status:f}=eR(eU,ej,{...e?{onError(t,r,n){e(t,n)}}:{},onMutate:t,...r?{onSettled(e,t,n,i){r(t,i)}}:{},...n?{onSuccess(e,t,r){n(r)}}:{}});return{disconnect:l,disconnectAsync:c,error:i,isError:o,isIdle:s,isLoading:a,isSuccess:u,reset:h,status:f}}function eG(){return eT(eg.QC,eg.Hy)}let eK=e=>{let{chainId:t}=e;return[{entity:"signer",chainId:t,persist:!1}]},eH=e=>{let{queryKey:[{chainId:t}]}=e;return(0,eg.DG)({chainId:t})};function ez(){let{chainId:e,suspense:t,onError:r,onSettled:n,onSuccess:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=function(){let{chainId:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=eN({chainId:e});return t.network.chainId}({chainId:e}),s=function(e,t,r){let n=Array.isArray(e)?"function"==typeof t?{...r,queryKey:e,queryFn:t}:{...t,queryKey:e}:e,i=function(e,t){var r,n;let i=J({context:e.context}),o=Z(),s=X(),a=i.defaultQueryOptions(e);a._optimisticResults=o?"isRestoring":"optimistic",a.onError&&(a.onError=x.batchCalls(a.onError)),a.onSuccess&&(a.onSuccess=x.batchCalls(a.onSuccess)),a.onSettled&&(a.onSettled=x.batchCalls(a.onSettled)),a.suspense&&"number"!=typeof a.staleTime&&(a.staleTime=1e3),(a.suspense||a.useErrorBoundary)&&!s.isReset()&&(a.retryOnMount=!1);let[u]=H.useState(()=>new t(i,a)),l=u.getOptimisticResult(a);if(eO(H.useCallback(e=>o?()=>void 0:u.subscribe(x.batchCalls(e)),[u,o]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),H.useEffect(()=>{s.clearReset()},[s]),H.useEffect(()=>{u.setOptions(a,{listeners:!1})},[a,u]),a.suspense&&l.isLoading&&l.isFetching&&!o)throw u.fetchOptimistic(a).then(e=>{var t,r;let{data:n}=e;null===(t=a.onSuccess)||void 0===t||t.call(a,n),null===(r=a.onSettled)||void 0===r||r.call(a,n,null)}).catch(e=>{var t,r;s.clearReset(),null===(t=a.onError)||void 0===t||t.call(a,e),null===(r=a.onSettled)||void 0===r||r.call(a,void 0,e)});if(l.isError&&!s.isReset()&&!l.isFetching&&(r=a.useErrorBoundary,n=[l.error,u.getCurrentQuery()],"function"==typeof r?r(...n):!!r))throw l.error;let c="loading"===l.status&&"idle"===l.fetchStatus?"idle":l.status,h="loading"===c&&"fetching"===l.fetchStatus;return{...l,defaultedOptions:a,isIdle:"idle"===c,isLoading:h,observer:u,status:c}}({context:ex,...n},ei),o={data:i.data,error:i.error,fetchStatus:i.fetchStatus,isError:i.isError,isFetched:i.isFetched,isFetchedAfterMount:i.isFetchedAfterMount,isFetching:i.isFetching,isIdle:i.isIdle,isLoading:i.isLoading,isRefetching:i.isRefetching,isSuccess:i.isSuccess,refetch:i.refetch,status:i.status,internal:{dataUpdatedAt:i.dataUpdatedAt,errorUpdatedAt:i.errorUpdatedAt,failureCount:i.failureCount,isFetchedAfterMount:i.isFetchedAfterMount,isLoadingError:i.isLoadingError,isPaused:i.isPaused,isPlaceholderData:i.isPlaceholderData,isPreviousData:i.isPreviousData,isRefetchError:i.isRefetchError,isStale:i.isStale,remove:i.remove}};return i.defaultedOptions.notifyOnChangeProps?o:function(e,t){let r={};return Object.keys(e).forEach(n=>{Object.defineProperty(r,n,{configurable:!1,enumerable:!0,get:()=>(t.trackedProps.add(n),e[n])})}),r}(o,i.observer)}(eK({chainId:o}),eH,{cacheTime:0,staleTime:1/0,suspense:t,onError:r,onSettled:n,onSuccess:i}),a=eM();return H.useEffect(()=>{let e=(0,eg.rn)({chainId:o},e=>a.setQueryData(eK({chainId:o}),e));return e},[a,o]),s}function eQ(e){let{domain:t,types:r,value:n}=e;if(!t)throw Error("domain is required");if(!r)throw Error("types is required");if(!n)throw Error("value is required");return(0,eg.xq)({domain:t,types:r,value:n})}function eW(){let{domain:e,types:t,value:r,onError:n,onMutate:i,onSettled:o,onSuccess:s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{data:a,error:u,isError:l,isIdle:c,isLoading:h,isSuccess:f,mutate:d,mutateAsync:p,reset:m,status:g,variables:y}=eR(function(e){let{domain:t,types:r,value:n}=e;return[{entity:"signTypedData",domain:t,types:r,value:n}]}({domain:e,types:t,value:r}),eQ,{onError:n,onMutate:i,onSettled:o,onSuccess:s}),v=H.useCallback(n=>d({domain:(null==n?void 0:n.domain)??e,types:(null==n?void 0:n.types)??t,value:(null==n?void 0:n.value)??r}),[e,t,r,d]),b=H.useCallback(n=>p({domain:(null==n?void 0:n.domain)??e,types:(null==n?void 0:n.types)??t,value:(null==n?void 0:n.value)??r}),[e,t,r,p]);return{data:a,error:u,isError:l,isIdle:c,isLoading:h,isSuccess:f,reset:m,signTypedData:v,signTypedDataAsync:b,status:g,variables:y}}let eJ=e=>[{entity:"switchNetwork",...e}],eV=e=>{let{chainId:t}=e;if(!t)throw Error("chainId is required");return(0,eg.If)({chainId:t})};function eY(){var e;let t,r;let{chainId:n,throwForSwitchChainNotSupported:i,onError:o,onMutate:s,onSettled:a,onSuccess:u}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=e_(),c=function(){let[,e]=H.useReducer(e=>e+1,0);return e}(),{data:h,error:f,isError:d,isIdle:p,isLoading:m,isSuccess:g,mutate:y,mutateAsync:v,reset:b,status:w,variables:A}=eR(eJ({chainId:n}),eV,{onError:o,onMutate:s,onSettled:a,onSuccess:u}),E=H.useCallback(e=>y({chainId:e??n}),[n,y]),k=H.useCallback(e=>v({chainId:e??n}),[n,v]);H.useEffect(()=>{let e=l.subscribe(e=>{let{chains:t,connector:r}=e;return{chains:t,connector:r}},c);return e},[l,c]);let S=!!(null!==(e=l.connector)&&void 0!==e&&e.switchChain);return(i||S)&&(t=E,r=k),{chains:l.chains??[],data:h,error:f,isError:d,isIdle:p,isLoading:m,isSuccess:g,pendingChainId:null==A?void 0:A.chainId,reset:b,status:w,switchNetwork:t,switchNetworkAsync:r,variables:A}}function eZ(){let{address:e,abi:t,signerOrProvider:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return H.useMemo(()=>e&&t?(0,eg.uN)({address:e,abi:t,signerOrProvider:null===r?void 0:r}):null,[e,t,r])}},46601:function(){}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(6840),t(80880)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/index-6a59722b3deac200.js b/_next/static/chunks/pages/index-42ed149af0c37c9c.js similarity index 98% rename from _next/static/chunks/pages/index-6a59722b3deac200.js rename to _next/static/chunks/pages/index-42ed149af0c37c9c.js index 74a815f..e392aea 100644 --- a/_next/static/chunks/pages/index-6a59722b3deac200.js +++ b/_next/static/chunks/pages/index-42ed149af0c37c9c.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{48312:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return l(14186)}])},37645:function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let l=n.default,a=(null==t?void 0:t.suspense)?{}:{loading(e){let{error:t,isLoading:l,pastDelay:r}=e;return null}};if(e instanceof Promise?a.loader=()=>e:"function"==typeof e?a.loader=e:"object"==typeof e&&(a=r({},a,e)),(a=r({},a,t)).suspense&&(delete a.ssr,delete a.loading),a.loadableGenerated&&delete(a=r({},a,a.loadableGenerated)).loadableGenerated,"boolean"==typeof a.ssr&&!a.suspense){if(!a.ssr)return delete a.ssr,s(l,a);delete a.ssr}return l(a)},t.noSSR=s;var r=l(6495).Z,a=l(92648).Z,n=(a(l(67294)),a(l(14588)));function s(e,t){return delete t.webpack,delete t.modules,e(t)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},33644:function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoadableContext=void 0;var r=(0,l(92648).Z)(l(67294));let a=r.default.createContext(null);t.LoadableContext=a},14588:function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(6495).Z,a=(0,l(91598).Z)(l(67294)),n=l(33644);let s=[],u=[],o=!1;function i(e){let t=e(),l={loading:!0,loaded:null,error:null};return l.promise=t.then(e=>(l.loading=!1,l.loaded=e,e)).catch(e=>{throw l.loading=!1,l.error=e,e}),l}class d{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state=r({},this._state,{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function c(e){return function(e,t){let l=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null,suspense:!1},t);l.suspense&&(l.lazy=a.default.lazy(l.loader));let s=null;function i(){if(!s){let t=new d(e,l);s={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return s.promise()}if(!o){let c=l.webpack?l.webpack():l.modules;c&&u.push(e=>{for(let t of c)if(-1!==e.indexOf(t))return i()})}function f(){i();let e=a.default.useContext(n.LoadableContext);e&&Array.isArray(l.modules)&&l.modules.forEach(t=>{e(t)})}let _=l.suspense?function(e,t){return f(),a.default.createElement(l.lazy,r({},e,{ref:t}))}:function(e,t){f();let r=a.useSyncExternalStore(s.subscribe,s.getCurrentValue,s.getCurrentValue);return a.default.useImperativeHandle(t,()=>({retry:s.retry}),[]),a.default.useMemo(()=>{var t;return r.loading||r.error?a.default.createElement(l.loading,{isLoading:r.loading,pastDelay:r.pastDelay,timedOut:r.timedOut,error:r.error,retry:s.retry}):r.loaded?a.default.createElement((t=r.loaded)&&t.__esModule?t.default:t,e):null},[e,r])};return _.preload=()=>i(),_.displayName="LoadableComponent",a.default.forwardRef(_)}(i,e)}function f(e,t){let l=[];for(;e.length;){let r=e.pop();l.push(r(t))}return Promise.all(l).then(()=>{if(e.length)return f(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{f(s).then(e,t)}),c.preloadReady=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise(t=>{let l=()=>(o=!0,t());f(u,e).then(l,l)})},window.__NEXT_PRELOADREADY=c.preloadReady,t.default=c},14186:function(e,t,l){"use strict";l.r(t);var r=l(35944),a=l(5152),n=l.n(a);let s=n()(()=>Promise.all([l.e(772),l.e(737),l.e(911),l.e(333),l.e(689),l.e(937),l.e(260),l.e(13),l.e(617),l.e(714),l.e(885),l.e(662),l.e(644),l.e(409),l.e(804),l.e(424)]).then(l.bind(l,39547)),{loadableGenerated:{webpack:()=>[39547]},ssr:!1}),u=()=>(0,r.tZ)(s,{});t.default=u},5152:function(e,t,l){e.exports=l(37645)}},function(e){e.O(0,[774,888,179],function(){return e(e.s=48312)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{48312:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return l(14186)}])},37645:function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let l=n.default,a=(null==t?void 0:t.suspense)?{}:{loading(e){let{error:t,isLoading:l,pastDelay:r}=e;return null}};if(e instanceof Promise?a.loader=()=>e:"function"==typeof e?a.loader=e:"object"==typeof e&&(a=r({},a,e)),(a=r({},a,t)).suspense&&(delete a.ssr,delete a.loading),a.loadableGenerated&&delete(a=r({},a,a.loadableGenerated)).loadableGenerated,"boolean"==typeof a.ssr&&!a.suspense){if(!a.ssr)return delete a.ssr,s(l,a);delete a.ssr}return l(a)},t.noSSR=s;var r=l(6495).Z,a=l(92648).Z,n=(a(l(67294)),a(l(14588)));function s(e,t){return delete t.webpack,delete t.modules,e(t)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},33644:function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoadableContext=void 0;var r=(0,l(92648).Z)(l(67294));let a=r.default.createContext(null);t.LoadableContext=a},14588:function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(6495).Z,a=(0,l(91598).Z)(l(67294)),n=l(33644);let s=[],u=[],o=!1;function i(e){let t=e(),l={loading:!0,loaded:null,error:null};return l.promise=t.then(e=>(l.loading=!1,l.loaded=e,e)).catch(e=>{throw l.loading=!1,l.error=e,e}),l}class d{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state=r({},this._state,{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function c(e){return function(e,t){let l=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null,suspense:!1},t);l.suspense&&(l.lazy=a.default.lazy(l.loader));let s=null;function i(){if(!s){let t=new d(e,l);s={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return s.promise()}if(!o){let c=l.webpack?l.webpack():l.modules;c&&u.push(e=>{for(let t of c)if(-1!==e.indexOf(t))return i()})}function f(){i();let e=a.default.useContext(n.LoadableContext);e&&Array.isArray(l.modules)&&l.modules.forEach(t=>{e(t)})}let _=l.suspense?function(e,t){return f(),a.default.createElement(l.lazy,r({},e,{ref:t}))}:function(e,t){f();let r=a.useSyncExternalStore(s.subscribe,s.getCurrentValue,s.getCurrentValue);return a.default.useImperativeHandle(t,()=>({retry:s.retry}),[]),a.default.useMemo(()=>{var t;return r.loading||r.error?a.default.createElement(l.loading,{isLoading:r.loading,pastDelay:r.pastDelay,timedOut:r.timedOut,error:r.error,retry:s.retry}):r.loaded?a.default.createElement((t=r.loaded)&&t.__esModule?t.default:t,e):null},[e,r])};return _.preload=()=>i(),_.displayName="LoadableComponent",a.default.forwardRef(_)}(i,e)}function f(e,t){let l=[];for(;e.length;){let r=e.pop();l.push(r(t))}return Promise.all(l).then(()=>{if(e.length)return f(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{f(s).then(e,t)}),c.preloadReady=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise(t=>{let l=()=>(o=!0,t());f(u,e).then(l,l)})},window.__NEXT_PRELOADREADY=c.preloadReady,t.default=c},14186:function(e,t,l){"use strict";l.r(t);var r=l(35944),a=l(5152),n=l.n(a);let s=n()(()=>Promise.all([l.e(772),l.e(737),l.e(911),l.e(333),l.e(689),l.e(937),l.e(260),l.e(13),l.e(617),l.e(714),l.e(885),l.e(662),l.e(644),l.e(409),l.e(871),l.e(424)]).then(l.bind(l,39547)),{loadableGenerated:{webpack:()=>[39547]},ssr:!1}),u=()=>(0,r.tZ)(s,{});t.default=u},5152:function(e,t,l){e.exports=l(37645)}},function(e){e.O(0,[774,888,179],function(){return e(e.s=48312)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/webpack-54d18e16a838905d.js b/_next/static/chunks/webpack-bcb0e8bee7e9e058.js similarity index 95% rename from _next/static/chunks/webpack-54d18e16a838905d.js rename to _next/static/chunks/webpack-bcb0e8bee7e9e058.js index 4f7a6d0..b29a141 100644 --- a/_next/static/chunks/webpack-54d18e16a838905d.js +++ b/_next/static/chunks/webpack-bcb0e8bee7e9e058.js @@ -1 +1 @@ -!function(){"use strict";var e,t,n,r,o,u,i,a,c,f,d,l,s={},p={};function b(e){var t=p[e];if(void 0!==t)return t.exports;var n=p[e]={id:e,loaded:!1,exports:{}},r=!0;try{s[e].call(n.exports,n,n.exports,b),r=!1}finally{r&&delete p[e]}return n.loaded=!0,n.exports}b.m=s,b.amdO={},e=[],b.O=function(t,n,r,o){if(n){o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u=o&&Object.keys(b.O).every(function(e){return b.O[e](n[c])})?n.splice(c--,1):(a=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u=o&&Object.keys(b.O).every(function(e){return b.O[e](n[c])})?n.splice(c--,1):(a=!1,oCrust Cloud
\ No newline at end of file +Crust Cloud
\ No newline at end of file