minidev 1.2.10 → 1.3.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.
@@ -1 +1,3 @@
1
1
  !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).boatman={})}(this,(function(t){var e,i,n,r,s,o,a,u,c;!function(t){t.enable="Debugger.enable",t.disable="Debugger.disable",t.evaluateOnCallFrame="Debugger.evaluateOnCallFrame",t.getPossibleBreakpoints="Debugger.getPossibleBreakpoints",t.pause="Debugger.pause",t.removeBreakpoint="Debugger.removeBreakpoint",t.resume="Debugger.resume",t.setBreakpointByUrl="Debugger.setBreakpointByUrl",t.setBreakpointsActive="Debugger.setBreakpointsActive",t.stepInto="Debugger.stepInto",t.stepOver="Debugger.stepOver",t.stepOut="Debugger.stepOut",t.getScriptSource="Debugger.getScriptSource",t.setPauseOnExceptions="Debugger.setPauseOnExceptions",t.setSkipAllPauses="Debugger.setSkipAllPauses"}(e||(e={})),function(t){t.paused="Debugger.paused",t.resumed="Debugger.resumed",t.scriptParsed="Debugger.scriptParsed"}(i||(i={})),function(t){t.enable="Runtime.enable",t.disable="Runtime.disable",t.evaluate="Runtime.evaluate",t.compileScript="Runtime.compileScript",t.getProperties="Runtime.getProperties",t.callFunctionOn="Runtime.callFunctionOn",t.releaseObjectGroup="Runtime.releaseObjectGroup",t.globalLexicalScopeNames="Runtime.globalLexicalScopeNames"}(n||(n={})),function(t){t.executionContextCreated="Runtime.executionContextCreated",t.consoleAPICalled="Runtime.consoleAPICalled",t.exceptionThrown="Runtime.exceptionThrown"}(r||(r={})),function(t){t.enable="Page.enable",t.getResourceTree="Page.getResourceTree"}(s||(s={})),function(t){t.setAutoAttach="Target.setAutoAttach"}(o||(o={})),function(t){t.targetCreated="Target.targetCreated",t.targetDestroyed="Target.targetDestroyed",t.targetInfoChanged="Target.targetInfoChanged",t.attachedToTarget="Target.attachedToTarget"}(a||(a={})),function(t){t[t.NormalError=-32e3]="NormalError"}(u||(u={})),function(t){t.Other="other",t.Exception="exception"}(c||(c={}));var h=Object.defineProperty.bind(Object),l=Object.defineProperties.bind(Object),p=Object.getOwnPropertyDescriptor.bind(Object),d=Object.freeze.bind(Object),f=Object.keys.bind(Object),m=Object.prototype.hasOwnProperty;function D(t,e){return m.call(t,e)}Object.assign.bind(Object);var y=Object.getOwnPropertyNames.bind(Object),x=Object.create.bind(Object);Object.setPrototypeOf&&Object.setPrototypeOf.bind(Object);Object.getPrototypeOf&&Object.getPrototypeOf.bind(Object);var v="object"==typeof console,g=(v&&console.log&&console.log.bind(console),v&&console.warn?console.warn.bind(console):function(){}),C=v&&console.error?console.error.bind(console):function(){},E=p(D,"name").configurable;function b(t,e,i){h(t,e,{value:i,writable:!0,enumerable:!1,configurable:!0})}function F(t,e){return t[e]}var A=function(){function t(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return t.prototype.insertInnerComments=function(t,e){if(76===t.type&&0===t.body.length){for(var i=[],n=this.leading.length-1;n>=0;--n){var r=this.leading[n];e.end.offset>=r.start&&(i.unshift(r.comment),this.leading.splice(n,1),this.trailing.splice(n,1))}i.length&&(t.innerComments=i)}},t.prototype.findTrailingComments=function(t){var e=[];if(this.trailing.length>0){for(var i=this.trailing.length-1;i>=0;--i){var n=this.trailing[i];n.start>=t.end.offset&&e.unshift(n.comment)}return this.trailing.length=0,e}var r=this.stack[this.stack.length-1];if(r&&r.node.trailingComments){var s=r.node.trailingComments[0];s&&s.range[0]>=t.end.offset&&(e=r.node.trailingComments,delete r.node.trailingComments)}return e},t.prototype.findLeadingComments=function(t){for(var e,i=[];this.stack.length>0;){if(!((s=this.stack[this.stack.length-1])&&s.start>=t.start.offset))break;e=s.node,this.stack.pop()}if(e){for(var n=(e.leadingComments?e.leadingComments.length:0)-1;n>=0;--n){var r=e.leadingComments[n];r.range[1]<=t.start.offset&&(i.unshift(r),e.leadingComments.splice(n,1))}return e.leadingComments&&0===e.leadingComments.length&&delete e.leadingComments,i}for(n=this.leading.length-1;n>=0;--n){var s;(s=this.leading[n]).start<=t.start.offset&&(i.unshift(s.comment),this.leading.splice(n,1))}return i},t.prototype.visitNode=function(t,e){if(!(67===t.type&&t.body.length>0)){this.insertInnerComments(t,e);var i=this.findTrailingComments(e),n=this.findLeadingComments(e);n.length>0&&(t.leadingComments=n),i.length>0&&(t.trailingComments=i),this.stack.push({node:t,start:e.start.offset})}},t.prototype.visitComment=function(t,e){var i="L"===t.type[0]?"Line":"Block",n={type:i,value:t.value};if(t.range&&(n.range=t.range),t.loc&&(n.loc=t.loc),this.comments.push(n),this.attach){var r={comment:{type:i,value:t.value,range:[e.start.offset,e.end.offset]},start:e.start.offset};t.loc&&(r.comment.loc=t.loc),t.type=i,this.leading.push(r),this.trailing.push(r)}},t.prototype.visit=function(t,e){"LineComment"===t.type||"BlockComment"===t.type?this.visitComment(t,e):this.attach&&this.visitNode(t,e)},t}();function w(t,e){if(!t)throw new Error("ASSERT: "+e)}var k=function(){function t(){this.errors=[],this.tolerant=!1}return t.prototype.tolerate=function(t){if(!this.tolerant)throw t;this.recordError(t)},t.prototype.createError=function(t,e,i,n){var r="Line "+e+": "+n,s=this.constructError(r,i);return s.index=t,s.lineNumber=e,s.description=n,s},t.prototype.throwError=function(t,e,i,n){throw this.createError(t,e,i,n)},t.prototype.tolerateError=function(t,e,i,n){var r=this.createError(t,e,i,n);if(!this.tolerant)throw r;this.recordError(r)},t.prototype.recordError=function(t){this.errors.push(t)},t.prototype.constructError=function(t,e){var i=new Error(t);return i.stack=i.toString(),i},t}(),B="Unexpected token",S="Getter must not have any formal parameters",T="Setter must have exactly one formal parameter",N="Setter function argument must not be a rest parameter",I="Class constructor may not be an async method",P="Class constructor may not be an accessor",O="Missing initializer in %0 declaration",j="Unexpected token =",M="Unexpected token =",R="Duplicate binding %0",z="A class may only have one constructor",U="Duplicate __proto__ fields are not allowed in object literals",L="%0 loop variable declaration may not have an initializer",_="Generator declarations are not allowed in legacy contexts",K="Illegal break statement",G="Illegal continue statement",H="Unexpected token",W="Unexpected token",q="Illegal 'use strict' directive in function with non-simple parameter list",V="Illegal return statement",Y="Keyword must not contain escaped characters",J="Invalid hexadecimal escape sequence",$="Invalid left-hand side in assignment",X="Invalid left-hand side in for-in",Q="Invalid left-hand side in for-loop",Z="Unexpected token",tt="Invalid regular expression",et="Invalid Unicode escape sequence",it="let is disallowed as a lexically bound name",nt="Unexpected token",rt="More than one default clause in switch statement",st="Illegal newline after throw",ot="Unexpected token",at="Missing catch or finally after try",ut="Rest parameter must be last formal parameter",ct="Unexpected token",ht="%0 '%1' has already been declared",lt="Classes may not have static property named prototype",pt="Catch variable may not be eval or arguments in strict mode",dt="Delete of an unqualified identifier in strict mode.",ft="In strict mode code, functions can only be declared at top level or inside a block",mt="Function name may not be eval or arguments in strict mode",Dt="Assignment to eval or arguments is not allowed in strict mode",yt="Postfix increment/decrement may not have eval or arguments operand in strict mode",xt="Prefix increment/decrement may not have eval or arguments operand in strict mode",vt="Strict mode code may not include a with statement",gt="Octal literals are not allowed in strict mode.",Ct="Strict mode function may not have duplicate parameter names",Et="Parameter name eval or arguments is not allowed in strict mode",bt="Use of future reserved word in strict mode",Ft="Variable name may not be eval or arguments in strict mode",At="Octal literals are not allowed in template strings.",wt="\\8 and \\9 are not allowed in template strings.",kt="Unexpected end of input",Bt="Unexpected identifier",St="Unexpected number",Tt="Unexpected reserved word",Nt="Unexpected string",It="Unexpected quasi %0",Pt="Unexpected token %0",Ot="Unexpected token ILLEGAL",jt="Undefined label '%0'",Mt="Invalid regular expression: missing /",Rt=function(t){this.type=30,this.elements=t},zt=function(t){this.type=60,this.elements=t},Ut=function(t,e,i){this.type=31,this.id=null,this.params=t,this.body=e,this.generator=!1,this.expression=i,this.async=!1},Lt={"=":1,"+=":2,"-=":3,"*=":4,"/=":5,"%=":6,"**=":7,"<<=":8,">>=":9,">>>=":10,"|=":11,"^=":12,"&=":13},_t=function(t,e,i){this.type=32,this.operator=Lt[t],this.left=e,this.right=i},Kt=function(t,e){this.type=61,this.left=t,this.right=e},Gt=function(t,e,i){this.type=31,this.id=null,this.params=t,this.body=e,this.generator=!1,this.expression=i,this.async=!0},Ht=function(t,e,i){this.type=63,this.id=t,this.params=e,this.body=i,this.generator=!1,this.expression=!1,this.async=!0},Wt=function(t,e,i){this.type=36,this.id=t,this.params=e,this.body=i,this.generator=!1,this.expression=!1,this.async=!0},qt=function(t){this.type=93,this.argument=t},Vt={"==":1,"!=":2,"===":3,"!==":4,"<":5,"<=":6,">":7,">=":8,"<<":9,">>":10,">>>":11,"+":12,"-":13,"*":14,"**":15,"/":16,"%":17,"|":18,"^":19,"&":20,in:21,instanceof:22,"||":1,"&&":2},Yt=function(t,e,i){var n="||"===t||"&&"===t||"??"===t;this.type=n?38:33,this.operator=Vt[t],this.left=e,this.right=i},Jt=function(t){this.type=76,this.body=t},$t=function(t){this.type=1,this.label=t},Xt=function(t,e){this.type=34,this.callee=t,this.arguments=e},Qt=function(t,e){this.type=62,this.param=t,this.body=e},Zt=function(t){this.type=88,this.body=t},te=function(t,e,i){this.type=86,this.id=t,this.superClass=e,this.body=i},ee=function(t,e,i){this.type=94,this.id=t,this.superClass=e,this.body=i},ie=function(t,e){this.type=39,this.computed=!0,this.object=t,this.property=e},ne=function(t,e,i){this.type=35,this.test=t,this.consequent=e,this.alternate=i},re=function(t){this.type=2,this.label=t},se=function(){this.type=3},oe=function(t,e){this.type=5,this.expression=t,this.directive=e},ae=function(t,e){this.type=4,this.body=t,this.test=e},ue=function(){this.type=75},ce=function(t){this.type=82,this.source=t},he=function(t){this.type=83,this.declaration=t},le=function(t,e,i){this.type=84,this.declaration=t,this.specifiers=e,this.source=i},pe=function(t,e){this.type=85,this.exported=e,this.local=t},de=function(t){this.type=5,this.expression=t},fe=function(t,e,i){this.type=6,this.left=t,this.right=e,this.body=i,this.each=!1},me=function(t,e,i,n){this.type=7,this.await=n,this.left=t,this.right=e,this.body=i},De=function(t,e,i,n){this.type=8,this.init=t,this.test=e,this.update=i,this.body=n},ye=function(t,e,i,n){this.type=63,this.id=t,this.params=e,this.body=i,this.generator=n,this.expression=!1,this.async=!1},xe=function(t,e,i,n){this.type=36,this.id=t,this.params=e,this.body=i,this.generator=n,this.expression=!1,this.async=!1},ve=function(t){this.type=64,this.name=t},ge=function(t,e,i){this.type=9,this.test=t,this.consequent=e,this.alternate=i},Ce=function(){this.type=77},Ee=function(t,e){this.type=78,this.specifiers=t,this.source=e},be=function(t){this.type=79,this.local=t},Fe=function(t){this.type=80,this.local=t},Ae=function(t,e){this.type=81,this.local=t,this.imported=e},we=function(t,e){this.type=10,this.label=t,this.body=e},ke=function(t,e){this.type=65,this.value=t,this.raw=e},Be=function(t,e){this.type=89,this.meta=t,this.property=e},Se=function(t,e,i,n,r){this.type=95,this.key=t,this.computed=e,this.value=i,this.kind=n,this.static=r},Te=function(t){this.type=67,this.body=t,this.sourceType="module"},Ne=function(t,e){this.type=40,this.callee=t,this.arguments=e},Ie=function(t){this.type=41,this.properties=t},Pe=function(t){this.type=66,this.properties=t},Oe=function(t,e,i,n,r,s){this.type=68,this.key=e,this.computed=i,this.value=n,this.kind=t,this.method=r,this.shorthand=s},je=function(t,e,i,n){this.type=65,this.value=t,this.raw=e,this.regex={pattern:i,flags:n}},Me=function(t){this.type=69,this.argument=t},Re=function(t){this.type=11,this.argument=t},ze=function(t){this.type=67,this.body=t,this.sourceType="script"},Ue=function(t){this.type=37,this.expressions=t},Le=function(t){this.type=70,this.argument=t},_e=function(t,e){this.type=39,this.computed=!1,this.object=t,this.property=e},Ke=function(){this.type=87},Ge=function(t,e){this.type=71,this.test=t,this.consequent=e},He=function(t,e){this.type=12,this.discriminant=t,this.cases=e},We=function(t,e){this.type=42,this.tag=t,this.quasi=e},qe=function(t,e){this.type=72,this.value=t,this.tail=e},Ve=function(t,e){this.type=73,this.quasis=t,this.expressions=e},Ye=function(){this.type=43},Je=function(t){this.type=13,this.argument=t},$e=function(t,e,i){this.type=14,this.block=t,this.handler=e,this.finalizer=i},Xe={"+":1,"-":2,"!":3,"~":4,void:5,typeof:6,delete:7},Qe=function(t,e){this.type=44,this.operator=Xe[t],this.argument=e,this.prefix=!0},Ze={"++":1,"--":2},ti=function(t,e,i){this.type=45,this.operator=Ze[t],this.argument=e,this.prefix=i},ei={var:1,let:2,const:3},ii=function(t,e){this.type=17,this.declarations=t,this.kind=ei[e]},ni=function(t,e){this.type=74,this.id=t,this.init=e},ri=function(t,e){this.type=15,this.test=t,this.body=e},si=function(t,e){this.type=16,this.object=t,this.body=e},oi=function(t,e){this.type=92,this.argument=t,this.delegate=e},ai={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\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\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-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\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[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\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]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDEC0-\uDEEB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\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\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\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\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D3-\u08E1\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\u09FC\u09FE\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-\u0AFF\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-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\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\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\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\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\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-\u1878\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\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1DF9\u1DFB-\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-\u312F\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEF\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7C6\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD-\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-\uAB67\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\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\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-\uDE35\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\uDD00-\uDD27\uDD30-\uDD39\uDF00-\uDF1C\uDF27\uDF30-\uDF50\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD44-\uDD46\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\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\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC5E\uDC5F\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCE9\uDCFF\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\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[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\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]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD00-\uDD2C\uDD30-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B\uDD50-\uDD59]|\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\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},ui={fromCodePoint:function(t){return t<65536?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10))+String.fromCharCode(56320+(t-65536&1023))},isWhiteSpace:function(t){return 32===t||9===t||11===t||12===t||160===t||t>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(t)>=0},isLineTerminator:function(t){return 10===t||13===t||8232===t||8233===t},isIdentifierStart:function(t){return 36===t||95===t||t>=65&&t<=90||t>=97&&t<=122||92===t||t>=128&&ai.NonAsciiIdentifierStart.test(ui.fromCodePoint(t))},isIdentifierPart:function(t){return 36===t||95===t||t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||92===t||t>=128&&ai.NonAsciiIdentifierPart.test(ui.fromCodePoint(t))},isDecimalDigit:function(t){return t>=48&&t<=57},isDecimalDigitChar:function(t){return 1===t.length&&ui.isDecimalDigit(t.charCodeAt(0))},isHexDigit:function(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102},isOctalDigit:function(t){return t>=48&&t<=55}};function ci(t){return"0123456789abcdef".indexOf(t.toLowerCase())}function hi(t){return"01234567".indexOf(t)}var li=function(){function t(t,e){this.source=t,this.errorHandler=e,this.trackComment=!1,this.isModule=!1,this.length=t.length,this.index=0,this.lineNumber=t.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return t.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart,curlyStack:this.curlyStack.slice()}},t.prototype.restoreState=function(t){this.index=t.index,this.lineNumber=t.lineNumber,this.lineStart=t.lineStart,this.curlyStack=t.curlyStack},t.prototype.eof=function(){return this.index>=this.length},t.prototype.throwUnexpectedToken=function(t){return void 0===t&&(t=Ot),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,t)},t.prototype.tolerateUnexpectedToken=function(t){void 0===t&&(t=Ot),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,t)},t.prototype.skipSingleLineComment=function(t){var e,i,n=[];for(this.trackComment&&(n=[],e=this.index-t,i={start:{line:this.lineNumber,column:this.index-this.lineStart-t},end:{}});!this.eof();){var r=this.source.charCodeAt(this.index);if(++this.index,ui.isLineTerminator(r)){if(this.trackComment){i.end={line:this.lineNumber,column:this.index-this.lineStart-1};var s={multiLine:!1,slice:[e+t,this.index-1],range:[e,this.index-1],loc:i};n.push(s)}return 13===r&&10===this.source.charCodeAt(this.index)&&++this.index,++this.lineNumber,this.lineStart=this.index,n}}if(this.trackComment){i.end={line:this.lineNumber,column:this.index-this.lineStart};s={multiLine:!1,slice:[e+t,this.index],range:[e,this.index],loc:i};n.push(s)}return n},t.prototype.skipMultiLineComment=function(){var t,e,i=[];for(this.trackComment&&(i=[],t=this.index-2,e={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var n=this.source.charCodeAt(this.index);if(ui.isLineTerminator(n))13===n&&10===this.source.charCodeAt(this.index+1)&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(42===n){if(47===this.source.charCodeAt(this.index+1)){if(this.index+=2,this.trackComment){e.end={line:this.lineNumber,column:this.index-this.lineStart};var r={multiLine:!0,slice:[t+2,this.index-2],range:[t,this.index],loc:e};i.push(r)}return i}++this.index}else++this.index}if(this.trackComment){e.end={line:this.lineNumber,column:this.index-this.lineStart};r={multiLine:!0,slice:[t+2,this.index],range:[t,this.index],loc:e};i.push(r)}return this.tolerateUnexpectedToken(),i},t.prototype.scanComments=function(){var t;this.trackComment&&(t=[]);for(var e=0===this.index;!this.eof();){var i=this.source.charCodeAt(this.index);if(ui.isWhiteSpace(i))++this.index;else if(ui.isLineTerminator(i))++this.index,13===i&&10===this.source.charCodeAt(this.index)&&++this.index,++this.lineNumber,this.lineStart=this.index,e=!0;else if(47===i)if(47===(i=this.source.charCodeAt(this.index+1))){this.index+=2;var n=this.skipSingleLineComment(2);this.trackComment&&(t=t.concat(n)),e=!0}else{if(42!==i)break;this.index+=2;n=this.skipMultiLineComment();this.trackComment&&(t=t.concat(n))}else if(e&&45===i){if(45!==this.source.charCodeAt(this.index+1)||62!==this.source.charCodeAt(this.index+2))break;this.index+=3;n=this.skipSingleLineComment(3);this.trackComment&&(t=t.concat(n))}else{if(60!==i||this.isModule)break;if("!--"!==this.source.slice(this.index+1,this.index+4))break;this.index+=4;n=this.skipSingleLineComment(4);this.trackComment&&(t=t.concat(n))}}return t},t.prototype.isFutureReservedWord=function(t){switch(t){case"enum":case"export":case"import":case"super":return!0;default:return!1}},t.prototype.isStrictModeReservedWord=function(t){switch(t){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},t.prototype.isRestrictedWord=function(t){return"eval"===t||"arguments"===t},t.prototype.isKeyword=function(t){switch(t.length){case 2:return"if"===t||"in"===t||"do"===t;case 3:return"var"===t||"for"===t||"new"===t||"try"===t||"let"===t;case 4:return"this"===t||"else"===t||"case"===t||"void"===t||"with"===t||"enum"===t;case 5:return"while"===t||"break"===t||"catch"===t||"throw"===t||"const"===t||"yield"===t||"class"===t||"super"===t;case 6:return"return"===t||"typeof"===t||"delete"===t||"switch"===t||"export"===t||"import"===t;case 7:return"default"===t||"finally"===t||"extends"===t;case 8:return"function"===t||"continue"===t||"debugger"===t;case 10:return"instanceof"===t;default:return!1}},t.prototype.codePointAt=function(t){var e=this.source.charCodeAt(t);if(e>=55296&&e<=56319){var i=this.source.charCodeAt(t+1);if(i>=56320&&i<=57343)e=1024*(e-55296)+i-56320+65536}return e},t.prototype.scanHexEscape=function(t){for(var e="u"===t?4:2,i=0,n=0;n<e;++n){if(this.eof()||!ui.isHexDigit(this.source.charCodeAt(this.index)))return null;i=16*i+ci(this.source[this.index++])}return String.fromCharCode(i)},t.prototype.tryToScanUnicodeCodePointEscape=function(){var t=this.source[this.index],e=0;if("}"===t)return null;for(;!this.eof()&&(t=this.source[this.index++],ui.isHexDigit(t.charCodeAt(0)));)e=16*e+ci(t);return e>1114111||"}"!==t?null:ui.fromCodePoint(e)},t.prototype.scanUnicodeCodePointEscape=function(){var t=this.tryToScanUnicodeCodePointEscape();return null===t?this.throwUnexpectedToken():t},t.prototype.getIdentifier=function(){for(var t=this.index++;!this.eof();){var e=this.source.charCodeAt(this.index);if(92===e)return this.index=t,this.getComplexIdentifier();if(e>=55296&&e<57343)return this.index=t,this.getComplexIdentifier();if(!ui.isIdentifierPart(e))break;++this.index}return this.source.slice(t,this.index)},t.prototype.getComplexIdentifier=function(){var t,e=this.codePointAt(this.index),i=ui.fromCodePoint(e);for(this.index+=i.length,92===e&&(117!==this.source.charCodeAt(this.index)&&this.throwUnexpectedToken(),++this.index,"{"===this.source[this.index]?(++this.index,t=this.scanUnicodeCodePointEscape()):null!==(t=this.scanHexEscape("u"))&&"\\"!==t&&ui.isIdentifierStart(t.charCodeAt(0))||this.throwUnexpectedToken(),i=t);!this.eof()&&(e=this.codePointAt(this.index),ui.isIdentifierPart(e));)i+=t=ui.fromCodePoint(e),this.index+=t.length,92===e&&(i=i.substr(0,i.length-1),117!==this.source.charCodeAt(this.index)&&this.throwUnexpectedToken(),++this.index,"{"===this.source[this.index]?(++this.index,t=this.scanUnicodeCodePointEscape()):null!==(t=this.scanHexEscape("u"))&&"\\"!==t&&ui.isIdentifierPart(t.charCodeAt(0))||this.throwUnexpectedToken(),i+=t);return i},t.prototype.octalToDecimal=function(t){var e="0"!==t,i=hi(t);return!this.eof()&&ui.isOctalDigit(this.source.charCodeAt(this.index))&&(e=!0,i=8*i+hi(this.source[this.index++]),"0123".indexOf(t)>=0&&!this.eof()&&ui.isOctalDigit(this.source.charCodeAt(this.index))&&(i=8*i+hi(this.source[this.index++]))),{code:i,octal:e}},t.prototype.scanIdentifier=function(){var t,e=this.index,i=92===this.source.charCodeAt(e)?this.getComplexIdentifier():this.getIdentifier();if(3!==(t=1===i.length?3:this.isKeyword(i)?4:"null"===i?5:"true"===i||"false"===i?1:3)&&e+i.length!==this.index){var n=this.index;this.index=e,this.tolerateUnexpectedToken(Y),this.index=n}return{type:t,value:i,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},t.prototype.scanPunctuator=function(){var t=this.index,e=this.source[this.index];switch(e){case"(":case"{":"{"===e&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,"."===this.source[this.index]&&"."===this.source[this.index+1]&&(this.index+=2,e="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"~":++this.index;break;default:">>>="===(e=this.source.substr(this.index,4))?this.index+=4:"==="===(e=e.substr(0,3))||"!=="===e||">>>"===e||"<<="===e||">>="===e||"**="===e?this.index+=3:"&&"===(e=e.substr(0,2))||"||"===e||"??"===e||"=="===e||"!="===e||"+="===e||"-="===e||"*="===e||"/="===e||"++"===e||"--"===e||"<<"===e||">>"===e||"&="===e||"|="===e||"^="===e||"%="===e||"<="===e||">="===e||"=>"===e||"**"===e?this.index+=2:(e=this.source[this.index],"<>=!+-*%&|?^/".indexOf(e)>=0&&++this.index)}return this.index===t&&this.throwUnexpectedToken(),{type:7,value:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},t.prototype.scanHexLiteral=function(t){for(var e="";!this.eof()&&ui.isHexDigit(this.source.charCodeAt(this.index));)e+=this.source[this.index++];return 0===e.length&&this.throwUnexpectedToken(),ui.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+e,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},t.prototype.scanBinaryLiteral=function(t){for(var e,i="";!this.eof()&&("0"===(e=this.source[this.index])||"1"===e);)i+=this.source[this.index++];return 0===i.length&&this.throwUnexpectedToken(),this.eof()||(e=this.source.charCodeAt(this.index),(ui.isIdentifierStart(e)||ui.isDecimalDigit(e))&&this.throwUnexpectedToken()),{type:6,value:parseInt(i,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},t.prototype.scanOctalLiteral=function(t,e){var i="",n=!1;for(ui.isOctalDigit(t.charCodeAt(0))?(n=!0,i="0"+this.source[this.index++]):++this.index;!this.eof()&&ui.isOctalDigit(this.source.charCodeAt(this.index));)i+=this.source[this.index++];return n||0!==i.length||this.throwUnexpectedToken(),(ui.isIdentifierStart(this.source.charCodeAt(this.index))||ui.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(i,8),octal:n,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},t.prototype.isImplicitOctalLiteral=function(){for(var t=this.index+1;t<this.length;++t){var e=this.source[t];if("8"===e||"9"===e)return!1;if(!ui.isOctalDigit(e.charCodeAt(0)))return!0}return!0},t.prototype.scanNumericLiteral=function(){var t=this.index,e=this.source[t];w(ui.isDecimalDigit(e.charCodeAt(0))||"."===e,"Numeric literal must start with a decimal digit or a decimal point");var i="";if("."!==e){if(i=this.source[this.index++],e=this.source[this.index],"0"===i){if("x"===e||"X"===e)return++this.index,this.scanHexLiteral(t);if("b"===e||"B"===e)return++this.index,this.scanBinaryLiteral(t);if("o"===e||"O"===e)return this.scanOctalLiteral(e,t);if(e&&ui.isOctalDigit(e.charCodeAt(0))&&this.isImplicitOctalLiteral())return this.scanOctalLiteral(e,t)}for(;ui.isDecimalDigit(this.source.charCodeAt(this.index));)i+=this.source[this.index++];e=this.source[this.index]}if("."===e){for(i+=this.source[this.index++];ui.isDecimalDigit(this.source.charCodeAt(this.index));)i+=this.source[this.index++];e=this.source[this.index]}if("e"===e||"E"===e)if(i+=this.source[this.index++],"+"!==(e=this.source[this.index])&&"-"!==e||(i+=this.source[this.index++]),ui.isDecimalDigit(this.source.charCodeAt(this.index)))for(;ui.isDecimalDigit(this.source.charCodeAt(this.index));)i+=this.source[this.index++];else this.throwUnexpectedToken();return ui.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseFloat(i),lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},t.prototype.scanStringLiteral=function(){var t=this.index,e=this.source[t];w("'"===e||'"'===e,"String literal must starts with a quote"),++this.index;for(var i=!1,n="";!this.eof();){var r=this.source[this.index++];if(r===e){e="";break}if("\\"===r)if((r=this.source[this.index++])&&ui.isLineTerminator(r.charCodeAt(0)))++this.lineNumber,"\r"===r&&"\n"===this.source[this.index]&&++this.index,this.lineStart=this.index;else switch(r){case"u":if("{"===this.source[this.index])++this.index,n+=this.scanUnicodeCodePointEscape();else{var s=this.scanHexEscape(r);null===s&&this.throwUnexpectedToken(),n+=s}break;case"x":var o=this.scanHexEscape(r);null===o&&this.throwUnexpectedToken(J),n+=o;break;case"n":n+="\n";break;case"r":n+="\r";break;case"t":n+="\t";break;case"b":n+="\b";break;case"f":n+="\f";break;case"v":n+="\v";break;case"8":case"9":n+=r,this.tolerateUnexpectedToken();break;default:if(r&&ui.isOctalDigit(r.charCodeAt(0))){var a=this.octalToDecimal(r);i=a.octal||i,n+=String.fromCharCode(a.code)}else n+=r}else{if(ui.isLineTerminator(r.charCodeAt(0)))break;n+=r}}return""!==e&&(this.index=t,this.throwUnexpectedToken()),{type:8,value:n,octal:i,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},t.prototype.scanTemplate=function(){var t="",e=!1,i=this.index,n="`"===this.source[i],r=!1,s=null,o=2;for(++this.index;!this.eof();){var a=this.source[this.index++];if("`"===a){o=1,r=!0,e=!0;break}if("$"===a){if("{"===this.source[this.index]){this.curlyStack.push("${"),++this.index,e=!0;break}t+=a}else{if(null!==s)continue;if("\\"===a)if(a=this.source[this.index++],ui.isLineTerminator(a.charCodeAt(0)))++this.lineNumber,"\r"===a&&"\n"===this.source[this.index]&&++this.index,this.lineStart=this.index;else switch(a){case"n":t+="\n";break;case"r":t+="\r";break;case"t":t+="\t";break;case"u":if("{"===this.source[this.index]){++this.index;var u=this.tryToScanUnicodeCodePointEscape();null===u?s="u":t+=u}else{var c=this.scanHexEscape(a);null===c?s="u":t+=c}break;case"x":var h=this.scanHexEscape(a);null===h?s="x":t+=h;break;case"b":t+="\b";break;case"f":t+="\f";break;case"v":t+="\v";break;default:"0"===a?ui.isDecimalDigit(this.source.charCodeAt(this.index))?s="0":t+="\0":ui.isDecimalDigitChar(a)?s=a:t+=a}else ui.isLineTerminator(a.charCodeAt(0))?(++this.lineNumber,"\r"===a&&"\n"===this.source[this.index]&&++this.index,this.lineStart=this.index,t+="\n"):t+=a}}return e||this.throwUnexpectedToken(),n||this.curlyStack.pop(),{type:10,value:this.source.slice(i+1,this.index-o),cooked:null===s?t:null,head:n,tail:r,notEscapeSequenceHead:s,lineNumber:this.lineNumber,lineStart:this.lineStart,start:i,end:this.index}},t.prototype.testRegExp=function(t,e){var i=this,n=t;e.indexOf("u")>=0&&(n=n.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,(function(t,e,n){var r=parseInt(e||n,16);return r>1114111&&i.throwUnexpectedToken(tt),r<=65535?String.fromCharCode(r):"￿"})).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"￿"));try{RegExp(n)}catch(t){this.throwUnexpectedToken(tt)}try{return new RegExp(t,e)}catch(t){return null}},t.prototype.scanRegExpBody=function(){var t=this.source[this.index];w("/"===t,"Regular expression literal must start with a slash");for(var e=this.source[this.index++],i=!1,n=!1;!this.eof();)if(e+=t=this.source[this.index++],"\\"===t)t=this.source[this.index++],ui.isLineTerminator(t.charCodeAt(0))&&this.throwUnexpectedToken(Mt),e+=t;else if(ui.isLineTerminator(t.charCodeAt(0)))this.throwUnexpectedToken(Mt);else if(i)"]"===t&&(i=!1);else{if("/"===t){n=!0;break}"["===t&&(i=!0)}return n||this.throwUnexpectedToken(Mt),e.substr(1,e.length-2)},t.prototype.scanRegExpFlags=function(){for(var t="";!this.eof();){var e=this.source[this.index];if(!ui.isIdentifierPart(e.charCodeAt(0)))break;if(++this.index,"\\"!==e||this.eof())t+=e,e;else if("u"===(e=this.source[this.index])){++this.index;var i=this.index,n=this.scanHexEscape("u");if(null!==n)for(t+=n,"\\u";i<this.index;++i)this.source[i];else this.index=i,t+="u","\\u";this.tolerateUnexpectedToken()}else"\\",this.tolerateUnexpectedToken()}return t},t.prototype.scanRegExp=function(){var t=this.index,e=this.scanRegExpBody(),i=this.scanRegExpFlags();return{type:9,value:"",pattern:e,flags:i,regex:this.testRegExp(e,i),lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},t.prototype.lex=function(){if(this.eof())return{type:2,value:"",lineNumber:this.lineNumber,lineStart:this.lineStart,start:this.index,end:this.index};var t=this.source.charCodeAt(this.index);return ui.isIdentifierStart(t)?this.scanIdentifier():40===t||41===t||59===t?this.scanPunctuator():39===t||34===t?this.scanStringLiteral():46===t?ui.isDecimalDigit(this.source.charCodeAt(this.index+1))?this.scanNumericLiteral():this.scanPunctuator():ui.isDecimalDigit(t)?this.scanNumericLiteral():96===t||125===t&&"${"===this.curlyStack[this.curlyStack.length-1]?this.scanTemplate():t>=55296&&t<57343&&ui.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},t}(),pi={1:"Boolean",2:"<end>",3:"Identifier",4:"Keyword",5:"Null",6:"Numeric",7:"Punctuator",8:"String",9:"RegularExpression",10:"Template"},di="ArrowParameterPlaceHolder",fi=function(){function t(t,e,i){void 0===e&&(e={}),this.config={range:"boolean"==typeof e.range&&e.range,loc:"boolean"==typeof e.loc&&e.loc,source:null,tokens:"boolean"==typeof e.tokens&&e.tokens,comment:"boolean"==typeof e.comment&&e.comment,tolerant:"boolean"==typeof e.tolerant&&e.tolerant},this.config.loc&&e.source&&null!==e.source&&(this.config.source=String(e.source)),this.delegate=i,this.errorHandler=new k,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new li(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"??":5,"||":6,"&&":7,"|":8,"^":9,"&":10,"==":11,"!=":11,"===":11,"!==":11,"<":12,">":12,"<=":12,">=":12,"<<":13,">>":13,">>>":13,"+":14,"-":14,"*":15,"/":15,"%":15},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 t.prototype.throwError=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];var n=e.slice(),r=t.replace(/%(\d)/g,(function(t,e){return w(e<n.length,"Message reference must be in range"),n[e]})),s=this.lastMarker.index,o=this.lastMarker.line,a=this.lastMarker.column+1;throw this.errorHandler.createError(s,o,a,r)},t.prototype.tolerateError=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];var n=e.slice(),r=t.replace(/%(\d)/g,(function(t,e){return w(e<n.length,"Message reference must be in range"),n[e]})),s=this.lastMarker.index,o=this.scanner.lineNumber,a=this.lastMarker.column+1;this.errorHandler.tolerateError(s,o,a,r)},t.prototype.unexpectedTokenError=function(t,e){var i,n=e||Pt;if(t?(e||(n=2===t.type?kt:3===t.type?Bt:6===t.type?St:8===t.type?Nt:10===t.type?It:Pt,4===t.type&&(this.scanner.isFutureReservedWord(t.value)?n=Tt:this.context.strict&&this.scanner.isStrictModeReservedWord(t.value)&&(n=bt))),i=t.value):i="ILLEGAL",n=n.replace("%0",i),t&&"number"==typeof t.lineNumber){var r=t.start,s=t.lineNumber,o=this.lastMarker.index-this.lastMarker.column,a=t.start-o+1;return this.errorHandler.createError(r,s,a,n)}r=this.lastMarker.index,s=this.lastMarker.line,a=this.lastMarker.column+1;return this.errorHandler.createError(r,s,a,n)},t.prototype.throwUnexpectedToken=function(t,e){throw this.unexpectedTokenError(t,e)},t.prototype.tolerateUnexpectedToken=function(t,e){this.errorHandler.tolerate(this.unexpectedTokenError(t,e))},t.prototype.collectComments=function(){if(this.config.comment){var t=this.scanner.scanComments();if(t.length>0&&this.delegate)for(var e=0;e<t.length;++e){var i=t[e],n={type:i.multiLine?"BlockComment":"LineComment",value:this.scanner.source.slice(i.slice[0],i.slice[1])};this.config.range&&(n.range=i.range),this.config.loc&&(n.loc=i.loc);var r={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(n,r)}}else this.scanner.scanComments()},t.prototype.getTokenRaw=function(t){return this.scanner.source.slice(t.start,t.end)},t.prototype.convertToken=function(t){var e={type:pi[t.type],value:this.getTokenRaw(t)};if(this.config.range&&(e.range=[t.start,t.end]),this.config.loc&&(e.loc={start:{line:this.startMarker.line,column:this.startMarker.column},end:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}),9===t.type){var i=t.pattern,n=t.flags;e.regex={pattern:i,flags:n}}return e},t.prototype.nextToken=function(){var t=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 e=this.scanner.lex();return this.hasLineTerminator=t.lineNumber!==e.lineNumber,e&&this.context.strict&&3===e.type&&this.scanner.isStrictModeReservedWord(e.value)&&(e.type=4),this.lookahead=e,this.config.tokens&&2!==e.type&&this.tokens.push(this.convertToken(e)),t},t.prototype.nextRegexToken=function(){this.collectComments();var t=this.scanner.scanRegExp();return this.config.tokens&&(this.tokens.pop(),this.tokens.push(this.convertToken(t))),this.lookahead=t,this.nextToken(),t},t.prototype.createNode=function(){return{index:this.startMarker.index,line:this.startMarker.line,column:this.startMarker.column}},t.prototype.startNode=function(t,e){void 0===e&&(e=0);var i=t.start-t.lineStart,n=t.lineNumber;return i<0&&(i+=e,n--),{index:t.start,line:n,column:i}},t.prototype.finalize=function(t,e){if(this.config.range&&(e.range=[t.index,this.lastMarker.index]),this.config.loc&&(e.loc={start:{line:t.line,column:t.column},end:{line:this.lastMarker.line,column:this.lastMarker.column}},this.config.source&&(e.loc.source=this.config.source)),this.delegate){var i={start:{line:t.line,column:t.column,offset:t.index},end:{line:this.lastMarker.line,column:this.lastMarker.column,offset:this.lastMarker.index}};this.delegate(e,i)}return e},t.prototype.expect=function(t){var e=this.nextToken();7===e.type&&e.value===t||this.throwUnexpectedToken(e)},t.prototype.expectCommaSeparator=function(){if(this.config.tolerant){var t=this.lookahead;7===t.type&&","===t.value?this.nextToken():7===t.type&&";"===t.value?(this.nextToken(),this.tolerateUnexpectedToken(t)):this.tolerateUnexpectedToken(t,Pt)}else this.expect(",")},t.prototype.expectKeyword=function(t){var e=this.nextToken();4===e.type&&e.value===t||this.throwUnexpectedToken(e)},t.prototype.match=function(t){return 7===this.lookahead.type&&this.lookahead.value===t},t.prototype.matchKeyword=function(t){return 4===this.lookahead.type&&this.lookahead.value===t},t.prototype.matchContextualKeyword=function(t){return 3===this.lookahead.type&&this.lookahead.value===t},t.prototype.matchAssign=function(){if(7!==this.lookahead.type)return!1;var t=this.lookahead.value;return"="===t||"*="===t||"**="===t||"/="===t||"%="===t||"+="===t||"-="===t||"<<="===t||">>="===t||">>>="===t||"&="===t||"^="===t||"|="===t},t.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,i=this.context.isAssignmentTarget,n=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var r=t.call(this);return null!==this.context.firstCoverInitializedNameError&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=i,this.context.firstCoverInitializedNameError=n,r},t.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,i=this.context.isAssignmentTarget,n=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var r=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&i,this.context.firstCoverInitializedNameError=n||this.context.firstCoverInitializedNameError,r},t.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(2===this.lookahead.type||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},t.prototype.parsePrimaryExpression=function(){var t,e,i,n=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&"await"===this.lookahead.value&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(n,new ve(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,gt),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),i=this.getTokenRaw(e),t=this.finalize(n,new ke(e.value,i));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),i=this.getTokenRaw(e),t=this.finalize(n,new ke("true"===e.value,i));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),i=this.getTokenRaw(e),t=this.finalize(n,new ke(null,i));break;case 10:t=this.parseTemplateLiteral({isTagged:!1});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,e=this.nextRegexToken(),i=this.getTokenRaw(e),t=this.finalize(n,new je(e.regex,i,e.pattern,e.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(n,new ve(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(n,new Ye)):t=this.matchKeyword("class")?this.parseClassExpression():this.matchImportCall()?this.parseImportCall():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},t.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new Le(e))},t.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var i=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(i)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new Rt(e))},t.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,i=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var n=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=i,n},t.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var i=this.parseFormalParameters(),n=this.parsePropertyMethod(i);return this.context.allowYield=e,this.finalize(t,new xe(null,i.params,n,!1))},t.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,i=this.context.await;this.context.allowYield=!1,this.context.await=!0;var n=this.parseFormalParameters(),r=this.parsePropertyMethod(n);return this.context.allowYield=e,this.context.await=i,this.finalize(t,new Wt(null,n.params,r))},t.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),i=this.nextToken();switch(i.type){case 8:case 6:this.context.strict&&i.octal&&this.tolerateUnexpectedToken(i,gt);var n=this.getTokenRaw(i);t=this.finalize(e,new ke(i.value,n));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new ve(i.value));break;case 7:"["===i.value?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(i);break;default:t=this.throwUnexpectedToken(i)}return t},t.prototype.isPropertyKey=function(t,e){return 64===t.type&&t.name===e||65===t.type&&t.value===e},t.prototype.parseObjectProperty=function(t){var e,i=this.createNode(),n=this.lookahead,r=null,s=null,o=!1,a=!1,u=!1,c=!1;if(3===n.type){var h=n.value;this.nextToken(),o=this.match("["),r=(c=!(this.hasLineTerminator||"async"!==h||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(i,new ve(h))}else this.match("*")?this.nextToken():(o=this.match("["),r=this.parseObjectPropertyKey());var l=this.qualifiedPropertyName(this.lookahead);if(3===n.type&&!c&&"get"===n.value&&l)e="get",o=this.match("["),r=this.parseObjectPropertyKey(),this.context.allowYield=!1,s=this.parseGetterMethod();else if(3===n.type&&!c&&"set"===n.value&&l)e="set",o=this.match("["),r=this.parseObjectPropertyKey(),s=this.parseSetterMethod();else if(7===n.type&&"*"===n.value&&l)e="init",o=this.match("["),r=this.parseObjectPropertyKey(),s=this.parseGeneratorMethod(),a=!0;else if(r||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!c)!o&&this.isPropertyKey(r,"__proto__")&&(t.value&&this.tolerateError(U),t.value=!0),this.nextToken(),s=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))s=c?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),a=!0;else if(3===n.type){h=this.finalize(i,new ve(n.value));if(this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),u=!0;var p=this.isolateCoverGrammar(this.parseAssignmentExpression);s=this.finalize(i,new Kt(h,p))}else u=!0,s=h}else this.throwUnexpectedToken(this.nextToken());return this.finalize(i,new Oe(e,r,o,s,a,u))},t.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],i={value:!1};!this.match("}");)e.push(this.match("...")?this.parseSpreadElement():this.parseObjectProperty(i)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new Ie(e))},t.prototype.throwTemplateLiteralEarlyErrors=function(t){switch(t.notEscapeSequenceHead){case"u":return this.throwUnexpectedToken(t,et);case"x":return this.throwUnexpectedToken(t,J);case"8":case"9":return this.throwUnexpectedToken(t,wt);default:return this.throwUnexpectedToken(t,At)}},t.prototype.parseTemplateHead=function(t){w(this.lookahead.head,"Template literal must start with a template head");var e=this.createNode(),i=this.nextToken();t.isTagged||null===i.notEscapeSequenceHead||this.throwTemplateLiteralEarlyErrors(i);var n=i.value,r=i.cooked;return this.finalize(e,new qe({raw:n,cooked:r},i.tail))},t.prototype.parseTemplateElement=function(t){10!==this.lookahead.type&&this.throwUnexpectedToken();var e=this.createNode(),i=this.nextToken();t.isTagged||null===i.notEscapeSequenceHead||this.throwTemplateLiteralEarlyErrors(i);var n=i.value,r=i.cooked;return this.finalize(e,new qe({raw:n,cooked:r},i.tail))},t.prototype.parseTemplateLiteral=function(t){var e=this.createNode(),i=[],n=[],r=this.parseTemplateHead(t);for(n.push(r);!r.tail;)i.push(this.parseExpression()),r=this.parseTemplateElement(t),n.push(r);return this.finalize(e,new Ve(n,i))},t.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case 64:case 39:case 69:case 61:break;case 70:t.type=69,this.reinterpretExpressionAsPattern(t.argument);break;case 30:t.type=60;for(var e=0;e<t.elements.length;e++)null!==t.elements[e]&&this.reinterpretExpressionAsPattern(t.elements[e]);break;case 41:t.type=66;for(e=0;e<t.properties.length;e++){var i=t.properties[e];this.reinterpretExpressionAsPattern(70===i.type?i:i.value)}break;case 32:t.type=61,delete t.operator,this.reinterpretExpressionAsPattern(t.left)}},t.prototype.parseGroupExpression=function(){var t;if(this.expect("("),this.match(")"))this.nextToken(),this.match("=>")||this.expect("=>"),t={type:di,params:[],async:!1};else{var e=this.lookahead,i=[];if(this.match("..."))t=this.parseRestElement(i),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:di,params:[t],async:!1};else{var n=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var r=[];for(this.context.isAssignmentTarget=!1,r.push(t);2!==this.lookahead.type&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var s=0;s<r.length;s++)this.reinterpretExpressionAsPattern(r[s]);n=!0,t={type:di,params:r,async:!1}}else if(this.match("...")){this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),r.push(this.parseRestElement(i)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1;for(s=0;s<r.length;s++)this.reinterpretExpressionAsPattern(r[s]);n=!0,t={type:di,params:r,async:!1}}else r.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(n)break}n||(t=this.finalize(this.startNode(e),new Ue(r)))}if(!n){if(this.expect(")"),this.match("=>")&&(64===t.type&&"yield"===t.name&&(n=!0,t={type:di,params:[t],async:!1}),!n)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),37===t.type)for(s=0;s<t.expressions.length;s++)this.reinterpretExpressionAsPattern(t.expressions[s]);else this.reinterpretExpressionAsPattern(t);var o=37===t.type?t.expressions:[t];t={type:di,params:o,async:!1}}this.context.isBindingElement=!1}}}return t},t.prototype.parseArguments=function(){this.expect("(");var t=[];if(!this.match(")"))for(;;){var e=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAssignmentExpression);if(t.push(e),this.match(")"))break;if(this.expectCommaSeparator(),this.match(")"))break}return this.expect(")"),t},t.prototype.isIdentifierName=function(t){return 3===t.type||4===t.type||1===t.type||5===t.type},t.prototype.parseIdentifierName=function(){var t=this.createNode(),e=this.nextToken();return this.isIdentifierName(e)||this.throwUnexpectedToken(e),this.finalize(t,new ve(e.value))},t.prototype.parseNewExpression=function(){var t,e=this.createNode(),i=this.parseIdentifierName();if(w("new"===i.name,"New expression must start with `new`"),this.match("."))if(this.nextToken(),3===this.lookahead.type&&this.context.inFunctionBody&&"target"===this.lookahead.value){var n=this.parseIdentifierName();t=new Be(i,n)}else this.throwUnexpectedToken(this.lookahead);else if(this.matchKeyword("import"))this.throwUnexpectedToken(this.lookahead);else{var r=this.isolateCoverGrammar(this.parseLeftHandSideExpression),s=this.match("(")?this.parseArguments():[];t=new Ne(r,s),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return this.finalize(e,t)},t.prototype.parseAsyncArgument=function(){var t=this.parseAssignmentExpression();return this.context.firstCoverInitializedNameError=null,t},t.prototype.parseAsyncArguments=function(){this.expect("(");var t=[];if(!this.match(")"))for(;;){var e=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAsyncArgument);if(t.push(e),this.match(")"))break;if(this.expectCommaSeparator(),this.match(")"))break}return this.expect(")"),t},t.prototype.matchImportCall=function(){var t=this.matchKeyword("import");if(t){var e=this.scanner.saveState();this.scanner.scanComments();var i=this.scanner.lex();this.scanner.restoreState(e),t=7===i.type&&"("===i.value}return t},t.prototype.parseImportCall=function(){var t=this.createNode();return this.expectKeyword("import"),this.finalize(t,new Ce)},t.prototype.parseLeftHandSideExpressionAllowCall=function(){var t,e=this.lookahead,i=this.matchContextualKeyword("async"),n=this.context.allowIn;for(this.context.allowIn=!0,this.matchKeyword("super")&&this.context.inFunctionBody?(t=this.createNode(),this.nextToken(),t=this.finalize(t,new Ke),this.match("(")||this.match(".")||this.match("[")||this.throwUnexpectedToken(this.lookahead)):t=this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var r=this.parseIdentifierName();t=this.finalize(this.startNode(e),new _e(t,r))}else if(this.match("(")){var s=i&&e.lineNumber===this.lookahead.lineNumber;this.context.isBindingElement=!1,this.context.isAssignmentTarget=!1;var o=s?this.parseAsyncArguments():this.parseArguments();if(77===t.type&&1!==o.length&&this.tolerateError(B),t=this.finalize(this.startNode(e),new Xt(t,o)),s&&this.match("=>")){for(var a=0;a<o.length;++a)this.reinterpretExpressionAsPattern(o[a]);t={type:di,params:o,async:!0}}}else if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");r=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),t=this.finalize(this.startNode(e),new ie(t,r))}else{if(10!==this.lookahead.type||!this.lookahead.head)break;var u=this.parseTemplateLiteral({isTagged:!0});t=this.finalize(this.startNode(e),new We(t,u))}return this.context.allowIn=n,t},t.prototype.parseSuper=function(){var t=this.createNode();return this.expectKeyword("super"),this.match("[")||this.match(".")||this.throwUnexpectedToken(this.lookahead),this.finalize(t,new Ke)},t.prototype.parseLeftHandSideExpression=function(){w(this.context.allowIn,"callee of new expression always allow in keyword.");for(var t=this.startNode(this.lookahead),e=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("]"),e=this.finalize(t,new ie(e,i))}else if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");i=this.parseIdentifierName();e=this.finalize(t,new _e(e,i))}else{if(10!==this.lookahead.type||!this.lookahead.head)break;var n=this.parseTemplateLiteral({isTagged:!0});e=this.finalize(t,new We(e,n))}return e},t.prototype.parseUpdateExpression=function(){var t,e=this.lookahead;if(this.match("++")||this.match("--")){var i=this.startNode(e),n=this.nextToken();t=this.inheritCoverGrammar(this.parseUnaryExpression),this.context.strict&&64===t.type&&this.scanner.isRestrictedWord(t.name)&&this.tolerateError(xt),this.context.isAssignmentTarget||this.tolerateError($);var r=!0;t=this.finalize(i,new ti(n.value,t,r)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else if(t=this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall),!this.hasLineTerminator&&7===this.lookahead.type&&(this.match("++")||this.match("--"))){this.context.strict&&64===t.type&&this.scanner.isRestrictedWord(t.name)&&this.tolerateError(yt),this.context.isAssignmentTarget||this.tolerateError($),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var s=this.nextToken().value;r=!1;t=this.finalize(this.startNode(e),new ti(s,t,r))}return t},t.prototype.parseAwaitExpression=function(){var t=this.createNode();this.nextToken();var e=this.parseUnaryExpression();return this.finalize(t,new qt(e))},t.prototype.parseUnaryExpression=function(){var t;if(this.match("+")||this.match("-")||this.match("~")||this.match("!")||this.matchKeyword("delete")||this.matchKeyword("void")||this.matchKeyword("typeof")){var e=this.startNode(this.lookahead),i=this.nextToken();t=this.inheritCoverGrammar(this.parseUnaryExpression),t=this.finalize(e,new Qe(i.value,t)),this.context.strict&&"delete"===t.operator&&64===t.argument.type&&this.tolerateError(dt),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else t=this.context.await&&this.matchContextualKeyword("await")?this.parseAwaitExpression():this.parseUpdateExpression();return t},t.prototype.parseExponentiationExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseUnaryExpression);if(44!==e.type&&this.match("**")){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var i=e,n=this.isolateCoverGrammar(this.parseExponentiationExpression);e=this.finalize(this.startNode(t),new Yt("**",i,n))}return e},t.prototype.binaryPrecedence=function(t){var e=t.value;return 7===t.type?this.operatorPrecedence[e]||0:4===t.type&&("instanceof"===e||this.context.allowIn&&"in"===e)?12:0},t.prototype.parseBinaryExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseExponentiationExpression),i=!0,n=!0,r=function(t){"&&"!==t.value&&"||"!==t.value||(n=!1),"??"===t.value&&(i=!1)},s=this.lookahead,o=this.binaryPrecedence(s);if(o>0){r(s),this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var a=[t,this.lookahead],u=e,c=this.isolateCoverGrammar(this.parseExponentiationExpression),h=[u,s.value,c],l=[o];!((o=this.binaryPrecedence(this.lookahead))<=0);){for((i||"&&"!==this.lookahead.value&&"||"!==this.lookahead.value)&&(n||"??"!==this.lookahead.value)||this.throwUnexpectedToken(this.lookahead),r(this.lookahead);h.length>2&&o<=l[l.length-1];){c=h.pop();var p=h.pop();l.pop(),u=h.pop(),a.pop();var d=a[a.length-1],f=this.startNode(d,d.lineStart);h.push(this.finalize(f,new Yt(p,u,c)))}h.push(this.nextToken().value),l.push(o),a.push(this.lookahead),h.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var m=h.length-1;e=h[m];for(var D=a.pop();m>1;){d=a.pop();var y=D&&D.lineStart;f=this.startNode(d,y),p=h[m-1];e=this.finalize(f,new Yt(p,h[m-2],e)),m-=2,D=d}}return e},t.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var i=this.context.allowIn;this.context.allowIn=!0;var n=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=i,this.expect(":");var r=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new ne(e,n,r)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},t.prototype.checkPatternParam=function(t,e){switch(e.type){case 64:this.validateParam(t,e,e.name);break;case 69:this.checkPatternParam(t,e.argument);break;case 61:this.checkPatternParam(t,e.left);break;case 60:for(var i=0;i<e.elements.length;i++)null!==e.elements[i]&&this.checkPatternParam(t,e.elements[i]);break;case 66:for(i=0;i<e.properties.length;i++){var n=e.properties[i];this.checkPatternParam(t,69===n.type?n:n.value)}}t.simple=t.simple&&e instanceof ve},t.prototype.reinterpretAsCoverFormalsList=function(t){var e=[t],i={simple:!0,paramSet:{}},n=!1;switch(t.type){case 64:break;case di:e=t.params,n=t.async;break;default:return null}for(var r=0;r<e.length;++r){61===(s=e[r]).type?92===s.right.type&&(s.right.argument&&this.throwUnexpectedToken(this.lookahead),s.right.type=64,s.right.name="yield",delete s.right.argument,delete s.right.delegate):n&&64===s.type&&"await"===s.name&&this.throwUnexpectedToken(this.lookahead),this.checkPatternParam(i,s),e[r]=s}if(this.context.strict||!this.context.allowYield)for(r=0;r<e.length;++r){var s;92===(s=e[r]).type&&this.throwUnexpectedToken(this.lookahead)}if(i.message===Ct){var o=this.context.strict?i.stricted:i.firstRestricted;this.throwUnexpectedToken(o,i.message)}return{simple:i.simple,params:e,stricted:i.stricted,firstRestricted:i.firstRestricted,message:i.message}},t.prototype.parseAssignmentExpression=function(){var t;if(!this.context.allowYield&&this.matchKeyword("yield"))t=this.parseYieldExpression();else{var e=this.lookahead,i=e;if(t=this.parseConditionalExpression(),3===i.type&&i.lineNumber===this.lookahead.lineNumber&&"async"===i.value&&(3===this.lookahead.type||this.matchKeyword("yield"))){var n=this.parsePrimaryExpression();this.reinterpretExpressionAsPattern(n),t={type:di,params:[n],async:!0}}if(t.type===di||this.match("=>")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var r=t.async,s=this.reinterpretAsCoverFormalsList(t);if(s){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var o=this.context.strict,a=this.context.allowStrictDirective;this.context.allowStrictDirective=s.simple;var u=this.context.allowYield,c=this.context.await;this.context.allowYield=!0,this.context.await=r;var h=this.startNode(e);this.expect("=>");var l=void 0;if(this.match("{")){var p=this.context.allowIn;this.context.allowIn=!0,l=this.parseFunctionSourceElements(),this.context.allowIn=p}else l=this.isolateCoverGrammar(this.parseAssignmentExpression);var d=76!==l.type;this.context.strict&&s.firstRestricted&&this.throwUnexpectedToken(s.firstRestricted,s.message),this.context.strict&&s.stricted&&this.tolerateUnexpectedToken(s.stricted,s.message),t=r?this.finalize(h,new Gt(s.params,l,d)):this.finalize(h,new Ut(s.params,l,d)),this.context.strict=o,this.context.allowStrictDirective=a,this.context.allowYield=u,this.context.await=c}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError($),this.context.strict&&64===t.type){var f=t;this.scanner.isRestrictedWord(f.name)&&this.tolerateUnexpectedToken(i,Dt),this.scanner.isStrictModeReservedWord(f.name)&&this.tolerateUnexpectedToken(i,bt)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var m=(i=this.nextToken()).value,D=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new _t(m,t,D)),this.context.firstCoverInitializedNameError=null}}return t},t.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var i=[];for(i.push(e);2!==this.lookahead.type&&this.match(",");)this.nextToken(),i.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new Ue(i))}return e},t.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,4===this.lookahead.type)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,H),t=this.parseExportDeclaration();break;case"import":this.matchImportCall()?t=this.parseExpressionStatement():(this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,W),t=this.parseImportDeclaration());break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},t.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new Jt(e))},t.prototype.parseLexicalBinding=function(t,e){var i=this.createNode(),n=this.parsePattern([],t);this.context.strict&&64===n.type&&this.scanner.isRestrictedWord(n.name)&&this.tolerateError(Ft);var r=null;return"const"===t?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),r=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(O,"const")):(!e.inFor&&64!==n.type||this.match("="))&&(this.expect("="),r=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(i,new ni(n,r))},t.prototype.parseBindingList=function(t,e){for(var i=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),i.push(this.parseLexicalBinding(t,e));return i},t.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),3===e.type||7===e.type&&"["===e.value||7===e.type&&"{"===e.value||4===e.type&&"let"===e.value||4===e.type&&"yield"===e.value},t.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),i=this.nextToken().value;w("let"===i||"const"===i,"Lexical declaration must be either let or const");var n=this.parseBindingList(i,t);return this.consumeSemicolon(),this.finalize(e,new ii(n,i))},t.prototype.parseBindingRestElement=function(t,e){var i=this.createNode();this.expect("...");var n=this.parsePattern(t,e);return this.finalize(i,new Me(n))},t.prototype.parseArrayPattern=function(t,e){var i=this.createNode();this.expect("[");for(var n=[];!this.match("]");)if(this.match(","))this.nextToken(),n.push(null);else{if(this.match("...")){n.push(this.parseBindingRestElement(t,e));break}n.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(i,new zt(n))},t.prototype.parsePropertyPattern=function(t,e){var i,n,r=this.createNode(),s=!1,o=!1;if(3===this.lookahead.type){var a=this.lookahead;i=this.parseVariableIdentifier();var u=this.finalize(r,new ve(a.value));if(this.match("=")){t.push(a),o=!0,this.nextToken();var c=this.parseAssignmentExpression();n=this.finalize(this.startNode(a),new Kt(u,c))}else this.match(":")?(this.expect(":"),n=this.parsePatternWithDefault(t,e)):(t.push(a),o=!0,n=u)}else s=this.match("["),i=this.parseObjectPropertyKey(),this.expect(":"),n=this.parsePatternWithDefault(t,e);return this.finalize(r,new Oe("init",i,s,n,!1,o))},t.prototype.parseRestProperty=function(t,e){var i=this.createNode();this.expect("...");var n=this.parsePattern(t);return this.match("=")&&this.throwError(M),this.match("}")||this.throwError(ct),this.finalize(i,new Me(n))},t.prototype.parseObjectPattern=function(t,e){var i=this.createNode(),n=[];for(this.expect("{");!this.match("}");)n.push(this.match("...")?this.parseRestProperty(t,e):this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(i,new Pe(n))},t.prototype.parsePattern=function(t,e){var i;return this.match("[")?i=this.parseArrayPattern(t,e):this.match("{")?i=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||"const"!==e&&"let"!==e||this.tolerateUnexpectedToken(this.lookahead,it),t.push(this.lookahead),i=this.parseVariableIdentifier(e)),i},t.prototype.parsePatternWithDefault=function(t,e){var i=this.lookahead,n=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var r=this.context.allowYield;this.context.allowYield=!0;var s=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=r,n=this.finalize(this.startNode(i),new Kt(n,s))}return n},t.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),i=this.nextToken();return 4===i.type&&"yield"===i.value?this.context.strict?this.tolerateUnexpectedToken(i,bt):this.context.allowYield||this.throwUnexpectedToken(i):3!==i.type?this.context.strict&&4===i.type&&this.scanner.isStrictModeReservedWord(i.value)?this.tolerateUnexpectedToken(i,bt):(this.context.strict||"let"!==i.value||"var"!==t)&&this.throwUnexpectedToken(i):(this.context.isModule||this.context.await)&&3===i.type&&"await"===i.value&&this.tolerateUnexpectedToken(i),this.finalize(e,new ve(i.value))},t.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),i=this.parsePattern([],"var");this.context.strict&&64===i.type&&this.scanner.isRestrictedWord(i.name)&&this.tolerateError(Ft);var n=null;return this.match("=")?(this.nextToken(),n=this.isolateCoverGrammar(this.parseAssignmentExpression)):64===i.type||t.inFor||this.expect("="),this.finalize(e,new ni(i,n))},t.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},i=[];for(i.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),i.push(this.parseVariableDeclaration(e));return i},t.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new ii(e,"var"))},t.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new ue)},t.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new de(e))},t.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(ft),this.parseStatement()},t.prototype.parseIfStatement=function(){var t,e=this.createNode(),i=null;this.expectKeyword("if"),this.expect("(");var n=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new ue)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),i=this.parseIfClause())),this.finalize(e,new ge(n,t,i))},t.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var i=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var n=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new ae(i,n))},t.prototype.parseWhileStatement=function(){var t,e=this.createNode();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 ue);else{this.expect(")");var n=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=n}return this.finalize(e,new ri(i,t))},t.prototype.parseForStatement=function(){var t,e,i,n=null,r=null,s=null,o=!0,a=!1,u=this.createNode();if(this.expectKeyword("for"),this.matchContextualKeyword("await")&&(this.context.await||this.tolerateUnexpectedToken(this.lookahead),a=!0,this.nextToken()),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){n=this.createNode(),this.nextToken();var c=this.context.allowIn;this.context.allowIn=!1;var h=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=c,!a&&1===h.length&&this.matchKeyword("in")){var l=h[0];l.init&&(60===l.id.type||66===l.id.type||this.context.strict)&&this.tolerateError(L,"for-in"),n=this.finalize(n,new ii(h,"var")),this.nextToken(),t=n,e=this.parseExpression(),n=null}else 1===h.length&&null===h[0].init&&this.matchContextualKeyword("of")?(n=this.finalize(n,new ii(h,"var")),this.nextToken(),t=n,e=this.parseAssignmentExpression(),n=null,o=!1):(n=this.finalize(n,new ii(h,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){n=this.createNode();var p=this.nextToken().value;if(this.context.strict||"in"!==this.lookahead.value){c=this.context.allowIn;this.context.allowIn=!1;h=this.parseBindingList(p,{inFor:!0});this.context.allowIn=c,1===h.length&&null===h[0].init&&this.matchKeyword("in")?(n=this.finalize(n,new ii(h,p)),this.nextToken(),t=n,e=this.parseExpression(),n=null):1===h.length&&null===h[0].init&&this.matchContextualKeyword("of")?(n=this.finalize(n,new ii(h,p)),this.nextToken(),t=n,e=this.parseAssignmentExpression(),n=null,o=!1):(this.consumeSemicolon(),n=this.finalize(n,new ii(h,p)))}else n=this.finalize(n,new ve(p)),this.nextToken(),t=n,e=this.parseExpression(),n=null}else{var d=this.lookahead,f=this.context.isBindingElement,m=this.context.isAssignmentTarget,D=this.context.firstCoverInitializedNameError;c=this.context.allowIn;if(this.context.allowIn=!1,n=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=c,this.matchKeyword("in"))this.context.isAssignmentTarget&&32!==n.type||this.tolerateError(X),this.nextToken(),this.reinterpretExpressionAsPattern(n),t=n,e=this.parseExpression(),n=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&32!==n.type||this.tolerateError(Q),this.nextToken(),this.reinterpretExpressionAsPattern(n),t=n,e=this.parseAssignmentExpression(),n=null,o=!1;else{if(this.context.isBindingElement=f,this.context.isAssignmentTarget=m,this.context.firstCoverInitializedNameError=D,this.match(",")){for(var y=[n];this.match(",");)this.nextToken(),y.push(this.isolateCoverGrammar(this.parseAssignmentExpression));n=this.finalize(this.startNode(d),new Ue(y))}this.expect(";")}}if(void 0===t&&(this.match(";")||(r=this.isolateCoverGrammar(this.parseExpression)),this.expect(";"),this.match(")")||(s=this.isolateCoverGrammar(this.parseExpression))),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),i=this.finalize(this.createNode(),new ue);else{this.expect(")");var x=this.context.inIteration;this.context.inIteration=!0,i=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=x}return void 0===t?this.finalize(u,new De(n,r,s,i)):o?this.finalize(u,new fe(t,e,i)):this.finalize(u,new me(t,e,i,a))},t.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(3===this.lookahead.type&&!this.hasLineTerminator){var i=this.parseVariableIdentifier();e=i;var n="$"+i.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,n)||this.throwError(jt,i.name)}return this.consumeSemicolon(),null!==e||this.context.inIteration||this.throwError(G),this.finalize(t,new re(e))},t.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(3===this.lookahead.type&&!this.hasLineTerminator){var i=this.parseVariableIdentifier(),n="$"+i.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,n)||this.throwError(jt,i.name),e=i}return this.consumeSemicolon(),null!==e||this.context.inIteration||this.context.inSwitch||this.throwError(K),this.finalize(t,new $t(e))},t.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(V);var t=this.createNode();this.expectKeyword("return");var e=!this.match(";")&&!this.match("}")&&!this.hasLineTerminator&&2!==this.lookahead.type||8===this.lookahead.type||10===this.lookahead.type?this.parseExpression():null;return this.consumeSemicolon(),this.finalize(t,new Re(e))},t.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(vt);var t,e=this.createNode();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 ue)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new si(i,t))},t.prototype.parseSwitchCase=function(){var t,e=this.createNode();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 Ge(t,i))},t.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var i=this.context.inSwitch;this.context.inSwitch=!0;var n=[],r=!1;for(this.expect("{");!this.match("}");){var s=this.parseSwitchCase();null===s.test&&(r&&this.throwError(rt),r=!0),n.push(s)}return this.expect("}"),this.context.inSwitch=i,this.finalize(t,new He(e,n))},t.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),i=this.parseExpression();if(64===i.type&&this.match(":")){this.nextToken();var n=i,r="$"+n.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,r)&&this.throwError(ht,"Label",n.name),this.context.labelSet[r]=!0;var s=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),s=this.parseClassDeclaration();else if(this.matchKeyword("function")){var o=this.lookahead,a=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(o,ft):a.generator&&this.tolerateUnexpectedToken(o,_),s=a}else s=this.parseStatement();delete this.context.labelSet[r],t=new we(n,s)}else this.consumeSemicolon(),t=new de(i);return this.finalize(e,t)},t.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(st);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new Je(e))},t.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],i=this.parsePattern(e),n={},r=0;r<e.length;r++){var s="$"+e[r].value;Object.prototype.hasOwnProperty.call(n,s)&&this.tolerateError(R,e[r].value),n[s]=!0}this.context.strict&&64===i.type&&this.scanner.isRestrictedWord(i.name)&&this.tolerateError(pt),this.expect(")");var o=this.parseBlock();return this.finalize(t,new Qt(i,o))},t.prototype.parseFinallyClause=function(){return this.expectKeyword("finally"),this.parseBlock()},t.prototype.parseTryStatement=function(){var t=this.createNode();this.expectKeyword("try");var e=this.parseBlock(),i=this.matchKeyword("catch")?this.parseCatchClause():null,n=this.matchKeyword("finally")?this.parseFinallyClause():null;return i||n||this.throwError(at),this.finalize(t,new $e(e,i,n))},t.prototype.parseDebuggerStatement=function(){var t=this.createNode();return this.expectKeyword("debugger"),this.consumeSemicolon(),this.finalize(t,new se)},t.prototype.parseStatement=function(){var t;switch(this.lookahead.type){case 1:case 5:case 6:case 8:case 10:case 9:t=this.parseExpressionStatement();break;case 7:var e=this.lookahead.value;t="{"===e?this.parseBlock():"("===e?this.parseExpressionStatement():";"===e?this.parseEmptyStatement():this.parseExpressionStatement();break;case 3:t=this.matchAsyncFunction()?this.parseFunctionDeclaration():this.parseLabelledStatement();break;case 4:switch(this.lookahead.value){case"break":t=this.parseBreakStatement();break;case"continue":t=this.parseContinueStatement();break;case"debugger":t=this.parseDebuggerStatement();break;case"do":t=this.parseDoWhileStatement();break;case"for":t=this.parseForStatement();break;case"function":t=this.parseFunctionDeclaration();break;case"if":t=this.parseIfStatement();break;case"return":t=this.parseReturnStatement();break;case"switch":t=this.parseSwitchStatement();break;case"throw":t=this.parseThrowStatement();break;case"try":t=this.parseTryStatement();break;case"var":t=this.parseVariableStatement();break;case"while":t=this.parseWhileStatement();break;case"with":t=this.parseWithStatement();break;default:t=this.parseExpressionStatement()}break;default:t=this.throwUnexpectedToken(this.lookahead)}return t},t.prototype.parseFunctionSourceElements=function(){var t=this.createNode();this.expect("{");var e=this.parseDirectivePrologues(),i=this.context.labelSet,n=this.context.inIteration,r=this.context.inSwitch,s=this.context.inFunctionBody;for(this.context.labelSet={},this.context.inIteration=!1,this.context.inSwitch=!1,this.context.inFunctionBody=!0;2!==this.lookahead.type&&!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.context.labelSet=i,this.context.inIteration=n,this.context.inSwitch=r,this.context.inFunctionBody=s,this.finalize(t,new Jt(e))},t.prototype.validateParam=function(t,e,i){var n="$"+i;this.context.strict?(this.scanner.isRestrictedWord(i)&&(t.stricted=e,t.message=Et),Object.prototype.hasOwnProperty.call(t.paramSet,n)&&(t.stricted=e,t.message=Ct)):t.firstRestricted||(this.scanner.isRestrictedWord(i)?(t.firstRestricted=e,t.message=Et):this.scanner.isStrictModeReservedWord(i)?(t.firstRestricted=e,t.message=bt):Object.prototype.hasOwnProperty.call(t.paramSet,n)&&(t.stricted=e,t.message=Ct)),"function"==typeof Object.defineProperty?Object.defineProperty(t.paramSet,n,{value:!0,enumerable:!0,writable:!0,configurable:!0}):t.paramSet[n]=!0},t.prototype.parseRestElement=function(t){var e=this.createNode();this.expect("...");var i=this.parsePattern(t);return this.match("=")&&this.throwError(j),this.match(")")||this.throwError(ut),this.finalize(e,new Me(i))},t.prototype.parseFormalParameter=function(t){for(var e=[],i=this.match("...")?this.parseRestElement(e):this.parsePatternWithDefault(e),n=0;n<e.length;n++)this.validateParam(t,e[n],e[n].value);t.simple=t.simple&&i instanceof ve,t.params.push(i)},t.prototype.parseFormalParameters=function(t){var e={simple:!0,params:[],firstRestricted:t};if(this.expect("("),!this.match(")"))for(e.paramSet={};2!==this.lookahead.type&&(this.parseFormalParameter(e),!this.match(")"))&&(this.expect(","),!this.match(")")););return this.expect(")"),{simple:e.simple,params:e.params,stricted:e.stricted,firstRestricted:e.firstRestricted,message:e.message}},t.prototype.matchAsyncFunction=function(){var t=this.matchContextualKeyword("async");if(t){var e=this.scanner.saveState();this.scanner.scanComments();var i=this.scanner.lex();this.scanner.restoreState(e),t=e.lineNumber===i.lineNumber&&4===i.type&&"function"===i.value}return t},t.prototype.parseFunctionDeclaration=function(t){var e=this.createNode(),i=this.matchContextualKeyword("async");i&&this.nextToken(),this.expectKeyword("function");var n,r=!i&&this.match("*");r&&this.nextToken();var s=null,o=null;if(!t||!this.match("(")){var a=this.lookahead;s=this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(a.value)&&this.tolerateUnexpectedToken(a,mt):this.scanner.isRestrictedWord(a.value)?(o=a,n=mt):this.scanner.isStrictModeReservedWord(a.value)&&(o=a,n=bt)}var u=this.context.await,c=this.context.allowYield;this.context.await=i,this.context.allowYield=!r;var h=this.parseFormalParameters(o),l=h.params,p=h.stricted;o=h.firstRestricted,h.message&&(n=h.message);var d=this.context.strict,f=this.context.allowStrictDirective;this.context.allowStrictDirective=h.simple;var m=this.parseFunctionSourceElements();return this.context.strict&&o&&this.throwUnexpectedToken(o,n),this.context.strict&&p&&this.tolerateUnexpectedToken(p,n),this.context.strict=d,this.context.allowStrictDirective=f,this.context.await=u,this.context.allowYield=c,i?this.finalize(e,new Ht(s,l,m)):this.finalize(e,new ye(s,l,m,r))},t.prototype.parseFunctionExpression=function(){var t=this.createNode(),e=this.matchContextualKeyword("async");e&&this.nextToken(),this.expectKeyword("function");var i,n=!e&&this.match("*");n&&this.nextToken();var r,s=null,o=this.context.await,a=this.context.allowYield;if(this.context.await=e,this.context.allowYield=!n,!this.match("(")){var u=this.lookahead;s=this.context.strict||n||!this.matchKeyword("yield")?this.parseVariableIdentifier():this.parseIdentifierName(),this.context.strict?this.scanner.isRestrictedWord(u.value)&&this.tolerateUnexpectedToken(u,mt):this.scanner.isRestrictedWord(u.value)?(r=u,i=mt):this.scanner.isStrictModeReservedWord(u.value)&&(r=u,i=bt)}var c=this.parseFormalParameters(r),h=c.params,l=c.stricted;r=c.firstRestricted,c.message&&(i=c.message);var p=this.context.strict,d=this.context.allowStrictDirective;this.context.allowStrictDirective=c.simple;var f=this.parseFunctionSourceElements();return this.context.strict&&r&&this.throwUnexpectedToken(r,i),this.context.strict&&l&&this.tolerateUnexpectedToken(l,i),this.context.strict=p,this.context.allowStrictDirective=d,this.context.await=o,this.context.allowYield=a,e?this.finalize(t,new Wt(s,h,f)):this.finalize(t,new xe(s,h,f,n))},t.prototype.parseDirective=function(){var t=this.lookahead,e=this.createNode(),i=this.parseExpression(),n=65===i.type?this.getTokenRaw(t).slice(1,-1):null;return this.consumeSemicolon(),this.finalize(e,n?new oe(i,n):new de(i))},t.prototype.parseDirectivePrologues=function(){for(var t=null,e=[];;){var i=this.lookahead;if(8!==i.type)break;var n=this.parseDirective();e.push(n);var r=n.directive;if("string"!=typeof r)break;"use strict"===r?(this.context.strict=!0,t&&this.tolerateUnexpectedToken(t,gt),this.context.allowStrictDirective||this.tolerateUnexpectedToken(i,q)):!t&&i.octal&&(t=i)}return e},t.prototype.qualifiedPropertyName=function(t){switch(t.type){case 3:case 8:case 1:case 5:case 6:case 4:return!0;case 7:return"["===t.value}return!1},t.prototype.parseGetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var i=this.parseFormalParameters();i.params.length>0&&this.tolerateError(S);var n=this.parsePropertyMethod(i);return this.context.allowYield=e,this.finalize(t,new xe(null,i.params,n,false))},t.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var i=this.parseFormalParameters();1!==i.params.length?this.tolerateError(T):i.params[0]instanceof Me&&this.tolerateError(N);var n=this.parsePropertyMethod(i);return this.context.allowYield=e,this.finalize(t,new xe(null,i.params,n,false))},t.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var i=this.parseFormalParameters();this.context.allowYield=!1;var n=this.parsePropertyMethod(i);return this.context.allowYield=e,this.finalize(t,new xe(null,i.params,n,!0))},t.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t="["===e||"("===e||"{"===e||"+"===e||"-"===e||"!"===e||"~"===e||"++"===e||"--"===e||"/"===e||"/="===e;break;case 4:t="class"===e||"delete"===e||"function"===e||"let"===e||"new"===e||"super"===e||"this"===e||"typeof"===e||"void"===e||"yield"===e}return t},t.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,i=!1;if(!this.hasLineTerminator){var n=this.context.allowYield;this.context.allowYield=!1,(i=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=n}return this.finalize(t,new oi(e,i))},t.prototype.parseClassElement=function(t){var e=this.lookahead,i=this.createNode(),n="",r=null,s=null,o=!1,a=!1,u=!1,c=!1;if(this.match("*"))this.nextToken();else if(o=this.match("["),"static"===(r=this.parseObjectPropertyKey()).name&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,u=!0,o=this.match("["),this.match("*")?this.nextToken():r=this.parseObjectPropertyKey()),3===e.type&&!this.hasLineTerminator&&"async"===e.value){var h=this.lookahead.value;":"!==h&&"("!==h&&"*"!==h&&(c=!0,e=this.lookahead,o=this.match("["),r=this.parseObjectPropertyKey(),3===e.type&&"constructor"===e.value&&this.tolerateUnexpectedToken(e,I))}var l=this.qualifiedPropertyName(this.lookahead);return 3===e.type?"get"===e.value&&l?(n="get",o=this.match("["),r=this.parseObjectPropertyKey(),this.context.allowYield=!1,s=this.parseGetterMethod()):"set"===e.value&&l&&(n="set",o=this.match("["),r=this.parseObjectPropertyKey(),s=this.parseSetterMethod()):7===e.type&&"*"===e.value&&l&&(n="init",o=this.match("["),r=this.parseObjectPropertyKey(),s=this.parseGeneratorMethod(),a=!0),!n&&r&&this.match("(")&&(n="init",s=c?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),a=!0),n||this.throwUnexpectedToken(this.lookahead),"init"===n&&(n="method"),o||(u&&this.isPropertyKey(r,"prototype")&&this.throwUnexpectedToken(e,lt),!u&&this.isPropertyKey(r,"constructor")&&(("method"!==n||!a||s&&s.generator)&&this.throwUnexpectedToken(e,P),t.value?this.throwUnexpectedToken(e,z):t.value=!0,n="constructor")),this.finalize(i,new Se(r,o,s,n,u))},t.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},t.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new Zt(e))},t.prototype.parseClassDeclaration=function(t){var e=this.createNode(),i=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var n=t&&3!==this.lookahead.type?null:this.parseVariableIdentifier(),r=null;this.matchKeyword("extends")&&(this.nextToken(),r=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var s=this.parseClassBody();return this.context.strict=i,this.finalize(e,new te(n,r,s))},t.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var i=3===this.lookahead.type?this.parseVariableIdentifier():null,n=null;this.matchKeyword("extends")&&(this.nextToken(),n=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var r=this.parseClassBody();return this.context.strict=e,this.finalize(t,new ee(i,n,r))},t.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();2!==this.lookahead.type;)e.push(this.parseStatementListItem());return this.finalize(t,new Te(e))},t.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();2!==this.lookahead.type;)e.push(this.parseStatementListItem());return this.finalize(t,new ze(e))},t.prototype.parseModuleSpecifier=function(){var t=this.createNode();8!==this.lookahead.type&&this.throwError(Z);var e=this.nextToken(),i=this.getTokenRaw(e);return this.finalize(t,new ke(e.value,i))},t.prototype.parseImportSpecifier=function(){var t,e,i=this.createNode();return 3===this.lookahead.type?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(i,new Ae(e,t))},t.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},t.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new be(e))},t.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(ot),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new Fe(e))},t.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(W);var t,e=this.createNode();this.expectKeyword("import");var i=[];if(8===this.lookahead.type)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 n=this.lookahead.value?Pt:nt;this.throwError(n,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new Ee(i,t))},t.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),i=e;return this.matchContextualKeyword("as")&&(this.nextToken(),i=this.parseIdentifierName()),this.finalize(t,new pe(e,i))},t.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(H);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var i=this.parseFunctionDeclaration(!0);t=this.finalize(e,new he(i))}else if(this.matchKeyword("class")){i=this.parseClassDeclaration(!0);t=this.finalize(e,new he(i))}else if(this.matchContextualKeyword("async")){i=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression();t=this.finalize(e,new he(i))}else{this.matchContextualKeyword("from")&&this.throwError(Pt,this.lookahead.value);i=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression();this.consumeSemicolon(),t=this.finalize(e,new he(i))}else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var n=this.lookahead.value?Pt:nt;this.throwError(n,this.lookahead.value)}this.nextToken();var r=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new ce(r))}else if(4===this.lookahead.type){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 le(i,[],null))}else if(this.matchAsyncFunction()){i=this.parseFunctionDeclaration();t=this.finalize(e,new le(i,[],null))}else{var s=[],o=null,a=!1;for(this.expect("{");!this.match("}");)a=a||this.matchKeyword("default"),s.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");if(this.expect("}"),this.matchContextualKeyword("from"))this.nextToken(),o=this.parseModuleSpecifier(),this.consumeSemicolon();else if(a){n=this.lookahead.value?Pt:nt;this.throwError(n,this.lookahead.value)}else this.consumeSemicolon();t=this.finalize(e,new le(null,s,o))}return t},t}(),mi=function(){function t(){this.values=[],this.curly=this.paren=-1}return t.prototype.beforeFunctionExpression=function(t){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","??","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(t)>=0},t.prototype.isRegexStart=function(){var t=this.values[this.values.length-1],e=null!==t;switch(t){case"this":case"]":e=!1;break;case")":var i=this.values[this.paren-1];e="if"===i||"while"===i||"for"===i||"with"===i;break;case"}":if(e=!0,"function"===this.values[this.curly-3])e=!!(n=this.values[this.curly-4])&&!this.beforeFunctionExpression(n);else if("function"===this.values[this.curly-4]){var n;e=!(n=this.values[this.curly-5])||!this.beforeFunctionExpression(n)}}return e},t.prototype.push=function(t){7===t.type||4===t.type?("{"===t.value?this.curly=this.values.length:"("===t.value&&(this.paren=this.values.length),this.values.push(t.value)):this.values.push(null)},t}();!function(){function t(t,e){this.errorHandler=new k,this.errorHandler.tolerant=!!e&&("boolean"==typeof e.tolerant&&e.tolerant),this.scanner=new li(t,this.errorHandler),this.scanner.trackComment=!!e&&("boolean"==typeof e.comment&&e.comment),this.trackRange=!!e&&("boolean"==typeof e.range&&e.range),this.trackLoc=!!e&&("boolean"==typeof e.loc&&e.loc),this.buffer=[],this.reader=new mi}t.prototype.errors=function(){return this.errorHandler.errors},t.prototype.getNextToken=function(){if(0===this.buffer.length){var t=this.scanner.scanComments();if(this.scanner.trackComment)for(var e=0;e<t.length;++e){var i=t[e],n=this.scanner.source.slice(i.slice[0],i.slice[1]),r={type:i.multiLine?"BlockComment":"LineComment",value:n};this.trackRange&&(r.range=i.range),this.trackLoc&&(r.loc=i.loc),this.buffer.push(r)}if(!this.scanner.eof()){var s=void 0;this.trackLoc&&(s={start:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},end:{}});var o=void 0;if("/"===this.scanner.source[this.scanner.index]&&this.reader.isRegexStart()){var a=this.scanner.saveState();try{o=this.scanner.scanRegExp()}catch(i){this.scanner.restoreState(a),o=this.scanner.lex()}}else o=this.scanner.lex();this.reader.push(o);var u={type:pi[o.type],value:this.scanner.source.slice(o.start,o.end)};if(this.trackRange&&(u.range=[o.start,o.end]),this.trackLoc&&(s.end={line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},u.loc=s),9===o.type){var c=o.pattern,h=o.flags;u.regex={pattern:c,flags:h}}this.buffer.push(u)}}return this.buffer.shift()}}();function Di(t,e,i){var n=null,r=function(t,e){i&&i(t,e),n&&n.visit(t,e)},s="function"==typeof i?r:null,o=!1;if(e){o="boolean"==typeof e.comment&&e.comment;var a="boolean"==typeof e.attachComment&&e.attachComment;(o||a)&&((n=new A).attach=a,e.comment=!0,s=r)}var u=!1;e&&"string"==typeof e.sourceType&&(u="module"===e.sourceType);var c=new fi(t,e,s),h=u?c.parseModule():c.parseScript();return o&&n&&(h.comments=n.comments),c.config.tokens&&(h.tokens=c.tokens),c.config.tolerant&&(h.errors=c.errorHandler.errors),h}function yi(t,e,i){var n=e||{};return n.sourceType="script",Di(t,n,i)}var xi={type:"return",value:void 0},vi={type:"continue",value:null},gi={type:"break",value:null},Ci=bi("noinit"),Ei=bi("deadzone");function bi(t){return t+Math.random().toString(36).substring(2)}var Fi="object"==typeof window&&window||"object"==typeof self&&self||"object"==typeof global&&global||Function("return this")();function Ai(t){return t===xi||t===gi||t===vi}var wi={notImplemented:"%0 isn't implemented",unexpectedToken:"Unexpected token",deleteUnqualified:"Delete of an unqualified identifier in strict mode",identifierDeclared:"Identifier %0 has already been declared",assignmentToConst:"Assignment to constant variable",notFunction:"%0 is not a function",convertNullToObject:"Cannot convert undefined or null to object",notDefined:"%0 is not defined",notIterable:"%0 is not iterable"},ki=function(){function t(t,e){this.kind=t,this.value=e}return t.prototype.set=function(t){return this.value=t},t.prototype.strictSet=function(t){return this.value=t},t}(),Bi=function(){function t(t,e){this.value=e,this.kind=3}return t.prototype.set=function(t){throw new TypeError(wi.assignmentToConst)},t.prototype.strictSet=function(t){throw new TypeError(wi.assignmentToConst)},t}(),Si=function(){function t(t,e){this.globalObject=t,this.globalKey=e,this.kind=1}return Object.defineProperty(t.prototype,"value",{get:function(){return this.globalObject[this.globalKey]},enumerable:!1,configurable:!0}),t.prototype.set=function(t){return this.globalObject[this.globalKey]=t},t.prototype.strictSet=function(t){"use strict";return this.globalObject[this.globalKey]=t},t}(),Ti=function(){function t(t,e){this.object=t,this.property=e}return Object.defineProperty(t.prototype,"value",{get:function(){return this.object[this.property]},enumerable:!1,configurable:!0}),t.prototype.set=function(t){return this.object[this.property]=t},t.prototype.strictSet=function(t){"use strict";return this.object[this.property]=t},t.prototype.delete=function(){return delete this.object[this.property]},t.prototype.strictDelete=function(){"use strict";return delete this.object[this.property]},t}(),Ni=function(){function t(t){this.globalObject=t,this.propertyAccessors=Object.create(null)}return t.prototype.getProperty=function(t){var e=this.propertyAccessors[t];return e||(e=this.propertyAccessors[t]=new Ti(this.globalObject,t)),e},t.prototype.deleteProperty=function(t){return delete this.globalObject[t]},t}(),Ii=function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),Pi=function(){function t(t,e){this.engine=t,this.strict=!1,this.isolated=!0,this.context=Object.create(null),this.parent=e,e&&e.strict&&(this.strict=!0)}return t.prototype.find=function(t){for(var e=this,i=e.parent;i;){var n=e.context[t];if(n)return n;i=(e=i).parent}return e.find(t)},t.prototype.var=function(t,e){var i=this.context,n=i[t];n?e!==Ci&&n.set(e):i[t]=new ki(1,e===Ci?void 0:e)},t.prototype.let=function(t,e){var i=this.context[t];if(i){if(i.value!==Ei)throw new SyntaxError(wi.identifierDeclared.replace("%0",t));i.set(e)}else this.context[t]=new ki(2,e)},t.prototype.const=function(t,e){var i=this.context[t];if(i&&i.value!==Ei)throw new SyntaxError(wi.identifierDeclared.replace("%0",t));this.context[t]=new Bi(3,e)},t.prototype.func=function(t,e){var i=this.context,n=i[t];n?this.strict?n.strictSet(e):n.set(e):i[t]=new ki(1,e)},t.prototype.declare=function(t,e,i){switch(t){case 1:this.var(e,i);break;case 2:this.let(e,i);break;case 3:this.const(e,i)}},t}(),Oi=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isolated=!1,e}return Ii(e,t),e.prototype.var=function(t,e){for(var i=this;!i.isolated&&i.parent;)i=i.parent;var n=i.context,r=n[t];if(r)e!==Ci&&r.set(e);else{var s=e===Ci?void 0:e;n[t]=new ki(1,s)}},e.prototype.func=function(t,e){for(var i=this;!i.isolated&&i.parent;)i=i.parent;var n=i.context,r=n[t];r?i.strict?r.strictSet(e):r.set(e):n[t]=new ki(1,e)},e}(Pi),ji=function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),Mi=function(t){function e(e,i,n){var r=t.call(this,e,i)||this;return r.withObject=n,r}return ji(e,t),e.prototype.find=function(e){return this.context[e]?this.context[e]:e in this.withObject?new Ti(this.withObject,e):t.prototype.find.call(this,e)},e.prototype.var=function(e,i){e in this.withObject?this.withObject[e]=i:t.prototype.var.call(this,e,i)},e}(Oi),Ri=function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),zi=function(t){function e(e,i){var n=t.call(this,e,null)||this;return n.engine=e,n.globalObject=i,n.objectBindings=function(t){var e=Object.create(null);return e.String={kind:1,get value(){return t.String},set:function(e){return t.String=e},strictSet:function(e){"use strict";return t.String=e}},e.Function={kind:1,get value(){return t.Function},set:function(e){return t.Function=e},strictSet:function(e){"use strict";return t.Function=e}},e.Array={kind:1,get value(){return t.Array},set:function(e){return t.Array=e},strictSet:function(e){"use strict";return t.Array=e}},e.Number={kind:1,get value(){return t.Number},set:function(e){return t.Number=e},strictSet:function(e){"use strict";return t.Number=e}},e.Object={kind:1,get value(){return t.Object},set:function(e){return t.Object=e},strictSet:function(e){"use strict";return t.Object=e}},e.setTimeout={kind:1,get value(){return t.setTimeout},set:function(e){return t.setTimeout=e},strictSet:function(e){"use strict";return t.setTimeout=e}},e.clearTimeout={kind:1,get value(){return t.clearTimeout},set:function(e){return t.clearTimeout=e},strictSet:function(e){"use strict";return t.clearTimeout=e}},e.setInterval={kind:1,get value(){return t.setInterval},set:function(e){return t.setInterval=e},strictSet:function(e){"use strict";return t.setInterval=e}},e.clearInterval={kind:1,get value(){return t.clearInterval},set:function(e){return t.clearInterval=e},strictSet:function(e){"use strict";return t.clearInterval=e}},e.console={kind:1,get value(){return t.console},set:function(e){return t.console=e},strictSet:function(e){"use strict";return t.console=e}},e}(i),n}return Ri(e,t),e.prototype.var=function(t,e){var i=this.context,n=i[t];if(n)e!==Ci&&n.set(e);else{var r=e===Ci?void 0:e,s=i.this.value,o=new Si(s,t);i[t]=o,t in s?e!==Ci&&o.set(r):h(s,t,{value:r,writable:!0,enumerable:!0,configurable:!1})}},e.prototype.func=function(t,e){var i=this.context,n=i[t];if(n)this.strict?n.strictSet(e):n.set(e);else{var r=i.this.value,s=new Si(r,t);i[t]=s,t in r?this.strict?s.strictSet(e):s.set(e):h(r,t,{value:e,writable:!0,enumerable:!0,configurable:!1})}},e.prototype.find=function(t){var e;return(e=this.context[t])?e:(e=this.objectBindings[t])||(t in this.globalObject?this.objectBindings[t]=new Si(this.globalObject,t):void 0)},e}(Pi);function Ui(t,e,i){if(e.generator||e.async)throw new Error(wi.notImplemented.replace("%0","Generator or async function"));var n,r=31===e.type,s=t.runtimeProfile,o=s.scriptId,a=function(){var n=new Pi(t,i),u=s.scriptId;s.scriptId=o,s.pushCallFrame({functionName:a.name,functionScope:n,functionNode:e}),r||(n.const("this",this),n.var("arguments",arguments));try{for(var c=e.params,h=0;h<c.length;h++){var l=c[h];n.var(l.name,arguments[h])}var p=void 0,d=e.body;if(76===d.type?(Li(t,d,n,0),p=Qi(t,d,n,3)):(p=cn(t,d,n),r&&(xi.value=p,p=xi)),s.popCallFrame(),s.scriptId=u,p===xi)return p.value}catch(e){var f=t.inspector;if(f&&!s.callExpressionStack.length){var m=F(e,"__rewrittenzxcd");m&&m.node&&(f.shouldPauseOnException(o,e,m.node,!0),f.throwException(e))}throw s.popCallFrame(),s.scriptId=u,e}},u=function(){"use strict";var n=new Pi(t,i);n.strict=!0;var a=s.scriptId;s.scriptId=o,s.pushCallFrame({functionName:u.name,functionScope:n,functionNode:e}),r||(n.const("this",this),n.const("arguments",arguments));try{for(var c=e.params,h=0;h<c.length;h++){var l=c[h];n.var(l.name,arguments[h])}var p=void 0,d=e.body;if(76===d.type?(Li(t,d,n,0),p=Qi(t,d,n,3)):(p=cn(t,d,n),r&&(xi.value=p,p=xi)),s.popCallFrame(),s.scriptId=a,p===xi)return p.value}catch(e){var f=t.inspector;if(f&&!s.callExpressionStack.length){var m=F(e,"__rewrittenzxcd");m&&m.node&&(f.shouldPauseOnException(o,e,m.node,!0),f.throwException(e))}throw s.popCallFrame(),s.scriptId=a,e}},c=e.params.length,p=i.strict||76===(n=e.body).type&&n.body.length&&"use strict"===n.body[0].directive?u:a;return E&&l(p,{name:{value:e.id&&e.id.name||"",configurable:!0},length:{value:c,configurable:!0}}),b(p,"___func_locationxasdzzy",{node:e,scriptId:t.runtimeProfile.scriptId}),h(p,"toString",{value:function(){return"function () { ... }"},writable:!0,configurable:!0}),p}function Li(t,e,i,n){var r=e.body;if(!i.strict){var s=r[0];s&&"use strict"===s.directive&&(i.strict=!0)}for(var o=0;o<r.length;o++){var a=r[o];63===a.type?i.func(a.id.name,Ui(t,a,i)):_i(t,a,i)}}function _i(t,e,i){switch(e.type){case 17:Ki(t,e,i);break;case 6:case 7:17===e.left.type&&Ki(t,e.left,i);case 8:8===e.type&&e.init&&17===e.init.type&&Ki(t,e.init,i);case 15:case 4:_i(t,e.body,i);break;case 9:_i(t,e.consequent,i),e.alternate&&_i(t,e.alternate,i);break;case 76:for(var n=e.body,r=0;r<n.length;r++)_i(t,n[r],i);break;case 12:var s=e.cases;for(r=0;r<s.length;r++)for(var o=s[r].consequent,a=0;a<o.length;a++)_i(t,o[a],i);break;case 14:var u=e.block.body;for(r=0;r<u.length;r++)_i(t,u[r],i);var c=e.handler&&e.handler.body.body;if(c)for(r=0;r<c.length;r++)_i(t,c[r],i);var h=e.finalizer&&e.finalizer.body;if(h)for(r=0;r<h.length;r++)_i(t,h[r],i)}}function Ki(t,e,i){for(var n=e.declarations,r=e.kind,s=0;s<n.length;s++){var o=n[s];1===r&&i.var(o.id.name,Ci)}}function Gi(t,e,i,n){var r=e.name;if("undefined"!==r){var s=i.find(r);if(s)return s.value;if(!n)throw new ReferenceError(wi.notDefined.replace("%0",r))}}function Hi(t,e,i){if("undefined"!==t){var n=e.find(t);if(n)return n;if(!i)throw new ReferenceError(wi.notDefined.replace("%0",t))}}function Wi(t,e,i,n){var r=e.init,s=r?cn(t,r,i):void 0,o=e.id.name;r&&i.var(o,s),!r||36!==r.type&&31!==r.type||!E||s.name||h(s,"name",{value:o,configurable:!0})}var qi=function(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var n,r,s=i.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(n=s.next()).done;)o.push(n.value)}catch(t){r={error:t}}finally{try{n&&!n.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return o},Vi=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(qi(arguments[e]));return t},Yi=Function.prototype.apply;function Ji(t,e,i,n){var r=cn(t,e.object,i),s=e.computed?cn(t,e.property,i):e.property.name;return 1&n?new Ti(r,s):r[s]}function $i(t,e,i){return e.value.raw}var Xi=function(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};function Qi(t,e,i,n){var r,s,o=i;try{for(var a=Xi(e.body),u=a.next();!u.done;u=a.next()){var c=cn(t,u.value,o);if(Ai(c))return c}}catch(t){r={error:t}}finally{try{u&&!u.done&&(s=a.return)&&s.call(a)}finally{if(r)throw r.error}}}function Zi(t,e,i){for(var n=e.consequent,r=0;r<n.length;r++){var s=cn(t,n[r],i);if(Ai(s))return s}}function tn(t,e,i){return Qi(t,e.body,i)}function en(t,e,i,n){for(;cn(t,e.test,i);){var r=cn(t,e.body,i);if(r===gi){if(gi.value)return gi;break}if(r!==vi){if(r===xi)return r}else if(vi.value&&vi.value!==n)return vi}}function nn(t,e,i,n){do{var r=cn(t,e.body,i);if(r===gi){if(gi.value)return gi;break}if(r!==vi){if(r===xi)return r}else if(vi.value&&vi.value!==n)return vi}while(cn(t,e.test,i))}function rn(t,e,i,n){var r=i;for(e.init&&cn(t,e.init,r);!e.test||cn(t,e.test,r);e.update&&cn(t,e.update,r)){var s=i,o=e.body,a=76===o.type?Qi(t,o,s):cn(t,o,s);if(a===gi){if(gi.value)return gi;break}if(a!==vi){if(a===xi)return a}else if(vi.value&&vi.value!==n)return vi}}function sn(t,e,i,n){var r=cn(t,e.right,i);for(var s in r){var o=an(t,e,i,s);if(o===gi){if(gi.value)return gi;break}if(o!==vi){if(o===xi)return o}else if(vi.value&&vi.value!==n)return vi}}function on(t,e,i,n){var r,s,o=cn(t,e.right,i);try{for(var a=Xi(o),u=a.next();!u.done;u=a.next()){var c=an(t,e,i,u.value);if(c===gi){if(gi.value)return gi;break}if(c!==vi){if(c===xi)return c}else if(vi.value&&vi.value!==n)return vi}}catch(t){r={error:t}}finally{try{u&&!u.done&&(s=a.return)&&s.call(a)}finally{if(r)throw r.error}}}function an(t,e,i,n){var r=e.left,s=e.body,o=i;if(17===r.type)!function(t,e,i,n){for(var r=e.declarations,s=e.kind,o=0;o<r.length;o++){var a=r[o].id;i.declare(s,a.name,n)}}(0,r,o,n);else{if(64!==r.type)throw new SyntaxError(wi.unexpectedToken);var a=Hi(r.name,i,i.strict?0:1);a||(a=t.globalObjectAccessor.getProperty(r.name)),i.strict?a.strictSet(n):a.set(n)}return 76===s.type?Qi(t,s,o):cn(t,s,o)}var un=[null,function(t,e){return gi.value=e.label?e.label.name:null,gi},function(t,e){return vi.value=e.label?e.label.name:null,vi},function(t,e,i){if(!t.inspector)debugger},nn,function(t,e,i){return cn(t,e.expression,i)},sn,on,rn,function(t,e,i){return cn(t,e.test,i)?cn(t,e.consequent,i):e.alternate?cn(t,e.alternate,i):void 0},function(t,e,i){var n,r=e.label.name,s=e.body;switch(s.type){case 8:n=rn(t,s,i,r);break;case 6:n=sn(t,s,i,r);break;case 7:n=on(t,s,i,r);break;case 4:n=nn(t,s,i,r);break;case 15:n=en(t,s,i,r);break;default:n=cn(t,e.body,i)}if(n!==gi||gi.value!==r)return n},function(t,e,i){return xi.value=e.argument?cn(t,e.argument,i):void 0,xi},function(t,e,i){for(var n=cn(t,e.discriminant,i),r=!1,s=-1,o=e.cases,a=o.length,u=0;u<a;u++){var c=o[u];if(r||(c.test?cn(t,c.test,i)===n&&(r=!0):s=u),r){var h=Zi(t,c,i);if(h===gi){if(gi.value)return gi;break}if(h===vi||h===xi)return h}!r&&u===a-1&&s>-1&&(u=s-1,r=!0)}},function(t,e,i){throw cn(t,e.argument,i)},function(t,e,i){var n;try{return n=Qi(t,e.block,i)}catch(a){if(e.handler){var r=new Oi(t,i),s=e.handler.param;if(s){var o=s.name;r.let(o,a)}return n=tn(t,e.handler,r)}throw a}finally{if(e.finalizer){var a=!1,u=void 0;Ai(n)&&(a=!0,u=n.value);var c=Qi(t,e.finalizer,i);if(Ai(c))return c;a&&(n.value=u)}}},en,function(t,e,i){var n=cn(t,e.object,i);if(null==n)throw new TypeError(wi.convertNullToObject);var r=new Mi(t,i,Object(n)),s=e.body;return 76===s.type?(Li(t,s,r),Qi(t,s,r)):cn(t,s,r)},function(t,e,i){for(var n=e.declarations,r=e.kind,s=0;s<n.length;s++)Wi(t,n[s],i,r)},null,null,null,null,null,null,null,null,null,null,null,null,function(t,e,i){for(var n=e.elements,r=n.length,s=new Array(r),o=0;o<r;o++){var a;null!==(a=n[o])&&(s[o]=cn(t,a,i))}return s},function(t,e,i){return Ui(t,e,i)},function(t,e,i){var n,r=e.left;switch(r.type){case 64:(n=Hi(r.name,i,i.strict?0:1))||(n=t.globalObjectAccessor.getProperty(r.name));break;case 39:n=Ji(t,r,i,1);break;default:throw new SyntaxError(wi.unexpectedToken)}var s=cn(t,e.right,i);switch(e.operator){case 1:return i.strict?n.strictSet(s):n.set(s),n.value;case 2:return i.strict?n.strictSet(n.value+s):n.set(n.value+s),n.value;case 3:return i.strict?n.strictSet(n.value-s):n.set(n.value-s),n.value;case 4:return i.strict?n.strictSet(n.value*s):n.set(n.value*s),n.value;case 5:return i.strict?n.strictSet(n.value/s):n.set(n.value/s),n.value;case 6:return i.strict?n.strictSet(n.value%s):n.set(n.value%s),n.value;case 13:return i.strict?n.strictSet(n.value&s):n.set(n.value&s),n.value;case 11:return i.strict?n.strictSet(n.value|s):n.set(n.value|s),n.value;case 12:return i.strict?n.strictSet(n.value^s):n.set(n.value^s),n.value;case 8:return i.strict?n.strictSet(n.value<<s):n.set(n.value<<s),n.value;case 9:return i.strict?n.strictSet(n.value>>s):n.set(n.value>>s),n.value;case 10:return i.strict?n.strictSet(n.value>>>s):n.set(n.value>>>s),n.value;case 7:return i.strict?n.strictSet(Math.pow(n.value,s)):n.set(Math.pow(n.value,s)),n.value;default:throw new SyntaxError(wi.unexpectedToken)}},function(t,e,i){var n=cn(t,e.left,i),r=cn(t,e.right,i);switch(e.operator){case 1:return n==r;case 2:return n!=r;case 3:return n===r;case 4:return n!==r;case 5:return n<r;case 6:return n<=r;case 7:return n>r;case 8:return n>=r;case 12:return n+r;case 13:return n-r;case 14:return n*r;case 16:return n/r;case 17:return n%r;case 22:return n instanceof r;case 18:return n|r;case 19:return n^r;case 20:return n&r;case 9:return n<<r;case 10:return n>>r;case 21:return n in r;case 11:return n>>>r;case 15:return Math.pow(n,r);default:throw new SyntaxError(wi.unexpectedToken)}},function(t,e,i){var n,r,s=e.callee;if(39===s.type){r=cn(t,s.object,i);var o=s.computed?cn(t,s.property,i):s.property.name;if("function"!=typeof(n=r[o]))throw new TypeError(wi.notFunction.replace("%0",o))}else if("function"!=typeof(n=cn(t,s,i))){var a;if(64===s.type)a=s.name;else try{a=JSON.stringify(n)}catch(t){a=""+n}throw new TypeError(wi.notFunction.replace("%0",a))}for(var u=e.arguments,c=u.length,h=new Array(c),l=0;l<c;l++)h[l]=cn(t,u[l],i);var p=t.runtimeProfile;p.pushCallExpression(e);try{var d=Yi.call(n,r,h);return p.popCallExpression(),d}catch(t){throw p.popCallExpression(),t}},function(t,e,i){return cn(t,e.test,i)?cn(t,e.consequent,i):cn(t,e.alternate,i)},function(t,e,i){if(e.id&&e.id.name){var n=new Oi(t,i),r=Ui(t,e,n);return n.const(e.id.name,r),r}return Ui(t,e,i)},function(t,e,i){for(var n,r=e.expressions,s=0;s<r.length;s++)n=cn(t,r[s],i);return n},function(t,e,i){switch(e.operator){case 1:return cn(t,e.left,i)||cn(t,e.right,i);case 2:return cn(t,e.left,i)&&cn(t,e.right,i);default:throw new SyntaxError(wi.unexpectedToken)}},Ji,function(t,e,i){for(var n=e.callee,r=cn(t,n,i),s=e.arguments,o=e.arguments.length,a=new Array(o),u=0;u<o;u++)a[u]=cn(t,s[u],i);var c=t.runtimeProfile;c.pushCallExpression(e);try{var h=void 0;switch(a.length){case 0:h=new r;break;case 1:h=new r(a[0]);break;case 2:h=new r(a[0],a[1]);break;case 3:h=new r(a[0],a[1],a[2]);break;default:h=new(r.bind.apply(r,Vi([void 0],a)))}return c.popCallExpression(),h}catch(t){throw 64===n.type&&(t.message=t.message.replace(/\bconstruct\$0\b/g,n.name)),c.popCallExpression(),t}},function(t,e,i){for(var n={},r=e.properties,s=0;s<r.length;s++){0;var o=r[s],a=o.key,u=void 0;u=64===a.type?a.name:a.value+"";var c=o.value,l=cn(t,c,i);36!==c.type&&31!==c.type||E&&h(l,"name",{value:u,configurable:!0});var d=o.kind;if("init"===d)n[u]=l;else if("get"===d){var f=p(n,u);h(n,u,{get:l,set:f&&f.set,enumerable:!0,configurable:!0})}else{f=p(n,u);h(n,u,{get:f&&f.get,set:l,enumerable:!0,configurable:!0})}}return n},function(t,e,i){var n=cn(t,e.tag,i),r=e.quasi.quasis,s=r.map((function(t){return t.value.cooked})),o=r.map((function(t){return t.value.raw}));h(s,"raw",{value:d(o)});var a=e.quasi.expressions,u=[];if(a)for(var c=0;c<a.length;c++)u.push(cn(t,a[c],i));return n.apply(void 0,Vi([d(s)],u))},function(t,e,i){return i.find("this").value},function(t,e,i){var n=e.argument;switch(e.operator){case 3:return!cn(t,n,i);case 6:return 64===n.type?typeof Gi(0,n,i,1):typeof cn(t,n,i);case 7:if(39===n.type){var r=Ji(t,n,i,1);return i.strict?r.strictDelete():r.delete()}if(64===n.type){if(i.strict)throw new SyntaxError(wi.deleteUnqualified);for(var s=i,o=n.name;s&&!s.context[o];)s=s.parent;if(s){if(s.parent||1!==s.context[o].kind)return!1;var a=t.globalObjectAccessor.deleteProperty(o);return a&&delete s.context[o],a}return t.globalObjectAccessor.deleteProperty(o)}return cn(t,n,i),!0;case 1:return+cn(t,n,i);case 2:return-cn(t,n,i);case 4:return~cn(t,n,i);case 5:return void cn(t,n,i);default:throw new SyntaxError(wi.unexpectedToken)}},function(t,e,i){var n,r=e.argument;switch(r.type){case 64:n=Hi(r.name,i,0);break;case 39:n=Ji(t,r,i,1);break;default:throw new SyntaxError(wi.unexpectedToken)}var s,o=n.value;switch(e.operator){case 1:return s=o++,i.strict?n.strictSet(o):n.set(o),e.prefix?o:s;case 2:return s=o--,i.strict?n.strictSet(o):n.set(o),e.prefix?o:s;default:throw new SyntaxError(wi.unexpectedToken)}},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,tn,function(){},Gi,function(t,e,i){return e.value},null,function(t,e,i){Li(t,e,i);var n=t.runtimeProfile;n.pushCallFrame({functionName:"",functionNode:e,functionScope:i});try{for(var r=void 0,s=e.body,o=0;o<s.length;o++)r=cn(t,s[o],i);return n.popCallFrame(),r}catch(t){throw n.popCallFrame(),t}},null,null,null,Zi,$i,function(t,e,i){for(var n,r,s=e.quasis.slice(),o=e.expressions.slice(),a="";n=s.shift();)a+=$i(t,n,i),(r=o.shift())&&(a+=cn(t,r,i));return a},Wi,function(){},Qi];function cn(t,e,i){var n=e.type;if(65===n)return e.value;var r=t.inspector;r&&r.hitBreakpoint(t.runtimeProfile.scriptId,e);try{var s=un[n];if(s)return s(t,e,i,0);throw new Error(wi.unexpectedToken+"("+n+")")}catch(i){var o=t.runtimeProfile;throw o.rewriteErrorStack(o.scriptId,i,e),r&&r.shouldPauseOnException(o.scriptId,i,e,!1),i}}var hn=function(){return(hn=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},ln=function(){function t(){this.callFrameCountId=1,this.scriptCountId=1,this.exceptionId=1,this.callFrames=[],this.callExpressionStack=[],this.scriptId="1",this.scriptMap={}}return t.prototype.getNextScriptId=function(){return""+this.scriptCountId++},t.prototype.getNextExceptionId=function(){return this.exceptionId++},t.prototype.pushCallFrame=function(t){this.callFrames.push(hn(hn({},t),{scriptId:this.scriptId,callFrameId:"10000.1."+this.callFrameCountId++,callExpressionNode:this.getCurrentCallExpression()}))},t.prototype.popCallFrame=function(){this.callFrames.pop()},t.prototype.pushCallExpression=function(t){this.callExpressionStack.push(t)},t.prototype.popCallExpression=function(){this.callExpressionStack.pop()},t.prototype.getCurrentCallExpression=function(){return this.callExpressionStack[this.callExpressionStack.length-1]},t.prototype.rewriteErrorStack=function(t,e,i){var n=this;if(e instanceof Error&&!F(e,"__rewrittenzxcd")){var r=this.scriptMap[t]?this.scriptMap[t].url:"",s=this.callFrames.map((function(t,e){var s,o,a=n.callFrames[e+1];if(a?a.callExpressionNode&&(s=a.callExpressionNode.loc.start.line,o=a.callExpressionNode.loc.start.column+1):(s=i.loc.start.line,o=i.loc.start.column+1),void 0===s)return" at <anonymous>";var u=(r&&"anonymous"!==r?r:"<anonymous>")+":"+s+":"+o;return t.functionName?" at "+t.functionName+" ("+u+")":" at "+u})).reverse().join("\n");e.stack=e.name+": "+e.message+"\n"+s,b(e,"__rewrittenzxcd",{id:this.getNextExceptionId(),node:i})}},t}(),pn=function(){function t(t){if(void 0===t&&(t={}),this.options=t,this.runtimeProfile=new ln,t.sandbox){var e=t.sandboxGlobalObjectCreator?t.sandboxGlobalObjectCreator():(n={},["Object","Function","Array","Number","Boolean","String","RegExp","Promise","Date","Map","Set","WeakMap","WeakSet","NaN","JSON","Math","eval","isFinite","isNaN","clearTimeout","setTimeout","clearInterval","setInterval","console","Error","EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape","parseFloat","parseInt","Symbol","Infinity"].forEach((function(t){void 0!==Fi[t]&&(n[t]=Fi[t])})),n);this.globalObjectAccessor=new Ni(e),(i=new zi(this,e)).const("this",e),i.var("self",e),i.const("exports",this.exports={}),this.globalScope=i}else{var i;this.globalObjectAccessor=new Ni(Fi),(i=new zi(this,Fi)).const("this",Fi),i.var("self",Fi),this.globalScope=i}var n}return t.prototype.import=function(t){if("object"==typeof t){var e=this.globalScope.context;y(t).forEach((function(i){e[i]=new ki(1,t[i])}))}},t.prototype.run=function(t,e){var i=yi(t,{loc:!0}),n=this.runtimeProfile,r=n.scriptId,s=n.getNextScriptId(),o=e||"anonymous";n.scriptId=s,n.scriptMap[s]={scriptId:s,url:o},this.inspector&&this.inspector.evaluateScript(n.scriptId,t,i,o);try{var a=cn(this,i,this.globalScope);return n.scriptId=r,a}catch(t){if(n.scriptId=r,this.inspector){var u=F(t,"__rewrittenzxcd");u&&u.node&&(this.inspector.shouldPauseOnException(s,t,u.node,!0),this.inspector.throwException(t))}throw t}},t.prototype.evaluate=function(t,e){var i=yi(t,{loc:!0}),n=this.runtimeProfile,r=n.scriptId;n.scriptId=n.getNextScriptId(),this.inspector&&this.inspector.evaluateScript(n.scriptId,t,i,"");var s=e||this.globalScope;try{var o=cn(this,i,s);return n.scriptId=r,o}catch(t){throw n.scriptId=r,t}},t.prototype.setInspector=function(t){this.inspector=t,t.setEngine(this),t.connect()},t.prototype.getRuntimeStatus=function(){var t=this.runtimeProfile;return{scriptId:t.scriptId,scriptMap:t.scriptMap,callFrames:t.callFrames,callExpressionNode:t.getCurrentCallExpression()}},t.prototype.getHostGlobalObject=function(){return Fi},t}();var dn,fn,mn=function(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};function Dn(t,e,i){i(t,e)}function yn(){}!function(t){t.Statement="Statement",t.Expression="Expression",t.MemberPattern="MemberPattern",t.VariablePattern="VariablePattern",t.Class="Class",t.ForInit="ForInit",t.Function="Function",t.Pattern="Pattern"}(fn||(fn={}));var xn=((dn={Statement:Dn,Expression:Dn,MemberPattern:Dn,VariablePattern:yn,Class:function(t,e,i){t.id&&i(t.id,e,fn.Pattern),t.superClass&&i(t.superClass,e,fn.Expression),i(t.body,e)},ForInit:function(t,e,i){17===t.type?i(t,e):i(t,e,fn.Expression)},Function:function(t,e,i){var n,r;"id"in t&&t.id&&i(t.id,e,fn.Pattern);try{for(var s=mn(t.params),o=s.next();!o.done;o=s.next()){i(o.value,e,fn.Pattern)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}i(t.body,e,"expression"in t&&t.expression?fn.Expression:fn.Statement)},Pattern:function(t,e,i){64===t.type?i(t,e,fn.VariablePattern):39===t.type?i(t,e,fn.MemberPattern):i(t,e)}})[75]=yn,dn[1]=yn,dn[2]=yn,dn[3]=yn,dn[72]=yn,dn[43]=yn,dn[87]=yn,dn[89]=yn,dn[81]=yn,dn[79]=yn,dn[80]=yn,dn[64]=yn,dn[65]=yn,dn[76]=function(t,e,i){var n,r;try{for(var s=mn(t.body),o=s.next();!o.done;o=s.next()){i(o.value,e,fn.Statement)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}},dn[5]=function(t,e,i){i(t.expression,e,fn.Expression)},dn[9]=function(t,e,i){i(t.test,e,fn.Expression),i(t.consequent,e,fn.Statement),t.alternate&&i(t.alternate,e,fn.Statement)},dn[10]=function(t,e,i){i(t.body,e,fn.Statement)},dn[16]=function(t,e,i){i(t.object,e,fn.Expression),i(t.body,e,fn.Statement)},dn[12]=function(t,e,i){var n,r,s,o;i(t.discriminant,e,fn.Expression);try{for(var a=mn(t.cases),u=a.next();!u.done;u=a.next()){var c=u.value;c.test&&i(c.test,e,fn.Expression);try{for(var h=(s=void 0,mn(c.consequent)),l=h.next();!l.done;l=h.next()){i(l.value,e,fn.Statement)}}catch(t){s={error:t}}finally{try{l&&!l.done&&(o=h.return)&&o.call(h)}finally{if(s)throw s.error}}}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}},dn[71]=function(t,e,i){var n,r;t.test&&i(t.test,e,fn.Expression);try{for(var s=mn(t.consequent),o=s.next();!o.done;o=s.next()){i(o.value,e,fn.Statement)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}},dn[11]=function(t,e,i){t.argument&&i(t.argument,e,fn.Expression)},dn[13]=function(t,e,i){i(t.argument,e,fn.Expression)},dn[14]=function(t,e,i){i(t.block,e,fn.Statement),t.handler&&i(t.handler,e),t.finalizer&&i(t.finalizer,e,fn.Statement)},dn[62]=function(t,e,i){t.param&&i(t.param,e,fn.Pattern),i(t.body,e,fn.Statement)},dn[15]=function(t,e,i){i(t.test,e,fn.Expression),i(t.body,e,fn.Statement)},dn[8]=function(t,e,i){t.init&&i(t.init,e,fn.ForInit),t.test&&i(t.test,e,fn.Expression),t.update&&i(t.update,e,fn.Expression),i(t.body,e,fn.Statement)},dn[6]=function(t,e,i){i(t.left,e,fn.ForInit),i(t.right,e,fn.Expression),i(t.body,e,fn.Statement)},dn[63]=function(t,e,i){i(t,e,fn.Function)},dn[17]=function(t,e,i){var n,r;try{for(var s=mn(t.declarations),o=s.next();!o.done;o=s.next()){i(o.value,e)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}},dn[74]=function(t,e,i){i(t.id,e,fn.Pattern),t.init&&i(t.init,e,fn.Expression)},dn[69]=function(t,e,i){i(t.argument,e,fn.Pattern)},dn[60]=function(t,e,i){var n,r;try{for(var s=mn(t.elements),o=s.next();!o.done;o=s.next()){var a=o.value;a&&i(a,e,fn.Pattern)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}},dn[66]=function(t,e,i){var n,r;try{for(var s=mn(t.properties),o=s.next();!o.done;o=s.next()){var a=o.value;68===a.type?(a.computed&&i(a.key,e,fn.Expression),i(a.value,e,fn.Pattern)):69===a.type&&i(a.argument,e,fn.Pattern)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}},dn[30]=function(t,e,i){var n,r;try{for(var s=mn(t.elements),o=s.next();!o.done;o=s.next()){var a=o.value;a&&i(a,e,fn.Expression)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}},dn[41]=function(t,e,i){var n,r;try{for(var s=mn(t.properties),o=s.next();!o.done;o=s.next()){i(o.value,e)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}},dn[37]=function(t,e,i){var n,r;try{for(var s=mn(t.expressions),o=s.next();!o.done;o=s.next()){i(o.value,e,fn.Expression)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}},dn[73]=function(t,e,i){var n,r,s,o;try{for(var a=mn(t.quasis),u=a.next();!u.done;u=a.next()){i(u.value,e)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}try{for(var c=mn(t.expressions),h=c.next();!h.done;h=c.next()){i(h.value,e,fn.Expression)}}catch(t){s={error:t}}finally{try{h&&!h.done&&(o=c.return)&&o.call(c)}finally{if(s)throw s.error}}},dn[44]=function(t,e,i){i(t.argument,e,fn.Expression)},dn[33]=function(t,e,i){i(t.left,e,fn.Expression),i(t.right,e,fn.Expression)},dn[32]=function(t,e,i){i(t.left,e,fn.Pattern),i(t.right,e,fn.Expression)},dn[35]=function(t,e,i){i(t.test,e,fn.Expression),i(t.consequent,e,fn.Expression),i(t.alternate,e,fn.Expression)},dn[40]=function(t,e,i){var n,r;if(i(t.callee,e,fn.Expression),t.arguments)try{for(var s=mn(t.arguments),o=s.next();!o.done;o=s.next()){i(o.value,e,fn.Expression)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}},dn[39]=function(t,e,i){i(t.object,e,fn.Expression),t.computed&&i(t.property,e,fn.Expression)},dn[84]=function(t,e,i){t.declaration&&i(t.declaration,e,84===t.type||t.declaration&&"id"in t.declaration&&t.declaration.id?fn.Statement:fn.Expression),t.source&&i(t.source,e,fn.Expression)},dn[82]=function(t,e,i){t.exported&&i(t.exported,e),i(t.source,e,fn.Expression)},dn[78]=function(t,e,i){var n,r;try{for(var s=mn(t.specifiers),o=s.next();!o.done;o=s.next()){i(o.value,e)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}i(t.source,e,fn.Expression)},dn[90]=function(t,e,i){i(t.source,e,fn.Expression)},dn[42]=function(t,e,i){i(t.tag,e,fn.Expression),i(t.quasi,e,fn.Expression)},dn[86]=function(t,e,i){i(t,e,fn.Class)},dn[88]=function(t,e,i){var n,r;try{for(var s=mn(t.body),o=s.next();!o.done;o=s.next()){i(o.value,e)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}},dn[95]=function(t,e,i){t.computed&&i(t.key,e,fn.Expression),i(t.value,e,fn.Expression)},dn);xn[67]=xn[76],xn[91]=xn[5],xn[92]=xn[93]=xn[11],xn[70]=xn[13],xn[4]=xn[15],xn[7]=xn[6],xn[36]=xn[31]=xn[63],xn[45]=xn[44],xn[38]=xn[33],xn[61]=xn[32],xn[34]=xn[40],xn[83]=xn[84],xn[94]=xn[86],xn[68]=xn[95];function vn(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}function gn(t){return"function"==typeof t}function Cn(t){return!!F(t,"__can_breakpointasxu")||t.type<30}function En(t,e,i,n){var r,s,o=i||{lineNumber:e.lineNumber+1,columnNumber:0},a=[];return r=t.ast,s=function(t,i){if(t.loc){var r={startLineNumber:t.loc.start.line-1,startColumnNumber:t.loc.start.column,endLineNumber:t.loc.end.line-1,endColumnNumber:t.loc.end.column};return r.endLineNumber<e.lineNumber||r.startLineNumber>o.lineNumber||r.endLineNumber===e.lineNumber&&r.endColumnNumber<=e.columnNumber||r.startLineNumber===o.lineNumber&&r.startColumnNumber>=o.columnNumber?(a.length&&(i.found=!0),!1):(37===t.type&&t.expressions.forEach((function(t,e){e&&t.type<60&&b(t,"__can_breakpointasxu",!0)})),r.startLineNumber>e.lineNumber||r.startLineNumber===e.lineNumber&&r.startColumnNumber>=e.columnNumber?(Cn(t)&&-1===a.indexOf(t)&&a.push(t),!(n&&n.limit&&a.length>=n.limit&&(i.found=!0,1))):!a.length||(i.found=!0,!1))}},function t(e,i,n){!i.found&&s(e,i)&&xn[n||e.type](e,i,t)}(r,{found:!1}),a}var bn=["debug","log","info","warn","error","table"];function Fn(t,e,i){var n=i.getRemoteObjectParser(),s=i.getSessionState(),o=i.getEngine().getRuntimeStatus(),a=o.scriptMap[o.scriptId],u=o.callExpressionNode,c=[];return a&&u&&(c=o.callFrames.map((function(t,e){var i=o.callFrames[e+1];return i?{functionName:t.functionName,scriptId:a.scriptId,url:a.url,lineNumber:i.functionNode.loc.start.line-1,columnNumber:i.functionNode.loc.start.column}:{functionName:t.functionName,scriptId:a.scriptId,url:a.url,lineNumber:u.loc.start.line-1,columnNumber:u.loc.start.column}})).reverse()),{method:r.consoleAPICalled,params:{type:"warn"===t?"warning":t,args:Array.from(e).map((function(e){return n.parseObject(e,t)})),executionContextId:s.executionContextId,timestamp:Date.now(),stackTrace:{callFrames:c}}}}function An(t,e){var i=e.getProtocolConnection(),n="object"==typeof console&&console[t]?console[t].bind(console):function(){};function r(){var r=arguments;if(r.length){try{var s=/^(\[framework\]|dispatchEvent|onMessage push)/;if("string"==typeof r[0]&&s.test(r[0]))return n.apply(null,r);i.sendConsoleMessage(Fn(t,r,e))}catch(e){vn("console."+t+" error",e)}return n.apply(null,r)}}return h(r,"toString",{value:function(){return"function "+t+"() { [native code] }"},writable:!0,configurable:!0}),r}function wn(t,e){e||(e="object"==typeof console?console:null);var i={};return bn.forEach((function(e){i[e]={configurable:!0,enumerable:!0,writable:!0,value:An(e,t)}})),x(e,i)}function kn(t){return Object.getOwnPropertyDescriptors?Object.getOwnPropertyDescriptors(t):Object.getOwnPropertyNames(t).reduce((function(e,i){return e[i]=Object.getOwnPropertyDescriptor(t,i),e}),Object.create(null))}var Bn=function(){function t(t){this.objectStore=t}return t.prototype.mapFrom=function(t,e){var i=this;return Array.from(t).map((function(t){return i.mapFromOne(t,e)}))},t.prototype.mapFromOne=function(t,e){switch(typeof t){case"string":return this.mapString(t);case"number":return this.mapNumber(t);case"object":return Array.isArray(t)?this.mapArray(t,"table"===e):null===t?this.mapNull():this.mapObject(t,"table"===e);case"function":return this.mapFunction(t);case"undefined":return this.mapUndef();case"boolean":return this.mapBoolean(t);default:return{type:typeof t,value:t}}},t.prototype.mapString=function(t){return{type:"string",value:t}},t.prototype.mapNumber=function(t){return{type:"number",value:t,description:String(t)}},t.prototype.mapBoolean=function(t){return{type:"boolean",value:t}},t.prototype.mapFunction=function(t){var e=this.objectStore.save(t);return{type:"function",className:"Function",description:t.toString(),objectId:e}},t.prototype.mapUndef=function(){return{type:"undefined"}},t.prototype.mapNull=function(){return{type:"object",subtype:"null",value:null}},t.prototype.mapObject=function(t,e){var i,n,r=this,s=kn(t),o=Object.keys(s),a=this.objectStore.save(t),u=t.constructor?t.constructor.name:"Object",c=o.length>5&&!e,h={type:"object",className:u,description:u,objectId:a,preview:{type:"object",description:u,overflow:c,properties:(c?o.slice(0,5):o).map((function(t){return r.getPropertyPreview4ObjectProperty(t,s[t],e)})).filter(Boolean)}};return t instanceof Error?(i="error",n=t.stack):t instanceof Date?(i="date",n=t.toString()):t instanceof RegExp?(i="regexp",n=t.toString()):t instanceof Promise&&(i="promise",n="Promise"),i&&(h.subtype=i,h.preview&&(h.preview.subtype=i)),n&&(h.description=n,h.preview&&(h.preview.description=n)),h},t.prototype.mapArray=function(t,e){var i=this,n=t.length>100&&!e,r="Array("+t.length+")";return{type:"object",subtype:"array",className:"Array",description:r,objectId:this.objectStore.save(t),preview:{type:"object",subtype:"array",description:r,overflow:n,properties:(n?t.slice(0,100):t).map((function(t,n){return i.getPropertyPreview4ArrayProperty(n,t,e)}))}}},t.prototype.getPropertyPreview4ArrayProperty=function(t,e,i){return this.getPropertyPreview4AnyValue(String(t),e,i)},t.prototype.getPropertyPreview4ObjectProperty=function(t,e,i){return e.get?{name:t,type:"accessor"}:e.set?void 0:this.getPropertyPreview4AnyValue(t,e.value,i)},t.prototype.getPropertyPreview4AnyValue=function(t,e,i){switch(void 0===i&&(i=!1),typeof e){case"object":if(Array.isArray(e)){var n={name:t,type:"object",subtype:"array",value:"Array("+e.length+")"};return i&&(n.valuePreview=this.getValuePreview4TableArray(e)),n}if(null===e)return{name:t,type:"object",subtype:"null",value:"null"};n={name:t,type:"object",value:e.constructor?e.constructor.name:"Object"};return i&&(n.valuePreview=this.getValuePreview4TableObject(e)),n;case"function":return{type:"function",value:"",name:t};default:return{name:t,type:typeof e,value:String(e)}}},t.prototype.getValuePreview4TableArray=function(t){var e=this;return{type:"object",subtype:"array",description:"Array("+t.length+")",overflow:!1,properties:t.map((function(t,i){return e.getPropertyPreview4AnyValue(String(i),t)}))}},t.prototype.getValuePreview4TableObject=function(t){var e=this;return{type:"object",description:"Object",overflow:!1,properties:Object.keys(t).map((function(i){return e.getPropertyPreview4AnyValue(i,t[i])}))}},t}(),Sn=function(t,e){return(Sn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)};var Tn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return function(t,e){function i(){this.constructor=t}Sn(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}(e,t),e.prototype.mapFrom=function(t){var e=this;return t.split("\n").slice(2).map((function(t,i){return e.testType1(t)?e.extractType1(t):e.testType2(t)?e.extractType2(t):void 0})).filter((function(t){return null!=t}))},e}(function(){function t(){this.e1=/\s*at\s(\S+)\s(\S+)\:(\d+)\:(\d+)\)/,this.e2=/\s*at\s(\S+)\:(\d+)\:(\d+)/}return t.prototype.testType1=function(t){return this.e1.test(t)},t.prototype.testType2=function(t){return this.e2.test(t)},t.prototype.extractType1=function(t){var e=t.match(this.e1);return null==e?null:{functionName:e[1],url:e[2].slice(1),lineNumber:Number(e[3]),columnNumber:Number(e[4])}},t.prototype.extractType2=function(t){var e=t.match(this.e2);return null==e?null:{functionName:"",url:e[1].slice(1),lineNumber:Number(e[2]),columnNumber:Number(e[3])}},t}()),Nn=function(){function t(){this.id=0,this.id2Object=new Map,this.object2Id=new Map}return t.prototype.save=function(t){if(this.object2Id.has(t))return this.object2Id.get(t);var e=this.getNextObjectId();return this.id2Object.set(e,t),this.object2Id.set(t,e),e},t.prototype.query=function(t){return this.id2Object.get(t)},t.prototype.clear=function(t){var e=this.id2Object.get(t);e&&(this.id2Object.delete(t),this.object2Id.delete(e))},t.prototype.clearAll=function(){this.id2Object.clear(),this.object2Id.clear()},t.prototype.getNextObjectId=function(){return this.id++,'{"injectedScriptId":1,"id":'+this.id+"}"},t}(),In=function(){function t(t,e){this.objectStore=t,this.objectMapper=e}return t.prototype.handle=function(t){var e=this.objectStore.query(t.objectId);return e?{result:this.mapObject(e,Boolean(t.ownProperties),Boolean(t.accessorPropertiesOnly))}:{result:[]}},t.prototype.mapObject=function(t,e,i){var n=this;if(e){var r=kn(t),s=Object.keys(r).filter((function(t){return!(i&&!r[t].get&&!r[t].set)})).map((function(t){return n.mapResultOne(t,r[t],!0)}));return t.__proto__&&s.push(this.mapResultOne("__proto__",{configurable:!0,enumerable:!1,writable:!0,value:t.__proto__},!0)),s}for(var o=[],a={},u=t,c=!1,h=!0,l=function(){var t=kn(u);if(Object.keys(t).forEach((function(e){if(!a[e]){a[e]=!0;var r=t[e];(!i||r.get||r.set)&&o.push(n.mapResultOne(e,r,h))}})),!c){var e=Object.getOwnPropertyDescriptor(u,"__proto__");e&&(c=!0,o.push(p.mapResultOne("__proto__",e,h)))}u=u.__proto__,h=!1},p=this;u;)l();return o},t.prototype.mapResultOne=function(t,e,i){var n={writable:e.writable,configurable:Boolean(e.configurable),enumerable:Boolean(e.enumerable),isOwn:i,name:String(t)};return"value"in e&&(n.value=this.objectMapper.mapFromOne(e.value)),e.get&&(n.get=this.objectMapper.mapFromOne(e.get)),e.set&&(n.set=this.objectMapper.mapFromOne(e.set)),n},t}(),Pn=function(){function t(){this.objectStore=new Nn,this.objectMapper=new Bn(this.objectStore),this.callFramesMapper=new Tn,this.getPropertiesHandler=new In(this.objectStore,this.objectMapper)}return t.prototype.parseObject=function(t,e){return this.objectMapper.mapFromOne(t,e)},t.prototype.getProperties=function(t){return this.getPropertiesHandler.handle(t)},t.prototype.getObjectById=function(t){return this.objectStore.query(t)},t.prototype.consoleAPICalled=function(t,e,i){var n=t;return"warn"===t&&(n="warning"),{method:"Runtime.consoleAPICalled",params:{type:n,args:this.objectMapper.mapFrom(i,t),executionContextId:1,timestamp:Date.now(),stackTrace:{callFrames:this.callFramesMapper.mapFrom(e)}}}},t}(),On=function(){function t(t,e,i){this.manager=t,this.targetNode=i,this.lineNumber=e.lineNumber,this.columnNumber=e.columnNumber||0,this.scriptId=e.scriptId,this.id=this.scriptId+":"+this.lineNumber+":"+this.columnNumber,this.condition=e.condition,b(i,"__breakpointzxfg",this.id)}return t.prototype.destroy=function(){b(this.targetNode,"__breakpointzxfg",void 0),delete this.manager.id2BreakpointMap[this.id]},t}();function jn(t,e,i){i(null,{});var n=t.getProtocolConnection().connectionState;n.debuggerDomainEnabled||(n.enableDebuggerDomain(),t.getScriptManager().emitAllScriptParsedEvents())}var Mn=Object.freeze({__proto__:null,enable:jn,disable:function(t,e,i){t.getProtocolConnection().connectionState.disableDebuggerDomain(),i(null,{})},setBreakpointsActive:function(t,e,i){var n=t.getBreakpointManager();e.active?(n.activate(),n.isActive4UserManual=!0):(n.inactivate(),n.isActive4UserManual=!1),i(null,{})},getPossibleBreakpoints:function(t,e,i){var n=e.start.scriptId,r=t.getScriptManager().getScript(n);if(r){var s=[];En(r,e.start,e.end).forEach((function(t){s.push({columnNumber:t.loc.start.column,lineNumber:t.loc.start.line-1,scriptId:n})})),i(null,{locations:s})}else i(u.NormalError)},setBreakpointByUrl:function(t,e,i){var n,r=t.getScriptManager();if(e.url?n=r.getScriptByUrl(e.url):e.scriptHash&&(n=r.getScriptByHash(e.scriptHash)),n){for(var s,o=0;!s&&o<20;)s=En(n,{lineNumber:e.lineNumber+o,columnNumber:e.columnNumber||0},null,{limit:1})[0],o+=1;if(!s)return i(u.NormalError),void g("[DEBUG] no breakpoint was found from line "+e.lineNumber+" to "+(e.lineNumber+o));var a=t.getBreakpointManager().setBreakpoint({scriptId:n.scriptId,lineNumber:s.loc.start.line-1,columnNumber:s.loc.start.column,condition:e.condition},s);i(null,{breakpointId:a.id,locations:[{scriptId:a.scriptId,lineNumber:a.lineNumber,columnNumber:a.columnNumber}]})}else i(u.NormalError)},removeBreakpoint:function(t,e,i){var n=e.breakpointId;n&&t.getBreakpointManager().removeBreakpoint(n),i(null,{})},resume:function(t,e,i){i(null,{})},pause:function(t,e,i){t.getBreakpointManager().pauseOnNextStatement=!0,i(null,{})},stepInto:function(t,e,i){t.getBreakpointManager().stepAction=3,i(null,{})},stepOut:function(t,e,i){t.getBreakpointManager().stepAction=1,i(null,{})},stepOver:function(t,e,i){t.getBreakpointManager().stepAction=2,i(null,{})},getScriptSource:function(t,e,i){var n=t.getScriptManager().getScript(e.scriptId);n?i(null,{scriptSource:n.source}):i(u.NormalError)},evaluateOnCallFrame:function(t,e,i){var n,r=e.callFrameId;if(t.getEngine().getRuntimeStatus().callFrames.some((function(t){if(t.callFrameId===r)return n=t,!0})),n){var s=t.getRemoteObjectParser();try{var o=t.getEngine().evaluate(e.expression,n.functionScope);i(null,{result:s.parseObject(o)})}catch(t){var a=F(t,"__rewrittenzxcd");i(null,{exceptionDetails:{columnNumber:20,exception:s.parseObject(t),exceptionId:a?a.id:100,lineNumber:0,text:"Uncaught"},result:s.parseObject(t)})}}else i(u.NormalError)},setPauseOnExceptions:function(t,e,i){switch(e.state){case"all":t.getBreakpointManager().pauseOnExceptionsState=2;break;case"uncaught":t.getBreakpointManager().pauseOnExceptionsState=1;break;case"none":t.getBreakpointManager().pauseOnExceptionsState=0}i(null,{})},setSkipAllPauses:function(t,e,i){i(null,{})}});function Rn(t,e,i){i(null,{});var n=t.getSessionState(),s=n.executionContextId,o=n.executionContextName,a=t.getProtocolConnection();a.connectionState.enableRuntimeDomain(),a.send({method:r.executionContextCreated,params:{context:{id:s,origin:"app://",name:o}}})}var zn=Object.freeze({__proto__:null,enable:Rn,disable:function(t,e,i){t.getProtocolConnection().connectionState.disableRuntimeDomain(),i(null,{})},getProperties:function(t,e,i){var n={result:t.getRemoteObjectParser().getProperties(e).result},r=t.getRemoteObjectParser().getObjectById(e.objectId);if(gn(r)){var s=F(r,"___func_locationxasdzzy");if(s){var o=s.node,a=s.scriptId,u=o.id;n.internalProperties=[{name:"[[FunctionLocation]]",value:{type:"object",description:"Object",subtype:"internal#location",value:{scriptId:a,lineNumber:(u?u.loc.start.line:o.loc.start.line)-1,columnNumber:u?u.loc.start.column:o.loc.start.column}}}]}}i(null,n)},callFunctionOn:function(t,e,i){var n=t.getRemoteObjectParser();if(e.functionDeclaration){var r=e.objectId?n.getObjectById(e.objectId):null;if(r){if(0===e.functionDeclaration.indexOf("function invokeGetter(arrayStr)"))try{var s=JSON.parse(e.arguments[0].value),o=r;return s.forEach((function(t){o=o[t]})),void i(null,{result:n.parseObject(o)})}catch(t){!function(t){i(null,{exceptionDetails:{columnNumber:20,exception:n.parseObject(t),exceptionId:100,lineNumber:0,text:"Uncaught"},result:n.parseObject(t)})}(t)}}}},evaluate:function(t,e,i){var n=e.disableBreaks||e.throwOnSideEffect,r=t.getRemoteObjectParser(),s=t.getBreakpointManager();try{var o=n?s.evaluateWithoutBreakpoint(e.expression):t.getEngine().evaluate(e.expression);i(null,{result:r.parseObject(o)})}catch(t){var a=F(t,"__rewrittenzxcd");i(null,{exceptionDetails:{columnNumber:20,exception:r.parseObject(t),exceptionId:a?a.id:100,lineNumber:0,text:"Uncaught"},result:r.parseObject(t)})}},compileScript:function(t,e,i){i(null,{})},releaseObjectGroup:function(t,e,i){i(null,{})},globalLexicalScopeNames:function(t,e,i){i(null,{names:[]})}});var Un=Object.freeze({__proto__:null,enable:function(t,e,i){t.getProtocolConnection().connectionState.enablePageDomain(),i(null,{})},getResourceTree:function(t,e,i){t.getProtocolConnection().connectionState.enablePageResourceTree(),i(null,{})}}),Ln=Object.freeze({__proto__:null,Debugger:Mn,Runtime:zn,Page:Un}),_n="https://hpmweb.alipay.com",Kn="wss://hpmweb.alipay.com",Gn=function(){return(Gn=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},Hn={pageDomainEnabled:!1,runtimeDomainEnabled:!1,debuggerDomainEnabled:!1,getResourceTreeRequested:!1},Wn=function(){function t(){this.consoleReadyCallbacks=[],this.state=Gn({},Hn)}return Object.defineProperty(t.prototype,"debuggerDomainEnabled",{get:function(){return this.state.debuggerDomainEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"runtimeDomainEnabled",{get:function(){return this.state.runtimeDomainEnabled},enumerable:!1,configurable:!0}),t.prototype.enablePageDomain=function(){this.state.pageDomainEnabled=!0,this.checkConsoleReady()},t.prototype.enableRuntimeDomain=function(){this.state.runtimeDomainEnabled=!0,this.checkConsoleReady()},t.prototype.disableRuntimeDomain=function(){this.state.runtimeDomainEnabled=!1},t.prototype.enableDebuggerDomain=function(){this.state.debuggerDomainEnabled=!0},t.prototype.disableDebuggerDomain=function(){this.state.debuggerDomainEnabled=!1},t.prototype.enablePageResourceTree=function(){this.state.getResourceTreeRequested=!0,this.checkConsoleReady()},t.prototype.reset=function(){this.state=Gn({},Hn)},t.prototype.onConsoleReady=function(t){this.consoleReadyCallbacks.push(t)},t.prototype.offConsoleReady=function(t){var e=this.consoleReadyCallbacks.indexOf(t);e>-1&&this.consoleReadyCallbacks.splice(e,1)},t.prototype.checkConsoleReady=function(){var t=this;this.state.runtimeDomainEnabled&&this.state.pageDomainEnabled&&this.state.getResourceTreeRequested&&setTimeout((function(){t.consoleReadyCallbacks.forEach((function(t){t()}))}),0)},t}(),qn=function(t,e,i,n){return new(i||(i=Promise))((function(r,s){function o(t){try{u(n.next(t))}catch(t){s(t)}}function a(t){try{u(n.throw(t))}catch(t){s(t)}}function u(t){var e;t.done?r(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(o,a)}u((n=n.apply(t,e||[])).next())}))},Vn=function(t,e){var i,n,r,s,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,n&&(r=2&s[0]?n.return:s[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;switch(n=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){o.label=s[1];break}if(6===s[0]&&o.label<r[1]){o.label=r[1],r=s;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(s);break}r[2]&&o.ops.pop(),o.trys.pop();continue}s=e.call(t,o)}catch(t){s=[6,t],n=0}finally{i=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}},Yn=function(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},Jn=function(){function t(t){var e=this;this.container=t,this.messagesBeforeRuntimeEnabled=[],this.consoleReady=!1,this.messagesBeforeWebsocketOpened=[],this.connectionState=new Wn,this.connectionState.onConsoleReady((function(){e.consoleReady=!0,e.messagesBeforeRuntimeEnabled.length&&(e.messagesBeforeRuntimeEnabled.forEach((function(t){e.send(t)})),e.messagesBeforeRuntimeEnabled=[])}))}return Object.defineProperty(t.prototype,"sessionState",{get:function(){return this.container.getSessionState()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"breakpointManager",{get:function(){return this.container.getBreakpointManager()},enumerable:!1,configurable:!0}),t.prototype.open=function(){return qn(this,void 0,void 0,(function(){var t,e,i=this;return Vn(this,(function(n){switch(n.label){case 0:return[4,this.sessionState.resolveChannelId()];case 1:return t=n.sent(),e=Kn+"/bugme/client_w/"+t,this.ws=new(this.container.getWebSocketClientImpl()),this.ws.setUrl(e),this.ws.setSocketMessageHandler(this.onSocketMessage.bind(this)),this.ws.open(),this.messagesBeforeWebsocketOpened.length&&(this.messagesBeforeWebsocketOpened.forEach((function(t){i.ws.sendSocketMessage(t)})),this.messagesBeforeWebsocketOpened=[]),[2]}}))}))},t.prototype.send=function(t){this.ws?this.ws.sendSocketMessage(t):this.messagesBeforeWebsocketOpened.push(t)},t.prototype.sendConsoleMessage=function(t){this.consoleReady?this.send(t):this.messagesBeforeRuntimeEnabled.push(t)},t.prototype.onFrontendJoin=function(){this.breakpointManager.activate()},t.prototype.onFrontendLeave=function(){this.breakpointManager.inactivate(),this.connectionState.reset(),this.consoleReady=!1},t.prototype.onSocketMessage=function(t){var e,i=this;try{e=JSON.parse(t)}catch(e){return void("CLIENT:JOIN"===t?this.onFrontendJoin():"CLIENT:LEAVE"===t&&this.onFrontendLeave())}var n=$n(e.method);n&&n(this.container,e.params,(function(t,n){t?i.ws.sendSocketMessage({id:e.id,error:{code:t,message:""}}):i.ws.sendSocketMessage({id:e.id,result:n})}))},t}();function $n(t){var e,i,n=t.split("."),r=Ln;try{for(var s=Yn(n),o=s.next();!o.done;o=s.next()){if(!(r=r[o.value]))break}}catch(t){e={error:t}}finally{try{o&&!o.done&&(i=s.return)&&i.call(s)}finally{if(e)throw e.error}}return r}var Xn,Qn,Zn=function(){return(Zn=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},tr=function(){function t(t){this.container=t,this.id2BreakpointMap={},this.isActive=!1,this.isActive4UserManual=!0,this.pauseOnExceptionsState=0,this.pauseOnNextStatement=!1,this.stepAction=0,this.breakpointCallStackDepth=0}return Object.defineProperty(t.prototype,"remoteObjectParser",{get:function(){return this.container.getRemoteObjectParser()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"protocolConnection",{get:function(){return this.container.getProtocolConnection()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sessionState",{get:function(){return this.container.getSessionState()},enumerable:!1,configurable:!0}),t.prototype.activate=function(){this.isActive=!0},t.prototype.inactivate=function(){this.isActive=!1},t.prototype.get=function(t){return this.id2BreakpointMap[t]},t.prototype.setBreakpoint=function(t,e){var i=new On(this,t,e);return this.id2BreakpointMap[i.id]=i,i},t.prototype.removeBreakpoint=function(t){var e=this.id2BreakpointMap[t];e&&e.destroy()},t.prototype.pauseOnBreakpoint=function(t){this.handlePaused({method:i.paused,params:{callFrames:this.getBreakpointCallFrames(t),reason:c.Other,hitBreakpoints:[t.id]}})},t.prototype.pauseOnException=function(t,e,n,r){this.handlePaused({method:i.paused,params:{callFrames:this.getBreakpointCallFrames({scriptId:t,lineNumber:n.loc.start.line-1,columnNumber:n.loc.start.column}),data:Zn(Zn({},this.remoteObjectParser.parseObject(e)),{uncaught:r}),reason:c.Exception,hitBreakpoints:[]}})},t.prototype.pauseOnNode=function(t,e){this.handlePaused({method:i.paused,params:{callFrames:this.getBreakpointCallFrames({scriptId:t,lineNumber:e.loc.start.line-1,columnNumber:e.loc.start.column}),reason:c.Other,hitBreakpoints:[]}})},t.prototype.evaluateWithoutBreakpoint=function(t,e){var i=this.isActive;i&&this.inactivate();try{return this.container.getEngine().evaluate(t,e)}finally{i&&this.activate()}},t.prototype.getBreakpointCallFrames=function(t){var e,i=this,n=[],r=this.container.getEngine(),s=r.getRuntimeStatus().callFrames;return s.forEach((function(o,a){var u=o.functionNode,c=o.functionScope,h=s[a+1],l={lineNumber:h?h.callExpressionNode.loc.start.line-1:t.lineNumber,columnNumber:h?h.callExpressionNode.loc.start.column:t.columnNumber,scriptId:o.scriptId},p=x(null);f(c.context).forEach((function(t){"this"!==t&&(p[t]=c.context[t].value)}));var d=i.remoteObjectParser.parseObject(p),m=i.remoteObjectParser.parseObject(c.find("this").value);e||(e=i.remoteObjectParser.parseObject(r.globalObjectAccessor.globalObject));var D={callFrameId:o.callFrameId,functionName:o.functionName||"(anonymous)",functionLocation:{columnNumber:u.loc.start.column,lineNumber:u.loc.start.line-1,scriptId:o.scriptId},location:l,scopeChain:[{type:"local",object:d},{type:"global",object:e}],this:m,url:"https://gw.alipayobjects.com"};n.unshift(D)})),n},t.prototype.handlePaused=function(t){if(this.sessionState.channelId){this.isActive=!1,this.breakpointCallStackDepth=this.container.getEngine().getRuntimeStatus().callFrames.length,this.container.getPausedCoverView().show();var e=this.protocolConnection.messagesBeforeWebsocketOpened.length?this.protocolConnection.messagesBeforeWebsocketOpened.concat([t]):[t];this.protocolConnection.messagesBeforeWebsocketOpened=[],this.handleSyncRequest(e),this.container.getPausedCoverView().hide(),this.protocolConnection.send({method:i.resumed}),this.isActive4UserManual&&(this.isActive=!0)}else vn("skip breakpoint due to lacking of channelId")},t.prototype.handleSyncRequest=function(t){var i=this,n=Date.now(),r=this.container.getHttpClient().syncRequest({url:_n+"/bugme/channel/paused",method:"POST",headers:{"content-type":"application/json;charset=UTF-8","channel-id":this.sessionState.channelId},body:t});if(vn("syncRequest response",r),r.error){if(Date.now()-n>=1e4)return this.handleSyncRequest(t);C("[DEBUG]",r.errorMessage)}else if(200===r.status){var s=void 0;if(r.data)try{s=JSON.parse(r.data)}catch(t){}var o=function(t){return t===e.resume||t===e.stepOver||t===e.stepInto||t===e.stepOut};if(s){var a=[],u=!1;Array.isArray(s)?s.forEach((function(t){o(t.method)&&(u=!0),a.push(i.handleProtocolResponse(t))})):s.method&&(u=o(s.method),a.push(this.handleProtocolResponse(s))),a.length&&(u?a.forEach((function(t){i.protocolConnection.send(t)})):this.handleSyncRequest(1===a.length?a[0]:a))}}else C("[DEBUG] breakpoint error "+JSON.stringify(r))},t.prototype.handleProtocolResponse=function(t){var e={id:t.id,result:{}},i=$n(t.method);return i&&i(this.container,t.params,(function(i,n){e=i?{id:t.id,error:{code:i,message:""}}:{id:t.id,result:n}})),e},t}(),er=/\/\/# sourceMappingURL=(\S+)\s*$/,ir=function(){function t(t){this.container=t,this.id2ScriptMap={},this.url2ScriptIdMap={}}return Object.defineProperty(t.prototype,"protocolConnection",{get:function(){return this.container.getProtocolConnection()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sessionState",{get:function(){return this.container.getSessionState()},enumerable:!1,configurable:!0}),t.prototype.getScript=function(t){return this.id2ScriptMap[t]},t.prototype.getScriptByUrl=function(t){var e=this.url2ScriptIdMap[t];if(e)return this.getScript(e)},t.prototype.getScriptByHash=function(t){var e=t.substring(4);if(e)return this.getScript(e)},t.prototype.addScript=function(t,e,i,n){var r="",s=e,o=e.match(er);o&&(r=o[1],s=e.substring(0,o.index)),this.id2ScriptMap[t]={scriptId:t,scriptHash:"hash"+t,source:s,ast:i,url:n||"",sourceMapURL:r},n&&(this.url2ScriptIdMap[n]=t),this.protocolConnection.connectionState.debuggerDomainEnabled&&this.emitScriptParsedEvent(t)},t.prototype.emitAllScriptParsedEvents=function(){var t=this;Object.keys(this.id2ScriptMap).forEach((function(e){t.id2ScriptMap[e].url&&t.emitScriptParsedEvent(e)}))},t.prototype.emitScriptParsedEvent=function(t){var e=this.id2ScriptMap[t];e&&this.container.getProtocolConnection().send({method:i.scriptParsed,params:{endColumn:0,endLine:2,executionContextId:this.sessionState.executionContextId,hasSourceURL:!1,hash:e.scriptHash,isLiveEdit:!1,isModule:!1,length:0,scriptId:t,scriptLanguage:"JavaScript",sourceMapURL:e.sourceMapURL,startColumn:0,startLine:0,url:e.url||""}})},t}(),nr=function(t,e,i,n){return new(i||(i=Promise))((function(r,s){function o(t){try{u(n.next(t))}catch(t){s(t)}}function a(t){try{u(n.throw(t))}catch(t){s(t)}}function u(t){var e;t.done?r(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(o,a)}u((n=n.apply(t,e||[])).next())}))},rr=function(t,e){var i,n,r,s,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,n&&(r=2&s[0]?n.return:s[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;switch(n=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){o.label=s[1];break}if(6===s[0]&&o.label<r[1]){o.label=r[1],r=s;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(s);break}r[2]&&o.ops.pop(),o.trys.pop();continue}s=e.call(t,o)}catch(t){s=[6,t],n=0}finally{i=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}},sr=function(){function t(t,e){this.providerCtor=t,this.executionContextId=1,this.executionContextName="app",e.executionContextId&&(this.executionContextId=e.executionContextId),e.executionContextName&&(this.executionContextName=e.executionContextName),e.channelId&&(this._channelId=e.channelId)}return Object.defineProperty(t.prototype,"stateProvider",{get:function(){return this._stateProvider||(this._stateProvider=new this.providerCtor),this._stateProvider},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"channelId",{get:function(){return this._channelId?"boat_"+this._channelId:""},enumerable:!1,configurable:!0}),t.prototype.resolveExternalStateOnStart=function(){return nr(this,void 0,void 0,(function(){return rr(this,(function(t){return[2,Promise.all([this.resolveChannelId()])]}))}))},t.prototype.resolveChannelId=function(){return nr(this,void 0,void 0,(function(){var t;return rr(this,(function(e){switch(e.label){case 0:return this._channelId||(this._channelId=this.stateProvider.getChannelIdSync()),this._channelId||!this.stateProvider.getChannelId?[3,2]:(t=this,[4,this.stateProvider.getChannelId()]);case 1:t._channelId=e.sent(),e.label=2;case 2:return[2,this.channelId]}}))}))},t}(),or=function(){function t(t){this.userConfig=t}return t.prototype.getUserConfig=function(){return this.userConfig},t.prototype.getRemoteObjectParser=function(){return this.remoteObjectParser||(this.remoteObjectParser=new Pn),this.remoteObjectParser},t.prototype.getSessionState=function(){return this.sessionState||(this.sessionState=new sr(this.stateProviderImpl,this.userConfig)),this.sessionState},t.prototype.getScriptManager=function(){return this.scriptManager||(this.scriptManager=new ir(this)),this.scriptManager},t.prototype.getBreakpointManager=function(){return this.breakpointManager||(this.breakpointManager=new tr(this)),this.breakpointManager},t.prototype.getProtocolConnection=function(){return this.protocolConnection||(this.protocolConnection=new Jn(this)),this.protocolConnection},t.prototype.setHttpClientImpl=function(t){this.httpClientImpl=t},t.prototype.getHttpClient=function(){return this.httpClientInstance||(this.httpClientInstance=new this.httpClientImpl),this.httpClientInstance},t.prototype.setWebSocketClientImpl=function(t){this.websocketClientImpl=t},t.prototype.getWebSocketClientImpl=function(){return this.websocketClientImpl},t.prototype.setPausedCoverViewImpl=function(t){this.pausedCoverViewImpl=t},t.prototype.getPausedCoverView=function(){return this.pausedCoverViewInstance||(this.pausedCoverViewInstance=new this.pausedCoverViewImpl),this.pausedCoverViewInstance},t.prototype.setEngineInstance=function(t){this.engine=t},t.prototype.getEngine=function(){return this.engine},t.prototype.setStateProviderImpl=function(t){this.stateProviderImpl=t},t}(),ar=function(){function t(t){if(this.options=t,this.container=new or(t),t.provider){var e=t.provider,i=e.httpClient,n=e.websocketClient,r=e.pausedCoverView,s=e.stateProvider;i?this.container.setHttpClientImpl(i):ur("no provider.httpClient"),n?this.container.setWebSocketClientImpl(n):ur("no provider.websocketClient"),r?this.container.setPausedCoverViewImpl(r):ur("no provider.pausedCoverView"),s?this.container.setStateProviderImpl(s):ur("no provider.stateProvider")}else ur("no provider option");var o;this.breakpointManager=this.container.getBreakpointManager(),!1===t.console||t.consoleIsolation||(o=this.container,bn.forEach((function(t){var e=p(console,t);e&&e.configurable&&(e.value=An(t,o),h(console,t,e))}))),t.stopAtEntry&&(Rn(this.container,0,(function(){})),jn(this.container,0,(function(){})),this.breakpointManager.activate(),this.breakpointManager.pauseOnNextStatement=!0),this.container.getSessionState().resolveExternalStateOnStart()}return t.prototype.setEngine=function(t){this.container.setEngineInstance(t),!1!==this.options.console&&this.options.consoleIsolation&&t.import({console:wn(this.container)}),function(t,e){var i=t.getHostGlobalObject(),n=i.onunhandledrejection,r=function(t){gn(n)&&n.call(this,t),t&&t.reason&&e.throwException(t.reason,2)},s="onunhandledrejection",o=p(i,s);o&&!o.configurable||h(i,s,{get:function(){return r},set:function(t){gn(t)&&(n=t,o&&o.set&&o.set.call(this,t))},enumerable:!0,configurable:!0})}(t,this)},t.prototype.connect=function(){try{this.container.getProtocolConnection().open()}catch(t){C(t)}},t.prototype.evaluateScript=function(t,e,i,n){this.container.getScriptManager().addScript(t,e,i,n)},t.prototype.hitBreakpoint=function(t,e){var i=this.breakpointManager;if(!i.isActive)return!1;var n=e.type;if(3===n)return this.pauseOnNode(t,e),!0;var r=F(e,"__breakpointzxfg");if(r){var s=i.get(r);if(s){if(vn("hit breakpoint",e.type,e),!s.condition)return i.pauseOnBreakpoint(s),!0;try{var o=this.container.getEngine().getRuntimeStatus().callFrames;if(i.evaluateWithoutBreakpoint(s.condition,o[o.length-1].functionScope))return i.pauseOnBreakpoint(s),!0}catch(t){}}}if(0!==i.stepAction&&Cn(e)){switch(i.stepAction){case 3:return i.stepAction=0,this.pauseOnNode(t,e),!0;case 2:if(this.container.getEngine().getRuntimeStatus().callFrames.length<=i.breakpointCallStackDepth)return i.stepAction=0,this.pauseOnNode(t,e),!0;break;case 1:if(this.container.getEngine().getRuntimeStatus().callFrames.length<i.breakpointCallStackDepth)return i.stepAction=0,this.pauseOnNode(t,e),!0}return!1}return!(!i.pauseOnNextStatement||67===n)&&(i.pauseOnNextStatement=!1,this.pauseOnNode(t,e),!0)},t.prototype.shouldPauseOnException=function(t,e,i,n){var r=this.breakpointManager;if(r.isActive&&!F(e,"__pausedvxzg")){var s=r.pauseOnExceptionsState;2===s?(r.pauseOnException(t,e,i,n),b(e,"__pausedvxzg",1)):1===s&&n&&(r.pauseOnException(t,e,i,!0),b(e,"__pausedvxzg",1))}},t.prototype.pauseOnNode=function(t,e){var i=this.breakpointManager;i.isActive&&i.pauseOnNode(t,e)},t.prototype.throwException=function(t,e){var i=F(t,"__rewrittenzxcd"),n="Uncaught";2===e&&(n+=" (in promise)"),this.container.getProtocolConnection().sendConsoleMessage({method:r.exceptionThrown,params:{exceptionDetails:{columnNumber:20,exception:this.container.getRemoteObjectParser().parseObject(t),exceptionId:i?i.id:100,lineNumber:0,text:n},timestamp:Date.now()}})},t}();function ur(t){throw new Error("Failed to construct 'BoatmanInspector': "+t)}!function(t){t.Connecting="connecting",t.Connected="connected",t.Disconnected="disconnected"}(Qn||(Qn={}));var cr=function(t){var e="";switch(t){case Qn.Connecting:e="准备中";break;case Qn.Connected:e="已连接";break;case Qn.Disconnected:e="已断开"}"object"==typeof my&&my.call("showRemoteDebugPanel",{status:t,text:"真机调试"+e,buttonTitle:"退出"})},hr=function(t){"object"==typeof my&&my.on&&my.on("tinyRemoteDebugPanelButtonClick",t)},lr=function(t){return my.call("showRemoteDebugMask",t,(function(){}))},pr=function(t){"object"==typeof my&&my.alert(t)},dr=function(){return new Promise((function(t,e){Xn?t(Xn):new Promise((function(t){var e=function(){"object"==typeof my?t():setTimeout((function(){e()}),300)};e()})).then((function(){my.call("getStartupParams",{success:function(e){Xn=e,t(e)},fail:function(t){e(t)}})}))}))},fr=function(t){return my.connectSocket(t)},mr=function(){function t(){this.pausedMessage="断点命中"}return t.prototype.setPausedMessage=function(t){this.pausedMessage=t},t.prototype.show=function(){lr({text:" ",buttonTitle:this.pausedMessage,hide:!1})},t.prototype.hide=function(){lr({hide:!0})},t}(),Dr=function(){function t(){}return t.prototype.getChannelId=function(){return dr().then((function(t){return t.channelId}))},t.prototype.getChannelIdSync=function(){return""},t}(),yr=1e3,xr=function(){function t(){}return t.prototype.syncRequest=function(t){var e=my.callSync("tyroRequest",{url:t.url,method:t.method||"GET",headers:t.headers,timeout:6e5,blockTimeout:6e5,requestTaskId:yr++,data:"string"==typeof t.body?t.body:JSON.stringify(t.body)});return e?e.error?{error:e.error,errorMessage:e.errorMessage}:{status:e.status,data:e.data}:{error:1,errorMessage:"unknown"}},t}(),vr=function(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};function gr(t,e){var i,n,r=[],s=t.split(e);try{for(var o=vr(s),a=o.next();!a.done;a=o.next()){var u=a.value;r.push(parseInt(u,10))}}catch(t){i={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return r}var Cr,Er=function(){function t(t){this.messageBeforeFrontendJoined=[],this.url="",this.opened=!1,this.isFrontendJoined=!1,this.useFromRemoteDebugFlag=!1,t&&(this.url=t);var e=function(t){var e=t.match(/Ariver\/(\d+\.\d+\.\d+)/);if(e)return e[1]}("undefined"!=typeof navigator&&(navigator.swuserAgent||navigator.userAgent)||"");e&&function(t,e){if(t&&e){for(var i=gr(t,"."),n=gr(e,"."),r=0,s=0,o=void 0,a=void 0;s<i.length;s++){if((o=n[s]||0)>(a=i[s]||0)){r=-1;break}if(o<a){r=1;break}}return r}return 0}(e,"1.1.0")>=0&&(this.useFromRemoteDebugFlag=!0)}return Object.defineProperty(t.prototype,"isSocketOpened",{get:function(){return this.opened},enumerable:!1,configurable:!0}),t.prototype.getUrl=function(){return this.url},t.prototype.setUrl=function(t){this.url=t},t.prototype.open=function(){var t=this;vn("call connection open"),cr(Qn.Connecting),hr((function(){t.close(),pr({content:"调试结束",buttonText:"确认"})})),this.socketTask=fr({url:this.url,multiple:!0,fromRemoteDebug:this.useFromRemoteDebugFlag,fail:function(e){t.onSocketError(e)}}),this.socketTask.onOpen((function(){t.handleSocketOpen()})),this.socketTask.onError((function(e){t.onSocketError(e.data)})),this.socketTask.onClose((function(){t.handleSocketClose()})),this.socketTask.onMessage((function(e){t.opened||t.handleSocketOpen(),t.onSocketMessage(e.data.data)}))},t.prototype.sendSocketMessage=function(t){var e="string"==typeof t?t:JSON.stringify(t);e.length>2e7||(this.isFrontendJoined?this.socketTask.send({data:e,isBuffer:!1,fromRemoteDebug:this.useFromRemoteDebugFlag}):this.messageBeforeFrontendJoined.push(e))},t.prototype.close=function(){this.opened&&this.socketTask.close({fromRemoteDebug:this.useFromRemoteDebugFlag})},t.prototype.setSocketMessageHandler=function(t){this.externalMessageHandler=t},t.prototype.onSocketMessage=function(t){"CLIENT:JOIN"===t?this.handleFrontendJoined():"CLIENT:LEAVE"===t&&this.handleFrontendLeave(),this.externalMessageHandler&&this.externalMessageHandler(t)},t.prototype.onSocketOpen=function(){},t.prototype.onSocketError=function(t){},t.prototype.onSocketClose=function(){},t.prototype.handleSocketOpen=function(){this.opened=!0,this.onSocketOpen()},t.prototype.handleSocketClose=function(){this.opened=!1,this.isFrontendJoined=!1,cr(Qn.Disconnected),this.onSocketClose()},t.prototype.handleFrontendJoined=function(){var t=this;this.isFrontendJoined=!0,cr(Qn.Connected),this.messageBeforeFrontendJoined.length&&(this.messageBeforeFrontendJoined.forEach((function(e){t.sendSocketMessage(e)})),this.messageBeforeFrontendJoined=[])},t.prototype.handleFrontendLeave=function(){this.isFrontendJoined=!1,cr(Qn.Disconnected)},t}(),br=0;t.boot=function(t,e,i){if(void 0===i&&(i={}),br++,!Cr){var n=new ar({stopAtEntry:i.stopAtEntry,provider:{httpClient:xr,websocketClient:Er,stateProvider:Dr,pausedCoverView:mr},consoleIsolation:!0});(Cr=new pn).setInspector(n)}Cr.run(t,e),1===br&&Cr.evaluate('console.warn("帮助提示:真机调试模式下小程序运行性能与真实性能有偏差,如需观察性能表现请使用真机预览")')},Object.defineProperty(t,"__esModule",{value:!0})}));
2
+
3
+ !function(e){"use strict";var t=(n.prototype.onopen=function(e){},n.prototype.onmessage=function(e){},n.prototype.onclose=function(e){},n.prototype.onerror=function(e){},n.prototype.send=function(e){this.socket.send({data:e})},n.prototype.close=function(e,t){this.socket.close()},n);function n(e){var t=this;this.socket=my.connectSocket({fail:function(e){t.onerror(e)},multiple:!0,url:e}),this.socket.onOpen(function(e){t.onopen(e)}),this.socket.onMessage(function(e){t.onmessage(e.data)}),this.socket.onError(function(e){t.onerror(e)}),this.socket.onClose(function(e){t.onclose(e)})}var r=(o.prototype.open=function(){this.ready=!0,this.socket=new t(this.wsUrl),this.socket.onmessage=this.onSocketMessage},o.prototype.sendMessage=function(e,t){this.socket.send(JSON.stringify({method:e,params:t}))},o.prototype.onMessage=function(e){if(this.messageHandler)throw new Error("conflict handler");this.messageHandler=e},o.prototype.onSocketMessage=function(e){var n=this,t=e.data;if("string"!=typeof t)throw new Error("message invalid: "+t);if("CLIENT:JOIN"!==t&&"CLIENT:LEAVE"!==t){var r=void 0;try{r=JSON.parse(t)}catch(e){return}var o=r.id,i=r.method,e=r.params;if(!o||!i)throw new Error("message invalid: "+t);this.messageHandler(i,e,function(e,t){e?n.socket.send(JSON.stringify({error:{code:e,message:(null==t?void 0:t.message)||""},id:o})):n.socket.send(JSON.stringify({id:o,result:t}))})}},o);function o(e){this.ready=!1,this.wsUrl=e,this.onSocketMessage=this.onSocketMessage.bind(this),this.open()}var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var u=function(){return(u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=Function.prototype.apply.call.bind(Function.prototype.apply);function f(e,t,n){return a(e,t,n)}function l(o,i,s,a,u){var l,c,d=null,h=0;u=u||{};function p(){h=!1===u.leading?0:Date.now(),c=f(o,d=null,l),l=null}return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Date.now();h||!1!==u.leading||(h=n);var r=i-(n-h);return l=e,r<=0||i<r?(a(d),h=n,c=f(o,d=null,l),l=null):d||!1===u.trailing||(d=s(p,r)),c}}var c,d="__weak_set_key__yek_tes_kaew__",h=1;function p(){var e="undefined"!=typeof WeakSet;function t(){this.elementKey=d+h++}c=e?WeakSet:(t.prototype.has=function(e){return 1===e[this.elementKey]},t.prototype.add=function(e){return e[this.elementKey]=1,this},t.prototype.delete=function(e){e[this.elementKey]=null},t)}var g=(m.prototype.getNextRequestId=function(){return++this.nextRequestId},m);function m(e,t){var n=this;this.interceptors=e,this.callback=t,this.nextRequestId=1e5,this.notifyDataChange=l(function(){n.callback({ext:{origin:"data"},method:"Tiny.Data.dataChanged"})},300,setTimeout,clearTimeout)}function y(){var n=(c||p(),new c);return function(e,t){if("object"==typeof t&&null!==t){if(n.has(t))return;n.add(t)}return t}}function v(e){return JSON.stringify(e,y())}var _=0;var b="object"==typeof performance&&performance&&"function"==typeof performance.now?function(){return 1e3*performance.now()+_}:function(){return 1e3*Date.now()};function w(n){n.interceptors.appLifecycleManagerInterceptor.before("performLifeHook",function(e,t){t={aTime:b()/1e3,args:t,context:v({app:{appInstanceId:(e=(t=e).app).appInstanceId,initTime:e.initTime,launchOptions:e.getLaunchOptions(),launchTime:e.launchTime},state:t.state})};!function(e,t){try{var n={ext:{origin:"applog"},method:"MiniAppLog."+t.args[0],params:t};e.callback(n)}catch(e){}}(n,t)}),n.interceptors.pageLifecycleManagerInterceptor.before("performLifeHook",function(e,t){t={aTime:b()/1e3,args:t,context:v({page:{initTime:(e=(t=e).page).initTime,loadTime:e.loadTime,pageId:e.pageId,pagePath:e.pagePath,plugin:e.plugin},state:t.state})};!function(e,t){try{var n=function(e){var t;switch(e){case 0:t="onPageLoad";break;case 2:t="onPageReady";break;case 1:t="onPageShow";break;case 3:t="onPageHide";break;case 4:t="onPageUnload"}return t}(t.args[0]);if(!n)return;var r={ext:{origin:"applog"},method:"MiniAppLog."+n,params:t};e.callback(r),"onPageShow"===n&&e.notifyDataChange()}catch(e){}}(n,t)})}var I,C=console.error;function S(e){e.interceptors.appBaseInstanceInterceptor.after("reportError",function(e,t){t[0];var n=t[1],t=t[2];n={code:n,formatted:t},(t=new Error(n.formatted.message)).stack=n.formatted.stack,setTimeout(C.bind(console,t),0)})}function x(e,t){try{e.notifyDataChange();var n={ext:{origin:"applog"},method:"MiniAppLog.onSetData",params:t};e.callback(n)}catch(e){}}function A(e,t){try{var n={ext:{origin:"applog"},method:"MiniAppLog.onSetDataCallback",params:t};e.callback(n)}catch(e){}}function k(e){var t=e.page;return{page:{appInstanceId:t.appInstanceId,initTime:t.initTime,loadTime:t.loadTime},pageId:e.pageId,pagePath:e.pagePath}}function N(e){var t=e.page;return{componentPath:e.componentPath,page:{appInstanceId:t.appInstanceId,initTime:t.initTime,loadTime:t.loadTime},pageId:t.pageId,pagePath:t.pagePath}}function O(a){a.interceptors.bridgeSyncCallContextMethodInterceptor.all("invoke",function(e,t){var n=a.getNextRequestId(),r=b()/1e3;return function(e,t){try{var n={ext:{origin:"applog"},method:"MiniAppLog.onApiSyncCall",params:M(t)};e.callback(n)}catch(e){}}(a,{context:e,args:t,reqId:n,aTime:r}),[[n,r],t]},function(e,t,n,r){var o=t[0],i=o[0],s=o[1],o=t[1],t=b()/1e3;!function(e,t){try{var n={ext:{origin:"applog"},method:"MiniAppLog.onApiSyncCallback",params:M(t)};e.callback(n)}catch(e){}}(a,{context:e,args:o,reqId:i,result:n,bTime:t,aTime:s})}),a.interceptors.bridgeAsyncCallContextMethodInterceptor.before("invoke",function(e,t){var n=a.getNextRequestId(),r=b()/1e3;return e.__reqId=n,function(e,t){try{var n={ext:{origin:"applog"},method:"MiniAppLog.onApiCall",params:M(t)};e.callback(n)}catch(e){}}(a,{context:e,args:t,reqId:n,aTime:r}),"rpc"===e.apiName&&(e.option.getResponse||(e.$$rpcGetResponseToTrue=!0,e.option=u(u({},e.option),{getResponse:!0}))),t}),a.interceptors.bridgeAsyncCallContextMethodInterceptor.before("dispatchResultCallback",function(e,t){var n=e.__reqId,r=b()/1e3;return function(e,t){try{var n={ext:{origin:"applog"},method:"MiniAppLog.onApiCallback",params:M(t)};e.callback(n)}catch(e){}}(a,{context:e,args:t,reqId:n,bTime:r}),"rpc"===e.apiName&&e.$$rpcGetResponseToTrue&&void 0!==t[0].resData?[t[0].resData]:t})}function M(e){var t=e.context,n=t.apiName,r=t.extraInfo,o=t.isMiniExtension,i=t.option,s=t.startTime,a=t.taskId,t=t.__reqId;return u(u({},e),{context:{__reqId:t,apiName:n,extraInfo:r,isMiniExtension:o,option:i,startTime:s,taskId:a}})}function E(e,t){_=1e3*Date.now()-b();var a,t=new g(e,t);(a=t).interceptors.pageFlexibleLogicInstanceMethodInterceptor.all("setData",function(e,t){var n=a.getNextRequestId(),r=b()/1e3,e={aTime:r,args:t,context:v(k(e)),reqId:n};return x(a,e),[[n,r],t]},function(e,t,n,r){var o=t[0],i=o[0],s=o[1],o=t[1],t=b()/1e3;A(a,{aTime:s,args:o,bTime:t,context:v(k(e)),reqId:i})}),a.interceptors.componentFlexibleLogicInstanceMethodInterceptor.all("setData",function(e,t){var n=a.getNextRequestId(),r=b()/1e3;return x(a,{aTime:r,args:t,context:v(N(e)),reqId:n}),[[n,r],t]},function(e,t,n,r){var o=t[0],i=o[0],s=o[1],o=t[1],t=b()/1e3;A(a,{aTime:s,args:o,bTime:t,context:v(N(e)),reqId:i})}),w(t),O(t),S(t)}var T,R=(P.prototype.setMessageDirectSend=function(){this.shouldPendMessage=!1},P.prototype.pendMessageQueue=function(e,t){this.messageQueue.push({method:e,params:t})},P.prototype.flushMessageQueue=function(){if(this.socketInstance)for(;0<this.messageQueue.length;){var e=this.messageQueue.shift(),t=e.method,e=e.params;this.socketInstance.sendMessage(t,e)}},P.prototype.setRuntime=function(e){this.runtime=e},P.prototype.getRuntime=function(){return this.runtime},P.prototype.setSocketInstance=function(e){this.socketInstance=e,this.flushMessageQueue()},P.prototype.getSocketInstance=function(){return this.socketInstance},P);function P(){this.messageQueue=[],this.shouldPendMessage=!0}function D(){return I=I||new R}(Je=T=T||{})[Je.Element=1]="Element",Je[Je.Text=2]="Text",Je[Je.Component=3]="Component";var L=[!1,!1,!1,!1,5,1e3,0,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,[],!1,!1,!1,!1,!0,!1,[],!1,!1,2,!1,!1,!1,!1,!0,null,0,!1,!1,!1,!1,0,!1,void 0,!1,!0,!1,!1];var B=(U.prototype.createBlockWithScope=function(e,t){var n,r,o=this.scopeId;return e&&o?(n=j(e,this.currentData,o),(r=this.createBlock(this.slotProviderParentContextInstance,t,n,!0)).__scopeContext__=e):(n=this.currentData,r=this.createBlock(this.slotProviderParentContextInstance,t,n,!1)),r.bType=1,r},U.prototype.createBlockWithoutScope=function(e){e=this.createBlock(this.slotProviderParentContextInstance,e,this.currentData,!1);return e.bType=1,e},U.prototype.updateBlockWithDynamicNameScopeAndFallback=function(e,t,n,r,o,i){var s,a,u;return t._name===e?(s=this.scopeId,n&&s?(u=j(n,this.currentData,s),(a=Object.create(this.updatingDiff))[s]=!0,t.updateScopeContext(n),t.updateScopeAndFallbackContext(a,u,r,o)):t.updateFallbackContext(r,o)):(u=void 0,u=n?this.createBlockWithScope(n,i):this.createBlockWithoutScope(i),t.updateDynamicNameAndFallbackContext(e,u,r,o)),null},U.prototype.updateBlockWithScopeAndFallback=function(e,t,n,r){var o,i,s=this.scopeId;t&&s?(o=j(t,this.currentData,s),(i=Object.create(this.updatingDiff))[s]=!0,e.updateScopeContext(t),e.updateScopeAndFallbackContext(i,o,n,r)):e.updateFallbackContext(n,r)},U.prototype.updateBlockWithScope=function(e,t){var n,r,o=this.scopeId;t&&o&&(n=j(t,this.currentData,o),(r=Object.create(this.updatingDiff))[o]=!0,e.__scopeContext__=t,e.u(r,n))},U.prototype.createBlock=function(e,t,n,r){var o,i,n=this.factory(e,n);return this.bindLinkNode&&(n=this.bindLinkNode(n,this)),n.d=this.destroyBlock.bind(this,n,n.d),r?(i=1,o=this.scopedBlocks.length,this.scopedBlocks.push(n)):(i=0,o=this.unscopedBlocks.length,this.unscopedBlocks.push(n)),n.__slotIndex__=o,n.__slotType__=i,n},U.prototype.destroyBlock=function(e,t,n){var r,o,i,s=e.__slotIndex__;0<=s&&(this.disposing||((r=1===e.__slotType__?this.scopedBlocks:this.unscopedBlocks)[(i=r[o=r.length-1]).__slotIndex__=s]=i,r.length=o),t.call(e,n),e.__slotIndex__=-1)},U);function U(e,t,n,r,o){this.bindLinkNode=o,this.updatingDiff=null,this.scopedBlocks=[],this.unscopedBlocks=[],this.disposing=!1,this.factory=e,this.currentData=t,this.slotProviderParentContextInstance=n,this.scopeId=r}function j(e,t,n){t=Object.create(t);return t[n]=e[0],1<e.length&&(t[n+"d"]=e[1],t[n+"n"]=e[2]),t}var z;s(F,z=B),F.prototype.exitProviderUpdating=function(){},F.prototype.enterProviderUpdating=function(e,t){this.currentData=t;for(var n=this.scopeId,r=0,o=this.unscopedBlocks;r<o.length;r++){(u=o[r]).u(e,t)}if(n&&this.scopedBlocks.length){var i=Object.create(e);i[n]=!1;for(var s=0,a=this.scopedBlocks;s<a.length;s++){var u,l=j((u=a[s]).__scopeContext__,t,n);u.u(i,l)}}},F.prototype.destroyBlocks=function(e){if(this.disposing=!0,this.scopeId){for(var t=0,n=this.scopedBlocks;t<n.length;t++){n[t].d(e)}this.scopedBlocks=[]}for(var r=0,o=this.unscopedBlocks;r<o.length;r++){o[r].d(e)}this.unscopedBlocks=[]};function F(){return null!==z&&z.apply(this,arguments)||this}var Z;s(V,Z=B),V.prototype.enterProviderUpdating=function(e,t){this.updatingDiff=e,this.currentData=t;for(var t=this.scopeId,n=0,r=this.unscopedBlocks;n<r.length;n++){r[n].__slotUpdating__=!0}if(t&&this.scopedBlocks.length)for(var o=0,i=this.scopedBlocks;o<i.length;o++){i[o].__slotUpdating__=!0}},V.prototype.destroyBlocks=function(e){this.disposing=!0,this.scopeId&&(this.scopedBlocks=[]),this.unscopedBlocks=[]},V.prototype.exitProviderUpdating=function(){for(var e=this.updatingDiff,t=this.currentData,n=this.scopeId,r=0,o=this.unscopedBlocks;r<o.length;r++){(s=o[r]).__slotUpdating__&&(s.__slotUpdating__=!1,s.u(e,t))}if(n&&this.scopedBlocks.length){var i=Object.create(e);i[n]=!1;for(var s,a,u=0,l=this.scopedBlocks;u<l.length;u++){(s=l[u]).__slotUpdating__&&(s.__slotUpdating__=!1,a=j(s.__scopeContext__,t,n),s.u(i,a))}}this.updatingDiff=null};function V(){return null!==Z&&Z.apply(this,arguments)||this}function Y(){}function G(e,t){var n=t.nextSibling,r=t.previousSibling;n?(n.previousSibling=r,t.nextSibling=null):e.lastChild=r,r?(r.nextSibling=n,t.previousSibling=null):e.firstChild=n,t.parent=null}function W(e,t){var n=t.parent;n&&G(n,t);n=(t.parent=e).lastChild;n?(t.previousSibling=n).nextSibling=t:e.firstChild=t,e.lastChild=t}var q=function(e,t){var n,r=t.root.textContent,o=e.index,i=e.nodes.length;for(;o<i&&(n=e.nodes.item(o))&&(8!==n.nodeType||n.textContent!==r);)o++;return i-o};var $=0;var H=function(){return"z:"+ ++$},J=function(e,t,n){var r=e.target,o={destroy:Y,eType:0,nextSibling:null,parent:null,previousSibling:null,root:null};{if(n){for(var i=n.root.textContent,s=e.index,a=void 0;;){if(!(a=e.nodes.item(s))){var u=t.document.document.createComment(i);o.root=u,r.appendChild(o);break}if(8===(o.root=a).nodeType&&a.textContent===i){W(r,o);break}if(e.stopReverseIndex===e.nodes.length-s){var l={destroy:Y,eType:0,nextSibling:null,parent:null,previousSibling:null,root:a},u=t.document.document.createComment(i);o.root=u,W(r,l),r.insertBefore(o,l),G(r,l);break}r.removeChild(o)}return e.index++,o}var c,a=e.nodes.item(e.index++);(o.root=a)&&8===a.nodeType?W(r,o):(c=t.document.document.createComment(H()),c={destroy:Y,eType:0,nextSibling:null,parent:null,previousSibling:null,root:c},a?(W(r,o),r.insertBefore(c,o),e.stopReverseIndex===e.nodes.length-e.index?G(r,o):r.removeChild(o)):r.appendChild(c))}return c||o};function Q(e){return"b:"+e}function K(e){return"e:"+e}function X(e,t,n){for(var r=[],o=e,i=null;o&&!t(o);){switch(o.eType){case 1:case 2:null===i&&r.push(n.getZNodeDebugInfo(o));break;case 0:var s=o.root.textContent;null===i&&"b"===s[0]?i=parseInt(s.slice(2),10):null!==i&&s===te(i)&&(r.push(n.getZNodeComponentDebugInfo(i)),i=null)}o=o.nextSibling}return r}function ee(e){var t="";try{1e6<JSON.stringify(e).length&&(t="data is too large to display")}catch(e){t=e.message||"stringify error"}return t?{data:{error:t}}:{data:e}}function te(e){return"e:"+e}function ne(e){if(!e.treeTargetIds){for(var t=e,n=[];t;){t=t.previousSibling||t.parent;for(var r=0;t;){if(0===t.eType){if("e"===t.root.textContent[0])r++;else if("b"===t.root.textContent[0]){if(0===r){n.push({begin:t.root,targetId:parseInt(t.root.textContent.slice(2),10)});break}r--}}else{if(1===t.eType&&0===r){n.push.apply(n,ne(t)),t=null;break}if(2===t.eType&&0===r){n.push.apply(n,ne(t)),t=null;break}}t=t.previousSibling||t.parent}}n.length||n.push({begin:null,targetId:0}),e.treeTargetIds=n}return e.treeTargetIds}var re=(oe.prototype.setParentNodeId=function(e){this.parentNodeId=e},oe.prototype.getParentNodeId=function(){return this.parentNodeId||(this.parentNodeId=this.getParentNode().nodeId),this.parentNodeId},oe.prototype.getPreviousElementOrTextSibling=function(){for(var e=this.node.previousSibling;e&&1!==e.eType&&2!==e.eType;){if(0===e.eType){if("b"===e.root.textContent[0])return null;if("e"===e.root.textContent[0])return this.devtool.getZNodeComponentDebugInfo(parseInt(e.root.textContent.slice(2),10))}e=e.previousSibling}return e?this.devtool.getZNodeDebugInfo(e):null},oe.prototype.getParentNode=function(){var e=this.devtool.getZNodeDebugInfo(this.node.parent),t=ne(this.node);return ne(e.node)[0].targetId===t[0].targetId?e:this.devtool.getZNodeComponentDebugInfo(t[0].targetId)},oe.prototype.setLinkedContext=function(e){this.linkedContext=e},oe.prototype.getLinkedContext=function(){return this.linkedContext},oe);function oe(e,t){this.devtool=e,this.node=t}var ie,se=(s(ae,ie=re),Object.defineProperty(ae.prototype,"dom",{get:function(){return this.devtool.getDOMNodeDebugInfo(this.node.root,this,this.shadowRootNodeId)},enumerable:!1,configurable:!0}),ae.prototype.getPlatformRootDOM=function(){return this.node.root},ae.prototype.getShadowRootDebugNode=function(){var e=this.node.root;return this.devtool.getDOMNodeDebugInfo(e,this,this.shadowRootNodeId)},ae.prototype.getClassName=function(){return this.attrClass},ae.prototype.getInlineStyle=function(){return this.attrStyle},ae.prototype.getDataset=function(){return this.dataset},ae.prototype.updateClassName=function(e){e=e||"";this.attrClass!==e&&(this.attrClass=e,this.activated&&this.pendingAttributes.push(["class",""+e]))},ae.prototype.updateInlineStyle=function(e){this.attrStyle!==e&&(this.attrStyle=e,this.activated&&this.pendingAttributes.push(["style",""+e]))},ae.prototype.invalidate=function(){var t=this;if(this.activated&&this.pendingAttributes.length){for(var n={},e=0,r=this.pendingAttributes;e<r.length;e++){var o=r[e],i=o[0],o=o[1];n[i]=o}Object.keys(n).forEach(function(e){t.onAttributeModifiedByEngine(e,n[e]),"style"===e&&t.node.setStyleInline(n[e])}),this.pendingAttributes=[],n={},this.devtool.enableShadowRootElements&&(this.devtool.flushUpdatedQueue(),this.dom&&this.dom.invalidate())}},ae.prototype.getProperties=function(){var n={};return this.properties.forEach(function(e,t){n[t]=e}),n},ae.prototype.updateProperties=function(e){if(e)for(var t=this.properties,n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];e[o]!==t.get(o)&&(t.set(o,e[o]),this.activated&&this.pendingAttributes.push([o,""+e[o]]))}},ae.prototype.updateDataset=function(e){for(var t=this.dataset,n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];e[o]!==t.get(o)&&(t.set(o,e[o]),this.activated&&this.pendingAttributes.push(["data-"+o,""+e[o]]))}},ae.prototype.updateAttribute=function(e,t){t!==this.attributes.get(e)&&(this.attributes.set(e,t),this.activated&&this.pendingAttributes.push([e,""+t]))},ae.prototype.getChildNodes=function(){return X(this.node.firstChild,function(){},this.devtool)},ae.prototype.serialize=function(t){this.activated=!0;var e,n=this.getChildNodes(),r=n.length;return 0<t&&r&&(e=n.map(function(e){return e.serialize(t-1)})),e||1!==r||n[0].nodeType!==T.Text||(e=[n[0].serialize(0)]),e&&e.length&&(this.childrenActivated=!0),{attributes:this.getAllAttributes(),backendNodeId:this.nodeId,childNodeCount:r,children:e,localName:this.nodeName.toLowerCase(),nodeId:this.nodeId,nodeName:this.nodeName,nodeType:1,nodeValue:"",parentId:this.getParentNodeId(),pseudoElements:this.getPseudoElements(),shadowRoots:this.devtool.shadowRootElementsEnabled?[{childNodeCount:1,localName:"",nodeId:this.shadowRootNodeId,nodeName:"#document-fragment",nodeType:11,nodeValue:"",shadowRootType:"dom"}]:void 0}},ae.prototype.getAllAttributes=function(){var n=[];return this.attrClass&&n.push("class",""+this.attrClass),this.attrStyle&&n.push("style",""+this.attrStyle),this.properties.forEach(function(e,t){n.push(t,""+e)}),this.attributes.forEach(function(e,t){n.push(t,""+e)}),this.dataset.forEach(function(e,t){n.push("data-"+t,""+e)}),n},ae.prototype.getChildNodeCount=function(){return this.getChildNodes().length},ae.prototype.onAttributeModifiedByEngine=function(e,t){this.devtool.sendMessage("DOM.attributeModified",{name:e,nodeId:this.nodeId,value:""+t})},ae.prototype.getPseudoElements=function(){return[]},ae);function ae(e,t,n,r,o,i){var s=ie.call(this,e,n)||this;return s.devtool=e,s.nodeName=t,s.node=n,s.nodeId=r,s.shadowRootNodeId=o,s.shadowSlotNodeId=i,s.nodeType=T.Element,s.activated=!1,s.childrenActivated=!1,s.pendingAttributes=[],s.dataset=new Map,s.properties=new Map,s.attributes=new Map,s.inlineStyleSheetId="2000."+r,s}var ue,le=(s(ce,ue=re),ce.prototype.getPlatformRootDOM=function(){return this.node.root},ce.prototype.serialize=function(e){return this.activated=!0,{backendNodeId:this.nodeId,childNodeCount:0,localName:"",nodeId:this.nodeId,nodeName:this.nodeName,nodeType:3,nodeValue:this.node.root.textContent,parentId:this.getParentNodeId()}},ce);function ce(e,t,n,r){var o=ue.call(this,e,t)||this;return o.devtool=e,o.node=t,o.nodeId=n,o.shadowSlotNodeId=r,o.nodeType=T.Text,o.activated=!1,o.nodeName="#text",o.dom=e.getDOMNodeDebugInfo(t.root,o),o}var de=(he.prototype.getChildNodes=function(){var t=this;return X(this.beginAnchor.nextSibling,function(e){return 0===e.eType&&e.root.textContent===te(t.targetId)},this.devtool)},he.prototype.serialize=function(t){this.activated=!0;var e,n=this.getChildNodes(),r=n.length;return 0<t&&(e=n.map(function(e){return e.serialize(t-1)})),e||1!==r||n[0].nodeType!==T.Text||(e=[n[0].serialize(0)]),e&&e.length&&(this.childrenActivated=!0),{attributes:this.getAllAttributes(),backendNodeId:this.nodeId,childNodeCount:r,children:e,localName:this.nodeName.toLowerCase(),nodeId:this.nodeId,nodeName:this.nodeName,nodeType:1,nodeValue:"",parentId:this.getParentNodeId()}},he.prototype.getAllAttributes=function(){var t=this,e=this.componentInstance.fixedReceivedPropKeys,n=this.componentInstance.componentIs;"string"==typeof n&&"/"===n[0]&&(n=n.substring(1));var r=["is",n];return e&&e.forEach(function(e){r.push.apply(r,function(t,n){if("className"===t)return["class",String(n).trim()];if("function"==typeof n){if(n.handleName)return[t,n.handleName]}else{if(null===n)return[t,"null"];if(void 0!==n){var e="unknown";try{e="object"==typeof n?Object.prototype.toString.call(n):n.toString()}catch(e){console.warn("failed to stringify node props value",t,n)}return[t,e]}}return[]}(e,t.componentInstance._state[e]))}),r},he.prototype.getParentNodeId=function(){return this.parentNodeId||(this.parentNodeId=this.getParentNode().nodeId),this.parentNodeId},he.prototype.getParentNode=function(){if(this.beginAnchor.parent){var e=this.devtool.getZNodeDebugInfo(this.beginAnchor.parent),t=ne(this.beginAnchor);return ne(e.node)[0].targetId===t[0].targetId?e:this.devtool.getZNodeComponentDebugInfo(t[0].targetId)}},he.prototype.getData=function(){var t=this,n={},e=this.componentInstance.fixedReceivedPropKeys,r=void 0===e?[]:e;return Object.keys(this.componentInstance._state).forEach(function(e){"$id"!==e&&-1===r.indexOf(e)&&(n[e]=t.componentInstance._state[e])}),n},he.prototype.getProps=function(){var t=this,n={},e=this.componentInstance.fixedReceivedPropKeys;return(void 0===e?[]:e).forEach(function(e){n[e]=t.componentInstance._state[e]}),n},he.prototype.getChildNodeCount=function(){return this.getChildNodes().length},he.prototype.getPreviousElementOrTextSibling=function(){for(var e=this.beginAnchor.previousSibling;e&&1!==e.eType&&2!==e.eType;){if(0===e.eType){if("b"===e.root.textContent[0])return null;if("e"===e.root.textContent[0])return this.devtool.getZNodeComponentDebugInfo(parseInt(e.root.textContent.slice(2),10))}e=e.previousSibling}return e?this.devtool.getZNodeDebugInfo(e):null},he.prototype.updateProperties=function(t,n){var r=this;Object.keys(n).forEach(function(e){n[e]&&r.pendingAttributes.push([e,""+t[e]])})},he.prototype.invalidate=function(){var t=this;if(this.activated&&this.pendingAttributes.length){for(var n={},e=0,r=this.pendingAttributes;e<r.length;e++){var o=r[e],i=o[0],o=o[1];n[i]=o}Object.keys(n).forEach(function(e){t.onAttributeModifiedByEngine(e,n[e])}),this.pendingAttributes=[],n={}}},he.prototype.onAttributeModifiedByEngine=function(e,t){this.devtool.sendMessage("DOM.attributeModified",{name:e,nodeId:this.nodeId,value:""+t})},he);function he(r,e,o){var i=this;this.devtool=r,this.targetId=e,this.nodeId=o,this.nodeType=T.Component,this.nodeName="component",this.activated=!1,this.childrenActivated=!1,this.pendingAttributes=[],this.componentInstance=r.componentTargetId2LinkedInstance.get(e),this.beginAnchor=this.componentInstance._anchor4Head,this.parentNodeId=this.getParentNodeId();var s=l(r.sendMessage.bind(r),500,setTimeout,clearTimeout),a=this.componentInstance._fragment.u;this.componentInstance._fragment.u=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=a.apply(i.componentInstance._fragment,e);return r.activatedCustomComponentId===o&&s("Tiny.Elements.componentDataChanged",{data:ee(i.getData()).data,nodeId:o}),n};var n=l(r.sendMessage.bind(r),500,setTimeout,clearTimeout),u=this.componentInstance.receiveProps;this.componentInstance.receiveProps=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];u.apply(i.componentInstance,e),r.activatedCustomComponentId===o&&n("Tiny.Elements.componentDataChanged",{nodeId:o,props:ee(i.getProps()).data})},this.invalidate=l(this.invalidate.bind(this),500,setTimeout,clearTimeout)}var pe=(fe.prototype.serialize=function(){var e=this.node;return{backendNodeId:this.nodeId,childNodeCount:0,localName:"",nodeId:this.nodeId,nodeName:"#text",nodeType:3,nodeValue:e.textContent,parentId:this.devtool.getDOMNodeDebugInfo(this.node.parentNode,this.znode).nodeId}},fe);function fe(e,t,n,r){this.devtool=e,this.node=t,this.nodeId=n,this.znode=r,this.nodeType=3,this.activated=!1}var ge=(me.prototype.sendMessage=function(e,t){this.option.connection.sendMessage(e,t)},me.prototype.sendMessageWithPriority=function(e,t){this.option.connection.sendMessage(e,t,!0)},me.prototype.getZRuntimeHelper=function(){return this.option.debugProxy.getZRuntime().h},me.prototype.getZNodeDebugInfo=function(e){var t;return e._debug||(1===e.eType?(0===(t=this.option.debugProxy.getTagNameByPlatformElement(e)||"unknown").indexOf("unknown")&&(t=e.tagName||e.externalElementName||t),t=this.dependecyFactory.createZNodeElement(this,t.toUpperCase(),e,this.nextNodeId++,this.nextNodeId++,this.nextNodeId++),this.nodeId2ZNode.set(t.nodeId,t),this.shadowRootNodeId2ZNode.set(t.shadowRootNodeId,t),e._debug=t):2===e.eType&&(t=new le(this,e,this.nextNodeId++,this.nextNodeId++),this.nodeId2ZNode.set(t.nodeId,t),e._debug=t)),e._debug},me.prototype.getZNodeComponentDebugInfo=function(e){var t;return this.componentTargetId2ZNode.has(e)||(t=new de(this,e,this.nextNodeId++),this.nodeId2ZNode.set(t.nodeId,t),this.componentTargetId2ZNode.set(e,t)),this.componentTargetId2ZNode.get(e)},me.prototype.getDOMNodeDebugInfo=function(e,t,n){return e._debug||(1===e.nodeType?(n=this.dependecyFactory.createDOMElement(this,e,this.nextNodeId++,n,t),this.nodeId2DOMNode.set(n.nodeId,n),e._debug=n):3===e.nodeType&&(t=new pe(this,e,this.nextNodeId++,t),this.nodeId2DOMNode.set(t.nodeId,t),e._debug=t)),e._debug},me.prototype.getDocumentNode=function(){try{var e=this.getZNodeDebugInfo(this.option.clientProxy.renderer.documentInstance);return e.setParentNodeId(1),{backendNodeId:1,childNodeCount:1,children:[e.serialize(1)],localName:"",nodeId:1,nodeName:"#document",nodeType:9,nodeValue:""}}catch(e){console.warn("getDocumentRoot error",e);var t="page-not-found";return{backendNodeId:1,childNodeCount:1,children:[{attributes:[],backendNodeId:2,childNodeCount:0,localName:t,nodeId:2,nodeName:t,nodeType:1,nodeValue:"",parentId:1}],localName:"",nodeId:1,nodeName:"#document",nodeType:9,nodeValue:""}}},me.prototype.flushUpdatedQueue=function(){this.pageInstance&&this.pageInstance.flushUpdatedQueue()},me.prototype.resetZNodeActivatedState=function(){this.nodeId2ZNode.forEach(function(e){e.activated=!1,e.nodeType===T.Element&&e.childrenActivated&&(e.childrenActivated=!1)})},me.prototype.enableShadowRootElements=function(){this.shadowRootElementsEnabled=!0},me.prototype.getNextNodeId=function(){return this.nextNodeId++},me);function me(e){this.option=e,this.nodeId2ZNode=new Map,this.shadowRootNodeId2ZNode=new Map,this.nodeId2DOMNode=new Map,this.nodeId2PseudoElement=new Map,this.componentTargetId2ZNode=new Map,this.componentTargetId2LinkedInstance=new Map,this.shadowRootElementsEnabled=!1,this.rootNodeId=1,this.nextNodeId=this.rootNodeId+1,this.dependecyFactory=e.dependencyFactory}var ye=null;function ve(e){ye=ye||e}var _e=Object.freeze({__proto__:null,createOverlayManagerInst:ve,enable:function(e,t,n){n(null,{})},hideHighlight:function(e,t,n){if("function"==typeof(null===__DEV_TOOL__||void 0===__DEV_TOOL__?void 0:__DEV_TOOL__.hideHighlight)){e=e.getClientProxy().pageId;return __DEV_TOOL__.hideHighlight(e),n(null,{})}ye&&ye.highlightArea("0","0","0","0"),n(null,{})},highlightNode:function(e,t,n){if("function"==typeof(null===__DEV_TOOL__||void 0===__DEV_TOOL__?void 0:__DEV_TOOL__.highlightNode)){var r=e.getClientProxy().pageId,o=e.nodeId2ZNode.get(t.nodeId);return o&&o.nodeType===T.Element&&(o=o.node.root.nodeId,__DEV_TOOL__.highlightNode(r,o,t.highlightConfig)),n(null,{})}ye&&((t=+t.nodeId)<0&&(t=-t),e=e.nodeId2ZNode.get(t),(t=e)&&t.nodeType===T.Element&&(e=e.node.root.ref,ye.getNodeRect(e,function(e){var t=String(Math.round(e.left))+"px",n=String(Math.round(e.top))+"px",r=String(Math.round(e.width))+"px",e=String(Math.round(e.height))+"px";ye.highlightArea(t,n,r,e)})),n(null,{}))},setInspectMode:function(e,t,n){n(null,{})}});var be=(we.prototype.appendChild=function(e){var t=e.parent;if(t&&Ie(t,e),e.parent=this,e.isDirty)for(var n=this;n&&!n.isDirty;)n.isDirty=!0,n=n.parent;t=this.lastChild;t?(e.previousSibling=t).nextSibling=e:this.firstChild=e,1===(this.lastChild=e).hType&&(e.root=this.root,this.root.addOperation(2,[this.component.targetId,e.component.targetId]))},we.prototype.insertBefore=function(e,t){if(t){var n=e.parent;if(n&&Ie(n,e),e.parent=this,e.isDirty)for(var r=this;r&&!r.isDirty;)r.isDirty=!0,r=r.parent;n=t.previousSibling;if(t.previousSibling=e,n?n.nextSibling=e:this.firstChild=e,e.previousSibling=n,e.nextSibling=t,1===e.hType){e.root=this.root;for(var o=t;o&&1!==o.hType;)o=o.nextSibling;o?this.root.addOperation(0,[this.component.targetId,e.component.targetId,o.component.targetId]):this.root.addOperation(2,[this.component.targetId,e.component.targetId])}}else this.appendChild(e)},we.prototype.removeChild=function(e){var t=e.parent,n=e.nextSibling,r=e.previousSibling;n?(n.previousSibling=r,e.nextSibling=null):t.lastChild=r,r?(r.nextSibling=n,e.previousSibling=null):t.firstChild=n,e.parent=null,1===e.hType&&this.root.addOperation(1,[t.component.targetId,e.component.targetId])},we.prototype.destroy=function(){this.parent=null,this.previousSibling=null,this.nextSibling=null,this.firstChild=null,this.lastChild=null,this.component=null},we);function we(e){this.previousSibling=null,this.nextSibling=null,this.firstChild=null,this.lastChild=null,this.hType=1,this.component=e,this.isDirty=!0,this.isNew=!0}function Ie(e,t){var n=t.nextSibling,r=t.previousSibling;n?(n.previousSibling=r,t.nextSibling=null):e.lastChild=r,r?(r.nextSibling=n,t.previousSibling=null):e.firstChild=n,t.parent=null}var Ce=(Se.prototype.destroy=function(){this.parent=null,this.previousSibling=null,this.nextSibling=null},Se);function Se(){this.parent=null,this.previousSibling=null,this.nextSibling=null,this.hType=0}var xe;s(Ae,xe=be),Ae.prototype.createComment=function(e){return new Ce},Ae.prototype.cloneComment=function(e){return new Ce},Ae.prototype.addOperation=function(e,t){var n=this.lastOperation;n&&n[0]===e?n[1].push(t):(t=this.lastOperation=[e,[t]],this.operations.push(t))},Ae.prototype.getAllOperations=function(){return this.operations=[],this.lastOperation=null,function e(t,n,r){var o=n.firstChild;for(;o;){var i=o.component,s=o.isDirty,a=o.isNew;i&&t.addOperation(2,[n.component.targetId,i.targetId]),s&&(o.isDirty=!1),a&&(o.isNew=!1),o=o.nextSibling}o=n.firstChild;for(;o;){var i=o.component;i&&e(t,o),o=o.nextSibling}}(this,this,this.operations),this.operations},Ae.prototype.getNewOperations=function(){var e=this.operations;return this.operations=[],this.lastOperation=null,e},Ae.prototype.getNewOrderedTargets=function(e){var t=[];return e||(this.isDirty=!1),function e(t,n,r){var o=t.firstChild;var i;for(;o;)(i=o.component)&&o.isDirty&&(n||(o.isDirty=!1),o.isNew&&(n||(o.isNew=!1),r.push(i)),e(o,n,r)),o=o.nextSibling}(this,e,t),t},Ae.prototype.getAllOrderedTargets=function(){var e=[];return function e(t,n){var r=t.firstChild;for(;r;){var o=r.component;o&&(n.push(o),e(r,n)),r=r.nextSibling}}(this,e),e},Ae.prototype.isDocumentDirty=function(){return this.isDirty},Ae.prototype.createCommentWithText=function(e){var t=new Ce;return t.textContent=e||H(),t},Ae.prototype.cloneCommentWithText=function(e){var t=new Ce;return t.textContent=e.textContent,t};function Ae(e){e=xe.call(this,e)||this;return(e.root=e).operations=[],e.lastOperation=null,L[20]&&(e.createComment=e.createCommentWithText,e.cloneComment=e.cloneCommentWithText),e}ke.prototype.item=function(e){for(var t=0,n=this.node.firstChild;n;){if(t===e)return n;t++,n=n.nextSibling}},Object.defineProperty(ke.prototype,"length",{get:function(){for(var e=0,t=this.node.firstChild;t;)e++,t=t.nextSibling;return e},enumerable:!1,configurable:!0});function ke(e){this.node=e}function Ne(e){var u=__DEV_TOOL__.getDevtoolStack();function n(e,t,n,r,o,i){var s,a=u.peek();a&&(s=a.getZNodeDebugInfo(e),a.pageInstance||(a.pageInstance=t.root),s.nodeType===T.Element&&(s.setLinkedContext(t),n&&(s.updateClassName(n),n.split(/\s+/).forEach(function(e){var t=a.className2ZNodeId.get(e);t||(t=new Set,a.className2ZNodeId.set(e,t)),t.add(s.nodeId)})),r&&s.updateInlineStyle(e.cachedNormalizedStyleString||r),s.updateProperties(o)))}function r(e,t){var n=u.peek();!n||(e=n.getZNodeDebugInfo(e)).nodeType===T.Element&&(e.updateDataset(t),e.invalidate())}function t(e){var t,n,r=u.peek();!r||(t=e._debug)&&(t.activated&&r.sendMessage("DOM.childNodeRemoved",{nodeId:t.nodeId,parentNodeId:t.getParentNodeId()}),r.nodeId2ZNode.delete(t.nodeId),r.nodeId2DOMNode.delete(t.nodeId),t.nodeType===T.Element&&(r.shadowRootNodeId2ZNode.delete(t.shadowRootNodeId),(n=t.pseudoNodeType2Id)&&Object.keys(n).forEach(function(e){r.nodeId2PseudoElement.delete(n[e])})),delete e._debug)}function o(e,t){var n,r,o=u.peek();!o||(r=(n=o.getZNodeDebugInfo(t)).getParentNode()).activated&&(r.childrenActivated?(t=n.getPreviousElementOrTextSibling(),o.sendMessage("DOM.childNodeInserted",{node:n.serialize(0),parentNodeId:r.nodeId,previousNodeId:t?t.nodeId:0})):o.sendMessage("DOM.childNodeCountUpdated",{childNodeCount:r.getChildNodeCount(),nodeId:r.nodeId}))}Me(e,"x",function(e,t){n.apply(void 0,t)}),Me(e,"W",function(e,t){n.apply(void 0,t)}),Me(e,"X",function(e,t){var n,r,o,i,s,a=u.peek();a&&(n=t[0],t[1],r=t[2],o=t[3],i=t[4],s=t[5],t=t[6],(a=a.getZNodeDebugInfo(n)).nodeType===T.Element&&(o&&a.updateClassName(r),s&&a.updateInlineStyle(n.cachedNormalizedStyleString||i),a.updateProperties(t),a.invalidate()))}),Me(e,"y",function(e,t){var n,r,o,i=u.peek();i&&(o=t[0],t[1],n=t[2],r=t[3],t=t[4],(o=i.getZNodeDebugInfo(o)).nodeType===T.Element&&(r&&o.updateClassName(n),o.updateProperties(t),o.invalidate()))}),Me(e,"Y",function(e,t){var n,r,o,i=u.peek();i&&(n=t[0],t[1],r=t[2],o=t[3],t=t[4],(i=i.getZNodeDebugInfo(n)).nodeType===T.Element&&(o&&i.updateInlineStyle(n.cachedNormalizedStyleString||r),i.updateProperties(t),i.invalidate()))}),Me(e,"w",function(e,t){var n,r=u.peek();r&&(n=t[0],t[1],t=t[2],(n=r.getZNodeDebugInfo(n)).nodeType===T.Element&&(n.updateProperties(t),n.invalidate()))}),Me(e,"ea",function(e,t){var n,r,o=u.peek();o&&(r=t[0],n=t[1],t=t[2],(r=o.getZNodeDebugInfo(r)).nodeType===T.Element&&(r.updateAttribute(n,t),r.invalidate()))}),Me(e,"g",function(e,t){r.apply(void 0,t)}),Me(e,"Q",function(e,t){r.apply(void 0,t)}),Me(e,"G",function(e,t){r.apply(void 0,t)}),Me(e,"n",function(e,t){var n,r,o=u.peek();o&&(n=t[0],r=t[1],n.firstChild?(t=n.firstChild._debug)&&t.activated&&o.sendMessage("DOM.characterDataModified",{characterData:r,nodeId:t.nodeId}):(r={destroy:function(){},eType:2,formattedText:null,nextSibling:null,parent:n,previousSibling:null,get root(){var e,t=this.parent.root;return(e=t)&&"childNodes"in e?t.childNodes[0]:null},text:r}).root&&(n.firstChild=n.lastChild=r))}),Me(e,"N",function(e,t){var n,r=u.peek();r&&(n=t[0],t=t[1],(n=n._debug)&&n.activated&&r.sendMessage("DOM.characterDataModified",{characterData:t,nodeId:n.nodeId}))}),Oe(e,"r",function(e){t(e[0])}),Oe(e,"R",function(e){t(e[0])}),Me(e,"i",function(e,t){t[0];o(0,t[1])}),Me(e,"a",function(e,t){t[0];o(0,t[1])}),Me(e,"I",function(e,t){t[0];o(0,t[1])}),Me(e,"A",function(e,t){t[0];o(0,t[1])}),Me(e,"t",function(e,t){var n=u.peek();n&&(t=t[0],n.getZNodeDebugInfo(e).setLinkedContext(t))}),Me(e,"p",function(e,t){var n,r,o=u.peek();o&&(r=t[0],n=t[1],t=t[2],r=r.getTargetId(),!o.componentTargetId2ZNode.has(r)||(r=o.componentTargetId2ZNode.get(r)).activated&&(r.updateProperties(n,t),r.invalidate()))}),Oe(e,"m",function(e){var t,n,r=u.peek();r&&(t=e[0],n=e[1],e=e[2],r.componentTargetId2LinkedInstance.set(t.targetId,t),r=t.root.document.createComment(Q(t.getTargetId())),t._anchor4Head=r,n.insertBefore(r,e))}),Me(e,"m",function(e,t){var n,r,o,i=u.peek();i&&(o=t[0],n=t[1],r=t[2],t=o.root.document.createComment(K(o.getTargetId())),o._anchor4Tail=t,n.insertBefore(t,r),(r=(t=i.getZNodeComponentDebugInfo(o.getTargetId())).getParentNode())&&r.activated&&(r.childrenActivated?(o=t.getPreviousElementOrTextSibling(),i.sendMessage("DOM.childNodeInserted",{node:t.serialize(0),parentNodeId:r.nodeId,previousNodeId:o?o.nodeId:0})):i.sendMessage("DOM.childNodeCountUpdated",{childNodeCount:r.getChildNodeCount(),nodeId:r.nodeId})))}),Oe(e,"q",function(e){var t,n,r;u.peek()&&(r=e[0],t=e[1],"b"===(e=(n=J(r,t)).root.textContent)[0]&&(n.root.textContent="e"+e.slice(1)),e=q(r,n),e=e,(r=r).stopReverseIndex=e,r.stopReverseIndexStack.push(e),t._anchor4Head=n)}),Me(e,"q",function(e,t){var n,r,o,i=u.peek();i&&(o=t[0],r=(n=t[1]).getTargetId(),(t=o).stopReverseIndexStack.pop(),t.stopReverseIndex=t.stopReverseIndexStack[t.stopReverseIndexStack.length-1]||0,t=n._anchor4Head,o=n._anchor4Tail=J(o,n,t),t.root.textContent=Q(r),o.root.textContent=K(r),i.componentTargetId2LinkedInstance.set(r,n))}),Me(e,"o",function(e,t){var n,r=u.peek();r&&((t=(n=t[0])._anchor4Head)&&(t.parent.removeChild(t),n._anchor4Head=null),(t=n._anchor4Tail)&&(t.parent.removeChild(t),n._anchor4Tail=null),(t=r.componentTargetId2ZNode.get(n.targetId)).activated&&r.sendMessage("DOM.childNodeRemoved",{nodeId:t.nodeId,parentNodeId:t.getParentNodeId()}),r.componentTargetId2ZNode.delete(n.targetId),r.componentTargetId2LinkedInstance.delete(n.targetId))})}function Oe(e,t,n){var r=e[t];e[t]=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{n(e)}catch(e){console.error(e)}return r.apply(void 0,e)}}function Me(e,t,r){var o=e[t];e[t]=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=o.apply(void 0,e);try{r(n,e)}catch(e){console.error(e)}return n}}(He={}).Selector="selector",He.Time="time",He.Date="date",(Je={}).Year="year",Je.Month="month",Je.Day="day",(B={}).Resize="resize",B.Scroll="scroll";var Ee,Te=(s(Re,Ee=se),Re.prototype.serialize=function(t){this.activated=!0;var e,n=this.getChildNodes(),r=n.length;return 0<t&&r&&(e=n.map(function(e){return e.serialize(t-1)})),e||"text"!==this.node.root.type?e||1!==r||n[0].nodeType!==T.Text||(e=[n[0].serialize(0)]):(this.textNodeId||(this.textNodeId=this.devtool.getNextNodeId()),e=this.getSerializedTextNode(this.textNodeId,this.nodeId,this.node.root.attr.value)),e&&e.length&&(this.childrenActivated=!0),{attributes:this.getAllAttributes(),backendNodeId:this.nodeId,childNodeCount:r,children:e,localName:this.nodeName.toLowerCase(),nodeId:this.nodeId,nodeName:this.nodeName,nodeType:1,nodeValue:"",parentId:this.getParentNodeId(),pseudoElements:void 0,shadowRoots:this.devtool.shadowRootElementsEnabled?[{childNodeCount:1,localName:"",nodeId:-this.nodeId,nodeName:"#document-fragment",nodeType:11,nodeValue:"",shadowRootType:"weex"}]:void 0}},Re.prototype.invalidate=function(){var t=this;if(this.activated&&this.pendingAttributes.length){for(var n={},e=0,r=this.pendingAttributes;e<r.length;e++){var o=r[e],i=o[0],o=o[1];n[i]=o}Object.keys(n).forEach(function(e){t.onAttributeModifiedByEngine(e,n[e]),"style"===e&&t.node.setStyleInline(n[e])}),this.pendingAttributes=[],n={}}},Re.prototype.getSerializedTextNode=function(e,t,n){var r=this.devtool.nodeId2ZNode.get(t);if(r)return this.devtool.nodeId2ParentNode.set(e,r),[{backendNodeId:e,childNodeCount:0,localName:"",nodeId:e,nodeName:"#text",nodeType:3,nodeValue:n,parentId:t}]},Re);function Re(){return null!==Ee&&Ee.apply(this,arguments)||this}var Pe,De=(s(Le,Pe=le),Le.prototype.serialize=function(e){this.activated=!0;var t=this.node.root.attr.value;return{backendNodeId:this.nodeId,childNodeCount:0,localName:"",nodeId:this.nodeId,nodeName:this.nodeName,nodeType:3,nodeValue:t,parentId:this.getParentNodeId()}},Le);function Le(){return null!==Pe&&Pe.apply(this,arguments)||this}var Be,Ue,je=(function(e){e.exports=function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}return o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=21)}([function(e,a){a.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,o=/^data:.+\,.+$/;function u(e){e=e.match(t);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}function l(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function i(e){var t=e,n=u(e);if(n){if(!n.path)return e;t=n.path}for(var r,e=a.isAbsolute(t),o=t.split(/\/+/),i=0,s=o.length-1;0<=s;s--)"."===(r=o[s])?o.splice(s,1):".."===r?i++:0<i&&(""===r?(o.splice(s+1,i),i=0):(o.splice(s,2),i--));return""===(t=o.join("/"))&&(t=e?"/":"."),n?(n.path=t,l(n)):t}function r(e,t){""===e&&(e="."),""===t&&(t=".");var n=u(t),r=u(e);if(r&&(e=r.path||"/"),n&&!n.scheme)return r&&(n.scheme=r.scheme),l(n);if(n||t.match(o))return t;if(r&&!r.host&&!r.path)return r.host=t,l(r);t="/"===t.charAt(0)?t:i(e.replace(/\/+$/,"")+"/"+t);return r?(r.path=t,l(r)):t}a.urlParse=u,a.urlGenerate=l,a.normalize=i,a.join=r,a.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},a.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var n=!("__proto__"in Object.create(null));function s(e){return e}function c(e){if(e){var t=e.length;if(!(t<9)&&95===e.charCodeAt(t-1)&&95===e.charCodeAt(t-2)&&111===e.charCodeAt(t-3)&&116===e.charCodeAt(t-4)&&111===e.charCodeAt(t-5)&&114===e.charCodeAt(t-6)&&112===e.charCodeAt(t-7)&&95===e.charCodeAt(t-8)&&95===e.charCodeAt(t-9)){for(var n=t-10;0<=n;n--)if(36!==e.charCodeAt(n))return;return 1}}}function d(e,t){return e===t?0:null===e||null!==t&&t<e?1:-1}a.toSetString=n?s:function(e){return c(e)?"$"+e:e},a.fromSetString=n?s:function(e){return c(e)?e.slice(1):e},a.compareByOriginalPositions=function(e,t,n){var r=d(e.source,t.source);return 0!==r||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)||n||0!=(r=e.generatedColumn-t.generatedColumn)||0!=(r=e.generatedLine-t.generatedLine)?r:d(e.name,t.name)},a.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!=(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=d(e.source,t.source))||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)?r:d(e.name,t.name)},a.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!=(n=e.generatedColumn-t.generatedColumn)||0!==(n=d(e.source,t.source))||0!=(n=e.originalLine-t.originalLine)||0!=(n=e.originalColumn-t.originalColumn)?n:d(e.name,t.name)},a.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},a.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){e=u(n);if(!e)throw new Error("sourceMapURL could not be parsed");!e.path||0<=(n=e.path.lastIndexOf("/"))&&(e.path=e.path.substring(0,n+1)),t=r(l(e),t)}return i(t)}},function(e,t,n){t.__esModule=!0,t.default=void 0;var r,o,n=(r=((o=n(2))&&o.__esModule?o:{default:o}).default,n=r,(o=i).prototype=Object.create(n.prototype),(o.prototype.constructor=o).__proto__=n,i);function i(e){return(e=r.call(this,e)||this).type="decl",e}t.default=n,e.exports=t.default},function(e,t,n){t.__esModule=!0,t.default=void 0;var r=s(n(10)),o=s(n(11)),i=s(n(3));function s(e){return e&&e.__esModule?e:{default:e}}(n=a.prototype).error=function(e,t){if(void 0===t&&(t={}),this.source){var n=this.positionBy(t);return this.source.input.error(e,n.line,n.column,t)}return new r.default(e)},n.warn=function(e,t,n){var r,o={node:this};for(r in n)o[r]=n[r];return e.warn(t,o)},n.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},n.toString=function(e){void 0===e&&(e=i.default),e.stringify&&(e=e.stringify);var t="";return e(this,function(e){t+=e}),t},n.clone=function(e){void 0===e&&(e={});var t,n=function t(e,n){var r,o,i,s=new e.constructor;for(r in e){e.hasOwnProperty(r)&&(i=typeof(o=e[r]),"parent"===r&&"object"==i?n&&(s[r]=n):"source"===r?s[r]=o:o instanceof Array?s[r]=o.map(function(e){return t(e,s)}):("object"==i&&null!==o&&(o=t(o)),s[r]=o))}return s}(this);for(t in e)n[t]=e[t];return n},n.cloneBefore=function(e){void 0===e&&(e={});e=this.clone(e);return this.parent.insertBefore(this,e),e},n.cloneAfter=function(e){void 0===e&&(e={});e=this.clone(e);return this.parent.insertAfter(this,e),e},n.replaceWith=function(){if(this.parent){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=0,o=t;r<o.length;r++){var i=o[r];this.parent.insertBefore(this,i)}this.remove()}return this},n.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},n.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},n.before=function(e){return this.parent.insertBefore(this,e),this},n.after=function(e){return this.parent.insertAfter(this,e),this},n.toJSON=function(){var e,t,n={};for(e in this){this.hasOwnProperty(e)&&"parent"!==e&&((t=this[e])instanceof Array?n[e]=t.map(function(e){return"object"==typeof e&&e.toJSON?e.toJSON():e}):"object"==typeof t&&t.toJSON?n[e]=t.toJSON():n[e]=t)}return n},n.raw=function(e,t){return(new o.default).raw(this,e,t)},n.root=function(){for(var e=this;e.parent;)e=e.parent;return e},n.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},n.positionInside=function(e){for(var t=this.toString(),n=this.source.start.column,r=this.source.start.line,o=0;o<e;o++)"\n"===t[o]?r+=n=1:n+=1;return{line:r,column:n}},n.positionBy=function(e){var t=this.source.start;return e.index?t=this.positionInside(e.index):!e.word||-1!==(e=this.toString().indexOf(e.word))&&(t=this.positionInside(e)),t},n=a;function a(e){for(var t in void 0===e&&(e={}),this.raws={},e)this[t]=e[t]}t.default=n,e.exports=t.default},function(e,t,n){t.__esModule=!0,t.default=void 0;var r=(n=n(11))&&n.__esModule?n:{default:n};t.default=function(e,t){new r.default(t).stringify(e)},e.exports=t.default},function(e,l,t){(function(o){function i(e,t){for(var n=0,r=e.length-1;0<=r;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;)e.unshift("..");return e}function s(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}l.resolve=function(){for(var e="",t=!1,n=arguments.length-1;-1<=n&&!t;n--){var r=0<=n?arguments[n]:o.cwd();if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&(e=r+"/"+e,t="/"===r.charAt(0))}return(t?"/":"")+(e=i(s(e.split("/"),function(e){return!!e}),!t).join("/"))||"."},l.normalize=function(e){var t=l.isAbsolute(e),n="/"===r(e,-1);return(e=i(s(e.split("/"),function(e){return!!e}),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e},l.isAbsolute=function(e){return"/"===e.charAt(0)},l.join=function(){var e=Array.prototype.slice.call(arguments,0);return l.normalize(s(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},l.relative=function(e,t){function n(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;0<=n&&""===e[n];n--);return n<t?[]:e.slice(t,n-t+1)}e=l.resolve(e).substr(1),t=l.resolve(t).substr(1);for(var r=n(e.split("/")),o=n(t.split("/")),i=Math.min(r.length,o.length),s=i,a=0;a<i;a++)if(r[a]!==o[a]){s=a;break}for(var u=[],a=s;a<r.length;a++)u.push("..");return(u=u.concat(o.slice(s))).join("/")},l.sep="/",l.delimiter=":",l.dirname=function(e){if("string"!=typeof e&&(e+=""),0===e.length)return".";for(var t=47===e.charCodeAt(0),n=-1,r=!0,o=e.length-1;1<=o;--o)if(47===e.charCodeAt(o)){if(!r){n=o;break}}else r=!1;return-1===n?t?"/":".":t&&1===n?"/":e.slice(0,n)},l.basename=function(e,t){e=function(e){"string"!=typeof e&&(e+="");for(var t=0,n=-1,r=!0,o=e.length-1;0<=o;--o)if(47===e.charCodeAt(o)){if(!r){t=o+1;break}}else-1===n&&(r=!1,n=o+1);return-1===n?"":e.slice(t,n)}(e);return t&&e.substr(-1*t.length)===t&&(e=e.substr(0,e.length-t.length)),e},l.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,i=0,s=e.length-1;0<=s;--s){var a=e.charCodeAt(s);if(47!==a)-1===r&&(o=!1,r=s+1),46===a?-1===t?t=s:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){n=s+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?"":e.slice(t,r)};var r="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,t(36))},function(e,t,n){t.__esModule=!0,t.default=void 0;var r=i(n(40)),o=i(n(42));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){var t=new o.default(e,t),n=new r.default(t);try{n.parse()}catch(e){throw e}return n.root},e.exports=t.default},function(e,t,n){t.__esModule=!0,t.default=void 0;var r,o,n=(r=((o=n(2))&&o.__esModule?o:{default:o}).default,n=r,(o=i).prototype=Object.create(n.prototype),(o.prototype.constructor=o).__proto__=n,i);function i(e){return(e=r.call(this,e)||this).type="comment",e}t.default=n,e.exports=t.default},function(e,t,n){t.__esModule=!0,t.default=void 0;n=function(o){var e;function t(e){return(e=o.call(this,e)||this).type="atrule",e}n=o,(e=t).prototype=Object.create(n.prototype),(e.prototype.constructor=e).__proto__=n;var n=t.prototype;return n.append=function(){var e;this.nodes||(this.nodes=[]);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o.prototype.append).call.apply(e,[this].concat(n))},n.prepend=function(){var e;this.nodes||(this.nodes=[]);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o.prototype.prepend).call.apply(e,[this].concat(n))},t}(((n=n(8))&&n.__esModule?n:{default:n}).default);t.default=n,e.exports=t.default},function(e,t,d){t.__esModule=!0,t.default=void 0;var h=n(d(1)),p=n(d(6));function n(e){return e&&e.__esModule?e:{default:e}}var r=function(i){var e;function t(){return i.apply(this,arguments)||this}n=i,(e=t).prototype=Object.create(n.prototype),(e.prototype.constructor=e).__proto__=n;var n=t.prototype;return n.push=function(e){return(e.parent=this).nodes.push(e),this},n.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var t,n,r=this.lastEach;if(this.indexes[r]=0,this.nodes){for(;this.indexes[r]<this.nodes.length&&(t=this.indexes[r],!1!==(n=e(this.nodes[t],t)));)this.indexes[r]+=1;return delete this.indexes[r],n}},n.walk=function(o){return this.each(function(t,e){var n,r;try{n=o(t,e)}catch(e){throw e.postcssNode=t,e.stack&&t.source&&/\n\s{4}at /.test(e.stack)&&(r=t.source,e.stack=e.stack.replace(/\n\s{4}at /,"$&"+r.input.from+":"+r.start.line+":"+r.start.column+"$&")),e}return!1!==n&&t.walk&&(n=t.walk(o)),n})},n.walkDecls=function(n,r){return r?n instanceof RegExp?this.walk(function(e,t){if("decl"===e.type&&n.test(e.prop))return r(e,t)}):this.walk(function(e,t){if("decl"===e.type&&e.prop===n)return r(e,t)}):(r=n,this.walk(function(e,t){if("decl"===e.type)return r(e,t)}))},n.walkRules=function(n,r){return r?n instanceof RegExp?this.walk(function(e,t){if("rule"===e.type&&n.test(e.selector))return r(e,t)}):this.walk(function(e,t){if("rule"===e.type&&e.selector===n)return r(e,t)}):(r=n,this.walk(function(e,t){if("rule"===e.type)return r(e,t)}))},n.walkAtRules=function(n,r){return r?n instanceof RegExp?this.walk(function(e,t){if("atrule"===e.type&&n.test(e.name))return r(e,t)}):this.walk(function(e,t){if("atrule"===e.type&&e.name===n)return r(e,t)}):(r=n,this.walk(function(e,t){if("atrule"===e.type)return r(e,t)}))},n.walkComments=function(n){return this.walk(function(e,t){if("comment"===e.type)return n(e,t)})},n.append=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=0,o=t;r<o.length;r++)for(var i,s=o[r],a=this.normalize(s,this.last),u=Array.isArray(a),l=0,a=u?a:a[Symbol.iterator]();;){if(u){if(l>=a.length)break;i=a[l++]}else{if((l=a.next()).done)break;i=l.value}this.nodes.push(i)}return this},n.prepend=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r,o=t=t.reverse(),i=Array.isArray(o),s=0,o=i?o:o[Symbol.iterator]();;){if(i){if(s>=o.length)break;r=o[s++]}else{if((s=o.next()).done)break;r=s.value}for(var a,u,l=this.normalize(r,this.first,"prepend").reverse(),c=l,d=Array.isArray(c),h=0,c=d?c:c[Symbol.iterator]();;){if(d){if(h>=c.length)break;a=c[h++]}else{if((h=c.next()).done)break;a=h.value}this.nodes.unshift(a)}for(u in this.indexes)this.indexes[u]=this.indexes[u]+l.length}return this},n.cleanRaws=function(e){if(i.prototype.cleanRaws.call(this,e),this.nodes)for(var t,n=this.nodes,r=Array.isArray(n),o=0,n=r?n:n[Symbol.iterator]();;){if(r){if(o>=n.length)break;t=n[o++]}else{if((o=n.next()).done)break;t=o.value}t.cleanRaws(e)}},n.insertBefore=function(e,t){for(var n,r,o,i=0===(e=this.index(e))&&"prepend",s=this.normalize(t,this.nodes[e],i).reverse(),a=s,u=Array.isArray(a),l=0,a=u?a:a[Symbol.iterator]();;){if(u){if(l>=a.length)break;r=a[l++]}else{if((l=a.next()).done)break;r=l.value}this.nodes.splice(e,0,r)}for(o in this.indexes)e<=(n=this.indexes[o])&&(this.indexes[o]=n+s.length);return this},n.insertAfter=function(e,t){e=this.index(e);for(var n,r,o,i=this.normalize(t,this.nodes[e]).reverse(),s=i,a=Array.isArray(s),u=0,s=a?s:s[Symbol.iterator]();;){if(a){if(u>=s.length)break;r=s[u++]}else{if((u=s.next()).done)break;r=u.value}this.nodes.splice(e+1,0,r)}for(o in this.indexes)e<(n=this.indexes[o])&&(this.indexes[o]=n+i.length);return this},n.removeChild=function(e){var t,n;for(n in e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1),this.indexes)(t=this.indexes[n])>=e&&(this.indexes[n]=t-1);return this},n.removeAll=function(){for(var e,t=this.nodes,n=Array.isArray(t),r=0,t=n?t:t[Symbol.iterator]();;){if(n){if(r>=t.length)break;e=t[r++]}else{if((r=t.next()).done)break;e=r.value}e.parent=void 0}return this.nodes=[],this},n.replaceValues=function(t,n,r){return r||(r=n,n={}),this.walkDecls(function(e){n.props&&-1===n.props.indexOf(e.prop)||n.fast&&-1===e.value.indexOf(n.fast)||(e.value=e.value.replace(t,r))}),this},n.every=function(e){return this.nodes.every(e)},n.some=function(e){return this.nodes.some(e)},n.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},n.normalize=function(e,t){var n=this;if("string"==typeof e)e=function t(e){return e.map(function(e){return e.nodes&&(e.nodes=t(e.nodes)),delete e.source,e})}(d(5)(e).nodes);else if(Array.isArray(e))for(var r,o=e=e.slice(0),i=Array.isArray(o),s=0,o=i?o:o[Symbol.iterator]();;){if(i){if(s>=o.length)break;r=o[s++]}else{if((s=o.next()).done)break;r=s.value}r.parent&&r.parent.removeChild(r,"ignore")}else if("root"===e.type)for(var a,u=e=e.nodes.slice(0),l=Array.isArray(u),c=0,u=l?u:u[Symbol.iterator]();;){if(l){if(c>=u.length)break;a=u[c++]}else{if((c=u.next()).done)break;a=c.value}a.parent&&a.parent.removeChild(a,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new h.default(e)]}else if(e.selector)e=[new(d(9))(e)];else if(e.name)e=[new(d(7))(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new p.default(e)]}return e.map(function(e){return e.parent&&e.parent.removeChild(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/[^\s]/g,"")),e.parent=n,e})},function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,[{key:"first",get:function(){if(this.nodes)return this.nodes[0]}},{key:"last",get:function(){if(this.nodes)return this.nodes[this.nodes.length-1]}}]),t}(n(d(2)).default);t.default=r,e.exports=t.default},function(e,t,n){t.__esModule=!0,t.default=void 0;var r=i(n(8)),o=i(n(19));function i(e){return e&&e.__esModule?e:{default:e}}var s,n=(s=r.default,n=s,(r=a).prototype=Object.create(n.prototype),(r.prototype.constructor=r).__proto__=n,function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(a.prototype,[{key:"selectors",get:function(){return o.default.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,t=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(t)}}]),a);function a(e){return(e=s.call(this,e)||this).type="rule",e.nodes||(e.nodes=[]),e}t.default=n,e.exports=t.default},function(e,t,n){t.__esModule=!0,t.default=void 0;var l=r(n(22)),c=r(n(23)),d=r(n(24));function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var n="function"==typeof Map?new Map:void 0;return(o=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return i(e,arguments,a(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),s(t,e)})(e)}function i(e,t,n){return(i=function(){if("undefined"!=typeof Reflect&&Reflect.construct&&!Reflect.construct.sham){if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){return}}}()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);r=new(Function.bind.apply(e,r));return n&&s(r,n.prototype),r}).apply(null,arguments)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n=function(a){var e;function u(e,t,n,r,o,i){var s;return(s=a.call(this,e)||this).name="CssSyntaxError",s.reason=e,o&&(s.file=o),r&&(s.source=r),i&&(s.plugin=i),void 0!==t&&void 0!==n&&(s.line=t,s.column=n),s.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(s),u),s}t=a,(e=u).prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t;var t=u.prototype;return t.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file||"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},t.showSourceCode=function(t){var r=this;if(!this.source)return"";var e=this.source;d.default&&(void 0===t&&(t=l.default.stdout),t&&(e=(0,d.default)(e)));var n=e.split(/\r?\n/),o=Math.max(this.line-3,0),e=Math.min(this.line+2,n.length),i=String(e).length;function s(e){return t&&c.default.red?c.default.red.bold(e):e}function a(e){return t&&c.default.gray?c.default.gray(e):e}return n.slice(o,e).map(function(e,t){var n=o+1+t,t=" "+(" "+n).slice(-i)+" | ";if(n!==r.line)return" "+a(t)+e;n=a(t.replace(/\d/g," "))+e.slice(0,r.column-1).replace(/[^\t]/g," ");return s(">")+a(t)+e+"\n "+n+s("^")}).join("\n")},t.toString=function(){var e=(e=this.showSourceCode())&&"\n\n"+e+"\n";return this.name+": "+this.message+e},u}(o(Error));t.default=n,e.exports=t.default},function(e,t,n){t.__esModule=!0,t.default=void 0;var r,s={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1},r=((r=o.prototype).stringify=function(e,t){this[e.type](e,t)},r.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},r.comment=function(e){var t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)},r.decl=function(e,t){var n=this.raw(e,"between","colon"),n=e.prop+n+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)},r.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},r.atrule=function(e,t){var n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";void 0!==e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes?this.block(e,n+r):(t=(e.raws.between||"")+(t?";":""),this.builder(n+r+t,e))},r.body=function(e){for(var t=e.nodes.length-1;0<t&&"comment"===e.nodes[t].type;)--t;for(var n=this.raw(e,"semicolon"),r=0;r<e.nodes.length;r++){var o=e.nodes[r],i=this.raw(o,"before");i&&this.builder(i),this.stringify(o,t!==r||n)}},r.block=function(e,t){var n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),(n=e.nodes&&e.nodes.length?(this.body(e),this.raw(e,"after")):this.raw(e,"after","emptyBody"))&&this.builder(n),this.builder("}",e,"end")},r.raw=function(e,t,n){var r;if(n=n||t,t&&void 0!==(r=e.raws[t]))return r;var o=e.parent;if("before"===n&&(!o||"root"===o.type&&o.first===e))return"";if(!o)return s[n];var i=e.root();if(i.rawCache||(i.rawCache={}),void 0!==i.rawCache[n])return i.rawCache[n];if("before"===n||"after"===n)return this.beforeAfter(e,n);o="raw"+((o=n)[0].toUpperCase()+o.slice(1));return this[o]?r=this[o](i,e):i.walk(function(e){if(void 0!==(r=e.raws[t]))return!1}),void 0===r&&(r=s[n]),i.rawCache[n]=r},r.rawSemicolon=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1}),t},r.rawEmptyBody=function(e){var t;return e.walk(function(e){if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1}),t},r.rawIndent=function(n){return n.raws.indent||(n.walk(function(e){var t=e.parent;if(t&&t!==n&&t.parent&&t.parent===n&&void 0!==e.raws.before){e=e.raws.before.split("\n");return r=(r=e[e.length-1]).replace(/[^\s]/g,""),!1}}),r);var r},r.rawBeforeComment=function(e,t){var n;return e.walkComments(function(e){if(void 0!==e.raws.before)return-1!==(n=e.raws.before).indexOf("\n")&&(n=n.replace(/[^\n]+$/,"")),!1}),n=void 0===n?this.raw(t,null,"beforeDecl"):n&&n.replace(/[^\s]/g,"")},r.rawBeforeDecl=function(e,t){var n;return e.walkDecls(function(e){if(void 0!==e.raws.before)return-1!==(n=e.raws.before).indexOf("\n")&&(n=n.replace(/[^\n]+$/,"")),!1}),n=void 0===n?this.raw(t,null,"beforeRule"):n&&n.replace(/[^\s]/g,"")},r.rawBeforeRule=function(t){var n;return t.walk(function(e){if(e.nodes&&(e.parent!==t||t.first!==e)&&void 0!==e.raws.before)return-1!==(n=e.raws.before).indexOf("\n")&&(n=n.replace(/[^\n]+$/,"")),!1}),n=n&&n.replace(/[^\s]/g,"")},r.rawBeforeClose=function(e){var t;return e.walk(function(e){if(e.nodes&&0<e.nodes.length&&void 0!==e.raws.after)return-1!==(t=e.raws.after).indexOf("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t=t&&t.replace(/[^\s]/g,"")},r.rawBeforeOpen=function(e){var t;return e.walk(function(e){if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1}),t},r.rawColon=function(e){var t;return e.walkDecls(function(e){if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t},r.beforeAfter=function(e,t){for(var n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose"),r=e.parent,o=0;r&&"root"!==r.type;)o+=1,r=r.parent;if(-1!==n.indexOf("\n")){var i=this.raw(e,null,"indent");if(i.length)for(var s=0;s<o;s++)n+=i}return n},r.rawValue=function(e,t){var n=e[t],t=e.raws[t];return t&&t.value===n?t.raw:n},o);function o(e){this.builder=e}t.default=r,e.exports=t.default},function(e,t,n){t.__esModule=!0,t.default=void 0;var r,o=(n=n(13))&&n.__esModule?n:{default:n},n=((n=i.prototype).use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},n.process=(r=function(e,t){return void 0===t&&(t={}),0===this.plugins.length&&(t.parser,t.stringifier),new o.default(this,e,t)},s.toString=function(){return r.toString()},s),n.normalize=function(e){for(var t,n=[],r=e,o=Array.isArray(r),i=0,r=o?r:r[Symbol.iterator]();;){if(o){if(i>=r.length)break;t=r[i++]}else{if((i=r.next()).done)break;t=i.value}var s=t;if(s.postcss&&(s=s.postcss),"object"==typeof s&&Array.isArray(s.plugins))n=n.concat(s.plugins);else if("function"==typeof s)n.push(s);else if("object"!=typeof s||!s.parse&&!s.stringify)throw new Error(s+" is not a PostCSS plugin")}return n},i);function i(e){void 0===e&&(e=[]),this.version="7.0.32",this.plugins=this.normalize(e)}function s(e){return r.apply(this,arguments)}t.default=n,e.exports=t.default},function(e,t,n){t.__esModule=!0,t.default=void 0;var r=a(n(25)),o=a(n(3)),i=(a(n(37)),a(n(38))),s=a(n(5));function a(e){return e&&e.__esModule?e:{default:e}}function u(e){return"object"==typeof e&&"function"==typeof e.then}(n=l.prototype).warnings=function(){return this.sync().warnings()},n.toString=function(){return this.css},n.then=function(e,t){return this.async().then(e,t)},n.catch=function(e){return this.async().catch(e)},n.finally=function(e){return this.async().then(e,e)},n.handleError=function(e,t){try{"CssSyntaxError"!==(this.error=e).name||e.plugin?t.postcssVersion:(e.plugin=t.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}},n.asyncTick=function(e,t){var n=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,e();try{var r=this.processor.plugins[this.plugin],o=this.run(r);this.plugin+=1,u(o)?o.then(function(){n.asyncTick(e,t)}).catch(function(e){n.handleError(e,r),n.processed=!0,t(e)}):this.asyncTick(e,t)}catch(e){this.processed=!0,t(e)}},n.async=function(){var n=this;return this.processed?new Promise(function(e,t){n.error?t(n.error):e(n.stringify())}):(this.processing||(this.processing=new Promise(function(e,t){if(n.error)return t(n.error);n.plugin=0,n.asyncTick(e,t)}).then(function(){return n.processed=!0,n.stringify()})),this.processing)},n.sync=function(){if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;for(var e,t=this.result.processor.plugins,n=Array.isArray(t),r=0,t=n?t:t[Symbol.iterator]();;){if(n){if(r>=t.length)break;e=t[r++]}else{if((r=t.next()).done)break;e=r.value}if(u(this.run(e)))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},n.run=function(t){this.result.lastPlugin=t;try{return t(this.result.root,this.result)}catch(e){throw this.handleError(e,t),e}},n.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=o.default;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);t=new r.default(t,this.result.root,this.result.opts).generate();return this.result.css=t[0],this.result.map=t[1],this.result},function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(l.prototype,[{key:"processor",get:function(){return this.result.processor}},{key:"opts",get:function(){return this.result.opts}},{key:"css",get:function(){return this.stringify().css}},{key:"content",get:function(){return this.stringify().content}},{key:"map",get:function(){return this.stringify().map}},{key:"root",get:function(){return this.sync().root}},{key:"messages",get:function(){return this.sync().messages}}]),n=l;function l(e,t,n){var r;if(this.stringified=!1,this.processed=!1,"object"==typeof t&&null!==t&&"root"===t.type)r=t;else if(t instanceof l||t instanceof i.default)r=t.root,t.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=t.map);else{var o=s.default;n.syntax&&(o=n.syntax.parse),n.parser&&(o=n.parser),o.parse&&(o=o.parse);try{r=o(t,n)}catch(e){this.error=e}}this.result=new i.default(e,r,n)}t.default=n,e.exports=t.default},function(e,M,E){(function(e){var a=E(27),i=E(28),s=E(29);function n(){return d.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(n()<t)throw new RangeError("Invalid typed array length");return d.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=d.prototype:(null===e&&(e=new d(t)),e.length=t),e}function d(e,t,n){if(!(d.TYPED_ARRAY_SUPPORT||this instanceof d))return new d(e,t,n);if("number"!=typeof e)return r(this,e,t,n);if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return l(this,e)}function r(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),d.TYPED_ARRAY_SUPPORT?(e=t).__proto__=d.prototype:e=c(e,t),e}(e,t,n,r):"string"==typeof t?function(e,t,n){if("string"==typeof n&&""!==n||(n="utf8"),!d.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(t,n),n=(e=o(e,r)).write(t,n);return n!==r&&(e=e.slice(0,n)),e}(e,t,n):function(e,t){if(d.isBuffer(t)){var n=0|h(t.length);return 0===(e=o(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?o(e,0):c(e,t);if("Buffer"===t.type&&s(t.data))return c(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function l(e,t){if(u(t),e=o(e,t<0?0:0|h(t)),!d.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function c(e,t){var n=t.length<0?0:0|h(t.length);e=o(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function h(e){if(e>=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|e}function p(e,t){if(d.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return k(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return N(e).length;default:if(r)return k(e).length;t=(""+t).toLowerCase(),r=!0}}function t(e,t,n){var r,o,i,s=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e=e||"utf8";;)switch(e){case"hex":return function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||r<n)&&(n=r);for(var o="",i=t;i<n;++i)o+=function(e){return e<16?"0"+e.toString(16):e.toString(16)}(e[i]);return o}(this,t,n);case"utf8":case"utf-8":return v(this,t,n);case"ascii":return function(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}(this,t,n);case"latin1":case"binary":return function(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}(this,t,n);case"base64":return r=this,i=n,0===(o=t)&&i===r.length?a.fromByteArray(r):a.fromByteArray(r.slice(o,i));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}(this,t,n);default:if(s)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function f(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):2147483647<n?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=d.from(t,r)),d.isBuffer(t))return 0===t.length?-1:m(e,t,n,r,o);if("number"==typeof t)return t&=255,d.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?(o?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(e,t,n):m(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function m(e,t,n,r,o){var i=1,s=e.length,a=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;s/=i=2,a/=2,n/=2}function u(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(o)for(var l=-1,c=n;c<s;c++)if(u(e,c)===u(t,-1===l?0:c-l)){if(-1===l&&(l=c),c-l+1===a)return l*i}else-1!==l&&(c-=c-l),l=-1;else for(s<n+a&&(n=s-a),c=n;0<=c;c--){for(var d=!0,h=0;h<a;h++)if(u(e,c+h)!==u(t,h)){d=!1;break}if(d)return c}return-1}function y(e,t,n,r){return O(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function v(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,s,a,u,l=e[o],c=null,d=239<l?4:223<l?3:191<l?2:1;if(o+d<=n)switch(d){case 1:l<128&&(c=l);break;case 2:128==(192&(i=e[o+1]))&&127<(u=(31&l)<<6|63&i)&&(c=u);break;case 3:i=e[o+1],s=e[o+2],128==(192&i)&&128==(192&s)&&2047<(u=(15&l)<<12|(63&i)<<6|63&s)&&(u<55296||57343<u)&&(c=u);break;case 4:i=e[o+1],s=e[o+2],a=e[o+3],128==(192&i)&&128==(192&s)&&128==(192&a)&&65535<(u=(15&l)<<18|(63&i)<<12|(63&s)<<6|63&a)&&u<1114112&&(c=u)}null===c?(c=65533,d=1):65535<c&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),o+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}function _(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(n<e+t)throw new RangeError("Trying to access beyond buffer length")}function b(e,t,n,r,o,i){if(!d.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o<t||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function w(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o<i;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function I(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o<i;++o)e[n+o]=t>>>8*(r?o:3-o)&255}function C(e,t,n,r){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function S(e,t,n,r,o){return o||C(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function x(e,t,n,r,o){return o||C(e,0,n,8),i.write(e,t,n,r,52,8),n+8}M.Buffer=d,M.SlowBuffer=function(e){return+e!=e&&(e=0),d.alloc(+e)},M.INSPECT_MAX_BYTES=50,d.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),M.kMaxLength=n(),d.poolSize=8192,d._augment=function(e){return e.__proto__=d.prototype,e},d.from=function(e,t,n){return r(null,e,t,n)},d.TYPED_ARRAY_SUPPORT&&(d.prototype.__proto__=Uint8Array.prototype,d.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&d[Symbol.species]===d&&Object.defineProperty(d,Symbol.species,{value:null,configurable:!0})),d.alloc=function(e,t,n){return r=null,t=t,n=n,u(e=e),!(e<=0)&&void 0!==t?"string"==typeof n?o(r,e).fill(t,n):o(r,e).fill(t):o(r,e);var r},d.allocUnsafe=function(e){return l(null,e)},d.allocUnsafeSlow=function(e){return l(null,e)},d.isBuffer=function(e){return!(null==e||!e._isBuffer)},d.compare=function(e,t){if(!d.isBuffer(e)||!d.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},d.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},d.concat=function(e,t){if(!s(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return d.alloc(0);if(void 0===t)for(o=t=0;o<e.length;++o)t+=e[o].length;for(var n=d.allocUnsafe(t),r=0,o=0;o<e.length;++o){var i=e[o];if(!d.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,r),r+=i.length}return n},d.byteLength=p,d.prototype._isBuffer=!0,d.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)f(this,t,t+1);return this},d.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)f(this,t,t+3),f(this,t+1,t+2);return this},d.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)f(this,t,t+7),f(this,t+1,t+6),f(this,t+2,t+5),f(this,t+3,t+4);return this},d.prototype.toString=function(){var e=0|this.length;return 0==e?"":0===arguments.length?v(this,0,e):t.apply(this,arguments)},d.prototype.equals=function(e){if(!d.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===d.compare(this,e)},d.prototype.inspect=function(){var e="",t=M.INSPECT_MAX_BYTES;return 0<this.length&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},d.prototype.compare=function(e,t,n,r,o){if(!d.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(o<=r&&n<=t)return 0;if(o<=r)return-1;if(n<=t)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0),a=Math.min(i,s),u=this.slice(r,o),l=e.slice(t,n),c=0;c<a;++c)if(u[c]!==l[c]){i=u[c],s=l[c];break}return i<s?-1:s<i?1:0},d.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},d.prototype.indexOf=function(e,t,n){return g(this,e,t,n,!0)},d.prototype.lastIndexOf=function(e,t,n){return g(this,e,t,n,!1)},d.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||o<n)&&(n=o),0<e.length&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r=r||"utf8";for(var i,s,a,u,l,c,d=!1;;)switch(r){case"hex":return function(e,t,n,r){n=Number(n)||0;var o=e.length-n;if((!r||(r=Number(r))>o)&&(r=o),(o=t.length)%2!=0)throw new TypeError("Invalid hex string");o/2<r&&(r=o/2);for(var i=0;i<r;++i){var s=parseInt(t.substr(2*i,2),16);if(isNaN(s))return i;e[n+i]=s}return i}(this,e,t,n);case"utf8":case"utf-8":return l=t,c=n,O(k(e,(u=this).length-l),u,l,c);case"ascii":return y(this,e,t,n);case"latin1":case"binary":return y(this,e,t,n);case"base64":return i=this,s=t,a=n,O(N(e),i,s,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i=t,s=n,O(function(e,t){for(var n,r,o=[],i=0;i<e.length&&!((t-=2)<0);++i)n=(r=e.charCodeAt(i))>>8,r=r%256,o.push(r),o.push(n);return o}(e,(a=this).length-i),a,i,s);default:if(d)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),d=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},d.prototype.slice=function(e,t){var n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):n<e&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):n<t&&(t=n),t<e&&(t=e),d.TYPED_ARRAY_SUPPORT)(o=this.subarray(e,t)).__proto__=d.prototype;else for(var r=t-e,o=new d(r,void 0),i=0;i<r;++i)o[i]=this[i+e];return o},d.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||_(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},d.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||_(e,t,this.length);for(var r=this[e+--t],o=1;0<t&&(o*=256);)r+=this[e+--t]*o;return r},d.prototype.readUInt8=function(e,t){return t||_(e,1,this.length),this[e]},d.prototype.readUInt16LE=function(e,t){return t||_(e,2,this.length),this[e]|this[e+1]<<8},d.prototype.readUInt16BE=function(e,t){return t||_(e,2,this.length),this[e]<<8|this[e+1]},d.prototype.readUInt32LE=function(e,t){return t||_(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},d.prototype.readUInt32BE=function(e,t){return t||_(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},d.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||_(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},d.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||_(e,t,this.length);for(var r=t,o=1,i=this[e+--r];0<r&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},d.prototype.readInt8=function(e,t){return t||_(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},d.prototype.readInt16LE=function(e,t){t||_(e,2,this.length);e=this[e]|this[e+1]<<8;return 32768&e?4294901760|e:e},d.prototype.readInt16BE=function(e,t){t||_(e,2,this.length);e=this[e+1]|this[e]<<8;return 32768&e?4294901760|e:e},d.prototype.readInt32LE=function(e,t){return t||_(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},d.prototype.readInt32BE=function(e,t){return t||_(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},d.prototype.readFloatLE=function(e,t){return t||_(e,4,this.length),i.read(this,e,!0,23,4)},d.prototype.readFloatBE=function(e,t){return t||_(e,4,this.length),i.read(this,e,!1,23,4)},d.prototype.readDoubleLE=function(e,t){return t||_(e,8,this.length),i.read(this,e,!0,52,8)},d.prototype.readDoubleBE=function(e,t){return t||_(e,8,this.length),i.read(this,e,!1,52,8)},d.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||b(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},d.prototype.writeUIntBE=function(e,t,n,r){e=+e,t|=0,n|=0,r||b(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;0<=--o&&(i*=256);)this[t+o]=e/i&255;return t+n},d.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||b(this,e,t,1,255,0),d.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},d.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||b(this,e,t,2,65535,0),d.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):w(this,e,t,!0),t+2},d.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||b(this,e,t,2,65535,0),d.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):w(this,e,t,!1),t+2},d.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||b(this,e,t,4,4294967295,0),d.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):I(this,e,t,!0),t+4},d.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||b(this,e,t,4,4294967295,0),d.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},d.prototype.writeIntLE=function(e,t,n,r){e=+e,t|=0,r||b(this,e,t,n,(r=Math.pow(2,8*n-1))-1,-r);var o=0,i=1,s=0;for(this[t]=255&e;++o<n&&(i*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/i>>0)-s&255;return t+n},d.prototype.writeIntBE=function(e,t,n,r){e=+e,t|=0,r||b(this,e,t,n,(r=Math.pow(2,8*n-1))-1,-r);var o=n-1,i=1,s=0;for(this[t+o]=255&e;0<=--o&&(i*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/i>>0)-s&255;return t+n},d.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||b(this,e,t,1,127,-128),d.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},d.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||b(this,e,t,2,32767,-32768),d.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):w(this,e,t,!0),t+2},d.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||b(this,e,t,2,32767,-32768),d.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):w(this,e,t,!1),t+2},d.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||b(this,e,t,4,2147483647,-2147483648),d.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):I(this,e,t,!0),t+4},d.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||b(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),d.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},d.prototype.writeFloatLE=function(e,t,n){return S(this,e,t,!0,n)},d.prototype.writeFloatBE=function(e,t,n){return S(this,e,t,!1,n)},d.prototype.writeDoubleLE=function(e,t,n){return x(this,e,t,!0,n)},d.prototype.writeDoubleBE=function(e,t,n){return x(this,e,t,!1,n)},d.prototype.copy=function(e,t,n,r){if(n=n||0,r||0===r||(r=this.length),t>=e.length&&(t=e.length),t=t||0,0<r&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,i=r-n;if(this===e&&n<t&&t<r)for(o=i-1;0<=o;--o)e[o+t]=this[o+n];else if(i<1e3||!d.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},d.prototype.fill=function(e,t,n,r){if("string"==typeof e){var o;if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length&&(o=e.charCodeAt(0))<256&&(e=o),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!d.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;if(t>>>=0,n=void 0===n?this.length:n>>>0,"number"==typeof(e=e||0))for(a=t;a<n;++a)this[a]=e;else for(var i=d.isBuffer(e)?e:k(new d(e,r).toString()),s=i.length,a=0;a<n-t;++a)this[a+t]=i[a%s];return this};var A=/[^+\/0-9A-Za-z-_]/g;function k(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],s=0;s<r;++s){if(55295<(n=e.charCodeAt(s))&&n<57344){if(!o){if(56319<n){-1<(t-=3)&&i.push(239,191,189);continue}if(s+1===r){-1<(t-=3)&&i.push(239,191,189);continue}o=n;continue}if(n<56320){-1<(t-=3)&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&-1<(t-=3)&&i.push(239,191,189);if(o=null,n<128){if(--t<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function N(e){return a.toByteArray(function(e){if((e=((t=e).trim?t.trim():t.replace(/^\s+|\s+$/g,"")).replace(A,"")).length<2)return"";for(var t;e.length%4!=0;)e+="=";return e}(e))}function O(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}}).call(this,E(26))},function(e,t,n){t.SourceMapGenerator=n(16).SourceMapGenerator,t.SourceMapConsumer=n(32).SourceMapConsumer,t.SourceNode=n(35).SourceNode},function(e,t,n){var p=n(17),f=n(0),u=n(18).ArraySet,r=n(31).MappingList;function i(e){e=e||{},this._file=f.getArg(e,"file",null),this._sourceRoot=f.getArg(e,"sourceRoot",null),this._skipValidation=f.getArg(e,"skipValidation",!1),this._sources=new u,this._names=new u,this._mappings=new r,this._sourcesContents=null}i.prototype._version=3,i.fromSourceMap=function(n){var r=n.sourceRoot,o=new i({file:n.file,sourceRoot:r});return n.eachMapping(function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(t.source=e.source,null!=r&&(t.source=f.relative(r,t.source)),t.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(t.name=e.name)),o.addMapping(t)}),n.sources.forEach(function(e){var t=e;null!==r&&(t=f.relative(r,e)),o._sources.has(t)||o._sources.add(t);t=n.sourceContentFor(e);null!=t&&o.setSourceContent(e,t)}),o},i.prototype.addMapping=function(e){var t=f.getArg(e,"generated"),n=f.getArg(e,"original",null),r=f.getArg(e,"source",null),e=f.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,e),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=e&&(e=String(e),this._names.has(e)||this._names.add(e)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:e})},i.prototype.setSourceContent=function(e,t){null!=this._sourceRoot&&(e=f.relative(this._sourceRoot,e)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[f.toSetString(e)]=t):this._sourcesContents&&(delete this._sourcesContents[f.toSetString(e)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},i.prototype.applySourceMap=function(n,e,r){var o=e;if(null==e){if(null==n.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');o=n.file}var i=this._sourceRoot;null!=i&&(o=f.relative(i,o));var s=new u,a=new u;this._mappings.unsortedForEach(function(e){e.source!==o||null==e.originalLine||null!=(t=n.originalPositionFor({line:e.originalLine,column:e.originalColumn})).source&&(e.source=t.source,null!=r&&(e.source=f.join(r,e.source)),null!=i&&(e.source=f.relative(i,e.source)),e.originalLine=t.line,e.originalColumn=t.column,null!=t.name&&(e.name=t.name));var t=e.source;null==t||s.has(t)||s.add(t);e=e.name;null==e||a.has(e)||a.add(e)},this),this._sources=s,this._names=a,n.sources.forEach(function(e){var t=n.sourceContentFor(e);null!=t&&(null!=r&&(e=f.join(r,e)),null!=i&&(e=f.relative(i,e)),this.setSourceContent(e,t))},this)},i.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&0<e.line&&0<=e.column)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&0<e.line&&0<=e.column&&0<t.line&&0<=t.column&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},i.prototype._serializeMappings=function(){for(var e,t,n,r=0,o=1,i=0,s=0,a=0,u=0,l="",c=this._mappings.toArray(),d=0,h=c.length;d<h;d++){if(e="",(t=c[d]).generatedLine!==o)for(r=0;t.generatedLine!==o;)e+=";",o++;else if(0<d){if(!f.compareByGeneratedPositionsInflated(t,c[d-1]))continue;e+=","}e+=p.encode(t.generatedColumn-r),r=t.generatedColumn,null!=t.source&&(n=this._sources.indexOf(t.source),e+=p.encode(n-u),u=n,e+=p.encode(t.originalLine-1-s),s=t.originalLine-1,e+=p.encode(t.originalColumn-i),i=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=p.encode(n-a),a=n)),l+=e}return l},i.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=f.relative(t,e));e=f.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,e)?this._sourcesContents[e]:null},this)},i.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},i.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=i},function(e,t,n){var l=n(30);t.encode=function(e){for(var t,n="",r=e<0?1+(-e<<1):e<<1;t=31&r,0<(r>>>=5)&&(t|=32),n+=l.encode(t),0<r;);return n},t.decode=function(e,t,n){var r,o,i,s=e.length,a=0,u=0;do{if(s<=t)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(o=l.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1))}while(r=!!(32&o),a+=(o&=31)<<u,u+=5,r);n.value=(i=a>>1,1==(1&a)?-i:i),n.rest=t}},function(e,t,n){var i=n(0),s=Object.prototype.hasOwnProperty,a="undefined"!=typeof Map;function u(){this._array=[],this._set=a?new Map:Object.create(null)}u.fromArray=function(e,t){for(var n=new u,r=0,o=e.length;r<o;r++)n.add(e[r],t);return n},u.prototype.size=function(){return a?this._set.size:Object.getOwnPropertyNames(this._set).length},u.prototype.add=function(e,t){var n=a?e:i.toSetString(e),r=a?this.has(e):s.call(this._set,n),o=this._array.length;r&&!t||this._array.push(e),r||(a?this._set.set(e,o):this._set[n]=o)},u.prototype.has=function(e){if(a)return this._set.has(e);e=i.toSetString(e);return s.call(this._set,e)},u.prototype.indexOf=function(e){if(a){var t=this._set.get(e);if(0<=t)return t}else{t=i.toSetString(e);if(s.call(this._set,t))return this._set[t]}throw new Error('"'+e+'" is not in the set.')},u.prototype.at=function(e){if(0<=e&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},u.prototype.toArray=function(){return this._array.slice()},t.ArraySet=u},function(e,t,n){t.__esModule=!0,t.default=void 0;var r={split:function(e,t,n){for(var r=[],o="",i=!1,s=0,a=!1,u=!1,l=0;l<e.length;l++){var c=e[l];a?u?u=!1:"\\"===c?u=!0:c===a&&(a=!1):'"'===c||"'"===c?a=c:"("===c?s+=1:")"===c?0<s&&--s:0===s&&-1!==t.indexOf(c)&&(i=!0),i?(""!==o&&r.push(o.trim()),o="",i=!1):o+=c}return!n&&""===o||r.push(o.trim()),r},space:function(e){return r.split(e,[" ","\n","\t"])},comma:function(e){return r.split(e,[","],!0)}};t.default=r,e.exports=t.default},function(e,t,r){t.__esModule=!0,t.default=void 0;var n=function(a){var e;function t(e){return(e=a.call(this,e)||this).type="root",e.nodes||(e.nodes=[]),e}n=a,(e=t).prototype=Object.create(n.prototype),(e.prototype.constructor=e).__proto__=n;var n=t.prototype;return n.removeChild=function(e,t){var n=this.index(e);return!t&&0===n&&1<this.nodes.length&&(this.nodes[1].raws.before=this.nodes[n].raws.before),a.prototype.removeChild.call(this,e)},n.normalize=function(e,t,n){e=a.prototype.normalize.call(this,e);if(t)if("prepend"===n)1<this.nodes.length?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(var r,o=e,i=Array.isArray(o),s=0,o=i?o:o[Symbol.iterator]();;){if(i){if(s>=o.length)break;r=o[s++]}else{if((s=o.next()).done)break;r=s.value}r.raws.before=t.raws.before}return e},n.toResult=function(e){return void 0===e&&(e={}),new(r(13))(new(r(12)),this,e).stringify()},t}(((n=r(8))&&n.__esModule?n:{default:n}).default);t.default=n,e.exports=t.default},function(e,t,n){t.__esModule=!0,t.default=void 0;var r=p(n(1)),o=p(n(12)),i=p(n(3)),s=p(n(6)),a=p(n(7)),u=p(n(45)),l=p(n(5)),c=p(n(19)),d=p(n(9)),h=p(n(20));function p(e){return e&&e.__esModule?e:{default:e}}function f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new o.default(t)}f.plugin=function(t,n){function r(){var e=n.apply(void 0,arguments);return e.postcssPlugin=t,e.postcssVersion=(new o.default).version,e}var e;return Object.defineProperty(r,"postcss",{get:function(){return e=e||r()}}),r.process=function(e,t,n){return f([r(n)]).process(e,t)},r},f.stringify=i.default,f.parse=l.default,f.vendor=u.default,f.list=c.default,f.comment=function(e){return new s.default(e)},f.atRule=function(e){return new a.default(e)},f.decl=function(e){return new r.default(e)},f.rule=function(e){return new d.default(e)},f.root=function(e){return new h.default(e)};t.default=f,e.exports=t.default},function(e,t){},function(e,t){},function(e,t){},function(o,i,s){(function(t){i.__esModule=!0,i.default=void 0;var u=e(s(15)),l=e(s(4));function e(e){return e&&e.__esModule?e:{default:e}}var n,n=((n=r.prototype).isMap=function(){return void 0!==this.opts.map?!!this.opts.map:0<this.previous().length},n.previous=function(){var t=this;return this.previousMaps||(this.previousMaps=[],this.root.walk(function(e){e.source&&e.source.input.map&&(e=e.source.input.map,-1===t.previousMaps.indexOf(e)&&t.previousMaps.push(e))})),this.previousMaps},n.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(function(e){return e.inline}))},n.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(e){return e.withContent()})},n.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)for(var e,t=this.root.nodes.length-1;0<=t;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)},n.setSourcesContent=function(){var n=this,r={};this.root.walk(function(e){var t;!e.source||(t=e.source.input.from)&&!r[t]&&(r[t]=!0,t=n.relative(t),n.map.setSourceContent(t,e.source.input.css))})},n.applyPrevMaps=function(){for(var e,t=this.previous(),n=Array.isArray(t),r=0,t=n?t:t[Symbol.iterator]();;){if(n){if(r>=t.length)break;e=t[r++]}else{if((r=t.next()).done)break;e=r.value}var o=e,i=this.relative(o.file),s=o.root||l.default.dirname(o.file),a=void 0;!1===this.mapOpts.sourcesContent?(a=new u.default.SourceMapConsumer(o.text)).sourcesContent&&(a.sourcesContent=a.sourcesContent.map(function(){return null})):a=o.consumer(),this.map.applySourceMap(a,i,this.relative(s))}},n.isAnnotation=function(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(e){return e.annotation}))},n.toBase64=function(e){return t?t.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},n.addAnnotation=function(){var e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:this.outputFile()+".map",t="\n";-1!==this.css.indexOf("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},n.outputFile=function(){return this.opts.to?this.relative(this.opts.to):this.opts.from?this.relative(this.opts.from):"to.css"},n.generateMap=function(){return this.generateString(),this.isSourcesContent()&&this.setSourcesContent(),0<this.previous().length&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},n.relative=function(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;var t=this.opts.to?l.default.dirname(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=l.default.dirname(l.default.resolve(t,this.mapOpts.annotation))),e=l.default.relative(t,e),"\\"===l.default.sep?e.replace(/\\/g,"/"):e},n.sourcePath=function(e){return this.mapOpts.from||this.relative(e.source.input.from)},n.generateString=function(){var r=this;this.css="",this.map=new u.default.SourceMapGenerator({file:this.outputFile()});var o,i=1,s=1;this.stringify(this.root,function(e,t,n){r.css+=e,t&&"end"!==n&&(t.source&&t.source.start?r.map.addMapping({source:r.sourcePath(t),generated:{line:i,column:s-1},original:{line:t.source.start.line,column:t.source.start.column-1}}):r.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:i,column:s-1}})),(o=e.match(/\n/g))?(i+=o.length,o=e.lastIndexOf("\n"),s=e.length-o):s+=e.length,t&&"start"!==n&&(n=t.parent||{raws:{}},"decl"===t.type&&t===n.last&&!n.raws.semicolon||(t.source&&t.source.end?r.map.addMapping({source:r.sourcePath(t),generated:{line:i,column:s-2},original:{line:t.source.end.line,column:t.source.end.column-1}}):r.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:i,column:s-1}})))})},n.generate=function(){if(this.clearAnnotation(),this.isMap())return this.generateMap();var t="";return this.stringify(this.root,function(e){t+=e}),[t]},r);function r(e,t,n){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n}i.default=n,o.exports=i.default}).call(this,s(14).Buffer)},function(e,t){var n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){t.byteLength=function(e){var t=c(e),e=t[0],t=t[1];return 3*(e+t)/4-t},t.toByteArray=function(e){for(var t,n=c(e),r=n[0],n=n[1],o=new l(3*(r+n)/4-n),i=0,s=0<n?r-4:r,a=0;a<s;a+=4)t=u[e.charCodeAt(a)]<<18|u[e.charCodeAt(a+1)]<<12|u[e.charCodeAt(a+2)]<<6|u[e.charCodeAt(a+3)],o[i++]=t>>16&255,o[i++]=t>>8&255,o[i++]=255&t;return 2===n&&(t=u[e.charCodeAt(a)]<<2|u[e.charCodeAt(a+1)]>>4,o[i++]=255&t),1===n&&(t=u[e.charCodeAt(a)]<<10|u[e.charCodeAt(a+1)]<<4|u[e.charCodeAt(a+2)]>>2,o[i++]=t>>8&255,o[i++]=255&t),o},t.fromByteArray=function(e){for(var t,n=e.length,r=n%3,o=[],i=0,s=n-r;i<s;i+=16383)o.push(function(e,t,n){for(var r,o=[],i=t;i<n;i+=3)r=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2]),o.push(a[r>>18&63]+a[r>>12&63]+a[r>>6&63]+a[63&r]);return o.join("")}(e,i,s<i+16383?s:i+16383));return 1==r?(t=e[n-1],o.push(a[t>>2]+a[t<<4&63]+"==")):2==r&&(t=(e[n-2]<<8)+e[n-1],o.push(a[t>>10]+a[t>>4&63]+a[t<<2&63]+"=")),o.join("")};for(var a=[],u=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,i=r.length;o<i;++o)a[o]=r[o],u[r.charCodeAt(o)]=o;function c(e){var t=e.length;if(0<t%4)throw new Error("Invalid string. Length must be a multiple of 4");e=e.indexOf("=");return-1===e&&(e=t),[e,e===t?0:4-e%4]}u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,o){var i,s,a=8*o-r-1,u=(1<<a)-1,l=u>>1,c=-7,d=n?o-1:0,h=n?-1:1,n=e[t+d];for(d+=h,i=n&(1<<-c)-1,n>>=-c,c+=a;0<c;i=256*i+e[t+d],d+=h,c-=8);for(s=i&(1<<-c)-1,i>>=-c,c+=r;0<c;s=256*s+e[t+d],d+=h,c-=8);if(0===i)i=1-l;else{if(i===u)return s?NaN:1/0*(n?-1:1);s+=Math.pow(2,r),i-=l}return(n?-1:1)*s*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var s,a,u=8*i-o-1,l=(1<<u)-1,c=l>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,p=r?1:-1,i=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(r=Math.pow(2,-s))<1&&(s--,r*=2),2<=(t+=1<=s+c?d/r:d*Math.pow(2,1-c))*r&&(s++,r/=2),l<=s+c?(a=0,s=l):1<=s+c?(a=(t*r-1)*Math.pow(2,o),s+=c):(a=t*Math.pow(2,c-1)*Math.pow(2,o),s=0));8<=o;e[n+h]=255&a,h+=p,a/=256,o-=8);for(s=s<<o|a,u+=o;0<u;e[n+h]=255&s,h+=p,s/=256,u-=8);e[n+h-p]|=128*i}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<n.length)return n[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},function(e,t,n){var s=n(0);function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}r.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},r.prototype.add=function(e){var t=this._last,n=t.generatedLine,r=e.generatedLine,o=t.generatedColumn,i=e.generatedColumn;n<r||r==n&&o<=i||s.compareByGeneratedPositionsInflated(t,e)<=0?this._last=e:this._sorted=!1,this._array.push(e)},r.prototype.toArray=function(){return this._sorted||(this._array.sort(s.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=r},function(e,t,n){var _=n(0),u=n(33),h=n(18).ArraySet,b=n(17),w=n(34).quickSort;function s(e,t){var n=e;return"string"==typeof e&&(n=_.parseSourceMapInput(e)),new(null!=n.sections?r:p)(n,t)}function p(e,t){var n=e;"string"==typeof e&&(n=_.parseSourceMapInput(e));var r=_.getArg(n,"version"),o=_.getArg(n,"sources"),i=_.getArg(n,"names",[]),s=_.getArg(n,"sourceRoot",null),a=_.getArg(n,"sourcesContent",null),e=_.getArg(n,"mappings"),n=_.getArg(n,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);s=s&&_.normalize(s),o=o.map(String).map(_.normalize).map(function(e){return s&&_.isAbsolute(s)&&_.isAbsolute(e)?_.relative(s,e):e}),this._names=h.fromArray(i.map(String),!0),this._sources=h.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(e){return _.computeSourceURL(s,e,t)}),this.sourceRoot=s,this.sourcesContent=a,this._mappings=e,this._sourceMapURL=t,this.file=n}function I(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function r(e,o){var t=e;"string"==typeof e&&(t=_.parseSourceMapInput(e));e=_.getArg(t,"version"),t=_.getArg(t,"sections");if(e!=this._version)throw new Error("Unsupported version: "+e);this._sources=new h,this._names=new h;var i={line:-1,column:0};this._sections=t.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var t=_.getArg(e,"offset"),n=_.getArg(t,"line"),r=_.getArg(t,"column");if(n<i.line||n===i.line&&r<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=t,{generatedOffset:{generatedLine:n+1,generatedColumn:r+1},consumer:new s(_.getArg(e,"map"),o)}})}s.fromSourceMap=function(e,t){return p.fromSourceMap(e,t)},s.prototype._version=3,s.prototype.__generatedMappings=null,Object.defineProperty(s.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),s.prototype.__originalMappings=null,Object.defineProperty(s.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),s.prototype._charIsMappingSeparator=function(e,t){t=e.charAt(t);return";"===t||","===t},s.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},s.GENERATED_ORDER=1,s.ORIGINAL_ORDER=2,s.GREATEST_LOWER_BOUND=1,s.LEAST_UPPER_BOUND=2,s.prototype.eachMapping=function(e,t,n){var r,t=t||null;switch(n||s.GENERATED_ORDER){case s.GENERATED_ORDER:r=this._generatedMappings;break;case s.ORIGINAL_ORDER:r=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var o=this.sourceRoot;r.map(function(e){var t=null===e.source?null:this._sources.at(e.source);return{source:_.computeSourceURL(o,t,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}},this).forEach(e,t)},s.prototype.allGeneratedPositionsFor=function(e){var t=_.getArg(e,"line"),n={source:_.getArg(e,"source"),originalLine:t,originalColumn:_.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var r=[],o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",_.compareByOriginalPositions,u.LEAST_UPPER_BOUND);if(0<=o){var i=this._originalMappings[o];if(void 0===e.column)for(var s=i.originalLine;i&&i.originalLine===s;)r.push({line:_.getArg(i,"generatedLine",null),column:_.getArg(i,"generatedColumn",null),lastColumn:_.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o];else for(var a=i.originalColumn;i&&i.originalLine===t&&i.originalColumn==a;)r.push({line:_.getArg(i,"generatedLine",null),column:_.getArg(i,"generatedColumn",null),lastColumn:_.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o]}return r},t.SourceMapConsumer=s,(p.prototype=Object.create(s.prototype)).consumer=s,p.prototype._findSourceIndex=function(e){var t,n=e;if(null!=this.sourceRoot&&(n=_.relative(this.sourceRoot,n)),this._sources.has(n))return this._sources.indexOf(n);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},p.fromSourceMap=function(e,t){var n=Object.create(p.prototype),r=n._names=h.fromArray(e._names.toArray(),!0),o=n._sources=h.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=t,n._absoluteSources=n._sources.toArray().map(function(e){return _.computeSourceURL(n.sourceRoot,e,t)});for(var i=e._mappings.toArray().slice(),s=n.__generatedMappings=[],a=n.__originalMappings=[],u=0,l=i.length;u<l;u++){var c=i[u],d=new I;d.generatedLine=c.generatedLine,d.generatedColumn=c.generatedColumn,c.source&&(d.source=o.indexOf(c.source),d.originalLine=c.originalLine,d.originalColumn=c.originalColumn,c.name&&(d.name=r.indexOf(c.name)),a.push(d)),s.push(d)}return w(n.__originalMappings,_.compareByOriginalPositions),n},p.prototype._version=3,Object.defineProperty(p.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),p.prototype._parseMappings=function(e,t){for(var n,r,o,i,s,a=1,u=0,l=0,c=0,d=0,h=0,p=e.length,f=0,g={},m={},y=[],v=[];f<p;)if(";"===e.charAt(f))a++,f++,u=0;else if(","===e.charAt(f))f++;else{for((n=new I).generatedLine=a,i=f;i<p&&!this._charIsMappingSeparator(e,i);i++);if(o=g[r=e.slice(f,i)])f+=r.length;else{for(o=[];f<i;)b.decode(e,f,m),s=m.value,f=m.rest,o.push(s);if(2===o.length)throw new Error("Found a source, but no line and column");if(3===o.length)throw new Error("Found a source and line, but no column");g[r]=o}n.generatedColumn=u+o[0],u=n.generatedColumn,1<o.length&&(n.source=d+o[1],d+=o[1],n.originalLine=l+o[2],l=n.originalLine,n.originalLine+=1,n.originalColumn=c+o[3],c=n.originalColumn,4<o.length&&(n.name=h+o[4],h+=o[4])),v.push(n),"number"==typeof n.originalLine&&y.push(n)}w(v,_.compareByGeneratedPositionsDeflated),this.__generatedMappings=v,w(y,_.compareByOriginalPositions),this.__originalMappings=y},p.prototype._findMapping=function(e,t,n,r,o,i){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return u.search(e,t,o,i)},p.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},p.prototype.originalPositionFor=function(e){var t={generatedLine:_.getArg(e,"line"),generatedColumn:_.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",_.compareByGeneratedPositionsDeflated,_.getArg(e,"bias",s.GREATEST_LOWER_BOUND));if(0<=n){e=this._generatedMappings[n];if(e.generatedLine===t.generatedLine){n=_.getArg(e,"source",null);null!==n&&(n=this._sources.at(n),n=_.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));t=_.getArg(e,"name",null);return null!==t&&(t=this._names.at(t)),{source:n,line:_.getArg(e,"originalLine",null),column:_.getArg(e,"originalColumn",null),name:t}}}return{source:null,line:null,column:null,name:null}},p.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e})},p.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(0<=n)return this.sourcesContent[n];var r,n=e;if(null!=this.sourceRoot&&(n=_.relative(this.sourceRoot,n)),null!=this.sourceRoot&&(r=_.urlParse(this.sourceRoot))){e=n.replace(/^file:\/\//,"");if("file"==r.scheme&&this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];if((!r.path||"/"==r.path)&&this._sources.has("/"+n))return this.sourcesContent[this._sources.indexOf("/"+n)]}if(t)return null;throw new Error('"'+n+'" is not in the SourceMap.')},p.prototype.generatedPositionFor=function(e){var t=_.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};t={source:t,originalLine:_.getArg(e,"line"),originalColumn:_.getArg(e,"column")},e=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",_.compareByOriginalPositions,_.getArg(e,"bias",s.GREATEST_LOWER_BOUND));if(0<=e){e=this._originalMappings[e];if(e.source===t.source)return{line:_.getArg(e,"generatedLine",null),column:_.getArg(e,"generatedColumn",null),lastColumn:_.getArg(e,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},t.BasicSourceMapConsumer=p,(r.prototype=Object.create(s.prototype)).constructor=s,r.prototype._version=3,Object.defineProperty(r.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),r.prototype.originalPositionFor=function(e){var t={generatedLine:_.getArg(e,"line"),generatedColumn:_.getArg(e,"column")},n=u.search(t,this._sections,function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn}),n=this._sections[n];return n?n.consumer.originalPositionFor({line:t.generatedLine-(n.generatedOffset.generatedLine-1),column:t.generatedColumn-(n.generatedOffset.generatedLine===t.generatedLine?n.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},r.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},r.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},r.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer._findSourceIndex(_.getArg(e,"source"))){var r=n.consumer.generatedPositionFor(e);if(r)return{line:r.line+(n.generatedOffset.generatedLine-1),column:r.column+(n.generatedOffset.generatedLine===r.line?n.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},r.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var r=this._sections[n],o=r.consumer._generatedMappings,i=0;i<o.length;i++){var s=o[i],a=r.consumer._sources.at(s.source),a=_.computeSourceURL(r.consumer.sourceRoot,a,this._sourceMapURL);this._sources.add(a),a=this._sources.indexOf(a);var u=null;s.name&&(u=r.consumer._names.at(s.name),this._names.add(u),u=this._names.indexOf(u));u={source:a,generatedLine:s.generatedLine+(r.generatedOffset.generatedLine-1),generatedColumn:s.generatedColumn+(r.generatedOffset.generatedLine===s.generatedLine?r.generatedOffset.generatedColumn-1:0),originalLine:s.originalLine,originalColumn:s.originalColumn,name:u};this.__generatedMappings.push(u),"number"==typeof u.originalLine&&this.__originalMappings.push(u)}w(this.__generatedMappings,_.compareByGeneratedPositionsDeflated),w(this.__originalMappings,_.compareByOriginalPositions)},t.IndexedSourceMapConsumer=r},function(e,l){l.GREATEST_LOWER_BOUND=1,l.LEAST_UPPER_BOUND=2,l.search=function(e,t,n,r){if(0===t.length)return-1;var o=function e(t,n,r,o,i,s){var a=Math.floor((n-t)/2)+t,u=i(r,o[a],!0);return 0===u?a:0<u?1<n-a?e(a,n,r,o,i,s):s==l.LEAST_UPPER_BOUND?n<o.length?n:-1:a:1<a-t?e(t,a,r,o,i,s):s==l.LEAST_UPPER_BOUND?a:t<0?-1:t}(-1,t.length,e,t,n,r||l.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;0<=o-1&&0===n(t[o],t[o-1],!0);)--o;return o}},function(e,t){function c(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}t.quickSort=function(e,t){!function e(t,n,r,o){if(r<o){var i=r-1;c(t,(u=r,l=o,Math.round(u+Math.random()*(l-u))),o);for(var s=t[o],a=r;a<o;a++)n(t[a],s)<=0&&c(t,i+=1,a);c(t,i+1,a),e(t,n,r,(u=i+1)-1),e(t,n,u+1,o)}var u,l}(e,t,0,e.length-1)}},function(e,t,n){var r=n(16).SourceMapGenerator,h=n(0),p=/(\r?\n)/,i="$$$isSourceNode$$$";function f(e,t,n,r,o){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==o?null:o,this[i]=!0,null!=r&&this.add(r)}f.fromStringWithSourceMap=function(e,n,r){function o(){return e()+(e()||"");function e(){return a<s.length?s[a++]:void 0}}var i=new f,s=e.split(p),a=0,u=1,l=0,c=null;return n.eachMapping(function(e){if(null!==c){if(!(u<e.generatedLine)){var t=(n=s[a]||"").substr(0,e.generatedColumn-l);return s[a]=n.substr(e.generatedColumn-l),l=e.generatedColumn,d(c,t),void(c=e)}d(c,o()),u++,l=0}for(;u<e.generatedLine;)i.add(o()),u++;var n;l<e.generatedColumn&&(n=s[a]||"",i.add(n.substr(0,e.generatedColumn)),s[a]=n.substr(e.generatedColumn),l=e.generatedColumn),c=e},this),a<s.length&&(c&&d(c,o()),i.add(s.splice(a).join(""))),n.sources.forEach(function(e){var t=n.sourceContentFor(e);null!=t&&(null!=r&&(e=h.join(r,e)),i.setSourceContent(e,t))}),i;function d(e,t){var n;null===e||void 0===e.source?i.add(t):(n=r?h.join(r,e.source):e.source,i.add(new f(e.originalLine,e.originalColumn,n,t,e.name)))}},f.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[i]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},f.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;0<=t;t--)this.prepend(e[t]);else{if(!e[i]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},f.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)(t=this.children[n])[i]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},f.prototype.join=function(e){var t,n,r=this.children.length;if(0<r){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},f.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[i]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},f.prototype.setSourceContent=function(e,t){this.sourceContents[h.toSetString(e)]=t},f.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t][i]&&this.children[t].walkSourceContents(e);for(var r=Object.keys(this.sourceContents),t=0,n=r.length;t<n;t++)e(h.fromSetString(r[t]),this.sourceContents[r[t]])},f.prototype.toString=function(){var t="";return this.walk(function(e){t+=e}),t},f.prototype.toStringWithSourceMap=function(e){var o={code:"",line:1,column:0},i=new r(e),s=!1,a=null,u=null,l=null,c=null;return this.walk(function(e,t){o.code+=e,null!==t.source&&null!==t.line&&null!==t.column?(a===t.source&&u===t.line&&l===t.column&&c===t.name||i.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:o.line,column:o.column},name:t.name}),a=t.source,u=t.line,l=t.column,c=t.name,s=!0):s&&(i.addMapping({generated:{line:o.line,column:o.column}}),a=null,s=!1);for(var n=0,r=e.length;n<r;n++)10===e.charCodeAt(n)?(o.line++,o.column=0,n+1===r?(a=null,s=!1):s&&i.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:o.line,column:o.column},name:t.name})):o.column++}),this.walkSourceContents(function(e,t){i.setSourceContent(e,t)}),{code:o.code,map:i}},t.SourceNode=f},function(e,t){var n,r,e=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var a,u=[],l=!1,c=-1;function d(){l&&a&&(l=!1,a.length?u=a.concat(u):c=-1,u.length&&h())}function h(){if(!l){var e=s(d);l=!0;for(var t=u.length;t;){for(a=u,u=[];++c<t;)a&&a[c].run();c=-1,t=u.length}a=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function f(){}e.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new p(e,t)),1!==u.length||l||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=f,e.addListener=f,e.once=f,e.off=f,e.removeListener=f,e.removeAllListeners=f,e.emit=f,e.prependListener=f,e.prependOnceListener=f,e.listeners=function(e){return[]},e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}},function(e,t,n){t.__esModule=!0,t.default=function(e){r[e]||(r[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))};var r={};e.exports=t.default},function(e,t,n){t.__esModule=!0,t.default=void 0;var r=(n=n(39))&&n.__esModule?n:{default:n};(n=o.prototype).toString=function(){return this.css},n.warn=function(e,t){void 0===t&&(t={}),t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);t=new r.default(e,t);return this.messages.push(t),t},n.warnings=function(){return this.messages.filter(function(e){return"warning"===e.type})},function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(o.prototype,[{key:"content",get:function(){return this.css}}]),n=o;function o(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=void 0,this.map=void 0}t.default=n,e.exports=t.default},function(e,t,n){t.__esModule=!0,t.default=void 0;var r=(o.prototype.toString=function(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},o);function o(e,t){for(var n in void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source&&(e=t.node.positionBy(t),this.line=e.line,this.column=e.column),t)this[n]=t[n]}t.default=r,e.exports=t.default},function(e,t,n){t.__esModule=!0,t.default=void 0;var d=u(n(1)),r=u(n(41)),o=u(n(6)),a=u(n(7)),i=u(n(20)),s=u(n(9));function u(e){return e&&e.__esModule?e:{default:e}}(n=l.prototype).createTokenizer=function(){this.tokenizer=(0,r.default)(this.input)},n.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()},n.comment=function(e){var t=new o.default;this.init(t,e[2],e[3]),t.source.end={line:e[4],column:e[5]};e=e[1].slice(2,-2);/^\s*$/.test(e)?(t.text="",t.raws.left=e,t.raws.right=""):(e=e.match(/^(\s*)([^]*[^\s])(\s*)$/),t.text=e[2],t.raws.left=e[1],t.raws.right=e[3])},n.emptyRule=function(e){var t=new s.default;this.init(t,e[2],e[3]),t.selector="",t.raws.between="",this.current=t},n.other=function(e){for(var t,n=!1,r=!1,o=null,i=[],s=[],a=e;a;){if(t=a[0],s.push(a),"("===t||"["===t)o=o||a,i.push("("===t?")":"]");else if(0===i.length){if(";"===t){if(r)return void this.decl(s);break}if("{"===t)return void this.rule(s);if("}"===t){this.tokenizer.back(s.pop()),n=!0;break}":"===t&&(r=!0)}else t===i[i.length-1]&&(i.pop(),0===i.length&&(o=null));a=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(n=!0),0<i.length&&this.unclosedBracket(o),n&&r){for(;s.length&&("space"===(a=s[s.length-1][0])||"comment"===a);)this.tokenizer.back(s.pop());this.decl(s)}else this.unknownWord(s)},n.rule=function(e){e.pop();var t=new s.default;this.init(t,e[0][2],e[0][3]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},n.decl=function(e){var t=new d.default;this.init(t);var n,r=e[e.length-1];for(";"===r[0]&&(this.semicolon=!0,e.pop()),r[4]?t.source.end={line:r[4],column:r[5]}:t.source.end={line:r[2],column:r[3]};"word"!==e[0][0];)1===e.length&&this.unknownWord(e),t.raws.before+=e.shift()[1];for(t.source.start={line:e[0][2],column:e[0][3]},t.prop="";e.length;){var o=e[0][0];if(":"===o||"space"===o||"comment"===o)break;t.prop+=e.shift()[1]}for(t.raws.between="";e.length;){if(":"===(n=e.shift())[0]){t.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),t.raws.between+=n[1]}"_"!==t.prop[0]&&"*"!==t.prop[0]||(t.raws.before+=t.prop[0],t.prop=t.prop.slice(1)),t.raws.between+=this.spacesAndCommentsFromStart(e),this.precheckMissedSemicolon(e);for(var i=e.length-1;0<i;i--){if("!important"===(n=e[i])[1].toLowerCase()){t.important=!0;var s=this.stringFrom(e,i);" !important"!==(s=this.spacesFromEnd(e)+s)&&(t.raws.important=s);break}if("important"===n[1].toLowerCase()){for(var a=e.slice(0),u="",l=i;0<l;l--){var c=a[l][0];if(0===u.trim().indexOf("!")&&"space"!==c)break;u=a.pop()[1]+u}0===u.trim().indexOf("!")&&(t.important=!0,t.raws.important=u,e=a)}if("space"!==n[0]&&"comment"!==n[0])break}this.raw(t,"value",e),-1!==t.value.indexOf(":")&&this.checkMissedSemicolon(e)},n.atrule=function(e){var t,n,r=new a.default;r.name=e[1].slice(1),""===r.name&&this.unnamedAtrule(r,e),this.init(r,e[2],e[3]);for(var o=!1,i=!1,s=[];!this.tokenizer.endOfFile();){if(";"===(e=this.tokenizer.nextToken())[0]){r.source.end={line:e[2],column:e[3]},this.semicolon=!0;break}if("{"===e[0]){i=!0;break}if("}"===e[0]){if(0<s.length){for(t=s[n=s.length-1];t&&"space"===t[0];)t=s[--n];t&&(r.source.end={line:t[4],column:t[5]})}this.end(e);break}if(s.push(e),this.tokenizer.endOfFile()){o=!0;break}}r.raws.between=this.spacesAndCommentsFromEnd(s),s.length?(r.raws.afterName=this.spacesAndCommentsFromStart(s),this.raw(r,"params",s),o&&(e=s[s.length-1],r.source.end={line:e[4],column:e[5]},this.spaces=r.raws.between,r.raws.between="")):(r.raws.afterName="",r.params=""),i&&(r.nodes=[],this.current=r)},n.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end={line:e[2],column:e[3]},this.current=this.current.parent):this.unexpectedClose(e)},n.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces},n.freeSemicolon=function(e){var t;this.spaces+=e[1],this.current.nodes&&(t=this.current.nodes[this.current.nodes.length-1])&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")},n.init=function(e,t,n){this.current.push(e),e.source={start:{line:t,column:n},input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},n.raw=function(e,t,n){for(var r,o,i,s,a=n.length,u="",l=!0,c=/^([.|#])?([\w])+/i,d=0;d<a;d+=1)"comment"!==(o=(r=n[d])[0])||"rule"!==e.type?"comment"===o||"space"===o&&d===a-1?l=!1:u+=r[1]:(i=n[d-1],o=n[d+1],"space"!==i[0]&&"space"!==o[0]&&c.test(i[1])&&c.test(o[1])?u+=r[1]:l=!1);l||(s=n.reduce(function(e,t){return e+t[1]},""),e.raws[t]={value:u,raw:s}),e[t]=u},n.spacesAndCommentsFromEnd=function(e){for(var t,n="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)n=e.pop()[1]+n;return n},n.spacesAndCommentsFromStart=function(e){for(var t,n="";e.length&&("space"===(t=e[0][0])||"comment"===t);)n+=e.shift()[1];return n},n.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},n.stringFrom=function(e,t){for(var n="",r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n},n.colon=function(e){for(var t,n,r,o=0,i=0;i<e.length;i++){if("("===(n=(t=e[i])[0])&&(o+=1),")"===n&&--o,0===o&&":"===n){if(r){if("word"===r[0]&&"progid"===r[1])continue;return i}this.doubleColon(t)}r=t}return!1},n.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",e[2],e[3])},n.unknownWord=function(e){throw this.input.error("Unknown word",e[0][2],e[0][3])},n.unexpectedClose=function(e){throw this.input.error("Unexpected }",e[2],e[3])},n.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},n.doubleColon=function(e){throw this.input.error("Double colon",e[2],e[3])},n.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",t[2],t[3])},n.precheckMissedSemicolon=function(){},n.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var n,r=0,o=t-1;0<=o&&("space"===(n=e[o])[0]||2!==(r+=1));o--);throw this.input.error("Missed semicolon",n[2],n[3])}},n=l;function l(e){this.input=e,this.root=new i.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{line:1,column:1}}}t.default=n,e.exports=t.default},function(e,t,n){t.__esModule=!0,t.default=function(t,e){void 0===e&&(e={});var n,r,o,i,s,a,u,l,c,d,h,p,f,g,m=t.css.valueOf(),y=e.ignoreErrors,v=m.length,_=-1,b=1,w=0,I=[],C=[];function S(e){throw t.error("Unclosed "+e,b,w-_)}return{back:function(e){C.push(e)},nextToken:function(e){if(C.length)return C.pop();if(!(v<=w)){var t=!!e&&e.ignoreUnclosed;switch(((n=m.charCodeAt(w))===O||n===E||n===R&&m.charCodeAt(w+1)!==O)&&(_=w,b+=1),n){case O:case M:case T:case R:case E:for(r=w;r+=1,(n=m.charCodeAt(r))===O&&(_=r,b+=1),n===M||n===O||n===T||n===R||n===E;);g=["space",m.slice(w,r)],w=r-1;break;case P:case D:case U:case j:case Z:case z:case B:e=String.fromCharCode(n);g=[e,e,b,w-_];break;case L:if(p=I.length?I.pop()[1]:"",f=m.charCodeAt(w+1),"url"===p&&f!==x&&f!==A&&f!==M&&f!==O&&f!==T&&f!==E&&f!==R){r=w;do{if(d=!1,-1===(r=m.indexOf(")",r+1))){if(y||t){r=w;break}S("bracket")}for(h=r;m.charCodeAt(h-1)===k;)--h,d=!d}while(d);g=["brackets",m.slice(w,r+1),b,w-_,b,r-_],w=r}else r=m.indexOf(")",w+1),a=m.slice(w,r+1),-1===r||W.test(a)?g=["(","(",b,w-_]:(g=["brackets",a,b,w-_,b,r-_],w=r);break;case x:case A:o=n===x?"'":'"',r=w;do{if(d=!1,-1===(r=m.indexOf(o,r+1))){if(y||t){r=w+1;break}S("string")}for(h=r;m.charCodeAt(h-1)===k;)--h,d=!d}while(d);a=m.slice(w,r+1),i=a.split("\n"),c=0<(s=i.length-1)?(l=b+s,r-i[s].length):(l=b,_),g=["string",m.slice(w,r+1),b,w-_,l,r-c],_=c,b=l,w=r;break;case V:Y.lastIndex=w+1,Y.test(m),r=0===Y.lastIndex?m.length-1:Y.lastIndex-2,g=["at-word",m.slice(w,r+1),b,w-_,b,r-_],w=r;break;case k:for(r=w,u=!0;m.charCodeAt(r+1)===k;)r+=1,u=!u;if(n=m.charCodeAt(r+1),u&&n!==N&&n!==M&&n!==O&&n!==T&&n!==R&&n!==E&&(r+=1,q.test(m.charAt(r)))){for(;q.test(m.charAt(r+1));)r+=1;m.charCodeAt(r+1)===M&&(r+=1)}g=["word",m.slice(w,r+1),b,w-_,b,r-_],w=r;break;default:w=(n===N&&m.charCodeAt(w+1)===F?(0===(r=m.indexOf("*/",w+2)+1)&&(y||t?r=m.length:S("comment")),a=m.slice(w,r+1),i=a.split("\n"),c=0<(s=i.length-1)?(l=b+s,r-i[s].length):(l=b,_),g=["comment",a,b,w-_,l,r-c],_=c,b=l):(G.lastIndex=w+1,G.test(m),r=0===G.lastIndex?m.length-1:G.lastIndex-2,g=["word",m.slice(w,r+1),b,w-_,b,r-_],I.push(g)),r)}return w++,g}},endOfFile:function(){return 0===C.length&&v<=w},position:function(){return w}}};var x="'".charCodeAt(0),A='"'.charCodeAt(0),k="\\".charCodeAt(0),N="/".charCodeAt(0),O="\n".charCodeAt(0),M=" ".charCodeAt(0),E="\f".charCodeAt(0),T="\t".charCodeAt(0),R="\r".charCodeAt(0),P="[".charCodeAt(0),D="]".charCodeAt(0),L="(".charCodeAt(0),B=")".charCodeAt(0),U="{".charCodeAt(0),j="}".charCodeAt(0),z=";".charCodeAt(0),F="*".charCodeAt(0),Z=":".charCodeAt(0),V="@".charCodeAt(0),Y=/[ \n\t\r\f{}()'"\\;/[\]#]/g,G=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,W=/.[\\/("'\n]/,q=/[a-f0-9]/i;e.exports=t.default},function(e,t,n){t.__esModule=!0,t.default=void 0;var r=s(n(4)),i=s(n(10)),o=s(n(43));function s(e){return e&&e.__esModule?e:{default:e}}var a=0,n=((n=u.prototype).error=function(e,t,n,r){void 0===r&&(r={});var o=this.origin(t,n);return(r=o?new i.default(e,o.line,o.column,o.source,o.file,r.plugin):new i.default(e,t,n,this.css,this.file,r.plugin)).input={line:t,column:n,source:this.css},this.file&&(r.input.file=this.file),r},n.origin=function(e,t){if(!this.map)return!1;var n=this.map.consumer(),e=n.originalPositionFor({line:e,column:t});if(!e.source)return!1;t={file:this.mapResolve(e.source),line:e.line,column:e.column},e=n.sourceContentFor(e.source);return e&&(t.source=e),t},n.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:r.default.resolve(this.map.consumer().sourceRoot||".",e)},function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(u.prototype,[{key:"from",get:function(){return this.file||this.id}}]),u);function u(e,t){if(void 0===t&&(t={}),null==e||"object"==typeof e&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(/^\w+:\/\//.test(t.from)||r.default.isAbsolute(t.from)?this.file=t.from:this.file=r.default.resolve(t.from));t=new o.default(this.css,t);t.text&&(t=(this.map=t).consumer().file,!this.file&&t&&(this.file=this.mapResolve(t))),this.file||(a+=1,this.id="<input css "+a+">"),this.map&&(this.map.file=this.from)}t.default=n,e.exports=t.default},function(a,u,l){(function(n){u.__esModule=!0,u.default=void 0;var r=e(l(15)),o=e(l(4)),i=e(l(44));function e(e){return e&&e.__esModule?e:{default:e}}var t,t=((t=s.prototype).consumer=function(){return this.consumerCache||(this.consumerCache=new r.default.SourceMapConsumer(this.text)),this.consumerCache},t.withContent=function(){return!!(this.consumer().sourcesContent&&0<this.consumer().sourcesContent.length)},t.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},t.getAnnotationURL=function(e){return e.match(/\/\*\s*# sourceMappingURL=(.*)\s*\*\//)[1].trim()},t.loadAnnotation=function(e){e=e.match(/\/\*\s*# sourceMappingURL=(.*)\s*\*\//gm);e&&0<e.length&&((e=e[e.length-1])&&(this.annotation=this.getAnnotationURL(e)))},t.decodeInline=function(e){var t="data:application/json,";if(this.startWith(e,t))return decodeURIComponent(e.substr(t.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),n?n.from(t,"base64").toString():window.atob(t);e=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+e)},t.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"==typeof t){var n=t(e);if(n&&i.default.existsSync&&i.default.existsSync(n))return i.default.readFileSync(n,"utf-8").toString().trim();throw new Error("Unable to load previous source map: "+n.toString())}if(t instanceof r.default.SourceMapConsumer)return r.default.SourceMapGenerator.fromSourceMap(t).toString();if(t instanceof r.default.SourceMapGenerator)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){t=this.annotation;return e&&(t=o.default.join(o.default.dirname(e),t)),this.root=o.default.dirname(t),!(!i.default.existsSync||!i.default.existsSync(t))&&i.default.readFileSync(t,"utf-8").toString().trim()}},t.isMap=function(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings)},s);function s(e,t){this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");e=t.map?t.map.prev:void 0,e=this.loadMap(t.from,e);e&&(this.text=e)}u.default=t,a.exports=u.default}).call(this,l(14).Buffer)},function(e,t){},function(e,t,n){t.__esModule=!0,t.default=void 0;t.default={prefix:function(e){e=e.match(/^(-\w+-)/);return e?e[0]:""},unprefixed:function(e){return e.replace(/^-\w+-/,"")}},e.exports=t.default}])}(Be={exports:{}}),Be.exports),ze=(Ue=je)&&Ue.__esModule&&Object.prototype.hasOwnProperty.call(Ue,"default")?Ue.default:Ue;je.postcss;function Fe(e){var o={matchedCSSRules:[],pseudoElements:[]},t=Ze(e);t&&(o.inlineStyle=t);var t=(e.getClassName()||"").split(/\s+/),n=e.devtool.pageInstance.document.style,i=$e;return t.forEach(function(r){n[r]&&i.nodes.forEach(function(e){var t,n;"rule"===e.type&&e.selector==="."+r&&o.matchedCSSRules.push((n="1000.native",{matchingSelectors:[0],rule:{origin:"regular",selectorList:{selectors:(t=e).selectors.map(function(e){return{range:n?{endColumn:t.source.start.column+t.selector.length-1,endLine:t.source.start.line-1,startColumn:t.source.start.column-1,startLine:t.source.start.line-1}:void 0,text:e}}),text:t.selector},style:Ve(t,n),styleSheetId:n}}))})}),o}function Ze(e){return function(e,o){var t;try{t=ze.parse(e)}catch(e){return}var i=[];(t.nodes||[]).forEach(function(e){var t;if("decl"===e.type)t={disabled:!1,important:!1,name:e.prop,value:e.value};else if("comment"===e.type){var n=void 0;try{var r=ze.parse(e.text);r.first&&"decl"===r.first.type&&(n=r.first)}catch(e){}if(!n)return;t={disabled:!0,name:n.prop,value:Ye(n)}}t&&(o&&(t.range={endColumn:e.source.end.column,endLine:e.source.end.line-1,startColumn:e.source.start.column-1,startLine:e.source.start.line-1},t.text=e.toString()),i.push(t))});var n={cssProperties:i,shorthandEntries:[]};o&&(n.styleSheetId=o,n.cssText=e,n.range={endColumn:e.length,endLine:0,startColumn:0,startLine:0});return n}(e.getInlineStyle()||"",e.inlineStyleSheetId)}function Ve(e,t){var n=e.nodes,r=void 0===n?[]:n,o=e.first,i=e.last,s=r[0],n=0;s&&s.raws.before&&(n=s.raws.before.split("\n").length-1);var a=[];r.forEach(function(e){e=function(e,t){var n;if("decl"===e.type)n={disabled:!1,important:Boolean(e.important),name:e.prop,value:Ye(e)};else if("comment"===e.type){var r=void 0;try{var o=ze.parse(e.text);o.first&&"decl"===o.first.type&&(r=o.first)}catch(e){}if(!r)return;n={disabled:!0,name:r.prop,value:Ye(r)}}n&&t&&(n.range={endColumn:e.source.end.column,endLine:e.source.end.line-1,startColumn:e.source.start.column-1,startLine:e.source.start.line-1},n.text=e.toString());return n}(e,t);e&&a.push(e)});s={cssProperties:a,shorthandEntries:[]};return t&&(s.styleSheetId=t,s.cssText=ze.root({nodes:r,raws:{semicolon:e.raws.semicolon}}).toString(),s.range={endColumn:i?i.source.end.column:0,endLine:i?i.source.end.line-1:0,startColumn:!n&&o?o.source.start.column-1:0,startLine:o?o.source.start.line-1-n:0}),s}function Ye(e){return e.important?""+e.value+(e.raws.important||" !important"):e.value}function Ge(a,e,t){var u,l,c=$e,d=e.startLine,h=e.startColumn;try{u=ze.parse(t)}catch(e){return}return(c.nodes||[]).some(function(e,t){if("rule"!==e.type)return!1;var n,r,o,i,s=null===(s=e.first)||void 0===s?void 0:s.source;if(s&&s.start.line===d&&s.start.column===h){try{e.selector;e.nodes=u.nodes,e.raws.semicolon=u.raws.semicolon,l=Ve(c.nodes[t],"1000.native"),n=a,o=(r=e).selector,i=(r.nodes||[]).reduce(function(e,t){var n,r;return"decl"===t.type&&(e[(n=(n=t.prop).replace(/[_.-](\w|$)/g,function(e,t){return t.toUpperCase()}))[0]&&r&&(n=n[0].toUpperCase()+n.slice(1)),n]=t.value),e},{}),0===o.indexOf(".")&&(o=o.slice(1),Object.assign(n.pageInstance.document.style,((r={})[o]=i,r)),n.className2ZNodeId.get(o).forEach(function(e){e=n.nodeId2ZNode.get(+e);e.nodeType===T.Element&&(n.getZRuntimeHelper().X(e.node,e.getLinkedContext(),e.getClassName()||"",!0,e.getInlineStyle(),!1,e.getProperties(),{},2),n.flushUpdatedQueue())}))}catch(e){console.warn(e)}return!0}}),l}function We(o){return void 0===o&&(o={}),Object.keys(o).reduce(function(e,r){return e+("."+r+"{"+Object.keys(o[r]).reduce(function(e,t){var n;return e.push((6<=(n=(n=t).replace(/\B([A-Z])/g,"-$1").toLowerCase()).length&&"w"===n[0]&&"e"===n[1]&&"b"===n[2]&&"k"===n[3]&&"i"===n[4]&&"t"===n[5]?"-"+n:n)+":"+o[r][t]),e},[]).join(";"))+"}"},"")}var qe,$e=null;(re=qe=qe||{}).CSSStyle="1000",re.InlineStyle="2000";var be=Object.freeze({__proto__:null,enable:function(i,e,s){var t=i.getClientProxy().pageId;i.isCubeStyleMode()?"function"==typeof(null===__DEV_TOOL__||void 0===__DEV_TOOL__?void 0:__DEV_TOOL__.enableDevtool)?__DEV_TOOL__.enableDevtool(t,function(e){for(var t=e.added,n=0,r=t.length;n<r;n++){var o=t[n];i.sendMessage("CSS.styleSheetAdded",{header:o})}s(null,{})}):s(null,{}):(function(e){var t,n=We(e.pageInstance.document.style);try{t=ze.parse(n)}catch(e){return}var r={disabled:!1,endColumn:($e=t).last?t.last.source.end.column-1:0,endLine:t.last?t.last.source.end.line-1:0,frameId:"MOCK_FRAME_ID",isInline:!0,length:t.toString().length,origin:"regular",sourceURL:"",startColumn:t.first?t.first.source.start.column-1:0,startLine:t.first?t.first.source.start.line-1:0,styleSheetId:"1000.native",title:""};e.sendMessage("CSS.styleSheetAdded",{header:r})}(i),s(null,{}))},getMatchedStylesForNode:function(e,t,n){var r=e.nodeId2ZNode.get(t.nodeId),o={matchedCSSRules:[]};if(r&&r.nodeType===T.Element){if(e.isCubeStyleMode()&&"function"==typeof(null===__DEV_TOOL__||void 0===__DEV_TOOL__?void 0:__DEV_TOOL__.getMatchedStylesForNode)){t=e.getClientProxy().pageId,e=r.node.root.nodeId;return void __DEV_TOOL__.getMatchedStylesForNode(t,e,function(e){n(null,e)})}o=Fe(r)}n(null,o)},setStyleTexts:function(e,t,n){var r=[],o=t.edits;if(e.isCubeStyleMode()){if("function"==typeof(null===__DEV_TOOL__||void 0===__DEV_TOOL__?void 0:__DEV_TOOL__.setStyleTexts)){var i=e.getClientProxy().pageId;return void __DEV_TOOL__.setStyleTexts(i,t,function(e){n(null,{styles:e})})}}else for(var s=0,a=o.length;s<a;s++){var u=o[s],l=u.styleSheetId,c=u.range,d=u.text,h=l.split("."),l=h[0],h=h[1];l===qe.CSSStyle?(c.startLine+=1,c.startColumn+=1,(d=Ge(e,c,d))&&r.push(d)):l!==qe.InlineStyle||(h=e.nodeId2ZNode.get(+h))&&h.nodeType===T.Element&&(h.updateInlineStyle(u.text),(u=Ze(h))&&r.push(u),e.getZRuntimeHelper().X(h.node,h.getLinkedContext(),h.getClassName()||"",!1,h.getInlineStyle(),!0,h.getProperties(),{},2),e.flushUpdatedQueue())}n(null,{styles:r})},getComputedStyleForNode:function(e,t,r){if(!e.isCubeStyleMode())return r(-32e3);if((e=e.nodeId2ZNode.get(t.nodeId))&&e.nodeType===T.Element){t=e.node.root,e=t.docId,t=t.nodeId;if("function"==typeof(null===__DEV_TOOL__||void 0===__DEV_TOOL__?void 0:__DEV_TOOL__.getComputedStyleForNode))return void __DEV_TOOL__.getComputedStyleForNode(e,t,function(n){void 0===n&&(n={}),r(null,{computedStyle:Object.keys(n).reduce(function(e,t){return e.push({name:t,value:n[t]}),e},[])})})}r(null,{computedStyle:[]})},getInlineStylesForNode:function(e,t,n){var r,t=t.nodeId;(t=e.nodeId2ZNode.get(t))&&t.nodeType===T.Element&&(r=Ze(t)),r?n(null,{inlineStyle:r}):n(-32e3)},getStyleSheetText:function(e,t,n){t.styleSheetId,n(null,{text:""})}}),He=function(e,t,n){n(null,{nodeIds:t.backendNodeIds})};var Je=Object.freeze({__proto__:null,pushNodesByBackendIdsToFrontend:He,setNodeName:function(e,t,n){n(-32e3)},markUndoableState:function(e,t,n){n(null,{})},enable:function(e,t,n){n(null,{})},getDocument:function(e,t,n){n=n,(e=e).resetZNodeActivatedState(),n(null,{root:e.getDocumentNode()})},requestChildNodes:function(e,t,n){var r,o=t.nodeId,i=e.nodeId2ZNode.get(o),t=e.nodeId2ZNode.get(-o);i?(r=i.serialize(1)).children&&e.sendMessage("DOM.setChildNodes",{nodes:r.children,parentId:o}):t&&((r=function(e){var t={attributes:["docId",e.docId,"ref",e.ref],childNodeCount:0,localName:e.type,nodeId:e.ref,nodeName:e.type.toUpperCase(),nodeType:1,nodeValue:"",pseudoElements:[]},n=e.attr;switch(e.type){case"scroller":t.attributes.push("allowBounce",String(n.allowBounce)),t.attributes.push("bubble",String(n.bubble)),t.attributes.push("pageScrollRoot",String(n.pageScrollRoot)),t.attributes.push("scrollDirection",String(n.scrollDirection));break;case"image":t.attributes.push("className",n.className),t.attributes.push("src",String(n.src)),t.attributes.push("resize",String(n.resize));case"text":t.attributes.push("className",n.className),t.nodeValue=String(n.value);case"div":t.attributes.push("className",n.className)}return t}(t.node.root)).backendNodeId=t.shadowRootNodeId,r.parentId=o,e.sendMessage("DOM.setChildNodes",{nodes:[r],parentId:o})),n(null,{})},setAttributesAsText:function(e,t,n){var r=t.nodeId,o=t.text,i=t.name,s=e.nodeId2ZNode.get(r);if(s&&s.nodeType===T.Element){var a=function(e){for(var t=/([-:0-9a-z_]+)="([^"]*?)"/gi,n={},r=t.exec(e);r;){r[0];var o=r[1],i=r[2];n[o]=i,r=t.exec(e)}return n}(o),u=s.getClassName(),t=!1,r=s.getInlineStyle(),o=!1;if("class"===i&&a.class!==u&&(u=a.class,t=!0,s.updateClassName(u)),"style"===i&&a.style!==r&&(r=a.style,o=!0,s.updateInlineStyle(r)),t||o)return e.getZRuntimeHelper().X(s.node,s.getLinkedContext(),u||"",t,r||"",o,s.getProperties(),{},3),void e.flushUpdatedQueue();if(0===i.indexOf("data-")){var o=i.replace("data-",""),e=s.getDataset().get(o),i=a[i];switch(typeof e){case"number":isNaN(Number(i))||(i=Number(i));break;case"boolean":"true"===i?i=!0:"false"===i&&(i=!1)}i!==e&&((e={})[o]=i,e=e,s.node.updateDatasetPartial(e),s.updateDataset(e))}s.invalidate()}n(null,{})},setNodeValue:function(e,t,n){var r=t.nodeId,o=t.value,i=e.nodeId2ParentNode.get(r),t=e.nodeId2ZNode.get(r);return i?(i.node.setAttr("value",o),e.sendMessage("DOM.characterDataModified",{characterData:o,nodeId:r}),void n(null,{})):t&&t.nodeType===T.Text?(t.node.root.setAttr("value",o),e.sendMessage("DOM.characterDataModified",{characterData:o,nodeId:r}),void n(null,{})):void n(-32e3,{})}});B=Object.freeze({__proto__:null,getPagesData:function(e,t,n){n(null,{data:D().getRuntime().getNav().currentStack.map(function(e){e=e.getPageLogicInstance().publicInstance;return{data:JSON.stringify(e.data),route:e.route,viewId:e.$viewId}})})},setPageData:function(e,t,n){var r=t.viewId,o=t.data;(t=D().getRuntime().getNav().currentStack.map(function(e){return e.getPageLogicInstance().publicInstance}).filter(function(e){return e&&""+e.$viewId===r})[0])&&o&&t.setData(o)}});se=Object.freeze({__proto__:null,getStorageInfo:function(e,t,n){my.getStorageInfo({success:function(t){Promise.all(t.keys.map(function(e){return n=e,new Promise(function(t){my.getStorage({key:n,success:function(e){e.success?t({key:n,type:typeof e.data,value:e.data}):t(null)},fail:function(e){t(null)}})});var n})).then(function(e){e=e.filter(function(e){return e});n(null,{currentSize:t.currentSize,data:e,limitSize:t.limitSize})})}})},clearStorage:function(e,t,n){my.clearStorage()},removeStorage:function(e,t,n){(t=t.key)&&my.removeStorage({key:t})},setStorage:function(e,t,n){var r=t.key,t=t.value;r&&t&&my.setStorage({data:t,key:r})}});re=Object.freeze({__proto__:null,enable:function(e,t,n){D().setMessageDirectSend(),D().flushMessageQueue(),n(null,{})}});function Qe(e){var t="";try{1e6<JSON.stringify(e).length&&(t="data is too large to display")}catch(e){t=e.message||"stringify error"}return t?{data:{error:t}}:{data:e}}He=Object.freeze({__proto__:null,getComponentData:function(e,t,n){if(t=t.nodeId,(t=e.nodeId2ZNode.get(t))&&t.nodeType===T.Component)return e.activatedCustomComponentId=t.nodeId,void n(void 0,{data:Qe(t.getData()).data,props:Qe(t.getProps()).data});n(e.activatedCustomComponentId=void 0,{})}});var Ke,He=Object.freeze({__proto__:null,Data:B,Storage:se,Applog:re,Elements:He,ping:function(e,t,n){n(null,{})},getSystemInfo:function(e,t,n){var r={};my.SDKVersion&&(r.sdkVersion=my.SDKVersion),my.getSystemInfo({success:function(e){r.userAgent="Mini Cube Engine",r.alipayVersion=e.version,r.model=e.model,r.system=e.system,n(null,r)}})}}),Xe=Object.freeze({__proto__:null,CSS:be,DOM:Je,Overlay:_e,Tiny:He}),et=(s(tt,Ke=ge),tt.prototype.getZNodeDebugInfo=function(e){if(!e._debug){if(1===e.eType)return Ke.prototype.getZNodeDebugInfo.call(this,e);var t;2===e.eType&&(t=this.dependecyFactory.createZNodeText?this.dependecyFactory.createZNodeText(this,e,this.nextNodeId++,this.nextNodeId++):new le(this,e,this.nextNodeId++,this.nextNodeId++),this.nodeId2ZNode.set(t.nodeId,t),e._debug=t)}return e._debug},tt.prototype.update=function(){this.sendMessage("DOM.documentUpdated",null)},tt.prototype.getClientProxy=function(){return this.option.clientProxy},tt.prototype.isCubeStyleMode=function(){return!!global.isSupportCubeStyle},tt.prototype.getMessageHandler=function(e){for(var t=Xe,n=0,r=e;n<r.length;n++){if(!(t=t[r[n]]))break}return t},tt);function tt(e){var o=Ke.call(this,e)||this;return o.nodeId2ParentNode=new Map,o.className2ZNodeId=new Map,o.option.connection.onMessage(function(e,t,n){var r=e.split("."),r=o.getMessageHandler(r);r?r(o,t,n):console.warn("unhandlered message:"+e)}),o}He=new Function("return this")(),ge=null===(ge=null==He?void 0:He.__DEV_TOOL__)||void 0===ge?void 0:ge.setupDevtoolHook;"function"==typeof ge&&ge({Connection:r,init:function(e,t,n){var r=new et({clientProxy:e,connection:n,debugProxy:t,dependencyFactory:{createDOMElement:function(){return{}},createZNodeElement:function(e,t,n,r,o,i){return new Te(e,t,n,r,o,i)},createZNodeText:function(e,t,n,r){return new De(e,t,n,r)}}}),o=t.getZRuntime().h;return(t=__DEV_TOOL__.getDevtoolStack()).push(r),1<t.size()&&r.update(),__DEV_TOOL__.hasHookRuntimeHelper||(Ne(o),__DEV_TOOL__.hasHookRuntimeHelper=!0),__DEV_TOOL__&&ve(__DEV_TOOL__.getOverlayManager(e.pageId)),D().setSocketInstance(n),r},registerAppxHook:function(e,t){D().setRuntime(e),E(t,function(e){var t=e.method,n=e.params,r=D().getSocketInstance(),e=D().shouldPendMessage;!r||e&&/^MiniAppLog\./.test(t)?D().pendMessageQueue(t,n):r.sendMessage(t,n)}),e.getBridge().on("tinyAppRemoteDebug_storage",function(e){})}}),e.appGlobal=He}({});