1import{C as Zt,D as er,F as Ye,H as tr,I as rr,K as nr,a as Ht,b as Xt,e as Qt,h as Yt}from"./chunk-GPVZISOV.js";import{f as Jt}from"./chunk-74CDSVWG.js";import{C as $t,K as zt,L as qt,N as Gt,Q as Wt,R as ve,S as Vt,U as _e,e as Xe,f as Ke,ka as Qe,la as Kt,q as Ie,v as Je}from"./chunk-SEQCRKB6.js";import{Aa as De,Ba as Ot,C as ot,Ca as Nt,D as kt,Db as Ut,E as Bt,Ga as we,R as wt,U as fe,V as He,Y,c as Le,cb as Lt,db as Pt,e as en,f as tn,i as St,ia as $e,k as bt,la as Be,ma as ze,n as Ft,na as It,o as Dt,pa as qe,pb as Rt,qa as Ge,rb as jt,s as xt,sa as We,sb as Mt,u as Pe,wa as Ve,xa as Fe,ya as _t,za as Tt}from"./chunk-HBLARLGW.js";var or=en((sr,lt)=>{"use strict";(function(T){if(typeof sr=="object"&&typeof lt<"u")lt.exports=T();else if(typeof define=="function"&&define.amd)define([],T);else{var S;typeof window<"u"?S=window:typeof global<"u"?S=global:typeof self<"u"?S=self:S=this,S.jsonpath=T()}})(function(){var T,S,Ae;return(function E(F,x,D){function m(A,y){if(!x[A]){if(!F[A]){var a=typeof Le=="function"&&Le;if(!y&&a)return a(A,!0);if(w)return w(A,!0);var o=new Error("Cannot find module '"+A+"'");throw o.code="MODULE_NOT_FOUND",o}var d=x[A]={exports:{}};F[A][0].call(d.exports,function(s){var c=F[A][1][s];return m(c||s)},d,d.exports,E,F,x,D)}return x[A].exports}for(var w=typeof Le=="function"&&Le,b=0;b<D.length;b++)m(D[b]);return m})({"./aesprim":[function(E,F,x){(function(D,m){"use strict";typeof T=="function"&&T.amd?T(["exports"],m):m(typeof x<"u"?x:D.esprima={})})(this,function(D){"use strict";var m,w,b,A,y,a,o,d,s,c,r,C,B,h,n,u,p,f;m={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9},w={},w[m.BooleanLiteral]="Boolean",w[m.EOF]="<end>",w[m.Identifier]="Identifier",w[m.Keyword]="Keyword",w[m.NullLiteral]="Null",w[m.NumericLiteral]="Numeric",w[m.Punctuator]="Punctuator",w[m.StringLiteral]="String",w[m.RegularExpression]="RegularExpression",b=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],A={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},y={Data:1,Get:2,Set:4},a={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode co
1de may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},o={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\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\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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\uFB
1D3-\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]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191C\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\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\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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\uFB
1D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE26\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]")};function O(e,t){if(!e)throw new Error("ASSERT: "+t)}function P(e){return e>=48&&e<=57}function $(e){return"0123456789abcdefABCDEF".indexOf(e)>=0}function R(e){return"01234567".indexOf(e)>=0}function Q(e){return e===32||e===9||e===11||e===12||e===160||e>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(e)>=0}function j(e){return e===10||e===13||e===8232||e===8233}function G(e){return e==64||e===36||e===95||e>=65&&e<=90||e>=97&&e<=122||e===92||e>=128&&o.NonAsciiIdentifierStart.test(String.fromCharCode(e))}function K(e){return e===36||e===95||e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===92||e>=128&&o.NonAsciiIdentifierPart.test(String.fromCharCode(e))}function ee(e){switch(e){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function he(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function Z(e){return e==="eval"||e==="arguments"}function ce(e){if(c&&he(e))return!0;switch(e.length){case 2:return e==="if"||e==="in"||e==="do";case 3:return e==="var"||e==="for"||e==="new"||e==="try"||e==="let";case 4:return e==="this"||e==="else"||e==="case"||e==="void"||e==="with"||e==="enum";case 5:return e==="while"||e==="break"||e==="catch"||e==="throw"||e==="const"||e==="yield"||e==="class"||e==="super";case 6:return e==="return"||e==="typeof"||e==="delete"||e==="switch"||e==="export"||e==="import";case 7:return e==="default"||e==="finally"||e==="extends";case 8:return e==="function"||e==="continue"||e==="debugger";case 10:return e==="instanceof";default:return!1}}function oe(e,t,i,l,v){var _,H;O(typeof i=="number","Comment must have valid position"),!(p.lastCommentStart>=i)&&(p.lastCommentStart=i,_={type:e,value:t},f.range&&(_.range=[i,l]),f.loc&&(_.loc=v),f.comments.push(_),f.attachComment&&(f.leadingComments.push(_),f.trailingComments.push(_)))}function le(e){var t,i,l,v;for(t=r-e,i={start:{line:C,column:r-B-e}};r<h;)if(l=s.charCodeAt(r),++r,j(l)){f.comments&&(v=s.slice(t+e,r-1),i.end={line:C,column:r-B-1},oe("Line",v,t,r-1,i)),l===13&&s.charCodeAt(r)===10&&++r,++C,B=r;return}f.comments&&(v=s.slice(t+e,r),i.end={line:C,column:r-B},oe("Line",v,t,r,i))}function Se(){var e,t,i,l;for(f.comments&&(e=r-2,t={start:{line:C,column:r-B-2}});r<h;)if(i=s.charCodeAt(r),j(i))i===13&&s.charCodeAt(r+1)===10&&++r,++C,++r,B=r,r>=h&&U({},a.UnexpectedToken,"ILLEGAL");else if(i===42){if(s.charCodeAt(r+1)===47){++r,++r,f.comments&&(l=s.slice(e+2,r-2),t.end={line:C,column:r-B},oe("Block",l,e,r,t));return}++r}else++r;U({},a.UnexpectedToken,"ILLEGAL")}function g(){var e,t;for(t=r===0;r<h;)if(e=s.charCodeAt(r),Q(e))++r;else if(j(e))++r,e===13&&s.charCodeAt(r)===10&&++r,++C,B=r,t=!0;else if(e===47)if(e=s.charCodeAt(r+1),e===47)++r,++r,le(2),t=!0;else if(e===42)++r,++r,Se();else break;else if(t&&e===45)if(s.charCodeAt(r+1)===45&&s.charCodeAt(r+2)===62)r+=3,le(3);else break;else if(e===60)if(s.slice(r+1,r+4)==="!--")++r,++r,++r,++r,le(4);else break;else break}function k(e){var t,i,l,v=0;for(i=e==="u"?4:2,t=0;t<i;++t)if(r<h&&$(s[r]))l=s[r++],v=v*16+"0123456789abcdef".indexOf(l.toLowerCase());else return"";return String.fromCharCode(v)}function I(){var e,t;for(e=s.charCodeAt(r++),t=String.fromCharCode(e),e===92&&(s.charCodeAt(r)!==117&&U({},a.UnexpectedToken,"ILLEGAL"),++r,e=k("u"),(!e||e==="\\"||!G(e.charCodeAt(0)))&&U({},a.UnexpectedToken,"ILLEGAL"),t=e);r<h&&(e=s.charCodeAt(r),!!K(e));)++r,t+=String.fromCharCode(e),e===92&&(t=t.substr(0,t.length-1),s.charCodeAt(r)!==117&&U({},a.UnexpectedToken,"ILLEGAL"),++r,e=k("u"),(!e||e==="\\"||!K(e.charCodeAt(0)))&&U({},a.UnexpectedToken,"ILLEGAL"),t+=e);return t}function V(){var e,t;for(e=r++;r<h;){if(t=s.charCodeAt(r),t===92)return r=e,I();if(K(t))++r;else break}return s.slice(e,r)}function ne(){var e,t,i;return e=r,t=s.charCodeAt(r)===92?I():V(),t.length===1?i=m.Identifier:ce(t)?i=m.Keyword:t==="null"?i=m.NullLiteral
1:t==="true"||t==="false"?i=m.BooleanLiteral:i=m.Identifier,{type:i,value:t,lineNumber:C,lineStart:B,start:e,end:r}}function q(){var e=r,t=s.charCodeAt(r),i,l=s[r],v,_,H;switch(t){case 46:case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:return++r,f.tokenize&&(t===40?f.openParenToken=f.tokens.length:t===123&&(f.openCurlyToken=f.tokens.length)),{type:m.Punctuator,value:String.fromCharCode(t),lineNumber:C,lineStart:B,start:e,end:r};default:if(i=s.charCodeAt(r+1),i===61)switch(t){case 43:case 45:case 47:case 60:case 62:case 94:case 124:case 37:case 38:case 42:return r+=2,{type:m.Punctuator,value:String.fromCharCode(t)+String.fromCharCode(i),lineNumber:C,lineStart:B,start:e,end:r};case 33:case 61:return r+=2,s.charCodeAt(r)===61&&++r,{type:m.Punctuator,value:s.slice(e,r),lineNumber:C,lineStart:B,start:e,end:r}}}if(H=s.substr(r,4),H===">>>=")return r+=4,{type:m.Punctuator,value:H,lineNumber:C,lineStart:B,start:e,end:r};if(_=H.substr(0,3),_===">>>"||_==="<<="||_===">>=")return r+=3,{type:m.Punctuator,value:_,lineNumber:C,lineStart:B,start:e,end:r};if(v=_.substr(0,2),l===v[1]&&"+-<>&|".indexOf(l)>=0||v==="=>")return r+=2,{type:m.Punctuator,value:v,lineNumber:C,lineStart:B,start:e,end:r};if("<>=!+-*%&|^/".indexOf(l)>=0)return++r,{type:m.Punctuator,value:l,lineNumber:C,lineStart:B,start:e,end:r};U({},a.UnexpectedToken,"ILLEGAL")}function z(e){for(var t="";r<h&&$(s[r]);)t+=s[r++];return t.length===0&&U({},a.UnexpectedToken,"ILLEGAL"),G(s.charCodeAt(r))&&U({},a.UnexpectedToken,"ILLEGAL"),{type:m.NumericLiteral,value:parseInt("0x"+t,16),lineNumber:C,lineStart:B,start:e,end:r}}function J(e){for(var t="0"+s[r++];r<h&&R(s[r]);)t+=s[r++];return(G(s.charCodeAt(r))||P(s.charCodeAt(r)))&&U({},a.UnexpectedToken,"ILLEGAL"),{type:m.NumericLiteral,value:parseInt(t,8),octal:!0,lineNumber:C,lineStart:B,start:e,end:r}}function te(){var e,t,i;if(i=s[r],O(P(i.charCodeAt(0))||i===".","Numeric literal must start with a decimal digit or a decimal point"),t=r,e="",i!=="."){if(e=s[r++],i=s[r],e==="0"){if(i==="x"||i==="X")return++r,z(t);if(R(i))return J(t);i&&P(i.charCodeAt(0))&&U({},a.UnexpectedToken,"ILLEGAL")}for(;P(s.charCodeAt(r));)e+=s[r++];i=s[r]}if(i==="."){for(e+=s[r++];P(s.charCodeAt(r));)e+=s[r++];i=s[r]}if(i==="e"||i==="E")if(e+=s[r++],i=s[r],(i==="+"||i==="-")&&(e+=s[r++]),P(s.charCodeAt(r)))for(;P(s.charCodeAt(r));)e+=s[r++];else U({},a.UnexpectedToken,"ILLEGAL");return G(s.charCodeAt(r))&&U({},a.UnexpectedToken,"ILLEGAL"),{type:m.NumericLiteral,value:parseFloat(e),lineNumber:C,lineStart:B,start:t,end:r}}function de(){var e="",t,i,l,v,_,H,X=!1,se,ue;for(se=C,ue=B,t=s[r],O(t==="'"||t==='"',"String literal must starts with a quote"),i=r,++r;r<h;)if(l=s[r++],l===t){t="";break}else if(l==="\\")if(l=s[r++],!l||!j(l.charCodeAt(0)))switch(l){case"u":case"x":H=r,_=k(l),_?e+=_:(r=H,e+=l);break;case"n":e+=` 2`;break;case"r":e+="\r";break;case"t":e+=" ";break;case"b":e+="\b";break;case"f":e+="\f";break;case"v":e+="\v";break;default:R(l)?(v="01234567".indexOf(l),v!==0&&(X=!0),r<h&&R(s[r])&&(X=!0,v=v*8+"01234567".indexOf(s[r++]),"0123".indexOf(l)>=0&&r<h&&R(s[r])&&(v=v*8+"01234567".indexOf(s[r++]))),e+=String.fromCharCode(v)):e+=l;break}else++C,l==="\r"&&s[r]===` 3`&&++r,B=r;else{if(j(l.charCodeAt(0)))break;e+=l}return t!==""&&U({},a.UnexpectedToken,"ILLEGAL"),{type:m.StringLiteral,value:e,octal:X,startLineNumber:se,startLineStart:ue,lineNumber:C,lineStart:B,start:i,end:r}}function xe(e,t){var i;try{i=new RegExp(e,t)}catch{U({},a.InvalidRegExp)}return i}function rt(){var e,t,i,l,v;for(e=s[r],O(e==="/","Regular expression literal must start with a slash"),t=s[r++],i=!1,l=!1;r<h;)if(e=s[r++],t+=e,e==="\\")e=s[r++],j(e.charCodeAt(0))&&U({},a.UnterminatedRegExp),t+=e;else if(j(e.charCodeAt(0)))U({},a.UnterminatedRegExp);else if(i)e==="]"&&(i=!1);else if(e==="/"){l=!0;break}else e==="["&&(i=!0);return l||U({},a.UnterminatedRegExp),v=t.substr(1,t.length-2),{value:v,literal:t}}function Te(){var e,t,i,l;for(t="",i="";r<h&&(e=s[r],!!K(e.charCodeAt(0)));)if(++r,e==="\\"&&r<h)if(e=s[r],e==="u"){if(++r,l=r,e=k("u"),e)for(i+=e,t+="\\u";l<r;++l)t+=s[l];else r=l,i+="u",t+="\\u";W({},a.UnexpectedToken,"ILLEGAL")}else t+="\\",W({},a.UnexpectedToken,"ILLEGAL");else i+=e,t+=e;return{value:i,literal:t}}function Re(){var e,t,i,l,v;return u=null,g(),e=r,t=rt(),i=Te(),v=xe(t.value,i.value),f.tokenize?{type:m.RegularExpression,value:v,lineNumber:C,lineStart:B,start:e,end:r}:{literal:t.literal+i.literal,value:v,start:e,end:r}}function be(){var e,t,i,l;
3return g(),e=r,t={start:{line:C,column:r-B}},i=Re(),t.end={line:C,column:r-B},f.tokenize||(f.tokens.length>0&&(l=f.tokens[f.tokens.length-1],l.range[0]===e&&l.type==="Punctuator"&&(l.value==="/"||l.value==="/=")&&f.tokens.pop()),f.tokens.push({type:"RegularExpression",value:i.literal,range:[e,r],loc:t})),i}function dr(e){return e.type===m.Identifier||e.type===m.Keyword||e.type===m.BooleanLiteral||e.type===m.NullLiteral}function yr(){var e,t;if(e=f.tokens[f.tokens.length-1],!e)return be();if(e.type==="Punctuator"){if(e.value==="]")return q();if(e.value===")")return t=f.tokens[f.openParenToken-1],t&&t.type==="Keyword"&&(t.value==="if"||t.value==="while"||t.value==="for"||t.value==="with")?be():q();if(e.value==="}"){if(f.tokens[f.openCurlyToken-3]&&f.tokens[f.openCurlyToken-3].type==="Keyword"){if(t=f.tokens[f.openCurlyToken-4],!t)return q()}else if(f.tokens[f.openCurlyToken-4]&&f.tokens[f.openCurlyToken-4].type==="Keyword"){if(t=f.tokens[f.openCurlyToken-5],!t)return be()}else return q();return b.indexOf(t.value)>=0?q():be()}return be()}return e.type==="Keyword"?be():q()}function nt(){var e;return g(),r>=h?{type:m.EOF,lineNumber:C,lineStart:B,start:r,end:r}:(e=s.charCodeAt(r),G(e)?ne():e===40||e===41||e===59?q():e===39||e===34?de():e===46?P(s.charCodeAt(r+1))?te():q():P(e)?te():f.tokenize&&e===47?yr():q())}function ct(){var e,t,i,l;return g(),e={start:{line:C,column:r-B}},t=nt(),e.end={line:C,column:r-B},t.type!==m.EOF&&(l=s.slice(t.start,t.end),f.tokens.push({type:w[t.type],value:l,range:[t.start,t.end],loc:e})),t}function M(){var e;return e=u,r=e.end,C=e.lineNumber,B=e.lineStart,u=typeof f.tokens<"u"?ct():nt(),r=e.end,C=e.lineNumber,B=e.lineStart,e}function it(){var e,t,i;e=r,t=C,i=B,u=typeof f.tokens<"u"?ct():nt(),r=e,C=t,B=i}function ft(e,t){this.line=e,this.column=t}function gr(e,t,i,l){this.start=new ft(e,t),this.end=new ft(i,l)}d={name:"SyntaxTree",processComment:function(e){var t,i;if(!(e.type===A.Program&&e.body.length>0)){for(f.trailingComments.length>0?f.trailingComments[0].range[0]>=e.range[1]?(i=f.trailingComments,f.trailingComments=[]):f.trailingComments.length=0:f.bottomRightStack.length>0&&f.bottomRightStack[f.bottomRightStack.length-1].trailingComments&&f.bottomRightStack[f.bottomRightStack.length-1].trailingComments[0].range[0]>=e.range[1]&&(i=f.bottomRightStack[f.bottomRightStack.length-1].trailingComments,delete f.bottomRightStack[f.bottomRightStack.length-1].trailingComments);f.bottomRightStack.length>0&&f.bottomRightStack[f.bottomRightStack.length-1].range[0]>=e.range[0];)t=f.bottomRightStack.pop();t?t.leadingComments&&t.leadingComments[t.leadingComments.length-1].range[1]<=e.range[0]&&(e.leadingComments=t.leadingComments,delete t.leadingComments):f.leadingComments.length>0&&f.leadingComments[f.leadingComments.length-1].range[1]<=e.range[0]&&(e.leadingComments=f.leadingComments,f.leadingComments=[]),i&&(e.trailingComments=i),f.bottomRightStack.push(e)}},markEnd:function(e,t){return f.range&&(e.range=[t.start,r]),f.loc&&(e.loc=new gr(t.startLineNumber===void 0?t.lineNumber:t.startLineNumber,t.start-(t.startLineStart===void 0?t.lineStart:t.startLineStart),C,r-B),this.postProcess(e)),f.attachComment&&this.processComment(e),e},postProcess:function(e){return f.source&&(e.loc.source=f.source),e},createArrayExpression:function(e){return{type:A.ArrayExpression,elements:e}},createAssignmentExpression:function(e,t,i){return{type:A.AssignmentExpression,operator:e,left:t,right:i}},createBinaryExpression:function(e,t,i){var l=e==="||"||e==="&&"?A.LogicalExpression:A.BinaryExpression;return{type:l,operator:e,left:t,right:i}},createBlockStatement:function(e){return{type:A.BlockStatement,body:e}},createBreakStatement:function(e){return{type:A.BreakStatement,label:e}},createCallExpression:function(e,t){return{type:A.CallExpression,callee:e,arguments:t}},createCatchClause:function(e,t){return{type:A.CatchClause,param:e,body:t}},createConditionalExpression:function(e,t,i){return{type:A.ConditionalExpression,test:e,consequent:t,alternate:i}},createContinueStatement:function(e){return{type:A.ContinueStatement,label:e}},createDebuggerStatement:function(){return{type:A.DebuggerStatement}},createDoWhileStatement:function(e,t){return{type:A.DoWhileStatement,body:e,test:t}},createEmptyStatement:function(){return{type:A.EmptyStatement}},createExpressionStatement:function(e){return{type:A.ExpressionStatement,expression:e}},createForStatement:function(e,t,i,l){return{type:A.ForStatement,init:e,test:t,update:i,body:l}},createForInStatement:function(e,t,i){return{type:A.ForInStatement,left:e,right:t,body:i,each:!1}},createFunctionDeclaration:function(e,t,i,l){return{type:A.FunctionDeclaration,id:e,params:t,defaults:i,body:l,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(e,t,i,l){return{type:A.FunctionExpression,id:e,params:t,defaults:i,body:l,rest:null,generator:!1,expression:!1}},createIdentifier:function(e){return{type:A.Identifier,name:e}},createIfStatement:function(e,t,i){return{type:A.IfStatement,test:e,consequent:t,alternate:i}},createLabeledStatement:function(e,t){return{type:A.LabeledStatement,label:e,body:t}}
3,createLiteral:function(e){return{type:A.Literal,value:e.value,raw:s.slice(e.start,e.end)}},createMemberExpression:function(e,t,i){return{type:A.MemberExpression,computed:e==="[",object:t,property:i}},createNewExpression:function(e,t){return{type:A.NewExpression,callee:e,arguments:t}},createObjectExpression:function(e){return{type:A.ObjectExpression,properties:e}},createPostfixExpression:function(e,t){return{type:A.UpdateExpression,operator:e,argument:t,prefix:!1}},createProgram:function(e){return{type:A.Program,body:e}},createProperty:function(e,t,i){return{type:A.Property,key:t,value:i,kind:e}},createReturnStatement:function(e){return{type:A.ReturnStatement,argument:e}},createSequenceExpression:function(e){return{type:A.SequenceExpression,expressions:e}},createSwitchCase:function(e,t){return{type:A.SwitchCase,test:e,consequent:t}},createSwitchStatement:function(e,t){return{type:A.SwitchStatement,discriminant:e,cases:t}},createThisExpression:function(){return{type:A.ThisExpression}},createThrowStatement:function(e){return{type:A.ThrowStatement,argument:e}},createTryStatement:function(e,t,i,l){return{type:A.TryStatement,block:e,guardedHandlers:t,handlers:i,finalizer:l}},createUnaryExpression:function(e,t){return e==="++"||e==="--"?{type:A.UpdateExpression,operator:e,argument:t,prefix:!0}:{type:A.UnaryExpression,operator:e,argument:t,prefix:!0}},createVariableDeclaration:function(e,t){return{type:A.VariableDeclaration,declarations:e,kind:t}},createVariableDeclarator:function(e,t){return{type:A.VariableDeclarator,id:e,init:t}},createWhileStatement:function(e,t){return{type:A.WhileStatement,test:e,body:t}},createWithStatement:function(e,t){return{type:A.WithStatement,object:e,body:t}}};function Oe(){var e,t,i,l;return e=r,t=C,i=B,g(),l=C!==t,r=e,C=t,B=i,l}function U(e,t){var i,l=Array.prototype.slice.call(arguments,2),v=t.replace(/%(\d)/g,function(_,H){return O(H<l.length,"Message reference must be in range"),l[H]});throw typeof e.lineNumber=="number"?(i=new Error("Line "+e.lineNumber+": "+v),i.index=e.start,i.lineNumber=e.lineNumber,i.column=e.start-B+1):(i=new Error("Line "+C+": "+v),i.index=r,i.lineNumber=C,i.c
3olumn=r-B+1),i.description=v,i}function W(){try{U.apply(null,arguments)}catch(e){if(f.errors)f.errors.push(e);else throw e}}function ye(e){if(e.type===m.EOF&&U(e,a.UnexpectedEOS),e.type===m.NumericLiteral&&U(e,a.UnexpectedNumber),e.type===m.StringLiteral&&U(e,a.UnexpectedString),e.type===m.Identifier&&U(e,a.UnexpectedIdentifier),e.type===m.Keyword){if(ee(e.value))U(e,a.UnexpectedReserved);else if(c&&he(e.value)){W(e,a.StrictReservedWord);return}U(e,a.UnexpectedToken,e.value)}U(e,a.UnexpectedToken,e.value)}function L(e){var t=M();(t.type!==m.Punctuator||t.value!==e)&&ye(t)}function re(e){var t=M();(t.type!==m.Keyword||t.value!==e)&&ye(t)}function N(e){return u.type===m.Punctuator&&u.value===e}function ae(e){return u.type===m.Keyword&&u.value===e}function Er(){var e;return u.type!==m.Punctuator?!1:(e=u.value,e==="="||e==="*="||e==="/="||e==="%="||e==="+="||e==="-="||e==="<<="||e===">>="||e===">>>="||e==="&="||e==="^="||e==="|=")}function ge(){var e;if(s.charCodeAt(r)===59||N(";")){M();return}e=C,g(),C===e&&u.type!==m.EOF&&!N("}")&&ye(u)}function je(e){return e.type===A.Identifier||e.type===A.MemberExpression}function Ar(){var e=[],t;for(t=u,L("[");!N("]");)N(",")?(M(),e.push(null)):(e.push(me()),N("]")||L(","));return M(),n.markEnd(n.createArrayExpression(e),t)}function ut(e,t){var i,l,v;return i=c,v=u,l=st(),t&&c&&Z(e[0].name)&&W(t,a.StrictParamName),c=i,n.markEnd(n.createFunctionExpression(null,e,[],l),v)}function Me(){var e,t;return t=u,e=M(),e.type===m.StringLiteral||e.type===m.NumericLiteral?(c&&e.octal&&W(e,a.StrictOctalLiteral),n.markEnd(n.createLiteral(e),t)):n.markEnd(n.createIdentifier(e.value),t)}function Cr(){var e,t,i,l,v,_;if(e=u,_=u,e.type===m.Identifier)return i=Me(),e.value==="get"&&!N(":")?(t=Me(),L("("),L(")"),l=ut([]),n.markEnd(n.createProperty("get",t,l),_)):e.value==="set"&&!N(":")?(t=Me(),L("("),e=u,e.type!==m.Identifier?(L(")"),W(e,a.UnexpectedToken,e.value),l=ut([])):(v=[Ce()],L(")"),l=ut(v,e)),n.markEnd(n.createProperty("set",t,l),_)):(L(":"),l=me(),n.markEnd(n.createProperty("init",i,l),_));if(e.type===m.EOF||e.type===m.Punctuator)ye(e);else return t=Me(),L(":"),l=me(),n.markEnd(n.createProperty("init",t,l),_)}function vr(){var e=[],t,i,l,v,_={},H=String,X;for(X=u,L("{");!N("}");)t=Cr(),t.key.type===A.Identifier?i=t.key.name:i=H(t.key.value),v=t.kind==="init"?y.Data:t.kind==="get"?y.Get:y.Set,l="$"+i,Object.prototype.hasOwnProperty.call(_,l)?(_[l]===y.Data?c&&v===y.Data?W({},a.StrictDuplicateProperty):v!==y.Data&&W({},a.AccessorDataProperty):v===y.Data?W({},a.AccessorDataProperty):_[l]&v&&W({},a.AccessorGetSet),_[l]|=v):_[l]=v,e.push(t),N("}")||L(",");return L("}"),n.markEnd(n.createObjectExpression(e),X)}function Sr(){var e;return L("("),e=ie(),L(")"),e}function pt(){var e,t,i,l;if(N("("))return Sr();if(N("["))return Ar();if(N("{"))return vr();if(e=u.type,l=u,e===m.Identifier)i=n.createIdentifier(M().value);else if(e===m.StringLiteral||e===m.NumericLiteral)c&&u.octal&&W(u,a.StrictOctalLiteral),i=n.createLiteral(M());else if(e===m.Keyword){if(ae("function"))return Kr();ae("this")?(M(),i=n.createThisExpression()):ye(M())}else e===m.BooleanLiteral?(t=M(),t.value=t.value==="true",i=n.createLiteral(t)):e===m.NullLiteral?(t=M(),t.value=null,i=n.createLiteral(t)):N("/")||N("/=")?(typeof f.tokens<"u"?i=n.createLiteral(be()):i=n.createLiteral(Re()),it()):ye(M());return n.markEnd(i,l)}function ht(){var e=[];if(L("("),!N(")"))for(;r<h&&(e.push(me()),!N(")"));)L(",");return L(")"),e}function br(){var e,t;return t=u,e=M(),dr(e)||ye(e),n.markEnd(n.createIdentifier(e.value),t)}function mt(){return L("."),br()}function dt(){var e;return L("["),e=ie(),L("]"),e}function yt(){var e,t,i;return i=u,re("new"),e=Dr(),t=N("(")?ht():[],n.markEnd(n.createNewExpression(e,t),i)}function Fr(){var e,t,i,l,v;for(v=u,e=p.allowIn,p.allowIn=!0,t=ae("new")?yt():pt(),p.allowIn=e;;){if(N("."))l=mt(),t=n.createMemberExpression(".",t,l);else if(N("("))i=ht(),t=n.createCallExpression(t,i);else if(N("["))l=dt(),t=n.createMemberExpression("[",t,l);else break;n.markEnd(t,v)}return t}function Dr(){var e,t,i,l;for(l=u,e=p.allowIn,t=ae("new")?yt():pt(),p.allowIn=e;N(".")||N("[");)N("[")?(i=dt(),t=n.createMemberExpression("[",t,i)):(i=mt(),t=n.createMemberExpression(".",t,i)),n.markEnd(t,l);return t}function gt(){var e,t,i=u;return e=Fr(),u.type===m.Punctuator&&(N("++")||N("--"))&&!Oe()&&(c&&e.type===A.Identifier&&Z(e.name)&&W({},a.StrictLHSPostfix),je(e)||W({},a.InvalidLHSInAssignment),t=M(),e=n.markEnd(n.createPostfixExpression(t.value,e),i)),e}function ke(){var e,t,i;return u.type!==m.Punctuator&&u.type!==m.Keyword?t=gt():N("++")||N("--")?(i=u,e=M(),t=ke(),c&&t.type===A.Identifier&&Z(t.name)&&W({},a.StrictLHSPrefix),je(t)||W({},a.InvalidLHSInAssignment),t=n.createUnaryExpression(e.value,t),t=n.markEnd(t,i)):N("+")||N("-")||N("~")||N("!")?(i=u,e=M(),t=ke(),t=n.createUnaryExpression(e.value,t),t=n.markEnd(t,i)):ae("delete")||ae("void")||ae("typeof")?(i=u,e=M(),t=ke(),t=n.createUnaryExpression(e.value,t),t=n.markEnd(t,i),c&&t.operator==="delete"&&t.argument.type===A.Identifier&&W({},a.StrictDelete)):t=gt(),t}function Et(e,t){var i=0;if(e.type!==m.Punctuator&&e.type!==m.Keyword)return 0;switch(e.value){case"||":i=1;break;case"&&":i=2;break;case"|":i=3;break;case"^":i=4;break;case"&":i=5;break;case"==":case"!=":case"===":case"!==":i=6;break;case"<":case">":case"<=":case">=":case"instanceof":i=7;break;case"in":i=t?7:0;break;case"<<":case">>":case">>>":i=8;break;case"+":case"-":i=9;break;case"*":case"/":case"%":i=11;break;default:break}return i}function xr(){var e,t,i,l,v,_,H,X,se,ue;if(e=u,se=ke(),l=u,v=Et(l,p.allowIn),v===0)return se;for(l.prec=v,M(),t=[e,u],H=ke(),_=[se,l,H];(v=Et(u,p.allowIn))>0;){for(;_.length>2&&v<=_[_.length-2].prec;)H=_.pop(),X=_.pop().value,se=_.pop(),i=n.createBinaryExpression(X,se,H),t.pop(),e=t[t.length-1],n.markEnd(i,e),_.push(i);l=M(),l.prec=v,_.push(l),t.push(u),i=ke(),_.push(i)}for(ue=_.length-1,i=_[ue],t.pop();ue>1;)i=n.createBinaryExpression(_[ue-1].value,_[ue-2],i),ue-=2,e=t.pop(),n.markEnd(i,e);return i}function kr(){var e,t,i,l,v;return v=u,e=xr(),N("?")&&(M(),t=p.allowIn,p.allowIn=!0,i=me(),p.allowIn=t,L(":"),l=me(),e=n.createConditionalExpression(e,i,l),n.markEnd(e,v)),e}function me(){var e,t,i,l,v;return e=u,v=u,l=t=kr(),Er()&&(je(t)||W({},a.InvalidLHSInAssignment),c&&t.type===A.Identifier&&Z(t.name)&&W(e,a.StrictLHSAssignment),e=M(),i=me(),l=n.markEnd(n.createAssignmentExpression(e.value,t,i),v)),l}function ie(){var e,t=u;if(e=me(),N(",")){for(e=n.createSequenceExpression([e]);r<h&&N(",");)M(),e.expressions.push(me());n.markEnd(e,t)}return e}function Br(){for(var e=[],t;r<h&&!(N("}")||(t=Ne(),typeof t>"u"));)e.push(t);return e}function Ue(){var e,t;
3return t=u,L("{"),e=Br(),L("}"),n.markEnd(n.createBlockStatement(e),t)}function Ce(){var e,t;return t=u,e=M(),e.type!==m.Identifier&&ye(e),n.markEnd(n.createIdentifier(e.value),t)}function wr(e){var t=null,i,l;return l=u,i=Ce(),c&&Z(i.name)&&W({},a.StrictVarName),e==="const"?(L("="),t=me()):N("=")&&(M(),t=me()),n.markEnd(n.createVariableDeclarator(i,t),l)}function at(e){var t=[];do{if(t.push(wr(e)),!N(","))break;M()}while(r<h);return t}function Ir(){var e;return re("var"),e=at(),ge(),n.createVariableDeclaration(e,"var")}function _r(e){var t,i;return i=u,re(e),t=at(e),ge(),n.markEnd(n.createVariableDeclaration(t,e),i)}function Tr(){return L(";"),n.createEmptyStatement()}function Or(){var e=ie();return ge(),n.createExpressionStatement(e)}function Nr(){var e,t,i;return re("if"),L("("),e=ie(),L(")"),t=Ee(),ae("else")?(M(),i=Ee()):i=null,n.createIfStatement(e,t,i)}function Lr(){var e,t,i;return re("do"),i=p.inIteration,p.inIteration=!0,e=Ee(),p.inIteration=i,re("while"),L("("),t=ie(),L(")"),N(";")&&M(),n.createDoWhileStatement(e,t)}function Pr(){var e,t,i;return re("while"),L("("),e=ie(),L(")"),i=p.inIteration,p.inIteration=!0,t=Ee(),p.inIteration=i,n.createWhileStatement(e,t)}function Rr(){var e,t,i;return i=u,e=M(),t=at(),n.markEnd(n.createVariableDeclaration(t,e.value),i)}function jr(){var e,t,i,l,v,_,H;return e=t=i=null,re("for"),L("("),N(";")?M():(ae("var")||ae("let")?(p.allowIn=!1,e=Rr(),p.allowIn=!0,e.declarations.length===1&&ae("in")&&(M(),l=e,v=ie(),e=null)):(p.allowIn=!1,e=ie(),p.allowIn=!0,ae("in")&&(je(e)||W({},a.InvalidLHSInForIn),M(),l=e,v=ie(),e=null)),typeof l>"u"&&L(";")),typeof l>"u"&&(N(";")||(t=ie()),L(";"),N(")")||(i=ie())),L(")"),H=p.inIteration,p.inIteration=!0,_=Ee(),p.inIteration=H,typeof l>"u"?n.createForStatement(e,t,i,_):n.createForInStatement(l,v,_)}function Mr(){var e=null,t;return re("continue"),s.charCodeAt(r)===59?(M(),p.inIteration||U({},a.IllegalContinue),n.createContinueStatement(null)):Oe()?(p.inIteration||U({},a.IllegalContinue),n.createContinueStatement(null)):(u.type===m.Identifier&&(e=Ce(),t="$"+e.name,Object.prototype.hasOwnProperty.call(p.labelSet,t)||U({},a.UnknownLabel,e.name)),ge(),e===null&&!p.inIteration&&U({},a.IllegalContinue),n.createContinueStatement(e))}function Ur(){var e=null,t;return re("break"),s.charCodeAt(r)===59?(M(),p.inIteration||p.inSwitch||U({},a.IllegalBreak),n.createBreakStatement(null)):Oe()?(p.inIteration||p.inSwitch||U({},a.IllegalBreak),n.createBreakStatement(null)):(u.type===m.Identifier&&(e=Ce(),t="$"+e.name,Object.prototype.hasOwnProperty.call(p.labelSet,t)||U({},a.UnknownLabel,e.name)),ge(),e===null&&!(p.inIteration||p.inSwitch)&&U({},a.IllegalBreak),n.createBreakStatement(e))}function Hr(){var e=null;return re("return"),p.inFunctionBody||W({},a.IllegalReturn),s.charCodeAt(r)===32&&G(s.charCodeAt(r+1))?(e=ie(),ge(),n.createReturnStatement
3(e)):Oe()?n.createReturnStatement(null):(N(";")||!N("}")&&u.type!==m.EOF&&(e=ie()),ge(),n.createReturnStatement(e))}function $r(){var e,t;return c&&(g(),W({},a.StrictModeWith)),re("with"),L("("),e=ie(),L(")"),t=Ee(),n.createWithStatement(e,t)}function zr(){var e,t=[],i,l;for(l=u,ae("default")?(M(),e=null):(re("case"),e=ie()),L(":");r<h&&!(N("}")||ae("default")||ae("case"));)i=Ee(),t.push(i);return n.markEnd(n.createSwitchCase(e,t),l)}function qr(){var e,t,i,l,v;if(re("switch"),L("("),e=ie(),L(")"),L("{"),t=[],N("}"))return M(),n.createSwitchStatement(e,t);for(l=p.inSwitch,p.inSwitch=!0,v=!1;r<h&&!N("}");)i=zr(),i.test===null&&(v&&U({},a.MultipleDefaultsInSwitch),v=!0),t.push(i);return p.inSwitch=l,L("}"),n.createSwitchStatement(e,t)}function Gr(){var e;return re("throw"),Oe()&&U({},a.NewlineAfterThrow),e=ie(),ge(),n.createThrowStatement(e)}function Wr(){var e,t,i;return i=u,re("catch"),L("("),N(")")&&ye(u),e=Ce(),c&&Z(e.name)&&W({},a.StrictCatchVariable),L(")"),t=Ue(),n.markEnd(n.createCatchClause(e,t),i)}function Vr(){var e,t=[],i=null;return re("try"),e=Ue(),ae("catch")&&t.push(Wr()),ae("finally")&&(M(),i=Ue()),t.length===0&&!i&&U({},a.NoCatchOrFinally),n.createTryStatement(e,[],t,i)}function Xr(){return re("debugger"),ge(),n.createDebuggerStatement()}function Ee(){var e=u.type,t,i,l,v;if(e===m.EOF&&ye(u),e===m.Punctuator&&u.value==="{")return Ue();if(v=u,e===m.Punctuator)switch(u.value){case";":return n.markEnd(Tr(),v);case"(":return n.markEnd(Or(),v);default:break}if(e===m.Keyword)switch(u.value){case"break":return n.markEnd(Ur(),v);case"continue":return n.markEnd(Mr(),v);case"debugger":return n.markEnd(Xr(),v);case"do":return n.markEnd(Lr(),v);case"for":return n.markEnd(jr(),v);case"function":return n.markEnd(Ct(),v);case"if":return n.markEnd(Nr(),v);case"return":return n.markEnd(Hr(),v);case"switch":return n.markEnd(qr(),v);case"throw":return n.markEnd(Gr(),v);case"try":return n.markEnd(Vr(),v);case"var":return n.markEnd(Ir(),v);case"while":return n.markEnd(Pr(),v);case"with":return n.markEnd($r(),v);default:break}return t=ie(),t.type===A.Identifier&&N(":")?(M(),l="$"+t.name,Object.prototype.hasOwnProperty.call(p.labelSet,l)&&U({},a.Redeclaration,"Label",t.name),p.labelSet[l]=!0,i=Ee(),delete p.labelSet[l],n.markEnd(n.createLabeledStatement(t,i),v)):(ge(),n.markEnd(n.createExpressionStatement(t),v))}function st(){var e,t=[],i,l,v,_,H,X,se,ue;for(ue=u,L("{");r<h&&!(u.type!==m.StringLiteral||(i=u,e=Ne(),t.push(e),e.expression.type!==A.Literal));)l=s.slice(i.start+1,i.end-1),l==="use strict"?(c=!0,v&&W(v,a.StrictOctalLiteral)):!v&&i.octal&&(v=i);for(_=p.labelSet,H=p.inIteration,X=p.inSwitch,se=p.inFunctionBody,p.labelSet={},p.inIteration=!1,p.inSwitch=!1,p.inFunctionBody=!0;r<h&&!(N("}")||(e=Ne(),typeof e>"u"));)t.push(e);return L("}"),p.labelSet=_,p.inIteration=H,p.inSwitch=X,p.inFunctionBody=se,n.markEnd(n.createBlockStatement(t),ue)}function At(e){var t,i=[],l,v,_,H,X;if(L("("),!N(")"))for(_={};r<h&&(l=u,t=Ce(),H="$"+l.value,c?(Z(l.value)&&(v=l,X=a.StrictParamName),Object.prototype.hasOwnProperty.call(_,H)&&(v=l,X=a.StrictParamDupe)):e||(Z(l.value)?(e=l,X=a.StrictParamName):he(l.value)?(e=l,X=a.StrictReservedWord):Object.prototype.hasOwnProperty.call(_,H)&&(e=l,X=a.StrictParamDupe)),i.push(t),_[H]=!0,!N(")"));)L(",");return L(")"),{params:i,stricted:v,firstRestricted:e,message:X}}function Ct(){var e,t=[],i,l,v,_,H,X,se,ue;return ue=u,re("function"),l=u,e=Ce(),c?Z(l.value)&&W(l,a.StrictFunctionName):Z(l.value)?(H=l,X=a.StrictFunctionName):he(l.value)&&(H=l,X=a.StrictReservedWord),_=At(H),t=_.params,v=_.stricted,H=_.firstRestricted,_.message&&(X=_.message),se=c,i=st(),c&&H&&U(H,X),c&&v&&W(v,X),c=se,n.markEnd(n.createFunctionDeclaration(e,t,[],i),ue)}function Kr(){var e,t=null,i,l,v,_,H=[],X,se,ue;return ue=u,re("function"),N("(")||(e=u,t=Ce(),c?Z(e.value)&&W(e,a.StrictFunctionName):Z(e.value)?(l=e,v=a.StrictFunctionName):he(e.value)&&(l=e,v=a.StrictReservedWord)),_=At(l),H=_.params,i=_.stricted,l=_.firstRestricted,_.message&&(v=_.message),se=c,X=st(),c&&l&&U(l,v),c&&i&&W(i,v),c=se,n.markEnd(n.createFunctionExpression(t,H,[],X),ue)}function Ne(){if(u.type===m.Keyword)switch(u.value){case"const":case"let":return _r(u.value);case"function":return Ct();default:return Ee()}if(u.type!==m.EOF)return Ee()}function Jr(){for(var e,t=[],i,l,v;r<h&&(i=u,!(i.type!==m.StringLiteral||(e=Ne(),t.push(e),e.expression.type!==A.Literal)));)l=s.slice(i.start+1,i.end-1),l==="use strict"?(c=!0,v&&W(v,a.StrictOctalLiteral)):!v&&i.octal&&(v=i);for(;r<h&&(e=Ne(),!(typeof e>"u"));)t.push(e);return t}function Qr(){var e,t;
3return g(),it(),t=u,c=!1,e=Jr(),n.markEnd(n.createProgram(e),t)}function vt(){var e,t,i,l=[];for(e=0;e<f.tokens.length;++e)t=f.tokens[e],i={type:t.type,value:t.value},f.range&&(i.range=t.range),f.loc&&(i.loc=t.loc),l.push(i);f.tokens=l}function Yr(e,t){var i,l,v;i=String,typeof e!="string"&&!(e instanceof String)&&(e=i(e)),n=d,s=e,r=0,C=s.length>0?1:0,B=0,h=s.length,u=null,p={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},f={},t=t||{},t.tokens=!0,f.tokens=[],f.tokenize=!0,f.openParenToken=-1,f.openCurlyToken=-1,f.range=typeof t.range=="boolean"&&t.range,f.loc=typeof t.loc=="boolean"&&t.loc,typeof t.comment=="boolean"&&t.comment&&(f.comments=[]),typeof t.tolerant=="boolean"&&t.tolerant&&(f.errors=[]);try{if(it(),u.type===m.EOF)return f.tokens;for(l=M();u.type!==m.EOF;)try{l=M()}catch(_){if(l=u,f.errors){f.errors.push(_);break}else throw _}vt(),v=f.tokens,typeof f.comments<"u"&&(v.comments=f.comments),typeof f.errors<"u"&&(v.errors=f.errors)}catch(_){throw _}finally{f={}}return v}function Zr(e,t){var i,l;l=String,typeof e!="string"&&!(e instanceof String)&&(e=l(e)),n=d,s=e,r=0,C=s.length>0?1:0,B=0,h=s.length,u=null,p={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},f={},typeof t<"u"&&(f.range=typeof t.range=="boolean"&&t.range,f.loc=typeof t.loc=="boolean"&&t.loc,f.attachComment=typeof t.attachComment=="boolean"&&t.attachComment,f.loc&&t.source!==null&&t.source!==void 0&&(f.source=l(t.source)),typeof t.tokens=="boolean"&&t.tokens&&(f.tokens=[]),typeof t.comment=="boolean"&&t.comment&&(f.comments=[]),typeof t.tolerant=="boolean"&&t.tolerant&&(f.errors=[]),f.attachComment&&(f.range=!0,f.comments=[],f.bottomRightStack=[],f.trailingComments=[],f.leadingComments=[]));try{i=Qr(),typeof f.comments<"u"&&(i.comments=f.comments),typeof f.tokens<"u"&&(vt(),i.tokens=f.tokens),typeof f.errors<"u"&&(i.errors=f.errors)}catch(v){throw v}finally{f={}}return i}D.version="1.2.2",D.tokenize=Yr,D.parse=Zr,D.Syntax=(function(){var e,t={};typeof Object.create=="function"&&(t=Object.create(null));for(e in A)A.hasOwnProperty(e)&&(t[e]=A[e]);return typeof Object.freeze=="function"&&Object.freeze(t),t})()})},{}],1:[function(E,F,x){(function(D){var m=(function(){var w={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(o,d,s,c,r,C,B){c.ast||(c.ast=b,b.initialize());var h=C.length-1;switch(r){case 1:return c.ast.set({expression:{type:"root",value:C[h]}}),c.ast.unshift(),c.ast.yield();break;case 2:return c.ast.set({expression:{type:"root",value:C[h-1]}}),c.ast.unshift(),c.ast.yield();break;case 3:return c.ast.unshift(),c.ast.yield();break;case 4:return c.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:C[h-1]}}),c.ast.unshift(),c.ast.yield();break;case 5:break;case 6:break;case 7:c.ast.set({operation:"member"}),c.ast.push();break;case 8:c.ast.set({operation:"subscript"}),c.ast.push();break;case 9:c.ast.set({scope:"child"});break;case 10:c.ast.set({scope:"descendant"});break;case 11:break;case 12:c.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:c.ast.set({expression:{type:"wildcard",value:C[h]}});break;case 15:c.ast.set({expression:{type:"identifier",value:C[h]}});break;case 16:c.ast.set({expression:{type:"script_expression",value:C[h]}});break;case 17:c.ast.set({expression:{type:"numeric_literal",value:parseInt(C[h])}});break;case 18:break;case 19:c.ast.set({scope:"child"});break;case 20:c.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:C[h].length>1?c.ast.set({expression:{type:"union",value:C[h]}}):this.$=C[h];break;case 25:this.$=[C[h]];break;case 26:this.$=C[h-2].concat(C[h]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(C[h])}},c.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:C[h]}},c.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:C[h]}},c.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:C[h]}},c.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:C[h]}},c.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:C[h]}},c.ast.set(this.$);break;case 33:this.$=C[h];break;case 34:this.$=C[h];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]}
3,{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(o,d){if(d.recoverable)this.trace(o);else throw new Error(o)},parse:function(o){var d=this,s=[0],c=[null],r=[],C=this.table,B="",h=0,n=0,u=0,p=2,f=1,O=r.slice.call(arguments,1);this.lexer.setInput(o),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var P=this.lexer.yylloc;r.push(P);var $=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function R(I){s.length=s.length-2*I,c.length=c.length-I,r.length=r.length-I}function Q(){var I;return I=d.lexer.lex()||f,typeof I!="number"&&(I=d.symbols_[I]||I),I}for(var j,G,K,ee,he,Z,ce={},oe,le,Se,g;;){if(K=s[s.length-1],this.defaultActions[K]?ee=this.defaultActions[K]:((j===null||typeof j>"u")&&(j=Q()),ee=C[K]&&C[K][j]),typeof ee>"u"||!ee.length||!ee[0]){var k="";g=[];for(oe in C[K])this.terminals_[oe]&&oe>p&&g.push("'"+this.terminals_[oe]+"'");this.lexer.showPosition?k="Parse error on line "+(h+1)+`: 4`+this.lexer.showPosition()+` 5Expecting `+g.join(", ")+", got '"+(this.terminals_[j]||j)+"'":k="Parse error on line "+(h+1)+": Unexpected "+(j==f?"end of input":"'"+(this.terminals_[j]||j)+"'"),this.parseError(k,{text:this.lexer.match,token:this.terminals_[j]||j,line:this.lexer.yylineno,loc:P,expected:g})}if(ee[0]instanceof Array&&ee.length>1)throw new Error("Parse Error: multiple actions possible at state: "+K+", token: "+j);switch(ee[0]){case 1:s.push(j),c.push(this.lexer.yytext),r.push(this.lexer.yylloc),s.push(ee[1]),j=null,G?(j=G,G=null):(n=this.lexer.yyleng,B=this.lexer.yytext,h=this.lexer.yylineno,P=this.lexer.yylloc,u>0&&u--);break;case 2:if(le=this.productions_[ee[1]][1],ce.$=c[c.length-le],ce._$={first_line:r[r.length-(le||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(le||1)].first_column,last_column:r[r.length-1].last_column},$&&(ce._$.range=[r[r.length-(le||1)].range[0],r[r.length-1].range[1]]),Z=this.performAction.apply(ce,[B,n,h,this.yy,ee[1],c,r].concat(O)),typeof Z<"u")return Z;le&&(s=s.slice(0,-1*le*2),c=c.slice(0,-1*le),r=r.slice(0,-1*le)),s.push(this.productions_[ee[1]][0]),c.push(ce.$),r.push(ce._$),Se=C[s[s.length-2]][s[s.length-1]],s.push(Se);break;case 3:return!0}}return!0}},b={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(a){for(var o in a)this._node[o]=a[o];return this._node},node:function(a){return arguments.length&&(this._node=a),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var a=this._nodes;return this.initialize(),a}},A=(function(){var a={EOF:1,parseError:function(d,s){if(this.yy.parser)this.yy.parser.parseError(d,s);else throw new Error(d)},setInput:function(o){return this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}
5,input:function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var d=o.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},unput:function(o){var d=o.length,s=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d-1),this.offset-=d;var c=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===c.length?this.yylloc.first_column:0)+c[c.length-s.length].length-s[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). 6`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(o){this.unput(this.match.slice(o))},pastInput:function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var o=this.pastInput(),d=new Array(o.length+1).join("-");return o+this.upcomingInput()+` 7`+d+"^"},test_match:function(o,d){var s,c,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),c=o[0].match(/(?:\r\n?|\n).*/g),c&&(this.yylineno+=c.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:c?c[c.length-1].length-c[c.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],s=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack){for(var C in r)this[C]=r[C];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var o,d,s,c;this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),C=0;C<r.length;C++)if(s=this._input.match(this.rules[r[C]]),s&&(!d||s[0].length>d[0].length)){if(d=s,c=C,this.options.backtrack_lexer){if(o=this.test_match(s,r[C]),o!==!1)return o;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(o=this.test_match(d,r[c]),o!==!1?o:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. 8`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var d=this.next();return d||this.lex()},begin:function(d){this.conditionStack.push(d)},popState:function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},pushState:function(d){this.begin(d)},stateStackSize:function(){return this.conditionStack.length},options:{}
8,performAction:function(d,s,c,r){var C=r;switch(c){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return s.yytext=s.yytext.substr(1,s.yyleng-2),32;break;case 11:return s.yytext=s.yytext.substr(1,s.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return a})();w.lexer=A;function y(){this.yy={}}return y.prototype=w,w.Parser=y,new y})();typeof E<"u"&&typeof x<"u"&&(x.parser=m,x.Parser=m.Parser,x.parse=function(){return m.parse.apply(m,arguments)},x.main=function(b){b[1]||(console.log("Usage: "+b[0]+" FILE"),D.exit(1));var A=E("fs").readFileSync(E("path").normalize(b[1]),"utf8");return x.parser.parse(A)},typeof F<"u"&&E.main===F&&x.main(D.argv.slice(1)))}).call(this,E("_process"))},{_process:14,fs:12,path:13}],2:[function(E,F,x){F.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(E,F,x){var D=E("./dict"),m=E("fs"),w={lex:{macros:{esc:"\\\\",int:D.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[D.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[D.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[D.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};m.readFileSync&&(w.moduleInclude=m.readFileSync(E.resolve("../include/module.js")),w.actionInclude=m.readFileSync(E.resolve("../include/action.js"))),F.exports=w},{"./dict":2,fs:12}],4:[function(E,F,x){var D=E("./aesprim"),m=E("./slice"),w=E("static-eval"),b=E("underscore").uniq,A=function(){return this.initialize.apply(this,arguments)};A.prototype.initialize=function(){this.traverse=d(!0),this.descend=d()},A.prototype.keys=Object.keys,A.prototype.resolve=function(h){var n=[h.operation,h.scope,h.expression.type].join("-"),u=this._fns[n];if(!u)throw new Error("couldn't resolve key: "+n);return u.bind(this)},A.prototype.register=function(h,n){if(!n instanceof Function)throw new Error("handler must be a function");this._fns[h]=n},A.prototype._fns={"member-child-identifier":function(h,n){var u=h.expression.value,p=n.value;if(p instanceof Object&&u in p)return[{value:p[u],path:n.path.concat(u)}]},"member-descendant-identifier":c(function(h,n,u){return h==u}),"subscript-child-numeric_literal":s(function(h,n,u){return h===u}),"member-child-numeric_literal":s(function(h,n,u){return String(h)===String(u)}),"subscript-descendant-numeric_literal":c(function(h,n,u){return h===u}),"member-child-wildcard":s(function(){return!0}),"member-descendant-wildcard":c(function(){return!0}),"subscript-descendant-wildcard":c(function(){return!0}),"subscript-child-wildcard":s(function(){return!0}),"subscript-child-slice":function(h,n){if(a(n.value)){var u=h.expression.value.split(":").map(B),p=n.value.map(function(f,O){return{value:f,path:n.path.concat(O)}});return m.apply(null,[p].concat(u))}},"subscript-child-union":function(h,n){var u=[];return h.expression.value.forEach(function(p){var f={operation:"subscript",scope:"child",expression:p.expression},O=this.resolve(f),P=O(f,n);P&&(u=u.concat(P))},this),C(u)},"subscript-descendant-union":function(h,n,u){var p=E(".."),f=this,O=[],P=p.nodes(n,"$..*").slice(1);return P.forEach(function($){O.length>=u||h.expression.value.forEach(function(R){var Q={operation:"subscript",scope:"child",expression:R.expression},j=f.resolve(Q),G=j(Q,$);O=O.concat(G)})}),C(O)},"subscript-child-filter_expression":function(h,n,u){var p=h.expression.value.slice(2,-1),f=D.parse(p).body[0].expression,O=function(P,$){return r(f,{"@":$})};return this.descend(n,null,O,u)},"subscript-descendant-filter_expression":function(h,n,u){var p=h.expression.value.slice(2,-1),f=D.parse(p).body[0].expression,O=function(P,$){return r(f,{"@":$})};return this.traverse(n,null,O,u)},"subscript-child-script_expression":function(h,n){var u=h.expression.value.slice(1,-1);return y(n,u,"$[{{value}}]")},"member-child-script_expression":function(h,n){var u=h.expression.value.slice(1,-1);return y(n,u,"$.{{value}}")},"member-descendant-script_expression":function(h,n){var u=h.expression.value.slice(1,-1);return y(n,u,"$..value")}},A.prototype._fns["subscript-child-string_literal"]=A.prototype._fns["member-child-identifier"],A.prototype._fns["member-descendant-numeric_literal"]=A.prototype._fns["subscript-descendant-string_literal"]=A.prototype._fns["member-descendant-identifier"];function y(h,n,u){var p=E("./index"),f=D.parse(n).body[0].expression,O=r(f,{"@":h.value}),P=u.replace(/\{\{\s*value\s*\}\}/g,O),$=p.nodes(h.value,P);
8return $.forEach(function(R){R.path=h.path.concat(R.path.slice(1))}),$}function a(h){return Array.isArray(h)}function o(h){return h&&!(h instanceof Array)&&h instanceof Object}function d(h){return function(n,u,p,f){var O=n.value,P=n.path,$=[],R=(function(Q,j){a(Q)?(Q.forEach(function(G,K){$.length>=f||p(K,G,u)&&$.push({path:j.concat(K),value:G})}),Q.forEach(function(G,K){$.length>=f||h&&R(G,j.concat(K))})):o(Q)&&(this.keys(Q).forEach(function(G){$.length>=f||p(G,Q[G],u)&&$.push({path:j.concat(G),value:Q[G]})}),this.keys(Q).forEach(function(G){$.length>=f||h&&R(Q[G],j.concat(G))}))}).bind(this);return R(O,P),$}}function s(h){return function(n,u,p){return this.descend(u,n.expression.value,h,p)}}function c(h){return function(n,u,p){return this.traverse(u,n.expression.value,h,p)}}function r(){try{return w.apply(this,arguments)}catch{}}function C(h){return h=h.filter(function(n){return n}),b(h,function(n){return n.path.map(function(u){return String(u).replace("-","--")}).join("-")})}function B(h){var n=String(h);return n.match(/^-?[0-9]+$/)?parseInt(n):null}F.exports=A},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(E,F,x){var D=E("assert"),m=E("./dict"),w=E("./parser"),b=E("./handlers"),A=function(){this.initialize.apply(this,arguments)};A.prototype.initialize=function(){this.parser=new w,this.handlers=new b},A.prototype.parse=function(o){return D.ok(y(o),"we need a path"),this.parser.parse(o)},A.prototype.parent=function(o,d){D.ok(o instanceof Object,"obj needs to be an object"),D.ok(d,"we need a path");var s=this.nodes(o,d)[0],c=s.path.pop();return this.value(o,s.path)},A.prototype.apply=function(o,d,s){D.ok(o instanceof Object,"obj needs to be an object"),D.ok(d,"we need a path"),D.equal(typeof s,"function","fn needs to be function");var c=this.nodes(o,d).sort(function(r,C){return C.path.length-r.path.length});return c.forEach(function(r){var C=r.path.pop(),B=this.value(o,this.stringify(r.path)),h=r.value=s.call(o,B[C]);B[C]=h},this),c},A.prototype.value=function(o,d,s){if(D.ok(o instanceof Object,"obj needs to be an object"),D.ok(d,"we need a path"),arguments.length>=3){var c=this.nodes(o,d).shift();if(!c)return this._vivify(o,d,s);var r=c.path.slice(-1).shift(),C=this.parent(o,this.stringify(c.path));C[r]=s}return this.query(o,this.stringify(d),1).shift()},A.prototype._vivify=function(o,d,s){var c=this;D.ok(o instanceof Object,"obj needs to be an object"),D.ok(d,"we need a path");var r=this.parser.parse(d).map(function(B){return B.expression.value}),C=function(B,h){var n=B.pop(),u=c.value(o,B);u||(C(B.concat(),typeof n=="string"?{}:[]),u=c.value(o,B)),u[n]=h};return C(r,s),this.query(o,d)[0]},A.prototype.query=function(o,d,s){D.ok(o instanceof Object,"obj needs to be an object"),D.ok(y(d),"we need a path");var c=this.nodes(o,d,s).map(function(r){return r.value});return c},A.prototype.paths=function(o,d,s){D.ok(o instanceof Object,"obj needs to be an object"),D.ok(d,"we need a path");var c=this.nodes(o,d,s).map(function(r){return r.path});return c},A.prototype.nodes=function(o,d,s){if(D.ok(o instanceof Object,"obj needs to be an object"),D.ok(d,"we need a path"),s===0)return[];var c=this.parser.parse(d),r=this.handlers,C=[{path:["$"],value:o}],B=[];return c.length&&c[0].expression.type=="root"&&c.shift(),c.length?(c.forEach(function(h,n){if(!(B.length>=s)){var u=r.resolve(h),p=[];C.forEach(function(f){if(!(B.length>=s)){var O=u(h,f,s);n==c.length-1?B=B.concat(O||[]):p=p.concat(O||[])}}),C=p}}),s?B.slice(0,s):B):C},A.prototype.stringify=function(o){D.ok(o,"we need a path");var d="$",s={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return o=this._normalize(o),o.forEach(function(c){if(c.expression.type!="root"){var r=[c.scope,c.operation].join("-"),C=s[r],B;if(c.expression.type=="string_literal"?B=JSON.stringify(c.expression.value):B=c.expression.value,!C)throw new Error("couldn't find template "+r);d+=C.replace(/{{value}}/,B)}}),d},A.prototype._normalize=function(o){if(D.ok(o,"we need a path"),typeof o=="str
8ing")return this.parser.parse(o);if(Array.isArray(o)&&typeof o[0]=="string"){var d=[{expression:{type:"root",value:"$"}}];return o.forEach(function(s,c){if(!(s=="$"&&c===0))if(typeof s=="string"&&s.match("^"+m.identifier+"$"))d.push({operation:"member",scope:"child",expression:{value:s,type:"identifier"}});else{var r=typeof s=="number"?"numeric_literal":"string_literal";d.push({operation:"subscript",scope:"child",expression:{value:s,type:r}})}}),d}else if(Array.isArray(o)&&typeof o[0]=="object")return o;throw new Error("couldn't understand path "+o)};function y(o){return Object.prototype.toString.call(o)=="[object String]"}A.Handlers=b,A.Parser=w;var a=new A;a.JSONPath=A,F.exports=a},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(E,F,x){var D=E("./grammar"),m=E("../generated/parser"),w=function(){var b=new m.Parser,A=b.parseError;return b.yy.parseError=function(){b.yy.ast&&b.yy.ast.initialize(),A.apply(b,arguments)},b};w.grammar=D,F.exports=w},{"../generated/parser":1,"./grammar":3}],7:[function(E,F,x){F.exports=function(m,w,b,A){if(typeof w=="string")throw new Error("start cannot be a string");if(typeof b=="string")throw new Error("end cannot be a string");if(typeof A=="string")throw new Error("step cannot be a string");var y=m.length;if(A===0)throw new Error("step cannot be zero");if(A=A?D(A):1,w=w<0?y+w:w,b=b<0?y+b:b,w=D(w===0?0:w||(A>0?0:y-1)),b=D(b===0?0:b||(A>0?y:-1)),w=A>0?Math.max(0,w):Math.min(y,w),b=A>0?Math.min(b,y):Math.max(-1,b),A>0&&b<=w)return[];if(A<0&&w<=b)return[];for(var a=[],o=w;o!=b&&!(A<0&&o<=b||A>0&&o>=b);o+=A)a.push(m[o]);return a};function D(m){return String(m).match(/^[0-9]+$/)?parseInt(m):Number.isFinite(m)?parseInt(m,10):0}},{}],8:[function(E,F,x){var D=E("util/"),m=Array.prototype.slice,w=Object.prototype.hasOwnProperty,b=F.exports=d;b.AssertionError=function(u){this.name="AssertionError",this.actual=u.actual,this.expected=u.expected,this.operator=u.operator,u.message?(this.message=u.message,this.generatedMessage=!1):(this.message=a(this),this.generatedMessage=!0);var p=u.stackStartFunction||o;if(Error.captureStackTrace)Error.captureStackTrace(this,p);else{var f=new Error;if(f.stack){var O=f.stack,P=p.name,$=O.indexOf(` 9`+P);if($>=0){var R=O.indexOf(` 10`,$+1);O=O.substring(R+1)}this.stack=O}}},D.inherits(b.AssertionError,Error);function A(n,u){return D.isUndefined(u)?""+u:D.isNumber(u)&&!isFinite(u)||D.isFunction(u)||D.isRegExp(u)?u.toString():u}function y(n,u){return D.isString(n)?n.length<u?n:n.slice(0,u):n}function a(n){return y(JSON.stringify(n.actual,A),128)+" "+n.operator+" "+y(JSON.stringify(n.expected,A),128)}function o(n,u,p,f,O){throw new b.AssertionError({message:p,actual:n,expected:u,operator:f,stackStartFunction:O})}b.fail=o;function d(n,u){n||o(n,!0,u,"==",b.ok)}b.ok=d,b.equal=function(u,p,f){u!=p&&o(u,p,f,"==",b.equal)},b.notEqual=function(u,p,f){u==p&&o(u,p,f,"!=",b.notEqual)},b.deepEqual=function(u,p,f){s(u,p)||o(u,p,f,"deepEqual",b.deepEqual)};function s(n,u){if(n===u)return!0;if(D.isBuffer(n)&&D.isBuffer(u)){if(n.length!=u.length)return!1;for(var p=0;p<n.length;p++)if(n[p]!==u[p])return!1;return!0}else return D.isDate(n)&&D.isDate(u)?n.getTime()===u.getTime():D.isRegExp(n)&&D.isRegExp(u)?n.source===u.source&&n.global===u.global&&n.multiline===u.multiline&&n.lastIndex===u.lastIndex&&n.ignoreCase===u.ignoreCase:!D.isObject(n)&&!D.isObject(u)?n==u:r(n,u)}function c(n){return Object.prototype.toString.call(n)=="[object Arguments]"}function r(n,u){if(D.isNullOrUndefined(n)||D.isNullOrUndefined(u)||n.prototype!==u.prototype)return!1;if(D.isPrimitive(n)||D.isPrimitive(u))return n===u;var p=c(n),f=c(u);if(p&&!f||!p&&f)return!1;if(p)return n=m.call(n),u=m.call(u),s(n,u);var O=h(n),P=h(u),$,R;if(O.length!=P.length)return!1;for(O.sort(),P.sort(),R=O.length-1;R>=0;R--)if(O[R]!=P[R])return!1;for(R=O.length-1;R>=0;R--)if($=O[R],!s(n[$],u[$]))return!1;return!0}b.notDeepEqual=function(u,p,f){s(u,p)&&o(u,p,f,"notDeepEqual",b.notDeepEqual)},b.strictEqual=function(u,p,f){u!==p&&o(u,p,f,"===",b.strictEqual)},b.notStrictEqual=function(u,p,f){u===p&&o(u,p,f,"!==",b.notStrictEqual)};function C(n,u){return!n||!u?!1:Object.prototype.toString.call(u)=="[object RegExp]"?u.test(n):n instanceof u?!0:u.call({},n)===!0}function B(n,u,p,f){var O;D.isString(p)&&(f=p,p=null);try{u()}catch(P){O=P}if(f=(p&&p.name?" ("+p.name+").":".")+(f?" "+f:"."),n&&!O&&o(O,p,"Missing expected exception"+f),!n&&C(O,p)&&o(O,p,"Got unwanted exception"+f),n&&O&&p&&!C(O,p)||!n&&O)throw O}b.throws=function(n,u,p){B.apply(this,[!0].concat(m.call(arguments)))},b.doesNotThrow=function(n,u){B.apply(this,[!1].concat(m.call(arguments)))},b.ifError=function(n){if(n)throw n};var h=Object.keys||function(n){var u=[];for(var p in n)w.call(n,p)&&u.push(p);return u}},{"util/":11}],9:[function(E,F,x){typeof Object.create=="function"?F.exports=function(m,w){m.super_=w,m.prototype=Object.create(w.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}})}:F.exports=function(m,w){m.super_=w;var b=function(){};b.prototype=w.prototype,m.prototype=new b,m.prototype.constructor=m}},{}],10:[function(E,F,x){F.exports=function(m){return m&&typeof m=="object"&&typeof m.copy=="function"&&typeof m.fill=="function"&&typeof m.readUInt8=="function"}},{}],11:[function(E,F,x){(function(D,m){var w=/%[sdj%]/g;x.format=function(g){if(!P(g)){for(var k=[],I=0;I<arguments.length;
10I++)k.push(y(arguments[I]));return k.join(" ")}for(var I=1,V=arguments,ne=V.length,q=String(g).replace(w,function(J){if(J==="%%")return"%";if(I>=ne)return J;switch(J){case"%s":return String(V[I++]);case"%d":return Number(V[I++]);case"%j":try{return JSON.stringify(V[I++])}catch{return"[Circular]"}default:return J}}),z=V[I];I<ne;z=V[++I])p(z)||!j(z)?q+=" "+z:q+=" "+y(z);return q},x.deprecate=function(g,k){if(R(m.process))return function(){return x.deprecate(g,k).apply(this,arguments)};if(D.noDeprecation===!0)return g;var I=!1;function V(){if(!I){if(D.throwDeprecation)throw new Error(k);D.traceDeprecation?console.trace(k):console.error(k),I=!0}return g.apply(this,arguments)}return V};var b={},A;x.debuglog=function(g){if(R(A)&&(A=D.env.NODE_DEBUG||""),g=g.toUpperCase(),!b[g])if(new RegExp("\\b"+g+"\\b","i").test(A)){var k=D.pid;b[g]=function(){var I=x.format.apply(x,arguments);console.error("%s %d: %s",g,k,I)}}else b[g]=function(){};return b[g]};function y(g,k){var I={seen:[],stylize:o};return arguments.length>=3&&(I.depth=arguments[2]),arguments.length>=4&&(I.colors=arguments[3]),u(k)?I.showHidden=k:k&&x._extend(I,k),R(I.showHidden)&&(I.showHidden=!1),R(I.depth)&&(I.depth=2),R(I.colors)&&(I.colors=!1),R(I.customInspect)&&(I.customInspect=!0),I.colors&&(I.stylize=a),s(I,g,I.depth)}x.inspect=y,y.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},y.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function a(g,k){var I=y.styles[k];return I?"\x1B["+y.colors[I][0]+"m"+g+"\x1B["+y.colors[I][1]+"m":g}function o(g,k){return g}function d(g){var k={};return g.forEach(function(I,V){k[I]=!0}),k}function s(g,k,I){if(g.customInspect&&k&&ee(k.inspect)&&k.inspect!==x.inspect&&!(k.constructor&&k.constructor.prototype===k)){var V=k.inspect(I,g);return P(V)||(V=s(g,V,I)),V}var ne=c(g,k);if(ne)return ne;var q=Object.keys(k),z=d(q);if(g.showHidden&&(q=Object.getOwnPropertyNames(k)),K(k)&&(q.indexOf("message")>=0||q.indexOf("description")>=0))return r(k);if(q.length===0){if(ee(k)){var J=k.name?": "+k.name:"";return g.stylize("[Function"+J+"]","special")}if(Q(k))return g.stylize(RegExp.prototype.toString.call(k),"regexp");if(G(k))return g.stylize(Date.prototype.toString.call(k),"date");if(K(k))return r(k)}var te="",de=!1,xe=["{","}"];if(n(k)&&(de=!0,xe=["[","]"]),ee(k)){var rt=k.name?": "+k.name:"";te=" [Function"+rt+"]"}if(Q(k)&&(te=" "+RegExp.prototype.toString.call(k)),G(k)&&(te=" "+Date.prototype.toUTCString.call(k)),K(k)&&(te=" "+r(k)),q.length===0&&(!de||k.length==0))return xe[0]+te+xe[1];if(I<0)return Q(k)?g.stylize(RegExp.prototype.toString.call(k),"regexp"):g.stylize("[Object]","special");g.seen.push(k);var Te;return de?Te=C(g,k,I,z,q):Te=q.map(function(Re){return B(g,k,I,z,Re,de)}),g.seen.pop(),h(Te,te,xe)}function c(g,k){if(R(k))return g.stylize("undefined","undefined");if(P(k)){var I="'"+JSON.stringify(k).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return g.stylize(I,"string")}if(O(k))return g.stylize(""+k,"number");if(u(k))return g.stylize(""+k,"boolean");if(p(k))return g.stylize("null","null")}function r(g){return"["+Error.prototype.toString.call(g)+"]"}function C(g,k,I,V,ne){for(var q=[],z=0,J=k.length;z<J;++z)Se(k,String(z))?q.push(B(g,k,I,V,String(z),!0)):q.push("");return ne.forEach(function(te){te.match(/^\d+$/)||q.push(B(g,k,I,V,te,!0))}),q}function B(g,k,I,V,ne,q){var z,J,te;if(te=Object.getOwnPropertyDescriptor(k,ne)||{value:k[ne]},te.get?te.set?J=g.stylize("[Getter/Setter]","special"):J=g.stylize("[Getter]","special"):te.set&&(J=g.stylize("[Setter]","special")),Se(V,ne)||(z="["+ne+"]"),J||(g.seen.indexOf(te.value)<0?(p(I)?J=s(g,te.value,null):J=s(g,te.value,I-1),J.indexOf(` 11`)>-1&&(q?J=J.split(` 12`).map(function(de){return" "+de}).join(` 13`).substr(2):J=` 14`+J.split(` 15`).map(function(de){return" "+de}).join(` 16`))):J=g.stylize("[Circular]","special")),R(z)){if(q&&ne.match(/^\d+$/))return J;z=JSON.stringify(""+ne),z.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(z=z.substr(1,z.length-2),z=g.stylize(z,"name")):(z=z.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),z=g.stylize(z,"string"))}return z+": "+J}function h(g,k,I){var V=0,ne=g.reduce(function(q,z){return V++,z.indexOf(` 17`)>=0&&V++,q+z.replace(/\u001b\[\d\d?m/g,"").length+1},0);return ne>60?I[0]+(k===""?"":k+` 18 `)+" "+g.join(`, 19 `)+" "+I[1]:I[0]+k+" "+g.join(", ")+" "+I[1]}function n(g){return Array.isArray(g)}x.isArray=n;function u(g){return typeof g=="boolean"}x.isBoolean=u;function p(g){return g===null}x.isNull=p;function f(g){return g==null}x.isNullOrUndefined=f;function O(g){return typeof g=="number"}x.isNumber=O;function P(g){return typeof g=="string"}x.isString=P;function $(g){return typeof g=="symbol"}
19x.isSymbol=$;function R(g){return g===void 0}x.isUndefined=R;function Q(g){return j(g)&&Z(g)==="[object RegExp]"}x.isRegExp=Q;function j(g){return typeof g=="object"&&g!==null}x.isObject=j;function G(g){return j(g)&&Z(g)==="[object Date]"}x.isDate=G;function K(g){return j(g)&&(Z(g)==="[object Error]"||g instanceof Error)}x.isError=K;function ee(g){return typeof g=="function"}x.isFunction=ee;function he(g){return g===null||typeof g=="boolean"||typeof g=="number"||typeof g=="string"||typeof g=="symbol"||typeof g>"u"}x.isPrimitive=he,x.isBuffer=E("./support/isBuffer");function Z(g){return Object.prototype.toString.call(g)}function ce(g){return g<10?"0"+g.toString(10):g.toString(10)}var oe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function le(){var g=new Date,k=[ce(g.getHours()),ce(g.getMinutes()),ce(g.getSeconds())].join(":");return[g.getDate(),oe[g.getMonth()],k].join(" ")}x.log=function(){console.log("%s - %s",le(),x.format.apply(x,arguments))},x.inherits=E("inherits"),x._extend=function(g,k){if(!k||!j(k))return g;for(var I=Object.keys(k),V=I.length;V--;)g[I[V]]=k[I[V]];return g};function Se(g,k){return Object.prototype.hasOwnProperty.call(g,k)}}).call(this,E("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(E,F,x){},{}],13:[function(E,F,x){(function(D){function m(y,a){for(var o=0,d=y.length-1;d>=0;d--){var s=y[d];s==="."?y.splice(d,1):s===".."?(y.splice(d,1),o++):o&&(y.splice(d,1),o--)}if(a)for(;o--;o)y.unshift("..");return y}x.resolve=function(){for(var y="",a=!1,o=arguments.length-1;o>=-1&&!a;o--){var d=o>=0?arguments[o]:D.cwd();if(typeof d!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!d)continue;y=d+"/"+y,a=d.charAt(0)==="/"}return y=m(b(y.split("/"),function(s){return!!s}),!a).join("/"),(a?"/":"")+y||"."},x.normalize=function(y){var a=x.isAbsolute(y),o=A(y,-1)==="/";return y=m(b(y.split("/"),function(d){return!!d}),!a).join("/"),!y&&!a&&(y="."),y&&o&&(y+="/"),(a?"/":"")+y},x.isAbsolute=function(y){return y.charAt(0)==="/"},x.join=function(){var y=Array.prototype.slice.call(arguments,0);return x.normalize(b(y,function(a,o){if(typeof a!="string")throw new TypeError("Arguments to path.join must be strings");return a}).join("/"))},x.relative=function(y,a){y=x.resolve(y).substr(1),a=x.resolve(a).substr(1);function o(h){for(var n=0;n<h.length&&h[n]==="";n++);for(var u=h.length-1;u>=0&&h[u]==="";u--);return n>u?[]:h.slice(n,u-n+1)}for(var d=o(y.split("/")),s=o(a.split("/")),c=Math.min(d.length,s.length),r=c,C=0;C<c;C++)if(d[C]!==s[C]){r=C;break}for(var B=[],C=r;C<d.length;C++)B.push("..");return B=B.concat(s.slice(r)),B.join("/")},x.sep="/",x.delimiter=":",x.dirname=function(y){if(typeof y!="string"&&(y=y+""),y.length===0)return".";for(var a=y.charCodeAt(0),o=a===47,d=-1,s=!0,c=y.length-1;c>=1;--c)if(a=y.charCodeAt(c),a===47){if(!s){d=c;break}}else s=!1;return d===-1?o?"/":".":o&&d===1?"/":y.slice(0,d)};function w(y){typeof y!="string"&&(y=y+"");var a=0,o=-1,d=!0,s;for(s=y.length-1;s>=0;--s)if(y.charCodeAt(s)===47){if(!d){a=s+1;break}}else o===-1&&(d=!1,o=s+1);return o===-1?"":y.slice(a,o)}x.basename=function(y,a){var o=w(y);return a&&o.substr(-1*a.length)===a&&(o=o.substr(0,o.length-a.length)),o},x.extname=function(y){typeof y!="string"&&(y=y+"");for(var a=-1,o=0,d=-1,s=!0,c=0,r=y.length-1;r>=0;--r){var C=y.charCodeAt(r);if(C===47){if(!s){o=r+1;break}continue}d===-1&&(s=!1,d=r+1),C===46?a===-1?a=r:c!==1&&(c=1):a!==-1&&(c=-1)}return a===-1||d===-1||c===0||c===1&&a===d-1&&a===o+1?"":y.slice(a,d)};function b(y,a){if(y.filter)return y.filter(a);for(var o=[],d=0;d<y.length;d++)a(y[d],d,y)&&o.push(y[d]);return o}var A="ab".substr(-1)==="b"?function(y,a,o){return y.substr(a,o)}:function(y,a,o){return a<0&&(a=y.length+a),y.substr(a,o)}}).call(this,E("_process"))},{_process:14}],14:[function(E,F,x){var D=F.exports={},m,w;function b(){throw new Error("setTimeout has not been defined")}function A(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?m=setTimeout:m=b}catch{m=b}try{typeof clearTimeout=="function"?w=clearTimeout:w=A}catch{w=A}})();function y(n){if(m===setTimeout)return setTimeout(n,0);if((m===b||!m)&&setTimeout)return m=setTimeout,setTimeout(n,0);try{return m(n,0)}catch{try{return m.call(null,n,0)}catch{return m.call(this,n,0)}}}function a(n){if(w===clearTimeout)return clearTimeout(n);if((w===A||!w)&&clearTimeout)return w=clearTimeout,clearTimeout(n);try{return w(n)}catch{try{return w.call(null,n)}catch{return w.call(this,n)}}}var o=[],d=!1,s,c=-1;function r(){!d||!s||(d=!1,s.length?o=s.concat(o):c=-1,o.length&&C())}function C(){if(!d){var n=y(r);d=!0;for(var u=o.length;u;){for(s=o,o=[];++c<u;)s&&s[c].run();c=-1,u=o.length}s=null,d=!1,a(n)}}D.nextTick=function(n){var u=new Array(arguments.length-1);if(arguments.length>1)for(var p=1;p<arguments.length;p++)u[p-1]=arguments[p];o.push(new B(n,u)),o.length===1&&!d&&y(C)};function B(n,u){this.fun=n,this.array=u}B.prototype.run=function(){this.fun.apply(null,this.array)},D.title="browser",D.browser=!0,D.env={},D.argv=[],D.version="",D.versions={};function h(){}D.on=h,D.addListener=h,D.once=h,D.off=h,D.removeListener=h,D.removeAllListeners=h,D.emit=h,D.prependListener=h,D.prependOnceListener=h,D.listeners=function(n){return[]},D.binding=function(n){throw new Error("process.binding is not supported")},D.cwd=function(){return"/"},D.chdir=function(n){throw new Error("process.chdir is not supported")},D.umask=function(){return 0}},{}],15:[function(E,F,x){var D=E("escodegen").generate;F.exports=function(m,w){w||(w={});var b={},A=(function y(a,o){if(a.type==="Literal")return a.value;if(a.type==="UnaryExpression"){var d=y(a.argument);return a.operator==="+"?+d:a.operator==="-"?-d:a.operator==="~"?~d:a.operator==="!"?!d:b}else if(a.type==="ArrayExpression"){for(var s=[],c=0,r=a.elements.length;c<r;c++){var C=y(a.elements[c]);if(C===b)return b;s.push(C)}return s}
19else if(a.type==="ObjectExpression"){for(var B={},c=0;c<a.properties.length;c++){var h=a.properties[c],n=h.value===null?h.value:y(h.value);if(n===b)return b;B[h.key.value||h.key.name]=n}return B}else if(a.type==="BinaryExpression"||a.type==="LogicalExpression"){var r=y(a.left);if(r===b)return b;var u=y(a.right);if(u===b)return b;var p=a.operator;return p==="=="?r==u:p==="==="?r===u:p==="!="?r!=u:p==="!=="?r!==u:p==="+"?r+u:p==="-"?r-u:p==="*"?r*u:p==="/"?r/u:p==="%"?r%u:p==="<"?r<u:p==="<="?r<=u:p===">"?r>u:p===">="?r>=u:p==="|"?r|u:p==="&"?r&u:p==="^"?r^u:p==="&&"?r&&u:p==="||"?r||u:b}else{if(a.type==="Identifier")return{}.hasOwnProperty.call(w,a.name)?w[a.name]:b;if(a.type==="ThisExpression")return{}.hasOwnProperty.call(w,"this")?w.this:b;if(a.type==="CallExpression"){var f=y(a.callee);if(f===b||typeof f!="function")return b;var O=a.callee.object?y(a.callee.object):b;O===b&&(O=null);for(var P=[],c=0,r=a.arguments.length;c<r;c++){var C=y(a.arguments[c]);if(C===b)return b;P.push(C)}return f.apply(O,P)}else if(a.type==="MemberExpression"){var B=y(a.object);if(B===b||typeof B=="function")return b;if(a.property.type==="Identifier")return B[a.property.name];var h=y(a.property);return h===b?b:B[h]}else if(a.type==="ConditionalExpression"){var d=y(a.test);return d===b?b:y(d?a.consequent:a.alternate)}else if(a.type==="ExpressionStatement"){var d=y(a.expression);return d===b?b:d}else{if(a.type==="ReturnStatement")return y(a.argument);if(a.type==="FunctionExpression"){var $=a.body.body,R={};
19Object.keys(w).forEach(function(oe){R[oe]=w[oe]});for(var c=0;c<a.params.length;c++){var Q=a.params[c];if(Q.type=="Identifier")w[Q.name]=null;else return b}for(var c in $)if(y($[c])===b)return b;w=R;var j=Object.keys(w),G=j.map(function(oe){return w[oe]});return Function(j.join(", "),"return "+D(a)).apply(null,G)}else if(a.type==="TemplateLiteral"){for(var K="",c=0;c<a.expressions.length;c++)K+=y(a.quasis[c]),K+=y(a.expressions[c]);return K+=y(a.quasis[c]),K}else if(a.type==="TaggedTemplateExpression"){var ee=y(a.tag),he=a.quasi,Z=he.quasis.map(y),ce=he.expressions.map(y);return ee.apply(null,[Z].concat(ce))}else return a.type==="TemplateElement"?a.value.cooked:b}}})(m);return A===b?void 0:A}},{escodegen:12}],jsonpath:[function(E,F,x){F.exports=E("./lib/index")},{"./lib/index":5}]},{},["jsonpath"])("jsonpath")})});var ir=(()=>{let S=class S{constructor(){this.languageService=Y(ve),this.ngZone=Y(We),this.routes=Y(_e),this.extensionData=Y(Je),this.iam=window.iam}initialize(){this.iam.internal.initialize(),this.defineLanguageFunctions(this.languageService),this.addLogoutAndLanguageSwitcherListener(this.languageService,this.ngZone),this.defineAdditionalAttributesFunction()}createWebAuthnCredentials(E){return this.iam.internal.webauthn.createCredentials(E)}getWebAuthnCredentials(E){return this.iam.internal.webauthn.getCredentials(E)}isWebAuthnAvailable(){return this.iam.internal.webauthn.isAvailable()}isConditionalMediationAvailable(){return this.iam.internal.webauthn.isConditionalMediationAvailable()}addLogoutAndLanguageSwitcherListener(E,F){document.addEventListener("click",x=>{let D=x.target,m=D.classList;if(m.contains("iam-language-switcher-link")){let w=D.dataset.lang;Ke.isNotBlank(w)&&E.isSupportedLanguage(w)&&F.run(()=>E.language=w),x.stopPropagation(),x.preventDefault()}else(m.contains("iam-logout-link")||m.contains("iam-logout-link-text"))&&(F.run(()=>this.routes.auth.logout.root.navigate()),x.stopPropagation(),x.preventDefault())}),E.onLanguageChange.subscribe(x=>{document.querySelector(".iam-language-switcher-link")?.classList.remove("iam-active"),document.querySelector(".iam-language-switcher-link[data-lang="+x.lang+"]")?.classList.add("iam-active")})}defineLanguageFunctions(E){this.iam.api.language.current=()=>E.language,this.iam.internal.lang.translate=(F,x)=>E.translate(F,x),this.iam.internal.lang.getSupportedLanguages=()=>E.getSupportedLanguages(),this.iam.internal.lang.isActive=F=>E.language===F}defineAdditionalAttributesFunction(){this.iam.internal.attributes=()=>this.extensionData.data()}};S.\u0275fac=function(F){return new(F||S)},S.\u0275prov=fe({token:S,factory:S.\u0275fac});let T=S;return T})();var Ze=(()=>{let S=class S{constructor(){this.onServerError=new St}triggerServerError(E){this.onServerError.next(E)}};S.\u0275fac=function(F){return new(F||S)},S.\u0275prov=fe({token:S,factory:S.\u0275fac});let T=S;return T})();var ur=(()=>{let S=class S{constructor(){this.store=Y(Xe),this.routes=Y(_e)}addUrlToHistory(E){if(this.rememberUrl(E)){let F=this.loadHistory();F.push(E),F.length>10&&F.shift(),this.store.setObject(S.ROUTE_HISTORY_STORAGE_KEY,F)}}lastUrlFromHistory(){let E=this.loadHistory();if(E.length>0)return E[E.length-1]}rememberUrl(E){return!(!E||this.routes.isFlowSelectUrl(E)||E.startsWith(this.routes.error.root.normalizedUrl()))}loadHistory(){return this.store.getObject(S.ROUTE_HISTORY_STORAGE_KEY)||[]}};S.ROUTE_HISTORY_STORAGE_KEY="app.route.history",S.\u0275fac=function(F){return new(F||S)},S.\u0275prov=fe({token:S,factory:S.\u0275fac});let T=S;return T})();var ar=(()=>{let S=class S{constructor(){this.http=Y(Ut),this.validations=Y(Qe)}terminateAllFlows(){return this.terminateAuthFlow().pipe(Pe(()=>this.terminateSelfregFlow()),Pe(()=>this.terminateSelfServiceFlow()),Pe(()=>this.terminateProtectedSelfServiceFlow()))}terminateAllFlowsAndUserSession(){return this.terminateAllFlows().pipe(Pe(()=>this.terminateUserSession()))}terminateAuthFlow(){return this.http.delete(Ie(["public","authentication","flow"]))}terminateSelfregFlow(){return this.http.delete(Ie(["public","user-self-registration","flow"]))}terminateSelfServiceFlow(){return this.http.delete(Ie(["public","self-service","flow"]))}terminateProtectedSelfServiceFlow(){return this.http.delete(Ie(["protected","self-service","flow"])).pipe(Bt(E=>{let F=this.validations.getServerValidationErrors(E);return E.status===401||this.isNotAuthenticatedLegacy(E,F)?Ft(!0):Dt(E)}))}isNotAuthenticatedLegacy(E,F){return E.status===403&&F.length>0&&F[0].code==="NOT_AUTHENTICATED"}terminateUserSession(){return this.http.delete(Ie(["public","authentication"]))}};S.\u0275fac=function(F){return new(F||S)},S.\u0275prov=fe({token:S,factory:S.\u0275fac});let T=S;return T})();var lr=tn(or());var cr=(()=>{let S=class S{query(E,F){return lr.default.query(E,F)}querySingleResult(E,F){if(!E||Ke.isBlank(F))return;let x=this.query(E,F);return x.length>0?x[0]:void 0}};S.\u0275fac=function(F){return new(F||S)},S.\u0275prov=fe({token:S,factory:S.\u0275fac});let T=S;return T})();var fr=(()=>{let S=class S{constructor(){this.errors=Y(Kt),this.serverErrorSignal=Y(Ze)}handleServerError(E){return this.serverErrorSignal.triggerServerError(E),console.warn("Handling server error: "+E.message),this.showErrorPage()}showErrorPage(E){return this.errors.showErrorPage(E),ot}handleNotAvailable(){return this.errors.showNotAvailablePage(),ot}};S.\u0275fac=function(F){return new(F||S)},S.\u0275prov=fe({token:S,factory:S.\u0275fac});let T=S;return T})();var et=(()=>{let S=class S{constructor(){this.stateObserver=new bt}setChallenge(E){this.challenge=E,this.stateObserver.next(this.challenge)}answerChallenge(E){this.response=E}getChallengeResponse(){return this.response}onChange(){return this.stateObserver.asObservable()}failed(){this.clear(),this.stateObserver.error(void 0)}clear(){this.response=void 0}};S.\u0275fac=function(F){return new(F||S)},S.\u0275prov=fe({token:S,factory:S.\u0275fac});let T=S;return T})();var tt=(()=>{let S=class S{constructor(){this.captchaService=Y(et),this.ngZone=Y(We),this.attachCaptchaCallbacks()}ngOnInit(){this.serviceSubscription=this.captchaService.onChange().subscribe({error:()=>this.resetCaptcha()})}ngAfterViewInit(){tr(".iam-captcha",E=>{this.addCaptchaConfiguration(E);let F=document.createElement("script");F.type="text/javascript",F.async=!0,F.defer=!0,F.src=this.captchaScriptSource(),E.parentNode.appendChild(F)})}ngOnDestroy(){this.serviceSubscription.unsubscribe()}onCaptchaCompleted(E){this.ngZone.run(()=>{this.control.setValue(E),this.captchaService.answerChallenge({response:E})})}resetCaptcha(){this.ngZone.run(()=>this.control.reset()),window.grecaptcha.reset()}attachCaptchaCallbacks(){window.iamCaptchaCompletedCallback=this.onCaptchaCompleted.bind(this),window.iamCaptchaExpiredCallback=this.resetCaptcha.bind(this)}addCaptchaConfiguration(E){let F=window.iam.api.captcha.config(this.captchaType());
19Object.keys(F).forEach(x=>E.setAttribute(x,F[x]))}};S.\u0275fac=function(F){return new(F||S)},S.\u0275dir=It({type:S,inputs:{key:"key",control:"control"}});let T=S;return T})();var pr=(()=>{let S=class S extends tt{constructor(){super(),this.languageService=Y(ve)}ngOnInit(){super.ngOnInit(),this.languageSubscription=this.languageService.onLanguageChange.subscribe(E=>this.setLanguage(E.lang))}ngOnDestroy(){super.ngOnDestroy(),this.languageSubscription.unsubscribe()}captchaScriptSource(){return`https://www.google.com/recaptcha/api.js?hl=${this.languageService.language}`}captchaType(){return"RE_CAPTCHA"}resetCaptcha(){super.resetCaptcha(),this.setLanguage(this.languageService.language)}setLanguage(E){let F=document.getElementById("iamReCaptcha")?.querySelector("iframe");if(F){let x=F.getAttribute("src");F.setAttribute("src",x.replace(/hl=(.*?)&/,"hl="+E+"&"))}}};S.\u0275fac=function(F){return new(F||S)},S.\u0275cmp=Be({type:S,selectors:[["iam-recaptcha-challenge"]],standalone:!1,features:[qe],decls:1,vars:1,consts:[["id","iamReCaptcha","data-callback","iamCaptchaCompletedCallback","data-expired-callback","iamCaptchaExpiredCallback",1,"g-recaptcha","iam-captcha"]],template:function(F,x){F&1&&De(0,"div",0),F&2&&Ve("data-sitekey",x.key)},encapsulation:2});let T=S;return T})();var hr=(()=>{let S=class S extends tt{constructor(){super(),this.languageService=Y(ve)}ngAfterViewInit(){window.hcaptcha=void 0,super.ngAfterViewInit()}captchaScriptSource(){return`https://js.hcaptcha.com/1/api.js?hl=${this.languageService.language}`}captchaType(){return"H_CAPTCHA"}};S.\u0275fac=function(F){return new(F||S)},S.\u0275cmp=Be({type:S,selectors:[["iam-hcaptcha-challenge"]],standalone:!1,features:[qe],decls:1,vars:1,consts:[["id","iamHCaptcha","data-callback","iamCaptchaCompletedCallback","data-expired-callback","iamCaptchaExpiredCallback",1,"h-captcha","iam-captcha"]],template:function(F,x){F&1&&De(0,"div",0),F&2&&Ve("data-sitekey",x.key)},encapsulation:2});let T=S;return T})();function un(T,S){if(T&1&&De(0,"iam-recaptcha-challenge",2),T&2){let Ae=we(2).ngIf,E=we();Fe("key",Ae.key)("control",E.control)}}function an(T,S){if(T&1&&De(0,"iam-hcaptcha-challenge",2),T&2){let Ae=we(2).ngIf,E=we();Fe("key",Ae.key)("control",E.control)}}function sn(T,S){if(T&1&&(_t(0,"iam-row-with-label"),Ge(1,un,1,2,"iam-recaptcha-challenge",1)(2,an,1,2,"iam-hcaptcha-challenge",1),Tt()),T&2){let Ae=we().ngIf;$e(),Fe("ngIf",Ae.type==="RE_CAPTCHA"),$e(),Fe("ngIf",Ae.type==="H_CAPTCHA")}}function on(T,S){if(T&1&&(Ot(0),Ge(1,sn,3,2,"iam-row-with-label",0),Nt()),T&2){let Ae=S.ngIf;$e(),Fe("ngIf",Ae.type)}}var hi=(()=>{let S=class S{constructor(){this.flowPageService=Y(Jt),this.control=new $t}ngOnInit(){this.captchaChallenge=this.flowPageService.getStepUiConfig().pipe(xt(E=>this.toChallenge(E)),kt(E=>!!E.type),wt(()=>this.addCaptchaControl()))}toChallenge(E){return{type:E.additionalAttribute("captcha")?.type,key:E.additionalAttribute("captcha")?.key}}addCaptchaControl(){this.control.addValidators(qt.required),this.form.formGroup.addControl("_captcha",this.control)}};S.\u0275fac=function(F){return new(F||S)},S.\u0275cmp=Be({type:S,selectors:[["iam-captcha-challenge"]],inputs:{form:"form"},standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],[3,"key","control",4,"ngIf"],[3,"key","control"]],template:function(F,x){F&1&&(Ge(0,on,2,1,"ng-container",0),Lt(1,"async")),F&2&&Fe("ngIf",Pt(1,1,x.captchaChallenge))},dependencies:[Rt,Yt,pr,hr,jt],encapsulation:2});let T=S;return T})();var mr=(()=>{let S=class S{};S.\u0275fac=function(F){return new(F||S)},S.\u0275mod=ze({type:S}),S.\u0275inj=He({imports:[Ye]});let T=S;return T})();var Ki=(()=>{let S=class S{static forRoot(){return{ngModule:S,providers:[Je,Ze,Ht,et,Gt,cr,er,Wt,ve,rr,ar,Vt,Xe,ur,ir,_e,Qe,fr,Xt]}}};S.\u0275fac=function(F){return new(F||S)},S.\u0275mod=ze({type:S}),S.\u0275inj=He({imports:[Mt,Ye,nr,Zt,zt,Qt,mr]});let T=S;return T})();export{ir as a,ur as b,Ze as c,ar as d,cr as e,fr as f,et as g,hi as h,Ki as i};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.