altair-static
Version:
Static package for altair graphql client
4 lines (3 loc) • 155 kB
JavaScript
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2b06ff7b-9446-562e-b88d-a2eed6502dcb")}catch(e){}}();
import{e as Sa,f as Ea,g as Ca,i as Ia}from"./chunk-B7YGBANW.js";var Mr={};Ca(Mr,{Node:()=>ot,Parser:()=>M,Position:()=>Be,SourceLocation:()=>Ke,TokContext:()=>ie,Token:()=>ft,TokenType:()=>F,defaultOptions:()=>it,getLineInfo:()=>It,isIdentifierChar:()=>Ae,isIdentifierStart:()=>fe,isNewLine:()=>Fe,keywordTypes:()=>st,lineBreak:()=>ae,lineBreakG:()=>Oe,nonASCIIwhitespace:()=>Ct,parse:()=>Xa,parseExpressionAt:()=>Ya,tokContexts:()=>U,tokTypes:()=>c,tokenizer:()=>Za,version:()=>Dr});function kt(e,t){for(var s=65536,o=0;o<t.length;o+=2){if(s+=t[o],s>e)return!1;if(s+=t[o+1],s>=e)return!0}}function fe(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Pa.test(String.fromCharCode(e)):t===!1?!1:kt(e,pr)}function Ae(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Va.test(String.fromCharCode(e)):t===!1?!1:kt(e,pr)||kt(e,Ta)}function se(e,t){return new F(e,{beforeExpr:!0,binop:t})}function R(e,t){return t===void 0&&(t={}),t.keyword=e,st[e]=new F(e,t)}function Fe(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}function ut(e,t){return Na.call(e,t)}function Ie(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function It(e,t){for(var s=1,o=0;;){Oe.lastIndex=o;var h=Oe.exec(e);if(h&&h.index<t)++s,o=h.index+h[0].length;else return new Be(s,t-o)}}function Ra(e){var t={};for(var s in it)t[s]=e&&ut(e,s)?e[s]:it[s];if(t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),cr(t.onToken)){var o=t.onToken;t.onToken=function(h){return o.push(h)}}return cr(t.onComment)&&(t.onComment=Oa(t,t.onComment)),t}function Oa(e,t){return function(s,o,h,m,g,S){var P={type:s?"Block":"Line",value:o,start:h,end:m};e.locations&&(P.loc=new Ke(this,g,S)),e.ranges&&(P.range=[h,m]),t.push(P)}}function _t(e,t){return Xe|(e?vr:0)|(t?mr:0)}function Qe(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}function Cr(e,t,s,o){return e.type=t,e.end=s,this.options.locations&&(e.loc.end=o),this.options.ranges&&(e.range[1]=s),e}function Tt(e){var t=Vr[e]={binary:Ie(qa[e]+" "+hr),nonBinary:{General_Category:Ie(hr),Script:Ie(za[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}function nt(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function Tr(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}function Ga(e){return fe(e,!0)||e===36||e===95}function Ha(e){return Ae(e,!0)||e===36||e===95||e===8204||e===8205}function Nr(e){return e>=65&&e<=90||e>=97&&e<=122}function $a(e){return e>=0&&e<=1114111}function Qa(e){return e===100||e===68||e===115||e===83||e===119||e===87}function Lr(e){return Nr(e)||e===95}function Ka(e){return Lr(e)||ht(e)}function ht(e){return e>=48&&e<=57}function Rr(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Or(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}function Br(e){return e>=48&&e<=55}function Nt(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function Xa(e,t){return M.parse(e,t)}function Ya(e,t,s){return M.parseExpressionAt(e,t,s)}function Za(e,t){return M.tokenizer(e,t)}var bt,wt,Aa,_a,Et,fr,Pa,Va,pr,Ta,F,re,Z,st,c,ae,Oe,Ct,ue,dr,Na,La,cr,Be,Ke,it,$e,Xe,At,vr,mr,xr,yr,gr,br,lr,Pt,he,wr,kr,Sr,M,_e,$,Ba,T,Vt,Fa,Da,He,St,Er,pe,L,Ma,at,ge,Ua,ot,ct,ie,U,lt,Ir,Ar,ja,qa,hr,_r,Pr,Wa,za,Vr,_,de,ft,O,Fr,Dr,Ur=Sa(()=>{"use strict";bt={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},wt="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",Aa={5:wt,"5module":wt+" export import",6:wt+" const class extends export import super"},_a=/^in(stanceof)?$/,Et="\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\u0560-\u0588\u05D0-\u05EA\u05EF-\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\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\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\u09FC\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\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\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-\u1878\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\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\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-\u312F\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEF\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7C6\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\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-\uAB67\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",fr="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",Pa=new RegExp("["+Et+"]"),Va=new RegExp("["+Et+fr+"]");Et=fr=null;pr=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,477,28,11,0,9,21,155,22,13,52,76,44,33,24,27,35,30,0,12,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,0,33,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,0,161,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,270,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,754,9486,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,15,7472,3104,541],Ta=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,525,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,4,9,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,232,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,792487,239];F=function(t,s){s===void 0&&(s={}),this.label=t,this.keyword=s.keyword,this.beforeExpr=!!s.beforeExpr,this.startsExpr=!!s.startsExpr,this.isLoop=!!s.isLoop,this.isAssign=!!s.isAssign,this.prefix=!!s.prefix,this.postfix=!!s.postfix,this.binop=s.binop||null,this.updateContext=null};re={beforeExpr:!0},Z={startsExpr:!0},st={};c={num:new F("num",Z),regexp:new F("regexp",Z),string:new F("string",Z),name:new F("name",Z),eof:new F("eof"),bracketL:new F("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new F("]"),braceL:new F("{",{beforeExpr:!0,startsExpr:!0}),braceR:new F("}"),parenL:new F("(",{beforeExpr:!0,startsExpr:!0}),parenR:new F(")"),comma:new F(",",re),semi:new F(";",re),colon:new F(":",re),dot:new F("."),question:new F("?",re),arrow:new F("=>",re),template:new F("template"),invalidTemplate:new F("invalidTemplate"),ellipsis:new F("...",re),backQuote:new F("`",Z),dollarBraceL:new F("${",{beforeExpr:!0,startsExpr:!0}),eq:new F("=",{beforeExpr:!0,isAssign:!0}),assign:new F("_=",{beforeExpr:!0,isAssign:!0}),incDec:new F("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new F("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:se("||",1),logicalAND:se("&&",2),bitwiseOR:se("|",3),bitwiseXOR:se("^",4),bitwiseAND:se("&",5),equality:se("==/!=/===/!==",6),relational:se("</>/<=/>=",7),bitShift:se("<</>>/>>>",8),plusMin:new F("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:se("%",10),star:se("*",10),slash:se("/",10),starstar:new F("**",{beforeExpr:!0}),_break:R("break"),_case:R("case",re),_catch:R("catch"),_continue:R("continue"),_debugger:R("debugger"),_default:R("default",re),_do:R("do",{isLoop:!0,beforeExpr:!0}),_else:R("else",re),_finally:R("finally"),_for:R("for",{isLoop:!0}),_function:R("function",Z),_if:R("if"),_return:R("return",re),_switch:R("switch"),_throw:R("throw",re),_try:R("try"),_var:R("var"),_const:R("const"),_while:R("while",{isLoop:!0}),_with:R("with"),_new:R("new",{beforeExpr:!0,startsExpr:!0}),_this:R("this",Z),_super:R("super",Z),_class:R("class",Z),_extends:R("extends",re),_export:R("export"),_import:R("import",Z),_null:R("null",Z),_true:R("true",Z),_false:R("false",Z),_in:R("in",{beforeExpr:!0,binop:7}),_instanceof:R("instanceof",{beforeExpr:!0,binop:7}),_typeof:R("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:R("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:R("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},ae=/\r\n?|\n|\u2028|\u2029/,Oe=new RegExp(ae.source,"g");Ct=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,ue=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,dr=Object.prototype,Na=dr.hasOwnProperty,La=dr.toString;cr=Array.isArray||function(e){return La.call(e)==="[object Array]"};Be=function(t,s){this.line=t,this.column=s};Be.prototype.offset=function(t){return new Be(this.line,this.column+t)};Ke=function(t,s,o){this.start=s,this.end=o,t.sourceFile!==null&&(this.source=t.sourceFile)};it={ecmaVersion:9,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};$e=1,Xe=2,At=$e|Xe,vr=4,mr=8,xr=16,yr=32,gr=64,br=128;lr=0,Pt=1,he=2,wr=3,kr=4,Sr=5,M=function(t,s,o){this.options=t=Ra(t),this.sourceFile=t.sourceFile,this.keywords=Ie(Aa[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var h="";if(t.allowReserved!==!0){for(var m=t.ecmaVersion;!(h=bt[m]);m--);t.sourceType==="module"&&(h+=" await")}this.reservedWords=Ie(h);var g=(h?h+" ":"")+bt.strict;this.reservedWordsStrict=Ie(g),this.reservedWordsStrictBind=Ie(g+" "+bt.strictBind),this.input=String(s),this.containsEsc=!1,o?(this.pos=o,this.lineStart=this.input.lastIndexOf(`
`,o-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(ae).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=c.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope($e),this.regexpState=null},_e={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};M.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};_e.inFunction.get=function(){return(this.currentVarScope().flags&Xe)>0};_e.inGenerator.get=function(){return(this.currentVarScope().flags&mr)>0};_e.inAsync.get=function(){return(this.currentVarScope().flags&vr)>0};_e.allowSuper.get=function(){return(this.currentThisScope().flags&gr)>0};_e.allowDirectSuper.get=function(){return(this.currentThisScope().flags&br)>0};_e.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};M.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags&Xe)>0};M.extend=function(){for(var t=[],s=arguments.length;s--;)t[s]=arguments[s];for(var o=this,h=0;h<t.length;h++)o=t[h](o);return o};M.parse=function(t,s){return new this(s,t).parse()};M.parseExpressionAt=function(t,s,o){var h=new this(o,t,s);return h.nextToken(),h.parseExpression()};M.tokenizer=function(t,s){return new this(s,t)};Object.defineProperties(M.prototype,_e);$=M.prototype,Ba=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;$.strictDirective=function(e){for(;;){ue.lastIndex=e,e+=ue.exec(this.input)[0].length;var t=Ba.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict")return!0;e+=t[0].length,ue.lastIndex=e,e+=ue.exec(this.input)[0].length,this.input[e]===";"&&e++}};$.eat=function(e){return this.type===e?(this.next(),!0):!1};$.isContextual=function(e){return this.type===c.name&&this.value===e&&!this.containsEsc};$.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};$.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};$.canInsertSemicolon=function(){return this.type===c.eof||this.type===c.braceR||ae.test(this.input.slice(this.lastTokEnd,this.start))};$.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};$.semicolon=function(){!this.eat(c.semi)&&!this.insertSemicolon()&&this.unexpected()};$.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};$.expect=function(e){this.eat(e)||this.unexpected()};$.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};$.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var s=t?e.parenthesizedAssign:e.parenthesizedBind;s>-1&&this.raiseRecoverable(s,"Parenthesized pattern")}};$.checkExpressionErrors=function(e,t){if(!e)return!1;var s=e.shorthandAssign,o=e.doubleProto;if(!t)return s>=0||o>=0;s>=0&&this.raise(s,"Shorthand property assignments are valid only in destructuring patterns"),o>=0&&this.raiseRecoverable(o,"Redefinition of __proto__ property")};$.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")};$.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};T=M.prototype;T.parseTopLevel=function(e){var t={};for(e.body||(e.body=[]);this.type!==c.eof;){var s=this.parseStatement(null,!0,t);e.body.push(s)}if(this.inModule)for(var o=0,h=Object.keys(this.undefinedExports);o<h.length;o+=1){var m=h[o];this.raiseRecoverable(this.undefinedExports[m].start,"Export '"+m+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};Vt={kind:"loop"},Fa={kind:"switch"};T.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;ue.lastIndex=this.pos;var t=ue.exec(this.input),s=this.pos+t[0].length,o=this.input.charCodeAt(s);if(o===91)return!0;if(e)return!1;if(o===123)return!0;if(fe(o,!0)){for(var h=s+1;Ae(this.input.charCodeAt(h),!0);)++h;var m=this.input.slice(s,h);if(!_a.test(m))return!0}return!1};T.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;ue.lastIndex=this.pos;var e=ue.exec(this.input),t=this.pos+e[0].length;return!ae.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!Ae(this.input.charAt(t+8)))};T.parseStatement=function(e,t,s){var o=this.type,h=this.startNode(),m;switch(this.isLet(e)&&(o=c._var,m="let"),o){case c._break:case c._continue:return this.parseBreakContinueStatement(h,o.keyword);case c._debugger:return this.parseDebuggerStatement(h);case c._do:return this.parseDoStatement(h);case c._for:return this.parseForStatement(h);case c._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(h,!1,!e);case c._class:return e&&this.unexpected(),this.parseClass(h,!0);case c._if:return this.parseIfStatement(h);case c._return:return this.parseReturnStatement(h);case c._switch:return this.parseSwitchStatement(h);case c._throw:return this.parseThrowStatement(h);case c._try:return this.parseTryStatement(h);case c._const:case c._var:return m=m||this.value,e&&m!=="var"&&this.unexpected(),this.parseVarStatement(h,m);case c._while:return this.parseWhileStatement(h);case c._with:return this.parseWithStatement(h);case c.braceL:return this.parseBlock(!0,h);case c.semi:return this.parseEmptyStatement(h);case c._export:case c._import:if(this.options.ecmaVersion>10&&o===c._import){ue.lastIndex=this.pos;var g=ue.exec(this.input),S=this.pos+g[0].length,P=this.input.charCodeAt(S);if(P===40)return this.parseExpressionStatement(h,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),o===c._import?this.parseImport(h):this.parseExport(h,s);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(h,!0,!e);var B=this.value,j=this.parseExpression();return o===c.name&&j.type==="Identifier"&&this.eat(c.colon)?this.parseLabeledStatement(h,B,j,e):this.parseExpressionStatement(h,j)}};T.parseBreakContinueStatement=function(e,t){var s=t==="break";this.next(),this.eat(c.semi)||this.insertSemicolon()?e.label=null:this.type!==c.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var o=0;o<this.labels.length;++o){var h=this.labels[o];if((e.label==null||h.name===e.label.name)&&(h.kind!=null&&(s||h.kind==="loop")||e.label&&s))break}return o===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,s?"BreakStatement":"ContinueStatement")};T.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};T.parseDoStatement=function(e){return this.next(),this.labels.push(Vt),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(c._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(c.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};T.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Vt),this.enterScope(0),this.expect(c.parenL),this.type===c.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var s=this.isLet();if(this.type===c._var||this.type===c._const||s){var o=this.startNode(),h=s?"let":this.value;return this.next(),this.parseVar(o,!0,h),this.finishNode(o,"VariableDeclaration"),(this.type===c._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&o.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===c._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,o)):(t>-1&&this.unexpected(t),this.parseFor(e,o))}var m=new Qe,g=this.parseExpression(!0,m);return this.type===c._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===c._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(g,!1,m),this.checkLVal(g),this.parseForIn(e,g)):(this.checkExpressionErrors(m,!0),t>-1&&this.unexpected(t),this.parseFor(e,g))};T.parseFunctionStatement=function(e,t,s){return this.next(),this.parseFunction(e,He|(s?0:St),!1,t)};T.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(c._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};T.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(c.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};T.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(c.braceL),this.labels.push(Fa),this.enterScope(0);for(var t,s=!1;this.type!==c.braceR;)if(this.type===c._case||this.type===c._default){var o=this.type===c._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),o?t.test=this.parseExpression():(s&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),s=!0,t.test=null),this.expect(c.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};T.parseThrowStatement=function(e){return this.next(),ae.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};Da=[];T.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===c._catch){var t=this.startNode();if(this.next(),this.eat(c.parenL)){t.param=this.parseBindingAtom();var s=t.param.type==="Identifier";this.enterScope(s?yr:0),this.checkLVal(t.param,s?kr:he),this.expect(c.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(c._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};T.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")};T.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Vt),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};T.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};T.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};T.parseLabeledStatement=function(e,t,s,o){for(var h=0,m=this.labels;h<m.length;h+=1){var g=m[h];g.name===t&&this.raise(s.start,"Label '"+t+"' is already declared")}for(var S=this.type.isLoop?"loop":this.type===c._switch?"switch":null,P=this.labels.length-1;P>=0;P--){var B=this.labels[P];if(B.statementStart===e.start)B.statementStart=this.start,B.kind=S;else break}return this.labels.push({name:t,kind:S,statementStart:this.start}),e.body=this.parseStatement(o?o.indexOf("label")===-1?o+"label":o:"label"),this.labels.pop(),e.label=s,this.finishNode(e,"LabeledStatement")};T.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};T.parseBlock=function(e,t){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(c.braceL),e&&this.enterScope(0);!this.eat(c.braceR);){var s=this.parseStatement(null);t.body.push(s)}return e&&this.exitScope(),this.finishNode(t,"BlockStatement")};T.parseFor=function(e,t){return e.init=t,this.expect(c.semi),e.test=this.type===c.semi?null:this.parseExpression(),this.expect(c.semi),e.update=this.type===c.parenR?null:this.parseExpression(),this.expect(c.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};T.parseForIn=function(e,t){var s=this.type===c._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!s||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")?this.raise(t.start,(s?"for-in":"for-of")+" loop variable declaration may not have an initializer"):t.type==="AssignmentPattern"&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=s?this.parseExpression():this.parseMaybeAssign(),this.expect(c.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,s?"ForInStatement":"ForOfStatement")};T.parseVar=function(e,t,s){for(e.declarations=[],e.kind=s;;){var o=this.startNode();if(this.parseVarId(o,s),this.eat(c.eq)?o.init=this.parseMaybeAssign(t):s==="const"&&!(this.type===c._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():o.id.type!=="Identifier"&&!(t&&(this.type===c._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):o.init=null,e.declarations.push(this.finishNode(o,"VariableDeclarator")),!this.eat(c.comma))break}return e};T.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t==="var"?Pt:he,!1)};He=1,St=2,Er=4;T.parseFunction=function(e,t,s,o){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!o)&&(this.type===c.star&&t&St&&this.unexpected(),e.generator=this.eat(c.star)),this.options.ecmaVersion>=8&&(e.async=!!o),t&He&&(e.id=t&Er&&this.type!==c.name?null:this.parseIdent(),e.id&&!(t&St)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Pt:he:wr));var h=this.yieldPos,m=this.awaitPos,g=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(_t(e.async,e.generator)),t&He||(e.id=this.type===c.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,s,!1),this.yieldPos=h,this.awaitPos=m,this.awaitIdentPos=g,this.finishNode(e,t&He?"FunctionDeclaration":"FunctionExpression")};T.parseFunctionParams=function(e){this.expect(c.parenL),e.params=this.parseBindingList(c.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};T.parseClass=function(e,t){this.next();var s=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var o=this.startNode(),h=!1;for(o.body=[],this.expect(c.braceL);!this.eat(c.braceR);){var m=this.parseClassElement(e.superClass!==null);m&&(o.body.push(m),m.type==="MethodDefinition"&&m.kind==="constructor"&&(h&&this.raise(m.start,"Duplicate constructor in the same class"),h=!0))}return e.body=this.finishNode(o,"ClassBody"),this.strict=s,this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};T.parseClassElement=function(e){var t=this;if(this.eat(c.semi))return null;var s=this.startNode(),o=function(P,B){B===void 0&&(B=!1);var j=t.start,J=t.startLoc;return t.eatContextual(P)?t.type!==c.parenL&&(!B||!t.canInsertSemicolon())?!0:(s.key&&t.unexpected(),s.computed=!1,s.key=t.startNodeAt(j,J),s.key.name=P,t.finishNode(s.key,"Identifier"),!1):!1};s.kind="method",s.static=o("static");var h=this.eat(c.star),m=!1;h||(this.options.ecmaVersion>=8&&o("async",!0)?(m=!0,h=this.options.ecmaVersion>=9&&this.eat(c.star)):o("get")?s.kind="get":o("set")&&(s.kind="set")),s.key||this.parsePropertyName(s);var g=s.key,S=!1;return!s.computed&&!s.static&&(g.type==="Identifier"&&g.name==="constructor"||g.type==="Literal"&&g.value==="constructor")?(s.kind!=="method"&&this.raise(g.start,"Constructor can't have get/set modifier"),h&&this.raise(g.start,"Constructor can't be a generator"),m&&this.raise(g.start,"Constructor can't be an async method"),s.kind="constructor",S=e):s.static&&g.type==="Identifier"&&g.name==="prototype"&&this.raise(g.start,"Classes may not have a static property named prototype"),this.parseClassMethod(s,h,m,S),s.kind==="get"&&s.value.params.length!==0&&this.raiseRecoverable(s.value.start,"getter should have no params"),s.kind==="set"&&s.value.params.length!==1&&this.raiseRecoverable(s.value.start,"setter should have exactly one param"),s.kind==="set"&&s.value.params[0].type==="RestElement"&&this.raiseRecoverable(s.value.params[0].start,"Setter cannot use rest params"),s};T.parseClassMethod=function(e,t,s,o){return e.value=this.parseMethod(t,s,o),this.finishNode(e,"MethodDefinition")};T.parseClassId=function(e,t){this.type===c.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,he,!1)):(t===!0&&this.unexpected(),e.id=null)};T.parseClassSuper=function(e){e.superClass=this.eat(c._extends)?this.parseExprSubscripts():null};T.parseExport=function(e,t){if(this.next(),this.eat(c.star))return this.expectContextual("from"),this.type!==c.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(c._default)){this.checkExport(t,"default",this.lastTokStart);var s;if(this.type===c._function||(s=this.isAsyncFunction())){var o=this.startNode();this.next(),s&&this.next(),e.declaration=this.parseFunction(o,He|Er,!1,s)}else if(this.type===c._class){var h=this.startNode();e.declaration=this.parseClass(h,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==c.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var m=0,g=e.specifiers;m<g.length;m+=1){var S=g[m];this.checkUnreserved(S.local),this.checkLocalExport(S.local)}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};T.checkExport=function(e,t,s){e&&(ut(e,t)&&this.raiseRecoverable(s,"Duplicate export '"+t+"'"),e[t]=!0)};T.checkPatternExport=function(e,t){var s=t.type;if(s==="Identifier")this.checkExport(e,t.name,t.start);else if(s==="ObjectPattern")for(var o=0,h=t.properties;o<h.length;o+=1){var m=h[o];this.checkPatternExport(e,m)}else if(s==="ArrayPattern")for(var g=0,S=t.elements;g<S.length;g+=1){var P=S[g];P&&this.checkPatternExport(e,P)}else s==="Property"?this.checkPatternExport(e,t.value):s==="AssignmentPattern"?this.checkPatternExport(e,t.left):s==="RestElement"?this.checkPatternExport(e,t.argument):s==="ParenthesizedExpression"&&this.checkPatternExport(e,t.expression)};T.checkVariableExport=function(e,t){if(e)for(var s=0,o=t;s<o.length;s+=1){var h=o[s];this.checkPatternExport(e,h.id)}};T.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};T.parseExportSpecifiers=function(e){var t=[],s=!0;for(this.expect(c.braceL);!this.eat(c.braceR);){if(s)s=!1;else if(this.expect(c.comma),this.afterTrailingComma(c.braceR))break;var o=this.startNode();o.local=this.parseIdent(!0),o.exported=this.eatContextual("as")?this.parseIdent(!0):o.local,this.checkExport(e,o.exported.name,o.exported.start),t.push(this.finishNode(o,"ExportSpecifier"))}return t};T.parseImport=function(e){return this.next(),this.type===c.string?(e.specifiers=Da,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===c.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")};T.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===c.name){var s=this.startNode();if(s.local=this.parseIdent(),this.checkLVal(s.local,he),e.push(this.finishNode(s,"ImportDefaultSpecifier")),!this.eat(c.comma))return e}if(this.type===c.star){var o=this.startNode();return this.next(),this.expectContextual("as"),o.local=this.parseIdent(),this.checkLVal(o.local,he),e.push(this.finishNode(o,"ImportNamespaceSpecifier")),e}for(this.expect(c.braceL);!this.eat(c.braceR);){if(t)t=!1;else if(this.expect(c.comma),this.afterTrailingComma(c.braceR))break;var h=this.startNode();h.imported=this.parseIdent(!0),this.eatContextual("as")?h.local=this.parseIdent():(this.checkUnreserved(h.imported),h.local=h.imported),this.checkLVal(h.local,he),e.push(this.finishNode(h,"ImportSpecifier"))}return e};T.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)};T.isDirectiveCandidate=function(e){return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};pe=M.prototype;pe.toAssignable=function(e,t,s){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",s&&this.checkPatternErrors(s,!0);for(var o=0,h=e.properties;o<h.length;o+=1){var m=h[o];this.toAssignable(m,t),m.type==="RestElement"&&(m.argument.type==="ArrayPattern"||m.argument.type==="ObjectPattern")&&this.raise(m.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",s&&this.checkPatternErrors(s,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,s);break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else s&&this.checkPatternErrors(s,!0);return e};pe.toAssignableList=function(e,t){for(var s=e.length,o=0;o<s;o++){var h=e[o];h&&this.toAssignable(h,t)}if(s){var m=e[s-1];this.options.ecmaVersion===6&&t&&m&&m.type==="RestElement"&&m.argument.type!=="Identifier"&&this.unexpected(m.argument.start)}return e};pe.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};pe.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==c.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};pe.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case c.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(c.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case c.braceL:return this.parseObj(!0)}return this.parseIdent()};pe.parseBindingList=function(e,t,s){for(var o=[],h=!0;!this.eat(e);)if(h?h=!1:this.expect(c.comma),t&&this.type===c.comma)o.push(null);else{if(s&&this.afterTrailingComma(e))break;if(this.type===c.ellipsis){var m=this.parseRestBinding();this.parseBindingListItem(m),o.push(m),this.type===c.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else{var g=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(g),o.push(g)}}return o};pe.parseBindingListItem=function(e){return e};pe.parseMaybeDefault=function(e,t,s){if(s=s||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(c.eq))return s;var o=this.startNodeAt(e,t);return o.left=s,o.right=this.parseMaybeAssign(),this.finishNode(o,"AssignmentPattern")};pe.checkLVal=function(e,t,s){switch(t===void 0&&(t=lr),e.type){case"Identifier":t===he&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(t?"Binding ":"Assigning to ")+e.name+" in strict mode"),s&&(ut(s,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),s[e.name]=!0),t!==lr&&t!==Sr&&this.declareName(e.name,t,e.start);break;case"MemberExpression":t&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ObjectPattern":for(var o=0,h=e.properties;o<h.length;o+=1){var m=h[o];this.checkLVal(m,t,s)}break;case"Property":this.checkLVal(e.value,t,s);break;case"ArrayPattern":for(var g=0,S=e.elements;g<S.length;g+=1){var P=S[g];P&&this.checkLVal(P,t,s)}break;case"AssignmentPattern":this.checkLVal(e.left,t,s);break;case"RestElement":this.checkLVal(e.argument,t,s);break;case"ParenthesizedExpression":this.checkLVal(e.expression,t,s);break;default:this.raise(e.start,(t?"Binding":"Assigning to")+" rvalue")}};L=M.prototype;L.checkPropClash=function(e,t,s){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var o=e.key,h;switch(o.type){case"Identifier":h=o.name;break;case"Literal":h=String(o.value);break;default:return}var m=e.kind;if(this.options.ecmaVersion>=6){h==="__proto__"&&m==="init"&&(t.proto&&(s&&s.doubleProto<0?s.doubleProto=o.start:this.raiseRecoverable(o.start,"Redefinition of __proto__ property")),t.proto=!0);return}h="$"+h;var g=t[h];if(g){var S;m==="init"?S=this.strict&&g.init||g.get||g.set:S=g.init||g[m],S&&this.raiseRecoverable(o.start,"Redefinition of property")}else g=t[h]={init:!1,get:!1,set:!1};g[m]=!0}};L.parseExpression=function(e,t){var s=this.start,o=this.startLoc,h=this.parseMaybeAssign(e,t);if(this.type===c.comma){var m=this.startNodeAt(s,o);for(m.expressions=[h];this.eat(c.comma);)m.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(m,"SequenceExpression")}return h};L.parseMaybeAssign=function(e,t,s){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var o=!1,h=-1,m=-1,g=-1;t?(h=t.parenthesizedAssign,m=t.trailingComma,g=t.shorthandAssign,t.parenthesizedAssign=t.trailingComma=t.shorthandAssign=-1):(t=new Qe,o=!0);var S=this.start,P=this.startLoc;(this.type===c.parenL||this.type===c.name)&&(this.potentialArrowAt=this.start);var B=this.parseMaybeConditional(e,t);if(s&&(B=s.call(this,B,S,P)),this.type.isAssign){var j=this.startNodeAt(S,P);return j.operator=this.value,j.left=this.type===c.eq?this.toAssignable(B,!1,t):B,o||Qe.call(t),t.shorthandAssign=-1,this.checkLVal(B),this.next(),j.right=this.parseMaybeAssign(e),this.finishNode(j,"AssignmentExpression")}else o&&this.checkExpressionErrors(t,!0);return h>-1&&(t.parenthesizedAssign=h),m>-1&&(t.trailingComma=m),g>-1&&(t.shorthandAssign=g),B};L.parseMaybeConditional=function(e,t){var s=this.start,o=this.startLoc,h=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return h;if(this.eat(c.question)){var m=this.startNodeAt(s,o);return m.test=h,m.consequent=this.parseMaybeAssign(),this.expect(c.colon),m.alternate=this.parseMaybeAssign(e),this.finishNode(m,"ConditionalExpression")}return h};L.parseExprOps=function(e,t){var s=this.start,o=this.startLoc,h=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)||h.start===s&&h.type==="ArrowFunctionExpression"?h:this.parseExprOp(h,s,o,-1,e)};L.parseExprOp=function(e,t,s,o,h){var m=this.type.binop;if(m!=null&&(!h||this.type!==c._in)&&m>o){var g=this.type===c.logicalOR||this.type===c.logicalAND,S=this.value;this.next();var P=this.start,B=this.startLoc,j=this.parseExprOp(this.parseMaybeUnary(null,!1),P,B,m,h),J=this.buildBinary(t,s,e,j,S,g);return this.parseExprOp(J,t,s,o,h)}return e};L.buildBinary=function(e,t,s,o,h,m){var g=this.startNodeAt(e,t);return g.left=s,g.operator=h,g.right=o,this.finishNode(g,m?"LogicalExpression":"BinaryExpression")};L.parseMaybeUnary=function(e,t){var s=this.start,o=this.startLoc,h;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))h=this.parseAwait(),t=!0;else if(this.type.prefix){var m=this.startNode(),g=this.type===c.incDec;m.operator=this.value,m.prefix=!0,this.next(),m.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),g?this.checkLVal(m.argument):this.strict&&m.operator==="delete"&&m.argument.type==="Identifier"?this.raiseRecoverable(m.start,"Deleting local variable in strict mode"):t=!0,h=this.finishNode(m,g?"UpdateExpression":"UnaryExpression")}else{if(h=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return h;for(;this.type.postfix&&!this.canInsertSemicolon();){var S=this.startNodeAt(s,o);S.operator=this.value,S.prefix=!1,S.argument=h,this.checkLVal(h),this.next(),h=this.finishNode(S,"UpdateExpression")}}return!t&&this.eat(c.starstar)?this.buildBinary(s,o,h,this.parseMaybeUnary(null,!1),"**",!1):h};L.parseExprSubscripts=function(e){var t=this.start,s=this.startLoc,o=this.parseExprAtom(e),h=o.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")";if(this.checkExpressionErrors(e)||h)return o;var m=this.parseSubscripts(o,t,s);return e&&m.type==="MemberExpression"&&(e.parenthesizedAssign>=m.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=m.start&&(e.parenthesizedBind=-1)),m};L.parseSubscripts=function(e,t,s,o){for(var h=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&this.input.slice(e.start,e.end)==="async";;){var m=this.parseSubscript(e,t,s,o,h);if(m===e||m.type==="ArrowFunctionExpression")return m;e=m}};L.parseSubscript=function(e,t,s,o,h){var m=this.eat(c.bracketL);if(m||this.eat(c.dot)){var g=this.startNodeAt(t,s);g.object=e,g.property=m?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never"),g.computed=!!m,m&&this.expect(c.bracketR),e=this.finishNode(g,"MemberExpression")}else if(!o&&this.eat(c.parenL)){var S=new Qe,P=this.yieldPos,B=this.awaitPos,j=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var J=this.parseExprList(c.parenR,this.options.ecmaVersion>=8&&e.type!=="Import",!1,S);if(h&&!this.canInsertSemicolon()&&this.eat(c.arrow))return this.checkPatternErrors(S,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=P,this.awaitPos=B,this.awaitIdentPos=j,this.parseArrowExpression(this.startNodeAt(t,s),J,!0);this.checkExpressionErrors(S,!0),this.yieldPos=P||this.yieldPos,this.awaitPos=B||this.awaitPos,this.awaitIdentPos=j||this.awaitIdentPos;var ee=this.startNodeAt(t,s);if(ee.callee=e,ee.arguments=J,ee.callee.type==="Import"){ee.arguments.length!==1&&this.raise(ee.start,"import() requires exactly one argument");var oe=ee.arguments[0];oe&&oe.type==="SpreadElement"&&this.raise(oe.start,"... is not allowed in import()")}e=this.finishNode(ee,"CallExpression")}else if(this.type===c.backQuote){var ve=this.startNodeAt(t,s);ve.tag=e,ve.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(ve,"TaggedTemplateExpression")}return e};L.parseExprAtom=function(e){this.type===c.slash&&this.readRegexp();var t,s=this.potentialArro