diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..402db8d --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +wuhan2020.kaiyuanshe.cn diff --git a/index.1e3cff34.js b/index.1e3cff34.js new file mode 100644 index 0000000..fa8c284 --- /dev/null +++ b/index.1e3cff34.js @@ -0,0 +1,41 @@ +let e,t,n,r,i,s,a,o,l,c,u,h,f,d,p,m,g,b,y,v,w,x,k,O,_,j,E,S,A,T,N,P,C,I,$,L,R,M,B,D,F,U,z,q,V,W,H,K,G,J,Z,Y,Q,X,ee,et,en,er,ei,es,ea,eo,el,ec,eu,eh,ef,ed,ep,em,eg,eb,ey,ev,ew,ex,ek,eO,e_,ej,eE,eS,eA,eT,eN,eP,eC,eI,e$,eL,eR,eM,eB,eD,eF,eU,ez,eq,eV,eW,eH,eK,eG,eJ,eZ,eY,eQ,eX,e0,e1,e2,e3,e6,e8,e5,e4,e9,e7,te,tt,tn,tr,ti,ts,ta,to,tl,tc,tu,th,tf,td,tp,tm,tg,tb,ty,tv,tw,tx,tk,tO,t_,tj,tE,tS,tA,tT,tN,tP,tC,tI,t$,tL,tR,tM,tB,tD,tF,tU,tz,tq,tV,tW,tH,tK,tG,tJ,tZ,tY,tQ,tX,t0,t1,t2,t3,t6,t8,t5,t4,t9,t7,ne,nt,nn,nr,ni,ns,na,no,nl,nc,nu,nh,nf,nd,np,nm,ng,nb,ny,nv,nw,nx,nk,nO,n_,nj,nE,nS,nA,nT,nN,nP,nC,nI,n$,nL,nR,nM,nB,nD,nF,nU,nz,nq,nV,nW,nH,nK,nG,nJ,nZ,nY,nQ,nX,n0,n1,n2,n3,n6;function n8(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var n5,n4,n9,n7,re,rt,rn,rr,ri,rs,ra,ro,rl,rc,ru,rh,rf,rd,rp,rm,rg,rb,ry,rv,rw,rx,rk,rO,r_,rj,rE,rS,rA,rT,rN,rP,rC,rI,r$,rL,rR,rM,rB,rD,rF,rU,rz,rq,rV,rW,rH,rK,rG,rJ,rZ,rY,rQ,rX,r0,r1,r2,r3,r6,r8,r5,r4,r9,r7,ie,it,ir,ii,is,ia,io,il,ic,iu,ih,id,ip,im,ig,ib,iy,iv,iw,ix,ik,iO,i_,ij,iE,iS,iA,iT,iN,iP,iC,iI,i$,iL,iR,iM,iB,iD,iF,iU,iz,iq,iV,iW,iH,iK,iG,iJ,iZ,iY,iQ,iX,i0,i1,i2,i3,i6,i8,i5,i4,i9,i7,se,st,sn,sr,si,ss,sa,so,sl,sc,su,sh,sf,sd,sp,sm,sg,sb,sy,sv,sw,sx,sk,sO,s_,sj="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};function sE(e){return e&&e.__esModule?e.default:e}var sS={},sA={},sT=sj.parcelRequire951b;null==sT&&((sT=function(e){if(e in sS)return sS[e].exports;if(e in sA){var t=sA[e];delete sA[e];var n={id:e,exports:{}};return sS[e]=n,t.call(n.exports,n,n.exports),n.exports}var r=Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}).register=function(e,t){sA[e]=t},sj.parcelRequire951b=sT);var sN=sT.register;sN("kFeKD",function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.VNode=void 0;var n=function(){var e;function t(e){Object.assign(this,e);var t=e.tagName,n=e.is,r=e.props;(t||(null==r?void 0:r.className)||n)&&(this.selector=[null==t?void 0:t.toLowerCase(),(null==r?void 0:r.className)&&".".concat(r.className.trim().replace(/\s+/,".")),n&&'[is="'.concat(n,'"]')].filter(Boolean).join(""))}return t.fromDOM=function(t){var n=this;if(t instanceof Text)return new e({node:t,text:t.nodeValue});if(!(t instanceof Element))return new e({node:t});var r=t.tagName,i=t.attributes,s=t.style,a=t.childNodes,o={node:t,tagName:r.toLowerCase(),is:t.getAttribute("is")},l=Array.from(i,function(e){var t=e.name,r=e.value;return"style"!==t&&[n.attrsMap[t]||t,r]}).filter(Boolean);l[0]&&(o.props=Object.fromEntries(l));var c=Array.from(s,function(e){return[e,s[e]]});c[0]&&(o.style=Object.fromEntries(c));var u=Array.from(a,function(t){return e.fromDOM(t)});return u[0]&&(o.children=u),new e(o)},e=t,t.propsMap={className:"class",htmlFor:"for"},t.attrsMap=Object.fromEntries(Object.entries(e.propsMap).map(function(e){return e.reverse()})),t}();e.exports.VNode=n}),sN("j8ivL",function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.DOMRenderer=void 0;var n=sT("f0zZF"),r=sT("bP8Tm"),i=sT("kFeKD"),s=function(){function e(){var e=this;this.eventPattern=/^on[A-Z]/,this.ariaPattern=/^aira[A-Z]/,this.treeCache=new WeakMap,this.keyOf=function(e,t){var n=e.key,r=e.text,i=e.props,s=e.selector;return(null==n?void 0:n.toString())||(null==i?void 0:i.id)||(r||s||"")+t},this.vNodeOf=function(t,n){return t.find(function(t,r){return"".concat(e.keyOf(t,r))===String(n)})},this.propsKeyOf=function(t){return t.startsWith("aria-")?(0,r.toCamelCase)(t):e.eventPattern.test(t)?t.toLowerCase():t}}return e.prototype.updateProps=function(e,t,i,s,a){void 0===t&&(t={}),void 0===i&&(i={});for(var o=(0,r.diffKeys)(Object.keys(t),Object.keys(i)).group,l=0,c=o[r.DiffStatus.Old]||[];lt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var i=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function s(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)}function a(e,t,n){if(n||2==arguments.length)for(var r,i=0,s=t.length;iObject.prototype.toString.call(e).slice(8,-1);function c(e,t){return e.prototype instanceof t}function u(e){return/^[\d.]+$/.test(e)&&e.localeCompare(Number.MAX_SAFE_INTEGER+"",void 0,{numeric:!0})>0}function h(e){return e.replace(/[^\u0021-\u007e\uff61-\uffef]/g,"xx").length}function f(e){return e.replace(/[A-Z]+|[^A-Za-z][A-Za-z]/g,(e,t)=>`${t?"-":""}${(e[1]||e[0]).toLowerCase()}`)}function d(e,t=!1){return e.replace(/^[A-Za-z]|[^A-Za-z][A-Za-z]/g,(e,n)=>n||t?(e[1]||e[0]).toUpperCase():e.toLowerCase())}function p(){return(Date.now()+parseInt((Math.random()+"").slice(2))).toString(36)}function m(e,t){return Object.fromEntries(e.map((e,n)=>[t[n],e]))}function g(e,t){let n={};for(let t of e)n[t]=i.Old;for(let e of t)n[e]||=0,n[e]+=i.New;return{map:n,group:x(Object.entries(n),([e,t])=>t)}}function b(e){if(a(e))return!1;let{length:t}=e;return"number"==typeof t&&t>=0&&~~t===t}(r=i||(i={}))[r.Old=-1]="Old",r[r.Same=0]="Same",r[r.New=1]="New";let y=e=>e instanceof Object.getPrototypeOf(Int8Array);function v(e){return e instanceof Array?e:a(e)?[]:b(e)?Array.from(e):[e]}let w=(e,t)=>e.reduce((e,n,r)=>((e[~~(r/t)]||=[])[r%t]=n,e),[]);function x(e,t){let n={};for(let r of e){let e=t instanceof Function?t(r):r[t];for(let t of(e instanceof Array||(e=[e]),new Set(e.filter(e=>null!=e))))(n[t]=n[t]||[]).push(r)}return n}function k(e,t){return Object.fromEntries(Object.entries(x(e,t)).map(([e,{length:t}])=>[e,t]))}function O(e,t){var n;return function(...r){return null!=n||(console.trace(`[Cache] execute: ${t}`),Promise.resolve(n=e.call(this,()=>n=void 0,...r)).then(e=>console.log(`[Cache] refreshed: ${t} => ${e}`),e=>console.error(`[Cache] failed: ${e?.message||e}`))),n}}async function*_(...e){for(var t=e.map(e=>e());t[0];){let e=[];for(let n=0,r;r=t[n];n++){let{done:t,value:i}=await r.next();t?e.push(n):yield i}t=t.filter((t,n)=>!e.includes(n))}}var j={};function E(...e){return e.reduce((e,t)=>e+t,0)}function S(...e){return E(...e)/e.length}function A(e,t=!1){let n=S(...e);return E(...e.map(e=>(e-n)**2))/(e.length-(t?1:0))}function T(e,t=!1){return Math.sqrt(A(e,t))}function N(...e){return Math.sqrt(E(...e.map(e=>e**2)))}function P(e,t){let n=e.toFixed(t+2),r=n.indexOf(".")+t+1,i=e=>e.slice(0,r-(t?0:1));if(!+n.slice(r))return i(n);let s=i((+i(n)+10**-t).toFixed(t));return s.includes(".")?s.padEnd(r,"0"):s}function C(e,t=2){let n=e.toFixed(t+2),r=n.indexOf(".");if(r<0)return t?`${n}.${"0".repeat(t)}`:n;let i=r+t+1,s=+n[i-1],a=+n[i],o=+n[i+1];if(a>5||5===a&&(o||s%2))return P(e,t);let l=n.slice(0,i-(t?0:1));return l.includes(".")?l.padEnd(i,"0"):l}n(j,"sum",function(){return E}),n(j,"averageOf",function(){return S}),n(j,"varianceOf",function(){return A}),n(j,"standardDeviationOf",function(){return T}),n(j,"hypotenuseOf",function(){return N}),n(j,"carryFloat",function(){return P}),n(j,"fixFloat",function(){return C});var I={};n(I,"Second",function(){return $}),n(I,"Minute",function(){return L}),n(I,"Quarter",function(){return R}),n(I,"Hour",function(){return M}),n(I,"Day",function(){return B}),n(I,"Week",function(){return D}),n(I,"Year",function(){return F}),n(I,"Month",function(){return U}),n(I,"Season",function(){return z}),n(I,"diffTime",function(){return V}),n(I,"formatDate",function(){return H}),n(I,"changeMonth",function(){return K});let $=1e3,L=6e4,R=9e5,M=36e5,B=864e5,D=6048e5,F=31536e6,U=2628e6,z=7884e6,q=new Map([["s",$],["m",L],["H",M],["D",B],["W",D],["M",U],["Y",F]]);function V(e,t=new Date,n=q){let r=+new Date(e)-+new Date(t);for(let[e,t]of[...n].reverse()){let n=r/t;if(Math.abs(n)>=1)return{distance:+n.toFixed(0),unit:e}}return{distance:r,unit:"ms"}}function W(e){return e=+e+"",t=>(e.lengtht(n))}catch{return e}}function Z(e){let t=J(e);if("string"!=typeof t)return t;let n=+t;return Number.isNaN(n)||n+""!==t?t:n}function Y(e,t,n=","){let r=e.trim().split(/[\r\n]+/).map(e=>{let t=[];do{let r;if('"'===e[0]||"'"===e[0])r=function(e){let t=e[0],n=e.indexOf(t,1);if(n<0)throw SyntaxError(`A ${t} is missing`);return e.slice(1,n)}(e),e=e.slice(r.length+3);else{let t=e.indexOf(n);t>-1?(r=e.slice(0,t),e=e.slice(t+1)):(r=e,e="")}t.push(Z(r.trim()))}while(e)return t});return t?r.slice(1).map(e=>e.reduce((e,t,n)=>(e[r[0][n]]=t,e),{})):r}n(G,"parseJSON",function(){return J}),n(G,"toJSValue",function(){return Z}),n(G,"parseTextTable",function(){return Y});var Q={};function X(e){return new URL(e,document.baseURI).origin!==location.origin}function ee(e=window.location.search,t=!0){let n=e.split(/\?|#/),r=new URLSearchParams(n[1]||n[0]);return Object.fromEntries([...r.keys()].map(e=>{let n=t?r.getAll(e).map(J):r.getAll(e);return[e,n.length<2?n[0]:n]}))}n(Q,"isXDomain",function(){return X}),n(Q,"parseURLData",function(){return ee}),n(Q,"buildURLData",function(){return en}),n(Q,"blobOf",function(){return er}),n(Q,"blobFrom",function(){return es});let et=e=>"string"==typeof e?e:b(e)?v(e)+"":JSON.stringify(e);function en(e){e instanceof Array||(e=Object.entries(e));let t=e.map(([e,t])=>!o(t)&&[e,et(t)]).filter(Boolean);return new URLSearchParams(t)}async function er(e){return(await fetch(e+"")).blob()}let ei=/^data:(.+?\/(.+?))?(;base64)?,([\s\S]+)/;function es(e){var[t,n,r,i,s]=ei.exec(e)||[];s=i?atob(s):s;let a=new ArrayBuffer(s.length),o=new Uint8Array(a);for(let e=0;s[e];e++)o[e]=s.charCodeAt(e);return new Blob([a],{type:n})}var ea={};n(ea,"makeCRC32",function(){return el}),n(ea,"makeSHA",function(){return ec});let eo=Array.from(Array(256),(e,t)=>{for(var n=0;n<8;n++)t=1&t?t>>1&2147483647^3988292384:t>>1&2147483647;return t});function el(e){var t=4294967295;for(let n of e)t=t>>8&16777215^eo[255&t^n.charCodeAt(0)];return"0x"+((4294967295^t)>>>0).toString(16)}if("object"==typeof self){if("msCrypto"in globalThis){let{subtle:e}=globalThis.crypto=globalThis.msCrypto;for(let t in e){let n=e[t];n instanceof Function&&(e[t]=function(){let e=n.apply(this,arguments);return new Promise((t,n)=>{e.oncomplete=({target:e})=>t(e.result),e.onabort=e.onerror=n})})}}let{crypto:e}=globalThis;!e?.subtle&&e?.webkitSubtle&&(e.subtle=e.webkitSubtle)}async function ec(e,t="SHA-1"){let n=await crypto.subtle.digest(t,new TextEncoder().encode(e));return Array.from(new Uint8Array(n),e=>e.toString(16).padStart(2,"0")).join("")}var eu={};n(eu,"templateOf",function(){return ef}),n(eu,"elementTypeOf",function(){return ed}),n(eu,"isHTMLElementClass",function(){return ep}),n(eu,"tagNameOf",function(){return eg}),n(eu,"isDOMReadOnly",function(){return eb}),n(eu,"parseDOM",function(){return ey}),n(eu,"stringifyDOM",function(){return ev}),n(eu,"walkDOM",function(){return ew}),n(eu,"getVisibleText",function(){return ex}),n(eu,"splitPages",function(){return ek}),n(eu,"importCSS",function(){return eO}),n(eu,"stringifyCSS",function(){return function e(t,n=0,r=" "){let i=r.repeat(n);return Object.entries(t).map(([t,s])=>"object"!=typeof s?`${i}${f(t)}: ${s};`:`${i}${t} { +${e(s,n+1,r)} +${i}}`).join("\n")}}),n(eu,"insertToCursor",function(){return e_}),n(eu,"scrollTo",function(){return ej}),n(eu,"watchScroll",function(){return eE}),n(eu,"watchVisible",function(){return eS}),n(eu,"formToJSON",function(){return eA});let eh={};function ef(e){if(eh[e])return eh[e];let t=document.createElement("template");return t.innerHTML=`<${e} />`,eh[e]=t.content.firstElementChild}function ed(e){let t=ef(e);return t instanceof HTMLElement&&!(t instanceof HTMLUnknownElement)?"html":"xml"}function ep(e){return c(e,HTMLElement)}let em=new WeakMap;function eg(e){let t=em.get(e);if(t)return t;var{tagName:n}=new e;return em.set(e,n=n.toLowerCase()),n}function eb(e,t){let n=[[HTMLLinkElement,["sizes"]],[HTMLIFrameElement,["sandbox"]],[HTMLObjectElement,["form"]],[HTMLInputElement,["form","list"]],[HTMLButtonElement,["form"]],[HTMLSelectElement,["form"]],[HTMLTextAreaElement,["form"]],[HTMLOutputElement,["form"]],[HTMLFieldSetElement,["form"]]],r=ef(e);for(let[e,i]of n)if(r instanceof e&&i.includes(t))return!0;return!1}function ey(e){let t=document.createElement("template");return t.innerHTML=e,[...t.content.childNodes].map(e=>(e.remove(),e))}function ev(e){return new XMLSerializer().serializeToString(e).replace(/ xmlns="http:\/\/www.w3.org\/1999\/xhtml"/g,"")}function*ew(e,t){let n=[...e.childNodes];for(let r of((o(t)||t===e.nodeType)&&(yield e),n))yield*ew(r,t)}function ex(e){var t="";for(let{nodeType:n,parentElement:r,nodeValue:i}of ew(e))if(n===Node.TEXT_NODE&&"true"!==r.getAttribute("aria-hidden")){let{width:e,height:n}=r.getBoundingClientRect();e&&n&&(t+=i.trim().replace(/\s+/g," "))}return t}function ek({offsetWidth:e,children:t},n=841.89,r=595.28){let i=n/r*e;var s=0;return[...t].reduce((e,t)=>{var{offsetTop:n,offsetHeight:r}=t;let a=((n+=s)+r)/i,o=~~a;return~~(n/i)!==o&&(s+=r-a),(e[o]||=[]).push(t),e},[])}function eO(e,{alternate:t,...n}={}){let r=[...document.styleSheets].find(({href:t})=>t===e);if(r)return Promise.resolve(r);let i=document.createElement("link");return new Promise((r,s)=>{i.onload=()=>r(i.sheet),i.onerror=(e,t,n,r,i)=>s(i),Object.assign(i,n),i.rel=(t?"alternate ":"")+"stylesheet",i.href=e,document.head.append(i)})}function e_(...e){let t=document.createDocumentFragment();for(let n of(t.append(...e),ew(t)))(![1,3,11].includes(n.nodeType)||["meta","title","link","script"].includes(n.nodeName.toLowerCase()))&&n.replaceWith(...n.childNodes);let n=globalThis.getSelection();if(!n)return;let r=n.getRangeAt(0);r.deleteContents(),r.insertNode(t)}function ej(e,t,n,r){let[i,s]=/^#(.+)/.exec(e)||[];"top"===s?window.scrollTo({top:0,left:0,behavior:"smooth"}):(t||document).querySelector(s?`[id="${s}"]`:e)?.scrollIntoView({behavior:"smooth",block:n,inline:r})}function eE(e,t,n=6){return Array.from(e.querySelectorAll(Array.from(Array(n),(e,t)=>`h${++t}`)+""),e=>(new IntersectionObserver(([e])=>{if(!e.isIntersecting)return;let n=e.target;t({target:n,links:[...n.ownerDocument.querySelectorAll(`[href="#${n.id}"]`)]})}).observe(e),e.id.trim()||(e.id=e.textContent.trim().replace(/\W+/g,"-")),{level:+e.tagName[1],id:e.id,text:e.textContent.trim()}))}function eS(e,t){var n="visible"===document.visibilityState?1:0;function r(e){(3===e||3===n)&&t(3===e),n=e}new IntersectionObserver(([{isIntersecting:e}])=>r(e?2|n:1&n)).observe(e),document.addEventListener("visibilitychange",()=>r("visible"===document.visibilityState?1|n:2&n))}function eA(e){let t={};for(let n of e.elements){let{type:r,name:i,value:s,checked:a,defaultValue:l,selectedOptions:c,files:u}=n;if(!i||""===s)continue;let h="fieldset"!==r&&n.closest("fieldset");if(h&&h!==e)continue;let f=s;switch(r){case"radio":case"checkbox":if(!a)continue;f=!l||Z(l);break;case"select-multiple":f=Array.from(c,({value:e})=>Z(e));break;case"fieldset":f=eA(n);break;case"file":f=u&&Array.from(u);break;case"date":case"datetime-local":case"month":case"hidden":case"number":case"range":case"select-one":f=Z(s)}i in t?t[i]=[].concat(t[i],f):t[i]=f instanceof Array&&o(f[1])?f[0]:f}return t}var eT={};function eN(e=1){return new Promise(t=>setTimeout(t,1e3*e))}function eP(e,t=1){var n=!1;return(async()=>{for(;!n;){let n=e();n instanceof Promise&&await n,await eN(t)}})(),()=>n=!0}n(eT,"sleep",function(){return eN}),n(eT,"asyncLoop",function(){return eP});var eC={};function eI(e,t){return function(n){for(var r,i=n.composedPath();(r=i.shift())&&r!==n.currentTarget;)if(r instanceof HTMLElement&&r.matches(e))return t.call(this,n,r,n.detail)}}n(eC,"delegate",function(){return eI}),n(eC,"documentReady",function(){return e$}),n(eC,"promisify",function(){return eL}),n(eC,"createMessageServer",function(){return eR}),n(eC,"createMessageClient",function(){return eM}),n(eC,"serviceWorkerUpdate",function(){return eB});let e$="undefined"!=typeof window?new Promise(e=>{function t(){document?.removeEventListener("DOMContentLoaded",t),window.removeEventListener("load",t),e()}document?.addEventListener("DOMContentLoaded",t),window.addEventListener("load",t),setTimeout(function t(){document?.readyState==="complete"?e():setTimeout(t)})}):Promise.resolve();function eL(e,t){return new Promise((n,r)=>{function i(e){n(e),a()}function s(e){r(e),a()}function a(){t.removeEventListener(e+"end",i),t.removeEventListener(e+"cancel",s)}t.addEventListener(e+"end",i),t.addEventListener(e+"cancel",s)})}function eR(e){async function t({data:{type:t,id:n,...r},source:i,origin:s}){var a=e[t]?.(r);a instanceof Promise&&(a=await a),i.postMessage({...a,id:n},s)}return globalThis.addEventListener("message",t),()=>globalThis.removeEventListener("message",t)}function eM(e,t="*"){return(n,r)=>new Promise(i=>{let s=p();globalThis.addEventListener("message",function e({data:{id:t,...n}}){t===s&&(i(n),globalThis.removeEventListener("message",e))}),e.postMessage({id:s,type:n,...r},t)})}function eB(e){return new Promise(t=>{if(e.waiting)return t(e.waiting);e.onupdatefound=()=>e.installing?.addEventListener("statechange",function(){"installed"===this.state&&navigator.serviceWorker.controller&&t(this)})})}var eD={};n(eD,"PageVector",function(){return eF}),n(eD,"getSwipeVector",function(){return eU}),n(eD,"durationOf",function(){return ez}),n(eD,"watchMotion",function(){return eq}),n(eD,"transitIn",function(){return eH}),n(eD,"animateIn",function(){return eK}),n(eD,"transitOut",function(){return eG}),n(eD,"animateOut",function(){return eJ});class eF{constructor(e,t){this.from=e,this.to=t}get length(){let{from:e,to:t}=this;return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)+(null!=t.z?Math.pow(t.z-e.z,2):0))}get direction(){let{from:e,to:t}=this,n=t.x-e.x,r=t.y-e.y,i=t.z-e.z,s=Math.abs(n),a=Math.abs(r),o=Math.abs(i);switch(isNaN(o)?Math.max(s,a):Math.max(s,a,o)){case s:return n>0?"right":"left";case a:return r>0?"forward":"backward";case o:return i>0?"up":"down"}}}function eU(e,t,n=6*parseInt(getComputedStyle(document.body).fontSize)){let r=new eF(e,t);if(r.length>=n&&!getSelection()?.toString().trim())return r}function ez(e,t){let{transitionDuration:n,animationDuration:r}=getComputedStyle(t),i="animation"===e?r:n;return parseFloat(i)*("ms"===i.slice(-2)?1:1e3)}function eq(e,t){return Promise.race([eL(e,t).catch(e=>Promise.resolve(e)),new Promise(n=>setTimeout(n,ez(e,t)))])}function eV(e,t,n,r){t.style.display=r;let i=eq(e,t);return new Promise(e=>requestAnimationFrame(()=>{t.classList.add(n),i.then(e)}))}async function eW(e,t,n,r){let i=eq(e,t);t.classList.remove(n),await i,r?t.remove():t.style.display="none"}function eH(e,t,n="block"){return eV("transition",e,t,n)}function eK(e,t,n="block"){return eV("animation",e,t,n)}function eG(e,t,n){return eW("transition",e,t,n)}function eJ(e,t,n){return eW("animation",e,t,n)}var eZ={};async function eY(e,t){console.log(e),console.time(e),await t(),console.timeEnd(e)}async function eQ(e,t,n=3){async function r(){throw await eN(n),RangeError("Timed out")}console.time(e=" "+e);try{return await Promise.race([t(t=>console.assert(t,e)),r()])}finally{console.timeEnd(e)}}n(eZ,"describe",function(){return eY}),n(eZ,"it",function(){return eQ})}),sN("feBSP",function(e,t){function n(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;re.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var et=Symbol("mobx-stored-annotations");function en(e){return Object.assign(function(t,n){if(ei(n))return e.decorate_20223_(t,n);er(t,n,e)},e)}function er(e,t,n){W(e,et)||M(e,et,J({},e[et])),"override"===n.annotationType_||(e[et][t]=n)}function ei(e){return"object"==typeof e&&"string"==typeof e.kind}var es=Symbol("mobx administration"),ea=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=d.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.reportObserved=function(){return td(this)},t.reportChanged=function(){th(),tp(this),tf()},t.toString=function(){return this.name_},e}(),eo=D("Atom",ea);function el(e,t,n){void 0===t&&(t=P),void 0===n&&(n=P);var r=new ea(e);return t!==P&&tL("onBO",r,t,void 0),n!==P&&t$(r,n),r}var ec={structural:function(e,t){return nS(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}};function eu(e,t,n){return tW(e)?e:Array.isArray(e)?eq.array(e,{name:n}):L(e)?eq.object(e,void 0,{name:n}):F(e)?eq.map(e,{name:n}):U(e)?eq.set(e,{name:n}):"function"!=typeof e||tT(e)||tV(e)?e:R(e)?tz(e):tA(n,e)}function eh(e){return e}function ef(e,t){return{annotationType_:e,options_:t,make_:ed,extend_:ep,decorate_20223_:em}}function ed(e,t,n,r){if(null!=(i=this.options_)&&i.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(tT(n.value))return 1;var i,s=eg(e,this,t,n,!1);return O(r,t,s),2}function ep(e,t,n,r){var i=eg(e,this,t,n);return e.defineProperty_(t,i,r)}function em(e,t){var r,i,s,a,o,l,c=t.kind,u=t.name,h=t.addInitializer,f=this;if("field"==c){h(function(){er(this,u,f)});return}if("method"==c)return tT(e)||(r=e,e=eQ(null!=(i=null==(s=f.options_)?void 0:s.name)?i:u.toString(),r,null!=(a=null==(o=f.options_)?void 0:o.autoAction)&&a)),null!=(l=this.options_)&&l.bound&&h(function(){var e=this[u].bind(this);e.isMobxAction=!0,this[u]=e}),e;n("Cannot apply '"+f.annotationType_+"' to '"+String(u)+"' (kind: "+c+"):\n'"+f.annotationType_+"' can only be used on properties with a function value.")}function eg(e,t,n,r,i){void 0===i&&(i=tl.safeDescriptors),t.annotationType_,r.value;var s,a,o,l,c,u,h,f,d=r.value;return null!=(s=t.options_)&&s.bound&&(d=d.bind(null!=(f=e.proxy_)?f:e.target_)),{value:eQ(null!=(a=null==(o=t.options_)?void 0:o.name)?a:n.toString(),d,null!=(l=null==(c=t.options_)?void 0:c.autoAction)&&l,null!=(u=t.options_)&&u.bound?null!=(h=e.proxy_)?h:e.target_:void 0),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function eb(e,t){return{annotationType_:e,options_:t,make_:ey,extend_:ev,decorate_20223_:ew}}function ey(e,t,n,r){if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(i=this.options_)&&i.bound&&(!W(e.target_,t)||!tV(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(tV(n.value))return 1;var i,s=ex(e,this,t,n,!1,!1);return O(r,t,s),2}function ev(e,t,n,r){var i,s=ex(e,this,t,n,null==(i=this.options_)?void 0:i.bound);return e.defineProperty_(t,s,r)}function ew(e,t){var n,r=t.name,i=t.addInitializer;return tV(e)||(e=tz(e)),null!=(n=this.options_)&&n.bound&&i(function(){var e=this[r].bind(this);e.isMobXFlow=!0,this[r]=e}),e}function ex(e,t,n,r,i,s){void 0===s&&(s=tl.safeDescriptors),t.annotationType_,r.value;var a,o=r.value;return tV(o)||(o=tz(o)),i&&((o=o.bind(null!=(a=e.proxy_)?a:e.target_)).isMobXFlow=!0),{value:o,configurable:!s||e.isPlainObject_,enumerable:!1,writable:!s}}function ek(e,t){return{annotationType_:e,options_:t,make_:eO,extend_:e_,decorate_20223_:ej}}function eO(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function e_(e,t,n,r){return this.annotationType_,n.get,e.defineComputedProperty_(t,J({},this.options_,{get:n.get,set:n.set}),r)}function ej(e,t){var n=this,r=t.name;return(0,t.addInitializer)(function(){var t=nh(this)[es],i=J({},n.options_,{get:e,context:this});i.name||(i.name="ObservableObject."+r.toString()),t.values_.set(r,new e2(i))}),function(){return this[es].getObservablePropValue_(r)}}function eE(e,t){return{annotationType_:e,options_:t,make_:eS,extend_:eA,decorate_20223_:eT}}function eS(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function eA(e,t,n,r){var i,s;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(i=null==(s=this.options_)?void 0:s.enhancer)?i:eu,r)}function eT(e,t){var n=this,r=t.kind,i=t.name,s=new WeakSet;function a(e,t){var r,a,o=nh(e)[es],l=new e1(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:eu,"ObservableObject."+i.toString(),!1);o.values_.set(i,l),s.add(e)}if("accessor"==r)return{get:function(){return s.has(this)||a(this,e.get.call(this)),this[es].getObservablePropValue_(i)},set:function(e){return s.has(this)||a(this,e),this[es].setObservablePropValue_(i,e)},init:function(e){return s.has(this)||a(this,e),e}}}var eN=eP();function eP(e){return{annotationType_:"true",options_:e,make_:eC,extend_:eI,decorate_20223_:e$}}function eC(e,t,n,r){if(n.get)return eK.make_(e,t,n,r);if(n.set){var i,s,a,o,l,c=eQ(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!tl.safeDescriptors||e.isPlainObject_,set:c})?0:2:(O(r,t,{configurable:!0,set:c}),2)}if(r!==e.target_&&"function"==typeof n.value)return R(n.value)?(null!=(o=this.options_)&&o.autoBind?tz.bound:tz).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?tA.bound:tA).make_(e,t,n,r);var u=(null==(i=this.options_)?void 0:i.deep)===!1?eq.ref:eq;return"function"==typeof n.value&&null!=(s=this.options_)&&s.autoBind&&(n.value=n.value.bind(null!=(l=e.proxy_)?l:e.target_)),u.make_(e,t,n,r)}function eI(e,t,n,r){var i,s,a;return n.get?eK.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!tl.safeDescriptors||e.isPlainObject_,set:eQ(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),((null==(s=this.options_)?void 0:s.deep)===!1?eq.ref:eq).extend_(e,t,n,r))}function e$(e,t){n("'"+this.annotationType_+"' cannot be used as a decorator")}var eL={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(eL);var eR=eE("observable"),eM=eE("observable.ref",{enhancer:eh}),eB=eE("observable.shallow",{enhancer:function(e,t,n){return null==e||np(e)||ne(e)||ni(e)||no(e)?e:Array.isArray(e)?eq.array(e,{name:n,deep:!1}):L(e)?eq.object(e,void 0,{name:n,deep:!1}):F(e)?eq.map(e,{name:n,deep:!1}):U(e)?eq.set(e,{name:n,deep:!1}):void 0}}),eD=eE("observable.struct",{enhancer:function(e,t){return nS(e,t)?t:e}}),eF=en(eR);function eU(e){var t,n,r;return!0===e.deep?eu:!1===e.deep?eh:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:eu}function ez(e,t,n){if(ei(t))return eR.decorate_20223_(e,t);if(I(t)){er(e,t,eR);return}return tW(e)?e:L(e)?eq.object(e,t,n):Array.isArray(e)?eq.array(e,t):F(e)?eq.map(e,t):U(e)?eq.set(e,t):"object"==typeof e&&null!==e?e:eq.box(e,t)}x(ez,eF);var eq=x(ez,{box:function(e,t){var n=t||eL;return new e1(e,eU(n),n.name,!0,n.equals)},array:function(e,t){var n=t||eL;return(!1===tl.useProxies||!1===n.proxy?function(e,t,n){return new nw(e,t,n)}:function(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),T(),nj(function(){var i=new t3(n,t,r,!1);B(i.values_,es,i);var s=new Proxy(i.values_,t2);return i.proxy_=s,e&&e.length&&i.spliceWithArray_(0,0,e),s})})(e,eU(n),n.name)},map:function(e,t){var n=t||eL;return new nr(e,eU(n),n.name)},set:function(e,t){var n=t||eL;return new na(e,eU(n),n.name)},object:function(e,t,n){return nj(function(){var r,i,s,a,o;return a=!1===tl.useProxies||(null==n?void 0:n.proxy)===!1?nh({},n):(r={},T(),null!=(s=(i=(r=nh(r,n))[es]).proxy_)?s:i.proxy_=new Proxy(r,tK)),o=H(e),nj(function(){var e=nh(a,void 0)[es];q(o).forEach(function(n){e.extend_(n,o[n],!t||!(n in t)||t[n])})}),a})},ref:en(eM),shallow:en(eB),deep:eF,struct:en(eD)}),eV="computed",eW=ek(eV),eH=ek("computed.struct",{equals:ec.structural}),eK=function(e,t){if(ei(t))return eW.decorate_20223_(e,t);if(I(t))return er(e,t,eW);if(L(e))return en(ek(eV,e));var n=L(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new e2(n)};Object.assign(eK,eW),eK.struct=en(eH);var eG=0,eJ=1,eZ=null!=(c=null==(u=k(function(){},"name"))?void 0:u.configurable)&&c,eY={value:"action",configurable:!0,writable:!1,enumerable:!1};function eQ(e,t,r,i){function s(){return function(e,t,r,i,s){var a,o,l,c,u=(a=tl.trackingDerivation,o=!t||!a,th(),l=tl.allowStateChanges,o&&(te(),l=eX(!0)),eG=(c={runAsAction_:o,prevDerivation_:a,prevAllowStateChanges_:l,prevAllowStateReads_:tn(!0),notifySpy_:!1,startTime_:0,actionId_:eJ++,parentActionId_:eG}).actionId_,c);try{return r.apply(i,s)}catch(e){throw u.error_=e,e}finally{eG!==u.actionId_&&n(30),eG=u.parentActionId_,void 0!==u.error_&&(tl.suppressReactionErrors=!0),e0(u.prevAllowStateChanges_),tr(u.prevAllowStateReads_),tf(),u.runAsAction_&&tt(u.prevDerivation_),tl.suppressReactionErrors=!1}}(0,r,t,i||this,arguments)}return void 0===r&&(r=!1),s.isMobxAction=!0,s.toString=function(){return t.toString()},eZ&&(eY.value=e,O(s,"name",eY)),s}function eX(e){var t=tl.allowStateChanges;return tl.allowStateChanges=e,t}function e0(e){tl.allowStateChanges=e}h=Symbol.toPrimitive;var e1=function(e){function t(t,n,r,i,s){var a;return void 0===r&&(r="ObservableValue"),void 0===i&&(i=!0),void 0===s&&(s=ec.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=s,a.value_=n(t,void 0,r),a}Z(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==tl.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(tG(this)){var t=tZ(this,{object:this,type:t1,newValue:e});if(!t)return tl.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?tl.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),tY(this)&&tX(this,{type:t1,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return tJ(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:t1,newValue:this.value_,oldValue:void 0}),tQ(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return V(this.get())},n[h]=function(){return this.valueOf()},t}(ea);f=Symbol.toPrimitive;var e2=function(){function e(e){this.dependenciesState_=d.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=d.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new e6(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=p.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||n(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=eQ("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?ec.structural:ec.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){this.lowestObserverState_===d.UP_TO_DATE_&&(this.lowestObserverState_=d.POSSIBLY_STALE_,this.observers_.forEach(function(e){e.dependenciesState_===d.UP_TO_DATE_&&(e.dependenciesState_=d.POSSIBLY_STALE_,e.onBecomeStale_())}))},t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.get=function(){if(this.isComputing_&&n(32,this.name_,this.derivation),0!==tl.inBatch||0!==this.observers_.size||this.keepAlive_){if(td(this),e5(this)){var e,t=tl.trackingContext;this.keepAlive_&&!t&&(tl.trackingContext=this),this.trackAndCompute()&&(e=this,e.lowestObserverState_!==d.STALE_&&(e.lowestObserverState_=d.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===d.POSSIBLY_STALE_?t.dependenciesState_=d.STALE_:t.dependenciesState_===d.UP_TO_DATE_&&(e.lowestObserverState_=d.UP_TO_DATE_)}))),tl.trackingContext=t}}else e5(this)&&(this.warnAboutUntrackedRead_(),th(),this.value_=this.computeValue_(!1),tf());var r=this.value_;if(e8(r))throw r.cause;return r},t.set=function(e){if(this.setter_){this.isRunningSetter_&&n(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter_=!1}}else n(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===d.NOT_TRACKING_,n=this.computeValue_(!0),r=t||e8(e)||e8(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing_=!0;var t,n=eX(!1);if(e)t=e4(this,this.derivation,this.scope_);else if(!0===tl.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new e6(e)}return e0(n),this.isComputing_=!1,t},t.suspend_=function(){this.keepAlive_||(e9(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,i=void 0;return tN(function(){var s=n.get();if(!r||t){var a=te();e({observableKind:"computed",debugObjectName:n.name_,type:t1,object:n,newValue:s,oldValue:i}),tt(a)}r=!1,i=s})},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return V(this.get())},t[f]=function(){return this.valueOf()},e}(),e3=D("ComputedValue",e2);(r=d||(d={}))[r.NOT_TRACKING_=-1]="NOT_TRACKING_",r[r.UP_TO_DATE_=0]="UP_TO_DATE_",r[r.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",r[r.STALE_=2]="STALE_",(i=p||(p={}))[i.NONE=0]="NONE",i[i.LOG=1]="LOG",i[i.BREAK=2]="BREAK";var e6=function(e){this.cause=void 0,this.cause=e};function e8(e){return e instanceof e6}function e5(e){switch(e.dependenciesState_){case d.UP_TO_DATE_:return!1;case d.NOT_TRACKING_:case d.STALE_:return!0;case d.POSSIBLY_STALE_:for(var t=tn(!0),n=te(),r=e.observing_,i=r.length,s=0;sr&&(r=o.dependenciesState_)}for(n.length=i,e.newObserving_=null,s=t.length;s--;){var l=t[s];0===l.diffValue_&&tc(l,e),l.diffValue_=0}for(;i--;){var c=n[i];1===c.diffValue_&&(c.diffValue_=0,c.observers_.add(e),c.lowestObserverState_>e.dependenciesState_&&(c.lowestObserverState_=e.dependenciesState_))}r!==d.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),tr(i),r}function e9(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)tc(t[n],e);e.dependenciesState_=d.NOT_TRACKING_}function e7(e){var t=te();try{return e()}finally{tt(t)}}function te(){var e=tl.trackingDerivation;return tl.trackingDerivation=null,e}function tt(e){tl.trackingDerivation=e}function tn(e){var t=tl.allowStateReads;return tl.allowStateReads=e,t}function tr(e){tl.allowStateReads=e}function ti(e){if(e.dependenciesState_!==d.UP_TO_DATE_){e.dependenciesState_=d.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=d.UP_TO_DATE_}}var ts=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},ta=!0,to=!1,tl=((s=w()).__mobxInstanceCount>0&&!s.__mobxGlobals&&(ta=!1),s.__mobxGlobals&&s.__mobxGlobals.version!==new ts().version&&(ta=!1),ta)?s.__mobxGlobals?(s.__mobxInstanceCount+=1,s.__mobxGlobals.UNCHANGED||(s.__mobxGlobals.UNCHANGED={}),s.__mobxGlobals):(s.__mobxInstanceCount=1,s.__mobxGlobals=new ts):(setTimeout(function(){to||n(35)},1),new ts);function tc(e,t){e.observers_.delete(t),0===e.observers_.size&&tu(e)}function tu(e){!1===e.isPendingUnobservation_&&(e.isPendingUnobservation_=!0,tl.pendingUnobservations.push(e))}function th(){tl.inBatch++}function tf(){if(0==--tl.inBatch){tb();for(var e=tl.pendingUnobservations,t=0;t0&&tu(e),!1)}function tp(e){e.lowestObserverState_!==d.STALE_&&(e.lowestObserverState_=d.STALE_,e.observers_.forEach(function(e){e.dependenciesState_===d.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=d.STALE_}))}var tm=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=d.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=p.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,tl.pendingReactions.push(this),tb())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){th(),this.isScheduled_=!1;var e=tl.trackingContext;if(tl.trackingContext=this,e5(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}tl.trackingContext=e,tf()}},t.track=function(e){if(!this.isDisposed_){th(),this.isRunning_=!0;var t=tl.trackingContext;tl.trackingContext=this;var n=e4(this,e,void 0);tl.trackingContext=t,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&e9(this),e8(n)&&this.reportExceptionInDerivation_(n.cause),tf()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_){this.errorHandler_(e,this);return}if(tl.disableErrorBoundaries)throw e;tl.suppressReactionErrors||console.error("[mobx] uncaught error in '"+this+"'",e),tl.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(th(),e9(this),tf()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[es]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},e}(),tg=function(e){return e()};function tb(){tl.inBatch>0||tl.isRunningReactions||tg(ty)}function ty(){tl.isRunningReactions=!0;for(var e=tl.pendingReactions,t=0;e.length>0;){100==++t&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,i=n.length;r",t,e):C(n)?eQ(t,n,e):ei(n)?(e?t_:tk).decorate_20223_(t,n):I(n)?er(t,n,e?t_:tk):I(t)?en(ef(e?tx:tw,{name:t,autoAction:e})):void 0}}var tS=tE(!1);Object.assign(tS,tk);var tA=tE(!0);function tT(e){return C(e)&&!0===e.isMobxAction}function tN(e,t){void 0===t&&(t=E);var n,r,i,s,a,o,l=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var c=tC(t),u=!1;o=new tm(l,function(){u||(u=!0,c(function(){u=!1,o.isDisposed_||o.track(h)}))},t.onError,t.requiresObservable)}else o=new tm(l,function(){this.track(h)},t.onError,t.requiresObservable);function h(){e(o)}return null!=(i=t)&&null!=(s=i.signal)&&s.aborted||o.schedule_(),o.getDisposer_(null==(a=t)?void 0:a.signal)}Object.assign(tA,t_),tS.bound=en(tO),tA.bound=en(tj);var tP=function(e){return e()};function tC(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:tP}function tI(e,t,n){void 0===n&&(n=E);var r,i,s,a,o,l,c,u=null!=(i=n.name)?i:"Reaction",h=tS(u,n.onError?(r=n.onError,function(){try{return t.apply(this,arguments)}catch(e){r.call(this,e)}}):t),f=!n.scheduler&&!n.delay,d=tC(n),p=!0,m=!1,g=n.compareStructural?ec.structural:n.equals||ec.default,b=new tm(u,function(){p||f?y():m||(m=!0,d(y))},n.onError,n.requiresObservable);function y(){if(m=!1,!b.isDisposed_){var t=!1;b.track(function(){var n=function(e,t){var n=eX(e);try{return t()}finally{e0(n)}}(!1,function(){return e(b)});t=p||!g(l,n),c=l,l=n}),p&&n.fireImmediately?h(l,c,b):!p&&t&&h(l,c,b),p=!1}}return null!=(s=n)&&null!=(a=s.signal)&&a.aborted||b.schedule_(),b.getDisposer_(null==(o=n)?void 0:o.signal)}function t$(e,t,n){return tL("onBUO",e,t,n)}function tL(e,t,n,r){var i="function"==typeof r?nO(t,n):nO(t),s=C(r)?r:n,a=e+"L";return i[a]?i[a].add(s):i[a]=new Set([s]),function(){var e=i[a];e&&(e.delete(s),0===e.size&&delete i[a])}}var tR="always";function tM(e){!0===e.isolateGlobalState&&function(){if((tl.pendingReactions.length||tl.inBatch||tl.isRunningReactions)&&n(36),to=!0,ta){var e=w();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),tl=new ts}}();var t,r,i=e.useProxies,s=e.enforceActions;if(void 0!==i&&(tl.useProxies=i===tR||"never"!==i&&"undefined"!=typeof Proxy),"ifavailable"===i&&(tl.verifyProxies=!0),void 0!==s){var a=s===tR?tR:"observed"===s;tl.enforceActions=a,tl.allowStateChanges=!0!==a&&a!==tR}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(t){t in e&&(tl[t]=!!e[t])}),tl.allowStateReads=!tl.observableRequiresReaction,e.reactionScheduler&&(t=e.reactionScheduler,r=tg,tg=function(e){return t(function(){return r(e)})})}var tB=0;function tD(){this.message="FLOW_CANCELLED"}tD.prototype=Object.create(Error.prototype);var tF=eb("flow"),tU=eb("flow.bound",{bound:!0}),tz=Object.assign(function(e,t){if(ei(t))return tF.decorate_20223_(e,t);if(I(t))return er(e,t,tF);var n=e.name||"",r=function(){var t,r=arguments,i=++tB,s=tS(n+" - runid: "+i+" - init",e).apply(this,r),a=void 0,o=new Promise(function(e,r){var o=0;function l(e){var t;a=void 0;try{t=tS(n+" - runid: "+i+" - yield "+o++,s.next).call(s,e)}catch(e){return r(e)}u(t)}function c(e){var t;a=void 0;try{t=tS(n+" - runid: "+i+" - yield "+o++,s.throw).call(s,e)}catch(e){return r(e)}u(t)}function u(t){if(C(null==t?void 0:t.then)){t.then(u,r);return}return t.done?e(t.value):(a=Promise.resolve(t.value)).then(l,c)}t=r,l(void 0)});return o.cancel=tS(n+" - runid: "+i+" - cancel",function(){try{a&&tq(a);var e=s.return(void 0),n=Promise.resolve(e.value);n.then(P,P),tq(n),t(new tD)}catch(e){t(e)}}),o};return r.isMobXFlow=!0,r},tF);function tq(e){C(e.cancel)&&e.cancel()}function tV(e){return(null==e?void 0:e.isMobXFlow)===!0}function tW(e){var t;return!!e&&(void 0!==t?!!np(e)&&e[es].values_.has(t):np(e)||!!e[es]||eo(e)||tv(e)||e3(e))}function tH(e,t){void 0===t&&(t=void 0),th();try{return e.apply(t)}finally{tf()}}tz.bound=en(tU);var tK={has:function(e,t){return e[es].has_(t)},get:function(e,t){return e[es].get_(t)},set:function(e,t,n){var r;return!!I(t)&&(null==(r=e[es].set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!I(t)&&(null==(n=e[es].delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=e[es].defineProperty_(t,n))||r},ownKeys:function(e){return e[es].ownKeys_()},preventExtensions:function(e){n(13)}};function tG(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function tJ(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),N(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function tZ(e,t){var r=te();try{for(var i=[].concat(e.interceptors_||[]),s=0,a=i.length;s0}function tQ(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),N(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function tX(e,t){var n=te(),r=e.changeListeners_;if(r){r=r.slice();for(var i=0,s=r.length;i0?e.map(this.dehancer):e},t.intercept_=function(e){return tJ(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),tQ(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&n("Out of range: "+e);var t=this.values_.length;if(e!==t){if(e>t){for(var r=Array(e-t),i=0;i0&&nk(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1==arguments.length?i-e:null==t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=j),tG(this)){var s=tZ(this,{object:this.proxy_,type:t0,index:e,removedCount:t,added:n});if(!s)return j;t=s.removedCount,n=s.added}if(n=0===n.length?n:n.map(function(e){return r.enhancer_(e,void 0)}),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(i,a)}var o=this.spliceItemsIntoValues_(e,t,n);return(0!==t||0!==n.length)&&this.notifyArraySplice_(e,n,o),this.dehanceValues_(o)},t.spliceItemsIntoValues_=function(e,t,n){if(n.length<1e4){var r;return(r=this.values_).splice.apply(r,[e,t].concat(n))}var i=this.values_.slice(e,e+t),s=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a=this.values_.length){console.warn("[mobx] Out of bounds read: "+e);return}return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e])},t.set_=function(e,t){var r=this.values_;if(this.legacyMode_&&e>r.length&&n(17,e,r.length),e2?n-2:0),i=2;i-1&&(this.splice(n,1),!0)}};function t8(e,t){"function"==typeof Array.prototype[e]&&(t6[e]=t(e))}function t5(e){return function(){var t=this[es];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function t4(e){return function(t,n){var r=this,i=this[es];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e](function(e,i){return t.call(n,e,i,r)})}}function t9(e){return function(){var t=this,n=this[es];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(e,n,r){return i(e,n,r,t)},r[e].apply(r,arguments)}}t8("at",t5),t8("concat",t5),t8("flat",t5),t8("includes",t5),t8("indexOf",t5),t8("join",t5),t8("lastIndexOf",t5),t8("slice",t5),t8("toString",t5),t8("toLocaleString",t5),t8("toSorted",t5),t8("toSpliced",t5),t8("with",t5),t8("every",t4),t8("filter",t4),t8("find",t4),t8("findIndex",t4),t8("findLast",t4),t8("findLastIndex",t4),t8("flatMap",t4),t8("forEach",t4),t8("map",t4),t8("some",t4),t8("toReversed",t4),t8("reduce",t9),t8("reduceRight",t9);var t7=D("ObservableArrayAdministration",t3);function ne(e){return $(e)&&t7(e[es])}var nt={},nn="delete";m=Symbol.iterator,g=Symbol.toStringTag;var nr=function(){function e(e,t,r){var i=this;void 0===t&&(t=eu),void 0===r&&(r="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[es]=nt,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=r,C(Map)||n(18),nj(function(){i.keysAtom_=el("ObservableMap.keys()"),i.data_=new Map,i.hasMap_=new Map,e&&i.merge(e)})}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!tl.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new e1(this.has_(e),eh,"ObservableMap.key?",!1);this.hasMap_.set(e,r),t$(r,function(){return t.hasMap_.delete(e)})}return n.get()},t.set=function(e,t){var n=this.has_(e);if(tG(this)){var r=tZ(this,{type:n?t1:"add",object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(this.keysAtom_,tG(this)&&!tZ(this,{type:nn,object:this,name:e}))return!1;if(this.has_(e)){var n=tY(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:nn,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return tH(function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)}),n&&tX(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==tl.UNCHANGED){var r=tY(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:t1,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&tX(this,i)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,tH(function(){var r,i=new e1(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,i),t=i.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()});var r=tY(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:"add",object:this,name:e,newValue:t}:null;r&&tX(this,i)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return nT({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:e.get(i)}}})},t.entries=function(){var e=this,t=this.keys();return nT({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},t[m]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=ee(this);!(n=r()).done;){var i=n.value,s=i[0],a=i[1];e.call(t,a,s,this)}},t.merge=function(e){var t=this;return ni(e)&&(e=new Map(e)),tH(function(){L(e)?(function(e){var t=Object.keys(e);if(!z)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(t){return _.propertyIsEnumerable.call(e,t)})):t})(e).forEach(function(n){return t.set(n,e[n])}):Array.isArray(e)?e.forEach(function(e){var n=e[0],r=e[1];return t.set(n,r)}):F(e)?(e.constructor!==Map&&n(19,e),e.forEach(function(e,n){return t.set(n,e)})):null!=e&&n(20,e)}),this},t.clear=function(){var e=this;tH(function(){e7(function(){for(var t,n=ee(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.replace=function(e){var t=this;return tH(function(){for(var r,i=function(e){if(F(e)||ni(e))return e;if(Array.isArray(e))return new Map(e);if(!L(e))return n(21,e);var t=new Map;for(var r in e)t.set(r,e[r]);return t}(e),s=new Map,a=!1,o=ee(t.data_.keys());!(r=o()).done;){var l=r.value;if(!i.has(l)){if(t.delete(l))a=!0;else{var c=t.data_.get(l);s.set(l,c)}}}for(var u,h=ee(i.entries());!(u=h()).done;){var f=u.value,d=f[0],p=f[1],m=t.data_.has(d);if(t.set(d,p),t.data_.has(d)){var g=t.data_.get(d);s.set(d,g),m||(a=!0)}}if(!a){if(t.data_.size!==s.size)t.keysAtom_.reportChanged();else for(var b=t.data_.keys(),y=s.keys(),v=b.next(),w=y.next();!v.done;){if(v.value!==w.value){t.keysAtom_.reportChanged();break}v=b.next(),w=y.next()}}t.data_=s}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return tQ(this,e)},t.intercept_=function(e){return tJ(this,e)},G(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:g,get:function(){return"Map"}}]),e}(),ni=D("ObservableMap",nr),ns={};b=Symbol.iterator,y=Symbol.toStringTag;var na=function(){function e(e,t,r){var i=this;void 0===t&&(t=eu),void 0===r&&(r="ObservableSet"),this.name_=void 0,this[es]=ns,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=r,C(Set)||n(22),this.enhancer_=function(e,n){return t(e,n,r)},nj(function(){i.atom_=el(i.name_),e&&i.replace(e)})}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;tH(function(){e7(function(){for(var t,n=ee(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.forEach=function(e,t){for(var n,r=ee(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},t.add=function(e){var t=this;if(this.atom_,tG(this)&&!tZ(this,{type:"add",object:this,newValue:e}))return this;if(!this.has(e)){tH(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var n=tY(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:"add",object:this,newValue:e}:null;n&&tX(this,r)}return this},t.delete=function(e){var t=this;if(tG(this)&&!tZ(this,{type:nn,object:this,oldValue:e}))return!1;if(this.has(e)){var n=tY(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:nn,object:this,oldValue:e}:null;return tH(function(){t.atom_.reportChanged(),t.data_.delete(e)}),n&&tX(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return nT({next:function(){var r=e;return e+=1,rny){for(var t,n=ny;n=0&&r++}t=nA(t),n=nA(n);var l="[object Array]"===o;if(!l){if("object"!=typeof t||"object"!=typeof n)return!1;var c=t.constructor,u=n.constructor;if(c!==u&&!(C(c)&&c instanceof c&&C(u)&&u instanceof u)&&"constructor"in t&&"constructor"in n)return!1}if(0===r)return!1;r<0&&(r=-1),s=s||[];for(var h=(i=i||[]).length;h--;)if(i[h]===t)return s[h]===n;if(i.push(t),s.push(n),l){if((h=t.length)!==n.length)return!1;for(;h--;)if(!e(t[h],n[h],r-1,i,s))return!1}else{var f,d=Object.keys(t);if(h=d.length,Object.keys(n).length!==h)return!1;for(;h--;)if(!(W(n,f=d[h])&&e(t[f],n[f],r-1,i,s)))return!1}return i.pop(),s.pop(),!0}(e,t,n)}function nA(e){return ne(e)?e.slice():F(e)||ni(e)||U(e)||no(e)?Array.from(e.entries()):e}function nT(e){return e[Symbol.iterator]=nN,e}function nN(){return this}["Symbol","Map","Set"].forEach(function(e){void 0===w()[e]&&n("MobX requires global '"+e+"' to be available or polyfilled")}),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:n_},$mobx:es})});var sP={};Object.defineProperty(sP,"__esModule",{value:!0}),sP.Fragment=sP.jsxs=sP.jsx=void 0;var sC=sT("f0zZF"),sI=sT("bP8Tm"),s$=sT("kFeKD");function sL(e,t,n){var r,i=t.ref,s=t.unRef,a=t.is,o=t.style,l=t.children,c=sC.__rest(t,["ref","unRef","is","style","children"]);"function"==typeof e&&(0,sI.isHTMLElementClass)(e)&&(e=(0,sI.tagNameOf)(e));var u={key:n,ref:i,unRef:s,is:a,style:o,children:l=null===(r=l instanceof Array?l.flat(1/0):[l])||void 0===r?void 0:r.map(function(e){return new s$.VNode(e instanceof Object?e:0===e||e?{text:e.toString()}:{text:""})})};return"string"==typeof e?new s$.VNode(sC.__assign(sC.__assign({},u),{tagName:e,props:c})):e(sC.__assign(sC.__assign({},u),c))}sP.jsx=sL,sP.jsxs=sL,sP.Fragment=function(e){var t=e.key,n=e.ref,r=e.is,i=e.style,s=e.children,a=sC.__rest(e,["key","ref","is","style","children"]);return new s$.VNode({key:t,ref:n,is:r,props:a,style:i,children:s})};var sR=Promise,sM=function(e){if(!(this instanceof sM))throw TypeError("Cannot call a class as a function");var t=new sR(function(n,r){return e(n,function(e){return sR.resolve().then(function(){var n;void 0===t._hasDownstreams&&(Object.defineProperties(n=document.createEvent("Event"),{promise:{value:t,writable:!1},reason:{value:e,writable:!1}}),n.initEvent("unhandledrejection",!1,!0),window.dispatchEvent(n))}),r(e)})});return t.__proto__=sM.prototype,t};sM.__proto__=sR,sM.prototype.__proto__=sR.prototype,sM.prototype.then=function(e,t){var n=sR.prototype.then.call(this,e,t);return this._hasDownstreams=!0,n};var sB={};Object.defineProperty(sB,"__esModule",{value:!0});var sC=sT("f0zZF");sC.__exportStar(sT("kFeKD"),sB),sC.__exportStar(sT("j8ivL"),sB);var sD=sT("feBSP"),sI=sT("bP8Tm"),sF=class{type=3;name="";prefix="";value="";suffix="";modifier=3;constructor(e,t,n,r,i,s){this.type=e,this.name=t,this.prefix=n,this.value=r,this.suffix=i,this.modifier=s}hasCustomName(){return""!==this.name&&"number"!=typeof this.name}},sU=/[$_\p{ID_Start}]/u,sz=/[$_\u200C\u200D\p{ID_Continue}]/u;function sq(e,t=!1){let n=[],r=0;for(;r{if(al("OTHER_MODIFIER")??l("ASTERISK"),u=e=>{let t=l(e);if(void 0!==t)return t;let{type:r,index:i}=n[a];throw TypeError(`Unexpected ${r} at ${i}, expected ${e}`)},h=()=>{let e="",t;for(;t=l("CHAR")??l("ESCAPED_CHAR");)e+=t;return e},f=t.encodePart||(e=>e),d="",p=e=>{d+=e},m=()=>{d.length&&(i.push(new sF(3,"","",f(d),"",3)),d="")},g=(e,t,n,a,l)=>{let c,u,h=3;switch(l){case"?":h=1;break;case"*":h=0;break;case"+":h=2}if(!t&&!n&&3===h){p(e);return}if(m(),!t&&!n){if(!e)return;i.push(new sF(3,"","",f(e),"",h));return}let d=2;if((c=n?"*"===n?".*":n:r)===r?(d=1,c=""):".*"===c&&(d=0,c=""),t?u=t:n&&(u=s++),o.has(u))throw TypeError(`Duplicate name '${u}'.`);o.add(u),i.push(new sF(d,u,f(e),c,f(a),h))};for(;a-1)}return a||(r+=`(?=${s}|${i})`),new RegExp(r,sH(n))}var sJ={delimiter:"",prefixes:"",sensitive:!0,strict:!0},sZ={delimiter:".",prefixes:"",sensitive:!0,strict:!0},sY={delimiter:"/",prefixes:"/",sensitive:!0,strict:!0};function sQ(e,t){return e.startsWith(t)?e.substring(t.length,e.length):e}function sX(e){return!!e&&!(e.length<2)&&("["===e[0]||("\\"===e[0]||"{"===e[0])&&"["===e[1])}var s0=["ftp","file","http","https","ws","wss"];function s1(e){if(!e)return!0;for(let t of s0)if(e.test(t))return!0;return!1}function s2(e){switch(e){case"ws":case"http":return"80";case"wws":case"https":return"443";case"ftp":return"21";default:return""}}function s3(e){if(""===e)return e;if(/^[-+.A-Za-z0-9]*$/.test(e))return e.toLowerCase();throw TypeError(`Invalid protocol '${e}'.`)}function s6(e){if(""===e)return e;let t=new URL("https://example.com");return t.username=e,t.username}function s8(e){if(""===e)return e;let t=new URL("https://example.com");return t.password=e,t.password}function s5(e){if(""===e)return e;if(/[\t\n\r #%/:<>?@[\]^\\|]/g.test(e))throw TypeError(`Invalid hostname '${e}'`);let t=new URL("https://example.com");return t.hostname=e,t.hostname}function s4(e){if(""===e)return e;if(/[^0-9a-fA-F[\]:]/g.test(e))throw TypeError(`Invalid IPv6 hostname '${e}'`);return e.toLowerCase()}function s9(e){if(""===e||/^[0-9]*$/.test(e)&&65535>=parseInt(e))return e;throw TypeError(`Invalid port '${e}'.`)}function s7(e){if(""===e)return e;let t=new URL("https://example.com");return t.pathname="/"!==e[0]?"/-"+e:e,"/"!==e[0]?t.pathname.substring(2,t.pathname.length):t.pathname}function ae(e){return""===e?e:new URL(`data:${e}`).pathname}function at(e){if(""===e)return e;let t=new URL("https://example.com");return t.search=e,t.search.substring(1,t.search.length)}function an(e){if(""===e)return e;let t=new URL("https://example.com");return t.hash=e,t.hash.substring(1,t.hash.length)}var ar=class{#e;#t=[];#n={};#r=0;#i=1;#s=0;#a=0;#o=0;#l=0;#c=!1;constructor(e){this.#e=e}get result(){return this.#n}parse(){for(this.#t=sq(this.#e,!0);this.#r0){if(!this.#m())continue;this.#o-=1}if(this.#g()){this.#o+=1;continue}switch(this.#a){case 0:this.#b()&&(this.#n.username="",this.#n.password="",this.#n.hostname="",this.#n.port="",this.#n.pathname="",this.#n.search="",this.#n.hash="",this.#p(1));break;case 1:if(this.#b()){this.#y();let e=7,t=1;this.#c&&(this.#n.pathname="/"),this.#v()?(e=2,t=3):this.#c&&(e=2),this.#f(e,t)}break;case 2:this.#w()?this.#p(3):(this.#x()||this.#d()||this.#h())&&this.#p(5);break;case 3:this.#k()?this.#f(4,1):this.#w()&&this.#f(5,1);break;case 4:this.#w()&&this.#f(5,1);break;case 5:this.#O()?this.#l+=1:this.#_()&&(this.#l-=1),this.#j()&&!this.#l?this.#f(6,1):this.#x()?this.#f(7,0):this.#d()?this.#f(8,1):this.#h()&&this.#f(9,1);break;case 6:this.#x()?this.#f(7,0):this.#d()?this.#f(8,1):this.#h()&&this.#f(9,1);break;case 7:this.#d()?this.#f(8,1):this.#h()&&this.#f(9,1);break;case 8:this.#h()&&this.#f(9,1)}}}#f(e,t){switch(this.#a){case 0:case 2:break;case 1:this.#n.protocol=this.#E();break;case 3:this.#n.username=this.#E();break;case 4:this.#n.password=this.#E();break;case 5:this.#n.hostname=this.#E();break;case 6:this.#n.port=this.#E();break;case 7:this.#n.pathname=this.#E();break;case 8:this.#n.search=this.#E();break;case 9:this.#n.hash=this.#E()}this.#S(e,t)}#S(e,t){this.#a=e,this.#s=this.#r+t,this.#r+=t,this.#i=0}#u(){this.#r=this.#s,this.#i=0}#p(e){this.#u(),this.#a=e}#A(e){return e<0&&(e=this.#t.length-e),e=0&&(e.pathname=aa(l.pathname.substring(0,t+1),n)+e.pathname)}e.pathname=function(e,t,n){if(n||""===e)return e;if(t&&!s0.includes(t))return new URL(`${t}:${e}`).pathname;let r="/"==e[0];return e=new URL(r?e:"/-"+e,"https://example.com").pathname,r||(e=e.substring(2,e.length)),e}(e.pathname,e.protocol,n)}return"string"==typeof t.search&&(e.search=function(e,t){if(e=sQ(e,"?"),t||""===e)return e;let n=new URL("https://example.com");return n.search=e,n.search?n.search.substring(1,n.search.length):""}(t.search,n)),"string"==typeof t.hash&&(e.hash=function(e,t){if(e=sQ(e,"#"),t||""===e)return e;let n=new URL("https://example.com");return n.hash=e,n.hash?n.hash.substring(1,n.hash.length):""}(t.hash,n)),e}function al(e){return e.replace(/([+*?:{}()\\])/g,"\\$1")}var ac=class{#e;#t={};#n={};#r={};#i={};constructor(e={},t,n){try{let r,i;if("string"==typeof t?r=t:n=t,"string"==typeof e){let t=new ar(e);if(t.parse(),e=t.result,void 0===r&&"string"!=typeof e.protocol)throw TypeError("A base URL must be provided for a relative constructor string.");e.baseURL=r}else{if(!e||"object"!=typeof e)throw TypeError("parameter 1 is not of type 'string' and cannot convert to dictionary.");if(r)throw TypeError("parameter 1 is not of type 'string'.")}typeof n>"u"&&(n={ignoreCase:!1});let s={ignoreCase:!0===n.ignoreCase};for(i of(this.#e=ao({pathname:"*",protocol:"*",username:"*",password:"*",hostname:"*",port:"*",search:"*",hash:"*"},e,!0),s2(this.#e.protocol)===this.#e.port&&(this.#e.port=""),ai)){if(!(i in this.#e))continue;let e={},t=this.#e[i];switch(this.#n[i]=[],i){case"protocol":Object.assign(e,sJ),e.encodePart=s3;break;case"username":Object.assign(e,sJ),e.encodePart=s6;break;case"password":Object.assign(e,sJ),e.encodePart=s8;break;case"hostname":Object.assign(e,sZ),sX(t)?e.encodePart=s4:e.encodePart=s5;break;case"port":Object.assign(e,sJ),e.encodePart=s9;break;case"pathname":s1(this.#t.protocol)?(Object.assign(e,sY,s),e.encodePart=s7):(Object.assign(e,sJ,s),e.encodePart=ae);break;case"search":Object.assign(e,sJ,s),e.encodePart=at;break;case"hash":Object.assign(e,sJ,s),e.encodePart=an}try{this.#i[i]=sV(t,e),this.#t[i]=sG(this.#i[i],this.#n[i],e),this.#r[i]=function(e,t){t.delimiter??="/#?",t.prefixes??="./",t.sensitive??=!1,t.strict??=!1,t.end??=!0,t.start??=!0,t.endsWith="";let n=`[^${t.delimiter.replace(/([.+*?^${}()[\]|/\\])/g,"\\$1")}]+?`,r=/[$_\u200C\u200D\p{ID_Continue}]/u,i="";for(let s=0;s0?e[s-1]:null,u=s0?u.value[0]:"";l=r.test(e)}else l=!u.hasCustomName()}if(!l&&!a.prefix.length&&c&&3===c.type){let e=c.value[c.value.length-1];l=t.prefixes.includes(e)}l&&(i+="{"),i+=al(a.prefix),o&&(i+=`:${a.name}`),2===a.type?i+=`(${a.value})`:1===a.type?o||(i+=`(${n})`):0===a.type&&(o||c&&3!==c.type&&3===c.modifier&&!l&&""===a.prefix?i+="(.*)":i+="*"),1===a.type&&o&&a.suffix.length&&r.test(a.suffix[0])&&(i+="\\"),i+=al(a.suffix),l&&(i+="}"),3!==a.modifier&&(i+=sK(a.modifier))}return i}(this.#i[i],e)}catch{throw TypeError(`invalid ${i} pattern '${this.#e[i]}'.`)}}}catch(e){throw TypeError(`Failed to construct 'URLPattern': ${e.message}`)}}test(e={},t){let n,r={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if("string"!=typeof e&&t)throw TypeError("parameter 1 is not of type 'string'.");if(typeof e>"u")return!1;try{r="object"==typeof e?ao(r,e,!1):ao(r,as(e,t),!1)}catch{return!1}for(n of ai)if(!this.#t[n].exec(r[n]))return!1;return!0}exec(e={},t){let n,r={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if("string"!=typeof e&&t)throw TypeError("parameter 1 is not of type 'string'.");if(typeof e>"u")return;try{r="object"==typeof e?ao(r,e,!1):ao(r,as(e,t),!1)}catch{return null}let i={};for(n of(t?i.inputs=[e,t]:i.inputs=[e],ai)){let e=this.#t[n].exec(r[n]);if(!e)return null;let t={};for(let[r,i]of this.#n[n].entries())if("string"==typeof i||"number"==typeof i){let n=e[r+1];t[i]=n}i[n]={input:r[n]??"",groups:t}}return i}static compareComponent(e,t,n){let r=(e,t)=>{for(let n of["type","modifier","prefix","value","suffix"]){if(e[n]{let n=0;for(;n[e,t]))}}au(af,"getMobxData",function(){return ad}),au(af,"animated",function(){return ap});const ap=(e,t)=>new Promise(n=>{let r=(0,sI.delegate)(t,t=>{e.removeEventListener("animationend",r),e.removeEventListener("animationcancel",r),n(t)});e.addEventListener("animationend",r),e.addEventListener("animationcancel",r)}),am=new WeakMap;function ag(e,t){return(0,sI.isHTMLElementClass)(e)?function(e){class t extends e{get props(){return ad(this)}constructor(){super(),Object.defineProperty(this,"disposers",{enumerable:!0,configurable:!0,writable:!0,value:[]});let{update:e}=Object.getPrototypeOf(this);this.update=()=>this.disposers.push((0,sD.autorun)(()=>e.call(this)))}connectedCallback(){var e;let t=this.constructor.observedAttributes||[],n=am.get(this)||[];this.disposers.push(...t.map(e=>(0,sD.autorun)(()=>this.syncPropAttr(e))),...n.map(({expression:e,effect:t})=>(0,sD.reaction)(t=>e(this,t),t.bind(this)))),null===(e=super.connectedCallback)||void 0===e||e.call(this)}disconnectedCallback(){for(let e of this.disposers)e();this.disposers.length=0}setAttribute(e,t){let n=super.getAttribute(e),r=this.constructor.observedAttributes;super.setAttribute(e,t),r.includes(e)&&this.attributeChangedCallback(e,n,t)}attributeChangedCallback(e,t,n){var r;this[(0,sI.toCamelCase)(e)]=(0,sI.parseJSON)(n),null===(r=super.attributeChangedCallback)||void 0===r||r.call(this,e,t,n)}syncPropAttr(e){var t,n=this[(0,sI.toCamelCase)(e)];if(!(null!=n)||!1===n)return this.removeAttribute(e);"object"==typeof(n=!0===n?e:n)&&(n="object"==typeof(n=null===(t=n.toJSON)||void 0===t?void 0:t.call(n))?JSON.stringify(n):n),super.setAttribute(e,n)}}return Object.defineProperty(t,"observedAttributes",{enumerable:!0,configurable:!0,writable:!0,value:[]}),t}(e):t=>{let n=e(t),r=new sB.DOMRenderer,i=(0,sD.autorun)(()=>{let i=e(t);n.node&&Object.assign(n,r.patch(n,i))}),{ref:s}=n;return n.ref=e=>{e?n.node=e:i(),null==s||s(e)},n}}function ab(e,{name:t,addInitializer:n}){n(function(){let e=this.constructor.observedAttributes,n=(0,sI.toHyphenCase)(t.toString());e.includes(n)||e.push(n)})}function ay(e){return(t,{addInitializer:n})=>n(function(){let n=am.get(this)||[];n.push({expression:e,effect:t}),am.set(this,n)})}var av={};au(av,"component",function(){return ax}),au(av,"on",function(){return ak});const aw=new WeakMap;function ax(e){return(t,{addInitializer:n})=>(n(function(){var t;null===(t=globalThis.customElements)||void 0===t||t.define(e.tagName,this,e)}),class extends t{get root(){return this.internals.shadowRoot||this}constructor(){super(),Object.defineProperty(this,"internals",{enumerable:!0,configurable:!0,writable:!0,value:this.attachInternals()}),Object.defineProperty(this,"renderer",{enumerable:!0,configurable:!0,writable:!0,value:new sB.DOMRenderer}),e.mode&&!this.internals.shadowRoot&&this.attachShadow(e)}connectedCallback(){var t;this.update();let{mode:n}=e,r=!(null!=n),{root:i}=this;for(let{type:e,selector:t,handler:n}of aw.get(this)||[])r&&/^:host/.test(t)&&console.warn(`[WebCell] DOM Event delegation of "${t}" won't work if you don't invoke "this.attachShadow()" manually.`),i.addEventListener(e,n);null===(t=super.connectedCallback)||void 0===t||t.call(this)}update(){var e;let t=null===(e=this.render)||void 0===e?void 0:e.call(this);this.renderer.render((0,sI.isEmpty)(t)?(0,sP.jsx)(sP.Fragment,{}):t,this.root)}disconnectedCallback(){var e;let{root:t}=this;for(let{type:e,handler:n}of aw.get(this)||[])t.removeEventListener(e,n);null===(e=super.disconnectedCallback)||void 0===e||e.call(this)}emit(e,t,{cancelable:n,bubbles:r,composed:i}={}){return this.dispatchEvent(new CustomEvent(e,{detail:t,cancelable:n,bubbles:r,composed:i}))}toString(){return(0,sI.stringifyDOM)(this.root)}})}function ak(e,t){return(n,{addInitializer:r})=>r(function(){let r=aw.get(this)||[],i=(0,sI.delegate)(t,n.bind(this));r.push({type:e,selector:t,handler:i}),aw.set(this,r)})}au({},"formField",function(){return aS});var aO=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},a_=function(e,t,n){for(var r=arguments.length>2,i=0;i{var e;let t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=p[Symbol.metadata])&&void 0!==e?e:null):void 0;l=[ay(({value:e})=>e)],c=[ab,sD.observable],u=[sD.observable],h=[ab,sD.observable],f=[ab,sD.observable],d=[ab,sD.observable],aO(n,null,l,{kind:"method",name:"setValue",static:!1,private:!1,access:{has:e=>"setValue"in e,get:e=>e.setValue},metadata:t},null,m),aO(n,null,c,{kind:"accessor",name:"name",static:!1,private:!1,access:{has:e=>"name"in e,get:e=>e.name,set:(e,t)=>{e.name=t}},metadata:t},g,m),aO(n,null,u,{kind:"accessor",name:"value",static:!1,private:!1,access:{has:e=>"value"in e,get:e=>e.value,set:(e,t)=>{e.value=t}},metadata:t},b,m),aO(n,null,h,{kind:"accessor",name:"required",static:!1,private:!1,access:{has:e=>"required"in e,get:e=>e.required,set:(e,t)=>{e.required=t}},metadata:t},y,m),aO(n,null,f,{kind:"accessor",name:"disabled",static:!1,private:!1,access:{has:e=>"disabled"in e,get:e=>e.disabled,set:(e,t)=>{e.disabled=t}},metadata:t},v,m),aO(n,null,d,{kind:"accessor",name:"autofocus",static:!1,private:!1,access:{has:e=>"autofocus"in e,get:e=>e.autofocus,set:(e,t)=>{e.autofocus=t}},metadata:t},w,m),t&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})})(),Object.defineProperty(n,"formAssociated",{enumerable:!0,configurable:!0,writable:!0,value:!0}),n}var aA={};au(aA,"AsyncCell",function(){return a$}),au(aA,"lazy",function(){return aL});var aT=function(e,t,n){for(var r=arguments.length>2,i=0;i=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},aP=function(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)},aC=function(e,t,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},aI=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let a$=(s=[ax({tagName:"async-cell"}),ag],a=[],o=HTMLElement,l=[],c=[],u=[],n=class extends o{constructor(){super(...arguments),Object.defineProperty(this,"loader",{enumerable:!0,configurable:!0,writable:!0,value:void aT(this,l)}),n5.set(this,aT(this,c,void 0)),n4.set(this,aT(this,u,void 0))}get component(){return aP(this,n5,"f")}set component(e){aC(this,n5,e,"f")}get delegatedProps(){return aP(this,n4,"f")}set delegatedProps(e){aC(this,n4,e,"f")}connectedCallback(){this.load()}async load(){this.component=void 0;let e=await this.loader();this.component=t=>{var{children:n}=t,r=aI(t,["children"]);return(0,sP.jsx)(e,Object.assign({},r,{children:n}))},this.emit("load",this.component)}render(){let{component:e,props:t,delegatedProps:n}=this,r=Object.assign(Object.assign({},t),n),{children:i}=r,s=aI(r,["children"]);return e&&(0,sP.jsx)(e,Object.assign({},s,{children:i}))}},n5=new WeakMap,n4=new WeakMap,n9=n,"symbol"==typeof(n7="AsyncCell")&&(n7=n7.description?"[".concat(n7.description,"]"):""),Object.defineProperty(n9,"name",{configurable:!0,value:re?"".concat(re," ",n7):n7}),(()=>{var e;let h="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=o[Symbol.metadata])&&void 0!==e?e:null):void 0;r=[sD.observable],i=[sD.observable],aN(n,null,r,{kind:"accessor",name:"component",static:!1,private:!1,access:{has:e=>"component"in e,get:e=>e.component,set:(e,t)=>{e.component=t}},metadata:h},c,l),aN(n,null,i,{kind:"accessor",name:"delegatedProps",static:!1,private:!1,access:{has:e=>"delegatedProps"in e,get:e=>e.delegatedProps,set:(e,t)=>{e.delegatedProps=t}},metadata:h},u,l),aN(null,t={value:n},s,{kind:"class",name:n.name,metadata:h},null,a),n=t.value,h&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:h}),aT(n,a)})(),n);function aL(e){return t=>(0,sP.jsx)(a$,{delegatedProps:t,loader:async()=>(await e()).default})}var aR={};au(aR,"AnimateCSS",function(){return aU});var aM=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},aB=function(e,t,n){for(var r=arguments.length>2,i=0;i{var e;let t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=y[Symbol.metadata])&&void 0!==e?e:null):void 0;d=[ab,sD.observable],p=[ab,sD.observable],m=[ay(({type:e})=>e)],aM(f,null,d,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:e=>"type"in e,get:e=>e.type,set:(e,t)=>{e.type=t}},metadata:t},w,v),aM(f,null,p,{kind:"accessor",name:"playing",static:!1,private:!1,access:{has:e=>"playing"in e,get:e=>e.playing,set:(e,t)=>{e.playing=t}},metadata:t},x,v),aM(f,null,m,{kind:"method",name:"typeChanged",static:!1,private:!1,access:{has:e=>"typeChanged"in e,get:e=>e.typeChanged},metadata:t},null,v),aM(null,h={value:f},g,{kind:"class",name:f.name,metadata:t},null,b),f=h.value,t&&Object.defineProperty(f,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),aB(f,b)})(),f);function az(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}Object.keys(ra={}).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(aR,e)||Object.defineProperty(aR,e,{enumerable:!0,get:function(){return ra[e]}})});var aq={};Object.defineProperty(aq,"__esModule",{value:!0,configurable:!0}),az(aq,"History",()=>aQ),az(aq,"default",()=>aX);var aV=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},aW=function(e,t,n){for(var r=arguments.length>2,i=0;i{let{state:e}=aJ;this.push(),document.title=(null==e?void 0:e.title)||this.titleOf()||aY||aG.href}}),Object.defineProperty(this,"handleForm",{enumerable:!0,configurable:!0,writable:!0,value:(e,t)=>{let{method:n,target:r}=t;if("get"!==n||"_self"!==(r||"_self"))return;e.preventDefault();let i=t.getAttribute("action"),s=(0,sI.buildURLData)((0,sI.formToJSON)(t));this.push(`${i}?${s}`)}}),this.restore(),window.addEventListener("hashchange",this.restore),window.addEventListener("popstate",this.restore),document.addEventListener("click",(0,sI.delegate)("a[href], area[href]",this.handleLink.bind(this))),document.addEventListener("submit",(0,sI.delegate)("form[action]",this.handleForm))}push(e=aG.href){return(e=e.replace(aZ,""))===this.path?e:(this.oldPath=this.path,this.path=e)}static dataOf(e){let[t,n]=e.split("#");return(0,sI.parseURLData)(n||t)}static match(e,t){var n;if(!t)return;let{pathname:r,hash:i}=new URLPattern(e,aZ).exec(new URL(t.split("?")[0],aZ))||{};return null===(n=i||r)||void 0===n?void 0:n.groups}static getTitle(e){return e.title||(0,sI.getVisibleText)(e)}titleOf(e=this.path){if(e=e.replace(/^\//,""))for(let t of document.querySelectorAll(`a[href="${e}"], area[href="${e}"]`)){let e=ro.getTitle(t);if(e)return e}}handleLink(e,t){let n=t.getAttribute("href");if("_self"!==(t.target||"_self")||(0,sI.isXDomain)(n))return;if(e.preventDefault(),n.startsWith("#"))try{if(document.querySelector(n))return(0,sI.scrollTo)(n,e.currentTarget)}catch(e){}let r=ro.getTitle(t);aJ.pushState({title:r},document.title=r,n),this.push(n)}},rl=new WeakMap,rc=new WeakMap,(()=>{let e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;k=[sD.observable],O=[sD.observable],_=[sD.action],aV(ro,null,k,{kind:"accessor",name:"path",static:!1,private:!1,access:{has:e=>"path"in e,get:e=>e.path,set:(e,t)=>{e.path=t}},metadata:e},E,j),aV(ro,null,O,{kind:"accessor",name:"oldPath",static:!1,private:!1,access:{has:e=>"oldPath"in e,get:e=>e.oldPath,set:(e,t)=>{e.oldPath=t}},metadata:e},S,j),aV(ro,null,_,{kind:"method",name:"push",static:!1,private:!1,access:{has:e=>"push"in e,get:e=>e.push},metadata:e},null,j),e&&Object.defineProperty(ro,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})})(),ro);var aX=new aQ;az({},"CellRoute",()=>a6);var a0=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},a1=function(e,t,n){for(var r=arguments.length>2,i=0;i(0,sP.jsx)(s,Object.assign({},t,{style:e},r,aQ.dataOf(a),{path:a,history:aX}))}):i?(0,sP.jsx)(aU,{type:n,component:t=>(0,sP.jsx)(s,Object.assign({},t,{style:e},i,aQ.dataOf(o),{path:o,history:aX}))}):(0,sP.jsx)(sP.Fragment,{})}},ru=new WeakMap,rh=new WeakMap,rf=new WeakMap,rd=T,"symbol"==typeof(rp="CellRoute")&&(rp=rp.description?"[".concat(rp.description,"]"):""),Object.defineProperty(rd,"name",{configurable:!0,value:rm?"".concat(rm," ",rp):rp}),(()=>{var e;let t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=M[Symbol.metadata])&&void 0!==e?e:null):void 0;N=[ab,sD.observable],P=[ab,sD.observable],C=[ab,sD.observable],I=[sD.computed],$=[sD.computed],a0(T,null,N,{kind:"accessor",name:"path",static:!1,private:!1,access:{has:e=>"path"in e,get:e=>e.path,set:(e,t)=>{e.path=t}},metadata:t},D,B),a0(T,null,P,{kind:"accessor",name:"inAnimation",static:!1,private:!1,access:{has:e=>"inAnimation"in e,get:e=>e.inAnimation,set:(e,t)=>{e.inAnimation=t}},metadata:t},F,B),a0(T,null,C,{kind:"accessor",name:"outAnimation",static:!1,private:!1,access:{has:e=>"outAnimation"in e,get:e=>e.outAnimation,set:(e,t)=>{e.outAnimation=t}},metadata:t},U,B),a0(T,null,I,{kind:"getter",name:"matched",static:!1,private:!1,access:{has:e=>"matched"in e,get:e=>e.matched},metadata:t},null,B),a0(T,null,$,{kind:"getter",name:"oldMatched",static:!1,private:!1,access:{has:e=>"oldMatched"in e,get:e=>e.oldMatched},metadata:t},null,B),a0(null,A={value:T},L,{kind:"class",name:T.name,metadata:t},null,R),T=A.value,t&&Object.defineProperty(T,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),a1(T,R)})(),T);az({},"createRouter",()=>a5);var a8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function a5(e={}){var{mode:t="hash"}=e,n=a8(e,["mode"]);let r="hash"===t?"#":"";return{Route:e=>{var{path:t}=e,i=a8(e,["path"]);return(0,sP.jsx)(a6,Object.assign({},i,n,{path:r+t}))},Link:e=>{var{to:t,children:n}=e,i=a8(e,["to","children"]);return(0,sP.jsx)("a",Object.assign({},i,{href:r+t,children:n}))},Form:e=>{var{action:t,children:n}=e,i=a8(e,["action","children"]);return(0,sP.jsx)("form",Object.assign({},i,{action:r+t,children:n}))}}}var a4={};!/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/function(){var e={}.hasOwnProperty;function t(){for(var r="",i=0;i(0,sP.jsx)("div",{className:sE(a4)("ratio","string"==typeof e&&`ratio-${e}`),style:"number"==typeof e?{"--bs-aspect-ratio":`${100*e}%`}:void 0,children:t});a9({},"Container",function(){return ot});var oe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const ot=e=>{var{className:t="",fluid:n,children:r}=e,i=oe(e,["className","fluid","children"]);return(0,sP.jsx)("div",Object.assign({className:`container${!0===n?"-fluid":n?`-${n}`:""} ${t}`},i,{children:r}))};a9({},"Table",function(){return or});var on=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const or=e=>{var{className:t,variant:n,size:r,responsive:i,striped:s,hover:a,bordered:o,borderless:l,caption:c,children:u}=e,h=on(e,["className","variant","size","responsive","striped","hover","bordered","borderless","caption","children"]);let f=(0,sP.jsx)("table",Object.assign({className:sE(a4)("table",n&&`table-${n}`,r&&`table-${r}`,s&&`table-striped${"columns"===s?"-columns":""}`,a&&"table-hover",o&&"table-bordered",l&&"table-borderless",c&&`caption-${c}`)},h,{children:u}));return i?(0,sP.jsx)("div",{className:`table-responsive${!0===i?"":`-${i}`}`,children:f}):f};function oi(e,t){return n=>n&&new IntersectionObserver(([{isIntersecting:n}])=>n&&t(e)).observe(n)}a9({},"ScrollBoundary",function(){return os});const os=({className:e,onTouch:t,top:n,left:r,right:i,bottom:s,children:a})=>(0,sP.jsxs)("div",{className:sE(a4)("position-relative",e),children:[(0,sP.jsx)("div",{className:"position-absolute top-0 left-0 w-100",ref:oi("top",t),children:n}),(0,sP.jsx)("div",{className:"position-absolute top-0 left-0 h-100",ref:oi("left",t),children:r}),a,(0,sP.jsx)("div",{className:"position-absolute top-0 right-0 h-100",ref:oi("right",t),children:i}),(0,sP.jsx)("div",{className:"position-absolute top-100 left-0 w-100",ref:oi("bottom",t),children:s})]});a9({},"Jumbotron",function(){return oo});var oa=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const oo=e=>{var{className:t,fluid:n,bg:r="body-tertiary",rounded:i=n?0:3,title:s,description:a,children:o}=e,l=oa(e,["className","fluid","bg","rounded","title","description","children"]);let c=(0,sP.jsxs)(sP.Fragment,{children:[(0,sP.jsx)("h1",{className:"display-4",children:s}),(0,sP.jsx)("p",{className:"lead",children:a}),o&&(0,sP.jsxs)(sP.Fragment,{children:[(0,sP.jsx)("hr",{className:"my-4"}),o]})]});return(0,sP.jsx)("header",Object.assign({className:sE(a4)("py-5",!n&&"px-5",r&&`bg-${r}`,i&&`rounded-${i}`,t)},l,{children:n?(0,sP.jsx)(ot,{fluid:n,children:c}):c}))};var ol={};a9(ol,"Card",function(){return of}),a9(ol,"CardBody",function(){return op}),a9(ol,"CardHeader",function(){return od}),a9(ol,"CardFooter",function(){return om}),a9(ol,"CardTitle",function(){return og}),a9(ol,"CardImg",function(){return ob}),a9({},"Image",function(){return ou});var oc=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const ou=e=>{var{className:t,fluid:n,rounded:r,roundedCircle:i,thumbnail:s}=e,a=oc(e,["className","fluid","rounded","roundedCircle","thumbnail"]);return(0,sP.jsx)("img",Object.assign({className:sE(a4)(n&&"img-fluid",s&&"img-thumbnail",{rounded:r},i&&"rounded-circle",t)},a))};var oh=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const of=e=>{var{className:t,bg:n,text:r,border:i,body:s,children:a}=e,o=oh(e,["className","bg","text","border","body","children"]);return(0,sP.jsx)("div",Object.assign({className:sE(a4)("card",n&&`text-bg-${n}`,r&&`text-${r}`,i&&`border-${i}`,t)},o,{children:s?(0,sP.jsx)(op,{children:a}):a}))},od=e=>{var{className:t="",children:n}=e,r=oh(e,["className","children"]);return(0,sP.jsx)("div",Object.assign({className:`card-header ${t}`},r,{children:n}))},op=e=>{var{className:t="",children:n}=e,r=oh(e,["className","children"]);return(0,sP.jsx)("div",Object.assign({className:`card-body ${t}`},r,{children:n}))},om=e=>{var{className:t="",children:n}=e,r=oh(e,["className","children"]);return(0,sP.jsx)("div",Object.assign({className:`card-footer ${t}`},r,{children:n}))},og=e=>{var{className:t="",children:n}=e,r=oh(e,["className","children"]);return(0,sP.jsx)("h5",Object.assign({className:`card-title ${t}`},r,{children:n}))},ob=e=>{var{className:t="",variant:n}=e,r=oh(e,["className","variant"]);return(0,sP.jsx)(ou,Object.assign({className:`card-img${n?`-${n}`:""} ${t}`},r))};var oy={};a9(oy,"FormGroup",function(){return ow}),a9(oy,"FormLabel",function(){return ox}),a9(oy,"FloatingLabel",function(){return ok}),a9(oy,"InputGroup",function(){return oO}),a9(oy,"InputGroupText",function(){return o_}),a9(oy,"FormControl",function(){return oj}),a9(oy,"FormCheck",function(){return oE}),a9(oy,"FormField",function(){return oS});var ov=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const ow=e=>{var{children:t}=e,n=ov(e,["children"]);return(0,sP.jsx)("div",Object.assign({},n,{children:t}))},ox=e=>{var{className:t="",children:n}=e,r=ov(e,["className","children"]);return(0,sP.jsx)("label",Object.assign({className:`form-label ${t}`},r,{children:n}))},ok=e=>{var{className:t="",style:n,label:r,children:i}=e,s=ov(e,["className","style","label","children"]);return(0,sP.jsxs)("div",{className:`form-floating ${t}`,style:n,children:[i,(0,sP.jsx)("label",Object.assign({},s,{children:r}))]})},oO=e=>{var{className:t="",size:n,children:r}=e,i=ov(e,["className","size","children"]);return(0,sP.jsx)("div",Object.assign({className:sE(a4)("input-group",n&&`input-group-${n}`,t)},i,{children:r}))},o_=e=>{var{className:t="",children:n}=e,r=ov(e,["className","children"]);return(0,sP.jsx)("span",Object.assign({className:`input-group-text ${t}`},r,{children:n}))},oj=e=>{var{as:t,className:n="",htmlSize:r,size:i,plaintext:s}=e,a=ov(e,["as","className","htmlSize","size","plaintext"]);return(0,sP.jsx)(t,Object.assign({className:sE(a4)("form-control",i&&`form-control-${i}`,a.readOnly&&s&&"form-control-plaintext","color"===a.type&&"form-control-color",n)},a,{size:r}))},oE=e=>{var{id:t=(0,sI.uniqueID)(),className:n="",style:r,title:i,type:s,inline:a,reverse:o,label:l}=e,c=ov(e,["id","className","style","title","type","inline","reverse","label"]);return(0,sP.jsxs)("div",{className:sE(a4)(l&&"form-check",a&&"form-check-inline",o&&"form-check-reverse","switch"===s&&"form-switch",n),style:r,children:[(0,sP.jsx)("input",Object.assign({className:"form-check-input",type:"switch"===s?"checkbox":s,role:"switch"===s?"switch":void 0,id:t},c)),l&&(0,sP.jsx)("label",{className:"form-check-label",htmlFor:t,title:i,children:l})]})},oS=e=>{var{className:t,label:n,labelFloat:r}=e,i=ov(e,["className","label","labelFloat"]);n||(n=i.title||i.placeholder);let s=(0,sP.jsx)(oj,Object.assign({},i));return r?(0,sP.jsx)(ok,{className:t,label:n,children:s}):(0,sP.jsxs)(ow,{className:t,children:[(0,sP.jsx)(ox,{children:n}),s]})};var oA={};a9(oA,"Button",function(){return o$}),a9(oA,"isButton",function(){return oL}),a9(oA,"IconButton",function(){return oR}),a9(oA,"CloseButton",function(){return oM});var oT={};a9(oT,"Icon",function(){return oP}),a9(oT,"BGIcon",function(){return oC});var oN=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const oP=e=>{var{className:t,style:n,color:r,name:i,size:s,children:a}=e,o=oN(e,["className","style","color","name","size","children"]);return(0,sP.jsx)("i",Object.assign({className:sE(a4)(`bi-${i}`,r&&`text-${r}`,t),style:Object.assign(Object.assign({},n),{fontSize:s?`${s}rem`:void 0})},o))},oC=e=>{var{className:t="",type:n="square",color:r="primary",children:i}=e,s=oN(e,["className","type","color","children"]);return(0,sP.jsx)("span",Object.assign({className:sE(a4)("d-inline-block","p-3",`bg-${r}`,`rounded${"square"===n?"":"-circle"}`,t)},s,{children:(0,sP.jsx)(oP,Object.assign({color:"light"===r?"dark":"light"},s))}))};var oI=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const o$=e=>{var{className:t,href:n,variant:r,size:i,active:s,children:a}=e,o=oI(e,["className","href","variant","size","active","children"]);let{disabled:l,tabIndex:c}=o,u=sE(a4)("btn",r&&`btn-${r}`,i&&`btn-${i}`,t);return n?(0,sP.jsx)("a",Object.assign({role:"button",className:sE(a4)(u,{disabled:l,active:s}),tabIndex:l?-1:c,ariaDisabled:null==l?void 0:l.toString(),ariaPressed:null==s?void 0:s.toString(),href:n},o,{children:a})):(0,sP.jsx)("button",Object.assign({className:u},o,{ariaPressed:null==s?void 0:s.toString(),children:a}))};function oL(e){var t;let{selector:n,props:r}=e;return/^(a|input|button)/.test(n)&&(null===(t=null==r?void 0:r.className)||void 0===t?void 0:t.btn)}const oR=e=>{var{className:t,name:n}=e,r=oI(e,["className","name"]);return(0,sP.jsx)(o$,Object.assign({className:sE(a4)("p-1",t),style:{lineHeight:"0.8"}},r,{children:(0,sP.jsx)(oP,{name:n})}))},oM=e=>{var{className:t=""}=e,n=oI(e,["className"]);return(0,sP.jsx)("button",Object.assign({className:`btn-close ${t}`,type:"button",ariaLabel:"Close"},n))};a9({},"Badge",function(){return oD});var oB=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const oD=e=>{var{className:t,bg:n,text:r,pill:i,href:s,children:a}=e,o=oB(e,["className","bg","text","pill","href","children"]);let l=sE(a4)("badge",n&&`text-bg-${n}`,r&&`text-${r}`,i&&"rounded-pill",s&&"text-decoration-none",t);return s?(0,sP.jsx)("a",Object.assign({},o,{className:l,href:s,children:a})):(0,sP.jsx)("span",Object.assign({},o,{className:l,children:a}))};var oF={};a9(oF,"Spinner",function(){return oz}),a9(oF,"SpinnerBox",function(){return oq});var oU=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const oz=e=>{var{className:t,variant:n,size:r,animation:i="border",children:s="Loading..."}=e,a=oU(e,["className","variant","size","animation","children"]);return(0,sP.jsx)("div",Object.assign({className:sE(a4)(`spinner-${i}`,r&&`spinner-${i}-${r}`,n&&`text-${n}`,t),role:"status"},a,{children:(0,sP.jsx)("span",{className:"visually-hidden",children:s})}))},oq=e=>{var{className:t="",cover:n,variant:r,size:i,animation:s,role:a,children:o}=e,l=oU(e,["className","cover","variant","size","animation","role","children"]);return(0,sP.jsxs)("div",Object.assign({className:`position-relative ${t}`},l,{children:[o,n&&(0,sP.jsx)("div",{className:"modal-backdrop show d-flex justify-content-center align-items-center",children:(0,sP.jsx)(oz,{variant:r,size:i,animation:s,role:a,ariaHidden:"true"})})]}))};var oV={};a9(oV,"Tooltip",function(){return oZ}),a9(oV,"TooltipBox",function(){return oY});var oW=function(e,t,n){for(var r=arguments.length>2,i=0;i=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},oK=function(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)},oG=function(e,t,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},oJ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const oZ=e=>{var{className:t="",children:n}=e,r=oJ(e,["className","children"]);return(0,sP.jsxs)("div",Object.assign({className:`tooltip bs-tooltip show position-absolute ${t}`,role:"tooltip"},r,{children:[(0,sP.jsx)("div",{className:"tooltip-arrow"}),(0,sP.jsx)("div",{className:"tooltip-inner",children:n})]}))};let oY=(W=[ax({tagName:"tooltip-box",mode:"open"}),ag],H=[],K=HTMLElement,G=[],J=[],q=class extends K{constructor(){super(...arguments),Object.defineProperty(this,"content",{enumerable:!0,configurable:!0,writable:!0,value:void oW(this,G)}),rb.set(this,oW(this,J,!1)),Object.defineProperty(this,"handleToggle",{enumerable:!0,configurable:!0,writable:!0,value:()=>this.show=!this.show})}get show(){return oK(this,rb,"f")}set show(e){oG(this,rb,e,"f")}connectedCallback(){this.style.display="inline-block",this.addEventListener("mouseenter",this.handleToggle),this.addEventListener("mouseleave",this.handleToggle)}disconnectedCallback(){this.removeEventListener("mouseenter",this.handleToggle),this.removeEventListener("mouseleave",this.handleToggle)}render(){let{content:e,show:t}=this;return(0,sP.jsxs)(sP.Fragment,{children:[(0,sP.jsx)("link",{rel:"stylesheet",href:"https://unpkg.com/bootstrap@5.3.2/dist/css/bootstrap.min.css"}),(0,sP.jsx)("slot",{}),t&&(0,sP.jsx)(oZ,{children:e})]})}},rb=new WeakMap,ry=q,"symbol"==typeof(rv="TooltipBox")&&(rv=rv.description?"[".concat(rv.description,"]"):""),Object.defineProperty(ry,"name",{configurable:!0,value:rw?"".concat(rw," ",rv):rv}),(()=>{var e;let t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=K[Symbol.metadata])&&void 0!==e?e:null):void 0;V=[ab,sD.observable],oH(q,null,V,{kind:"accessor",name:"show",static:!1,private:!1,access:{has:e=>"show"in e,get:e=>e.show,set:(e,t)=>{e.show=t}},metadata:t},J,G),oH(null,z={value:q},W,{kind:"class",name:q.name,metadata:t},null,H),q=z.value,t&&Object.defineProperty(q,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),oW(q,H)})(),q);var oQ={};a9(oQ,"Dropdown",function(){return o6}),a9(oQ,"DropdownToggle",function(){return o8}),a9(oQ,"DropdownMenu",function(){return o5}),a9(oQ,"DropdownItem",function(){return o4}),a9(oQ,"DropdownButton",function(){return o9});var oX=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},o0=function(e,t,n){for(var r=arguments.length>2,i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const o6=e=>{var{className:t="",children:n}=e,r=o3(e,["className","children"]);return(0,sP.jsx)("div",Object.assign({className:`dropdown ${t}`},r,{children:n}))},o8=e=>{var{className:t="",children:n}=e,r=o3(e,["className","children"]);return(0,sP.jsx)(o$,Object.assign({},r,{className:`dropdown-toggle ${t}`,type:"button",children:n}))},o5=e=>{var{className:t="",children:n}=e,r=o3(e,["className","children"]);return(0,sP.jsx)("nav",Object.assign({className:`dropdown-menu ${t}`},r,{children:n}))},o4=e=>{var{className:t="",children:n}=e,r=o3(e,["className","children"]);return(0,sP.jsx)("a",Object.assign({className:`dropdown-item ${t}`},r,{children:n}))};let o9=(es=[ax({tagName:"dropdown-button",mode:"open"}),ag],ea=[],eo=HTMLElement,el=[],ec=[],eu=[],eh=[],ef=[],ed=[],ep=[],em=[],Y=class extends eo{constructor(){super(...arguments),rx.set(this,(o0(this,el),o0(this,ec,void 0))),rk.set(this,o0(this,eu,void 0)),rO.set(this,o0(this,eh,void 0)),r_.set(this,o0(this,ef,void 0)),rj.set(this,o0(this,ed,void 0)),rE.set(this,o0(this,ep,!1)),rS.set(this,o0(this,em,!1))}get boxClass(){return o1(this,rx,"f")}set boxClass(e){o2(this,rx,e,"f")}get buttonClass(){return o1(this,rk,"f")}set buttonClass(e){o2(this,rk,e,"f")}get variant(){return o1(this,rO,"f")}set variant(e){o2(this,rO,e,"f")}get size(){return o1(this,r_,"f")}set size(e){o2(this,r_,e,"f")}get caption(){return o1(this,rj,"f")}set caption(e){o2(this,rj,e,"f")}get disabled(){return o1(this,rE,"f")}set disabled(e){o2(this,rE,e,"f")}get show(){return o1(this,rS,"f")}set show(e){o2(this,rS,e,"f")}renderContent(){let{boxClass:e,buttonClass:t,variant:n,size:r,caption:i}=this,{disabled:s,show:a}=this;return(0,sP.jsxs)(o6,{className:sE(a4)(e,{show:a}),children:[(0,sP.jsx)(o8,{className:sE(a4)(t,{show:a}),variant:n,size:r,disabled:s,onClick:()=>this.show=!a,children:i}),(0,sP.jsx)(o5,{className:sE(a4)({show:a}),children:(0,sP.jsx)("slot",{})})]})}render(){return(0,sP.jsxs)(sP.Fragment,{children:[(0,sP.jsx)("link",{rel:"stylesheet",href:"https://unpkg.com/bootstrap@5.3.2/dist/css/bootstrap.min.css"}),(0,sP.jsx)("style",{children:`:host { + display: inline-block; + }`}),this.renderContent()]})}},rx=new WeakMap,rk=new WeakMap,rO=new WeakMap,r_=new WeakMap,rj=new WeakMap,rE=new WeakMap,rS=new WeakMap,rA=Y,"symbol"==typeof(rT="DropdownButton")&&(rT=rT.description?"[".concat(rT.description,"]"):""),Object.defineProperty(rA,"name",{configurable:!0,value:rN?"".concat(rN," ",rT):rT}),(()=>{var e;let t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=eo[Symbol.metadata])&&void 0!==e?e:null):void 0;Q=[ab,sD.observable],X=[ab,sD.observable],ee=[ab,sD.observable],et=[ab,sD.observable],en=[sD.observable],er=[ab,sD.observable],ei=[ab,sD.observable],oX(Y,null,Q,{kind:"accessor",name:"boxClass",static:!1,private:!1,access:{has:e=>"boxClass"in e,get:e=>e.boxClass,set:(e,t)=>{e.boxClass=t}},metadata:t},ec,el),oX(Y,null,X,{kind:"accessor",name:"buttonClass",static:!1,private:!1,access:{has:e=>"buttonClass"in e,get:e=>e.buttonClass,set:(e,t)=>{e.buttonClass=t}},metadata:t},eu,el),oX(Y,null,ee,{kind:"accessor",name:"variant",static:!1,private:!1,access:{has:e=>"variant"in e,get:e=>e.variant,set:(e,t)=>{e.variant=t}},metadata:t},eh,el),oX(Y,null,et,{kind:"accessor",name:"size",static:!1,private:!1,access:{has:e=>"size"in e,get:e=>e.size,set:(e,t)=>{e.size=t}},metadata:t},ef,el),oX(Y,null,en,{kind:"accessor",name:"caption",static:!1,private:!1,access:{has:e=>"caption"in e,get:e=>e.caption,set:(e,t)=>{e.caption=t}},metadata:t},ed,el),oX(Y,null,er,{kind:"accessor",name:"disabled",static:!1,private:!1,access:{has:e=>"disabled"in e,get:e=>e.disabled,set:(e,t)=>{e.disabled=t}},metadata:t},ep,el),oX(Y,null,ei,{kind:"accessor",name:"show",static:!1,private:!1,access:{has:e=>"show"in e,get:e=>e.show,set:(e,t)=>{e.show=t}},metadata:t},em,el),oX(null,Z={value:Y},es,{kind:"class",name:Y.name,metadata:t},null,ea),Y=Z.value,t&&Object.defineProperty(Y,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),o0(Y,ea)})(),Y);var o7={};a9(o7,"NavLink",function(){return lr}),a9(o7,"NavDropdown",function(){return li}),a9(o7,"Nav",function(){return ls});var le=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},lt=function(e,t,n){for(var r=arguments.length>2,i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const lr=e=>{var{className:t="",active:n,children:r}=e,i=ln(e,["className","active","children"]);return(0,sP.jsx)("a",Object.assign({className:`nav-link ${n?"active":""} ${t}`},i,{children:r}))},li=e=>{var{title:t,children:n}=e,r=ln(e,["title","children"]);return(0,sP.jsx)(o9,Object.assign({boxClass:"nav-item",buttonClass:"nav-link",caption:t},r,{children:n}))};let ls=(ey=[ax({tagName:"bs-nav",mode:"open"})],ev=[],ew=HTMLElement,rP=eb=class extends ew{connectedCallback(){var e;let t=this.closest("offcanvas-navbar, .navbar");if(!t)return this.classList.add("nav");let n=t.expand||(null===(e=t.className.match(/navbar-expand(-(\S+))?/))||void 0===e?void 0:e[2]);this.classList.add("navbar-nav","align-items-center",n&&"flex-column",n&&`flex-${n}-row`)}render(){return(0,sP.jsx)("slot",{})}},"symbol"==typeof(rC="Nav")&&(rC=rC.description?"[".concat(rC.description,"]"):""),Object.defineProperty(rP,"name",{configurable:!0,value:rI?"".concat(rI," ",rC):rC}),(()=>{var e;let t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=ew[Symbol.metadata])&&void 0!==e?e:null):void 0;le(null,eg={value:eb},ey,{kind:"class",name:eb.name,metadata:t},null,ev),eb=eg.value,t&&Object.defineProperty(eb,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),lt(eb,ev)})(),eb);var la={};a9(la,"NavbarBrand",function(){return lv}),a9(la,"NavbarToggle",function(){return lw}),a9(la,"Navbar",function(){return lx}),a9(la,"OffcanvasNavbar",function(){return lk});var lo={};a9(lo,"OffcanvasTitle",function(){return lc}),a9(lo,"OffcanvasHeader",function(){return lu}),a9(lo,"OffcanvasBody",function(){return lh}),a9(lo,"Offcanvas",function(){return lf}),a9(lo,"OffcanvasBox",function(){return ld});var ll=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const lc=e=>{var{className:t="",children:n}=e,r=ll(e,["className","children"]);return(0,sP.jsx)("h5",Object.assign({className:`offcanvas-title ${t}`},r,{children:n}))},lu=e=>{var{className:t="",closeButton:n,children:r,onHide:i}=e,s=ll(e,["className","closeButton","children","onHide"]);return(0,sP.jsxs)("div",Object.assign({className:`offcanvas-header ${t}`},s,{children:[r,n&&(0,sP.jsx)(oM,{onClick:i})]}))},lh=e=>{var{className:t="",children:n}=e,r=ll(e,["className","children"]);return(0,sP.jsx)("div",Object.assign({className:`offcanvas-body ${t}`},r,{children:n}))},lf=e=>{var{className:t="",style:n,backdrop:r=!0,show:i,onHide:s,children:a}=e,o=ll(e,["className","style","backdrop","show","onHide","children"]);return(0,sP.jsxs)(sP.Fragment,{children:[(0,sP.jsx)("div",Object.assign({className:sE(a4)("offcanvas",i?"offcanvas-end show":"offcanvas-start",t),style:Object.assign({maxWidth:"75vw"},n),tabIndex:-1},"static"===r?{"data-bs-backdrop":"static"}:{},o,{children:a})),i&&(0,sP.jsx)("div",{className:"offcanvas-backdrop show",onClick:s})]})},ld=e=>{var{title:t,titleId:n=(0,sI.uniqueID)(),closeButton:r,onHide:i,children:s}=e,a=ll(e,["title","titleId","closeButton","onHide","children"]);return(0,sP.jsxs)(lf,Object.assign({},a,{onHide:i,"aria-labelledby":n,children:[(0,sP.jsx)(lu,{closeButton:r,onHide:i,children:(0,sP.jsx)(lc,{id:n,children:t})}),(0,sP.jsx)(lh,{children:s})]}))};var lp=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},lm=function(e,t,n){for(var r=arguments.length>2,i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const lv=e=>{var{className:t="",children:n}=e,r=ly(e,["className","children"]);return(0,sP.jsx)("a",Object.assign({className:`navbar-brand ${t}`},r,{children:n}))},lw=e=>{var{className:t="",type:n,children:r}=e,i=ly(e,["className","type","children"]);return(0,sP.jsx)("button",Object.assign({className:`navbar-toggler ${t}`,type:"button"},i,{children:(0,sP.jsx)("span",{className:"navbar-toggler-icon"})}))},lx=({variant:e="light",bg:t="body-tertiary",fixed:n,sticky:r,expand:i,children:s})=>(0,sP.jsx)("nav",{className:`navbar bg-${t} ${n?`fixed-${n}`:""} ${r?`sticky-${r}`:""} ${i?`navbar-expand${!0===i?"":`-${i}`}`:""}`,"data-bs-theme":e,children:s});let lk=(eI=[ax({tagName:"offcanvas-navbar",mode:"open"}),ag],e$=[],eL=HTMLElement,eR=[],eM=[],eB=[],eD=[],eF=[],eU=[],ez=[],eq=[],eV=[],eW=[],eH=[],ek=class extends eL{constructor(){super(...arguments),r$.set(this,(lm(this,eR),lm(this,eM,void 0))),rL.set(this,lm(this,eB,void 0)),rR.set(this,lm(this,eD,void 0)),rM.set(this,lm(this,eF,void 0)),rB.set(this,lm(this,eU,void 0)),rD.set(this,lm(this,ez,void 0)),rF.set(this,lm(this,eq,void 0)),Object.defineProperty(this,"titleId",{enumerable:!0,configurable:!0,writable:!0,value:(0,sI.uniqueID)()}),rU.set(this,lm(this,eV,void 0)),Object.defineProperty(this,"offcanvasId",{enumerable:!0,configurable:!0,writable:!0,value:(0,sI.uniqueID)()}),rz.set(this,lm(this,eW,!1)),rq.set(this,lm(this,eH,!0)),Object.defineProperty(this,"close",{enumerable:!0,configurable:!0,writable:!0,value:e=>{(!(e instanceof KeyboardEvent)||["Escape","Enter"].includes(e.key))&&(this.open=!1)}}),Object.defineProperty(this,"handleLink",{enumerable:!0,configurable:!0,writable:!0,value:(0,sI.delegate)("a[href].nav-link",this.close)})}get variant(){return lg(this,r$,"f")}set variant(e){lb(this,r$,e,"f")}get bg(){return lg(this,rL,"f")}set bg(e){lb(this,rL,e,"f")}get expand(){return lg(this,rR,"f")}set expand(e){lb(this,rR,e,"f")}get fixed(){return lg(this,rM,"f")}set fixed(e){lb(this,rM,e,"f")}get sticky(){return lg(this,rB,"f")}set sticky(e){lb(this,rB,e,"f")}get fluid(){return lg(this,rD,"f")}set fluid(e){lb(this,rD,e,"f")}get title(){return lg(this,rF,"f")}set title(e){lb(this,rF,e,"f")}get brand(){return lg(this,rU,"f")}set brand(e){lb(this,rU,e,"f")}get open(){return lg(this,rz,"f")}set open(e){lb(this,rz,e,"f")}get closeButton(){return lg(this,rq,"f")}set closeButton(e){lb(this,rq,e,"f")}connectedCallback(){var e;null===(e=globalThis.addEventListener)||void 0===e||e.call(globalThis,"keyup",this.close,!0),this.addEventListener("click",this.handleLink)}disconnectedCallback(){var e;null===(e=globalThis.removeEventListener)||void 0===e||e.call(globalThis,"keyup",this.close,!0),this.addEventListener("click",this.handleLink)}renderContent(){let{variant:e,bg:t,expand:n,fixed:r,sticky:i,fluid:s,brand:a}=this,{title:o,titleId:l,offcanvasId:c,open:u,closeButton:h}=this;return(0,sP.jsx)(lx,{variant:e,bg:t,expand:n,fixed:r,sticky:i,children:(0,sP.jsxs)(ot,{fluid:s,children:[a||o,(0,sP.jsx)(lw,{"aria-controls":c,ariaLabel:"Toggle navigation",onClick:()=>this.open=!0}),(0,sP.jsxs)(lf,{id:c,"aria-labelledby":l,show:u,onHide:this.close,children:[(0,sP.jsx)(lu,{closeButton:h,onHide:()=>this.open=!1,children:(0,sP.jsx)(lc,{id:l,children:a||o})}),(0,sP.jsx)(lh,{children:(0,sP.jsx)("slot",{})})]})]})})}render(){return(0,sP.jsxs)(sP.Fragment,{children:[(0,sP.jsx)("link",{rel:"stylesheet",href:"https://unpkg.com/bootstrap@5.3.2/dist/css/bootstrap.min.css"}),this.renderContent()]})}},r$=new WeakMap,rL=new WeakMap,rR=new WeakMap,rM=new WeakMap,rB=new WeakMap,rD=new WeakMap,rF=new WeakMap,rU=new WeakMap,rz=new WeakMap,rq=new WeakMap,rV=ek,"symbol"==typeof(rW="OffcanvasNavbar")&&(rW=rW.description?"[".concat(rW.description,"]"):""),Object.defineProperty(rV,"name",{configurable:!0,value:rH?"".concat(rH," ",rW):rW}),(()=>{var e;let t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=eL[Symbol.metadata])&&void 0!==e?e:null):void 0;eO=[ab,sD.observable],e_=[ab,sD.observable],ej=[ab,sD.observable],eE=[ab,sD.observable],eS=[ab,sD.observable],eA=[ab,sD.observable],eT=[ab,sD.observable],eN=[sD.observable],eP=[ab,sD.observable],eC=[ab,sD.observable],lp(ek,null,eO,{kind:"accessor",name:"variant",static:!1,private:!1,access:{has:e=>"variant"in e,get:e=>e.variant,set:(e,t)=>{e.variant=t}},metadata:t},eM,eR),lp(ek,null,e_,{kind:"accessor",name:"bg",static:!1,private:!1,access:{has:e=>"bg"in e,get:e=>e.bg,set:(e,t)=>{e.bg=t}},metadata:t},eB,eR),lp(ek,null,ej,{kind:"accessor",name:"expand",static:!1,private:!1,access:{has:e=>"expand"in e,get:e=>e.expand,set:(e,t)=>{e.expand=t}},metadata:t},eD,eR),lp(ek,null,eE,{kind:"accessor",name:"fixed",static:!1,private:!1,access:{has:e=>"fixed"in e,get:e=>e.fixed,set:(e,t)=>{e.fixed=t}},metadata:t},eF,eR),lp(ek,null,eS,{kind:"accessor",name:"sticky",static:!1,private:!1,access:{has:e=>"sticky"in e,get:e=>e.sticky,set:(e,t)=>{e.sticky=t}},metadata:t},eU,eR),lp(ek,null,eA,{kind:"accessor",name:"fluid",static:!1,private:!1,access:{has:e=>"fluid"in e,get:e=>e.fluid,set:(e,t)=>{e.fluid=t}},metadata:t},ez,eR),lp(ek,null,eT,{kind:"accessor",name:"title",static:!1,private:!1,access:{has:e=>"title"in e,get:e=>e.title,set:(e,t)=>{e.title=t}},metadata:t},eq,eR),lp(ek,null,eN,{kind:"accessor",name:"brand",static:!1,private:!1,access:{has:e=>"brand"in e,get:e=>e.brand,set:(e,t)=>{e.brand=t}},metadata:t},eV,eR),lp(ek,null,eP,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:e=>"open"in e,get:e=>e.open,set:(e,t)=>{e.open=t}},metadata:t},eW,eR),lp(ek,null,eC,{kind:"accessor",name:"closeButton",static:!1,private:!1,access:{has:e=>"closeButton"in e,get:e=>e.closeButton,set:(e,t)=>{e.closeButton=t}},metadata:t},eH,eR),lp(null,ex={value:ek},eI,{kind:"class",name:ek.name,metadata:t},null,e$),ek=ex.value,t&&Object.defineProperty(ek,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),lm(ek,e$)})(),ek);var sD=sT("feBSP"),sI=sT("bP8Tm");function lO(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var l_={};lO(l_,"Defer",function(){return lj}),lO(l_,"makeDefer",function(){return lE});class lj{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}}const lE=()=>new lj;lO({},"Observable",function(){return lS}),Symbol.observable||Reflect.set(Symbol,"observable",Symbol("observable"));class lS{constructor(e){this.subscriber=e}[Symbol.observable](){return this}async *[Symbol.asyncIterator](){var e,t=[new lj],n=!1;e=this.subscriber({next(e){n||(t[t.length-1].resolve(e),t.push(new lj))},error(r){n||(t[t.length-1].reject(r),n=!0),e&&e()},complete(){n||(t[t.length-1].resolve(),n=!0),e&&e()}});do yield t[0].promise,t.shift();while(t[0])}static of(...e){return new this(({next:t,complete:n})=>{for(let n of e)t(n);n()})}async toPromise(){let e=[];for await(let t of this)e.push(t),e.length>2&&e.shift();return e[0]}subscribe(e,t,n){var r=!1;return(async()=>{try{for await(let t of this)if(r)break;else e(t);n instanceof Function&&n()}catch(e){t instanceof Function&&t(e)}})(),{unsubscribe(){r=!0},get closed(){return r}}}static from(e){return new this(({next:t,error:n,complete:r})=>e.subscribe(t,n,r).unsubscribe)}static fromEvent(e,t){return new this(({next:n,error:r})=>("function"==typeof e.on?e.on(t,n).on("error",r):(e.addEventListener(t,n),e.addEventListener("error",r)),()=>{"function"==typeof e.off?e.off(t,n).off("error",r):(e.removeEventListener(t,n),e.removeEventListener("error",r))}))}}function lA(){var e,t;return{process(t){let n=new lj;if(!e)throw Error("Can't process data before Queue consuming");return e({defer:n,data:t}),n.promise},destroy(){if(!t)throw Error("Can't stop a Queue before Queue consuming");t()},observable:new lS(({next:n,complete:r})=>{e=n,t=r})}}lO({},"createQueue",function(){return lA});var sI=sT("bP8Tm");function lT(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}lT({},"Stack",function(){return lP});const{push:lN}=Array.prototype;class lP{use(...e){return lN.apply(this,e),this}execute(e,t=0){let n=this[t];if(n instanceof Function)return n(e,this.execute.bind(this,e,++t))}mount(e,t){return this.use((n,r)=>e(n)?t.execute(n):r())}constructor(){this.length=0}}var lC={};lT(lC,"BodyRequestMethods",function(){return su}),lT(lC,"HTTPError",function(){return lD}),lT(lC,"headerParser",function(){return lF}),lT(lC,"parseHeaders",function(){return lU}),lT(lC,"parseBody",function(){return lz}),lT(lC,"requestXHR",function(){return lq}),lT(lC,"requestFetch",function(){return lV}),lT(lC,"request",function(){return lW});var lI={};async function l$(e,t=""){let[n]=t?.split(";")||[];return new DOMParser().parseFromString(e,n||"text/html")}function lL(e){let t=new FormData;for(let[n,r]of Object.entries(e))for(let e of Array.from("string"!=typeof r&&(0,sI.likeArray)(r)?r:[r]))null!=e&&("object"==typeof e?t.append(n,e,e.name):t.append(n,e));return t}function lR(e){var t;if(!(e instanceof HTMLFormElement))return{contentType:e instanceof SVGElement?"image/svg":e instanceof HTMLDocument||e instanceof HTMLElement?"text/html":"application/xml",data:(0,sI.stringifyDOM)(e)};if(e.querySelector('input[type="file"][name]'))return{contentType:"multipart/form-data",data:new FormData(e)};let n=(0,sI.formToJSON)(e);switch(t=e.enctype){case"text/plain":return{contentType:t,data:Object.entries(n).map(([e,t])=>`${e}=${t}`).join("\n")};case"application/x-www-form-urlencoded":return{contentType:t,data:new URLSearchParams(n)+""};default:return{contentType:"application/json",data:JSON.stringify(n)}}}function lM(e,t){let[n]=t?.split(";")||[];switch(n){case"application/x-www-form-urlencoded":return{contentType:t,data:new URLSearchParams(e)};case"multipart/form-data":return{data:lL(e)};case"application/json":return{contentType:t,data:JSON.stringify(e)};case"text/html":case"application/xml":case"image/svg":return{contentType:t,data:(0,sI.stringifyDOM)(e)}}if(n)return{data:e,contentType:t};try{if(e instanceof URLSearchParams)return{contentType:"application/x-www-form-urlencoded",data:e}}catch{}try{if(e instanceof FormData)return{data:e}}catch{}try{if(e instanceof Node)return lR(e)}catch{}try{if((0,sI.isTypedArray)(e)||e instanceof ArrayBuffer||e instanceof DataView||e instanceof Blob||e instanceof ReadableStream)return{contentType:"application/octet-stream",data:e}}catch{}try{return{contentType:"application/json",data:JSON.stringify(e)}}catch{}throw Error("Unserialized Object needs a specific Content-Type")}function lB(e,t,n){let r=new FileReader;return{progress:lS.fromEvent(r,"progress"),result:new Promise((i,s)=>{r.onerror=s,r.onload=()=>i(r.result),r[sc[t]](e,n)})}}lT(lI,"parseDocument",function(){return l$}),lT(lI,"makeFormData",function(){return lL}),lT(lI,"serializeNode",function(){return lR}),lT(lI,"serialize",function(){return lM}),lT(lI,"readAs",function(){return lB}),(rK=sc||(sc={})).text="readAsText",rK.dataURL="readAsDataURL",rK.binaryString="readAsBinaryString",rK.arrayBuffer="readAsArrayBuffer",(rG=su||(su={})).POST="POST",rG.PUT="PUT",rG.PATCH="PATCH",rG.DELETE="DELETE";class lD extends URIError{constructor(e,t){super(e),Object.assign(this,t)}}const lF={Link:e=>Object.fromEntries(Array.from(e.matchAll(/<(\S+?)>; rel="(\w+)"(?:; title="(.*?)")?/g),([e,t,n,r])=>[n,{rel:n,URI:t,title:r}]))},lU=e=>Object.fromEntries(Array.from(e.trim().matchAll(/^([\w-]+):\s*(.*)/gm),([e,t,n])=>[t=t.replace(/(^[a-z]|-[a-z])/g,e=>e.toUpperCase()),lF[t]?.(n)??n]));function lz(e,t){if(t.includes("text"))return e;if(t.includes("json"))return(0,sI.parseJSON)(e);if(t.match(/html|xml/))try{return l$(e,t)}catch{}return new TextEncoder().encode(e).buffer}function lq({method:e="GET",path:t,headers:n={},body:r,...i}){let s=new XMLHttpRequest,a=n instanceof Array?n:n?.[Symbol.iterator] instanceof Function?[...n]:Object.entries(n);return{response:new Promise((n,o)=>{for(let[r,i]of(s.onload=()=>n({status:s.status,statusText:s.statusText,headers:lU(s.getAllResponseHeaders()),body:s.response||s.responseText}),s.onerror=s.ontimeout=o,s.open(e,t+""),a))s.setRequestHeader(r,i);Object.assign(s,i),s.send(r)}).then(({body:e,...t})=>{let n=s.getResponseHeader("Content-Type")||"";return"string"!=typeof e||n.includes("text")||(e=lz(e,n)),{...t,body:e}}),upload:lS.fromEvent(s.upload,"progress"),download:lS.fromEvent(s,"progress")}}async function lV({path:e,method:t,headers:n,withCredentials:r,body:i,timeout:s,responseType:a}){let o=s?new AbortController:void 0,l=s&&(0,sI.sleep)(s/1e3).then(()=>{throw o.abort(),RangeError("Timed out")});n=n instanceof Headers?Object.fromEntries(n.entries()):n instanceof Array?Object.fromEntries(n):n,n="text"===a?{...n,Accept:"text/plain"}:"json"===a?{...n,Accept:"application/json"}:"document"===a?{...n,Accept:"text/html, application/xhtml+xml, application/xml"}:"arraybuffer"===a||"blob"===a?{...n,Accept:"application/octet-stream"}:n;let c=fetch(e+"",{method:t,headers:n,credentials:r?"include":"omit",body:i,signal:o?.signal}),u=await (l?Promise.race([l,c]):c),h=lU([...u.headers].map(([e,t])=>`${e}: ${t}`).join("\n"));if(204!==u.status)try{var f=u.headers.get("Content-Type")||"",d=u.clone(),p=await ("text"===a?u.text():"document"===a?l$(await u.text(),f):"json"===a?u.json():"arraybuffer"===a?u.arrayBuffer():u.blob())}catch{var p=lz(await d.text(),f)}return{status:u.status,statusText:u.statusText,headers:h,body:p}}function lW(e){return"function"==typeof globalThis.XMLHttpRequest?lq(e):{response:lV(e)}}lT({},"HTTPClient",function(){return lK});const{splice:lH}=Array.prototype;class lK extends lP{constructor({baseURI:e=globalThis.document?.baseURI,...t}={}){super(),this.defaultWare=async({request:e,response:t},n)=>{let{method:r="GET",headers:i={},body:s}=e;if(r in su&&s&&"object"==typeof s){let{contentType:t,data:n}=lM(s,i["Content-Type"]);t&&(i["Content-Type"]=t),e.body=n}if(await n(),t.status>299)throw new lD(t.statusText,t)},this.baseURI=e,this.options=t,super.use(this.defaultWare),super.use(async({request:e,response:n})=>{e.path=new URL(e.path+"",this.baseURI)+"",Object.assign(n,await lW({...t,...e}).response)})}use(...e){return lH.call(this,-2,0,...e),this}async request(e){let t={request:{...e,headers:{...e.headers}},response:{}};return await this.execute(t),t.response}async head(e,t){let{headers:n}=await this.request({method:"HEAD",path:e,headers:t});return n}get(e,t){return this.request({method:"GET",path:e,headers:t})}post(e,t,n){return this.request({method:"POST",path:e,headers:n,body:t})}put(e,t,n){return this.request({method:"PUT",path:e,headers:n,body:t})}patch(e,t,n){return this.request({method:"PATCH",path:e,headers:n,body:t})}delete(e,t,n){return this.request({method:"DELETE",path:e,headers:n,body:t})}}sh=function(e){for(var t,n=e.length,r=n%3,i=[],s=0,a=n-r;s>18&63]+lG[r>>12&63]+lG[r>>6&63]+lG[63&r]);return i.join("")}(e,s,s+16383>a?a:s+16383));return 1===r?i.push(lG[(t=e[n-1])>>2]+lG[t<<4&63]+"=="):2===r&&i.push(lG[(t=(e[n-2]<<8)+e[n-1])>>10]+lG[t>>4&63]+lG[t<<2&63]+"="),i.join("")};for(var lG=[],lJ=[],lZ="undefined"!=typeof Uint8Array?Uint8Array:Array,lY="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lQ=0,lX=lY.length;lQ>1,u=-7,h=n?i-1:0,f=n?-1:1,d=e[t+h];for(h+=f,s=d&(1<<-u)-1,d>>=-u,u+=o;u>0;s=256*s+e[t+h],h+=f,u-=8);for(a=s&(1<<-u)-1,s>>=-u,u+=r;u>0;a=256*a+e[t+h],h+=f,u-=8);if(0===s)s=1-c;else{if(s===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),s-=c}return(d?-1:1)*a*Math.pow(2,s-r)},sd=function(e,t,n,r,i,s){var a,o,l,c=8*s-i-1,u=(1<>1,f=23===i?5960464477539062e-23:0,d=r?0:s-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(o=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+h>=1?t+=f/l:t+=f*Math.pow(2,1-h),t*l>=2&&(a++,l/=2),a+h>=u?(o=0,a=u):a+h>=1?(o=(t*l-1)*Math.pow(2,i),a+=h):(o=t*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&o,d+=p,o/=256,i-=8);for(a=a<0;e[n+d]=255&a,d+=p,a/=256,c-=8);e[n+d-p]|=128*m};const l0="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function l1(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,l2.prototype),t}function l2(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return l8(e)}return l3(e,t,n)}function l3(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!l2.isEncoding(t))throw TypeError("Unknown encoding: "+t);let n=0|l7(e,t),r=l1(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(ck(e,Uint8Array)){let t=new Uint8Array(e);return l4(t.buffer,t.byteOffset,t.byteLength)}return l5(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(ck(e,ArrayBuffer)||e&&ck(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(ck(e,SharedArrayBuffer)||e&&ck(e.buffer,SharedArrayBuffer)))return l4(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return l2.from(r,t,n);let i=function(e){var t;if(l2.isBuffer(e)){let t=0|l9(e.length),n=l1(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?l1(0):l5(e):"Buffer"===e.type&&Array.isArray(e.data)?l5(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l2.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l6(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function l8(e){return l6(e),l1(e<0?0:0|l9(e))}function l5(e){let t=e.length<0?0:0|l9(e.length),n=l1(t);for(let r=0;r=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function l7(e,t){if(l2.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||ck(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return cv(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return cw(e).length;default:if(i)return r?-1:cv(e).length;t=(""+t).toLowerCase(),i=!0}}function ce(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){let r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=t;r2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(s=n=+n)!=s&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return -1;n=e.length-1}else if(n<0){if(!i)return -1;n=0}if("string"==typeof t&&(t=l2.from(t,r)),l2.isBuffer(t))return 0===t.length?-1:cr(e,t,n,r,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):cr(e,[t],n,r,i);throw TypeError("val must be string, number or Buffer")}function cr(e,t,n,r,i){let s,a=1,o=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;a=2,o/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let r=-1;for(s=n;so&&(n=o-l),s=n;s>=0;s--){let n=!0;for(let r=0;r239?4:t>223?3:t>191?2:1;if(i+a<=n){let n,r,o,l;switch(a){case 1:t<128&&(s=t);break;case 2:(192&(n=e[i+1]))==128&&(l=(31&t)<<6|63&n)>127&&(s=l);break;case 3:n=e[i+1],r=e[i+2],(192&n)==128&&(192&r)==128&&(l=(15&t)<<12|(63&n)<<6|63&r)>2047&&(l<55296||l>57343)&&(s=l);break;case 4:n=e[i+1],r=e[i+2],o=e[i+3],(192&n)==128&&(192&r)==128&&(192&o)==128&&(l=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&o)>65535&&l<1114112&&(s=l)}}null===s?(s=65533,a=1):s>65535&&(s-=65536,r.push(s>>>10&1023|55296),s=56320|1023&s),r.push(s),i+=a}return function(e){let t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);let n="",r=0;for(;rn)throw RangeError("Trying to access beyond buffer length")}function ca(e,t,n,r,i,s){if(!l2.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw RangeError("Index out of range")}function co(e,t,n,r,i){cm(t,r,i,e,n,7);let s=Number(t&BigInt(4294967295));e[n++]=s,s>>=8,e[n++]=s,s>>=8,e[n++]=s,s>>=8,e[n++]=s;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function cl(e,t,n,r,i){cm(t,r,i,e,n,7);let s=Number(t&BigInt(4294967295));e[n+7]=s,s>>=8,e[n+6]=s,s>>=8,e[n+5]=s,s>>=8,e[n+4]=s;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function cc(e,t,n,r,i,s){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function cu(e,t,n,r,i){return t=+t,n>>>=0,i||cc(e,t,n,4,34028234663852886e22,-34028234663852886e22),sd(e,t,n,r,23,4),n+4}function ch(e,t,n,r,i){return t=+t,n>>>=0,i||cc(e,t,n,8,17976931348623157e292,-17976931348623157e292),sd(e,t,n,r,52,8),n+8}l2.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l2.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(l2.prototype,"parent",{enumerable:!0,get:function(){if(l2.isBuffer(this))return this.buffer}}),Object.defineProperty(l2.prototype,"offset",{enumerable:!0,get:function(){if(l2.isBuffer(this))return this.byteOffset}}),l2.poolSize=8192,l2.from=function(e,t,n){return l3(e,t,n)},Object.setPrototypeOf(l2.prototype,Uint8Array.prototype),Object.setPrototypeOf(l2,Uint8Array),l2.alloc=function(e,t,n){return(l6(e),e<=0)?l1(e):void 0!==t?"string"==typeof n?l1(e).fill(t,n):l1(e).fill(t):l1(e)},l2.allocUnsafe=function(e){return l8(e)},l2.allocUnsafeSlow=function(e){return l8(e)},l2.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l2.prototype},l2.compare=function(e,t){if(ck(e,Uint8Array)&&(e=l2.from(e,e.offset,e.byteLength)),ck(t,Uint8Array)&&(t=l2.from(t,t.offset,t.byteLength)),!l2.isBuffer(e)||!l2.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,s=Math.min(n,r);ir.length?(l2.isBuffer(t)||(t=l2.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else if(l2.isBuffer(t))t.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=t.length}return r},l2.byteLength=l7,l2.prototype._isBuffer=!0,l2.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t50&&(e+=" ... "),""},l0&&(l2.prototype[l0]=l2.prototype.inspect),l2.prototype.compare=function(e,t,n,r,i){if(ck(e,Uint8Array)&&(e=l2.from(e,e.offset,e.byteLength)),!l2.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;let s=i-r,a=n-t,o=Math.min(s,a),l=this.slice(r,i),c=e.slice(t,n);for(let e=0;e>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let f=this.length-t;if((void 0===n||n>f)&&(n=f),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let d=!1;for(;;)switch(r){case"hex":return function(e,t,n,r){let i;n=Number(n)||0;let s=e.length-n;r?(r=Number(r))>s&&(r=s):r=s;let a=t.length;for(r>a/2&&(r=a/2),i=0;i>8,i.push(n%256),i.push(r);return i}(e,this.length-u),this,u,h);default:if(d)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),d=!0}},l2.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},l2.prototype.slice=function(e,t){let n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||cs(e,t,this.length);let r=this[e],i=1,s=0;for(;++s>>=0,t>>>=0,n||cs(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},l2.prototype.readUint8=l2.prototype.readUInt8=function(e,t){return e>>>=0,t||cs(e,1,this.length),this[e]},l2.prototype.readUint16LE=l2.prototype.readUInt16LE=function(e,t){return e>>>=0,t||cs(e,2,this.length),this[e]|this[e+1]<<8},l2.prototype.readUint16BE=l2.prototype.readUInt16BE=function(e,t){return e>>>=0,t||cs(e,2,this.length),this[e]<<8|this[e+1]},l2.prototype.readUint32LE=l2.prototype.readUInt32LE=function(e,t){return e>>>=0,t||cs(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l2.prototype.readUint32BE=l2.prototype.readUInt32BE=function(e,t){return e>>>=0,t||cs(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l2.prototype.readBigUInt64LE=c_(function(e){cg(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&cb(e,this.length-8);let r=t+256*this[++e]+65536*this[++e]+16777216*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+16777216*n;return BigInt(r)+(BigInt(i)<>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&cb(e,this.length-8);let r=16777216*t+65536*this[++e]+256*this[++e]+this[++e],i=16777216*this[++e]+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<>>=0,t>>>=0,n||cs(e,t,this.length);let r=this[e],i=1,s=0;for(;++s=(i*=128)&&(r-=Math.pow(2,8*t)),r},l2.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||cs(e,t,this.length);let r=t,i=1,s=this[e+--r];for(;r>0&&(i*=256);)s+=this[e+--r]*i;return s>=(i*=128)&&(s-=Math.pow(2,8*t)),s},l2.prototype.readInt8=function(e,t){return(e>>>=0,t||cs(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},l2.prototype.readInt16LE=function(e,t){e>>>=0,t||cs(e,2,this.length);let n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l2.prototype.readInt16BE=function(e,t){e>>>=0,t||cs(e,2,this.length);let n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l2.prototype.readInt32LE=function(e,t){return e>>>=0,t||cs(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l2.prototype.readInt32BE=function(e,t){return e>>>=0,t||cs(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l2.prototype.readBigInt64LE=c_(function(e){cg(e>>>=0,"offset");let t=this[e],n=this[e+7];return(void 0===t||void 0===n)&&cb(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24))<>>=0,"offset");let t=this[e],n=this[e+7];return(void 0===t||void 0===n)&&cb(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<>>=0,t||cs(e,4,this.length),sf(this,e,!0,23,4)},l2.prototype.readFloatBE=function(e,t){return e>>>=0,t||cs(e,4,this.length),sf(this,e,!1,23,4)},l2.prototype.readDoubleLE=function(e,t){return e>>>=0,t||cs(e,8,this.length),sf(this,e,!0,52,8)},l2.prototype.readDoubleBE=function(e,t){return e>>>=0,t||cs(e,8,this.length),sf(this,e,!1,52,8)},l2.prototype.writeUintLE=l2.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;ca(this,e,t,n,r,0)}let i=1,s=0;for(this[t]=255&e;++s>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;ca(this,e,t,n,r,0)}let i=n-1,s=1;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255;return t+n},l2.prototype.writeUint8=l2.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||ca(this,e,t,1,255,0),this[t]=255&e,t+1},l2.prototype.writeUint16LE=l2.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||ca(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l2.prototype.writeUint16BE=l2.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||ca(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l2.prototype.writeUint32LE=l2.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||ca(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l2.prototype.writeUint32BE=l2.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||ca(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l2.prototype.writeBigUInt64LE=c_(function(e,t=0){return co(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),l2.prototype.writeBigUInt64BE=c_(function(e,t=0){return cl(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),l2.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*n-1);ca(this,e,t,n,r-1,-r)}let i=0,s=1,a=0;for(this[t]=255&e;++i>0)-a&255;return t+n},l2.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*n-1);ca(this,e,t,n,r-1,-r)}let i=n-1,s=1,a=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/s>>0)-a&255;return t+n},l2.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||ca(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l2.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||ca(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l2.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||ca(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l2.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||ca(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l2.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||ca(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l2.prototype.writeBigInt64LE=c_(function(e,t=0){return co(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l2.prototype.writeBigInt64BE=c_(function(e,t=0){return cl(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l2.prototype.writeFloatLE=function(e,t,n){return cu(this,e,t,!0,n)},l2.prototype.writeFloatBE=function(e,t,n){return cu(this,e,t,!1,n)},l2.prototype.writeDoubleLE=function(e,t,n){return ch(this,e,t,!0,n)},l2.prototype.writeDoubleBE=function(e,t,n){return ch(this,e,t,!1,n)},l2.prototype.copy=function(e,t,n,r){if(!l2.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function cm(e,t,n,r,i,s){if(e>n||e3?0===t||t===BigInt(0)?`>= 0${i} and < 2${i} ** ${(s+1)*8}${i}`:`>= -(2${i} ** ${(s+1)*8-1}${i}) and < 2 ** ${(s+1)*8-1}${i}`:`>= ${t}${i} and <= ${n}${i}`,new cf.ERR_OUT_OF_RANGE("value",r,e)}cg(i,"offset"),(void 0===r[i]||void 0===r[i+s])&&cb(i,r.length-(s+1))}function cg(e,t){if("number"!=typeof e)throw new cf.ERR_INVALID_ARG_TYPE(t,"number",e)}function cb(e,t,n){if(Math.floor(e)!==e)throw cg(e,n),new cf.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new cf.ERR_BUFFER_OUT_OF_BOUNDS;throw new cf.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}cd("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),cd("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),cd("ERR_OUT_OF_RANGE",function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>4294967296?i=cp(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=cp(i)),i+="n"),r+=` It must be ${t}. Received ${i}`},RangeError);const cy=/[^+/0-9A-Za-z-_]/g;function cv(e,t){let n;t=t||1/0;let r=e.length,i=null,s=[];for(let a=0;a55295&&n<57344){if(!i){if(n>56319||a+1===r){(t-=3)>-1&&s.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&s.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;s.push(n)}else if(n<2048){if((t-=2)<0)break;s.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;s.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return s}function cw(e){return function(e){var t,n,r=function(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}(e),i=r[0],s=r[1],a=new lZ((i+s)*3/4-s),o=0,l=s>0?i-4:i;for(n=0;n>16&255,a[o++]=t>>8&255,a[o++]=255&t;return 2===s&&(t=lJ[e.charCodeAt(n)]<<2|lJ[e.charCodeAt(n+1)]>>4,a[o++]=255&t),1===s&&(t=lJ[e.charCodeAt(n)]<<10|lJ[e.charCodeAt(n+1)]<<4|lJ[e.charCodeAt(n+2)]>>2,a[o++]=t>>8&255,a[o++]=255&t),a}(function(e){if((e=(e=e.split("=")[0]).trim().replace(cy,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function cx(e,t,n,r){let i;for(i=0;i=t.length)&&!(i>=e.length);++i)t[i+n]=e[i];return i}function ck(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}const cO=function(){let e="0123456789abcdef",t=Array(256);for(let n=0;n<16;++n){let r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function c_(e){return"undefined"==typeof BigInt?cj:e}function cj(){throw Error("BigInt not supported")}const cE="3.7.6",cS="function"==typeof atob,cA="function"==typeof btoa,cT=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder&&new TextEncoder,Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=")),cN=(eK={},cT.forEach((e,t)=>eK[e]=t),eK),cP=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,cC=String.fromCharCode.bind(String),cI="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),c$=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),cL=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),cR=e=>l2.from(e).toString("base64"),cM=(e,t=!1)=>t?c$(cR(e)):cR(e),cB=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?cC(192|t>>>6)+cC(128|63&t):cC(224|t>>>12&15)+cC(128|t>>>6&63)+cC(128|63&t)}var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return cC(240|t>>>18&7)+cC(128|t>>>12&63)+cC(128|t>>>6&63)+cC(128|63&t)},cD=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,cF=e=>l2.from(e,"utf8").toString("base64"),cU=(e,t=!1)=>t?c$(cF(e)):cF(e),cz=e=>cU(e,!0),cq=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cV=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return cC((t>>>10)+55296)+cC((1023&t)+56320);case 3:return cC((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return cC((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},cW=e=>cI(l2.from(e,"base64")),cH=e=>cW(cG(e)),cK=e=>l2.from(e,"base64").toString("utf8"),cG=e=>cL(e.replace(/[-_]/g,e=>"-"==e?"+":"/")),cJ=e=>cK(cG(e)),cZ=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),cY=function(){let e=(e,t)=>Object.defineProperty(String.prototype,e,cZ(t));e("fromBase64",function(){return cJ(this)}),e("toBase64",function(e){return cU(this,e)}),e("toBase64URI",function(){return cU(this,!0)}),e("toBase64URL",function(){return cU(this,!0)}),e("toUint8Array",function(){return cH(this)})},cQ=function(){let e=(e,t)=>Object.defineProperty(Uint8Array.prototype,e,cZ(t));e("toBase64",function(e){return cM(this,e)}),e("toBase64URI",function(){return cM(this,!0)}),e("toBase64URL",function(){return cM(this,!0)})},cX={version:cE,VERSION:cE,atob:cS?e=>atob(cL(e)):e=>l2.from(e,"base64").toString("binary"),atobPolyfill:e=>{if(e=e.replace(/\s+/g,""),!cP.test(e))throw TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,n="",r,i;for(let s=0;s>16&255):64===i?cC(t>>16&255,t>>8&255):cC(t>>16&255,t>>8&255,255&t);return n},btoa:cA?e=>btoa(e):e=>l2.from(e,"binary").toString("base64"),btoaPolyfill:e=>{let t,n,r,i,s="",a=e.length%3;for(let a=0;a255||(r=e.charCodeAt(a++))>255||(i=e.charCodeAt(a++))>255)throw TypeError("invalid character found");s+=cT[(t=n<<16|r<<8|i)>>18&63]+cT[t>>12&63]+cT[t>>6&63]+cT[63&t]}return a?s.slice(0,a-3)+"===".substring(a):s},fromBase64:cJ,toBase64:cU,encode:cU,encodeURI:cz,encodeURL:cz,utob:e=>e.replace(cD,cB),btou:e=>e.replace(cq,cV),decode:cJ,isValid:e=>{if("string"!=typeof e)return!1;let t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},fromUint8Array:cM,toUint8Array:cH,extendString:cY,extendUint8Array:cQ,extendBuiltins:()=>{cY(),cQ()}},c0=Symbol.for("yaml.alias"),c1=Symbol.for("yaml.document"),c2=Symbol.for("yaml.map"),c3=Symbol.for("yaml.pair"),c6=Symbol.for("yaml.scalar"),c8=Symbol.for("yaml.seq"),c5=Symbol.for("yaml.node.type"),c4=e=>!!e&&"object"==typeof e&&e[c5]===c0,c9=e=>!!e&&"object"==typeof e&&e[c5]===c1,c7=e=>!!e&&"object"==typeof e&&e[c5]===c2,ue=e=>!!e&&"object"==typeof e&&e[c5]===c3,ut=e=>!!e&&"object"==typeof e&&e[c5]===c6,un=e=>!!e&&"object"==typeof e&&e[c5]===c8;function ur(e){if(e&&"object"==typeof e)switch(e[c5]){case c2:case c8:return!0}return!1}function ui(e){if(e&&"object"==typeof e)switch(e[c5]){case c0:case c2:case c6:case c8:return!0}return!1}const us=e=>(ut(e)||ur(e))&&!!e.anchor,ua=Symbol("break visit"),uo=Symbol("skip children"),ul=Symbol("remove node");function uc(e,t){let n=ud(t);c9(e)?uu(null,e.contents,n,Object.freeze([e]))===ul&&(e.contents=null):uu(null,e,n,Object.freeze([]))}function uu(e,t,n,r){let i=up(e,t,n,r);if(ui(i)||ue(i))return um(e,r,i),uu(e,i,n,r);if("symbol"!=typeof i){if(ur(t)){r=Object.freeze(r.concat(t));for(let e=0;ee.replace(/[!,[\]{}]/g,e=>ug[e]);class uy{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},uy.defaultYaml,e),this.tags=Object.assign({},uy.defaultTags,t)}clone(){let e=new uy(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){let e=new uy(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:uy.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},uy.defaultTags)}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:uy.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},uy.defaultTags),this.atNextDocument=!1);let n=e.trim().split(/[ \t]+/),r=n.shift();switch(r){case"%TAG":{if(2!==n.length&&(t(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;let[e,r]=n;return this.tags[e]=r,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==n.length)return t(0,"%YAML directive should contain exactly one part"),!1;let[e]=n;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0;{let n=/^\d+\.\d+$/.test(e);return t(6,`Unsupported YAML version ${e}`,n),!1}}default:return t(0,`Unknown directive ${r}`,!0),!1}}tagName(e,t){if("!"===e)return"!";if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){let n=e.slice(2,-1);return"!"===n||"!!"===n?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}let[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);let i=this.tags[n];if(i)try{return i+decodeURIComponent(r)}catch(e){return t(String(e)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+ub(e.substring(n.length));return"!"===e[0]?e:`!<${e}>`}toString(e){let t;let n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);if(e&&r.length>0&&ui(e.contents)){let n={};uc(e.contents,(e,t)=>{ui(t)&&t.tag&&(n[t.tag]=!0)}),t=Object.keys(n)}else t=[];for(let[i,s]of r)("!!"!==i||"tag:yaml.org,2002:"!==s)&&(!e||t.some(e=>e.startsWith(s)))&&n.push(`%TAG ${i} ${s}`);return n.join("\n")}}function uv(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let t=JSON.stringify(e);throw Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function uw(e){let t=new Set;return uc(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function ux(e,t){for(let n=1;;++n){let r=`${e}${n}`;if(!t.has(r))return r}}function uk(e,t,n,r){if(r&&"object"==typeof r){if(Array.isArray(r))for(let t=0,n=r.length;tuO(e,String(t),n));if(e&&"function"==typeof e.toJSON){if(!n||!us(e))return e.toJSON(t,n);let r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};let i=e.toJSON(t,n);return n.onCreate&&n.onCreate(i),i}return"bigint"!=typeof e||n?.keep?e:Number(e)}uy.defaultYaml={explicit:!1,version:"1.2"},uy.defaultTags={"!!":"tag:yaml.org,2002:"};class u_{constructor(e){Object.defineProperty(this,c5,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:i}={}){if(!c9(e))throw TypeError("A document argument is required");let s={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},a=uO(this,"",s);if("function"==typeof r)for(let{count:e,res:t}of s.anchors.values())r(t,e);return"function"==typeof i?uk(i,{"":a},"",a):a}}class uj extends u_{constructor(e){super(c0),this.source=e,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(e){let t;return uc(e,{Node:(e,n)=>{if(n===this)return uc.BREAK;n.anchor===this.source&&(t=n)}}),t}toJSON(e,t){if(!t)return{source:this.source};let{anchors:n,doc:r,maxAliasCount:i}=t,s=this.resolve(r);if(!s)throw ReferenceError(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);let a=n.get(s);if(a||(uO(s,null,t),a=n.get(s)),!a||void 0===a.res)throw ReferenceError("This should not happen: Alias anchor was not resolved?");if(i>=0&&(a.count+=1,0===a.aliasCount&&(a.aliasCount=function e(t,n,r){if(c4(n)){let e=n.resolve(t),i=r&&e&&r.get(e);return i?i.count*i.aliasCount:0}if(ur(n)){let i=0;for(let s of n.items){let n=e(t,s,r);n>i&&(i=n)}return i}return ue(n)?Math.max(e(t,n.key,r),e(t,n.value,r)):1}(r,s,n)),a.count*a.aliasCount>i))throw ReferenceError("Excessive alias count indicates a resource exhaustion attack");return a.res}toString(e,t,n){let r=`*${this.source}`;if(e){if(uv(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source))throw Error(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);if(e.implicitKey)return`${r} `}return r}}const uE=e=>!e||"function"!=typeof e&&"object"!=typeof e;class uS extends u_{constructor(e){super(c6),this.value=e}toJSON(e,t){return t?.keep?this.value:uO(this.value,e,t)}toString(){return String(this.value)}}function uA(e,t,n){let r;if(c9(e)&&(e=e.contents),ui(e))return e;if(ue(e)){let t=n.schema[c2].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:i,onAnchor:s,onTagObj:a,schema:o,sourceObjects:l}=n;if(i&&e&&"object"==typeof e){if(r=l.get(e))return r.anchor||(r.anchor=s(e)),new uj(r.anchor);r={anchor:null,node:null},l.set(e,r)}t?.startsWith("!!")&&(t="tag:yaml.org,2002:"+t.slice(2));let c=function(e,t,n){if(t){let e=n.filter(e=>e.tag===t),r=e.find(e=>!e.format)??e[0];if(!r)throw Error(`Tag ${t} not found`);return r}return n.find(t=>t.identify?.(e)&&!t.format)}(e,t,o.tags);if(!c){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){let t=new uS(e);return r&&(r.node=t),t}c=e instanceof Map?o[c2]:Symbol.iterator in Object(e)?o[c8]:o[c2]}a&&(a(c),delete n.onTagObj);let u=c?.createNode?c.createNode(n.schema,e,n):"function"==typeof c?.nodeClass?.from?c.nodeClass.from(n.schema,e,n):new uS(e);return t?u.tag=t:c.default||(u.tag=c.tag),r&&(r.node=u),u}function uT(e,t,n){let r=n;for(let e=t.length-1;e>=0;--e){let n=t[e];if("number"==typeof n&&Number.isInteger(n)&&n>=0){let e=[];e[n]=r,r=e}else r=new Map([[n,r]])}return uA(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}uS.BLOCK_FOLDED="BLOCK_FOLDED",uS.BLOCK_LITERAL="BLOCK_LITERAL",uS.PLAIN="PLAIN",uS.QUOTE_DOUBLE="QUOTE_DOUBLE",uS.QUOTE_SINGLE="QUOTE_SINGLE";const uN=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class uP extends u_{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>ui(t)||ue(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(uN(e))this.add(t);else{let[n,...r]=e,i=this.get(n,!0);if(ur(i))i.addIn(r,t);else if(void 0===i&&this.schema)this.set(n,uT(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}deleteIn(e){let[t,...n]=e;if(0===n.length)return this.delete(t);let r=this.get(t,!0);if(ur(r))return r.deleteIn(n);throw Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){let[n,...r]=e,i=this.get(n,!0);return 0===r.length?!t&&ut(i)?i.value:i:ur(i)?i.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!ue(t))return!1;let n=t.value;return null==n||e&&ut(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){let[t,...n]=e;if(0===n.length)return this.has(t);let r=this.get(t,!0);return!!ur(r)&&r.hasIn(n)}setIn(e,t){let[n,...r]=e;if(0===r.length)this.set(n,t);else{let e=this.get(n,!0);if(ur(e))e.setIn(r,t);else if(void 0===e&&this.schema)this.set(n,uT(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}}uP.maxFlowStringSingleLineLength=60;const uC=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function uI(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const u$=(e,t,n)=>e.endsWith("\n")?uI(n,t):n.includes("\n")?"\n"+uI(n,t):(e.endsWith(" ")?"":" ")+n,uL="flow",uR="block",uM="quoted";function uB(e,t,n="flow",{indentAtStart:r,lineWidth:i=80,minContentWidth:s=20,onFold:a,onOverflow:o}={}){let l,c,u;if(!i||i<0)return e;let h=Math.max(1+s,1+i-t.length);if(e.length<=h)return e;let f=[],d={},p=i-t.length;"number"==typeof r&&(r>i-Math.max(2,s)?f.push(0):p=i-r);let m=!1,g=-1,b=-1,y=-1;for(n===uR&&-1!==(g=uD(e,g))&&(p=g+h);u=e[g+=1];){if(n===uM&&"\\"===u){switch(b=g,e[g+1]){case"x":g+=3;break;case"u":g+=5;break;case"U":g+=9;break;default:g+=1}y=g}if("\n"===u)n===uR&&(g=uD(e,g)),p=g+h,l=void 0;else{if(" "===u&&c&&" "!==c&&"\n"!==c&&" "!==c){let t=e[g+1];t&&" "!==t&&"\n"!==t&&" "!==t&&(l=g)}if(g>=p){if(l)f.push(l),p=l+h,l=void 0;else if(n===uM){for(;" "===c||" "===c;)c=u,u=e[g+=1],m=!0;let t=g>y+1?g-2:b-1;if(d[t])return e;f.push(t),d[t]=!0,p=t+h,l=void 0}else m=!0}}c=u}if(m&&o&&o(),0===f.length)return e;a&&a();let v=e.slice(0,f[0]);for(let r=0;r({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),uU=e=>/^(%|---|\.\.\.)/m.test(e);function uz(e,t){let n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;let{implicitKey:r}=t,i=t.options.doubleQuotedMinMultiLineLength,s=t.indent||(uU(e)?" ":""),a="",o=0;for(let e=0,t=n[e];t;t=n[++e])if(" "===t&&"\\"===n[e+1]&&"n"===n[e+2]&&(a+=n.slice(o,e)+"\\ ",e+=1,o=e,t="\\"),"\\"===t)switch(n[e+1]){case"u":{a+=n.slice(o,e);let t=n.substr(e+2,4);switch(t){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:"00"===t.substr(0,2)?a+="\\x"+t.substr(2):a+=n.substr(e,6)}e+=5,o=e+1}break;case"n":if(r||'"'===n[e+2]||n.lengthr)return!0;if(i-(n=t+1)<=r)return!1}return!0}(r,f,d.length));if(!r)return p?"|\n":">\n";for(l=r.length;l>0;--l){let e=r[l-1];if("\n"!==e&&" "!==e&&" "!==e)break}let m=r.substring(l),g=m.indexOf("\n");-1===g?o="-":r===m||g!==m.length-1?(o="+",a&&a()):o="",m&&(r=r.slice(0,-m.length),"\n"===m[m.length-1]&&(m=m.slice(0,-1)),m=m.replace(e,`$&${d}`));let b=!1,y=-1;for(c=0;c")+(b?w:"")+o;if(t&&(x+=" "+h(t.replace(/ ?[\r\n]+/g," ")),s&&s()),p)return r=r.replace(/\n+/g,`$&${d}`),`${x} +${d}${v}${r}${m}`;r=r.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${d}`);let k=uB(`${v}${r}${m}`,d,uR,uF(i,!0));return`${x} +${d}${k}`}function uH(e,t,n,r){let{implicitKey:i,inFlow:s}=t,a="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)}),{type:o}=e;o!==uS.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(a.value)&&(o=uS.QUOTE_DOUBLE);let l=e=>{switch(e){case uS.BLOCK_FOLDED:case uS.BLOCK_LITERAL:return i||s?uV(a.value,t):uW(a,t,n,r);case uS.QUOTE_DOUBLE:return uz(a.value,t);case uS.QUOTE_SINGLE:return uq(a.value,t);case uS.PLAIN:return function(e,t,n,r){let{type:i,value:s}=e,{actualString:a,implicitKey:o,indent:l,indentStep:c,inFlow:u}=t;if(o&&s.includes("\n")||u&&/[[\]{},]/.test(s))return uV(s,t);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return o||u||!s.includes("\n")?uV(s,t):uW(e,t,n,r);if(!o&&!u&&i!==uS.PLAIN&&s.includes("\n"))return uW(e,t,n,r);if(uU(s)){if(""===l)return t.forceBlockIndent=!0,uW(e,t,n,r);if(o&&l===c)return uV(s,t)}let h=s.replace(/\n+/g,`$& +${l}`);if(a){let e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(h),{compat:n,tags:r}=t.doc.schema;if(r.some(e)||n?.some(e))return uV(s,t)}return o?h:uB(h,l,uL,uF(t,!1))}(a,t,n,r);default:return null}},c=l(o);if(null===c){let{defaultKeyType:e,defaultStringType:n}=t.options,r=i&&e||n;if(null===(c=l(r)))throw Error(`Unsupported default string type ${r}`)}return c}function uK(e,t){let n;let r=Object.assign({blockQuote:!0,commentString:uC,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);switch(r.collectionStyle){case"block":n=!1;break;case"flow":n=!0;break;default:n=null}return{anchors:new Set,doc:e,flowCollectionPadding:r.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof r.indent?" ".repeat(r.indent):" ",inFlow:n,options:r}}function uG(e,t,n,r){let i;if(ue(e))return e.toString(t,n,r);if(c4(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let s=ui(e)?e:t.doc.createNode(e,{onTagObj:e=>i=e});i||(i=function(e,t){let n,r;if(t.tag){let n=e.filter(e=>e.tag===t.tag);if(n.length>0)return n.find(e=>e.format===t.format)??n[0]}if(ut(t)){n=t.value;let i=e.filter(e=>e.identify?.(n));r=i.find(e=>e.format===t.format)??i.find(e=>!e.format)}else n=t,r=e.find(e=>e.nodeClass&&n instanceof e.nodeClass);if(!r){let e=n?.constructor?.name??typeof n;throw Error(`Tag not resolved for ${e} value`)}return r}(t.doc.schema.tags,s));let a=function(e,t,{anchors:n,doc:r}){if(!r.directives)return"";let i=[],s=(ut(e)||ur(e))&&e.anchor;s&&uv(s)&&(n.add(s),i.push(`&${s}`));let a=e.tag?e.tag:t.default?null:t.tag;return a&&i.push(r.directives.tagString(a)),i.join(" ")}(s,i,t);a.length>0&&(t.indentAtStart=(t.indentAtStart??0)+a.length+1);let o="function"==typeof i.stringify?i.stringify(s,t,n,r):ut(s)?uH(s,t,n,r):s.toString(t,n,r);return a?ut(s)||"{"===o[0]||"["===o[0]?`${a} ${o}`:`${a} +${t.indent}${o}`:o}var uJ={},uZ=uJ={};function uY(){throw Error("setTimeout has not been defined")}function uQ(){throw Error("clearTimeout has not been defined")}function uX(e){if(sp===setTimeout)return setTimeout(e,0);if((sp===uY||!sp)&&setTimeout)return sp=setTimeout,setTimeout(e,0);try{return sp(e,0)}catch(t){try{return sp.call(null,e,0)}catch(t){return sp.call(this,e,0)}}}!function(){try{sp="function"==typeof setTimeout?setTimeout:uY}catch(e){sp=uY}try{sm="function"==typeof clearTimeout?clearTimeout:uQ}catch(e){sm=uQ}}();var u0=[],u1=!1,u2=-1;function u3(){u1&&sg&&(u1=!1,sg.length?u0=sg.concat(u0):u2=-1,u0.length&&u6())}function u6(){if(!u1){var e=uX(u3);u1=!0;for(var t=u0.length;t;){for(sg=u0,u0=[];++u240&&(e=e.substring(0,36)+'..."'),u4(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}(n,i,e),a=uO(r,s,e);s in t?Object.defineProperty(t,s,{value:a,writable:!0,enumerable:!0,configurable:!0}):t[s]=a}}return t}uZ.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n"<<"===e||ut(e)&&"<<"===e.value&&(!e.type||e.type===uS.PLAIN);function he(e,t,n){let r=e&&c4(n)?n.resolve(e.doc):n;if(!c7(r))throw Error("Merge sources must be maps or map aliases");for(let[n,i]of r.toJSON(null,e,Map))t instanceof Map?t.has(n)||t.set(n,i):t instanceof Set?t.add(n):Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(t,n,{value:i,writable:!0,enumerable:!0,configurable:!0});return t}function ht(e,t,n){return new hn(uA(e,void 0,n),uA(t,void 0,n))}class hn{constructor(e,t=null){Object.defineProperty(this,c5,{value:c3}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return ui(t)&&(t=t.clone(e)),ui(n)&&(n=n.clone(e)),new hn(t,n)}toJSON(e,t){let n=t?.mapAsMap?new Map:{};return u9(t,n,this)}toString(e,t,n){return e?.doc?function({key:e,value:t},n,r,i){let s,a,o;let{allNullValues:l,doc:c,indent:u,indentStep:h,options:{commentString:f,indentSeq:d,simpleKeys:p}}=n,m=ui(e)&&e.comment||null;if(p){if(m)throw Error("With simple keys, key nodes cannot have comments");if(ur(e))throw Error("With simple keys, collection cannot be used as a key value")}let g=!p&&(!e||m&&null==t&&!n.inFlow||ur(e)||(ut(e)?e.type===uS.BLOCK_FOLDED||e.type===uS.BLOCK_LITERAL:"object"==typeof e));n=Object.assign({},n,{allNullValues:!1,implicitKey:!g&&(p||!l),indent:u+h});let b=!1,y=!1,v=uG(e,n,()=>b=!0,()=>y=!0);if(!g&&!n.inFlow&&v.length>1024){if(p)throw Error("With simple keys, single line scalar must not span more than 1024 characters");g=!0}if(n.inFlow){if(l||null==t)return b&&r&&r(),""===v?"?":g?`? ${v}`:v}else if(l&&!p||null==t&&g)return v=`? ${v}`,m&&!b?v+=u$(v,n.indent,f(m)):y&&i&&i(),v;b&&(m=null),g?(m&&(v+=u$(v,n.indent,f(m))),v=`? ${v} +${u}:`):(v=`${v}:`,m&&(v+=u$(v,n.indent,f(m)))),ui(t)?(s=!!t.spaceBefore,a=t.commentBefore,o=t.comment):(s=!1,a=null,o=null,t&&"object"==typeof t&&(t=c.createNode(t))),n.implicitKey=!1,!g&&!m&&ut(t)&&(n.indentAtStart=v.length+1),y=!1,!(!d&&h.length>=2&&!n.inFlow&&!g&&un(t))||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2));let w=!1,x=uG(t,n,()=>w=!0,()=>y=!0),k=" ";if(m||s||a){if(k=s?"\n":"",a){let e=f(a);k+=` +${uI(e,n.indent)}`}""!==x||n.inFlow?k+=` +${n.indent}`:"\n"===k&&(k="\n\n")}else if(!g&&ur(t)){let e=x[0],r=x.indexOf("\n"),i=-1!==r,s=n.inFlow??t.flow??0===t.items.length;if(i||!s){let t=!1;if(i&&("&"===e||"!"===e)){let n=x.indexOf(" ");"&"===e&&-1!==n&&ns=null);ed||a.includes("\n"))&&(f=!0),p.push(a),d=p.length}let{start:m,end:g}=r;if(0===p.length)a=m+g;else if(f||(f=p.reduce((e,t)=>e+t.length+2,2)>uP.maxFlowStringSingleLineLength),f){for(let e of(a=m,p))a+=e?` +${l}${o}${e}`:"\n";a+=` +${o}${g}`}else a=`${m}${c}${p.join(" ")}${c}${g}`;return e&&(a+=u$(a,o,u(e)),s&&s()),a}:function({comment:e,items:t},n,{blockItemPrefix:r,flowChars:i,itemIndent:s,onChompKeep:a,onComment:o}){let l;let{indent:c,options:{commentString:u}}=n,h=Object.assign({},n,{indent:s,type:null}),f=!1,d=[];for(let e=0;ea=null,()=>f=!0);a&&(o+=u$(o,s,u(a))),f&&a&&(f=!1),d.push(r+o)}if(0===d.length)l=i.start+i.end;else{l=d[0];for(let e=1;e{if("function"==typeof i)a=i.call(t,e,a);else if(Array.isArray(i)&&!i.includes(e))return;(void 0!==a||r)&&s.items.push(ht(e,a,n))};if(t instanceof Map)for(let[e,n]of t)a(e,n);else if(t&&"object"==typeof t)for(let e of Object.keys(t))a(e,t[e]);return"function"==typeof e.sortMapEntries&&s.items.sort(e.sortMapEntries),s}add(e,t){let n;n=ue(e)?e:e&&"object"==typeof e&&"key"in e?new hn(e.key,e.value):new hn(e,e?.value);let r=hs(this.items,n.key),i=this.schema?.sortMapEntries;if(r){if(!t)throw Error(`Key ${n.key} already set`);ut(r.value)&&uE(n.value)?r.value.value=n.value:r.value=n.value}else if(i){let e=this.items.findIndex(e=>0>i(n,e));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){let t=hs(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){let n=hs(this.items,e),r=n?.value;return(!t&&ut(r)?r.value:r)??void 0}has(e){return!!hs(this.items,e)}set(e,t){this.add(new hn(e,t),!0)}toJSON(e,t,n){let r=n?new n:t?.mapAsMap?new Map:{};for(let e of(t?.onCreate&&t.onCreate(r),this.items))u9(t,r,e);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(let e of this.items)if(!ue(e))throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),hr(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}const ho={collection:"map",default:!0,nodeClass:ha,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(c7(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>ha.from(e,t,n)};class hl extends uP{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(c8,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=hc(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){let n=hc(e);if("number"!=typeof n)return;let r=this.items[n];return!t&&ut(r)?r.value:r}has(e){let t=hc(e);return"number"==typeof t&&t=0?t:null}const hu={collection:"seq",default:!0,nodeClass:hl,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(un(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,n)=>hl.from(e,t,n)},hh={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,n,r)=>uH(e,t=Object.assign({actualString:!0},t),n,r)},hf={identify:e=>null==e,createNode:()=>new uS(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new uS(null),stringify:({source:e},t)=>"string"==typeof e&&hf.test.test(e)?e:t.options.nullStr},hd={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new uS("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},n)=>e&&hd.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?n.options.trueStr:n.options.falseStr};function hp({format:e,minFractionDigits:t,tag:n,value:r}){if("bigint"==typeof r)return String(r);let i="number"==typeof r?r:Number(r);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let s=JSON.stringify(r);if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(s)){let e=s.indexOf(".");e<0&&(e=s.length,s+=".");let n=t-(s.length-e-1);for(;n-- >0;)s+="0"}return s}const hm={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:hp},hg={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():hp(e)}},hb={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){let t=new uS(parseFloat(e)),n=e.indexOf(".");return -1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:hp},hy=e=>"bigint"==typeof e||Number.isInteger(e),hv=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function hw(e,t,n){let{value:r}=e;return hy(r)&&r>=0?n+r.toString(t):hp(e)}const hx={identify:e=>hy(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>hv(e,2,8,n),stringify:e=>hw(e,8,"0o")},hk={identify:hy,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>hv(e,0,10,n),stringify:hp},hO={identify:e=>hy(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>hv(e,2,16,n),stringify:e=>hw(e,16,"0x")},h_=[ho,hu,hh,hf,hd,hx,hk,hO,hm,hg,hb];function hj(e){return"bigint"==typeof e||Number.isInteger(e)}const hE=({value:e})=>JSON.stringify(e),hS=[ho,hu].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:hE},{identify:e=>null==e,createNode:()=>new uS(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:hE},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:hE},{identify:hj,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>hj(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:hE}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),hA={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve:(e,t)=>l2.from(e,"base64"),stringify({comment:e,type:t,value:n},r,i,s){let a;if(a=n instanceof l2?n.toString("base64"):l2.from(n.buffer).toString("base64"),t||(t=uS.BLOCK_LITERAL),t!==uS.QUOTE_DOUBLE){let e=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),n=Math.ceil(a.length/e),i=Array(n);for(let t=0,r=0;t1&&t("Each pair must have its own sequence indicator");let e=r.items[0]||new hn(new uS(null));if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore} +${e.key.commentBefore}`:r.commentBefore),r.comment){let t=e.value??e.key;t.comment=t.comment?`${r.comment} +${t.comment}`:r.comment}r=e}e.items[n]=ue(r)?r:new hn(r)}}else t("Expected a sequence for this tag");return e}function hN(e,t,n){let{replacer:r}=n,i=new hl(e);i.tag="tag:yaml.org,2002:pairs";let s=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let a,o;if("function"==typeof r&&(e=r.call(t,String(s++),e)),Array.isArray(e)){if(2===e.length)a=e[0],o=e[1];else throw TypeError(`Expected [key, value] tuple: ${e}`)}else if(e&&e instanceof Object){let t=Object.keys(e);if(1===t.length)o=e[a=t[0]];else throw TypeError(`Expected tuple with one key, not ${t.length} keys`)}else a=e;i.items.push(ht(a,o,n))}return i}const hP={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:hT,createNode:hN};class hC extends hl{constructor(){super(),this.add=ha.prototype.add.bind(this),this.delete=ha.prototype.delete.bind(this),this.get=ha.prototype.get.bind(this),this.has=ha.prototype.has.bind(this),this.set=ha.prototype.set.bind(this),this.tag=hC.tag}toJSON(e,t){if(!t)return super.toJSON(e);let n=new Map;for(let e of(t?.onCreate&&t.onCreate(n),this.items)){let r,i;if(ue(e)?(r=uO(e.key,"",t),i=uO(e.value,r,t)):r=uO(e,"",t),n.has(r))throw Error("Ordered maps must not include duplicate keys");n.set(r,i)}return n}static from(e,t,n){let r=hN(e,t,n),i=new this;return i.items=r.items,i}}hC.tag="tag:yaml.org,2002:omap";const hI={collection:"seq",identify:e=>e instanceof Map,nodeClass:hC,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){let n=hT(e,t),r=[];for(let{key:e}of n.items)ut(e)&&(r.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):r.push(e.value));return Object.assign(new hC,n)},createNode:(e,t,n)=>hC.from(e,t,n)};function h$({value:e,source:t},n){return t&&(e?hL:hR).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const hL={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new uS(!0),stringify:h$},hR={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new uS(!1),stringify:h$},hM=e=>"bigint"==typeof e||Number.isInteger(e);function hB(e,t,n,{intAsBigInt:r}){let i=e[0];if(("-"===i||"+"===i)&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}let t=BigInt(e);return"-"===i?BigInt(-1)*t:t}let s=parseInt(e,n);return"-"===i?-1*s:s}function hD(e,t,n){let{value:r}=e;if(hM(r)){let e=r.toString(t);return r<0?"-"+n+e.substr(1):n+e}return hp(e)}class hF extends ha{constructor(e){super(e),this.tag=hF.tag}add(e){let t;t=ue(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new hn(e.key,null):new hn(e,null),hs(this.items,t.key)||this.items.push(t)}get(e,t){let n=hs(this.items,e);return!t&&ue(n)?ut(n.key)?n.key.value:n.key:n}set(e,t){if("boolean"!=typeof t)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);let n=hs(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new hn(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw Error("Set items must all have null values")}static from(e,t,n){let{replacer:r}=n,i=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof r&&(e=r.call(t,e,e)),i.items.push(ht(e,null,n));return i}}hF.tag="tag:yaml.org,2002:set";const hU={collection:"map",identify:e=>e instanceof Set,nodeClass:hF,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>hF.from(e,t,n),resolve(e,t){if(c7(e)){if(e.hasAllNullValues(!0))return Object.assign(new hF,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function hz(e,t){let n=e[0],r="-"===n||"+"===n?e.substring(1):e,i=e=>t?BigInt(e):Number(e),s=r.replace(/_/g,"").split(":").reduce((e,t)=>e*i(60)+i(t),i(0));return"-"===n?i(-1)*s:s}function hq(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return hp(e);let r="";t<0&&(r="-",t*=n(-1));let i=n(60),s=[t%i];return t<60?s.unshift(0):(t=(t-s[0])/i,s.unshift(t%i),t>=60&&(t=(t-s[0])/i,s.unshift(t))),r+s.map(e=>String(e).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const hV={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>hz(e,n),stringify:hq},hW={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>hz(e,!1),stringify:hq},hH={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){let t=e.match(hH.test);if(!t)throw Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,n,r,i,s,a,o]=t.map(Number),l=Date.UTC(n,r-1,i,s||0,a||0,o||0,t[7]?Number((t[7]+"00").substr(1,3)):0),c=t[8];if(c&&"Z"!==c){let e=hz(c,!1);30>Math.abs(e)&&(e*=60),l-=6e4*e}return new Date(l)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},hK=[ho,hu,hh,hf,hL,hR,{identify:hM,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>hB(e,2,2,n),stringify:e=>hD(e,2,"0b")},{identify:hM,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>hB(e,1,8,n),stringify:e=>hD(e,8,"0")},{identify:hM,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>hB(e,0,10,n),stringify:hp},{identify:hM,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>hB(e,2,16,n),stringify:e=>hD(e,16,"0x")},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:hp},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():hp(e)}},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let t=new uS(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){let r=e.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:hp},hA,hI,hP,hU,hV,hW,hH],hG=new Map([["core",h_],["failsafe",[ho,hu,hh]],["json",hS],["yaml11",hK],["yaml-1.1",hK]]),hJ={binary:hA,bool:hd,float:hb,floatExp:hg,floatNaN:hm,floatTime:hW,int:hk,intHex:hO,intOct:hx,intTime:hV,map:ho,null:hf,omap:hI,pairs:hP,seq:hu,set:hU,timestamp:hH},hZ={"tag:yaml.org,2002:binary":hA,"tag:yaml.org,2002:omap":hI,"tag:yaml.org,2002:pairs":hP,"tag:yaml.org,2002:set":hU,"tag:yaml.org,2002:timestamp":hH};function hY(e,t){let n=hG.get(t);if(!n){if(Array.isArray(e))n=[];else{let e=Array.from(hG.keys()).filter(e=>"yaml11"!==e).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}}if(Array.isArray(e))for(let t of e)n=n.concat(t);else"function"==typeof e&&(n=e(n.slice()));return n.map(e=>{if("string"!=typeof e)return e;let t=hJ[e];if(t)return t;let n=Object.keys(hJ).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown custom tag "${e}"; use one of ${n}`)})}const hQ=(e,t)=>e.keyt.key?1:0;class hX{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:i,sortMapEntries:s,toStringDefaults:a}){this.compat=Array.isArray(e)?hY(e,"compat"):e?hY(null,e):null,this.merge=!!n,this.name="string"==typeof i&&i||"core",this.knownTags=r?hZ:{},this.tags=hY(t,this.name),this.toStringOptions=a??null,Object.defineProperty(this,c2,{value:ho}),Object.defineProperty(this,c6,{value:hh}),Object.defineProperty(this,c8,{value:hu}),this.sortMapEntries="function"==typeof s?s:!0===s?hQ:null}clone(){let e=Object.create(hX.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}class h0{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,c5,{value:c1});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0);let i=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},n);this.options=i;let{version:s}=i;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(s=this.directives.yaml.version)):this.directives=new uy({version:s}),this.setSchema(s,n),this.contents=void 0===e?null:this.createNode(e,r,n)}clone(){let e=Object.create(h0.prototype,{[c5]:{value:c1}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=ui(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){h1(this.contents)&&this.contents.add(e)}addIn(e,t){h1(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){let n=uw(this);e.anchor=!t||n.has(t)?ux(t||"a",n):t}return new uj(e.anchor)}createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e},"",e),r=t;else if(Array.isArray(t)){let e=t.filter(e=>"number"==typeof e||e instanceof String||e instanceof Number).map(String);e.length>0&&(t=t.concat(e)),r=t}else void 0===n&&t&&(n=t,t=void 0);let{aliasDuplicateObjects:i,anchorPrefix:s,flow:a,keepUndefined:o,onTagObj:l,tag:c}=n??{},{onAnchor:u,setAnchors:h,sourceObjects:f}=function(e,t){let n=[],r=new Map,i=null;return{onAnchor:r=>{n.push(r),i||(i=uw(e));let s=ux(t,i);return i.add(s),s},setAnchors:()=>{for(let e of n){let t=r.get(e);if("object"==typeof t&&t.anchor&&(ut(t.node)||ur(t.node)))t.node.anchor=t.anchor;else{let t=Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}}},sourceObjects:r}}(this,s||"a"),d={aliasDuplicateObjects:i??!0,keepUndefined:o??!1,onAnchor:u,onTagObj:l,replacer:r,schema:this.schema,sourceObjects:f},p=uA(e,c,d);return a&&ur(p)&&(p.flow=!0),h(),p}createPair(e,t,n={}){return new hn(this.createNode(e,null,n),this.createNode(t,null,n))}delete(e){return!!h1(this.contents)&&this.contents.delete(e)}deleteIn(e){return uN(e)?null!=this.contents&&(this.contents=null,!0):!!h1(this.contents)&&this.contents.deleteIn(e)}get(e,t){return ur(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return uN(e)?!t&&ut(this.contents)?this.contents.value:this.contents:ur(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!ur(this.contents)&&this.contents.has(e)}hasIn(e){return uN(e)?void 0!==this.contents:!!ur(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=uT(this.schema,[e],t):h1(this.contents)&&this.contents.set(e,t)}setIn(e,t){uN(e)?this.contents=t:null==this.contents?this.contents=uT(this.schema,Array.from(e),t):h1(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new uy({version:"1.1"}),n={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new uy({version:e}),n={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{let t=JSON.stringify(e);throw Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(n)this.schema=new hX(Object.assign(n,t));else throw Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:s}={}){let a={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},o=uO(this.contents,t??"",a);if("function"==typeof i)for(let{count:e,res:t}of a.anchors.values())i(t,e);return"function"==typeof s?uk(s,{"":o},"",o):o}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||0>=Number(e.indent))){let t=JSON.stringify(e.indent);throw Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){let n=[],r=!0===t.directives;if(!1!==t.directives&&e.directives){let t=e.directives.toString(e);t?(n.push(t),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");let i=uK(e,t),{commentString:s}=i.options;if(e.commentBefore){1!==n.length&&n.unshift("");let t=s(e.commentBefore);n.unshift(uI(t,""))}let a=!1,o=null;if(e.contents){if(ui(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){let t=s(e.contents.commentBefore);n.push(uI(t,""))}i.forceBlockIndent=!!e.comment,o=e.contents.comment}let t=o?void 0:()=>a=!0,l=uG(e.contents,i,()=>o=null,t);o&&(l+=u$(l,"",s(o))),("|"===l[0]||">"===l[0])&&"---"===n[n.length-1]?n[n.length-1]=`--- ${l}`:n.push(l)}else n.push(uG(e.contents,i));if(e.directives?.docEnd){if(e.comment){let t=s(e.comment);t.includes("\n")?(n.push("..."),n.push(uI(t,""))):n.push(`... ${t}`)}else n.push("...")}else{let t=e.comment;t&&a&&(t=t.replace(/^\n+/,"")),t&&((!a||o)&&""!==n[n.length-1]&&n.push(""),n.push(uI(s(t),"")))}return n.join("\n")+"\n"}(this,e)}}function h1(e){if(ur(e))return!0;throw Error("Expected a YAML collection as document contents")}class h2 extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}}class h3 extends h2{constructor(e,t,n){super("YAMLParseError",e,t,n)}}class h6 extends h2{constructor(e,t,n){super("YAMLWarning",e,t,n)}}const h8=(e,t)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map(e=>t.linePos(e));let{line:r,col:i}=n.linePos[0];n.message+=` at line ${r}, column ${i}`;let s=i-1,a=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(s>=60&&a.length>80){let e=Math.min(s-39,a.length-79);a="…"+a.substring(e),s-=e-1}if(a.length>80&&(a=a.substring(0,79)+"…"),r>1&&/^ *$/.test(a.substring(0,s))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"…\n"),a=n+a}if(/[^ ]/.test(a)){let e=1,t=n.linePos[1];t&&t.line===r&&t.col>i&&(e=Math.max(1,Math.min(t.col-i,80-s)));let o=" ".repeat(s)+"^".repeat(e);n.message+=`: + +${a} +${o} +`}};function h5(e,{flow:t,indicator:n,next:r,offset:i,onError:s,startOnNewline:a}){let o=!1,l=a,c=a,u="",h="",f=!1,d=!1,p=!1,m=null,g=null,b=null,y=null,v=null;for(let r of e)switch(p&&("space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&s(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),p=!1),r.type){case"space":!t&&l&&"doc-start"!==n&&" "===r.source[0]&&s(r,"TAB_AS_INDENT","Tabs are not allowed as indentation"),c=!0;break;case"comment":{c||s(r,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let e=r.source.substring(1)||" ";u?u+=h+e:u=e,h="",l=!1;break}case"newline":l?u?u+=r.source:o=!0:h+=r.source,l=!0,f=!0,(m||g)&&(d=!0),c=!0;break;case"anchor":m&&s(r,"MULTIPLE_ANCHORS","A node can have at most one anchor"),r.source.endsWith(":")&&s(r.offset+r.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),m=r,null===v&&(v=r.offset),l=!1,c=!1,p=!0;break;case"tag":g&&s(r,"MULTIPLE_TAGS","A node can have at most one tag"),g=r,null===v&&(v=r.offset),l=!1,c=!1,p=!0;break;case n:(m||g)&&s(r,"BAD_PROP_ORDER",`Anchors and tags must be after the ${r.source} indicator`),y&&s(r,"UNEXPECTED_TOKEN",`Unexpected ${r.source} in ${t??"collection"}`),y=r,l=!1,c=!1;break;case"comma":if(t){b&&s(r,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),b=r,l=!1,c=!1;break}default:s(r,"UNEXPECTED_TOKEN",`Unexpected ${r.type} token`),l=!1,c=!1}let w=e[e.length-1],x=w?w.offset+w.source.length:i;return p&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&s(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:b,found:y,spaceBefore:o,comment:u,hasNewline:f,hasNewlineAfterProp:d,anchor:m,tag:g,end:x,start:v??x}}function h4(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end){for(let t of e.end)if("newline"===t.type)return!0}return!1;case"flow-collection":for(let t of e.items){for(let e of t.start)if("newline"===e.type)return!0;if(t.sep){for(let e of t.sep)if("newline"===e.type)return!0}if(h4(t.key)||h4(t.value))return!0}return!1;default:return!0}}function h9(e,t,n){if(t?.type==="flow-collection"){let r=t.end[0];r.indent===e&&("]"===r.source||"}"===r.source)&&h4(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function h7(e,t,n){let{uniqueKeys:r}=e.options;if(!1===r)return!1;let i="function"==typeof r?r:(t,n)=>t===n||ut(t)&&ut(n)&&t.value===n.value&&!("<<"===t.value&&e.schema.merge);return t.some(e=>i(e.key,n))}const fe="All mapping items must start at the same column";function ft(e,t,n,r){let i="";if(e){let s=!1,a="";for(let o of e){let{source:e,type:l}=o;switch(l){case"space":s=!0;break;case"comment":{n&&!s&&r(o,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let t=e.substring(1)||" ";i?i+=a+t:i=t,a="";break}case"newline":i&&(a+=e),s=!0;break;default:r(o,"UNEXPECTED_TOKEN",`Unexpected ${l} at node end`)}t+=e.length}}return{comment:i,offset:t}}const fn="Block collections are not allowed within flow collections",fr=e=>e&&("block-map"===e.type||"block-seq"===e.type);function fi(e,t,n,r,i,s){let a="block-map"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,i,s){let a=new(s?.nodeClass??ha)(n.schema);n.atRoot&&(n.atRoot=!1);let o=r.offset,l=null;for(let s of r.items){let{start:c,key:u,sep:h,value:f}=s,d=h5(c,{indicator:"explicit-key-ind",next:u??h?.[0],offset:o,onError:i,startOnNewline:!0}),p=!d.found;if(p){if(u&&("block-seq"===u.type?i(o,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in u&&u.indent!==r.indent&&i(o,"BAD_INDENT",fe)),!d.anchor&&!d.tag&&!h){l=d.end,d.comment&&(a.comment?a.comment+="\n"+d.comment:a.comment=d.comment);continue}(d.hasNewlineAfterProp||h4(u))&&i(u??c[c.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else d.found?.indent!==r.indent&&i(o,"BAD_INDENT",fe);let m=d.end,g=u?e(n,u,d,i):t(n,m,c,null,d,i);n.schema.compat&&h9(r.indent,u,i),h7(n,a.items,g)&&i(m,"DUPLICATE_KEY","Map keys must be unique");let b=h5(h??[],{indicator:"map-value-ind",next:f,offset:g.range[2],onError:i,startOnNewline:!u||"block-scalar"===u.type});if(o=b.end,b.found){p&&(f?.type!=="block-map"||b.hasNewline||i(o,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&d.start0){let e=ft(d,p,n.options.strict,i);e.comment&&(l.comment?l.comment+="\n"+e.comment:l.comment=e.comment),l.range=[r.offset,p,e.offset]}else l.range=[r.offset,p,p];return l}(e,t,n,r,s),o=a.constructor;return"!"===i||i===o.tagName?a.tag=o.tagName:i&&(a.tag=i),a}function fs(e){let t,n;try{t=RegExp("(.*?)(?"===i.mode?uS.BLOCK_FOLDED:uS.BLOCK_LITERAL,a=e.source?function(e){let t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),i=[r?.[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let e=1;e=0;--e){let t=a[e][1];if(""===t||"\r"===t)o=e;else break}if(0===o){let t="+"===i.chomp&&a.length>0?"\n".repeat(Math.max(1,a.length-1)):"",n=r+i.length;return e.source&&(n+=e.source.length),{value:t,type:s,comment:i.comment,range:[r,n,n]}}let l=e.indent+i.indent,c=e.offset+i.length,u=0;for(let e=0;el&&(l=t.length);else{t.length=o;--e)a[e][0].length>l&&(o=e+1);let h="",f="",d=!1;for(let e=0;el||" "===r[0]?(" "===f?f="\n":d||"\n"!==f||(f="\n\n"),h+=f+t.slice(l)+r,f="\n",d=!0):""===r?"\n"===f?h+="\n":f="\n":(h+=f+r,f=" ",d=!1)}switch(i.chomp){case"-":break;case"+":for(let e=o;en(s+e,t,r);switch(a){case"scalar":r=uS.PLAIN,i=function(e,t){let n="";switch(e[0]){case" ":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${e[0]}`;break;case"@":case"`":n=`reserved character ${e[0]}`}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),fs(e)}(o,c);break;case"single-quoted-scalar":r=uS.QUOTE_SINGLE,("'"!==o[o.length-1]||1===o.length)&&c(o.length,"MISSING_CHAR","Missing closing 'quote"),i=fs(o.slice(1,-1)).replace(/''/g,"'");break;case"double-quoted-scalar":r=uS.QUOTE_DOUBLE,i=function(e,t){let n="";for(let r=1;rt?e.slice(t,r+1):i)}else n+=i}}return('"'!==e[e.length-1]||1===e.length)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}(o,c);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${a}`),{value:"",type:null,comment:"",range:[s,s+o.length,s+o.length]}}let u=s+o.length,h=ft(l,u,t,n);return{value:i,type:r,comment:h.comment,range:[s,u,h.offset]}}(t,e.options.strict,r),c=n?e.directives.tagName(n.source,e=>r(n,"TAG_RESOLVE_FAILED",e)):null,u=n&&c?function(e,t,n,r,i){if("!"===n)return e[c6];let s=[];for(let t of e.tags)if(!t.collection&&t.tag===n){if(!t.default||!t.test)return t;s.push(t)}for(let e of s)if(e.test?.test(t))return e;let a=e.knownTags[n];return a&&!a.collection?(e.tags.push(Object.assign({},a,{default:!1,test:void 0})),a):(i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),e[c6])}(e.schema,s,c,n,r):"scalar"===t.type?function({directives:e,schema:t},n,r,i){let s=t.tags.find(e=>e.default&&e.test?.test(n))||t[c6];if(t.compat){let a=t.compat.find(e=>e.default&&e.test?.test(n))??t[c6];if(s.tag!==a.tag){let t=e.tagString(s.tag),n=e.tagString(a.tag);i(r,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${t} or ${n}`,!0)}}return s}(e,s,t,r):e.schema[c6];try{let a=u.resolve(s,e=>r(n??t,"TAG_RESOLVE_FAILED",e),e.options);i=ut(a)?a:new uS(a)}catch(e){r(n??t,"TAG_RESOLVE_FAILED",e instanceof Error?e.message:String(e)),i=new uS(s)}return i.range=l,i.source=s,a&&(i.type=a),c&&(i.tag=c),u.format&&(i.format=u.format),o&&(i.comment=o),i}const fl={composeNode:fc,composeEmptyNode:fu};function fc(e,t,n,r){let i;let{spaceBefore:s,comment:a,anchor:o,tag:l}=n,c=!0;switch(t.type){case"alias":i=function({options:e},{offset:t,source:n,end:r},i){let s=new uj(n.substring(1));""===s.source&&i(t,"BAD_ALIAS","Alias cannot be an empty string"),s.source.endsWith(":")&&i(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let a=t+n.length,o=ft(r,a,e.strict,i);return s.range=[t,a,o.offset],o.comment&&(s.comment=o.comment),s}(e,t,r),(o||l)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":i=fo(e,t,l,r),o&&(i.anchor=o.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":i=function(e,t,n,r,i){let s=r?t.directives.tagName(r.source,e=>i(r,"TAG_RESOLVE_FAILED",e)):null,a="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq";if(!r||!s||"!"===s||s===ha.tagName&&"map"===a||s===hl.tagName&&"seq"===a||!a)return fi(e,t,n,i,s);let o=t.schema.tags.find(e=>e.tag===s&&e.collection===a);if(!o){let l=t.schema.knownTags[s];if(!l||l.collection!==a)return l?.collection?i(r,"BAD_COLLECTION_TYPE",`${l.tag} used for ${a} collection, but expects ${l.collection}`,!0):i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${s}`,!0),fi(e,t,n,i,s);t.schema.tags.push(Object.assign({},l,{default:!1})),o=l}let l=fi(e,t,n,i,s,o),c=o.resolve?.(l,e=>i(r,"TAG_RESOLVE_FAILED",e),t.options)??l,u=ui(c)?c:new uS(c);return u.range=l.range,u.tag=s,o?.format&&(u.format=o.format),u}(fl,e,t,l,r),o&&(i.anchor=o.source.substring(1));break;default:{let s="error"===t.type?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",s),i=fu(e,t.offset,void 0,null,n,r),c=!1}}return o&&""===i.anchor&&r(o,"BAD_ALIAS","Anchor cannot be an empty string"),s&&(i.spaceBefore=!0),a&&("scalar"===t.type&&""===t.source?i.comment=a:i.commentBefore=a),e.options.keepSourceTokens&&c&&(i.srcToken=t),i}function fu(e,t,n,r,{spaceBefore:i,comment:s,anchor:a,tag:o,end:l},c){let u=fo(e,{type:"scalar",offset:function(e,t,n){if(t){null===n&&(n=t.length);for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case"space":case"comment":case"newline":e-=n.source.length;continue}for(n=t[++r];n?.type==="space";)e+=n.source.length,n=t[++r];break}}return e}(t,n,r),indent:-1,source:""},o,c);return a&&(u.anchor=a.source.substring(1),""===u.anchor&&c(a,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(u.spaceBefore=!0),s&&(u.comment=s,u.range[2]=l),u}function fh(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];let{offset:t,source:n}=e;return[t,t+("string"==typeof n?n.length:1)]}function ff(e){let t="",n=!1,r=!1;for(let i=0;i{let i=fh(e);r?this.warnings.push(new h6(i,t,n)):this.errors.push(new h3(i,t,n))},this.directives=new uy({version:e.version||"1.2"}),this.options=e}decorate(e,t){let{comment:n,afterEmptyLine:r}=ff(this.prelude);if(n){let i=e.contents;if(t)e.comment=e.comment?`${e.comment} +${n}`:n;else if(r||e.directives.docStart||!i)e.commentBefore=n;else if(ur(i)&&!i.flow&&i.items.length>0){let e=i.items[0];ue(e)&&(e=e.key);let t=e.commentBefore;e.commentBefore=t?`${n} +${t}`:n}else{let e=i.commentBefore;i.commentBefore=e?`${n} +${e}`:n}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:ff(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(let t of e)yield*this.next(t);yield*this.end(t,n)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,(t,n,r)=>{let i=fh(e);i[0]+=t,this.onError(i,"BAD_DIRECTIVE",n,r)}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{let t=function(e,t,{offset:n,start:r,value:i,end:s},a){let o=new h0(void 0,Object.assign({_directives:t},e)),l={atRoot:!0,directives:o.directives,options:o.options,schema:o.schema},c=h5(r,{indicator:"doc-start",next:i??s?.[0],offset:n,onError:a,startOnNewline:!0});c.found&&(o.directives.docStart=!0,i&&("block-map"===i.type||"block-seq"===i.type)&&!c.hasNewline&&a(c.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),o.contents=i?fc(l,i,c,a):fu(l,c.end,r,null,c,a);let u=o.contents.range[2],h=ft(s,u,!1,a);return h.comment&&(o.comment=h.comment),o.range=[n,u,h.offset],o}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{let t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new h3(fh(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){this.errors.push(new h3(fh(e),"UNEXPECTED_TOKEN","Unexpected doc-end without preceding document"));break}this.doc.directives.docEnd=!0;let t=ft(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){let e=this.doc.comment;this.doc.comment=e?`${e} +${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new h3(fh(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){let e=new h0(void 0,Object.assign({_directives:this.directives},this.options));this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),e.range=[0,t,t],this.decorate(e,!1),yield e}}}const fp=Symbol("break visit"),fm=Symbol("skip children"),fg=Symbol("remove item");function fb(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),function e(t,n,r){let i=r(n,t);if("symbol"==typeof i)return i;for(let s of["key","value"]){let a=n[s];if(a&&"items"in a){for(let n=0;n{let n=e;for(let[e,r]of t){let t=n?.[e];if(!t||!("items"in t))return;n=t.items[r]}return n},fb.parentCollection=(e,t)=>{let n=fb.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],i=n?.[r];if(i&&"items"in i)return i;throw Error("Parent collection not found")};const fv="0123456789ABCDEFabcdef".split(""),fw="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),fx=",[]{}".split(""),fk=" ,[]{}\n\r ".split(""),fO=e=>!e||fk.includes(e);class f_{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){e&&(this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null),this.atEnd=!t;let n=this.next??"stream";for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||" "===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;for(;" "===t;)t=this.buffer[++n+e];if("\r"===t){let t=this.buffer[n+e+1];if("\n"===t||!t&&!this.atEnd)return e+n+1}return"\n"!==t&&!(n>=this.indentNext)&&(t||this.atEnd)?-1:e+n}if("-"===t||"."===t){let t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&fy(this.buffer[e+3]))return -1}return e}getLine(){let e=this.lineEndPos;return(("number"!=typeof e||-1!==e&&ethis.indentValue&&!fy(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&fy(t)){let e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);let e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(fO),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=(yield*this.parseBlockScalarHeader())+(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t;let n=-1;do(e=yield*this.pushNewline())>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=yield*this.pushSpaces(!0);while(e+t>0)let r=this.getLine();if(null===r)return this.setNext("flow");if((-1!==n&&n"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil(e=>fy(e)||"#"===e)}*parseBlockScalar(){let e,t=this.pos-1,n=0;e:for(let r=this.pos;e=this.buffer[r];++r)switch(e){case" ":n+=1;break;case"\n":t=r,n=0;break;case"\r":{let e=this.buffer[r+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=n:this.indentNext+=this.blockScalarIndent;do{let e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t)if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}if(!this.blockScalarKeep)for(;;){let e=t-1,r=this.buffer[e];"\r"===r&&(r=this.buffer[--e]);let i=e;for(;" "===r||" "===r;)r=this.buffer[--e];if("\n"===r&&e>=this.pos&&e+1+n>i)t=e;else break}return yield"\x1f",yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e;let t=this.flowLevel>0,n=this.pos-1,r=this.pos-1;for(;e=this.buffer[++r];)if(":"===e){let e=this.buffer[r+1];if(fy(e)||t&&","===e)break;n=r}else if(fy(e)){let i=this.buffer[r+1];if("\r"===e&&("\n"===i?(r+=1,e="\n",i=this.buffer[r+1]):n=r),"#"===i||t&&fx.includes(i))break;if("\n"===e){let e=this.continueScalar(r+1);if(-1===e)break;r=Math.max(r,e-2)}}else{if(t&&fx.includes(e))break;n=r}return e||this.atEnd?(yield"\x1f",yield*this.pushToIndex(n+1,!0),t?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){let n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(fO))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{let e=this.flowLevel>0,t=this.charAt(1);if(fy(t)||e&&fx.includes(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!fy(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(fw.includes(t))t=this.buffer[++e];else if("%"===t&&fv.includes(this.buffer[e+1])&&fv.includes(this.buffer[e+2]))t=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,n=this.pos-1;do t=this.buffer[++n];while(" "===t||e&&" "===t)let r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class fj{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t>1;this.lineStarts[r]=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}function fP(e){if("flow-seq-start"===e.start.type)for(let t of e.items)!t.sep||t.value||fE(t.start,"explicit-key-ind")||fE(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,fA(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class fC{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new f_,this.onNewLine=e}*parse(e,t=!1){for(let n of(this.onNewLine&&0===this.offset&&this.onNewLine(0),this.lexer.lex(e,t)))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}let t=function(e){switch(e){case"\uFEFF":return"byte-order-mark";case"\x02":return"doc-mode";case"\x18":return"flow-error-end";case"\x1f":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}(e);if(t){if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}}else{let t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let e=this.peek(1);if("doc-end"===this.type&&(!e||"doc-end"!==e.type)){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){let t=e??this.stack.pop();if(t){if(0===this.stack.length)yield t;else{let e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&fP(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{let n=e.items[e.items.length-1];if(n.value){e.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}if(n.sep)n.value=t;else{Object.assign(n,{key:t,sep:[]}),this.onKeyLine=!fE(n.start,"explicit-key-ind");return}break}case"block-seq":{let n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case"flow-collection":{let n=e.items[e.items.length-1];!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if(("document"===e.type||"block-map"===e.type||"block-seq"===e.type)&&("block-map"===t.type||"block-seq"===t.type)){let n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&-1===fS(n.start)&&(0===t.indent||n.start.every(e=>"comment"!==e.type||e.indent=e.indent){let n=!this.onKeyLine&&this.indent===e.indent&&t.sep,r=[];if(n&&t.sep&&!t.value){let n=[];for(let r=0;re.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(r=t.sep.splice(n[1]))}switch(this.type){case"anchor":case"tag":n||t.value?(r.push(this.sourceToken),e.items.push({start:r}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"explicit-key-ind":t.sep||fE(t.start,"explicit-key-ind")?n||t.value?(r.push(this.sourceToken),e.items.push({start:r})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}):t.start.push(this.sourceToken),this.onKeyLine=!0;return;case"map-value-ind":if(fE(t.start,"explicit-key-ind")){if(t.sep){if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(fE(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]});else if(fA(t.key)&&!fE(t.sep,"newline")){let e=fN(t.start),n=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:r}]})}else r.length>0?t.sep=t.sep.concat(r,this.sourceToken):t.sep.push(this.sourceToken)}else if(fE(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let e=fN(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}}else t.sep?t.value||n?e.items.push({start:r,key:null,sep:[this.sourceToken]}):fE(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let i=this.flowScalar(this.type);n||t.value?(e.items.push({start:r,key:i,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(i):(Object.assign(t,{key:i,sep:[]}),this.onKeyLine=!0);return}default:{let i=this.startBlockValue(e);if(i){n&&"block-seq"!==i.type&&fE(t.start,"explicit-key-ind")&&e.items.push({start:r}),this.stack.push(i);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){let n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;r?.type==="comment"?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){let n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r)){Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;t.value||fE(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){let t=this.startBlockValue(e);if(t){this.stack.push(t);return}}yield*this.pop(),yield*this.step()}*flowCollection(e){let t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do yield*this.pop(),e=this.peek(1);while(e&&"flow-collection"===e.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case"map-value-ind":!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let n=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}let n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{let t=this.peek(2);if("block-map"!==t.type||("map-value-ind"!==this.type||t.indent!==e.indent)&&("newline"!==this.type||t.items[t.items.length-1].sep)){if("map-value-ind"===this.type&&"flow-collection"!==t.type){let n=fN(fT(t));fP(e);let r=e.end.splice(1,e.end.length);r.push(this.sourceToken);let i={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=i}else yield*this.lineEnd(e)}else yield*this.pop(),yield*this.step()}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let t=fN(fT(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t}]}}case"map-value-ind":{this.onKeyLine=!0;let t=fN(fT(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&!(this.indent<=t)&&e.every(e=>"newline"===e.type||"space"===e.type)}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}var fI=function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(e){try{l(r.next(e))}catch(e){s(e)}}function o(e){try{l(r.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,o)}l((r=r.apply(e,t||[])).next())})};const f$={local:"http://localhost:3000",remote:"https://vuqjf9paihid.leanapp.cn",test:"https://vsw505fxbitp.leanapp.cn/"},fL=new lK({baseURI:"localhost"===location.hostname?f$[void 0]:f$.remote,withCredentials:!0,responseType:"json"});(rJ=sb||(sb={}))[rJ.Admin=0]="Admin";var sI=sT("bP8Tm"),fR=function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(e){try{l(r.next(e))}catch(e){s(e)}}function o(e){try{l(r.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,o)}l((r=r.apply(e,t||[])).next())})},fM=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const fB=new lK({baseURI:"https://restapi.amap.com/v3/",responseType:"json"}).use(({request:e,response:t},n)=>fR(void 0,void 0,void 0,function*(){let[r,i]=(e.path+"").split("?");e.path=`${r}?${(0,sI.buildURLData)(Object.assign(Object.assign({},(0,sI.parseURLData)(i)),{key:"8325164e247e15eea68b59e89200988b"}))}`,yield n();let s=t.body,{status:a,info:o}=s,l=fM(s,["status","info"]);if("1"!==a)throw new lD(o,t);t.body=l}));function fD(e="中国"){return fR(this,void 0,void 0,function*(){let{body:t}=yield fB.get(`config/district?${(0,sI.buildURLData)({keywords:e})}`);return t.districts[0].districts})}new lK({baseURI:"https://lab.ahusmart.com/nCoV/api/",responseType:"json"});const fF=new class{constructor(e,t){Object.defineProperty(this,"owner",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"repo",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"client",{enumerable:!0,configurable:!0,writable:!0,value:new lK({baseURI:"https://api.github.com/",responseType:"json"})})}getContents(e){return fI(this,void 0,void 0,function*(){let{owner:t,repo:n}=this,r=e.split(".").slice(-1)[0],{body:i}=yield this.client.get(`repos/${t}/${n}/contents/${e}`),s=cX.decode(i.content);switch(r){case"json":return JSON.parse(s);case"yaml":case"yml":return function(e,t,n){let r;"function"==typeof t?r=t:void 0===n&&t&&"object"==typeof t&&(n=t);let i=function(e,t={}){let{lineCounter:n,prettyErrors:r}=function(e){let t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new fj||null,prettyErrors:t}}(t),i=new fC(n?.addNewLine),s=new fd(t),a=null;for(let t of s.compose(i.parse(e),!0,e.length))if(a){if("silent"!==a.options.logLevel){a.errors.push(new h3(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else a=t;return r&&n&&(a.errors.forEach(h8(e,n)),a.warnings.forEach(h8(e,n))),a}(e,n);if(!i)return null;if(i.warnings.forEach(e=>u4(i.options.logLevel,e)),i.errors.length>0){if("silent"!==i.options.logLevel)throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:r},n))}(s);default:return s}})}getContributors(){return fI(this,void 0,void 0,function*(){let{owner:e,repo:t}=this,{body:n}=yield this.client.get(`repos/${e}/${t}/contributors?per_page=100`);return n})}}("wuhan2020","WebApp");var fU=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},fz=function(e,t,n){for(var r=arguments.length>2,i=0;i{let e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;fU(rZ,null,[sD.observable],{kind:"accessor",name:"user",static:!1,private:!1,access:{has:e=>"user"in e,get:e=>e.user,set:(e,t)=>{e.user=t}},metadata:e},eJ,eG),e&&Object.defineProperty(rZ,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})})(),rZ);var sD=(sT("feBSP"),sT("feBSP")),fK=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},fG=function(e,t,n){for(var r=arguments.length>2,i=0;ie===t);this.list[r]=n}else{let{body:t}=yield fL.post(this.baseURI,e);this.list=[t].concat(this.list)}this.loading=!1})}getOne(e){return fJ(this,void 0,void 0,function*(){this.loading=!0;let{body:t}=yield fL.get(this.baseURI+e);return this.loading=!1,t})}delete(e){return fJ(this,void 0,void 0,function*(){this.loading=!0,yield fL.delete(this.baseURI+e),this.list=this.list.filter(({objectId:t})=>t!==e),this.loading=!1})}},rX=new WeakMap,r0=new WeakMap,r1=new WeakMap,(()=>{let e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;eZ=[sD.observable],eY=[sD.observable],eQ=[sD.observable],fK(rQ,null,eZ,{kind:"accessor",name:"loading",static:!1,private:!1,access:{has:e=>"loading"in e,get:e=>e.loading,set:(e,t)=>{e.loading=t}},metadata:e},e0,eX),fK(rQ,null,eY,{kind:"accessor",name:"noMore",static:!1,private:!1,access:{has:e=>"noMore"in e,get:e=>e.noMore,set:(e,t)=>{e.noMore=t}},metadata:e},e1,eX),fK(rQ,null,eQ,{kind:"accessor",name:"list",static:!1,private:!1,access:{has:e=>"list"in e,get:e=>e.list,set:(e,t)=>{e.list=t}},metadata:e},e2,eX),e&&Object.defineProperty(rQ,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})})(),rQ);class fX extends fQ{verify(e){return fJ(this,void 0,void 0,function*(){this.loading=!0,yield fL.patch(this.baseURI+e,{verified:!0});let t=this.list.find(({objectId:t})=>t===e);t.verified=!0,t.verifier=dt.user,this.loading=!1})}}var f0=function(e,t,n){for(var r=arguments.length>2,i=0;i=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},f2=function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(e){try{l(r.next(e))}catch(e){s(e)}}function o(e){try{l(r.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,o)}l((r=r.apply(e,t||[])).next())})},f3=function(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)},f6=function(e,t,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n};let f8=(e3=fQ,e6=[],e8=[],r2=class extends e3{constructor(){super(...arguments),Object.defineProperty(this,"baseURI",{enumerable:!0,configurable:!0,writable:!0,value:(f0(this,e6),"/user/")}),r3.set(this,f0(this,e8,void 0))}get roles(){return f3(this,r3,"f")}set roles(e){f6(this,r3,e,"f")}getRoles(){return f2(this,void 0,void 0,function*(){let{body:e}=yield fL.get("/role");return this.roles=e})}addRole(e,t){return f2(this,void 0,void 0,function*(){yield fL.post(`${this.baseURI}${e}/role/${t}`);let n=this.list.find(({objectId:t})=>t===e),{name:r}=this.roles.find(({objectId:e})=>e===t);n.roles=n.roles.concat(r)})}removeRole(e,t){return f2(this,void 0,void 0,function*(){yield fL.delete(`${this.baseURI}${e}/role/${t}`);let n=this.list.find(({objectId:t})=>t===e),{name:r}=this.roles.find(({objectId:e})=>e===t);n.roles=n.roles.filter(e=>e!==r)})}},r3=new WeakMap,(()=>{var e;let t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=e3[Symbol.metadata])&&void 0!==e?e:null):void 0;f1(r2,null,[sD.observable],{kind:"accessor",name:"roles",static:!1,private:!1,access:{has:e=>"roles"in e,get:e=>e.roles,set:(e,t)=>{e.roles=t}},metadata:t},e8,e6),t&&Object.defineProperty(r2,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})})(),r2);var sD=sT("feBSP"),f5=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},f4=function(e,t,n){for(var r=arguments.length>2,i=0;ithis.provinces=e)}getSubs(e,t){var n,r,i,s;return n=this,r=void 0,i=void 0,s=function*(){let n=yield fD(t);"city"===e?this.cities=n:this.districts=n},new(i||(i=Promise))(function(e,t){function a(e){try{l(s.next(e))}catch(e){t(e)}}function o(e){try{l(s.throw(e))}catch(e){t(e)}}function l(t){var n;t.done?e(t.value):((n=t.value)instanceof i?n:new i(function(e){e(n)})).then(a,o)}l((s=s.apply(n,r||[])).next())})}},r8=new WeakMap,r5=new WeakMap,r4=new WeakMap,(()=>{let e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;e5=[sD.observable],e4=[sD.observable],e9=[sD.observable],f5(r6,null,e5,{kind:"accessor",name:"provinces",static:!1,private:!1,access:{has:e=>"provinces"in e,get:e=>e.provinces,set:(e,t)=>{e.provinces=t}},metadata:e},te,e7),f5(r6,null,e4,{kind:"accessor",name:"cities",static:!1,private:!1,access:{has:e=>"cities"in e,get:e=>e.cities,set:(e,t)=>{e.cities=t}},metadata:e},tt,e7),f5(r6,null,e9,{kind:"accessor",name:"districts",static:!1,private:!1,access:{has:e=>"districts"in e,get:e=>e.districts,set:(e,t)=>{e.districts=t}},metadata:e},tn,e7),e&&Object.defineProperty(r6,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})})(),r6);const dt=new fH;new f8;const dn=new class extends fX{constructor(){super(...arguments),Object.defineProperty(this,"baseURI",{enumerable:!0,configurable:!0,writable:!0,value:"/supplies/requirement/"})}},dr=new class extends fX{constructor(){super(...arguments),Object.defineProperty(this,"baseURI",{enumerable:!0,configurable:!0,writable:!0,value:"/logistics/"})}},di=new class extends fX{constructor(){super(...arguments),Object.defineProperty(this,"baseURI",{enumerable:!0,configurable:!0,writable:!0,value:"/hotel/"})}},ds=new class extends fX{constructor(){super(...arguments),Object.defineProperty(this,"baseURI",{enumerable:!0,configurable:!0,writable:!0,value:"/clinic/"})}},da=new class extends fX{constructor(){super(...arguments),Object.defineProperty(this,"baseURI",{enumerable:!0,configurable:!0,writable:!0,value:"/donation/recipient/"})}},dl=new class extends fX{constructor(){super(...arguments),Object.defineProperty(this,"baseURI",{enumerable:!0,configurable:!0,writable:!0,value:"/vendor/"})}},dc=new de;(r9=sy||(sy={})).Hospital="hospital",r9.Logistics="logistics",r9.Hotel="hotel",r9.Factory="factory",r9.Donation="donation",r9.Clinic="clinic",r9.Maps="maps",r9.Admin="admin",r9.Community="community";var du=[{title:"首页",href:""},{title:"医院",href:sy.Hospital,icon:"hospital"},{title:"物流",href:sy.Logistics,icon:"truck"},{title:"酒店",href:sy.Hotel,icon:"building-check"},{title:"生产",href:sy.Factory,icon:"buildings"},{title:"捐赠",href:sy.Donation,icon:"heart"},{title:"义诊",href:sy.Clinic,icon:"house-heart"},{title:"疫情地图",href:sy.Maps,icon:"map"},{title:"红会监工",href:"https://weileizeng.github.io/red-cross/",icon:"plus-square"},{title:"开放社区",href:sy.Community}],dh={};dh=new URL("wuhan2020.bed6fd20.png",import.meta.url).toString();const df=e=>(0,sP.jsxs)("main",Object.assign({},e,{children:[(0,sP.jsx)(oo,{className:"my-5",title:"新冠战疫信息平台",description:"新冠病毒疫情中的武汉援助信息网站"}),(0,sP.jsx)("ul",{className:"row list-unstyled g-3",children:du.slice(1,-1).map(({title:e,href:t,icon:n})=>(0,sP.jsx)("li",{className:"col-sm-6 col-md-6 col-lg-4",children:(0,sP.jsx)(of,{children:(0,sP.jsxs)(op,{className:"d-flex flex-column align-items-center gap-3",children:[(0,sP.jsx)(oP,{name:n,size:5,color:"primary"}),(0,sP.jsx)(og,{className:"m-0",children:(0,sP.jsx)("a",{className:"text-decoration-none stretched-link",href:t.startsWith("http")?t:`#${t}`,children:e})})]})})},e))})]}));var sI=sT("bP8Tm");(r7=sv||(sv={})).ms="毫秒",r7.s="秒",r7.m="分钟",r7.H="小时",r7.D="日",r7.W="周",r7.M="月",r7.Y="年";const dd=({date:e,phone:t,label:n})=>{let{distance:r,unit:i}=(0,sI.diffTime)(e);return(0,sP.jsxs)("time",{className:"d-block small text-center text-muted",dateTime:e,children:[(0,sP.jsx)("a",{href:"tel:"+t,children:t})," ",n,"于 ",Math.abs(r)," ",sv[i],"前"]})},dp=ag(e=>{var t;let{createdAt:n,updatedAt:r,creator:i,verified:s,verifier:a,objectId:o,scope:l,model:c}=e,u=dt.hasRole("Admin"),h=(null===(t=dt.user)||void 0===t?void 0:t.objectId)===i.objectId||u;return(0,sP.jsxs)(sP.Fragment,{children:[(0,sP.jsx)(dd,{label:"发布",date:n,phone:i.mobilePhoneNumber}),s&&(0,sP.jsx)(dd,{label:"审核",date:r,phone:a.mobilePhoneNumber}),h&&(0,sP.jsxs)("div",{className:"btn-group d-flex mt-2",children:[(0,sP.jsx)(o$,{variant:"warning",size:"sm",href:l+"/edit?dataId="+o,children:"编辑"}),u&&!s&&(0,sP.jsx)(o$,{variant:"success",size:"sm",onClick:()=>c.verify(o),children:"审核"}),(0,sP.jsx)(o$,{variant:"danger",size:"sm",onClick:()=>c.delete(o),children:"删除"})]})]})});var sD=sT("feBSP"),dm=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},dg=function(e,t,n){for(var r=arguments.length>2,i=0;it&&"全部"!==t)))},new(i||(i=Promise))(function(e,t){function a(e){try{l(s.next(e))}catch(e){t(e)}}function o(e){try{l(s.throw(e))}catch(e){t(e)}}function l(t){var n;t.done?e(t.value):((n=t.value)instanceof i?n:new i(function(e){e(n)})).then(a,o)}l((s=s.apply(n,r||[])).next())})}render(){let{province:e,city:t,district:n}=this,r={name:"全部"};return(0,sP.jsxs)(sP.Fragment,{children:[(0,sP.jsx)(o9,{className:"mr-3 mb-3",variant:"primary",caption:`\u{7701} | ${e||"全部"}`,children:[r,...dc.provinces].map(({name:e})=>(0,sP.jsx)(o4,{onClick:()=>this.change("province",e),children:e}))}),(0,sP.jsx)(o9,{className:"mr-3 mb-3",variant:"primary",caption:`\u{5E02} | ${t||"全部"}`,children:[r,...dc.cities].map(({name:e})=>(0,sP.jsx)(o4,{onClick:()=>this.change("city",e),children:e}))}),(0,sP.jsx)(o9,{className:"mr-3 mb-3",variant:"primary",caption:`\u{533A} | ${n||"全部"}`,children:[r,...dc.districts].map(({name:e})=>(0,sP.jsx)(o4,{onClick:()=>this.change("district",e),children:e}))})]})}},ie=new WeakMap,it=new WeakMap,ir=new WeakMap,ii=ti,"symbol"==typeof(is="DistrictFilter")&&(is=is.description?"[".concat(is.description,"]"):""),Object.defineProperty(ii,"name",{configurable:!0,value:ia?"".concat(ia," ",is):is}),(()=>{var e;let t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=tu[Symbol.metadata])&&void 0!==e?e:null):void 0;ts=[ab,sD.observable],ta=[ab,sD.observable],to=[ab,sD.observable],dm(ti,null,ts,{kind:"accessor",name:"province",static:!1,private:!1,access:{has:e=>"province"in e,get:e=>e.province,set:(e,t)=>{e.province=t}},metadata:t},tf,th),dm(ti,null,ta,{kind:"accessor",name:"city",static:!1,private:!1,access:{has:e=>"city"in e,get:e=>e.city,set:(e,t)=>{e.city=t}},metadata:t},td,th),dm(ti,null,to,{kind:"accessor",name:"district",static:!1,private:!1,access:{has:e=>"district"in e,get:e=>e.district,set:(e,t)=>{e.district=t}},metadata:t},tp,th),dm(null,tr={value:ti},tl,{kind:"class",name:ti.name,metadata:t},null,tc),ti=tr.value,t&&Object.defineProperty(ti,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),dg(ti,tc)})(),ti);class dw extends HTMLElement{constructor(){super(...arguments),Object.defineProperty(this,"districtFilter",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"filter",{enumerable:!0,configurable:!0,writable:!0,value:{verified:!dt.hasRole("Admin")}}),Object.defineProperty(this,"loadMore",{enumerable:!0,configurable:!0,writable:!0,value:e=>{if("bottom"===e)return this.model.getNextPage(this.filter)}}),Object.defineProperty(this,"changeDistrict",{enumerable:!0,configurable:!0,writable:!0,value:({detail:e})=>this.model.getNextPage(this.filter=Object.assign(Object.assign({},e),{verified:this.filter.verified}),!0)}),Object.defineProperty(this,"changeVerified",{enumerable:!0,configurable:!0,writable:!0,value:({target:e})=>{let{checked:t}=e;return this.filter.verified=t,this.model.getNextPage(this.filter,!0)}})}clip2board(e){var t,n,r,i;return t=this,n=void 0,r=void 0,i=function*(){yield navigator.clipboard.writeText(e),self.alert("已复制到剪贴板")},new(r||(r=Promise))(function(e,s){function a(e){try{l(i.next(e))}catch(e){s(e)}}function o(e){try{l(i.throw(e))}catch(e){s(e)}}function l(t){var n;t.done?e(t.value):((n=t.value)instanceof r?n:new r(function(e){e(n)})).then(a,o)}l((i=i.apply(t,n||[])).next())})}render(){let{name:e,scope:t,districtFilter:n}=this,{loading:r,list:i,noMore:s}=this.model,a=dt.hasRole("Admin");return(0,sP.jsxs)(sP.Fragment,{children:[(0,sP.jsxs)("header",{className:"d-flex justify-content-between align-items-center my-3",children:[(0,sP.jsx)("h2",{className:"m-0",children:e}),(0,sP.jsx)("span",{children:(0,sP.jsx)(o$,{variant:"warning",href:t+"/edit",children:"发布"})})]}),(0,sP.jsxs)("div",{className:"d-flex justify-content-between",children:[n&&(0,sP.jsx)(dv,{onChange:this.changeDistrict}),a&&(0,sP.jsx)(oE,{type:"switch",onClick:this.changeVerified,children:"审核"})]}),(0,sP.jsxs)(os,{onTouch:this.loadMore,children:[(0,sP.jsx)(oq,{cover:r,className:"card-deck justify-content-around",children:i.map(this.renderItem)}),(0,sP.jsx)("p",{slot:"bottom",className:"text-center mt-2",children:s?"没有更多数据了":"加载更多..."})]})]})}}var dx=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},dk=function(e,t,n){for(var r=arguments.length>2,i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let d_=(tb=[ax({tagName:"hospital-page"}),ag],ty=[],tv=dw,io=tg=class extends tv{constructor(){super(...arguments),Object.defineProperty(this,"scope",{enumerable:!0,configurable:!0,writable:!0,value:"hospital"}),Object.defineProperty(this,"model",{enumerable:!0,configurable:!0,writable:!0,value:dn}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"医疗物资需求"}),Object.defineProperty(this,"districtFilter",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"renderItem",{enumerable:!0,configurable:!0,writable:!0,value:e=>{var{hospital:t,supplies:n=[],province:r,city:i,district:s,address:a,contacts:o}=e,l=dO(e,["hospital","supplies","province","city","district","address","contacts"]);return(0,sP.jsxs)(of,{className:"mx-auto mb-4 mx-sm-1",style:{minWidth:"20rem",maxWidth:"20rem"},title:t,children:[(0,sP.jsx)("ol",{children:n.map(({name:e,count:t,remark:n})=>(0,sP.jsxs)("li",{title:n,children:[e," ",(0,sP.jsxs)(oD,{bg:"danger",children:[t,"个"]})]},e))}),(0,sP.jsxs)("div",{className:"text-center",children:[(0,sP.jsx)(o$,{variant:"primary",onClick:()=>this.clip2board(r+i+s+a),children:"邮寄地址"}),o[0]&&(0,sP.jsx)(o9,{className:"d-inline-block ms-3",variant:"primary",caption:"联系方式",children:o.map(({name:e,phone:t})=>(0,sP.jsxs)(o4,{href:"tel:"+t,children:[e,":",t]}))})]}),(0,sP.jsx)(om,{children:(0,sP.jsx)(dp,Object.assign({scope:"hospital",model:dn},l))})]})}})}},"symbol"==typeof(il="HospitalPage")&&(il=il.description?"[".concat(il.description,"]"):""),Object.defineProperty(io,"name",{configurable:!0,value:ic?"".concat(ic," ",il):il}),(()=>{var e;let t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=tv[Symbol.metadata])&&void 0!==e?e:null):void 0;dx(null,tm={value:tg},tb,{kind:"class",name:tg.name,metadata:t},null,ty),tg=tm.value,t&&Object.defineProperty(tg,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),dk(tg,ty)})(),tg);var dj=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},dE=function(e,t,n){for(var r=arguments.length>2,i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const dA={in:"寄入",out:"寄出",both:"寄入寄出"};let dT=(tk=[ax({tagName:"logistics-page"}),ag],tO=[],t_=dw,iu=tx=class extends t_{constructor(){super(...arguments),Object.defineProperty(this,"scope",{enumerable:!0,configurable:!0,writable:!0,value:"logistics"}),Object.defineProperty(this,"model",{enumerable:!0,configurable:!0,writable:!0,value:dr}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"物流公司"}),Object.defineProperty(this,"renderItem",{enumerable:!0,configurable:!0,writable:!0,value:e=>{var{url:t,name:n,serviceArea:r,contacts:i,remark:s}=e,a=dS(e,["url","name","serviceArea","contacts","remark"]);return(0,sP.jsxs)(of,{className:"mx-auto mb-4 mx-sm-1",style:{minWidth:"20rem",maxWidth:"20rem"},children:[(0,sP.jsxs)(op,{children:[(0,sP.jsx)(og,{children:t?(0,sP.jsx)("a",{target:"_blank",href:t,children:n}):n}),r.map(this.renderServiceArea),null==i?void 0:i.map(this.renderContact),(0,sP.jsx)("p",{className:"text-muted",children:s})]}),(0,sP.jsx)(om,{children:(0,sP.jsx)(dp,Object.assign({scope:"logistics",model:dr},a))})]})}}),Object.defineProperty(this,"renderServiceArea",{enumerable:!0,configurable:!0,writable:!0,value:({city:e,direction:t,personal:n})=>(0,sP.jsxs)("dl",{children:[(0,sP.jsx)("dt",{children:"地区:"}),(0,sP.jsx)("dd",{children:e}),(0,sP.jsx)("dt",{children:"方向:"}),(0,sP.jsx)("dd",{children:dA[t]}),!n&&(0,sP.jsx)("dd",{children:(0,sP.jsx)(oD,{bg:"danger",children:"不接受个人捐赠"})})]})}),Object.defineProperty(this,"renderContact",{enumerable:!0,configurable:!0,writable:!0,value:({name:e,phone:t})=>(0,sP.jsx)("p",{className:"mb-1",children:(0,sP.jsxs)("a",{className:"text-center text-decoration-none",href:"tel:"+t,children:[(0,sP.jsx)(oC,{name:"phone"})," ",e," ",t]})})})}},"symbol"==typeof(ih="LogisticsPage")&&(ih=ih.description?"[".concat(ih.description,"]"):""),Object.defineProperty(iu,"name",{configurable:!0,value:id?"".concat(id," ",ih):ih}),(()=>{var e;let t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=t_[Symbol.metadata])&&void 0!==e?e:null):void 0;dj(null,tw={value:tx},tk,{kind:"class",name:tx.name,metadata:t},null,tO),tx=tw.value,t&&Object.defineProperty(tx,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),dE(tx,tO)})(),tx);var dN=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},dP=function(e,t,n){for(var r=arguments.length>2,i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let dI=(tS=[ax({tagName:"hotel-page"}),ag],tA=[],tT=dw,ip=tE=class extends tT{constructor(){super(...arguments),Object.defineProperty(this,"scope",{enumerable:!0,configurable:!0,writable:!0,value:"hotel"}),Object.defineProperty(this,"model",{enumerable:!0,configurable:!0,writable:!0,value:di}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"湖北同胞住宿指南"}),Object.defineProperty(this,"districtFilter",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"renderItem",{enumerable:!0,configurable:!0,writable:!0,value:e=>{var{url:t,name:n,capacity:r,province:i,city:s,district:a,address:o,remark:l,coords:{latitude:c,longitude:u},contacts:h}=e,f=dC(e,["url","name","capacity","province","city","district","address","remark","coords","contacts"]);return(0,sP.jsxs)(of,{className:"mx-auto mb-4 mx-sm-1",style:{minWidth:"20rem",maxWidth:"20rem"},children:[(0,sP.jsxs)(op,{children:[(0,sP.jsx)(og,{children:t?(0,sP.jsx)("a",{target:"_blank",href:t,children:n}):n}),(0,sP.jsxs)("p",{children:["可接待人数:",(0,sP.jsx)(oD,{bg:"danger",children:r})]}),(0,sP.jsxs)("p",{children:["地址:",i+s+a+o]}),l&&(0,sP.jsx)("p",{className:"text-muted",children:l}),(0,sP.jsxs)("div",{className:"text-center",children:[(0,sP.jsx)(o$,{variant:"primary",target:"_top",href:"//uri.amap.com/marker?"+new URLSearchParams({src:self.location.origin,position:[u,c].join(),name:n,callnative:"1"}),children:"地图导航"}),h[0]&&(0,sP.jsx)(o9,{className:"d-inline-block ms-3",variant:"primary",caption:"联系方式",children:h.map(({name:e,phone:t})=>(0,sP.jsxs)(o4,{href:"tel:"+t,children:[e,":",t]}))})]})]}),(0,sP.jsx)(om,{children:(0,sP.jsx)(dp,Object.assign({scope:"hotel",model:di},f))})]})}})}},"symbol"==typeof(im="HotelPage")&&(im=im.description?"[".concat(im.description,"]"):""),Object.defineProperty(ip,"name",{configurable:!0,value:ig?"".concat(ig," ",im):im}),(()=>{var e;let t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=tT[Symbol.metadata])&&void 0!==e?e:null):void 0;dN(null,tj={value:tE},tS,{kind:"class",name:tE.name,metadata:t},null,tA),tE=tj.value,t&&Object.defineProperty(tE,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),dP(tE,tA)})(),tE);var d$=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},dL=function(e,t,n){for(var r=arguments.length>2,i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let dM=(tC=[ax({tagName:"factory-page"}),ag],tI=[],t$=dw,ib=tP=class extends t${constructor(){super(...arguments),Object.defineProperty(this,"scope",{enumerable:!0,configurable:!0,writable:!0,value:"factory"}),Object.defineProperty(this,"model",{enumerable:!0,configurable:!0,writable:!0,value:dl}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"生产厂商"}),Object.defineProperty(this,"districtFilter",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"renderItem",{enumerable:!0,configurable:!0,writable:!0,value:e=>{var{url:t,name:n,qualification:r,supplies:i=[],province:s,city:a,district:o,address:l,contacts:c,remark:u}=e,h=dR(e,["url","name","qualification","supplies","province","city","district","address","contacts","remark"]);return(0,sP.jsxs)(of,{className:"mx-auto mb-4 mx-sm-1",style:{minWidth:"20rem",maxWidth:"20rem"},children:[(0,sP.jsxs)(op,{children:[(0,sP.jsx)(og,{children:t?(0,sP.jsx)("a",{target:"_blank",href:t,children:n}):n}),(0,sP.jsxs)("p",{children:["资质证明:",(0,sP.jsx)("code",{children:r})]}),(0,sP.jsxs)("p",{children:["地址:",s+a+o+l]}),(0,sP.jsx)("h6",{children:"物资产能"}),(0,sP.jsx)("ol",{children:i.map(({name:e,count:t,remark:n})=>(0,sP.jsxs)("li",{title:n,children:[e," ",(0,sP.jsxs)(oD,{bg:"danger",children:[t,"个"]})]},e))}),u&&(0,sP.jsx)("p",{className:"text-muted",children:u}),(0,sP.jsxs)("div",{className:"text-center",children:[(0,sP.jsx)(o$,{variant:"primary",onClick:()=>this.clip2board(s+a+o+l),children:"复制地址"}),c[0]&&(0,sP.jsx)(o9,{className:"d-inline-block ms-3",variant:"primary",caption:"联系方式",children:c.map(({name:e,phone:t})=>(0,sP.jsxs)(o4,{href:"tel:"+t,children:[e,":",t]},e))})]})]}),(0,sP.jsx)(om,{children:(0,sP.jsx)(dp,Object.assign({scope:"factory",model:dl},h))})]})}})}},"symbol"==typeof(iy="FactoryPage")&&(iy=iy.description?"[".concat(iy.description,"]"):""),Object.defineProperty(ib,"name",{configurable:!0,value:iv?"".concat(iv," ",iy):iy}),(()=>{var e;let t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=t$[Symbol.metadata])&&void 0!==e?e:null):void 0;d$(null,tN={value:tP},tC,{kind:"class",name:tP.name,metadata:t},null,tI),tP=tN.value,t&&Object.defineProperty(tP,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),dL(tP,tI)})(),tP);var dB=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},dD=function(e,t,n){for(var r=arguments.length>2,i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let dU=(tM=[ax({tagName:"donation-page"}),ag],tB=[],tD=dw,iw=tR=class extends tD{constructor(){super(...arguments),Object.defineProperty(this,"scope",{enumerable:!0,configurable:!0,writable:!0,value:"donation"}),Object.defineProperty(this,"model",{enumerable:!0,configurable:!0,writable:!0,value:da}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"❤️爱心捐赠"}),Object.defineProperty(this,"renderAccount",{enumerable:!0,configurable:!0,writable:!0,value:({name:e,number:t,bank:n})=>(0,sP.jsx)("li",{children:(0,sP.jsxs)("dl",{className:"mb-2",children:[(0,sP.jsx)("dt",{children:"户名"}),(0,sP.jsx)("dd",{children:(0,sP.jsx)("code",{className:"ms-1",onClick:()=>this.clip2board(e),children:e})}),(0,sP.jsx)("dt",{children:"账号"}),(0,sP.jsx)("dd",{children:(0,sP.jsx)("code",{className:"ms-1",onClick:()=>this.clip2board(t),children:t})}),(0,sP.jsx)("dt",{children:"开户行"}),(0,sP.jsx)("dd",{children:(0,sP.jsx)("code",{className:"ms-1",onClick:()=>this.clip2board(n),children:n})})]})})}),Object.defineProperty(this,"renderItem",{enumerable:!0,configurable:!0,writable:!0,value:e=>{var{url:t,name:n,accounts:r,remark:i,contacts:s}=e,a=dF(e,["url","name","accounts","remark","contacts"]);return(0,sP.jsxs)(of,{className:"mx-auto mb-4 mx-sm-1",style:{minWidth:"20rem",maxWidth:"20rem"},children:[(0,sP.jsxs)(op,{children:[(0,sP.jsx)(og,{children:t?(0,sP.jsx)("a",{target:"_blank",href:t,children:n}):n}),(0,sP.jsx)("ol",{className:"list-unstyled",children:r.map(this.renderAccount)}),i&&(0,sP.jsx)("p",{className:"text-muted",children:i}),(0,sP.jsx)("div",{className:"text-center",children:s[0]&&(0,sP.jsx)(o9,{className:"d-inline-block ms-3",variant:"primary",caption:"联系方式",children:s.map(({name:e,phone:t})=>(0,sP.jsxs)(o4,{href:"tel:"+t,children:[e,":",t]},e))})})]}),(0,sP.jsx)(om,{children:(0,sP.jsx)(dp,Object.assign({scope:"donation",model:da},a))})]})}})}},"symbol"==typeof(ix="DonationPage")&&(ix=ix.description?"[".concat(ix.description,"]"):""),Object.defineProperty(iw,"name",{configurable:!0,value:ik?"".concat(ik," ",ix):ix}),(()=>{var e;let t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=tD[Symbol.metadata])&&void 0!==e?e:null):void 0;dB(null,tL={value:tR},tM,{kind:"class",name:tR.name,metadata:t},null,tB),tR=tL.value,t&&Object.defineProperty(tR,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),dD(tR,tB)})(),tR);const dz=e=>new Date(new Date().toJSON().split("T")[0]+"T"+e),dq=(e,t)=>{let n=Date.now(),r=+dz(e),i=+dz(t);return n>r&&n=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},dW=function(e,t,n){for(var r=arguments.length>2,i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let dK=(tz=[ax({tagName:"clinic-list"}),ag],tq=[],tV=dw,iO=tU=class extends tV{constructor(){super(...arguments),Object.defineProperty(this,"scope",{enumerable:!0,configurable:!0,writable:!0,value:"clinic"}),Object.defineProperty(this,"model",{enumerable:!0,configurable:!0,writable:!0,value:ds}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"义诊服务"}),Object.defineProperty(this,"renderItem",{enumerable:!0,configurable:!0,writable:!0,value:e=>{var{url:t,name:n,startTime:r,endTime:i,contacts:s,remark:a}=e,o=dH(e,["url","name","startTime","endTime","contacts","remark"]);return(0,sP.jsxs)(of,{className:"mx-auto mb-4 mx-sm-1",style:{minWidth:"20rem",maxWidth:"20rem"},body:!0,children:[(0,sP.jsx)(og,{children:t?(0,sP.jsx)("a",{target:"_blank",href:t,children:n}):n}),dq(r,i)&&(0,sP.jsx)(oD,{className:"small",bg:"info",children:"正在接诊"}),(0,sP.jsxs)("p",{children:["每日接诊起止时间:",r," ~ ",i]}),s[0]&&(0,sP.jsx)("ol",{className:"list-unstyled",children:s.map(({name:e,phone:t})=>(0,sP.jsx)("li",{children:(0,sP.jsxs)("a",{href:"tel:"+t,children:[(0,sP.jsx)(oC,{name:"phone"})," ",e,":",t]})},e))}),a&&(0,sP.jsx)("p",{className:"text-muted",children:a}),(0,sP.jsx)(dp,Object.assign({scope:"clinic",model:ds},o))]})}})}},"symbol"==typeof(i_="ClinicList")&&(i_=i_.description?"[".concat(i_.description,"]"):""),Object.defineProperty(iO,"name",{configurable:!0,value:ij?"".concat(ij," ",i_):i_}),(()=>{var e;let t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=tV[Symbol.metadata])&&void 0!==e?e:null):void 0;dV(null,tF={value:tU},tz,{kind:"class",name:tU.name,metadata:t},null,tq),tU=tF.value,t&&Object.defineProperty(tU,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),dW(tU,tq)})(),tU);var sD=sT("feBSP"),dG={};!function(e){function t(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}function n(t){e.defaults=t}e.defaults=t();let r=/[&<>"']/,i=RegExp(r.source,"g"),s=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,a=RegExp(s.source,"g"),o={"&":"&","<":"<",">":">",'"':""","'":"'"},l=e=>o[e];function c(e,t){if(t){if(r.test(e))return e.replace(i,l)}else if(s.test(e))return e.replace(a,l);return e}let u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,h=/(^|[^\[])\^/g;function f(e,t){let n="string"==typeof e?e:e.source;t=t||"";let r={replace:(e,t)=>{let i="string"==typeof t?t:t.source;return i=i.replace(h,"$1"),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}function d(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return null}return e}let p={exec:()=>null};function m(e,t){let n=e.replace(/\|/g,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"}).split(/ \|/),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),t){if(n.length>t)n.splice(t);else for(;n.length0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:g(e,"\n")}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],n=function(e,t){let n=e.match(/^(\s+)(?:```)/);if(null===n)return t;let r=n[1];return t.split("\n").map(e=>{let t=e.match(/^\s+/);if(null===t)return e;let[n]=t;return n.length>=r.length?e.slice(r.length):e}).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){let t=g(e,"#");this.options.pedantic?e=t.trim():(!t||/ $/.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=g(t[0].replace(/^ *>[ \t]?/gm,""),"\n"),n=this.lexer.state.top;this.lexer.state.top=!0;let r=this.lexer.blockTokens(e);return this.lexer.state.top=n,{type:"blockquote",raw:t[0],tokens:r,text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),r=n.length>1,i={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:"[*+-]");let s=RegExp(`^( {0,3}${n})((?:[ ][^\\n]*)?(?:\\n|$))`),a="",o="",l=!1;for(;e;){let n,r=!1;if(!(t=s.exec(e))||this.rules.block.hr.test(e))break;a=t[0],e=e.substring(a.length);let c=t[2].split("\n",1)[0].replace(/^\t+/,e=>" ".repeat(3*e.length)),u=e.split("\n",1)[0],h=0;this.options.pedantic?(h=2,o=c.trimStart()):(h=(h=t[2].search(/[^ ]/))>4?1:h,o=c.slice(h),h+=t[1].length);let f=!1;if(!c&&/^ *$/.test(u)&&(a+=u+"\n",e=e.substring(u.length+1),r=!0),!r){let t=RegExp(`^ {0,${Math.min(3,h-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),n=RegExp(`^ {0,${Math.min(3,h-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),r=RegExp(`^ {0,${Math.min(3,h-1)}}(?:\`\`\`|~~~)`),i=RegExp(`^ {0,${Math.min(3,h-1)}}#`);for(;e;){let s=e.split("\n",1)[0];if(u=s,this.options.pedantic&&(u=u.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),r.test(u)||i.test(u)||t.test(u)||n.test(e))break;if(u.search(/[^ ]/)>=h||!u.trim())o+="\n"+u.slice(h);else{if(f||c.search(/[^ ]/)>=4||r.test(c)||i.test(c)||n.test(c))break;o+="\n"+u}f||u.trim()||(f=!0),a+=s+"\n",e=e.substring(s.length+1),c=u.slice(h)}}!i.loose&&(l?i.loose=!0:/\n *\n *$/.test(a)&&(l=!0));let d=null;this.options.gfm&&(d=/^\[[ xX]\] /.exec(o))&&(n="[ ] "!==d[0],o=o.replace(/^\[[ xX]\] +/,"")),i.items.push({type:"list_item",raw:a,task:!!d,checked:n,loose:!1,text:o,tokens:[]}),i.raw+=a}i.items[i.items.length-1].raw=a.trimEnd(),i.items[i.items.length-1].text=o.trimEnd(),i.raw=i.raw.trimEnd();for(let e=0;e"space"===e.type),n=t.length>0&&t.some(e=>/\n.*\n/.test(e.raw));i.loose=n}if(i.loose)for(let e=0;e$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:r}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!/[:|]/.test(t[2]))return;let n=m(t[1]),r=t[2].replace(/^\||\| *$/g,"").split("|"),i=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[],s={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(let e of r)/^ *-+: *$/.test(e)?s.align.push("right"):/^ *:-+: *$/.test(e)?s.align.push("center"):/^ *:-+ *$/.test(e)?s.align.push("left"):s.align.push(null);for(let e of n)s.header.push({text:e,tokens:this.lexer.inline(e)});for(let e of i)s.rows.push(m(e,s.header.length).map(e=>({text:e,tokens:this.lexer.inline(e)})));return s}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:c(t[1])}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&/^$/.test(e))return;let t=g(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e,t){if(-1===e.indexOf(t[1]))return -1;let n=0;for(let r=0;r-1){let n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){let e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^$/.test(e)?n.slice(1):n.slice(1,-1)),b(t,{href:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n,title:r?r.replace(this.rules.inline.anyPunctuation,"$1"):r},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=t[(n[2]||n[1]).replace(/\s+/g," ").toLowerCase()];if(!e){let e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return b(n,e,n[0],this.lexer)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||r[3]&&n.match(/[\p{L}\p{N}]/u))&&(!(r[1]||r[2])||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,i,s,a=n,o=0,l="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+n);null!=(r=l.exec(t));){if(!(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6]))continue;if(s=[...i].length,r[3]||r[4]){a+=s;continue}if((r[5]||r[6])&&n%3&&!((n+s)%3)){o+=s;continue}if((a-=s)>0)continue;s=Math.min(s,s+a+o);let t=[...r[0]][0].length,l=e.slice(0,n+r.index+t+s);if(Math.min(n,s)%2){let e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}let c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," "),n=/[^ ]/.test(e),r=/^ /.test(e)&&/ $/.test(e);return n&&r&&(e=e.substring(1,e.length-1)),e=c(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,n;return n="@"===t[2]?"mailto:"+(e=c(t[1])):e=c(t[1]),{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if("@"===t[2])n="mailto:"+(e=c(t[0]));else{let r;do r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(r!==t[0])e=c(t[0]),n="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e;return e=this.lexer.state.inRawBlock?t[0]:c(t[0]),{type:"text",raw:t[0],text:e}}}}let v=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,w=/(?:[*+-]|\d{1,9}[.)])/,x=f(/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,w).getRegex(),k=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,O=/(?!\s*\])(?:\\.|[^\[\]\\])+/,_=f(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",O).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),j=f(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,w).getRegex(),E="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",S=/|$)/,A=f("^ {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|$))","i").replace("comment",S).replace("tag",E).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),T=f(k).replace("hr",v).replace("heading"," {0,3}#{1,6}(?:\\s|$)").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",E).getRegex(),N={blockquote:f(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",T).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:_,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:v,html:A,lheading:x,list:j,newline:/^(?: *(?:\n|$))+/,paragraph:T,table:p,text:/^[^\n]+/},P=f("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",v).replace("heading"," {0,3}#{1,6}(?:\\s|$)").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",E).getRegex(),C={...N,table:P,paragraph:f(k).replace("hr",v).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",P).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",E).getRegex()},I={...N,html:f("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",S).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:p,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:f(k).replace("hr",v).replace("heading"," *#{1,6} *[^\n]").replace("lheading",x).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},$=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,L=/^( {2,}|\\)\n(?!\s*$)/,R="\\p{P}$+<=>`^|~",M=f(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,R).getRegex(),B=f(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,R).getRegex(),D=f("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,R).getRegex(),F=f("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,R).getRegex(),U=f(/\\([punct])/,"gu").replace(/punct/g,R).getRegex(),z=f(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("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])?)+(?![-_])/).getRegex(),q=f(S).replace("(?:-->|$)","-->").getRegex(),V=f("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",q).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),W=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,H=f(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",W).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),K=f(/^!?\[(label)\]\[(ref)\]/).replace("label",W).replace("ref",O).getRegex(),G=f(/^!?\[(ref)\](?:\[\])?/).replace("ref",O).getRegex(),J=f("reflink|nolink(?!\\()","g").replace("reflink",K).replace("nolink",G).getRegex(),Z={_backpedal:p,anyPunctuation:U,autolink:z,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:L,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:p,emStrongLDelim:B,emStrongRDelimAst:D,emStrongRDelimUnd:F,escape:$,link:H,nolink:G,punctuation:M,reflink:K,reflinkSearch:J,tag:V,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\t+" ".repeat(n.length));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))){if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length),1===n.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length),(r=t[t.length-1])&&("paragraph"===r.type||"text"===r.type)?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n);continue}if((n=this.tokenizer.fences(e))||(n=this.tokenizer.heading(e))||(n=this.tokenizer.hr(e))||(n=this.tokenizer.blockquote(e))||(n=this.tokenizer.list(e))||(n=this.tokenizer.html(e))){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.def(e)){e=e.substring(n.raw.length),(r=t[t.length-1])&&("paragraph"===r.type||"text"===r.type)?(r.raw+="\n"+n.raw,r.text+="\n"+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title});continue}if((n=this.tokenizer.table(e))||(n=this.tokenizer.lheading(e))){e=e.substring(n.raw.length),t.push(n);continue}if(i=e,this.options.extensions&&this.options.extensions.startBlock){let t,n=1/0,r=e.slice(1);this.options.extensions.startBlock.forEach(e=>{"number"==typeof(t=e.call({lexer:this},r))&&t>=0&&(n=Math.min(n,t))}),n<1/0&&n>=0&&(i=e.substring(0,n+1))}if(this.state.top&&(n=this.tokenizer.paragraph(i))){r=t[t.length-1],s&&"paragraph"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n),s=i.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length),(r=t[t.length-1])&&"text"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,r,i,s,a,o;let l=e;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(s=this.tokenizer.rules.inline.reflinkSearch.exec(l));)e.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(s=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(s=this.tokenizer.rules.inline.anyPunctuation.exec(l));)l=l.slice(0,s.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(a||(o=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))){if(n=this.tokenizer.escape(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.tag(e)){e=e.substring(n.raw.length),(r=t[t.length-1])&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);continue}if(n=this.tokenizer.link(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length),(r=t[t.length-1])&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);continue}if((n=this.tokenizer.emStrong(e,l,o))||(n=this.tokenizer.codespan(e))||(n=this.tokenizer.br(e))||(n=this.tokenizer.del(e))||(n=this.tokenizer.autolink(e))||!this.state.inLink&&(n=this.tokenizer.url(e))){e=e.substring(n.raw.length),t.push(n);continue}if(i=e,this.options.extensions&&this.options.extensions.startInline){let t,n=1/0,r=e.slice(1);this.options.extensions.startInline.forEach(e=>{"number"==typeof(t=e.call({lexer:this},r))&&t>=0&&(n=Math.min(n,t))}),n<1/0&&n>=0&&(i=e.substring(0,n+1))}if(n=this.tokenizer.inlineText(i)){e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(o=n.raw.slice(-1)),a=!0,(r=t[t.length-1])&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return t}}class er{options;constructor(t){this.options=t||e.defaults}code(e,t,n){let r=(t||"").match(/^\S*/)?.[0];return(e=e.replace(/\n$/,"")+"\n",r)?'
'+(n?e:c(e,!0))+"
\n":"
"+(n?e:c(e,!0))+"
\n"}blockquote(e){return`
+${e}
+`}html(e,t){return e}heading(e,t,n){return`${e} +`}hr(){return"
\n"}list(e,t,n){let r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"}listitem(e,t,n){return`
  • ${e}
  • +`}checkbox(e){return"'}paragraph(e){return`

    ${e}

    +`}table(e,t){return t&&(t=`${t}`),"\n\n"+e+"\n"+t+"
    \n"}tablerow(e){return` +${e} +`}tablecell(e,t){let n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+` +`}strong(e){return`${e}`}em(e){return`${e}`}codespan(e){return`${e}`}br(){return"
    "}del(e){return`${e}`}link(e,t,n){let r=d(e);if(null===r)return n;let i='
    "}image(e,t,n){let r=d(e);if(null===r)return n;e=r;let i=`${n}"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""));continue;case"code":n+=this.renderer.code(i.text,i.lang,!!i.escaped);continue;case"table":{let e="",t="";for(let e=0;e0&&"paragraph"===t.tokens[0].type?(t.tokens[0].text=e+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&"text"===t.tokens[0].tokens[0].type&&(t.tokens[0].tokens[0].text=e+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",text:e+" "}):o+=e+" "}o+=this.parse(t.tokens,r),s+=this.renderer.listitem(o,a,!!n)}n+=this.renderer.list(s,e,t);continue}case"html":n+=this.renderer.html(i.text,i.block);continue;case"paragraph":n+=this.renderer.paragraph(this.parseInline(i.tokens));continue;case"text":{let s=i,a=s.tokens?this.parseInline(s.tokens):s.text;for(;r+1{n=n.concat(this.walkTokens(e[r],t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error("extension name required");if("renderer"in e){let n=t.renderers[e.name];n?t.renderers[e.name]=function(...t){let r=e.renderer.apply(this,t);return!1===r&&(r=n.apply(this,t)),r}:t.renderers[e.name]=e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw Error("extension level must be 'block' or 'inline'");let n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){let t=this.defaults.renderer||new er(this.defaults);for(let n in e.renderer){if(!(n in t))throw Error(`renderer '${n}' does not exist`);if("options"===n)continue;let r=e.renderer[n],i=t[n];t[n]=(...e)=>{let n=r.apply(t,e);return!1===n&&(n=i.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new y(this.defaults);for(let n in e.tokenizer){if(!(n in t))throw Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;let r=e.tokenizer[n],i=t[n];t[n]=(...e)=>{let n=r.apply(t,e);return!1===n&&(n=i.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new ea;for(let n in e.hooks){if(!(n in t))throw Error(`hook '${n}' does not exist`);if("options"===n)continue;let r=e.hooks[n],i=t[n];ea.passThroughHooks.has(n)?t[n]=e=>{if(this.defaults.async)return Promise.resolve(r.call(t,e)).then(e=>i.call(t,e));let n=r.call(t,e);return i.call(t,n)}:t[n]=(...e)=>{let n=r.apply(t,e);return!1===n&&(n=i.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(r.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return en.lex(e,t??this.defaults)}parser(e,t){return es.parse(e,t??this.defaults)}#N(e,t){return(n,r)=>{let i={...r},s={...this.defaults,...i};!0===this.defaults.async&&!1===i.async&&(s.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),s.async=!0);let a=this.#P(!!s.silent,!!s.async);if(null==n)return a(Error("marked(): input parameter is undefined or null"));if("string"!=typeof n)return a(Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(s.hooks&&(s.hooks.options=s),s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(n):n).then(t=>e(t,s)).then(e=>s.hooks?s.hooks.processAllTokens(e):e).then(e=>s.walkTokens?Promise.all(this.walkTokens(e,s.walkTokens)).then(()=>e):e).then(e=>t(e,s)).then(e=>s.hooks?s.hooks.postprocess(e):e).catch(a);try{s.hooks&&(n=s.hooks.preprocess(n));let r=e(n,s);s.hooks&&(r=s.hooks.processAllTokens(r)),s.walkTokens&&this.walkTokens(r,s.walkTokens);let i=t(r,s);return s.hooks&&(i=s.hooks.postprocess(i)),i}catch(e){return a(e)}}}#P(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){let e="

    An error occurred:

    "+c(n.message+"",!0)+"
    ";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}}let el=new eo;function ec(e,t){return el.parse(e,t)}ec.options=ec.setOptions=function(e){return el.setOptions(e),ec.defaults=el.defaults,n(ec.defaults),ec},ec.getDefaults=t,ec.defaults=e.defaults,ec.use=function(...e){return el.use(...e),ec.defaults=el.defaults,n(ec.defaults),ec},ec.walkTokens=function(e,t){return el.walkTokens(e,t)},ec.parseInline=el.parseInline,ec.Parser=es,ec.parser=es.parse,ec.Renderer=er,ec.TextRenderer=ei,ec.Lexer=en,ec.lexer=en.lex,ec.Tokenizer=y,ec.Hooks=ea,ec.parse=ec;let eu=ec.options,eh=ec.setOptions,ef=ec.use,ed=ec.walkTokens,ep=ec.parseInline,em=es.parse,eg=en.lex;e.Hooks=ea,e.Lexer=en,e.Marked=eo,e.Parser=es,e.Renderer=er,e.TextRenderer=ei,e.Tokenizer=y,e.getDefaults=t,e.lexer=eg,e.marked=ec,e.options=eu,e.parse=ec,e.parseInline=ep,e.parser=em,e.setOptions=eh,e.use=ef,e.walkTokens=ed}(dG);var dJ={},dZ=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof s?new s(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));k+=x.value.length,x=x.next){var O,_=x.value;if(n.length>t.length)return;if(!(_ instanceof s)){var j=1;if(b){if(!(O=a(w,k,t,g))||O.index>=t.length)break;var E=O.index,S=O.index+O[0].length,A=k;for(A+=x.value.length;E>=A;)A+=(x=x.next).value.length;if(A-=x.value.length,k=A,x.value instanceof s)continue;for(var T=x;T!==n.tail&&(Au.reach&&(u.reach=I);var $=x.prev;if(P&&($=l(n,$,P),k+=P.length),function(e,t,n){for(var r=t.next,i=0;i1){var L={cause:h+","+d,reach:I};e(t,n,r,x.prev,k,L),u&&L.reach>u.reach&&(u.reach=L.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r,s=0;r=n[s++];)r(t)}},Token:s};function s(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var s=i[1].length;i.index+=s,i[0]=i[0].slice(s)}return i}function o(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}if(e.Prism=i,s.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var s={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(s.classes,a):s.classes.push(a)),i.hooks.run("wrap",s);var o="";for(var l in s.attributes)o+=" "+l+'="'+(s.attributes[l]||"").replace(/"/g,""")+'"';return"<"+s.tag+' class="'+s.classes.join(" ")+'"'+o+">"+s.content+""},!e.document)return e.addEventListener&&(i.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,s=n.code,a=n.immediateClose;e.postMessage(i.highlight(s,i.languages[r],r)),a&&e.close()},!1)),i;var c=i.util.currentScript();function u(){i.manual||i.highlightAll()}if(c&&(i.filename=c.src,c.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var h=document.readyState;"loading"===h||"interactive"===h&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});function dY(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}function dQ(e){return e&&e.__esModule?e.default:e}dJ&&(dJ=dZ),void 0!==sj&&(sj.Prism=dZ),dZ.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"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},dZ.languages.markup.tag.inside["attr-value"].inside.entity=dZ.languages.markup.entity,dZ.languages.markup.doctype.inside["internal-subset"].inside=dZ.languages.markup,dZ.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(dZ.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:dZ.languages[t]},n.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:dZ.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},dZ.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(dZ.languages.markup.tag,"addAttribute",{value:function(e,t){dZ.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\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:[t,"language-"+t],inside:dZ.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),dZ.languages.html=dZ.languages.markup,dZ.languages.mathml=dZ.languages.markup,dZ.languages.svg=dZ.languages.markup,dZ.languages.xml=dZ.languages.extend("markup",{}),dZ.languages.ssml=dZ.languages.xml,dZ.languages.atom=dZ.languages.xml,dZ.languages.rss=dZ.languages.xml,iE=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,dZ.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+iE.source+")*?"+/(?:;|(?=\s*\{))/.source),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\\((?:"+iE.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+iE.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+iE.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:iE,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:/[(){};:,]/},dZ.languages.css.atrule.inside.rest=dZ.languages.css,(iS=dZ.languages.markup)&&(iS.tag.addInlined("style","css"),iS.tag.addAttribute("style","css")),dZ.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:/[{}[\];(),.:]/},dZ.languages.javascript=dZ.languages.extend("clike",{"class-name":[dZ.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|")+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),dZ.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,dZ.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:dZ.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:dZ.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:dZ.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:dZ.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:dZ.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),dZ.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:dZ.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"}}),dZ.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),dZ.languages.markup&&(dZ.languages.markup.tag.addInlined("script","javascript"),dZ.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")),dZ.languages.js=dZ.languages.javascript,function(){if(void 0!==dZ&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t="data-src-status",n="loading",r="loaded",i="pre[data-src]:not(["+t+'="'+r+'"]):not(['+t+'="'+n+'"])';dZ.hooks.add("before-highlightall",function(e){e.selector+=", "+i}),dZ.hooks.add("before-sanity-check",function(s){var a=s.element;if(a.matches(i)){s.code="",a.setAttribute(t,n);var o,l,c,u=a.appendChild(document.createElement("CODE"));u.textContent="Loading…";var h=a.getAttribute("data-src"),f=s.language;if("none"===f){var d=(/\.(\w+)$/.exec(h)||[,"none"])[1];f=e[d]||d}dZ.util.setLanguage(u,f),dZ.util.setLanguage(a,f);var p=dZ.plugins.autoloader;p&&p.loadLanguages(f),o=function(e){a.setAttribute(t,r);var n=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var n=Number(t[1]),r=t[2],i=t[3];return r?i?[n,Number(i)]:[n,void 0]:[n,n]}}(a.getAttribute("data-range"));if(n){var i=e.split(/\r\n?|\n/g),s=n[0],o=null==n[1]?i.length:n[1];s<0&&(s+=i.length),s=Math.max(0,Math.min(s-1,i.length)),o<0&&(o+=i.length),o=Math.max(0,Math.min(o,i.length)),e=i.slice(s,o).join("\n"),a.hasAttribute("data-start")||a.setAttribute("data-start",String(s+1))}u.textContent=e,dZ.highlightElement(u)},l=function(e){a.setAttribute(t,"failed"),u.textContent=e},(c=new XMLHttpRequest).open("GET",h,!0),c.onreadystatechange=function(){4==c.readyState&&(c.status<400&&c.responseText?o(c.responseText):c.status>=400?l("✖ Error "+c.status+" while fetching file: "+c.statusText):l("✖ Error: File does not exist or is empty"))},c.send(null)}}),dZ.plugins.fileHighlight={highlight:function(e){for(var t,n=(e||document).querySelectorAll(i),r=0;t=n[r++];)dZ.highlightElement(t)}};var s=!1;dZ.fileHighlight=function(){s||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),s=!0),dZ.plugins.fileHighlight.highlight.apply(this,arguments)}}}(),dY({},"CommandLine",()=>d3);var dX=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},d0=function(e,t,n){for(var r=arguments.length>2,i=0;i{let e=this.querySelector("kbd");self.getSelection().getRangeAt(0).selectNode(e),document.execCommand("copy")}})}get active(){return d1(this,iA,"f")}set active(e){d2(this,iA,e,"f")}get shownIndex(){return d1(this,iT,"f")}set shownIndex(e){d2(this,iT,e,"f")}get text(){return d1(this,iN,"f")}set text(e){d2(this,iN,e,"f")}connectedCallback(){this.classList.add("d-block","rounded","p-3","bg-dark","text-white"),this.tabIndex=-1,this.addEventListener("click",this.autoCopy),this.addEventListener("focus",()=>this.active=!0),this.addEventListener("blur",()=>this.active=!1),this.boot()}boot(){this.timer=self.setInterval(()=>{var e,t,n,r;return e=this,t=void 0,n=void 0,r=function*(){let{text:e}=this;if(!e)return;let{shownIndex:t}=this;this.shownIndex++,t>=e.length&&self.clearInterval(this.timer)},new(n||(n=Promise))(function(i,s){function a(e){try{l(r.next(e))}catch(e){s(e)}}function o(e){try{l(r.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,o)}l((r=r.apply(e,t||[])).next())})},100)}disconnectedCallback(){self.clearInterval(this.timer)}render(){let{text:e}=this,{shownIndex:t,active:n}=this;return(0,sP.jsxs)(sP.Fragment,{children:[(0,sP.jsx)("span",{className:"user-select-none",children:"$"}),(0,sP.jsx)("kbd",{className:"bg-dark",children:e.slice(0,t)}),(0,sP.jsx)("small",{className:"badge bg-success",style:{opacity:n?"1":"0",transition:"0.25s"},children:"Copied !"})]})}},iA=new WeakMap,iT=new WeakMap,iN=new WeakMap,iP=tH,"symbol"==typeof(iC="CommandLine")&&(iC=iC.description?"[".concat(iC.description,"]"):""),Object.defineProperty(iP,"name",{configurable:!0,value:iI?"".concat(iI," ",iC):iC}),(()=>{var e;let t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=tQ[Symbol.metadata])&&void 0!==e?e:null):void 0;tK=[ab,sD.observable],tG=[ab,sD.observable],tJ=[ab,sD.observable],dX(tH,null,tK,{kind:"accessor",name:"active",static:!1,private:!1,access:{has:e=>"active"in e,get:e=>e.active,set:(e,t)=>{e.active=t}},metadata:t},t0,tX),dX(tH,null,tG,{kind:"accessor",name:"shownIndex",static:!1,private:!1,access:{has:e=>"shownIndex"in e,get:e=>e.shownIndex,set:(e,t)=>{e.shownIndex=t}},metadata:t},t1,tX),dX(tH,null,tJ,{kind:"accessor",name:"text",static:!1,private:!1,access:{has:e=>"text"in e,get:e=>e.text,set:(e,t)=>{e.text=t}},metadata:t},t2,tX),dX(null,tW={value:tH},tZ,{kind:"class",name:tH.name,metadata:t},null,tY),tH=tW.value,t&&Object.defineProperty(tH,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),d0(tH,tY)})(),tH);dY({},"GithubRepository",()=>po);var d6=function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(e){try{l(r.next(e))}catch(e){s(e)}}function o(e){try{l(r.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,o)}l((r=r.apply(e,t||[])).next())})};const d8=new lK({baseURI:"https://api.github.com/",responseType:"json"});function d5(e,t){return d6(this,void 0,void 0,function*(){let{body:n}=yield d8.get(`${sw[e]}/${t}`);return n})}function d4(e,t){return d6(this,void 0,void 0,function*(){let{body:n}=yield d8.get(`repos/${e}/${t}`);return n})}function d9(e,t,n={}){return d6(this,void 0,void 0,function*(){let{body:r}=yield d8.get(`${sw[e]}/${t}/repos?${new URLSearchParams(n)}`);return r})}(i$=sw||(sw={})).user="users",i$.organization="orgs",(iL=sx||(sx={})).issue="issues",iL.pullRequest="pulls",(iR=sk||(sk={})).open="success",iR.closed="danger",iR.merged="primary";var d7={},pe={};pe=new URL("repository.23f54580.7bf0dc01.png",import.meta.url).toString(),d7=new URL(pe).toString();var pt={},pn={};pn=new URL("watch-fork.85c057cc.43f496f1.png",import.meta.url).toString(),pt=new URL(pn).toString();var pr=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},pi=function(e,t,n){for(var r=arguments.length>2,i=0;i{var e;let t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=ne[Symbol.metadata])&&void 0!==e?e:null):void 0;t8=[ab,sD.observable],t5=[ab,sD.observable],t4=[sD.observable],pr(t6,null,t8,{kind:"accessor",name:"owner",static:!1,private:!1,access:{has:e=>"owner"in e,get:e=>e.owner,set:(e,t)=>{e.owner=t}},metadata:t},nn,nt),pr(t6,null,t5,{kind:"accessor",name:"repository",static:!1,private:!1,access:{has:e=>"repository"in e,get:e=>e.repository,set:(e,t)=>{e.repository=t}},metadata:t},nr,nt),pr(t6,null,t4,{kind:"accessor",name:"currentRepository",static:!1,private:!1,access:{has:e=>"currentRepository"in e,get:e=>e.currentRepository,set:(e,t)=>{e.currentRepository=t}},metadata:t},ni,nt),pr(null,t3={value:t6},t9,{kind:"class",name:t6.name,metadata:t},null,t7),t6=t3.value,t&&Object.defineProperty(t6,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),pi(t6,t7)})(),t6);dY({},"GithubIssue",()=>pp),dY({},"parseMarkDown",()=>pc);const pl=new dG.marked.Renderer;pl.code=(e,t)=>{t=(null==t?void 0:t.toLowerCase())||"none";let n=`class="language-${t}"`,r=dJ.languages[t];return`
    ${r?(0,dJ.highlight)(e,r,t):e}
    `};const pc=e=>(0,dG.marked)(e,{renderer:pl});sO="CPtZdW_big",s_="CPtZdW_logo";var pu=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},ph=function(e,t,n){for(var r=arguments.length>2,i=0;ithis.renderComment(e))]})]})]})}},iq=new WeakMap,iV=new WeakMap,iW=new WeakMap,iH=new WeakMap,iK=new WeakMap,iG=na,"symbol"==typeof(iJ="GithubIssue")&&(iJ=iJ.description?"[".concat(iJ.description,"]"):""),Object.defineProperty(iG,"name",{configurable:!0,value:iZ?"".concat(iZ," ",iJ):iJ}),(()=>{var e;let t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=np[Symbol.metadata])&&void 0!==e?e:null):void 0;no=[ab,sD.observable],nl=[ab,sD.observable],nc=[ab,sD.observable],nu=[ab,sD.observable],nh=[sD.observable],pu(na,null,no,{kind:"accessor",name:"owner",static:!1,private:!1,access:{has:e=>"owner"in e,get:e=>e.owner,set:(e,t)=>{e.owner=t}},metadata:t},ng,nm),pu(na,null,nl,{kind:"accessor",name:"repository",static:!1,private:!1,access:{has:e=>"repository"in e,get:e=>e.repository,set:(e,t)=>{e.repository=t}},metadata:t},nb,nm),pu(na,null,nc,{kind:"accessor",name:"issue",static:!1,private:!1,access:{has:e=>"issue"in e,get:e=>e.issue,set:(e,t)=>{e.issue=t}},metadata:t},ny,nm),pu(na,null,nu,{kind:"accessor",name:"pull",static:!1,private:!1,access:{has:e=>"pull"in e,get:e=>e.pull,set:(e,t)=>{e.pull=t}},metadata:t},nv,nm),pu(na,null,nh,{kind:"accessor",name:"currentIssue",static:!1,private:!1,access:{has:e=>"currentIssue"in e,get:e=>e.currentIssue,set:(e,t)=>{e.currentIssue=t}},metadata:t},nw,nm),pu(null,ns={value:na},nf,{kind:"class",name:na.name,metadata:t},null,nd),na=ns.value,t&&Object.defineProperty(na,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),ph(na,nd)})(),na);dY({},"GithubProfile",()=>pv);var pm=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},pg=function(e,t,n){for(var r=arguments.length>2,i=0;i(0,sP.jsxs)("a",{className:"BPWP7q_profile-repos",target:"_blank",href:e,title:t,children:[(0,sP.jsxs)("span",{className:"d-flex justify-content-between",children:[(0,sP.jsx)("span",{className:"BPWP7q_repos-name",children:n}),(0,sP.jsx)("span",{className:"BPWP7q_repos-star",children:i})]}),(0,sP.jsxs)("time",{className:"BPWP7q_repos-updated",dateTime:r,children:["Updated:",new Date(r).toLocaleString()]})]},e)})}get user(){return pb(this,iY,"f")}set user(e){py(this,iY,e,"f")}get organization(){return pb(this,iQ,"f")}set organization(e){py(this,iQ,e,"f")}get currentOwner(){return pb(this,iX,"f")}set currentOwner(e){py(this,iX,e,"f")}connectedCallback(){var e,t,n,r;return e=this,t=void 0,n=void 0,r=function*(){let{user:e,organization:t}=this,n=yield e?d5("user",e):d5("organization",t),r="updated",i=yield e?d9("user",e,{sort:r}):d9("organization",t,{sort:r}),s=(i=i.filter(({fork:e})=>!e)).filter(({stargazers_count:e})=>e).sort((e,t)=>t.stargazers_count-e.stargazers_count).slice(0,5),a=[...new Set(i.map(({language:e})=>e))].filter(Boolean);this.currentOwner=Object.assign(Object.assign({},n),{languages:a,repositories:s})},new(n||(n=Promise))(function(i,s){function a(e){try{l(r.next(e))}catch(e){s(e)}}function o(e){try{l(r.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,o)}l((r=r.apply(e,t||[])).next())})}render(){let{avatar_url:e,html_url:t,name:n,login:r,followers:i,languages:s,repositories:a}=this.currentOwner;return(0,sP.jsxs)("div",{className:"BPWP7q_gh-profile-card",children:[(0,sP.jsxs)("header",{children:[(0,sP.jsxs)("header",{className:"d-flex justify-content-between",children:[(0,sP.jsx)("img",{className:"BPWP7q_profile-avatar",src:e}),(0,sP.jsxs)("div",{children:[(0,sP.jsx)("a",{className:"BPWP7q_profile-name",target:"_blank",href:t,children:n}),(0,sP.jsxs)("div",{className:"d-flex justify-content-between mt-1",children:[(0,sP.jsxs)("a",{className:"BPWP7q_profile-follow",target:"_blank",href:t,children:["Follow @",r]}),(0,sP.jsx)("span",{className:"BPWP7q_profile-followers",children:i})]})]})]}),(0,sP.jsx)("ul",{className:"BPWP7q_profile-languages",children:s.map(e=>(0,sP.jsx)("li",{children:e},e))})]}),(0,sP.jsxs)("section",{children:[(0,sP.jsx)("header",{className:"BPWP7q_repos-header",children:"Most popular original repositories"}),a.map(this.renderRepository)]})]})}},iY=new WeakMap,iQ=new WeakMap,iX=new WeakMap,i0=nk,"symbol"==typeof(i1="GithubProfile")&&(i1=i1.description?"[".concat(i1.description,"]"):""),Object.defineProperty(i0,"name",{configurable:!0,value:i2?"".concat(i2," ",i1):i1}),(()=>{var e;let t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=nA[Symbol.metadata])&&void 0!==e?e:null):void 0;nO=[ab,sD.observable],n_=[ab,sD.observable],nj=[sD.observable],pm(nk,null,nO,{kind:"accessor",name:"user",static:!1,private:!1,access:{has:e=>"user"in e,get:e=>e.user,set:(e,t)=>{e.user=t}},metadata:t},nN,nT),pm(nk,null,n_,{kind:"accessor",name:"organization",static:!1,private:!1,access:{has:e=>"organization"in e,get:e=>e.organization,set:(e,t)=>{e.organization=t}},metadata:t},nP,nT),pm(nk,null,nj,{kind:"accessor",name:"currentOwner",static:!1,private:!1,access:{has:e=>"currentOwner"in e,get:e=>e.currentOwner,set:(e,t)=>{e.currentOwner=t}},metadata:t},nC,nT),pm(null,nx={value:nk},nE,{kind:"class",name:nk.name,metadata:t},null,nS),nk=nx.value,t&&Object.defineProperty(nk,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),pg(nk,nS)})(),nk);dY({},"GithubEvents",()=>p_);var pw=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},px=function(e,t,n){for(var r=arguments.length>2,i=0;inew IntersectionObserver((e,t)=>{this.end?t.disconnect():this.loading||this.loadPage()}).observe(e)}),Object.defineProperty(this,"renderPayload",{enumerable:!0,configurable:!0,writable:!0,value:({ref:e,master_branch:t,issue:n,pull_request:r,release:i,member:s,pages:a})=>{var o,l;return(0,sP.jsxs)(sP.Fragment,{children:[(0,sP.jsx)("a",{target:"_blank",href:null===(o=n||r||i||s)||void 0===o?void 0:o.html_url,children:e||t||(null===(l=n||r)||void 0===l?void 0:l.title)||(null==i?void 0:i.name)||(null==s?void 0:s.login)}),(0,sP.jsx)("ol",{children:null==a?void 0:a.map(({action:e,html_url:t,summary:n,sha:r,title:i})=>(0,sP.jsxs)("li",{children:[e,(0,sP.jsx)("a",{target:"_blank",href:t,title:n||r,children:i})]}))})]})}}),Object.defineProperty(this,"renderEvent",{enumerable:!0,configurable:!0,writable:!0,value:({actor:e,repo:t,created_at:n,payload:r,type:i})=>(0,sP.jsxs)("li",{className:"d-flex align-items-center my-3",children:[(0,sP.jsxs)("a",{className:"text-center w-25",target:"_blank",href:`https://github.com/${e.login}`,title:e.login,children:[(0,sP.jsx)("img",{className:`${s_} ${sO}`,src:e.avatar_url}),(0,sP.jsx)("div",{children:e.display_login})]}),(0,sP.jsxs)("div",{children:[(0,sP.jsx)("h4",{children:(0,sP.jsx)("a",{target:"_blank",href:`https://github.com/${t.name}`,children:t.name})}),(0,sP.jsx)("time",{className:"pe-1",dateTime:n,children:new Date(n).toLocaleString()}),(0,sP.jsx)("strong",{className:"pe-1",children:r.action||i.replace("Event","")}),this.renderPayload(r)]})]},n)})}get user(){return pk(this,i3,"f")}set user(e){pO(this,i3,e,"f")}get organization(){return pk(this,i6,"f")}set organization(e){pO(this,i6,e,"f")}get repository(){return pk(this,i8,"f")}set repository(e){pO(this,i8,e,"f")}get end(){return pk(this,i5,"f")}set end(e){pO(this,i5,e,"f")}get list(){return pk(this,i4,"f")}set list(e){pO(this,i4,e,"f")}loadPage(){var e,t,n,r;return e=this,t=void 0,n=void 0,r=function*(){this.loading=!0;let{headers:e,body:t}=yield this.nextPage?d8.get(this.nextPage):function({user:e,organization:t,repository:n}){let r=n?`repos/${e||t}/${n}`:e?`${sw.user}/${e}`:`${sw.organization}/${t}`;return d8.get(`${r}/events`)}(this),{next:n}=e.Link;n?this.nextPage=n.URI:this.end=!0,this.list=[...this.list,...t],this.loading=!1},new(n||(n=Promise))(function(i,s){function a(e){try{l(r.next(e))}catch(e){s(e)}}function o(e){try{l(r.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,o)}l((r=r.apply(e,t||[])).next())})}render(){let{list:e}=this;return(0,sP.jsxs)("div",{children:[(0,sP.jsx)("ul",{className:"list-unstyled",children:e.map(this.renderEvent)}),(0,sP.jsx)("p",{className:"text-center",ref:this.loadMore,children:this.end?"No more":"Loading"})]})}},i3=new WeakMap,i6=new WeakMap,i8=new WeakMap,i5=new WeakMap,i4=new WeakMap,i9=n$,"symbol"==typeof(i7="GithubEvents")&&(i7=i7.description?"[".concat(i7.description,"]"):""),Object.defineProperty(i9,"name",{configurable:!0,value:se?"".concat(se," ",i7):i7}),(()=>{var e;let t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=nz[Symbol.metadata])&&void 0!==e?e:null):void 0;nL=[ab,sD.observable],nR=[ab,sD.observable],nM=[ab,sD.observable],nB=[sD.observable],nD=[sD.observable],pw(n$,null,nL,{kind:"accessor",name:"user",static:!1,private:!1,access:{has:e=>"user"in e,get:e=>e.user,set:(e,t)=>{e.user=t}},metadata:t},nV,nq),pw(n$,null,nR,{kind:"accessor",name:"organization",static:!1,private:!1,access:{has:e=>"organization"in e,get:e=>e.organization,set:(e,t)=>{e.organization=t}},metadata:t},nW,nq),pw(n$,null,nM,{kind:"accessor",name:"repository",static:!1,private:!1,access:{has:e=>"repository"in e,get:e=>e.repository,set:(e,t)=>{e.repository=t}},metadata:t},nH,nq),pw(n$,null,nB,{kind:"accessor",name:"end",static:!1,private:!1,access:{has:e=>"end"in e,get:e=>e.end,set:(e,t)=>{e.end=t}},metadata:t},nK,nq),pw(n$,null,nD,{kind:"accessor",name:"list",static:!1,private:!1,access:{has:e=>"list"in e,get:e=>e.list,set:(e,t)=>{e.list=t}},metadata:t},nG,nq),pw(null,nI={value:n$},nF,{kind:"class",name:n$.name,metadata:t},null,nU),n$=nI.value,t&&Object.defineProperty(n$,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),px(n$,nU)})(),n$);var sD=sT("feBSP"),pj=function(e,t,n,r,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,h=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var g=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[c],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(h.get=o),(o=a(g.set))&&(h.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):h[c]=o)}u&&Object.defineProperty(u,r.name,h),f=!0},pE=function(e,t,n){for(var r=arguments.length>2,i=0;i(0,sP.jsx)("li",{className:"list-inline-item m-3",children:(0,sP.jsxs)("a",{className:"d-flex flex-column align-items-center",target:"_blank",href:e,children:[(0,sP.jsx)(ou,{thumbnail:!0,style:{width:"100px",height:"100px"},src:t}),n]})}))})]})}},st=new WeakMap,sn=new WeakMap,sr=nZ,"symbol"==typeof(si="CommunityPage")&&(si=si.description?"[".concat(si.description,"]"):""),Object.defineProperty(sr,"name",{configurable:!0,value:ss?"".concat(ss," ",si):si}),(()=>{var e;let t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=n1[Symbol.metadata])&&void 0!==e?e:null):void 0;nY=[ab,sD.observable],nQ=[sD.observable],pj(nZ,null,nY,{kind:"accessor",name:"loading",static:!1,private:!1,access:{has:e=>"loading"in e,get:e=>e.loading,set:(e,t)=>{e.loading=t}},metadata:t},n3,n2),pj(nZ,null,nQ,{kind:"accessor",name:"list",static:!1,private:!1,access:{has:e=>"list"in e,get:e=>e.list,set:(e,t)=>{e.list=t}},metadata:t},n6,n2),pj(null,nJ={value:nZ},nX,{kind:"class",name:nZ.name,metadata:t},null,n0),nZ=nJ.value,t&&Object.defineProperty(nZ,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),pE(nZ,n0)})(),nZ);var pN=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const pP=[{title:"管理",href:"admin",roles:["Admin"]},{title:"登出",onClick:()=>dt.signOut()}],{location:pC}=globalThis,{Route:pI}=a5(),p$=()=>(0,sP.jsxs)("div",{className:"d-flex flex-column",style:{height:"200vh"},children:[(0,sP.jsxs)(lk,{variant:"light",expand:"md",sticky:"top",brand:(0,sP.jsx)("img",{alt:"新冠战疫信息平台",src:sE(dh),style:{height:"2rem"}}),children:[du.map(({href:e,title:t})=>(0,sP.jsx)(lr,{className:"m-3 my-md-0 mx-md-3",href:e.startsWith("http")?e:`#${e}`,active:pC.hash.slice(1)===e||!!e&&pC.hash.slice(1).startsWith(e),children:t})),dt.user&&(0,sP.jsx)(o9,{variant:"primary",caption:dt.user.username,children:pP.map(e=>{var{roles:t,title:n}=e,r=pN(e,["roles","title"]);return!t||(null==t?void 0:t.find(e=>dt.hasRole(e)))&&(0,sP.jsx)(o4,Object.assign({},r,{children:n}))})})]}),(0,sP.jsxs)(ot,{className:"flex-fill overflow-auto scrollbar-none",children:[(0,sP.jsx)(pI,{path:"",component:df}),(0,sP.jsx)(pI,{path:sy.Hospital,component:d_}),(0,sP.jsx)(pI,{path:sy.Logistics,component:dT}),(0,sP.jsx)(pI,{path:sy.Hotel,component:dI}),(0,sP.jsx)(pI,{path:sy.Factory,component:dM}),(0,sP.jsx)(pI,{path:sy.Donation,component:dU}),(0,sP.jsx)(pI,{path:sy.Clinic,component:dK}),(0,sP.jsx)(pI,{path:sy.Community,component:pT}),(0,sP.jsx)(pI,{path:"disclaimer",component:e=>{var{className:t=""}=e,n=pN(e,["className"]);return(0,sP.jsx)("article",Object.assign({className:`py-5 ${t}`},n,{innerHTML:'

    免责声明

    \n
      \n
    1. 信息公开:本网站信息均来源于公开渠道,目的是为公众提供更为充分的信息参考,在本网站所公开的信息,均有可能被任何本网站的访问者浏览,也可能被任何搜索引擎收录,还可能被错误使用,本网站对此将不予承担任何责任。

      \n
    2. \n
    3. 内容审核与监控:本网站有权对用户发布的内容进行审核与实时监控,有权根据相关证据结合《互联网信息服务管理办法》、《侵权责任法》、《信息网络传播权保护条例》等法律法规及社区指导原则对虚假或侵权信息进行处理,对于删除相关内容所引起的任何后果或导致用户的任何损失不负任何责任。

      \n
    4. \n
    5. 内容准确性:任何在本网站发布的信息,均必须符合合法、准确、及时、完整的原则。但本网站将不能保证所有由第三方提供的信息,或本网站自行采集的信息完全准确。对这些信息的了解或使用,需要经过进一步核实。本网站对访问者未经自行核实误用本网站信息造成的任何损失不予承担任何责任。

      \n
    6. \n
    7. 公众监督:任何单位和个人如发现本网站信息存在虚假或侵权等违法违规内容,请尽快联系我们,我们将第一时间结合相关证据及法律法规进行处理。

      \n
    8. \n
    \n'}))}})]}),(0,sP.jsxs)("footer",{className:"d-md-flex justify-content-around text-center bg-light py-5",children:[(0,sP.jsxs)("p",{children:["Proudly developed with",(0,sP.jsx)("a",{className:"mx-1",target:"_blank",href:"https://web-cell.dev/",children:"WebCell v3"}),"&",(0,sP.jsx)("a",{className:"mx-1",target:"_blank",href:"https://web-cell.dev/BootCell/",children:"BootCell v2"})]}),(0,sP.jsx)("a",{href:"#disclaimer",children:"免责声明"})]})]});"undefined"==typeof PromiseRejectionEvent&&(Promise=sM),(0,sD.configure)({enforceActions:"never"}),self.addEventListener("unhandledrejection",e=>{if(!(e.reason instanceof URIError))return;let{message:t}=e.reason.body;t&&(e.preventDefault(),self.alert(t))});const{serviceWorker:pL}=window.navigator;null==pL||pL.register("sw.js").then(sI.serviceWorkerUpdate).then(e=>{window.confirm("检测到新版本,是否立即启用?")&&e.postMessage({type:"SKIP_WAITING"})}),null==pL||pL.addEventListener("controllerchange",()=>window.location.reload()),(0,sI.documentReady).then(()=>new(0,sB.DOMRenderer)().render((0,sP.jsx)(p$,{}))); \ No newline at end of file diff --git a/index.59392d6e.js b/index.59392d6e.js new file mode 100644 index 0000000..d6b56da --- /dev/null +++ b/index.59392d6e.js @@ -0,0 +1,5 @@ +!function(){function e(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var t,n,r,i,a,o,s,c,u,l,f,h,d,p,v,m,y,g,b,_,w,k,x,O,j,S,E,A,T,P,N,C,I,L,R,M,B,D,F,U,z,H,W,q,$,V,G,K,J,Z,Y,X,Q,ee,et,en,er,ei,ea,eo,es,ec,eu,el,ef,eh,ed,ep,ev,em,ey,eg,eb,e_,ew,ek,ex,eO,ej,eS,eE,eA,eT,eP,eN,eC,eI,eL,eR,eM,eB,eD,eF,eU,ez,eH,eW,eq,e$,eV,eG,eK,eJ,eZ,eY,eX,eQ,e0,e1,e2,e3,e4,e5,e6,e8,e7,e9,te,tt,tn,tr,ti,ta,to,ts,tc,tu,tl,tf,th,td,tp,tv,tm,ty,tg,tb,t_,tw,tk,tx,tO,tj,tS,tE,tA,tT,tP,tN,tC,tI,tL,tR,tM,tB,tD,tF,tU,tz,tH,tW,tq,t$,tV,tG,tK,tJ,tZ,tY,tX,tQ,t0,t1,t2,t3,t4,t5,t6,t8,t7,t9,ne,nt,nn,nr,ni,na,no,ns,nc,nu,nl,nf,nh,nd,np,nv,nm,ny,ng,nb,n_,nw,nk,nx,nO,nj,nS,nE,nA,nT,nP,nN,nC,nI,nL,nR,nM,nB,nD,nF,nU,nz,nH,nW,nq,n$,nV,nG,nK,nJ,nZ,nY,nX,nQ,n0,n1,n2,n3,n4,n5,n6,n8,n7,n9,re,rt,rn,rr,ri,ra,ro,rs,rc,ru,rl,rf,rh,rd,rp,rv,rm,ry,rg,rb,r_,rw,rk,rx,rO,rj,rS,rE,rA,rT,rP,rN,rC,rI,rL,rR,rM,rB,rD,rF,rU,rz,rH,rW,rq,r$,rV,rG,rK,rJ,rZ,rY,rX,rQ,r0,r1,r2,r3,r4,r5,r6,r8,r7,r9,ie,it,ir,ii,ia,io,is,ic,iu,il,ih,id,ip,iv,im,iy,ig,ib,i_,iw,ik,ix,iO,ij,iS,iE,iA,iT,iP,iN,iC,iI,iL,iR,iM,iB,iD,iF,iU,iz,iH,iW,iq,i$,iV,iG,iK,iJ,iZ,iY,iX,iQ,i0,i1,i2,i3,i4,i5,i6,i8,i7,i9,ae,at,an,ar,ai,aa,ao,as,ac,au,al,af,ah,ad,ap,av,am,ay,ag,ab,a_,aw,ak,ax,aO,aj,aS,aE,aA,aT,aP,aN,aC,aI,aL,aR,aM,aB,aD,aF,aU,az,aH,aW,aq,a$,aV,aG,aK,aJ,aZ,aY,aX,aQ,a0,a1,a2,a3,a4,a5,a6,a8,a7,a9,oe,ot,on,or,oi,oa,oo,os,oc,ou,ol,of,oh,od,op,ov,om,oy,og,ob,o_,ow,ok,ox,oO,oj,oS,oE,oA,oT,oP="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};function oN(e){return e&&e.__esModule?e.default:e}var oC={},oI={},oL=oP.parcelRequire951b;null==oL&&((oL=function(e){if(e in oC)return oC[e].exports;if(e in oI){var t=oI[e];delete oI[e];var n={id:e,exports:{}};return oC[e]=n,t.call(n.exports,n,n.exports),n.exports}var r=Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}).register=function(e,t){oI[e]=t},oP.parcelRequire951b=oL);var oR=oL.register;oR("430J5",function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.VNode=void 0;var n=function(){var e;function t(e){Object.assign(this,e);var t=e.tagName,n=e.is,r=e.props;(t||(null==r?void 0:r.className)||n)&&(this.selector=[null==t?void 0:t.toLowerCase(),(null==r?void 0:r.className)&&".".concat(r.className.trim().replace(/\s+/,".")),n&&'[is="'.concat(n,'"]')].filter(Boolean).join(""))}return t.fromDOM=function(t){var n=this;if(t instanceof Text)return new e({node:t,text:t.nodeValue});if(!(t instanceof Element))return new e({node:t});var r=t.tagName,i=t.attributes,a=t.style,o=t.childNodes,s={node:t,tagName:r.toLowerCase(),is:t.getAttribute("is")},c=Array.from(i,function(e){var t=e.name,r=e.value;return"style"!==t&&[n.attrsMap[t]||t,r]}).filter(Boolean);c[0]&&(s.props=Object.fromEntries(c));var u=Array.from(a,function(e){return[e,a[e]]});u[0]&&(s.style=Object.fromEntries(u));var l=Array.from(o,function(t){return e.fromDOM(t)});return l[0]&&(s.children=l),new e(s)},e=t,t.propsMap={className:"class",htmlFor:"for"},t.attrsMap=Object.fromEntries(Object.entries(e.propsMap).map(function(e){return e.reverse()})),t}();e.exports.VNode=n}),oR("bvTcR",function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.DOMRenderer=void 0;var n=oL("7usEZ"),r=oL("h9DRc"),i=oL("430J5"),a=function(){function e(){var e=this;this.eventPattern=/^on[A-Z]/,this.ariaPattern=/^aira[A-Z]/,this.treeCache=new WeakMap,this.keyOf=function(e,t){var n=e.key,r=e.text,i=e.props,a=e.selector;return(null==n?void 0:n.toString())||(null==i?void 0:i.id)||(r||a||"")+t},this.vNodeOf=function(t,n){return t.find(function(t,r){return"".concat(e.keyOf(t,r))===String(n)})},this.propsKeyOf=function(t){return t.startsWith("aria-")?(0,r.toCamelCase)(t):e.eventPattern.test(t)?t.toLowerCase():t}}return e.prototype.updateProps=function(e,t,i,a,o){void 0===t&&(t={}),void 0===i&&(i={});for(var s=(0,r.diffKeys)(Object.keys(t),Object.keys(i)).group,c=0,u=s[r.DiffStatus.Old]||[];ct.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function a(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(e,t,n){if(n||2==arguments.length)for(var r,i=0,a=t.length;i0}function x(e){return e.replace(/[^\u0021-\u007e\uff61-\uffef]/g,"xx").length}function O(e){return e.replace(/[A-Z]+|[^A-Za-z][A-Za-z]/g,function(e,t){return"".concat(t?"-":"").concat((e[1]||e[0]).toLowerCase())})}function j(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.replace(/^[A-Za-z]|[^A-Za-z][A-Za-z]/g,function(e,n){return n||t?(e[1]||e[0]).toUpperCase():e.toLowerCase()})}function S(){return(Date.now()+parseInt((Math.random()+"").slice(2))).toString(36)}function E(e,t){return Object.fromEntries(e.map(function(e,n){return[t[n],e]}))}function A(e,t){var n={},r=!0,a=!1,o=void 0;try{for(var s,c=e[Symbol.iterator]();!(r=(s=c.next()).done);r=!0)n[s.value]=i.Old}catch(e){a=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw o}}var u=!0,l=!1,f=void 0;try{for(var d,p=t[Symbol.iterator]();!(u=(d=p.next()).done);u=!0){var v=d.value;n[v]||(n[v]=0),n[v]+=i.New}}catch(e){l=!0,f=e}finally{try{u||null==p.return||p.return()}finally{if(l)throw f}}return{map:n,group:I(Object.entries(n),function(e){var t=(0,h._)(e,2);return t[0],t[1]})}}function T(e){if(g(e))return!1;var t=e.length;return"number"==typeof t&&t>=0&&~~t===t}(r=i||(i={}))[r.Old=-1]="Old",r[r.Same=0]="Same",r[r.New=1]="New";var P=function(e){return e instanceof Object.getPrototypeOf(Int8Array)};function N(e){return e instanceof Array?e:g(e)?[]:T(e)?Array.from(e):[e]}var C=function(e,t){return e.reduce(function(e,n,r){var i;return(e[i=~~(r/t)]||(e[i]=[]))[r%t]=n,e},[])};function I(e,t){var n={},r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done);r=!0){var c=o.value,u=t instanceof Function?t(c):c[t];u instanceof Array||(u=[u]);var l=!0,f=!1,h=void 0;try{for(var d,p=new Set(u.filter(function(e){return null!=e}))[Symbol.iterator]();!(l=(d=p.next()).done);l=!0){var v=d.value;(n[v]=n[v]||[]).push(c)}}catch(e){f=!0,h=e}finally{try{l||null==p.return||p.return()}finally{if(f)throw h}}}}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}function L(e,t){return Object.fromEntries(Object.entries(I(e,t)).map(function(e){var t=(0,h._)(e,2);return[t[0],t[1].length]}))}function R(e,t){var n;return function(){for(var r=arguments.length,i=Array(r),a=0;a ").concat(e))},function(e){return console.error("[Cache] failed: ".concat((null==e?void 0:e.message)||e))})),n}}function M(){return B.apply(this,arguments)}function B(){return(B=(0,p._)(function(){var e,t,n,r,i,a=arguments;return(0,v.__generator)(this,function(s){switch(s.label){case 0:for(e=function(){var e,t,n,r,a,s;return(0,v.__generator)(this,function(c){switch(c.label){case 0:e=[],t=0,n=void 0,c.label=1;case 1:if(!(n=i[t]))return[3,6];return[4,(0,o._)(n.next())];case 2:if(a=(r=c.sent()).done,s=r.value,a)return[3,4];return[4,s];case 3:return c.sent(),[3,5];case 4:e.push(t),c.label=5;case 5:return t++,[3,1];case 6:return i=i.filter(function(t,n){return!e.includes(n)}),[2]}})},n=Array(t=a.length),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=U.apply(void 0,(0,d._)(e));return F.apply(void 0,(0,d._)(e.map(function(e){return Math.pow(e-n,2)})))/(e.length-(t?1:0))}function H(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Math.sqrt(z(e,t))}function W(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:2,n=e.toFixed(t+2),r=n.indexOf(".");if(r<0)return t?"".concat(n,".").concat("0".repeat(t)):n;var i=r+t+1,a=+n[i-1],o=+n[i],s=+n[i+1];if(o>5||5===o&&(s||a%2))return q(e,t);var c=n.slice(0,i-(t?0:1));return c.includes(".")?c.padEnd(i,"0"):c}m(D,"sum",function(){return F}),m(D,"averageOf",function(){return U}),m(D,"varianceOf",function(){return z}),m(D,"standardDeviationOf",function(){return H}),m(D,"hypotenuseOf",function(){return W}),m(D,"carryFloat",function(){return q}),m(D,"fixFloat",function(){return $});var V={};m(V,"Second",function(){return G}),m(V,"Minute",function(){return K}),m(V,"Quarter",function(){return J}),m(V,"Hour",function(){return Z}),m(V,"Day",function(){return Y}),m(V,"Week",function(){return X}),m(V,"Year",function(){return Q}),m(V,"Month",function(){return ee}),m(V,"Season",function(){return et}),m(V,"diffTime",function(){return er}),m(V,"formatDate",function(){return ea}),m(V,"changeMonth",function(){return eo});var G=1e3,K=6e4,J=9e5,Z=36e5,Y=864e5,X=6048e5,Q=31536e6,ee=2628e6,et=7884e6,en=new Map([["s",G],["m",K],["H",Z],["D",Y],["W",X],["M",ee],["Y",Q]]);function er(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:en,r=+new Date(e)-+new Date(t),i=!0,a=!1,o=void 0;try{for(var s,c=(0,d._)(n).reverse()[Symbol.iterator]();!(i=(s=c.next()).done);i=!0){var u=(0,h._)(s.value,2),l=u[0],f=u[1],p=r/f;if(Math.abs(p)>=1)return{distance:+p.toFixed(0),unit:l}}}catch(e){a=!0,o=e}finally{try{i||null==c.return||c.return()}finally{if(a)throw o}}return{distance:r,unit:"ms"}}function ei(e){return e=+e+"",function(t){return(e.length0&&void 0!==arguments[0]?arguments[0]:new Date,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DD HH:mm:ss";e=new Date(+(e=e instanceof Date?e:new Date(e))-e.getTimezoneOffset()*K);var n=(0,h._)(e.toJSON().split(/\D/),7),r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],c=n[5],u=n[6];return t.replace(/ms/g,u).replace(/Y+/g,ei(r)).replace(/M+/g,ei(i)).replace(/D+/g,ei(a)).replace(/H+/g,ei(o)).replace(/m+/g,ei(s)).replace(/s+/g,ei(c))}function eo(e,t){var n=(e=new Date(e)).getMonth()+t;return e.setFullYear(e.getFullYear()+Math.floor(n/12)),t=n%12,e.setMonth(t<0?12+t:t),e}var es={};function ec(e){function t(e){if("string"==typeof e&&/^\d+(-\d{1,2}){1,2}/.test(e)){var t=new Date(e);if(!Number.isNaN(+t))return t}return e}var n=t(e);if("string"!=typeof n||k(n))return n;try{return JSON.parse(e,function(e,n){return t(n)})}catch(t){return e}}function eu(e){var t=ec(e);if("string"!=typeof t)return t;var n=+t;return Number.isNaN(n)||n+""!==t?t:n}function el(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:",",r=e.trim().split(/[\r\n]+/).map(function(e){var t=[];do{var r=void 0;if('"'===e[0]||"'"===e[0])r=function(e){var t=e[0],n=e.indexOf(t,1);if(n<0)throw SyntaxError("A ".concat(t," is missing"));return e.slice(1,n)}(e),e=e.slice(r.length+3);else{var i=e.indexOf(n);i>-1?(r=e.slice(0,i),e=e.slice(i+1)):(r=e,e="")}t.push(eu(r.trim()))}while(e)return t});return t?r.slice(1).map(function(e){return e.reduce(function(e,t,n){return e[r[0][n]]=t,e},{})}):r}m(es,"parseJSON",function(){return ec}),m(es,"toJSValue",function(){return eu}),m(es,"parseTextTable",function(){return el});var ef={};function eh(e){return new URL(e,document.baseURI).origin!==location.origin}function ed(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.search,t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=e.split(/\?|#/),r=new URLSearchParams(n[1]||n[0]);return Object.fromEntries((0,d._)(r.keys()).map(function(e){var n=t?r.getAll(e).map(ec):r.getAll(e);return[e,n.length<2?n[0]:n]}))}function ep(e){e instanceof Array||(e=Object.entries(e));var t=e.map(function(e){var t=(0,h._)(e,2),n=t[0],r=t[1];return!b(r)&&[n,"string"==typeof r?r:T(r)?N(r)+"":JSON.stringify(r)]}).filter(Boolean);return new URLSearchParams(t)}function ev(e){return em.apply(this,arguments)}function em(){return(em=(0,a._)(function(e){return(0,v.__generator)(this,function(t){switch(t.label){case 0:return[4,fetch(e+"")];case 1:return[2,t.sent().blob()]}})})).apply(this,arguments)}m(ef,"isXDomain",function(){return eh}),m(ef,"parseURLData",function(){return ed}),m(ef,"buildURLData",function(){return ep}),m(ef,"blobOf",function(){return ev}),m(ef,"blobFrom",function(){return eg});var ey=/^data:(.+?\/(.+?))?(;base64)?,([\s\S]+)/;function eg(e){var t=(0,h._)(ey.exec(e)||[],5),n=(t[0],t[1]),r=(t[2],t[3]),i=t[4];i=r?atob(i):i;for(var a=new ArrayBuffer(i.length),o=new Uint8Array(a),s=0;i[s];s++)o[s]=i.charCodeAt(s);return new Blob([a],{type:n})}var eb={};m(eb,"makeCRC32",function(){return ew}),m(eb,"makeSHA",function(){return ej});var e_=Array.from(Array(256),function(e,t){for(var n=0;n<8;n++)t=1&t?t>>1&2147483647^3988292384:t>>1&2147483647;return t});function ew(e){var t=4294967295,n=!0,r=!1,i=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;t=t>>8&16777215^e_[255&t^s.charCodeAt(0)]}}catch(e){r=!0,i=e}finally{try{n||null==o.return||o.return()}finally{if(r)throw i}}return"0x"+((4294967295^t)>>>0).toString(16)}if("object"==typeof self){if("msCrypto"in globalThis){var ek=(globalThis.crypto=globalThis.msCrypto).subtle;for(var ex in ek)!function(e){var t=ek[e];t instanceof Function&&(ek[e]=function(){var e=t.apply(this,arguments);return new Promise(function(t,n){e.oncomplete=function(e){return t(e.target.result)},e.onabort=e.onerror=n})})}(ex)}var eO=globalThis.crypto;!(null==eO?void 0:eO.subtle)&&(null==eO?void 0:eO.webkitSubtle)&&(eO.subtle=eO.webkitSubtle)}function ej(e){return eS.apply(this,arguments)}function eS(){return(eS=(0,a._)(function(e){var t,n,r=arguments;return(0,v.__generator)(this,function(i){switch(i.label){case 0:return t=r.length>1&&void 0!==r[1]?r[1]:"SHA-1",[4,crypto.subtle.digest(t,new TextEncoder().encode(e))];case 1:return n=i.sent(),[2,Array.from(new Uint8Array(n),function(e){return e.toString(16).padStart(2,"0")}).join("")]}})})).apply(this,arguments)}var eE={};m(eE,"templateOf",function(){return eT}),m(eE,"elementTypeOf",function(){return eP}),m(eE,"isHTMLElementClass",function(){return eN}),m(eE,"tagNameOf",function(){return eI}),m(eE,"isDOMReadOnly",function(){return eL}),m(eE,"parseDOM",function(){return eR}),m(eE,"stringifyDOM",function(){return eM}),m(eE,"walkDOM",function(){return eB}),m(eE,"getVisibleText",function(){return eD}),m(eE,"splitPages",function(){return eF}),m(eE,"importCSS",function(){return eU}),m(eE,"stringifyCSS",function(){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:" ",i=r.repeat(n);return Object.entries(t).map(function(t){var a=(0,h._)(t,2),o=a[0],s=a[1];return"object"!=typeof s?"".concat(i).concat(O(o),": ").concat(s,";"):"".concat(i).concat(o," {\n").concat(e(s,n+1,r),"\n").concat(i,"}")}).join("\n")}}),m(eE,"insertToCursor",function(){return ez}),m(eE,"scrollTo",function(){return eH}),m(eE,"watchScroll",function(){return eW}),m(eE,"watchVisible",function(){return eq}),m(eE,"formToJSON",function(){return e$});var eA={};function eT(e){if(eA[e])return eA[e];var t=document.createElement("template");return t.innerHTML="<".concat(e," />"),eA[e]=t.content.firstElementChild}function eP(e){var t=eT(e);return t instanceof HTMLElement&&!(t instanceof HTMLUnknownElement)?"html":"xml"}function eN(e){return w(e,HTMLElement)}var eC=new WeakMap;function eI(e){var t=eC.get(e);if(t)return t;var n=new e().tagName;return eC.set(e,n=n.toLowerCase()),n}function eL(e,t){var n=[[HTMLLinkElement,["sizes"]],[HTMLIFrameElement,["sandbox"]],[HTMLObjectElement,["form"]],[HTMLInputElement,["form","list"]],[HTMLButtonElement,["form"]],[HTMLSelectElement,["form"]],[HTMLTextAreaElement,["form"]],[HTMLOutputElement,["form"]],[HTMLFieldSetElement,["form"]]],r=eT(e),i=!0,a=!1,o=void 0;try{for(var s,c=n[Symbol.iterator]();!(i=(s=c.next()).done);i=!0){var u=(0,h._)(s.value,2),l=u[0],f=u[1];if(r instanceof l&&f.includes(t))return!0}}catch(e){a=!0,o=e}finally{try{i||null==c.return||c.return()}finally{if(a)throw o}}return!1}function eR(e){var t=document.createElement("template");return t.innerHTML=e,(0,d._)(t.content.childNodes).map(function(e){return e.remove(),e})}function eM(e){return new XMLSerializer().serializeToString(e).replace(/ xmlns="http:\/\/www.w3.org\/1999\/xhtml"/g,"")}function eB(e,t){var n,r,i,a,o,s,c,u;return(0,v.__generator)(this,function(l){switch(l.label){case 0:if(n=(0,d._)(e.childNodes),!(b(t)||t===e.nodeType))return[3,2];return[4,e];case 1:l.sent(),l.label=2;case 2:r=!0,i=!1,a=void 0,l.label=3;case 3:l.trys.push([3,8,9,10]),o=n[Symbol.iterator](),l.label=4;case 4:if(r=(s=o.next()).done)return[3,7];return c=s.value,[5,(0,v.__values)(eB(c,t))];case 5:l.sent(),l.label=6;case 6:return r=!0,[3,4];case 7:return[3,10];case 8:return u=l.sent(),i=!0,a=u,[3,10];case 9:try{r||null==o.return||o.return()}finally{if(i)throw a}return[7];case 10:return[2]}})}function eD(e){var t="",n=!0,r=!1,i=void 0;try{for(var a,o=eB(e)[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value,c=s.nodeType,u=s.parentElement,l=s.nodeValue;if(c===Node.TEXT_NODE&&"true"!==u.getAttribute("aria-hidden")){var f=u.getBoundingClientRect(),h=f.width,d=f.height;h&&d&&(t+=l.trim().replace(/\s+/g," "))}}}catch(e){r=!0,i=e}finally{try{n||null==o.return||o.return()}finally{if(r)throw i}}return t}function eF(e){var t=e.offsetWidth,n=e.children,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:841.89,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:595.28,a=r/i*t,o=0;return(0,d._)(n).reduce(function(e,t){var n=t.offsetTop,r=t.offsetHeight,i=((n+=o)+r)/a,s=~~i;return~~(n/a)!==s&&(o+=r-i),(e[s]||(e[s]=[])).push(t),e},[])}function eU(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.alternate,r=(0,f._)(t,["alternate"]),i=(0,d._)(document.styleSheets).find(function(t){return t.href===e});if(i)return Promise.resolve(i);var a=document.createElement("link");return new Promise(function(t,i){a.onload=function(){return t(a.sheet)},a.onerror=function(e,t,n,r,a){return i(a)},Object.assign(a,r),a.rel=(n?"alternate ":"")+"stylesheet",a.href=e,document.head.append(a)})}function ez(){for(var e=arguments.length,t=Array(e),n=0;n2&&void 0!==arguments[2]?arguments[2]:6;return Array.from(e.querySelectorAll(Array.from(Array(n),function(e,t){return"h".concat(++t)})+""),function(e){return new IntersectionObserver(function(e){var n=(0,h._)(e,1)[0];if(n.isIntersecting){var r=n.target;t({target:r,links:(0,d._)(r.ownerDocument.querySelectorAll('[href="#'.concat(r.id,'"]')))})}}).observe(e),e.id.trim()||(e.id=e.textContent.trim().replace(/\W+/g,"-")),{level:+e.tagName[1],id:e.id,text:e.textContent.trim()}})}function eq(e,t){var n="visible"===document.visibilityState?1:0;function r(e){(3===e||3===n)&&t(3===e),n=e}new IntersectionObserver(function(e){return r((0,h._)(e,1)[0].isIntersecting?2|n:1&n)}).observe(e),document.addEventListener("visibilitychange",function(){return r("visible"===document.visibilityState?1|n:2&n)})}function e$(e){var t={},n=!0,r=!1,i=void 0;try{for(var a,o=e.elements[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value,c=s.type,u=s.name,l=s.value,f=s.checked,h=s.defaultValue,d=s.selectedOptions,p=s.files;if(u&&""!==l){var v="fieldset"!==c&&s.closest("fieldset");if(!v||v===e){var m=l;switch(c){case"radio":case"checkbox":if(!f)continue;m=!h||eu(h);break;case"select-multiple":m=Array.from(d,function(e){var t=e.value;return eu(t)});break;case"fieldset":m=e$(s);break;case"file":m=p&&Array.from(p);break;case"date":case"datetime-local":case"month":case"hidden":case"number":case"range":case"select-one":m=eu(l)}u in t?t[u]=[].concat(t[u],m):t[u]=m instanceof Array&&b(m[1])?m[0]:m}}}}catch(e){r=!0,i=e}finally{try{n||null==o.return||o.return()}finally{if(r)throw i}}return t}var eV={};function eG(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return new Promise(function(t){return setTimeout(t,1e3*e)})}function eK(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=!1;return(0,a._)(function(){var r;return(0,v.__generator)(this,function(i){switch(i.label){case 0:if(n)return[3,4];if(!((r=e())instanceof Promise))return[3,2];return[4,r];case 1:i.sent(),i.label=2;case 2:return[4,eG(t)];case 3:return i.sent(),[3,0];case 4:return[2]}})})(),function(){return n=!0}}m(eV,"sleep",function(){return eG}),m(eV,"asyncLoop",function(){return eK});var eJ={};function eZ(e,t){return function(n){for(var r,i=n.composedPath();(r=i.shift())&&r!==n.currentTarget;)if(r instanceof HTMLElement&&r.matches(e))return t.call(this,n,r,n.detail)}}m(eJ,"delegate",function(){return eZ}),m(eJ,"documentReady",function(){return eY}),m(eJ,"promisify",function(){return eX}),m(eJ,"createMessageServer",function(){return eQ}),m(eJ,"createMessageClient",function(){return e0}),m(eJ,"serviceWorkerUpdate",function(){return e1});var eY="undefined"!=typeof window?new Promise(function(e){var t;function n(){var t;null===(t=document)||void 0===t||t.removeEventListener("DOMContentLoaded",n),window.removeEventListener("load",n),e()}null===(t=document)||void 0===t||t.addEventListener("DOMContentLoaded",n),window.addEventListener("load",n),setTimeout(function t(){var n;(null===(n=document)||void 0===n?void 0:n.readyState)==="complete"?e():setTimeout(t)})}):Promise.resolve();function eX(e,t){return new Promise(function(n,r){function i(e){n(e),o()}function a(e){r(e),o()}function o(){t.removeEventListener(e+"end",i),t.removeEventListener(e+"cancel",a)}t.addEventListener(e+"end",i),t.addEventListener(e+"cancel",a)})}function eQ(e){function t(e){return n.apply(this,arguments)}function n(){return(n=(0,a._)(function(t){var n,r,i,a,o,s,c,h;return(0,v.__generator)(this,function(d){switch(d.label){case 0:if(r=(n=t.data).type,i=n.id,a=t.source,o=t.origin,s=(0,f._)(t.data,["type","id"]),!((h=null===(c=e[r])||void 0===c?void 0:c.call(e,s))instanceof Promise))return[3,2];return[4,h];case 1:h=d.sent(),d.label=2;case 2:return a.postMessage((0,l._)((0,u._)({},h),{id:i}),o),[2]}})})).apply(this,arguments)}return globalThis.addEventListener("message",t),function(){return globalThis.removeEventListener("message",t)}}function e0(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"*";return function(n,r){return new Promise(function(i){var a=S();globalThis.addEventListener("message",function e(t){var n=t.data.id,r=(0,f._)(t.data,["id"]);n===a&&(i(r),globalThis.removeEventListener("message",e))}),e.postMessage((0,u._)({id:a,type:n},r),t)})}}function e1(e){return new Promise(function(t){if(e.waiting)return t(e.waiting);e.onupdatefound=function(){var n;return null===(n=e.installing)||void 0===n?void 0:n.addEventListener("statechange",function(){"installed"===this.state&&navigator.serviceWorker.controller&&t(this)})}})}var e2={};m(e2,"PageVector",function(){return e3}),m(e2,"getSwipeVector",function(){return e4}),m(e2,"durationOf",function(){return e5}),m(e2,"watchMotion",function(){return e6}),m(e2,"transitIn",function(){return te}),m(e2,"animateIn",function(){return tt}),m(e2,"transitOut",function(){return tn}),m(e2,"animateOut",function(){return tr});var e3=function(){function e(t,n){(0,s._)(this,e),this.from=t,this.to=n}return(0,c._)(e,[{key:"length",get:function(){var e=this.from,t=this.to;return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)+(null!=t.z?Math.pow(t.z-e.z,2):0))}},{key:"direction",get:function(){var e=this.from,t=this.to,n=t.x-e.x,r=t.y-e.y,i=t.z-e.z,a=Math.abs(n),o=Math.abs(r),s=Math.abs(i);switch(isNaN(s)?Math.max(a,o):Math.max(a,o,s)){case a:return n>0?"right":"left";case o:return r>0?"forward":"backward";case s:return i>0?"up":"down"}}}]),e}();function e4(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6*parseInt(getComputedStyle(document.body).fontSize),i=new e3(e,t);if(i.length>=r&&!(null===(n=getSelection())||void 0===n?void 0:n.toString().trim()))return i}function e5(e,t){var n=getComputedStyle(t),r=n.transitionDuration,i=n.animationDuration,a="animation"===e?i:r;return parseFloat(a)*("ms"===a.slice(-2)?1:1e3)}function e6(e,t){return Promise.race([eX(e,t).catch(function(e){return Promise.resolve(e)}),new Promise(function(n){return setTimeout(n,e5(e,t))})])}function e8(e,t,n,r){t.style.display=r;var i=e6(e,t);return new Promise(function(e){return requestAnimationFrame(function(){t.classList.add(n),i.then(e)})})}function e7(e,t,n,r){return e9.apply(this,arguments)}function e9(){return(e9=(0,a._)(function(e,t,n,r){var i;return(0,v.__generator)(this,function(a){switch(a.label){case 0:return i=e6(e,t),t.classList.remove(n),[4,i];case 1:return a.sent(),r?t.remove():t.style.display="none",[2]}})})).apply(this,arguments)}function te(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"block";return e8("transition",e,t,n)}function tt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"block";return e8("animation",e,t,n)}function tn(e,t,n){return e7("transition",e,t,n)}function tr(e,t,n){return e7("animation",e,t,n)}var ti={};function ta(e,t){return to.apply(this,arguments)}function to(){return(to=(0,a._)(function(e,t){return(0,v.__generator)(this,function(n){switch(n.label){case 0:return console.log(e),console.time(e),[4,t()];case 1:return n.sent(),console.timeEnd(e),[2]}})})).apply(this,arguments)}function ts(e,t){return tc.apply(this,arguments)}function tc(){return(tc=(0,a._)(function(e,t){var n,r=arguments;function i(){return(i=(0,a._)(function(){return(0,v.__generator)(this,function(e){switch(e.label){case 0:return[4,eG(n)];case 1:throw e.sent(),RangeError("Timed out")}})})).apply(this,arguments)}return(0,v.__generator)(this,function(a){switch(a.label){case 0:n=r.length>2&&void 0!==r[2]?r[2]:3,console.time(e=" "+e),a.label=1;case 1:return a.trys.push([1,,3,4]),[4,Promise.race([t(function(t){return console.assert(t,e)}),function(){return i.apply(this,arguments)}()])];case 2:return[2,a.sent()];case 3:return console.timeEnd(e),[7];case 4:return[2]}})})).apply(this,arguments)}m(ti,"describe",function(){return ta}),m(ti,"it",function(){return ts})}),oR("cG934",function(t,n){function r(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise(function(i,a){var o=e.apply(t,n);function s(e){r(o,i,a,s,c,"next",e)}function c(e){r(o,i,a,s,c,"throw",e)}s(void 0)})}}e(t.exports,"_",function(){return i})}),oR("iTsaa",function(t,n){e(t.exports,"_",function(){return i});var r=oL("hZgUC");function i(e){return new r._await_value(e)}}),oR("hZgUC",function(t,n){e(t.exports,"_await_value",function(){return r});function r(e){this.wrapped=e}}),oR("cmOe7",function(t,n){e(t.exports,"_",function(){return r});function r(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}}),oR("6CHtA",function(t,n){function r(e,t){for(var n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}}),oR("hVCbf",function(t,n){e(t.exports,"_object_without_properties_loose",function(){return r});function r(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}}),oR("4hdwe",function(t,n){e(t.exports,"_",function(){return s});var r=oL("ai07J"),i=oL("h6v2Y"),a=oL("hGorX"),o=oL("3j2Du");function s(e,t){return(0,r._array_with_holes)(e)||(0,i._iterable_to_array_limit)(e,t)||(0,o._unsupported_iterable_to_array)(e,t)||(0,a._non_iterable_rest)()}}),oR("ai07J",function(t,n){e(t.exports,"_array_with_holes",function(){return r});function r(e){if(Array.isArray(e))return e}}),oR("h6v2Y",function(t,n){e(t.exports,"_iterable_to_array_limit",function(){return r});function r(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var a=[],o=!0,s=!1;try{for(i=i.call(e);!(o=(n=i.next()).done)&&(a.push(n.value),!t||a.length!==t);o=!0);}catch(e){s=!0,r=e}finally{try{o||null==i.return||i.return()}finally{if(s)throw r}}return a}}}),oR("hGorX",function(t,n){e(t.exports,"_non_iterable_rest",function(){return r});function r(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}}),oR("3j2Du",function(t,n){e(t.exports,"_unsupported_iterable_to_array",function(){return i});var r=oL("kqik6");function i(e,t){if(e){if("string"==typeof e)return(0,r._array_like_to_array)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,r._array_like_to_array)(e,t)}}}),oR("kqik6",function(t,n){e(t.exports,"_array_like_to_array",function(){return r});function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1?t-1:0),r=1;re.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var er=Symbol("mobx-stored-annotations");function ei(e){return Object.assign(function(t,n){if(eo(n))return e.decorate_20223_(t,n);ea(t,n,e)},e)}function ea(e,t,n){G(e,er)||F(e,er,Y({},e[er])),"override"===n.annotationType_||(e[er][t]=n)}function eo(e){return"object"==typeof e&&"string"==typeof e.kind}var es=Symbol("mobx administration"),ec=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=d.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.reportObserved=function(){return tv(this)},t.reportChanged=function(){td(),tm(this),tp()},t.toString=function(){return this.name_},e}(),eu=z("Atom",ec);function el(e,t,n){void 0===t&&(t=I),void 0===n&&(n=I);var r=new ec(e);return t!==I&&tB("onBO",r,t,void 0),n!==I&&tM(r,n),r}var ef={structural:function(e,t){return nT(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}};function eh(e,t,n){return tG(e)?e:Array.isArray(e)?e$.array(e,{name:n}):B(e)?e$.object(e,void 0,{name:n}):H(e)?e$.map(e,{name:n}):W(e)?e$.set(e,{name:n}):"function"!=typeof e||tN(e)||tV(e)?e:D(e)?tq(e):tP(n,e)}function ed(e){return e}function ep(e,t){return{annotationType_:e,options_:t,make_:ev,extend_:em,decorate_20223_:ey}}function ev(e,t,n,r){if(null!=(i=this.options_)&&i.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(tN(n.value))return 1;var i,a=eg(e,this,t,n,!1);return j(r,t,a),2}function em(e,t,n,r){var i=eg(e,this,t,n);return e.defineProperty_(t,i,r)}function ey(e,t){var n,r,i,a,o,s,c=t.kind,u=t.name,l=t.addInitializer,f=this;if("field"==c){l(function(){ea(this,u,f)});return}if("method"==c)return tN(e)||(n=e,e=e0(null!=(r=null==(i=f.options_)?void 0:i.name)?r:u.toString(),n,null!=(a=null==(o=f.options_)?void 0:o.autoAction)&&a)),null!=(s=this.options_)&&s.bound&&l(function(){var e=this[u].bind(this);e.isMobxAction=!0,this[u]=e}),e;_("Cannot apply '"+f.annotationType_+"' to '"+String(u)+"' (kind: "+c+"):\n'"+f.annotationType_+"' can only be used on properties with a function value.")}function eg(e,t,n,r,i){void 0===i&&(i=tl.safeDescriptors),t.annotationType_,r.value;var a,o,s,c,u,l,f,h,d=r.value;return null!=(a=t.options_)&&a.bound&&(d=d.bind(null!=(h=e.proxy_)?h:e.target_)),{value:e0(null!=(o=null==(s=t.options_)?void 0:s.name)?o:n.toString(),d,null!=(c=null==(u=t.options_)?void 0:u.autoAction)&&c,null!=(l=t.options_)&&l.bound?null!=(f=e.proxy_)?f:e.target_:void 0),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function eb(e,t){return{annotationType_:e,options_:t,make_:e_,extend_:ew,decorate_20223_:ek}}function e_(e,t,n,r){if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(i=this.options_)&&i.bound&&(!G(e.target_,t)||!tV(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(tV(n.value))return 1;var i,a=ex(e,this,t,n,!1,!1);return j(r,t,a),2}function ew(e,t,n,r){var i,a=ex(e,this,t,n,null==(i=this.options_)?void 0:i.bound);return e.defineProperty_(t,a,r)}function ek(e,t){var n,r=t.name,i=t.addInitializer;return tV(e)||(e=tq(e)),null!=(n=this.options_)&&n.bound&&i(function(){var e=this[r].bind(this);e.isMobXFlow=!0,this[r]=e}),e}function ex(e,t,n,r,i,a){void 0===a&&(a=tl.safeDescriptors),t.annotationType_,r.value;var o,s=r.value;return tV(s)||(s=tq(s)),i&&((s=s.bind(null!=(o=e.proxy_)?o:e.target_)).isMobXFlow=!0),{value:s,configurable:!a||e.isPlainObject_,enumerable:!1,writable:!a}}function eO(e,t){return{annotationType_:e,options_:t,make_:ej,extend_:eS,decorate_20223_:eE}}function ej(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function eS(e,t,n,r){return this.annotationType_,n.get,e.defineComputedProperty_(t,Y({},this.options_,{get:n.get,set:n.set}),r)}function eE(e,t){var n=this,r=t.name;return(0,t.addInitializer)(function(){var t=nd(this)[es],i=Y({},n.options_,{get:e,context:this});i.name||(i.name="ObservableObject."+r.toString()),t.values_.set(r,new e4(i))}),function(){return this[es].getObservablePropValue_(r)}}function eA(e,t){return{annotationType_:e,options_:t,make_:eT,extend_:eP,decorate_20223_:eN}}function eT(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function eP(e,t,n,r){var i,a;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(i=null==(a=this.options_)?void 0:a.enhancer)?i:eh,r)}function eN(e,t){var n=this,r=t.kind,i=t.name,a=new WeakSet;function o(e,t){var r,o,s=nd(e)[es],c=new e3(t,null!=(r=null==(o=n.options_)?void 0:o.enhancer)?r:eh,"ObservableObject."+i.toString(),!1);s.values_.set(i,c),a.add(e)}if("accessor"==r)return{get:function(){return a.has(this)||o(this,e.get.call(this)),this[es].getObservablePropValue_(i)},set:function(e){return a.has(this)||o(this,e),this[es].setObservablePropValue_(i,e)},init:function(e){return a.has(this)||o(this,e),e}}}var eC=eI();function eI(e){return{annotationType_:"true",options_:e,make_:eL,extend_:eR,decorate_20223_:eM}}function eL(e,t,n,r){if(n.get)return eJ.make_(e,t,n,r);if(n.set){var i,a,o,s,c,u=e0(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!tl.safeDescriptors||e.isPlainObject_,set:u})?0:2:(j(r,t,{configurable:!0,set:u}),2)}if(r!==e.target_&&"function"==typeof n.value)return D(n.value)?(null!=(s=this.options_)&&s.autoBind?tq.bound:tq).make_(e,t,n,r):(null!=(o=this.options_)&&o.autoBind?tP.bound:tP).make_(e,t,n,r);var l=(null==(i=this.options_)?void 0:i.deep)===!1?e$.ref:e$;return"function"==typeof n.value&&null!=(a=this.options_)&&a.autoBind&&(n.value=n.value.bind(null!=(c=e.proxy_)?c:e.target_)),l.make_(e,t,n,r)}function eR(e,t,n,r){var i,a,o;return n.get?eJ.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!tl.safeDescriptors||e.isPlainObject_,set:e0(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(o=e.proxy_)?o:e.target_)),((null==(a=this.options_)?void 0:a.deep)===!1?e$.ref:e$).extend_(e,t,n,r))}function eM(e,t){_("'"+this.annotationType_+"' cannot be used as a decorator")}var eB={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(eB);var eD=eA("observable"),eF=eA("observable.ref",{enhancer:ed}),eU=eA("observable.shallow",{enhancer:function(e,t,n){return null==e||nm(e)||nn(e)||no(e)||nu(e)?e:Array.isArray(e)?e$.array(e,{name:n,deep:!1}):B(e)?e$.object(e,void 0,{name:n,deep:!1}):H(e)?e$.map(e,{name:n,deep:!1}):W(e)?e$.set(e,{name:n,deep:!1}):void 0}}),ez=eA("observable.struct",{enhancer:function(e,t){return nT(e,t)?t:e}}),eH=ei(eD);function eW(e){var t,n,r;return!0===e.deep?eh:!1===e.deep?ed:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:eh}function eq(e,t,n){if(eo(t))return eD.decorate_20223_(e,t);if(R(t)){ea(e,t,eD);return}return tG(e)?e:B(e)?e$.object(e,t,n):Array.isArray(e)?e$.array(e,t):H(e)?e$.map(e,t):W(e)?e$.set(e,t):"object"==typeof e&&null!==e?e:e$.box(e,t)}x(eq,eH);var e$=x(eq,{box:function(e,t){var n=t||eB;return new e3(e,eW(n),n.name,!0,n.equals)},array:function(e,t){var n=t||eB;return(!1===tl.useProxies||!1===n.proxy?function(e,t,n){return new nk(e,t,n)}:function(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),N(),nE(function(){var i=new t5(n,t,r,!1);U(i.values_,es,i);var a=new Proxy(i.values_,t4);return i.proxy_=a,e&&e.length&&i.spliceWithArray_(0,0,e),a})})(e,eW(n),n.name)},map:function(e,t){var n=t||eB;return new na(e,eW(n),n.name)},set:function(e,t){var n=t||eB;return new nc(e,eW(n),n.name)},object:function(e,t,n){return nE(function(){var r,i,a,o,s;return o=!1===tl.useProxies||(null==n?void 0:n.proxy)===!1?nd({},n):(r={},N(),null!=(a=(i=(r=nd(r,n))[es]).proxy_)?a:i.proxy_=new Proxy(r,tJ)),s=K(e),nE(function(){var e=nd(o,void 0)[es];$(s).forEach(function(n){e.extend_(n,s[n],!t||!(n in t)||t[n])})}),o})},ref:ei(eF),shallow:ei(eU),deep:eH,struct:ei(ez)}),eV="computed",eG=eO(eV),eK=eO("computed.struct",{equals:ef.structural}),eJ=function(e,t){if(eo(t))return eG.decorate_20223_(e,t);if(R(t))return ea(e,t,eG);if(B(e))return ei(eO(eV,e));var n=B(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new e4(n)};Object.assign(eJ,eG),eJ.struct=ei(eK);var eZ=0,eY=1,eX=null!=(u=null==(l=O(function(){},"name"))?void 0:l.configurable)&&u,eQ={value:"action",configurable:!0,writable:!1,enumerable:!1};function e0(e,t,n,r){function i(){return function(e,t,n,r,i){var a,o,s,c,u=(a=tl.trackingDerivation,o=!t||!a,td(),s=tl.allowStateChanges,o&&(tn(),s=e1(!0)),eZ=(c={runAsAction_:o,prevDerivation_:a,prevAllowStateChanges_:s,prevAllowStateReads_:ti(!0),notifySpy_:!1,startTime_:0,actionId_:eY++,parentActionId_:eZ}).actionId_,c);try{return n.apply(r,i)}catch(e){throw u.error_=e,e}finally{eZ!==u.actionId_&&_(30),eZ=u.parentActionId_,void 0!==u.error_&&(tl.suppressReactionErrors=!0),e2(u.prevAllowStateChanges_),ta(u.prevAllowStateReads_),tp(),u.runAsAction_&&tr(u.prevDerivation_),tl.suppressReactionErrors=!1}}(0,n,t,r||this,arguments)}return void 0===n&&(n=!1),i.isMobxAction=!0,i.toString=function(){return t.toString()},eX&&(eQ.value=e,j(i,"name",eQ)),i}function e1(e){var t=tl.allowStateChanges;return tl.allowStateChanges=e,t}function e2(e){tl.allowStateChanges=e}f=Symbol.toPrimitive;var e3=function(e){function t(t,n,r,i,a){var o;return void 0===r&&(r="ObservableValue"),void 0===i&&(i=!0),void 0===a&&(a=ef.default),(o=e.call(this,r)||this).enhancer=void 0,o.name_=void 0,o.equals=void 0,o.hasUnreportedChange_=!1,o.interceptors_=void 0,o.changeListeners_=void 0,o.value_=void 0,o.dehancer=void 0,o.enhancer=n,o.name_=r,o.equals=a,o.value_=n(t,void 0,r),o}X(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==tl.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(tZ(this)){var t=tX(this,{object:this,type:t3,newValue:e});if(!t)return tl.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?tl.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),tQ(this)&&t1(this,{type:t3,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return tY(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:t3,newValue:this.value_,oldValue:void 0}),t0(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return V(this.get())},n[f]=function(){return this.valueOf()},t}(ec);h=Symbol.toPrimitive;var e4=function(){function e(e){this.dependenciesState_=d.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=d.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new e6(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=p.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||_(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=e0("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?ef.structural:ef.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){this.lowestObserverState_===d.UP_TO_DATE_&&(this.lowestObserverState_=d.POSSIBLY_STALE_,this.observers_.forEach(function(e){e.dependenciesState_===d.UP_TO_DATE_&&(e.dependenciesState_=d.POSSIBLY_STALE_,e.onBecomeStale_())}))},t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.get=function(){if(this.isComputing_&&_(32,this.name_,this.derivation),0!==tl.inBatch||0!==this.observers_.size||this.keepAlive_){if(tv(this),e7(this)){var e,t=tl.trackingContext;this.keepAlive_&&!t&&(tl.trackingContext=this),this.trackAndCompute()&&(e=this,e.lowestObserverState_!==d.STALE_&&(e.lowestObserverState_=d.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===d.POSSIBLY_STALE_?t.dependenciesState_=d.STALE_:t.dependenciesState_===d.UP_TO_DATE_&&(e.lowestObserverState_=d.UP_TO_DATE_)}))),tl.trackingContext=t}}else e7(this)&&(this.warnAboutUntrackedRead_(),td(),this.value_=this.computeValue_(!1),tp());var n=this.value_;if(e8(n))throw n.cause;return n},t.set=function(e){if(this.setter_){this.isRunningSetter_&&_(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter_=!1}}else _(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===d.NOT_TRACKING_,n=this.computeValue_(!0),r=t||e8(e)||e8(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing_=!0;var t,n=e1(!1);if(e)t=e9(this,this.derivation,this.scope_);else if(!0===tl.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new e6(e)}return e2(n),this.isComputing_=!1,t},t.suspend_=function(){this.keepAlive_||(te(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,i=void 0;return tC(function(){var a=n.get();if(!r||t){var o=tn();e({observableKind:"computed",debugObjectName:n.name_,type:t3,object:n,newValue:a,oldValue:i}),tr(o)}r=!1,i=a})},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return V(this.get())},t[h]=function(){return this.valueOf()},e}(),e5=z("ComputedValue",e4);(r=d||(d={}))[r.NOT_TRACKING_=-1]="NOT_TRACKING_",r[r.UP_TO_DATE_=0]="UP_TO_DATE_",r[r.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",r[r.STALE_=2]="STALE_",(i=p||(p={}))[i.NONE=0]="NONE",i[i.LOG=1]="LOG",i[i.BREAK=2]="BREAK";var e6=function(e){this.cause=void 0,this.cause=e};function e8(e){return e instanceof e6}function e7(e){switch(e.dependenciesState_){case d.UP_TO_DATE_:return!1;case d.NOT_TRACKING_:case d.STALE_:return!0;case d.POSSIBLY_STALE_:for(var t=ti(!0),n=tn(),r=e.observing_,i=r.length,a=0;ar&&(r=s.dependenciesState_)}for(n.length=i,e.newObserving_=null,a=t.length;a--;){var c=t[a];0===c.diffValue_&&tf(c,e),c.diffValue_=0}for(;i--;){var u=n[i];1===u.diffValue_&&(u.diffValue_=0,u.observers_.add(e),u.lowestObserverState_>e.dependenciesState_&&(u.lowestObserverState_=e.dependenciesState_))}r!==d.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),ta(i),r}function te(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)tf(t[n],e);e.dependenciesState_=d.NOT_TRACKING_}function tt(e){var t=tn();try{return e()}finally{tr(t)}}function tn(){var e=tl.trackingDerivation;return tl.trackingDerivation=null,e}function tr(e){tl.trackingDerivation=e}function ti(e){var t=tl.allowStateReads;return tl.allowStateReads=e,t}function ta(e){tl.allowStateReads=e}function to(e){if(e.dependenciesState_!==d.UP_TO_DATE_){e.dependenciesState_=d.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=d.UP_TO_DATE_}}var ts=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},tc=!0,tu=!1,tl=((a=k()).__mobxInstanceCount>0&&!a.__mobxGlobals&&(tc=!1),a.__mobxGlobals&&a.__mobxGlobals.version!==new ts().version&&(tc=!1),tc)?a.__mobxGlobals?(a.__mobxInstanceCount+=1,a.__mobxGlobals.UNCHANGED||(a.__mobxGlobals.UNCHANGED={}),a.__mobxGlobals):(a.__mobxInstanceCount=1,a.__mobxGlobals=new ts):(setTimeout(function(){tu||_(35)},1),new ts);function tf(e,t){e.observers_.delete(t),0===e.observers_.size&&th(e)}function th(e){!1===e.isPendingUnobservation_&&(e.isPendingUnobservation_=!0,tl.pendingUnobservations.push(e))}function td(){tl.inBatch++}function tp(){if(0==--tl.inBatch){tb();for(var e=tl.pendingUnobservations,t=0;t0&&th(e),!1)}function tm(e){e.lowestObserverState_!==d.STALE_&&(e.lowestObserverState_=d.STALE_,e.observers_.forEach(function(e){e.dependenciesState_===d.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=d.STALE_}))}var ty=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=d.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=p.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,tl.pendingReactions.push(this),tb())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){td(),this.isScheduled_=!1;var e=tl.trackingContext;if(tl.trackingContext=this,e7(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}tl.trackingContext=e,tp()}},t.track=function(e){if(!this.isDisposed_){td(),this.isRunning_=!0;var t=tl.trackingContext;tl.trackingContext=this;var n=e9(this,e,void 0);tl.trackingContext=t,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&te(this),e8(n)&&this.reportExceptionInDerivation_(n.cause),tp()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_){this.errorHandler_(e,this);return}if(tl.disableErrorBoundaries)throw e;tl.suppressReactionErrors||console.error("[mobx] uncaught error in '"+this+"'",e),tl.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(td(),te(this),tp()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[es]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},e}(),tg=function(e){return e()};function tb(){tl.inBatch>0||tl.isRunningReactions||tg(t_)}function t_(){tl.isRunningReactions=!0;for(var e=tl.pendingReactions,t=0;e.length>0;){100==++t&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,i=n.length;r",t,e):L(n)?e0(t,n,e):eo(n)?(e?tS:tO).decorate_20223_(t,n):R(n)?ea(t,n,e?tS:tO):R(t)?ei(ep(e?tx:tk,{name:t,autoAction:e})):void 0}}var tT=tA(!1);Object.assign(tT,tO);var tP=tA(!0);function tN(e){return L(e)&&!0===e.isMobxAction}function tC(e,t){void 0===t&&(t=A);var n,r,i,a,o,s,c=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var u=tL(t),l=!1;s=new ty(c,function(){l||(l=!0,u(function(){l=!1,s.isDisposed_||s.track(f)}))},t.onError,t.requiresObservable)}else s=new ty(c,function(){this.track(f)},t.onError,t.requiresObservable);function f(){e(s)}return null!=(i=t)&&null!=(a=i.signal)&&a.aborted||s.schedule_(),s.getDisposer_(null==(o=t)?void 0:o.signal)}Object.assign(tP,tS),tT.bound=ei(tj),tP.bound=ei(tE);var tI=function(e){return e()};function tL(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:tI}function tR(e,t,n){void 0===n&&(n=A);var r,i,a,o,s,c,u,l=null!=(i=n.name)?i:"Reaction",f=tT(l,n.onError?(r=n.onError,function(){try{return t.apply(this,arguments)}catch(e){r.call(this,e)}}):t),h=!n.scheduler&&!n.delay,d=tL(n),p=!0,v=!1,m=n.compareStructural?ef.structural:n.equals||ef.default,y=new ty(l,function(){p||h?g():v||(v=!0,d(g))},n.onError,n.requiresObservable);function g(){if(v=!1,!y.isDisposed_){var t=!1;y.track(function(){var n=function(e,t){var n=e1(e);try{return t()}finally{e2(n)}}(!1,function(){return e(y)});t=p||!m(c,n),u=c,c=n}),p&&n.fireImmediately?f(c,u,y):!p&&t&&f(c,u,y),p=!1}}return null!=(a=n)&&null!=(o=a.signal)&&o.aborted||y.schedule_(),y.getDisposer_(null==(s=n)?void 0:s.signal)}function tM(e,t,n){return tB("onBUO",e,t,n)}function tB(e,t,n,r){var i="function"==typeof r?nj(t,n):nj(t),a=L(r)?r:n,o=e+"L";return i[o]?i[o].add(a):i[o]=new Set([a]),function(){var e=i[o];e&&(e.delete(a),0===e.size&&delete i[o])}}var tD="always";function tF(e){!0===e.isolateGlobalState&&function(){if((tl.pendingReactions.length||tl.inBatch||tl.isRunningReactions)&&_(36),tu=!0,tc){var e=k();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),tl=new ts}}();var t,n,r=e.useProxies,i=e.enforceActions;if(void 0!==r&&(tl.useProxies=r===tD||"never"!==r&&"undefined"!=typeof Proxy),"ifavailable"===r&&(tl.verifyProxies=!0),void 0!==i){var a=i===tD?tD:"observed"===i;tl.enforceActions=a,tl.allowStateChanges=!0!==a&&a!==tD}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(t){t in e&&(tl[t]=!!e[t])}),tl.allowStateReads=!tl.observableRequiresReaction,e.reactionScheduler&&(t=e.reactionScheduler,n=tg,tg=function(e){return t(function(){return n(e)})})}var tU=0;function tz(){this.message="FLOW_CANCELLED"}tz.prototype=Object.create(Error.prototype);var tH=eb("flow"),tW=eb("flow.bound",{bound:!0}),tq=Object.assign(function(e,t){if(eo(t))return tH.decorate_20223_(e,t);if(R(t))return ea(e,t,tH);var n=e.name||"",r=function(){var t,r=arguments,i=++tU,a=tT(n+" - runid: "+i+" - init",e).apply(this,r),o=void 0,s=new Promise(function(e,r){var s=0;function c(e){var t;o=void 0;try{t=tT(n+" - runid: "+i+" - yield "+s++,a.next).call(a,e)}catch(e){return r(e)}l(t)}function u(e){var t;o=void 0;try{t=tT(n+" - runid: "+i+" - yield "+s++,a.throw).call(a,e)}catch(e){return r(e)}l(t)}function l(t){if(L(null==t?void 0:t.then)){t.then(l,r);return}return t.done?e(t.value):(o=Promise.resolve(t.value)).then(c,u)}t=r,c(void 0)});return s.cancel=tT(n+" - runid: "+i+" - cancel",function(){try{o&&t$(o);var e=a.return(void 0),n=Promise.resolve(e.value);n.then(I,I),t$(n),t(new tz)}catch(e){t(e)}}),s};return r.isMobXFlow=!0,r},tH);function t$(e){L(e.cancel)&&e.cancel()}function tV(e){return(null==e?void 0:e.isMobXFlow)===!0}function tG(e){var t;return!!e&&(void 0!==t?!!nm(e)&&e[es].values_.has(t):nm(e)||!!e[es]||eu(e)||tw(e)||e5(e))}function tK(e,t){void 0===t&&(t=void 0),td();try{return e.apply(t)}finally{tp()}}tq.bound=ei(tW);var tJ={has:function(e,t){return e[es].has_(t)},get:function(e,t){return e[es].get_(t)},set:function(e,t,n){var r;return!!R(t)&&(null==(r=e[es].set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!R(t)&&(null==(n=e[es].delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=e[es].defineProperty_(t,n))||r},ownKeys:function(e){return e[es].ownKeys_()},preventExtensions:function(e){_(13)}};function tZ(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function tY(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),C(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function tX(e,t){var n=tn();try{for(var r=[].concat(e.interceptors_||[]),i=0,a=r.length;i0}function t0(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),C(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function t1(e,t){var n=tn(),r=e.changeListeners_;if(r){r=r.slice();for(var i=0,a=r.length;i0?e.map(this.dehancer):e},t.intercept_=function(e){return tY(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),t0(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&_("Out of range: "+e);var t=this.values_.length;if(e!==t){if(e>t){for(var n=Array(e-t),r=0;r0&&nO(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1==arguments.length?i-e:null==t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=E),tZ(this)){var a=tX(this,{object:this.proxy_,type:t2,index:e,removedCount:t,added:n});if(!a)return E;t=a.removedCount,n=a.added}if(n=0===n.length?n:n.map(function(e){return r.enhancer_(e,void 0)}),this.legacyMode_){var o=n.length-t;this.updateArrayLength_(i,o)}var s=this.spliceItemsIntoValues_(e,t,n);return(0!==t||0!==n.length)&&this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){if(n.length<1e4){var r;return(r=this.values_).splice.apply(r,[e,t].concat(n))}var i=this.values_.slice(e,e+t),a=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var o=0;o=this.values_.length){console.warn("[mobx] Out of bounds read: "+e);return}return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e])},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&_(17,e,n.length),e2?n-2:0),i=2;i-1&&(this.splice(n,1),!0)}};function t8(e,t){"function"==typeof Array.prototype[e]&&(t6[e]=t(e))}function t7(e){return function(){var t=this[es];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function t9(e){return function(t,n){var r=this,i=this[es];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e](function(e,i){return t.call(n,e,i,r)})}}function ne(e){return function(){var t=this,n=this[es];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(e,n,r){return i(e,n,r,t)},r[e].apply(r,arguments)}}t8("at",t7),t8("concat",t7),t8("flat",t7),t8("includes",t7),t8("indexOf",t7),t8("join",t7),t8("lastIndexOf",t7),t8("slice",t7),t8("toString",t7),t8("toLocaleString",t7),t8("toSorted",t7),t8("toSpliced",t7),t8("with",t7),t8("every",t9),t8("filter",t9),t8("find",t9),t8("findIndex",t9),t8("findLast",t9),t8("findLastIndex",t9),t8("flatMap",t9),t8("forEach",t9),t8("map",t9),t8("some",t9),t8("toReversed",t9),t8("reduce",ne),t8("reduceRight",ne);var nt=z("ObservableArrayAdministration",t5);function nn(e){return M(e)&&nt(e[es])}var nr={},ni="delete";v=Symbol.iterator,m=Symbol.toStringTag;var na=function(){function e(e,t,n){var r=this;void 0===t&&(t=eh),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[es]=nr,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,L(Map)||_(18),nE(function(){r.keysAtom_=el("ObservableMap.keys()"),r.data_=new Map,r.hasMap_=new Map,e&&r.merge(e)})}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!tl.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new e3(this.has_(e),ed,"ObservableMap.key?",!1);this.hasMap_.set(e,r),tM(r,function(){return t.hasMap_.delete(e)})}return n.get()},t.set=function(e,t){var n=this.has_(e);if(tZ(this)){var r=tX(this,{type:n?t3:"add",object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(this.keysAtom_,tZ(this)&&!tX(this,{type:ni,object:this,name:e}))return!1;if(this.has_(e)){var n=tQ(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:ni,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return tK(function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)}),n&&t1(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==tl.UNCHANGED){var r=tQ(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:t3,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&t1(this,i)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,tK(function(){var r,i=new e3(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,i),t=i.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()});var r=tQ(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:"add",object:this,name:e,newValue:t}:null;r&&t1(this,i)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return nN({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:e.get(i)}}})},t.entries=function(){var e=this,t=this.keys();return nN({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},t[v]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=en(this);!(n=r()).done;){var i=n.value,a=i[0],o=i[1];e.call(t,o,a,this)}},t.merge=function(e){var t=this;return no(e)&&(e=new Map(e)),tK(function(){B(e)?(function(e){var t=Object.keys(e);if(!q)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(t){return S.propertyIsEnumerable.call(e,t)})):t})(e).forEach(function(n){return t.set(n,e[n])}):Array.isArray(e)?e.forEach(function(e){var n=e[0],r=e[1];return t.set(n,r)}):H(e)?(e.constructor!==Map&&_(19,e),e.forEach(function(e,n){return t.set(n,e)})):null!=e&&_(20,e)}),this},t.clear=function(){var e=this;tK(function(){tt(function(){for(var t,n=en(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.replace=function(e){var t=this;return tK(function(){for(var n,r=function(e){if(H(e)||no(e))return e;if(Array.isArray(e))return new Map(e);if(!B(e))return _(21,e);var t=new Map;for(var n in e)t.set(n,e[n]);return t}(e),i=new Map,a=!1,o=en(t.data_.keys());!(n=o()).done;){var s=n.value;if(!r.has(s)){if(t.delete(s))a=!0;else{var c=t.data_.get(s);i.set(s,c)}}}for(var u,l=en(r.entries());!(u=l()).done;){var f=u.value,h=f[0],d=f[1],p=t.data_.has(h);if(t.set(h,d),t.data_.has(h)){var v=t.data_.get(h);i.set(h,v),p||(a=!0)}}if(!a){if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var m=t.data_.keys(),y=i.keys(),g=m.next(),b=y.next();!g.done;){if(g.value!==b.value){t.keysAtom_.reportChanged();break}g=m.next(),b=y.next()}}t.data_=i}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return t0(this,e)},t.intercept_=function(e){return tY(this,e)},Z(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:m,get:function(){return"Map"}}]),e}(),no=z("ObservableMap",na),ns={};y=Symbol.iterator,g=Symbol.toStringTag;var nc=function(){function e(e,t,n){var r=this;void 0===t&&(t=eh),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[es]=ns,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,L(Set)||_(22),this.enhancer_=function(e,r){return t(e,r,n)},nE(function(){r.atom_=el(r.name_),e&&r.replace(e)})}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;tK(function(){tt(function(){for(var t,n=en(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.forEach=function(e,t){for(var n,r=en(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},t.add=function(e){var t=this;if(this.atom_,tZ(this)&&!tX(this,{type:"add",object:this,newValue:e}))return this;if(!this.has(e)){tK(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var n=tQ(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:"add",object:this,newValue:e}:null;n&&t1(this,r)}return this},t.delete=function(e){var t=this;if(tZ(this)&&!tX(this,{type:ni,object:this,oldValue:e}))return!1;if(this.has(e)){var n=tQ(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:ni,object:this,oldValue:e}:null;return tK(function(){t.atom_.reportChanged(),t.data_.delete(e)}),n&&t1(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return nN({next:function(){var r=e;return e+=1,rn_){for(var t,n=n_;n=0&&r++}t=nP(t),n=nP(n);var c="[object Array]"===s;if(!c){if("object"!=typeof t||"object"!=typeof n)return!1;var u=t.constructor,l=n.constructor;if(u!==l&&!(L(u)&&u instanceof u&&L(l)&&l instanceof l)&&"constructor"in t&&"constructor"in n)return!1}if(0===r)return!1;r<0&&(r=-1),a=a||[];for(var f=(i=i||[]).length;f--;)if(i[f]===t)return a[f]===n;if(i.push(t),a.push(n),c){if((f=t.length)!==n.length)return!1;for(;f--;)if(!e(t[f],n[f],r-1,i,a))return!1}else{var h,d=Object.keys(t);if(f=d.length,Object.keys(n).length!==f)return!1;for(;f--;)if(!(G(n,h=d[f])&&e(t[h],n[h],r-1,i,a)))return!1}return i.pop(),a.pop(),!0}(e,t,n)}function nP(e){return nn(e)?e.slice():H(e)||no(e)||W(e)||nu(e)?Array.from(e.entries()):e}function nN(e){return e[Symbol.iterator]=nC,e}function nC(){return this}["Symbol","Map","Set"].forEach(function(e){void 0===k()[e]&&_("MobX requires global '"+e+"' to be available or polyfilled")}),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:nS},$mobx:es})}),oR("2dHdv",function(e,t){x(e.exports,"HTTPError",function(){return L}),x(e.exports,"HTTPClient",function(){return W});var n,r,i,a,o=oL("7m3ow"),s=oL("cG934"),c=oL("cmOe7"),u=oL("6CHtA"),l=oL("jTVqf"),f=oL("hVE88"),h=oL("hJgGh"),d=oL("imI5l"),p=oL("29fH5"),v=oL("6RxJZ"),m=oL("4hdwe"),y=oL("bPCrB"),g=oL("7Cf2H"),b=oL("9GB8M"),_=oL("7usEZ"),w=oL("e0xF1"),k=oL("h9DRc");function x(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}x({},"Stack",function(){return j});var O=Array.prototype.push,j=function(){function e(){(0,c._)(this,e),this.length=0}return(0,u._)(e,[{key:"use",value:function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:0,n=this[t];if(n instanceof Function)return n(e,this.execute.bind(this,e,++t))}},{key:"mount",value:function(e,t){return this.use(function(n,r){return e(n)?t.execute(n):r()})}}]),e}(),S={};x(S,"BodyRequestMethods",function(){return a}),x(S,"HTTPError",function(){return L}),x(S,"headerParser",function(){return R}),x(S,"parseHeaders",function(){return M}),x(S,"parseBody",function(){return B}),x(S,"requestXHR",function(){return D}),x(S,"requestFetch",function(){return F}),x(S,"request",function(){return z});var E={};function A(e){return T.apply(this,arguments)}function T(){return(T=(0,s._)(function(e){var t,n,r=arguments;return(0,_.__generator)(this,function(i){return t=r.length>1&&void 0!==r[1]?r[1]:"",n=(0,m._)((null==t?void 0:t.split(";"))||[],1)[0],[2,new DOMParser().parseFromString(e,n||"text/html")]})})).apply(this,arguments)}function P(e){var t=new FormData,n=!0,r=!1,i=void 0;try{for(var a,o=Object.entries(e)[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=(0,m._)(a.value,2),c=s[0],u=s[1],l="string"!=typeof u&&(0,k.likeArray)(u)?u:[u],f=!0,h=!1,d=void 0;try{for(var p,v=Array.from(l)[Symbol.iterator]();!(f=(p=v.next()).done);f=!0){var y=p.value;null!=y&&("object"==typeof y?t.append(c,y,y.name):t.append(c,y))}}catch(e){h=!0,d=e}finally{try{f||null==v.return||v.return()}finally{if(h)throw d}}}}catch(e){r=!0,i=e}finally{try{n||null==o.return||o.return()}finally{if(r)throw i}}return t}function N(e){if(!(e instanceof HTMLFormElement))return{contentType:e instanceof SVGElement?"image/svg":e instanceof HTMLDocument||e instanceof HTMLElement?"text/html":"application/xml",data:(0,k.stringifyDOM)(e)};if(e.querySelector('input[type="file"][name]'))return{contentType:"multipart/form-data",data:new FormData(e)};var t,n=(0,k.formToJSON)(e);switch(t=e.enctype){case"text/plain":return{contentType:t,data:Object.entries(n).map(function(e){var t=(0,m._)(e,2),n=t[0],r=t[1];return"".concat(n,"=").concat(r)}).join("\n")};case"application/x-www-form-urlencoded":return{contentType:t,data:new URLSearchParams(n)+""};default:return{contentType:"application/json",data:JSON.stringify(n)}}}function C(e,t){var n=(0,m._)((null==t?void 0:t.split(";"))||[],1)[0];switch(n){case"application/x-www-form-urlencoded":return{contentType:t,data:new URLSearchParams(e)};case"multipart/form-data":return{data:P(e)};case"application/json":return{contentType:t,data:JSON.stringify(e)};case"text/html":case"application/xml":case"image/svg":return{contentType:t,data:(0,k.stringifyDOM)(e)}}if(n)return{data:e,contentType:t};try{if(e instanceof URLSearchParams)return{contentType:"application/x-www-form-urlencoded",data:e}}catch(e){}try{if(e instanceof FormData)return{data:e}}catch(e){}try{if(e instanceof Node)return N(e)}catch(e){}try{if((0,k.isTypedArray)(e)||e instanceof ArrayBuffer||e instanceof DataView||e instanceof Blob||e instanceof ReadableStream)return{contentType:"application/octet-stream",data:e}}catch(e){}try{return{contentType:"application/json",data:JSON.stringify(e)}}catch(e){}throw Error("Unserialized Object needs a specific Content-Type")}function I(e,t,n){var r=new FileReader;return{progress:(0,w.Observable).fromEvent(r,"progress"),result:new Promise(function(a,o){r.onerror=o,r.onload=function(){return a(r.result)},r[i[t]](e,n)})}}x(E,"parseDocument",function(){return A}),x(E,"makeFormData",function(){return P}),x(E,"serializeNode",function(){return N}),x(E,"serialize",function(){return C}),x(E,"readAs",function(){return I}),(n=i||(i={})).text="readAsText",n.dataURL="readAsDataURL",n.binaryString="readAsBinaryString",n.arrayBuffer="readAsArrayBuffer",(r=a||(a={})).POST="POST",r.PUT="PUT",r.PATCH="PATCH",r.DELETE="DELETE";var L=function(e){(0,h._)(n,e);var t=(0,b._)(n);function n(e,r){var i;return(0,c._)(this,n),i=t.call(this,e),Object.assign((0,o._)(i),r),i}return n}((0,g._)(URIError)),R={Link:function(e){return Object.fromEntries(Array.from(e.matchAll(/<(\S+?)>; rel="(\w+)"(?:; title="(.*?)")?/g),function(e){var t=(0,m._)(e,4),n=(t[0],t[1]),r=t[2];return[r,{rel:r,URI:n,title:t[3]}]}))}},M=function(e){return Object.fromEntries(Array.from(e.trim().matchAll(/^([\w-]+):\s*(.*)/gm),function(e){var t,n,r=(0,m._)(e,3),i=(r[0],r[1]),a=r[2];return[i=i.replace(/(^[a-z]|-[a-z])/g,function(e){return e.toUpperCase()}),null!==(n=null===(t=R[i])||void 0===t?void 0:t.call(R,a))&&void 0!==n?n:a]}))};function B(e,t){if(t.includes("text"))return e;if(t.includes("json"))return(0,k.parseJSON)(e);if(t.match(/html|xml/))try{return A(e,t)}catch(e){}return new TextEncoder().encode(e).buffer}function D(e){var t=e.method,n=void 0===t?"GET":t,r=e.path,i=e.headers,a=void 0===i?{}:i,o=e.body,s=(0,v._)(e,["method","path","headers","body"]),c=new XMLHttpRequest,u=a instanceof Array?a:(null==a?void 0:a[Symbol.iterator])instanceof Function?(0,y._)(a):Object.entries(a);return{response:new Promise(function(e,t){c.onload=function(){return e({status:c.status,statusText:c.statusText,headers:M(c.getAllResponseHeaders()),body:c.response||c.responseText})},c.onerror=c.ontimeout=t,c.open(n,r+"");var i=!0,a=!1,l=void 0;try{for(var f,h=u[Symbol.iterator]();!(i=(f=h.next()).done);i=!0){var d=(0,m._)(f.value,2),p=d[0],v=d[1];c.setRequestHeader(p,v)}}catch(e){a=!0,l=e}finally{try{i||null==h.return||h.return()}finally{if(a)throw l}}Object.assign(c,s),c.send(o)}).then(function(e){var t=e.body,n=(0,v._)(e,["body"]),r=c.getResponseHeader("Content-Type")||"";return"string"!=typeof t||r.includes("text")||(t=B(t,r)),(0,p._)((0,d._)({},n),{body:t})}),upload:(0,w.Observable).fromEvent(c.upload,"progress"),download:(0,w.Observable).fromEvent(c,"progress")}}function F(e){return U.apply(this,arguments)}function U(){return(U=(0,s._)(function(e){var t,n,r,i,a,o,s,c,u,l,f,h,v,g,b,w,x;return(0,_.__generator)(this,function(_){switch(_.label){case 0:return t=e.path,n=e.method,r=e.headers,i=e.withCredentials,a=e.body,o=e.timeout,s=e.responseType,c=o?new AbortController:void 0,u=o&&(0,k.sleep)(o/1e3).then(function(){throw c.abort(),RangeError("Timed out")}),r=r instanceof Headers?Object.fromEntries(r.entries()):r instanceof Array?Object.fromEntries(r):r,r="text"===s?(0,p._)((0,d._)({},r),{Accept:"text/plain"}):"json"===s?(0,p._)((0,d._)({},r),{Accept:"application/json"}):"document"===s?(0,p._)((0,d._)({},r),{Accept:"text/html, application/xhtml+xml, application/xml"}):"arraybuffer"===s||"blob"===s?(0,p._)((0,d._)({},r),{Accept:"application/octet-stream"}):r,l=fetch(t+"",{method:n,headers:r,credentials:i?"include":"omit",body:a,signal:null==c?void 0:c.signal}),[4,u?Promise.race([u,l]):l];case 1:if(f=_.sent(),h=M((0,y._)(f.headers).map(function(e){var t=(0,m._)(e,2),n=t[0],r=t[1];return"".concat(n,": ").concat(r)}).join("\n")),!(204!==f.status))return[3,11];_.label=2;case 2:if(_.trys.push([2,9,,11]),v=f.headers.get("Content-Type")||"",g=f.clone(),"text"!==s)return[3,3];return w=f.text(),[3,7];case 3:if("document"!==s)return[3,5];return[4,f.text()];case 4:return x=A.apply(void 0,[_.sent(),v]),[3,6];case 5:x="json"===s?f.json():"arraybuffer"===s?f.arrayBuffer():f.blob(),_.label=6;case 6:w=x,_.label=7;case 7:return[4,w];case 8:return b=_.sent(),[3,11];case 9:return _.sent(),[4,g.text()];case 10:return b=B(_.sent(),v),[3,11];case 11:return[2,{status:f.status,statusText:f.statusText,headers:h,body:b}]}})})).apply(this,arguments)}function z(e){return"function"==typeof globalThis.XMLHttpRequest?D(e):{response:F(e)}}x({},"HTTPClient",function(){return W});var H=Array.prototype.splice,W=function(e){(0,h._)(n,e);var t=(0,b._)(n);function n(){var e,r,i,u,h=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,c._)(this,n);var p=h.baseURI,m=void 0===p?null===(e=globalThis.document)||void 0===e?void 0:e.baseURI:p,y=(0,v._)(h,["baseURI"]);(u=t.call(this)).defaultWare=(r=(0,s._)(function(e,t){var n,r,i,o,s,c,u,l,f,h;return(0,_.__generator)(this,function(d){switch(d.label){case 0:return n=e.request,r=e.response,o=void 0===(i=n.method)?"GET":i,c=void 0===(s=n.headers)?{}:s,u=n.body,o in a&&u&&"object"==typeof u&&(f=(l=C(u,c["Content-Type"])).contentType,h=l.data,f&&(c["Content-Type"]=f),n.body=h),[4,t()];case 1:if(d.sent(),r.status>299)throw new L(r.statusText,r);return[2]}})}),function(e,t){return r.apply(this,arguments)}),u.baseURI=m,u.options=y,(0,l._)(((0,o._)(u),(0,f._)(n.prototype)),"use",u).call(u,u.defaultWare);var g=(0,o._)(u);return(0,l._)(((0,o._)(u),(0,f._)(n.prototype)),"use",u).call(u,(i=(0,s._)(function(e){var t,n,r,i;return(0,_.__generator)(this,function(a){switch(a.label){case 0:return t=e.request,n=e.response,t.path=new URL(t.path+"",g.baseURI)+"",r=Object.assign,i=[n],[4,z((0,d._)({},y,t)).response];case 1:return r.apply(Object,i.concat([a.sent()])),[2]}})}),function(e){return i.apply(this,arguments)})),u}return(0,u._)(n,[{key:"use",value:function(){for(var e=arguments.length,t=Array(e),n=0;n2&&t.shift(),c.label=4;case 4:return n=!1,[3,2];case 5:return[3,12];case 6:return l=c.sent(),i=!0,a=l,[3,12];case 7:if(c.trys.push([7,,10,11]),!(n&&null!=o.return))return[3,9];return[4,o.return()];case 8:c.sent(),c.label=9;case 9:return[3,11];case 10:if(i)throw a;return[7];case 11:return[7];case 12:return[2,t[0]]}})})()}},{key:"subscribe",value:function(e,t,n){var a=!1,o=this;return(0,i._)(function(){var i,s,u,l,f,h,d,p;return(0,c.__generator)(this,function(c){switch(c.label){case 0:c.trys.push([0,13,,14]),i=!1,s=!1,c.label=1;case 1:c.trys.push([1,6,7,12]),l=(0,r._)(o),c.label=2;case 2:return[4,l.next()];case 3:if(!(i=!(f=c.sent()).done)||(h=f.value,a))return[3,5];e(h),c.label=4;case 4:return i=!1,[3,2];case 5:return[3,12];case 6:return d=c.sent(),s=!0,u=d,[3,12];case 7:if(c.trys.push([7,,10,11]),!(i&&null!=l.return))return[3,9];return[4,l.return()];case 8:c.sent(),c.label=9;case 9:return[3,11];case 10:if(s)throw u;return[7];case 11:return[7];case 12:return n instanceof Function&&n(),[3,14];case 13:return p=c.sent(),t instanceof Function&&t(p),[3,14];case 14:return[2]}})})(),{unsubscribe:function(){a=!0},get closed(){return a}}}}],[{key:"of",value:function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]&&arguments[1],n=[],r=0;r1&&void 0!==arguments[1]?arguments[1]:{},i=o9(e);null!==(t=r.delimiter)&&void 0!==t||(r.delimiter="/#?"),null!==(n=r.prefixes)&&void 0!==n||(r.prefixes="./");for(var a="[^".concat(st(r.delimiter),"]+?"),o=[],s=0,c=0,u=new Set,l=function(e){if(c2&&void 0!==arguments[2]?arguments[2]:{};null!==(s=n.delimiter)&&void 0!==s||(n.delimiter="/#?"),null!==(c=n.prefixes)&&void 0!==c||(n.prefixes="./"),null!==(u=n.sensitive)&&void 0!==u||(n.sensitive=!1),null!==(l=n.strict)&&void 0!==l||(n.strict=!1),null!==(f=n.end)&&void 0!==f||(n.end=!0),null!==(h=n.start)&&void 0!==h||(n.start=!0),n.endsWith="";var r=n.start?"^":"",i=!0,a=!1,o=void 0;try{for(var s,c,u,l,f,h,d,p=e[Symbol.iterator]();!(i=(d=p.next()).done);i=!0){var v=d.value;if(3===v.type){3===v.modifier?r+=st(v.value):r+="(?:".concat(st(v.value),")").concat(sr(v.modifier));continue}t&&t.push(v.name);var m="[^".concat(st(n.delimiter),"]+?"),y=v.value;if(1===v.type?y=m:0===v.type&&(y=".*"),!v.prefix.length&&!v.suffix.length){3===v.modifier||1===v.modifier?r+="(".concat(y,")").concat(sr(v.modifier)):r+="((?:".concat(y,")").concat(sr(v.modifier),")");continue}if(3===v.modifier||1===v.modifier){r+="(?:".concat(st(v.prefix),"(").concat(y,")").concat(st(v.suffix),")")+sr(v.modifier);continue}r+="(?:".concat(st(v.prefix))+"((?:".concat(y,")(?:")+st(v.suffix)+st(v.prefix)+"(?:".concat(y,"))*)").concat(st(v.suffix),")"),0===v.modifier&&(r+="?")}}catch(e){a=!0,o=e}finally{try{i||null==p.return||p.return()}finally{if(a)throw o}}var g="[".concat(st(n.endsWith),"]|$"),b="[".concat(st(n.delimiter),"]");if(n.end)return n.strict||(r+="".concat(b,"?")),n.endsWith.length?r+="(?=".concat(g,")"):r+="$",new RegExp(r,sn(n));n.strict||(r+="(?:".concat(b,"(?=").concat(g,"))?"));var _=!1;if(e.length){var w=e[e.length-1];3===w.type&&3===w.modifier&&(_=n.delimiter.indexOf(w)>-1)}return _||(r+="(?=".concat(b,"|").concat(g,")")),new RegExp(r,sn(n))}var sa={delimiter:"",prefixes:"",sensitive:!0,strict:!0},so={delimiter:".",prefixes:"",sensitive:!0,strict:!0},ss={delimiter:"/",prefixes:"/",sensitive:!0,strict:!0};function sc(e,t){return e.startsWith(t)?e.substring(t.length,e.length):e}function su(e){return!!e&&!(e.length<2)&&("["===e[0]||("\\"===e[0]||"{"===e[0])&&"["===e[1])}var sl=["ftp","file","http","https","ws","wss"];function sf(e){if(!e)return!0;var t=!0,n=!1,r=void 0;try{for(var i,a=sl[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var o=i.value;if(e.test(o))return!0}}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}return!1}function sh(e){switch(e){case"ws":case"http":return"80";case"wws":case"https":return"443";case"ftp":return"21";default:return""}}function sd(e){if(""===e)return e;if(/^[-+.A-Za-z0-9]*$/.test(e))return e.toLowerCase();throw TypeError("Invalid protocol '".concat(e,"'."))}function sp(e){if(""===e)return e;var t=new URL("https://example.com");return t.username=e,t.username}function sv(e){if(""===e)return e;var t=new URL("https://example.com");return t.password=e,t.password}function sm(e){if(""===e)return e;if(/[\t\n\r #%/:<>?@[\]^\\|]/g.test(e))throw TypeError("Invalid hostname '".concat(e,"'"));var t=new URL("https://example.com");return t.hostname=e,t.hostname}function sy(e){if(""===e)return e;if(/[^0-9a-fA-F[\]:]/g.test(e))throw TypeError("Invalid IPv6 hostname '".concat(e,"'"));return e.toLowerCase()}function sg(e){if(""===e||/^[0-9]*$/.test(e)&&65535>=parseInt(e))return e;throw TypeError("Invalid port '".concat(e,"'."))}function sb(e){if(""===e)return e;var t=new URL("https://example.com");return t.pathname="/"!==e[0]?"/-"+e:e,"/"!==e[0]?t.pathname.substring(2,t.pathname.length):t.pathname}function s_(e){return""===e?e:new URL("data:".concat(e)).pathname}function sw(e){if(""===e)return e;var t=new URL("https://example.com");return t.search=e,t.search.substring(1,t.search.length)}function sk(e){if(""===e)return e;var t=new URL("https://example.com");return t.hash=e,t.hash.substring(1,t.hash.length)}var sx=(az=new WeakMap,aH=new WeakMap,aW=new WeakMap,aq=new WeakMap,a$=new WeakMap,aV=new WeakMap,aG=new WeakMap,aK=new WeakMap,aJ=new WeakMap,aZ=new WeakMap,aY=new WeakSet,aX=new WeakSet,aQ=new WeakSet,a0=new WeakSet,a1=new WeakSet,a2=new WeakSet,a3=new WeakSet,a4=new WeakSet,a5=new WeakSet,a6=new WeakSet,a8=new WeakSet,a7=new WeakSet,a9=new WeakSet,oe=new WeakSet,ot=new WeakSet,on=new WeakSet,or=new WeakSet,oi=new WeakSet,oa=new WeakSet,oo=new WeakSet,function(){function e(t){(0,oV._)(this,e),o4(this,aY),o4(this,aX),o4(this,aQ),o4(this,a0),o4(this,a1),o4(this,a2),o4(this,a3),o4(this,a4),o4(this,a5),o4(this,a6),o4(this,a8),o4(this,a7),o4(this,a9),o4(this,oe),o4(this,ot),o4(this,on),o4(this,or),o4(this,oi),o4(this,oa),o4(this,oo),o1(this,az,{writable:!0,value:void 0}),o1(this,aH,{writable:!0,value:[]}),o1(this,aW,{writable:!0,value:{}}),o1(this,aq,{writable:!0,value:0}),o1(this,a$,{writable:!0,value:1}),o1(this,aV,{writable:!0,value:0}),o1(this,aG,{writable:!0,value:0}),o1(this,aK,{writable:!0,value:0}),o1(this,aJ,{writable:!0,value:0}),o1(this,aZ,{writable:!0,value:!1}),o2(this,az,t)}return(0,oG._)(e,[{key:"result",get:function(){return oQ(this,aW)}},{key:"parse",value:function(){for(o2(this,aH,o9(oQ(this,az),!0));oQ(this,aq)0){if(!o3(this,on,s$).call(this))continue;o2(this,aK,oQ(this,aK)-1)}if(o3(this,ot,sq).call(this)){o2(this,aK,oQ(this,aK)+1);continue}switch(oQ(this,aG)){case 0:o3(this,a3,sM).call(this)&&(oQ(this,aW).username="",oQ(this,aW).password="",oQ(this,aW).hostname="",oQ(this,aW).port="",oQ(this,aW).pathname="",oQ(this,aW).search="",oQ(this,aW).hash="",o3(this,a0,sI).call(this,1));break;case 1:if(o3(this,a3,sM).call(this)){o3(this,oo,sJ).call(this);var e=7,t=1;oQ(this,aZ)&&(oQ(this,aW).pathname="/"),o3(this,a4,sB).call(this)?(e=2,t=3):oQ(this,aZ)&&(e=2),o3(this,aY,sP).call(this,e,t)}break;case 2:o3(this,a5,sD).call(this)?o3(this,a0,sI).call(this,3):(o3(this,a7,sz).call(this)||o3(this,a9,sH).call(this)||o3(this,oe,sW).call(this))&&o3(this,a0,sI).call(this,5);break;case 3:o3(this,a6,sF).call(this)?o3(this,aY,sP).call(this,4,1):o3(this,a5,sD).call(this)&&o3(this,aY,sP).call(this,5,1);break;case 4:o3(this,a5,sD).call(this)&&o3(this,aY,sP).call(this,5,1);break;case 5:o3(this,or,sV).call(this)?o2(this,aJ,oQ(this,aJ)+1):o3(this,oi,sG).call(this)&&o2(this,aJ,oQ(this,aJ)-1),o3(this,a8,sU).call(this)&&!oQ(this,aJ)?o3(this,aY,sP).call(this,6,1):o3(this,a7,sz).call(this)?o3(this,aY,sP).call(this,7,0):o3(this,a9,sH).call(this)?o3(this,aY,sP).call(this,8,1):o3(this,oe,sW).call(this)&&o3(this,aY,sP).call(this,9,1);break;case 6:o3(this,a7,sz).call(this)?o3(this,aY,sP).call(this,7,0):o3(this,a9,sH).call(this)?o3(this,aY,sP).call(this,8,1):o3(this,oe,sW).call(this)&&o3(this,aY,sP).call(this,9,1);break;case 7:o3(this,a9,sH).call(this)?o3(this,aY,sP).call(this,8,1):o3(this,oe,sW).call(this)&&o3(this,aY,sP).call(this,9,1);break;case 8:o3(this,oe,sW).call(this)&&o3(this,aY,sP).call(this,9,1)}}}}]),e}()),sO=["protocol","username","password","hostname","port","pathname","search","hash"];function sj(e,t){if("string"!=typeof e)throw TypeError("parameter 1 is not of type 'string'.");var n=new URL(e,t);return{protocol:n.protocol.substring(0,n.protocol.length-1),username:n.username,password:n.password,hostname:n.hostname,port:n.port,pathname:n.pathname,search:""!==n.search?n.search.substring(1,n.search.length):void 0,hash:""!==n.hash?n.hash.substring(1,n.hash.length):void 0}}function sS(e,t){return t?sA(e):e}function sE(e,t,n){if("string"==typeof t.baseURL)try{r=new URL(t.baseURL),e.protocol=sS(r.protocol.substring(0,r.protocol.length-1),n),e.username=sS(r.username,n),e.password=sS(r.password,n),e.hostname=sS(r.hostname,n),e.port=sS(r.port,n),e.pathname=sS(r.pathname,n),e.search=sS(r.search.substring(1,r.search.length),n),e.hash=sS(r.hash.substring(1,r.hash.length),n)}catch(e){throw TypeError("invalid baseURL '".concat(t.baseURL,"'."))}if("string"==typeof t.protocol&&(e.protocol=(i=(a=i=t.protocol).endsWith(":")?a.substr(0,a.length-1):a,n||""===i?i:sd(i))),"string"==typeof t.username&&(e.username=function(e,t){if(t||""===e)return e;var n=new URL("https://example.com");return n.username=e,n.username}(t.username,n)),"string"==typeof t.password&&(e.password=function(e,t){if(t||""===e)return e;var n=new URL("https://example.com");return n.password=e,n.password}(t.password,n)),"string"==typeof t.hostname&&(e.hostname=(o=t.hostname,n||""===o?o:su(o)?sy(o):sm(o))),"string"==typeof t.port&&(e.port=(s=t.port,sh(e.protocol)===s&&(s=""),n||""===s?s:sg(s))),"string"==typeof t.pathname){if(e.pathname=t.pathname,r&&(!(c=e.pathname).length||"/"!==c[0]&&(!n||c.length<2||"\\"!=c[0]&&"{"!=c[0]||"/"!=c[1]))){var r,i,a,o,s,c,u=r.pathname.lastIndexOf("/");u>=0&&(e.pathname=sS(r.pathname.substring(0,u+1),n)+e.pathname)}e.pathname=function(e,t,n){if(n||""===e)return e;if(t&&!sl.includes(t))return new URL("".concat(t,":").concat(e)).pathname;var r="/"==e[0];return e=new URL(r?e:"/-"+e,"https://example.com").pathname,r||(e=e.substring(2,e.length)),e}(e.pathname,e.protocol,n)}return"string"==typeof t.search&&(e.search=function(e,t){if(e=sc(e,"?"),t||""===e)return e;var n=new URL("https://example.com");return n.search=e,n.search?n.search.substring(1,n.search.length):""}(t.search,n)),"string"==typeof t.hash&&(e.hash=function(e,t){if(e=sc(e,"#"),t||""===e)return e;var n=new URL("https://example.com");return n.hash=e,n.hash?n.hash.substring(1,n.hash.length):""}(t.hash,n)),e}function sA(e){return e.replace(/([+*?:{}()\\])/g,"\\$1")}var sT=(os=new WeakMap,oc=new WeakMap,ou=new WeakMap,ol=new WeakMap,of=new WeakMap,function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;(0,oV._)(this,e),o1(this,os,{writable:!0,value:void 0}),o1(this,oc,{writable:!0,value:{}}),o1(this,ou,{writable:!0,value:{}}),o1(this,ol,{writable:!0,value:{}}),o1(this,of,{writable:!0,value:{}});try{if("string"==typeof n?u=n:r=n,"string"==typeof t){var i=new sx(t);if(i.parse(),t=i.result,void 0===u&&"string"!=typeof t.protocol)throw TypeError("A base URL must be provided for a relative constructor string.");t.baseURL=u}else{if(!t||"object"!=typeof t)throw TypeError("parameter 1 is not of type 'string' and cannot convert to dictionary.");if(u)throw TypeError("parameter 1 is not of type 'string'.")}(void 0===r?"undefined":(0,oZ._)(r))>"u"&&(r={ignoreCase:!1});var a={ignoreCase:!0===r.ignoreCase};o2(this,os,sE({pathname:"*",protocol:"*",username:"*",password:"*",hostname:"*",port:"*",search:"*",hash:"*"},t,!0)),sh(oQ(this,os).protocol)===oQ(this,os).port&&(oQ(this,os).port="");var o=!0,s=!1,c=void 0;try{for(var u,l,f,h=sO[Symbol.iterator]();!(o=(f=h.next()).done);o=!0)if((l=f.value)in oQ(this,os)){var d={},p=oQ(this,os)[l];switch(oQ(this,ou)[l]=[],l){case"protocol":Object.assign(d,sa),d.encodePart=sd;break;case"username":Object.assign(d,sa),d.encodePart=sp;break;case"password":Object.assign(d,sa),d.encodePart=sv;break;case"hostname":Object.assign(d,so),su(p)?d.encodePart=sy:d.encodePart=sm;break;case"port":Object.assign(d,sa),d.encodePart=sg;break;case"pathname":sf(oQ(this,oc).protocol)?(Object.assign(d,ss,a),d.encodePart=sb):(Object.assign(d,sa,a),d.encodePart=s_);break;case"search":Object.assign(d,sa,a),d.encodePart=sw;break;case"hash":Object.assign(d,sa,a),d.encodePart=sk}try{oQ(this,of)[l]=se(p,d),oQ(this,oc)[l]=si(oQ(this,of)[l],oQ(this,ou)[l],d),oQ(this,ol)[l]=function(e,t){null!==(n=t.delimiter)&&void 0!==n||(t.delimiter="/#?"),null!==(r=t.prefixes)&&void 0!==r||(t.prefixes="./"),null!==(i=t.sensitive)&&void 0!==i||(t.sensitive=!1),null!==(a=t.strict)&&void 0!==a||(t.strict=!1),null!==(o=t.end)&&void 0!==o||(t.end=!0),null!==(s=t.start)&&void 0!==s||(t.start=!0),t.endsWith="";for(var n,r,i,a,o,s,c="[^".concat(t.delimiter.replace(/([.+*?^${}()[\]|/\\])/g,"\\$1"),"]+?"),u=RegExp("[$_\\u200C\\u200D\\p{ID_Continue}]","u"),l="",f=0;f0?e[f-1]:null,m=f0?m.value[0]:"";p=u.test(y)}else p=!m.hasCustomName()}if(!p&&!h.prefix.length&&v&&3===v.type){var g=v.value[v.value.length-1];p=t.prefixes.includes(g)}p&&(l+="{"),l+=sA(h.prefix),d&&(l+=":".concat(h.name)),2===h.type?l+="(".concat(h.value,")"):1===h.type?d||(l+="(".concat(c,")")):0===h.type&&(d||v&&3!==v.type&&3===v.modifier&&!p&&""===h.prefix?l+="(".concat(".*",")"):l+="*"),1===h.type&&d&&h.suffix.length&&u.test(h.suffix[0])&&(l+="\\"),l+=sA(h.suffix),p&&(l+="}"),3!==h.modifier&&(l+=sr(h.modifier))}return l}(oQ(this,of)[l],d)}catch(e){throw TypeError("invalid ".concat(l," pattern '").concat(oQ(this,os)[l],"'."))}}}catch(e){s=!0,c=e}finally{try{o||null==h.return||h.return()}finally{if(s)throw c}}}catch(e){throw TypeError("Failed to construct 'URLPattern': ".concat(e.message))}}return(0,oG._)(e,[{key:"test",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if("string"!=typeof e&&t)throw TypeError("parameter 1 is not of type 'string'.");if((void 0===e?"undefined":(0,oZ._)(e))>"u")return!1;try{n="object"==typeof e?sE(n,e,!1):sE(n,sj(e,t),!1)}catch(e){return!1}var r=!0,i=!1,a=void 0;try{for(var o,s,c=sO[Symbol.iterator]();!(r=(s=c.next()).done);r=!0)if(o=s.value,!oQ(this,oc)[o].exec(n[o]))return!1}catch(e){i=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw a}}return!0}},{key:"exec",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if("string"!=typeof e&&t)throw TypeError("parameter 1 is not of type 'string'.");if(!((void 0===e?"undefined":(0,oZ._)(e))>"u")){try{n="object"==typeof e?sE(n,e,!1):sE(n,sj(e,t),!1)}catch(e){return null}var r={};t?r.inputs=[e,t]:r.inputs=[e];var i=!0,a=!1,o=void 0;try{for(var s,c,u=sO[Symbol.iterator]();!(i=(c=u.next()).done);i=!0){s=c.value;var l,f=oQ(this,oc)[s].exec(n[s]);if(!f)return null;var h={},d=!0,p=!1,v=void 0;try{for(var m,y=oQ(this,ou)[s].entries()[Symbol.iterator]();!(d=(m=y.next()).done);d=!0){var g=(0,oJ._)(m.value,2),b=g[0],_=g[1];if("string"==typeof _||"number"==typeof _){var w=f[b+1];h[_]=w}}}catch(e){p=!0,v=e}finally{try{d||null==y.return||y.return()}finally{if(p)throw v}}r[s]={input:null!==(l=n[s])&&void 0!==l?l:"",groups:h}}}catch(e){a=!0,o=e}finally{try{i||null==u.return||u.return()}finally{if(a)throw o}}return r}}},{key:"protocol",get:function(){return oQ(this,ol).protocol}},{key:"username",get:function(){return oQ(this,ol).username}},{key:"password",get:function(){return oQ(this,ol).password}},{key:"hostname",get:function(){return oQ(this,ol).hostname}},{key:"port",get:function(){return oQ(this,ol).port}},{key:"pathname",get:function(){return oQ(this,ol).pathname}},{key:"search",get:function(){return oQ(this,ol).search}},{key:"hash",get:function(){return oQ(this,ol).hash}}],[{key:"compareComponent",value:function(e,t,n){var r=function(e,t){for(var n=0,r=["type","modifier","prefix","value","suffix"];n2&&void 0!==arguments[2]?arguments[2]:{},r=n.cancelable,i=n.bubbles,a=n.composed;return this.dispatchEvent(new CustomEvent(e,{detail:t,cancelable:r,bubbles:i,composed:a}))}},{key:"toString",value:function(){return(0,oD.stringifyDOM)(this.root)}}]),r}(t);return r(function(){var t;null===(t=globalThis.customElements)||void 0===t||t.define(e.tagName,this,e)}),i}}function cn(e,t){return function(n,r){return(0,r.addInitializer)(function(){var r=ce.get(this)||[],i=(0,oD.delegate)(t,n.bind(this));r.push({type:e,selector:t,handler:i}),ce.set(this,r)})}}s0({},"formField",function(){return cs});var cr=function(e,t,n,r,i,a){function o(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,c=r.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),h=!1,d=n.length-1;d>=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0},ci=function(e,t,n){for(var r=arguments.length>2,i=0;i2,i=0;i=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0},cf=function(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)},ch=function(e,t,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},cd=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},cp=(s=[ct({tagName:"async-cell"}),s6],c=[],u=HTMLElement,l=[],f=[],h=[],i=function(e){(0,oK._)(i,e);var r=(0,oY._)(i);function i(){var e;return(0,oV._)(this,i),e=r.call.apply(r,[this].concat(Array.prototype.slice.call(arguments))),Object.defineProperty((0,o$._)(e),"loader",{enumerable:!0,configurable:!0,writable:!0,value:void cu((0,o$._)(e),l)}),t.set((0,o$._)(e),cu((0,o$._)(e),f,void 0)),n.set((0,o$._)(e),cu((0,o$._)(e),h,void 0)),e}return(0,oG._)(i,[{key:"component",get:function(){return cf(this,t,"f")},set:function(e){ch(this,t,e,"f")}},{key:"delegatedProps",get:function(){return cf(this,n,"f")},set:function(e){ch(this,n,e,"f")}},{key:"connectedCallback",value:function(){this.load()}},{key:"load",value:function(){var e=this;return(0,sZ._)(function(){var t;return(0,oB.__generator)(this,function(n){switch(n.label){case 0:return e.component=void 0,[4,e.loader()];case 1:return t=n.sent(),e.component=function(e){var n=e.children,r=cd(e,["children"]);return(0,oM.jsx)(t,Object.assign({},r,{children:n}))},e.emit("load",e.component),[2]}})})()}},{key:"render",value:function(){var e=this.component,t=this.props,n=this.delegatedProps,r=Object.assign(Object.assign({},t),n),i=r.children,a=cd(r,["children"]);return e&&(0,oM.jsx)(e,Object.assign({},a,{children:i}))}}]),i}(u),t=new WeakMap,n=new WeakMap,d=i,p="AsyncCell","symbol"===(0,oZ._)(p)&&(p=p.description?"[".concat(p.description,"]"):""),Object.defineProperty(d,"name",{configurable:!0,value:v?"".concat(v," ",p):p}),y="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(m=u[Symbol.metadata])&&void 0!==m?m:null):void 0,a=[oq.observable],o=[oq.observable],cl(i,null,a,{kind:"accessor",name:"component",static:!1,private:!1,access:{has:function(e){return"component"in e},get:function(e){return e.component},set:function(e,t){e.component=t}},metadata:y},f,l),cl(i,null,o,{kind:"accessor",name:"delegatedProps",static:!1,private:!1,access:{has:function(e){return"delegatedProps"in e},get:function(e){return e.delegatedProps},set:function(e,t){e.delegatedProps=t}},metadata:y},h,l),cl(null,r={value:i},s,{kind:"class",name:i.name,metadata:y},null,c),i=r.value,y&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:y}),cu(i,c),i);function cv(e){return function(t){return(0,oM.jsx)(cp,{delegatedProps:t,loader:(0,sZ._)(function(){return(0,oB.__generator)(this,function(t){switch(t.label){case 0:return[4,e()];case 1:return[2,t.sent().default]}})})})}}var cm={};s0(cm,"AnimateCSS",function(){return cw});var cy=function(e,t,n,r,i,a){function o(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,c=r.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),h=!1,d=n.length-1;d>=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0},cg=function(e,t,n){for(var r=arguments.length>2,i=0;i=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0},cj=function(e,t,n){for(var r=arguments.length>2,i=0;i0&&void 0!==arguments[0]?arguments[0]:cA.href;return(e=e.replace(cP,""))===this.path?e:(this.oldPath=this.path,this.path=e)}},{key:"titleOf",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.path;e=e.replace(/^\//,"");var t=!0,n=!1,r=void 0;if(e)try{for(var i,a=document.querySelectorAll('a[href="'.concat(e,'"], area[href="').concat(e,'"]'))[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var o=i.value,s=B.getTitle(o);if(s)return s}}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}}},{key:"handleLink",value:function(e,t){var n=t.getAttribute("href");if(!("_self"!==(t.target||"_self")||(0,oD.isXDomain)(n))){if(e.preventDefault(),n.startsWith("#"))try{if(document.querySelector(n))return(0,oD.scrollTo)(n,e.currentTarget)}catch(e){}var r=B.getTitle(t);cT.pushState({title:r},document.title=r,n),this.push(n)}}}],[{key:"dataOf",value:function(e){var t=(0,oJ._)(e.split("#"),2),n=t[0],r=t[1];return(0,oD.parseURLData)(r||n)}},{key:"match",value:function(e,t){if(t){var n,r=new URLPattern(e,cP).exec(new URL(t.split("?")[0],cP))||{},i=r.pathname;return null===(n=r.hash||i)||void 0===n?void 0:n.groups}}},{key:"getTitle",value:function(e){return e.title||(0,oD.getVisibleText)(e)}}]),e}(),D=new WeakMap,F=new WeakMap,V="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0,U=[oq.observable],z=[oq.observable],H=[oq.action],cO(B,null,U,{kind:"accessor",name:"path",static:!1,private:!1,access:{has:function(e){return"path"in e},get:function(e){return e.path},set:function(e,t){e.path=t}},metadata:V},q,W),cO(B,null,z,{kind:"accessor",name:"oldPath",static:!1,private:!1,access:{has:function(e){return"oldPath"in e},get:function(e){return e.oldPath},set:function(e,t){e.oldPath=t}},metadata:V},$,W),cO(B,null,H,{kind:"method",name:"push",static:!1,private:!1,access:{has:function(e){return"push"in e},get:function(e){return e.push}},metadata:V},null,W),V&&Object.defineProperty(B,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:V}),B),cI=new cC;ck({},"CellRoute",function(){return cD});var cL=function(e,t,n,r,i,a){function o(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,c=r.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),h=!1,d=n.length-1;d>=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0},cR=function(e,t,n){for(var r=arguments.length>2,i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function cU(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mode,n=cF(e,["mode"]),r="hash"===(void 0===t?"hash":t)?"#":"";return{Route:function(e){var t=e.path,i=cF(e,["path"]);return(0,oM.jsx)(cD,Object.assign({},i,n,{path:r+t}))},Link:function(e){var t=e.to,n=e.children,i=cF(e,["to","children"]);return(0,oM.jsx)("a",Object.assign({},i,{href:r+t,children:n}))},Form:function(e){var t=e.action,n=e.children,i=cF(e,["action","children"]);return(0,oM.jsx)("form",Object.assign({},i,{action:r+t,children:n}))}}}var o$=oL("7m3ow"),oV=oL("cmOe7"),oG=oL("6CHtA"),oK=oL("hJgGh"),oJ=oL("4hdwe"),oZ=oL("jCO7g"),oY=oL("9GB8M"),cz={};!/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/function(){var e={}.hasOwnProperty;function t(){for(var r="",i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},c$=function(e){var t=e.className,n=e.fluid,r=e.children,i=cq(e,["className","fluid","children"]);return(0,oM.jsx)("div",Object.assign({className:"container".concat(!0===n?"-fluid":n?"-".concat(n):""," ").concat(void 0===t?"":t)},i,{children:r}))};cH({},"Table",function(){return cG});var cV=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},cG=function(e){e.className;var t=e.variant,n=e.size,r=e.responsive,i=e.striped,a=e.hover,o=e.bordered,s=e.borderless,c=e.caption,u=e.children,l=cV(e,["className","variant","size","responsive","striped","hover","bordered","borderless","caption","children"]),f=(0,oM.jsx)("table",Object.assign({className:oN(cz)("table",t&&"table-".concat(t),n&&"table-".concat(n),i&&"table-striped".concat("columns"===i?"-columns":""),a&&"table-hover",o&&"table-bordered",s&&"table-borderless",c&&"caption-".concat(c))},l,{children:u}));return r?(0,oM.jsx)("div",{className:"table-responsive".concat(!0===r?"":"-".concat(r)),children:f}):f};function cK(e,t){return function(n){return n&&new IntersectionObserver(function(n){return(0,oJ._)(n,1)[0].isIntersecting&&t(e)}).observe(n)}}cH({},"ScrollBoundary",function(){return cJ});var cJ=function(e){var t=e.className,n=e.onTouch,r=e.top,i=e.left,a=e.right,o=e.bottom,s=e.children;return(0,oM.jsxs)("div",{className:oN(cz)("position-relative",t),children:[(0,oM.jsx)("div",{className:"position-absolute top-0 left-0 w-100",ref:cK("top",n),children:r}),(0,oM.jsx)("div",{className:"position-absolute top-0 left-0 h-100",ref:cK("left",n),children:i}),s,(0,oM.jsx)("div",{className:"position-absolute top-0 right-0 h-100",ref:cK("right",n),children:a}),(0,oM.jsx)("div",{className:"position-absolute top-100 left-0 w-100",ref:cK("bottom",n),children:o})]})};cH({},"Jumbotron",function(){return cY});var cZ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},cY=function(e){var t=e.className,n=e.fluid,r=e.bg,i=void 0===r?"body-tertiary":r,a=e.rounded,o=void 0===a?n?0:3:a,s=e.title,c=e.description,u=e.children,l=cZ(e,["className","fluid","bg","rounded","title","description","children"]),f=(0,oM.jsxs)(oM.Fragment,{children:[(0,oM.jsx)("h1",{className:"display-4",children:s}),(0,oM.jsx)("p",{className:"lead",children:c}),u&&(0,oM.jsxs)(oM.Fragment,{children:[(0,oM.jsx)("hr",{className:"my-4"}),u]})]});return(0,oM.jsx)("header",Object.assign({className:oN(cz)("py-5",!n&&"px-5",i&&"bg-".concat(i),o&&"rounded-".concat(o),t)},l,{children:n?(0,oM.jsx)(c$,{fluid:n,children:f}):f}))},cX={};cH(cX,"Card",function(){return c2}),cH(cX,"CardBody",function(){return c4}),cH(cX,"CardHeader",function(){return c3}),cH(cX,"CardFooter",function(){return c5}),cH(cX,"CardTitle",function(){return c6}),cH(cX,"CardImg",function(){return c8}),cH({},"Image",function(){return c0});var cQ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},c0=function(e){var t=e.className,n=e.fluid,r=e.rounded,i=e.roundedCircle,a=e.thumbnail,o=cQ(e,["className","fluid","rounded","roundedCircle","thumbnail"]);return(0,oM.jsx)("img",Object.assign({className:oN(cz)(n&&"img-fluid",a&&"img-thumbnail",{rounded:r},i&&"rounded-circle",t)},o))},c1=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},c2=function(e){var t=e.className,n=e.bg,r=e.text,i=e.border,a=e.body,o=e.children,s=c1(e,["className","bg","text","border","body","children"]);return(0,oM.jsx)("div",Object.assign({className:oN(cz)("card",n&&"text-bg-".concat(n),r&&"text-".concat(r),i&&"border-".concat(i),t)},s,{children:a?(0,oM.jsx)(c4,{children:o}):o}))},c3=function(e){var t=e.className,n=e.children,r=c1(e,["className","children"]);return(0,oM.jsx)("div",Object.assign({className:"card-header ".concat(void 0===t?"":t)},r,{children:n}))},c4=function(e){var t=e.className,n=e.children,r=c1(e,["className","children"]);return(0,oM.jsx)("div",Object.assign({className:"card-body ".concat(void 0===t?"":t)},r,{children:n}))},c5=function(e){var t=e.className,n=e.children,r=c1(e,["className","children"]);return(0,oM.jsx)("div",Object.assign({className:"card-footer ".concat(void 0===t?"":t)},r,{children:n}))},c6=function(e){var t=e.className,n=e.children,r=c1(e,["className","children"]);return(0,oM.jsx)("h5",Object.assign({className:"card-title ".concat(void 0===t?"":t)},r,{children:n}))},c8=function(e){var t=e.className,n=e.variant,r=c1(e,["className","variant"]);return(0,oM.jsx)(c0,Object.assign({className:"card-img".concat(n?"-".concat(n):""," ").concat(void 0===t?"":t)},r))},c7={};cH(c7,"FormGroup",function(){return ue}),cH(c7,"FormLabel",function(){return ut}),cH(c7,"FloatingLabel",function(){return un}),cH(c7,"InputGroup",function(){return ur}),cH(c7,"InputGroupText",function(){return ui}),cH(c7,"FormControl",function(){return ua}),cH(c7,"FormCheck",function(){return uo}),cH(c7,"FormField",function(){return us});var c9=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},ue=function(e){var t=e.children,n=c9(e,["children"]);return(0,oM.jsx)("div",Object.assign({},n,{children:t}))},ut=function(e){var t=e.className,n=e.children,r=c9(e,["className","children"]);return(0,oM.jsx)("label",Object.assign({className:"form-label ".concat(void 0===t?"":t)},r,{children:n}))},un=function(e){var t=e.className,n=e.style,r=e.label,i=e.children,a=c9(e,["className","style","label","children"]);return(0,oM.jsxs)("div",{className:"form-floating ".concat(void 0===t?"":t),style:n,children:[i,(0,oM.jsx)("label",Object.assign({},a,{children:r}))]})},ur=function(e){var t=e.className,n=e.size,r=e.children,i=c9(e,["className","size","children"]);return(0,oM.jsx)("div",Object.assign({className:oN(cz)("input-group",n&&"input-group-".concat(n),void 0===t?"":t)},i,{children:r}))},ui=function(e){var t=e.className,n=e.children,r=c9(e,["className","children"]);return(0,oM.jsx)("span",Object.assign({className:"input-group-text ".concat(void 0===t?"":t)},r,{children:n}))},ua=function(e){var t=e.as,n=e.className,r=e.htmlSize,i=e.size,a=e.plaintext,o=c9(e,["as","className","htmlSize","size","plaintext"]);return(0,oM.jsx)(t,Object.assign({className:oN(cz)("form-control",i&&"form-control-".concat(i),o.readOnly&&a&&"form-control-plaintext","color"===o.type&&"form-control-color",void 0===n?"":n)},o,{size:r}))},uo=function(e){var t=e.id,n=void 0===t?(0,oD.uniqueID)():t,r=e.className,i=e.style,a=e.title,o=e.type,s=e.inline,c=e.reverse,u=e.label,l=c9(e,["id","className","style","title","type","inline","reverse","label"]);return(0,oM.jsxs)("div",{className:oN(cz)(u&&"form-check",s&&"form-check-inline",c&&"form-check-reverse","switch"===o&&"form-switch",void 0===r?"":r),style:i,children:[(0,oM.jsx)("input",Object.assign({className:"form-check-input",type:"switch"===o?"checkbox":o,role:"switch"===o?"switch":void 0,id:n},l)),u&&(0,oM.jsx)("label",{className:"form-check-label",htmlFor:n,title:a,children:u})]})},us=function(e){var t=e.className,n=e.label,r=e.labelFloat,i=c9(e,["className","label","labelFloat"]);n||(n=i.title||i.placeholder);var a=(0,oM.jsx)(ua,Object.assign({},i));return r?(0,oM.jsx)(un,{className:t,label:n,children:a}):(0,oM.jsxs)(ue,{className:t,children:[(0,oM.jsx)(ut,{children:n}),a]})},uc={};cH(uc,"Button",function(){return up}),cH(uc,"isButton",function(){return uv}),cH(uc,"IconButton",function(){return um}),cH(uc,"CloseButton",function(){return uy});var uu={};cH(uu,"Icon",function(){return uf}),cH(uu,"BGIcon",function(){return uh});var ul=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},uf=function(e){var t=e.className,n=e.style,r=e.color,i=e.name,a=e.size,o=(e.children,ul(e,["className","style","color","name","size","children"]));return(0,oM.jsx)("i",Object.assign({className:oN(cz)("bi-".concat(i),r&&"text-".concat(r),t),style:Object.assign(Object.assign({},n),{fontSize:a?"".concat(a,"rem"):void 0})},o))},uh=function(e){var t=e.className,n=e.type,r=e.color,i=void 0===r?"primary":r,a=(e.children,ul(e,["className","type","color","children"]));return(0,oM.jsx)("span",Object.assign({className:oN(cz)("d-inline-block","p-3","bg-".concat(i),"rounded".concat("square"===(void 0===n?"square":n)?"":"-circle"),void 0===t?"":t)},a,{children:(0,oM.jsx)(uf,Object.assign({color:"light"===i?"dark":"light"},a))}))},ud=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},up=function(e){var t=e.className,n=e.href,r=e.variant,i=e.size,a=e.active,o=e.children,s=ud(e,["className","href","variant","size","active","children"]),c=s.disabled,u=s.tabIndex,l=oN(cz)("btn",r&&"btn-".concat(r),i&&"btn-".concat(i),t);return n?(0,oM.jsx)("a",Object.assign({role:"button",className:oN(cz)(l,{disabled:c,active:a}),tabIndex:c?-1:u,ariaDisabled:null==c?void 0:c.toString(),ariaPressed:null==a?void 0:a.toString(),href:n},s,{children:o})):(0,oM.jsx)("button",Object.assign({className:l},s,{ariaPressed:null==a?void 0:a.toString(),children:o}))};function uv(e){var t,n=e.selector,r=e.props;return/^(a|input|button)/.test(n)&&(null===(t=null==r?void 0:r.className)||void 0===t?void 0:t.btn)}var um=function(e){var t=e.className,n=e.name,r=ud(e,["className","name"]);return(0,oM.jsx)(up,Object.assign({className:oN(cz)("p-1",t),style:{lineHeight:"0.8"}},r,{children:(0,oM.jsx)(uf,{name:n})}))},uy=function(e){var t=e.className,n=ud(e,["className"]);return(0,oM.jsx)("button",Object.assign({className:"btn-close ".concat(void 0===t?"":t),type:"button",ariaLabel:"Close"},n))};cH({},"Badge",function(){return ub});var ug=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},ub=function(e){var t=e.className,n=e.bg,r=e.text,i=e.pill,a=e.href,o=e.children,s=ug(e,["className","bg","text","pill","href","children"]),c=oN(cz)("badge",n&&"text-bg-".concat(n),r&&"text-".concat(r),i&&"rounded-pill",a&&"text-decoration-none",t);return a?(0,oM.jsx)("a",Object.assign({},s,{className:c,href:a,children:o})):(0,oM.jsx)("span",Object.assign({},s,{className:c,children:o}))},u_={};cH(u_,"Spinner",function(){return uk}),cH(u_,"SpinnerBox",function(){return ux});var uw=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},uk=function(e){var t=e.className,n=e.variant,r=e.size,i=e.animation,a=void 0===i?"border":i,o=e.children,s=uw(e,["className","variant","size","animation","children"]);return(0,oM.jsx)("div",Object.assign({className:oN(cz)("spinner-".concat(a),r&&"spinner-".concat(a,"-").concat(r),n&&"text-".concat(n),t),role:"status"},s,{children:(0,oM.jsx)("span",{className:"visually-hidden",children:void 0===o?"Loading...":o})}))},ux=function(e){var t=e.className,n=e.cover,r=e.variant,i=e.size,a=e.animation,o=e.role,s=e.children,c=uw(e,["className","cover","variant","size","animation","role","children"]);return(0,oM.jsxs)("div",Object.assign({className:"position-relative ".concat(void 0===t?"":t)},c,{children:[s,n&&(0,oM.jsx)("div",{className:"modal-backdrop show d-flex justify-content-center align-items-center",children:(0,oM.jsx)(uk,{variant:r,size:i,animation:a,role:o,ariaHidden:"true"})})]}))},uO={};cH(uO,"Tooltip",function(){return uP}),cH(uO,"TooltipBox",function(){return uN});var uj=function(e,t,n){for(var r=arguments.length>2,i=0;i=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0},uE=function(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)},uA=function(e,t,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},uT=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},uP=function(e){var t=e.className,n=e.children,r=uT(e,["className","children"]);return(0,oM.jsxs)("div",Object.assign({className:"tooltip bs-tooltip show position-absolute ".concat(void 0===t?"":t),role:"tooltip"},r,{children:[(0,oM.jsx)("div",{className:"tooltip-arrow"}),(0,oM.jsx)("div",{className:"tooltip-inner",children:n})]}))},uN=(eb=[ct({tagName:"tooltip-box",mode:"open"}),s6],e_=[],ew=HTMLElement,ek=[],ex=[],eg=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(){var e;return(0,oV._)(this,n),e=t.call.apply(t,[this].concat(Array.prototype.slice.call(arguments))),Object.defineProperty((0,o$._)(e),"content",{enumerable:!0,configurable:!0,writable:!0,value:void uj((0,o$._)(e),ek)}),em.set((0,o$._)(e),uj((0,o$._)(e),ex,!1)),Object.defineProperty((0,o$._)(e),"handleToggle",{enumerable:!0,configurable:!0,writable:!0,value:function(){return e.show=!e.show}}),e}return(0,oG._)(n,[{key:"show",get:function(){return uE(this,em,"f")},set:function(e){uA(this,em,e,"f")}},{key:"connectedCallback",value:function(){this.style.display="inline-block",this.addEventListener("mouseenter",this.handleToggle),this.addEventListener("mouseleave",this.handleToggle)}},{key:"disconnectedCallback",value:function(){this.removeEventListener("mouseenter",this.handleToggle),this.removeEventListener("mouseleave",this.handleToggle)}},{key:"render",value:function(){var e=this.content,t=this.show;return(0,oM.jsxs)(oM.Fragment,{children:[(0,oM.jsx)("link",{rel:"stylesheet",href:"https://unpkg.com/bootstrap@5.3.2/dist/css/bootstrap.min.css"}),(0,oM.jsx)("slot",{}),t&&(0,oM.jsx)(uP,{children:e})]})}}]),n}(ew),em=new WeakMap,eO=eg,ej="TooltipBox","symbol"===(0,oZ._)(ej)&&(ej=ej.description?"[".concat(ej.description,"]"):""),Object.defineProperty(eO,"name",{configurable:!0,value:eS?"".concat(eS," ",ej):ej}),eA="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(eE=ew[Symbol.metadata])&&void 0!==eE?eE:null):void 0,uS(eg,null,[s8,oq.observable],{kind:"accessor",name:"show",static:!1,private:!1,access:{has:function(e){return"show"in e},get:function(e){return e.show},set:function(e,t){e.show=t}},metadata:eA},ex,ek),uS(null,ey={value:eg},eb,{kind:"class",name:eg.name,metadata:eA},null,e_),eg=ey.value,eA&&Object.defineProperty(eg,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:eA}),uj(eg,e_),eg),uC={};cH(uC,"Dropdown",function(){return uD}),cH(uC,"DropdownToggle",function(){return uF}),cH(uC,"DropdownMenu",function(){return uU}),cH(uC,"DropdownItem",function(){return uz}),cH(uC,"DropdownButton",function(){return uH});var uI=function(e,t,n,r,i,a){function o(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,c=r.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),h=!1,d=n.length-1;d>=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0},uL=function(e,t,n){for(var r=arguments.length>2,i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},uD=function(e){var t=e.className,n=e.children,r=uB(e,["className","children"]);return(0,oM.jsx)("div",Object.assign({className:"dropdown ".concat(void 0===t?"":t)},r,{children:n}))},uF=function(e){var t=e.className,n=e.children,r=uB(e,["className","children"]);return(0,oM.jsx)(up,Object.assign({},r,{className:"dropdown-toggle ".concat(void 0===t?"":t),type:"button",children:n}))},uU=function(e){var t=e.className,n=e.children,r=uB(e,["className","children"]);return(0,oM.jsx)("nav",Object.assign({className:"dropdown-menu ".concat(void 0===t?"":t)},r,{children:n}))},uz=function(e){var t=e.className,n=e.children,r=uB(e,["className","children"]);return(0,oM.jsx)("a",Object.assign({className:"dropdown-item ".concat(void 0===t?"":t)},r,{children:n}))},uH=(e$=[ct({tagName:"dropdown-button",mode:"open"}),s6],eV=[],eG=HTMLElement,eK=[],eJ=[],eZ=[],eY=[],eX=[],eQ=[],e0=[],e1=[],eB=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(){var e;return(0,oV._)(this,n),e=t.call.apply(t,[this].concat(Array.prototype.slice.call(arguments))),eT.set((0,o$._)(e),(uL((0,o$._)(e),eK),uL((0,o$._)(e),eJ,void 0))),eP.set((0,o$._)(e),uL((0,o$._)(e),eZ,void 0)),eN.set((0,o$._)(e),uL((0,o$._)(e),eY,void 0)),eC.set((0,o$._)(e),uL((0,o$._)(e),eX,void 0)),eI.set((0,o$._)(e),uL((0,o$._)(e),eQ,void 0)),eL.set((0,o$._)(e),uL((0,o$._)(e),e0,!1)),eR.set((0,o$._)(e),uL((0,o$._)(e),e1,!1)),e}return(0,oG._)(n,[{key:"boxClass",get:function(){return uR(this,eT,"f")},set:function(e){uM(this,eT,e,"f")}},{key:"buttonClass",get:function(){return uR(this,eP,"f")},set:function(e){uM(this,eP,e,"f")}},{key:"variant",get:function(){return uR(this,eN,"f")},set:function(e){uM(this,eN,e,"f")}},{key:"size",get:function(){return uR(this,eC,"f")},set:function(e){uM(this,eC,e,"f")}},{key:"caption",get:function(){return uR(this,eI,"f")},set:function(e){uM(this,eI,e,"f")}},{key:"disabled",get:function(){return uR(this,eL,"f")},set:function(e){uM(this,eL,e,"f")}},{key:"show",get:function(){return uR(this,eR,"f")},set:function(e){uM(this,eR,e,"f")}},{key:"renderContent",value:function(){var e=this,t=this.boxClass,n=this.buttonClass,r=this.variant,i=this.size,a=this.caption,o=this.disabled,s=this.show;return(0,oM.jsxs)(uD,{className:oN(cz)(t,{show:s}),children:[(0,oM.jsx)(uF,{className:oN(cz)(n,{show:s}),variant:r,size:i,disabled:o,onClick:function(){return e.show=!s},children:a}),(0,oM.jsx)(uU,{className:oN(cz)({show:s}),children:(0,oM.jsx)("slot",{})})]})}},{key:"render",value:function(){return(0,oM.jsxs)(oM.Fragment,{children:[(0,oM.jsx)("link",{rel:"stylesheet",href:"https://unpkg.com/bootstrap@5.3.2/dist/css/bootstrap.min.css"}),(0,oM.jsx)("style",{children:":host {\n display: inline-block;\n }"}),this.renderContent()]})}}]),n}(eG),eT=new WeakMap,eP=new WeakMap,eN=new WeakMap,eC=new WeakMap,eI=new WeakMap,eL=new WeakMap,eR=new WeakMap,e2=eB,e3="DropdownButton","symbol"===(0,oZ._)(e3)&&(e3=e3.description?"[".concat(e3.description,"]"):""),Object.defineProperty(e2,"name",{configurable:!0,value:e4?"".concat(e4," ",e3):e3}),e6="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e5=eG[Symbol.metadata])&&void 0!==e5?e5:null):void 0,eD=[s8,oq.observable],eF=[s8,oq.observable],eU=[s8,oq.observable],ez=[s8,oq.observable],eH=[oq.observable],eW=[s8,oq.observable],eq=[s8,oq.observable],uI(eB,null,eD,{kind:"accessor",name:"boxClass",static:!1,private:!1,access:{has:function(e){return"boxClass"in e},get:function(e){return e.boxClass},set:function(e,t){e.boxClass=t}},metadata:e6},eJ,eK),uI(eB,null,eF,{kind:"accessor",name:"buttonClass",static:!1,private:!1,access:{has:function(e){return"buttonClass"in e},get:function(e){return e.buttonClass},set:function(e,t){e.buttonClass=t}},metadata:e6},eZ,eK),uI(eB,null,eU,{kind:"accessor",name:"variant",static:!1,private:!1,access:{has:function(e){return"variant"in e},get:function(e){return e.variant},set:function(e,t){e.variant=t}},metadata:e6},eY,eK),uI(eB,null,ez,{kind:"accessor",name:"size",static:!1,private:!1,access:{has:function(e){return"size"in e},get:function(e){return e.size},set:function(e,t){e.size=t}},metadata:e6},eX,eK),uI(eB,null,eH,{kind:"accessor",name:"caption",static:!1,private:!1,access:{has:function(e){return"caption"in e},get:function(e){return e.caption},set:function(e,t){e.caption=t}},metadata:e6},eQ,eK),uI(eB,null,eW,{kind:"accessor",name:"disabled",static:!1,private:!1,access:{has:function(e){return"disabled"in e},get:function(e){return e.disabled},set:function(e,t){e.disabled=t}},metadata:e6},e0,eK),uI(eB,null,eq,{kind:"accessor",name:"show",static:!1,private:!1,access:{has:function(e){return"show"in e},get:function(e){return e.show},set:function(e,t){e.show=t}},metadata:e6},e1,eK),uI(null,eM={value:eB},e$,{kind:"class",name:eB.name,metadata:e6},null,eV),eB=eM.value,e6&&Object.defineProperty(eB,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e6}),uL(eB,eV),eB),uW={};cH(uW,"NavLink",function(){return u$}),cH(uW,"NavDropdown",function(){return uV}),cH(uW,"Nav",function(){return uG});var uq=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},u$=function(e){var t=e.className,n=e.active,r=e.children,i=uq(e,["className","active","children"]);return(0,oM.jsx)("a",Object.assign({className:"nav-link ".concat(n?"active":""," ").concat(void 0===t?"":t)},i,{children:r}))},uV=function(e){var t=e.title,n=e.children,r=uq(e,["title","children"]);return(0,oM.jsx)(uH,Object.assign({boxClass:"nav-item",buttonClass:"nav-link",caption:t},r,{children:n}))},uG=(e9=[ct({tagName:"bs-nav",mode:"open"})],te=[],tn=e7=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(){return(0,oV._)(this,n),t.apply(this,arguments)}return(0,oG._)(n,[{key:"connectedCallback",value:function(){var e,t=this.closest("offcanvas-navbar, .navbar");if(!t)return this.classList.add("nav");var n=t.expand||(null===(e=t.className.match(/navbar-expand(-(\S+))?/))||void 0===e?void 0:e[2]);this.classList.add("navbar-nav","align-items-center",n&&"flex-column",n&&"flex-".concat(n,"-row"))}},{key:"render",value:function(){return(0,oM.jsx)("slot",{})}}]),n}(tt=HTMLElement),tr="Nav","symbol"===(0,oZ._)(tr)&&(tr=tr.description?"[".concat(tr.description,"]"):""),Object.defineProperty(tn,"name",{configurable:!0,value:ti?"".concat(ti," ",tr):tr}),to="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(ta=tt[Symbol.metadata])&&void 0!==ta?ta:null):void 0,function(e,t,n,r,i,a){function o(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,c=r.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),h=!1,d=n.length-1;d>=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0}(null,e8={value:e7},e9,{kind:"class",name:e7.name,metadata:to},null,te),e7=e8.value,to&&Object.defineProperty(e7,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:to}),function(e,t,n){for(var r=arguments.length>2,i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},uY=function(e){var t=e.className,n=e.children,r=uZ(e,["className","children"]);return(0,oM.jsx)("h5",Object.assign({className:"offcanvas-title ".concat(void 0===t?"":t)},r,{children:n}))},uX=function(e){var t=e.className,n=e.closeButton,r=e.children,i=e.onHide,a=uZ(e,["className","closeButton","children","onHide"]);return(0,oM.jsxs)("div",Object.assign({className:"offcanvas-header ".concat(void 0===t?"":t)},a,{children:[r,n&&(0,oM.jsx)(uy,{onClick:i})]}))},uQ=function(e){var t=e.className,n=e.children,r=uZ(e,["className","children"]);return(0,oM.jsx)("div",Object.assign({className:"offcanvas-body ".concat(void 0===t?"":t)},r,{children:n}))},u0=function(e){var t=e.className,n=e.style,r=e.backdrop,i=e.show,a=e.onHide,o=e.children,s=uZ(e,["className","style","backdrop","show","onHide","children"]);return(0,oM.jsxs)(oM.Fragment,{children:[(0,oM.jsx)("div",Object.assign({className:oN(cz)("offcanvas",i?"offcanvas-end show":"offcanvas-start",void 0===t?"":t),style:Object.assign({maxWidth:"75vw"},n),tabIndex:-1},"static"===(void 0===r||r)?{"data-bs-backdrop":"static"}:{},s,{children:o})),i&&(0,oM.jsx)("div",{className:"offcanvas-backdrop show",onClick:a})]})},u1=function(e){var t=e.title,n=e.titleId,r=void 0===n?(0,oD.uniqueID)():n,i=e.closeButton,a=e.onHide,o=e.children,s=uZ(e,["title","titleId","closeButton","onHide","children"]);return(0,oM.jsxs)(u0,Object.assign({},s,{onHide:a,"aria-labelledby":r,children:[(0,oM.jsx)(uX,{closeButton:i,onHide:a,children:(0,oM.jsx)(uY,{id:r,children:t})}),(0,oM.jsx)(uQ,{children:o})]}))},u2=function(e,t,n,r,i,a){function o(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,c=r.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),h=!1,d=n.length-1;d>=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0},u3=function(e,t,n){for(var r=arguments.length>2,i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},u8=function(e){var t=e.className,n=e.children,r=u6(e,["className","children"]);return(0,oM.jsx)("a",Object.assign({className:"navbar-brand ".concat(void 0===t?"":t)},r,{children:n}))},u7=function(e){var t=e.className,n=(e.type,e.children,u6(e,["className","type","children"]));return(0,oM.jsx)("button",Object.assign({className:"navbar-toggler ".concat(void 0===t?"":t),type:"button"},n,{children:(0,oM.jsx)("span",{className:"navbar-toggler-icon"})}))},u9=function(e){var t=e.variant,n=e.bg,r=e.fixed,i=e.sticky,a=e.expand,o=e.children;return(0,oM.jsx)("nav",{className:"navbar bg-".concat(void 0===n?"body-tertiary":n," ").concat(r?"fixed-".concat(r):""," ").concat(i?"sticky-".concat(i):""," ").concat(a?"navbar-expand".concat(!0===a?"":"-".concat(a)):""),"data-bs-theme":void 0===t?"light":t,children:o})},le=(tT=[ct({tagName:"offcanvas-navbar",mode:"open"}),s6],tP=[],tN=HTMLElement,tC=[],tI=[],tL=[],tR=[],tM=[],tB=[],tD=[],tF=[],tU=[],tz=[],tH=[],tg=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(){var e;return(0,oV._)(this,n),e=t.call.apply(t,[this].concat(Array.prototype.slice.call(arguments))),ts.set((0,o$._)(e),(u3((0,o$._)(e),tC),u3((0,o$._)(e),tI,void 0))),tc.set((0,o$._)(e),u3((0,o$._)(e),tL,void 0)),tu.set((0,o$._)(e),u3((0,o$._)(e),tR,void 0)),tl.set((0,o$._)(e),u3((0,o$._)(e),tM,void 0)),tf.set((0,o$._)(e),u3((0,o$._)(e),tB,void 0)),th.set((0,o$._)(e),u3((0,o$._)(e),tD,void 0)),td.set((0,o$._)(e),u3((0,o$._)(e),tF,void 0)),Object.defineProperty((0,o$._)(e),"titleId",{enumerable:!0,configurable:!0,writable:!0,value:(0,oD.uniqueID)()}),tp.set((0,o$._)(e),u3((0,o$._)(e),tU,void 0)),Object.defineProperty((0,o$._)(e),"offcanvasId",{enumerable:!0,configurable:!0,writable:!0,value:(0,oD.uniqueID)()}),tv.set((0,o$._)(e),u3((0,o$._)(e),tz,!1)),tm.set((0,o$._)(e),u3((0,o$._)(e),tH,!0)),Object.defineProperty((0,o$._)(e),"close",{enumerable:!0,configurable:!0,writable:!0,value:function(t){(!(t instanceof KeyboardEvent)||["Escape","Enter"].includes(t.key))&&(e.open=!1)}}),Object.defineProperty((0,o$._)(e),"handleLink",{enumerable:!0,configurable:!0,writable:!0,value:(0,oD.delegate)("a[href].nav-link",e.close)}),e}return(0,oG._)(n,[{key:"variant",get:function(){return u4(this,ts,"f")},set:function(e){u5(this,ts,e,"f")}},{key:"bg",get:function(){return u4(this,tc,"f")},set:function(e){u5(this,tc,e,"f")}},{key:"expand",get:function(){return u4(this,tu,"f")},set:function(e){u5(this,tu,e,"f")}},{key:"fixed",get:function(){return u4(this,tl,"f")},set:function(e){u5(this,tl,e,"f")}},{key:"sticky",get:function(){return u4(this,tf,"f")},set:function(e){u5(this,tf,e,"f")}},{key:"fluid",get:function(){return u4(this,th,"f")},set:function(e){u5(this,th,e,"f")}},{key:"title",get:function(){return u4(this,td,"f")},set:function(e){u5(this,td,e,"f")}},{key:"brand",get:function(){return u4(this,tp,"f")},set:function(e){u5(this,tp,e,"f")}},{key:"open",get:function(){return u4(this,tv,"f")},set:function(e){u5(this,tv,e,"f")}},{key:"closeButton",get:function(){return u4(this,tm,"f")},set:function(e){u5(this,tm,e,"f")}},{key:"connectedCallback",value:function(){var e;null===(e=globalThis.addEventListener)||void 0===e||e.call(globalThis,"keyup",this.close,!0),this.addEventListener("click",this.handleLink)}},{key:"disconnectedCallback",value:function(){var e;null===(e=globalThis.removeEventListener)||void 0===e||e.call(globalThis,"keyup",this.close,!0),this.addEventListener("click",this.handleLink)}},{key:"renderContent",value:function(){var e=this,t=this.variant,n=this.bg,r=this.expand,i=this.fixed,a=this.sticky,o=this.fluid,s=this.brand,c=this.title,u=this.titleId,l=this.offcanvasId,f=this.open,h=this.closeButton;return(0,oM.jsx)(u9,{variant:t,bg:n,expand:r,fixed:i,sticky:a,children:(0,oM.jsxs)(c$,{fluid:o,children:[s||c,(0,oM.jsx)(u7,{"aria-controls":l,ariaLabel:"Toggle navigation",onClick:function(){return e.open=!0}}),(0,oM.jsxs)(u0,{id:l,"aria-labelledby":u,show:f,onHide:this.close,children:[(0,oM.jsx)(uX,{closeButton:h,onHide:function(){return e.open=!1},children:(0,oM.jsx)(uY,{id:u,children:s||c})}),(0,oM.jsx)(uQ,{children:(0,oM.jsx)("slot",{})})]})]})})}},{key:"render",value:function(){return(0,oM.jsxs)(oM.Fragment,{children:[(0,oM.jsx)("link",{rel:"stylesheet",href:"https://unpkg.com/bootstrap@5.3.2/dist/css/bootstrap.min.css"}),this.renderContent()]})}}]),n}(tN),ts=new WeakMap,tc=new WeakMap,tu=new WeakMap,tl=new WeakMap,tf=new WeakMap,th=new WeakMap,td=new WeakMap,tp=new WeakMap,tv=new WeakMap,tm=new WeakMap,tW=tg,tq="OffcanvasNavbar","symbol"===(0,oZ._)(tq)&&(tq=tq.description?"[".concat(tq.description,"]"):""),Object.defineProperty(tW,"name",{configurable:!0,value:t$?"".concat(t$," ",tq):tq}),tG="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(tV=tN[Symbol.metadata])&&void 0!==tV?tV:null):void 0,tb=[s8,oq.observable],t_=[s8,oq.observable],tw=[s8,oq.observable],tk=[s8,oq.observable],tx=[s8,oq.observable],tO=[s8,oq.observable],tj=[s8,oq.observable],tS=[oq.observable],tE=[s8,oq.observable],tA=[s8,oq.observable],u2(tg,null,tb,{kind:"accessor",name:"variant",static:!1,private:!1,access:{has:function(e){return"variant"in e},get:function(e){return e.variant},set:function(e,t){e.variant=t}},metadata:tG},tI,tC),u2(tg,null,t_,{kind:"accessor",name:"bg",static:!1,private:!1,access:{has:function(e){return"bg"in e},get:function(e){return e.bg},set:function(e,t){e.bg=t}},metadata:tG},tL,tC),u2(tg,null,tw,{kind:"accessor",name:"expand",static:!1,private:!1,access:{has:function(e){return"expand"in e},get:function(e){return e.expand},set:function(e,t){e.expand=t}},metadata:tG},tR,tC),u2(tg,null,tk,{kind:"accessor",name:"fixed",static:!1,private:!1,access:{has:function(e){return"fixed"in e},get:function(e){return e.fixed},set:function(e,t){e.fixed=t}},metadata:tG},tM,tC),u2(tg,null,tx,{kind:"accessor",name:"sticky",static:!1,private:!1,access:{has:function(e){return"sticky"in e},get:function(e){return e.sticky},set:function(e,t){e.sticky=t}},metadata:tG},tB,tC),u2(tg,null,tO,{kind:"accessor",name:"fluid",static:!1,private:!1,access:{has:function(e){return"fluid"in e},get:function(e){return e.fluid},set:function(e,t){e.fluid=t}},metadata:tG},tD,tC),u2(tg,null,tj,{kind:"accessor",name:"title",static:!1,private:!1,access:{has:function(e){return"title"in e},get:function(e){return e.title},set:function(e,t){e.title=t}},metadata:tG},tF,tC),u2(tg,null,tS,{kind:"accessor",name:"brand",static:!1,private:!1,access:{has:function(e){return"brand"in e},get:function(e){return e.brand},set:function(e,t){e.brand=t}},metadata:tG},tU,tC),u2(tg,null,tE,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:function(e){return"open"in e},get:function(e){return e.open},set:function(e,t){e.open=t}},metadata:tG},tz,tC),u2(tg,null,tA,{kind:"accessor",name:"closeButton",static:!1,private:!1,access:{has:function(e){return"closeButton"in e},get:function(e){return e.closeButton},set:function(e,t){e.closeButton=t}},metadata:tG},tH,tC),u2(null,ty={value:tg},tT,{kind:"class",name:tg.name,metadata:tG},null,tP),tg=ty.value,tG&&Object.defineProperty(tg,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:tG}),u3(tg,tP),tg),oV=oL("cmOe7"),oG=oL("6CHtA"),oB=oL("7usEZ"),oq=oL("i4niu"),oD=oL("h9DRc"),oV=oL("cmOe7"),oG=oL("6CHtA"),oB=oL("7usEZ"),lt=oL("2dHdv"),o$=oL("7m3ow"),oV=oL("cmOe7"),oG=oL("6CHtA"),oK=oL("hJgGh"),oZ=oL("jCO7g"),oY=oL("9GB8M");ov=function(e){for(var t,n=e.length,r=n%3,i=[],a=0,o=n-r;a>18&63]+ln[r>>12&63]+ln[r>>6&63]+ln[63&r]);return i.join("")}(e,a,a+16383>o?o:a+16383));return 1===r?i.push(ln[(t=e[n-1])>>2]+ln[t<<4&63]+"=="):2===r&&i.push(ln[(t=(e[n-2]<<8)+e[n-1])>>10]+ln[t>>4&63]+ln[t<<2&63]+"="),i.join("")};for(var ln=[],lr=[],li="undefined"!=typeof Uint8Array?Uint8Array:Array,la="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lo=0,ls=la.length;lo>1,l=-7,f=n?i-1:0,h=n?-1:1,d=e[t+f];for(f+=h,a=d&(1<<-l)-1,d>>=-l,l+=s;l>0;a=256*a+e[t+f],f+=h,l-=8);for(o=a&(1<<-l)-1,a>>=-l,l+=r;l>0;o=256*o+e[t+f],f+=h,l-=8);if(0===a)a=1-u;else{if(a===c)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,r),a-=u}return(d?-1:1)*o*Math.pow(2,a-r)},oy=function(e,t,n,r,i,a){var o,s,c,u=8*a-i-1,l=(1<>1,h=23===i?5960464477539062e-23:0,d=r?0:a-1,p=r?1:-1,v=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),o+f>=1?t+=h/c:t+=h*Math.pow(2,1-f),t*c>=2&&(o++,c/=2),o+f>=l?(s=0,o=l):o+f>=1?(s=(t*c-1)*Math.pow(2,i),o+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),o=0));i>=8;e[n+d]=255&s,d+=p,s/=256,i-=8);for(o=o<0;e[n+d]=255&o,d+=p,o/=256,u-=8);e[n+d-p]|=128*v};var lc="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function lu(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,ll.prototype),t}function ll(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return ld(e)}return lf(e,t,n)}function lf(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!ll.isEncoding(t))throw TypeError("Unknown encoding: "+t);var n=0|ly(e,t),r=lu(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(lU(e,Uint8Array)){var t=new Uint8Array(e);return lv(t.buffer,t.byteOffset,t.byteLength)}return lp(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+(void 0===e?"undefined":(0,oZ._)(e)));if(lU(e,ArrayBuffer)||e&&lU(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(lU(e,SharedArrayBuffer)||e&&lU(e.buffer,SharedArrayBuffer)))return lv(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return ll.from(r,t,n);var i=function(e){if(ll.isBuffer(e)){var t,n=0|lm(e.length),r=lu(n);return 0===r.length||e.copy(r,0,0,n),r}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?lu(0):lp(e):"Buffer"===e.type&&Array.isArray(e.data)?lp(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return ll.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+(void 0===e?"undefined":(0,oZ._)(e)))}function lh(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function ld(e){return lh(e),lu(e<0?0:0|lm(e))}function lp(e){for(var t=e.length<0?0:0|lm(e.length),n=lu(t),r=0;r=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function ly(e,t){if(ll.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||lU(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+(void 0===e?"undefined":(0,oZ._)(e)));var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return lB(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return lD(e).length;default:if(i)return r?-1:lB(e).length;t=(""+t).toLowerCase(),i=!0}}function lg(e,t,n){var r,i,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",a=t;a2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(a=n=+n)!=a&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return -1;n=e.length-1}else if(n<0){if(!i)return -1;n=0}if("string"==typeof t&&(t=ll.from(t,r)),ll.isBuffer(t))return 0===t.length?-1:lw(e,t,n,r,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):lw(e,[t],n,r,i);throw TypeError("val must be string, number or Buffer")}function lw(e,t,n,r,i){var a,o=1,s=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;o=2,s/=2,c/=2,n/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var l=-1;for(a=n;as&&(n=s-c),a=n;a>=0;a--){for(var f=!0,h=0;h239?4:a>223?3:a>191?2:1;if(i+s<=n){var c=void 0,u=void 0,l=void 0,f=void 0;switch(s){case 1:a<128&&(o=a);break;case 2:(192&(c=e[i+1]))==128&&(f=(31&a)<<6|63&c)>127&&(o=f);break;case 3:c=e[i+1],u=e[i+2],(192&c)==128&&(192&u)==128&&(f=(15&a)<<12|(63&c)<<6|63&u)>2047&&(f<55296||f>57343)&&(o=f);break;case 4:c=e[i+1],u=e[i+2],l=e[i+3],(192&c)==128&&(192&u)==128&&(192&l)==128&&(f=(15&a)<<18|(63&c)<<12|(63&u)<<6|63&l)>65535&&f<1114112&&(o=f)}}null===o?(o=65533,s=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=s}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;rn)throw RangeError("Trying to access beyond buffer length")}function lO(e,t,n,r,i,a){if(!ll.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw RangeError("Index out of range")}function lj(e,t,n,r,i){lI(t,r,i,e,n,7);var a=Number(t&BigInt(4294967295));e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a;var o=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,n}function lS(e,t,n,r,i){lI(t,r,i,e,n,7);var a=Number(t&BigInt(4294967295));e[n+7]=a,a>>=8,e[n+6]=a,a>>=8,e[n+5]=a,a>>=8,e[n+4]=a;var o=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=o,o>>=8,e[n+2]=o,o>>=8,e[n+1]=o,o>>=8,e[n]=o,n+8}function lE(e,t,n,r,i,a){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function lA(e,t,n,r,i){return t=+t,n>>>=0,i||lE(e,t,n,4,34028234663852886e22,-34028234663852886e22),oy(e,t,n,r,23,4),n+4}function lT(e,t,n,r,i){return t=+t,n>>>=0,i||lE(e,t,n,8,17976931348623157e292,-17976931348623157e292),oy(e,t,n,r,52,8),n+8}ll.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),ll.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(ll.prototype,"parent",{enumerable:!0,get:function(){if(ll.isBuffer(this))return this.buffer}}),Object.defineProperty(ll.prototype,"offset",{enumerable:!0,get:function(){if(ll.isBuffer(this))return this.byteOffset}}),ll.poolSize=8192,ll.from=function(e,t,n){return lf(e,t,n)},Object.setPrototypeOf(ll.prototype,Uint8Array.prototype),Object.setPrototypeOf(ll,Uint8Array),ll.alloc=function(e,t,n){return(lh(e),e<=0)?lu(e):void 0!==t?"string"==typeof n?lu(e).fill(t,n):lu(e).fill(t):lu(e)},ll.allocUnsafe=function(e){return ld(e)},ll.allocUnsafeSlow=function(e){return ld(e)},ll.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==ll.prototype},ll.compare=function(e,t){if(lU(e,Uint8Array)&&(e=ll.from(e,e.offset,e.byteLength)),lU(t,Uint8Array)&&(t=ll.from(t,t.offset,t.byteLength)),!ll.isBuffer(e)||!ll.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);ir.length?(ll.isBuffer(a)||(a=ll.from(a)),a.copy(r,i)):Uint8Array.prototype.set.call(r,a,i);else if(ll.isBuffer(a))a.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=a.length}return r},ll.byteLength=ly,ll.prototype._isBuffer=!0,ll.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t50&&(e+=" ... "),""},lc&&(ll.prototype[lc]=ll.prototype.inspect),ll.prototype.compare=function(e,t,n,r,i){if(lU(e,Uint8Array)&&(e=ll.from(e,e.offset,e.byteLength)),!ll.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+(void 0===e?"undefined":(0,oZ._)(e)));if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var a=i-r,o=n-t,s=Math.min(a,o),c=this.slice(r,i),u=e.slice(t,n),l=0;l>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,a,o,s,c,u,l,f,h=this.length-t;if((void 0===n||n>h)&&(n=h),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var d=!1;;)switch(r){case"hex":return function(e,t,n,r){n=Number(n)||0;var i,a=e.length-n;r?(r=Number(r))>a&&(r=a):r=a;var o=t.length;for(r>o/2&&(r=o/2),i=0;i>8,i.push(n%256),i.push(r);return i}(e,this.length-l),this,l,f);default:if(d)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),d=!0}},ll.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},ll.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||lx(e,t,this.length);for(var r=this[e],i=1,a=0;++a>>=0,t>>>=0,n||lx(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},ll.prototype.readUint8=ll.prototype.readUInt8=function(e,t){return e>>>=0,t||lx(e,1,this.length),this[e]},ll.prototype.readUint16LE=ll.prototype.readUInt16LE=function(e,t){return e>>>=0,t||lx(e,2,this.length),this[e]|this[e+1]<<8},ll.prototype.readUint16BE=ll.prototype.readUInt16BE=function(e,t){return e>>>=0,t||lx(e,2,this.length),this[e]<<8|this[e+1]},ll.prototype.readUint32LE=ll.prototype.readUInt32LE=function(e,t){return e>>>=0,t||lx(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},ll.prototype.readUint32BE=ll.prototype.readUInt32BE=function(e,t){return e>>>=0,t||lx(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},ll.prototype.readBigUInt64LE=lH(function(e){lL(e>>>=0,"offset");var t=this[e],n=this[e+7];(void 0===t||void 0===n)&&lR(e,this.length-8);var r=t+256*this[++e]+65536*this[++e]+16777216*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+16777216*n;return BigInt(r)+(BigInt(i)<>>=0,"offset");var t=this[e],n=this[e+7];(void 0===t||void 0===n)&&lR(e,this.length-8);var r=16777216*t+65536*this[++e]+256*this[++e]+this[++e],i=16777216*this[++e]+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<>>=0,t>>>=0,n||lx(e,t,this.length);for(var r=this[e],i=1,a=0;++a=(i*=128)&&(r-=Math.pow(2,8*t)),r},ll.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||lx(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},ll.prototype.readInt8=function(e,t){return(e>>>=0,t||lx(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},ll.prototype.readInt16LE=function(e,t){e>>>=0,t||lx(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},ll.prototype.readInt16BE=function(e,t){e>>>=0,t||lx(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},ll.prototype.readInt32LE=function(e,t){return e>>>=0,t||lx(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},ll.prototype.readInt32BE=function(e,t){return e>>>=0,t||lx(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},ll.prototype.readBigInt64LE=lH(function(e){lL(e>>>=0,"offset");var t=this[e],n=this[e+7];return(void 0===t||void 0===n)&&lR(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24))<>>=0,"offset");var t=this[e],n=this[e+7];return(void 0===t||void 0===n)&&lR(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<>>=0,t||lx(e,4,this.length),om(this,e,!0,23,4)},ll.prototype.readFloatBE=function(e,t){return e>>>=0,t||lx(e,4,this.length),om(this,e,!1,23,4)},ll.prototype.readDoubleLE=function(e,t){return e>>>=0,t||lx(e,8,this.length),om(this,e,!0,52,8)},ll.prototype.readDoubleBE=function(e,t){return e>>>=0,t||lx(e,8,this.length),om(this,e,!1,52,8)},ll.prototype.writeUintLE=ll.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;lO(this,e,t,n,i,0)}var a=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;lO(this,e,t,n,i,0)}var a=n-1,o=1;for(this[t+a]=255&e;--a>=0&&(o*=256);)this[t+a]=e/o&255;return t+n},ll.prototype.writeUint8=ll.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||lO(this,e,t,1,255,0),this[t]=255&e,t+1},ll.prototype.writeUint16LE=ll.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||lO(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},ll.prototype.writeUint16BE=ll.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||lO(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},ll.prototype.writeUint32LE=ll.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||lO(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},ll.prototype.writeUint32BE=ll.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||lO(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},ll.prototype.writeBigUInt64LE=lH(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return lj(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),ll.prototype.writeBigUInt64BE=lH(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return lS(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),ll.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);lO(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+n},ll.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);lO(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},ll.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||lO(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},ll.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||lO(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},ll.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||lO(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},ll.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||lO(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},ll.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||lO(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},ll.prototype.writeBigInt64LE=lH(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return lj(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),ll.prototype.writeBigInt64BE=lH(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return lS(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),ll.prototype.writeFloatLE=function(e,t,n){return lA(this,e,t,!0,n)},ll.prototype.writeFloatBE=function(e,t,n){return lA(this,e,t,!1,n)},ll.prototype.writeDoubleLE=function(e,t,n){return lT(this,e,t,!0,n)},ll.prototype.writeDoubleBE=function(e,t,n){return lT(this,e,t,!1,n)},ll.prototype.copy=function(e,t,n,r){if(!ll.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i=r+4;n-=3)t="_".concat(e.slice(n-3,n)).concat(t);return"".concat(e.slice(0,n)).concat(t)}function lI(e,t,n,r,i,a){if(e>n||e3?0===t||t===BigInt(0)?">= 0".concat(s," and < 2").concat(s," ** ").concat((a+1)*8).concat(s):">= -(2".concat(s," ** ").concat((a+1)*8-1).concat(s,") and < 2 ** ")+"".concat((a+1)*8-1).concat(s):">= ".concat(t).concat(s," and <= ").concat(n).concat(s),new lP.ERR_OUT_OF_RANGE("value",o,e)}lL(i,"offset"),(void 0===r[i]||void 0===r[i+a])&&lR(i,r.length-(a+1))}function lL(e,t){if("number"!=typeof e)throw new lP.ERR_INVALID_ARG_TYPE(t,"number",e)}function lR(e,t,n){if(Math.floor(e)!==e)throw lL(e,n),new lP.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new lP.ERR_BUFFER_OUT_OF_BOUNDS;throw new lP.ERR_OUT_OF_RANGE(n||"offset",">= ".concat(n?1:0," and <= ").concat(t),e)}lN("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),lN("ERR_INVALID_ARG_TYPE",function(e,t){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(void 0===t?"undefined":(0,oZ._)(t))},TypeError),lN("ERR_OUT_OF_RANGE",function(e,t,n){var r='The value of "'.concat(e,'" is out of range.'),i=n;return Number.isInteger(n)&&Math.abs(n)>4294967296?i=lC(String(n)):(void 0===n?"undefined":(0,oZ._)(n))==="bigint"&&(i=String(n),(n>Math.pow(BigInt(2),BigInt(32))||n<-Math.pow(BigInt(2),BigInt(32)))&&(i=lC(i)),i+="n"),r+=" It must be ".concat(t,". Received ").concat(i)},RangeError);var lM=/[^+/0-9A-Za-z-_]/g;function lB(e,t){t=t||1/0;for(var n,r=e.length,i=null,a=[],o=0;o55295&&n<57344){if(!i){if(n>56319||o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return a}function lD(e){return function(e){var t,n,r=function(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}(e),i=r[0],a=r[1],o=new li((i+a)*3/4-a),s=0,c=a>0?i-4:i;for(n=0;n>16&255,o[s++]=t>>8&255,o[s++]=255&t;return 2===a&&(t=lr[e.charCodeAt(n)]<<2|lr[e.charCodeAt(n+1)]>>4,o[s++]=255&t),1===a&&(t=lr[e.charCodeAt(n)]<<10|lr[e.charCodeAt(n+1)]<<4|lr[e.charCodeAt(n+2)]>>2,o[s++]=t>>8&255,o[s++]=255&t),o}(function(e){if((e=(e=e.split("=")[0]).trim().replace(lM,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function lF(e,t,n,r){var i;for(i=0;i=t.length)&&!(i>=e.length);++i)t[i+n]=e[i];return i}function lU(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var lz=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)t[r+i]=e[n]+e[i];return t}();function lH(e){return"undefined"==typeof BigInt?lW:e}function lW(){throw Error("BigInt not supported")}var lq="3.7.6",l$="function"==typeof atob,lV="function"==typeof btoa,lG=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder&&new TextEncoder,Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=")),lK=(tK={},lG.forEach(function(e,t){return tK[e]=t}),tK),lJ=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,lZ=String.fromCharCode.bind(String),lY="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):function(e){return new Uint8Array(Array.prototype.slice.call(e,0))},lX=function(e){return e.replace(/=/g,"").replace(/[+\/]/g,function(e){return"+"==e?"-":"_"})},lQ=function(e){return e.replace(/[^A-Za-z0-9\+\/]/g,"")},l0=function(e){return ll.from(e).toString("base64")},l1=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?lX(l0(e)):l0(e)},l2=function(e){if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?lZ(192|t>>>6)+lZ(128|63&t):lZ(224|t>>>12&15)+lZ(128|t>>>6&63)+lZ(128|63&t)}var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return lZ(240|t>>>18&7)+lZ(128|t>>>12&63)+lZ(128|t>>>6&63)+lZ(128|63&t)},l3=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,l4=function(e){return ll.from(e,"utf8").toString("base64")},l5=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?lX(l4(e)):l4(e)},l6=function(e){return l5(e,!0)},l8=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,l7=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return lZ((t>>>10)+55296)+lZ((1023&t)+56320);case 3:return lZ((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return lZ((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},l9=function(e){var t;return t=fe(e),lY(ll.from(t,"base64"))},fe=function(e){return lQ(e.replace(/[-_]/g,function(e){return"-"==e?"+":"/"}))},ft=function(e){var t;return t=fe(e),ll.from(t,"base64").toString("utf8")},fn=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}},fr=function(){var e=function(e,t){return Object.defineProperty(String.prototype,e,fn(t))};e("fromBase64",function(){return ft(this)}),e("toBase64",function(e){return l5(this,e)}),e("toBase64URI",function(){return l5(this,!0)}),e("toBase64URL",function(){return l5(this,!0)}),e("toUint8Array",function(){return l9(this)})},fi=function(){var e=function(e,t){return Object.defineProperty(Uint8Array.prototype,e,fn(t))};e("toBase64",function(e){return l1(this,e)}),e("toBase64URI",function(){return l1(this,!0)}),e("toBase64URL",function(){return l1(this,!0)})},fa={version:lq,VERSION:lq,atob:l$?function(e){return atob(lQ(e))}:function(e){return ll.from(e,"base64").toString("binary")},atobPolyfill:function(e){if(e=e.replace(/\s+/g,""),!lJ.test(e))throw TypeError("malformed base64.");e+="==".slice(2-(3&e.length));for(var t,n,r,i="",a=0;a>16&255):64===r?lZ(t>>16&255,t>>8&255):lZ(t>>16&255,t>>8&255,255&t);return i},btoa:lV?function(e){return btoa(e)}:function(e){return ll.from(e,"binary").toString("base64")},btoaPolyfill:function(e){for(var t,n,r,i,a="",o=e.length%3,s=0;s255||(r=e.charCodeAt(s++))>255||(i=e.charCodeAt(s++))>255)throw TypeError("invalid character found");a+=lG[(t=n<<16|r<<8|i)>>18&63]+lG[t>>12&63]+lG[t>>6&63]+lG[63&t]}return o?a.slice(0,o-3)+"===".substring(o):a},fromBase64:ft,toBase64:l5,encode:l5,encodeURI:l6,encodeURL:l6,utob:function(e){return e.replace(l3,l2)},btou:function(e){return e.replace(l8,l7)},decode:ft,isValid:function(e){if("string"!=typeof e)return!1;var t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},fromUint8Array:l1,toUint8Array:l9,extendString:fr,extendUint8Array:fi,extendBuiltins:function(){fr(),fi()}},oV=oL("cmOe7"),oG=oL("6CHtA"),oB=(oL("7usEZ"),oL("7usEZ")),oV=oL("cmOe7"),oG=oL("6CHtA"),oJ=oL("4hdwe"),fo=Symbol.for("yaml.alias"),fs=Symbol.for("yaml.document"),fc=Symbol.for("yaml.map"),fu=Symbol.for("yaml.pair"),fl=Symbol.for("yaml.scalar"),ff=Symbol.for("yaml.seq"),fh=Symbol.for("yaml.node.type"),fd=function(e){return!!e&&"object"==typeof e&&e[fh]===fo},fp=function(e){return!!e&&"object"==typeof e&&e[fh]===fs},fv=function(e){return!!e&&"object"==typeof e&&e[fh]===fc},fm=function(e){return!!e&&"object"==typeof e&&e[fh]===fu},fy=function(e){return!!e&&"object"==typeof e&&e[fh]===fl},fg=function(e){return!!e&&"object"==typeof e&&e[fh]===ff};function fb(e){if(e&&"object"==typeof e)switch(e[fh]){case fc:case ff:return!0}return!1}function f_(e){if(e&&"object"==typeof e)switch(e[fh]){case fo:case fc:case fl:case ff:return!0}return!1}var sZ=oL("cG934"),oZ=oL("jCO7g"),oB=oL("7usEZ"),fw=Symbol("break visit"),fk=Symbol("skip children"),fx=Symbol("remove node");function fO(e,t){var n=fP(t);fp(e)?fj(null,e.contents,n,Object.freeze([e]))===fx&&(e.contents=null):fj(null,e,n,Object.freeze([]))}function fj(e,t,n,r){var i=fN(e,t,n,r);if(f_(i)||fm(i))return fC(e,r,i),fj(e,i,n,r);if((void 0===i?"undefined":(0,oZ._)(i))!=="symbol"){if(fb(t)){r=Object.freeze(r.concat(t));for(var a=0;a"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}var r=(0,oJ._)(e.match(RegExp("^(.*!)([^!]*)$","s")),3),i=r[1],a=r[2];a||t("The ".concat(e," tag has no suffix"));var o=this.tags[i];if(o)try{return o+decodeURIComponent(a)}catch(e){return t(String(e)),null}return"!"===i?e:(t("Could not resolve tag: ".concat(e)),null)}},{key:"tagString",value:function(e){var t=!0,n=!1,r=void 0;try{for(var i,a=Object.entries(this.tags)[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var o=(0,oJ._)(i.value,2),s=o[0],c=o[1];if(e.startsWith(c))return s+e.substring(c.length).replace(/[!,[\]{}]/g,function(e){return fI[e]})}}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}return"!"===e[0]?e:"!<".concat(e,">")}},{key:"toString",value:function(e){var t=this.yaml.explicit?["%YAML ".concat(this.yaml.version||"1.2")]:[],n=Object.entries(this.tags);if(e&&n.length>0&&f_(e.contents)){var r={};fO(e.contents,function(e,t){f_(t)&&t.tag&&(r[t.tag]=!0)}),s=Object.keys(r)}else s=[];var i=!0,a=!1,o=void 0;try{for(var s,c,u=n[Symbol.iterator]();!(i=(c=u.next()).done);i=!0)!function(){var n=(0,oJ._)(c.value,2),r=n[0],i=n[1];("!!"!==r||"tag:yaml.org,2002:"!==i)&&(!e||s.some(function(e){return e.startsWith(i)}))&&t.push("%TAG ".concat(r," ").concat(i))}()}catch(e){a=!0,o=e}finally{try{i||null==u.return||u.return()}finally{if(a)throw o}}return t.join("\n")}}]),e}();fL.defaultYaml={explicit:!1,version:"1.2"},fL.defaultTags={"!!":"tag:yaml.org,2002:"};var oV=oL("cmOe7"),oG=oL("6CHtA"),o5=oL("3zAyF"),o$=oL("7m3ow"),oV=oL("cmOe7"),oG=oL("6CHtA"),oK=oL("hJgGh"),oY=oL("9GB8M");function fR(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){var t=JSON.stringify(e);throw Error("Anchor must not contain whitespace or control characters: ".concat(t))}return!0}function fM(e){var t=new Set;return fO(e,{Value:function(e,n){n.anchor&&t.add(n.anchor)}}),t}function fB(e,t){for(var n=1;;++n){var r="".concat(e).concat(n);if(!t.has(r))return r}}var oV=oL("cmOe7"),oG=oL("6CHtA"),oJ=oL("4hdwe");function fD(e,t,n,r){if(r&&"object"==typeof r){var i=!0,a=!1,o=void 0,s=!0,c=!1,u=void 0,l=!0,f=!1,h=void 0;if(Array.isArray(r))for(var d=0,p=r.length;d1&&void 0!==arguments[1]?arguments[1]:{},n=t.mapAsMap,r=t.maxAliasCount,i=t.onAnchor,a=t.reviver;if(!fp(e))throw TypeError("A document argument is required");var o={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},s=fF(this,"",o),c=!0,u=!1,l=void 0;if("function"==typeof i)try{for(var f,h=o.anchors.values()[Symbol.iterator]();!(c=(f=h.next()).done);c=!0){var d=f.value,p=d.count,v=d.res;i(v,p)}}catch(e){u=!0,l=e}finally{try{c||null==h.return||h.return()}finally{if(u)throw l}}return"function"==typeof a?fD(a,{"":s},"",s):s}}]),e}(),fz=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(e){var r;return(0,oV._)(this,n),(r=t.call(this,fo)).source=e,Object.defineProperty((0,o$._)(r),"tag",{set:function(){throw Error("Alias nodes cannot have tags")}}),r}return(0,oG._)(n,[{key:"resolve",value:function(e){var t=this,n=void 0;return fO(e,{Node:function(e,r){if(r===t)return fO.BREAK;r.anchor===t.source&&(n=r)}}),n}},{key:"toJSON",value:function(e,t){if(!t)return{source:this.source};var n=t.anchors,r=t.doc,i=t.maxAliasCount,a=this.resolve(r);if(!a)throw ReferenceError("Unresolved alias (the anchor must be set before the alias): ".concat(this.source));var o=n.get(a);if(o||(fF(a,null,t),o=n.get(a)),!o||void 0===o.res)throw ReferenceError("This should not happen: Alias anchor was not resolved?");if(i>=0&&(o.count+=1,0===o.aliasCount&&(o.aliasCount=function e(t,n,r){if(fd(n)){var i=n.resolve(t),a=r&&i&&r.get(i);return a?a.count*a.aliasCount:0}if(fb(n)){var o=0,s=!0,c=!1,u=void 0;try{for(var l,f=n.items[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){var h=l.value,d=e(t,h,r);d>o&&(o=d)}}catch(e){c=!0,u=e}finally{try{s||null==f.return||f.return()}finally{if(c)throw u}}return o}return fm(n)?Math.max(e(t,n.key,r),e(t,n.value,r)):1}(r,a,n)),o.count*o.aliasCount>i))throw ReferenceError("Excessive alias count indicates a resource exhaustion attack");return o.res}},{key:"toString",value:function(e,t,n){var r="*".concat(this.source);if(e){if(fR(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source))throw Error("Unresolved alias (the anchor must be set before the alias): ".concat(this.source));if(e.implicitKey)return"".concat(r," ")}return r}}]),n}(fU),o$=oL("7m3ow"),oV=oL("cmOe7"),oG=oL("6CHtA"),oK=oL("hJgGh"),fH=oL("ai07J"),fW=oL("hZd7e"),fq=oL("hGorX"),f$=oL("3j2Du");function fV(e){return(0,fH._array_with_holes)(e)||(0,fW._iterable_to_array)(e)||(0,f$._unsupported_iterable_to_array)(e)||(0,fq._non_iterable_rest)()}var oY=oL("9GB8M"),oV=oL("cmOe7"),oG=oL("6CHtA"),oK=oL("hJgGh"),oY=oL("9GB8M"),fG=function(e){return!e||"function"!=typeof e&&"object"!=typeof e},fK=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(e){var r;return(0,oV._)(this,n),(r=t.call(this,fl)).value=e,r}return(0,oG._)(n,[{key:"toJSON",value:function(e,t){return(null==t?void 0:t.keep)?this.value:fF(this.value,e,t)}},{key:"toString",value:function(){return String(this.value)}}]),n}(fU);function fJ(e,t,n){if(fp(e)&&(e=e.contents),f_(e))return e;if(fm(e)){var r,i,a,o=null===(i=(a=n.schema[fc]).createNode)||void 0===i?void 0:i.call(a,n.schema,null,n);return o.items.push(e),o}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());var s=n.aliasDuplicateObjects,c=n.onAnchor,u=n.onTagObj,l=n.schema,f=n.sourceObjects,h=void 0;if(s&&e&&"object"==typeof e){if(h=f.get(e))return h.anchor||(h.anchor=c(e)),new fz(h.anchor);h={anchor:null,node:null},f.set(e,h)}(null==t?void 0:t.startsWith("!!"))&&(t="tag:yaml.org,2002:"+t.slice(2));var d=function(e,t,n){if(t){var r,i=n.filter(function(e){return e.tag===t}),a=null!==(r=i.find(function(e){return!e.format}))&&void 0!==r?r:i[0];if(!a)throw Error("Tag ".concat(t," not found"));return a}return n.find(function(t){var n;return(null===(n=t.identify)||void 0===n?void 0:n.call(t,e))&&!t.format})}(e,t,l.tags);if(!d){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){var p=new fK(e);return h&&(h.node=p),p}d=e instanceof Map?l[fc]:Symbol.iterator in Object(e)?l[ff]:l[fc]}u&&(u(d),delete n.onTagObj);var v=(null==d?void 0:d.createNode)?d.createNode(n.schema,e,n):"function"==typeof(null==d?void 0:null===(r=d.nodeClass)||void 0===r?void 0:r.from)?d.nodeClass.from(n.schema,e,n):new fK(e);return t?v.tag=t:d.default||(v.tag=d.tag),h&&(h.node=v),v}function fZ(e,t,n){for(var r=n,i=t.length-1;i>=0;--i){var a=t[i];if("number"==typeof a&&Number.isInteger(a)&&a>=0){var o=[];o[a]=r,r=o}else r=new Map([[a,r]])}return fJ(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:function(){throw Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}fK.BLOCK_FOLDED="BLOCK_FOLDED",fK.BLOCK_LITERAL="BLOCK_LITERAL",fK.PLAIN="PLAIN",fK.QUOTE_DOUBLE="QUOTE_DOUBLE",fK.QUOTE_SINGLE="QUOTE_SINGLE";var fY=function(e){return null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done},fX=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(e,r){var i;return(0,oV._)(this,n),i=t.call(this,e),Object.defineProperty((0,o$._)(i),"schema",{value:r,configurable:!0,enumerable:!1,writable:!0}),i}return(0,oG._)(n,[{key:"clone",value:function(e){var t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(function(t){return f_(t)||fm(t)?t.clone(e):t}),this.range&&(t.range=this.range.slice()),t}},{key:"addIn",value:function(e,t){if(fY(e))this.add(t);else{var n=fV(e),r=n[0],i=n.slice(1),a=this.get(r,!0);if(fb(a))a.addIn(i,t);else if(void 0===a&&this.schema)this.set(r,fZ(this.schema,i,t));else throw Error("Expected YAML collection at ".concat(r,". Remaining path: ").concat(i))}}},{key:"deleteIn",value:function(e){var t=fV(e),n=t[0],r=t.slice(1);if(0===r.length)return this.delete(n);var i=this.get(n,!0);if(fb(i))return i.deleteIn(r);throw Error("Expected YAML collection at ".concat(n,". Remaining path: ").concat(r))}},{key:"getIn",value:function(e,t){var n=fV(e),r=n[0],i=n.slice(1),a=this.get(r,!0);return 0===i.length?!t&&fy(a)?a.value:a:fb(a)?a.getIn(i,t):void 0}},{key:"hasAllNullValues",value:function(e){return this.items.every(function(t){if(!fm(t))return!1;var n=t.value;return null==n||e&&fy(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag})}},{key:"hasIn",value:function(e){var t=fV(e),n=t[0],r=t.slice(1);if(0===r.length)return this.has(n);var i=this.get(n,!0);return!!fb(i)&&i.hasIn(r)}},{key:"setIn",value:function(e,t){var n=fV(e),r=n[0],i=n.slice(1);if(0===i.length)this.set(r,t);else{var a=this.get(r,!0);if(fb(a))a.setIn(i,t);else if(void 0===a&&this.schema)this.set(r,fZ(this.schema,i,t));else throw Error("Expected YAML collection at ".concat(r,". Remaining path: ").concat(i))}}}]),n}(fU);fX.maxFlowStringSingleLineLength=60;var oV=oL("cmOe7"),oG=oL("6CHtA"),oZ=oL("jCO7g"),fQ=function(e){return e.replace(/^(?!$)(?: $)?/gm,"#")};function f0(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}var f1=function(e,t,n){return e.endsWith("\n")?f0(n,t):n.includes("\n")?"\n"+f0(n,t):(e.endsWith(" ")?"":" ")+n},f2="flow",f3="block",f4="quoted";function f5(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"flow",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=i.indentAtStart,o=i.lineWidth,s=void 0===o?80:o,c=i.minContentWidth,u=void 0===c?20:c,l=i.onFold,f=i.onOverflow;if(!s||s<0)return e;var h=Math.max(1+u,1+s-t.length);if(e.length<=h)return e;var d=[],p={},v=s-t.length;"number"==typeof a&&(a>s-Math.max(2,u)?d.push(0):v=s-a);var m=void 0,y=void 0,g=!1,b=-1,_=-1,w=-1;for(r===f3&&-1!==(b=f6(e,b))&&(v=b+h);n=e[b+=1];){if(r===f4&&"\\"===n){switch(_=b,e[b+1]){case"x":b+=3;break;case"u":b+=5;break;case"U":b+=9;break;default:b+=1}w=b}if("\n"===n)r===f3&&(b=f6(e,b)),v=b+h,m=void 0;else{if(" "===n&&y&&" "!==y&&"\n"!==y&&" "!==y){var k=e[b+1];k&&" "!==k&&"\n"!==k&&" "!==k&&(m=b)}if(b>=v){if(m)d.push(m),v=m+h,m=void 0;else if(r===f4){for(;" "===y||" "===y;)y=n,n=e[b+=1],g=!0;var x=b>w+1?b-2:_-1;if(p[x])return e;d.push(x),p[x]=!0,v=x+h,m=void 0}else g=!0}}y=n}if(g&&f&&f(),0===d.length)return e;l&&l();for(var O=e.slice(0,d[0]),j=0;jr)return!0;if(i-(o=a+1)<=r)return!1}return!0}(u,d,p.length));if(!u)return v?"|\n":">\n";for(a=u.length;a>0;--a){var m=u[a-1];if("\n"!==m&&" "!==m&&" "!==m)break}var y=u.substring(a),g=y.indexOf("\n");-1===g?i="-":u===y||g!==y.length-1?(i="+",r&&r()):i="",y&&(u=u.slice(0,-y.length),"\n"===y[y.length-1]&&(y=y.slice(0,-1)),y=y.replace(og,"$&".concat(p)));var b=!1,_=-1;for(o=0;o")+(b?x:"")+i;if(s&&(O+=" "+h(s.replace(/ ?[\r\n]+/g," ")),n&&n()),v)return u=u.replace(/\n+/g,"$&".concat(p)),"".concat(O,"\n").concat(p).concat(k).concat(u).concat(y);u=u.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,"$&".concat(p));var j=f5("".concat(k).concat(u).concat(y),p,f3,f8(t,!0));return"".concat(O,"\n").concat(p).concat(j)}function hr(e,t,n,r){var i=t.implicitKey,a=t.inFlow,o="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)}),s=e.type;s!==fK.QUOTE_DOUBLE&&RegExp("[\\x00-\\x08\\x0b-\\x1f\\x7f-\\x9f\u{D800}-\u{DFFF}]","u").test(o.value)&&(s=fK.QUOTE_DOUBLE);var c=function(e){switch(e){case fK.BLOCK_FOLDED:case fK.BLOCK_LITERAL:return i||a?ht(o.value,t):hn(o,t,n,r);case fK.QUOTE_DOUBLE:return f9(o.value,t);case fK.QUOTE_SINGLE:return he(o.value,t);case fK.PLAIN:return function(e,t,n,r){var i=e.type,a=e.value,o=t.actualString,s=t.implicitKey,c=t.indent,u=t.indentStep,l=t.inFlow;if(s&&a.includes("\n")||l&&/[[\]{},]/.test(a))return ht(a,t);if(!a||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a))return s||l||!a.includes("\n")?ht(a,t):hn(e,t,n,r);if(!s&&!l&&i!==fK.PLAIN&&a.includes("\n"))return hn(e,t,n,r);if(f7(a)){if(""===c)return t.forceBlockIndent=!0,hn(e,t,n,r);if(s&&c===u)return ht(a,t)}var f=a.replace(/\n+/g,"$&\n".concat(c));if(o){var h=function(e){var t;return e.default&&"tag:yaml.org,2002:str"!==e.tag&&(null===(t=e.test)||void 0===t?void 0:t.test(f))},d=t.doc.schema,p=d.compat;if(d.tags.some(h)||(null==p?void 0:p.some(h)))return ht(a,t)}return s?f:f5(f,c,f2,f8(t,!1))}(o,t,n,r);default:return null}},u=c(s);if(null===u){var l=t.options,f=l.defaultKeyType,h=l.defaultStringType,d=i&&f||h;if(null===(u=c(d)))throw Error("Unsupported default string type ".concat(d))}return u}function hi(e,t){var n,r=Object.assign({blockQuote:!0,commentString:fQ,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);switch(r.collectionStyle){case"block":n=!1;break;case"flow":n=!0;break;default:n=null}return{anchors:new Set,doc:e,flowCollectionPadding:r.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof r.indent?" ".repeat(r.indent):" ",inFlow:n,options:r}}function ha(e,t,n,r){if(fm(e))return e.toString(t,n,r);if(fd(e)){if(t.doc.directives)return e.toString(t);if(null===(i=t.resolvedAliases)||void 0===i?void 0:i.has(e))throw TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}var i,a,o=void 0,s=f_(e)?e:t.doc.createNode(e,{onTagObj:function(e){return o=e}});o||(o=function(e,t){if(t.tag){var n,r=e.filter(function(e){return e.tag===t.tag});if(r.length>0)return null!==(n=r.find(function(e){return e.format===t.format}))&&void 0!==n?n:r[0]}var i=void 0;if(fy(t)){a=t.value;var a,o,s=e.filter(function(e){var t;return null===(t=e.identify)||void 0===t?void 0:t.call(e,a)});i=null!==(o=s.find(function(e){return e.format===t.format}))&&void 0!==o?o:s.find(function(e){return!e.format})}else a=t,i=e.find(function(e){return e.nodeClass&&a instanceof e.nodeClass});if(!i){var c,u,l=null!==(u=null==a?void 0:null===(c=a.constructor)||void 0===c?void 0:c.name)&&void 0!==u?u:void 0===a?"undefined":(0,oZ._)(a);throw Error("Tag not resolved for ".concat(l," value"))}return i}(t.doc.schema.tags,s));var c=function(e,t,n){var r=n.anchors,i=n.doc;if(!i.directives)return"";var a=[],o=(fy(e)||fb(e))&&e.anchor;o&&fR(o)&&(r.add(o),a.push("&".concat(o)));var s=e.tag?e.tag:t.default?null:t.tag;return s&&a.push(i.directives.tagString(s)),a.join(" ")}(s,o,t);c.length>0&&(t.indentAtStart=(null!==(a=t.indentAtStart)&&void 0!==a?a:0)+c.length+1);var u="function"==typeof o.stringify?o.stringify(s,t,n,r):fy(s)?hr(s,t,n,r):s.toString(t,n,r);return c?fy(s)||"{"===u[0]||"["===u[0]?"".concat(c," ").concat(u):"".concat(c,"\n").concat(t.indent).concat(u):u}var oJ=oL("4hdwe"),sQ=oL("bPCrB"),ho={},hs=ho={};function hc(){throw Error("setTimeout has not been defined")}function hu(){throw Error("clearTimeout has not been defined")}function hl(e){if(ob===setTimeout)return setTimeout(e,0);if((ob===hc||!ob)&&setTimeout)return ob=setTimeout,setTimeout(e,0);try{return ob(e,0)}catch(t){try{return ob.call(null,e,0)}catch(t){return ob.call(this,e,0)}}}!function(){try{ob="function"==typeof setTimeout?setTimeout:hc}catch(e){ob=hc}try{o_="function"==typeof clearTimeout?clearTimeout:hu}catch(e){o_=hu}}();var hf=[],hh=!1,hd=-1;function hp(){hh&&ow&&(hh=!1,ow.length?hf=ow.concat(hf):hd=-1,hf.length&&hv())}function hv(){if(!hh){var e=hl(hp);hh=!0;for(var t=hf.length;t;){for(ow=hf,hf=[];++hd40&&(f=f.substring(0,36)+'..."'),hg(n.doc.options.logLevel,"Keys with collection values will be stringified due to JS Object restrictions: ".concat(f,". Set mapAsMap: true to use object keys.")),n.mapKeyWarned=!0}return l}return JSON.stringify(t)}(r,y,e),b=fF(i,g,e);g in t?Object.defineProperty(t,g,{value:b,writable:!0,enumerable:!0,configurable:!0}):t[g]=b}}return t}hs.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:null;(0,oV._)(this,e),Object.defineProperty(this,fh,{value:fu}),this.key=t,this.value=n}return(0,oG._)(e,[{key:"clone",value:function(t){var n=this.key,r=this.value;return f_(n)&&(n=n.clone(t)),f_(r)&&(r=r.clone(t)),new e(n,r)}},{key:"toJSON",value:function(e,t){var n=(null==t?void 0:t.mapAsMap)?new Map:{};return hb(t,n,this)}},{key:"toString",value:function(e,t,n){return(null==e?void 0:e.doc)?function(e,t,n,r){var i=e.key,a=e.value,o=t.allNullValues,s=t.doc,c=t.indent,u=t.indentStep,l=t.options,f=l.commentString,h=l.indentSeq,d=l.simpleKeys,p=f_(i)&&i.comment||null;if(d){if(p)throw Error("With simple keys, key nodes cannot have comments");if(fb(i))throw Error("With simple keys, collection cannot be used as a key value")}var v=!d&&(!i||p&&null==a&&!t.inFlow||fb(i)||(fy(i)?i.type===fK.BLOCK_FOLDED||i.type===fK.BLOCK_LITERAL:"object"==typeof i));t=Object.assign({},t,{allNullValues:!1,implicitKey:!v&&(d||!o),indent:c+u});var m=!1,y=!1,g=ha(i,t,function(){return m=!0},function(){return y=!0});if(!v&&!t.inFlow&&g.length>1024){if(d)throw Error("With simple keys, single line scalar must not span more than 1024 characters");v=!0}if(t.inFlow){if(o||null==a)return m&&n&&n(),""===g?"?":v?"? ".concat(g):g}else if(o&&!d||null==a&&v)return g="? ".concat(g),p&&!m?g+=f1(g,t.indent,f(p)):y&&r&&r(),g;m&&(p=null),v?(p&&(g+=f1(g,t.indent,f(p))),g="? ".concat(g,"\n").concat(c,":")):(g="".concat(g,":"),p&&(g+=f1(g,t.indent,f(p)))),f_(a)?(x=!!a.spaceBefore,O=a.commentBefore,j=a.comment):(x=!1,O=null,j=null,a&&"object"==typeof a&&(a=s.createNode(a))),t.implicitKey=!1,!v&&!p&&fy(a)&&(t.indentAtStart=g.length+1),y=!1,!(!h&&u.length>=2&&!t.inFlow&&!v&&fg(a))||a.flow||a.tag||a.anchor||(t.indent=t.indent.substring(2));var b=!1,_=ha(a,t,function(){return b=!0},function(){return y=!0}),w=" ";if(p||x||O){if(w=x?"\n":"",O){var k=f(O);w+="\n".concat(f0(k,t.indent))}""!==_||t.inFlow?w+="\n".concat(t.indent):"\n"===w&&(w="\n\n")}else if(!v&&fb(a)){var x,O,j,S,E,A=_[0],T=_.indexOf("\n"),P=-1!==T,N=null!==(E=null!==(S=t.inFlow)&&void 0!==S?S:a.flow)&&void 0!==E?E:0===a.items.length;if(P||!N){var C=!1;if(P&&("&"===A||"!"===A)){var I=_.indexOf(" ");"&"===A&&-1!==I&&Ip||c.includes("\n"))&&(d=!0),v.push(c),p=v.length}(m);var y=a.start,g=a.end;if(0===v.length)k=y+g;else if(d||(d=v.reduce(function(e,t){return e+t.length+2},2)>fX.maxFlowStringSingleLineLength),d){k=y;var b=!0,_=!1,w=void 0;try{for(var k,x,O=v[Symbol.iterator]();!(b=(x=O.next()).done);b=!0){var j=x.value;k+=j?"\n".concat(u).concat(c).concat(j):"\n"}}catch(e){_=!0,w=e}finally{try{b||null==O.return||O.return()}finally{if(_)throw w}}k+="\n".concat(c).concat(g)}else k="".concat(y).concat(l).concat(v.join(" ")).concat(l).concat(g);return r&&(k+=f1(k,c,f(r)),s&&s()),k}:function(e,t,n){for(var r,i=e.comment,a=e.items,o=n.blockItemPrefix,s=n.flowChars,c=n.itemIndent,u=n.onChompKeep,l=n.onComment,f=t.indent,h=t.options.commentString,d=Object.assign({},t,{indent:c,type:null}),p=!1,v=[],m=0;ma(r,e)});-1===o?this.items.push(r):this.items.splice(o,0,r)}else this.items.push(r)}},{key:"delete",value:function(e){var t=hS(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}},{key:"get",value:function(e,t){var n,r=hS(this.items,e),i=null==r?void 0:r.value;return null!==(n=!t&&fy(i)?i.value:i)&&void 0!==n?n:void 0}},{key:"has",value:function(e){return!!hS(this.items,e)}},{key:"set",value:function(e,t){this.add(new hx(e,t),!0)}},{key:"toJSON",value:function(e,t,n){var r=n?new n:(null==t?void 0:t.mapAsMap)?new Map:{};(null==t?void 0:t.onCreate)&&t.onCreate(r);var i=!0,a=!1,o=void 0;try{for(var s,c=this.items[Symbol.iterator]();!(i=(s=c.next()).done);i=!0){var u=s.value;hb(t,r,u)}}catch(e){a=!0,o=e}finally{try{i||null==c.return||c.return()}finally{if(a)throw o}}return r}},{key:"toString",value:function(e,t,n){if(!e)return JSON.stringify(this);var r=!0,i=!1,a=void 0;try{for(var o,s=this.items[Symbol.iterator]();!(r=(o=s.next()).done);r=!0){var c=o.value;if(!fm(c))throw Error("Map items must all be pairs; found ".concat(JSON.stringify(c)," instead"))}}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),hO(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}],[{key:"tagName",get:function(){return"tag:yaml.org,2002:map"}},{key:"from",value:function(e,t,n){var r=n.keepUndefined,i=n.replacer,a=new this(e),o=function(e,o){if("function"==typeof i)o=i.call(t,e,o);else if(Array.isArray(i)&&!i.includes(e))return;(void 0!==o||r)&&a.items.push(hk(e,o,n))},s=!0,c=!1,u=void 0,l=!0,f=!1,h=void 0;if(t instanceof Map)try{for(var d,p=t[Symbol.iterator]();!(s=(d=p.next()).done);s=!0){var v=(0,oJ._)(d.value,2),m=v[0],y=v[1];o(m,y)}}catch(e){c=!0,u=e}finally{try{s||null==p.return||p.return()}finally{if(c)throw u}}else if(t&&"object"==typeof t)try{for(var g,b=Object.keys(t)[Symbol.iterator]();!(l=(g=b.next()).done);l=!0){var _=g.value;o(_,t[_])}}catch(e){f=!0,h=e}finally{try{l||null==b.return||b.return()}finally{if(f)throw h}}return"function"==typeof e.sortMapEntries&&a.items.sort(e.sortMapEntries),a}}]),n}(fX),hA={collection:"map",default:!0,nodeClass:hE,tag:"tag:yaml.org,2002:map",resolve:function(e,t){return fv(e)||t("Expected a mapping for this tag"),e},createNode:function(e,t,n){return hE.from(e,t,n)}},oV=oL("cmOe7"),oG=oL("6CHtA"),oK=oL("hJgGh"),oY=oL("9GB8M"),hT=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(e){var r;return(0,oV._)(this,n),(r=t.call(this,ff,e)).items=[],r}return(0,oG._)(n,[{key:"add",value:function(e){this.items.push(e)}},{key:"delete",value:function(e){var t=hP(e);return"number"==typeof t&&this.items.splice(t,1).length>0}},{key:"get",value:function(e,t){var n=hP(e);if("number"==typeof n){var r=this.items[n];return!t&&fy(r)?r.value:r}}},{key:"has",value:function(e){var t=hP(e);return"number"==typeof t&&t=0?t:null}var hN={collection:"seq",default:!0,nodeClass:hT,tag:"tag:yaml.org,2002:seq",resolve:function(e,t){return fg(e)||t("Expected a sequence for this tag"),e},createNode:function(e,t,n){return hT.from(e,t,n)}},hC={identify:function(e){return"string"==typeof e},default:!0,tag:"tag:yaml.org,2002:str",resolve:function(e){return e},stringify:function(e,t,n,r){return hr(e,t=Object.assign({actualString:!0},t),n,r)}},hI={identify:function(e){return null==e},createNode:function(){return new fK(null)},default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:function(){return new fK(null)},stringify:function(e,t){var n=e.source;return"string"==typeof n&&hI.test.test(n)?n:t.options.nullStr}},hL={identify:function(e){return"boolean"==typeof e},default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:function(e){return new fK("t"===e[0]||"T"===e[0])},stringify:function(e,t){var n=e.source,r=e.value;return n&&hL.test.test(n)&&r===("t"===n[0]||"T"===n[0])?n:r?t.options.trueStr:t.options.falseStr}},oZ=oL("jCO7g");function hR(e){var t=e.format,n=e.minFractionDigits,r=e.tag,i=e.value;if((void 0===i?"undefined":(0,oZ._)(i))==="bigint")return String(i);var a="number"==typeof i?i:Number(i);if(!isFinite(a))return isNaN(a)?".nan":a<0?"-.inf":".inf";var o=JSON.stringify(i);if(!t&&n&&(!r||"tag:yaml.org,2002:float"===r)&&/^\d/.test(o)){var s=o.indexOf(".");s<0&&(s=o.length,o+=".");for(var c=n-(o.length-s-1);c-- >0;)o+="0"}return o}var hM={identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:function(e){return"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY},stringify:hR},hB={identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:function(e){return parseFloat(e)},stringify:function(e){var t=Number(e.value);return isFinite(t)?t.toExponential():hR(e)}},hD={identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve:function(e){var t=new fK(parseFloat(e)),n=e.indexOf(".");return -1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:hR},oZ=oL("jCO7g"),hF=function(e){return(void 0===e?"undefined":(0,oZ._)(e))==="bigint"||Number.isInteger(e)},hU=function(e,t,n,r){return r.intAsBigInt?BigInt(e):parseInt(e.substring(t),n)};function hz(e,t,n){var r=e.value;return hF(r)&&r>=0?n+r.toString(t):hR(e)}var hH={identify:function(e){return hF(e)&&e>=0},default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:function(e,t,n){return hU(e,2,8,n)},stringify:function(e){return hz(e,8,"0o")}},hW={identify:hF,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:function(e,t,n){return hU(e,0,10,n)},stringify:hR},hq={identify:function(e){return hF(e)&&e>=0},default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:function(e,t,n){return hU(e,2,16,n)},stringify:function(e){return hz(e,16,"0x")}},h$=[hA,hN,hC,hI,hL,hH,hW,hq,hM,hB,hD],oZ=oL("jCO7g");function hV(e){return(void 0===e?"undefined":(0,oZ._)(e))==="bigint"||Number.isInteger(e)}var hG=function(e){return JSON.stringify(e.value)},hK=[hA,hN].concat([{identify:function(e){return"string"==typeof e},default:!0,tag:"tag:yaml.org,2002:str",resolve:function(e){return e},stringify:hG},{identify:function(e){return null==e},createNode:function(){return new fK(null)},default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:function(){return null},stringify:hG},{identify:function(e){return"boolean"==typeof e},default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:function(e){return"true"===e},stringify:hG},{identify:hV,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:function(e,t,n){return n.intAsBigInt?BigInt(e):parseInt(e,10)},stringify:function(e){var t=e.value;return hV(t)?t.toString():JSON.stringify(t)}},{identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:function(e){return parseFloat(e)},stringify:hG}],{default:!0,tag:"",test:/^/,resolve:function(e,t){return t("Unresolved plain scalar ".concat(JSON.stringify(e))),e}}),hJ={identify:function(e){return e instanceof Uint8Array},default:!1,tag:"tag:yaml.org,2002:binary",resolve:function(e,t){return ll.from(e,"base64")},stringify:function(e,t,n,r){var i,a=e.comment,o=e.type,s=e.value;if(i=s instanceof ll?s.toString("base64"):ll.from(s.buffer).toString("base64"),o||(o=fK.BLOCK_LITERAL),o!==fK.QUOTE_DOUBLE){for(var c=Math.max(t.options.lineWidth-t.indent.length,t.options.minContentWidth),u=Math.ceil(i.length/c),l=Array(u),f=0,h=0;f1&&t("Each pair must have its own sequence indicator");var i=r.items[0]||new hx(new fK(null));if(r.commentBefore&&(i.key.commentBefore=i.key.commentBefore?"".concat(r.commentBefore,"\n").concat(i.key.commentBefore):r.commentBefore),r.comment){var a,o=null!==(a=i.value)&&void 0!==a?a:i.key;o.comment=o.comment?"".concat(r.comment,"\n").concat(o.comment):r.comment}r=i}e.items[n]=fm(r)?r:new hx(r)}}else t("Expected a sequence for this tag");return e}function hY(e,t,n){var r=n.replacer,i=new hT(e);i.tag="tag:yaml.org,2002:pairs";var a=0,o=!0,s=!1,c=void 0;if(t&&Symbol.iterator in Object(t))try{for(var u,l=t[Symbol.iterator]();!(o=(u=l.next()).done);o=!0){var f=u.value;"function"==typeof r&&(f=r.call(t,String(a++),f));var h=void 0,d=void 0;if(Array.isArray(f)){if(2===f.length)h=f[0],d=f[1];else throw TypeError("Expected [key, value] tuple: ".concat(f))}else if(f&&f instanceof Object){var p=Object.keys(f);if(1===p.length)d=f[h=p[0]];else throw TypeError("Expected tuple with one key, not ".concat(p.length," keys"))}else h=f;i.items.push(hk(h,d,n))}}catch(e){s=!0,c=e}finally{try{o||null==l.return||l.return()}finally{if(s)throw c}}return i}var hX={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:hZ,createNode:hY},hQ=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(){var e;return(0,oV._)(this,n),(e=t.call(this)).add=hE.prototype.add.bind((0,o$._)(e)),e.delete=hE.prototype.delete.bind((0,o$._)(e)),e.get=hE.prototype.get.bind((0,o$._)(e)),e.has=hE.prototype.has.bind((0,o$._)(e)),e.set=hE.prototype.set.bind((0,o$._)(e)),e.tag=n.tag,e}return(0,oG._)(n,[{key:"toJSON",value:function(e,t){if(!t)return(0,sY._)((0,sX._)(n.prototype),"toJSON",this).call(this,e);var r=new Map;(null==t?void 0:t.onCreate)&&t.onCreate(r);var i=!0,a=!1,o=void 0;try{for(var s,c=this.items[Symbol.iterator]();!(i=(s=c.next()).done);i=!0){var u=s.value,l=void 0,f=void 0;if(fm(u)?(l=fF(u.key,"",t),f=fF(u.value,l,t)):l=fF(u,"",t),r.has(l))throw Error("Ordered maps must not include duplicate keys");r.set(l,f)}}catch(e){a=!0,o=e}finally{try{i||null==c.return||c.return()}finally{if(a)throw o}}return r}}],[{key:"from",value:function(e,t,n){var r=hY(e,t,n),i=new this;return i.items=r.items,i}}]),n}(hT);hQ.tag="tag:yaml.org,2002:omap";var h0={collection:"seq",identify:function(e){return e instanceof Map},nodeClass:hQ,default:!1,tag:"tag:yaml.org,2002:omap",resolve:function(e,t){var n=hZ(e,t),r=[],i=!0,a=!1,o=void 0;try{for(var s,c=n.items[Symbol.iterator]();!(i=(s=c.next()).done);i=!0){var u=s.value.key;fy(u)&&(r.includes(u.value)?t("Ordered maps must not include duplicate keys: ".concat(u.value)):r.push(u.value))}}catch(e){a=!0,o=e}finally{try{i||null==c.return||c.return()}finally{if(a)throw o}}return Object.assign(new hQ,n)},createNode:function(e,t,n){return hQ.from(e,t,n)}};function h1(e,t){var n=e.value,r=e.source;return r&&(n?h2:h3).test.test(r)?r:n?t.options.trueStr:t.options.falseStr}var h2={identify:function(e){return!0===e},default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:function(){return new fK(!0)},stringify:h1},h3={identify:function(e){return!1===e},default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:function(){return new fK(!1)},stringify:h1},oZ=oL("jCO7g"),h4=function(e){return(void 0===e?"undefined":(0,oZ._)(e))==="bigint"||Number.isInteger(e)};function h5(e,t,n,r){var i=r.intAsBigInt,a=e[0];if(("-"===a||"+"===a)&&(t+=1),e=e.substring(t).replace(/_/g,""),i){switch(n){case 2:e="0b".concat(e);break;case 8:e="0o".concat(e);break;case 16:e="0x".concat(e)}var o=BigInt(e);return"-"===a?BigInt(-1)*o:o}var s=parseInt(e,n);return"-"===a?-1*s:s}function h6(e,t,n){var r=e.value;if(h4(r)){var i=r.toString(t);return r<0?"-"+n+i.substr(1):n+i}return hR(e)}var oV=oL("cmOe7"),oG=oL("6CHtA"),sY=oL("jTVqf"),sX=oL("hVE88"),oK=oL("hJgGh"),oZ=oL("jCO7g"),oY=oL("9GB8M"),h8=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(e){var r;return(0,oV._)(this,n),(r=t.call(this,e)).tag=n.tag,r}return(0,oG._)(n,[{key:"add",value:function(e){var t;t=fm(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new hx(e.key,null):new hx(e,null),hS(this.items,t.key)||this.items.push(t)}},{key:"get",value:function(e,t){var n=hS(this.items,e);return!t&&fm(n)?fy(n.key)?n.key.value:n.key:n}},{key:"set",value:function(e,t){if("boolean"!=typeof t)throw Error("Expected boolean value for set(key, value) in a YAML set, not ".concat(void 0===t?"undefined":(0,oZ._)(t)));var n=hS(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new hx(e))}},{key:"toJSON",value:function(e,t){return(0,sY._)((0,sX._)(n.prototype),"toJSON",this).call(this,e,t,Set)}},{key:"toString",value:function(e,t,r){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return(0,sY._)((0,sX._)(n.prototype),"toString",this).call(this,Object.assign({},e,{allNullValues:!0}),t,r);throw Error("Set items must all have null values")}}],[{key:"from",value:function(e,t,n){var r=n.replacer,i=new this(e),a=!0,o=!1,s=void 0;if(t&&Symbol.iterator in Object(t))try{for(var c,u=t[Symbol.iterator]();!(a=(c=u.next()).done);a=!0){var l=c.value;"function"==typeof r&&(l=r.call(t,l,l)),i.items.push(hk(l,null,n))}}catch(e){o=!0,s=e}finally{try{a||null==u.return||u.return()}finally{if(o)throw s}}return i}}]),n}(hE);h8.tag="tag:yaml.org,2002:set";var h7={collection:"map",identify:function(e){return e instanceof Set},nodeClass:h8,default:!1,tag:"tag:yaml.org,2002:set",createNode:function(e,t,n){return h8.from(e,t,n)},resolve:function(e,t){if(fv(e)){if(e.hasAllNullValues(!0))return Object.assign(new h8,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}},oJ=oL("4hdwe"),oZ=oL("jCO7g");function h9(e,t){var n=e[0],r="-"===n||"+"===n?e.substring(1):e,i=function(e){return t?BigInt(e):Number(e)},a=r.replace(/_/g,"").split(":").reduce(function(e,t){return e*i(60)+i(t)},i(0));return"-"===n?i(-1)*a:a}function de(e){var t=e.value,n=function(e){return e};if((void 0===t?"undefined":(0,oZ._)(t))==="bigint")n=function(e){return BigInt(e)};else if(isNaN(t)||!isFinite(t))return hR(e);var r="";t<0&&(r="-",t*=n(-1));var i=n(60),a=[t%i];return t<60?a.unshift(0):(t=(t-a[0])/i,a.unshift(t%i),t>=60&&(t=(t-a[0])/i,a.unshift(t))),r+a.map(function(e){return String(e).padStart(2,"0")}).join(":").replace(/000000\d*$/,"")}var dt={identify:function(e){return(void 0===e?"undefined":(0,oZ._)(e))==="bigint"||Number.isInteger(e)},default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:function(e,t,n){return h9(e,n.intAsBigInt)},stringify:de},dn={identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:function(e){return h9(e,!1)},stringify:de},dr={identify:function(e){return e instanceof Date},default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve:function(e){var t=e.match(dr.test);if(!t)throw Error("!!timestamp expects a date, starting with yyyy-mm-dd");var n=(0,oJ._)(t.map(Number),7),r=Date.UTC(n[1],n[2]-1,n[3],n[4]||0,n[5]||0,n[6]||0,t[7]?Number((t[7]+"00").substr(1,3)):0),i=t[8];if(i&&"Z"!==i){var a=h9(i,!1);30>Math.abs(a)&&(a*=60),r-=6e4*a}return new Date(r)},stringify:function(e){return e.value.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")}},di=[hA,hN,hC,hI,h2,h3,{identify:h4,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:function(e,t,n){return h5(e,2,2,n)},stringify:function(e){return h6(e,2,"0b")}},{identify:h4,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:function(e,t,n){return h5(e,1,8,n)},stringify:function(e){return h6(e,8,"0")}},{identify:h4,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:function(e,t,n){return h5(e,0,10,n)},stringify:hR},{identify:h4,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:function(e,t,n){return h5(e,2,16,n)},stringify:function(e){return h6(e,16,"0x")}},{identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:function(e){return"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY},stringify:hR},{identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:function(e){return parseFloat(e.replace(/_/g,""))},stringify:function(e){var t=Number(e.value);return isFinite(t)?t.toExponential():hR(e)}},{identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve:function(e){var t=new fK(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){var r=e.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:hR},hJ,h0,hX,h7,dt,dn,dr],da=new Map([["core",h$],["failsafe",[hA,hN,hC]],["json",hK],["yaml11",di],["yaml-1.1",di]]),ds={binary:hJ,bool:hL,float:hD,floatExp:hB,floatNaN:hM,floatTime:dn,int:hW,intHex:hq,intOct:hH,intTime:dt,map:hA,null:hI,omap:h0,pairs:hX,seq:hN,set:h7,timestamp:dr},dc={"tag:yaml.org,2002:binary":hJ,"tag:yaml.org,2002:omap":h0,"tag:yaml.org,2002:pairs":hX,"tag:yaml.org,2002:set":h7,"tag:yaml.org,2002:timestamp":dr};function du(e,t){var n=da.get(t);if(!n){if(Array.isArray(e))n=[];else{var r=Array.from(da.keys()).filter(function(e){return"yaml11"!==e}).map(function(e){return JSON.stringify(e)}).join(", ");throw Error('Unknown schema "'.concat(t,'"; use one of ').concat(r," or define customTags array"))}}var i=!0,a=!1,o=void 0;if(Array.isArray(e))try{for(var s,c=e[Symbol.iterator]();!(i=(s=c.next()).done);i=!0){var u=s.value;n=n.concat(u)}}catch(e){a=!0,o=e}finally{try{i||null==c.return||c.return()}finally{if(a)throw o}}else"function"==typeof e&&(n=e(n.slice()));return n.map(function(e){if("string"!=typeof e)return e;var t=ds[e];if(t)return t;var n=Object.keys(ds).map(function(e){return JSON.stringify(e)}).join(", ");throw Error('Unknown custom tag "'.concat(e,'"; use one of ').concat(n))})}var dl=function(e,t){return e.keyt.key?1:0},df=function(){function e(t){var n=t.compat,r=t.customTags,i=t.merge,a=t.resolveKnownTags,o=t.schema,s=t.sortMapEntries,c=t.toStringDefaults;(0,oV._)(this,e),this.compat=Array.isArray(n)?du(n,"compat"):n?du(null,n):null,this.merge=!!i,this.name="string"==typeof o&&o||"core",this.knownTags=a?dc:{},this.tags=du(r,this.name),this.toStringOptions=null!=c?c:null,Object.defineProperty(this,fc,{value:hA}),Object.defineProperty(this,fl,{value:hC}),Object.defineProperty(this,ff,{value:hN}),this.sortMapEntries="function"==typeof s?s:!0===s?dl:null}return(0,oG._)(e,[{key:"clone",value:function(){var t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}]),e}(),dh=function(){function e(t,n,r){(0,oV._)(this,e),this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,fh,{value:fs});var i=null;"function"==typeof n||Array.isArray(n)?i=n:void 0===r&&n&&(r=n,n=void 0);var a=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},r);this.options=a;var o=a.version;(null==r?void 0:r._directives)?(this.directives=r._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new fL({version:o}),this.setSchema(o,r),this.contents=void 0===t?null:this.createNode(t,i,r)}return(0,oG._)(e,[{key:"clone",value:function(){var t=Object.create(e.prototype,(0,o5._)({},fh,{value:fs}));return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=f_(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}},{key:"add",value:function(e){dd(this.contents)&&this.contents.add(e)}},{key:"addIn",value:function(e,t){dd(this.contents)&&this.contents.addIn(e,t)}},{key:"createAlias",value:function(e,t){if(!e.anchor){var n=fM(this);e.anchor=!t||n.has(t)?fB(t||"a",n):t}return new fz(e.anchor)}},{key:"createNode",value:function(e,t,n){var r,i,a,o,s,c=void 0;if("function"==typeof t)e=t.call({"":e},"",e),c=t;else if(Array.isArray(t)){var u=t.filter(function(e){return"number"==typeof e||e instanceof String||e instanceof Number}).map(String);u.length>0&&(t=t.concat(u)),c=t}else void 0===n&&t&&(n=t,t=void 0);var l=null!=n?n:{},f=l.aliasDuplicateObjects,h=l.anchorPrefix,d=l.flow,p=l.keepUndefined,v=l.onTagObj,m=l.tag,y=(r=this,i=h||"a",a=[],o=new Map,s=null,{onAnchor:function(e){a.push(e),s||(s=fM(r));var t=fB(i,s);return s.add(t),t},setAnchors:function(){var e=!0,t=!1,n=void 0;try{for(var r,i=a[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var s=r.value,c=o.get(s);if("object"==typeof c&&c.anchor&&(fy(c.node)||fb(c.node)))c.node.anchor=c.anchor;else{var u=Error("Failed to resolve repeated object (this should not happen)");throw u.source=s,u}}}catch(e){t=!0,n=e}finally{try{e||null==i.return||i.return()}finally{if(t)throw n}}},sourceObjects:o}),g=y.onAnchor,b=y.setAnchors,_=y.sourceObjects,w=fJ(e,m,{aliasDuplicateObjects:null==f||f,keepUndefined:null!=p&&p,onAnchor:g,onTagObj:v,replacer:c,schema:this.schema,sourceObjects:_});return d&&fb(w)&&(w.flow=!0),b(),w}},{key:"createPair",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new hx(this.createNode(e,null,n),this.createNode(t,null,n))}},{key:"delete",value:function(e){return!!dd(this.contents)&&this.contents.delete(e)}},{key:"deleteIn",value:function(e){return fY(e)?null!=this.contents&&(this.contents=null,!0):!!dd(this.contents)&&this.contents.deleteIn(e)}},{key:"get",value:function(e,t){return fb(this.contents)?this.contents.get(e,t):void 0}},{key:"getIn",value:function(e,t){return fY(e)?!t&&fy(this.contents)?this.contents.value:this.contents:fb(this.contents)?this.contents.getIn(e,t):void 0}},{key:"has",value:function(e){return!!fb(this.contents)&&this.contents.has(e)}},{key:"hasIn",value:function(e){return fY(e)?void 0!==this.contents:!!fb(this.contents)&&this.contents.hasIn(e)}},{key:"set",value:function(e,t){null==this.contents?this.contents=fZ(this.schema,[e],t):dd(this.contents)&&this.contents.set(e,t)}},{key:"setIn",value:function(e,t){fY(e)?this.contents=t:null==this.contents?this.contents=fZ(this.schema,Array.from(e),t):dd(this.contents)&&this.contents.setIn(e,t)}},{key:"setSchema",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new fL({version:"1.1"}),t={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new fL({version:e}),t={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,t=null;break;default:var r=JSON.stringify(e);throw Error("Expected '1.1', '1.2' or null as first argument, but found: ".concat(r))}if(n.schema instanceof Object)this.schema=n.schema;else if(t)this.schema=new df(Object.assign(t,n));else throw Error("With a null YAML version, the { schema: Schema } option is required")}},{key:"toJS",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.json,n=e.jsonArg,r=e.mapAsMap,i=e.maxAliasCount,a=e.onAnchor,o=e.reviver,s={anchors:new Map,doc:this,keep:!t,mapAsMap:!0===r,mapKeyWarned:!1,maxAliasCount:"number"==typeof i?i:100},c=fF(this.contents,null!=n?n:"",s),u=!0,l=!1,f=void 0;if("function"==typeof a)try{for(var h,d=s.anchors.values()[Symbol.iterator]();!(u=(h=d.next()).done);u=!0){var p=h.value,v=p.count,m=p.res;a(m,v)}}catch(e){l=!0,f=e}finally{try{u||null==d.return||d.return()}finally{if(l)throw f}}return"function"==typeof o?fD(o,{"":c},"",c):c}},{key:"toJSON",value:function(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.errors.length>0)throw Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||0>=Number(e.indent))){var t=JSON.stringify(e.indent);throw Error('"indent" option must be a positive integer, not '.concat(t))}return function(e,t){var n,r=[],i=!0===t.directives;if(!1!==t.directives&&e.directives){var a=e.directives.toString(e);a?(r.push(a),i=!0):e.directives.docStart&&(i=!0)}i&&r.push("---");var o=hi(e,t),s=o.options.commentString;if(e.commentBefore){1!==r.length&&r.unshift("");var c=s(e.commentBefore);r.unshift(f0(c,""))}var u=!1,l=null;if(e.contents){if(f_(e.contents)){if(e.contents.spaceBefore&&i&&r.push(""),e.contents.commentBefore){var f=s(e.contents.commentBefore);r.push(f0(f,""))}o.forceBlockIndent=!!e.comment,l=e.contents.comment}var h=l?void 0:function(){return u=!0},d=ha(e.contents,o,function(){return l=null},h);l&&(d+=f1(d,"",s(l))),("|"===d[0]||">"===d[0])&&"---"===r[r.length-1]?r[r.length-1]="--- ".concat(d):r.push(d)}else r.push(ha(e.contents,o));if(null===(n=e.directives)||void 0===n?void 0:n.docEnd){if(e.comment){var p=s(e.comment);p.includes("\n")?(r.push("..."),r.push(f0(p,""))):r.push("... ".concat(p))}else r.push("...")}else{var v=e.comment;v&&u&&(v=v.replace(/^\n+/,"")),v&&((!u||l)&&""!==r[r.length-1]&&r.push(""),r.push(f0(s(v),"")))}return r.join("\n")+"\n"}(this,e)}}]),e}();function dd(e){if(fb(e))return!0;throw Error("Expected a YAML collection as document contents")}var oV=oL("cmOe7"),oK=oL("hJgGh"),dp=oL("7Cf2H"),oY=oL("9GB8M"),dv=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(e,r,i,a){var o;return(0,oV._)(this,n),(o=t.call(this)).name=e,o.code=i,o.message=a,o.pos=r,o}return n}((0,dp._)(Error)),dm=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(e,r,i){return(0,oV._)(this,n),t.call(this,"YAMLParseError",e,r,i)}return n}(dv),dy=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(e,r,i){return(0,oV._)(this,n),t.call(this,"YAMLWarning",e,r,i)}return n}(dv),dg=function(e,t){return function(n){if(-1!==n.pos[0]){n.linePos=n.pos.map(function(e){return t.linePos(e)});var r=n.linePos[0],i=r.line,a=r.col;n.message+=" at line ".concat(i,", column ").concat(a);var o=a-1,s=e.substring(t.lineStarts[i-1],t.lineStarts[i]).replace(/[\n\r]+$/,"");if(o>=60&&s.length>80){var c=Math.min(o-39,s.length-79);s="…"+s.substring(c),o-=c-1}if(s.length>80&&(s=s.substring(0,79)+"…"),i>1&&/^ *$/.test(s.substring(0,o))){var u=e.substring(t.lineStarts[i-2],t.lineStarts[i-1]);u.length>80&&(u=u.substring(0,79)+"…\n"),s=u+s}if(/[^ ]/.test(s)){var l=1,f=n.linePos[1];f&&f.line===i&&f.col>a&&(l=Math.max(1,Math.min(f.col-a,80-o)));var h=" ".repeat(o)+"^".repeat(l);n.message+=":\n\n".concat(s,"\n").concat(h,"\n")}}}};function db(e,t){var n=t.flow,r=t.indicator,i=t.next,a=t.offset,o=t.onError,s=t.startOnNewline,c=!1,u=s,l=s,f="",h="",d=!1,p=!1,v=!1,m=null,y=null,g=null,b=null,_=null,w=!0,k=!1,x=void 0;try{for(var O,j=e[Symbol.iterator]();!(w=(O=j.next()).done);w=!0){var S=O.value;switch(v&&("space"!==S.type&&"newline"!==S.type&&"comma"!==S.type&&o(S.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),v=!1),S.type){case"space":!n&&u&&"doc-start"!==r&&" "===S.source[0]&&o(S,"TAB_AS_INDENT","Tabs are not allowed as indentation"),l=!0;break;case"comment":l||o(S,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");var E=S.source.substring(1)||" ";f?f+=h+E:f=E,h="",u=!1;break;case"newline":u?f?f+=S.source:c=!0:h+=S.source,u=!0,d=!0,(m||y)&&(p=!0),l=!0;break;case"anchor":m&&o(S,"MULTIPLE_ANCHORS","A node can have at most one anchor"),S.source.endsWith(":")&&o(S.offset+S.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),m=S,null===_&&(_=S.offset),u=!1,l=!1,v=!0;break;case"tag":y&&o(S,"MULTIPLE_TAGS","A node can have at most one tag"),y=S,null===_&&(_=S.offset),u=!1,l=!1,v=!0;break;case r:(m||y)&&o(S,"BAD_PROP_ORDER","Anchors and tags must be after the ".concat(S.source," indicator")),b&&o(S,"UNEXPECTED_TOKEN","Unexpected ".concat(S.source," in ").concat(null!=n?n:"collection")),b=S,u=!1,l=!1;break;case"comma":if(n){g&&o(S,"UNEXPECTED_TOKEN","Unexpected , in ".concat(n)),g=S,u=!1,l=!1;break}default:o(S,"UNEXPECTED_TOKEN","Unexpected ".concat(S.type," token")),u=!1,l=!1}}}catch(e){k=!0,x=e}finally{try{w||null==j.return||j.return()}finally{if(k)throw x}}var A=e[e.length-1],T=A?A.offset+A.source.length:a;return v&&i&&"space"!==i.type&&"newline"!==i.type&&"comma"!==i.type&&("scalar"!==i.type||""!==i.source)&&o(i.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:g,found:b,spaceBefore:c,comment:f,hasNewline:d,hasNewlineAfterProp:p,anchor:m,tag:y,end:T,start:null!=_?_:T}}function d_(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end){var t=!0,n=!1,r=void 0;try{for(var i,a=e.end[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var o=i.value;if("newline"===o.type)return!0}}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}}return!1;case"flow-collection":var s=!0,c=!1,u=void 0;try{for(var l,f=e.items[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){var h=l.value,d=!0,p=!1,v=void 0;try{for(var m,y=h.start[Symbol.iterator]();!(d=(m=y.next()).done);d=!0){var g=m.value;if("newline"===g.type)return!0}}catch(e){p=!0,v=e}finally{try{d||null==y.return||y.return()}finally{if(p)throw v}}if(h.sep){var b=!0,_=!1,w=void 0;try{for(var k,x=h.sep[Symbol.iterator]();!(b=(k=x.next()).done);b=!0){var O=k.value;if("newline"===O.type)return!0}}catch(e){_=!0,w=e}finally{try{b||null==x.return||x.return()}finally{if(_)throw w}}}if(d_(h.key)||d_(h.value))return!0}}catch(e){c=!0,u=e}finally{try{s||null==f.return||f.return()}finally{if(c)throw u}}return!1;default:return!0}}function dw(e,t,n){if((null==t?void 0:t.type)==="flow-collection"){var r=t.end[0];r.indent===e&&("]"===r.source||"}"===r.source)&&d_(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function dk(e,t,n){var r=e.options.uniqueKeys;if(!1===r)return!1;var i="function"==typeof r?r:function(t,n){return t===n||fy(t)&&fy(n)&&t.value===n.value&&!("<<"===t.value&&e.schema.merge)};return t.some(function(e){return i(e.key,n)})}var dx="All mapping items must start at the same column";function dO(e,t,n,r){var i="";if(e){var a=!1,o="",s=!0,c=!1,u=void 0;try{for(var l,f=e[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){var h=l.value,d=h.source,p=h.type;switch(p){case"space":a=!0;break;case"comment":n&&!a&&r(h,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");var v=d.substring(1)||" ";i?i+=o+v:i=v,o="";break;case"newline":i&&(o+=d),a=!0;break;default:r(h,"UNEXPECTED_TOKEN","Unexpected ".concat(p," at node end"))}t+=d.length}}catch(e){c=!0,u=e}finally{try{s||null==f.return||f.return()}finally{if(c)throw u}}}return{comment:i,offset:t}}var dj="Block collections are not allowed within flow collections",dS=function(e){return e&&("block-map"===e.type||"block-seq"===e.type)};function dE(e,t,n,r,i,a){var o="block-map"===n.type?function(e,t,n,r,i){var a=e.composeNode,o=e.composeEmptyNode,s=new(null!==(d=null==i?void 0:i.nodeClass)&&void 0!==d?d:hE)(t.schema);t.atRoot&&(t.atRoot=!1);var c=n.offset,u=null,l=!0,f=!1,h=void 0;try{for(var d,p,v=n.items[Symbol.iterator]();!(l=(p=v.next()).done);l=!0){var m,y=p.value,g=y.start,b=y.key,_=y.sep,w=y.value,k=db(g,{indicator:"explicit-key-ind",next:null!=b?b:null==_?void 0:_[0],offset:c,onError:r,startOnNewline:!0}),x=!k.found;if(x){if(b&&("block-seq"===b.type?r(c,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in b&&b.indent!==n.indent&&r(c,"BAD_INDENT",dx)),!k.anchor&&!k.tag&&!_){u=k.end,k.comment&&(s.comment?s.comment+="\n"+k.comment:s.comment=k.comment);continue}(k.hasNewlineAfterProp||d_(b))&&r(null!=b?b:g[g.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else(null===(m=k.found)||void 0===m?void 0:m.indent)!==n.indent&&r(c,"BAD_INDENT",dx);var O=k.end,j=b?a(t,b,k,r):o(t,O,g,null,k,r);t.schema.compat&&dw(n.indent,b,r),dk(t,s.items,j)&&r(O,"DUPLICATE_KEY","Map keys must be unique");var S=db(null!=_?_:[],{indicator:"map-value-ind",next:w,offset:j.range[2],onError:r,startOnNewline:!b||"block-scalar"===b.type});if(c=S.end,S.found){x&&((null==w?void 0:w.type)!=="block-map"||S.hasNewline||r(c,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),t.options.strict&&k.start0){var J=dO($,V,t.options.strict,r);J.comment&&(u.comment?u.comment+="\n"+J.comment:u.comment=J.comment),u.range=[n.offset,V,J.offset]}else u.range=[n.offset,V,V];return u}(e,t,n,r,a),s=o.constructor;return"!"===i||i===s.tagName?o.tag=s.tagName:i&&(o.tag=i),o}var oJ=oL("4hdwe");function dA(e){try{t=RegExp("(.*?)(?"===i.mode?fK.BLOCK_FOLDED:fK.BLOCK_LITERAL,o=e.source?function(e){for(var t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),i=[(null==r?void 0:r[1])?[r[1],n.slice(r[1].length)]:["",n]],a=1;a=0;--c){var u=o[c][1];if(""===u||"\r"===u)s=c;else break}if(0===s){var l="+"===i.chomp&&o.length>0?"\n".repeat(Math.max(1,o.length-1)):"",f=r+i.length;return e.source&&(f+=e.source.length),{value:l,type:a,comment:i.comment,range:[r,f,f]}}for(var h=e.indent+i.indent,d=e.offset+i.length,p=0,v=0;vh&&(h=y.length);else{y.length=s;--b)o[b][0].length>h&&(s=b+1);for(var _="",w="",k=!1,x=0;xh||" "===E[0]?(" "===w?w="\n":k||"\n"!==w||(w="\n\n"),_+=w+S.slice(h)+E,w="\n",k=!0):""===E?"\n"===w?_+="\n":w="\n":(_+=w+E,w=" ",k=!1)}switch(i.chomp){case"-":break;case"+":for(var N=s;N":n="block scalar indicator ".concat(e[0]);break;case"@":case"`":n="reserved character ".concat(e[0])}return n&&t(0,"BAD_SCALAR_START","Plain value cannot start with ".concat(n)),dA(e)}(s,u);break;case"single-quoted-scalar":r=fK.QUOTE_SINGLE,("'"!==s[s.length-1]||1===s.length)&&u(s.length,"MISSING_CHAR","Missing closing 'quote"),i=dA(s.slice(1,-1)).replace(/''/g,"'");break;case"double-quoted-scalar":r=fK.QUOTE_DOUBLE,i=function(e,t){for(var n="",r=1;rh?e.slice(h,r+1):i)}else n+=i}}return('"'!==e[e.length-1]||1===e.length)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}(s,u);break;default:return n(e,"UNEXPECTED_TOKEN","Expected a flow scalar value, but found: ".concat(o)),{value:"",type:null,comment:"",range:[a,a+s.length,a+s.length]}}var l=a+s.length,f=dO(c,l,t,n);return{value:i,type:r,comment:f.comment,range:[a,l,f.offset]}}(t,e.options.strict,r),o=a.value,s=a.type,c=a.comment,u=a.range,l=n?e.directives.tagName(n.source,function(e){return r(n,"TAG_RESOLVE_FAILED",e)}):null,f=n&&l?function(e,t,n,r,i){if("!"===n)return e[fl];var a=[],o=!0,s=!1,c=void 0;try{for(var u,l,f=e.tags[Symbol.iterator]();!(o=(l=f.next()).done);o=!0){var h=l.value;if(!h.collection&&h.tag===n){if(!h.default||!h.test)return h;a.push(h)}}}catch(e){s=!0,c=e}finally{try{o||null==f.return||f.return()}finally{if(s)throw c}}var d=!0,p=!1,v=void 0;try{for(var m,y=a[Symbol.iterator]();!(d=(m=y.next()).done);d=!0){var g=m.value;if(null===(u=g.test)||void 0===u?void 0:u.test(t))return g}}catch(e){p=!0,v=e}finally{try{d||null==y.return||y.return()}finally{if(p)throw v}}var b=e.knownTags[n];return b&&!b.collection?(e.tags.push(Object.assign({},b,{default:!1,test:void 0})),b):(i(r,"TAG_RESOLVE_FAILED","Unresolved tag: ".concat(n),"tag:yaml.org,2002:str"!==n),e[fl])}(e.schema,o,l,n,r):"scalar"===t.type?function(e,t,n,r){var i=e.directives,a=e.schema,o=a.tags.find(function(e){var n;return e.default&&(null===(n=e.test)||void 0===n?void 0:n.test(t))})||a[fl];if(a.compat){var s,c=null!==(s=a.compat.find(function(e){var n;return e.default&&(null===(n=e.test)||void 0===n?void 0:n.test(t))}))&&void 0!==s?s:a[fl];if(o.tag!==c.tag){var u=i.tagString(o.tag),l=i.tagString(c.tag);r(n,"TAG_RESOLVE_FAILED","Value may be parsed as either ".concat(u," or ").concat(l),!0)}}return o}(e,o,t,r):e.schema[fl];try{var h=f.resolve(o,function(e){return r(null!=n?n:t,"TAG_RESOLVE_FAILED",e)},e.options);i=fy(h)?h:new fK(h)}catch(e){r(null!=n?n:t,"TAG_RESOLVE_FAILED",e instanceof Error?e.message:String(e)),i=new fK(o)}return i.range=u,i.source=o,s&&(i.type=s),l&&(i.tag=l),f.format&&(i.format=f.format),c&&(i.comment=c),i}var dN={composeNode:dC,composeEmptyNode:dI};function dC(e,t,n,r){var i,a,o,s,c,u,l,f,h=n.spaceBefore,d=n.comment,p=n.anchor,v=n.tag,m=!0;switch(t.type){case"alias":i=e.options,a=t.offset,o=t.source,s=t.end,""===(c=new fz(o.substring(1))).source&&r(a,"BAD_ALIAS","Alias cannot be an empty string"),c.source.endsWith(":")&&r(a+o.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0),l=dO(s,u=a+o.length,i.strict,r),c.range=[a,u,l.offset],l.comment&&(c.comment=l.comment),f=c,(p||v)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":f=dP(e,t,v,r),p&&(f.anchor=p.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":f=function(e,t,n,r,i){var a,o,s=r?t.directives.tagName(r.source,function(e){return i(r,"TAG_RESOLVE_FAILED",e)}):null,c="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq";if(!r||!s||"!"===s||s===hE.tagName&&"map"===c||s===hT.tagName&&"seq"===c||!c)return dE(e,t,n,i,s);var u=t.schema.tags.find(function(e){return e.tag===s&&e.collection===c});if(!u){var l=t.schema.knownTags[s];if(!l||l.collection!==c)return(null==l?void 0:l.collection)?i(r,"BAD_COLLECTION_TYPE","".concat(l.tag," used for ").concat(c," collection, but expects ").concat(l.collection),!0):i(r,"TAG_RESOLVE_FAILED","Unresolved tag: ".concat(s),!0),dE(e,t,n,i,s);t.schema.tags.push(Object.assign({},l,{default:!1})),u=l}var f=dE(e,t,n,i,s,u),h=null!==(o=null===(a=u.resolve)||void 0===a?void 0:a.call(u,f,function(e){return i(r,"TAG_RESOLVE_FAILED",e)},t.options))&&void 0!==o?o:f,d=f_(h)?h:new fK(h);return d.range=f.range,d.tag=s,(null==u?void 0:u.format)&&(d.format=u.format),d}(dN,e,t,v,r),p&&(f.anchor=p.source.substring(1));break;default:var y="error"===t.type?t.message:"Unsupported token (type: ".concat(t.type,")");r(t,"UNEXPECTED_TOKEN",y),f=dI(e,t.offset,void 0,null,n,r),m=!1}return p&&""===f.anchor&&r(p,"BAD_ALIAS","Anchor cannot be an empty string"),h&&(f.spaceBefore=!0),d&&("scalar"===t.type&&""===t.source?f.comment=d:f.commentBefore=d),e.options.keepSourceTokens&&m&&(f.srcToken=t),f}function dI(e,t,n,r,i,a){var o=i.spaceBefore,s=i.comment,c=i.anchor,u=i.tag,l=i.end,f=dP(e,{type:"scalar",offset:function(e,t,n){if(t){null===n&&(n=t.length);for(var r=n-1;r>=0;--r){var i=t[r];switch(i.type){case"space":case"comment":case"newline":e-=i.source.length;continue}for(i=t[++r];(null==i?void 0:i.type)==="space";)e+=i.source.length,i=t[++r];break}}return e}(t,n,r),indent:-1,source:""},u,a);return c&&(f.anchor=c.source.substring(1),""===f.anchor&&a(c,"BAD_ALIAS","Anchor cannot be an empty string")),o&&(f.spaceBefore=!0),s&&(f.comment=s,f.range[2]=l),f}function dL(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];var t=e.offset,n=e.source;return[t,t+("string"==typeof n?n.length:1)]}function dR(e){for(var t="",n=!1,r=!1,i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=this;(0,oV._)(this,e),this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=function(e,t,r,i){var a=dL(e);i?n.warnings.push(new dy(a,t,r)):n.errors.push(new dm(a,t,r))},this.directives=new fL({version:t.version||"1.2"}),this.options=t}return(0,oG._)(e,[{key:"decorate",value:function(e,t){var n=dR(this.prelude),r=n.comment,i=n.afterEmptyLine;if(r){var a=e.contents;if(t)e.comment=e.comment?"".concat(e.comment,"\n").concat(r):r;else if(i||e.directives.docStart||!a)e.commentBefore=r;else if(fb(a)&&!a.flow&&a.items.length>0){var o=a.items[0];fm(o)&&(o=o.key);var s=o.commentBefore;o.commentBefore=s?"".concat(r,"\n").concat(s):r}else{var c=a.commentBefore;a.commentBefore=c?"".concat(r,"\n").concat(c):r}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}},{key:"streamInfo",value:function(){return{comment:dR(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}},{key:"compose",value:function(e){var t,n,r,i,a,o,s,c,u,l=arguments;return(0,oB.__generator)(this,function(f){switch(f.label){case 0:t=l.length>1&&void 0!==l[1]&&l[1],n=l.length>2&&void 0!==l[2]?l[2]:-1,r=!0,i=!1,a=void 0,f.label=1;case 1:f.trys.push([1,6,7,8]),o=e[Symbol.iterator](),f.label=2;case 2:if(r=(s=o.next()).done)return[3,5];return c=s.value,[5,(0,oB.__values)(this.next(c))];case 3:f.sent(),f.label=4;case 4:return r=!0,[3,2];case 5:return[3,8];case 6:return u=f.sent(),i=!0,a=u,[3,8];case 7:try{r||null==o.return||o.return()}finally{if(i)throw a}return[7];case 8:return[5,(0,oB.__values)(this.end(t,n))];case 9:return f.sent(),[2]}})}},{key:"next",value:function(e){var t,n,r,i,a,o;return(0,oB.__generator)(this,function(s){switch(s.label){case 0:switch(t=this,e.type){case"directive":return[3,1];case"document":return[3,2];case"byte-order-mark":case"space":return[3,5];case"comment":case"newline":return[3,6];case"error":return[3,7];case"doc-end":return[3,8]}return[3,9];case 1:return this.directives.add(e.source,function(n,r,i){var a=dL(e);a[0]+=n,t.onError(a,"BAD_DIRECTIVE",r,i)}),this.prelude.push(e.source),this.atDirectives=!0,[3,10];case 2:var c,u,l,f,h,d,p,v,m,y,g,b;if(c=this.options,u=this.directives,l=this.onError,f=e.offset,h=e.start,d=e.value,p=e.end,m={atRoot:!0,directives:(v=new dh(void 0,Object.assign({_directives:u},c))).directives,options:v.options,schema:v.schema},(y=db(h,{indicator:"doc-start",next:null!=d?d:null==p?void 0:p[0],offset:f,onError:l,startOnNewline:!0})).found&&(v.directives.docStart=!0,d&&("block-map"===d.type||"block-seq"===d.type)&&!y.hasNewline&&l(y.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),v.contents=d?dC(m,d,y,l):dI(m,y.end,h,null,y,l),(b=dO(p,g=v.contents.range[2],!1,l)).comment&&(v.comment=b.comment),v.range=[f,g,b.offset],n=v,this.atDirectives&&!n.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(n,!1),!this.doc)return[3,4];return[4,this.doc];case 3:s.sent(),s.label=4;case 4:return this.doc=n,this.atDirectives=!1,[3,10];case 5:return[3,10];case 6:return this.prelude.push(e.source),[3,10];case 7:return r=e.source?"".concat(e.message,": ").concat(JSON.stringify(e.source)):e.message,i=new dm(dL(e),"UNEXPECTED_TOKEN",r),this.atDirectives||!this.doc?this.errors.push(i):this.doc.errors.push(i),[3,10];case 8:if(!this.doc)return this.errors.push(new dm(dL(e),"UNEXPECTED_TOKEN","Unexpected doc-end without preceding document")),[3,10];return this.doc.directives.docEnd=!0,a=dO(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError),this.decorate(this.doc,!0),a.comment&&(o=this.doc.comment,this.doc.comment=o?"".concat(o,"\n").concat(a.comment):a.comment),this.doc.range[2]=a.offset,[3,10];case 9:this.errors.push(new dm(dL(e),"UNEXPECTED_TOKEN","Unsupported token ".concat(e.type))),s.label=10;case 10:return[2]}})}},{key:"end",value:function(){var e,t,n,r=arguments;return(0,oB.__generator)(this,function(i){switch(i.label){case 0:if(e=r.length>0&&void 0!==r[0]&&r[0],t=r.length>1&&void 0!==r[1]?r[1]:-1,!this.doc)return[3,2];return this.decorate(this.doc,!0),[4,this.doc];case 1:return i.sent(),this.doc=null,[3,4];case 2:if(!e)return[3,4];return n=new dh(void 0,Object.assign({_directives:this.directives},this.options)),this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),n.range=[0,t,t],this.decorate(n,!1),[4,n];case 3:i.sent(),i.label=4;case 4:return[2]}})}}]),e}(),oJ=oL("4hdwe"),oZ=oL("jCO7g"),dB=Symbol("break visit"),dD=Symbol("skip children"),dF=Symbol("remove item");function dU(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),function e(t,n,r){var i=r(n,t);if((void 0===i?"undefined":(0,oZ._)(i))==="symbol")return i;for(var a=0,o=["key","value"];a1&&void 0!==i[1]&&i[1],e&&(this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null),this.atEnd=!t,r=null!==(n=this.next)&&void 0!==n?n:"stream",a.label=1;case 1:if(!(r&&(t||this.hasChars(1))))return[3,3];return[5,(0,oB.__values)(this.parseNext(r))];case 2:return r=a.sent(),[3,1];case 3:return[2]}})}},{key:"atLineEnd",value:function(){for(var e=this.pos,t=this.buffer[e];" "===t||" "===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}},{key:"charAt",value:function(e){return this.buffer[this.pos+e]}},{key:"continueScalar",value:function(e){var t=this.buffer[e];if(this.indentNext>0){for(var n=0;" "===t;)t=this.buffer[++n+e];if("\r"===t){var r=this.buffer[n+e+1];if("\n"===r||!r&&!this.atEnd)return e+n+1}return"\n"!==t&&!(n>=this.indentNext)&&(t||this.atEnd)?-1:e+n}if("-"===t||"."===t){var i=this.buffer.substr(e,3);if(("---"===i||"..."===i)&&dz(this.buffer[e+3]))return -1}return e}},{key:"getLine",value:function(){var e=this.lineEndPos;return(("number"!=typeof e||-1!==e&&ethis.indentValue&&!dz(this.charAt(1))&&(this.indentNext=this.indentValue),[5,(0,oB.__values)(this.parseBlockStart())];case 6:return[2,r.sent()]}})}},{key:"parseBlockStart",value:function(){var e,t,n,r,i;return(0,oB.__generator)(this,function(a){switch(a.label){case 0:if(t=(e=(0,oJ._)(this.peek(2),2))[0],!(n=e[1])&&!this.atEnd)return[2,this.setNext("block-start")];if(!(("-"===t||"?"===t||":"===t)&&dz(n)))return[3,4];return[5,(0,oB.__values)(this.pushCount(1))];case 1:return i=a.sent(),[5,(0,oB.__values)(this.pushSpaces(!0))];case 2:return r=i+a.sent(),this.indentNext=this.indentValue+1,this.indentValue+=r,[5,(0,oB.__values)(this.parseBlockStart())];case 3:return[2,a.sent()];case 4:return[2,"doc"]}})}},{key:"parseDocument",value:function(){var e,t;return(0,oB.__generator)(this,function(n){switch(n.label){case 0:return[5,(0,oB.__values)(this.pushSpaces(!0))];case 1:if(n.sent(),null===(e=this.getLine()))return[2,this.setNext("doc")];return[5,(0,oB.__values)(this.pushIndicators())];case 2:switch(e[t=n.sent()]){case"#":return[3,3];case void 0:return[3,5];case"{":case"[":return[3,8];case"}":case"]":return[3,10];case"*":return[3,12];case'"':case"'":return[3,14];case"|":case">":return[3,16]}return[3,22];case 3:return[5,(0,oB.__values)(this.pushCount(e.length-t))];case 4:n.sent(),n.label=5;case 5:return[5,(0,oB.__values)(this.pushNewline())];case 6:return n.sent(),[5,(0,oB.__values)(this.parseLineStart())];case 7:case 15:case 21:case 23:return[2,n.sent()];case 8:case 10:return[5,(0,oB.__values)(this.pushCount(1))];case 9:return n.sent(),this.flowKey=!1,this.flowLevel=1,[2,"flow"];case 11:case 13:return n.sent(),[2,"doc"];case 12:return[5,(0,oB.__values)(this.pushUntil(dV))];case 14:return[5,(0,oB.__values)(this.parseQuotedScalar())];case 16:return[5,(0,oB.__values)(this.parseBlockScalarHeader())];case 17:return t+=n.sent(),[5,(0,oB.__values)(this.pushSpaces(!0))];case 18:return t+=n.sent(),[5,(0,oB.__values)(this.pushCount(e.length-t))];case 19:return n.sent(),[5,(0,oB.__values)(this.pushNewline())];case 20:return n.sent(),[5,(0,oB.__values)(this.parseBlockScalar())];case 22:return[5,(0,oB.__values)(this.parsePlainScalar())];case 24:return[2]}})}},{key:"parseFlowCollection",value:function(){var e,t,n,r,i,a;return(0,oB.__generator)(this,function(o){switch(o.label){case 0:n=-1,o.label=1;case 1:return[5,(0,oB.__values)(this.pushNewline())];case 2:if(!((e=o.sent())>0))return[3,4];return[5,(0,oB.__values)(this.pushSpaces(!1))];case 3:return t=o.sent(),this.indentValue=n=t,[3,5];case 4:t=0,o.label=5;case 5:return[5,(0,oB.__values)(this.pushSpaces(!0))];case 6:t+=o.sent(),o.label=7;case 7:if(e+t>0)return[3,1];o.label=8;case 8:if(null===(r=this.getLine()))return[2,this.setNext("flow")];if(!(-1!==n&&n"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break;return[5,(0,oB.__values)(this.pushUntil(function(e){return dz(e)||"#"===e}))];case 1:return[2,n.sent()]}})}},{key:"parseBlockScalar",value:function(){var e,t,n,r,i,a,o,s,c;return(0,oB.__generator)(this,function(u){switch(u.label){case 0:e=this.pos-1,t=0;e:for(r=this.pos;n=this.buffer[r];++r)switch(n){case" ":t+=1;break;case"\n":e=r,t=0;break;case"\r":if(!(i=this.buffer[r+1])&&!this.atEnd)return[2,this.setNext("block-scalar")];if("\n"===i)break;default:break e}if(!n&&!this.atEnd)return[2,this.setNext("block-scalar")];if(t>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=t:this.indentNext+=this.blockScalarIndent;do{if(-1===(a=this.continueScalar(e+1)))break;e=this.buffer.indexOf("\n",a)}while(-1!==e)if(-1===e){if(!this.atEnd)return[2,this.setNext("block-scalar")];e=this.buffer.length}}if(!this.blockScalarKeep)for(;;){for(o=e-1,"\r"===(s=this.buffer[o])&&(s=this.buffer[--o]),c=o;" "===s||" "===s;)s=this.buffer[--o];if("\n"===s&&o>=this.pos&&o+1+t>c)e=o;else break}return[4,"\x1f"];case 1:return u.sent(),[5,(0,oB.__values)(this.pushToIndex(e+1,!0))];case 2:return u.sent(),[5,(0,oB.__values)(this.parseLineStart())];case 3:return[2,u.sent()]}})}},{key:"parsePlainScalar",value:function(){var e,t,n,r,i,a,o;return(0,oB.__generator)(this,function(s){switch(s.label){case 0:for(e=this.flowLevel>0,t=this.pos-1,n=this.pos-1;r=this.buffer[++n];)if(":"===r){if(dz(i=this.buffer[n+1])||e&&","===i)break;t=n}else if(dz(r)){if(a=this.buffer[n+1],"\r"===r&&("\n"===a?(n+=1,r="\n",a=this.buffer[n+1]):t=n),"#"===a||e&&dq.includes(a))break;if("\n"===r){if(-1===(o=this.continueScalar(n+1)))break;n=Math.max(n,o-2)}}else{if(e&&dq.includes(r))break;t=n}if(!r&&!this.atEnd)return[2,this.setNext("plain-scalar")];return[4,"\x1f"];case 1:return s.sent(),[5,(0,oB.__values)(this.pushToIndex(t+1,!0))];case 2:return s.sent(),[2,e?"flow":"doc"]}})}},{key:"pushCount",value:function(e){return(0,oB.__generator)(this,function(t){switch(t.label){case 0:if(!(e>0))return[3,2];return[4,this.buffer.substr(this.pos,e)];case 1:return t.sent(),this.pos+=e,[2,e];case 2:return[2,0]}})}},{key:"pushToIndex",value:function(e,t){var n;return(0,oB.__generator)(this,function(r){switch(r.label){case 0:if(!(n=this.buffer.slice(this.pos,e)))return[3,2];return[4,n];case 1:return r.sent(),this.pos+=n.length,[2,n.length];case 2:if(!t)return[3,4];return[4,""];case 3:r.sent(),r.label=4;case 4:return[2,0]}})}},{key:"pushIndicators",value:function(){var e,t,n,r,i,a,o,s;return(0,oB.__generator)(this,function(c){switch(c.label){case 0:switch(this.charAt(0)){case"!":return[3,1];case"&":return[3,5];case"-":case"?":case":":return[3,9]}return[3,13];case 1:return[5,(0,oB.__values)(this.pushTag())];case 2:return e=c.sent(),[5,(0,oB.__values)(this.pushSpaces(!0))];case 3:return t=e+c.sent(),[5,(0,oB.__values)(this.pushIndicators())];case 4:return[2,t+c.sent()];case 5:return[5,(0,oB.__values)(this.pushUntil(dV))];case 6:return n=c.sent(),[5,(0,oB.__values)(this.pushSpaces(!0))];case 7:return r=n+c.sent(),[5,(0,oB.__values)(this.pushIndicators())];case 8:return[2,r+c.sent()];case 9:if(i=this.flowLevel>0,!(dz(a=this.charAt(1))||i&&dq.includes(a)))return[3,13];return i?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,[5,(0,oB.__values)(this.pushCount(1))];case 10:return o=c.sent(),[5,(0,oB.__values)(this.pushSpaces(!0))];case 11:return s=o+c.sent(),[5,(0,oB.__values)(this.pushIndicators())];case 12:return[2,s+c.sent()];case 13:return[2,0]}})}},{key:"pushTag",value:function(){var e,t,n,r;return(0,oB.__generator)(this,function(i){switch(i.label){case 0:if("<"!==this.charAt(1))return[3,2];for(e=this.pos+2,t=this.buffer[e];!dz(t)&&">"!==t;)t=this.buffer[++e];return[5,(0,oB.__values)(this.pushToIndex(">"===t?e+1:e,!1))];case 1:case 3:return[2,i.sent()];case 2:for(n=this.pos+1,r=this.buffer[n];r;)if(dW.includes(r))r=this.buffer[++n];else if("%"===r&&dH.includes(this.buffer[n+1])&&dH.includes(this.buffer[n+2]))r=this.buffer[n+=3];else break;return[5,(0,oB.__values)(this.pushToIndex(n,!1))];case 4:return[2]}})}},{key:"pushNewline",value:function(){var e;return(0,oB.__generator)(this,function(t){switch(t.label){case 0:if("\n"!==(e=this.buffer[this.pos]))return[3,2];return[5,(0,oB.__values)(this.pushCount(1))];case 1:case 3:return[2,t.sent()];case 2:if(!("\r"===e&&"\n"===this.charAt(1)))return[3,4];return[5,(0,oB.__values)(this.pushCount(2))];case 4:return[2,0];case 5:return[2]}})}},{key:"pushSpaces",value:function(e){var t,n,r;return(0,oB.__generator)(this,function(i){switch(i.label){case 0:t=this.pos-1;do n=this.buffer[++t];while(" "===n||e&&" "===n)if(!((r=t-this.pos)>0))return[3,2];return[4,this.buffer.substr(this.pos,r)];case 1:i.sent(),this.pos=t,i.label=2;case 2:return[2,r]}})}},{key:"pushUntil",value:function(e){var t,n;return(0,oB.__generator)(this,function(r){switch(r.label){case 0:for(t=this.pos,n=this.buffer[t];!e(n);)n=this.buffer[++t];return[5,(0,oB.__values)(this.pushToIndex(t,!1))];case 1:return[2,r.sent()]}})}}]),e}(),oV=oL("cmOe7"),dK=function e(){var t=this;(0,oV._)(this,e),this.lineStarts=[],this.addNewLine=function(e){return t.lineStarts.push(e)},this.linePos=function(e){for(var n=0,r=t.lineStarts.length;n>1;t.lineStarts[i]=0;)switch(e[n].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;(null===(t=e[++n])||void 0===t?void 0:t.type)==="space";);return e.splice(n,e.length)}function d0(e){if("flow-seq-start"===e.start.type){var t=!0,n=!1,r=void 0;try{for(var i,a=e.items[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var o=i.value;!o.sep||o.value||dJ(o.start,"explicit-key-ind")||dJ(o.sep,"map-value-ind")||(o.key&&(o.value=o.key),delete o.key,dY(o.value)?o.value.end?Array.prototype.push.apply(o.value.end,o.sep):o.value.end=o.sep:Array.prototype.push.apply(o.start,o.sep),delete o.sep)}}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}}}var d1=function(){function e(t){(0,oV._)(this,e),this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new dG,this.onNewLine=t}return(0,oG._)(e,[{key:"parse",value:function(e){var t,n,r,i,a,o,s,c,u=arguments;return(0,oB.__generator)(this,function(l){switch(l.label){case 0:t=u.length>1&&void 0!==u[1]&&u[1],this.onNewLine&&0===this.offset&&this.onNewLine(0),n=!0,r=!1,i=void 0,l.label=1;case 1:l.trys.push([1,6,7,8]),a=this.lexer.lex(e,t)[Symbol.iterator](),l.label=2;case 2:if(n=(o=a.next()).done)return[3,5];return s=o.value,[5,(0,oB.__values)(this.next(s))];case 3:l.sent(),l.label=4;case 4:return n=!0,[3,2];case 5:return[3,8];case 6:return c=l.sent(),r=!0,i=c,[3,8];case 7:try{n||null==a.return||a.return()}finally{if(r)throw i}return[7];case 8:if(t)return[3,10];return[5,(0,oB.__values)(this.end())];case 9:l.sent(),l.label=10;case 10:return[2]}})}},{key:"next",value:function(e){var t,n;return(0,oB.__generator)(this,function(r){switch(r.label){case 0:if(this.source=e,!this.atScalar)return[3,2];return this.atScalar=!1,[5,(0,oB.__values)(this.step())];case 1:return r.sent(),this.offset+=e.length,[2];case 2:if(t=function(e){switch(e){case"\uFEFF":return"byte-order-mark";case"\x02":return"doc-mode";case"\x18":return"flow-error-end";case"\x1f":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}(e))return[3,4];return n="Not a YAML token: ".concat(e),[5,(0,oB.__values)(this.pop({type:"error",offset:this.offset,message:n,source:e}))];case 3:return r.sent(),this.offset+=e.length,[3,7];case 4:if("scalar"!==t)return[3,5];return this.atNewLine=!1,this.atScalar=!0,this.type="scalar",[3,7];case 5:return this.type=t,[5,(0,oB.__values)(this.step())];case 6:switch(r.sent(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return[2];default:this.atNewLine=!1}this.offset+=e.length,r.label=7;case 7:return[2]}})}},{key:"end",value:function(){return(0,oB.__generator)(this,function(e){switch(e.label){case 0:if(!(this.stack.length>0))return[3,2];return[5,(0,oB.__values)(this.pop())];case 1:return e.sent(),[3,0];case 2:return[2]}})}},{key:"sourceToken",get:function(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}},{key:"step",value:function(){var e;return(0,oB.__generator)(this,function(t){switch(t.label){case 0:if(e=this.peek(1),!("doc-end"===this.type&&(!e||"doc-end"!==e.type)))return[3,4];t.label=1;case 1:if(!(this.stack.length>0))return[3,3];return[5,(0,oB.__values)(this.pop())];case 2:return t.sent(),[3,1];case 3:return this.stack.push({type:"doc-end",offset:this.offset,source:this.source}),[2];case 4:if(e)return[3,6];return[5,(0,oB.__values)(this.stream())];case 5:case 8:case 10:case 12:case 14:case 16:case 18:case 20:return[2,t.sent()];case 6:switch(e.type){case"document":return[3,7];case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return[3,9];case"block-scalar":return[3,11];case"block-map":return[3,13];case"block-seq":return[3,15];case"flow-collection":return[3,17];case"doc-end":return[3,19]}return[3,21];case 7:return[5,(0,oB.__values)(this.document(e))];case 9:return[5,(0,oB.__values)(this.scalar(e))];case 11:return[5,(0,oB.__values)(this.blockScalar(e))];case 13:return[5,(0,oB.__values)(this.blockMap(e))];case 15:return[5,(0,oB.__values)(this.blockSequence(e))];case 17:return[5,(0,oB.__values)(this.flowCollection(e))];case 19:return[5,(0,oB.__values)(this.documentEnd(e))];case 21:return[5,(0,oB.__values)(this.pop())];case 22:return t.sent(),[2]}})}},{key:"peek",value:function(e){return this.stack[this.stack.length-e]}},{key:"pop",value:function(e){var t,n,r,i,a,o;return(0,oB.__generator)(this,function(s){switch(s.label){case 0:if(t=null!=e?e:this.stack.pop())return[3,2];return[4,{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"}];case 1:case 3:return s.sent(),[3,14];case 2:if(0!==this.stack.length)return[3,4];return[4,t];case 4:switch(n=this.peek(1),"block-scalar"===t.type?t.indent="indent"in n?n.indent:0:"flow-collection"===t.type&&"document"===n.type&&(t.indent=0),"flow-collection"===t.type&&d0(t),n.type){case"document":return[3,5];case"block-scalar":return[3,6];case"block-map":return[3,7];case"block-seq":return[3,8];case"flow-collection":return[3,9]}return[3,10];case 5:return n.value=t,[3,13];case 6:return n.props.push(t),[3,13];case 7:if((r=n.items[n.items.length-1]).value)return n.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0,[2];if(!r.sep)return Object.assign(r,{key:t,sep:[]}),this.onKeyLine=!dJ(r.start,"explicit-key-ind"),[2];return r.value=t,[3,13];case 8:return(i=n.items[n.items.length-1]).value?n.items.push({start:[],value:t}):i.value=t,[3,13];case 9:return(a=n.items[n.items.length-1])&&!a.value?a.sep?a.value=t:Object.assign(a,{key:t,sep:[]}):n.items.push({start:[],key:t,sep:[]}),[2];case 10:return[5,(0,oB.__values)(this.pop())];case 11:return s.sent(),[5,(0,oB.__values)(this.pop(t))];case 12:s.sent(),s.label=13;case 13:("document"===n.type||"block-map"===n.type||"block-seq"===n.type)&&("block-map"===t.type||"block-seq"===t.type)&&(o=t.items[t.items.length-1])&&!o.sep&&!o.value&&o.start.length>0&&-1===dZ(o.start)&&(0===t.indent||o.start.every(function(e){return"comment"!==e.type||e.indent=e.indent){if(s=!this.onKeyLine&&this.indent===e.indent&&t.sep,c=[],s&&t.sep&&!t.value){for(l=0,u=[];le.indent&&(u.length=0);break;default:u.length=0}u.length>=2&&(c=t.sep.splice(u[1]))}switch(this.type){case"anchor":case"tag":return s||t.value?(c.push(this.sourceToken),e.items.push({start:c}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken),[2];case"explicit-key-ind":return t.sep||dJ(t.start,"explicit-key-ind")?s||t.value?(c.push(this.sourceToken),e.items.push({start:c})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}):t.start.push(this.sourceToken),this.onKeyLine=!0,[2];case"map-value-ind":return dJ(t.start,"explicit-key-ind")?t.sep?t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):dJ(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:c,key:null,sep:[this.sourceToken]}]}):dY(t.key)&&!dJ(t.sep,"newline")?(d=dQ(t.start),p=t.key,(v=t.sep).push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:d,key:p,sep:v}]})):c.length>0?t.sep=t.sep.concat(c,this.sourceToken):t.sep.push(this.sourceToken):dJ(t.start,"newline")?Object.assign(t,{key:null,sep:[this.sourceToken]}):(h=dQ(t.start),this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:h,key:null,sep:[this.sourceToken]}]})):t.sep?t.value||s?e.items.push({start:c,key:null,sep:[this.sourceToken]}):dJ(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]}),this.onKeyLine=!0,[2];case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return m=this.flowScalar(this.type),s||t.value?(e.items.push({start:c,key:m,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(m):(Object.assign(t,{key:m,sep:[]}),this.onKeyLine=!0),[2];default:if(y=this.startBlockValue(e))return s&&"block-seq"!==y.type&&dJ(t.start,"explicit-key-ind")&&e.items.push({start:c}),this.stack.push(y),[2]}}return[5,(0,oB.__values)(this.pop())];case 1:return g.sent(),[5,(0,oB.__values)(this.step())];case 2:return g.sent(),[2]}})}},{key:"blockSequence",value:function(e){var t,n,r,i,a,o,s;return(0,oB.__generator)(this,function(c){switch(c.label){case 0:switch(t=e.items[e.items.length-1],this.type){case"newline":return t.value?(null==(r=Array.isArray(n="end"in t.value?t.value.end:void 0)?n[n.length-1]:void 0)?void 0:r.type)==="comment"?null==n||n.push(this.sourceToken):e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken),[2];case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)&&Array.isArray(o=null==(a=e.items[e.items.length-2])?void 0:null===(i=a.value)||void 0===i?void 0:i.end))return Array.prototype.push.apply(o,t.start),o.push(this.sourceToken),e.items.pop(),[2];t.start.push(this.sourceToken)}return[2];case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;return t.start.push(this.sourceToken),[2];case"seq-item-ind":if(this.indent!==e.indent)break;return t.value||dJ(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken),[2]}if(this.indent>e.indent&&(s=this.startBlockValue(e)))return this.stack.push(s),[2];return[5,(0,oB.__values)(this.pop())];case 1:return c.sent(),[5,(0,oB.__values)(this.step())];case 2:return c.sent(),[2]}})}},{key:"flowCollection",value:function(e){var t,n,r,i,a,o,s,c;return(0,oB.__generator)(this,function(u){switch(u.label){case 0:if(t=e.items[e.items.length-1],"flow-error-end"!==this.type)return[3,5];u.label=1;case 1:return[5,(0,oB.__values)(this.pop())];case 2:u.sent(),n=this.peek(1),u.label=3;case 3:if(n&&"flow-collection"===n.type)return[3,1];u.label=4;case 4:return[3,16];case 5:if(0!==e.end.length)return[3,10];switch(this.type){case"comma":case"explicit-key-ind":return!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken),[2];case"map-value-ind":return!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]}),[2];case"space":case"comment":case"newline":case"anchor":case"tag":return!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken),[2];case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return r=this.flowScalar(this.type),!t||t.value?e.items.push({start:[],key:r,sep:[]}):t.sep?this.stack.push(r):Object.assign(t,{key:r,sep:[]}),[2];case"flow-map-end":case"flow-seq-end":return e.end.push(this.sourceToken),[2]}if(!(i=this.startBlockValue(e)))return[3,6];return this.stack.push(i),[3,9];case 6:return[5,(0,oB.__values)(this.pop())];case 7:return u.sent(),[5,(0,oB.__values)(this.step())];case 8:u.sent(),u.label=9;case 9:return[3,16];case 10:if(!("block-map"===(a=this.peek(2)).type&&("map-value-ind"===this.type&&a.indent===e.indent||"newline"===this.type&&!a.items[a.items.length-1].sep)))return[3,13];return[5,(0,oB.__values)(this.pop())];case 11:return u.sent(),[5,(0,oB.__values)(this.step())];case 12:return u.sent(),[3,16];case 13:if(!("map-value-ind"===this.type&&"flow-collection"!==a.type))return[3,14];return o=dQ(dX(a)),d0(e),(s=e.end.splice(1,e.end.length)).push(this.sourceToken),c={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:o,key:e,sep:s}]},this.onKeyLine=!0,this.stack[this.stack.length-1]=c,[3,16];case 14:return[5,(0,oB.__values)(this.lineEnd(e))];case 15:u.sent(),u.label=16;case 16:return[2]}})}},{key:"flowScalar",value:function(e){if(this.onNewLine)for(var t=this.source.indexOf("\n")+1;0!==t;)this.onNewLine(this.offset+t),t=this.source.indexOf("\n",t)+1;return{type:e,offset:this.offset,indent:this.indent,source:this.source}}},{key:"startBlockValue",value:function(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":this.onKeyLine=!0;var t=dQ(dX(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t}]};case"map-value-ind":this.onKeyLine=!0;var n=dQ(dX(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]}}return null}},{key:"atIndentedComment",value:function(e,t){return"comment"===this.type&&!(this.indent<=t)&&e.every(function(e){return"newline"===e.type||"space"===e.type})}},{key:"documentEnd",value:function(e){return(0,oB.__generator)(this,function(t){switch(t.label){case 0:if(!("doc-mode"!==this.type)||(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"!==this.type))return[3,2];return[5,(0,oB.__values)(this.pop())];case 1:t.sent(),t.label=2;case 2:return[2]}})}},{key:"lineEnd",value:function(e){return(0,oB.__generator)(this,function(t){switch(t.label){case 0:switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":return[3,1];case"newline":return[3,4]}return[3,5];case 1:return[5,(0,oB.__values)(this.pop())];case 2:return t.sent(),[5,(0,oB.__values)(this.step())];case 3:return t.sent(),[3,7];case 4:this.onKeyLine=!1,t.label=5;case 5:if(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"!==this.type)return[3,7];return[5,(0,oB.__values)(this.pop())];case 6:t.sent(),t.label=7;case 7:return[2]}})}}]),e}();var d2=function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}c((r=r.apply(e,t||[])).next())})},d3=function(){function e(t,n){(0,oV._)(this,e),Object.defineProperty(this,"owner",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"repo",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(this,"client",{enumerable:!0,configurable:!0,writable:!0,value:new lt.HTTPClient({baseURI:"https://api.github.com/",responseType:"json"})})}return(0,oG._)(e,[{key:"getContents",value:function(e){return d2(this,void 0,void 0,function(){var t,n,r,i,a,o;return(0,oB.__generator)(this,function(s){switch(s.label){case 0:return t=this,n=t.owner,r=t.repo,i=e.split(".").slice(-1)[0],[4,this.client.get("repos/".concat(n,"/").concat(r,"/contents/").concat(e))];case 1:switch(a=s.sent().body,o=fa.decode(a.content),i){case"json":return[2,JSON.parse(o)];case"yaml":case"yml":return[2,function(e,t,n){var r=void 0;"function"==typeof t?r=t:void 0===n&&t&&"object"==typeof t&&(n=t);var i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(f=!1!==t.prettyErrors,{lineCounter:t.lineCounter||f&&new dK||null,prettyErrors:f}),r=n.lineCounter,i=n.prettyErrors,a=new d1(null==r?void 0:r.addNewLine),o=new dM(t),s=null,c=!0,u=!1,l=void 0;try{for(var f,h,d=o.compose(a.parse(e),!0,e.length)[Symbol.iterator]();!(c=(h=d.next()).done);c=!0){var p=h.value;if(s){if("silent"!==s.options.logLevel){s.errors.push(new dm(p.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else s=p}}catch(e){u=!0,l=e}finally{try{c||null==d.return||d.return()}finally{if(u)throw l}}return i&&r&&(s.errors.forEach(dg(e,r)),s.warnings.forEach(dg(e,r))),s}(e,n);if(!i)return null;if(i.warnings.forEach(function(e){return hg(i.options.logLevel,e)}),i.errors.length>0){if("silent"!==i.options.logLevel)throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:r},n))}(o)];default:return[2,o]}return[2]}})})}},{key:"getContributors",value:function(){return d2(this,void 0,void 0,function(){var e,t,n;return(0,oB.__generator)(this,function(r){switch(r.label){case 0:return e=this,t=e.owner,n=e.repo,[4,this.client.get("repos/".concat(t,"/").concat(n,"/contributors?per_page=100"))];case 1:return[2,r.sent().body]}})})}}]),e}(),lt=oL("2dHdv"),d4={local:"http://localhost:3000",remote:"https://vuqjf9paihid.leanapp.cn",test:"https://vsw505fxbitp.leanapp.cn/"},d5=new lt.HTTPClient({baseURI:"localhost"===location.hostname?d4[void 0]:d4.remote,withCredentials:!0,responseType:"json"});(tJ=ok||(ok={}))[tJ.Admin=0]="Admin";var oJ=oL("4hdwe"),oB=oL("7usEZ"),lt=oL("2dHdv"),oD=oL("h9DRc"),d6=function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}c((r=r.apply(e,t||[])).next())})},d8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},d7=new(0,lt.HTTPClient)({baseURI:"https://restapi.amap.com/v3/",responseType:"json"}).use(function(e,t){var n=e.request,r=e.response;return d6(void 0,void 0,void 0,function(){var e,i,a,o,s,c,u;return(0,oB.__generator)(this,function(l){switch(l.label){case 0:return i=(e=(0,oJ._)((n.path+"").split("?"),2))[0],a=e[1],n.path="".concat(i,"?").concat((0,oD.buildURLData)(Object.assign(Object.assign({},(0,oD.parseURLData)(a)),{key:"8325164e247e15eea68b59e89200988b"}))),[4,t()];case 1:if(l.sent(),s=(o=r.body).status,c=o.info,u=d8(o,["status","info"]),"1"!==s)throw new lt.HTTPError(c,r);return r.body=u,[2]}})})});function d9(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"中国";return d6(this,void 0,void 0,function(){return(0,oB.__generator)(this,function(t){switch(t.label){case 0:return[4,d7.get("config/district?".concat((0,oD.buildURLData)({keywords:e})))];case 1:return[2,t.sent().body.districts[0].districts]}})})}var oB=oL("7usEZ"),lt=oL("2dHdv");new lt.HTTPClient({baseURI:"https://lab.ahusmart.com/nCoV/api/",responseType:"json"});var pe=new d3("wuhan2020","WebApp"),pt=function(e,t,n){for(var r=arguments.length>2,i=0;i=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0}(tZ,null,[oq.observable],{kind:"accessor",name:"user",static:!1,private:!1,access:{has:function(e){return"user"in e},get:function(e){return e.user},set:function(e,t){e.user=t}},metadata:t0},tQ,tX),t0&&Object.defineProperty(tZ,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t0}),tZ),o$=oL("7m3ow"),oV=oL("cmOe7"),oG=oL("6CHtA"),oK=oL("hJgGh"),oY=oL("9GB8M"),oB=oL("7usEZ"),oq=oL("i4niu"),oV=oL("cmOe7"),oG=oL("6CHtA"),oK=oL("hJgGh"),oY=oL("9GB8M"),oB=oL("7usEZ"),oq=oL("i4niu"),po=function(e,t,n,r,i,a){function o(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,c=r.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),h=!1,d=n.length-1;d>=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0},ps=function(e,t,n){for(var r=arguments.length>2,i=0;i2,i=0;i=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0}(nr,null,[oq.observable],{kind:"accessor",name:"roles",static:!1,private:!1,access:{has:function(e){return"roles"in e},get:function(e){return e.roles},set:function(e,t){e.roles=t}},metadata:nc},no,na),nc&&Object.defineProperty(nr,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:nc}),nr),o$=oL("7m3ow"),oV=oL("cmOe7"),oK=oL("hJgGh"),oY=oL("9GB8M"),pg=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(){var e;return(0,oV._)(this,n),e=t.call.apply(t,[this].concat(Array.prototype.slice.call(arguments))),Object.defineProperty((0,o$._)(e),"baseURI",{enumerable:!0,configurable:!0,writable:!0,value:"/supplies/requirement/"}),e}return n}(ph),o$=oL("7m3ow"),oV=oL("cmOe7"),oK=oL("hJgGh"),oY=oL("9GB8M"),pb=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(){var e;return(0,oV._)(this,n),e=t.call.apply(t,[this].concat(Array.prototype.slice.call(arguments))),Object.defineProperty((0,o$._)(e),"baseURI",{enumerable:!0,configurable:!0,writable:!0,value:"/logistics/"}),e}return n}(ph),o$=oL("7m3ow"),oV=oL("cmOe7"),oK=oL("hJgGh"),oY=oL("9GB8M"),p_=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(){var e;return(0,oV._)(this,n),e=t.call.apply(t,[this].concat(Array.prototype.slice.call(arguments))),Object.defineProperty((0,o$._)(e),"baseURI",{enumerable:!0,configurable:!0,writable:!0,value:"/hotel/"}),e}return n}(ph),o$=oL("7m3ow"),oV=oL("cmOe7"),oK=oL("hJgGh"),oY=oL("9GB8M"),pw=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(){var e;return(0,oV._)(this,n),e=t.call.apply(t,[this].concat(Array.prototype.slice.call(arguments))),Object.defineProperty((0,o$._)(e),"baseURI",{enumerable:!0,configurable:!0,writable:!0,value:"/clinic/"}),e}return n}(ph),o$=oL("7m3ow"),oV=oL("cmOe7"),oK=oL("hJgGh"),oY=oL("9GB8M"),pk=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(){var e;return(0,oV._)(this,n),e=t.call.apply(t,[this].concat(Array.prototype.slice.call(arguments))),Object.defineProperty((0,o$._)(e),"baseURI",{enumerable:!0,configurable:!0,writable:!0,value:"/donation/recipient/"}),e}return n}(ph),o$=oL("7m3ow"),oV=oL("cmOe7"),oK=oL("hJgGh"),oY=oL("9GB8M"),px=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(){var e;return(0,oV._)(this,n),e=t.call.apply(t,[this].concat(Array.prototype.slice.call(arguments))),Object.defineProperty((0,o$._)(e),"baseURI",{enumerable:!0,configurable:!0,writable:!0,value:"/vendor/"}),e}return n}(ph),oV=oL("cmOe7"),oG=oL("6CHtA"),oB=oL("7usEZ"),oq=oL("i4niu"),pO=function(e,t,n,r,i,a){function o(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,c=r.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),h=!1,d=n.length-1;d>=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0},pj=function(e,t,n){for(var r=arguments.length>2,i=0;i=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0},pW=function(e,t,n){for(var r=arguments.length>2,i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},pJ=(n$=[ct({tagName:"hospital-page"}),s6],nV=[],nG=nq=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(){var e;return(0,oV._)(this,n),e=t.call.apply(t,[this].concat(Array.prototype.slice.call(arguments))),Object.defineProperty((0,o$._)(e),"scope",{enumerable:!0,configurable:!0,writable:!0,value:"hospital"}),Object.defineProperty((0,o$._)(e),"model",{enumerable:!0,configurable:!0,writable:!0,value:pP}),Object.defineProperty((0,o$._)(e),"name",{enumerable:!0,configurable:!0,writable:!0,value:"医疗物资需求"}),Object.defineProperty((0,o$._)(e),"districtFilter",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty((0,o$._)(e),"renderItem",{enumerable:!0,configurable:!0,writable:!0,value:function(t){var n=t.hospital,r=t.supplies,i=t.province,a=t.city,o=t.district,s=t.address,c=t.contacts,u=pK(t,["hospital","supplies","province","city","district","address","contacts"]);return(0,oM.jsxs)(c2,{className:"mx-auto mb-4 mx-sm-1",style:{minWidth:"20rem",maxWidth:"20rem"},title:n,children:[(0,oM.jsx)("ol",{children:(void 0===r?[]:r).map(function(e){var t=e.name,n=e.count,r=e.remark;return(0,oM.jsxs)("li",{title:r,children:[t," ",(0,oM.jsxs)(ub,{bg:"danger",children:[n,"个"]})]},t)})}),(0,oM.jsxs)("div",{className:"text-center",children:[(0,oM.jsx)(up,{variant:"primary",onClick:function(){return e.clip2board(i+a+o+s)},children:"邮寄地址"}),c[0]&&(0,oM.jsx)(uH,{className:"d-inline-block ms-3",variant:"primary",caption:"联系方式",children:c.map(function(e){var t=e.name,n=e.phone;return(0,oM.jsxs)(uz,{href:"tel:"+n,children:[t,":",n]})})})]}),(0,oM.jsx)(c5,{children:(0,oM.jsx)(pz,Object.assign({scope:"hospital",model:pP},u))})]})}}),e}return n}(pG),nK="HospitalPage","symbol"===(0,oZ._)(nK)&&(nK=nK.description?"[".concat(nK.description,"]"):""),Object.defineProperty(nG,"name",{configurable:!0,value:nJ?"".concat(nJ," ",nK):nK}),nY="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(nZ=pG[Symbol.metadata])&&void 0!==nZ?nZ:null):void 0,function(e,t,n,r,i,a){function o(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,c=r.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),h=!1,d=n.length-1;d>=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0}(null,nW={value:nq},n$,{kind:"class",name:nq.name,metadata:nY},null,nV),nq=nW.value,nY&&Object.defineProperty(nq,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:nY}),function(e,t,n){for(var r=arguments.length>2,i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},pY={in:"寄入",out:"寄出",both:"寄入寄出"},pX=(n0=[ct({tagName:"logistics-page"}),s6],n1=[],n2=nQ=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(){var e;return(0,oV._)(this,n),e=t.call.apply(t,[this].concat(Array.prototype.slice.call(arguments))),Object.defineProperty((0,o$._)(e),"scope",{enumerable:!0,configurable:!0,writable:!0,value:"logistics"}),Object.defineProperty((0,o$._)(e),"model",{enumerable:!0,configurable:!0,writable:!0,value:pN}),Object.defineProperty((0,o$._)(e),"name",{enumerable:!0,configurable:!0,writable:!0,value:"物流公司"}),Object.defineProperty((0,o$._)(e),"renderItem",{enumerable:!0,configurable:!0,writable:!0,value:function(t){var n=t.url,r=t.name,i=t.serviceArea,a=t.contacts,o=t.remark,s=pZ(t,["url","name","serviceArea","contacts","remark"]);return(0,oM.jsxs)(c2,{className:"mx-auto mb-4 mx-sm-1",style:{minWidth:"20rem",maxWidth:"20rem"},children:[(0,oM.jsxs)(c4,{children:[(0,oM.jsx)(c6,{children:n?(0,oM.jsx)("a",{target:"_blank",href:n,children:r}):r}),i.map(e.renderServiceArea),null==a?void 0:a.map(e.renderContact),(0,oM.jsx)("p",{className:"text-muted",children:o})]}),(0,oM.jsx)(c5,{children:(0,oM.jsx)(pz,Object.assign({scope:"logistics",model:pN},s))})]})}}),Object.defineProperty((0,o$._)(e),"renderServiceArea",{enumerable:!0,configurable:!0,writable:!0,value:function(e){var t=e.city,n=e.direction,r=e.personal;return(0,oM.jsxs)("dl",{children:[(0,oM.jsx)("dt",{children:"地区:"}),(0,oM.jsx)("dd",{children:t}),(0,oM.jsx)("dt",{children:"方向:"}),(0,oM.jsx)("dd",{children:pY[n]}),!r&&(0,oM.jsx)("dd",{children:(0,oM.jsx)(ub,{bg:"danger",children:"不接受个人捐赠"})})]})}}),Object.defineProperty((0,o$._)(e),"renderContact",{enumerable:!0,configurable:!0,writable:!0,value:function(e){var t=e.name,n=e.phone;return(0,oM.jsx)("p",{className:"mb-1",children:(0,oM.jsxs)("a",{className:"text-center text-decoration-none",href:"tel:"+n,children:[(0,oM.jsx)(uh,{name:"phone"})," ",t," ",n]})})}}),e}return n}(pG),n3="LogisticsPage","symbol"===(0,oZ._)(n3)&&(n3=n3.description?"[".concat(n3.description,"]"):""),Object.defineProperty(n2,"name",{configurable:!0,value:n4?"".concat(n4," ",n3):n3}),n6="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(n5=pG[Symbol.metadata])&&void 0!==n5?n5:null):void 0,function(e,t,n,r,i,a){function o(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,c=r.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),h=!1,d=n.length-1;d>=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0}(null,nX={value:nQ},n0,{kind:"class",name:nQ.name,metadata:n6},null,n1),nQ=nX.value,n6&&Object.defineProperty(nQ,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:n6}),function(e,t,n){for(var r=arguments.length>2,i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},p0=(n9=[ct({tagName:"hotel-page"}),s6],re=[],rt=n7=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(){var e;return(0,oV._)(this,n),e=t.call.apply(t,[this].concat(Array.prototype.slice.call(arguments))),Object.defineProperty((0,o$._)(e),"scope",{enumerable:!0,configurable:!0,writable:!0,value:"hotel"}),Object.defineProperty((0,o$._)(e),"model",{enumerable:!0,configurable:!0,writable:!0,value:pC}),Object.defineProperty((0,o$._)(e),"name",{enumerable:!0,configurable:!0,writable:!0,value:"湖北同胞住宿指南"}),Object.defineProperty((0,o$._)(e),"districtFilter",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty((0,o$._)(e),"renderItem",{enumerable:!0,configurable:!0,writable:!0,value:function(e){var t=e.url,n=e.name,r=e.capacity,i=e.province,a=e.city,o=e.district,s=e.address,c=e.remark,u=e.coords,l=u.latitude,f=u.longitude,h=e.contacts,d=pQ(e,["url","name","capacity","province","city","district","address","remark","coords","contacts"]);return(0,oM.jsxs)(c2,{className:"mx-auto mb-4 mx-sm-1",style:{minWidth:"20rem",maxWidth:"20rem"},children:[(0,oM.jsxs)(c4,{children:[(0,oM.jsx)(c6,{children:t?(0,oM.jsx)("a",{target:"_blank",href:t,children:n}):n}),(0,oM.jsxs)("p",{children:["可接待人数:",(0,oM.jsx)(ub,{bg:"danger",children:r})]}),(0,oM.jsxs)("p",{children:["地址:",i+a+o+s]}),c&&(0,oM.jsx)("p",{className:"text-muted",children:c}),(0,oM.jsxs)("div",{className:"text-center",children:[(0,oM.jsx)(up,{variant:"primary",target:"_top",href:"//uri.amap.com/marker?"+new URLSearchParams({src:self.location.origin,position:[f,l].join(),name:n,callnative:"1"}),children:"地图导航"}),h[0]&&(0,oM.jsx)(uH,{className:"d-inline-block ms-3",variant:"primary",caption:"联系方式",children:h.map(function(e){var t=e.name,n=e.phone;return(0,oM.jsxs)(uz,{href:"tel:"+n,children:[t,":",n]})})})]})]}),(0,oM.jsx)(c5,{children:(0,oM.jsx)(pz,Object.assign({scope:"hotel",model:pC},d))})]})}}),e}return n}(pG),rn="HotelPage","symbol"===(0,oZ._)(rn)&&(rn=rn.description?"[".concat(rn.description,"]"):""),Object.defineProperty(rt,"name",{configurable:!0,value:rr?"".concat(rr," ",rn):rn}),ra="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(ri=pG[Symbol.metadata])&&void 0!==ri?ri:null):void 0,function(e,t,n,r,i,a){function o(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,c=r.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),h=!1,d=n.length-1;d>=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0}(null,n8={value:n7},n9,{kind:"class",name:n7.name,metadata:ra},null,re),n7=n8.value,ra&&Object.defineProperty(n7,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:ra}),function(e,t,n){for(var r=arguments.length>2,i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},p2=(rc=[ct({tagName:"factory-page"}),s6],ru=[],rl=rs=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(){var e;return(0,oV._)(this,n),e=t.call.apply(t,[this].concat(Array.prototype.slice.call(arguments))),Object.defineProperty((0,o$._)(e),"scope",{enumerable:!0,configurable:!0,writable:!0,value:"factory"}),Object.defineProperty((0,o$._)(e),"model",{enumerable:!0,configurable:!0,writable:!0,value:pR}),Object.defineProperty((0,o$._)(e),"name",{enumerable:!0,configurable:!0,writable:!0,value:"生产厂商"}),Object.defineProperty((0,o$._)(e),"districtFilter",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty((0,o$._)(e),"renderItem",{enumerable:!0,configurable:!0,writable:!0,value:function(t){var n=t.url,r=t.name,i=t.qualification,a=t.supplies,o=t.province,s=t.city,c=t.district,u=t.address,l=t.contacts,f=t.remark,h=p1(t,["url","name","qualification","supplies","province","city","district","address","contacts","remark"]);return(0,oM.jsxs)(c2,{className:"mx-auto mb-4 mx-sm-1",style:{minWidth:"20rem",maxWidth:"20rem"},children:[(0,oM.jsxs)(c4,{children:[(0,oM.jsx)(c6,{children:n?(0,oM.jsx)("a",{target:"_blank",href:n,children:r}):r}),(0,oM.jsxs)("p",{children:["资质证明:",(0,oM.jsx)("code",{children:i})]}),(0,oM.jsxs)("p",{children:["地址:",o+s+c+u]}),(0,oM.jsx)("h6",{children:"物资产能"}),(0,oM.jsx)("ol",{children:(void 0===a?[]:a).map(function(e){var t=e.name,n=e.count,r=e.remark;return(0,oM.jsxs)("li",{title:r,children:[t," ",(0,oM.jsxs)(ub,{bg:"danger",children:[n,"个"]})]},t)})}),f&&(0,oM.jsx)("p",{className:"text-muted",children:f}),(0,oM.jsxs)("div",{className:"text-center",children:[(0,oM.jsx)(up,{variant:"primary",onClick:function(){return e.clip2board(o+s+c+u)},children:"复制地址"}),l[0]&&(0,oM.jsx)(uH,{className:"d-inline-block ms-3",variant:"primary",caption:"联系方式",children:l.map(function(e){var t=e.name,n=e.phone;return(0,oM.jsxs)(uz,{href:"tel:"+n,children:[t,":",n]},t)})})]})]}),(0,oM.jsx)(c5,{children:(0,oM.jsx)(pz,Object.assign({scope:"factory",model:pR},h))})]})}}),e}return n}(pG),rf="FactoryPage","symbol"===(0,oZ._)(rf)&&(rf=rf.description?"[".concat(rf.description,"]"):""),Object.defineProperty(rl,"name",{configurable:!0,value:rh?"".concat(rh," ",rf):rf}),rp="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(rd=pG[Symbol.metadata])&&void 0!==rd?rd:null):void 0,function(e,t,n,r,i,a){function o(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,c=r.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),h=!1,d=n.length-1;d>=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0}(null,ro={value:rs},rc,{kind:"class",name:rs.name,metadata:rp},null,ru),rs=ro.value,rp&&Object.defineProperty(rs,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:rp}),function(e,t,n){for(var r=arguments.length>2,i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},p4=(ry=[ct({tagName:"donation-page"}),s6],rg=[],rb=rm=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(){var e;return(0,oV._)(this,n),e=t.call.apply(t,[this].concat(Array.prototype.slice.call(arguments))),Object.defineProperty((0,o$._)(e),"scope",{enumerable:!0,configurable:!0,writable:!0,value:"donation"}),Object.defineProperty((0,o$._)(e),"model",{enumerable:!0,configurable:!0,writable:!0,value:pL}),Object.defineProperty((0,o$._)(e),"name",{enumerable:!0,configurable:!0,writable:!0,value:"❤️爱心捐赠"}),Object.defineProperty((0,o$._)(e),"renderAccount",{enumerable:!0,configurable:!0,writable:!0,value:function(t){var n=t.name,r=t.number,i=t.bank;return(0,oM.jsx)("li",{children:(0,oM.jsxs)("dl",{className:"mb-2",children:[(0,oM.jsx)("dt",{children:"户名"}),(0,oM.jsx)("dd",{children:(0,oM.jsx)("code",{className:"ms-1",onClick:function(){return e.clip2board(n)},children:n})}),(0,oM.jsx)("dt",{children:"账号"}),(0,oM.jsx)("dd",{children:(0,oM.jsx)("code",{className:"ms-1",onClick:function(){return e.clip2board(r)},children:r})}),(0,oM.jsx)("dt",{children:"开户行"}),(0,oM.jsx)("dd",{children:(0,oM.jsx)("code",{className:"ms-1",onClick:function(){return e.clip2board(i)},children:i})})]})})}}),Object.defineProperty((0,o$._)(e),"renderItem",{enumerable:!0,configurable:!0,writable:!0,value:function(t){var n=t.url,r=t.name,i=t.accounts,a=t.remark,o=t.contacts,s=p3(t,["url","name","accounts","remark","contacts"]);return(0,oM.jsxs)(c2,{className:"mx-auto mb-4 mx-sm-1",style:{minWidth:"20rem",maxWidth:"20rem"},children:[(0,oM.jsxs)(c4,{children:[(0,oM.jsx)(c6,{children:n?(0,oM.jsx)("a",{target:"_blank",href:n,children:r}):r}),(0,oM.jsx)("ol",{className:"list-unstyled",children:i.map(e.renderAccount)}),a&&(0,oM.jsx)("p",{className:"text-muted",children:a}),(0,oM.jsx)("div",{className:"text-center",children:o[0]&&(0,oM.jsx)(uH,{className:"d-inline-block ms-3",variant:"primary",caption:"联系方式",children:o.map(function(e){var t=e.name,n=e.phone;return(0,oM.jsxs)(uz,{href:"tel:"+n,children:[t,":",n]},t)})})})]}),(0,oM.jsx)(c5,{children:(0,oM.jsx)(pz,Object.assign({scope:"donation",model:pL},s))})]})}}),e}return n}(pG),r_="DonationPage","symbol"===(0,oZ._)(r_)&&(r_=r_.description?"[".concat(r_.description,"]"):""),Object.defineProperty(rb,"name",{configurable:!0,value:rw?"".concat(rw," ",r_):r_}),rx="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(rk=pG[Symbol.metadata])&&void 0!==rk?rk:null):void 0,function(e,t,n,r,i,a){function o(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,c=r.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),h=!1,d=n.length-1;d>=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0}(null,rv={value:rm},ry,{kind:"class",name:rm.name,metadata:rx},null,rg),rm=rv.value,rx&&Object.defineProperty(rm,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:rx}),function(e,t,n){for(var r=arguments.length>2,i=0;ir&&nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},p7=(rS=[ct({tagName:"clinic-list"}),s6],rE=[],rA=rj=function(e){(0,oK._)(n,e);var t=(0,oY._)(n);function n(){var e;return(0,oV._)(this,n),e=t.call.apply(t,[this].concat(Array.prototype.slice.call(arguments))),Object.defineProperty((0,o$._)(e),"scope",{enumerable:!0,configurable:!0,writable:!0,value:"clinic"}),Object.defineProperty((0,o$._)(e),"model",{enumerable:!0,configurable:!0,writable:!0,value:pI}),Object.defineProperty((0,o$._)(e),"name",{enumerable:!0,configurable:!0,writable:!0,value:"义诊服务"}),Object.defineProperty((0,o$._)(e),"renderItem",{enumerable:!0,configurable:!0,writable:!0,value:function(e){var t=e.url,n=e.name,r=e.startTime,i=e.endTime,a=e.contacts,o=e.remark,s=p8(e,["url","name","startTime","endTime","contacts","remark"]);return(0,oM.jsxs)(c2,{className:"mx-auto mb-4 mx-sm-1",style:{minWidth:"20rem",maxWidth:"20rem"},body:!0,children:[(0,oM.jsx)(c6,{children:t?(0,oM.jsx)("a",{target:"_blank",href:t,children:n}):n}),p6(r,i)&&(0,oM.jsx)(ub,{className:"small",bg:"info",children:"正在接诊"}),(0,oM.jsxs)("p",{children:["每日接诊起止时间:",r," ~ ",i]}),a[0]&&(0,oM.jsx)("ol",{className:"list-unstyled",children:a.map(function(e){var t=e.name,n=e.phone;return(0,oM.jsx)("li",{children:(0,oM.jsxs)("a",{href:"tel:"+n,children:[(0,oM.jsx)(uh,{name:"phone"})," ",t,":",n]})},t)})}),o&&(0,oM.jsx)("p",{className:"text-muted",children:o}),(0,oM.jsx)(pz,Object.assign({scope:"clinic",model:pI},s))]})}}),e}return n}(pG),rT="ClinicList","symbol"===(0,oZ._)(rT)&&(rT=rT.description?"[".concat(rT.description,"]"):""),Object.defineProperty(rA,"name",{configurable:!0,value:rP?"".concat(rP," ",rT):rT}),rC="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(rN=pG[Symbol.metadata])&&void 0!==rN?rN:null):void 0,function(e,t,n,r,i,a){function o(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,c=r.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),h=!1,d=n.length-1;d>=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0}(null,rO={value:rj},rS,{kind:"class",name:rj.name,metadata:rC},null,rE),rj=rO.value,rC&&Object.defineProperty(rj,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:rC}),function(e,t,n){for(var r=arguments.length>2,i=0;i"']/,i=RegExp(r.source,"g"),a=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,o=RegExp(a.source,"g"),s={"&":"&","<":"<",">":">",'"':""","'":"'"},c=function(e){return s[e]};function u(e,t){if(t){if(r.test(e))return e.replace(i,c)}else if(a.test(e))return e.replace(o,c);return e}var l=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,f=/(^|[^\[])\^/g;function h(e,t){var n="string"==typeof e?e:e.source;t=t||"";var r={replace:function(e,t){var i="string"==typeof t?t:t.source;return i=i.replace(f,"$1"),n=n.replace(e,i),r},getRegex:function(){return new RegExp(n,t)}};return r}function d(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return null}return e}var p={exec:function(){return null}};function v(e,t){var n=e.replace(/\|/g,function(e,t,n){for(var r=!1,i=t;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"}).split(/ \|/),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),t){if(n.length>t)n.splice(t);else for(;n.length0)return{type:"space",raw:t[0]}}},{key:"code",value:function(e){var t=this.rules.block.code.exec(e);if(t){var n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:m(n,"\n")}}}},{key:"fences",value:function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var r=n[1];return t.split("\n").map(function(e){var t=e.match(/^\s+/);return null===t?e:(0,oJ._)(t,1)[0].length>=r.length?e.slice(r.length):e}).join("\n")}(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}},{key:"heading",value:function(e){var t=this.rules.block.heading.exec(e);if(t){var n=t[2].trim();if(/#$/.test(n)){var r=m(n,"#");this.options.pedantic?n=r.trim():(!r||/ $/.test(r))&&(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}},{key:"hr",value:function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}},{key:"blockquote",value:function(e){var t=this.rules.block.blockquote.exec(e);if(t){var n=m(t[0].replace(/^ *>[ \t]?/gm,""),"\n"),r=this.lexer.state.top;this.lexer.state.top=!0;var i=this.lexer.blockTokens(n);return this.lexer.state.top=r,{type:"blockquote",raw:t[0],tokens:i,text:n}}}},{key:"list",value:function(e){var t=this.rules.block.list.exec(e);if(t){var n=this,r=t[1].trim(),i=r.length>1,a={type:"list",raw:"",ordered:i,start:i?+r.slice(0,-1):"",loose:!1,items:[]};r=i?"\\d{1,9}\\".concat(r.slice(-1)):"\\".concat(r),this.options.pedantic&&(r=i?r:"[*+-]");for(var o=new RegExp("^( {0,3}".concat(r,")((?:[ ][^\\n]*)?(?:\\n|$))")),s="",c="",u=!1;e&&"break"!==function(){var r=!1;if(!(t=o.exec(e))||n.rules.block.hr.test(e))return"break";s=t[0],e=e.substring(s.length);var i=t[2].split("\n",1)[0].replace(/^\t+/,function(e){return" ".repeat(3*e.length)}),l=e.split("\n",1)[0],f=0;n.options.pedantic?(f=2,c=i.trimStart()):(f=(f=t[2].search(/[^ ]/))>4?1:f,c=i.slice(f),f+=t[1].length);var h=!1;if(!i&&/^ *$/.test(l)&&(s+=l+"\n",e=e.substring(l.length+1),r=!0),!r)for(var d=new RegExp("^ {0,".concat(Math.min(3,f-1),"}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))")),p=new RegExp("^ {0,".concat(Math.min(3,f-1),"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)")),v=new RegExp("^ {0,".concat(Math.min(3,f-1),"}(?:```|~~~)")),m=new RegExp("^ {0,".concat(Math.min(3,f-1),"}#"));e;){var y=e.split("\n",1)[0];if(l=y,n.options.pedantic&&(l=l.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),v.test(l)||m.test(l)||d.test(l)||p.test(e))break;if(l.search(/[^ ]/)>=f||!l.trim())c+="\n"+l.slice(f);else{if(h||i.search(/[^ ]/)>=4||v.test(i)||m.test(i)||p.test(i))break;c+="\n"+l}h||l.trim()||(h=!0),s+=y+"\n",e=e.substring(y.length+1),i=l.slice(f)}!a.loose&&(u?a.loose=!0:/\n *\n *$/.test(s)&&(u=!0));var g=null,b=void 0;n.options.gfm&&(g=/^\[[ xX]\] /.exec(c))&&(b="[ ] "!==g[0],c=c.replace(/^\[[ xX]\] +/,"")),a.items.push({type:"list_item",raw:s,task:!!g,checked:b,loose:!1,text:c,tokens:[]}),a.raw+=s}(););a.items[a.items.length-1].raw=s.trimEnd(),a.items[a.items.length-1].text=c.trimEnd(),a.raw=a.raw.trimEnd();for(var l=0;l0&&f.some(function(e){return/\n.*\n/.test(e.raw)});a.loose=h}if(a.loose)for(var d=0;d$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:r,title:i}}}},{key:"table",value:function(e){var t=this,n=this.rules.block.table.exec(e);if(n&&/[:|]/.test(n[2])){var r=v(n[1]),i=n[2].replace(/^\||\| *$/g,"").split("|"),a=n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split("\n"):[],o={type:"table",raw:n[0],header:[],align:[],rows:[]};if(r.length===i.length){var s=!0,c=!1,u=void 0;try{for(var l,f=i[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){var h=l.value;/^ *-+: *$/.test(h)?o.align.push("right"):/^ *:-+: *$/.test(h)?o.align.push("center"):/^ *:-+ *$/.test(h)?o.align.push("left"):o.align.push(null)}}catch(e){c=!0,u=e}finally{try{s||null==f.return||f.return()}finally{if(c)throw u}}var d=!0,p=!1,m=void 0;try{for(var y,g=r[Symbol.iterator]();!(d=(y=g.next()).done);d=!0){var b=y.value;o.header.push({text:b,tokens:this.lexer.inline(b)})}}catch(e){p=!0,m=e}finally{try{d||null==g.return||g.return()}finally{if(p)throw m}}var _=!0,w=!1,k=void 0;try{for(var x,O=a[Symbol.iterator]();!(_=(x=O.next()).done);_=!0){var j=x.value;o.rows.push(v(j,o.header.length).map(function(e){return{text:e,tokens:t.lexer.inline(e)}}))}}catch(e){w=!0,k=e}finally{try{_||null==O.return||O.return()}finally{if(w)throw k}}return o}}}},{key:"lheading",value:function(e){var t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}},{key:"paragraph",value:function(e){var t=this.rules.block.paragraph.exec(e);if(t){var n="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}},{key:"text",value:function(e){var t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}},{key:"escape",value:function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:u(t[1])}}},{key:"tag",value:function(e){var t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^
    /i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}},{key:"link",value:function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;var r=m(n.slice(0,-1),"\\");if((n.length-r.length)%2==0)return}else{var i=function(e,t){if(-1===e.indexOf(t[1]))return -1;for(var n=0,r=0;r-1){var a=(0===t[0].indexOf("!")?5:4)+t[1].length+i;t[2]=t[2].substring(0,i),t[0]=t[0].substring(0,a).trim(),t[3]=""}}var o=t[2],s="";if(this.options.pedantic){var c=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o);c&&(o=c[1],s=c[3])}else s=t[3]?t[3].slice(1,-1):"";return o=o.trim(),/^$/.test(n)?o.slice(1):o.slice(1,-1)),y(t,{href:o?o.replace(this.rules.inline.anyPunctuation,"$1"):o,title:s?s.replace(this.rules.inline.anyPunctuation,"$1"):s},t[0],this.lexer)}}},{key:"reflink",value:function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var r=t[(n[2]||n[1]).replace(/\s+/g," ").toLowerCase()];if(!r){var i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return y(n,r,n[0],this.lexer)}}},{key:"emStrong",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.rules.inline.emStrongLDelim.exec(e);if(r&&!(r[3]&&n.match(RegExp("[\\p{L}\\p{N}]","u")))&&(!(r[1]||r[2])||!n||this.rules.inline.punctuation.exec(n))){var i,a,o=(0,sQ._)(r[0]).length-1,s=o,c=0,u="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(u.lastIndex=0,t=t.slice(-1*e.length+o);null!=(r=u.exec(t));)if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6]){if(a=(0,sQ._)(i).length,r[3]||r[4]){s+=a;continue}if((r[5]||r[6])&&o%3&&!((o+a)%3)){c+=a;continue}if(!((s-=a)>0)){a=Math.min(a,a+s+c);var l=(0,sQ._)(r[0])[0].length,f=e.slice(0,o+r.index+l+a);if(Math.min(o,a)%2){var h=f.slice(1,-1);return{type:"em",raw:f,text:h,tokens:this.lexer.inlineTokens(h)}}var d=f.slice(2,-2);return{type:"strong",raw:f,text:d,tokens:this.lexer.inlineTokens(d)}}}}}},{key:"codespan",value:function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),r=/[^ ]/.test(n),i=/^ /.test(n)&&/ $/.test(n);return r&&i&&(n=n.substring(1,n.length-1)),n=u(n,!0),{type:"codespan",raw:t[0],text:n}}}},{key:"br",value:function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}},{key:"del",value:function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}},{key:"autolink",value:function(e){var t,n,r=this.rules.inline.autolink.exec(e);if(r)return n="@"===r[2]?"mailto:"+(t=u(r[1])):t=u(r[1]),{type:"link",raw:r[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}},{key:"url",value:function(e){var t,n,r,i,a,o;if(t=this.rules.inline.url.exec(e)){if("@"===t[2])r="mailto:"+(n=u(t[0]));else{do i=t[0],t[0]=null!==(o=null===(a=this.rules.inline._backpedal.exec(t[0]))||void 0===a?void 0:a[0])&&void 0!==o?o:"";while(i!==t[0])n=u(t[0]),r="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}},{key:"inlineText",value:function(e){var t,n=this.rules.inline.text.exec(e);if(n)return t=this.lexer.state.inRawBlock?n[0]:u(n[0]),{type:"text",raw:n[0],text:t}}}]),t}(),b=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,_=/(?:[*+-]|\d{1,9}[.)])/,w=h(/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,_).getRegex(),k=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,x=/(?!\s*\])(?:\\.|[^\[\]\\])+/,O=h(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",x).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),j=h(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,_).getRegex(),S="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",E=/|$)/,A=h("^ {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|$))","i").replace("comment",E).replace("tag",S).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),T=h(k).replace("hr",b).replace("heading"," {0,3}#{1,6}(?:\\s|$)").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",S).getRegex(),P={blockquote:h(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",T).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:O,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:b,html:A,lheading:w,list:j,newline:/^(?: *(?:\n|$))+/,paragraph:T,table:p,text:/^[^\n]+/},N=h("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",b).replace("heading"," {0,3}#{1,6}(?:\\s|$)").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",S).getRegex(),C=(0,vt._)((0,ve._)({},P),{table:N,paragraph:h(k).replace("hr",b).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",N).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",S).getRegex()}),I=(0,vt._)((0,ve._)({},P),{html:h("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",E).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:p,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:h(k).replace("hr",b).replace("heading"," *#{1,6} *[^\n]").replace("lheading",w).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),L=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,R=/^( {2,}|\\)\n(?!\s*$)/,M="\\p{P}$+<=>`^|~",B=h(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,M).getRegex(),D=h(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,M).getRegex(),F=h("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,M).getRegex(),U=h("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,M).getRegex(),z=h(/\\([punct])/,"gu").replace(/punct/g,M).getRegex(),H=h(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("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])?)+(?![-_])/).getRegex(),W=h(E).replace("(?:-->|$)","-->").getRegex(),q=h("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",W).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),$=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,V=h(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",$).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),G=h(/^!?\[(label)\]\[(ref)\]/).replace("label",$).replace("ref",x).getRegex(),K=h(/^!?\[(ref)\](?:\[\])?/).replace("ref",x).getRegex(),J=h("reflink|nolink(?!\\()","g").replace("reflink",G).replace("nolink",K).getRegex(),Z={_backpedal:p,anyPunctuation:z,autolink:H,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:R,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:p,emStrongLDelim:D,emStrongRDelimAst:F,emStrongRDelimUnd:U,escape:L,link:V,nolink:K,punctuation:B,reflink:G,reflinkSearch:J,tag:q,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\1&&void 0!==arguments[1]?arguments[1]:[],s=this;for(e=this.options.pedantic?e.replace(/\t/g," ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,function(e,t,n){return t+" ".repeat(n.length)});e&&"break"!==function(){if(a.options.extensions&&a.options.extensions.block&&a.options.extensions.block.some(function(n){return!!(t=n.call({lexer:s},e,o))&&(e=e.substring(t.raw.length),o.push(t),!0)}))return"continue";if(t=a.tokenizer.space(e))return e=e.substring(t.raw.length),1===t.raw.length&&o.length>0?o[o.length-1].raw+="\n":o.push(t),"continue";if(t=a.tokenizer.code(e))return e=e.substring(t.raw.length),(n=o[o.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+t.raw,n.text+="\n"+t.text,a.inlineQueue[a.inlineQueue.length-1].src=n.text):o.push(t),"continue";if((t=a.tokenizer.fences(e))||(t=a.tokenizer.heading(e))||(t=a.tokenizer.hr(e))||(t=a.tokenizer.blockquote(e))||(t=a.tokenizer.list(e))||(t=a.tokenizer.html(e)))return e=e.substring(t.raw.length),o.push(t),"continue";if(t=a.tokenizer.def(e))return e=e.substring(t.raw.length),(n=o[o.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+t.raw,n.text+="\n"+t.raw,a.inlineQueue[a.inlineQueue.length-1].src=n.text):a.tokens.links[t.tag]||(a.tokens.links[t.tag]={href:t.href,title:t.title}),"continue";if((t=a.tokenizer.table(e))||(t=a.tokenizer.lheading(e)))return e=e.substring(t.raw.length),o.push(t),"continue";if(r=e,a.options.extensions&&a.options.extensions.startBlock){var c=1/0,u=e.slice(1),l=void 0;a.options.extensions.startBlock.forEach(function(e){"number"==typeof(l=e.call({lexer:s},u))&&l>=0&&(c=Math.min(c,l))}),c<1/0&&c>=0&&(r=e.substring(0,c+1))}if(a.state.top&&(t=a.tokenizer.paragraph(r)))return n=o[o.length-1],i&&"paragraph"===n.type?(n.raw+="\n"+t.raw,n.text+="\n"+t.text,a.inlineQueue.pop(),a.inlineQueue[a.inlineQueue.length-1].src=n.text):o.push(t),i=r.length!==e.length,e=e.substring(t.raw.length),"continue";if(t=a.tokenizer.text(e))return e=e.substring(t.raw.length),(n=o[o.length-1])&&"text"===n.type?(n.raw+="\n"+t.raw,n.text+="\n"+t.text,a.inlineQueue.pop(),a.inlineQueue[a.inlineQueue.length-1].src=n.text):o.push(t),"continue";if(e){var f="Infinite loop on byte: "+e.charCodeAt(0);if(a.options.silent)return console.error(f),"break";throw Error(f)}}(););return this.state.top=!0,o}},{key:"inline",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.inlineQueue.push({src:e,tokens:t}),t}},{key:"inlineTokens",value:function(e){var t,n,r,i,a,o,s=this,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],u=this,l=e;if(this.tokens.links){var f=Object.keys(this.tokens.links);if(f.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(l));)f.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.anyPunctuation.exec(l));)l=l.slice(0,i.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e&&"break"!==function(){if(a||(o=""),a=!1,s.options.extensions&&s.options.extensions.inline&&s.options.extensions.inline.some(function(n){return!!(t=n.call({lexer:u},e,c))&&(e=e.substring(t.raw.length),c.push(t),!0)}))return"continue";if(t=s.tokenizer.escape(e))return e=e.substring(t.raw.length),c.push(t),"continue";if(t=s.tokenizer.tag(e))return e=e.substring(t.raw.length),(n=c[c.length-1])&&"text"===t.type&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):c.push(t),"continue";if(t=s.tokenizer.link(e))return e=e.substring(t.raw.length),c.push(t),"continue";if(t=s.tokenizer.reflink(e,s.tokens.links))return e=e.substring(t.raw.length),(n=c[c.length-1])&&"text"===t.type&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):c.push(t),"continue";if((t=s.tokenizer.emStrong(e,l,o))||(t=s.tokenizer.codespan(e))||(t=s.tokenizer.br(e))||(t=s.tokenizer.del(e))||(t=s.tokenizer.autolink(e))||!s.state.inLink&&(t=s.tokenizer.url(e)))return e=e.substring(t.raw.length),c.push(t),"continue";if(r=e,s.options.extensions&&s.options.extensions.startInline){var i=1/0,f=e.slice(1),h=void 0;s.options.extensions.startInline.forEach(function(e){"number"==typeof(h=e.call({lexer:u},f))&&h>=0&&(i=Math.min(i,h))}),i<1/0&&i>=0&&(r=e.substring(0,i+1))}if(t=s.tokenizer.inlineText(r))return e=e.substring(t.raw.length),"_"!==t.raw.slice(-1)&&(o=t.raw.slice(-1)),a=!0,(n=c[c.length-1])&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):c.push(t),"continue";if(e){var d="Infinite loop on byte: "+e.charCodeAt(0);if(s.options.silent)return console.error(d),"break";throw Error(d)}}(););return c}}],[{key:"rules",get:function(){return{block:ee,inline:et}}},{key:"lex",value:function(e,n){return new t(n).lex(e)}},{key:"lexInline",value:function(e,n){return new t(n).inlineTokens(e)}}]),t}(),er=function(){function t(n){(0,oV._)(this,t),(0,o5._)(this,"options",void 0),this.options=n||e.defaults}return(0,oG._)(t,[{key:"code",value:function(e,t,n){var r,i=null===(r=(t||"").match(/^\S*/))||void 0===r?void 0:r[0];return(e=e.replace(/\n$/,"")+"\n",i)?'
    '+(n?e:u(e,!0))+"
    \n":"
    "+(n?e:u(e,!0))+"
    \n"}},{key:"blockquote",value:function(e){return"
    \n".concat(e,"
    \n")}},{key:"html",value:function(e,t){return e}},{key:"heading",value:function(e,t,n){return"").concat(e,"\n")}},{key:"hr",value:function(){return"
    \n"}},{key:"list",value:function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"}},{key:"listitem",value:function(e,t,n){return"
  • ".concat(e,"
  • \n")}},{key:"checkbox",value:function(e){return"'}},{key:"paragraph",value:function(e){return"

    ".concat(e,"

    \n")}},{key:"table",value:function(e,t){return t&&(t="".concat(t,"")),"\n\n"+e+"\n"+t+"
    \n"}},{key:"tablerow",value:function(e){return"\n".concat(e,"\n")}},{key:"tablecell",value:function(e,t){var n=t.header?"th":"td";return(t.align?"<".concat(n,' align="').concat(t.align,'">'):"<".concat(n,">"))+e+"\n")}},{key:"strong",value:function(e){return"".concat(e,"")}},{key:"em",value:function(e){return"".concat(e,"")}},{key:"codespan",value:function(e){return"".concat(e,"")}},{key:"br",value:function(){return"
    "}},{key:"del",value:function(e){return"".concat(e,"")}},{key:"link",value:function(e,t,n){var r=d(e);if(null===r)return n;var i='
    "}},{key:"image",value:function(e,t,n){var r=d(e);if(null===r)return n;e=r;var i='').concat(n,'1)||void 0===arguments[1]||arguments[1],n="",r=0;r0&&"paragraph"===_.tokens[0].type?(_.tokens[0].text=O+" "+_.tokens[0].text,_.tokens[0].tokens&&_.tokens[0].tokens.length>0&&"text"===_.tokens[0].tokens[0].type&&(_.tokens[0].tokens[0].text=O+" "+_.tokens[0].tokens[0].text)):_.tokens.unshift({type:"text",text:O+" "}):x+=O+" "}x+=this.parse(_.tokens,y),g+=this.renderer.listitem(x,k,!!w)}n+=this.renderer.list(g,v,m);continue;case"html":n+=this.renderer.html(i.text,i.block);continue;case"paragraph":n+=this.renderer.paragraph(this.parseInline(i.tokens));continue;case"text":for(var j=i,S=j.tokens?this.parseInline(j.tokens):j.text;r+1";return t?Promise.resolve(r):r}if(t)return Promise.reject(n);throw n}}var eh=new eu;function ed(e,t){return eh.parse(e,t)}ed.options=ed.setOptions=function(e){return eh.setOptions(e),ed.defaults=eh.defaults,n(ed.defaults),ed},ed.getDefaults=t,ed.defaults=e.defaults,ed.use=function(){for(var e=arguments.length,t=Array(e),r=0;r=l.reach));k+=w.value.length,w=w.next){var x,O=w.value;if(n.length>t.length)return;if(!(O instanceof a)){var j=1;if(y){if(!(x=o(_,k,t,m))||x.index>=t.length)break;var S=x.index,E=x.index+x[0].length,A=k;for(A+=w.value.length;S>=A;)A+=(w=w.next).value.length;if(A-=w.value.length,k=A,w.value instanceof a)continue;for(var T=w;T!==n.tail&&(Al.reach&&(l.reach=I);var L=w.prev;if(N&&(L=c(n,L,N),k+=N.length),function(e,t,n){for(var r=t.next,i=0;i1){var R={cause:f+","+d,reach:I};e(t,n,r,w.prev,k,R),l&&R.reach>l.reach&&(l.reach=R.reach)}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r,a=0;r=n[a++];)r(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var a=i[1].length;i.index+=a,i[0]=i[0].slice(a)}return i}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function c(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}if(e.Prism=i,a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var a={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(a.classes,o):a.classes.push(o)),i.hooks.run("wrap",a);var s="";for(var c in a.attributes)s+=" "+c+'="'+(a.attributes[c]||"").replace(/"/g,""")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+s+">"+a.content+""},!e.document)return e.addEventListener&&(i.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,a=n.code,o=n.immediateClose;e.postMessage(i.highlight(a,i.languages[r],r)),o&&e.close()},!1)),i;var u=i.util.currentScript();function l(){i.manual||i.highlightAll()}if(u&&(i.filename=u.src,u.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var f=document.readyState;"loading"===f||"interactive"===f&&u&&u.defer?document.addEventListener("DOMContentLoaded",l):window.requestAnimationFrame?window.requestAnimationFrame(l):window.setTimeout(l,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});function vi(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}function va(e){return e&&e.__esModule?e.default:e}vn&&(vn=vr),void 0!==oP&&(oP.Prism=vr),vr.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"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},vr.languages.markup.tag.inside["attr-value"].inside.entity=vr.languages.markup.entity,vr.languages.markup.doctype.inside["internal-subset"].inside=vr.languages.markup,vr.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(vr.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:vr.languages[t]},n.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:vr.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},vr.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(vr.languages.markup.tag,"addAttribute",{value:function(e,t){vr.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\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:[t,"language-"+t],inside:vr.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),vr.languages.html=vr.languages.markup,vr.languages.mathml=vr.languages.markup,vr.languages.svg=vr.languages.markup,vr.languages.xml=vr.languages.extend("markup",{}),vr.languages.ssml=vr.languages.xml,vr.languages.atom=vr.languages.xml,vr.languages.rss=vr.languages.xml,rI=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,vr.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+rI.source+")*?"+/(?:;|(?=\s*\{))/.source),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\\((?:"+rI.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+rI.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+rI.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:rI,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:/[(){};:,]/},vr.languages.css.atrule.inside.rest=vr.languages.css,(rL=vr.languages.markup)&&(rL.tag.addInlined("style","css"),rL.tag.addAttribute("style","css")),vr.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:/[{}[\];(),.:]/},vr.languages.javascript=vr.languages.extend("clike",{"class-name":[vr.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|")+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),vr.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,vr.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:vr.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:vr.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:vr.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:vr.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:vr.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),vr.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:vr.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"}}),vr.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),vr.languages.markup&&(vr.languages.markup.tag.addInlined("script","javascript"),vr.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")),vr.languages.js=vr.languages.javascript,function(){if(void 0!==vr&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t="data-src-status",n="loading",r="loaded",i="pre[data-src]:not(["+t+'="'+r+'"]):not(['+t+'="'+n+'"])';vr.hooks.add("before-highlightall",function(e){e.selector+=", "+i}),vr.hooks.add("before-sanity-check",function(a){var o=a.element;if(o.matches(i)){a.code="",o.setAttribute(t,n);var s,c,u,l=o.appendChild(document.createElement("CODE"));l.textContent="Loading…";var f=o.getAttribute("data-src"),h=a.language;if("none"===h){var d=(/\.(\w+)$/.exec(f)||[,"none"])[1];h=e[d]||d}vr.util.setLanguage(l,h),vr.util.setLanguage(o,h);var p=vr.plugins.autoloader;p&&p.loadLanguages(h),s=function(e){o.setAttribute(t,r);var n=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var n=Number(t[1]),r=t[2],i=t[3];return r?i?[n,Number(i)]:[n,void 0]:[n,n]}}(o.getAttribute("data-range"));if(n){var i=e.split(/\r\n?|\n/g),a=n[0],s=null==n[1]?i.length:n[1];a<0&&(a+=i.length),a=Math.max(0,Math.min(a-1,i.length)),s<0&&(s+=i.length),s=Math.max(0,Math.min(s,i.length)),e=i.slice(a,s).join("\n"),o.hasAttribute("data-start")||o.setAttribute("data-start",String(a+1))}l.textContent=e,vr.highlightElement(l)},c=function(e){o.setAttribute(t,"failed"),l.textContent=e},(u=new XMLHttpRequest).open("GET",f,!0),u.onreadystatechange=function(){4==u.readyState&&(u.status<400&&u.responseText?s(u.responseText):u.status>=400?c("✖ Error "+u.status+" while fetching file: "+u.statusText):c("✖ Error: File does not exist or is empty"))},u.send(null)}}),vr.plugins.fileHighlight={highlight:function(e){for(var t,n=(e||document).querySelectorAll(i),r=0;t=n[r++];)vr.highlightElement(t)}};var a=!1;vr.fileHighlight=function(){a||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),a=!0),vr.plugins.fileHighlight.highlight.apply(this,arguments)}}}(),vi({},"CommandLine",function(){return vl});var vo=function(e,t,n,r,i,a){function o(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,c=r.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),h=!1,d=n.length-1;d>=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0},vs=function(e,t,n){for(var r=arguments.length>2,i=0;i=t.length&&self.clearInterval(this.timer)),[2]})},new(n||(n=Promise))(function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}c((r=r.apply(e,t||[])).next())})},100)}},{key:"disconnectedCallback",value:function(){self.clearInterval(this.timer)}},{key:"render",value:function(){var e=this.text,t=this.shownIndex,n=this.active;return(0,oM.jsxs)(oM.Fragment,{children:[(0,oM.jsx)("span",{className:"user-select-none",children:"$"}),(0,oM.jsx)("kbd",{className:"bg-dark",children:e.slice(0,t)}),(0,oM.jsx)("small",{className:"badge bg-success",style:{opacity:n?"1":"0",transition:"0.25s"},children:"Copied !"})]})}}]),n}(r$),rR=new WeakMap,rM=new WeakMap,rB=new WeakMap,rZ=rF,rY="CommandLine","symbol"===(0,oZ._)(rY)&&(rY=rY.description?"[".concat(rY.description,"]"):""),Object.defineProperty(rZ,"name",{configurable:!0,value:rX?"".concat(rX," ",rY):rY}),r0="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(rQ=r$[Symbol.metadata])&&void 0!==rQ?rQ:null):void 0,rU=[s8,oq.observable],rz=[s8,oq.observable],rH=[s8,oq.observable],vo(rF,null,rU,{kind:"accessor",name:"active",static:!1,private:!1,access:{has:function(e){return"active"in e},get:function(e){return e.active},set:function(e,t){e.active=t}},metadata:r0},rG,rV),vo(rF,null,rz,{kind:"accessor",name:"shownIndex",static:!1,private:!1,access:{has:function(e){return"shownIndex"in e},get:function(e){return e.shownIndex},set:function(e,t){e.shownIndex=t}},metadata:r0},rK,rV),vo(rF,null,rH,{kind:"accessor",name:"text",static:!1,private:!1,access:{has:function(e){return"text"in e},get:function(e){return e.text},set:function(e,t){e.text=t}},metadata:r0},rJ,rV),vo(null,rD={value:rF},rW,{kind:"class",name:rF.name,metadata:r0},null,rq),rF=rD.value,r0&&Object.defineProperty(rF,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:r0}),vs(rF,rq),rF);vi({},"GithubRepository",function(){return vO});var vf=function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}c((r=r.apply(e,t||[])).next())})},vh=new lt.HTTPClient({baseURI:"https://api.github.com/",responseType:"json"});function vd(e,t){return vf(this,void 0,void 0,function(){return(0,oB.__generator)(this,function(n){switch(n.label){case 0:return[4,vh.get("".concat(oj[e],"/").concat(t))];case 1:return[2,n.sent().body]}})})}function vp(e,t){return vf(this,void 0,void 0,function(){return(0,oB.__generator)(this,function(n){switch(n.label){case 0:return[4,vh.get("repos/".concat(e,"/").concat(t))];case 1:return[2,n.sent().body]}})})}function vv(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return vf(this,void 0,void 0,function(){return(0,oB.__generator)(this,function(r){switch(r.label){case 0:return[4,vh.get("".concat(oj[e],"/").concat(t,"/repos?").concat(new URLSearchParams(n)))];case 1:return[2,r.sent().body]}})})}(r1=oj||(oj={})).user="users",r1.organization="orgs",(r2=oS||(oS={})).issue="issues",r2.pullRequest="pulls",(r3=oE||(oE={})).open="success",r3.closed="danger",r3.merged="primary";var vm={},vy={};vy=oL("iPGP8").getBundleURL("26pnI")+"repository.23f54580.7bf0dc01.png",vm=new URL(vy).toString();var vg={},vb={};vb=oL("iPGP8").getBundleURL("26pnI")+"watch-fork.85c057cc.43f496f1.png",vg=new URL(vb).toString();var v_=function(e,t,n,r,i,a){function o(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,c=r.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),h=!1,d=n.length-1;d>=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0},vw=function(e,t,n){for(var r=arguments.length>2,i=0;i").concat(r?(0,vn.highlight)(e,r,t):e,"")};var vS=function(e){return(0,p9.marked)(e,{renderer:vj})};oA="CPtZdW_big",oT="CPtZdW_logo";var vE=function(e,t,n,r,i,a){function o(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,c=r.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),h=!1,d=n.length-1;d>=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0},vA=function(e,t,n){for(var r=arguments.length>2,i=0;i=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0},vI=function(e,t,n){for(var r=arguments.length>2,i=0;i=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0},vD=function(e,t,n){for(var r=arguments.length>2,i=0;i=0;d--){var p={};for(var v in r)p[v]="access"===v?{}:r[v];for(var v in r.access)p.access[v]=r.access[v];p.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var m=(0,n[d])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&i.unshift(s)}else(s=o(m))&&("field"===c?i.unshift(s):f[u]=s)}l&&Object.defineProperty(l,r.name,f),h=!0},vW=function(e,t,n){for(var r=arguments.length>2,i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},vK=[{title:"管理",href:"admin",roles:["Admin"]},{title:"登出",onClick:function(){return pT.signOut()}}],vJ=globalThis.location,vZ=cU().Route,vY=function(){return(0,oM.jsxs)("div",{className:"d-flex flex-column",style:{height:"200vh"},children:[(0,oM.jsxs)(le,{variant:"light",expand:"md",sticky:"top",brand:(0,oM.jsx)("img",{alt:"新冠战疫信息平台",src:oN(pD),style:{height:"2rem"}}),children:[pB.map(function(e){var t=e.href,n=e.title;return(0,oM.jsx)(u$,{className:"m-3 my-md-0 mx-md-3",href:t.startsWith("http")?t:"#".concat(t),active:vJ.hash.slice(1)===t||!!t&&vJ.hash.slice(1).startsWith(t),children:n})}),pT.user&&(0,oM.jsx)(uH,{variant:"primary",caption:pT.user.username,children:vK.map(function(e){var t=e.roles,n=e.title,r=vG(e,["roles","title"]);return!t||(null==t?void 0:t.find(function(e){return pT.hasRole(e)}))&&(0,oM.jsx)(uz,Object.assign({},r,{children:n}))})})]}),(0,oM.jsxs)(c$,{className:"flex-fill overflow-auto scrollbar-none",children:[(0,oM.jsx)(vZ,{path:"",component:pF}),(0,oM.jsx)(vZ,{path:ox.Hospital,component:pJ}),(0,oM.jsx)(vZ,{path:ox.Logistics,component:pX}),(0,oM.jsx)(vZ,{path:ox.Hotel,component:p0}),(0,oM.jsx)(vZ,{path:ox.Factory,component:p2}),(0,oM.jsx)(vZ,{path:ox.Donation,component:p4}),(0,oM.jsx)(vZ,{path:ox.Clinic,component:p7}),(0,oM.jsx)(vZ,{path:ox.Community,component:vV}),(0,oM.jsx)(vZ,{path:"disclaimer",component:function(e){var t=e.className,n=vG(e,["className"]);return(0,oM.jsx)("article",Object.assign({className:"py-5 ".concat(void 0===t?"":t)},n,{innerHTML:'

    免责声明

    \n
      \n
    1. 信息公开:本网站信息均来源于公开渠道,目的是为公众提供更为充分的信息参考,在本网站所公开的信息,均有可能被任何本网站的访问者浏览,也可能被任何搜索引擎收录,还可能被错误使用,本网站对此将不予承担任何责任。

      \n
    2. \n
    3. 内容审核与监控:本网站有权对用户发布的内容进行审核与实时监控,有权根据相关证据结合《互联网信息服务管理办法》、《侵权责任法》、《信息网络传播权保护条例》等法律法规及社区指导原则对虚假或侵权信息进行处理,对于删除相关内容所引起的任何后果或导致用户的任何损失不负任何责任。

      \n
    4. \n
    5. 内容准确性:任何在本网站发布的信息,均必须符合合法、准确、及时、完整的原则。但本网站将不能保证所有由第三方提供的信息,或本网站自行采集的信息完全准确。对这些信息的了解或使用,需要经过进一步核实。本网站对访问者未经自行核实误用本网站信息造成的任何损失不予承担任何责任。

      \n
    6. \n
    7. 公众监督:任何单位和个人如发现本网站信息存在虚假或侵权等违法违规内容,请尽快联系我们,我们将第一时间结合相关证据及法律法规进行处理。

      \n
    8. \n
    \n'}))}})]}),(0,oM.jsxs)("footer",{className:"d-md-flex justify-content-around text-center bg-light py-5",children:[(0,oM.jsxs)("p",{children:["Proudly developed with",(0,oM.jsx)("a",{className:"mx-1",target:"_blank",href:"https://web-cell.dev/",children:"WebCell v3"}),"&",(0,oM.jsx)("a",{className:"mx-1",target:"_blank",href:"https://web-cell.dev/BootCell/",children:"BootCell v2"})]}),(0,oM.jsx)("a",{href:"#disclaimer",children:"免责声明"})]})]})};"undefined"==typeof PromiseRejectionEvent&&(Promise=oH),(0,oq.configure)({enforceActions:"never"}),self.addEventListener("unhandledrejection",function(e){if(e.reason instanceof URIError){var t=e.reason.body.message;t&&(e.preventDefault(),self.alert(t))}});var vX=window.navigator.serviceWorker;null==vX||vX.register("sw.js").then(oD.serviceWorkerUpdate).then(function(e){window.confirm("检测到新版本,是否立即启用?")&&e.postMessage({type:"SKIP_WAITING"})}),null==vX||vX.addEventListener("controllerchange",function(){return window.location.reload()}),(0,oD.documentReady).then(function(){return new(0,oW.DOMRenderer)().render((0,oM.jsx)(vY,{}))})}(); \ No newline at end of file diff --git a/index.e913af55.css b/index.e913af55.css new file mode 100644 index 0000000..91e3348 --- /dev/null +++ b/index.e913af55.css @@ -0,0 +1 @@ +.scrollbar-none::-webkit-scrollbar{display:none}.IiZpua_github-box{color:#666;background:#fafafa;border:1px solid #ddd;border-radius:3px;font-family:helvetica,arial,sans-serif;font-size:13px;line-height:18px}.IiZpua_github-box a{color:#4183c4;border:none}.IiZpua_github-box-title{background:linear-gradient(#fcfcfc,#ebebeb);border-bottom:1px solid #ddd;border-radius:3px 3px 0 0;justify-content:space-between;align-items:center;display:flex}.IiZpua_github-box-title h3{color:gray;margin:0;font-family:helvetica,arial,sans-serif;font-size:1rem;font-weight:400}.IiZpua_github-box-title h3>*{vertical-align:middle;display:inline-block}.IiZpua_github-stats{background:#fff;border:1px solid #ddd;border-radius:3px;margin:auto .5rem;font-size:11px;font-weight:700}.IiZpua_github-stats a{vertical-align:middle;color:#666;background-repeat:no-repeat;padding:0 5px 0 18px;display:inline-block}.IiZpua_github-stats .IiZpua_watchers{border-right:1px solid #ddd}.IiZpua_github-stats .IiZpua_forks{background-position:-4px -21px;padding-left:15px}.IiZpua_github-box-content{padding:10px;font-weight:300}.IiZpua_github-box-download{background:#fff;border-top:1px solid #ddd;border-radius:0 0 3px 3px;justify-content:space-between;padding:10px;display:flex}.IiZpua_github-box-download .IiZpua_updated{color:#666;margin:0;font-size:11px;font-weight:300}.IiZpua_github-box-download .IiZpua_download{color:#666;text-shadow:0 1px rgba(255,255,255,.9);background:linear-gradient(#f5f5f5,#e5e5e5);border:1px solid #ddd;border-bottom-color:#bbb;border-radius:3px;padding:0 10px;font-size:12px;font-weight:700;text-decoration:none}.IiZpua_github-box-download .IiZpua_download:hover{color:#527894;background:linear-gradient(#f1f7fa,#dbeaf1);border-color:#cfe3ed #cfe3ed #9fc7db}.CPtZdW_logo{max-width:1.5em;max-height:1.5em}.CPtZdW_logo.CPtZdW_big{font-size:3rem}.BPWP7q_gh-profile-card{background:#fafafa;border:1px solid #ddd;border-bottom-width:2px;border-radius:5px;width:280px;margin:auto;font-family:Helvetica;font-size:16px;overflow:hidden}.BPWP7q_gh-profile-card a{color:#444;text-decoration:none}.BPWP7q_gh-profile-card a:hover{color:#4183c4}.BPWP7q_gh-profile-card>header{background:#fff;padding:15px 10px 0;overflow:hidden}.BPWP7q_profile-name{color:#222;font-size:1.2em;font-weight:700;display:block}.BPWP7q_profile-languages{clear:both;border-top:1px solid #dedede;margin:0 -10px;padding:10px;font-size:.8em;position:relative}.BPWP7q_profile-languages:before{content:"Top languages";color:#555;background:#fff;padding-right:5px;font-style:italic;position:absolute;top:-.7em}.BPWP7q_profile-languages>li{color:#444;margin-left:10px;font-weight:700;display:inline-block}.BPWP7q_profile-languages>li:after{content:"•";color:#999;margin-left:10px}.BPWP7q_profile-languages>li:last-child:after{content:""}.BPWP7q_profile-follow{color:#333;white-space:nowrap;text-shadow:0 1px rgba(255,255,255,.9);-webkit-user-select:none;-ms-user-select:none;user-select:none;background:linear-gradient(#fafafa,#eaeaea);border:1px solid #d5d5d5;border-radius:3px;padding:0 10px;font-size:.8em;font-weight:700;line-height:1.5em}.BPWP7q_profile-follow:hover{color:inherit;background:linear-gradient(#eee,#ddd)}.BPWP7q_profile-followers{color:#444;background:#fff;border:1px solid #bbb;margin-left:8px;padding:0 5px;font-size:.8em;position:relative}.BPWP7q_profile-followers:before{content:"";background:inherit;border-top:1px solid;border-left:1px solid;border-color:inherit;width:5px;height:5px;position:absolute;top:30%;left:-4px;transform:rotate(-45deg)}.BPWP7q_profile-avatar{border-radius:5px;width:64px;height:64px;margin:0 10px 15px 0;box-shadow:0 0 2px #ddd}.BPWP7q_repos-header{color:#555;background:linear-gradient(#fafafa,#eaeaea);border:1px solid #d5d5d5;border-width:1px 0;padding:5px 10px;font-size:.8em;font-weight:700}.BPWP7q_profile-repos{border-top:1px solid #ddd;padding:7px 10px;font-size:.9em;display:block}.BPWP7q_profile-repos:first-of-type{border:none}.BPWP7q_repos-name{text-overflow:ellipsis;max-width:280px;font-weight:700}.BPWP7q_repos-updated{color:#777;font-size:.75em;font-style:italic}.BPWP7q_repos-star{color:#888;font-size:.9em}.BPWP7q_repos-star:after{content:" ★";font-size:1.1em;font-weight:700} \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..5904c31 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +新冠战疫信息平台 \ No newline at end of file diff --git a/index.runtime.f0559c58.js b/index.runtime.f0559c58.js new file mode 100644 index 0000000..054431a --- /dev/null +++ b/index.runtime.f0559c58.js @@ -0,0 +1 @@ +!function(){function e(e,n,r,t){Object.defineProperty(e,n,{get:r,set:t,enumerable:!0,configurable:!0})}var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},r={},t={},i=n.parcelRequire951b;null==i&&((i=function(e){if(e in r)return r[e].exports;if(e in t){var n=t[e];delete t[e];var i={id:e,exports:{}};return r[e]=i,n.call(i.exports,i,i.exports),i.exports}var o=Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}).register=function(e,n){t[e]=n},n.parcelRequire951b=i);var o=i.register;o("iK2PX",function(n,r){e(n.exports,"register",function(){return t},function(e){return t=e});var t,i=new Map;t=function(e,n){for(var r=0;r(r=new URL(r+".js",n).href,i[r]||new Promise((i=>{if("document"in self){const e=document.createElement("script");e.src=r,e.onload=i,document.head.appendChild(e)}else e=r,importScripts(r),i()})).then((()=>{let e=i[r];if(!e)throw new Error(`Module ${r} didn’t register its module`);return e})));self.define=(n,d)=>{const s=e||("document"in self?document.currentScript.src:"")||location.href;if(i[s])return;let c={};const o=e=>r(e,s),f={module:{uri:s},exports:c,require:o};i[s]=Promise.all(n.map((e=>f[e]||o(e)))).then((e=>(d(...e),c)))}}define(["./workbox-dbb64b4e"],(function(e){"use strict";importScripts("https://unpkg.com/workbox-sw@7.0.0/build/workbox-sw.js"),self.addEventListener("message",(e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()})),e.clientsClaim(),e.precacheAndRoute([{url:"index.1e3cff34.js",revision:"784ae589d94d46999fa5200dfb8d3d0a"},{url:"index.59392d6e.js",revision:"f2f4d3527d1e9784ca05a725203244f7"},{url:"index.e913af55.css",revision:"144eb25339f40571433b7d3704e22381"},{url:"index.html",revision:"1b4f970eaec45a85bceabc40834693a7"},{url:"index.runtime.f0559c58.js",revision:"8c60ba6a363187693c3d9cb891ff59a4"},{url:"index.runtime.f74a503d.js",revision:"4282258913b85ab66200b7916acd819e"},{url:"repository.23f54580.7bf0dc01.png",revision:"5d441e14e10c193c73e53d4f8d778518"},{url:"watch-fork.85c057cc.43f496f1.png",revision:"f2bc1d47b916e6c36ada70968dc9dbd7"},{url:"wuhan2020-mini.c62cbdf4.png",revision:"91cc37b55e4d0ae409fbd937ead302ff"},{url:"wuhan2020.bed6fd20.png",revision:"21b2526f547190e2430c935e6b23c682"}],{}),e.cleanupOutdatedCaches()})); +//# sourceMappingURL=sw.js.map diff --git a/sw.js.map b/sw.js.map new file mode 100644 index 0000000..db17426 --- /dev/null +++ b/sw.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sw.js","sources":["../../../../../tmp/086ca5cb619ea2b4bcd038edbf5d3eae/sw.js"],"sourcesContent":["import {clientsClaim as workbox_core_clientsClaim} from '/home/runner/work/WebApp/WebApp/node_modules/.pnpm/workbox-core@7.0.0/node_modules/workbox-core/clientsClaim.mjs';\nimport {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/home/runner/work/WebApp/WebApp/node_modules/.pnpm/workbox-precaching@7.0.0/node_modules/workbox-precaching/precacheAndRoute.mjs';\nimport {cleanupOutdatedCaches as workbox_precaching_cleanupOutdatedCaches} from '/home/runner/work/WebApp/WebApp/node_modules/.pnpm/workbox-precaching@7.0.0/node_modules/workbox-precaching/cleanupOutdatedCaches.mjs';/**\n * Welcome to your Workbox-powered service worker!\n *\n * You'll need to register this file in your web app.\n * See https://goo.gl/nhQhGp\n *\n * The rest of the code is auto-generated. Please don't update this file\n * directly; instead, make changes to your Workbox build configuration\n * and re-run your build process.\n * See https://goo.gl/2aRDsh\n */\n\n\nimportScripts(\n \"https://unpkg.com/workbox-sw@7.0.0/build/workbox-sw.js\"\n);\n\n\n\n\n\n\n\nself.addEventListener('message', (event) => {\n if (event.data && event.data.type === 'SKIP_WAITING') {\n self.skipWaiting();\n }\n});\n\nworkbox_core_clientsClaim();\n\n\n/**\n * The precacheAndRoute() method efficiently caches and responds to\n * requests for URLs in the manifest.\n * See https://goo.gl/S9QRab\n */\nworkbox_precaching_precacheAndRoute([\n {\n \"url\": \"index.1e3cff34.js\",\n \"revision\": \"784ae589d94d46999fa5200dfb8d3d0a\"\n },\n {\n \"url\": \"index.59392d6e.js\",\n \"revision\": \"f2f4d3527d1e9784ca05a725203244f7\"\n },\n {\n \"url\": \"index.e913af55.css\",\n \"revision\": \"144eb25339f40571433b7d3704e22381\"\n },\n {\n \"url\": \"index.html\",\n \"revision\": \"1b4f970eaec45a85bceabc40834693a7\"\n },\n {\n \"url\": \"index.runtime.f0559c58.js\",\n \"revision\": \"8c60ba6a363187693c3d9cb891ff59a4\"\n },\n {\n \"url\": \"index.runtime.f74a503d.js\",\n \"revision\": \"4282258913b85ab66200b7916acd819e\"\n },\n {\n \"url\": \"repository.23f54580.7bf0dc01.png\",\n \"revision\": \"5d441e14e10c193c73e53d4f8d778518\"\n },\n {\n \"url\": \"watch-fork.85c057cc.43f496f1.png\",\n \"revision\": \"f2bc1d47b916e6c36ada70968dc9dbd7\"\n },\n {\n \"url\": \"wuhan2020-mini.c62cbdf4.png\",\n \"revision\": \"91cc37b55e4d0ae409fbd937ead302ff\"\n },\n {\n \"url\": \"wuhan2020.bed6fd20.png\",\n \"revision\": \"21b2526f547190e2430c935e6b23c682\"\n }\n], {});\nworkbox_precaching_cleanupOutdatedCaches();\n\n\n\n\n\n\n\n"],"names":["importScripts","self","addEventListener","event","data","type","skipWaiting","workbox_core_clientsClaim","workbox_precaching_precacheAndRoute","url","revision","workbox_precaching_cleanupOutdatedCaches"],"mappings":"0nBAeAA,cACE,0DASFC,KAAKC,iBAAiB,WAAYC,IAC5BA,EAAMC,MAA4B,iBAApBD,EAAMC,KAAKC,MAC3BJ,KAAKK,aACP,IAGFC,EAAAA,eAQAC,EAAAA,iBAAoC,CAClC,CACEC,IAAO,oBACPC,SAAY,oCAEd,CACED,IAAO,oBACPC,SAAY,oCAEd,CACED,IAAO,qBACPC,SAAY,oCAEd,CACED,IAAO,aACPC,SAAY,oCAEd,CACED,IAAO,4BACPC,SAAY,oCAEd,CACED,IAAO,4BACPC,SAAY,oCAEd,CACED,IAAO,mCACPC,SAAY,oCAEd,CACED,IAAO,mCACPC,SAAY,oCAEd,CACED,IAAO,8BACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,qCAEb,CAAE,GACLC,EAAAA"} \ No newline at end of file diff --git a/watch-fork.85c057cc.43f496f1.png b/watch-fork.85c057cc.43f496f1.png new file mode 100644 index 0000000..715198f Binary files /dev/null and b/watch-fork.85c057cc.43f496f1.png differ diff --git a/workbox-dbb64b4e.js b/workbox-dbb64b4e.js new file mode 100644 index 0000000..73319b6 --- /dev/null +++ b/workbox-dbb64b4e.js @@ -0,0 +1,2 @@ +define(["exports"],(function(t){"use strict";try{self["workbox:core:7.0.0"]&&_()}catch(t){}const e=(t,...e)=>{let s=t;return e.length>0&&(s+=` :: ${JSON.stringify(e)}`),s};class s extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:routing:7.0.0"]&&_()}catch(t){}const n=t=>t&&"object"==typeof t?t:{handle:t};class i{constructor(t,e,s="GET"){this.handler=n(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=n(t)}}class r extends i{constructor(t,e,s){super((({url:e})=>{const s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return s.slice(1)}),e,s)}}class o{constructor(){this.t=new Map,this.i=new Map}get routes(){return this.t}addFetchListener(){self.addEventListener("fetch",(t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map((e=>{"string"==typeof e&&(e=[e]);const s=new Request(...e);return this.handleRequest({request:s,event:t})})));t.waitUntil(s),t.ports&&t.ports[0]&&s.then((()=>t.ports[0].postMessage(!0)))}}))}handleRequest({request:t,event:e}){const s=new URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let o=r&&r.handler;const c=t.method;if(!o&&this.i.has(c)&&(o=this.i.get(c)),!o)return;let a;try{a=o.handle({url:s,request:t,event:e,params:i})}catch(t){a=Promise.reject(t)}const h=r&&r.catchHandler;return a instanceof Promise&&(this.o||h)&&(a=a.catch((async n=>{if(h)try{return await h.handle({url:s,request:t,event:e,params:i})}catch(t){t instanceof Error&&(n=t)}if(this.o)return this.o.handle({url:s,request:t,event:e});throw n}))),a}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const i=this.t.get(s.method)||[];for(const r of i){let i;const o=r.match({url:t,sameOrigin:e,request:s,event:n});if(o)return i=o,(Array.isArray(i)&&0===i.length||o.constructor===Object&&0===Object.keys(o).length||"boolean"==typeof o)&&(i=void 0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,n(t))}setCatchHandler(t){this.o=n(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw new s("unregister-route-but-not-found-with-method",{method:t.method});const e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw new s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let c;const a=()=>(c||(c=new o,c.addFetchListener(),c.addCacheListener()),c);const h={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},u=t=>[h.prefix,t,h.suffix].filter((t=>t&&t.length>0)).join("-"),l=t=>t||u(h.precache),f=t=>t||u(h.runtime);function w(t,e){const s=e();return t.waitUntil(s),s}try{self["workbox:precaching:7.0.0"]&&_()}catch(t){}function d(t){if(!t)throw new s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof t){const e=new URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw new s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const t=new URL(n,location.href);return{cacheKey:t.href,url:t.href}}const i=new URL(n,location.href),r=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class p{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest instanceof Request){const t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return s}}}class y{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const s=(null==e?void 0:e.cacheKey)||this.h.getCacheKeyForURL(t.url);return s?new Request(s,{headers:t.headers}):t},this.h=t}}let g;async function R(t,e){let n=null;if(t.url){n=new URL(t.url).origin}if(n!==self.location.origin)throw new s("cross-origin-copy-response",{origin:n});const i=t.clone(),r={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},o=e?e(r):r,c=function(){if(void 0===g){const t=new Response("");if("body"in t)try{new Response(t.body),g=!0}catch(t){g=!1}g=!1}return g}()?i.body:await i.blob();return new Response(c,o)}function m(t,e){const s=new URL(t);for(const t of e)s.searchParams.delete(t);return s.href}class v{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}const q=new Set;try{self["workbox:strategies:7.0.0"]&&_()}catch(t){}function U(t){return"string"==typeof t?new Request(t):t}class L{constructor(t,e){this.u={},Object.assign(this,e),this.event=e.event,this.l=t,this.p=new v,this.R=[],this.m=[...t.plugins],this.v=new Map;for(const t of this.m)this.v.set(t,{});this.event.waitUntil(this.p.promise)}async fetch(t){const{event:e}=this;let n=U(t);if("navigate"===n.mode&&e instanceof FetchEvent&&e.preloadResponse){const t=await e.preloadResponse;if(t)return t}const i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const t of this.iterateCallbacks("requestWillFetch"))n=await t({request:n.clone(),event:e})}catch(t){if(t instanceof Error)throw new s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const r=n.clone();try{let t;t=await fetch(n,"navigate"===n.mode?void 0:this.l.fetchOptions);for(const s of this.iterateCallbacks("fetchDidSucceed"))t=await s({event:e,request:r,response:t});return t}catch(t){throw i&&await this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async fetchAndCachePut(t){const e=await this.fetch(t),s=e.clone();return this.waitUntil(this.cachePut(t,s)),e}async cacheMatch(t){const e=U(t);let s;const{cacheName:n,matchOptions:i}=this.l,r=await this.getCacheKey(e,"read"),o=Object.assign(Object.assign({},i),{cacheName:n});s=await caches.match(r,o);for(const t of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(t,e){const n=U(t);var i;await(i=0,new Promise((t=>setTimeout(t,i))));const r=await this.getCacheKey(n,"write");if(!e)throw new s("cache-put-with-no-response",{url:(o=r.url,new URL(String(o),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var o;const c=await this.q(e);if(!c)return!1;const{cacheName:a,matchOptions:h}=this.l,u=await self.caches.open(a),l=this.hasCallback("cacheDidUpdate"),f=l?await async function(t,e,s,n){const i=m(e.url,s);if(e.url===i)return t.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),o=await t.keys(e,r);for(const e of o)if(i===m(e.url,s))return t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await u.put(r,l?c.clone():c)}catch(t){if(t instanceof Error)throw"QuotaExceededError"===t.name&&await async function(){for(const t of q)await t()}(),t}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:a,oldResponse:f,newResponse:c.clone(),request:r,event:this.event});return!0}async getCacheKey(t,e){const s=`${t.url} | ${e}`;if(!this.u[s]){let n=t;for(const t of this.iterateCallbacks("cacheKeyWillBeUsed"))n=U(await t({mode:e,request:n,event:this.event,params:this.params}));this.u[s]=n}return this.u[s]}hasCallback(t){for(const e of this.l.plugins)if(t in e)return!0;return!1}async runCallbacks(t,e){for(const s of this.iterateCallbacks(t))await s(e)}*iterateCallbacks(t){for(const e of this.l.plugins)if("function"==typeof e[t]){const s=this.v.get(e),n=n=>{const i=Object.assign(Object.assign({},n),{state:s});return e[t](i)};yield n}}waitUntil(t){return this.R.push(t),t}async doneWaiting(){let t;for(;t=this.R.shift();)await t}destroy(){this.p.resolve(null)}async q(t){let e=t,s=!1;for(const t of this.iterateCallbacks("cacheWillUpdate"))if(e=await t({request:this.request,response:e,event:this.event})||void 0,s=!0,!e)break;return s||e&&200!==e.status&&(e=void 0),e}}class b{constructor(t={}){this.cacheName=f(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return e}handleAll(t){t instanceof FetchEvent&&(t={event:t,request:t.request});const e=t.event,s="string"==typeof t.request?new Request(t.request):t.request,n="params"in t?t.params:void 0,i=new L(this,{event:e,request:s,params:n}),r=this.U(i,s,e);return[r,this.L(r,i,s,e)]}async U(t,e,n){let i;await t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await this._(e,t),!i||"error"===i.type)throw new s("no-response",{url:e.url})}catch(s){if(s instanceof Error)for(const r of t.iterateCallbacks("handlerDidError"))if(i=await r({error:s,event:n,request:e}),i)break;if(!i)throw s}for(const s of t.iterateCallbacks("handlerWillRespond"))i=await s({event:n,request:e,response:i});return i}async L(t,e,s,n){let i,r;try{i=await t}catch(r){}try{await e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await e.doneWaiting()}catch(t){t instanceof Error&&(r=t)}if(await e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw r}}class C extends b{constructor(t={}){t.cacheName=l(t.cacheName),super(t),this.C=!1!==t.fallbackToNetwork,this.plugins.push(C.copyRedirectedCacheableResponsesPlugin)}async _(t,e){const s=await e.cacheMatch(t);return s||(e.event&&"install"===e.event.type?await this.O(t,e):await this.N(t,e))}async N(t,e){let n;const i=e.params||{};if(!this.C)throw new s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const s=i.integrity,r=t.integrity,o=!r||r===s;n=await e.fetch(new Request(t,{integrity:"no-cors"!==t.mode?r||s:void 0})),s&&o&&"no-cors"!==t.mode&&(this.k(),await e.cachePut(t,n.clone()))}return n}async O(t,e){this.k();const n=await e.fetch(t);if(!await e.cachePut(t,n.clone()))throw new s("bad-precaching-response",{url:t.url,status:n.status});return n}k(){let t=null,e=0;for(const[s,n]of this.plugins.entries())n!==C.copyRedirectedCacheableResponsesPlugin&&(n===C.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(C.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}C.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},C.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await R(t):t};class E{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.K=new Map,this.P=new Map,this.T=new Map,this.l=new C({cacheName:l(t),plugins:[...e,new y({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this.l}precache(t){this.addToCacheList(t),this.W||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.W=!0)}addToCacheList(t){const e=[];for(const n of t){"string"==typeof n?e.push(n):n&&void 0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=d(n),r="string"!=typeof n&&n.revision?"reload":"default";if(this.K.has(i)&&this.K.get(i)!==t)throw new s("add-to-cache-list-conflicting-entries",{firstEntry:this.K.get(i),secondEntry:t});if("string"!=typeof n&&n.integrity){if(this.T.has(t)&&this.T.get(t)!==n.integrity)throw new s("add-to-cache-list-conflicting-integrities",{url:i});this.T.set(t,n.integrity)}if(this.K.set(i,t),this.P.set(i,r),e.length>0){const t=`Workbox is precaching URLs without revision info: ${e.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return w(t,(async()=>{const e=new p;this.strategy.plugins.push(e);for(const[e,s]of this.K){const n=this.T.get(s),i=this.P.get(e),r=new Request(e,{integrity:n,cache:i,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(t){return w(t,(async()=>{const t=await self.caches.open(this.strategy.cacheName),e=await t.keys(),s=new Set(this.K.values()),n=[];for(const i of e)s.has(i.url)||(await t.delete(i),n.push(i.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this.K}getCachedURLs(){return[...this.K.keys()]}getCacheKeyForURL(t){const e=new URL(t,location.href);return this.K.get(e.href)}getIntegrityForCacheKey(t){return this.T.get(t)}async matchPrecache(t){const e=t instanceof Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const e=this.getCacheKeyForURL(t);if(!e)throw new s("non-precached-url",{url:t});return s=>(s.request=new Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}let O;const x=()=>(O||(O=new E),O);class N extends i{constructor(t,e){super((({request:s})=>{const n=t.getURLsToCacheKeys();for(const i of function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const r=new URL(t,location.href);r.hash="",yield r.href;const o=function(t,e=[]){for(const s of[...t.searchParams.keys()])e.some((t=>t.test(s)))&&t.searchParams.delete(s);return t}(r,e);if(yield o.href,s&&o.pathname.endsWith("/")){const t=new URL(o.href);t.pathname+=s,yield t.href}if(n){const t=new URL(o.href);t.pathname+=".html",yield t.href}if(i){const t=i({url:r});for(const e of t)yield e.href}}(s.url,e)){const e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}}),t.strategy)}}function k(t){const e=x();!function(t,e,n){let o;if("string"==typeof t){const s=new URL(t,location.href);o=new i((({url:t})=>t.href===s.href),e,n)}else if(t instanceof RegExp)o=new r(t,e,n);else if("function"==typeof t)o=new i(t,e,n);else{if(!(t instanceof i))throw new s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});o=t}a().registerRoute(o)}(new N(e,t))}t.cleanupOutdatedCaches=function(){self.addEventListener("activate",(t=>{const e=l();t.waitUntil((async(t,e="-precache-")=>{const s=(await self.caches.keys()).filter((s=>s.includes(e)&&s.includes(self.registration.scope)&&s!==t));return await Promise.all(s.map((t=>self.caches.delete(t)))),s})(e).then((t=>{})))}))},t.clientsClaim=function(){self.addEventListener("activate",(()=>self.clients.claim()))},t.precacheAndRoute=function(t,e){!function(t){x().precache(t)}(t),k(e)}})); +//# sourceMappingURL=workbox-dbb64b4e.js.map diff --git a/workbox-dbb64b4e.js.map b/workbox-dbb64b4e.js.map new file mode 100644 index 0000000..c37ccd7 --- /dev/null +++ b/workbox-dbb64b4e.js.map @@ -0,0 +1 @@ +{"version":3,"file":"workbox-dbb64b4e.js","sources":["node_modules/.pnpm/workbox-core@7.0.0/node_modules/workbox-core/_version.js","node_modules/.pnpm/workbox-core@7.0.0/node_modules/workbox-core/_private/logger.js","node_modules/.pnpm/workbox-core@7.0.0/node_modules/workbox-core/models/messages/messageGenerator.js","node_modules/.pnpm/workbox-core@7.0.0/node_modules/workbox-core/_private/WorkboxError.js","node_modules/.pnpm/workbox-routing@7.0.0/node_modules/workbox-routing/_version.js","node_modules/.pnpm/workbox-routing@7.0.0/node_modules/workbox-routing/utils/constants.js","node_modules/.pnpm/workbox-routing@7.0.0/node_modules/workbox-routing/utils/normalizeHandler.js","node_modules/.pnpm/workbox-routing@7.0.0/node_modules/workbox-routing/Route.js","node_modules/.pnpm/workbox-routing@7.0.0/node_modules/workbox-routing/RegExpRoute.js","node_modules/.pnpm/workbox-routing@7.0.0/node_modules/workbox-routing/Router.js","node_modules/.pnpm/workbox-routing@7.0.0/node_modules/workbox-routing/utils/getOrCreateDefaultRouter.js","node_modules/.pnpm/workbox-core@7.0.0/node_modules/workbox-core/_private/cacheNames.js","node_modules/.pnpm/workbox-core@7.0.0/node_modules/workbox-core/_private/waitUntil.js","node_modules/.pnpm/workbox-precaching@7.0.0/node_modules/workbox-precaching/_version.js","node_modules/.pnpm/workbox-precaching@7.0.0/node_modules/workbox-precaching/utils/createCacheKey.js","node_modules/.pnpm/workbox-precaching@7.0.0/node_modules/workbox-precaching/utils/PrecacheInstallReportPlugin.js","node_modules/.pnpm/workbox-precaching@7.0.0/node_modules/workbox-precaching/utils/PrecacheCacheKeyPlugin.js","node_modules/.pnpm/workbox-core@7.0.0/node_modules/workbox-core/_private/canConstructResponseFromBodyStream.js","node_modules/.pnpm/workbox-core@7.0.0/node_modules/workbox-core/copyResponse.js","node_modules/.pnpm/workbox-core@7.0.0/node_modules/workbox-core/_private/cacheMatchIgnoreParams.js","node_modules/.pnpm/workbox-core@7.0.0/node_modules/workbox-core/_private/Deferred.js","node_modules/.pnpm/workbox-core@7.0.0/node_modules/workbox-core/models/quotaErrorCallbacks.js","node_modules/.pnpm/workbox-strategies@7.0.0/node_modules/workbox-strategies/_version.js","node_modules/.pnpm/workbox-strategies@7.0.0/node_modules/workbox-strategies/StrategyHandler.js","node_modules/.pnpm/workbox-core@7.0.0/node_modules/workbox-core/_private/timeout.js","node_modules/.pnpm/workbox-core@7.0.0/node_modules/workbox-core/_private/getFriendlyURL.js","node_modules/.pnpm/workbox-core@7.0.0/node_modules/workbox-core/_private/executeQuotaErrorCallbacks.js","node_modules/.pnpm/workbox-strategies@7.0.0/node_modules/workbox-strategies/Strategy.js","node_modules/.pnpm/workbox-precaching@7.0.0/node_modules/workbox-precaching/PrecacheStrategy.js","node_modules/.pnpm/workbox-precaching@7.0.0/node_modules/workbox-precaching/PrecacheController.js","node_modules/.pnpm/workbox-precaching@7.0.0/node_modules/workbox-precaching/utils/getOrCreatePrecacheController.js","node_modules/.pnpm/workbox-precaching@7.0.0/node_modules/workbox-precaching/PrecacheRoute.js","node_modules/.pnpm/workbox-precaching@7.0.0/node_modules/workbox-precaching/utils/generateURLVariations.js","node_modules/.pnpm/workbox-precaching@7.0.0/node_modules/workbox-precaching/utils/removeIgnoredSearchParams.js","node_modules/.pnpm/workbox-precaching@7.0.0/node_modules/workbox-precaching/addRoute.js","node_modules/.pnpm/workbox-routing@7.0.0/node_modules/workbox-routing/registerRoute.js","node_modules/.pnpm/workbox-precaching@7.0.0/node_modules/workbox-precaching/cleanupOutdatedCaches.js","node_modules/.pnpm/workbox-precaching@7.0.0/node_modules/workbox-precaching/utils/deleteOutdatedCaches.js","node_modules/.pnpm/workbox-core@7.0.0/node_modules/workbox-core/clientsClaim.js","node_modules/.pnpm/workbox-precaching@7.0.0/node_modules/workbox-precaching/precacheAndRoute.js","node_modules/.pnpm/workbox-precaching@7.0.0/node_modules/workbox-precaching/precache.js"],"sourcesContent":["\"use strict\";\n// @ts-ignore\ntry {\n self['workbox:core:7.0.0'] && _();\n}\ncatch (e) { }\n","/*\n Copyright 2019 Google LLC\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nconst logger = (process.env.NODE_ENV === 'production'\n ? null\n : (() => {\n // Don't overwrite this value if it's already set.\n // See https://github.com/GoogleChrome/workbox/pull/2284#issuecomment-560470923\n if (!('__WB_DISABLE_DEV_LOGS' in globalThis)) {\n self.__WB_DISABLE_DEV_LOGS = false;\n }\n let inGroup = false;\n const methodToColorMap = {\n debug: `#7f8c8d`,\n log: `#2ecc71`,\n warn: `#f39c12`,\n error: `#c0392b`,\n groupCollapsed: `#3498db`,\n groupEnd: null, // No colored prefix on groupEnd\n };\n const print = function (method, args) {\n if (self.__WB_DISABLE_DEV_LOGS) {\n return;\n }\n if (method === 'groupCollapsed') {\n // Safari doesn't print all console.groupCollapsed() arguments:\n // https://bugs.webkit.org/show_bug.cgi?id=182754\n if (/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {\n console[method](...args);\n return;\n }\n }\n const styles = [\n `background: ${methodToColorMap[method]}`,\n `border-radius: 0.5em`,\n `color: white`,\n `font-weight: bold`,\n `padding: 2px 0.5em`,\n ];\n // When in a group, the workbox prefix is not displayed.\n const logPrefix = inGroup ? [] : ['%cworkbox', styles.join(';')];\n console[method](...logPrefix, ...args);\n if (method === 'groupCollapsed') {\n inGroup = true;\n }\n if (method === 'groupEnd') {\n inGroup = false;\n }\n };\n // eslint-disable-next-line @typescript-eslint/ban-types\n const api = {};\n const loggerMethods = Object.keys(methodToColorMap);\n for (const key of loggerMethods) {\n const method = key;\n api[method] = (...args) => {\n print(method, args);\n };\n }\n return api;\n })());\nexport { logger };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { messages } from './messages.js';\nimport '../../_version.js';\nconst fallback = (code, ...args) => {\n let msg = code;\n if (args.length > 0) {\n msg += ` :: ${JSON.stringify(args)}`;\n }\n return msg;\n};\nconst generatorFunction = (code, details = {}) => {\n const message = messages[code];\n if (!message) {\n throw new Error(`Unable to find message for code '${code}'.`);\n }\n return message(details);\n};\nexport const messageGenerator = process.env.NODE_ENV === 'production' ? fallback : generatorFunction;\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { messageGenerator } from '../models/messages/messageGenerator.js';\nimport '../_version.js';\n/**\n * Workbox errors should be thrown with this class.\n * This allows use to ensure the type easily in tests,\n * helps developers identify errors from workbox\n * easily and allows use to optimise error\n * messages correctly.\n *\n * @private\n */\nclass WorkboxError extends Error {\n /**\n *\n * @param {string} errorCode The error code that\n * identifies this particular error.\n * @param {Object=} details Any relevant arguments\n * that will help developers identify issues should\n * be added as a key on the context object.\n */\n constructor(errorCode, details) {\n const message = messageGenerator(errorCode, details);\n super(message);\n this.name = errorCode;\n this.details = details;\n }\n}\nexport { WorkboxError };\n","\"use strict\";\n// @ts-ignore\ntry {\n self['workbox:routing:7.0.0'] && _();\n}\ncatch (e) { }\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * The default HTTP method, 'GET', used when there's no specific method\n * configured for a route.\n *\n * @type {string}\n *\n * @private\n */\nexport const defaultMethod = 'GET';\n/**\n * The list of valid HTTP methods associated with requests that could be routed.\n *\n * @type {Array}\n *\n * @private\n */\nexport const validMethods = [\n 'DELETE',\n 'GET',\n 'HEAD',\n 'PATCH',\n 'POST',\n 'PUT',\n];\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport '../_version.js';\n/**\n * @param {function()|Object} handler Either a function, or an object with a\n * 'handle' method.\n * @return {Object} An object with a handle method.\n *\n * @private\n */\nexport const normalizeHandler = (handler) => {\n if (handler && typeof handler === 'object') {\n if (process.env.NODE_ENV !== 'production') {\n assert.hasMethod(handler, 'handle', {\n moduleName: 'workbox-routing',\n className: 'Route',\n funcName: 'constructor',\n paramName: 'handler',\n });\n }\n return handler;\n }\n else {\n if (process.env.NODE_ENV !== 'production') {\n assert.isType(handler, 'function', {\n moduleName: 'workbox-routing',\n className: 'Route',\n funcName: 'constructor',\n paramName: 'handler',\n });\n }\n return { handle: handler };\n }\n};\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { defaultMethod, validMethods } from './utils/constants.js';\nimport { normalizeHandler } from './utils/normalizeHandler.js';\nimport './_version.js';\n/**\n * A `Route` consists of a pair of callback functions, \"match\" and \"handler\".\n * The \"match\" callback determine if a route should be used to \"handle\" a\n * request by returning a non-falsy value if it can. The \"handler\" callback\n * is called when there is a match and should return a Promise that resolves\n * to a `Response`.\n *\n * @memberof workbox-routing\n */\nclass Route {\n /**\n * Constructor for Route class.\n *\n * @param {workbox-routing~matchCallback} match\n * A callback function that determines whether the route matches a given\n * `fetch` event by returning a non-falsy value.\n * @param {workbox-routing~handlerCallback} handler A callback\n * function that returns a Promise resolving to a Response.\n * @param {string} [method='GET'] The HTTP method to match the Route\n * against.\n */\n constructor(match, handler, method = defaultMethod) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isType(match, 'function', {\n moduleName: 'workbox-routing',\n className: 'Route',\n funcName: 'constructor',\n paramName: 'match',\n });\n if (method) {\n assert.isOneOf(method, validMethods, { paramName: 'method' });\n }\n }\n // These values are referenced directly by Router so cannot be\n // altered by minificaton.\n this.handler = normalizeHandler(handler);\n this.match = match;\n this.method = method;\n }\n /**\n *\n * @param {workbox-routing-handlerCallback} handler A callback\n * function that returns a Promise resolving to a Response\n */\n setCatchHandler(handler) {\n this.catchHandler = normalizeHandler(handler);\n }\n}\nexport { Route };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { Route } from './Route.js';\nimport './_version.js';\n/**\n * RegExpRoute makes it easy to create a regular expression based\n * {@link workbox-routing.Route}.\n *\n * For same-origin requests the RegExp only needs to match part of the URL. For\n * requests against third-party servers, you must define a RegExp that matches\n * the start of the URL.\n *\n * @memberof workbox-routing\n * @extends workbox-routing.Route\n */\nclass RegExpRoute extends Route {\n /**\n * If the regular expression contains\n * [capture groups]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#grouping-back-references},\n * the captured values will be passed to the\n * {@link workbox-routing~handlerCallback} `params`\n * argument.\n *\n * @param {RegExp} regExp The regular expression to match against URLs.\n * @param {workbox-routing~handlerCallback} handler A callback\n * function that returns a Promise resulting in a Response.\n * @param {string} [method='GET'] The HTTP method to match the Route\n * against.\n */\n constructor(regExp, handler, method) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isInstance(regExp, RegExp, {\n moduleName: 'workbox-routing',\n className: 'RegExpRoute',\n funcName: 'constructor',\n paramName: 'pattern',\n });\n }\n const match = ({ url }) => {\n const result = regExp.exec(url.href);\n // Return immediately if there's no match.\n if (!result) {\n return;\n }\n // Require that the match start at the first character in the URL string\n // if it's a cross-origin request.\n // See https://github.com/GoogleChrome/workbox/issues/281 for the context\n // behind this behavior.\n if (url.origin !== location.origin && result.index !== 0) {\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`The regular expression '${regExp.toString()}' only partially matched ` +\n `against the cross-origin URL '${url.toString()}'. RegExpRoute's will only ` +\n `handle cross-origin requests if they match the entire URL.`);\n }\n return;\n }\n // If the route matches, but there aren't any capture groups defined, then\n // this will return [], which is truthy and therefore sufficient to\n // indicate a match.\n // If there are capture groups, then it will return their values.\n return result.slice(1);\n };\n super(match, handler, method);\n }\n}\nexport { RegExpRoute };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport { defaultMethod } from './utils/constants.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { normalizeHandler } from './utils/normalizeHandler.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport './_version.js';\n/**\n * The Router can be used to process a `FetchEvent` using one or more\n * {@link workbox-routing.Route}, responding with a `Response` if\n * a matching route exists.\n *\n * If no route matches a given a request, the Router will use a \"default\"\n * handler if one is defined.\n *\n * Should the matching Route throw an error, the Router will use a \"catch\"\n * handler if one is defined to gracefully deal with issues and respond with a\n * Request.\n *\n * If a request matches multiple routes, the **earliest** registered route will\n * be used to respond to the request.\n *\n * @memberof workbox-routing\n */\nclass Router {\n /**\n * Initializes a new Router.\n */\n constructor() {\n this._routes = new Map();\n this._defaultHandlerMap = new Map();\n }\n /**\n * @return {Map>} routes A `Map` of HTTP\n * method name ('GET', etc.) to an array of all the corresponding `Route`\n * instances that are registered.\n */\n get routes() {\n return this._routes;\n }\n /**\n * Adds a fetch event listener to respond to events when a route matches\n * the event's request.\n */\n addFetchListener() {\n // See https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n self.addEventListener('fetch', ((event) => {\n const { request } = event;\n const responsePromise = this.handleRequest({ request, event });\n if (responsePromise) {\n event.respondWith(responsePromise);\n }\n }));\n }\n /**\n * Adds a message event listener for URLs to cache from the window.\n * This is useful to cache resources loaded on the page prior to when the\n * service worker started controlling it.\n *\n * The format of the message data sent from the window should be as follows.\n * Where the `urlsToCache` array may consist of URL strings or an array of\n * URL string + `requestInit` object (the same as you'd pass to `fetch()`).\n *\n * ```\n * {\n * type: 'CACHE_URLS',\n * payload: {\n * urlsToCache: [\n * './script1.js',\n * './script2.js',\n * ['./script3.js', {mode: 'no-cors'}],\n * ],\n * },\n * }\n * ```\n */\n addCacheListener() {\n // See https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n self.addEventListener('message', ((event) => {\n // event.data is type 'any'\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (event.data && event.data.type === 'CACHE_URLS') {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const { payload } = event.data;\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Caching URLs from the window`, payload.urlsToCache);\n }\n const requestPromises = Promise.all(payload.urlsToCache.map((entry) => {\n if (typeof entry === 'string') {\n entry = [entry];\n }\n const request = new Request(...entry);\n return this.handleRequest({ request, event });\n // TODO(philipwalton): TypeScript errors without this typecast for\n // some reason (probably a bug). The real type here should work but\n // doesn't: `Array | undefined>`.\n })); // TypeScript\n event.waitUntil(requestPromises);\n // If a MessageChannel was used, reply to the message on success.\n if (event.ports && event.ports[0]) {\n void requestPromises.then(() => event.ports[0].postMessage(true));\n }\n }\n }));\n }\n /**\n * Apply the routing rules to a FetchEvent object to get a Response from an\n * appropriate Route's handler.\n *\n * @param {Object} options\n * @param {Request} options.request The request to handle.\n * @param {ExtendableEvent} options.event The event that triggered the\n * request.\n * @return {Promise|undefined} A promise is returned if a\n * registered route can handle the request. If there is no matching\n * route and there's no `defaultHandler`, `undefined` is returned.\n */\n handleRequest({ request, event, }) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isInstance(request, Request, {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'handleRequest',\n paramName: 'options.request',\n });\n }\n const url = new URL(request.url, location.href);\n if (!url.protocol.startsWith('http')) {\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Workbox Router only supports URLs that start with 'http'.`);\n }\n return;\n }\n const sameOrigin = url.origin === location.origin;\n const { params, route } = this.findMatchingRoute({\n event,\n request,\n sameOrigin,\n url,\n });\n let handler = route && route.handler;\n const debugMessages = [];\n if (process.env.NODE_ENV !== 'production') {\n if (handler) {\n debugMessages.push([`Found a route to handle this request:`, route]);\n if (params) {\n debugMessages.push([\n `Passing the following params to the route's handler:`,\n params,\n ]);\n }\n }\n }\n // If we don't have a handler because there was no matching route, then\n // fall back to defaultHandler if that's defined.\n const method = request.method;\n if (!handler && this._defaultHandlerMap.has(method)) {\n if (process.env.NODE_ENV !== 'production') {\n debugMessages.push(`Failed to find a matching route. Falling ` +\n `back to the default handler for ${method}.`);\n }\n handler = this._defaultHandlerMap.get(method);\n }\n if (!handler) {\n if (process.env.NODE_ENV !== 'production') {\n // No handler so Workbox will do nothing. If logs is set of debug\n // i.e. verbose, we should print out this information.\n logger.debug(`No route found for: ${getFriendlyURL(url)}`);\n }\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n // We have a handler, meaning Workbox is going to handle the route.\n // print the routing details to the console.\n logger.groupCollapsed(`Router is responding to: ${getFriendlyURL(url)}`);\n debugMessages.forEach((msg) => {\n if (Array.isArray(msg)) {\n logger.log(...msg);\n }\n else {\n logger.log(msg);\n }\n });\n logger.groupEnd();\n }\n // Wrap in try and catch in case the handle method throws a synchronous\n // error. It should still callback to the catch handler.\n let responsePromise;\n try {\n responsePromise = handler.handle({ url, request, event, params });\n }\n catch (err) {\n responsePromise = Promise.reject(err);\n }\n // Get route's catch handler, if it exists\n const catchHandler = route && route.catchHandler;\n if (responsePromise instanceof Promise &&\n (this._catchHandler || catchHandler)) {\n responsePromise = responsePromise.catch(async (err) => {\n // If there's a route catch handler, process that first\n if (catchHandler) {\n if (process.env.NODE_ENV !== 'production') {\n // Still include URL here as it will be async from the console group\n // and may not make sense without the URL\n logger.groupCollapsed(`Error thrown when responding to: ` +\n ` ${getFriendlyURL(url)}. Falling back to route's Catch Handler.`);\n logger.error(`Error thrown by:`, route);\n logger.error(err);\n logger.groupEnd();\n }\n try {\n return await catchHandler.handle({ url, request, event, params });\n }\n catch (catchErr) {\n if (catchErr instanceof Error) {\n err = catchErr;\n }\n }\n }\n if (this._catchHandler) {\n if (process.env.NODE_ENV !== 'production') {\n // Still include URL here as it will be async from the console group\n // and may not make sense without the URL\n logger.groupCollapsed(`Error thrown when responding to: ` +\n ` ${getFriendlyURL(url)}. Falling back to global Catch Handler.`);\n logger.error(`Error thrown by:`, route);\n logger.error(err);\n logger.groupEnd();\n }\n return this._catchHandler.handle({ url, request, event });\n }\n throw err;\n });\n }\n return responsePromise;\n }\n /**\n * Checks a request and URL (and optionally an event) against the list of\n * registered routes, and if there's a match, returns the corresponding\n * route along with any params generated by the match.\n *\n * @param {Object} options\n * @param {URL} options.url\n * @param {boolean} options.sameOrigin The result of comparing `url.origin`\n * against the current origin.\n * @param {Request} options.request The request to match.\n * @param {Event} options.event The corresponding event.\n * @return {Object} An object with `route` and `params` properties.\n * They are populated if a matching route was found or `undefined`\n * otherwise.\n */\n findMatchingRoute({ url, sameOrigin, request, event, }) {\n const routes = this._routes.get(request.method) || [];\n for (const route of routes) {\n let params;\n // route.match returns type any, not possible to change right now.\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const matchResult = route.match({ url, sameOrigin, request, event });\n if (matchResult) {\n if (process.env.NODE_ENV !== 'production') {\n // Warn developers that using an async matchCallback is almost always\n // not the right thing to do.\n if (matchResult instanceof Promise) {\n logger.warn(`While routing ${getFriendlyURL(url)}, an async ` +\n `matchCallback function was used. Please convert the ` +\n `following route to use a synchronous matchCallback function:`, route);\n }\n }\n // See https://github.com/GoogleChrome/workbox/issues/2079\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n params = matchResult;\n if (Array.isArray(params) && params.length === 0) {\n // Instead of passing an empty array in as params, use undefined.\n params = undefined;\n }\n else if (matchResult.constructor === Object && // eslint-disable-line\n Object.keys(matchResult).length === 0) {\n // Instead of passing an empty object in as params, use undefined.\n params = undefined;\n }\n else if (typeof matchResult === 'boolean') {\n // For the boolean value true (rather than just something truth-y),\n // don't set params.\n // See https://github.com/GoogleChrome/workbox/pull/2134#issuecomment-513924353\n params = undefined;\n }\n // Return early if have a match.\n return { route, params };\n }\n }\n // If no match was found above, return and empty object.\n return {};\n }\n /**\n * Define a default `handler` that's called when no routes explicitly\n * match the incoming request.\n *\n * Each HTTP method ('GET', 'POST', etc.) gets its own default handler.\n *\n * Without a default handler, unmatched requests will go against the\n * network as if there were no service worker present.\n *\n * @param {workbox-routing~handlerCallback} handler A callback\n * function that returns a Promise resulting in a Response.\n * @param {string} [method='GET'] The HTTP method to associate with this\n * default handler. Each method has its own default.\n */\n setDefaultHandler(handler, method = defaultMethod) {\n this._defaultHandlerMap.set(method, normalizeHandler(handler));\n }\n /**\n * If a Route throws an error while handling a request, this `handler`\n * will be called and given a chance to provide a response.\n *\n * @param {workbox-routing~handlerCallback} handler A callback\n * function that returns a Promise resulting in a Response.\n */\n setCatchHandler(handler) {\n this._catchHandler = normalizeHandler(handler);\n }\n /**\n * Registers a route with the router.\n *\n * @param {workbox-routing.Route} route The route to register.\n */\n registerRoute(route) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isType(route, 'object', {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'registerRoute',\n paramName: 'route',\n });\n assert.hasMethod(route, 'match', {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'registerRoute',\n paramName: 'route',\n });\n assert.isType(route.handler, 'object', {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'registerRoute',\n paramName: 'route',\n });\n assert.hasMethod(route.handler, 'handle', {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'registerRoute',\n paramName: 'route.handler',\n });\n assert.isType(route.method, 'string', {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'registerRoute',\n paramName: 'route.method',\n });\n }\n if (!this._routes.has(route.method)) {\n this._routes.set(route.method, []);\n }\n // Give precedence to all of the earlier routes by adding this additional\n // route to the end of the array.\n this._routes.get(route.method).push(route);\n }\n /**\n * Unregisters a route with the router.\n *\n * @param {workbox-routing.Route} route The route to unregister.\n */\n unregisterRoute(route) {\n if (!this._routes.has(route.method)) {\n throw new WorkboxError('unregister-route-but-not-found-with-method', {\n method: route.method,\n });\n }\n const routeIndex = this._routes.get(route.method).indexOf(route);\n if (routeIndex > -1) {\n this._routes.get(route.method).splice(routeIndex, 1);\n }\n else {\n throw new WorkboxError('unregister-route-route-not-registered');\n }\n }\n}\nexport { Router };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { Router } from '../Router.js';\nimport '../_version.js';\nlet defaultRouter;\n/**\n * Creates a new, singleton Router instance if one does not exist. If one\n * does already exist, that instance is returned.\n *\n * @private\n * @return {Router}\n */\nexport const getOrCreateDefaultRouter = () => {\n if (!defaultRouter) {\n defaultRouter = new Router();\n // The helpers that use the default Router assume these listeners exist.\n defaultRouter.addFetchListener();\n defaultRouter.addCacheListener();\n }\n return defaultRouter;\n};\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nconst _cacheNameDetails = {\n googleAnalytics: 'googleAnalytics',\n precache: 'precache-v2',\n prefix: 'workbox',\n runtime: 'runtime',\n suffix: typeof registration !== 'undefined' ? registration.scope : '',\n};\nconst _createCacheName = (cacheName) => {\n return [_cacheNameDetails.prefix, cacheName, _cacheNameDetails.suffix]\n .filter((value) => value && value.length > 0)\n .join('-');\n};\nconst eachCacheNameDetail = (fn) => {\n for (const key of Object.keys(_cacheNameDetails)) {\n fn(key);\n }\n};\nexport const cacheNames = {\n updateDetails: (details) => {\n eachCacheNameDetail((key) => {\n if (typeof details[key] === 'string') {\n _cacheNameDetails[key] = details[key];\n }\n });\n },\n getGoogleAnalyticsName: (userCacheName) => {\n return userCacheName || _createCacheName(_cacheNameDetails.googleAnalytics);\n },\n getPrecacheName: (userCacheName) => {\n return userCacheName || _createCacheName(_cacheNameDetails.precache);\n },\n getPrefix: () => {\n return _cacheNameDetails.prefix;\n },\n getRuntimeName: (userCacheName) => {\n return userCacheName || _createCacheName(_cacheNameDetails.runtime);\n },\n getSuffix: () => {\n return _cacheNameDetails.suffix;\n },\n};\n","/*\n Copyright 2020 Google LLC\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * A utility method that makes it easier to use `event.waitUntil` with\n * async functions and return the result.\n *\n * @param {ExtendableEvent} event\n * @param {Function} asyncFn\n * @return {Function}\n * @private\n */\nfunction waitUntil(event, asyncFn) {\n const returnPromise = asyncFn();\n event.waitUntil(returnPromise);\n return returnPromise;\n}\nexport { waitUntil };\n","\"use strict\";\n// @ts-ignore\ntry {\n self['workbox:precaching:7.0.0'] && _();\n}\ncatch (e) { }\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport '../_version.js';\n// Name of the search parameter used to store revision info.\nconst REVISION_SEARCH_PARAM = '__WB_REVISION__';\n/**\n * Converts a manifest entry into a versioned URL suitable for precaching.\n *\n * @param {Object|string} entry\n * @return {string} A URL with versioning info.\n *\n * @private\n * @memberof workbox-precaching\n */\nexport function createCacheKey(entry) {\n if (!entry) {\n throw new WorkboxError('add-to-cache-list-unexpected-type', { entry });\n }\n // If a precache manifest entry is a string, it's assumed to be a versioned\n // URL, like '/app.abcd1234.js'. Return as-is.\n if (typeof entry === 'string') {\n const urlObject = new URL(entry, location.href);\n return {\n cacheKey: urlObject.href,\n url: urlObject.href,\n };\n }\n const { revision, url } = entry;\n if (!url) {\n throw new WorkboxError('add-to-cache-list-unexpected-type', { entry });\n }\n // If there's just a URL and no revision, then it's also assumed to be a\n // versioned URL.\n if (!revision) {\n const urlObject = new URL(url, location.href);\n return {\n cacheKey: urlObject.href,\n url: urlObject.href,\n };\n }\n // Otherwise, construct a properly versioned URL using the custom Workbox\n // search parameter along with the revision info.\n const cacheKeyURL = new URL(url, location.href);\n const originalURL = new URL(url, location.href);\n cacheKeyURL.searchParams.set(REVISION_SEARCH_PARAM, revision);\n return {\n cacheKey: cacheKeyURL.href,\n url: originalURL.href,\n };\n}\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * A plugin, designed to be used with PrecacheController, to determine the\n * of assets that were updated (or not updated) during the install event.\n *\n * @private\n */\nclass PrecacheInstallReportPlugin {\n constructor() {\n this.updatedURLs = [];\n this.notUpdatedURLs = [];\n this.handlerWillStart = async ({ request, state, }) => {\n // TODO: `state` should never be undefined...\n if (state) {\n state.originalRequest = request;\n }\n };\n this.cachedResponseWillBeUsed = async ({ event, state, cachedResponse, }) => {\n if (event.type === 'install') {\n if (state &&\n state.originalRequest &&\n state.originalRequest instanceof Request) {\n // TODO: `state` should never be undefined...\n const url = state.originalRequest.url;\n if (cachedResponse) {\n this.notUpdatedURLs.push(url);\n }\n else {\n this.updatedURLs.push(url);\n }\n }\n }\n return cachedResponse;\n };\n }\n}\nexport { PrecacheInstallReportPlugin };\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * A plugin, designed to be used with PrecacheController, to translate URLs into\n * the corresponding cache key, based on the current revision info.\n *\n * @private\n */\nclass PrecacheCacheKeyPlugin {\n constructor({ precacheController }) {\n this.cacheKeyWillBeUsed = async ({ request, params, }) => {\n // Params is type any, can't change right now.\n /* eslint-disable */\n const cacheKey = (params === null || params === void 0 ? void 0 : params.cacheKey) ||\n this._precacheController.getCacheKeyForURL(request.url);\n /* eslint-enable */\n return cacheKey\n ? new Request(cacheKey, { headers: request.headers })\n : request;\n };\n this._precacheController = precacheController;\n }\n}\nexport { PrecacheCacheKeyPlugin };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nlet supportStatus;\n/**\n * A utility function that determines whether the current browser supports\n * constructing a new `Response` from a `response.body` stream.\n *\n * @return {boolean} `true`, if the current browser can successfully\n * construct a `Response` from a `response.body` stream, `false` otherwise.\n *\n * @private\n */\nfunction canConstructResponseFromBodyStream() {\n if (supportStatus === undefined) {\n const testResponse = new Response('');\n if ('body' in testResponse) {\n try {\n new Response(testResponse.body);\n supportStatus = true;\n }\n catch (error) {\n supportStatus = false;\n }\n }\n supportStatus = false;\n }\n return supportStatus;\n}\nexport { canConstructResponseFromBodyStream };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { canConstructResponseFromBodyStream } from './_private/canConstructResponseFromBodyStream.js';\nimport { WorkboxError } from './_private/WorkboxError.js';\nimport './_version.js';\n/**\n * Allows developers to copy a response and modify its `headers`, `status`,\n * or `statusText` values (the values settable via a\n * [`ResponseInit`]{@link https://developer.mozilla.org/en-US/docs/Web/API/Response/Response#Syntax}\n * object in the constructor).\n * To modify these values, pass a function as the second argument. That\n * function will be invoked with a single object with the response properties\n * `{headers, status, statusText}`. The return value of this function will\n * be used as the `ResponseInit` for the new `Response`. To change the values\n * either modify the passed parameter(s) and return it, or return a totally\n * new object.\n *\n * This method is intentionally limited to same-origin responses, regardless of\n * whether CORS was used or not.\n *\n * @param {Response} response\n * @param {Function} modifier\n * @memberof workbox-core\n */\nasync function copyResponse(response, modifier) {\n let origin = null;\n // If response.url isn't set, assume it's cross-origin and keep origin null.\n if (response.url) {\n const responseURL = new URL(response.url);\n origin = responseURL.origin;\n }\n if (origin !== self.location.origin) {\n throw new WorkboxError('cross-origin-copy-response', { origin });\n }\n const clonedResponse = response.clone();\n // Create a fresh `ResponseInit` object by cloning the headers.\n const responseInit = {\n headers: new Headers(clonedResponse.headers),\n status: clonedResponse.status,\n statusText: clonedResponse.statusText,\n };\n // Apply any user modifications.\n const modifiedResponseInit = modifier ? modifier(responseInit) : responseInit;\n // Create the new response from the body stream and `ResponseInit`\n // modifications. Note: not all browsers support the Response.body stream,\n // so fall back to reading the entire body into memory as a blob.\n const body = canConstructResponseFromBodyStream()\n ? clonedResponse.body\n : await clonedResponse.blob();\n return new Response(body, modifiedResponseInit);\n}\nexport { copyResponse };\n","/*\n Copyright 2020 Google LLC\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nfunction stripParams(fullURL, ignoreParams) {\n const strippedURL = new URL(fullURL);\n for (const param of ignoreParams) {\n strippedURL.searchParams.delete(param);\n }\n return strippedURL.href;\n}\n/**\n * Matches an item in the cache, ignoring specific URL params. This is similar\n * to the `ignoreSearch` option, but it allows you to ignore just specific\n * params (while continuing to match on the others).\n *\n * @private\n * @param {Cache} cache\n * @param {Request} request\n * @param {Object} matchOptions\n * @param {Array} ignoreParams\n * @return {Promise}\n */\nasync function cacheMatchIgnoreParams(cache, request, ignoreParams, matchOptions) {\n const strippedRequestURL = stripParams(request.url, ignoreParams);\n // If the request doesn't include any ignored params, match as normal.\n if (request.url === strippedRequestURL) {\n return cache.match(request, matchOptions);\n }\n // Otherwise, match by comparing keys\n const keysOptions = Object.assign(Object.assign({}, matchOptions), { ignoreSearch: true });\n const cacheKeys = await cache.keys(request, keysOptions);\n for (const cacheKey of cacheKeys) {\n const strippedCacheKeyURL = stripParams(cacheKey.url, ignoreParams);\n if (strippedRequestURL === strippedCacheKeyURL) {\n return cache.match(cacheKey, matchOptions);\n }\n }\n return;\n}\nexport { cacheMatchIgnoreParams };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * The Deferred class composes Promises in a way that allows for them to be\n * resolved or rejected from outside the constructor. In most cases promises\n * should be used directly, but Deferreds can be necessary when the logic to\n * resolve a promise must be separate.\n *\n * @private\n */\nclass Deferred {\n /**\n * Creates a promise and exposes its resolve and reject functions as methods.\n */\n constructor() {\n this.promise = new Promise((resolve, reject) => {\n this.resolve = resolve;\n this.reject = reject;\n });\n }\n}\nexport { Deferred };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n// Callbacks to be executed whenever there's a quota error.\n// Can't change Function type right now.\n// eslint-disable-next-line @typescript-eslint/ban-types\nconst quotaErrorCallbacks = new Set();\nexport { quotaErrorCallbacks };\n","\"use strict\";\n// @ts-ignore\ntry {\n self['workbox:strategies:7.0.0'] && _();\n}\ncatch (e) { }\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { cacheMatchIgnoreParams } from 'workbox-core/_private/cacheMatchIgnoreParams.js';\nimport { Deferred } from 'workbox-core/_private/Deferred.js';\nimport { executeQuotaErrorCallbacks } from 'workbox-core/_private/executeQuotaErrorCallbacks.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { timeout } from 'workbox-core/_private/timeout.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport './_version.js';\nfunction toRequest(input) {\n return typeof input === 'string' ? new Request(input) : input;\n}\n/**\n * A class created every time a Strategy instance instance calls\n * {@link workbox-strategies.Strategy~handle} or\n * {@link workbox-strategies.Strategy~handleAll} that wraps all fetch and\n * cache actions around plugin callbacks and keeps track of when the strategy\n * is \"done\" (i.e. all added `event.waitUntil()` promises have resolved).\n *\n * @memberof workbox-strategies\n */\nclass StrategyHandler {\n /**\n * Creates a new instance associated with the passed strategy and event\n * that's handling the request.\n *\n * The constructor also initializes the state that will be passed to each of\n * the plugins handling this request.\n *\n * @param {workbox-strategies.Strategy} strategy\n * @param {Object} options\n * @param {Request|string} options.request A request to run this strategy for.\n * @param {ExtendableEvent} options.event The event associated with the\n * request.\n * @param {URL} [options.url]\n * @param {*} [options.params] The return value from the\n * {@link workbox-routing~matchCallback} (if applicable).\n */\n constructor(strategy, options) {\n this._cacheKeys = {};\n /**\n * The request the strategy is performing (passed to the strategy's\n * `handle()` or `handleAll()` method).\n * @name request\n * @instance\n * @type {Request}\n * @memberof workbox-strategies.StrategyHandler\n */\n /**\n * The event associated with this request.\n * @name event\n * @instance\n * @type {ExtendableEvent}\n * @memberof workbox-strategies.StrategyHandler\n */\n /**\n * A `URL` instance of `request.url` (if passed to the strategy's\n * `handle()` or `handleAll()` method).\n * Note: the `url` param will be present if the strategy was invoked\n * from a workbox `Route` object.\n * @name url\n * @instance\n * @type {URL|undefined}\n * @memberof workbox-strategies.StrategyHandler\n */\n /**\n * A `param` value (if passed to the strategy's\n * `handle()` or `handleAll()` method).\n * Note: the `param` param will be present if the strategy was invoked\n * from a workbox `Route` object and the\n * {@link workbox-routing~matchCallback} returned\n * a truthy value (it will be that value).\n * @name params\n * @instance\n * @type {*|undefined}\n * @memberof workbox-strategies.StrategyHandler\n */\n if (process.env.NODE_ENV !== 'production') {\n assert.isInstance(options.event, ExtendableEvent, {\n moduleName: 'workbox-strategies',\n className: 'StrategyHandler',\n funcName: 'constructor',\n paramName: 'options.event',\n });\n }\n Object.assign(this, options);\n this.event = options.event;\n this._strategy = strategy;\n this._handlerDeferred = new Deferred();\n this._extendLifetimePromises = [];\n // Copy the plugins list (since it's mutable on the strategy),\n // so any mutations don't affect this handler instance.\n this._plugins = [...strategy.plugins];\n this._pluginStateMap = new Map();\n for (const plugin of this._plugins) {\n this._pluginStateMap.set(plugin, {});\n }\n this.event.waitUntil(this._handlerDeferred.promise);\n }\n /**\n * Fetches a given request (and invokes any applicable plugin callback\n * methods) using the `fetchOptions` (for non-navigation requests) and\n * `plugins` defined on the `Strategy` object.\n *\n * The following plugin lifecycle methods are invoked when using this method:\n * - `requestWillFetch()`\n * - `fetchDidSucceed()`\n * - `fetchDidFail()`\n *\n * @param {Request|string} input The URL or request to fetch.\n * @return {Promise}\n */\n async fetch(input) {\n const { event } = this;\n let request = toRequest(input);\n if (request.mode === 'navigate' &&\n event instanceof FetchEvent &&\n event.preloadResponse) {\n const possiblePreloadResponse = (await event.preloadResponse);\n if (possiblePreloadResponse) {\n if (process.env.NODE_ENV !== 'production') {\n logger.log(`Using a preloaded navigation response for ` +\n `'${getFriendlyURL(request.url)}'`);\n }\n return possiblePreloadResponse;\n }\n }\n // If there is a fetchDidFail plugin, we need to save a clone of the\n // original request before it's either modified by a requestWillFetch\n // plugin or before the original request's body is consumed via fetch().\n const originalRequest = this.hasCallback('fetchDidFail')\n ? request.clone()\n : null;\n try {\n for (const cb of this.iterateCallbacks('requestWillFetch')) {\n request = await cb({ request: request.clone(), event });\n }\n }\n catch (err) {\n if (err instanceof Error) {\n throw new WorkboxError('plugin-error-request-will-fetch', {\n thrownErrorMessage: err.message,\n });\n }\n }\n // The request can be altered by plugins with `requestWillFetch` making\n // the original request (most likely from a `fetch` event) different\n // from the Request we make. Pass both to `fetchDidFail` to aid debugging.\n const pluginFilteredRequest = request.clone();\n try {\n let fetchResponse;\n // See https://github.com/GoogleChrome/workbox/issues/1796\n fetchResponse = await fetch(request, request.mode === 'navigate' ? undefined : this._strategy.fetchOptions);\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Network request for ` +\n `'${getFriendlyURL(request.url)}' returned a response with ` +\n `status '${fetchResponse.status}'.`);\n }\n for (const callback of this.iterateCallbacks('fetchDidSucceed')) {\n fetchResponse = await callback({\n event,\n request: pluginFilteredRequest,\n response: fetchResponse,\n });\n }\n return fetchResponse;\n }\n catch (error) {\n if (process.env.NODE_ENV !== 'production') {\n logger.log(`Network request for ` +\n `'${getFriendlyURL(request.url)}' threw an error.`, error);\n }\n // `originalRequest` will only exist if a `fetchDidFail` callback\n // is being used (see above).\n if (originalRequest) {\n await this.runCallbacks('fetchDidFail', {\n error: error,\n event,\n originalRequest: originalRequest.clone(),\n request: pluginFilteredRequest.clone(),\n });\n }\n throw error;\n }\n }\n /**\n * Calls `this.fetch()` and (in the background) runs `this.cachePut()` on\n * the response generated by `this.fetch()`.\n *\n * The call to `this.cachePut()` automatically invokes `this.waitUntil()`,\n * so you do not have to manually call `waitUntil()` on the event.\n *\n * @param {Request|string} input The request or URL to fetch and cache.\n * @return {Promise}\n */\n async fetchAndCachePut(input) {\n const response = await this.fetch(input);\n const responseClone = response.clone();\n void this.waitUntil(this.cachePut(input, responseClone));\n return response;\n }\n /**\n * Matches a request from the cache (and invokes any applicable plugin\n * callback methods) using the `cacheName`, `matchOptions`, and `plugins`\n * defined on the strategy object.\n *\n * The following plugin lifecycle methods are invoked when using this method:\n * - cacheKeyWillByUsed()\n * - cachedResponseWillByUsed()\n *\n * @param {Request|string} key The Request or URL to use as the cache key.\n * @return {Promise} A matching response, if found.\n */\n async cacheMatch(key) {\n const request = toRequest(key);\n let cachedResponse;\n const { cacheName, matchOptions } = this._strategy;\n const effectiveRequest = await this.getCacheKey(request, 'read');\n const multiMatchOptions = Object.assign(Object.assign({}, matchOptions), { cacheName });\n cachedResponse = await caches.match(effectiveRequest, multiMatchOptions);\n if (process.env.NODE_ENV !== 'production') {\n if (cachedResponse) {\n logger.debug(`Found a cached response in '${cacheName}'.`);\n }\n else {\n logger.debug(`No cached response found in '${cacheName}'.`);\n }\n }\n for (const callback of this.iterateCallbacks('cachedResponseWillBeUsed')) {\n cachedResponse =\n (await callback({\n cacheName,\n matchOptions,\n cachedResponse,\n request: effectiveRequest,\n event: this.event,\n })) || undefined;\n }\n return cachedResponse;\n }\n /**\n * Puts a request/response pair in the cache (and invokes any applicable\n * plugin callback methods) using the `cacheName` and `plugins` defined on\n * the strategy object.\n *\n * The following plugin lifecycle methods are invoked when using this method:\n * - cacheKeyWillByUsed()\n * - cacheWillUpdate()\n * - cacheDidUpdate()\n *\n * @param {Request|string} key The request or URL to use as the cache key.\n * @param {Response} response The response to cache.\n * @return {Promise} `false` if a cacheWillUpdate caused the response\n * not be cached, and `true` otherwise.\n */\n async cachePut(key, response) {\n const request = toRequest(key);\n // Run in the next task to avoid blocking other cache reads.\n // https://github.com/w3c/ServiceWorker/issues/1397\n await timeout(0);\n const effectiveRequest = await this.getCacheKey(request, 'write');\n if (process.env.NODE_ENV !== 'production') {\n if (effectiveRequest.method && effectiveRequest.method !== 'GET') {\n throw new WorkboxError('attempt-to-cache-non-get-request', {\n url: getFriendlyURL(effectiveRequest.url),\n method: effectiveRequest.method,\n });\n }\n // See https://github.com/GoogleChrome/workbox/issues/2818\n const vary = response.headers.get('Vary');\n if (vary) {\n logger.debug(`The response for ${getFriendlyURL(effectiveRequest.url)} ` +\n `has a 'Vary: ${vary}' header. ` +\n `Consider setting the {ignoreVary: true} option on your strategy ` +\n `to ensure cache matching and deletion works as expected.`);\n }\n }\n if (!response) {\n if (process.env.NODE_ENV !== 'production') {\n logger.error(`Cannot cache non-existent response for ` +\n `'${getFriendlyURL(effectiveRequest.url)}'.`);\n }\n throw new WorkboxError('cache-put-with-no-response', {\n url: getFriendlyURL(effectiveRequest.url),\n });\n }\n const responseToCache = await this._ensureResponseSafeToCache(response);\n if (!responseToCache) {\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Response '${getFriendlyURL(effectiveRequest.url)}' ` +\n `will not be cached.`, responseToCache);\n }\n return false;\n }\n const { cacheName, matchOptions } = this._strategy;\n const cache = await self.caches.open(cacheName);\n const hasCacheUpdateCallback = this.hasCallback('cacheDidUpdate');\n const oldResponse = hasCacheUpdateCallback\n ? await cacheMatchIgnoreParams(\n // TODO(philipwalton): the `__WB_REVISION__` param is a precaching\n // feature. Consider into ways to only add this behavior if using\n // precaching.\n cache, effectiveRequest.clone(), ['__WB_REVISION__'], matchOptions)\n : null;\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Updating the '${cacheName}' cache with a new Response ` +\n `for ${getFriendlyURL(effectiveRequest.url)}.`);\n }\n try {\n await cache.put(effectiveRequest, hasCacheUpdateCallback ? responseToCache.clone() : responseToCache);\n }\n catch (error) {\n if (error instanceof Error) {\n // See https://developer.mozilla.org/en-US/docs/Web/API/DOMException#exception-QuotaExceededError\n if (error.name === 'QuotaExceededError') {\n await executeQuotaErrorCallbacks();\n }\n throw error;\n }\n }\n for (const callback of this.iterateCallbacks('cacheDidUpdate')) {\n await callback({\n cacheName,\n oldResponse,\n newResponse: responseToCache.clone(),\n request: effectiveRequest,\n event: this.event,\n });\n }\n return true;\n }\n /**\n * Checks the list of plugins for the `cacheKeyWillBeUsed` callback, and\n * executes any of those callbacks found in sequence. The final `Request`\n * object returned by the last plugin is treated as the cache key for cache\n * reads and/or writes. If no `cacheKeyWillBeUsed` plugin callbacks have\n * been registered, the passed request is returned unmodified\n *\n * @param {Request} request\n * @param {string} mode\n * @return {Promise}\n */\n async getCacheKey(request, mode) {\n const key = `${request.url} | ${mode}`;\n if (!this._cacheKeys[key]) {\n let effectiveRequest = request;\n for (const callback of this.iterateCallbacks('cacheKeyWillBeUsed')) {\n effectiveRequest = toRequest(await callback({\n mode,\n request: effectiveRequest,\n event: this.event,\n // params has a type any can't change right now.\n params: this.params, // eslint-disable-line\n }));\n }\n this._cacheKeys[key] = effectiveRequest;\n }\n return this._cacheKeys[key];\n }\n /**\n * Returns true if the strategy has at least one plugin with the given\n * callback.\n *\n * @param {string} name The name of the callback to check for.\n * @return {boolean}\n */\n hasCallback(name) {\n for (const plugin of this._strategy.plugins) {\n if (name in plugin) {\n return true;\n }\n }\n return false;\n }\n /**\n * Runs all plugin callbacks matching the given name, in order, passing the\n * given param object (merged ith the current plugin state) as the only\n * argument.\n *\n * Note: since this method runs all plugins, it's not suitable for cases\n * where the return value of a callback needs to be applied prior to calling\n * the next callback. See\n * {@link workbox-strategies.StrategyHandler#iterateCallbacks}\n * below for how to handle that case.\n *\n * @param {string} name The name of the callback to run within each plugin.\n * @param {Object} param The object to pass as the first (and only) param\n * when executing each callback. This object will be merged with the\n * current plugin state prior to callback execution.\n */\n async runCallbacks(name, param) {\n for (const callback of this.iterateCallbacks(name)) {\n // TODO(philipwalton): not sure why `any` is needed. It seems like\n // this should work with `as WorkboxPluginCallbackParam[C]`.\n await callback(param);\n }\n }\n /**\n * Accepts a callback and returns an iterable of matching plugin callbacks,\n * where each callback is wrapped with the current handler state (i.e. when\n * you call each callback, whatever object parameter you pass it will\n * be merged with the plugin's current state).\n *\n * @param {string} name The name fo the callback to run\n * @return {Array}\n */\n *iterateCallbacks(name) {\n for (const plugin of this._strategy.plugins) {\n if (typeof plugin[name] === 'function') {\n const state = this._pluginStateMap.get(plugin);\n const statefulCallback = (param) => {\n const statefulParam = Object.assign(Object.assign({}, param), { state });\n // TODO(philipwalton): not sure why `any` is needed. It seems like\n // this should work with `as WorkboxPluginCallbackParam[C]`.\n return plugin[name](statefulParam);\n };\n yield statefulCallback;\n }\n }\n }\n /**\n * Adds a promise to the\n * [extend lifetime promises]{@link https://w3c.github.io/ServiceWorker/#extendableevent-extend-lifetime-promises}\n * of the event event associated with the request being handled (usually a\n * `FetchEvent`).\n *\n * Note: you can await\n * {@link workbox-strategies.StrategyHandler~doneWaiting}\n * to know when all added promises have settled.\n *\n * @param {Promise} promise A promise to add to the extend lifetime promises\n * of the event that triggered the request.\n */\n waitUntil(promise) {\n this._extendLifetimePromises.push(promise);\n return promise;\n }\n /**\n * Returns a promise that resolves once all promises passed to\n * {@link workbox-strategies.StrategyHandler~waitUntil}\n * have settled.\n *\n * Note: any work done after `doneWaiting()` settles should be manually\n * passed to an event's `waitUntil()` method (not this handler's\n * `waitUntil()` method), otherwise the service worker thread my be killed\n * prior to your work completing.\n */\n async doneWaiting() {\n let promise;\n while ((promise = this._extendLifetimePromises.shift())) {\n await promise;\n }\n }\n /**\n * Stops running the strategy and immediately resolves any pending\n * `waitUntil()` promises.\n */\n destroy() {\n this._handlerDeferred.resolve(null);\n }\n /**\n * This method will call cacheWillUpdate on the available plugins (or use\n * status === 200) to determine if the Response is safe and valid to cache.\n *\n * @param {Request} options.request\n * @param {Response} options.response\n * @return {Promise}\n *\n * @private\n */\n async _ensureResponseSafeToCache(response) {\n let responseToCache = response;\n let pluginsUsed = false;\n for (const callback of this.iterateCallbacks('cacheWillUpdate')) {\n responseToCache =\n (await callback({\n request: this.request,\n response: responseToCache,\n event: this.event,\n })) || undefined;\n pluginsUsed = true;\n if (!responseToCache) {\n break;\n }\n }\n if (!pluginsUsed) {\n if (responseToCache && responseToCache.status !== 200) {\n responseToCache = undefined;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (responseToCache) {\n if (responseToCache.status !== 200) {\n if (responseToCache.status === 0) {\n logger.warn(`The response for '${this.request.url}' ` +\n `is an opaque response. The caching strategy that you're ` +\n `using will not cache opaque responses by default.`);\n }\n else {\n logger.debug(`The response for '${this.request.url}' ` +\n `returned a status code of '${response.status}' and won't ` +\n `be cached as a result.`);\n }\n }\n }\n }\n }\n return responseToCache;\n }\n}\nexport { StrategyHandler };\n","/*\n Copyright 2019 Google LLC\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * Returns a promise that resolves and the passed number of milliseconds.\n * This utility is an async/await-friendly version of `setTimeout`.\n *\n * @param {number} ms\n * @return {Promise}\n * @private\n */\nexport function timeout(ms) {\n return new Promise((resolve) => setTimeout(resolve, ms));\n}\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nconst getFriendlyURL = (url) => {\n const urlObj = new URL(String(url), location.href);\n // See https://github.com/GoogleChrome/workbox/issues/2323\n // We want to include everything, except for the origin if it's same-origin.\n return urlObj.href.replace(new RegExp(`^${location.origin}`), '');\n};\nexport { getFriendlyURL };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { logger } from '../_private/logger.js';\nimport { quotaErrorCallbacks } from '../models/quotaErrorCallbacks.js';\nimport '../_version.js';\n/**\n * Runs all of the callback functions, one at a time sequentially, in the order\n * in which they were registered.\n *\n * @memberof workbox-core\n * @private\n */\nasync function executeQuotaErrorCallbacks() {\n if (process.env.NODE_ENV !== 'production') {\n logger.log(`About to run ${quotaErrorCallbacks.size} ` +\n `callbacks to clean up caches.`);\n }\n for (const callback of quotaErrorCallbacks) {\n await callback();\n if (process.env.NODE_ENV !== 'production') {\n logger.log(callback, 'is complete.');\n }\n }\n if (process.env.NODE_ENV !== 'production') {\n logger.log('Finished running callbacks.');\n }\n}\nexport { executeQuotaErrorCallbacks };\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { cacheNames } from 'workbox-core/_private/cacheNames.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport { StrategyHandler } from './StrategyHandler.js';\nimport './_version.js';\n/**\n * An abstract base class that all other strategy classes must extend from:\n *\n * @memberof workbox-strategies\n */\nclass Strategy {\n /**\n * Creates a new instance of the strategy and sets all documented option\n * properties as public instance properties.\n *\n * Note: if a custom strategy class extends the base Strategy class and does\n * not need more than these properties, it does not need to define its own\n * constructor.\n *\n * @param {Object} [options]\n * @param {string} [options.cacheName] Cache name to store and retrieve\n * requests. Defaults to the cache names provided by\n * {@link workbox-core.cacheNames}.\n * @param {Array} [options.plugins] [Plugins]{@link https://developers.google.com/web/tools/workbox/guides/using-plugins}\n * to use in conjunction with this caching strategy.\n * @param {Object} [options.fetchOptions] Values passed along to the\n * [`init`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters)\n * of [non-navigation](https://github.com/GoogleChrome/workbox/issues/1796)\n * `fetch()` requests made by this strategy.\n * @param {Object} [options.matchOptions] The\n * [`CacheQueryOptions`]{@link https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n * for any `cache.match()` or `cache.put()` calls made by this strategy.\n */\n constructor(options = {}) {\n /**\n * Cache name to store and retrieve\n * requests. Defaults to the cache names provided by\n * {@link workbox-core.cacheNames}.\n *\n * @type {string}\n */\n this.cacheName = cacheNames.getRuntimeName(options.cacheName);\n /**\n * The list\n * [Plugins]{@link https://developers.google.com/web/tools/workbox/guides/using-plugins}\n * used by this strategy.\n *\n * @type {Array}\n */\n this.plugins = options.plugins || [];\n /**\n * Values passed along to the\n * [`init`]{@link https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters}\n * of all fetch() requests made by this strategy.\n *\n * @type {Object}\n */\n this.fetchOptions = options.fetchOptions;\n /**\n * The\n * [`CacheQueryOptions`]{@link https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n * for any `cache.match()` or `cache.put()` calls made by this strategy.\n *\n * @type {Object}\n */\n this.matchOptions = options.matchOptions;\n }\n /**\n * Perform a request strategy and returns a `Promise` that will resolve with\n * a `Response`, invoking all relevant plugin callbacks.\n *\n * When a strategy instance is registered with a Workbox\n * {@link workbox-routing.Route}, this method is automatically\n * called when the route matches.\n *\n * Alternatively, this method can be used in a standalone `FetchEvent`\n * listener by passing it to `event.respondWith()`.\n *\n * @param {FetchEvent|Object} options A `FetchEvent` or an object with the\n * properties listed below.\n * @param {Request|string} options.request A request to run this strategy for.\n * @param {ExtendableEvent} options.event The event associated with the\n * request.\n * @param {URL} [options.url]\n * @param {*} [options.params]\n */\n handle(options) {\n const [responseDone] = this.handleAll(options);\n return responseDone;\n }\n /**\n * Similar to {@link workbox-strategies.Strategy~handle}, but\n * instead of just returning a `Promise` that resolves to a `Response` it\n * it will return an tuple of `[response, done]` promises, where the former\n * (`response`) is equivalent to what `handle()` returns, and the latter is a\n * Promise that will resolve once any promises that were added to\n * `event.waitUntil()` as part of performing the strategy have completed.\n *\n * You can await the `done` promise to ensure any extra work performed by\n * the strategy (usually caching responses) completes successfully.\n *\n * @param {FetchEvent|Object} options A `FetchEvent` or an object with the\n * properties listed below.\n * @param {Request|string} options.request A request to run this strategy for.\n * @param {ExtendableEvent} options.event The event associated with the\n * request.\n * @param {URL} [options.url]\n * @param {*} [options.params]\n * @return {Array} A tuple of [response, done]\n * promises that can be used to determine when the response resolves as\n * well as when the handler has completed all its work.\n */\n handleAll(options) {\n // Allow for flexible options to be passed.\n if (options instanceof FetchEvent) {\n options = {\n event: options,\n request: options.request,\n };\n }\n const event = options.event;\n const request = typeof options.request === 'string'\n ? new Request(options.request)\n : options.request;\n const params = 'params' in options ? options.params : undefined;\n const handler = new StrategyHandler(this, { event, request, params });\n const responseDone = this._getResponse(handler, request, event);\n const handlerDone = this._awaitComplete(responseDone, handler, request, event);\n // Return an array of promises, suitable for use with Promise.all().\n return [responseDone, handlerDone];\n }\n async _getResponse(handler, request, event) {\n await handler.runCallbacks('handlerWillStart', { event, request });\n let response = undefined;\n try {\n response = await this._handle(request, handler);\n // The \"official\" Strategy subclasses all throw this error automatically,\n // but in case a third-party Strategy doesn't, ensure that we have a\n // consistent failure when there's no response or an error response.\n if (!response || response.type === 'error') {\n throw new WorkboxError('no-response', { url: request.url });\n }\n }\n catch (error) {\n if (error instanceof Error) {\n for (const callback of handler.iterateCallbacks('handlerDidError')) {\n response = await callback({ error, event, request });\n if (response) {\n break;\n }\n }\n }\n if (!response) {\n throw error;\n }\n else if (process.env.NODE_ENV !== 'production') {\n logger.log(`While responding to '${getFriendlyURL(request.url)}', ` +\n `an ${error instanceof Error ? error.toString() : ''} error occurred. Using a fallback response provided by ` +\n `a handlerDidError plugin.`);\n }\n }\n for (const callback of handler.iterateCallbacks('handlerWillRespond')) {\n response = await callback({ event, request, response });\n }\n return response;\n }\n async _awaitComplete(responseDone, handler, request, event) {\n let response;\n let error;\n try {\n response = await responseDone;\n }\n catch (error) {\n // Ignore errors, as response errors should be caught via the `response`\n // promise above. The `done` promise will only throw for errors in\n // promises passed to `handler.waitUntil()`.\n }\n try {\n await handler.runCallbacks('handlerDidRespond', {\n event,\n request,\n response,\n });\n await handler.doneWaiting();\n }\n catch (waitUntilError) {\n if (waitUntilError instanceof Error) {\n error = waitUntilError;\n }\n }\n await handler.runCallbacks('handlerDidComplete', {\n event,\n request,\n response,\n error: error,\n });\n handler.destroy();\n if (error) {\n throw error;\n }\n }\n}\nexport { Strategy };\n/**\n * Classes extending the `Strategy` based class should implement this method,\n * and leverage the {@link workbox-strategies.StrategyHandler}\n * arg to perform all fetching and cache logic, which will ensure all relevant\n * cache, cache options, fetch options and plugins are used (per the current\n * strategy instance).\n *\n * @name _handle\n * @instance\n * @abstract\n * @function\n * @param {Request} request\n * @param {workbox-strategies.StrategyHandler} handler\n * @return {Promise}\n *\n * @memberof workbox-strategies.Strategy\n */\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { copyResponse } from 'workbox-core/copyResponse.js';\nimport { cacheNames } from 'workbox-core/_private/cacheNames.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport { Strategy } from 'workbox-strategies/Strategy.js';\nimport './_version.js';\n/**\n * A {@link workbox-strategies.Strategy} implementation\n * specifically designed to work with\n * {@link workbox-precaching.PrecacheController}\n * to both cache and fetch precached assets.\n *\n * Note: an instance of this class is created automatically when creating a\n * `PrecacheController`; it's generally not necessary to create this yourself.\n *\n * @extends workbox-strategies.Strategy\n * @memberof workbox-precaching\n */\nclass PrecacheStrategy extends Strategy {\n /**\n *\n * @param {Object} [options]\n * @param {string} [options.cacheName] Cache name to store and retrieve\n * requests. Defaults to the cache names provided by\n * {@link workbox-core.cacheNames}.\n * @param {Array} [options.plugins] {@link https://developers.google.com/web/tools/workbox/guides/using-plugins|Plugins}\n * to use in conjunction with this caching strategy.\n * @param {Object} [options.fetchOptions] Values passed along to the\n * {@link https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters|init}\n * of all fetch() requests made by this strategy.\n * @param {Object} [options.matchOptions] The\n * {@link https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions|CacheQueryOptions}\n * for any `cache.match()` or `cache.put()` calls made by this strategy.\n * @param {boolean} [options.fallbackToNetwork=true] Whether to attempt to\n * get the response from the network if there's a precache miss.\n */\n constructor(options = {}) {\n options.cacheName = cacheNames.getPrecacheName(options.cacheName);\n super(options);\n this._fallbackToNetwork =\n options.fallbackToNetwork === false ? false : true;\n // Redirected responses cannot be used to satisfy a navigation request, so\n // any redirected response must be \"copied\" rather than cloned, so the new\n // response doesn't contain the `redirected` flag. See:\n // https://bugs.chromium.org/p/chromium/issues/detail?id=669363&desc=2#c1\n this.plugins.push(PrecacheStrategy.copyRedirectedCacheableResponsesPlugin);\n }\n /**\n * @private\n * @param {Request|string} request A request to run this strategy for.\n * @param {workbox-strategies.StrategyHandler} handler The event that\n * triggered the request.\n * @return {Promise}\n */\n async _handle(request, handler) {\n const response = await handler.cacheMatch(request);\n if (response) {\n return response;\n }\n // If this is an `install` event for an entry that isn't already cached,\n // then populate the cache.\n if (handler.event && handler.event.type === 'install') {\n return await this._handleInstall(request, handler);\n }\n // Getting here means something went wrong. An entry that should have been\n // precached wasn't found in the cache.\n return await this._handleFetch(request, handler);\n }\n async _handleFetch(request, handler) {\n let response;\n const params = (handler.params || {});\n // Fall back to the network if we're configured to do so.\n if (this._fallbackToNetwork) {\n if (process.env.NODE_ENV !== 'production') {\n logger.warn(`The precached response for ` +\n `${getFriendlyURL(request.url)} in ${this.cacheName} was not ` +\n `found. Falling back to the network.`);\n }\n const integrityInManifest = params.integrity;\n const integrityInRequest = request.integrity;\n const noIntegrityConflict = !integrityInRequest || integrityInRequest === integrityInManifest;\n // Do not add integrity if the original request is no-cors\n // See https://github.com/GoogleChrome/workbox/issues/3096\n response = await handler.fetch(new Request(request, {\n integrity: request.mode !== 'no-cors'\n ? integrityInRequest || integrityInManifest\n : undefined,\n }));\n // It's only \"safe\" to repair the cache if we're using SRI to guarantee\n // that the response matches the precache manifest's expectations,\n // and there's either a) no integrity property in the incoming request\n // or b) there is an integrity, and it matches the precache manifest.\n // See https://github.com/GoogleChrome/workbox/issues/2858\n // Also if the original request users no-cors we don't use integrity.\n // See https://github.com/GoogleChrome/workbox/issues/3096\n if (integrityInManifest &&\n noIntegrityConflict &&\n request.mode !== 'no-cors') {\n this._useDefaultCacheabilityPluginIfNeeded();\n const wasCached = await handler.cachePut(request, response.clone());\n if (process.env.NODE_ENV !== 'production') {\n if (wasCached) {\n logger.log(`A response for ${getFriendlyURL(request.url)} ` +\n `was used to \"repair\" the precache.`);\n }\n }\n }\n }\n else {\n // This shouldn't normally happen, but there are edge cases:\n // https://github.com/GoogleChrome/workbox/issues/1441\n throw new WorkboxError('missing-precache-entry', {\n cacheName: this.cacheName,\n url: request.url,\n });\n }\n if (process.env.NODE_ENV !== 'production') {\n const cacheKey = params.cacheKey || (await handler.getCacheKey(request, 'read'));\n // Workbox is going to handle the route.\n // print the routing details to the console.\n logger.groupCollapsed(`Precaching is responding to: ` + getFriendlyURL(request.url));\n logger.log(`Serving the precached url: ${getFriendlyURL(cacheKey instanceof Request ? cacheKey.url : cacheKey)}`);\n logger.groupCollapsed(`View request details here.`);\n logger.log(request);\n logger.groupEnd();\n logger.groupCollapsed(`View response details here.`);\n logger.log(response);\n logger.groupEnd();\n logger.groupEnd();\n }\n return response;\n }\n async _handleInstall(request, handler) {\n this._useDefaultCacheabilityPluginIfNeeded();\n const response = await handler.fetch(request);\n // Make sure we defer cachePut() until after we know the response\n // should be cached; see https://github.com/GoogleChrome/workbox/issues/2737\n const wasCached = await handler.cachePut(request, response.clone());\n if (!wasCached) {\n // Throwing here will lead to the `install` handler failing, which\n // we want to do if *any* of the responses aren't safe to cache.\n throw new WorkboxError('bad-precaching-response', {\n url: request.url,\n status: response.status,\n });\n }\n return response;\n }\n /**\n * This method is complex, as there a number of things to account for:\n *\n * The `plugins` array can be set at construction, and/or it might be added to\n * to at any time before the strategy is used.\n *\n * At the time the strategy is used (i.e. during an `install` event), there\n * needs to be at least one plugin that implements `cacheWillUpdate` in the\n * array, other than `copyRedirectedCacheableResponsesPlugin`.\n *\n * - If this method is called and there are no suitable `cacheWillUpdate`\n * plugins, we need to add `defaultPrecacheCacheabilityPlugin`.\n *\n * - If this method is called and there is exactly one `cacheWillUpdate`, then\n * we don't have to do anything (this might be a previously added\n * `defaultPrecacheCacheabilityPlugin`, or it might be a custom plugin).\n *\n * - If this method is called and there is more than one `cacheWillUpdate`,\n * then we need to check if one is `defaultPrecacheCacheabilityPlugin`. If so,\n * we need to remove it. (This situation is unlikely, but it could happen if\n * the strategy is used multiple times, the first without a `cacheWillUpdate`,\n * and then later on after manually adding a custom `cacheWillUpdate`.)\n *\n * See https://github.com/GoogleChrome/workbox/issues/2737 for more context.\n *\n * @private\n */\n _useDefaultCacheabilityPluginIfNeeded() {\n let defaultPluginIndex = null;\n let cacheWillUpdatePluginCount = 0;\n for (const [index, plugin] of this.plugins.entries()) {\n // Ignore the copy redirected plugin when determining what to do.\n if (plugin === PrecacheStrategy.copyRedirectedCacheableResponsesPlugin) {\n continue;\n }\n // Save the default plugin's index, in case it needs to be removed.\n if (plugin === PrecacheStrategy.defaultPrecacheCacheabilityPlugin) {\n defaultPluginIndex = index;\n }\n if (plugin.cacheWillUpdate) {\n cacheWillUpdatePluginCount++;\n }\n }\n if (cacheWillUpdatePluginCount === 0) {\n this.plugins.push(PrecacheStrategy.defaultPrecacheCacheabilityPlugin);\n }\n else if (cacheWillUpdatePluginCount > 1 && defaultPluginIndex !== null) {\n // Only remove the default plugin; multiple custom plugins are allowed.\n this.plugins.splice(defaultPluginIndex, 1);\n }\n // Nothing needs to be done if cacheWillUpdatePluginCount is 1\n }\n}\nPrecacheStrategy.defaultPrecacheCacheabilityPlugin = {\n async cacheWillUpdate({ response }) {\n if (!response || response.status >= 400) {\n return null;\n }\n return response;\n },\n};\nPrecacheStrategy.copyRedirectedCacheableResponsesPlugin = {\n async cacheWillUpdate({ response }) {\n return response.redirected ? await copyResponse(response) : response;\n },\n};\nexport { PrecacheStrategy };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { cacheNames } from 'workbox-core/_private/cacheNames.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport { waitUntil } from 'workbox-core/_private/waitUntil.js';\nimport { createCacheKey } from './utils/createCacheKey.js';\nimport { PrecacheInstallReportPlugin } from './utils/PrecacheInstallReportPlugin.js';\nimport { PrecacheCacheKeyPlugin } from './utils/PrecacheCacheKeyPlugin.js';\nimport { printCleanupDetails } from './utils/printCleanupDetails.js';\nimport { printInstallDetails } from './utils/printInstallDetails.js';\nimport { PrecacheStrategy } from './PrecacheStrategy.js';\nimport './_version.js';\n/**\n * Performs efficient precaching of assets.\n *\n * @memberof workbox-precaching\n */\nclass PrecacheController {\n /**\n * Create a new PrecacheController.\n *\n * @param {Object} [options]\n * @param {string} [options.cacheName] The cache to use for precaching.\n * @param {string} [options.plugins] Plugins to use when precaching as well\n * as responding to fetch events for precached assets.\n * @param {boolean} [options.fallbackToNetwork=true] Whether to attempt to\n * get the response from the network if there's a precache miss.\n */\n constructor({ cacheName, plugins = [], fallbackToNetwork = true, } = {}) {\n this._urlsToCacheKeys = new Map();\n this._urlsToCacheModes = new Map();\n this._cacheKeysToIntegrities = new Map();\n this._strategy = new PrecacheStrategy({\n cacheName: cacheNames.getPrecacheName(cacheName),\n plugins: [\n ...plugins,\n new PrecacheCacheKeyPlugin({ precacheController: this }),\n ],\n fallbackToNetwork,\n });\n // Bind the install and activate methods to the instance.\n this.install = this.install.bind(this);\n this.activate = this.activate.bind(this);\n }\n /**\n * @type {workbox-precaching.PrecacheStrategy} The strategy created by this controller and\n * used to cache assets and respond to fetch events.\n */\n get strategy() {\n return this._strategy;\n }\n /**\n * Adds items to the precache list, removing any duplicates and\n * stores the files in the\n * {@link workbox-core.cacheNames|\"precache cache\"} when the service\n * worker installs.\n *\n * This method can be called multiple times.\n *\n * @param {Array} [entries=[]] Array of entries to precache.\n */\n precache(entries) {\n this.addToCacheList(entries);\n if (!this._installAndActiveListenersAdded) {\n self.addEventListener('install', this.install);\n self.addEventListener('activate', this.activate);\n this._installAndActiveListenersAdded = true;\n }\n }\n /**\n * This method will add items to the precache list, removing duplicates\n * and ensuring the information is valid.\n *\n * @param {Array} entries\n * Array of entries to precache.\n */\n addToCacheList(entries) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isArray(entries, {\n moduleName: 'workbox-precaching',\n className: 'PrecacheController',\n funcName: 'addToCacheList',\n paramName: 'entries',\n });\n }\n const urlsToWarnAbout = [];\n for (const entry of entries) {\n // See https://github.com/GoogleChrome/workbox/issues/2259\n if (typeof entry === 'string') {\n urlsToWarnAbout.push(entry);\n }\n else if (entry && entry.revision === undefined) {\n urlsToWarnAbout.push(entry.url);\n }\n const { cacheKey, url } = createCacheKey(entry);\n const cacheMode = typeof entry !== 'string' && entry.revision ? 'reload' : 'default';\n if (this._urlsToCacheKeys.has(url) &&\n this._urlsToCacheKeys.get(url) !== cacheKey) {\n throw new WorkboxError('add-to-cache-list-conflicting-entries', {\n firstEntry: this._urlsToCacheKeys.get(url),\n secondEntry: cacheKey,\n });\n }\n if (typeof entry !== 'string' && entry.integrity) {\n if (this._cacheKeysToIntegrities.has(cacheKey) &&\n this._cacheKeysToIntegrities.get(cacheKey) !== entry.integrity) {\n throw new WorkboxError('add-to-cache-list-conflicting-integrities', {\n url,\n });\n }\n this._cacheKeysToIntegrities.set(cacheKey, entry.integrity);\n }\n this._urlsToCacheKeys.set(url, cacheKey);\n this._urlsToCacheModes.set(url, cacheMode);\n if (urlsToWarnAbout.length > 0) {\n const warningMessage = `Workbox is precaching URLs without revision ` +\n `info: ${urlsToWarnAbout.join(', ')}\\nThis is generally NOT safe. ` +\n `Learn more at https://bit.ly/wb-precache`;\n if (process.env.NODE_ENV === 'production') {\n // Use console directly to display this warning without bloating\n // bundle sizes by pulling in all of the logger codebase in prod.\n console.warn(warningMessage);\n }\n else {\n logger.warn(warningMessage);\n }\n }\n }\n }\n /**\n * Precaches new and updated assets. Call this method from the service worker\n * install event.\n *\n * Note: this method calls `event.waitUntil()` for you, so you do not need\n * to call it yourself in your event handlers.\n *\n * @param {ExtendableEvent} event\n * @return {Promise}\n */\n install(event) {\n // waitUntil returns Promise\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return waitUntil(event, async () => {\n const installReportPlugin = new PrecacheInstallReportPlugin();\n this.strategy.plugins.push(installReportPlugin);\n // Cache entries one at a time.\n // See https://github.com/GoogleChrome/workbox/issues/2528\n for (const [url, cacheKey] of this._urlsToCacheKeys) {\n const integrity = this._cacheKeysToIntegrities.get(cacheKey);\n const cacheMode = this._urlsToCacheModes.get(url);\n const request = new Request(url, {\n integrity,\n cache: cacheMode,\n credentials: 'same-origin',\n });\n await Promise.all(this.strategy.handleAll({\n params: { cacheKey },\n request,\n event,\n }));\n }\n const { updatedURLs, notUpdatedURLs } = installReportPlugin;\n if (process.env.NODE_ENV !== 'production') {\n printInstallDetails(updatedURLs, notUpdatedURLs);\n }\n return { updatedURLs, notUpdatedURLs };\n });\n }\n /**\n * Deletes assets that are no longer present in the current precache manifest.\n * Call this method from the service worker activate event.\n *\n * Note: this method calls `event.waitUntil()` for you, so you do not need\n * to call it yourself in your event handlers.\n *\n * @param {ExtendableEvent} event\n * @return {Promise}\n */\n activate(event) {\n // waitUntil returns Promise\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return waitUntil(event, async () => {\n const cache = await self.caches.open(this.strategy.cacheName);\n const currentlyCachedRequests = await cache.keys();\n const expectedCacheKeys = new Set(this._urlsToCacheKeys.values());\n const deletedURLs = [];\n for (const request of currentlyCachedRequests) {\n if (!expectedCacheKeys.has(request.url)) {\n await cache.delete(request);\n deletedURLs.push(request.url);\n }\n }\n if (process.env.NODE_ENV !== 'production') {\n printCleanupDetails(deletedURLs);\n }\n return { deletedURLs };\n });\n }\n /**\n * Returns a mapping of a precached URL to the corresponding cache key, taking\n * into account the revision information for the URL.\n *\n * @return {Map} A URL to cache key mapping.\n */\n getURLsToCacheKeys() {\n return this._urlsToCacheKeys;\n }\n /**\n * Returns a list of all the URLs that have been precached by the current\n * service worker.\n *\n * @return {Array} The precached URLs.\n */\n getCachedURLs() {\n return [...this._urlsToCacheKeys.keys()];\n }\n /**\n * Returns the cache key used for storing a given URL. If that URL is\n * unversioned, like `/index.html', then the cache key will be the original\n * URL with a search parameter appended to it.\n *\n * @param {string} url A URL whose cache key you want to look up.\n * @return {string} The versioned URL that corresponds to a cache key\n * for the original URL, or undefined if that URL isn't precached.\n */\n getCacheKeyForURL(url) {\n const urlObject = new URL(url, location.href);\n return this._urlsToCacheKeys.get(urlObject.href);\n }\n /**\n * @param {string} url A cache key whose SRI you want to look up.\n * @return {string} The subresource integrity associated with the cache key,\n * or undefined if it's not set.\n */\n getIntegrityForCacheKey(cacheKey) {\n return this._cacheKeysToIntegrities.get(cacheKey);\n }\n /**\n * This acts as a drop-in replacement for\n * [`cache.match()`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n * with the following differences:\n *\n * - It knows what the name of the precache is, and only checks in that cache.\n * - It allows you to pass in an \"original\" URL without versioning parameters,\n * and it will automatically look up the correct cache key for the currently\n * active revision of that URL.\n *\n * E.g., `matchPrecache('index.html')` will find the correct precached\n * response for the currently active service worker, even if the actual cache\n * key is `'/index.html?__WB_REVISION__=1234abcd'`.\n *\n * @param {string|Request} request The key (without revisioning parameters)\n * to look up in the precache.\n * @return {Promise}\n */\n async matchPrecache(request) {\n const url = request instanceof Request ? request.url : request;\n const cacheKey = this.getCacheKeyForURL(url);\n if (cacheKey) {\n const cache = await self.caches.open(this.strategy.cacheName);\n return cache.match(cacheKey);\n }\n return undefined;\n }\n /**\n * Returns a function that looks up `url` in the precache (taking into\n * account revision information), and returns the corresponding `Response`.\n *\n * @param {string} url The precached URL which will be used to lookup the\n * `Response`.\n * @return {workbox-routing~handlerCallback}\n */\n createHandlerBoundToURL(url) {\n const cacheKey = this.getCacheKeyForURL(url);\n if (!cacheKey) {\n throw new WorkboxError('non-precached-url', { url });\n }\n return (options) => {\n options.request = new Request(url);\n options.params = Object.assign({ cacheKey }, options.params);\n return this.strategy.handle(options);\n };\n }\n}\nexport { PrecacheController };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { PrecacheController } from '../PrecacheController.js';\nimport '../_version.js';\nlet precacheController;\n/**\n * @return {PrecacheController}\n * @private\n */\nexport const getOrCreatePrecacheController = () => {\n if (!precacheController) {\n precacheController = new PrecacheController();\n }\n return precacheController;\n};\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport { Route } from 'workbox-routing/Route.js';\nimport { generateURLVariations } from './utils/generateURLVariations.js';\nimport './_version.js';\n/**\n * A subclass of {@link workbox-routing.Route} that takes a\n * {@link workbox-precaching.PrecacheController}\n * instance and uses it to match incoming requests and handle fetching\n * responses from the precache.\n *\n * @memberof workbox-precaching\n * @extends workbox-routing.Route\n */\nclass PrecacheRoute extends Route {\n /**\n * @param {PrecacheController} precacheController A `PrecacheController`\n * instance used to both match requests and respond to fetch events.\n * @param {Object} [options] Options to control how requests are matched\n * against the list of precached URLs.\n * @param {string} [options.directoryIndex=index.html] The `directoryIndex` will\n * check cache entries for a URLs ending with '/' to see if there is a hit when\n * appending the `directoryIndex` value.\n * @param {Array} [options.ignoreURLParametersMatching=[/^utm_/, /^fbclid$/]] An\n * array of regex's to remove search params when looking for a cache match.\n * @param {boolean} [options.cleanURLs=true] The `cleanURLs` option will\n * check the cache for the URL with a `.html` added to the end of the end.\n * @param {workbox-precaching~urlManipulation} [options.urlManipulation]\n * This is a function that should take a URL and return an array of\n * alternative URLs that should be checked for precache matches.\n */\n constructor(precacheController, options) {\n const match = ({ request, }) => {\n const urlsToCacheKeys = precacheController.getURLsToCacheKeys();\n for (const possibleURL of generateURLVariations(request.url, options)) {\n const cacheKey = urlsToCacheKeys.get(possibleURL);\n if (cacheKey) {\n const integrity = precacheController.getIntegrityForCacheKey(cacheKey);\n return { cacheKey, integrity };\n }\n }\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Precaching did not find a match for ` + getFriendlyURL(request.url));\n }\n return;\n };\n super(match, precacheController.strategy);\n }\n}\nexport { PrecacheRoute };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { removeIgnoredSearchParams } from './removeIgnoredSearchParams.js';\nimport '../_version.js';\n/**\n * Generator function that yields possible variations on the original URL to\n * check, one at a time.\n *\n * @param {string} url\n * @param {Object} options\n *\n * @private\n * @memberof workbox-precaching\n */\nexport function* generateURLVariations(url, { ignoreURLParametersMatching = [/^utm_/, /^fbclid$/], directoryIndex = 'index.html', cleanURLs = true, urlManipulation, } = {}) {\n const urlObject = new URL(url, location.href);\n urlObject.hash = '';\n yield urlObject.href;\n const urlWithoutIgnoredParams = removeIgnoredSearchParams(urlObject, ignoreURLParametersMatching);\n yield urlWithoutIgnoredParams.href;\n if (directoryIndex && urlWithoutIgnoredParams.pathname.endsWith('/')) {\n const directoryURL = new URL(urlWithoutIgnoredParams.href);\n directoryURL.pathname += directoryIndex;\n yield directoryURL.href;\n }\n if (cleanURLs) {\n const cleanURL = new URL(urlWithoutIgnoredParams.href);\n cleanURL.pathname += '.html';\n yield cleanURL.href;\n }\n if (urlManipulation) {\n const additionalURLs = urlManipulation({ url: urlObject });\n for (const urlToAttempt of additionalURLs) {\n yield urlToAttempt.href;\n }\n }\n}\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * Removes any URL search parameters that should be ignored.\n *\n * @param {URL} urlObject The original URL.\n * @param {Array} ignoreURLParametersMatching RegExps to test against\n * each search parameter name. Matches mean that the search parameter should be\n * ignored.\n * @return {URL} The URL with any ignored search parameters removed.\n *\n * @private\n * @memberof workbox-precaching\n */\nexport function removeIgnoredSearchParams(urlObject, ignoreURLParametersMatching = []) {\n // Convert the iterable into an array at the start of the loop to make sure\n // deletion doesn't mess up iteration.\n for (const paramName of [...urlObject.searchParams.keys()]) {\n if (ignoreURLParametersMatching.some((regExp) => regExp.test(paramName))) {\n urlObject.searchParams.delete(paramName);\n }\n }\n return urlObject;\n}\n","/*\n Copyright 2019 Google LLC\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { registerRoute } from 'workbox-routing/registerRoute.js';\nimport { getOrCreatePrecacheController } from './utils/getOrCreatePrecacheController.js';\nimport { PrecacheRoute } from './PrecacheRoute.js';\nimport './_version.js';\n/**\n * Add a `fetch` listener to the service worker that will\n * respond to\n * [network requests]{@link https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers#Custom_responses_to_requests}\n * with precached assets.\n *\n * Requests for assets that aren't precached, the `FetchEvent` will not be\n * responded to, allowing the event to fall through to other `fetch` event\n * listeners.\n *\n * @param {Object} [options] See the {@link workbox-precaching.PrecacheRoute}\n * options.\n *\n * @memberof workbox-precaching\n */\nfunction addRoute(options) {\n const precacheController = getOrCreatePrecacheController();\n const precacheRoute = new PrecacheRoute(precacheController, options);\n registerRoute(precacheRoute);\n}\nexport { addRoute };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport { Route } from './Route.js';\nimport { RegExpRoute } from './RegExpRoute.js';\nimport { getOrCreateDefaultRouter } from './utils/getOrCreateDefaultRouter.js';\nimport './_version.js';\n/**\n * Easily register a RegExp, string, or function with a caching\n * strategy to a singleton Router instance.\n *\n * This method will generate a Route for you if needed and\n * call {@link workbox-routing.Router#registerRoute}.\n *\n * @param {RegExp|string|workbox-routing.Route~matchCallback|workbox-routing.Route} capture\n * If the capture param is a `Route`, all other arguments will be ignored.\n * @param {workbox-routing~handlerCallback} [handler] A callback\n * function that returns a Promise resulting in a Response. This parameter\n * is required if `capture` is not a `Route` object.\n * @param {string} [method='GET'] The HTTP method to match the Route\n * against.\n * @return {workbox-routing.Route} The generated `Route`.\n *\n * @memberof workbox-routing\n */\nfunction registerRoute(capture, handler, method) {\n let route;\n if (typeof capture === 'string') {\n const captureUrl = new URL(capture, location.href);\n if (process.env.NODE_ENV !== 'production') {\n if (!(capture.startsWith('/') || capture.startsWith('http'))) {\n throw new WorkboxError('invalid-string', {\n moduleName: 'workbox-routing',\n funcName: 'registerRoute',\n paramName: 'capture',\n });\n }\n // We want to check if Express-style wildcards are in the pathname only.\n // TODO: Remove this log message in v4.\n const valueToCheck = capture.startsWith('http')\n ? captureUrl.pathname\n : capture;\n // See https://github.com/pillarjs/path-to-regexp#parameters\n const wildcards = '[*:?+]';\n if (new RegExp(`${wildcards}`).exec(valueToCheck)) {\n logger.debug(`The '$capture' parameter contains an Express-style wildcard ` +\n `character (${wildcards}). Strings are now always interpreted as ` +\n `exact matches; use a RegExp for partial or wildcard matches.`);\n }\n }\n const matchCallback = ({ url }) => {\n if (process.env.NODE_ENV !== 'production') {\n if (url.pathname === captureUrl.pathname &&\n url.origin !== captureUrl.origin) {\n logger.debug(`${capture} only partially matches the cross-origin URL ` +\n `${url.toString()}. This route will only handle cross-origin requests ` +\n `if they match the entire URL.`);\n }\n }\n return url.href === captureUrl.href;\n };\n // If `capture` is a string then `handler` and `method` must be present.\n route = new Route(matchCallback, handler, method);\n }\n else if (capture instanceof RegExp) {\n // If `capture` is a `RegExp` then `handler` and `method` must be present.\n route = new RegExpRoute(capture, handler, method);\n }\n else if (typeof capture === 'function') {\n // If `capture` is a function then `handler` and `method` must be present.\n route = new Route(capture, handler, method);\n }\n else if (capture instanceof Route) {\n route = capture;\n }\n else {\n throw new WorkboxError('unsupported-route-type', {\n moduleName: 'workbox-routing',\n funcName: 'registerRoute',\n paramName: 'capture',\n });\n }\n const defaultRouter = getOrCreateDefaultRouter();\n defaultRouter.registerRoute(route);\n return route;\n}\nexport { registerRoute };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { cacheNames } from 'workbox-core/_private/cacheNames.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { deleteOutdatedCaches } from './utils/deleteOutdatedCaches.js';\nimport './_version.js';\n/**\n * Adds an `activate` event listener which will clean up incompatible\n * precaches that were created by older versions of Workbox.\n *\n * @memberof workbox-precaching\n */\nfunction cleanupOutdatedCaches() {\n // See https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n self.addEventListener('activate', ((event) => {\n const cacheName = cacheNames.getPrecacheName();\n event.waitUntil(deleteOutdatedCaches(cacheName).then((cachesDeleted) => {\n if (process.env.NODE_ENV !== 'production') {\n if (cachesDeleted.length > 0) {\n logger.log(`The following out-of-date precaches were cleaned up ` +\n `automatically:`, cachesDeleted);\n }\n }\n }));\n }));\n}\nexport { cleanupOutdatedCaches };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nconst SUBSTRING_TO_FIND = '-precache-';\n/**\n * Cleans up incompatible precaches that were created by older versions of\n * Workbox, by a service worker registered under the current scope.\n *\n * This is meant to be called as part of the `activate` event.\n *\n * This should be safe to use as long as you don't include `substringToFind`\n * (defaulting to `-precache-`) in your non-precache cache names.\n *\n * @param {string} currentPrecacheName The cache name currently in use for\n * precaching. This cache won't be deleted.\n * @param {string} [substringToFind='-precache-'] Cache names which include this\n * substring will be deleted (excluding `currentPrecacheName`).\n * @return {Array} A list of all the cache names that were deleted.\n *\n * @private\n * @memberof workbox-precaching\n */\nconst deleteOutdatedCaches = async (currentPrecacheName, substringToFind = SUBSTRING_TO_FIND) => {\n const cacheNames = await self.caches.keys();\n const cacheNamesToDelete = cacheNames.filter((cacheName) => {\n return (cacheName.includes(substringToFind) &&\n cacheName.includes(self.registration.scope) &&\n cacheName !== currentPrecacheName);\n });\n await Promise.all(cacheNamesToDelete.map((cacheName) => self.caches.delete(cacheName)));\n return cacheNamesToDelete;\n};\nexport { deleteOutdatedCaches };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport './_version.js';\n/**\n * Claim any currently available clients once the service worker\n * becomes active. This is normally used in conjunction with `skipWaiting()`.\n *\n * @memberof workbox-core\n */\nfunction clientsClaim() {\n self.addEventListener('activate', () => self.clients.claim());\n}\nexport { clientsClaim };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { addRoute } from './addRoute.js';\nimport { precache } from './precache.js';\nimport './_version.js';\n/**\n * This method will add entries to the precache list and add a route to\n * respond to fetch events.\n *\n * This is a convenience method that will call\n * {@link workbox-precaching.precache} and\n * {@link workbox-precaching.addRoute} in a single call.\n *\n * @param {Array} entries Array of entries to precache.\n * @param {Object} [options] See the\n * {@link workbox-precaching.PrecacheRoute} options.\n *\n * @memberof workbox-precaching\n */\nfunction precacheAndRoute(entries, options) {\n precache(entries);\n addRoute(options);\n}\nexport { precacheAndRoute };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { getOrCreatePrecacheController } from './utils/getOrCreatePrecacheController.js';\nimport './_version.js';\n/**\n * Adds items to the precache list, removing any duplicates and\n * stores the files in the\n * {@link workbox-core.cacheNames|\"precache cache\"} when the service\n * worker installs.\n *\n * This method can be called multiple times.\n *\n * Please note: This method **will not** serve any of the cached files for you.\n * It only precaches files. To respond to a network request you call\n * {@link workbox-precaching.addRoute}.\n *\n * If you have a single array of files to precache, you can just call\n * {@link workbox-precaching.precacheAndRoute}.\n *\n * @param {Array} [entries=[]] Array of entries to precache.\n *\n * @memberof workbox-precaching\n */\nfunction precache(entries) {\n const precacheController = getOrCreatePrecacheController();\n precacheController.precache(entries);\n}\nexport { precache };\n"],"names":["self","_","e","messageGenerator","fallback","code","args","msg","length","JSON","stringify","WorkboxError","Error","constructor","errorCode","details","super","this","name","normalizeHandler","handler","handle","Route","match","method","setCatchHandler","catchHandler","RegExpRoute","regExp","url","result","exec","href","origin","location","index","slice","Router","_routes","Map","_defaultHandlerMap","routes","addFetchListener","addEventListener","event","request","responsePromise","handleRequest","respondWith","addCacheListener","data","type","payload","requestPromises","Promise","all","urlsToCache","map","entry","Request","waitUntil","ports","then","postMessage","URL","protocol","startsWith","sameOrigin","params","route","findMatchingRoute","has","get","err","reject","_catchHandler","catch","async","catchErr","matchResult","Array","isArray","Object","keys","undefined","setDefaultHandler","set","registerRoute","push","unregisterRoute","routeIndex","indexOf","splice","defaultRouter","getOrCreateDefaultRouter","_cacheNameDetails","googleAnalytics","precache","prefix","runtime","suffix","registration","scope","_createCacheName","cacheName","filter","value","join","cacheNames","userCacheName","asyncFn","returnPromise","createCacheKey","urlObject","cacheKey","revision","cacheKeyURL","originalURL","searchParams","PrecacheInstallReportPlugin","updatedURLs","notUpdatedURLs","handlerWillStart","state","originalRequest","cachedResponseWillBeUsed","cachedResponse","PrecacheCacheKeyPlugin","precacheController","cacheKeyWillBeUsed","_precacheController","getCacheKeyForURL","headers","supportStatus","copyResponse","response","modifier","clonedResponse","clone","responseInit","Headers","status","statusText","modifiedResponseInit","body","testResponse","Response","error","canConstructResponseFromBodyStream","blob","stripParams","fullURL","ignoreParams","strippedURL","param","delete","Deferred","promise","resolve","quotaErrorCallbacks","Set","toRequest","input","StrategyHandler","strategy","options","_cacheKeys","assign","_strategy","_handlerDeferred","_extendLifetimePromises","_plugins","plugins","_pluginStateMap","plugin","fetch","mode","FetchEvent","preloadResponse","possiblePreloadResponse","hasCallback","cb","iterateCallbacks","thrownErrorMessage","message","pluginFilteredRequest","fetchResponse","fetchOptions","callback","runCallbacks","fetchAndCachePut","responseClone","cachePut","cacheMatch","key","matchOptions","effectiveRequest","getCacheKey","multiMatchOptions","caches","ms","setTimeout","String","replace","RegExp","responseToCache","_ensureResponseSafeToCache","cache","open","hasCacheUpdateCallback","oldResponse","strippedRequestURL","keysOptions","ignoreSearch","cacheKeys","cacheMatchIgnoreParams","put","executeQuotaErrorCallbacks","newResponse","statefulCallback","statefulParam","doneWaiting","shift","destroy","pluginsUsed","Strategy","responseDone","handleAll","_getResponse","_awaitComplete","_handle","waitUntilError","PrecacheStrategy","_fallbackToNetwork","fallbackToNetwork","copyRedirectedCacheableResponsesPlugin","_handleInstall","_handleFetch","integrityInManifest","integrity","integrityInRequest","noIntegrityConflict","_useDefaultCacheabilityPluginIfNeeded","defaultPluginIndex","cacheWillUpdatePluginCount","entries","defaultPrecacheCacheabilityPlugin","cacheWillUpdate","redirected","PrecacheController","_urlsToCacheKeys","_urlsToCacheModes","_cacheKeysToIntegrities","install","bind","activate","addToCacheList","_installAndActiveListenersAdded","urlsToWarnAbout","cacheMode","firstEntry","secondEntry","warningMessage","console","warn","installReportPlugin","credentials","currentlyCachedRequests","expectedCacheKeys","values","deletedURLs","getURLsToCacheKeys","getCachedURLs","getIntegrityForCacheKey","matchPrecache","createHandlerBoundToURL","getOrCreatePrecacheController","PrecacheRoute","urlsToCacheKeys","possibleURL","ignoreURLParametersMatching","directoryIndex","cleanURLs","urlManipulation","hash","urlWithoutIgnoredParams","paramName","some","test","removeIgnoredSearchParams","pathname","endsWith","directoryURL","cleanURL","additionalURLs","urlToAttempt","generateURLVariations","addRoute","capture","captureUrl","matchCallback","moduleName","funcName","currentPrecacheName","substringToFind","cacheNamesToDelete","includes","deleteOutdatedCaches","cachesDeleted","clients","claim"],"mappings":"6CAEA,IACIA,KAAK,uBAAyBC,GAClC,CACA,MAAOC,GAAG,CCEV,MCgBaC,EAdIC,CAACC,KAASC,KACvB,IAAIC,EAAMF,EAIV,OAHIC,EAAKE,OAAS,IACdD,GAAQ,OAAME,KAAKC,UAAUJ,MAE1BC,CAAG,ECId,MAAMI,UAAqBC,MASvBC,WAAAA,CAAYC,EAAWC,GAEnBC,MADgBb,EAAiBW,EAAWC,IAE5CE,KAAKC,KAAOJ,EACZG,KAAKF,QAAUA,CACnB,EC9BJ,IACIf,KAAK,0BAA4BC,GACrC,CACA,MAAOC,GAAG,CCWH,MCAMiB,EAAoBC,GACzBA,GAA8B,iBAAZA,EASXA,EAWA,CAAEC,OAAQD,GCjBzB,MAAME,EAYFT,WAAAA,CAAYU,EAAOH,EAASI,EFhBH,OE8BrBP,KAAKG,QAAUD,EAAiBC,GAChCH,KAAKM,MAAQA,EACbN,KAAKO,OAASA,CAClB,CAMAC,eAAAA,CAAgBL,GACZH,KAAKS,aAAeP,EAAiBC,EACzC,ECnCJ,MAAMO,UAAoBL,EActBT,WAAAA,CAAYe,EAAQR,EAASI,GAiCzBR,OAxBcO,EAAGM,UACb,MAAMC,EAASF,EAAOG,KAAKF,EAAIG,MAE/B,GAAKF,IAODD,EAAII,SAAWC,SAASD,QAA2B,IAAjBH,EAAOK,OAY7C,OAAOL,EAAOM,MAAM,EAAE,GAEbhB,EAASI,EAC1B,ECvCJ,MAAMa,EAIFxB,WAAAA,GACII,KAAKqB,EAAU,IAAIC,IACnBtB,KAAKuB,EAAqB,IAAID,GAClC,CAMA,UAAIE,GACA,OAAOxB,KAAKqB,CAChB,CAKAI,gBAAAA,GAEI1C,KAAK2C,iBAAiB,SAAWC,IAC7B,MAAMC,QAAEA,GAAYD,EACdE,EAAkB7B,KAAK8B,cAAc,CAAEF,UAASD,UAClDE,GACAF,EAAMI,YAAYF,EACtB,GAER,CAuBAG,gBAAAA,GAEIjD,KAAK2C,iBAAiB,WAAaC,IAG/B,GAAIA,EAAMM,MAA4B,eAApBN,EAAMM,KAAKC,KAAuB,CAEhD,MAAMC,QAAEA,GAAYR,EAAMM,KAIpBG,EAAkBC,QAAQC,IAAIH,EAAQI,YAAYC,KAAKC,IACpC,iBAAVA,IACPA,EAAQ,CAACA,IAEb,MAAMb,EAAU,IAAIc,WAAWD,GAC/B,OAAOzC,KAAK8B,cAAc,CAAEF,UAASD,SAAQ,KAKjDA,EAAMgB,UAAUP,GAEZT,EAAMiB,OAASjB,EAAMiB,MAAM,IACtBR,EAAgBS,MAAK,IAAMlB,EAAMiB,MAAM,GAAGE,aAAY,IAEnE,IAER,CAaAhB,aAAAA,EAAcF,QAAEA,EAAOD,MAAEA,IASrB,MAAMf,EAAM,IAAImC,IAAInB,EAAQhB,IAAKK,SAASF,MAC1C,IAAKH,EAAIoC,SAASC,WAAW,QAIzB,OAEJ,MAAMC,EAAatC,EAAII,SAAWC,SAASD,QACrCmC,OAAEA,EAAMC,MAAEA,GAAUpD,KAAKqD,kBAAkB,CAC7C1B,QACAC,UACAsB,aACAtC,QAEJ,IAAIT,EAAUiD,GAASA,EAAMjD,QAe7B,MAAMI,EAASqB,EAAQrB,OAQvB,IAPKJ,GAAWH,KAAKuB,EAAmB+B,IAAI/C,KAKxCJ,EAAUH,KAAKuB,EAAmBgC,IAAIhD,KAErCJ,EAMD,OAkBJ,IAAI0B,EACJ,IACIA,EAAkB1B,EAAQC,OAAO,CAAEQ,MAAKgB,UAASD,QAAOwB,UAC3D,CACD,MAAOK,GACH3B,EAAkBQ,QAAQoB,OAAOD,EACrC,CAEA,MAAM/C,EAAe2C,GAASA,EAAM3C,aAuCpC,OAtCIoB,aAA2BQ,UAC1BrC,KAAK0D,GAAiBjD,KACvBoB,EAAkBA,EAAgB8B,OAAMC,UAEpC,GAAInD,EAUA,IACI,aAAaA,EAAaL,OAAO,CAAEQ,MAAKgB,UAASD,QAAOwB,UAC3D,CACD,MAAOU,GACCA,aAAoBlE,QACpB6D,EAAMK,EAEd,CAEJ,GAAI7D,KAAK0D,EAUL,OAAO1D,KAAK0D,EAActD,OAAO,CAAEQ,MAAKgB,UAASD,UAErD,MAAM6B,CAAG,KAGV3B,CACX,CAgBAwB,iBAAAA,EAAkBzC,IAAEA,EAAGsC,WAAEA,EAAUtB,QAAEA,EAAOD,MAAEA,IAC1C,MAAMH,EAASxB,KAAKqB,EAAQkC,IAAI3B,EAAQrB,SAAW,GACnD,IAAK,MAAM6C,KAAS5B,EAAQ,CACxB,IAAI2B,EAGJ,MAAMW,EAAcV,EAAM9C,MAAM,CAAEM,MAAKsC,aAAYtB,UAASD,UAC5D,GAAImC,EA6BA,OAjBAX,EAASW,GACLC,MAAMC,QAAQb,IAA6B,IAAlBA,EAAO5D,QAI3BuE,EAAYlE,cAAgBqE,QACG,IAApCA,OAAOC,KAAKJ,GAAavE,QAIG,kBAAhBuE,KAPZX,OAASgB,GAcN,CAAEf,QAAOD,SAExB,CAEA,MAAO,EACX,CAeAiB,iBAAAA,CAAkBjE,EAASI,EJ1SF,OI2SrBP,KAAKuB,EAAmB8C,IAAI9D,EAAQL,EAAiBC,GACzD,CAQAK,eAAAA,CAAgBL,GACZH,KAAK0D,EAAgBxD,EAAiBC,EAC1C,CAMAmE,aAAAA,CAAclB,GAiCLpD,KAAKqB,EAAQiC,IAAIF,EAAM7C,SACxBP,KAAKqB,EAAQgD,IAAIjB,EAAM7C,OAAQ,IAInCP,KAAKqB,EAAQkC,IAAIH,EAAM7C,QAAQgE,KAAKnB,EACxC,CAMAoB,eAAAA,CAAgBpB,GACZ,IAAKpD,KAAKqB,EAAQiC,IAAIF,EAAM7C,QACxB,MAAM,IAAIb,EAAa,6CAA8C,CACjEa,OAAQ6C,EAAM7C,SAGtB,MAAMkE,EAAazE,KAAKqB,EAAQkC,IAAIH,EAAM7C,QAAQmE,QAAQtB,GAC1D,KAAIqB,GAAc,GAId,MAAM,IAAI/E,EAAa,yCAHvBM,KAAKqB,EAAQkC,IAAIH,EAAM7C,QAAQoE,OAAOF,EAAY,EAK1D,EC7XJ,IAAIG,EAQG,MAAMC,EAA2BA,KAC/BD,IACDA,EAAgB,IAAIxD,EAEpBwD,EAAcnD,mBACdmD,EAAc5C,oBAEX4C,GChBX,MAAME,EAAoB,CACtBC,gBAAiB,kBACjBC,SAAU,cACVC,OAAQ,UACRC,QAAS,UACTC,OAAgC,oBAAjBC,aAA+BA,aAAaC,MAAQ,IAEjEC,EAAoBC,GACf,CAACT,EAAkBG,OAAQM,EAAWT,EAAkBK,QAC1DK,QAAQC,GAAUA,GAASA,EAAMlG,OAAS,IAC1CmG,KAAK,KAODC,EAWSC,GACPA,GAAiBN,EAAiBR,EAAkBE,UAZtDW,EAiBQC,GACNA,GAAiBN,EAAiBR,EAAkBI,SC3BnE,SAASvC,EAAUhB,EAAOkE,GACtB,MAAMC,EAAgBD,IAEtB,OADAlE,EAAMgB,UAAUmD,GACTA,CACX,CClBA,IACI/G,KAAK,6BAA+BC,GACxC,CACA,MAAOC,GAAG,CCeH,SAAS8G,EAAetD,GAC3B,IAAKA,EACD,MAAM,IAAI/C,EAAa,oCAAqC,CAAE+C,UAIlE,GAAqB,iBAAVA,EAAoB,CAC3B,MAAMuD,EAAY,IAAIjD,IAAIN,EAAOxB,SAASF,MAC1C,MAAO,CACHkF,SAAUD,EAAUjF,KACpBH,IAAKoF,EAAUjF,KAEvB,CACA,MAAMmF,SAAEA,EAAQtF,IAAEA,GAAQ6B,EAC1B,IAAK7B,EACD,MAAM,IAAIlB,EAAa,oCAAqC,CAAE+C,UAIlE,IAAKyD,EAAU,CACX,MAAMF,EAAY,IAAIjD,IAAInC,EAAKK,SAASF,MACxC,MAAO,CACHkF,SAAUD,EAAUjF,KACpBH,IAAKoF,EAAUjF,KAEvB,CAGA,MAAMoF,EAAc,IAAIpD,IAAInC,EAAKK,SAASF,MACpCqF,EAAc,IAAIrD,IAAInC,EAAKK,SAASF,MAE1C,OADAoF,EAAYE,aAAahC,IAxCC,kBAwC0B6B,GAC7C,CACHD,SAAUE,EAAYpF,KACtBH,IAAKwF,EAAYrF,KAEzB,CCzCA,MAAMuF,EACF1G,WAAAA,GACII,KAAKuG,YAAc,GACnBvG,KAAKwG,eAAiB,GACtBxG,KAAKyG,iBAAmB7C,OAAShC,UAAS8E,YAElCA,IACAA,EAAMC,gBAAkB/E,EAC5B,EAEJ5B,KAAK4G,yBAA2BhD,OAASjC,QAAO+E,QAAOG,qBACnD,GAAmB,YAAflF,EAAMO,MACFwE,GACAA,EAAMC,iBACND,EAAMC,2BAA2BjE,QAAS,CAE1C,MAAM9B,EAAM8F,EAAMC,gBAAgB/F,IAC9BiG,EACA7G,KAAKwG,eAAejC,KAAK3D,GAGzBZ,KAAKuG,YAAYhC,KAAK3D,EAE9B,CAEJ,OAAOiG,CAAc,CAE7B,EC3BJ,MAAMC,EACFlH,WAAAA,EAAYmH,mBAAEA,IACV/G,KAAKgH,mBAAqBpD,OAAShC,UAASuB,aAGxC,MAAM8C,GAAY9C,aAAuC,EAASA,EAAO8C,WACrEjG,KAAKiH,EAAoBC,kBAAkBtF,EAAQhB,KAEvD,OAAOqF,EACD,IAAIvD,QAAQuD,EAAU,CAAEkB,QAASvF,EAAQuF,UACzCvF,CAAO,EAEjB5B,KAAKiH,EAAsBF,CAC/B,ECnBJ,IAAIK,ECqBJxD,eAAeyD,EAAaC,EAAUC,GAClC,IAAIvG,EAAS,KAEb,GAAIsG,EAAS1G,IAAK,CAEdI,EADoB,IAAI+B,IAAIuE,EAAS1G,KAChBI,MACzB,CACA,GAAIA,IAAWjC,KAAKkC,SAASD,OACzB,MAAM,IAAItB,EAAa,6BAA8B,CAAEsB,WAE3D,MAAMwG,EAAiBF,EAASG,QAE1BC,EAAe,CACjBP,QAAS,IAAIQ,QAAQH,EAAeL,SACpCS,OAAQJ,EAAeI,OACvBC,WAAYL,EAAeK,YAGzBC,EAAuBP,EAAWA,EAASG,GAAgBA,EAI3DK,EDjCV,WACI,QAAsB5D,IAAlBiD,EAA6B,CAC7B,MAAMY,EAAe,IAAIC,SAAS,IAClC,GAAI,SAAUD,EACV,IACI,IAAIC,SAASD,EAAaD,MAC1BX,GAAgB,CACnB,CACD,MAAOc,GACHd,GAAgB,CACpB,CAEJA,GAAgB,CACpB,CACA,OAAOA,CACX,CCkBiBe,GACPX,EAAeO,WACTP,EAAeY,OAC3B,OAAO,IAAIH,SAASF,EAAMD,EAC9B,CChDA,SAASO,EAAYC,EAASC,GAC1B,MAAMC,EAAc,IAAIzF,IAAIuF,GAC5B,IAAK,MAAMG,KAASF,EAChBC,EAAYnC,aAAaqC,OAAOD,GAEpC,OAAOD,EAAYzH,IACvB,CCGA,MAAM4H,EAIF/I,WAAAA,GACII,KAAK4I,QAAU,IAAIvG,SAAQ,CAACwG,EAASpF,KACjCzD,KAAK6I,QAAUA,EACf7I,KAAKyD,OAASA,CAAM,GAE5B,ECdJ,MAAMqF,EAAsB,IAAIC,ICThC,IACIhK,KAAK,6BAA+BC,GACxC,CACA,MAAOC,GAAG,CCWV,SAAS+J,EAAUC,GACf,MAAwB,iBAAVA,EAAqB,IAAIvG,QAAQuG,GAASA,CAC5D,CAUA,MAAMC,EAiBFtJ,WAAAA,CAAYuJ,EAAUC,GAClBpJ,KAAKqJ,EAAa,GA8ClBpF,OAAOqF,OAAOtJ,KAAMoJ,GACpBpJ,KAAK2B,MAAQyH,EAAQzH,MACrB3B,KAAKuJ,EAAYJ,EACjBnJ,KAAKwJ,EAAmB,IAAIb,EAC5B3I,KAAKyJ,EAA0B,GAG/BzJ,KAAK0J,EAAW,IAAIP,EAASQ,SAC7B3J,KAAK4J,EAAkB,IAAItI,IAC3B,IAAK,MAAMuI,KAAU7J,KAAK0J,EACtB1J,KAAK4J,EAAgBvF,IAAIwF,EAAQ,CAAE,GAEvC7J,KAAK2B,MAAMgB,UAAU3C,KAAKwJ,EAAiBZ,QAC/C,CAcA,WAAMkB,CAAMb,GACR,MAAMtH,MAAEA,GAAU3B,KAClB,IAAI4B,EAAUoH,EAAUC,GACxB,GAAqB,aAAjBrH,EAAQmI,MACRpI,aAAiBqI,YACjBrI,EAAMsI,gBAAiB,CACvB,MAAMC,QAAiCvI,EAAMsI,gBAC7C,GAAIC,EAKA,OAAOA,CAEf,CAIA,MAAMvD,EAAkB3G,KAAKmK,YAAY,gBACnCvI,EAAQ6F,QACR,KACN,IACI,IAAK,MAAM2C,KAAMpK,KAAKqK,iBAAiB,oBACnCzI,QAAgBwI,EAAG,CAAExI,QAASA,EAAQ6F,QAAS9F,SAEtD,CACD,MAAO6B,GACH,GAAIA,aAAe7D,MACf,MAAM,IAAID,EAAa,kCAAmC,CACtD4K,mBAAoB9G,EAAI+G,SAGpC,CAIA,MAAMC,EAAwB5I,EAAQ6F,QACtC,IACI,IAAIgD,EAEJA,QAAsBX,MAAMlI,EAA0B,aAAjBA,EAAQmI,UAAsB5F,EAAYnE,KAAKuJ,EAAUmB,cAM9F,IAAK,MAAMC,KAAY3K,KAAKqK,iBAAiB,mBACzCI,QAAsBE,EAAS,CAC3BhJ,QACAC,QAAS4I,EACTlD,SAAUmD,IAGlB,OAAOA,CACV,CACD,MAAOvC,GAeH,MARIvB,SACM3G,KAAK4K,aAAa,eAAgB,CACpC1C,MAAOA,EACPvG,QACAgF,gBAAiBA,EAAgBc,QACjC7F,QAAS4I,EAAsB/C,UAGjCS,CACV,CACJ,CAWA,sBAAM2C,CAAiB5B,GACnB,MAAM3B,QAAiBtH,KAAK8J,MAAMb,GAC5B6B,EAAgBxD,EAASG,QAE/B,OADKzH,KAAK2C,UAAU3C,KAAK+K,SAAS9B,EAAO6B,IAClCxD,CACX,CAaA,gBAAM0D,CAAWC,GACb,MAAMrJ,EAAUoH,EAAUiC,GAC1B,IAAIpE,EACJ,MAAMtB,UAAEA,EAAS2F,aAAEA,GAAiBlL,KAAKuJ,EACnC4B,QAAyBnL,KAAKoL,YAAYxJ,EAAS,QACnDyJ,EAAoBpH,OAAOqF,OAAOrF,OAAOqF,OAAO,CAAA,EAAI4B,GAAe,CAAE3F,cAC3EsB,QAAuByE,OAAOhL,MAAM6K,EAAkBE,GAStD,IAAK,MAAMV,KAAY3K,KAAKqK,iBAAiB,4BACzCxD,QACW8D,EAAS,CACZpF,YACA2F,eACArE,iBACAjF,QAASuJ,EACTxJ,MAAO3B,KAAK2B,cACTwC,EAEf,OAAO0C,CACX,CAgBA,cAAMkE,CAASE,EAAK3D,GAChB,MAAM1F,EAAUoH,EAAUiC,GCxP3B,IAAiBM,UD2PF,EC1PX,IAAIlJ,SAASwG,GAAY2C,WAAW3C,EAAS0C,MD2PhD,MAAMJ,QAAyBnL,KAAKoL,YAAYxJ,EAAS,SAiBzD,IAAK0F,EAKD,MAAM,IAAI5H,EAAa,6BAA8B,CACjDkB,KE1RQA,EF0RYuK,EAAiBvK,IEzRlC,IAAImC,IAAI0I,OAAO7K,GAAMK,SAASF,MAG/BA,KAAK2K,QAAQ,IAAIC,OAAQ,IAAG1K,SAASD,UAAW,OAJ1CJ,MF6RhB,MAAMgL,QAAwB5L,KAAK6L,EAA2BvE,GAC9D,IAAKsE,EAKD,OAAO,EAEX,MAAMrG,UAAEA,EAAS2F,aAAEA,GAAiBlL,KAAKuJ,EACnCuC,QAAc/M,KAAKuM,OAAOS,KAAKxG,GAC/ByG,EAAyBhM,KAAKmK,YAAY,kBAC1C8B,EAAcD,QJtR5BpI,eAAsCkI,EAAOlK,EAAS2G,EAAc2C,GAChE,MAAMgB,EAAqB7D,EAAYzG,EAAQhB,IAAK2H,GAEpD,GAAI3G,EAAQhB,MAAQsL,EAChB,OAAOJ,EAAMxL,MAAMsB,EAASsJ,GAGhC,MAAMiB,EAAclI,OAAOqF,OAAOrF,OAAOqF,OAAO,CAAA,EAAI4B,GAAe,CAAEkB,cAAc,IAC7EC,QAAkBP,EAAM5H,KAAKtC,EAASuK,GAC5C,IAAK,MAAMlG,KAAYoG,EAEnB,GAAIH,IADwB7D,EAAYpC,EAASrF,IAAK2H,GAElD,OAAOuD,EAAMxL,MAAM2F,EAAUiF,EAIzC,CIuQoBoB,CAIRR,EAAOX,EAAiB1D,QAAS,CAAC,mBAAoByD,GACpD,KAKN,UACUY,EAAMS,IAAIpB,EAAkBa,EAAyBJ,EAAgBnE,QAAUmE,EACxF,CACD,MAAO1D,GACH,GAAIA,aAAiBvI,MAKjB,KAHmB,uBAAfuI,EAAMjI,YGhT1B2D,iBAKI,IAAK,MAAM+G,KAAY7B,QACb6B,GAQd,CHmS0B6B,GAEJtE,CAEd,CACA,IAAK,MAAMyC,KAAY3K,KAAKqK,iBAAiB,wBACnCM,EAAS,CACXpF,YACA0G,cACAQ,YAAab,EAAgBnE,QAC7B7F,QAASuJ,EACTxJ,MAAO3B,KAAK2B,QAGpB,OAAO,CACX,CAYA,iBAAMyJ,CAAYxJ,EAASmI,GACvB,MAAMkB,EAAO,GAAErJ,EAAQhB,SAASmJ,IAChC,IAAK/J,KAAKqJ,EAAW4B,GAAM,CACvB,IAAIE,EAAmBvJ,EACvB,IAAK,MAAM+I,KAAY3K,KAAKqK,iBAAiB,sBACzCc,EAAmBnC,QAAgB2B,EAAS,CACxCZ,OACAnI,QAASuJ,EACTxJ,MAAO3B,KAAK2B,MAEZwB,OAAQnD,KAAKmD,UAGrBnD,KAAKqJ,EAAW4B,GAAOE,CAC3B,CACA,OAAOnL,KAAKqJ,EAAW4B,EAC3B,CAQAd,WAAAA,CAAYlK,GACR,IAAK,MAAM4J,KAAU7J,KAAKuJ,EAAUI,QAChC,GAAI1J,KAAQ4J,EACR,OAAO,EAGf,OAAO,CACX,CAiBA,kBAAMe,CAAa3K,EAAMwI,GACrB,IAAK,MAAMkC,KAAY3K,KAAKqK,iBAAiBpK,SAGnC0K,EAASlC,EAEvB,CAUA,iBAAC4B,CAAiBpK,GACd,IAAK,MAAM4J,KAAU7J,KAAKuJ,EAAUI,QAChC,GAA4B,mBAAjBE,EAAO5J,GAAsB,CACpC,MAAMyG,EAAQ1G,KAAK4J,EAAgBrG,IAAIsG,GACjC6C,EAAoBjE,IACtB,MAAMkE,EAAgB1I,OAAOqF,OAAOrF,OAAOqF,OAAO,CAAA,EAAIb,GAAQ,CAAE/B,UAGhE,OAAOmD,EAAO5J,GAAM0M,EAAc,QAEhCD,CACV,CAER,CAcA/J,SAAAA,CAAUiG,GAEN,OADA5I,KAAKyJ,EAAwBlF,KAAKqE,GAC3BA,CACX,CAWA,iBAAMgE,GACF,IAAIhE,EACJ,KAAQA,EAAU5I,KAAKyJ,EAAwBoD,eACrCjE,CAEd,CAKAkE,OAAAA,GACI9M,KAAKwJ,EAAiBX,QAAQ,KAClC,CAWA,OAAMgD,CAA2BvE,GAC7B,IAAIsE,EAAkBtE,EAClByF,GAAc,EAClB,IAAK,MAAMpC,KAAY3K,KAAKqK,iBAAiB,mBAQzC,GAPAuB,QACWjB,EAAS,CACZ/I,QAAS5B,KAAK4B,QACd0F,SAAUsE,EACVjK,MAAO3B,KAAK2B,cACTwC,EACX4I,GAAc,GACTnB,EACD,MAwBR,OArBKmB,GACGnB,GAA8C,MAA3BA,EAAgBhE,SACnCgE,OAAkBzH,GAmBnByH,CACX,EIhfJ,MAAMoB,EAuBFpN,WAAAA,CAAYwJ,EAAU,IAQlBpJ,KAAKuF,UAAYI,EAA0ByD,EAAQ7D,WAQnDvF,KAAK2J,QAAUP,EAAQO,SAAW,GAQlC3J,KAAK0K,aAAetB,EAAQsB,aAQ5B1K,KAAKkL,aAAe9B,EAAQ8B,YAChC,CAoBA9K,MAAAA,CAAOgJ,GACH,MAAO6D,GAAgBjN,KAAKkN,UAAU9D,GACtC,OAAO6D,CACX,CAuBAC,SAAAA,CAAU9D,GAEFA,aAAmBY,aACnBZ,EAAU,CACNzH,MAAOyH,EACPxH,QAASwH,EAAQxH,UAGzB,MAAMD,EAAQyH,EAAQzH,MAChBC,EAAqC,iBAApBwH,EAAQxH,QACzB,IAAIc,QAAQ0G,EAAQxH,SACpBwH,EAAQxH,QACRuB,EAAS,WAAYiG,EAAUA,EAAQjG,YAASgB,EAChDhE,EAAU,IAAI+I,EAAgBlJ,KAAM,CAAE2B,QAAOC,UAASuB,WACtD8J,EAAejN,KAAKmN,EAAahN,EAASyB,EAASD,GAGzD,MAAO,CAACsL,EAFYjN,KAAKoN,EAAeH,EAAc9M,EAASyB,EAASD,GAG5E,CACA,OAAMwL,CAAahN,EAASyB,EAASD,GAEjC,IAAI2F,QADEnH,EAAQyK,aAAa,mBAAoB,CAAEjJ,QAAOC,YAExD,IAKI,GAJA0F,QAAiBtH,KAAKqN,EAAQzL,EAASzB,IAIlCmH,GAA8B,UAAlBA,EAASpF,KACtB,MAAM,IAAIxC,EAAa,cAAe,CAAEkB,IAAKgB,EAAQhB,KAE5D,CACD,MAAOsH,GACH,GAAIA,aAAiBvI,MACjB,IAAK,MAAMgL,KAAYxK,EAAQkK,iBAAiB,mBAE5C,GADA/C,QAAiBqD,EAAS,CAAEzC,QAAOvG,QAAOC,YACtC0F,EACA,MAIZ,IAAKA,EACD,MAAMY,CAOd,CACA,IAAK,MAAMyC,KAAYxK,EAAQkK,iBAAiB,sBAC5C/C,QAAiBqD,EAAS,CAAEhJ,QAAOC,UAAS0F,aAEhD,OAAOA,CACX,CACA,OAAM8F,CAAeH,EAAc9M,EAASyB,EAASD,GACjD,IAAI2F,EACAY,EACJ,IACIZ,QAAiB2F,CACpB,CACD,MAAO/E,GAGH,CAEJ,UACU/H,EAAQyK,aAAa,oBAAqB,CAC5CjJ,QACAC,UACA0F,mBAEEnH,EAAQyM,aACjB,CACD,MAAOU,GACCA,aAA0B3N,QAC1BuI,EAAQoF,EAEhB,CAQA,SAPMnN,EAAQyK,aAAa,qBAAsB,CAC7CjJ,QACAC,UACA0F,WACAY,MAAOA,IAEX/H,EAAQ2M,UACJ5E,EACA,MAAMA,CAEd,ECtLJ,MAAMqF,UAAyBP,EAkB3BpN,WAAAA,CAAYwJ,EAAU,IAClBA,EAAQ7D,UAAYI,EAA2ByD,EAAQ7D,WACvDxF,MAAMqJ,GACNpJ,KAAKwN,GAC6B,IAA9BpE,EAAQqE,kBAKZzN,KAAK2J,QAAQpF,KAAKgJ,EAAiBG,uCACvC,CAQA,OAAML,CAAQzL,EAASzB,GACnB,MAAMmH,QAAiBnH,EAAQ6K,WAAWpJ,GAC1C,OAAI0F,IAKAnH,EAAQwB,OAAgC,YAAvBxB,EAAQwB,MAAMO,WAClBlC,KAAK2N,EAAe/L,EAASzB,SAIjCH,KAAK4N,EAAahM,EAASzB,GAC5C,CACA,OAAMyN,CAAahM,EAASzB,GACxB,IAAImH,EACJ,MAAMnE,EAAUhD,EAAQgD,QAAU,GAElC,IAAInD,KAAKwN,EAuCL,MAAM,IAAI9N,EAAa,yBAA0B,CAC7C6F,UAAWvF,KAAKuF,UAChB3E,IAAKgB,EAAQhB,MAzCQ,CAMzB,MAAMiN,EAAsB1K,EAAO2K,UAC7BC,EAAqBnM,EAAQkM,UAC7BE,GAAuBD,GAAsBA,IAAuBF,EAG1EvG,QAAiBnH,EAAQ2J,MAAM,IAAIpH,QAAQd,EAAS,CAChDkM,UAA4B,YAAjBlM,EAAQmI,KACbgE,GAAsBF,OACtB1J,KASN0J,GACAG,GACiB,YAAjBpM,EAAQmI,OACR/J,KAAKiO,UACmB9N,EAAQ4K,SAASnJ,EAAS0F,EAASG,SAQnE,CAuBA,OAAOH,CACX,CACA,OAAMqG,CAAe/L,EAASzB,GAC1BH,KAAKiO,IACL,MAAM3G,QAAiBnH,EAAQ2J,MAAMlI,GAIrC,UADwBzB,EAAQ4K,SAASnJ,EAAS0F,EAASG,SAIvD,MAAM,IAAI/H,EAAa,0BAA2B,CAC9CkB,IAAKgB,EAAQhB,IACbgH,OAAQN,EAASM,SAGzB,OAAON,CACX,CA4BA2G,CAAAA,GACI,IAAIC,EAAqB,KACrBC,EAA6B,EACjC,IAAK,MAAOjN,EAAO2I,KAAW7J,KAAK2J,QAAQyE,UAEnCvE,IAAW0D,EAAiBG,yCAI5B7D,IAAW0D,EAAiBc,oCAC5BH,EAAqBhN,GAErB2I,EAAOyE,iBACPH,KAG2B,IAA/BA,EACAnO,KAAK2J,QAAQpF,KAAKgJ,EAAiBc,mCAE9BF,EAA6B,GAA4B,OAAvBD,GAEvClO,KAAK2J,QAAQhF,OAAOuJ,EAAoB,EAGhD,EAEJX,EAAiBc,kCAAoC,CACjDzK,gBAAqB0K,OAAChH,SAAEA,MACfA,GAAYA,EAASM,QAAU,IACzB,KAEJN,GAGfiG,EAAiBG,uCAAyC,CACtD9J,gBAAqB0K,OAAChH,SAAEA,KACbA,EAASiH,iBAAmBlH,EAAaC,GAAYA,GCnMpE,MAAMkH,EAWF5O,WAAAA,EAAY2F,UAAEA,EAASoE,QAAEA,EAAU,GAAE8D,kBAAEA,GAAoB,GAAU,IACjEzN,KAAKyO,EAAmB,IAAInN,IAC5BtB,KAAK0O,EAAoB,IAAIpN,IAC7BtB,KAAK2O,EAA0B,IAAIrN,IACnCtB,KAAKuJ,EAAY,IAAIgE,EAAiB,CAClChI,UAAWI,EAA2BJ,GACtCoE,QAAS,IACFA,EACH,IAAI7C,EAAuB,CAAEC,mBAAoB/G,QAErDyN,sBAGJzN,KAAK4O,QAAU5O,KAAK4O,QAAQC,KAAK7O,MACjCA,KAAK8O,SAAW9O,KAAK8O,SAASD,KAAK7O,KACvC,CAKA,YAAImJ,GACA,OAAOnJ,KAAKuJ,CAChB,CAWAvE,QAAAA,CAASoJ,GACLpO,KAAK+O,eAAeX,GACfpO,KAAKgP,IACNjQ,KAAK2C,iBAAiB,UAAW1B,KAAK4O,SACtC7P,KAAK2C,iBAAiB,WAAY1B,KAAK8O,UACvC9O,KAAKgP,GAAkC,EAE/C,CAQAD,cAAAA,CAAeX,GASX,MAAMa,EAAkB,GACxB,IAAK,MAAMxM,KAAS2L,EAAS,CAEJ,iBAAV3L,EACPwM,EAAgB1K,KAAK9B,GAEhBA,QAA4B0B,IAAnB1B,EAAMyD,UACpB+I,EAAgB1K,KAAK9B,EAAM7B,KAE/B,MAAMqF,SAAEA,EAAQrF,IAAEA,GAAQmF,EAAetD,GACnCyM,EAA6B,iBAAVzM,GAAsBA,EAAMyD,SAAW,SAAW,UAC3E,GAAIlG,KAAKyO,EAAiBnL,IAAI1C,IAC1BZ,KAAKyO,EAAiBlL,IAAI3C,KAASqF,EACnC,MAAM,IAAIvG,EAAa,wCAAyC,CAC5DyP,WAAYnP,KAAKyO,EAAiBlL,IAAI3C,GACtCwO,YAAanJ,IAGrB,GAAqB,iBAAVxD,GAAsBA,EAAMqL,UAAW,CAC9C,GAAI9N,KAAK2O,EAAwBrL,IAAI2C,IACjCjG,KAAK2O,EAAwBpL,IAAI0C,KAAcxD,EAAMqL,UACrD,MAAM,IAAIpO,EAAa,4CAA6C,CAChEkB,QAGRZ,KAAK2O,EAAwBtK,IAAI4B,EAAUxD,EAAMqL,UACrD,CAGA,GAFA9N,KAAKyO,EAAiBpK,IAAIzD,EAAKqF,GAC/BjG,KAAK0O,EAAkBrK,IAAIzD,EAAKsO,GAC5BD,EAAgB1P,OAAS,EAAG,CAC5B,MAAM8P,EACD,qDAAQJ,EAAgBvJ,KAAK,8EAK9B4J,QAAQC,KAAKF,EAKrB,CACJ,CACJ,CAWAT,OAAAA,CAAQjN,GAGJ,OAAOgB,EAAUhB,GAAOiC,UACpB,MAAM4L,EAAsB,IAAIlJ,EAChCtG,KAAKmJ,SAASQ,QAAQpF,KAAKiL,GAG3B,IAAK,MAAO5O,EAAKqF,KAAajG,KAAKyO,EAAkB,CACjD,MAAMX,EAAY9N,KAAK2O,EAAwBpL,IAAI0C,GAC7CiJ,EAAYlP,KAAK0O,EAAkBnL,IAAI3C,GACvCgB,EAAU,IAAIc,QAAQ9B,EAAK,CAC7BkN,YACAhC,MAAOoD,EACPO,YAAa,sBAEXpN,QAAQC,IAAItC,KAAKmJ,SAAS+D,UAAU,CACtC/J,OAAQ,CAAE8C,YACVrE,UACAD,UAER,CACA,MAAM4E,YAAEA,EAAWC,eAAEA,GAAmBgJ,EAIxC,MAAO,CAAEjJ,cAAaC,iBAAgB,GAE9C,CAWAsI,QAAAA,CAASnN,GAGL,OAAOgB,EAAUhB,GAAOiC,UACpB,MAAMkI,QAAc/M,KAAKuM,OAAOS,KAAK/L,KAAKmJ,SAAS5D,WAC7CmK,QAAgC5D,EAAM5H,OACtCyL,EAAoB,IAAI5G,IAAI/I,KAAKyO,EAAiBmB,UAClDC,EAAc,GACpB,IAAK,MAAMjO,KAAW8N,EACbC,EAAkBrM,IAAI1B,EAAQhB,aACzBkL,EAAMpD,OAAO9G,GACnBiO,EAAYtL,KAAK3C,EAAQhB,MAMjC,MAAO,CAAEiP,cAAa,GAE9B,CAOAC,kBAAAA,GACI,OAAO9P,KAAKyO,CAChB,CAOAsB,aAAAA,GACI,MAAO,IAAI/P,KAAKyO,EAAiBvK,OACrC,CAUAgD,iBAAAA,CAAkBtG,GACd,MAAMoF,EAAY,IAAIjD,IAAInC,EAAKK,SAASF,MACxC,OAAOf,KAAKyO,EAAiBlL,IAAIyC,EAAUjF,KAC/C,CAMAiP,uBAAAA,CAAwB/J,GACpB,OAAOjG,KAAK2O,EAAwBpL,IAAI0C,EAC5C,CAmBA,mBAAMgK,CAAcrO,GAChB,MAAMhB,EAAMgB,aAAmBc,QAAUd,EAAQhB,IAAMgB,EACjDqE,EAAWjG,KAAKkH,kBAAkBtG,GACxC,GAAIqF,EAAU,CAEV,aADoBlH,KAAKuM,OAAOS,KAAK/L,KAAKmJ,SAAS5D,YACtCjF,MAAM2F,EACvB,CAEJ,CASAiK,uBAAAA,CAAwBtP,GACpB,MAAMqF,EAAWjG,KAAKkH,kBAAkBtG,GACxC,IAAKqF,EACD,MAAM,IAAIvG,EAAa,oBAAqB,CAAEkB,QAElD,OAAQwI,IACJA,EAAQxH,QAAU,IAAIc,QAAQ9B,GAC9BwI,EAAQjG,OAASc,OAAOqF,OAAO,CAAErD,YAAYmD,EAAQjG,QAC9CnD,KAAKmJ,SAAS/I,OAAOgJ,GAEpC,ECxRJ,IAAIrC,EAKG,MAAMoJ,EAAgCA,KACpCpJ,IACDA,EAAqB,IAAIyH,GAEtBzH,GCGX,MAAMqJ,UAAsB/P,EAiBxBT,WAAAA,CAAYmH,EAAoBqC,GAe5BrJ,OAdcO,EAAGsB,cACb,MAAMyO,EAAkBtJ,EAAmB+I,qBAC3C,IAAK,MAAMQ,KCtBhB,UAAgC1P,GAAK2P,4BAAEA,EAA8B,CAAC,QAAS,YAAWC,eAAEA,EAAiB,aAAYC,UAAEA,GAAY,EAAIC,gBAAEA,GAAqB,IACrK,MAAM1K,EAAY,IAAIjD,IAAInC,EAAKK,SAASF,MACxCiF,EAAU2K,KAAO,SACX3K,EAAUjF,KAChB,MAAM6P,ECHH,SAAmC5K,EAAWuK,EAA8B,IAG/E,IAAK,MAAMM,IAAa,IAAI7K,EAAUK,aAAanC,QAC3CqM,EAA4BO,MAAMnQ,GAAWA,EAAOoQ,KAAKF,MACzD7K,EAAUK,aAAaqC,OAAOmI,GAGtC,OAAO7K,CACX,CDNoCgL,CAA0BhL,EAAWuK,GAErE,SADMK,EAAwB7P,KAC1ByP,GAAkBI,EAAwBK,SAASC,SAAS,KAAM,CAClE,MAAMC,EAAe,IAAIpO,IAAI6N,EAAwB7P,MACrDoQ,EAAaF,UAAYT,QACnBW,EAAapQ,IACvB,CACA,GAAI0P,EAAW,CACX,MAAMW,EAAW,IAAIrO,IAAI6N,EAAwB7P,MACjDqQ,EAASH,UAAY,cACfG,EAASrQ,IACnB,CACA,GAAI2P,EAAiB,CACjB,MAAMW,EAAiBX,EAAgB,CAAE9P,IAAKoF,IAC9C,IAAK,MAAMsL,KAAgBD,QACjBC,EAAavQ,IAE3B,CACJ,CDAsCwQ,CAAsB3P,EAAQhB,IAAKwI,GAAU,CACnE,MAAMnD,EAAWoK,EAAgB9M,IAAI+M,GACrC,GAAIrK,EAAU,CAEV,MAAO,CAAEA,WAAU6H,UADD/G,EAAmBiJ,wBAAwB/J,GAEjE,CACJ,CAIA,GAESc,EAAmBoC,SACpC,EG7BJ,SAASqI,EAASpI,GACd,MAAMrC,EAAqBoJ,KCK/B,SAAuBsB,EAAStR,EAASI,GACrC,IAAI6C,EACJ,GAAuB,iBAAZqO,EAAsB,CAC7B,MAAMC,EAAa,IAAI3O,IAAI0O,EAASxQ,SAASF,MAkC7CqC,EAAQ,IAAI/C,GAZUsR,EAAG/Q,SASdA,EAAIG,OAAS2Q,EAAW3Q,MAGFZ,EAASI,EAC9C,MACK,GAAIkR,aAAmB9F,OAExBvI,EAAQ,IAAI1C,EAAY+Q,EAAStR,EAASI,QAEzC,GAAuB,mBAAZkR,EAEZrO,EAAQ,IAAI/C,EAAMoR,EAAStR,EAASI,OAEnC,MAAIkR,aAAmBpR,GAIxB,MAAM,IAAIX,EAAa,yBAA0B,CAC7CkS,WAAY,kBACZC,SAAU,gBACVhB,UAAW,YANfzN,EAAQqO,CAQZ,CACsB5M,IACRP,cAAclB,EAEhC,CD/DIkB,CADsB,IAAI8L,EAAcrJ,EAAoBqC,GAEhE,yBEZA,WAEIrK,KAAK2C,iBAAiB,YAAcC,IAChC,MAAM4D,EAAYI,IAClBhE,EAAMgB,UCMeiB,OAAOkO,EAAqBC,EAnB/B,gBAoBtB,MACMC,SADmBjT,KAAKuM,OAAOpH,QACCsB,QAAQD,GAClCA,EAAU0M,SAASF,IACvBxM,EAAU0M,SAASlT,KAAKqG,aAAaC,QACrCE,IAAcuM,IAGtB,aADMzP,QAAQC,IAAI0P,EAAmBxP,KAAK+C,GAAcxG,KAAKuM,OAAO5C,OAAOnD,MACpEyM,CAAkB,EDdLE,CAAqB3M,GAAW1C,MAAMsP,QAOnD,GAEX,iBEhBA,WACIpT,KAAK2C,iBAAiB,YAAY,IAAM3C,KAAKqT,QAAQC,SACzD,qBCQA,SAA0BjE,EAAShF,ICInC,SAAkBgF,GACa+B,IACRnL,SAASoJ,EAChC,CDNIpJ,CAASoJ,GACToD,EAASpI,EACb"} \ No newline at end of file diff --git a/wuhan2020-mini.c62cbdf4.png b/wuhan2020-mini.c62cbdf4.png new file mode 100644 index 0000000..6cf4faf Binary files /dev/null and b/wuhan2020-mini.c62cbdf4.png differ diff --git a/wuhan2020.bed6fd20.png b/wuhan2020.bed6fd20.png new file mode 100644 index 0000000..babd4f8 Binary files /dev/null and b/wuhan2020.bed6fd20.png differ