mongoku 2.10.0-compat → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/client/_app/immutable/chunks/B2jd13FV.js +4 -0
- package/build/client/_app/immutable/chunks/B2jd13FV.js.br +0 -0
- package/build/client/_app/immutable/chunks/B2jd13FV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D3UCTJm-.js → BCQ_Gxjq.js} +1 -1
- package/build/client/_app/immutable/chunks/BCQ_Gxjq.js.br +0 -0
- package/build/client/_app/immutable/chunks/BCQ_Gxjq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{bZzTqofF.js → BE54Cy37.js} +1 -1
- package/build/client/_app/immutable/chunks/BE54Cy37.js.br +0 -0
- package/build/client/_app/immutable/chunks/BE54Cy37.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BoF-bMzh.js → CFdm8ab0.js} +1 -1
- package/build/client/_app/immutable/chunks/CFdm8ab0.js.br +0 -0
- package/build/client/_app/immutable/chunks/CFdm8ab0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DH7nqg5-.js → CmmE3z9D.js} +1 -1
- package/build/client/_app/immutable/chunks/CmmE3z9D.js.br +0 -0
- package/build/client/_app/immutable/chunks/CmmE3z9D.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Dcgd1m6P.js → DFOCkNuT.js} +1 -1
- package/build/client/_app/immutable/chunks/DFOCkNuT.js.br +0 -0
- package/build/client/_app/immutable/chunks/DFOCkNuT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CsbWzWJI.js → _rBAec6D.js} +1 -1
- package/build/client/_app/immutable/chunks/_rBAec6D.js.br +0 -0
- package/build/client/_app/immutable/chunks/_rBAec6D.js.gz +0 -0
- package/build/client/_app/immutable/entry/{app.G0Hwsu0f.js → app.Dohu_2eh.js} +2 -2
- package/build/client/_app/immutable/entry/app.Dohu_2eh.js.br +0 -0
- package/build/client/_app/immutable/entry/app.Dohu_2eh.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.DDHa2d-g.js +1 -0
- package/build/client/_app/immutable/entry/start.DDHa2d-g.js.br +0 -0
- package/build/client/_app/immutable/entry/start.DDHa2d-g.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{0.BPw_KPrY.js → 0.CfO6UFBT.js} +1 -1
- package/build/client/_app/immutable/nodes/0.CfO6UFBT.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.CfO6UFBT.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.eWL7yJRK.js → 1.DmCvW_N2.js} +1 -1
- package/build/client/_app/immutable/nodes/1.DmCvW_N2.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.DmCvW_N2.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{10.AwBSgK4-.js → 10.DXfooZeN.js} +1 -1
- package/build/client/_app/immutable/nodes/10.DXfooZeN.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.DXfooZeN.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{11.DS8hIvI2.js → 11.D3RjJxHn.js} +1 -1
- package/build/client/_app/immutable/nodes/11.D3RjJxHn.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.D3RjJxHn.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{12.DP-oGzlU.js → 12.BSCHL8Wv.js} +1 -1
- package/build/client/_app/immutable/nodes/12.BSCHL8Wv.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.BSCHL8Wv.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{13.DCNBPtGq.js → 13.BUZC3U5h.js} +1 -1
- package/build/client/_app/immutable/nodes/13.BUZC3U5h.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.BUZC3U5h.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{14.B3qXj1Pz.js → 14.DzivuL8z.js} +1 -1
- package/build/client/_app/immutable/nodes/14.DzivuL8z.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.DzivuL8z.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{15.DFTrPy3K.js → 15.BqJSmWZ_.js} +1 -1
- package/build/client/_app/immutable/nodes/15.BqJSmWZ_.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.BqJSmWZ_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{7.BSMf3Keu.js → 7.OZHRLJkf.js} +1 -1
- package/build/client/_app/immutable/nodes/7.OZHRLJkf.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.OZHRLJkf.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{8.CmQOYs57.js → 8.FO3bdL0t.js} +1 -1
- package/build/client/_app/immutable/nodes/8.FO3bdL0t.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.FO3bdL0t.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{9.6ZB3-a4j.js → 9.YByd0d9H.js} +1 -1
- package/build/client/_app/immutable/nodes/9.YByd0d9H.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.YByd0d9H.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/server/chunks/{0-2tDL-Z_M.js → 0-DmENzvkm.js} +2 -2
- package/build/server/chunks/{0-2tDL-Z_M.js.map → 0-DmENzvkm.js.map} +1 -1
- package/build/server/chunks/{1-L1YRtIEr.js → 1-DrWvtmhM.js} +2 -2
- package/build/server/chunks/{1-L1YRtIEr.js.map → 1-DrWvtmhM.js.map} +1 -1
- package/build/server/chunks/{10-kSTe-NQK.js → 10-Dya2sI8O.js} +2 -2
- package/build/server/chunks/{10-kSTe-NQK.js.map → 10-Dya2sI8O.js.map} +1 -1
- package/build/server/chunks/{11-BSFyIooa.js → 11-zfpbmXhF.js} +2 -2
- package/build/server/chunks/{11-BSFyIooa.js.map → 11-zfpbmXhF.js.map} +1 -1
- package/build/server/chunks/{12-DhN9fz9p.js → 12-CqW8vg1C.js} +2 -2
- package/build/server/chunks/{12-DhN9fz9p.js.map → 12-CqW8vg1C.js.map} +1 -1
- package/build/server/chunks/{13-B1mdDktE.js → 13-DlmjNDSw.js} +2 -2
- package/build/server/chunks/{13-B1mdDktE.js.map → 13-DlmjNDSw.js.map} +1 -1
- package/build/server/chunks/{14-G2fvhIG4.js → 14-Bu7VU4oX.js} +2 -2
- package/build/server/chunks/{14-G2fvhIG4.js.map → 14-Bu7VU4oX.js.map} +1 -1
- package/build/server/chunks/{15-BxHbA5Ao.js → 15-DamzcyR0.js} +2 -2
- package/build/server/chunks/{15-BxHbA5Ao.js.map → 15-DamzcyR0.js.map} +1 -1
- package/build/server/chunks/{7-BNgFbh-a.js → 7-DSWLUW8e.js} +2 -2
- package/build/server/chunks/{7-BNgFbh-a.js.map → 7-DSWLUW8e.js.map} +1 -1
- package/build/server/chunks/{8-DOgOgmwJ.js → 8-CWn7ZxmV.js} +2 -2
- package/build/server/chunks/{8-DOgOgmwJ.js.map → 8-CWn7ZxmV.js.map} +1 -1
- package/build/server/chunks/{9-D-PO69az.js → 9-B4pg_rCS.js} +2 -2
- package/build/server/chunks/{9-D-PO69az.js.map → 9-B4pg_rCS.js.map} +1 -1
- package/build/server/index.js +1 -1
- package/build/server/index.js.map +1 -1
- package/build/server/manifest.js +12 -12
- package/build/server/manifest.js.map +1 -1
- package/package.json +1 -1
- package/build/client/_app/immutable/chunks/BoF-bMzh.js.br +0 -0
- package/build/client/_app/immutable/chunks/BoF-bMzh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CsbWzWJI.js.br +0 -0
- package/build/client/_app/immutable/chunks/CsbWzWJI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D3UCTJm-.js.br +0 -0
- package/build/client/_app/immutable/chunks/D3UCTJm-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DH7nqg5-.js.br +0 -0
- package/build/client/_app/immutable/chunks/DH7nqg5-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dcgd1m6P.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dcgd1m6P.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DlVaABeK.js +0 -4
- package/build/client/_app/immutable/chunks/DlVaABeK.js.br +0 -0
- package/build/client/_app/immutable/chunks/DlVaABeK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/bZzTqofF.js.br +0 -0
- package/build/client/_app/immutable/chunks/bZzTqofF.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.G0Hwsu0f.js.br +0 -0
- package/build/client/_app/immutable/entry/app.G0Hwsu0f.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.pOs5gHaO.js +0 -1
- package/build/client/_app/immutable/entry/start.pOs5gHaO.js.br +0 -0
- package/build/client/_app/immutable/entry/start.pOs5gHaO.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.BPw_KPrY.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.BPw_KPrY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.eWL7yJRK.js.br +0 -4
- package/build/client/_app/immutable/nodes/1.eWL7yJRK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.AwBSgK4-.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.AwBSgK4-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.DS8hIvI2.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.DS8hIvI2.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.DP-oGzlU.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.DP-oGzlU.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.DCNBPtGq.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.DCNBPtGq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.B3qXj1Pz.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.B3qXj1Pz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.DFTrPy3K.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.DFTrPy3K.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.BSMf3Keu.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.BSMf3Keu.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.CmQOYs57.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.CmQOYs57.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.6ZB3-a4j.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.6ZB3-a4j.js.gz +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{y as Mt,B as qt,bp as Ft,z as Ht,j as ce,bq as Vt}from"./DfW1b8bA.js";import{d as Yt,e as Jt,t as zt,f as Kt,g as Gt,H as C,N as q,h as re,P as $e,p as j,n as N,i as De,b as U,s as F,w as Xt,a as je,j as ct,k as Ie,l as le,m as Ee,S as we,o as Ze,q as Zt,u as Wt,x as Qt,y as Ce,z as xe,A as K,B as er,C as lt,D as tr,E as rr,F as ft}from"./CmmE3z9D.js";import{e as nr}from"./DO0gnjpd.js";function We(e,t){if(Mt||nr(),qt){const r=window.__svelte?.h;if(r?.has(e))return r.get(e);Ft()}return t()}class ve{constructor(t,r){this.status=t,typeof r=="string"?this.body={message:r}:r?this.body=r:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Be{constructor(t,r){try{new Headers({location:r})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(r)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=r}}class Me extends Error{constructor(t,r,a){super(a),this.status=t,this.text=r}}function ar({nodes:e,server_loads:t,dictionary:r,matchers:a}){const o=new Set(t);return Object.entries(r).map(([i,[s,u,c]])=>{const{pattern:p,params:f}=Yt(i),h={id:i,exec:d=>{const y=p.exec(d);if(y)return Jt(y,f,a)},errors:[1,...c||[]].map(d=>e[d]),layouts:[0,...u||[]].map(n),leaf:l(s)};return h.errors.length=h.layouts.length=Math.max(h.errors.length,h.layouts.length),h});function l(i){const s=i<0;return s&&(i=~i),[s,e[i]]}function n(i){return i===void 0?i:[o.has(i),e[i]]}}function ut(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Qe(e,t,r=JSON.stringify){const a=r(t);try{sessionStorage[e]=a}catch{}}const qe=-1,Pe=-2,dt=-3,pt=-4,ht=-5,Fe=-6,_t=-7,yt=2**32-1,Re=yt-1;class M extends Error{constructor(t,r,a,o){super(t),this.name="DevalueError",this.path=r.join(""),this.value=a,this.root=o}}function et(e){return e===null||typeof e!="object"&&typeof e!="function"}const or=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function sr(e){const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getPrototypeOf(t)===null||Object.getOwnPropertyNames(t).sort().join("\0")===or}function ir(e){return Object.prototype.toString.call(e).slice(8,-1)}function cr(e){switch(e){case'"':return'\\"';case"<":return"\\u003C";case"\\":return"\\\\";case`
|
|
2
|
+
`:return"\\n";case"\r":return"\\r";case" ":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:return e<" "?`\\u${e.charCodeAt(0).toString(16).padStart(4,"0")}`:""}}function D(e){let t="",r=0;const a=e.length;for(let o=0;o<a;o+=1){const l=e[o],n=cr(l);n&&(t+=e.slice(r,o)+n,r=o+1)}return`"${r===0?e:t+e.slice(r)}"`}function lr(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)}const fr=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/;function tt(e){return fr.test(e)?"."+e:"["+JSON.stringify(e)+"]"}function mt(e){return!(!Number.isInteger(e)||e<0||e>Re)}function ur(e){return!(!Number.isInteger(e)||e<0||e>yt)}function dr(e){if(e.length===0||e.length>1&&e.charCodeAt(0)===48)return!1;for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);if(r<48||r>57)return!1}return mt(+e)}function pr(e){const t=Object.keys(e);for(var r=t.length-1;r>=0&&!dr(t[r]);r--);return t.length=r+1,t}function hr(e){return new Uint8Array(e).toBase64()}function _r(e){return Uint8Array.fromBase64(e).buffer}function yr(e){return Buffer.from(e).toString("base64")}function mr(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function gr(e){const t=new Uint8Array(e);let r="";const a=32768;for(let o=0;o<t.length;o+=a){const l=t.subarray(o,o+a);r+=String.fromCharCode.apply(null,l)}return btoa(r)}function wr(e){const t=atob(e),r=t.length,a=new Uint8Array(r);for(let o=0;o<r;o++)a[o]=t.charCodeAt(o);return a.buffer}const gt=typeof Uint8Array.fromBase64=="function",wt=typeof process=="object"&&process.versions?.node!==void 0,vr=gt?hr:wt?yr:gr,br=gt?_r:wt?mr:wr;function en(e,t){return vt(JSON.parse(e),t)}function vt(e,t){if(typeof e=="number")return l(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const r=e,a=Array(r.length);let o=null;function l(n,i=!1){if(n===qe)return;if(n===dt)return NaN;if(n===pt)return 1/0;if(n===ht)return-1/0;if(n===Fe)return-0;if(i||typeof n!="number")throw new Error("Invalid input");if(n in a)return a[n];const s=r[n];if(!s||typeof s!="object")a[n]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const u=s[0],c=t&&Object.hasOwn(t,u)?t[u]:void 0;if(c){let p=s[1];if(typeof p!="number"&&(p=r.push(s[1])-1),o??=new Set,o.has(p))throw new Error("Invalid circular reference");return o.add(p),a[n]=c(l(p)),o.delete(p),a[n]}switch(u){case"Date":a[n]=new Date(s[1]);break;case"Set":const p=new Set;a[n]=p;for(let d=1;d<s.length;d+=1)p.add(l(s[d]));break;case"Map":const f=new Map;a[n]=f;for(let d=1;d<s.length;d+=2)f.set(l(s[d]),l(s[d+1]));break;case"RegExp":a[n]=new RegExp(s[1],s[2]);break;case"Object":{const d=s[1];if(typeof r[d]=="object"&&r[d][0]!=="BigInt")throw new Error("Invalid input");a[n]=Object(l(d));break}case"BigInt":a[n]=BigInt(s[1]);break;case"null":const h=Object.create(null);a[n]=h;for(let d=1;d<s.length;d+=2){if(s[d]==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");h[s[d]]=l(s[d+1])}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":case"DataView":{if(r[s[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const d=globalThis[u],y=l(s[1]);a[n]=s[2]!==void 0?new d(y,s[2],s[3]):new d(y);break}case"ArrayBuffer":{const d=s[1];if(typeof d!="string")throw new Error("Invalid ArrayBuffer encoding");const y=br(d);a[n]=y;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const d=u.slice(9);a[n]=Temporal[d].from(s[1]);break}case"URL":{const d=new URL(s[1]);a[n]=d;break}case"URLSearchParams":{const d=new URLSearchParams(s[1]);a[n]=d;break}default:throw new Error(`Unknown type ${u}`)}}else if(s[0]===_t){const u=s[1];if(!ur(u))throw new Error("Invalid input");const c=[];a[n]=c,c[Re]=void 0,delete c[Re];for(let p=2;p<s.length;p+=2){const f=s[p];if(!mt(f)||f>=u)throw new Error("Invalid input");c[f]=l(s[p+1])}c.length=u}else{const u=new Array(s.length);a[n]=u;for(let c=0;c<s.length;c+=1){const p=s[c];p!==Pe&&(u[c]=l(p))}}else{const u={};a[n]=u;for(const c of Object.keys(s)){if(c==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const p=s[c];u[c]=l(p)}}return a[n]}return l(0)}function bt(e,t){const r=kr(!1,e,t);return typeof r=="string"?r:`[${r.join(",")}]`}function kr(e,t,r){const a=[],o=new Map,l=[];if(r)for(const c of Object.getOwnPropertyNames(r))l.push({key:c,fn:r[c]});const n=[];let i=0;function s(c,p){if(c===void 0)return qe;if(Number.isNaN(c))return dt;if(c===1/0)return pt;if(c===-1/0)return ht;if(c===0&&1/c<0)return Fe;if(o.has(c))return o.get(c);p??=i++,o.set(c,p);for(const{key:h,fn:d}of l){const y=d(c);if(y)return a[p]=`["${h}",${s(y)}]`,p}if(typeof c=="function")throw new M("Cannot stringify a function",n,c,t);if(typeof c=="symbol")throw new M("Cannot stringify a Symbol primitive",n,c,t);let f="";if(et(c))f=rt(c);else{if(typeof c.then=="function")throw new M("Cannot stringify a Promise or thenable — use stringifyAsync instead",n,c,t);{const h=ir(c);switch(h){case"Number":case"String":case"Boolean":case"BigInt":f=`["Object",${s(c.valueOf())}]`;break;case"Date":f=`["Date","${!isNaN(c.getDate())?c.toISOString():""}"]`;break;case"URL":f=`["URL",${D(c.toString())}]`;break;case"URLSearchParams":f=`["URLSearchParams",${D(c.toString())}]`;break;case"RegExp":const{source:y,flags:k}=c;f=k?`["RegExp",${D(y)},"${k}"]`:`["RegExp",${D(y)}]`;break;case"Array":{let _=!1;f="[";for(let w=0;w<c.length;w+=1)if(w>0&&(f+=","),Object.hasOwn(c,w))n.push(`[${w}]`),f+=s(c[w]),n.pop();else if(_)f+=Pe;else{const m=pr(c),v=m.length,A=String(c.length).length,O=(c.length-v)*3,b=4+A+v*(A+1);if(O>b){f="["+_t+","+c.length;for(let P=0;P<m.length;P++){const T=m[P];n.push(`[${T}]`),f+=","+T+","+s(c[T]),n.pop()}break}else _=!0,f+=Pe}f+="]";break}case"Set":f='["Set"';for(const _ of c)f+=`,${s(_)}`;f+="]";break;case"Map":f='["Map"';for(const[_,w]of c)n.push(`.get(${et(_)?rt(_):"..."})`),f+=`,${s(_)},${s(w)}`,n.pop();f+="]";break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":case"DataView":{const _=c;f='["'+h+'",'+s(_.buffer),_.byteLength!==_.buffer.byteLength&&(f+=`,${_.byteOffset},${_.length}`),f+="]";break}case"ArrayBuffer":{f=`["ArrayBuffer","${vr(c)}"]`;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":f=`["${h}",${D(c.toString())}]`;break;default:if(!sr(c))throw new M("Cannot stringify arbitrary non-POJOs",n,c,t);if(lr(c).length>0)throw new M("Cannot stringify POJOs with symbolic keys",n,c,t);if(Object.getPrototypeOf(c)===null){f='["null"';for(const _ of Object.keys(c)){if(_==="__proto__")throw new M("Cannot stringify objects with __proto__ keys",n,c,t);n.push(tt(_)),f+=`,${D(_)},${s(c[_])}`,n.pop()}f+="]"}else{f="{";let _=!1;for(const w of Object.keys(c)){if(w==="__proto__")throw new M("Cannot stringify objects with __proto__ keys",n,c,t);_&&(f+=","),_=!0,n.push(tt(w)),f+=`${D(w)}:${s(c[w])}`,n.pop()}f+="}"}}}}return a[p]=f,p}const u=s(t);return u<0?`${u}`:a}function rt(e){const t=typeof e;return t==="string"?D(e):e===void 0?qe.toString():e===0&&1/e<0?Fe.toString():t==="bigint"?`["BigInt","${e}"]`:String(e)}function Ar(e){return e.filter(t=>t!=null)}const Er="x-sveltekit-invalidated",Sr="x-sveltekit-trailing-slash",Or=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function jr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getPrototypeOf(t)===null||Object.getOwnPropertyNames(t).sort().join("\0")===Or}function Ir(e,t){const r=Object.getPrototypeOf(e)===null?Object.create(null):{};t.set(e,r),Object.defineProperty(r,At,{value:!0});for(const a of Object.keys(e).sort()){const o=e[a];Object.defineProperty(r,a,{value:t.get(o)??o,enumerable:!0,configurable:!0,writable:!0})}return r}const kt="__skrao",Pr="__skram",Rr="__skras",Tr="__skrag",At=Symbol(kt);function Ur(e,t,r){const a={[Tr]:i=>{if(i instanceof RegExp)throw new Error("Regular expressions are not valid remote function arguments")}};t&&(a[Pr]=i=>{if(!(i instanceof Map))return;const s=[];for(const[u,c]of i)s.push([n(u),n(c)]);return s.sort(([u,c],[p,f])=>u<p?-1:u>p?1:c<f?-1:c>f?1:0)},a[Rr]=i=>{if(!(i instanceof Set))return;const s=[];for(const u of i)s.push(n(u));return s.sort(),s},a[kt]=i=>{if(jr(i)&&!Object.hasOwn(i,At))return r.has(i)?r.get(i):Ir(i,r)});const l={...Object.fromEntries(Object.entries(e).map(([i,s])=>[i,s.encode])),...a},n=i=>bt(i,l);return l}function tn(e,t,r=!0){if(e===void 0)return"";const a=bt(e,Ur(t,r,new Map)),o=zt.encode(a);return Kt(o).replaceAll("=","").replaceAll("+","-").replaceAll("/","_")}function H(e,t){return e+"/"+t}function rn(e){const t=e.lastIndexOf("/");if(t===-1)throw new Error(`Invalid remote key: ${e}`);return{id:e.slice(0,t),payload:e.slice(t+1)}}function nn(e,t){if(!We)throw new Error("Remote functions require Svelte 5.44.0 or later");return We(e,t)}function fe(e){return e instanceof ve||e instanceof Me?e.status:500}function Lr(e){return e instanceof Me?e.text:"Internal Error"}const Nr="/__data.json",$r=".html__data.json";function Dr(e){return e.endsWith(".html")?e.replace(/\.html$/,$r):e.replace(/\/$/,"")+Nr}const nt={spanContext(){return Cr},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}},Cr={traceId:"",spanId:"",traceFlags:0};async function*xr(e){let t=!1,r="";const a=new TextDecoder;for(;;){let o=r.indexOf(`
|
|
3
|
+
`);for(;o!==-1;){const n=r.slice(0,o).trim();r=r.slice(o+1),n&&(yield JSON.parse(n)),o=r.indexOf(`
|
|
4
|
+
`)}if(t){const n=r.trim();n&&(yield JSON.parse(n));return}const l=await e.read();t=l.done,l.value&&(r+=a.decode(l.value,{stream:!0})),t&&(r+=a.decode())}}const Et=Ht??(e=>e()),Br=new Set(["icon","shortcut icon","apple-touch-icon"]);let G=null;const B=ut(ft)??{},Q=ut(lt)??{},x={url:Ze({}),page:Ze({}),navigating:Xt(null),updated:Gt()};function be(e){B[e]=F()}function St(e,t){let r=e+1;for(;B[r];)delete B[r],r+=1;for(r=t+1;Q[r];)delete Q[r],r+=1}function J(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(N)}async function Ot(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(U||"/");e&&await e.update()}}let He,Te,ue,$,Ue,S,jt={};const de=[],pe=[];let R=null;function ee(){R?.fork?.then(e=>e?.discard()),R=null}const ie=new Map,It=new Set,Mr=new Set,Z=new Set;let g={branch:[],error:null,url:null,nav:null},Ve=!1,he=!1,at=!0,te=!1,X=!1,Ye=!1,ne=!1,ae,E,I,L;const W=new Set;let Se;const _e=new Map,ye=new Map;async function an(e,t,r){globalThis.__sveltekit_1vih4d5&&(jt=globalThis.__sveltekit_1vih4d5.query??{},globalThis.__sveltekit_1vih4d5.prerender),document.URL!==location.href&&(location.href=location.href),S=e,await e.hooks.init?.(),He=ar(e),$=document.documentElement,Ue=t,Te=e.nodes[0],ue=e.nodes[1],Te(),ue(),E=history.state?.[C],I=history.state?.[q],E||(E=I=Date.now(),history.replaceState({...history.state,[C]:E,[q]:I},""));const a=B[E];function o(){a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y))}r?(o(),await Kr(Ue,r)):(await V({type:"enter",url:re(S.hash?Xr(new URL(location.href)):location.href),replace_state:!0}),o()),zr()}async function Pt(e=!0,t=!0){if(await(Se||=Promise.resolve()),!Se)return;Se=null;const r=L={},a=await oe(g.url,!0);ee();const o=new Map;if(ne){for(const n of _e.values())for(const{resource:i}of n.values())i.refresh();for(const[n,i]of ye)for(const[s,{resource:u}]of i){const c=H(n,s),p=u.reconnect();p.catch(N),o.set(c,p)}}if(e){const n=j.state,i=a&&await Ge(a);if(!i||r!==L)return;if(i.type==="redirect")return Je(new URL(i.location,g.url).href,{replaceState:!0},1,r);t||(i.props.page.state=n),xe(i.props.page),g={...i.state,nav:g.nav},Le(),ae.$set(i.props)}else Le();const l=[];for(const n of _e.values())for(const{resource:i}of n.values())l.push(i);for(const[n,i]of ye)for(const s of i.keys()){const u=H(n,s),c=o.get(u);c&&l.push(c)}await Promise.all(l).catch(N)}function Le(){de.length=0,ne=!1}function Rt(e){pe.some(t=>t?.snapshot)&&(Q[e]=pe.map(t=>t?.snapshot?.capture()))}function Tt(e){Q[e]?.forEach((t,r)=>{pe[r]?.snapshot?.restore(t)})}function ot(){be(E),Qe(ft,B),Rt(I),Qe(lt,Q)}async function Je(e,t,r,a){let o,l;t.invalidateAll&&ee(),await V({type:"goto",url:re(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:r,nav_token:a,accept:()=>{if(t.invalidateAll){ne=!0,o=new Set;for(const[n,i]of _e)for(const s of i.keys())o.add(H(n,s));l=new Set;for(const[n,i]of ye)for(const s of i.keys())l.add(H(n,s))}t.invalidate&&t.invalidate.forEach(Dt)}}),t.invalidateAll&&ce().then(ce).then(()=>{for(const[n,i]of _e)for(const[s,{resource:u}]of i)o?.has(H(n,s))&&u.refresh();for(const[n,i]of ye)for(const[s,{resource:u}]of i)l?.has(H(n,s))&&u.reconnect()})}async function qr(e){if(e.id!==R?.id){ee();const t={};W.add(t),R={id:e.id,token:t,promise:Ge({...e,preload:t}).then(r=>(W.delete(t),r.type==="loaded"&&r.state.error&&ee(),r)),fork:null}}return R.promise}async function Oe(e){const t=(await oe(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(r=>r[1]()))}async function Ut(e,t,r){const a={params:g.params,route:{id:g.route?.id??null},url:new URL(location.href)};g={...e.state,nav:a};const o=document.querySelector("style[data-sveltekit]");if(o&&o.remove(),xe(e.props.page),ae=new S.root({target:t,props:{...e.props,stores:x,components:pe},hydrate:r,sync:!1,transformError:void 0}),await Promise.resolve(),Tt(I),r){const l={from:null,to:{...a,scroll:B[E]??F()},willUnload:!1,type:"enter",complete:Promise.resolve()};Z.forEach(n=>n(l))}he=!0}async function me({url:e,params:t,branch:r,errors:a,status:o,error:l,route:n,form:i}){let s="never";if(U&&(e.pathname===U||e.pathname===U+"/"))s="always";else for(const d of r)d?.slash!==void 0&&(s=d.slash);e.pathname=Qt(e.pathname,s),e.search=e.search;const u={type:"loaded",state:{url:e,params:t,branch:r,error:l,route:n},props:{constructors:Ar(r).map(d=>d.node.component),page:se(j)}};i!==void 0&&(u.props.form=i);let c={},p=!j,f=0;for(let d=0;d<Math.max(r.length,g.branch.length);d+=1){const y=r[d],k=g.branch[d];y?.data!==k?.data&&(p=!0),y&&(c={...c,...y.data},p&&(u.props[`data_${f}`]=c),f+=1)}return(!g.url||e.href!==g.url.href||g.error!==l||i!==void 0&&i!==j.form||p)&&(u.props.page={error:l,params:t,route:{id:n?.id??null},state:{},status:o,url:new URL(e),form:i??null,data:p?c:j.data}),u}async function ze({loader:e,parent:t,url:r,params:a,route:o,server_data_node:l}){let n=null,i=!0;const s={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},u=await e();if(u.universal?.load){let c=function(...f){for(const h of f){const{href:d}=new URL(h,r);s.dependencies.add(d)}};const p={tracing:{enabled:!1,root:nt,current:nt},route:new Proxy(o,{get:(f,h)=>(i&&(s.route=!0),f[h])}),params:new Proxy(a,{get:(f,h)=>(i&&s.params.add(h),f[h])}),data:l?.data??null,url:Wt(r,()=>{i&&(s.url=!0)},f=>{i&&s.search_params.add(f)},S.hash),async fetch(f,h){f instanceof Request&&(h={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:[...f.headers].length>0?f?.headers:void 0,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.signal,...h});const{resolved:d,promise:y}=Lt(f,h,r);return i&&c(d.href),y},setHeaders:N,depends:c,parent(){return i&&(s.parent=!0),t()},untrack(f){i=!1;try{return f()}finally{i=!0}}};n=await u.universal.load.call(null,p)??null}return{node:u,loader:e,server:l,universal:u.universal?.load?{type:"data",data:n,uses:s}:null,data:n??l?.data??null,slash:u.universal?.trailingSlash??l?.slash}}function Lt(e,t,r){let a=e instanceof Request?e.url:e;const o=new URL(a,r);o.origin===r.origin&&(a=o.href.slice(r.origin.length));const l=he?tr(a,o.href,t):rr(a,t);return{resolved:o,promise:l}}function st(e,t,r,a,o,l){if(ne)return!0;if(!o)return!1;if(o.parent&&e||o.route&&t||o.url&&r)return!0;for(const n of o.search_params)if(a.has(n))return!0;for(const n of o.params)if(l[n]!==g.params[n])return!0;for(const n of o.dependencies)if(de.some(i=>i(new URL(n))))return!0;return!1}function Ke(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function Fr(e,t){if(!e)return new Set(t.searchParams.keys());const r=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const a of r){const o=e.searchParams.getAll(a),l=t.searchParams.getAll(a);o.every(n=>l.includes(n))&&l.every(n=>o.includes(n))&&r.delete(a)}return r}function it({error:e,url:t,route:r,params:a}){return{type:"loaded",state:{error:e,url:t,route:r,params:a,branch:[]},props:{page:se(j),constructors:[]}}}async function Ge({id:e,invalidating:t,url:r,params:a,route:o,preload:l}){if(R?.id===e)return W.delete(R.token),R.promise;const{errors:n,layouts:i,leaf:s}=o,u=[...i,s];n.forEach(m=>m?.().catch(N)),u.forEach(m=>m?.[1]().catch(N));let c=null;const p=g.url?e!==ge(g.url):!1,f=g.route?o.id!==g.route.id:!1,h=Fr(g.url,r);let d=!1;{const m=u.map((v,A)=>{const O=g.branch[A],b=!!v?.[0]&&(O?.loader!==v[1]||st(d,f,p,h,O.server?.uses,a));return b&&(d=!0),b});if(m.some(Boolean)){try{c=await Ct(r,m)}catch(v){const A=await Y(v,{url:r,params:a,route:{id:e}});return W.has(l)?it({error:A,url:r,params:a,route:o}):ke({status:fe(v),error:A,url:r,route:o})}if(c.type==="redirect")return c}}const y=c?.nodes;let k=!1;const _=u.map(async(m,v)=>{if(!m)return;const A=g.branch[v],O=y?.[v];if((!O||O.type==="skip")&&m[1]===A?.loader&&!st(k,f,p,h,A.universal?.uses,a))return A;if(k=!0,O?.type==="error")throw O;return ze({loader:m[1],url:r,params:a,route:o,parent:async()=>{const P={};for(let T=0;T<v;T+=1)Object.assign(P,(await _[T])?.data);return P},server_data_node:Ke(O===void 0&&m[0]?{type:"skip"}:O??null,m[0]?A?.server:void 0)})});for(const m of _)m.catch(N);const w=[];for(let m=0;m<u.length;m+=1)if(u[m])try{w.push(await _[m])}catch(v){if(v instanceof Be)return{type:"redirect",location:v.location};if(W.has(l))return it({error:await Y(v,{params:a,url:r,route:{id:o.id}}),url:r,params:a,route:o});let A=fe(v),O;if(y?.includes(v))A=v.status??A,O=v.error;else if(v instanceof ve)O=v.body;else{if(await x.updated.check())return await Ot(),await J(r);O=await Y(v,{params:a,url:r,route:{id:o.id}})}const b=await Hr(m,w,n);return b?me({url:r,params:a,branch:w.slice(0,b.idx).concat(b.node),errors:n,status:A,error:O,route:o}):await $t(r,{id:o.id},O,A)}else w.push(void 0);return me({url:r,params:a,branch:w,errors:n,status:200,error:null,route:o,form:t?void 0:null})}async function Hr(e,t,r){for(;e--;)if(r[e]){let a=e;for(;!t[a];)a-=1;try{return{idx:a+1,node:{node:await r[e](),loader:r[e],data:{},server:null,universal:null}}}catch{continue}}}async function ke({status:e,error:t,url:r,route:a}){const o={};let l=null;if(S.server_loads[0]===0)try{const i=await Ct(r,[!0]);if(i.type!=="data"||i.nodes[0]&&i.nodes[0].type!=="data")throw 0;l=i.nodes[0]??null}catch{(r.origin!==Ce||r.pathname!==location.pathname||Ve)&&await J(r)}try{const n=await ze({loader:Te,url:r,params:o,route:a,parent:()=>Promise.resolve({}),server_data_node:Ke(l)}),i={node:await ue(),loader:ue,universal:null,server:null,data:null};return me({url:r,params:o,branch:[n,i],status:e,error:t,errors:[],route:null})}catch(n){if(n instanceof Be)return Je(new URL(n.location,location.href),{},0);throw n}}async function Vr(e){const t=e.href;if(ie.has(t))return ie.get(t);let r;try{const a=(async()=>{let o=await S.hooks.reroute({url:new URL(e),fetch:async(l,n)=>Lt(l,n,e).promise})??e;if(typeof o=="string"){const l=new URL(e);S.hash?l.hash=o:l.pathname=o,o=l}return o})();ie.set(t,a),r=await a}catch{ie.delete(t);return}return r}async function oe(e,t){if(e&&!De(e,U,S.hash)){const r=await Vr(e);if(!r)return;const a=Yr(r);for(const o of He){const l=o.exec(a);if(l)return{id:ge(e),invalidating:t,route:o,params:Zt(l),url:e}}}}function Yr(e){return er(S.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(U.length))||"/"}function ge(e){return(S.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function Nt({url:e,type:t,intent:r,delta:a,event:o,scroll:l}){let n=!1;const i=Xe(g,r,e,t,l??null);a!==void 0&&(i.navigation.delta=a),o!==void 0&&(i.navigation.event=o);const s={...i.navigation,cancel:()=>{n=!0,i.reject(new Error("navigation cancelled"))}};return te||It.forEach(u=>u(s)),n?null:i}async function V({type:e,url:t,popped:r,keepfocus:a,noscroll:o,replace_state:l,state:n={},redirect_count:i=0,nav_token:s={},accept:u=N,block:c=N,event:p}){const f=L;L=s;const h=await oe(t,!1),d=e==="enter"?Xe(g,h,t,e):Nt({url:t,type:e,delta:r?.delta,intent:h,scroll:r?.scroll,event:p});if(!d){c(),L===s&&(L=f);return}const y=E,k=I;u(),te=!0,he&&d.navigation.type!=="enter"&&x.navigating.set(je.current=d.navigation);let _=h&&await Ge(h);if(!_){if(De(t,U,S.hash))return await J(t,l);_=await $t(t,{id:null},await Y(new Me(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,l)}if(t=h?.url||t,L!==s)return d.reject(new Error("navigation aborted")),!1;if(_.type==="redirect"){if(i<20){await V({type:e,url:new URL(_.location,t),popped:r,keepfocus:a,noscroll:o,replace_state:l,state:n,redirect_count:i+1,nav_token:s}),d.fulfil(void 0);return}_=await ke({status:500,error:await Y(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else _.props.page.status>=400&&await x.updated.check()&&(await Ot(),await J(t,l));if(Le(),be(y),Rt(k),_.props.page.url.pathname!==t.pathname&&(t.pathname=_.props.page.url.pathname),n=r?r.state:n,!r){const b=l?0:1,P={[C]:E+=b,[q]:I+=b,[we]:n};(l?history.replaceState:history.pushState).call(history,P,"",t),l||St(E,I)}const w=h&&R?.id===h.id?R.fork:null;R?.fork&&!w&&ee(),R=null,_.props.page.state=n;let m;if(he){const b=(await Promise.all(Array.from(Mr,z=>z(d.navigation)))).filter(z=>typeof z=="function");if(b.length>0){let z=function(){b.forEach(Ae=>{Z.delete(Ae)})};b.push(z),b.forEach(Ae=>{Z.add(Ae)})}const P=d.navigation.to;g={..._.state,nav:{params:P.params,route:P.route,url:P.url}},_.props.page&&(_.props.page.url=t);const T=w&&await w;T?m=T.commit():(G=null,ae.$set(_.props),G&&Object.assign(_.props.page,G),xe(_.props.page),m=Vt?.()),Ye=!0}else await Ut(_,Ue,!1);const{activeElement:v}=document;if(await m,await ce(),await ce(),L!==s)return d.reject(new Error("navigation aborted")),!1;_.props.page&&G&&Object.assign(_.props.page,G);let A=null;if(at){const b=r?r.scroll:o?F():null;b?scrollTo(b.x,b.y):(A=t.hash&&document.getElementById(Bt(t)))?A.scrollIntoView():scrollTo(0,0)}const O=document.activeElement!==v&&document.activeElement!==document.body;!a&&!O&&Gr(t,!A),at=!0,te=!1,e==="popstate"&&Tt(I),d.fulfil(void 0),d.navigation.to&&(d.navigation.to.scroll=F()),Z.forEach(b=>b(d.navigation)),x.navigating.set(je.current=null)}async function $t(e,t,r,a,o){return e.origin===Ce&&e.pathname===location.pathname&&!Ve?await ke({status:a,error:r,url:e,route:t}):await J(e,o)}function Jr(){let e,t={element:void 0,href:void 0},r;$.addEventListener("mousemove",i=>{const s=i.target;clearTimeout(e),e=setTimeout(()=>{l(s,K.hover)},20)});function a(i){i.defaultPrevented||l(i.composedPath()[0],K.tap)}$.addEventListener("mousedown",a),$.addEventListener("touchstart",a,{passive:!0});const o=new IntersectionObserver(i=>{for(const s of i)s.isIntersecting&&(Oe(new URL(s.target.href)),o.unobserve(s.target))},{threshold:0});async function l(i,s){const u=ct(i,$),c=u===t.element&&u?.href===t.href&&s>=r;if(!u||c)return;const{url:p,external:f,download:h}=Ie(u,U,S.hash);if(f||h)return;const d=le(u),y=p&&ge(g.url)===ge(p);if(!(d.reload||y))if(s<=d.preload_data){t={element:u,href:u.href},r=K.tap;const k=await oe(p,!1);if(!k)return;qr(k)}else s<=d.preload_code&&(t={element:u,href:u.href},r=s,Oe(p))}function n(){o.disconnect();for(const i of $.querySelectorAll("a")){const{url:s,external:u,download:c}=Ie(i,U,S.hash);if(u||c)continue;const p=le(i);p.reload||(p.preload_code===K.viewport&&o.observe(i),p.preload_code===K.eager&&Oe(s))}}Z.add(n),n()}function Y(e,t){if(e instanceof ve)return e.body;const r=fe(e),a=Lr(e);return S.hooks.handleError({error:e,event:t,status:r,message:a})??{message:a}}function on(e,t={}){return e=new URL(re(e)),e.origin!==Ce?Promise.reject(new Error("goto: invalid URL")):Je(e,t,0)}function sn(e){return Dt(e),Pt()}function Dt(e){if(typeof e=="function")de.push(e);else{const{href:t}=new URL(e,location.href);de.push(r=>r.href===t)}}function cn(){return ne=!0,Pt()}function ln(e,t){be(E);const r={[C]:E+=1,[q]:I,[$e]:j.url.href,[we]:t};history.pushState(r,"",re(e)),Ye=!0,j.state=t,ae.$set({page:Et(()=>se(j))}),St(E,I)}function fn(e,t){const r={[C]:E,[q]:I,[$e]:j.url.href,[we]:t};history.replaceState(r,"",re(e)),j.state=t,ae.$set({page:Et(()=>se(j))})}function zr(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let r=!1;if(ot(),!te){const a=Xe(g,void 0,null,"leave"),o={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};It.forEach(l=>l(o))}r?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ot()}),navigator.connection?.saveData||Jr(),$.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const r=ct(t.composedPath()[0],$);if(!r)return;const{url:a,external:o,target:l,download:n}=Ie(r,U,S.hash);if(!a)return;if(l==="_parent"||l==="_top"){if(window.parent!==window)return}else if(l&&l!=="_self")return;const i=le(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||n)return;const[u,c]=(S.hash?a.hash.replace(/^#/,""):a.href).split("#"),p=u===Ee(location);if(o||i.reload&&(!p||!c)){Nt({url:a,type:"link",event:t})?te=!0:t.preventDefault();return}if(c!==void 0&&p){const[,f]=g.url.href.split("#");if(f===c){if(t.preventDefault(),c===""||c==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const h=r.ownerDocument.getElementById(decodeURIComponent(c));h&&(h.scrollIntoView(),h.focus())}return}if(X=!0,be(E),e(a),!i.replace_state)return;X=!1}t.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await V({type:"link",url:a,keepfocus:i.keepfocus,noscroll:i.noscroll,replace_state:i.replace_state??a.href===location.href,event:t})}),$.addEventListener("submit",t=>{if(t.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(t.target),a=t.submitter;if((a?.formTarget||r.target)==="_blank"||(a?.formMethod||r.method)!=="get")return;const n=new URL(a?.hasAttribute("formaction")&&a?.formAction||r.action);if(De(n,U,!1))return;const i=t.target,s=le(i);if(s.reload)return;t.preventDefault(),t.stopPropagation();const u=new FormData(i,a);n.search=new URLSearchParams(u).toString(),V({type:"form",url:n,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??n.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Ne){if(t.state?.[C]){const r=t.state[C];if(L={},r===E)return;const a=B[r],o=t.state[we]??{},l=new URL(t.state[$e]??location.href),n=t.state[q],i=g.url?Ee(location)===Ee(g.url):!1;if(n===I&&(Ye||i)){o!==j.state&&(j.state=o),e(l),B[E]=F(),a&&scrollTo(a.x,a.y),E=r;return}const u=r-E;await V({type:"popstate",url:l,popped:{state:o,scroll:a,delta:u},accept:()=>{E=r,I=n},block:()=>{history.go(-u)},nav_token:L,event:t})}else if(!X){const r=new URL(location.href);e(r),S.hash&&location.reload()}}}),addEventListener("hashchange",()=>{X&&(X=!1,history.replaceState({...history.state,[C]:++E,[q]:I},"",location.href))});for(const t of document.querySelectorAll("link"))Br.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&x.navigating.set(je.current=null)});function e(t){g.url=j.url=t,x.page.set(se(j)),x.page.notify()}}async function Kr(e,{status:t=200,error:r,node_ids:a,params:o,route:l,server_route:n,data:i,form:s}){Ve=!0;const u=new URL(location.href);let c;({params:o={},route:l={id:null}}=await oe(u,!1)||{}),c=He.find(({id:h})=>h===l.id);let p,f=!0;try{const h=a.map(async(y,k)=>{const _=i[k];return _?.uses&&(_.uses=xt(_.uses)),ze({loader:S.nodes[y],url:u,params:o,route:l,parent:async()=>{const w={};for(let m=0;m<k;m+=1)Object.assign(w,(await h[m]).data);return w},server_data_node:Ke(_)})}),d=await Promise.all(h);if(c){const y=c.layouts;for(let k=0;k<y.length;k++)y[k]||d.splice(k,0,void 0)}p=await me({url:u,params:o,branch:d,status:t,error:r,errors:c?.errors,form:s,route:c??null})}catch(h){if(h instanceof Be){await J(new URL(h.location,location.href));return}p=await ke({status:fe(h),error:await Y(h,{url:u,params:o,route:l}),url:u,route:l}),e.textContent="",f=!1}finally{jt={}}p.props.page&&(p.props.page.state={}),await Ut(p,e,f)}async function Ct(e,t){const r=new URL(e);r.pathname=Dr(e.pathname),e.pathname.endsWith("/")&&r.searchParams.append(Sr,"1"),r.searchParams.append(Er,t.map(l=>l?"1":"0").join(""));const a=window.fetch,o=await a(r.href,{});if(!o.ok){let l;throw o.headers.get("content-type")?.includes("application/json")?l=await o.json():o.status===404?l="Not Found":o.status===500&&(l="Internal Error"),new ve(o.status,l)}return new Promise(async l=>{const n=new Map,i=o.body.getReader();function s(u){return vt(u,{...S.decoders,Promise:c=>new Promise((p,f)=>{n.set(c,{fulfil:p,reject:f})})})}for await(const u of xr(i)){if(u.type==="redirect")return l(u);if(u.type==="data")u.nodes?.forEach(c=>{c?.type==="data"&&(c.uses=xt(c.uses),c.data=s(c.data))}),l(u);else if(u.type==="chunk"){const{id:c,data:p,error:f}=u,h=n.get(c);n.delete(c),f?h.reject(s(f)):h.fulfil(s(p))}}})}function xt(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Ne=!1;function Gr(e,t=!0){const r=document.querySelector("[autofocus]");if(r)r.focus();else{const a=Bt(e);if(a&&document.getElementById(a)){const{x:l,y:n}=F();setTimeout(()=>{const i=history.state;Ne=!0,location.replace(new URL(`#${a}`,location.href)),history.replaceState(i,"",e),t&&scrollTo(l,n),Ne=!1})}else{const l=document.body,n=l.getAttribute("tabindex");l.tabIndex=-1,l.focus({preventScroll:!0,focusVisible:!1}),n!==null?l.setAttribute("tabindex",n):l.removeAttribute("tabindex")}const o=getSelection();if(o&&o.type!=="None"){const l=[];for(let n=0;n<o.rangeCount;n+=1)l.push(o.getRangeAt(n));setTimeout(()=>{if(o.rangeCount===l.length){for(let n=0;n<o.rangeCount;n+=1){const i=l[n],s=o.getRangeAt(n);if(i.commonAncestorContainer!==s.commonAncestorContainer||i.startContainer!==s.startContainer||i.endContainer!==s.endContainer||i.startOffset!==s.startOffset||i.endOffset!==s.endOffset)return}o.removeAllRanges()}})}}}function Xe(e,t,r,a,o=null){let l,n;const i=new Promise((u,c)=>{l=u,n=c});return i.catch(N),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:F()},to:r&&{params:t?.params??null,route:{id:t?.route?.id??null},url:r,scroll:o},willUnload:!t,type:a,complete:i},fulfil:l,reject:n}}function se(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function Xr(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function Bt(e){let t;if(S.hash){const[,,r]=e.hash.split("#",3);t=r??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{ve as H,Be as R,S as a,rn as b,H as c,tn as d,jt as e,ln as f,on as g,sn as h,cn as i,an as j,ye as l,en as p,_e as q,fn as r,x as s,nn as u};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as Xe,a as s,c as ce,f as v,t as xe}from"./DKMyRjux.js";import{t as m,p as Ye,b as ve,h as Ze,f as ee,a as Ve,g as t,u as S,s as w,c as o,r as i,d as X,n as _e}from"./DfW1b8bA.js";import{d as $e,s as y,e as Oe,a as Me}from"./CrLGr586.js";import{p as me,i as q}from"./DymqlScG.js";import{s as Te,c as ea,e as Ce,i as Pe}from"./wZh6TcLb.js";import{s as je}from"./DupjJGFi.js";import{r as aa}from"./
|
|
1
|
+
import{b as Xe,a as s,c as ce,f as v,t as xe}from"./DKMyRjux.js";import{t as m,p as Ye,b as ve,h as Ze,f as ee,a as Ve,g as t,u as S,s as w,c as o,r as i,d as X,n as _e}from"./DfW1b8bA.js";import{d as $e,s as y,e as Oe,a as Me}from"./CrLGr586.js";import{p as me,i as q}from"./DymqlScG.js";import{s as Te,c as ea,e as Ce,i as Pe}from"./wZh6TcLb.js";import{s as je}from"./DupjJGFi.js";import{r as aa}from"./_rBAec6D.js";import{T as ta}from"./Ddz9xOa-.js";function na(l){const e=l.match(/^(\s*)/);return e?e[1]:""}function ra(l,e,n,a,c){return l.ctrlKey||l.altKey||l.metaKey||a!==c||!["}","]",")",'"',"'","`"].includes(l.key)||n[a]!==l.key?!1:(l.preventDefault(),requestAnimationFrame(()=>{e.setSelectionRange(a+1,a+1)}),!0)}function sa(l,e,n,a,c){if(l.ctrlKey||l.altKey||l.metaKey)return!1;const f={"{":"}","[":"]","(":")",'"':'"',"'":"'","`":"`"}[l.key];if(!f)return!1;if(l.preventDefault(),a!==c){const D=n.substring(a,c),h=n.substring(0,a)+l.key+D+f+n.substring(c);return e.value=h,e.dispatchEvent(new Event("input",{bubbles:!0})),requestAnimationFrame(()=>{e.setSelectionRange(a+1,c+1)}),!0}const k=n.substring(0,a)+l.key+f+n.substring(c);return e.value=k,e.dispatchEvent(new Event("input",{bubbles:!0})),requestAnimationFrame(()=>{e.setSelectionRange(a+1,a+1)}),!0}function la(l,e,n,a){if(n===a){const _=e.lastIndexOf(`
|
|
2
2
|
`,n-1)+1,H=e.substring(_,n).match(/^(\s*)/)?.[1]||"";if(H.length===0)return;let L=1;H.startsWith(" ")?L=1:H.startsWith(" ")?L=2:H.startsWith(" ")&&(L=1);const W=e.substring(0,_)+e.substring(_+L);l.value=W,l.dispatchEvent(new Event("input",{bubbles:!0})),requestAnimationFrame(()=>{l.setSelectionRange(n-L,n-L)});return}const c=e.substring(0,n),p=e.substring(a),f=c.lastIndexOf(`
|
|
3
3
|
`)+1,h=e.substring(f,a).split(`
|
|
4
4
|
`).map(_=>{const E=_.match(/^(\s*)/)?.[1]||"";return E.length===0?_:E.startsWith(" ")?_.substring(1):E.startsWith(" ")?_.substring(2):E.startsWith(" ")?_.substring(1):_}),x=e.substring(0,f)+h.join(`
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ab as R,z as _,bj as S,b as l,g as o,j as b,bk as U,h as Y,u as j,d as a}from"./DfW1b8bA.js";import{n as T,a as A,p as H,b as N,c as C,v as K}from"./
|
|
1
|
+
import{ab as R,z as _,bj as S,b as l,g as o,j as b,bk as U,h as Y,u as j,d as a}from"./DfW1b8bA.js";import{n as T,a as A,p as H,b as N,c as C,v as K}from"./CmmE3z9D.js";import{q as d,l as M,c as Q,p as O,a as g,b as B,H as m,g as W,R as J,d as $,u as V,e as v}from"./B2jd13FV.js";const q=Symbol("sveltekit.query_function_id"),x=Symbol("sveltekit.query_override_key"),k=Symbol("sveltekit.query_resource_key");function D(){try{return R(T),!0}catch{return!1}}function F(){return _(()=>{const r=A.current?.to?.url??H.url;return{"x-sveltekit-pathname":r.pathname,"x-sveltekit-search":r.search}})}async function G(r,e){const t=await fetch(r,{headers:{"Content-Type":"application/json",...e}});if(!t.ok)throw new m(500,"Failed to execute remote function");const n=await t.json();return(await L(n)).result}async function L(r){if(r.type==="redirect")throw await W(r.location),new J(307,r.location);if(r.type==="error")throw new m(r.status??500,r.error);return r}function X(r){const e=new Set,t=[],n=new Set;for(const s of r){if(typeof s=="function"){if(Object.hasOwn(s,q)){const i=s[q],u=d.get(i)??M.get(i);if(u)for(const y of u.keys())n.add(Q(i,y));continue}if(Object.hasOwn(s,x)){const i=s[x];if(n.add(i),e.has(i))throw new Error("Multiple overrides for the same query are not allowed in a single updates() invocation");e.add(i),t.push(s);continue}t.push(s);continue}if(typeof s=="object"&&s!==null&&Object.hasOwn(s,k)){n.add(s[k]);continue}throw new Error("updates() expects a query or live query function, query resource, or query override")}return{overrides:t,refreshes:n}}function z(r,e,t){const n=O(r,g.decoders);for(const[s,i]of Object.entries(n)){const u=B(s),y=e.get(u.id)?.get(u.payload);y?.resource&&t(y.resource,i)}}const Z=r=>{z(r,d,(e,t)=>{t.type==="result"?e?.set(t.data):e?.fail(new m(t.status??500,t.error))})},ee=r=>{z(r,M,(e,t)=>{t.type==="result"?(e?.set(t.data),e?.reconnect()):e?.fail(new m(t.status??500,t.error))})};function c(r){let e=l(0);const t=n=>{let s=null,i=null,u;S(e);const y={"Content-Type":"application/json",...F()},w=(async()=>{try{if(await Promise.resolve(),u)throw u;const p=await fetch(`${N}/${C}/remote/${r}`,{method:"POST",body:JSON.stringify({payload:$(n,g.hooks.transport,!1),refreshes:Array.from(i??[])}),headers:y});if(!p.ok)throw new Error("Failed to execute remote function");const h=await p.json();if(h.type==="redirect")throw new Error("Redirects are not allowed in commands. Return a result instead and use goto on the client");if(h.type==="error")throw new m(h.status??500,h.error);return h.refreshes&&Z(h.refreshes),h.reconnects&&ee(h.reconnects),O(h.result,g.decoders)}finally{s?.forEach(p=>p()),S(e,-1)}})();let E=!1;return w.updates=(...p)=>{if(E)return console.warn("Updates can only be sent once per command invocation. Ignoring additional updates."),w;E=!0;try{({refreshes:i,overrides:s}=X(p))}catch(h){u=h}return w},w};return Object.defineProperty(t,"pending",{get:()=>o(e)}),t}new TextDecoder;const P=`sveltekit:${K}`;let te;(async()=>{if(typeof caches<"u")try{te=await caches.open(P);const r=await caches.keys();for(const e of r)e.startsWith("sveltekit:")&&e!==P&&await caches.delete(e)}catch(r){console.warn("Failed to initialize SvelteKit cache:",r)}})();const I=new Map;typeof FinalizationRegistry>"u"||new FinalizationRegistry(r=>{const e=I.get(r);e&&e.deref()===void 0&&I.delete(r)});function re(){let r,e;return{promise:new Promise((n,s)=>{r=n,e=s}),resolve:r,reject:e}}function f(r){const e=t=>new ne(r,t,async(n,s)=>{const i=`${N}/${C}/remote/${r}${s?`?payload=${s}`:""}`,u=await V(n,()=>G(i,F()));return O(u,g.decoders)});return Object.defineProperty(e,q,{value:r}),e}class se{#t;#s;#e=l(!0);#r=[];#a=l(!1);#h=l();#n=l(null);#c=l(Y([]));#i=j(()=>{if(o(this.#a))return o(this.#c).reduce((e,t)=>t(e),o(this.#h))});#o=l(void 0);#d=j(()=>{const e=this.#l();return o(this.#c).length,(t,n)=>{const s=e.then(b).then(()=>o(this.#i));return t||n?s.then(t,n):s}});constructor(e,t){this.#t=e,this.#s=t}#l(){return _(()=>a(this.#n,o(this.#n)??this.#y())),o(this.#n)}#u(){b().then(()=>this.#l())}#f(){this.#r.forEach(e=>e(void 0)),this.#r.length=0}#y(){a(this.#e,!0);const{promise:e,resolve:t,reject:n}=re();return this.#r.push(t),Promise.resolve(this.#s()).then(s=>{const i=this.#r.indexOf(t);i!==-1&&(_(()=>{this.#r.splice(0,i).forEach(u=>u(void 0)),a(this.#a,!0),a(this.#e,!1),a(this.#h,s),a(this.#o,void 0)}),t(void 0))}).catch(s=>{const i=this.#r.indexOf(t);i!==-1&&(_(()=>{this.#r.splice(0,i).forEach(u=>u(void 0)),a(this.#o,s),a(this.#e,!1)}),n(s))}),e}get then(){return this.#u(),o(this.#d)}get catch(){return this.#u(),o(this.#d),e=>o(this.#d)(void 0,e)}get finally(){return this.#u(),o(this.#d),e=>o(this.#d)(t=>(e(),t),t=>{throw e(),t})}get current(){return this.#u(),o(this.#i)}get error(){return this.#u(),o(this.#o)}get loading(){return this.#u(),o(this.#e)}get ready(){return this.#u(),o(this.#a)}refresh(){return delete v[this.#t],a(this.#n,this.#y())}set(e){this.#f(),a(this.#a,!0),a(this.#e,!1),a(this.#o,void 0),a(this.#h,e),a(this.#n,Promise.resolve())}fail(e){this.#f(),a(this.#e,!1),a(this.#o,e);const t=Promise.reject(e);t.catch(T),a(this.#n,t)}withOverride(e){o(this.#c).push(e);const t=()=>{const n=o(this.#c).indexOf(e);n!==-1&&o(this.#c).splice(n,1)};return Object.defineProperty(t,x,{value:this.#t}),t}get[Symbol.toStringTag](){return"Query"}}class ne{#t;#s;#e;#r;#a=!0;#h=D();constructor(e,t,n){if(this.#t=e,this.#e=$(t,g.hooks.transport),this.#s=Q(e,this.#e),Object.defineProperty(this,k,{value:this.#s}),this.#r=n,!this.#h){this.#a=!1;return}const s=this.#n();R(()=>()=>{const i=this.#c(s);b().then(i)})}#n(){let e=d.get(this.#t);e||(e=new Map,d.set(this.#t,e));let t=e.get(this.#e);if(!t){const n=t={count:0,resource:null,cleanup:null};n.cleanup=U(()=>{n.resource=new se(this.#s,()=>this.#r(this.#s,this.#e))}),e.set(this.#e,t)}return t.count+=1,t}#c(e,t=!0){return this.#a&&=!t,e.count-=1,()=>{const n=d.get(this.#t),s=n?.get(this.#e);s?.count===0&&(s.cleanup(),n?.delete(this.#e)),n?.size===0&&d.delete(this.#t)}}#i(){return d.get(this.#t)?.get(this.#e)?.resource}get current(){return this.#i()?.current}get error(){return this.#i()?.error}get loading(){return this.#i()?.loading??!1}get ready(){return this.#i()?.ready??!1}run(){if(D())throw new Error("On the client, .run() can only be called outside render, e.g. in universal `load` functions and event handlers. In render, await the query directly");return Object.hasOwn(v,this.#s)?Promise.resolve(v[this.#s]):this.#r(this.#s,this.#e)}refresh(){return this.#i()?.refresh()??Promise.resolve()}set(e){this.#i()?.set(e)}withOverride(e){const t=this.#n(),n=t.resource.withOverride(e),s=()=>{n(),this.#c(t,!1)()};return Object.defineProperty(s,x,{value:n[x]}),s}#o(){if(!this.#h)throw new Error("This query was not created in a reactive context and cannot be awaited. Use `.run()` to execute the query instead.");if(!this.#a)throw new Error("This query instance is no longer active and can no longer be awaited. This typically means you created the query in a tracking context and stashed it somewhere outside of a tracking context.");const e=d.get(this.#t)?.get(this.#e);if(!e)throw new Error("No cached query found. This should be impossible. Please file a bug report.");return e.resource}get then(){const e=this.#o();return e.then.bind(e)}get catch(){const e=this.#o();return e.catch.bind(e)}get finally(){const e=this.#o();return e.finally.bind(e)}get[Symbol.toStringTag](){return"QueryProxy"}}const ce=c("xxtqbu/addServer"),ue=c("xxtqbu/auditSchema"),he=c("xxtqbu/countDocuments"),de=f("xxtqbu/countDocumentsByTimeRange"),le=c("xxtqbu/createIndex"),fe=c("xxtqbu/deleteDocument"),ye=c("xxtqbu/deleteMany"),pe=f("xxtqbu/detectPrimaryNode"),ge=c("xxtqbu/dropCollection"),xe=c("xxtqbu/dropDatabase"),me=c("xxtqbu/dropIndex"),we=f("xxtqbu/explainQuery"),_e=f("xxtqbu/fetchMappedDocument"),be=f("xxtqbu/getIndexStatsFromNodes");f("xxtqbu/getIndexStatsWithReadPreference");const ve=f("xxtqbu/getServerNodes"),qe=c("xxtqbu/hideIndex"),ke=c("xxtqbu/insertDocument"),Oe=c("xxtqbu/loadDocuments"),Ee=c("xxtqbu/removeServer"),Se=c("xxtqbu/retryConnection"),je=c("xxtqbu/unhideIndex"),De=c("xxtqbu/updateDocument"),Pe=c("xxtqbu/updateMany");export{ue as a,fe as b,ce as c,xe as d,Ee as e,ge as f,_e as g,ve as h,ke as i,pe as j,be as k,me as l,le as m,je as n,qe as o,de as p,Oe as q,Se as r,he as s,we as t,De as u,Pe as v,ye as w};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{f as $,a as G,c as Ee}from"./DKMyRjux.js";import{p as tt,i as ye,g as P,b as ee,d as V,f as me,c as K,r as j,s as Q,u as oe,aQ as it,w as rt,a as st,t as xe}from"./DfW1b8bA.js";import{d as nt,a as te,s as De}from"./CrLGr586.js";import{p as Ce,i as Z}from"./DymqlScG.js";import{a as at}from"./OvZJ6gNJ.js";import{s as ut}from"./DupjJGFi.js";import{b as ot}from"./DgwByHCB.js";import{b as Ae}from"./C5dXZyme.js";import{g as ht}from"./bZzTqofF.js";import{r as Se}from"./CsbWzWJI.js";import{J as lt,j as ct}from"./D3UCTJm-.js";import{n as ve}from"./CUBPtF8t.js";import{P as pt}from"./DVIi8uNn.js";var he={exports:{}},dt=he.exports,ge;function ft(){return ge||(ge=1,(function(k,b){(function(c,S){k.exports=S()})(dt,function(){return(function(w){var c={};function S(h){if(c[h])return c[h].exports;var E=c[h]={exports:{},id:h,loaded:!1};return w[h].call(E.exports,E,E.exports,S),E.loaded=!0,E.exports}return S.m=w,S.c=c,S.p="",S(0)})([function(w,c,S){Object.defineProperty(c,"__esModule",{value:!0});var h=S(1),E=S(3),d=S(8),o=S(15);function g(s,e,t){var i=null,r=function(F,N){t&&t(F,N),i&&i.visit(F,N)},a=typeof t=="function"?r:null,l=!1;if(e){l=typeof e.comment=="boolean"&&e.comment;var x=typeof e.attachComment=="boolean"&&e.attachComment;(l||x)&&(i=new h.CommentHandler,i.attach=x,e.comment=!0,a=r)}var v=!1;e&&typeof e.sourceType=="string"&&(v=e.sourceType==="module");var A;e&&typeof e.jsx=="boolean"&&e.jsx?A=new E.JSXParser(s,e,a):A=new d.Parser(s,e,a);var B=v?A.parseModule():A.parseScript(),C=B;return l&&i&&(C.comments=i.comments),A.config.tokens&&(C.tokens=A.tokens),A.config.tolerant&&(C.errors=A.errorHandler.errors),C}c.parse=g;function m(s,e,t){var i=e||{};return i.sourceType="module",g(s,i,t)}c.parseModule=m;function D(s,e,t){var i=e||{};return i.sourceType="script",g(s,i,t)}c.parseScript=D;function n(s,e,t){var i=new o.Tokenizer(s,e),r;r=[];try{for(;;){var a=i.getNextToken();if(!a)break;t&&(a=t(a)),r.push(a)}}catch(l){i.errorHandler.tolerate(l)}return i.errorHandler.tolerant&&(r.errors=i.errors()),r}c.tokenize=n;var u=S(2);c.Syntax=u.Syntax,c.version="4.0.1"},function(w,c,S){Object.defineProperty(c,"__esModule",{value:!0});var h=S(2),E=(function(){function d(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return d.prototype.insertInnerComments=function(o,g){if(o.type===h.Syntax.BlockStatement&&o.body.length===0){for(var m=[],D=this.leading.length-1;D>=0;--D){var n=this.leading[D];g.end.offset>=n.start&&(m.unshift(n.comment),this.leading.splice(D,1),this.trailing.splice(D,1))}m.length&&(o.innerComments=m)}},d.prototype.findTrailingComments=function(o){var g=[];if(this.trailing.length>0){for(var m=this.trailing.length-1;m>=0;--m){var D=this.trailing[m];D.start>=o.end.offset&&g.unshift(D.comment)}return this.trailing.length=0,g}var n=this.stack[this.stack.length-1];if(n&&n.node.trailingComments){var u=n.node.trailingComments[0];u&&u.range[0]>=o.end.offset&&(g=n.node.trailingComments,delete n.node.trailingComments)}return g},d.prototype.findLeadingComments=function(o){for(var g=[],m;this.stack.length>0;){var D=this.stack[this.stack.length-1];if(D&&D.start>=o.start.offset)m=D.node,this.stack.pop();else break}if(m){for(var n=m.leadingComments?m.leadingComments.length:0,u=n-1;u>=0;--u){var s=m.leadingComments[u];s.range[1]<=o.start.offset&&(g.unshift(s),m.leadingComments.splice(u,1))}return m.leadingComments&&m.leadingComments.length===0&&delete m.leadingComments,g}for(var u=this.leading.length-1;u>=0;--u){var D=this.leading[u];D.start<=o.start.offset&&(g.unshift(D.comment),this.leading.splice(u,1))}return g},d.prototype.visitNode=function(o,g){if(!(o.type===h.Syntax.Program&&o.body.length>0)){this.insertInnerComments(o,g);var m=this.findTrailingComments(g),D=this.findLeadingComments(g);D.length>0&&(o.leadingComments=D),m.length>0&&(o.trailingComments=m),this.stack.push({node:o,start:g.start.offset})}},d.prototype.visitComment=function(o,g){var m=o.type[0]==="L"?"Line":"Block",D={type:m,value:o.value};if(o.range&&(D.range=o.range),o.loc&&(D.loc=o.loc),this.comments.push(D),this.attach){var n={comment:{type:m,value:o.value,range:[g.start.offset,g.end.offset]},start:g.start.offset};o.loc&&(n.comment.loc=o.loc),o.type=m,this.leading.push(n),this.trailing.push(n)}},d.prototype.visit=function(o,g){o.type==="LineComment"?this.visitComment(o,g):o.type==="BlockComment"?this.visitComment(o,g):this.attach&&this.visitNode(o,g)},d})();c.CommentHandler=E},function(w,c){Object.defineProperty(c,"__esModule",{value:!0}),c.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(w,c,S){var h=this&&this.__extends||(function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var r in i)i.hasOwnProperty(r)&&(t[r]=i[r])};return function(t,i){e(t,i);function r(){this.constructor=t}t.prototype=i===null?Object.create(i):(r.prototype=i.prototype,new r)}})();Object.defineProperty(c,"__esModule",{value:!0});var E=S(4),d=S(5),o=S(6),g=S(7),m=S(8),D=S(13),n=S(14);D.TokenName[100]="JSXIdentifier",D.TokenName[101]="JSXText";function u(e){var t;switch(e.type){case o.JSXSyntax.JSXIdentifier:var i=e;t=i.name;break;case o.JSXSyntax.JSXNamespacedName:var r=e;t=u(r.namespace)+":"+u(r.name);break;case o.JSXSyntax.JSXMemberExpression:var a=e;t=u(a.object)+"."+u(a.property);break}return t}var s=(function(e){h(t,e);function t(i,r,a){return e.call(this,i,r,a)||this}return t.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():e.prototype.parsePrimaryExpression.call(this)},t.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},t.prototype.finishJSX=function(){this.nextToken()},t.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},t.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},t.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},t.prototype.scanXHTMLEntity=function(i){for(var r="&",a=!0,l=!1,x=!1,v=!1;!this.scanner.eof()&&a&&!l;){var A=this.scanner.source[this.scanner.index];if(A===i)break;if(l=A===";",r+=A,++this.scanner.index,!l)switch(r.length){case 2:x=A==="#";break;case 3:x&&(v=A==="x",a=v||E.Character.isDecimalDigit(A.charCodeAt(0)),x=x&&!v);break;default:a=a&&!(x&&!E.Character.isDecimalDigit(A.charCodeAt(0))),a=a&&!(v&&!E.Character.isHexDigit(A.charCodeAt(0)));break}}if(a&&l&&r.length>2){var B=r.substr(1,r.length-2);x&&B.length>1?r=String.fromCharCode(parseInt(B.substr(1),10)):v&&B.length>2?r=String.fromCharCode(parseInt("0"+B.substr(1),16)):!x&&!v&&n.XHTMLEntities[B]&&(r=n.XHTMLEntities[B])}return r},t.prototype.lexJSX=function(){var i=this.scanner.source.charCodeAt(this.scanner.index);if(i===60||i===62||i===47||i===58||i===61||i===123||i===125){var r=this.scanner.source[this.scanner.index++];return{type:7,value:r,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index}}if(i===34||i===39){for(var a=this.scanner.index,l=this.scanner.source[this.scanner.index++],x="";!this.scanner.eof();){var v=this.scanner.source[this.scanner.index++];if(v===l)break;v==="&"?x+=this.scanXHTMLEntity(l):x+=v}return{type:8,value:x,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:a,end:this.scanner.index}}if(i===46){var A=this.scanner.source.charCodeAt(this.scanner.index+1),B=this.scanner.source.charCodeAt(this.scanner.index+2),r=A===46&&B===46?"...":".",a=this.scanner.index;return this.scanner.index+=r.length,{type:7,value:r,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:a,end:this.scanner.index}}if(i===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(E.Character.isIdentifierStart(i)&&i!==92){var a=this.scanner.index;for(++this.scanner.index;!this.scanner.eof();){var v=this.scanner.source.charCodeAt(this.scanner.index);if(E.Character.isIdentifierPart(v)&&v!==92)++this.scanner.index;else if(v===45)++this.scanner.index;else break}var C=this.scanner.source.slice(a,this.scanner.index);return{type:100,value:C,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:a,end:this.scanner.index}}return this.scanner.lex()},t.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var i=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(i)),i},t.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var i=this.scanner.index,r="";!this.scanner.eof();){var a=this.scanner.source[this.scanner.index];if(a==="{"||a==="<")break;++this.scanner.index,r+=a,E.Character.isLineTerminator(a.charCodeAt(0))&&(++this.scanner.lineNumber,a==="\r"&&this.scanner.source[this.scanner.index]===`
|
|
1
|
+
import{f as $,a as G,c as Ee}from"./DKMyRjux.js";import{p as tt,i as ye,g as P,b as ee,d as V,f as me,c as K,r as j,s as Q,u as oe,aQ as it,w as rt,a as st,t as xe}from"./DfW1b8bA.js";import{d as nt,a as te,s as De}from"./CrLGr586.js";import{p as Ce,i as Z}from"./DymqlScG.js";import{a as at}from"./OvZJ6gNJ.js";import{s as ut}from"./DupjJGFi.js";import{b as ot}from"./DgwByHCB.js";import{b as Ae}from"./C5dXZyme.js";import{g as ht}from"./BE54Cy37.js";import{r as Se}from"./_rBAec6D.js";import{J as lt,j as ct}from"./BCQ_Gxjq.js";import{n as ve}from"./CUBPtF8t.js";import{P as pt}from"./DVIi8uNn.js";var he={exports:{}},dt=he.exports,ge;function ft(){return ge||(ge=1,(function(k,b){(function(c,S){k.exports=S()})(dt,function(){return(function(w){var c={};function S(h){if(c[h])return c[h].exports;var E=c[h]={exports:{},id:h,loaded:!1};return w[h].call(E.exports,E,E.exports,S),E.loaded=!0,E.exports}return S.m=w,S.c=c,S.p="",S(0)})([function(w,c,S){Object.defineProperty(c,"__esModule",{value:!0});var h=S(1),E=S(3),d=S(8),o=S(15);function g(s,e,t){var i=null,r=function(F,N){t&&t(F,N),i&&i.visit(F,N)},a=typeof t=="function"?r:null,l=!1;if(e){l=typeof e.comment=="boolean"&&e.comment;var x=typeof e.attachComment=="boolean"&&e.attachComment;(l||x)&&(i=new h.CommentHandler,i.attach=x,e.comment=!0,a=r)}var v=!1;e&&typeof e.sourceType=="string"&&(v=e.sourceType==="module");var A;e&&typeof e.jsx=="boolean"&&e.jsx?A=new E.JSXParser(s,e,a):A=new d.Parser(s,e,a);var B=v?A.parseModule():A.parseScript(),C=B;return l&&i&&(C.comments=i.comments),A.config.tokens&&(C.tokens=A.tokens),A.config.tolerant&&(C.errors=A.errorHandler.errors),C}c.parse=g;function m(s,e,t){var i=e||{};return i.sourceType="module",g(s,i,t)}c.parseModule=m;function D(s,e,t){var i=e||{};return i.sourceType="script",g(s,i,t)}c.parseScript=D;function n(s,e,t){var i=new o.Tokenizer(s,e),r;r=[];try{for(;;){var a=i.getNextToken();if(!a)break;t&&(a=t(a)),r.push(a)}}catch(l){i.errorHandler.tolerate(l)}return i.errorHandler.tolerant&&(r.errors=i.errors()),r}c.tokenize=n;var u=S(2);c.Syntax=u.Syntax,c.version="4.0.1"},function(w,c,S){Object.defineProperty(c,"__esModule",{value:!0});var h=S(2),E=(function(){function d(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return d.prototype.insertInnerComments=function(o,g){if(o.type===h.Syntax.BlockStatement&&o.body.length===0){for(var m=[],D=this.leading.length-1;D>=0;--D){var n=this.leading[D];g.end.offset>=n.start&&(m.unshift(n.comment),this.leading.splice(D,1),this.trailing.splice(D,1))}m.length&&(o.innerComments=m)}},d.prototype.findTrailingComments=function(o){var g=[];if(this.trailing.length>0){for(var m=this.trailing.length-1;m>=0;--m){var D=this.trailing[m];D.start>=o.end.offset&&g.unshift(D.comment)}return this.trailing.length=0,g}var n=this.stack[this.stack.length-1];if(n&&n.node.trailingComments){var u=n.node.trailingComments[0];u&&u.range[0]>=o.end.offset&&(g=n.node.trailingComments,delete n.node.trailingComments)}return g},d.prototype.findLeadingComments=function(o){for(var g=[],m;this.stack.length>0;){var D=this.stack[this.stack.length-1];if(D&&D.start>=o.start.offset)m=D.node,this.stack.pop();else break}if(m){for(var n=m.leadingComments?m.leadingComments.length:0,u=n-1;u>=0;--u){var s=m.leadingComments[u];s.range[1]<=o.start.offset&&(g.unshift(s),m.leadingComments.splice(u,1))}return m.leadingComments&&m.leadingComments.length===0&&delete m.leadingComments,g}for(var u=this.leading.length-1;u>=0;--u){var D=this.leading[u];D.start<=o.start.offset&&(g.unshift(D.comment),this.leading.splice(u,1))}return g},d.prototype.visitNode=function(o,g){if(!(o.type===h.Syntax.Program&&o.body.length>0)){this.insertInnerComments(o,g);var m=this.findTrailingComments(g),D=this.findLeadingComments(g);D.length>0&&(o.leadingComments=D),m.length>0&&(o.trailingComments=m),this.stack.push({node:o,start:g.start.offset})}},d.prototype.visitComment=function(o,g){var m=o.type[0]==="L"?"Line":"Block",D={type:m,value:o.value};if(o.range&&(D.range=o.range),o.loc&&(D.loc=o.loc),this.comments.push(D),this.attach){var n={comment:{type:m,value:o.value,range:[g.start.offset,g.end.offset]},start:g.start.offset};o.loc&&(n.comment.loc=o.loc),o.type=m,this.leading.push(n),this.trailing.push(n)}},d.prototype.visit=function(o,g){o.type==="LineComment"?this.visitComment(o,g):o.type==="BlockComment"?this.visitComment(o,g):this.attach&&this.visitNode(o,g)},d})();c.CommentHandler=E},function(w,c){Object.defineProperty(c,"__esModule",{value:!0}),c.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(w,c,S){var h=this&&this.__extends||(function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var r in i)i.hasOwnProperty(r)&&(t[r]=i[r])};return function(t,i){e(t,i);function r(){this.constructor=t}t.prototype=i===null?Object.create(i):(r.prototype=i.prototype,new r)}})();Object.defineProperty(c,"__esModule",{value:!0});var E=S(4),d=S(5),o=S(6),g=S(7),m=S(8),D=S(13),n=S(14);D.TokenName[100]="JSXIdentifier",D.TokenName[101]="JSXText";function u(e){var t;switch(e.type){case o.JSXSyntax.JSXIdentifier:var i=e;t=i.name;break;case o.JSXSyntax.JSXNamespacedName:var r=e;t=u(r.namespace)+":"+u(r.name);break;case o.JSXSyntax.JSXMemberExpression:var a=e;t=u(a.object)+"."+u(a.property);break}return t}var s=(function(e){h(t,e);function t(i,r,a){return e.call(this,i,r,a)||this}return t.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():e.prototype.parsePrimaryExpression.call(this)},t.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},t.prototype.finishJSX=function(){this.nextToken()},t.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},t.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},t.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},t.prototype.scanXHTMLEntity=function(i){for(var r="&",a=!0,l=!1,x=!1,v=!1;!this.scanner.eof()&&a&&!l;){var A=this.scanner.source[this.scanner.index];if(A===i)break;if(l=A===";",r+=A,++this.scanner.index,!l)switch(r.length){case 2:x=A==="#";break;case 3:x&&(v=A==="x",a=v||E.Character.isDecimalDigit(A.charCodeAt(0)),x=x&&!v);break;default:a=a&&!(x&&!E.Character.isDecimalDigit(A.charCodeAt(0))),a=a&&!(v&&!E.Character.isHexDigit(A.charCodeAt(0)));break}}if(a&&l&&r.length>2){var B=r.substr(1,r.length-2);x&&B.length>1?r=String.fromCharCode(parseInt(B.substr(1),10)):v&&B.length>2?r=String.fromCharCode(parseInt("0"+B.substr(1),16)):!x&&!v&&n.XHTMLEntities[B]&&(r=n.XHTMLEntities[B])}return r},t.prototype.lexJSX=function(){var i=this.scanner.source.charCodeAt(this.scanner.index);if(i===60||i===62||i===47||i===58||i===61||i===123||i===125){var r=this.scanner.source[this.scanner.index++];return{type:7,value:r,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index}}if(i===34||i===39){for(var a=this.scanner.index,l=this.scanner.source[this.scanner.index++],x="";!this.scanner.eof();){var v=this.scanner.source[this.scanner.index++];if(v===l)break;v==="&"?x+=this.scanXHTMLEntity(l):x+=v}return{type:8,value:x,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:a,end:this.scanner.index}}if(i===46){var A=this.scanner.source.charCodeAt(this.scanner.index+1),B=this.scanner.source.charCodeAt(this.scanner.index+2),r=A===46&&B===46?"...":".",a=this.scanner.index;return this.scanner.index+=r.length,{type:7,value:r,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:a,end:this.scanner.index}}if(i===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(E.Character.isIdentifierStart(i)&&i!==92){var a=this.scanner.index;for(++this.scanner.index;!this.scanner.eof();){var v=this.scanner.source.charCodeAt(this.scanner.index);if(E.Character.isIdentifierPart(v)&&v!==92)++this.scanner.index;else if(v===45)++this.scanner.index;else break}var C=this.scanner.source.slice(a,this.scanner.index);return{type:100,value:C,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:a,end:this.scanner.index}}return this.scanner.lex()},t.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var i=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(i)),i},t.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var i=this.scanner.index,r="";!this.scanner.eof();){var a=this.scanner.source[this.scanner.index];if(a==="{"||a==="<")break;++this.scanner.index,r+=a,E.Character.isLineTerminator(a.charCodeAt(0))&&(++this.scanner.lineNumber,a==="\r"&&this.scanner.source[this.scanner.index]===`
|
|
2
2
|
`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var l={type:101,value:r,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:i,end:this.scanner.index};return r.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(l)),l},t.prototype.peekJSXToken=function(){var i=this.scanner.saveState();this.scanner.scanComments();var r=this.lexJSX();return this.scanner.restoreState(i),r},t.prototype.expectJSX=function(i){var r=this.nextJSXToken();(r.type!==7||r.value!==i)&&this.throwUnexpectedToken(r)},t.prototype.matchJSX=function(i){var r=this.peekJSXToken();return r.type===7&&r.value===i},t.prototype.parseJSXIdentifier=function(){var i=this.createJSXNode(),r=this.nextJSXToken();return r.type!==100&&this.throwUnexpectedToken(r),this.finalize(i,new d.JSXIdentifier(r.value))},t.prototype.parseJSXElementName=function(){var i=this.createJSXNode(),r=this.parseJSXIdentifier();if(this.matchJSX(":")){var a=r;this.expectJSX(":");var l=this.parseJSXIdentifier();r=this.finalize(i,new d.JSXNamespacedName(a,l))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var x=r;this.expectJSX(".");var v=this.parseJSXIdentifier();r=this.finalize(i,new d.JSXMemberExpression(x,v))}return r},t.prototype.parseJSXAttributeName=function(){var i=this.createJSXNode(),r,a=this.parseJSXIdentifier();if(this.matchJSX(":")){var l=a;this.expectJSX(":");var x=this.parseJSXIdentifier();r=this.finalize(i,new d.JSXNamespacedName(l,x))}else r=a;return r},t.prototype.parseJSXStringLiteralAttribute=function(){var i=this.createJSXNode(),r=this.nextJSXToken();r.type!==8&&this.throwUnexpectedToken(r);var a=this.getTokenRaw(r);return this.finalize(i,new g.Literal(r.value,a))},t.prototype.parseJSXExpressionAttribute=function(){var i=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var r=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(i,new d.JSXExpressionContainer(r))},t.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},t.prototype.parseJSXNameValueAttribute=function(){var i=this.createJSXNode(),r=this.parseJSXAttributeName(),a=null;return this.matchJSX("=")&&(this.expectJSX("="),a=this.parseJSXAttributeValue()),this.finalize(i,new d.JSXAttribute(r,a))},t.prototype.parseJSXSpreadAttribute=function(){var i=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var r=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(i,new d.JSXSpreadAttribute(r))},t.prototype.parseJSXAttributes=function(){for(var i=[];!this.matchJSX("/")&&!this.matchJSX(">");){var r=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();i.push(r)}return i},t.prototype.parseJSXOpeningElement=function(){var i=this.createJSXNode();this.expectJSX("<");var r=this.parseJSXElementName(),a=this.parseJSXAttributes(),l=this.matchJSX("/");return l&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(i,new d.JSXOpeningElement(r,l,a))},t.prototype.parseJSXBoundaryElement=function(){var i=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var r=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(i,new d.JSXClosingElement(r))}var a=this.parseJSXElementName(),l=this.parseJSXAttributes(),x=this.matchJSX("/");return x&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(i,new d.JSXOpeningElement(a,x,l))},t.prototype.parseJSXEmptyExpression=function(){var i=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(i,new d.JSXEmptyExpression)},t.prototype.parseJSXExpressionContainer=function(){var i=this.createJSXNode();this.expectJSX("{");var r;return this.matchJSX("}")?(r=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),r=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(i,new d.JSXExpressionContainer(r))},t.prototype.parseJSXChildren=function(){for(var i=[];!this.scanner.eof();){var r=this.createJSXChildNode(),a=this.nextJSXText();if(a.start<a.end){var l=this.getTokenRaw(a),x=this.finalize(r,new d.JSXText(a.value,l));i.push(x)}if(this.scanner.source[this.scanner.index]==="{"){var v=this.parseJSXExpressionContainer();i.push(v)}else break}return i},t.prototype.parseComplexJSXElement=function(i){for(var r=[];!this.scanner.eof();){i.children=i.children.concat(this.parseJSXChildren());var a=this.createJSXChildNode(),l=this.parseJSXBoundaryElement();if(l.type===o.JSXSyntax.JSXOpeningElement){var x=l;if(x.selfClosing){var v=this.finalize(a,new d.JSXElement(x,[],null));i.children.push(v)}else r.push(i),i={node:a,opening:x,closing:null,children:[]}}if(l.type===o.JSXSyntax.JSXClosingElement){i.closing=l;var A=u(i.opening.name),B=u(i.closing.name);if(A!==B&&this.tolerateError("Expected corresponding JSX closing tag for %0",A),r.length>0){var v=this.finalize(i.node,new d.JSXElement(i.opening,i.children,i.closing));i=r[r.length-1],i.children.push(v),r.pop()}else break}}return i},t.prototype.parseJSXElement=function(){var i=this.createJSXNode(),r=this.parseJSXOpeningElement(),a=[],l=null;if(!r.selfClosing){var x=this.parseComplexJSXElement({node:i,opening:r,closing:l,children:a});a=x.children,l=x.closing}return this.finalize(i,new d.JSXElement(r,a,l))},t.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var i=this.parseJSXElement();return this.finishJSX(),i},t.prototype.isStartOfExpression=function(){return e.prototype.isStartOfExpression.call(this)||this.match("<")},t})(m.Parser);c.JSXParser=s},function(w,c){Object.defineProperty(c,"__esModule",{value:!0});var S={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};c.Character={fromCodePoint:function(h){return h<65536?String.fromCharCode(h):String.fromCharCode(55296+(h-65536>>10))+String.fromCharCode(56320+(h-65536&1023))},isWhiteSpace:function(h){return h===32||h===9||h===11||h===12||h===160||h>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(h)>=0},isLineTerminator:function(h){return h===10||h===13||h===8232||h===8233},isIdentifierStart:function(h){return h===36||h===95||h>=65&&h<=90||h>=97&&h<=122||h===92||h>=128&&S.NonAsciiIdentifierStart.test(c.Character.fromCodePoint(h))},isIdentifierPart:function(h){return h===36||h===95||h>=65&&h<=90||h>=97&&h<=122||h>=48&&h<=57||h===92||h>=128&&S.NonAsciiIdentifierPart.test(c.Character.fromCodePoint(h))},isDecimalDigit:function(h){return h>=48&&h<=57},isHexDigit:function(h){return h>=48&&h<=57||h>=65&&h<=70||h>=97&&h<=102},isOctalDigit:function(h){return h>=48&&h<=55}}},function(w,c,S){Object.defineProperty(c,"__esModule",{value:!0});var h=S(6),E=(function(){function i(r){this.type=h.JSXSyntax.JSXClosingElement,this.name=r}return i})();c.JSXClosingElement=E;var d=(function(){function i(r,a,l){this.type=h.JSXSyntax.JSXElement,this.openingElement=r,this.children=a,this.closingElement=l}return i})();c.JSXElement=d;var o=(function(){function i(){this.type=h.JSXSyntax.JSXEmptyExpression}return i})();c.JSXEmptyExpression=o;var g=(function(){function i(r){this.type=h.JSXSyntax.JSXExpressionContainer,this.expression=r}return i})();c.JSXExpressionContainer=g;var m=(function(){function i(r){this.type=h.JSXSyntax.JSXIdentifier,this.name=r}return i})();c.JSXIdentifier=m;var D=(function(){function i(r,a){this.type=h.JSXSyntax.JSXMemberExpression,this.object=r,this.property=a}return i})();c.JSXMemberExpression=D;var n=(function(){function i(r,a){this.type=h.JSXSyntax.JSXAttribute,this.name=r,this.value=a}return i})();c.JSXAttribute=n;var u=(function(){function i(r,a){this.type=h.JSXSyntax.JSXNamespacedName,this.namespace=r,this.name=a}return i})();c.JSXNamespacedName=u;var s=(function(){function i(r,a,l){this.type=h.JSXSyntax.JSXOpeningElement,this.name=r,this.selfClosing=a,this.attributes=l}return i})();c.JSXOpeningElement=s;var e=(function(){function i(r){this.type=h.JSXSyntax.JSXSpreadAttribute,this.argument=r}return i})();c.JSXSpreadAttribute=e;var t=(function(){function i(r,a){this.type=h.JSXSyntax.JSXText,this.value=r,this.raw=a}return i})();c.JSXText=t},function(w,c){Object.defineProperty(c,"__esModule",{value:!0}),c.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(w,c,S){Object.defineProperty(c,"__esModule",{value:!0});var h=S(2),E=(function(){function p(f){this.type=h.Syntax.ArrayExpression,this.elements=f}return p})();c.ArrayExpression=E;var d=(function(){function p(f){this.type=h.Syntax.ArrayPattern,this.elements=f}return p})();c.ArrayPattern=d;var o=(function(){function p(f,y,I){this.type=h.Syntax.ArrowFunctionExpression,this.id=null,this.params=f,this.body=y,this.generator=!1,this.expression=I,this.async=!1}return p})();c.ArrowFunctionExpression=o;var g=(function(){function p(f,y,I){this.type=h.Syntax.AssignmentExpression,this.operator=f,this.left=y,this.right=I}return p})();c.AssignmentExpression=g;var m=(function(){function p(f,y){this.type=h.Syntax.AssignmentPattern,this.left=f,this.right=y}return p})();c.AssignmentPattern=m;var D=(function(){function p(f,y,I){this.type=h.Syntax.ArrowFunctionExpression,this.id=null,this.params=f,this.body=y,this.generator=!1,this.expression=I,this.async=!0}return p})();c.AsyncArrowFunctionExpression=D;var n=(function(){function p(f,y,I){this.type=h.Syntax.FunctionDeclaration,this.id=f,this.params=y,this.body=I,this.generator=!1,this.expression=!1,this.async=!0}return p})();c.AsyncFunctionDeclaration=n;var u=(function(){function p(f,y,I){this.type=h.Syntax.FunctionExpression,this.id=f,this.params=y,this.body=I,this.generator=!1,this.expression=!1,this.async=!0}return p})();c.AsyncFunctionExpression=u;var s=(function(){function p(f){this.type=h.Syntax.AwaitExpression,this.argument=f}return p})();c.AwaitExpression=s;var e=(function(){function p(f,y,I){var R=f==="||"||f==="&&";this.type=R?h.Syntax.LogicalExpression:h.Syntax.BinaryExpression,this.operator=f,this.left=y,this.right=I}return p})();c.BinaryExpression=e;var t=(function(){function p(f){this.type=h.Syntax.BlockStatement,this.body=f}return p})();c.BlockStatement=t;var i=(function(){function p(f){this.type=h.Syntax.BreakStatement,this.label=f}return p})();c.BreakStatement=i;var r=(function(){function p(f,y){this.type=h.Syntax.CallExpression,this.callee=f,this.arguments=y}return p})();c.CallExpression=r;var a=(function(){function p(f,y){this.type=h.Syntax.CatchClause,this.param=f,this.body=y}return p})();c.CatchClause=a;var l=(function(){function p(f){this.type=h.Syntax.ClassBody,this.body=f}return p})();c.ClassBody=l;var x=(function(){function p(f,y,I){this.type=h.Syntax.ClassDeclaration,this.id=f,this.superClass=y,this.body=I}return p})();c.ClassDeclaration=x;var v=(function(){function p(f,y,I){this.type=h.Syntax.ClassExpression,this.id=f,this.superClass=y,this.body=I}return p})();c.ClassExpression=v;var A=(function(){function p(f,y){this.type=h.Syntax.MemberExpression,this.computed=!0,this.object=f,this.property=y}return p})();c.ComputedMemberExpression=A;var B=(function(){function p(f,y,I){this.type=h.Syntax.ConditionalExpression,this.test=f,this.consequent=y,this.alternate=I}return p})();c.ConditionalExpression=B;var C=(function(){function p(f){this.type=h.Syntax.ContinueStatement,this.label=f}return p})();c.ContinueStatement=C;var F=(function(){function p(){this.type=h.Syntax.DebuggerStatement}return p})();c.DebuggerStatement=F;var N=(function(){function p(f,y){this.type=h.Syntax.ExpressionStatement,this.expression=f,this.directive=y}return p})();c.Directive=N;var T=(function(){function p(f,y){this.type=h.Syntax.DoWhileStatement,this.body=f,this.test=y}return p})();c.DoWhileStatement=T;var M=(function(){function p(){this.type=h.Syntax.EmptyStatement}return p})();c.EmptyStatement=M;var U=(function(){function p(f){this.type=h.Syntax.ExportAllDeclaration,this.source=f}return p})();c.ExportAllDeclaration=U;var q=(function(){function p(f){this.type=h.Syntax.ExportDefaultDeclaration,this.declaration=f}return p})();c.ExportDefaultDeclaration=q;var L=(function(){function p(f,y,I){this.type=h.Syntax.ExportNamedDeclaration,this.declaration=f,this.specifiers=y,this.source=I}return p})();c.ExportNamedDeclaration=L;var z=(function(){function p(f,y){this.type=h.Syntax.ExportSpecifier,this.exported=y,this.local=f}return p})();c.ExportSpecifier=z;var re=(function(){function p(f){this.type=h.Syntax.ExpressionStatement,this.expression=f}return p})();c.ExpressionStatement=re;var se=(function(){function p(f,y,I){this.type=h.Syntax.ForInStatement,this.left=f,this.right=y,this.body=I,this.each=!1}return p})();c.ForInStatement=se;var O=(function(){function p(f,y,I){this.type=h.Syntax.ForOfStatement,this.left=f,this.right=y,this.body=I}return p})();c.ForOfStatement=O;var Y=(function(){function p(f,y,I,R){this.type=h.Syntax.ForStatement,this.init=f,this.test=y,this.update=I,this.body=R}return p})();c.ForStatement=Y;var H=(function(){function p(f,y,I,R){this.type=h.Syntax.FunctionDeclaration,this.id=f,this.params=y,this.body=I,this.generator=R,this.expression=!1,this.async=!1}return p})();c.FunctionDeclaration=H;var X=(function(){function p(f,y,I,R){this.type=h.Syntax.FunctionExpression,this.id=f,this.params=y,this.body=I,this.generator=R,this.expression=!1,this.async=!1}return p})();c.FunctionExpression=X;var J=(function(){function p(f){this.type=h.Syntax.Identifier,this.name=f}return p})();c.Identifier=J;var W=(function(){function p(f,y,I){this.type=h.Syntax.IfStatement,this.test=f,this.consequent=y,this.alternate=I}return p})();c.IfStatement=W;var _=(function(){function p(f,y){this.type=h.Syntax.ImportDeclaration,this.specifiers=f,this.source=y}return p})();c.ImportDeclaration=_;var ne=(function(){function p(f){this.type=h.Syntax.ImportDefaultSpecifier,this.local=f}return p})();c.ImportDefaultSpecifier=ne;var ae=(function(){function p(f){this.type=h.Syntax.ImportNamespaceSpecifier,this.local=f}return p})();c.ImportNamespaceSpecifier=ae;var ue=(function(){function p(f,y){this.type=h.Syntax.ImportSpecifier,this.local=f,this.imported=y}return p})();c.ImportSpecifier=ue;var ce=(function(){function p(f,y){this.type=h.Syntax.LabeledStatement,this.label=f,this.body=y}return p})();c.LabeledStatement=ce;var pe=(function(){function p(f,y){this.type=h.Syntax.Literal,this.value=f,this.raw=y}return p})();c.Literal=pe;var de=(function(){function p(f,y){this.type=h.Syntax.MetaProperty,this.meta=f,this.property=y}return p})();c.MetaProperty=de;var Fe=(function(){function p(f,y,I,R,fe){this.type=h.Syntax.MethodDefinition,this.key=f,this.computed=y,this.value=I,this.kind=R,this.static=fe}return p})();c.MethodDefinition=Fe;var we=(function(){function p(f){this.type=h.Syntax.Program,this.body=f,this.sourceType="module"}return p})();c.Module=we;var ke=(function(){function p(f,y){this.type=h.Syntax.NewExpression,this.callee=f,this.arguments=y}return p})();c.NewExpression=ke;var be=(function(){function p(f){this.type=h.Syntax.ObjectExpression,this.properties=f}return p})();c.ObjectExpression=be;var Be=(function(){function p(f){this.type=h.Syntax.ObjectPattern,this.properties=f}return p})();c.ObjectPattern=Be;var Te=(function(){function p(f,y,I,R,fe,et){this.type=h.Syntax.Property,this.key=y,this.computed=I,this.value=R,this.kind=f,this.method=fe,this.shorthand=et}return p})();c.Property=Te;var Ie=(function(){function p(f,y,I,R){this.type=h.Syntax.Literal,this.value=f,this.raw=y,this.regex={pattern:I,flags:R}}return p})();c.RegexLiteral=Ie;var Ne=(function(){function p(f){this.type=h.Syntax.RestElement,this.argument=f}return p})();c.RestElement=Ne;var Me=(function(){function p(f){this.type=h.Syntax.ReturnStatement,this.argument=f}return p})();c.ReturnStatement=Me;var Pe=(function(){function p(f){this.type=h.Syntax.Program,this.body=f,this.sourceType="script"}return p})();c.Script=Pe;var Je=(function(){function p(f){this.type=h.Syntax.SequenceExpression,this.expressions=f}return p})();c.SequenceExpression=Je;var Xe=(function(){function p(f){this.type=h.Syntax.SpreadElement,this.argument=f}return p})();c.SpreadElement=Xe;var Ue=(function(){function p(f,y){this.type=h.Syntax.MemberExpression,this.computed=!1,this.object=f,this.property=y}return p})();c.StaticMemberExpression=Ue;var Le=(function(){function p(){this.type=h.Syntax.Super}return p})();c.Super=Le;var ze=(function(){function p(f,y){this.type=h.Syntax.SwitchCase,this.test=f,this.consequent=y}return p})();c.SwitchCase=ze;var Oe=(function(){function p(f,y){this.type=h.Syntax.SwitchStatement,this.discriminant=f,this.cases=y}return p})();c.SwitchStatement=Oe;var Re=(function(){function p(f,y){this.type=h.Syntax.TaggedTemplateExpression,this.tag=f,this.quasi=y}return p})();c.TaggedTemplateExpression=Re;var Ke=(function(){function p(f,y){this.type=h.Syntax.TemplateElement,this.value=f,this.tail=y}return p})();c.TemplateElement=Ke;var je=(function(){function p(f,y){this.type=h.Syntax.TemplateLiteral,this.quasis=f,this.expressions=y}return p})();c.TemplateLiteral=je;var He=(function(){function p(){this.type=h.Syntax.ThisExpression}return p})();c.ThisExpression=He;var We=(function(){function p(f){this.type=h.Syntax.ThrowStatement,this.argument=f}return p})();c.ThrowStatement=We;var Ge=(function(){function p(f,y,I){this.type=h.Syntax.TryStatement,this.block=f,this.handler=y,this.finalizer=I}return p})();c.TryStatement=Ge;var Ve=(function(){function p(f,y){this.type=h.Syntax.UnaryExpression,this.operator=f,this.argument=y,this.prefix=!0}return p})();c.UnaryExpression=Ve;var Ye=(function(){function p(f,y,I){this.type=h.Syntax.UpdateExpression,this.operator=f,this.argument=y,this.prefix=I}return p})();c.UpdateExpression=Ye;var _e=(function(){function p(f,y){this.type=h.Syntax.VariableDeclaration,this.declarations=f,this.kind=y}return p})();c.VariableDeclaration=_e;var qe=(function(){function p(f,y){this.type=h.Syntax.VariableDeclarator,this.id=f,this.init=y}return p})();c.VariableDeclarator=qe;var $e=(function(){function p(f,y){this.type=h.Syntax.WhileStatement,this.test=f,this.body=y}return p})();c.WhileStatement=$e;var Qe=(function(){function p(f,y){this.type=h.Syntax.WithStatement,this.object=f,this.body=y}return p})();c.WithStatement=Qe;var Ze=(function(){function p(f,y){this.type=h.Syntax.YieldExpression,this.argument=f,this.delegate=y}return p})();c.YieldExpression=Ze},function(w,c,S){Object.defineProperty(c,"__esModule",{value:!0});var h=S(9),E=S(10),d=S(11),o=S(7),g=S(12),m=S(2),D=S(13),n="ArrowParameterPlaceHolder",u=(function(){function s(e,t,i){t===void 0&&(t={}),this.config={range:typeof t.range=="boolean"&&t.range,loc:typeof t.loc=="boolean"&&t.loc,source:null,tokens:typeof t.tokens=="boolean"&&t.tokens,comment:typeof t.comment=="boolean"&&t.comment,tolerant:typeof t.tolerant=="boolean"&&t.tolerant},this.config.loc&&t.source&&t.source!==null&&(this.config.source=String(t.source)),this.delegate=i,this.errorHandler=new E.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new g.Scanner(e,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return s.prototype.throwError=function(e){var t=Array.prototype.slice.call(arguments,1),i=e.replace(/%(\d)/g,function(x,v){return h.assert(v<t.length,"Message reference must be in range"),t[v]}),r=this.lastMarker.index,a=this.lastMarker.line,l=this.lastMarker.column+1;throw this.errorHandler.createError(r,a,l,i)},s.prototype.tolerateError=function(e){var t=Array.prototype.slice.call(arguments,1),i=e.replace(/%(\d)/g,function(x,v){return h.assert(v<t.length,"Message reference must be in range"),t[v]}),r=this.lastMarker.index,a=this.scanner.lineNumber,l=this.lastMarker.column+1;this.errorHandler.tolerateError(r,a,l,i)},s.prototype.unexpectedTokenError=function(e,t){var i=t||d.Messages.UnexpectedToken,r;if(e?(t||(i=e.type===2?d.Messages.UnexpectedEOS:e.type===3?d.Messages.UnexpectedIdentifier:e.type===6?d.Messages.UnexpectedNumber:e.type===8?d.Messages.UnexpectedString:e.type===10?d.Messages.UnexpectedTemplate:d.Messages.UnexpectedToken,e.type===4&&(this.scanner.isFutureReservedWord(e.value)?i=d.Messages.UnexpectedReserved:this.context.strict&&this.scanner.isStrictModeReservedWord(e.value)&&(i=d.Messages.StrictReservedWord))),r=e.value):r="ILLEGAL",i=i.replace("%0",r),e&&typeof e.lineNumber=="number"){var a=e.start,l=e.lineNumber,x=this.lastMarker.index-this.lastMarker.column,v=e.start-x+1;return this.errorHandler.createError(a,l,v,i)}else{var a=this.lastMarker.index,l=this.lastMarker.line,v=this.lastMarker.column+1;return this.errorHandler.createError(a,l,v,i)}},s.prototype.throwUnexpectedToken=function(e,t){throw this.unexpectedTokenError(e,t)},s.prototype.tolerateUnexpectedToken=function(e,t){this.errorHandler.tolerate(this.unexpectedTokenError(e,t))},s.prototype.collectComments=function(){if(!this.config.comment)this.scanner.scanComments();else{var e=this.scanner.scanComments();if(e.length>0&&this.delegate)for(var t=0;t<e.length;++t){var i=e[t],r=void 0;r={type:i.multiLine?"BlockComment":"LineComment",value:this.scanner.source.slice(i.slice[0],i.slice[1])},this.config.range&&(r.range=i.range),this.config.loc&&(r.loc=i.loc);var a={start:{line:i.loc.start.line,column:i.loc.start.column,offset:i.range[0]},end:{line:i.loc.end.line,column:i.loc.end.column,offset:i.range[1]}};this.delegate(r,a)}}},s.prototype.getTokenRaw=function(e){return this.scanner.source.slice(e.start,e.end)},s.prototype.convertToken=function(e){var t={type:D.TokenName[e.type],value:this.getTokenRaw(e)};if(this.config.range&&(t.range=[e.start,e.end]),this.config.loc&&(t.loc={start:{line:this.startMarker.line,column:this.startMarker.column},end:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}),e.type===9){var i=e.pattern,r=e.flags;t.regex={pattern:i,flags:r}}return t},s.prototype.nextToken=function(){var e=this.lookahead;this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.collectComments(),this.scanner.index!==this.startMarker.index&&(this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart);var t=this.scanner.lex();return this.hasLineTerminator=e.lineNumber!==t.lineNumber,t&&this.context.strict&&t.type===3&&this.scanner.isStrictModeReservedWord(t.value)&&(t.type=4),this.lookahead=t,this.config.tokens&&t.type!==2&&this.tokens.push(this.convertToken(t)),e},s.prototype.nextRegexToken=function(){this.collectComments();var e=this.scanner.scanRegExp();return this.config.tokens&&(this.tokens.pop(),this.tokens.push(this.convertToken(e))),this.lookahead=e,this.nextToken(),e},s.prototype.createNode=function(){return{index:this.startMarker.index,line:this.startMarker.line,column:this.startMarker.column}},s.prototype.startNode=function(e,t){t===void 0&&(t=0);var i=e.start-e.lineStart,r=e.lineNumber;return i<0&&(i+=t,r--),{index:e.start,line:r,column:i}},s.prototype.finalize=function(e,t){if(this.config.range&&(t.range=[e.index,this.lastMarker.index]),this.config.loc&&(t.loc={start:{line:e.line,column:e.column},end:{line:this.lastMarker.line,column:this.lastMarker.column}},this.config.source&&(t.loc.source=this.config.source)),this.delegate){var i={start:{line:e.line,column:e.column,offset:e.index},end:{line:this.lastMarker.line,column:this.lastMarker.column,offset:this.lastMarker.index}};this.delegate(t,i)}return t},s.prototype.expect=function(e){var t=this.nextToken();(t.type!==7||t.value!==e)&&this.throwUnexpectedToken(t)},s.prototype.expectCommaSeparator=function(){if(this.config.tolerant){var e=this.lookahead;e.type===7&&e.value===","?this.nextToken():e.type===7&&e.value===";"?(this.nextToken(),this.tolerateUnexpectedToken(e)):this.tolerateUnexpectedToken(e,d.Messages.UnexpectedToken)}else this.expect(",")},s.prototype.expectKeyword=function(e){var t=this.nextToken();(t.type!==4||t.value!==e)&&this.throwUnexpectedToken(t)},s.prototype.match=function(e){return this.lookahead.type===7&&this.lookahead.value===e},s.prototype.matchKeyword=function(e){return this.lookahead.type===4&&this.lookahead.value===e},s.prototype.matchContextualKeyword=function(e){return this.lookahead.type===3&&this.lookahead.value===e},s.prototype.matchAssign=function(){if(this.lookahead.type!==7)return!1;var e=this.lookahead.value;return e==="="||e==="*="||e==="**="||e==="/="||e==="%="||e==="+="||e==="-="||e==="<<="||e===">>="||e===">>>="||e==="&="||e==="^="||e==="|="},s.prototype.isolateCoverGrammar=function(e){var t=this.context.isBindingElement,i=this.context.isAssignmentTarget,r=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var a=e.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=t,this.context.isAssignmentTarget=i,this.context.firstCoverInitializedNameError=r,a},s.prototype.inheritCoverGrammar=function(e){var t=this.context.isBindingElement,i=this.context.isAssignmentTarget,r=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var a=e.call(this);return this.context.isBindingElement=this.context.isBindingElement&&t,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&i,this.context.firstCoverInitializedNameError=r||this.context.firstCoverInitializedNameError,a},s.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type!==2&&!this.match("}")&&this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},s.prototype.parsePrimaryExpression=function(){var e=this.createNode(),t,i,r;switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(e,new o.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,d.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,i=this.nextToken(),r=this.getTokenRaw(i),t=this.finalize(e,new o.Literal(i.value,r));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,i=this.nextToken(),r=this.getTokenRaw(i),t=this.finalize(e,new o.Literal(i.value==="true",r));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,i=this.nextToken(),r=this.getTokenRaw(i),t=this.finalize(e,new o.Literal(null,r));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,i=this.nextRegexToken(),r=this.getTokenRaw(i),t=this.finalize(e,new o.RegexLiteral(i.regex,r,i.pattern,i.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(e,new o.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(e,new o.ThisExpression)):this.matchKeyword("class")?t=this.parseClassExpression():t=this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},s.prototype.parseSpreadElement=function(){var e=this.createNode();this.expect("...");var t=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(e,new o.SpreadElement(t))},s.prototype.parseArrayInitializer=function(){var e=this.createNode(),t=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),t.push(null);else if(this.match("...")){var i=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),t.push(i)}else t.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(e,new o.ArrayExpression(t))},s.prototype.parsePropertyMethod=function(e){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var t=this.context.strict,i=this.context.allowStrictDirective;this.context.allowStrictDirective=e.simple;var r=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&e.firstRestricted&&this.tolerateUnexpectedToken(e.firstRestricted,e.message),this.context.strict&&e.stricted&&this.tolerateUnexpectedToken(e.stricted,e.message),this.context.strict=t,this.context.allowStrictDirective=i,r},s.prototype.parsePropertyMethodFunction=function(){var e=!1,t=this.createNode(),i=this.context.allowYield;this.context.allowYield=!0;var r=this.parseFormalParameters(),a=this.parsePropertyMethod(r);return this.context.allowYield=i,this.finalize(t,new o.FunctionExpression(null,r.params,a,e))},s.prototype.parsePropertyMethodAsyncFunction=function(){var e=this.createNode(),t=this.context.allowYield,i=this.context.await;this.context.allowYield=!1,this.context.await=!0;var r=this.parseFormalParameters(),a=this.parsePropertyMethod(r);return this.context.allowYield=t,this.context.await=i,this.finalize(e,new o.AsyncFunctionExpression(null,r.params,a))},s.prototype.parseObjectPropertyKey=function(){var e=this.createNode(),t=this.nextToken(),i;switch(t.type){case 8:case 6:this.context.strict&&t.octal&&this.tolerateUnexpectedToken(t,d.Messages.StrictOctalLiteral);var r=this.getTokenRaw(t);i=this.finalize(e,new o.Literal(t.value,r));break;case 3:case 1:case 5:case 4:i=this.finalize(e,new o.Identifier(t.value));break;case 7:t.value==="["?(i=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):i=this.throwUnexpectedToken(t);break;default:i=this.throwUnexpectedToken(t)}return i},s.prototype.isPropertyKey=function(e,t){return e.type===m.Syntax.Identifier&&e.name===t||e.type===m.Syntax.Literal&&e.value===t},s.prototype.parseObjectProperty=function(e){var t=this.createNode(),i=this.lookahead,r,a=null,l=null,x=!1,v=!1,A=!1,B=!1;if(i.type===3){var C=i.value;this.nextToken(),x=this.match("["),B=!this.hasLineTerminator&&C==="async"&&!this.match(":")&&!this.match("(")&&!this.match("*")&&!this.match(","),a=B?this.parseObjectPropertyKey():this.finalize(t,new o.Identifier(C))}else this.match("*")?this.nextToken():(x=this.match("["),a=this.parseObjectPropertyKey());var F=this.qualifiedPropertyName(this.lookahead);if(i.type===3&&!B&&i.value==="get"&&F)r="get",x=this.match("["),a=this.parseObjectPropertyKey(),this.context.allowYield=!1,l=this.parseGetterMethod();else if(i.type===3&&!B&&i.value==="set"&&F)r="set",x=this.match("["),a=this.parseObjectPropertyKey(),l=this.parseSetterMethod();else if(i.type===7&&i.value==="*"&&F)r="init",x=this.match("["),a=this.parseObjectPropertyKey(),l=this.parseGeneratorMethod(),v=!0;else if(a||this.throwUnexpectedToken(this.lookahead),r="init",this.match(":")&&!B)!x&&this.isPropertyKey(a,"__proto__")&&(e.value&&this.tolerateError(d.Messages.DuplicateProtoProperty),e.value=!0),this.nextToken(),l=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))l=B?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),v=!0;else if(i.type===3){var C=this.finalize(t,new o.Identifier(i.value));if(this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),A=!0;var N=this.isolateCoverGrammar(this.parseAssignmentExpression);l=this.finalize(t,new o.AssignmentPattern(C,N))}else A=!0,l=C}else this.throwUnexpectedToken(this.nextToken());return this.finalize(t,new o.Property(r,a,x,l,v,A))},s.prototype.parseObjectInitializer=function(){var e=this.createNode();this.expect("{");for(var t=[],i={value:!1};!this.match("}");)t.push(this.parseObjectProperty(i)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(e,new o.ObjectExpression(t))},s.prototype.parseTemplateHead=function(){h.assert(this.lookahead.head,"Template literal must start with a template head");var e=this.createNode(),t=this.nextToken(),i=t.value,r=t.cooked;return this.finalize(e,new o.TemplateElement({raw:i,cooked:r},t.tail))},s.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var e=this.createNode(),t=this.nextToken(),i=t.value,r=t.cooked;return this.finalize(e,new o.TemplateElement({raw:i,cooked:r},t.tail))},s.prototype.parseTemplateLiteral=function(){var e=this.createNode(),t=[],i=[],r=this.parseTemplateHead();for(i.push(r);!r.tail;)t.push(this.parseExpression()),r=this.parseTemplateElement(),i.push(r);return this.finalize(e,new o.TemplateLiteral(i,t))},s.prototype.reinterpretExpressionAsPattern=function(e){switch(e.type){case m.Syntax.Identifier:case m.Syntax.MemberExpression:case m.Syntax.RestElement:case m.Syntax.AssignmentPattern:break;case m.Syntax.SpreadElement:e.type=m.Syntax.RestElement,this.reinterpretExpressionAsPattern(e.argument);break;case m.Syntax.ArrayExpression:e.type=m.Syntax.ArrayPattern;for(var t=0;t<e.elements.length;t++)e.elements[t]!==null&&this.reinterpretExpressionAsPattern(e.elements[t]);break;case m.Syntax.ObjectExpression:e.type=m.Syntax.ObjectPattern;for(var t=0;t<e.properties.length;t++)this.reinterpretExpressionAsPattern(e.properties[t].value);break;case m.Syntax.AssignmentExpression:e.type=m.Syntax.AssignmentPattern,delete e.operator,this.reinterpretExpressionAsPattern(e.left);break}},s.prototype.parseGroupExpression=function(){var e;if(this.expect("("),this.match(")"))this.nextToken(),this.match("=>")||this.expect("=>"),e={type:n,params:[],async:!1};else{var t=this.lookahead,i=[];if(this.match("..."))e=this.parseRestElement(i),this.expect(")"),this.match("=>")||this.expect("=>"),e={type:n,params:[e],async:!1};else{var r=!1;if(this.context.isBindingElement=!0,e=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var a=[];for(this.context.isAssignmentTarget=!1,a.push(e);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var l=0;l<a.length;l++)this.reinterpretExpressionAsPattern(a[l]);r=!0,e={type:n,params:a,async:!1}}else if(this.match("...")){this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),a.push(this.parseRestElement(i)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1;for(var l=0;l<a.length;l++)this.reinterpretExpressionAsPattern(a[l]);r=!0,e={type:n,params:a,async:!1}}else a.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(r)break}r||(e=this.finalize(this.startNode(t),new o.SequenceExpression(a)))}if(!r){if(this.expect(")"),this.match("=>")&&(e.type===m.Syntax.Identifier&&e.name==="yield"&&(r=!0,e={type:n,params:[e],async:!1}),!r)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),e.type===m.Syntax.SequenceExpression)for(var l=0;l<e.expressions.length;l++)this.reinterpretExpressionAsPattern(e.expressions[l]);else this.reinterpretExpressionAsPattern(e);var x=e.type===m.Syntax.SequenceExpression?e.expressions:[e];e={type:n,params:x,async:!1}}this.context.isBindingElement=!1}}}return e},s.prototype.parseArguments=function(){this.expect("(");var e=[];if(!this.match(")"))for(;;){var t=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAssignmentExpression);if(e.push(t),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),e},s.prototype.isIdentifierName=function(e){return e.type===3||e.type===4||e.type===1||e.type===5},s.prototype.parseIdentifierName=function(){var e=this.createNode(),t=this.nextToken();return this.isIdentifierName(t)||this.throwUnexpectedToken(t),this.finalize(e,new o.Identifier(t.value))},s.prototype.parseNewExpression=function(){var e=this.createNode(),t=this.parseIdentifierName();h.assert(t.name==="new","New expression must start with `new`");var i;if(this.match("."))if(this.nextToken(),this.lookahead.type===3&&this.context.inFunctionBody&&this.lookahead.value==="target"){var r=this.parseIdentifierName();i=new o.MetaProperty(t,r)}else this.throwUnexpectedToken(this.lookahead);else{var a=this.isolateCoverGrammar(this.parseLeftHandSideExpression),l=this.match("(")?this.parseArguments():[];i=new o.NewExpression(a,l),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return this.finalize(e,i)},s.prototype.parseAsyncArgument=function(){var e=this.parseAssignmentExpression();return this.context.firstCoverInitializedNameError=null,e},s.prototype.parseAsyncArguments=function(){this.expect("(");var e=[];if(!this.match(")"))for(;;){var t=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAsyncArgument);if(e.push(t),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),e},s.prototype.parseLeftHandSideExpressionAllowCall=function(){var e=this.lookahead,t=this.matchContextualKeyword("async"),i=this.context.allowIn;this.context.allowIn=!0;var r;for(this.matchKeyword("super")&&this.context.inFunctionBody?(r=this.createNode(),this.nextToken(),r=this.finalize(r,new o.Super),!this.match("(")&&!this.match(".")&&!this.match("[")&&this.throwUnexpectedToken(this.lookahead)):r=this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var a=this.parseIdentifierName();r=this.finalize(this.startNode(e),new o.StaticMemberExpression(r,a))}else if(this.match("(")){var l=t&&e.lineNumber===this.lookahead.lineNumber;this.context.isBindingElement=!1,this.context.isAssignmentTarget=!1;var x=l?this.parseAsyncArguments():this.parseArguments();if(r=this.finalize(this.startNode(e),new o.CallExpression(r,x)),l&&this.match("=>")){for(var v=0;v<x.length;++v)this.reinterpretExpressionAsPattern(x[v]);r={type:n,params:x,async:!0}}}else if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var a=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),r=this.finalize(this.startNode(e),new o.ComputedMemberExpression(r,a))}else if(this.lookahead.type===10&&this.lookahead.head){var A=this.parseTemplateLiteral();r=this.finalize(this.startNode(e),new o.TaggedTemplateExpression(r,A))}else break;return this.context.allowIn=i,r},s.prototype.parseSuper=function(){var e=this.createNode();return this.expectKeyword("super"),!this.match("[")&&!this.match(".")&&this.throwUnexpectedToken(this.lookahead),this.finalize(e,new o.Super)},s.prototype.parseLeftHandSideExpression=function(){h.assert(this.context.allowIn,"callee of new expression always allow in keyword.");for(var e=this.startNode(this.lookahead),t=this.matchKeyword("super")&&this.context.inFunctionBody?this.parseSuper():this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var i=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),t=this.finalize(e,new o.ComputedMemberExpression(t,i))}else if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var i=this.parseIdentifierName();t=this.finalize(e,new o.StaticMemberExpression(t,i))}else if(this.lookahead.type===10&&this.lookahead.head){var r=this.parseTemplateLiteral();t=this.finalize(e,new o.TaggedTemplateExpression(t,r))}else break;return t},s.prototype.parseUpdateExpression=function(){var e,t=this.lookahead;if(this.match("++")||this.match("--")){var i=this.startNode(t),r=this.nextToken();e=this.inheritCoverGrammar(this.parseUnaryExpression),this.context.strict&&e.type===m.Syntax.Identifier&&this.scanner.isRestrictedWord(e.name)&&this.tolerateError(d.Messages.StrictLHSPrefix),this.context.isAssignmentTarget||this.tolerateError(d.Messages.InvalidLHSInAssignment);var a=!0;e=this.finalize(i,new o.UpdateExpression(r.value,e,a)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else if(e=this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall),!this.hasLineTerminator&&this.lookahead.type===7&&(this.match("++")||this.match("--"))){this.context.strict&&e.type===m.Syntax.Identifier&&this.scanner.isRestrictedWord(e.name)&&this.tolerateError(d.Messages.StrictLHSPostfix),this.context.isAssignmentTarget||this.tolerateError(d.Messages.InvalidLHSInAssignment),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var l=this.nextToken().value,a=!1;e=this.finalize(this.startNode(t),new o.UpdateExpression(l,e,a))}return e},s.prototype.parseAwaitExpression=function(){var e=this.createNode();this.nextToken();var t=this.parseUnaryExpression();return this.finalize(e,new o.AwaitExpression(t))},s.prototype.parseUnaryExpression=function(){var e;if(this.match("+")||this.match("-")||this.match("~")||this.match("!")||this.matchKeyword("delete")||this.matchKeyword("void")||this.matchKeyword("typeof")){var t=this.startNode(this.lookahead),i=this.nextToken();e=this.inheritCoverGrammar(this.parseUnaryExpression),e=this.finalize(t,new o.UnaryExpression(i.value,e)),this.context.strict&&e.operator==="delete"&&e.argument.type===m.Syntax.Identifier&&this.tolerateError(d.Messages.StrictDelete),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else this.context.await&&this.matchContextualKeyword("await")?e=this.parseAwaitExpression():e=this.parseUpdateExpression();return e},s.prototype.parseExponentiationExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseUnaryExpression);if(t.type!==m.Syntax.UnaryExpression&&this.match("**")){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var i=t,r=this.isolateCoverGrammar(this.parseExponentiationExpression);t=this.finalize(this.startNode(e),new o.BinaryExpression("**",i,r))}return t},s.prototype.binaryPrecedence=function(e){var t=e.value,i;return e.type===7?i=this.operatorPrecedence[t]||0:e.type===4?i=t==="instanceof"||this.context.allowIn&&t==="in"?7:0:i=0,i},s.prototype.parseBinaryExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseExponentiationExpression),i=this.lookahead,r=this.binaryPrecedence(i);if(r>0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var a=[e,this.lookahead],l=t,x=this.isolateCoverGrammar(this.parseExponentiationExpression),v=[l,i.value,x],A=[r];r=this.binaryPrecedence(this.lookahead),!(r<=0);){for(;v.length>2&&r<=A[A.length-1];){x=v.pop();var B=v.pop();A.pop(),l=v.pop(),a.pop();var C=this.startNode(a[a.length-1]);v.push(this.finalize(C,new o.BinaryExpression(B,l,x)))}v.push(this.nextToken().value),A.push(r),a.push(this.lookahead),v.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var F=v.length-1;t=v[F];for(var N=a.pop();F>1;){var T=a.pop(),M=N&&N.lineStart,C=this.startNode(T,M),B=v[F-1];t=this.finalize(C,new o.BinaryExpression(B,v[F-2],t)),F-=2,N=T}}return t},s.prototype.parseConditionalExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var i=this.context.allowIn;this.context.allowIn=!0;var r=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=i,this.expect(":");var a=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new o.ConditionalExpression(t,r,a)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return t},s.prototype.checkPatternParam=function(e,t){switch(t.type){case m.Syntax.Identifier:this.validateParam(e,t,t.name);break;case m.Syntax.RestElement:this.checkPatternParam(e,t.argument);break;case m.Syntax.AssignmentPattern:this.checkPatternParam(e,t.left);break;case m.Syntax.ArrayPattern:for(var i=0;i<t.elements.length;i++)t.elements[i]!==null&&this.checkPatternParam(e,t.elements[i]);break;case m.Syntax.ObjectPattern:for(var i=0;i<t.properties.length;i++)this.checkPatternParam(e,t.properties[i].value);break}e.simple=e.simple&&t instanceof o.Identifier},s.prototype.reinterpretAsCoverFormalsList=function(e){var t=[e],i,r=!1;switch(e.type){case m.Syntax.Identifier:break;case n:t=e.params,r=e.async;break;default:return null}i={simple:!0,paramSet:{}};for(var a=0;a<t.length;++a){var l=t[a];l.type===m.Syntax.AssignmentPattern?l.right.type===m.Syntax.YieldExpression&&(l.right.argument&&this.throwUnexpectedToken(this.lookahead),l.right.type=m.Syntax.Identifier,l.right.name="yield",delete l.right.argument,delete l.right.delegate):r&&l.type===m.Syntax.Identifier&&l.name==="await"&&this.throwUnexpectedToken(this.lookahead),this.checkPatternParam(i,l),t[a]=l}if(this.context.strict||!this.context.allowYield)for(var a=0;a<t.length;++a){var l=t[a];l.type===m.Syntax.YieldExpression&&this.throwUnexpectedToken(this.lookahead)}if(i.message===d.Messages.StrictParamDupe){var x=this.context.strict?i.stricted:i.firstRestricted;this.throwUnexpectedToken(x,i.message)}return{simple:i.simple,params:t,stricted:i.stricted,firstRestricted:i.firstRestricted,message:i.message}},s.prototype.parseAssignmentExpression=function(){var e;if(!this.context.allowYield&&this.matchKeyword("yield"))e=this.parseYieldExpression();else{var t=this.lookahead,i=t;if(e=this.parseConditionalExpression(),i.type===3&&i.lineNumber===this.lookahead.lineNumber&&i.value==="async"&&(this.lookahead.type===3||this.matchKeyword("yield"))){var r=this.parsePrimaryExpression();this.reinterpretExpressionAsPattern(r),e={type:n,params:[r],async:!0}}if(e.type===n||this.match("=>")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var a=e.async,l=this.reinterpretAsCoverFormalsList(e);if(l){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var x=this.context.strict,v=this.context.allowStrictDirective;this.context.allowStrictDirective=l.simple;var A=this.context.allowYield,B=this.context.await;this.context.allowYield=!0,this.context.await=a;var C=this.startNode(t);this.expect("=>");var F=void 0;if(this.match("{")){var N=this.context.allowIn;this.context.allowIn=!0,F=this.parseFunctionSourceElements(),this.context.allowIn=N}else F=this.isolateCoverGrammar(this.parseAssignmentExpression);var T=F.type!==m.Syntax.BlockStatement;this.context.strict&&l.firstRestricted&&this.throwUnexpectedToken(l.firstRestricted,l.message),this.context.strict&&l.stricted&&this.tolerateUnexpectedToken(l.stricted,l.message),e=a?this.finalize(C,new o.AsyncArrowFunctionExpression(l.params,F,T)):this.finalize(C,new o.ArrowFunctionExpression(l.params,F,T)),this.context.strict=x,this.context.allowStrictDirective=v,this.context.allowYield=A,this.context.await=B}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(d.Messages.InvalidLHSInAssignment),this.context.strict&&e.type===m.Syntax.Identifier){var M=e;this.scanner.isRestrictedWord(M.name)&&this.tolerateUnexpectedToken(i,d.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(M.name)&&this.tolerateUnexpectedToken(i,d.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(e):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1),i=this.nextToken();var U=i.value,q=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new o.AssignmentExpression(U,e,q)),this.context.firstCoverInitializedNameError=null}}return e},s.prototype.parseExpression=function(){var e=this.lookahead,t=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var i=[];for(i.push(t);this.lookahead.type!==2&&this.match(",");)this.nextToken(),i.push(this.isolateCoverGrammar(this.parseAssignmentExpression));t=this.finalize(this.startNode(e),new o.SequenceExpression(i))}return t},s.prototype.parseStatementListItem=function(){var e;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,d.Messages.IllegalExportDeclaration),e=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,d.Messages.IllegalImportDeclaration),e=this.parseImportDeclaration();break;case"const":e=this.parseLexicalDeclaration({inFor:!1});break;case"function":e=this.parseFunctionDeclaration();break;case"class":e=this.parseClassDeclaration();break;case"let":e=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:e=this.parseStatement();break}else e=this.parseStatement();return e},s.prototype.parseBlock=function(){var e=this.createNode();this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseStatementListItem());return this.expect("}"),this.finalize(e,new o.BlockStatement(t))},s.prototype.parseLexicalBinding=function(e,t){var i=this.createNode(),r=[],a=this.parsePattern(r,e);this.context.strict&&a.type===m.Syntax.Identifier&&this.scanner.isRestrictedWord(a.name)&&this.tolerateError(d.Messages.StrictVarName);var l=null;return e==="const"?!this.matchKeyword("in")&&!this.matchContextualKeyword("of")&&(this.match("=")?(this.nextToken(),l=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(d.Messages.DeclarationMissingInitializer,"const")):(!t.inFor&&a.type!==m.Syntax.Identifier||this.match("="))&&(this.expect("="),l=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(i,new o.VariableDeclarator(a,l))},s.prototype.parseBindingList=function(e,t){for(var i=[this.parseLexicalBinding(e,t)];this.match(",");)this.nextToken(),i.push(this.parseLexicalBinding(e,t));return i},s.prototype.isLexicalDeclaration=function(){var e=this.scanner.saveState();this.scanner.scanComments();var t=this.scanner.lex();return this.scanner.restoreState(e),t.type===3||t.type===7&&t.value==="["||t.type===7&&t.value==="{"||t.type===4&&t.value==="let"||t.type===4&&t.value==="yield"},s.prototype.parseLexicalDeclaration=function(e){var t=this.createNode(),i=this.nextToken().value;h.assert(i==="let"||i==="const","Lexical declaration must be either let or const");var r=this.parseBindingList(i,e);return this.consumeSemicolon(),this.finalize(t,new o.VariableDeclaration(r,i))},s.prototype.parseBindingRestElement=function(e,t){var i=this.createNode();this.expect("...");var r=this.parsePattern(e,t);return this.finalize(i,new o.RestElement(r))},s.prototype.parseArrayPattern=function(e,t){var i=this.createNode();this.expect("[");for(var r=[];!this.match("]");)if(this.match(","))this.nextToken(),r.push(null);else{if(this.match("...")){r.push(this.parseBindingRestElement(e,t));break}else r.push(this.parsePatternWithDefault(e,t));this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(i,new o.ArrayPattern(r))},s.prototype.parsePropertyPattern=function(e,t){var i=this.createNode(),r=!1,a=!1,l=!1,x,v;if(this.lookahead.type===3){var A=this.lookahead;x=this.parseVariableIdentifier();var B=this.finalize(i,new o.Identifier(A.value));if(this.match("=")){e.push(A),a=!0,this.nextToken();var C=this.parseAssignmentExpression();v=this.finalize(this.startNode(A),new o.AssignmentPattern(B,C))}else this.match(":")?(this.expect(":"),v=this.parsePatternWithDefault(e,t)):(e.push(A),a=!0,v=B)}else r=this.match("["),x=this.parseObjectPropertyKey(),this.expect(":"),v=this.parsePatternWithDefault(e,t);return this.finalize(i,new o.Property("init",x,r,v,l,a))},s.prototype.parseObjectPattern=function(e,t){var i=this.createNode(),r=[];for(this.expect("{");!this.match("}");)r.push(this.parsePropertyPattern(e,t)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(i,new o.ObjectPattern(r))},s.prototype.parsePattern=function(e,t){var i;return this.match("[")?i=this.parseArrayPattern(e,t):this.match("{")?i=this.parseObjectPattern(e,t):(this.matchKeyword("let")&&(t==="const"||t==="let")&&this.tolerateUnexpectedToken(this.lookahead,d.Messages.LetInLexicalBinding),e.push(this.lookahead),i=this.parseVariableIdentifier(t)),i},s.prototype.parsePatternWithDefault=function(e,t){var i=this.lookahead,r=this.parsePattern(e,t);if(this.match("=")){this.nextToken();var a=this.context.allowYield;this.context.allowYield=!0;var l=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=a,r=this.finalize(this.startNode(i),new o.AssignmentPattern(r,l))}return r},s.prototype.parseVariableIdentifier=function(e){var t=this.createNode(),i=this.nextToken();return i.type===4&&i.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(i,d.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(i):i.type!==3?this.context.strict&&i.type===4&&this.scanner.isStrictModeReservedWord(i.value)?this.tolerateUnexpectedToken(i,d.Messages.StrictReservedWord):(this.context.strict||i.value!=="let"||e!=="var")&&this.throwUnexpectedToken(i):(this.context.isModule||this.context.await)&&i.type===3&&i.value==="await"&&this.tolerateUnexpectedToken(i),this.finalize(t,new o.Identifier(i.value))},s.prototype.parseVariableDeclaration=function(e){var t=this.createNode(),i=[],r=this.parsePattern(i,"var");this.context.strict&&r.type===m.Syntax.Identifier&&this.scanner.isRestrictedWord(r.name)&&this.tolerateError(d.Messages.StrictVarName);var a=null;return this.match("=")?(this.nextToken(),a=this.isolateCoverGrammar(this.parseAssignmentExpression)):r.type!==m.Syntax.Identifier&&!e.inFor&&this.expect("="),this.finalize(t,new o.VariableDeclarator(r,a))},s.prototype.parseVariableDeclarationList=function(e){var t={inFor:e.inFor},i=[];for(i.push(this.parseVariableDeclaration(t));this.match(",");)this.nextToken(),i.push(this.parseVariableDeclaration(t));return i},s.prototype.parseVariableStatement=function(){var e=this.createNode();this.expectKeyword("var");var t=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(e,new o.VariableDeclaration(t,"var"))},s.prototype.parseEmptyStatement=function(){var e=this.createNode();return this.expect(";"),this.finalize(e,new o.EmptyStatement)},s.prototype.parseExpressionStatement=function(){var e=this.createNode(),t=this.parseExpression();return this.consumeSemicolon(),this.finalize(e,new o.ExpressionStatement(t))},s.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(d.Messages.StrictFunction),this.parseStatement()},s.prototype.parseIfStatement=function(){var e=this.createNode(),t,i=null;this.expectKeyword("if"),this.expect("(");var r=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),i=this.parseIfClause())),this.finalize(e,new o.IfStatement(r,t,i))},s.prototype.parseDoWhileStatement=function(){var e=this.createNode();this.expectKeyword("do");var t=this.context.inIteration;this.context.inIteration=!0;var i=this.parseStatement();this.context.inIteration=t,this.expectKeyword("while"),this.expect("(");var r=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(e,new o.DoWhileStatement(i,r))},s.prototype.parseWhileStatement=function(){var e=this.createNode(),t;this.expectKeyword("while"),this.expect("(");var i=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var r=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=r}return this.finalize(e,new o.WhileStatement(i,t))},s.prototype.parseForStatement=function(){var e=null,t=null,i=null,r=!0,a,l,x=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){e=this.createNode(),this.nextToken();var v=this.context.allowIn;this.context.allowIn=!1;var A=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=v,A.length===1&&this.matchKeyword("in")){var B=A[0];B.init&&(B.id.type===m.Syntax.ArrayPattern||B.id.type===m.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(d.Messages.ForInOfLoopInitializer,"for-in"),e=this.finalize(e,new o.VariableDeclaration(A,"var")),this.nextToken(),a=e,l=this.parseExpression(),e=null}else A.length===1&&A[0].init===null&&this.matchContextualKeyword("of")?(e=this.finalize(e,new o.VariableDeclaration(A,"var")),this.nextToken(),a=e,l=this.parseAssignmentExpression(),e=null,r=!1):(e=this.finalize(e,new o.VariableDeclaration(A,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){e=this.createNode();var C=this.nextToken().value;if(!this.context.strict&&this.lookahead.value==="in")e=this.finalize(e,new o.Identifier(C)),this.nextToken(),a=e,l=this.parseExpression(),e=null;else{var v=this.context.allowIn;this.context.allowIn=!1;var A=this.parseBindingList(C,{inFor:!0});this.context.allowIn=v,A.length===1&&A[0].init===null&&this.matchKeyword("in")?(e=this.finalize(e,new o.VariableDeclaration(A,C)),this.nextToken(),a=e,l=this.parseExpression(),e=null):A.length===1&&A[0].init===null&&this.matchContextualKeyword("of")?(e=this.finalize(e,new o.VariableDeclaration(A,C)),this.nextToken(),a=e,l=this.parseAssignmentExpression(),e=null,r=!1):(this.consumeSemicolon(),e=this.finalize(e,new o.VariableDeclaration(A,C)))}}else{var F=this.lookahead,v=this.context.allowIn;if(this.context.allowIn=!1,e=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=v,this.matchKeyword("in"))(!this.context.isAssignmentTarget||e.type===m.Syntax.AssignmentExpression)&&this.tolerateError(d.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(e),a=e,l=this.parseExpression(),e=null;else if(this.matchContextualKeyword("of"))(!this.context.isAssignmentTarget||e.type===m.Syntax.AssignmentExpression)&&this.tolerateError(d.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(e),a=e,l=this.parseAssignmentExpression(),e=null,r=!1;else{if(this.match(",")){for(var N=[e];this.match(",");)this.nextToken(),N.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(F),new o.SequenceExpression(N))}this.expect(";")}}typeof a>"u"&&(this.match(";")||(t=this.parseExpression()),this.expect(";"),this.match(")")||(i=this.parseExpression()));var T;if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),T=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var M=this.context.inIteration;this.context.inIteration=!0,T=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=M}return typeof a>"u"?this.finalize(x,new o.ForStatement(e,t,i,T)):r?this.finalize(x,new o.ForInStatement(a,l,T)):this.finalize(x,new o.ForOfStatement(a,l,T))},s.prototype.parseContinueStatement=function(){var e=this.createNode();this.expectKeyword("continue");var t=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var i=this.parseVariableIdentifier();t=i;var r="$"+i.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,r)||this.throwError(d.Messages.UnknownLabel,i.name)}return this.consumeSemicolon(),t===null&&!this.context.inIteration&&this.throwError(d.Messages.IllegalContinue),this.finalize(e,new o.ContinueStatement(t))},s.prototype.parseBreakStatement=function(){var e=this.createNode();this.expectKeyword("break");var t=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var i=this.parseVariableIdentifier(),r="$"+i.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,r)||this.throwError(d.Messages.UnknownLabel,i.name),t=i}return this.consumeSemicolon(),t===null&&!this.context.inIteration&&!this.context.inSwitch&&this.throwError(d.Messages.IllegalBreak),this.finalize(e,new o.BreakStatement(t))},s.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(d.Messages.IllegalReturn);var e=this.createNode();this.expectKeyword("return");var t=!this.match(";")&&!this.match("}")&&!this.hasLineTerminator&&this.lookahead.type!==2||this.lookahead.type===8||this.lookahead.type===10,i=t?this.parseExpression():null;return this.consumeSemicolon(),this.finalize(e,new o.ReturnStatement(i))},s.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(d.Messages.StrictModeWith);var e=this.createNode(),t;this.expectKeyword("with"),this.expect("(");var i=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new o.WithStatement(i,t))},s.prototype.parseSwitchCase=function(){var e=this.createNode(),t;this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var i=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)i.push(this.parseStatementListItem());return this.finalize(e,new o.SwitchCase(t,i))},s.prototype.parseSwitchStatement=function(){var e=this.createNode();this.expectKeyword("switch"),this.expect("(");var t=this.parseExpression();this.expect(")");var i=this.context.inSwitch;this.context.inSwitch=!0;var r=[],a=!1;for(this.expect("{");!this.match("}");){var l=this.parseSwitchCase();l.test===null&&(a&&this.throwError(d.Messages.MultipleDefaultsInSwitch),a=!0),r.push(l)}return this.expect("}"),this.context.inSwitch=i,this.finalize(e,new o.SwitchStatement(t,r))},s.prototype.parseLabelledStatement=function(){var e=this.createNode(),t=this.parseExpression(),i;if(t.type===m.Syntax.Identifier&&this.match(":")){this.nextToken();var r=t,a="$"+r.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,a)&&this.throwError(d.Messages.Redeclaration,"Label",r.name),this.context.labelSet[a]=!0;var l=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),l=this.parseClassDeclaration();else if(this.matchKeyword("function")){var x=this.lookahead,v=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(x,d.Messages.StrictFunction):v.generator&&this.tolerateUnexpectedToken(x,d.Messages.GeneratorInLegacyContext),l=v}else l=this.parseStatement();delete this.context.labelSet[a],i=new o.LabeledStatement(r,l)}else this.consumeSemicolon(),i=new o.ExpressionStatement(t);return this.finalize(e,i)},s.prototype.parseThrowStatement=function(){var e=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(d.Messages.NewlineAfterThrow);var t=this.parseExpression();return this.consumeSemicolon(),this.finalize(e,new o.ThrowStatement(t))},s.prototype.parseCatchClause=function(){var e=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var t=[],i=this.parsePattern(t),r={},a=0;a<t.length;a++){var l="$"+t[a].value;Object.prototype.hasOwnProperty.call(r,l)&&this.tolerateError(d.Messages.DuplicateBinding,t[a].value),r[l]=!0}this.context.strict&&i.type===m.Syntax.Identifier&&this.scanner.isRestrictedWord(i.name)&&this.tolerateError(d.Messages.StrictCatchVariable),this.expect(")");var x=this.parseBlock();return this.finalize(e,new o.CatchClause(i,x))},s.prototype.parseFinallyClause=function(){return this.expectKeyword("finally"),this.parseBlock()},s.prototype.parseTryStatement=function(){var e=this.createNode();this.expectKeyword("try");var t=this.parseBlock(),i=this.matchKeyword("catch")?this.parseCatchClause():null,r=this.matchKeyword("finally")?this.parseFinallyClause():null;return!i&&!r&&this.throwError(d.Messages.NoCatchOrFinally),this.finalize(e,new o.TryStatement(t,i,r))},s.prototype.parseDebuggerStatement=function(){var e=this.createNode();return this.expectKeyword("debugger"),this.consumeSemicolon(),this.finalize(e,new o.DebuggerStatement)},s.prototype.parseStatement=function(){var e;switch(this.lookahead.type){case 1:case 5:case 6:case 8:case 10:case 9:e=this.parseExpressionStatement();break;case 7:var t=this.lookahead.value;t==="{"?e=this.parseBlock():t==="("?e=this.parseExpressionStatement():t===";"?e=this.parseEmptyStatement():e=this.parseExpressionStatement();break;case 3:e=this.matchAsyncFunction()?this.parseFunctionDeclaration():this.parseLabelledStatement();break;case 4:switch(this.lookahead.value){case"break":e=this.parseBreakStatement();break;case"continue":e=this.parseContinueStatement();break;case"debugger":e=this.parseDebuggerStatement();break;case"do":e=this.parseDoWhileStatement();break;case"for":e=this.parseForStatement();break;case"function":e=this.parseFunctionDeclaration();break;case"if":e=this.parseIfStatement();break;case"return":e=this.parseReturnStatement();break;case"switch":e=this.parseSwitchStatement();break;case"throw":e=this.parseThrowStatement();break;case"try":e=this.parseTryStatement();break;case"var":e=this.parseVariableStatement();break;case"while":e=this.parseWhileStatement();break;case"with":e=this.parseWithStatement();break;default:e=this.parseExpressionStatement();break}break;default:e=this.throwUnexpectedToken(this.lookahead)}return e},s.prototype.parseFunctionSourceElements=function(){var e=this.createNode();this.expect("{");var t=this.parseDirectivePrologues(),i=this.context.labelSet,r=this.context.inIteration,a=this.context.inSwitch,l=this.context.inFunctionBody;for(this.context.labelSet={},this.context.inIteration=!1,this.context.inSwitch=!1,this.context.inFunctionBody=!0;this.lookahead.type!==2&&!this.match("}");)t.push(this.parseStatementListItem());return this.expect("}"),this.context.labelSet=i,this.context.inIteration=r,this.context.inSwitch=a,this.context.inFunctionBody=l,this.finalize(e,new o.BlockStatement(t))},s.prototype.validateParam=function(e,t,i){var r="$"+i;this.context.strict?(this.scanner.isRestrictedWord(i)&&(e.stricted=t,e.message=d.Messages.StrictParamName),Object.prototype.hasOwnProperty.call(e.paramSet,r)&&(e.stricted=t,e.message=d.Messages.StrictParamDupe)):e.firstRestricted||(this.scanner.isRestrictedWord(i)?(e.firstRestricted=t,e.message=d.Messages.StrictParamName):this.scanner.isStrictModeReservedWord(i)?(e.firstRestricted=t,e.message=d.Messages.StrictReservedWord):Object.prototype.hasOwnProperty.call(e.paramSet,r)&&(e.stricted=t,e.message=d.Messages.StrictParamDupe)),typeof Object.defineProperty=="function"?Object.defineProperty(e.paramSet,r,{value:!0,enumerable:!0,writable:!0,configurable:!0}):e.paramSet[r]=!0},s.prototype.parseRestElement=function(e){var t=this.createNode();this.expect("...");var i=this.parsePattern(e);return this.match("=")&&this.throwError(d.Messages.DefaultRestParameter),this.match(")")||this.throwError(d.Messages.ParameterAfterRestParameter),this.finalize(t,new o.RestElement(i))},s.prototype.parseFormalParameter=function(e){for(var t=[],i=this.match("...")?this.parseRestElement(t):this.parsePatternWithDefault(t),r=0;r<t.length;r++)this.validateParam(e,t[r],t[r].value);e.simple=e.simple&&i instanceof o.Identifier,e.params.push(i)},s.prototype.parseFormalParameters=function(e){var t;if(t={simple:!0,params:[],firstRestricted:e},this.expect("("),!this.match(")"))for(t.paramSet={};this.lookahead.type!==2&&(this.parseFormalParameter(t),!(this.match(")")||(this.expect(","),this.match(")")))););return this.expect(")"),{simple:t.simple,params:t.params,stricted:t.stricted,firstRestricted:t.firstRestricted,message:t.message}},s.prototype.matchAsyncFunction=function(){var e=this.matchContextualKeyword("async");if(e){var t=this.scanner.saveState();this.scanner.scanComments();var i=this.scanner.lex();this.scanner.restoreState(t),e=t.lineNumber===i.lineNumber&&i.type===4&&i.value==="function"}return e},s.prototype.parseFunctionDeclaration=function(e){var t=this.createNode(),i=this.matchContextualKeyword("async");i&&this.nextToken(),this.expectKeyword("function");var r=i?!1:this.match("*");r&&this.nextToken();var a,l=null,x=null;if(!e||!this.match("(")){var v=this.lookahead;l=this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(v.value)&&this.tolerateUnexpectedToken(v,d.Messages.StrictFunctionName):this.scanner.isRestrictedWord(v.value)?(x=v,a=d.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(v.value)&&(x=v,a=d.Messages.StrictReservedWord)}var A=this.context.await,B=this.context.allowYield;this.context.await=i,this.context.allowYield=!r;var C=this.parseFormalParameters(x),F=C.params,N=C.stricted;x=C.firstRestricted,C.message&&(a=C.message);var T=this.context.strict,M=this.context.allowStrictDirective;this.context.allowStrictDirective=C.simple;var U=this.parseFunctionSourceElements();return this.context.strict&&x&&this.throwUnexpectedToken(x,a),this.context.strict&&N&&this.tolerateUnexpectedToken(N,a),this.context.strict=T,this.context.allowStrictDirective=M,this.context.await=A,this.context.allowYield=B,i?this.finalize(t,new o.AsyncFunctionDeclaration(l,F,U)):this.finalize(t,new o.FunctionDeclaration(l,F,U,r))},s.prototype.parseFunctionExpression=function(){var e=this.createNode(),t=this.matchContextualKeyword("async");t&&this.nextToken(),this.expectKeyword("function");var i=t?!1:this.match("*");i&&this.nextToken();var r,a=null,l,x=this.context.await,v=this.context.allowYield;if(this.context.await=t,this.context.allowYield=!i,!this.match("(")){var A=this.lookahead;a=!this.context.strict&&!i&&this.matchKeyword("yield")?this.parseIdentifierName():this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(A.value)&&this.tolerateUnexpectedToken(A,d.Messages.StrictFunctionName):this.scanner.isRestrictedWord(A.value)?(l=A,r=d.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(A.value)&&(l=A,r=d.Messages.StrictReservedWord)}var B=this.parseFormalParameters(l),C=B.params,F=B.stricted;l=B.firstRestricted,B.message&&(r=B.message);var N=this.context.strict,T=this.context.allowStrictDirective;this.context.allowStrictDirective=B.simple;var M=this.parseFunctionSourceElements();return this.context.strict&&l&&this.throwUnexpectedToken(l,r),this.context.strict&&F&&this.tolerateUnexpectedToken(F,r),this.context.strict=N,this.context.allowStrictDirective=T,this.context.await=x,this.context.allowYield=v,t?this.finalize(e,new o.AsyncFunctionExpression(a,C,M)):this.finalize(e,new o.FunctionExpression(a,C,M,i))},s.prototype.parseDirective=function(){var e=this.lookahead,t=this.createNode(),i=this.parseExpression(),r=i.type===m.Syntax.Literal?this.getTokenRaw(e).slice(1,-1):null;return this.consumeSemicolon(),this.finalize(t,r?new o.Directive(i,r):new o.ExpressionStatement(i))},s.prototype.parseDirectivePrologues=function(){for(var e=null,t=[];;){var i=this.lookahead;if(i.type!==8)break;var r=this.parseDirective();t.push(r);var a=r.directive;if(typeof a!="string")break;a==="use strict"?(this.context.strict=!0,e&&this.tolerateUnexpectedToken(e,d.Messages.StrictOctalLiteral),this.context.allowStrictDirective||this.tolerateUnexpectedToken(i,d.Messages.IllegalLanguageModeDirective)):!e&&i.octal&&(e=i)}return t},s.prototype.qualifiedPropertyName=function(e){switch(e.type){case 3:case 8:case 1:case 5:case 6:case 4:return!0;case 7:return e.value==="["}return!1},s.prototype.parseGetterMethod=function(){var e=this.createNode(),t=!1,i=this.context.allowYield;this.context.allowYield=!t;var r=this.parseFormalParameters();r.params.length>0&&this.tolerateError(d.Messages.BadGetterArity);var a=this.parsePropertyMethod(r);return this.context.allowYield=i,this.finalize(e,new o.FunctionExpression(null,r.params,a,t))},s.prototype.parseSetterMethod=function(){var e=this.createNode(),t=!1,i=this.context.allowYield;this.context.allowYield=!t;var r=this.parseFormalParameters();r.params.length!==1?this.tolerateError(d.Messages.BadSetterArity):r.params[0]instanceof o.RestElement&&this.tolerateError(d.Messages.BadSetterRestParameter);var a=this.parsePropertyMethod(r);return this.context.allowYield=i,this.finalize(e,new o.FunctionExpression(null,r.params,a,t))},s.prototype.parseGeneratorMethod=function(){var e=this.createNode(),t=!0,i=this.context.allowYield;this.context.allowYield=!0;var r=this.parseFormalParameters();this.context.allowYield=!1;var a=this.parsePropertyMethod(r);return this.context.allowYield=i,this.finalize(e,new o.FunctionExpression(null,r.params,a,t))},s.prototype.isStartOfExpression=function(){var e=!0,t=this.lookahead.value;switch(this.lookahead.type){case 7:e=t==="["||t==="("||t==="{"||t==="+"||t==="-"||t==="!"||t==="~"||t==="++"||t==="--"||t==="/"||t==="/=";break;case 4:e=t==="class"||t==="delete"||t==="function"||t==="let"||t==="new"||t==="super"||t==="this"||t==="typeof"||t==="void"||t==="yield";break}return e},s.prototype.parseYieldExpression=function(){var e=this.createNode();this.expectKeyword("yield");var t=null,i=!1;if(!this.hasLineTerminator){var r=this.context.allowYield;this.context.allowYield=!1,i=this.match("*"),i?(this.nextToken(),t=this.parseAssignmentExpression()):this.isStartOfExpression()&&(t=this.parseAssignmentExpression()),this.context.allowYield=r}return this.finalize(e,new o.YieldExpression(t,i))},s.prototype.parseClassElement=function(e){var t=this.lookahead,i=this.createNode(),r="",a=null,l=null,x=!1,v=!1,A=!1,B=!1;if(this.match("*"))this.nextToken();else{x=this.match("["),a=this.parseObjectPropertyKey();var C=a;if(C.name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(t=this.lookahead,A=!0,x=this.match("["),this.match("*")?this.nextToken():a=this.parseObjectPropertyKey()),t.type===3&&!this.hasLineTerminator&&t.value==="async"){var F=this.lookahead.value;F!==":"&&F!=="("&&F!=="*"&&(B=!0,t=this.lookahead,a=this.parseObjectPropertyKey(),t.type===3&&t.value==="constructor"&&this.tolerateUnexpectedToken(t,d.Messages.ConstructorIsAsync))}}var N=this.qualifiedPropertyName(this.lookahead);return t.type===3?t.value==="get"&&N?(r="get",x=this.match("["),a=this.parseObjectPropertyKey(),this.context.allowYield=!1,l=this.parseGetterMethod()):t.value==="set"&&N&&(r="set",x=this.match("["),a=this.parseObjectPropertyKey(),l=this.parseSetterMethod()):t.type===7&&t.value==="*"&&N&&(r="init",x=this.match("["),a=this.parseObjectPropertyKey(),l=this.parseGeneratorMethod(),v=!0),!r&&a&&this.match("(")&&(r="init",l=B?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),v=!0),r||this.throwUnexpectedToken(this.lookahead),r==="init"&&(r="method"),x||(A&&this.isPropertyKey(a,"prototype")&&this.throwUnexpectedToken(t,d.Messages.StaticPrototype),!A&&this.isPropertyKey(a,"constructor")&&((r!=="method"||!v||l&&l.generator)&&this.throwUnexpectedToken(t,d.Messages.ConstructorSpecialMethod),e.value?this.throwUnexpectedToken(t,d.Messages.DuplicateConstructor):e.value=!0,r="constructor")),this.finalize(i,new o.MethodDefinition(a,x,l,r,A))},s.prototype.parseClassElementList=function(){var e=[],t={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():e.push(this.parseClassElement(t));return this.expect("}"),e},s.prototype.parseClassBody=function(){var e=this.createNode(),t=this.parseClassElementList();return this.finalize(e,new o.ClassBody(t))},s.prototype.parseClassDeclaration=function(e){var t=this.createNode(),i=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var r=e&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),a=null;this.matchKeyword("extends")&&(this.nextToken(),a=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var l=this.parseClassBody();return this.context.strict=i,this.finalize(t,new o.ClassDeclaration(r,a,l))},s.prototype.parseClassExpression=function(){var e=this.createNode(),t=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var i=this.lookahead.type===3?this.parseVariableIdentifier():null,r=null;this.matchKeyword("extends")&&(this.nextToken(),r=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var a=this.parseClassBody();return this.context.strict=t,this.finalize(e,new o.ClassExpression(i,r,a))},s.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var e=this.createNode(),t=this.parseDirectivePrologues();this.lookahead.type!==2;)t.push(this.parseStatementListItem());return this.finalize(e,new o.Module(t))},s.prototype.parseScript=function(){for(var e=this.createNode(),t=this.parseDirectivePrologues();this.lookahead.type!==2;)t.push(this.parseStatementListItem());return this.finalize(e,new o.Script(t))},s.prototype.parseModuleSpecifier=function(){var e=this.createNode();this.lookahead.type!==8&&this.throwError(d.Messages.InvalidModuleSpecifier);var t=this.nextToken(),i=this.getTokenRaw(t);return this.finalize(e,new o.Literal(t.value,i))},s.prototype.parseImportSpecifier=function(){var e=this.createNode(),t,i;return this.lookahead.type===3?(t=this.parseVariableIdentifier(),i=t,this.matchContextualKeyword("as")&&(this.nextToken(),i=this.parseVariableIdentifier())):(t=this.parseIdentifierName(),i=t,this.matchContextualKeyword("as")?(this.nextToken(),i=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(e,new o.ImportSpecifier(i,t))},s.prototype.parseNamedImports=function(){this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),e},s.prototype.parseImportDefaultSpecifier=function(){var e=this.createNode(),t=this.parseIdentifierName();return this.finalize(e,new o.ImportDefaultSpecifier(t))},s.prototype.parseImportNamespaceSpecifier=function(){var e=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(d.Messages.NoAsAfterImportNamespace),this.nextToken();var t=this.parseIdentifierName();return this.finalize(e,new o.ImportNamespaceSpecifier(t))},s.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(d.Messages.IllegalImportDeclaration);var e=this.createNode();this.expectKeyword("import");var t,i=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?i=i.concat(this.parseNamedImports()):this.match("*")?i.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(i.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?i.push(this.parseImportNamespaceSpecifier()):this.match("{")?i=i.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var r=this.lookahead.value?d.Messages.UnexpectedToken:d.Messages.MissingFromClause;this.throwError(r,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new o.ImportDeclaration(i,t))},s.prototype.parseExportSpecifier=function(){var e=this.createNode(),t=this.parseIdentifierName(),i=t;return this.matchContextualKeyword("as")&&(this.nextToken(),i=this.parseIdentifierName()),this.finalize(e,new o.ExportSpecifier(t,i))},s.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(d.Messages.IllegalExportDeclaration);var e=this.createNode();this.expectKeyword("export");var t;if(this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var i=this.parseFunctionDeclaration(!0);t=this.finalize(e,new o.ExportDefaultDeclaration(i))}else if(this.matchKeyword("class")){var i=this.parseClassDeclaration(!0);t=this.finalize(e,new o.ExportDefaultDeclaration(i))}else if(this.matchContextualKeyword("async")){var i=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression();t=this.finalize(e,new o.ExportDefaultDeclaration(i))}else{this.matchContextualKeyword("from")&&this.throwError(d.Messages.UnexpectedToken,this.lookahead.value);var i=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression();this.consumeSemicolon(),t=this.finalize(e,new o.ExportDefaultDeclaration(i))}else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var r=this.lookahead.value?d.Messages.UnexpectedToken:d.Messages.MissingFromClause;this.throwError(r,this.lookahead.value)}this.nextToken();var a=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new o.ExportAllDeclaration(a))}else if(this.lookahead.type===4){var i=void 0;switch(this.lookahead.value){case"let":case"const":i=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":i=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new o.ExportNamedDeclaration(i,[],null))}else if(this.matchAsyncFunction()){var i=this.parseFunctionDeclaration();t=this.finalize(e,new o.ExportNamedDeclaration(i,[],null))}else{var l=[],x=null,v=!1;for(this.expect("{");!this.match("}");)v=v||this.matchKeyword("default"),l.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");if(this.expect("}"),this.matchContextualKeyword("from"))this.nextToken(),x=this.parseModuleSpecifier(),this.consumeSemicolon();else if(v){var r=this.lookahead.value?d.Messages.UnexpectedToken:d.Messages.MissingFromClause;this.throwError(r,this.lookahead.value)}else this.consumeSemicolon();t=this.finalize(e,new o.ExportNamedDeclaration(null,l,x))}return t},s})();c.Parser=u},function(w,c){Object.defineProperty(c,"__esModule",{value:!0});function S(h,E){if(!h)throw new Error("ASSERT: "+E)}c.assert=S},function(w,c){Object.defineProperty(c,"__esModule",{value:!0});var S=(function(){function h(){this.errors=[],this.tolerant=!1}return h.prototype.recordError=function(E){this.errors.push(E)},h.prototype.tolerate=function(E){if(this.tolerant)this.recordError(E);else throw E},h.prototype.constructError=function(E,d){var o=new Error(E);try{throw o}catch(g){Object.create&&Object.defineProperty&&(o=Object.create(g),Object.defineProperty(o,"column",{value:d}))}return o},h.prototype.createError=function(E,d,o,g){var m="Line "+d+": "+g,D=this.constructError(m,o);return D.index=E,D.lineNumber=d,D.description=g,D},h.prototype.throwError=function(E,d,o,g){throw this.createError(E,d,o,g)},h.prototype.tolerateError=function(E,d,o,g){var m=this.createError(E,d,o,g);if(this.tolerant)this.recordError(m);else throw m},h})();c.ErrorHandler=S},function(w,c){Object.defineProperty(c,"__esModule",{value:!0}),c.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(w,c,S){Object.defineProperty(c,"__esModule",{value:!0});var h=S(9),E=S(4),d=S(11);function o(D){return"0123456789abcdef".indexOf(D.toLowerCase())}function g(D){return"01234567".indexOf(D)}var m=(function(){function D(n,u){this.source=n,this.errorHandler=u,this.trackComment=!1,this.isModule=!1,this.length=n.length,this.index=0,this.lineNumber=n.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return D.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},D.prototype.restoreState=function(n){this.index=n.index,this.lineNumber=n.lineNumber,this.lineStart=n.lineStart},D.prototype.eof=function(){return this.index>=this.length},D.prototype.throwUnexpectedToken=function(n){return n===void 0&&(n=d.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,n)},D.prototype.tolerateUnexpectedToken=function(n){n===void 0&&(n=d.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,n)},D.prototype.skipSingleLineComment=function(n){var u=[],s,e;for(this.trackComment&&(u=[],s=this.index-n,e={start:{line:this.lineNumber,column:this.index-this.lineStart-n},end:{}});!this.eof();){var t=this.source.charCodeAt(this.index);if(++this.index,E.Character.isLineTerminator(t)){if(this.trackComment){e.end={line:this.lineNumber,column:this.index-this.lineStart-1};var i={multiLine:!1,slice:[s+n,this.index-1],range:[s,this.index-1],loc:e};u.push(i)}return t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,u}}if(this.trackComment){e.end={line:this.lineNumber,column:this.index-this.lineStart};var i={multiLine:!1,slice:[s+n,this.index],range:[s,this.index],loc:e};u.push(i)}return u},D.prototype.skipMultiLineComment=function(){var n=[],u,s;for(this.trackComment&&(n=[],u=this.index-2,s={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(E.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){s.end={line:this.lineNumber,column:this.index-this.lineStart};var t={multiLine:!0,slice:[u+2,this.index-2],range:[u,this.index],loc:s};n.push(t)}return n}++this.index}else++this.index}if(this.trackComment){s.end={line:this.lineNumber,column:this.index-this.lineStart};var t={multiLine:!0,slice:[u+2,this.index],range:[u,this.index],loc:s};n.push(t)}return this.tolerateUnexpectedToken(),n},D.prototype.scanComments=function(){var n;this.trackComment&&(n=[]);for(var u=this.index===0;!this.eof();){var s=this.source.charCodeAt(this.index);if(E.Character.isWhiteSpace(s))++this.index;else if(E.Character.isLineTerminator(s))++this.index,s===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,u=!0;else if(s===47)if(s=this.source.charCodeAt(this.index+1),s===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(n=n.concat(e)),u=!0}else if(s===42){this.index+=2;var e=this.skipMultiLineComment();this.trackComment&&(n=n.concat(e))}else break;else if(u&&s===45)if(this.source.charCodeAt(this.index+1)===45&&this.source.charCodeAt(this.index+2)===62){this.index+=3;var e=this.skipSingleLineComment(3);this.trackComment&&(n=n.concat(e))}else break;else if(s===60&&!this.isModule)if(this.source.slice(this.index+1,this.index+4)==="!--"){this.index+=4;var e=this.skipSingleLineComment(4);this.trackComment&&(n=n.concat(e))}else break;else break}return n},D.prototype.isFutureReservedWord=function(n){switch(n){case"enum":case"export":case"import":case"super":return!0;default:return!1}},D.prototype.isStrictModeReservedWord=function(n){switch(n){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},D.prototype.isRestrictedWord=function(n){return n==="eval"||n==="arguments"},D.prototype.isKeyword=function(n){switch(n.length){case 2:return n==="if"||n==="in"||n==="do";case 3:return n==="var"||n==="for"||n==="new"||n==="try"||n==="let";case 4:return n==="this"||n==="else"||n==="case"||n==="void"||n==="with"||n==="enum";case 5:return n==="while"||n==="break"||n==="catch"||n==="throw"||n==="const"||n==="yield"||n==="class"||n==="super";case 6:return n==="return"||n==="typeof"||n==="delete"||n==="switch"||n==="export"||n==="import";case 7:return n==="default"||n==="finally"||n==="extends";case 8:return n==="function"||n==="continue"||n==="debugger";case 10:return n==="instanceof";default:return!1}},D.prototype.codePointAt=function(n){var u=this.source.charCodeAt(n);if(u>=55296&&u<=56319){var s=this.source.charCodeAt(n+1);if(s>=56320&&s<=57343){var e=u;u=(e-55296)*1024+s-56320+65536}}return u},D.prototype.scanHexEscape=function(n){for(var u=n==="u"?4:2,s=0,e=0;e<u;++e)if(!this.eof()&&E.Character.isHexDigit(this.source.charCodeAt(this.index)))s=s*16+o(this.source[this.index++]);else return null;return String.fromCharCode(s)},D.prototype.scanUnicodeCodePointEscape=function(){var n=this.source[this.index],u=0;for(n==="}"&&this.throwUnexpectedToken();!this.eof()&&(n=this.source[this.index++],!!E.Character.isHexDigit(n.charCodeAt(0)));)u=u*16+o(n);return(u>1114111||n!=="}")&&this.throwUnexpectedToken(),E.Character.fromCodePoint(u)},D.prototype.getIdentifier=function(){for(var n=this.index++;!this.eof();){var u=this.source.charCodeAt(this.index);if(u===92)return this.index=n,this.getComplexIdentifier();if(u>=55296&&u<57343)return this.index=n,this.getComplexIdentifier();if(E.Character.isIdentifierPart(u))++this.index;else break}return this.source.slice(n,this.index)},D.prototype.getComplexIdentifier=function(){var n=this.codePointAt(this.index),u=E.Character.fromCodePoint(n);this.index+=u.length;var s;for(n===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,s=this.scanUnicodeCodePointEscape()):(s=this.scanHexEscape("u"),(s===null||s==="\\"||!E.Character.isIdentifierStart(s.charCodeAt(0)))&&this.throwUnexpectedToken()),u=s);!this.eof()&&(n=this.codePointAt(this.index),!!E.Character.isIdentifierPart(n));)s=E.Character.fromCodePoint(n),u+=s,this.index+=s.length,n===92&&(u=u.substr(0,u.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,s=this.scanUnicodeCodePointEscape()):(s=this.scanHexEscape("u"),(s===null||s==="\\"||!E.Character.isIdentifierPart(s.charCodeAt(0)))&&this.throwUnexpectedToken()),u+=s);return u},D.prototype.octalToDecimal=function(n){var u=n!=="0",s=g(n);return!this.eof()&&E.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(u=!0,s=s*8+g(this.source[this.index++]),"0123".indexOf(n)>=0&&!this.eof()&&E.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(s=s*8+g(this.source[this.index++]))),{code:s,octal:u}},D.prototype.scanIdentifier=function(){var n,u=this.index,s=this.source.charCodeAt(u)===92?this.getComplexIdentifier():this.getIdentifier();if(s.length===1?n=3:this.isKeyword(s)?n=4:s==="null"?n=5:s==="true"||s==="false"?n=1:n=3,n!==3&&u+s.length!==this.index){var e=this.index;this.index=u,this.tolerateUnexpectedToken(d.Messages.InvalidEscapedReservedWord),this.index=e}return{type:n,value:s,lineNumber:this.lineNumber,lineStart:this.lineStart,start:u,end:this.index}},D.prototype.scanPunctuator=function(){var n=this.index,u=this.source[this.index];switch(u){case"(":case"{":u==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,u="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:u=this.source.substr(this.index,4),u===">>>="?this.index+=4:(u=u.substr(0,3),u==="==="||u==="!=="||u===">>>"||u==="<<="||u===">>="||u==="**="?this.index+=3:(u=u.substr(0,2),u==="&&"||u==="||"||u==="=="||u==="!="||u==="+="||u==="-="||u==="*="||u==="/="||u==="++"||u==="--"||u==="<<"||u===">>"||u==="&="||u==="|="||u==="^="||u==="%="||u==="<="||u===">="||u==="=>"||u==="**"?this.index+=2:(u=this.source[this.index],"<>=!+-*%&|^/".indexOf(u)>=0&&++this.index)))}return this.index===n&&this.throwUnexpectedToken(),{type:7,value:u,lineNumber:this.lineNumber,lineStart:this.lineStart,start:n,end:this.index}},D.prototype.scanHexLiteral=function(n){for(var u="";!this.eof()&&E.Character.isHexDigit(this.source.charCodeAt(this.index));)u+=this.source[this.index++];return u.length===0&&this.throwUnexpectedToken(),E.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+u,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:n,end:this.index}},D.prototype.scanBinaryLiteral=function(n){for(var u="",s;!this.eof()&&(s=this.source[this.index],!(s!=="0"&&s!=="1"));)u+=this.source[this.index++];return u.length===0&&this.throwUnexpectedToken(),this.eof()||(s=this.source.charCodeAt(this.index),(E.Character.isIdentifierStart(s)||E.Character.isDecimalDigit(s))&&this.throwUnexpectedToken()),{type:6,value:parseInt(u,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:n,end:this.index}},D.prototype.scanOctalLiteral=function(n,u){var s="",e=!1;for(E.Character.isOctalDigit(n.charCodeAt(0))?(e=!0,s="0"+this.source[this.index++]):++this.index;!this.eof()&&E.Character.isOctalDigit(this.source.charCodeAt(this.index));)s+=this.source[this.index++];return!e&&s.length===0&&this.throwUnexpectedToken(),(E.Character.isIdentifierStart(this.source.charCodeAt(this.index))||E.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(s,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:u,end:this.index}},D.prototype.isImplicitOctalLiteral=function(){for(var n=this.index+1;n<this.length;++n){var u=this.source[n];if(u==="8"||u==="9")return!1;if(!E.Character.isOctalDigit(u.charCodeAt(0)))return!0}return!0},D.prototype.scanNumericLiteral=function(){var n=this.index,u=this.source[n];h.assert(E.Character.isDecimalDigit(u.charCodeAt(0))||u===".","Numeric literal must start with a decimal digit or a decimal point");var s="";if(u!=="."){if(s=this.source[this.index++],u=this.source[this.index],s==="0"){if(u==="x"||u==="X")return++this.index,this.scanHexLiteral(n);if(u==="b"||u==="B")return++this.index,this.scanBinaryLiteral(n);if(u==="o"||u==="O")return this.scanOctalLiteral(u,n);if(u&&E.Character.isOctalDigit(u.charCodeAt(0))&&this.isImplicitOctalLiteral())return this.scanOctalLiteral(u,n)}for(;E.Character.isDecimalDigit(this.source.charCodeAt(this.index));)s+=this.source[this.index++];u=this.source[this.index]}if(u==="."){for(s+=this.source[this.index++];E.Character.isDecimalDigit(this.source.charCodeAt(this.index));)s+=this.source[this.index++];u=this.source[this.index]}if(u==="e"||u==="E")if(s+=this.source[this.index++],u=this.source[this.index],(u==="+"||u==="-")&&(s+=this.source[this.index++]),E.Character.isDecimalDigit(this.source.charCodeAt(this.index)))for(;E.Character.isDecimalDigit(this.source.charCodeAt(this.index));)s+=this.source[this.index++];else this.throwUnexpectedToken();return E.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseFloat(s),lineNumber:this.lineNumber,lineStart:this.lineStart,start:n,end:this.index}},D.prototype.scanStringLiteral=function(){var n=this.index,u=this.source[n];h.assert(u==="'"||u==='"',"String literal must starts with a quote"),++this.index;for(var s=!1,e="";!this.eof();){var t=this.source[this.index++];if(t===u){u="";break}else if(t==="\\")if(t=this.source[this.index++],!t||!E.Character.isLineTerminator(t.charCodeAt(0)))switch(t){case"u":if(this.source[this.index]==="{")++this.index,e+=this.scanUnicodeCodePointEscape();else{var i=this.scanHexEscape(t);i===null&&this.throwUnexpectedToken(),e+=i}break;case"x":var r=this.scanHexEscape(t);r===null&&this.throwUnexpectedToken(d.Messages.InvalidHexEscapeSequence),e+=r;break;case"n":e+=`
|
|
3
3
|
`;break;case"r":e+="\r";break;case"t":e+=" ";break;case"b":e+="\b";break;case"f":e+="\f";break;case"v":e+="\v";break;case"8":case"9":e+=t,this.tolerateUnexpectedToken();break;default:if(t&&E.Character.isOctalDigit(t.charCodeAt(0))){var a=this.octalToDecimal(t);s=a.octal||s,e+=String.fromCharCode(a.code)}else e+=t;break}else++this.lineNumber,t==="\r"&&this.source[this.index]===`
|
|
4
4
|
`&&++this.index,this.lineStart=this.index;else{if(E.Character.isLineTerminator(t.charCodeAt(0)))break;e+=t}}return u!==""&&(this.index=n,this.throwUnexpectedToken()),{type:8,value:e,octal:s,lineNumber:this.lineNumber,lineStart:this.lineStart,start:n,end:this.index}},D.prototype.scanTemplate=function(){var n="",u=!1,s=this.index,e=this.source[s]==="`",t=!1,i=2;for(++this.index;!this.eof();){var r=this.source[this.index++];if(r==="`"){i=1,t=!0,u=!0;break}else if(r==="$"){if(this.source[this.index]==="{"){this.curlyStack.push("${"),++this.index,u=!0;break}n+=r}else if(r==="\\")if(r=this.source[this.index++],E.Character.isLineTerminator(r.charCodeAt(0)))++this.lineNumber,r==="\r"&&this.source[this.index]===`
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as A}from"./DO0gnjpd.js";import{e as w,ai as q,b as f,g as d,d as h}from"./DfW1b8bA.js";const p=[];function T(e,t=w){let r=null;const n=new Set;function s(a){if(q(e,a)&&(e=a,r)){const i=!p.length;for(const c of n)c[1](),p.push(c,e);if(i){for(let c=0;c<p.length;c+=2)p[c][0](p[c+1]);p.length=0}}}function l(a){s(a(e))}function o(a,i=w){const c=[a,i];return n.add(c),n.size===1&&(r=t(s,l)||w),a(e),()=>{n.delete(c),n.size===0&&r&&(r(),r=null)}}return{set:s,update:l,subscribe:o}}new URL("sveltekit-internal://");function ee(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function te(e){return e.split("%25").map(decodeURI).join("%25")}function ne(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function re({href:e}){return e.split("#")[0]}function se(e,t,r,n=!1){const s=new URL(e);Object.defineProperty(s,"searchParams",{value:new Proxy(s.searchParams,{get(o,a){if(a==="get"||a==="getAll"||a==="has")return(c,...u)=>(r(c),o[a](c,...u));t();const i=Reflect.get(o,a);return typeof i=="function"?i.bind(o):i}}),enumerable:!0,configurable:!0});const l=["href","pathname","search","toString","toJSON"];n&&l.push("hash");for(const o of l)Object.defineProperty(s,o,{get(){return t(),e[o]},enumerable:!0,configurable:!0});return s}function W(){}function G(...e){let t=5381;for(const r of e)if(typeof r=="string"){let n=r.length;for(;n;)t=t*33^r.charCodeAt(--n)}else if(ArrayBuffer.isView(r)){const n=new Uint8Array(r.buffer,r.byteOffset,r.byteLength);let s=n.length;for(;s;)t=t*33^n[--s]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}const ae=new TextEncoder;function oe(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return btoa(t)}function V(e){const t=atob(e),r=new Uint8Array(t.length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r}const z=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&b.delete(R(e)),z(e,t));const b=new Map;function ie(e,t){const r=R(e,t),n=document.querySelector(r);if(n?.textContent){n.remove();let{body:s,...l}=JSON.parse(n.textContent);const o=n.getAttribute("data-ttl");return o&&b.set(r,{body:s,init:l,ttl:1e3*Number(o)}),n.getAttribute("data-b64")!==null&&(s=V(s)),Promise.resolve(new Response(s,l))}return window.fetch(e,t)}function ce(e,t,r){if(b.size>0){const n=R(e,r),s=b.get(n);if(s){if(performance.now()<s.ttl&&["default","force-cache","only-if-cached",void 0].includes(r?.cache))return new Response(s.body,s.init);b.delete(n)}}return window.fetch(t,r)}function R(e,t){let n=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const s=[];t.headers&&s.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&s.push(t.body),n+=`[data-hash="${G(...s)}"]`}return n}const Y=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function le(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${U(e).map(n=>{const s=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(n);if(s)return t.push({name:s[1],matcher:s[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const l=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(n);if(l)return t.push({name:l[1],matcher:l[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!n)return;const o=n.split(/\[(.+?)\](?!\])/);return"/"+o.map((i,c)=>{if(c%2){if(i.startsWith("x+"))return v(String.fromCharCode(parseInt(i.slice(2),16)));if(i.startsWith("u+"))return v(String.fromCharCode(...i.slice(2).split("-").map(j=>parseInt(j,16))));const u=Y.exec(i),[,_,m,L,P]=u;return t.push({name:L,matcher:P,optional:!!_,rest:!!m,chained:m?c===1&&o[0]==="":!1}),m?"([^]*?)":_?"([^/]*)?":"([^/]+?)"}return v(i)}).join("")}).join("")}/?$`),params:t}}function B(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function U(e){return e.slice(1).split("/").filter(B)}function ue(e,t,r){const n={},s=e.slice(1),l=s.filter(a=>a!==void 0);let o=0;for(let a=0;a<t.length;a+=1){const i=t[a];let c=s[a-o];if(i.chained&&i.rest&&o&&(c=s.slice(a-o,a+1).filter(u=>u).join("/"),o=0),c===void 0)if(i.rest)c="";else continue;if(!i.matcher||r[i.matcher](c)){n[i.name]=c;const u=t[a+1],_=s[a+1];u&&!u.rest&&u.optional&&_&&i.chained&&(o=0),!u&&!_&&Object.keys(n).length===l.length&&(o=0);continue}if(i.optional&&i.chained){o++;continue}return}if(!o)return n}function v(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}const D=/\[(\[)?(\.\.\.)?(\w+?)(?:=(\w+))?\]\]?/g;function fe(e,t){const r=U(e),n=e!="/"&&e.endsWith("/");return"/"+r.map(s=>s.replace(D,(l,o,a,i)=>{const c=t[i];if(!c){if(o||a&&c!==void 0)return"";throw new Error(`Missing parameter '${i}' in route ${e}`)}if(c.startsWith("/")||c.endsWith("/"))throw new Error(`Parameter '${i}' in route ${e} cannot start or end with a slash -- this would cause an invalid route like foo//bar`);return c})).filter(Boolean).join("/")+(n?"/":"")}const H=globalThis.
|
|
1
|
+
import{o as A}from"./DO0gnjpd.js";import{e as w,ai as q,b as f,g as d,d as h}from"./DfW1b8bA.js";const p=[];function T(e,t=w){let r=null;const n=new Set;function s(a){if(q(e,a)&&(e=a,r)){const i=!p.length;for(const c of n)c[1](),p.push(c,e);if(i){for(let c=0;c<p.length;c+=2)p[c][0](p[c+1]);p.length=0}}}function l(a){s(a(e))}function o(a,i=w){const c=[a,i];return n.add(c),n.size===1&&(r=t(s,l)||w),a(e),()=>{n.delete(c),n.size===0&&r&&(r(),r=null)}}return{set:s,update:l,subscribe:o}}new URL("sveltekit-internal://");function ee(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function te(e){return e.split("%25").map(decodeURI).join("%25")}function ne(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function re({href:e}){return e.split("#")[0]}function se(e,t,r,n=!1){const s=new URL(e);Object.defineProperty(s,"searchParams",{value:new Proxy(s.searchParams,{get(o,a){if(a==="get"||a==="getAll"||a==="has")return(c,...u)=>(r(c),o[a](c,...u));t();const i=Reflect.get(o,a);return typeof i=="function"?i.bind(o):i}}),enumerable:!0,configurable:!0});const l=["href","pathname","search","toString","toJSON"];n&&l.push("hash");for(const o of l)Object.defineProperty(s,o,{get(){return t(),e[o]},enumerable:!0,configurable:!0});return s}function W(){}function G(...e){let t=5381;for(const r of e)if(typeof r=="string"){let n=r.length;for(;n;)t=t*33^r.charCodeAt(--n)}else if(ArrayBuffer.isView(r)){const n=new Uint8Array(r.buffer,r.byteOffset,r.byteLength);let s=n.length;for(;s;)t=t*33^n[--s]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}const ae=new TextEncoder;function oe(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return btoa(t)}function V(e){const t=atob(e),r=new Uint8Array(t.length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r}const z=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&b.delete(R(e)),z(e,t));const b=new Map;function ie(e,t){const r=R(e,t),n=document.querySelector(r);if(n?.textContent){n.remove();let{body:s,...l}=JSON.parse(n.textContent);const o=n.getAttribute("data-ttl");return o&&b.set(r,{body:s,init:l,ttl:1e3*Number(o)}),n.getAttribute("data-b64")!==null&&(s=V(s)),Promise.resolve(new Response(s,l))}return window.fetch(e,t)}function ce(e,t,r){if(b.size>0){const n=R(e,r),s=b.get(n);if(s){if(performance.now()<s.ttl&&["default","force-cache","only-if-cached",void 0].includes(r?.cache))return new Response(s.body,s.init);b.delete(n)}}return window.fetch(t,r)}function R(e,t){let n=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const s=[];t.headers&&s.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&s.push(t.body),n+=`[data-hash="${G(...s)}"]`}return n}const Y=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function le(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${U(e).map(n=>{const s=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(n);if(s)return t.push({name:s[1],matcher:s[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const l=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(n);if(l)return t.push({name:l[1],matcher:l[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!n)return;const o=n.split(/\[(.+?)\](?!\])/);return"/"+o.map((i,c)=>{if(c%2){if(i.startsWith("x+"))return v(String.fromCharCode(parseInt(i.slice(2),16)));if(i.startsWith("u+"))return v(String.fromCharCode(...i.slice(2).split("-").map(j=>parseInt(j,16))));const u=Y.exec(i),[,_,m,L,P]=u;return t.push({name:L,matcher:P,optional:!!_,rest:!!m,chained:m?c===1&&o[0]==="":!1}),m?"([^]*?)":_?"([^/]*)?":"([^/]+?)"}return v(i)}).join("")}).join("")}/?$`),params:t}}function B(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function U(e){return e.slice(1).split("/").filter(B)}function ue(e,t,r){const n={},s=e.slice(1),l=s.filter(a=>a!==void 0);let o=0;for(let a=0;a<t.length;a+=1){const i=t[a];let c=s[a-o];if(i.chained&&i.rest&&o&&(c=s.slice(a-o,a+1).filter(u=>u).join("/"),o=0),c===void 0)if(i.rest)c="";else continue;if(!i.matcher||r[i.matcher](c)){n[i.name]=c;const u=t[a+1],_=s[a+1];u&&!u.rest&&u.optional&&_&&i.chained&&(o=0),!u&&!_&&Object.keys(n).length===l.length&&(o=0);continue}if(i.optional&&i.chained){o++;continue}return}if(!o)return n}function v(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}const D=/\[(\[)?(\.\.\.)?(\w+?)(?:=(\w+))?\]\]?/g;function fe(e,t){const r=U(e),n=e!="/"&&e.endsWith("/");return"/"+r.map(s=>s.replace(D,(l,o,a,i)=>{const c=t[i];if(!c){if(o||a&&c!==void 0)return"";throw new Error(`Missing parameter '${i}' in route ${e}`)}if(c.startsWith("/")||c.endsWith("/"))throw new Error(`Parameter '${i}' in route ${e} cannot start or end with a slash -- this would cause an invalid route like foo//bar`);return c})).filter(Boolean).join("/")+(n?"/":"")}const H=globalThis.__sveltekit_1vih4d5?.base??"",K=globalThis.__sveltekit_1vih4d5?.assets??H??"",de="_app",F="1780506812596",he="sveltekit:snapshot",pe="sveltekit:scroll",ge="sveltekit:states",_e="sveltekit:pageurl",be="sveltekit:history",me="sveltekit:navigation",$={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},O=location.origin;function we(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const r=document.getElementsByTagName("base");t=r.length?r[0].href:document.URL}return new URL(e,t)}function ve(){return{x:pageXOffset,y:pageYOffset}}function g(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const E={...$,"":$.hover};function I(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function ye(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=I(e)}}function Se(e,t,r){let n;try{if(n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),r&&n.hash.match(/^#[^/]/)){const a=location.hash.split("#")[1]||"/";n.hash=`#${a}${n.hash}`}}catch{}const s=e instanceof SVGAElement?e.target.baseVal:e.target,l=!n||!!s||J(n,t,r)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=n?.origin===O&&e.hasAttribute("download");return{url:n,external:l,target:s,download:o}}function Re(e){let t=null,r=null,n=null,s=null,l=null,o=null,a=e;for(;a&&a!==document.documentElement;)n===null&&(n=g(a,"preload-code")),s===null&&(s=g(a,"preload-data")),t===null&&(t=g(a,"keepfocus")),r===null&&(r=g(a,"noscroll")),l===null&&(l=g(a,"reload")),o===null&&(o=g(a,"replacestate")),a=I(a);function i(c){switch(c){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:E[n??"off"],preload_data:E[s??"off"],keepfocus:i(t),noscroll:i(r),reload:i(l),replace_state:i(o)}}function Ae(e){const t=T(e);let r=!0;function n(){r=!0,t.update(o=>o)}function s(o){r=!1,t.set(o)}function l(o){let a;return t.subscribe(i=>{(a===void 0||r&&i!==a)&&o(a=i)})}return{notify:n,set:s,subscribe:l}}const C={v:W};function $e(){const{set:e,subscribe:t}=T(!1);let r;async function n(){clearTimeout(r);try{const s=await fetch(`${K}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!s.ok)return!1;const o=(await s.json()).version!==F;return o&&(e(!0),C.v(),clearTimeout(r)),o}catch{return!1}}return{subscribe:t,check:n}}function J(e,t,r){return e.origin!==O||!e.pathname.startsWith(t)?!0:r?e.pathname!==location.pathname:!1}function Ee(e){}const N=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...N];const M=new Set([...N]);[...M];let S,k,y;const X=A.toString().includes("$$")||/function \w+\(\) \{\}/.test(A.toString()),x="a:";X?(S={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(x)},k={current:null},y={current:!1}):(S=new class{#e=f({});get data(){return d(this.#e)}set data(t){h(this.#e,t)}#t=f(null);get form(){return d(this.#t)}set form(t){h(this.#t,t)}#n=f(null);get error(){return d(this.#n)}set error(t){h(this.#n,t)}#r=f({});get params(){return d(this.#r)}set params(t){h(this.#r,t)}#s=f({id:null});get route(){return d(this.#s)}set route(t){h(this.#s,t)}#a=f({});get state(){return d(this.#a)}set state(t){h(this.#a,t)}#o=f(-1);get status(){return d(this.#o)}set status(t){h(this.#o,t)}#i=f(new URL(x));get url(){return d(this.#i)}set url(t){h(this.#i,t)}},k=new class{#e=f(null);get current(){return d(this.#e)}set current(t){h(this.#e,t)}},y=new class{#e=f(!1);get current(){return d(this.#e)}set current(t){h(this.#e,t)}},C.v=()=>y.current=!0);function Ue(e){Object.assign(S,e)}export{$ as A,te as B,he as C,ce as D,ie as E,pe as F,Ee as G,be as H,me as N,_e as P,ge as S,k as a,H as b,de as c,le as d,ue as e,oe as f,$e as g,we as h,J as i,ye as j,Se as k,Re as l,re as m,W as n,Ae as o,S as p,ne as q,fe as r,ve as s,ae as t,se as u,F as v,T as w,ee as x,O as y,Ue as z};
|
|
Binary file
|