-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlaravelphp.min.js
More file actions
1 lines (1 loc) · 127 KB
/
laravelphp.min.js
File metadata and controls
1 lines (1 loc) · 127 KB
1
!function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).laravelphp=t()}(function(){return function s(n,r,h){function o(e,t){if(!r[e]){if(!n[e]){var i="function"==typeof require&&require;if(!t&&i)return i(e,!0);if(a)return a(e,!0);throw(t=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",t}i=r[e]={exports:{}},n[e][0].call(i.exports,function(t){return o(n[e][1][t]||t)},i,i.exports,s,n,r,h)}return r[e].exports}for(var a="function"==typeof require&&require,t=0;t<h.length;t++)o(h[t]);return o}({1:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,Object.defineProperty(i,"js2laravel",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(i,"laravel2js",{enumerable:!0,get:function(){return s.default}});var s=r(t("./laravel2js.js")),n=r(t("./js2laravel.js"));function r(t){return t&&t.__esModule?t:{default:t}}i.default={laravel2js:s.default,js2laravel:n.default}},{"./js2laravel.js":2,"./laravel2js.js":3}],2:[function(t,e,i){"use strict";function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(t,e){return e?n(t,e):new Promise(function(i,s){return n(t,function(t,e){return t?s(t):i(e)})})};var n=function(t,e){var o="<?php\n return [";return function s(n,r){var h;n&&(h=Object.keys(n)).forEach(function(t,e){var i=n[t]||"";"string"==typeof i&&(i=i.replace(/'/g,"\\'"),o+="\n ".concat(" ".repeat(r),"'").concat(t,"' => '").concat(i,"'")),"object"===a(i)&&(o+="\n ".concat(" ".repeat(r),"'").concat(t,"' => ["),s(i,r+1),o+="\n ".concat(" ".repeat(r),"]")),e+1<h.length&&(o+=",")})}(t,1),o+="\n".concat(" ];"),e?e(null,o):o};e.exports=i.default},{}],3:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(t,e){return e?n(t,e):new Promise(function(i,s){return n(t,function(t,e){return t?s(t):i(e)})})};var h=(t=t("php-parser"))&&t.__esModule?t:{default:t};var n=function(t,e){if("string"!=typeof t){var i=new Error("The first parameter was not a string");if(e)return e(i);throw i}i=new h.default({parser:{extractDoc:!1,php7:!0},ast:{withPositions:!1}});try{var s,n={},r=i.parseCode(t);return r&&r.children&&0<r.children.length&&(s=r.children.find(function(t){return"return"===t.kind}))&&s.expr&&"array"===s.expr.kind&&s.expr.items&&function e(t,i){t.forEach(function(t){t&&"entry"===t.kind&&t.key&&"string"===t.key.kind&&t.key.value&&t.value&&("string"===t.value.kind&&(i[t.key.value]=t.value.value||""),"array"===t.value.kind)&&t.value.items&&(i[t.key.value]={},e(t.value.items,i[t.key.value]))})}(s.expr.items,n),e?e(null,n):n}catch(t){if(e)return e(t);throw t}};e.exports=i.default},{"php-parser":4}],4:[function(t,s,n){!function(i){!function(){var t,e;t=self,e=()=>(()=>{"use strict";var s={555:(t,e,i)=>{function r(t,e){this.withPositions=t,this.withSource=e}var _=i(1907),l=i(7724);r.precedence={},[["or"],["xor"],["and"],["="],["?"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","!=","===","!==","<=>"],["<","<=",">",">="],["<<",">>"],["+","-","."],["*","/","%"],["!"],["instanceof"],["cast","silent"],["**"]].forEach(function(t,e){t.forEach(function(t){r.precedence[t]=e+1})}),r.prototype.isRightAssociative=function(t){return"**"===t||"??"===t},r.prototype.swapLocations=function(t,e,i,s){this.withPositions&&(t.loc.start=e.loc.start,t.loc.end=i.loc.end,this.withSource)&&(t.loc.source=s.lexer._input.substring(t.loc.start.offset,t.loc.end.offset))},r.prototype.resolveLocations=function(t,e,i,s){this.withPositions&&(t.loc.start.offset>e.loc.start.offset&&(t.loc.start=e.loc.start),t.loc.end.offset<i.loc.end.offset&&(t.loc.end=i.loc.end),this.withSource)&&(t.loc.source=s.lexer._input.substring(t.loc.start.offset,t.loc.end.offset))},r.prototype.resolvePrecedence=function(t,e){var i,s,n;return"call"===t.kind?this.resolveLocations(t,t.what,t,e):"propertylookup"===t.kind||"staticlookup"===t.kind||"offsetlookup"===t.kind&&t.offset?this.resolveLocations(t,t.what,t.offset,e):"bin"===t.kind?t.right&&!t.right.parenthesizedExpression&&("bin"===t.right.kind?(s=r.precedence[t.type],n=r.precedence[t.right.type],s&&n&&n<=s&&(t.type!==t.right.type||!this.isRightAssociative(t.type))&&(i=t.right,t.right=t.right.left,this.swapLocations(t,t.left,t.right,e),i.left=this.resolvePrecedence(t,e),this.swapLocations(i,i.left,i.right,e),t=i)):"retif"===t.right.kind&&(s=r.precedence[t.type],n=r.precedence["?"],s)&&n&&n<=s&&(i=t.right,t.right=t.right.test,this.swapLocations(t,t.left,t.right,e),i.test=this.resolvePrecedence(t,e),this.swapLocations(i,i.test,i.falseExpr,e),t=i)):"silent"!==t.kind&&"cast"!==t.kind||!t.expr||t.expr.parenthesizedExpression?"unary"===t.kind?t.what&&!t.what.parenthesizedExpression&&("bin"===t.what.kind?(i=t.what,t.what=t.what.left,this.swapLocations(t,t,t.what,e),i.left=this.resolvePrecedence(t,e),this.swapLocations(i,i.left,i.right,e),t=i):"retif"===t.what.kind&&(i=t.what,t.what=t.what.test,this.swapLocations(t,t,t.what,e),i.test=this.resolvePrecedence(t,e),this.swapLocations(i,i.test,i.falseExpr,e),t=i)):"retif"===t.kind?t.falseExpr&&"retif"===t.falseExpr.kind&&!t.falseExpr.parenthesizedExpression&&(i=t.falseExpr,t.falseExpr=i.test,this.swapLocations(t,t.test,t.falseExpr,e),i.test=this.resolvePrecedence(t,e),this.swapLocations(i,i.test,i.falseExpr,e),t=i):"assign"===t.kind?t.right&&"bin"===t.right.kind&&!t.right.parenthesizedExpression&&(s=r.precedence["="],n=r.precedence[t.right.type],s)&&n&&n<s&&(i=t.right,t.right=t.right.left,i.left=t,this.swapLocations(i,i.left,t.right,e),t=i):"expressionstatement"===t.kind&&this.swapLocations(t,t.expression,t,e):"bin"===t.expr.kind?(i=t.expr,t.expr=t.expr.left,this.swapLocations(t,t,t.expr,e),i.left=this.resolvePrecedence(t,e),this.swapLocations(i,i.left,i.right,e),t=i):"retif"===t.expr.kind&&(i=t.expr,t.expr=t.expr.test,this.swapLocations(t,t,t.expr,e),i.test=this.resolvePrecedence(t,e),this.swapLocations(i,i.test,i.falseExpr,e),t=i),t},r.prototype.prepare=function(s,n,r){function h(){var t=Array.prototype.slice.call(arguments),e=(t.push(n),(a.withPositions||a.withSource)&&(e=null,a.withSource&&(e=r.lexer._input.substring(o.offset,r.prev[2])),e=new _(e,o,new l(r.prev[0],r.prev[1],r.prev[2])),t.push(e)),s=s||t.shift(),a[s]);if("function"!=typeof e)throw new Error('Undefined node "'+s+'"');var i=Object.create(e.prototype);return e.apply(i,t),h.instance=i,h.trailingComments&&(i.trailingComments=h.trailingComments),"function"==typeof h.postBuild&&h.postBuild(i),r.debug&&delete a.stack[h.stackUid],a.resolvePrecedence(i,r)}var o=null,a=((this.withPositions||this.withSource)&&(o=r.position()),this);return r.debug&&(this.stack||(this.stack={},this.stackUid=1),this.stack[++this.stackUid]={position:o,stack:(new Error).stack.split("\n").slice(3,5)},h.stackUid=this.stackUid),h.setTrailingComments=function(t){h.instance?h.instance.setTrailingComments(t):h.trailingComments=t},h.destroy=function(t){n&&(t?t.leadingComments?t.leadingComments=n.concat(t.leadingComments):t.leadingComments=n:r._docIndex=r._docs.length-n.length),r.debug&&delete a.stack[h.stackUid]},h},r.prototype.checkNodes=function(){var t,e=[];for(t in this.stack)Object.prototype.hasOwnProperty.call(this.stack,t)&&(this.stack[t].key=t,e.push(this.stack[t]));return this.stack={},e},[i(1538),i(4253),i(1997),i(1889),i(4923),i(9165),i(4230),i(2325),i(504),i(2271),i(5871),i(1578),i(7521),i(8212),i(1119),i(5178),i(4027),i(5436),i(5411),i(2001),i(6659),i(387),i(408),i(7224),i(6560),i(9036),i(4067),i(2514),i(8014),i(4395),i(4514),i(6129),i(3321),i(3689),i(4199),i(2045),i(4042),i(5886),i(6389),i(1530),i(9317),i(4607),i(358),i(1057),i(7887),i(7752),i(6547),i(6403),i(5851),i(8454),i(7133),i(7298),i(8323),i(9132),i(9522),i(298),i(6602),i(7592),i(679),i(7046),i(7920),i(3110),i(3174),i(8356),i(2633),i(3725),i(2730),i(2450),i(1358),i(8588),i(2895),i(1480),i(368),i(6210),i(9281),i(1771),i(8377),i(5003),i(6340),i(1558),i(3429),i(6966),i(2037),i(1211),i(4847),i(619),i(5182),i(7228),i(2898),i(5037),i(9732),i(8409),i(2941),i(7129),i(2589),i(5228),i(2523),i(8084),i(4398),i(3181),i(8466),i(8062),i(6178),i(7264),i(2379),i(3693),i(7880),i(6520),i(3656),i(7886),i(41),i(288),i(8789)].forEach(function(t){r.prototype[t.kind]=t}),t.exports=r},1538:(t,e,i)=>{var n=i(1530);t.exports=n.extends("array",function(t,e,i,s){n.apply(this,["array",i,s]),this.items=e,this.shortForm=t})},4253:(t,e,i)=>{var a=i(1530),_="arrowfunc";t.exports=a.extends(_,function(t,e,i,s,n,r,h,o){a.apply(this,[_,h,o]),this.arguments=t,this.byref=e,this.body=i,this.type=s,this.nullable=n,this.isStatic=r||!1})},1997:(t,e,i)=>{var r=i(1530);t.exports=r.extends("assign",function(t,e,i,s,n){r.apply(this,["assign",s,n]),this.left=t,this.right=e,this.operator=i})},1889:(t,e,i)=>{var n=i(1530),r="assignref";t.exports=n.extends(r,function(t,e,i,s){n.apply(this,[r,i,s]),this.left=t,this.right=e})},9165:(t,e,i)=>{var s=i(2730),n="attrgroup";t.exports=s.extends(n,function(t,e,i){s.apply(this,[n,e,i]),this.attrs=t||[]})},4923:(t,e,i)=>{var n=i(2730),r="attribute";t.exports=n.extends(r,function(t,e,i,s){n.apply(this,[r,i,s]),this.name=t,this.args=e})},4230:(t,e,i)=>{var r=i(6210);t.exports=r.extends("bin",function(t,e,i,s,n){r.apply(this,["bin",s,n]),this.type=t,this.left=e,this.right=i})},2325:(t,e,i)=>{var n=i(2898);t.exports=n.extends("block",function(t,e,i,s){n.apply(this,[t||"block",i,s]),this.children=e.filter(Boolean)})},504:(t,e,i)=>{var n=i(6602),r="boolean";t.exports=n.extends(r,function(t,e,i,s){n.apply(this,[r,t,e,i,s])})},2271:(t,e,i)=>{var s=i(2898);t.exports=s.extends("break",function(t,e,i){s.apply(this,["break",e,i]),this.level=t})},5871:(t,e,i)=>{var s=i(1530);t.exports=s.extends("byref",function(t,e,i){s.apply(this,["byref",e,i]),this.what=t})},1578:(t,e,i)=>{var n=i(1530);t.exports=n.extends("call",function(t,e,i,s){n.apply(this,["call",i,s]),this.what=t,this.arguments=e})},7521:(t,e,i)=>{var n=i(2898);t.exports=n.extends("case",function(t,e,i,s){n.apply(this,["case",i,s]),this.test=t,this.body=e})},8212:(t,e,i)=>{var r=i(6210);t.exports=r.extends("cast",function(t,e,i,s,n){r.apply(this,["cast",s,n]),this.type=t,this.raw=e,this.expr=i})},1119:(t,e,i)=>{var r=i(2898);t.exports=r.extends("catch",function(t,e,i,s,n){r.apply(this,["catch",s,n]),this.body=t,this.what=e,this.variable=i})},5178:(t,e,i)=>{var o=i(9036);t.exports=o.extends("class",function(t,e,i,s,n,r,h){o.apply(this,["class",t,r,h]),this.isAnonymous=!t,this.extends=e,this.implements=i,this.body=s,this.attrGroups=[],this.parseFlags(n)})},4027:(t,e,i)=>{var h=i(7224),o="classconstant",i=h.extends(o,function(t,e,i,s,n,r){h.apply(this,[t||o,e,n,r]),this.parseFlags(i),this.attrGroups=s});i.prototype.parseFlags=function(t){-1===t[0]?this.visibility="":null===t[0]?this.visibility=null:0===t[0]?this.visibility="public":1===t[0]?this.visibility="protected":2===t[0]&&(this.visibility="private"),this.final=2===t[2]},t.exports=i},5436:(t,e,i)=>{var s=i(1530);t.exports=s.extends("clone",function(t,e,i){s.apply(this,["clone",e,i]),this.what=t})},5411:(t,e,i)=>{var a=i(1530),_="closure";t.exports=a.extends(_,function(t,e,i,s,n,r,h,o){a.apply(this,[_,h,o]),this.uses=i,this.arguments=t,this.byref=e,this.type=s,this.nullable=n,this.isStatic=r||!1,this.body=null,this.attrGroups=[]})},2001:(t,e,i)=>{var n=i(2730);t.exports=n.extends("comment",function(t,e,i,s){n.apply(this,[t,i,s]),this.value=e})},6659:(t,e,i)=>{var s=i(2001),n="commentblock";t.exports=s.extends(n,function(t,e,i){s.apply(this,[n,t,e,i])})},387:(t,e,i)=>{var s=i(2001),n="commentline";t.exports=s.extends(n,function(t,e,i){s.apply(this,[n,t,e,i])})},408:(t,e,i)=>{var n=i(2730),r="constant";t.exports=n.extends(r,function(t,e,i,s){n.apply(this,[r,i,s]),this.name=t,this.value=e})},7224:(t,e,i)=>{var n=i(2898),r="constantstatement";t.exports=n.extends(r,function(t,e,i,s){n.apply(this,[t||r,i,s]),this.constants=e})},6560:(t,e,i)=>{var s=i(2898),n="continue";t.exports=s.extends(n,function(t,e,i){s.apply(this,[n,e,i]),this.level=t})},9036:(t,e,i)=>{var n=i(2898),r="declaration",i=n.extends(r,function(t,e,i,s){n.apply(this,[t||r,i,s]),this.name=e});i.prototype.parseFlags=function(t){this.isAbstract=1===t[2],this.isFinal=2===t[2],this.isReadonly=1===t[3],"class"!==this.kind&&(-1===t[0]?this.visibility="":null===t[0]?this.visibility=null:0===t[0]?this.visibility="public":1===t[0]?this.visibility="protected":2===t[0]&&(this.visibility="private"),this.isStatic=1===t[1])},t.exports=i},4067:(t,e,i)=>{var r=i(2325),h="declare",i=r.extends(h,function(t,e,i,s,n){r.apply(this,[h,e,s,n]),this.directives=t,this.mode=i});i.MODE_SHORT="short",i.MODE_BLOCK="block",i.MODE_NONE="none",t.exports=i},2514:(t,e,i)=>{var n=i(2730),r="declaredirective";t.exports=n.extends(r,function(t,e,i,s){n.apply(this,[r,i,s]),this.key=t,this.value=e})},8014:(t,e,i)=>{var n=i(2898);t.exports=n.extends("do",function(t,e,i,s){n.apply(this,["do",i,s]),this.test=t,this.body=e})},4395:(t,e,i)=>{var n=i(2898);t.exports=n.extends("echo",function(t,e,i,s){n.apply(this,["echo",i,s]),this.shortForm=e,this.expressions=t})},4514:(t,e,i)=>{var s=i(1530);t.exports=s.extends("empty",function(t,e,i){s.apply(this,["empty",e,i]),this.expression=t})},6129:(t,e,i)=>{var r=i(6602),h="encapsed",i=r.extends(h,function(t,e,i,s,n){r.apply(this,[h,t,e,s,n]),this.type=i});i.TYPE_STRING="string",i.TYPE_SHELL="shell",i.TYPE_HEREDOC="heredoc",i.TYPE_OFFSET="offset",t.exports=i},3321:(t,e,i)=>{var r=i(1530),h="encapsedpart";t.exports=r.extends(h,function(t,e,i,s,n){r.apply(this,[h,s,n]),this.expression=t,this.syntax=e,this.curly=i})},3689:(t,e,i)=>{var h=i(1530);t.exports=h.extends("entry",function(t,e,i,s,n,r){h.apply(this,["entry",n,r]),this.key=t,this.value=e,this.byRef=i,this.unpack=s})},4199:(t,e,i)=>{var h=i(9036);t.exports=h.extends("enum",function(t,e,i,s,n,r){h.apply(this,["enum",t,n,r]),this.valueType=e,this.implements=i,this.body=s,this.attrGroups=[]})},2045:(t,e,i)=>{var n=i(2730),r="enumcase";t.exports=n.extends(r,function(t,e,i,s){n.apply(this,[r,i,s]),this.name=t,this.value=e})},4042:(t,e,i)=>{var h=i(2730);t.exports=h.extends("error",function(t,e,i,s,n,r){h.apply(this,["error",n,r]),this.message=t,this.token=e,this.line=i,this.expected=s})},5886:(t,e,i)=>{var s=i(1530);t.exports=s.extends("eval",function(t,e,i){s.apply(this,["eval",e,i]),this.source=t})},6389:(t,e,i)=>{var n=i(1530);t.exports=n.extends("exit",function(t,e,i,s){n.apply(this,["exit",i,s]),this.expression=t,this.useDie=e})},1530:(t,e,i)=>{var s=i(2730),n="expression";t.exports=s.extends(n,function(t,e,i){s.apply(this,[t||n,e,i])})},9317:(t,e,i)=>{var s=i(2898),n="expressionstatement";t.exports=s.extends(n,function(t,e,i){s.apply(this,[n,e,i]),this.expression=t})},4607:(t,e,i)=>{var o=i(2898);t.exports=o.extends("for",function(t,e,i,s,n,r,h){o.apply(this,["for",r,h]),this.init=t,this.test=e,this.increment=i,this.shortForm=n,this.body=s})},358:(t,e,i)=>{var o=i(2898),a="foreach";t.exports=o.extends(a,function(t,e,i,s,n,r,h){o.apply(this,[a,r,h]),this.source=t,this.key=e,this.value=i,this.shortForm=n,this.body=s})},1057:(t,e,i)=>{var o=i(9036),a="function";t.exports=o.extends(a,function(t,e,i,s,n,r,h){o.apply(this,[a,t,r,h]),this.arguments=e,this.byref=i,this.type=s,this.nullable=n,this.body=null,this.attrGroups=[]})},7887:(t,e,i)=>{var s=i(2898);t.exports=s.extends("global",function(t,e,i){s.apply(this,["global",e,i]),this.items=t})},7752:(t,e,i)=>{var s=i(2898);t.exports=s.extends("goto",function(t,e,i){s.apply(this,["goto",e,i]),this.label=t})},6547:(t,e,i)=>{var s=i(2898);t.exports=s.extends("halt",function(t,e,i){s.apply(this,["halt",e,i]),this.after=t})},6403:(t,e,i)=>{var s=i(2730),n="identifier",i=s.extends(n,function(t,e,i){s.apply(this,[n,e,i]),this.name=t});t.exports=i},5851:(t,e,i)=>{var h=i(2898);t.exports=h.extends("if",function(t,e,i,s,n,r){h.apply(this,["if",n,r]),this.test=t,this.body=e,this.alternate=i,this.shortForm=s})},8454:(t,e,i)=>{var r=i(1530),h="include";t.exports=r.extends(h,function(t,e,i,s,n){r.apply(this,[h,s,n]),this.once=t,this.require=e,this.target=i})},7133:(t,e,i)=>{var n=i(6602);t.exports=n.extends("inline",function(t,e,i,s){n.apply(this,["inline",t,e,i,s])})},7298:(t,e,i)=>{var h=i(9036),o="interface";t.exports=h.extends(o,function(t,e,i,s,n,r){h.apply(this,[o,t,n,r]),this.extends=e,this.body=i,this.attrGroups=s})},8323:(t,e,i)=>{var s=i(9036),n="intersectiontype";t.exports=s.extends(n,function(t,e,i){s.apply(this,[n,null,e,i]),this.types=t})},9132:(t,e,i)=>{var s=i(1530);t.exports=s.extends("isset",function(t,e,i){s.apply(this,["isset",e,i]),this.variables=t})},9522:(t,e,i)=>{var s=i(2898);t.exports=s.extends("label",function(t,e,i){s.apply(this,["label",e,i]),this.name=t})},298:(t,e,i)=>{var n=i(1530);t.exports=n.extends("list",function(t,e,i,s){n.apply(this,["list",i,s]),this.items=t,this.shortForm=e})},6602:(t,e,i)=>{var r=i(1530),h="literal";t.exports=r.extends(h,function(t,e,i,s,n){r.apply(this,[t||h,s,n]),this.value=e,i&&(this.raw=i)})},1907:t=>{t.exports=function(t,e,i){this.source=t,this.start=e,this.end=i}},7592:(t,e,i)=>{var r=i(1530);t.exports=r.extends("lookup",function(t,e,i,s,n){r.apply(this,[t||"lookup",s,n]),this.what=e,this.offset=i})},679:(t,e,i)=>{var n=i(6602);t.exports=n.extends("magic",function(t,e,i,s){n.apply(this,["magic",t,e,i,s])})},7046:(t,e,i)=>{var n=i(1530);t.exports=n.extends("match",function(t,e,i,s){n.apply(this,["match",i,s]),this.cond=t,this.arms=e})},7920:(t,e,i)=>{var n=i(1530),r="matcharm";t.exports=n.extends(r,function(t,e,i,s){n.apply(this,[r,i,s]),this.conds=t,this.body=e})},3110:(t,e,i)=>{var s=i(1057);t.exports=s.extends("method",function(){s.apply(this,arguments),this.kind="method"})},3174:(t,e,i)=>{var n=i(1211),i=n.extends("name",function(t,e,i,s){n.apply(this,["name",i,s]),this.name=t.replace(/\\$/,""),this.resolution=e});i.UNQUALIFIED_NAME="uqn",i.QUALIFIED_NAME="qn",i.FULL_QUALIFIED_NAME="fqn",i.RELATIVE_NAME="rn",t.exports=i},2633:(t,e,i)=>{var n=i(1530),r="namedargument";t.exports=n.extends(r,function(t,e,i,s){n.apply(this,[r,i,s]),this.name=t,this.value=e})},8356:(t,e,i)=>{var r=i(2325),h="namespace";t.exports=r.extends(h,function(t,e,i,s,n){r.apply(this,[h,e,s,n]),this.name=t,this.withBrackets=i||!1})},3725:(t,e,i)=>{var n=i(1530);t.exports=n.extends("new",function(t,e,i,s){n.apply(this,["new",i,s]),this.what=t,this.arguments=e})},2730:t=>{function e(t,e,i){this.kind=t,e&&(this.leadingComments=e),i&&(this.loc=i)}e.prototype.setTrailingComments=function(t){this.trailingComments=t},e.prototype.destroy=function(t){if(t)return this.leadingComments&&(t.leadingComments?t.leadingComments=Array.concat(this.leadingComments,t.leadingComments):t.leadingComments=this.leadingComments),this.trailingComments&&(t.trailingComments?t.trailingComments=Array.concat(this.trailingComments,t.trailingComments):t.trailingComments=this.trailingComments),t;throw new Error("Node already initialized, you must swap with another node")},e.prototype.includeToken=function(t){return this.loc&&(this.loc.end&&(this.loc.end.line=t.lexer.yylloc.last_line,this.loc.end.column=t.lexer.yylloc.last_column,this.loc.end.offset=t.lexer.offset),t.ast.withSource)&&(this.loc.source=t.lexer._input.substring(this.loc.start.offset,t.lexer.offset)),this},e.extends=function(t,e){return e.prototype=Object.create(this.prototype),e.extends=this.extends,(e.prototype.constructor=e).kind=t,e},t.exports=e},2450:(t,e,i)=>{var s=i(2730);t.exports=s.extends("noop",function(t,e){s.apply(this,["noop",t,e])})},1358:(t,e,i)=>{var r=i(6602);t.exports=r.extends("nowdoc",function(t,e,i,s,n){r.apply(this,["nowdoc",t,e,s,n]),this.label=i})},8588:(t,e,i)=>{var s=i(2730),n="nullkeyword";t.exports=s.extends(n,function(t,e,i){s.apply(this,[n,e,i]),this.raw=t})},2895:(t,e,i)=>{var n=i(7592),r="nullsafepropertylookup";t.exports=n.extends(r,function(t,e,i,s){n.apply(this,[r,t,e,i,s])})},1480:(t,e,i)=>{var n=i(6602);t.exports=n.extends("number",function(t,e,i,s){n.apply(this,["number",t,e,i,s])})},368:(t,e,i)=>{var n=i(7592),r="offsetlookup";t.exports=n.extends(r,function(t,e,i,s){n.apply(this,[r,t,e,i,s])})},6210:(t,e,i)=>{var s=i(1530),n="operation";t.exports=s.extends(n,function(t,e,i){s.apply(this,[t||n,e,i])})},9281:(t,e,i)=>{var l=i(9036),c="parameter";t.exports=l.extends(c,function(t,e,i,s,n,r,h,o,a,_){l.apply(this,[c,t,a,_]),this.value=i,this.type=e,this.byref=s,this.variadic=n,this.readonly=r,this.nullable=h,this.flags=o||0,this.attrGroups=[]})},1771:(t,e,i)=>{var s=i(1211),n="parentreference",i=s.extends(n,function(t,e,i){s.apply(this,[n,e,i]),this.raw=t});t.exports=i},7724:t=>{t.exports=function(t,e,i){this.line=t,this.column=e,this.offset=i}},8377:(t,e,i)=>{var n=i(6210);t.exports=n.extends("post",function(t,e,i,s){n.apply(this,["post",i,s]),this.type=t,this.what=e})},5003:(t,e,i)=>{var n=i(6210);t.exports=n.extends("pre",function(t,e,i,s){n.apply(this,["pre",i,s]),this.type=t,this.what=e})},6340:(t,e,i)=>{var s=i(1530);t.exports=s.extends("print",function(t,e,i){s.apply(this,["print",e,i]),this.expression=t})},1558:(t,e,i)=>{var h=i(2325),o="program";t.exports=h.extends(o,function(t,e,i,s,n,r){h.apply(this,[o,t,n,r]),this.errors=e,i&&(this.comments=i),s&&(this.tokens=s)})},3429:(t,e,i)=>{var a=i(2898),_="property";t.exports=a.extends(_,function(t,e,i,s,n,r,h,o){a.apply(this,[_,h,o]),this.name=t,this.value=e,this.readonly=i,this.nullable=s,this.type=n,this.attrGroups=r})},6966:(t,e,i)=>{var n=i(7592),r="propertylookup";t.exports=n.extends(r,function(t,e,i,s){n.apply(this,[r,t,e,i,s])})},2037:(t,e,i)=>{var r=i(2898),h="propertystatement",i=r.extends(h,function(t,e,i,s,n){r.apply(this,[h,s,n]),this.properties=e,this.parseFlags(i)});i.prototype.parseFlags=function(t){-1===t[0]?this.visibility="":null===t[0]?this.visibility=null:0===t[0]?this.visibility="public":1===t[0]?this.visibility="protected":2===t[0]&&(this.visibility="private"),this.isStatic=1===t[1]},t.exports=i},1211:(t,e,i)=>{var s=i(2730),n="reference",i=s.extends(n,function(t,e,i){s.apply(this,[t||n,e,i])});t.exports=i},4847:(t,e,i)=>{var r=i(1530);t.exports=r.extends("retif",function(t,e,i,s,n){r.apply(this,["retif",s,n]),this.test=t,this.trueExpr=e,this.falseExpr=i})},619:(t,e,i)=>{var s=i(2898);t.exports=s.extends("return",function(t,e,i){s.apply(this,["return",e,i]),this.expr=t})},5182:(t,e,i)=>{var s=i(1211),n="selfreference",i=s.extends(n,function(t,e,i){s.apply(this,[n,e,i]),this.raw=t});t.exports=i},7228:(t,e,i)=>{var s=i(1530);t.exports=s.extends("silent",function(t,e,i){s.apply(this,["silent",e,i]),this.expr=t})},2898:(t,e,i)=>{var s=i(2730),n="statement";t.exports=s.extends(n,function(t,e,i){s.apply(this,[t||n,e,i])})},5037:(t,e,i)=>{var s=i(2898);t.exports=s.extends("static",function(t,e,i){s.apply(this,["static",e,i]),this.variables=t})},8409:(t,e,i)=>{var n=i(7592),r="staticlookup";t.exports=n.extends(r,function(t,e,i,s){n.apply(this,[r,t,e,i,s])})},2941:(t,e,i)=>{var s=i(1211),n="staticreference",i=s.extends(n,function(t,e,i){s.apply(this,[n,e,i]),this.raw=t});t.exports=i},9732:(t,e,i)=>{var n=i(2730),r="staticvariable";t.exports=n.extends(r,function(t,e,i,s){n.apply(this,[r,i,s]),this.variable=t,this.defaultValue=e})},7129:(t,e,i)=>{var h=i(6602);t.exports=h.extends("string",function(t,e,i,s,n,r){h.apply(this,["string",e,s,n,r]),this.unicode=i,this.isDoubleQuote=t})},2589:(t,e,i)=>{var r=i(2898);t.exports=r.extends("switch",function(t,e,i,s,n){r.apply(this,["switch",s,n]),this.test=t,this.body=e,this.shortForm=i})},5228:(t,e,i)=>{var s=i(2898);t.exports=s.extends("throw",function(t,e,i){s.apply(this,["throw",e,i]),this.what=t})},2523:(t,e,i)=>{var n=i(9036);t.exports=n.extends("trait",function(t,e,i,s){n.apply(this,["trait",t,i,s]),this.body=e})},8084:(t,e,i)=>{var h=i(2730),o="traitalias";t.exports=h.extends(o,function(t,e,i,s,n,r){h.apply(this,[o,n,r]),this.trait=t,this.method=e,this.as=i,this.visibility="",s&&(0===s[0]?this.visibility="public":1===s[0]?this.visibility="protected":2===s[0]&&(this.visibility="private"))})},4398:(t,e,i)=>{var r=i(2730),h="traitprecedence";t.exports=r.extends(h,function(t,e,i,s,n){r.apply(this,[h,s,n]),this.trait=t,this.method=e,this.instead=i})},3181:(t,e,i)=>{var n=i(2730),r="traituse";t.exports=n.extends(r,function(t,e,i,s){n.apply(this,[r,i,s]),this.traits=t,this.adaptations=e})},8466:(t,e,i)=>{var r=i(2898);t.exports=r.extends("try",function(t,e,i,s,n){r.apply(this,["try",s,n]),this.body=t,this.catches=e,this.always=i})},8062:(t,e,i)=>{var n=i(1211),r="typereference",i=n.extends(r,function(t,e,i,s){n.apply(this,[r,i,s]),this.name=t,this.raw=e});i.types=["int","float","string","bool","object","array","callable","iterable","void","static"],t.exports=i},6178:(t,e,i)=>{var n=i(6210);t.exports=n.extends("unary",function(t,e,i,s){n.apply(this,["unary",i,s]),this.type=t,this.what=e})},7264:(t,e,i)=>{var s=i(9036),n="uniontype";t.exports=s.extends(n,function(t,e,i){s.apply(this,[n,null,e,i]),this.types=t})},2379:(t,e,i)=>{var s=i(2898);t.exports=s.extends("unset",function(t,e,i){s.apply(this,["unset",e,i]),this.variables=t})},3693:(t,e,i)=>{var r=i(2898),h="usegroup";t.exports=r.extends(h,function(t,e,i,s,n){r.apply(this,[h,s,n]),this.name=t,this.type=e,this.items=i})},7880:(t,e,i)=>{var r=i(2898),h="useitem",i=r.extends(h,function(t,e,i,s,n){r.apply(this,[h,s,n]),this.name=t,this.alias=e,this.type=i});i.TYPE_CONST="const",i.TYPE_FUNCTION="function",t.exports=i},6520:(t,e,i)=>{var n=i(1530),r="variable";t.exports=n.extends(r,function(t,e,i,s){n.apply(this,[r,i,s]),this.name=t,this.curly=e||!1})},3656:(t,e,i)=>{var s=i(1530),n="variadic";t.exports=s.extends(n,function(t,e,i){s.apply(this,[n,e,i]),this.what=t})},7886:(t,e,i)=>{var s=i(2730),n="variadicplaceholder";t.exports=s.extends(n,function(t,e){s.apply(this,[n,t,e])})},41:(t,e,i)=>{var r=i(2898);t.exports=r.extends("while",function(t,e,i,s,n){r.apply(this,["while",s,n]),this.test=t,this.body=e,this.shortForm=i})},288:(t,e,i)=>{var n=i(1530);t.exports=n.extends("yield",function(t,e,i,s){n.apply(this,["yield",i,s]),this.value=t,this.key=e})},8789:(t,e,i)=>{var s=i(1530),n="yieldfrom";t.exports=s.extends(n,function(t,e,i){s.apply(this,[n,e,i]),this.value=t})},1427:(t,e,i)=>{function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var s=i(8720),n=i(8410),r=i(6455),o=i(555);function a(t,e){for(var i=Object.keys(t),s=i.length;s--;){var n=i[s],r=t[n];null===r?delete e[n]:"function"==typeof r?e[n]=r.bind(e):Array.isArray(r)?e[n]=Array.isArray(e[n])?e[n].concat(r):r:"object"===h(r)?e[n]="object"===h(e[n])?a(r,e[n]):r:e[n]=r}return e}function _(t){if("function"==typeof this)return new this(t);if(this.tokens=r,this.lexer=new s(this),this.ast=new o,this.parser=new n(this.lexer,this.ast),t&&"object"===h(t)){if(t.parser&&(t.lexer||(t.lexer={}),t.parser.version)){if("string"==typeof t.parser.version){var e=t.parser.version.split("."),e=100*parseInt(e[0])+parseInt(e[1]);if(isNaN(e))throw new Error("Bad version number : "+t.parser.version);t.parser.version=e}else if("number"!=typeof t.parser.version)throw new Error("Expecting a number for version");if(t.parser.version<500||900<t.parser.version)throw new Error("Can only handle versions between 5.x to 8.x")}a(t,this),this.lexer.version=this.parser.version}}function l(t){return"function"==typeof t.write?t.toString():t}_.create=function(t){return new _(t)},_.parseEval=function(t,e){return new _(e).parseEval(t)},_.prototype.parseEval=function(t){return this.lexer.mode_eval=!0,this.lexer.all_tokens=!1,t=l(t),this.parser.parse(t,"eval")},_.parseCode=function(t,e,i){return"object"!==h(e)||i||(i=e,e="unknown"),new _(i).parseCode(t,e)},_.prototype.parseCode=function(t,e){return this.lexer.mode_eval=!1,this.lexer.all_tokens=!1,t=l(t),this.parser.parse(t,e)},_.tokenGetAll=function(t,e){return new _(e).tokenGetAll(t)},_.prototype.tokenGetAll=function(t){this.lexer.mode_eval=!1,this.lexer.all_tokens=!0,t=l(t);for(var e=this.lexer.EOF,i=this.tokens.values,s=(this.lexer.setInput(t),this.lexer.lex()||e),n=[];s!=e;){var r=this.lexer.yytext;Object.prototype.hasOwnProperty.call(i,s)&&(r=[i[s],r,this.lexer.yylloc.first_line]),n.push(r),s=this.lexer.lex()||e}return n},t.exports=_,t.exports.tokens=r,t.exports.lexer=s,t.exports.AST=o,t.exports.parser=n,t.exports.combine=a,t.exports.Engine=_,t.exports.default=_},8720:(t,e,i)=>{function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t){this.engine=t,this.tok=this.engine.tokens.names,this.EOF=1,this.debug=!1,this.all_tokens=!0,this.comment_tokens=!1,this.mode_eval=!1,this.asp_tags=!1,this.short_tags=!1,this.version=801,this.yyprevcol=0,this.keywords={__class__:this.tok.T_CLASS_C,__trait__:this.tok.T_TRAIT_C,__function__:this.tok.T_FUNC_C,__method__:this.tok.T_METHOD_C,__line__:this.tok.T_LINE,__file__:this.tok.T_FILE,__dir__:this.tok.T_DIR,__namespace__:this.tok.T_NS_C,exit:this.tok.T_EXIT,die:this.tok.T_EXIT,function:this.tok.T_FUNCTION,const:this.tok.T_CONST,return:this.tok.T_RETURN,try:this.tok.T_TRY,catch:this.tok.T_CATCH,finally:this.tok.T_FINALLY,throw:this.tok.T_THROW,if:this.tok.T_IF,elseif:this.tok.T_ELSEIF,endif:this.tok.T_ENDIF,else:this.tok.T_ELSE,while:this.tok.T_WHILE,endwhile:this.tok.T_ENDWHILE,do:this.tok.T_DO,for:this.tok.T_FOR,endfor:this.tok.T_ENDFOR,foreach:this.tok.T_FOREACH,endforeach:this.tok.T_ENDFOREACH,declare:this.tok.T_DECLARE,enddeclare:this.tok.T_ENDDECLARE,instanceof:this.tok.T_INSTANCEOF,as:this.tok.T_AS,switch:this.tok.T_SWITCH,endswitch:this.tok.T_ENDSWITCH,case:this.tok.T_CASE,default:this.tok.T_DEFAULT,break:this.tok.T_BREAK,continue:this.tok.T_CONTINUE,goto:this.tok.T_GOTO,echo:this.tok.T_ECHO,print:this.tok.T_PRINT,class:this.tok.T_CLASS,interface:this.tok.T_INTERFACE,trait:this.tok.T_TRAIT,enum:this.tok.T_ENUM,extends:this.tok.T_EXTENDS,implements:this.tok.T_IMPLEMENTS,new:this.tok.T_NEW,clone:this.tok.T_CLONE,var:this.tok.T_VAR,eval:this.tok.T_EVAL,include:this.tok.T_INCLUDE,include_once:this.tok.T_INCLUDE_ONCE,require:this.tok.T_REQUIRE,require_once:this.tok.T_REQUIRE_ONCE,namespace:this.tok.T_NAMESPACE,use:this.tok.T_USE,insteadof:this.tok.T_INSTEADOF,global:this.tok.T_GLOBAL,isset:this.tok.T_ISSET,empty:this.tok.T_EMPTY,__halt_compiler:this.tok.T_HALT_COMPILER,static:this.tok.T_STATIC,abstract:this.tok.T_ABSTRACT,final:this.tok.T_FINAL,private:this.tok.T_PRIVATE,protected:this.tok.T_PROTECTED,public:this.tok.T_PUBLIC,unset:this.tok.T_UNSET,list:this.tok.T_LIST,array:this.tok.T_ARRAY,callable:this.tok.T_CALLABLE,or:this.tok.T_LOGICAL_OR,and:this.tok.T_LOGICAL_AND,xor:this.tok.T_LOGICAL_XOR,match:this.tok.T_MATCH,readonly:this.tok.T_READ_ONLY},this.castKeywords={int:this.tok.T_INT_CAST,integer:this.tok.T_INT_CAST,real:this.tok.T_DOUBLE_CAST,double:this.tok.T_DOUBLE_CAST,float:this.tok.T_DOUBLE_CAST,string:this.tok.T_STRING_CAST,binary:this.tok.T_STRING_CAST,array:this.tok.T_ARRAY_CAST,object:this.tok.T_OBJECT_CAST,bool:this.tok.T_BOOL_CAST,boolean:this.tok.T_BOOL_CAST,unset:this.tok.T_UNSET_CAST}}n.prototype.setInput=function(t){return this._input=t,this.size=t.length,this.yylineno=1,this.offset=0,this.yyprevcol=0,this.yytext="",this.yylloc={first_offset:0,first_line:1,first_column:0,prev_offset:0,prev_line:1,prev_column:0,last_line:1,last_column:0},this.tokens=[],703<this.version?this.keywords.fn=this.tok.T_FN:delete this.keywords.fn,this.done=this.offset>=this.size,!this.all_tokens&&this.mode_eval?(this.conditionStack=["INITIAL"],this.begin("ST_IN_SCRIPTING")):(this.conditionStack=[],this.begin("INITIAL")),this.heredoc_label={label:"",length:0,indentation:0,indentation_uses_spaces:!1,finished:!1,first_encaps_node:!1,toString:function(){this.label}},this},n.prototype.input=function(){var t=this._input[this.offset];return t?(this.yytext+=t,this.offset++,"\r"===t&&"\n"===this._input[this.offset]&&(this.yytext+="\n",this.offset++),"\n"===t||"\r"===t?(this.yylloc.last_line=++this.yylineno,this.yyprevcol=this.yylloc.last_column,this.yylloc.last_column=0):this.yylloc.last_column++,t):""},n.prototype.unput=function(t){if(1===t)this.offset--,"\n"===this._input[this.offset]&&"\r"===this._input[this.offset-1]&&(this.offset--,t++),"\r"===this._input[this.offset]||"\n"===this._input[this.offset]?(this.yylloc.last_line--,this.yylineno--,this.yylloc.last_column=this.yyprevcol):this.yylloc.last_column--,this.yytext=this.yytext.substring(0,this.yytext.length-t);else if(0<t)if(this.offset-=t,t<this.yytext.length){this.yytext=this.yytext.substring(0,this.yytext.length-t),this.yylloc.last_line=this.yylloc.first_line,this.yylloc.last_column=this.yyprevcol=this.yylloc.first_column;for(var e=0;e<this.yytext.length;e++){var i=this.yytext[e];"\r"===i?(i=this.yytext[++e],this.yyprevcol=this.yylloc.last_column,this.yylloc.last_line++,this.yylloc.last_column=0,"\n"!==i&&("\r"===i?this.yylloc.last_line++:this.yylloc.last_column++)):"\n"===i?(this.yyprevcol=this.yylloc.last_column,this.yylloc.last_line++,this.yylloc.last_column=0):this.yylloc.last_column++}this.yylineno=this.yylloc.last_line}else this.yytext="",this.yylloc.last_line=this.yylineno=this.yylloc.first_line,this.yylloc.last_column=this.yylloc.first_column;return this},n.prototype.tryMatch=function(t){return t===this.ahead(t.length)},n.prototype.tryMatchCaseless=function(t){return t===this.ahead(t.length).toLowerCase()},n.prototype.ahead=function(t){var e=this._input.substring(this.offset,this.offset+t);return"\r"===e[e.length-1]&&"\n"===this._input[this.offset+t+1]&&(e+="\n"),e},n.prototype.consume=function(t){for(var e=0;e<t;e++){var i=this._input[this.offset];if(!i)break;this.yytext+=i,this.offset++,"\r"===i&&"\n"===this._input[this.offset]&&(this.yytext+="\n",this.offset++,e++),"\n"===i||"\r"===i?(this.yylloc.last_line=++this.yylineno,this.yyprevcol=this.yylloc.last_column,this.yylloc.last_column=0):this.yylloc.last_column++}return this},n.prototype.getState=function(){return{yytext:this.yytext,offset:this.offset,yylineno:this.yylineno,yyprevcol:this.yyprevcol,yylloc:{first_offset:this.yylloc.first_offset,first_line:this.yylloc.first_line,first_column:this.yylloc.first_column,last_line:this.yylloc.last_line,last_column:this.yylloc.last_column},heredoc_label:this.heredoc_label}},n.prototype.setState=function(t){return this.yytext=t.yytext,this.offset=t.offset,this.yylineno=t.yylineno,this.yyprevcol=t.yyprevcol,this.yylloc=t.yylloc,t.heredoc_label&&(this.heredoc_label=t.heredoc_label),this},n.prototype.appendToken=function(t,e){return this.tokens.push([t,e]),this},n.prototype.lex=function(){this.yylloc.prev_offset=this.offset,this.yylloc.prev_line=this.yylloc.last_line,this.yylloc.prev_column=this.yylloc.last_column;var t=this.next()||this.lex();if(!this.all_tokens){for(;t===this.tok.T_WHITESPACE||!this.comment_tokens&&(t===this.tok.T_COMMENT||t===this.tok.T_DOC_COMMENT)||t===this.tok.T_OPEN_TAG;)t=this.next()||this.lex();if(t==this.tok.T_OPEN_TAG_WITH_ECHO)return this.tok.T_ECHO;if(t===this.tok.T_CLOSE_TAG)return";"}return this.yylloc.prev_offset||(this.yylloc.prev_offset=this.yylloc.first_offset,this.yylloc.prev_line=this.yylloc.first_line,this.yylloc.prev_column=this.yylloc.first_column),t},n.prototype.begin=function(t){if(this.conditionStack.push(t),this.curCondition=t,this.stateCb=this["match"+t],"function"!=typeof this.stateCb)throw new Error('Undefined condition state "'+t+'"');return this},n.prototype.popState=function(){var t=0<this.conditionStack.length-1?this.conditionStack.pop():this.conditionStack[0];if(this.curCondition=this.conditionStack[this.conditionStack.length-1],this.stateCb=this["match"+this.curCondition],"function"!=typeof this.stateCb)throw new Error('Undefined condition state "'+this.curCondition+'"');return t},n.prototype.next=function(){var t,e;return this._input||(this.done=!0),this.yylloc.first_offset=this.offset,this.yylloc.first_line=this.yylloc.last_line,this.yylloc.first_column=this.yylloc.last_column,this.yytext="",this.done?(this.yylloc.prev_offset=this.yylloc.first_offset,this.yylloc.prev_line=this.yylloc.first_line,this.yylloc.prev_column=this.yylloc.first_column,this.EOF):(t=0<this.tokens.length?("object"===s((t=this.tokens.shift())[1])?this.setState(t[1]):this.consume(t[1]),t[0]):this.stateCb.apply(this,[]),this.offset>=this.size&&0===this.tokens.length&&(this.done=!0),this.debug&&(e="number"==typeof(e=t)?this.engine.tokens.values[e]:'"'+e+'"',e=new Error(e+"\tfrom "+this.yylloc.first_line+","+this.yylloc.first_column+"\t - to "+this.yylloc.last_line+","+this.yylloc.last_column+'\t"'+this.yytext+'"'),console.error(e.stack)),t)},[i(7010),i(438),i(3607),i(7405),i(465),i(5135),i(4437),i(1298),i(5609)].forEach(function(t){for(var e in t)n.prototype[e]=t[e]}),t.exports=n},7010:t=>{t.exports={attributeIndex:0,attributeListDepth:{},matchST_ATTRIBUTE:function(){var t=this.input();if(this.is_WHITESPACE()){for(;t=this.input(),this.is_WHITESPACE(););return this.unput(1),null}switch(t){case"]":return 0===this.attributeListDepth[this.attributeIndex]?(delete this.attributeListDepth[this.attributeIndex],this.attributeIndex--,this.popState()):this.attributeListDepth[this.attributeIndex]--,"]";case"(":case")":case":":case"=":case"|":case"&":case"^":case"-":case"+":case"*":case"%":case"~":case"<":case">":case"!":case".":return this.consume_TOKEN();case"[":return this.attributeListDepth[this.attributeIndex]++,"[";case",":return",";case'"':return this.ST_DOUBLE_QUOTES();case"'":return this.T_CONSTANT_ENCAPSED_STRING();case"/":return"/"===this._input[this.offset]?this.T_COMMENT():"*"===this._input[this.offset]?(this.input(),this.T_DOC_COMMENT()):this.consume_TOKEN()}if(this.is_LABEL_START()||"\\"===t){for(;this.offset<this.size;){var e=this.input();if(!this.is_LABEL()&&"\\"!==e){e&&this.unput(1);break}}return this.T_STRING()}if(this.is_NUM())return this.consume_NUM();throw new Error('Bad terminal sequence "'.concat(t,'" at line ').concat(this.yylineno," (offset ").concat(this.offset,")"))}}},438:t=>{t.exports={T_COMMENT:function(){for(;this.offset<this.size;){var t=this.input();if("\n"===t||"\r"===t)return this.tok.T_COMMENT;if("?"===t&&!this.aspTagMode&&">"===this._input[this.offset])return this.unput(1),this.tok.T_COMMENT;if("%"===t&&this.aspTagMode&&">"===this._input[this.offset])return this.unput(1),this.tok.T_COMMENT}return this.tok.T_COMMENT},T_DOC_COMMENT:function(){var t=this.input(),e=this.tok.T_COMMENT;if("*"===t){if(t=this.input(),this.is_WHITESPACE()&&(e=this.tok.T_DOC_COMMENT),"/"===t)return e;this.unput(1)}for(;this.offset<this.size;)if("*"===(t=this.input())&&"/"===this._input[this.offset]){this.input();break}return e}}},3607:t=>{t.exports={nextINITIAL:function(){return 1<this.conditionStack.length&&"INITIAL"===this.conditionStack[this.conditionStack.length-1]?this.popState():this.begin("ST_IN_SCRIPTING"),this},matchINITIAL:function(){for(;this.offset<this.size;){var t=this.input();if("<"==t)if("?"==(t=this.ahead(1))){if(this.tryMatch("?=")){this.unput(1).appendToken(this.tok.T_OPEN_TAG_WITH_ECHO,3).nextINITIAL();break}if(this.tryMatchCaseless("?php")&&(" "===(t=this._input[this.offset+4])||"\t"===t||"\n"===t||"\r"===t)){this.unput(1).appendToken(this.tok.T_OPEN_TAG,6).nextINITIAL();break}if(this.short_tags){this.unput(1).appendToken(this.tok.T_OPEN_TAG,2).nextINITIAL();break}}else if(this.asp_tags&&"%"==t){if(this.tryMatch("%=")){this.aspTagMode=!0,this.unput(1).appendToken(this.tok.T_OPEN_TAG_WITH_ECHO,3).nextINITIAL();break}this.aspTagMode=!0,this.unput(1).appendToken(this.tok.T_OPEN_TAG,2).nextINITIAL();break}}return 0<this.yytext.length&&this.tok.T_INLINE_HTML}}},7405:t=>{var s=10,n="2147483648";"x64"==i.arch&&(s=19,n="9223372036854775808"),t.exports={consume_NUM:function(){var t="."===(i=this.yytext[0]);if("0"===i)if("x"===(i=this.input())||"X"===i){if("_"!==(i=this.input())&&this.is_HEX())return this.consume_HNUM();this.unput(i?2:1)}else if("b"===i||"B"===i){if("_"!==(i=this.input())&&"0"===i||"1"===i)return this.consume_BNUM();this.unput(i?2:1)}else if("o"===i||"O"===i){if("_"!==(i=this.input())&&this.is_OCTAL())return this.consume_ONUM();this.unput(i?2:1)}else this.is_NUM()||i&&this.unput(1);for(;this.offset<this.size;){var e=i;if("_"===(i=this.input())){if("_"===e){this.unput(2);break}if("."===e){this.unput(1);break}if("e"===e||"E"===e){this.unput(2);break}}else{if("."===i){if(t){this.unput(1);break}if("_"===e){this.unput(2);break}t=!0;continue}if("e"===i||"E"===i){if("_"===e){this.unput(1);break}var i,e=2;if("+"!==(i=this.input())&&"-"!==i||(e=3,i=this.input()),this.is_NUM_START())return this.consume_LNUM(),this.tok.T_DNUMBER;this.unput(i?e:e-1);break}}if(!this.is_NUM()){i&&this.unput(1);break}}return!t&&(this.yytext.length<s-1||this.yytext.length<s||this.yytext.length==s&&this.yytext<n)?this.tok.T_LNUMBER:this.tok.T_DNUMBER},consume_HNUM:function(){for(;this.offset<this.size;){var t=this.input();if(!this.is_HEX()){t&&this.unput(1);break}}return this.tok.T_LNUMBER},consume_LNUM:function(){for(;this.offset<this.size;){var t=this.input();if(!this.is_NUM()){t&&this.unput(1);break}}return this.tok.T_LNUMBER},consume_BNUM:function(){for(var t;this.offset<this.size;)if("0"!==(t=this.input())&&"1"!==t&&"_"!==t){t&&this.unput(1);break}return this.tok.T_LNUMBER},consume_ONUM:function(){for(;this.offset<this.size;){var t=this.input();if(!this.is_OCTAL()){t&&this.unput(1);break}}return this.tok.T_LNUMBER}}},465:t=>{t.exports={matchST_LOOKING_FOR_PROPERTY:function(){var t=this.input();if("-"===t){if(">"===(t=this.input()))return this.tok.T_OBJECT_OPERATOR;t&&this.unput(1)}else{if(this.is_WHITESPACE())return this.tok.T_WHITESPACE;if(this.is_LABEL_START())return this.consume_LABEL(),this.popState(),this.tok.T_STRING}return this.popState(),t&&this.unput(1),!1},matchST_LOOKING_FOR_VARNAME:function(){var t=this.input();if(this.popState(),this.begin("ST_IN_SCRIPTING"),this.is_LABEL_START()){if(this.consume_LABEL(),"["===(t=this.input())||"}"===t)return this.unput(1),this.tok.T_STRING_VARNAME;this.unput(this.yytext.length)}else t&&this.unput(1);return!1},matchST_VAR_OFFSET:function(){var t=this.input();return this.is_NUM_START()?(this.consume_NUM(),this.tok.T_NUM_STRING):"]"===t?(this.popState(),"]"):"$"!==t?this.is_LABEL_START()?(this.consume_LABEL(),this.tok.T_STRING):this.is_WHITESPACE()||"\\"===t||"'"===t||"#"===t?this.tok.T_ENCAPSED_AND_WHITESPACE:"["===t||"{"===t||"}"===t||'"'===t||"`"===t||this.is_TOKEN()?t:void 0:(this.input(),this.is_LABEL_START()?(this.consume_LABEL(),this.tok.T_VARIABLE):void 0)}}},5135:t=>{t.exports={matchST_IN_SCRIPTING:function(){var t,e=this.input();switch(e){case" ":case"\t":case"\n":case"\r":case"\r\n":return this.T_WHITESPACE();case"#":return 800<=this.version&&"["===this._input[this.offset]?(this.input(),this.attributeListDepth[++this.attributeIndex]=0,this.begin("ST_ATTRIBUTE"),this.tok.T_ATTRIBUTE):this.T_COMMENT();case"/":return"/"===this._input[this.offset]?this.T_COMMENT():"*"===this._input[this.offset]?(this.input(),this.T_DOC_COMMENT()):this.consume_TOKEN();case"'":return this.T_CONSTANT_ENCAPSED_STRING();case'"':return this.ST_DOUBLE_QUOTES();case"`":return this.begin("ST_BACKQUOTE"),"`";case"?":return!this.aspTagMode&&this.tryMatch(">")?(this.input(),"\n"!==(t=this._input[this.offset])&&"\r"!==t||this.input(),1<this.conditionStack.length&&this.begin("INITIAL"),this.tok.T_CLOSE_TAG):this.consume_TOKEN();case"%":return this.aspTagMode&&">"===this._input[this.offset]?(this.input(),"\n"!==(e=this._input[this.offset])&&"\r"!==e||this.input(),this.aspTagMode=!1,1<this.conditionStack.length&&this.begin("INITIAL"),this.tok.T_CLOSE_TAG):this.consume_TOKEN();case"{":return this.begin("ST_IN_SCRIPTING"),"{";case"}":return 2<this.conditionStack.length&&this.popState(),"}";default:if("."===e){if(e=this.input(),this.is_NUM_START())return this.consume_NUM();e&&this.unput(1)}if(this.is_NUM_START())return this.consume_NUM();if(this.is_LABEL_START())return this.consume_LABEL().T_STRING();if(this.is_TOKEN())return this.consume_TOKEN()}throw new Error('Bad terminal sequence "'+e+'" at line '+this.yylineno+" (offset "+this.offset+")")},T_WHITESPACE:function(){for(;this.offset<this.size;){var t=this.input();if(" "!==t&&"\t"!==t&&"\n"!==t&&"\r"!==t){t&&this.unput(1);break}}return this.tok.T_WHITESPACE}}},4437:t=>{var o=["\n","\r"],a=["\n","\r",";"],_=a.concat(["\t"," ",",","]",")","/","=","!"]);t.exports={T_CONSTANT_ENCAPSED_STRING:function(){for(var t;this.offset<this.size;)if("\\"==(t=this.input()))this.input();else if("'"==t)break;return this.tok.T_CONSTANT_ENCAPSED_STRING},is_HEREDOC:function(){var t=this.offset;if("<"===this._input[this.offset-1]&&"<"===this._input[this.offset]&&"<"===this._input[this.offset+1]){if(this.offset+=3,this.is_TABSPACE())for(;this.offset<this.size&&(this.offset++,this.is_TABSPACE()););var e=this._input[this.offset-1];if("'"===e||'"'===e?this.offset++:e=null,this.is_LABEL_START()){for(var i=this.offset-1;this.offset<this.size&&(this.offset++,this.is_LABEL()););var s=this._input.substring(i,this.offset-1);if((!e||e===this._input[this.offset-1])&&(e&&this.offset++,o.includes(this._input[this.offset-1])))return this.heredoc_label.label=s,this.heredoc_label.length=s.length,this.heredoc_label.finished=!1,i=this.offset-t,this.offset=t,this.consume(i),"'"===e?this.begin("ST_NOWDOC"):this.begin("ST_HEREDOC"),this.prematch_ENDOFDOC(),this.tok.T_START_HEREDOC}}return this.offset=t,!1},ST_DOUBLE_QUOTES:function(){for(var t,e;this.offset<this.size;)if("\\"==(t=this.input()))this.input();else{if('"'==t)break;if("$"==t){if("{"==(t=this.input())||this.is_LABEL_START()){this.unput(2);break}t&&this.unput(1)}else if("{"==t){if("$"==(t=this.input())){this.unput(2);break}t&&this.unput(1)}}return'"'==t?this.tok.T_CONSTANT_ENCAPSED_STRING:(e=1,"b"!==this.yytext[0]&&"B"!==this.yytext[0]||(e=2),2<this.yytext.length&&this.appendToken(this.tok.T_ENCAPSED_AND_WHITESPACE,this.yytext.length-e),this.unput(this.yytext.length-e),this.begin("ST_DOUBLE_QUOTES"),this.yytext)},isDOC_MATCH:function(t,e){var i=this._input[t-2];if(o.includes(i)){var s=!1,n=!1,r=0,h=this._input[t-1];if(703<=this.version){for(;"\t"===h||" "===h;)" "===h?s=!0:"\t"===h&&(n=!0),h=this._input[t+r],r++;if(o.includes(this._input[(t+=r)-1]))return!1}if(this._input.substring(t-1,t-1+this.heredoc_label.length)===this.heredoc_label.label){i=this._input[t-1+this.heredoc_label.length];if((703<=this.version?_:a).includes(i)){if(e){if(this.consume(r),s&&n)throw new Error("Parse error: mixing spaces and tabs in ending marker at line "+this.yylineno+" (offset "+this.offset+")")}else this.heredoc_label.indentation=r,this.heredoc_label.indentation_uses_spaces=s,this.heredoc_label.first_encaps_node=!0;return!0}}}return!1},prematch_ENDOFDOC:function(){this.heredoc_label.indentation_uses_spaces=!1,this.heredoc_label.indentation=0,this.heredoc_label.first_encaps_node=!0;for(var t=this.offset+1;t<this._input.length;){if(this.isDOC_MATCH(t,!1))return;if(!o.includes(this._input[t-1]))for(;!o.includes(this._input[t++])&&t<this._input.length;);t++}},matchST_NOWDOC:function(){if(this.isDOC_MATCH(this.offset,!0))return this.consume(this.heredoc_label.length),this.popState(),this.tok.T_END_HEREDOC;for(var t=this._input[this.offset-1];this.offset<this.size;)if(o.includes(t)){if(t=this.input(),this.isDOC_MATCH(this.offset,!0))return this.unput(1).popState(),this.appendToken(this.tok.T_END_HEREDOC,this.heredoc_label.length),this.tok.T_ENCAPSED_AND_WHITESPACE}else t=this.input();return this.tok.T_ENCAPSED_AND_WHITESPACE},matchST_HEREDOC:function(){var t,e,i=this.input();if(this.isDOC_MATCH(this.offset,!0))return this.consume(this.heredoc_label.length-1),this.popState(),this.tok.T_END_HEREDOC;for(;this.offset<this.size;)if("\\"===i&&(i=this.input(),o.includes(i)||(i=this.input())),o.includes(i)){if(i=this.input(),this.isDOC_MATCH(this.offset,!0))return this.unput(1).popState(),this.appendToken(this.tok.T_END_HEREDOC,this.heredoc_label.length),this.tok.T_ENCAPSED_AND_WHITESPACE}else if("$"===i){if("{"===(i=this.input()))return this.begin("ST_LOOKING_FOR_VARNAME"),2<this.yytext.length?(this.appendToken(this.tok.T_DOLLAR_OPEN_CURLY_BRACES,2),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START())return t=this.offset,e=this.consume_VARIABLE(),this.yytext.length>this.offset-t+2?(this.appendToken(e,this.offset-t+2),this.unput(this.offset-t+2),this.tok.T_ENCAPSED_AND_WHITESPACE):e}else if("{"===i){if("$"===(i=this.input()))return this.begin("ST_IN_SCRIPTING"),2<this.yytext.length?(this.appendToken(this.tok.T_CURLY_OPEN,1),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):(this.unput(1),this.tok.T_CURLY_OPEN)}else i=this.input();return this.tok.T_ENCAPSED_AND_WHITESPACE},consume_VARIABLE:function(){this.consume_LABEL();var t=this.input();if("["==t)this.unput(1),this.begin("ST_VAR_OFFSET");else if("-"===t){if(">"===this.input())return this.input(),this.is_LABEL_START()&&this.begin("ST_LOOKING_FOR_PROPERTY"),this.unput(3),this.tok.T_VARIABLE;this.unput(2)}else t&&this.unput(1);return this.tok.T_VARIABLE},matchST_BACKQUOTE:function(){var t,e,i=this.input();if("$"===i){if("{"===(i=this.input()))return this.begin("ST_LOOKING_FOR_VARNAME"),this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START())return this.consume_VARIABLE()}else if("{"===i){if("$"===this._input[this.offset])return this.begin("ST_IN_SCRIPTING"),this.tok.T_CURLY_OPEN}else if("`"===i)return this.popState(),"`";for(;this.offset<this.size;){if("\\"===i)this.input();else{if("`"===i){this.unput(1),this.popState(),this.appendToken("`",1);break}if("$"===i){if("{"===(i=this.input()))return this.begin("ST_LOOKING_FOR_VARNAME"),2<this.yytext.length?(this.appendToken(this.tok.T_DOLLAR_OPEN_CURLY_BRACES,2),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START())return t=this.offset,e=this.consume_VARIABLE(),this.yytext.length>this.offset-t+2?(this.appendToken(e,this.offset-t+2),this.unput(this.offset-t+2),this.tok.T_ENCAPSED_AND_WHITESPACE):e;continue}if("{"===i){if("$"===(i=this.input()))return this.begin("ST_IN_SCRIPTING"),2<this.yytext.length?(this.appendToken(this.tok.T_CURLY_OPEN,1),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):(this.unput(1),this.tok.T_CURLY_OPEN);continue}}i=this.input()}return this.tok.T_ENCAPSED_AND_WHITESPACE},matchST_DOUBLE_QUOTES:function(){var t,e,i=this.input();if("$"===i){if("{"===(i=this.input()))return this.begin("ST_LOOKING_FOR_VARNAME"),this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START())return this.consume_VARIABLE()}else if("{"===i){if("$"===this._input[this.offset])return this.begin("ST_IN_SCRIPTING"),this.tok.T_CURLY_OPEN}else if('"'===i)return this.popState(),'"';for(;this.offset<this.size;){if("\\"===i)this.input();else{if('"'===i){this.unput(1),this.popState(),this.appendToken('"',1);break}if("$"===i){if("{"===(i=this.input()))return this.begin("ST_LOOKING_FOR_VARNAME"),2<this.yytext.length?(this.appendToken(this.tok.T_DOLLAR_OPEN_CURLY_BRACES,2),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START())return t=this.offset,e=this.consume_VARIABLE(),this.yytext.length>this.offset-t+2?(this.appendToken(e,this.offset-t+2),this.unput(this.offset-t+2),this.tok.T_ENCAPSED_AND_WHITESPACE):e;i&&this.unput(1)}else if("{"===i){if("$"===(i=this.input()))return this.begin("ST_IN_SCRIPTING"),2<this.yytext.length?(this.appendToken(this.tok.T_CURLY_OPEN,1),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):(this.unput(1),this.tok.T_CURLY_OPEN);i&&this.unput(1)}}i=this.input()}return this.tok.T_ENCAPSED_AND_WHITESPACE}}},1298:t=>{t.exports={T_STRING:function(){var t=this.yytext.toLowerCase(),e=this.keywords[t];if("number"!=typeof e)if("yield"===t)e=700<=this.version&&this.tryMatch(" from")?(this.consume(5),this.tok.T_YIELD_FROM):this.tok.T_YIELD;else if(e=this.tok.T_STRING,"b"===t||"B"===t){var i=this.input();if('"'===i)return this.ST_DOUBLE_QUOTES();if("'"===i)return this.T_CONSTANT_ENCAPSED_STRING();i&&this.unput(1)}if(e===this.tok.T_ENUM){if(this.version<801)return this.tok.T_STRING;for(var i=this.offset,s=this.input();" "==s;)s=this.input();var n=!1;if(this.is_LABEL_START()){for(;this.is_LABEL();)s+=this.input();var r=s.slice(0,-1).toLowerCase(),n="extends"!==r&&"implements"!==r}return this.unput(this.offset-i),n?this.tok.T_ENUM:this.tok.T_STRING}if(this.offset<this.size&&e!==this.tok.T_YIELD_FROM){var h=this.input();if("\\"===h){e="namespace"===t?this.tok.T_NAME_RELATIVE:this.tok.T_NAME_QUALIFIED;do{if("{"===this._input[this.offset]){this.input();break}}while(this.consume_LABEL(),"\\"===(h=this.input()))}h&&this.unput(1)}return e},consume_TOKEN:function(){var t=this._input[this.offset-1],t=this.tokenTerminals[t];return t?t.apply(this,[]):this.yytext},tokenTerminals:{$:function(){return this.offset++,this.is_LABEL_START()?(this.offset--,this.consume_LABEL(),this.tok.T_VARIABLE):(this.offset--,"$")},"-":function(){var t=this._input[this.offset];return">"===t?(this.begin("ST_LOOKING_FOR_PROPERTY").input(),this.tok.T_OBJECT_OPERATOR):"-"===t?(this.input(),this.tok.T_DEC):"="===t?(this.input(),this.tok.T_MINUS_EQUAL):"-"},"\\":function(){if(this.offset<this.size){if(this.input(),this.is_LABEL_START()){do{if("{"===this._input[this.offset]){this.input();break}}while(this.consume_LABEL(),"\\"===this.input());return this.unput(1),this.tok.T_NAME_FULLY_QUALIFIED}this.unput(1)}return this.tok.T_NS_SEPARATOR},"/":function(){return"="===this._input[this.offset]?(this.input(),this.tok.T_DIV_EQUAL):"/"},":":function(){return":"===this._input[this.offset]?(this.input(),this.tok.T_DOUBLE_COLON):":"},"(":function(){var t=this.offset;if(this.input(),this.is_TABSPACE()&&this.consume_TABSPACE().input(),this.is_LABEL_START()){var e=this.yytext.length,e=(this.consume_LABEL(),this.yytext.substring(e-1).toLowerCase()),e=this.castKeywords[e];if("number"==typeof e&&(this.input(),this.is_TABSPACE()&&this.consume_TABSPACE().input(),")"===this._input[this.offset-1]))return e}return this.unput(this.offset-t),"("},"=":function(){var t=this._input[this.offset];return">"===t?(this.input(),this.tok.T_DOUBLE_ARROW):"="===t?"="===this._input[this.offset+1]?(this.consume(2),this.tok.T_IS_IDENTICAL):(this.input(),this.tok.T_IS_EQUAL):"="},"+":function(){var t=this._input[this.offset];return"+"===t?(this.input(),this.tok.T_INC):"="===t?(this.input(),this.tok.T_PLUS_EQUAL):"+"},"!":function(){return"="===this._input[this.offset]?"="===this._input[this.offset+1]?(this.consume(2),this.tok.T_IS_NOT_IDENTICAL):(this.input(),this.tok.T_IS_NOT_EQUAL):"!"},"?":function(){return 700<=this.version&&"?"===this._input[this.offset]?704<=this.version&&"="===this._input[this.offset+1]?(this.consume(2),this.tok.T_COALESCE_EQUAL):(this.input(),this.tok.T_COALESCE):800<=this.version&&"-"===this._input[this.offset]&&">"===this._input[this.offset+1]?(this.consume(2),this.tok.T_NULLSAFE_OBJECT_OPERATOR):"?"},"<":function(){var t=this._input[this.offset];return"<"===t?"="===(t=this._input[this.offset+1])?(this.consume(2),this.tok.T_SL_EQUAL):"<"===t&&this.is_HEREDOC()?this.tok.T_START_HEREDOC:(this.input(),this.tok.T_SL):"="===t?(this.input(),700<=this.version&&">"===this._input[this.offset]?(this.input(),this.tok.T_SPACESHIP):this.tok.T_IS_SMALLER_OR_EQUAL):">"===t?(this.input(),this.tok.T_IS_NOT_EQUAL):"<"},">":function(){var t=this._input[this.offset];return"="===t?(this.input(),this.tok.T_IS_GREATER_OR_EQUAL):">"===t?"="===this._input[this.offset+1]?(this.consume(2),this.tok.T_SR_EQUAL):(this.input(),this.tok.T_SR):">"},"*":function(){var t=this._input[this.offset];return"="===t?(this.input(),this.tok.T_MUL_EQUAL):"*"===t?(this.input(),"="===this._input[this.offset]?(this.input(),this.tok.T_POW_EQUAL):this.tok.T_POW):"*"},".":function(){var t=this._input[this.offset];return"="===t?(this.input(),this.tok.T_CONCAT_EQUAL):"."===t&&"."===this._input[this.offset+1]?(this.consume(2),this.tok.T_ELLIPSIS):"."},"%":function(){return"="===this._input[this.offset]?(this.input(),this.tok.T_MOD_EQUAL):"%"},"&":function(){var t=this._input[this.offset];return"="===t?(this.input(),this.tok.T_AND_EQUAL):"&"===t?(this.input(),this.tok.T_BOOLEAN_AND):"&"},"|":function(){var t=this._input[this.offset];return"="===t?(this.input(),this.tok.T_OR_EQUAL):"|"===t?(this.input(),this.tok.T_BOOLEAN_OR):"|"},"^":function(){return"="===this._input[this.offset]?(this.input(),this.tok.T_XOR_EQUAL):"^"}}}},5609:t=>{t.exports={is_NUM:function(){var t=this._input.charCodeAt(this.offset-1);return 47<t&&t<58||95===t},is_NUM_START:function(){var t=this._input.charCodeAt(this.offset-1);return 47<t&&t<58},is_LABEL:function(){var t=this._input.charCodeAt(this.offset-1);return 96<t&&t<123||64<t&&t<91||95===t||47<t&&t<58||126<t},is_LABEL_START:function(){var t=this._input.charCodeAt(this.offset-1);return 64<t&&t<91||96<t&&t<123||95===t||126<t},consume_LABEL:function(){for(;this.offset<this.size;){var t=this.input();if(!this.is_LABEL()){t&&this.unput(1);break}}return this},is_TOKEN:function(){var t=this._input[this.offset-1];return-1!==";:,.\\[]()|^&+-/*=%!~$<>?@".indexOf(t)},is_WHITESPACE:function(){var t=this._input[this.offset-1];return" "===t||"\t"===t||"\n"===t||"\r"===t},is_TABSPACE:function(){var t=this._input[this.offset-1];return" "===t||"\t"===t},consume_TABSPACE:function(){for(;this.offset<this.size;){var t=this.input();if(!this.is_TABSPACE()){t&&this.unput(1);break}}return this},is_HEX:function(){var t=this._input.charCodeAt(this.offset-1);return 47<t&&t<58||64<t&&t<71||96<t&&t<103||95===t},is_OCTAL:function(){var t=this._input.charCodeAt(this.offset-1);return 47<t&&t<56||95===t}}},8410:(t,e,i)=>{var s=i(7724);function r(t){return"."!=t&&","!=t&&!isNaN(parseFloat(t))&&isFinite(t)}function n(t,e){function i(t){return[t,null]}this.lexer=t,this.ast=e,this.tok=t.tok,this.EOF=t.EOF,this.token=null,this.prev=null,this.debug=!1,this.version=801,this.extractDoc=!1,this.extractTokens=!1,this.suppressErrors=!1,this.entries={IDENTIFIER:new Map([this.tok.T_ABSTRACT,this.tok.T_ARRAY,this.tok.T_AS,this.tok.T_BREAK,this.tok.T_CALLABLE,this.tok.T_CASE,this.tok.T_CATCH,this.tok.T_CLASS,this.tok.T_CLASS_C,this.tok.T_CLONE,this.tok.T_CONST,this.tok.T_CONTINUE,this.tok.T_DECLARE,this.tok.T_DEFAULT,this.tok.T_DIR,this.tok.T_DO,this.tok.T_ECHO,this.tok.T_ELSE,this.tok.T_ELSEIF,this.tok.T_EMPTY,this.tok.T_ENDDECLARE,this.tok.T_ENDFOR,this.tok.T_ENDFOREACH,this.tok.T_ENDIF,this.tok.T_ENDSWITCH,this.tok.T_ENDWHILE,this.tok.T_ENUM,this.tok.T_EVAL,this.tok.T_EXIT,this.tok.T_EXTENDS,this.tok.T_FILE,this.tok.T_FINAL,this.tok.T_FINALLY,this.tok.T_FN,this.tok.T_FOR,this.tok.T_FOREACH,this.tok.T_FUNC_C,this.tok.T_FUNCTION,this.tok.T_GLOBAL,this.tok.T_GOTO,this.tok.T_IF,this.tok.T_IMPLEMENTS,this.tok.T_INCLUDE,this.tok.T_INCLUDE_ONCE,this.tok.T_INSTANCEOF,this.tok.T_INSTEADOF,this.tok.T_INTERFACE,this.tok.T_ISSET,this.tok.T_LINE,this.tok.T_LIST,this.tok.T_LOGICAL_AND,this.tok.T_LOGICAL_OR,this.tok.T_LOGICAL_XOR,this.tok.T_MATCH,this.tok.T_METHOD_C,this.tok.T_NAMESPACE,this.tok.T_NEW,this.tok.T_NS_C,this.tok.T_PRINT,this.tok.T_PRIVATE,this.tok.T_PROTECTED,this.tok.T_PUBLIC,this.tok.T_READ_ONLY,this.tok.T_REQUIRE,this.tok.T_REQUIRE_ONCE,this.tok.T_RETURN,this.tok.T_STATIC,this.tok.T_SWITCH,this.tok.T_THROW,this.tok.T_TRAIT,this.tok.T_TRY,this.tok.T_UNSET,this.tok.T_USE,this.tok.T_VAR,this.tok.T_WHILE,this.tok.T_YIELD].map(i)),VARIABLE:new Map([this.tok.T_VARIABLE,"$","&",this.tok.T_STRING,this.tok.T_NAME_RELATIVE,this.tok.T_NAME_QUALIFIED,this.tok.T_NAME_FULLY_QUALIFIED,this.tok.T_NAMESPACE,this.tok.T_STATIC].map(i)),SCALAR:new Map([this.tok.T_CONSTANT_ENCAPSED_STRING,this.tok.T_START_HEREDOC,this.tok.T_LNUMBER,this.tok.T_DNUMBER,this.tok.T_ARRAY,"[",this.tok.T_CLASS_C,this.tok.T_TRAIT_C,this.tok.T_FUNC_C,this.tok.T_METHOD_C,this.tok.T_LINE,this.tok.T_FILE,this.tok.T_DIR,this.tok.T_NS_C,'"','b"','B"',"-",this.tok.T_NS_SEPARATOR].map(i)),T_MAGIC_CONST:new Map([this.tok.T_CLASS_C,this.tok.T_TRAIT_C,this.tok.T_FUNC_C,this.tok.T_METHOD_C,this.tok.T_LINE,this.tok.T_FILE,this.tok.T_DIR,this.tok.T_NS_C].map(i)),T_MEMBER_FLAGS:new Map([this.tok.T_PUBLIC,this.tok.T_PRIVATE,this.tok.T_PROTECTED,this.tok.T_STATIC,this.tok.T_ABSTRACT,this.tok.T_FINAL].map(i)),EOS:new Map([";",this.EOF,this.tok.T_INLINE_HTML].map(i)),EXPR:new Map(["@","-","+","!","~","(","`",this.tok.T_LIST,this.tok.T_CLONE,this.tok.T_INC,this.tok.T_DEC,this.tok.T_NEW,this.tok.T_ISSET,this.tok.T_EMPTY,this.tok.T_MATCH,this.tok.T_INCLUDE,this.tok.T_INCLUDE_ONCE,this.tok.T_REQUIRE,this.tok.T_REQUIRE_ONCE,this.tok.T_EVAL,this.tok.T_INT_CAST,this.tok.T_DOUBLE_CAST,this.tok.T_STRING_CAST,this.tok.T_ARRAY_CAST,this.tok.T_OBJECT_CAST,this.tok.T_BOOL_CAST,this.tok.T_UNSET_CAST,this.tok.T_EXIT,this.tok.T_PRINT,this.tok.T_YIELD,this.tok.T_STATIC,this.tok.T_FUNCTION,this.tok.T_FN,this.tok.T_VARIABLE,"$",this.tok.T_NS_SEPARATOR,this.tok.T_STRING,this.tok.T_NAME_RELATIVE,this.tok.T_NAME_QUALIFIED,this.tok.T_NAME_FULLY_QUALIFIED,this.tok.T_STRING,this.tok.T_CONSTANT_ENCAPSED_STRING,this.tok.T_START_HEREDOC,this.tok.T_LNUMBER,this.tok.T_DNUMBER,this.tok.T_ARRAY,"[",this.tok.T_CLASS_C,this.tok.T_TRAIT_C,this.tok.T_FUNC_C,this.tok.T_METHOD_C,this.tok.T_LINE,this.tok.T_FILE,this.tok.T_DIR,this.tok.T_NS_C,'"','b"','B"',"-",this.tok.T_NS_SEPARATOR].map(i))}}n.prototype.getTokenName=function(t){return r(t)?t==this.EOF?"the end of file (EOF)":this.lexer.engine.tokens.values[t]:"'"+t+"'"},n.prototype.parse=function(t,e){this._errors=[],this.filename=e||"eval",this.currentNamespace=[""],this.extractDoc?this._docs=[]:this._docs=null,this.extractTokens?this._tokens=[]:this._tokens=null,this._docIndex=0,this._lastNode=null,this.lexer.setInput(t),this.lexer.all_tokens=this.extractTokens,this.lexer.comment_tokens=this.extractDoc,this.length=this.lexer._input.length,this.innerList=!1,this.innerListForm=!1;var e=this.node("program"),i=[];for(this.next();this.token!=this.EOF;)i.push(this.read_start());0===i.length&&this.extractDoc&&this._docs.length>this._docIndex&&i.push(this.node("noop")()),this.prev=[this.lexer.yylloc.last_line,this.lexer.yylloc.last_column,this.lexer.offset];t=e(i,this._errors,this._docs,this._tokens);if(this.debug){e=this.ast.checkNodes();if(0<e.length)throw e.forEach(function(t){t.position&&console.log("Node at line "+t.position.line+", column "+t.position.column),console.log(t.stack.join("\n"))}),new Error("Some nodes are not closed")}return t},n.prototype.raiseError=function(t,e,i,s){if(t+=" on line "+this.lexer.yylloc.first_line,this.suppressErrors)return s=this.ast.prepare("error",null,this)(t,s,this.lexer.yylloc.first_line,i),this._errors.push(s),s;throw(i=new SyntaxError(t,this.filename,this.lexer.yylloc.first_line)).lineNumber=this.lexer.yylloc.first_line,i.fileName=this.filename,i.columnNumber=this.lexer.yylloc.first_column,i},n.prototype.error=function(t){var e,i="Parse Error : syntax error",s=this.getTokenName(this.token),n="";return this.token!==this.EOF&&(i+=", unexpected "+(s=r(this.token)?"'"+(e=10<(e=this.text()).length?e.substring(0,7)+"...":e)+"' ("+s+")":s)),t&&!Array.isArray(t)&&(i+=n=!r(t)&&1!==t.length?n:", expecting "+this.getTokenName(t)),this.raiseError(i,n,t,s)},n.prototype.position=function(){return new s(this.lexer.yylloc.first_line,this.lexer.yylloc.first_column,this.lexer.yylloc.first_offset)},n.prototype.node=function(t){var e;return this.extractDoc?(e=null,this._docIndex<this._docs.length&&(e=this._docs.slice(this._docIndex),this._docIndex=this._docs.length,this.debug)&&(console.log(new Error("Append docs on "+t)),console.log(e)),(e=this.ast.prepare(t,e,this)).postBuild=function(t){if(this._docIndex<this._docs.length)if(this._lastNode){for(var e=this.prev[2],i=this._docIndex;i<this._docs.length&&!(this._docs[i].offset>e);i++);i>this._docIndex&&(this._lastNode.setTrailingComments(this._docs.slice(this._docIndex,i)),this._docIndex=i)}else this.token===this.EOF&&(t.setTrailingComments(this._docs.slice(this._docIndex)),this._docIndex=this._docs.length);this._lastNode=t}.bind(this),e):this.ast.prepare(t,null,this)},n.prototype.expectEndOfStatement=function(t){if(";"===this.token)t&&";"===this.lexer.yytext&&t.includeToken(this);else if(this.token!==this.tok.T_INLINE_HTML&&this.token!==this.EOF)return this.error(";"),!1;return this.next(),!0};var h=["parser.next","parser.node","parser.showlog"];n.prototype.showlog=function(){for(var t=(new Error).stack.split("\n"),e=2;e<t.length;e++){for(var i=t[e].trim(),s=!1,n=0;n<h.length;n++)if(i.substring(3,3+h[n].length)===h[n]){s=!0;break}if(!s)break}return console.log("Line "+this.lexer.yylloc.first_line+" : "+this.getTokenName(this.token)+">"+this.lexer.yytext+"< @--\x3e"+i),this},n.prototype.expect=function(t){if(Array.isArray(t)){if(-1===t.indexOf(this.token))return this.error(t),!1}else if(this.token!=t)return this.error(t),!1;return!0},n.prototype.text=function(){return this.lexer.yytext},n.prototype.next=function(){if(";"===this.token&&";"!==this.lexer.yytext||(this.prev=[this.lexer.yylloc.last_line,this.lexer.yylloc.last_column,this.lexer.offset]),this.lex(),this.debug&&this.showlog(),this.extractDoc)for(;this.token===this.tok.T_COMMENT||this.token===this.tok.T_DOC_COMMENT;)this.token===this.tok.T_COMMENT?this._docs.push(this.read_comment()):this._docs.push(this.read_doc_comment());return this},n.prototype.peek=function(){var t=this.lexer.getState(),e=this.lexer.lex();return this.lexer.setState(t),e},n.prototype.lex=function(){if(this.extractTokens)do{if(this.token=this.lexer.lex()||this.EOF,this.token===this.EOF)return this;var t=this.lexer.yytext,t=Object.prototype.hasOwnProperty.call(this.lexer.engine.tokens.values,this.token)?[this.lexer.engine.tokens.values[this.token],t,this.lexer.yylloc.first_line,this.lexer.yylloc.first_offset,this.lexer.offset]:[null,t,this.lexer.yylloc.first_line,this.lexer.yylloc.first_offset,this.lexer.offset];if(this._tokens.push(t),this.token===this.tok.T_CLOSE_TAG)return this.token=";",this;if(this.token===this.tok.T_OPEN_TAG_WITH_ECHO)return this.token=this.tok.T_ECHO,this}while(this.token===this.tok.T_WHITESPACE||!this.extractDoc&&(this.token===this.tok.T_COMMENT||this.token===this.tok.T_DOC_COMMENT)||this.token===this.tok.T_OPEN_TAG);else this.token=this.lexer.lex()||this.EOF;return this},n.prototype.is=function(t){return Array.isArray(t)?-1!==t.indexOf(this.token):this.entries[t].has(this.token)},[i(3665),i(8342),i(9673),i(3166),i(847),i(2706),i(4002),i(3745),i(9905),i(1250),i(9889),i(4992),i(7991),i(4544),i(9957),i(1099)].forEach(function(t){for(var e in t){if(Object.prototype.hasOwnProperty.call(n.prototype,e))throw new Error("Function "+e+" is already defined - collision");n.prototype[e]=t[e]}}),t.exports=n},3665:t=>{t.exports={read_array:function(){var t=null,e=!1,i=this.node("array"),t=this.token===this.tok.T_ARRAY?(this.next().expect("("),")"):(e=!0,"]"),s=[];return this.next().token!==t&&(s=this.read_array_pair_list(e)),this.expect(t),this.next(),i(e,s)},read_array_pair_list:function(t){var e=this;return this.read_list(function(){return e.read_array_pair(t)},",",!0)},read_array_pair:function(t){var e,i,s,n,r;if(!(!t&&")"===this.token||t&&"]"===this.token))return","===this.token?this.node("noop")():(t=this.node("entry"),r=e=null,s=i=!1,r="&"===this.token?(this.next(),this.read_variable(i=!0,!1)):this.token===this.tok.T_ELLIPSIS&&704<=this.version?(this.next(),"&"===this.token&&this.error(),s=!0,this.read_expr()):(n=this.read_expr(),this.token===this.tok.T_DOUBLE_ARROW?(this.next(),e=n,"&"===this.token?(this.next(),this.read_variable(i=!0,!1)):this.read_expr()):n),t(e,r,i,s))}}},8342:t=>{function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var s,n,r,h,o=[],a=!0,_=!1;try{if(r=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;a=!1}else for(;!(a=(s=r.call(i)).done)&&(o.push(s.value),o.length!==e);a=!0);}catch(t){_=!0,n=t}finally{try{if(!a&&null!=i.return&&(h=i.return(),Object(h)!==h))return}finally{if(_)throw n}}return o}}(t,e)||i(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||i(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){var i;if(t)return"string"==typeof t?s(t,e):"Map"===(i="Object"===(i=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:i)||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?s(t,e):void 0}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i<e;i++)s[i]=t[i];return s}t.exports={read_class_declaration_statement:function(t){var e=this.node("class"),i=this.read_class_modifiers();if(this.token!==this.tok.T_CLASS)return this.error(this.tok.T_CLASS),this.next(),null;this.next().expect(this.tok.T_STRING);var s=this.node("identifier"),n=this.text(),n=(this.next(),s=s(n),this.read_extends_from()),r=this.read_implements_list();this.expect("{");e=e(s,n,r,this.next().read_class_body(!0,!1),i);return t&&(e.attrGroups=t),e},read_class_modifiers:function(){var t=this.read_class_modifier({readonly:0,final_or_abstract:0});return[0,0,t.final_or_abstract,t.readonly]},read_class_modifier:function(t){return this.token===this.tok.T_READ_ONLY?(this.next(),t.readonly=1,t=this.read_class_modifier(t)):0===t.final_or_abstract&&this.token===this.tok.T_ABSTRACT?(this.next(),t.final_or_abstract=1,t=this.read_class_modifier(t)):0===t.final_or_abstract&&this.token===this.tok.T_FINAL&&(this.next(),t.final_or_abstract=2,t=this.read_class_modifier(t)),t},read_class_body:function(t,e){for(var i,s,n,r=[],h=[];this.token!==this.EOF&&"}"!==this.token;)this.token===this.tok.T_COMMENT?r.push(this.read_comment()):this.token===this.tok.T_DOC_COMMENT?r.push(this.read_doc_comment()):this.token===this.tok.T_USE?r=r.concat(this.read_trait_use_statement()):e&&this.token===this.tok.T_CASE?(i=this.read_enum_case(),this.expect(";")&&this.next(),r=r.concat(i)):(this.token===this.tok.T_ATTRIBUTE&&(h=this.read_attr_list()),i=this.position(),s=this.read_member_flags(!1),this.token===this.tok.T_CONST?(n=this.read_constant_list(s,h),this.expect(";")&&this.next(),r=r.concat(n)):(t&&this.token===this.tok.T_VAR&&(this.next().expect(this.tok.T_VARIABLE),s[0]=null,s[1]=0),this.token===this.tok.T_FUNCTION?(r.push(this.read_function(!1,s,h,i)),h=[]):t&&(this.token===this.tok.T_VARIABLE||801<=this.version&&this.token===this.tok.T_READ_ONLY||704<=this.version&&("?"===this.token||this.token===this.tok.T_ARRAY||this.token===this.tok.T_CALLABLE||this.token===this.tok.T_NAMESPACE||this.token===this.tok.T_NAME_FULLY_QUALIFIED||this.token===this.tok.T_NAME_QUALIFIED||this.token===this.tok.T_NAME_RELATIVE||this.token===this.tok.T_NS_SEPARATOR||this.token===this.tok.T_STRING))?(n=this.read_variable_list(s,h),h=[],this.expect(";"),this.next(),r=r.concat(n)):(this.error([this.tok.T_CONST].concat(a(t?[this.tok.T_VARIABLE]:[]),a(e?[this.tok.T_CASE]:[]),[this.tok.T_FUNCTION])),this.next())));return this.expect("}"),this.next(),r},read_variable_list:function(t,h){return this.node("propertystatement")(null,this.read_list(function(){var t=this.node("property"),e=!1;this.token===this.tok.T_READ_ONLY&&(e=!0,this.next());var i=o(this.read_optional_type(),2),s=i[0],i=i[1],n=(this.expect(this.tok.T_VARIABLE),this.node("identifier")),r=this.text().substring(1);return this.next(),n=n(r),";"===this.token||","===this.token?t(n,null,e,s,i,h||[]):"="===this.token?t(n,this.next().read_expr(),e,s,i,h||[]):(this.expect([",",";","="]),t(n,null,s,i,h||[]))},","),t)},read_constant_list:function(t,e){return this.expect(this.tok.T_CONST)&&this.next(),this.node("classconstant")(null,this.read_list(function(){var t,e=this.node("constant"),i=null,s=null;return this.token===this.tok.T_STRING||700<=this.version&&this.is("IDENTIFIER")?(i=this.node("identifier"),t=this.text(),this.next(),i=i(t)):this.expect("IDENTIFIER"),e(i,s=this.expect("=")?this.next().read_expr():s)},","),t,e||[])},read_member_flags:function(t){var e=[-1,-1,-1];if(this.is("T_MEMBER_FLAGS")){var i=0,s=0;do{switch(this.token){case this.tok.T_PUBLIC:s=i=0;break;case this.tok.T_PROTECTED:i=0,s=1;break;case this.tok.T_PRIVATE:i=0,s=2;break;case this.tok.T_STATIC:s=i=1;break;case this.tok.T_ABSTRACT:i=2,s=1;break;case this.tok.T_FINAL:s=i=2}}while(t&&(0==i&&2==s?(this.expect([this.tok.T_PUBLIC,this.tok.T_PROTECTED]),s=-1):2==i&&1==s&&(this.error(),s=-1)),-1!==e[i]?this.error():-1!==s&&(e[i]=s),this.next().is("T_MEMBER_FLAGS"))}return-1==e[1]&&(e[1]=0),-1==e[2]&&(e[2]=0),e},read_optional_type:function(){var t=!1,e=("?"===this.token&&(t=!0,this.next()),this.read_types());if(t&&!e&&this.raiseError("Expecting a type definition combined with nullable operator"),!t&&!e)return[!1,null];if("|"===this.token){e=[e];do{this.next();var i=this.read_type();if(!i){this.raiseError("Expecting a type definition");break}}while(e.push(i),"|"===this.token)}return[t,e]},read_interface_declaration_statement:function(t){var e=this.node("interface");if(this.token!==this.tok.T_INTERFACE)return this.error(this.tok.T_INTERFACE),this.next(),null;this.next().expect(this.tok.T_STRING);var i=this.node("identifier"),s=this.text(),s=(this.next(),i=i(s),this.read_interface_extends_list());return this.expect("{"),e(i,s,this.next().read_interface_body(),t||[])},read_interface_body:function(){for(var t,e,i,s=[],n=[];this.token!==this.EOF&&"}"!==this.token;)this.token===this.tok.T_COMMENT?s.push(this.read_comment()):this.token===this.tok.T_DOC_COMMENT?s.push(this.read_doc_comment()):(t=this.position(),n=this.read_attr_list(),e=this.read_member_flags(!0),this.token==this.tok.T_CONST?(i=this.read_constant_list(e,n),this.expect(";")&&this.next(),s=s.concat(i),n=[]):this.token===this.tok.T_FUNCTION?((i=this.read_function_declaration(2,e,n,t)).parseFlags(e),s.push(i),this.expect(";")&&this.next(),n=[]):(this.error([this.tok.T_CONST,this.tok.T_FUNCTION]),this.next()));return this.expect("}")&&this.next(),s},read_trait_declaration_statement:function(){var t=this.node("trait");if(this.token!==this.tok.T_TRAIT)return this.error(this.tok.T_TRAIT),this.next(),null;this.next().expect(this.tok.T_STRING);var e=this.node("identifier"),i=this.text(),i=(this.next(),e=e(i),this.expect("{"),this.next().read_class_body(!0,!1));return t(e,i)},read_trait_use_statement:function(){for(var t=this.node("traituse"),e=(this.expect(this.tok.T_USE)&&this.next(),[this.read_namespace_name()]),i=null;","===this.token;)e.push(this.next().read_namespace_name());if("{"===this.token){for(i=[];this.next().token!==this.EOF&&"}"!==this.token;)i.push(this.read_trait_use_alias()),this.expect(";");this.expect("}")&&this.next()}else this.expect(";")&&this.next();return t(e,i)},read_trait_use_alias:function(){var t,e,i,s,n=this.node(),r=null;return this.is("IDENTIFIER")?(t=this.node("identifier"),e=this.text(),this.next(),t=t(e)):(t=this.read_namespace_name(),this.token===this.tok.T_DOUBLE_COLON?(this.next(),this.token===this.tok.T_STRING||700<=this.version&&this.is("IDENTIFIER")?(r=t,t=this.node("identifier"),e=this.text(),this.next(),t=t(e)):this.expect(this.tok.T_STRING)):t=t.name),this.token===this.tok.T_INSTEADOF?n("traitprecedence",r,t,this.next().read_name_list()):this.token===this.tok.T_AS?(i=e=null,this.next().is("T_MEMBER_FLAGS")&&(e=this.read_member_flags()),this.token===this.tok.T_STRING||700<=this.version&&this.is("IDENTIFIER")?(i=this.node("identifier"),s=this.text(),this.next(),i=i(s)):!1===e&&this.expect(this.tok.T_STRING),n("traitalias",r,t,i,e)):(this.expect([this.tok.T_AS,this.tok.T_INSTEADOF]),n("traitalias",r,t,null,null))}}},9673:t=>{t.exports={read_comment:function(){var t=this.text(),e=this.ast.prepare("/*"===t.substring(0,2)?"commentblock":"commentline",null,this),i=this.lexer.yylloc.first_offset,s=this.prev;return this.prev=[this.lexer.yylloc.last_line,this.lexer.yylloc.last_column,this.lexer.offset],this.lex(),(e=e(t)).offset=i,this.prev=s,e},read_doc_comment:function(){var t=this.ast.prepare("commentblock",null,this),e=this.lexer.yylloc.first_offset,i=this.text(),s=this.prev;return this.prev=[this.lexer.yylloc.last_line,this.lexer.yylloc.last_column,this.lexer.offset],this.lex(),(t=t(i)).offset=e,this.prev=s,t}}},847:t=>{t.exports={read_enum_declaration_statement:function(t){var e=this.node("enum");if(!this.expect(this.tok.T_ENUM))return null;this.next().expect(this.tok.T_STRING);var i=this.node("identifier"),s=this.text(),s=(this.next(),i=i(s),this.read_enum_value_type()),n=this.read_implements_list();this.expect("{");e=e(i,s,n,this.next().read_class_body(!1,!0));return t&&(e.attrGroups=t),e},read_enum_value_type:function(){return":"===this.token?this.next().read_namespace_name():null},read_enum_case:function(){this.expect(this.tok.T_CASE);var t=this.node("enumcase"),e=this.node("identifier"),i=this.next().text(),i=(this.next(),e=e(i),"="===this.token?this.next().read_expr():null);return this.expect(";"),t(e,i)}}},3166:t=>{t.exports={read_expr:function(t){var e,i=this.node();return"@"===this.token?i("silent",t=t||this.next().read_expr()):(t=t||this.read_expr_item(),"|"===this.token?i("bin","|",t,this.next().read_expr()):"&"===this.token?i("bin","&",t,this.next().read_expr()):"^"===this.token?i("bin","^",t,this.next().read_expr()):"."===this.token?i("bin",".",t,this.next().read_expr()):"+"===this.token?i("bin","+",t,this.next().read_expr()):"-"===this.token?i("bin","-",t,this.next().read_expr()):"*"===this.token?i("bin","*",t,this.next().read_expr()):"/"===this.token?i("bin","/",t,this.next().read_expr()):"%"===this.token?i("bin","%",t,this.next().read_expr()):this.token===this.tok.T_POW?i("bin","**",t,this.next().read_expr()):this.token===this.tok.T_SL?i("bin","<<",t,this.next().read_expr()):this.token===this.tok.T_SR?i("bin",">>",t,this.next().read_expr()):this.token===this.tok.T_BOOLEAN_OR?i("bin","||",t,this.next().read_expr()):this.token===this.tok.T_LOGICAL_OR?i("bin","or",t,this.next().read_expr()):this.token===this.tok.T_BOOLEAN_AND?i("bin","&&",t,this.next().read_expr()):this.token===this.tok.T_LOGICAL_AND?i("bin","and",t,this.next().read_expr()):this.token===this.tok.T_LOGICAL_XOR?i("bin","xor",t,this.next().read_expr()):this.token===this.tok.T_IS_IDENTICAL?i("bin","===",t,this.next().read_expr()):this.token===this.tok.T_IS_NOT_IDENTICAL?i("bin","!==",t,this.next().read_expr()):this.token===this.tok.T_IS_EQUAL?i("bin","==",t,this.next().read_expr()):this.token===this.tok.T_IS_NOT_EQUAL?i("bin","!=",t,this.next().read_expr()):"<"===this.token?i("bin","<",t,this.next().read_expr()):">"===this.token?i("bin",">",t,this.next().read_expr()):this.token===this.tok.T_IS_SMALLER_OR_EQUAL?i("bin","<=",t,this.next().read_expr()):this.token===this.tok.T_IS_GREATER_OR_EQUAL?i("bin",">=",t,this.next().read_expr()):this.token===this.tok.T_SPACESHIP?i("bin","<=>",t,this.next().read_expr()):(this.token===this.tok.T_INSTANCEOF&&(t=i("bin","instanceof",t,this.next().read_class_name_reference()),";"!==this.token)&&this.token!==this.tok.T_INLINE_HTML&&this.token!==this.EOF&&(t=this.read_expr(t)),this.token===this.tok.T_COALESCE?i("bin","??",t,this.next().read_expr()):"?"===this.token?(e=null,":"!==this.next().token&&(e=this.read_expr()),this.expect(":")&&this.next(),i("retif",t,e,this.read_expr())):(i.destroy(t),t)))},read_expr_cast:function(t){return this.node("cast")(t,this.text(),this.next().read_expr())},read_isset_variable:function(){return this.read_expr()},read_isset_variables:function(){return this.read_function_list(this.read_isset_variable,",")},read_internal_functions_in_yacc:function(){var t=null;switch(this.token){case this.tok.T_ISSET:t=this.node("isset"),this.next().expect("(")&&this.next();var e=this.read_isset_variables();this.expect(")")&&this.next(),t=t(e);break;case this.tok.T_EMPTY:t=this.node("empty"),this.next().expect("(")&&this.next();e=this.read_expr();this.expect(")")&&this.next(),t=t(e);break;case this.tok.T_INCLUDE:t=this.node("include")(!1,!1,this.next().read_expr());break;case this.tok.T_INCLUDE_ONCE:t=this.node("include")(!0,!1,this.next().read_expr());break;case this.tok.T_EVAL:t=this.node("eval"),this.next().expect("(")&&this.next();e=this.read_expr();this.expect(")")&&this.next(),t=t(e);break;case this.tok.T_REQUIRE:t=this.node("include")(!1,!0,this.next().read_expr());break;case this.tok.T_REQUIRE_ONCE:t=this.node("include")(!0,!0,this.next().read_expr())}return t},read_optional_expr:function(t){return this.token!==t?this.read_expr():null},read_exit_expr:function(){var t=null;return"("===this.token&&(this.next(),t=this.read_optional_expr(")"),this.expect(")"))&&this.next(),t},read_expr_item:function(){var t=[];if("+"===this.token)return this.node("unary")("+",this.next().read_expr());if("-"===this.token)return this.node("unary")("-",this.next().read_expr());if("!"===this.token)return this.node("unary")("!",this.next().read_expr());if("~"===this.token)return this.node("unary")("~",this.next().read_expr());if("("===this.token)return(_=this.next().read_expr()).parenthesizedExpression=!0,this.expect(")")&&this.next(),this.handleDereferencable(_);if("`"===this.token)return this.read_encapsed_string("`");if(this.token===this.tok.T_LIST){var e=null,i=this.innerList,s=this.node("list");i||(e=this.node("assign")),this.next().expect("(")&&this.next(),this.innerList||(this.innerList=!0);for(var n=this.read_array_pair_list(!1),r=(this.expect(")")&&this.next(),!1),h=0;h<n.length;h++)if(null!==n[h]&&"noop"!==n[h].kind){r=!0;break}return r||this.raiseError("Fatal Error : Cannot use empty list on line "+this.lexer.yylloc.first_line),!i&&(this.innerList=!1,this.expect("="))?e(s(n,!1),this.next().read_expr(),"="):s(n,!1)}if(this.token===this.tok.T_ATTRIBUTE&&(t=this.read_attr_list()),this.token===this.tok.T_CLONE)return this.node("clone")(this.next().read_expr());switch(this.token){case this.tok.T_INC:return this.node("pre")("+",this.next().read_variable(!1,!1));case this.tok.T_DEC:return this.node("pre")("-",this.next().read_variable(!1,!1));case this.tok.T_NEW:return this.read_new_expr();case this.tok.T_ISSET:case this.tok.T_EMPTY:case this.tok.T_INCLUDE:case this.tok.T_INCLUDE_ONCE:case this.tok.T_EVAL:case this.tok.T_REQUIRE:case this.tok.T_REQUIRE_ONCE:return this.read_internal_functions_in_yacc();case this.tok.T_MATCH:return this.read_match_expression();case this.tok.T_INT_CAST:return this.read_expr_cast("int");case this.tok.T_DOUBLE_CAST:return this.read_expr_cast("float");case this.tok.T_STRING_CAST:return this.read_expr_cast(-1!==this.text().indexOf("binary")?"binary":"string");case this.tok.T_ARRAY_CAST:return this.read_expr_cast("array");case this.tok.T_OBJECT_CAST:return this.read_expr_cast("object");case this.tok.T_BOOL_CAST:return this.read_expr_cast("bool");case this.tok.T_UNSET_CAST:return this.read_expr_cast("unset");case this.tok.T_THROW:return this.version<800&&this.raiseError("PHP 8+ is required to use throw as an expression"),this.node("throw")(this.next().read_expr());case this.tok.T_EXIT:var o="die"===this.lexer.yytext.toLowerCase(),a=(s=this.node("exit"),this.next(),this.read_exit_expr());return s(a,o);case this.tok.T_PRINT:return this.node("print")(this.next().read_expr());case this.tok.T_YIELD:a=null,o=null;return s=this.node("yield"),this.next().is("EXPR")&&(a=this.read_expr(),this.token===this.tok.T_DOUBLE_ARROW)&&(o=a,a=this.next().read_expr()),s(a,o);case this.tok.T_YIELD_FROM:return(s=this.node("yieldfrom"))(_=this.next().read_expr());case this.tok.T_FN:case this.tok.T_FUNCTION:return this.read_inline_function(void 0,t);case this.tok.T_STATIC:a=[this.token,this.lexer.getState()];if(this.next(),this.token===this.tok.T_FUNCTION||704<=this.version&&this.token===this.tok.T_FN)return this.read_inline_function([0,1,0],t);this.lexer.tokens.push(a),this.next()}if(this.is("VARIABLE")){s=this.node();var _,l="identifier"===(_=this.read_variable(!1,!1)).kind||"staticlookup"===_.kind&&"identifier"===_.offset.kind;switch(this.token){case"=":return l&&this.error("VARIABLE"),"&"==this.next().token?this.read_assignref(s,_):s("assign",_,this.read_expr(),"=");case this.tok.T_PLUS_EQUAL:return l&&this.error("VARIABLE"),s("assign",_,this.next().read_expr(),"+=");case this.tok.T_MINUS_EQUAL:return l&&this.error("VARIABLE"),s("assign",_,this.next().read_expr(),"-=");case this.tok.T_MUL_EQUAL:return l&&this.error("VARIABLE"),s("assign",_,this.next().read_expr(),"*=");case this.tok.T_POW_EQUAL:return l&&this.error("VARIABLE"),s("assign",_,this.next().read_expr(),"**=");case this.tok.T_DIV_EQUAL:return l&&this.error("VARIABLE"),s("assign",_,this.next().read_expr(),"/=");case this.tok.T_CONCAT_EQUAL:return l&&this.error("VARIABLE"),s("assign",_,this.next().read_expr(),".=");case this.tok.T_MOD_EQUAL:return l&&this.error("VARIABLE"),s("assign",_,this.next().read_expr(),"%=");case this.tok.T_AND_EQUAL:return l&&this.error("VARIABLE"),s("assign",_,this.next().read_expr(),"&=");case this.tok.T_OR_EQUAL:return l&&this.error("VARIABLE"),s("assign",_,this.next().read_expr(),"|=");case this.tok.T_XOR_EQUAL:return l&&this.error("VARIABLE"),s("assign",_,this.next().read_expr(),"^=");case this.tok.T_SL_EQUAL:return l&&this.error("VARIABLE"),s("assign",_,this.next().read_expr(),"<<=");case this.tok.T_SR_EQUAL:return l&&this.error("VARIABLE"),s("assign",_,this.next().read_expr(),">>=");case this.tok.T_COALESCE_EQUAL:return l&&this.error("VARIABLE"),s("assign",_,this.next().read_expr(),"??=");case this.tok.T_INC:return l&&this.error("VARIABLE"),this.next(),s("post","+",_);case this.tok.T_DEC:return l&&this.error("VARIABLE"),this.next(),s("post","-",_);default:s.destroy(_)}}else{if(this.is("SCALAR"))return s=this.node(),"array"===(_=this.read_scalar()).kind&&_.shortForm&&"="===this.token?(i=this.convertToList(_),_.loc&&(i.loc=_.loc),s("assign",i,this.next().read_expr(),"=")):(s.destroy(_),this.handleDereferencable(_));this.error("EXPR"),this.next()}return _},convertToList:function(t){var e=this,i=t.items.map(function(t){return t.value&&"array"===t.value.kind&&t.value.shortForm&&(t.value=e.convertToList(t.value)),t}),i=this.node("list")(i,!0);return t.loc&&(i.loc=t.loc),t.leadingComments&&(i.leadingComments=t.leadingComments),t.trailingComments&&(i.trailingComments=t.trailingComments),i},read_assignref:function(t,e){return this.next(),t("assignref",e,this.token===this.tok.T_NEW?(700<=this.version&&this.error(),this.read_new_expr()):this.read_variable(!1,!1))},read_inline_function:function(t,e){if(this.token===this.tok.T_FUNCTION)return(i=this.read_function(!0,t,e)).attrGroups=e,i;704<=!this.version&&this.raiseError("Arrow Functions are not allowed");var i=this.node("arrowfunc"),s=(this.expect(this.tok.T_FN)&&this.next(),this.is_reference()),n=(this.expect("(")&&this.next(),this.read_parameter_list()),r=(this.expect(")")&&this.next(),!1),h=null;":"===this.token&&("?"===this.next().token&&(r=!0,this.next()),h=this.read_types()),this.expect(this.tok.T_DOUBLE_ARROW)&&this.next();i=i(n,s,this.read_expr(),h,r,!!t);return i.attrGroups=e,i},read_match_expression:function(){var t,e,i=this.node("match");this.expect(this.tok.T_MATCH)&&this.next(),this.version<800&&this.raiseError("Match statements are not allowed before PHP 8");return this.expect("(")&&this.next(),t=this.read_expr(),this.expect(")")&&this.next(),this.expect("{")&&this.next(),e=this.read_match_arms(),this.expect("}")&&this.next(),i(t,e)},read_match_arms:function(){var t=this;return this.read_list(function(){return t.read_match_arm()},",",!0)},read_match_arm:function(){if("}"!==this.token)return this.node("matcharm")(this.read_match_arm_conds(),this.read_expr())},read_match_arm_conds:function(){var t=[];if(this.token===this.tok.T_DEFAULT)t=null,this.next();else for(t.push(this.read_expr());","===this.token;){if(this.next(),this.token===this.tok.T_DOUBLE_ARROW)return this.next(),t;t.push(this.read_expr())}return this.expect(this.tok.T_DOUBLE_ARROW)&&this.next(),t},read_attribute:function(){var t=this.text(),e=[];return this.next(),"("===this.token&&(e=this.read_argument_list()),this.node("attribute")(t,e)},read_attr_list:function(){var t=[];if(this.token===this.tok.T_ATTRIBUTE)do{var e=this.node("attrgroup")([]);for(this.next(),e.attrs.push(this.read_attribute());","===this.token;)this.next(),"]"!==this.token&&e.attrs.push(this.read_attribute())}while(t.push(e),this.expect("]"),this.next(),this.token===this.tok.T_ATTRIBUTE);return t},read_new_expr:function(){var t=this.node("new"),e=(this.expect(this.tok.T_NEW)&&this.next(),[]);if("("===this.token)return this.next(),s=this.read_expr(),this.expect(")"),this.next(),t(s,e="("===this.token?this.read_argument_list():e);var i,s=this.read_attr_list();if(this.token===this.tok.T_CLASS)return i=this.node("class"),"("===this.next().token&&(e=this.read_argument_list()),(i=i(i=null,this.read_extends_from(),this.read_implements_list(),i=this.expect("{")?this.next().read_class_body(!0,!1):i,[0,0,0])).attrGroups=s,t(i,e);for(var n=this.read_new_class_name();"["===this.token;){var r=this.node("offsetlookup"),h=this.next().read_encaps_var_offset();this.expect("]")&&this.next(),n=r(n,h)}return t(n,e="("===this.token?this.read_argument_list():e)},read_new_class_name:function(){var t;return this.token===this.tok.T_NS_SEPARATOR||this.token===this.tok.T_NAME_RELATIVE||this.token===this.tok.T_NAME_QUALIFIED||this.token===this.tok.T_NAME_FULLY_QUALIFIED||this.token===this.tok.T_STRING||this.token===this.tok.T_NAMESPACE?(t=this.read_namespace_name(!0),this.token===this.tok.T_DOUBLE_COLON?this.read_static_getter(t):t):this.is("VARIABLE")?this.read_variable(!0,!1):void this.expect([this.tok.T_STRING,"VARIABLE"])},handleDereferencable:function(t){for(;this.token!==this.EOF;)if(this.token===this.tok.T_OBJECT_OPERATOR||this.token===this.tok.T_DOUBLE_COLON)t=this.recursive_variable_chain_scan(t,!1,!1,!0);else if(this.token===this.tok.T_CURLY_OPEN||"["===this.token)t=this.read_dereferencable(t);else{if("("!==this.token)return t;t=this.node("call")(t,this.read_argument_list())}return t}}},2706:t=>{t.exports={is_reference:function(){return"&"===this.token&&(this.next(),!0)},is_variadic:function(){return this.token===this.tok.T_ELLIPSIS&&(this.next(),!0)},read_function:function(t,e,i,s){i=this.read_function_declaration(t?1:e?2:0,e&&1===e[1],i||[],s);return e&&1==e[2]?(i.parseFlags(e),this.expect(";")&&this.next()):(this.expect("{")&&(i.body=this.read_code_block(!1),i.loc)&&i.body.loc&&(i.loc.end=i.body.loc.end),!t&&e&&i.parseFlags(e)),i},read_function_declaration:function(t,e,i,s){function n(t){return t.attrGroups=i||[],s&&t.loc&&(t.loc.start=s,t.loc.source)&&(t.loc.source=r.lexer._input.substr(t.loc.start.offset,t.loc.end.offset-t.loc.start.offset)),t}var r=this,h="function",h=(1===t?h="closure":2===t&&(h="method"),this.node(h)),o=(this.expect(this.tok.T_FUNCTION)&&this.next(),this.is_reference()),a=!1,_=[],l=null,c=!1,u=(1!==t&&(u=this.node("identifier"),2===t?700<=this.version?this.token===this.tok.T_STRING||this.is("IDENTIFIER")?(a=this.text(),this.next()):this.version<704&&this.error("IDENTIFIER"):this.token===this.tok.T_STRING?(a=this.text(),this.next()):this.error("IDENTIFIER"):700<=this.version?this.token===this.tok.T_STRING?(a=this.text(),this.next()):704<=this.version?this.expect("(")||this.next():(this.error(this.tok.T_STRING),this.next()):(this.expect(this.tok.T_STRING)&&(a=this.text()),this.next()),a=u(a)),this.expect("(")&&this.next(),this.read_parameter_list("__construct"===a.name));this.expect(")")&&this.next(),1===t&&(_=this.read_lexical_vars()),":"===this.token&&("?"===this.next().token&&(c=!0,this.next()),l=this.read_types());return n(1===t?h(u,o,_,l,c,e):h(a,u,o,l,c))},read_lexical_vars:function(){var t=[];return this.token===this.tok.T_USE&&(this.next(),this.expect("(")&&this.next(),t=this.read_lexical_var_list(),this.expect(")"))&&this.next(),t},read_list_with_dangling_comma:function(t){for(var e=[];this.token!=this.EOF;){if(e.push(t()),","!=this.token){if(")"==this.token)break;this.error([",",")"]);break}if(this.next(),800<=this.version&&")"===this.token)return e}return e},read_lexical_var_list:function(){return this.read_list_with_dangling_comma(this.read_lexical_var.bind(this))},read_lexical_var:function(){var t,e;return"&"===this.token?this.read_byref(this.read_lexical_var.bind(this)):(t=this.node("variable"),this.expect(this.tok.T_VARIABLE),e=this.text().substring(1),this.next(),t(e,!1))},read_parameter_list:function(e){var i;return")"!==this.token?(i=!1,this.read_list_with_dangling_comma(function(){var t=this.read_parameter(e);return t&&(i&&this.raiseError("Unexpected parameter after a variadic parameter"),t.variadic)&&(i=!0),t}.bind(this),",")):[]},read_parameter:function(t){var e=this.node("parameter"),i=null,s=null,n=!1,r=!1,h=[],o=(this.token===this.tok.T_ATTRIBUTE&&(h=this.read_attr_list()),801<=this.version&&this.token===this.tok.T_READ_ONLY&&(t?(this.next(),r=!0):this.raiseError("readonly properties can be used only on class constructor")),this.read_promoted()),a=(!r&&801<=this.version&&this.token===this.tok.T_READ_ONLY&&(t?(this.next(),r=!0):this.raiseError("readonly properties can be used only on class constructor")),"?"===this.token&&(this.next(),n=!0),t=this.read_types(),n&&!t&&this.raiseError("Expecting a type definition combined with nullable operator"),this.is_reference()),_=this.is_variadic(),l=(this.expect(this.tok.T_VARIABLE)&&(i=this.node("identifier"),l=this.text().substring(1),this.next(),i=i(l)),e(i,t,s="="==this.token?this.next().read_expr():s,a,_,r,n,o));return h&&(l.attrGroups=h),l},read_types:function(){var t="intersection",e=[],i="unset",s=this.read_type();if(!s)return null;for(e.push(s);"|"===this.token||801<=this.version&&"&"===this.token;){var n=this.peek();if(n===this.tok.T_ELLIPSIS||n===this.tok.T_VARIABLE)break;"unset"===i?i="|"===this.token?"union":t:("union"===i&&"|"!==this.token||i===t&&"&"!==this.token)&&this.raiseError('Unexpect token "'+this.token+'", "|" and "&" can not be mixed'),this.next(),e.push(this.read_type())}return 1===e.length?e[0]:(i===t?this.node("intersectiontype"):this.node("uniontype"))(e)},read_promoted:function(){return this.token===this.tok.T_PUBLIC?(this.next(),1):this.token===this.tok.T_PROTECTED?(this.next(),2):this.token===this.tok.T_PRIVATE?(this.next(),4):0},read_argument_list:function(){var t=[];return this.expect("(")&&this.next(),801<=this.version&&this.token===this.tok.T_ELLIPSIS&&")"===this.peek()?(t.push(this.node("variadicplaceholder")()),this.next()):")"!==this.token&&(t=this.read_non_empty_argument_list()),this.expect(")")&&this.next(),t},read_non_empty_argument_list:function(){var i=!1;return this.read_function_list(function(){var t,e=this.read_argument();return e&&(t="variadic"===e.kind,i&&!t&&this.raiseError("Unexpected non-variadic argument after a variadic argument"),t)&&(i=!0),e}.bind(this),",")},read_argument:function(){if(this.token===this.tok.T_ELLIPSIS)return this.node("variadic")(this.next().read_expr());if((this.token===this.tok.T_STRING||Object.values(this.lexer.keywords).includes(this.token))&&":"===this.peek())return this.version<800&&this.raiseError("PHP 8+ is required to use named arguments"),this.node("namedargument")(this.text(),this.next().next().read_expr());return this.read_expr()},read_type:function(){var t,e,i=this.node();return this.token===this.tok.T_ARRAY||this.token===this.tok.T_CALLABLE?(t=this.text(),this.next(),i("typereference",t.toLowerCase(),t)):this.token===this.tok.T_NAME_RELATIVE||this.token===this.tok.T_NAME_QUALIFIED||this.token===this.tok.T_NAME_FULLY_QUALIFIED||this.token===this.tok.T_STRING||this.token===this.tok.T_STATIC?(t=this.text(),e=[this.token,this.lexer.getState()],this.next(),this.token!==this.tok.T_NS_SEPARATOR&&-1<this.ast.typereference.types.indexOf(t.toLowerCase())?i("typereference",t.toLowerCase(),t):(this.lexer.tokens.push(e),this.next(),i.destroy(),this.read_namespace_name())):(i.destroy(),null)}}},4002:t=>{t.exports={read_if:function(){var t=this.node("if"),e=this.next().read_if_expr(),i=null,s=null,n=!1;if(":"===this.token){n=!0,this.next();for(var i=this.node("block"),r=[];this.token!==this.EOF&&this.token!==this.tok.T_ENDIF;){if(this.token===this.tok.T_ELSEIF){s=this.read_elseif_short();break}if(this.token===this.tok.T_ELSE){s=this.read_else_short();break}r.push(this.read_inner_statement())}i=i(null,r),this.expect(this.tok.T_ENDIF)&&this.next(),this.expectEndOfStatement()}else i=this.read_statement(),this.token===this.tok.T_ELSEIF?s=this.read_if():this.token===this.tok.T_ELSE&&(s=this.next().read_statement());return t(e,i,s,n)},read_if_expr:function(){this.expect("(")&&this.next();var t=this.read_expr();return this.expect(")")&&this.next(),t},read_elseif_short:function(){for(var t=null,e=this.node("if"),i=this.next().read_if_expr(),s=(this.expect(":")&&this.next(),this.node("block")),n=[];this.token!=this.EOF&&this.token!==this.tok.T_ENDIF;){if(this.token===this.tok.T_ELSEIF){t=this.read_elseif_short();break}if(this.token===this.tok.T_ELSE){t=this.read_else_short();break}n.push(this.read_inner_statement())}return e(i,s(null,n),t,!0)},read_else_short:function(){this.next().expect(":")&&this.next();for(var t=this.node("block"),e=[];this.token!=this.EOF&&this.token!==this.tok.T_ENDIF;)e.push(this.read_inner_statement());return t(null,e)}}},3745:t=>{t.exports={read_while:function(){var t,e=this.node("while"),i=(this.expect(this.tok.T_WHILE)&&this.next(),!1);return this.expect("(")&&this.next(),t=this.read_expr(),this.expect(")")&&this.next(),e(t,":"===this.token?(i=!0,this.read_short_form(this.tok.T_ENDWHILE)):this.read_statement(),i)},read_do:function(){var t=this.node("do"),e=(this.expect(this.tok.T_DO)&&this.next(),null),i=this.read_statement();return this.expect(this.tok.T_WHILE)&&(this.next().expect("(")&&this.next(),e=this.read_expr(),this.expect(")")&&this.next(),this.expect(";"))&&this.next(),t(e,i)},read_for:function(){var t=this.node("for"),e=(this.expect(this.tok.T_FOR)&&this.next(),[]),i=[],s=[],n=!1;return this.expect("(")&&this.next(),";"!==this.token&&(e=this.read_list(this.read_expr,","),!this.expect(";"))||this.next(),";"!==this.token&&(i=this.read_list(this.read_expr,","),!this.expect(";"))||this.next(),")"!==this.token&&(s=this.read_list(this.read_expr,","),!this.expect(")"))||this.next(),t(e,i,s,":"===this.token?(n=!0,this.read_short_form(this.tok.T_ENDFOR)):this.read_statement(),n)},read_foreach:function(){var t,e=this.node("foreach"),i=(this.expect(this.tok.T_FOREACH)&&this.next(),null),s=null,n=!1;return this.expect("(")&&this.next(),t=this.read_expr(),this.expect(this.tok.T_AS)&&(this.next(),s=this.read_foreach_variable(),this.token===this.tok.T_DOUBLE_ARROW)&&(i=s,s=this.next().read_foreach_variable()),i&&"list"===i.kind&&this.raiseError("Fatal Error : Cannot use list as key element"),this.expect(")")&&this.next(),e(t,i,s,":"===this.token?(n=!0,this.read_short_form(this.tok.T_ENDFOREACH)):this.read_statement(),n)},read_foreach_variable:function(){var t,e,i;return this.token===this.tok.T_LIST||"["===this.token?(t="["===this.token,e=this.node("list"),this.next(),!t&&this.expect("(")&&this.next(),i=this.read_array_pair_list(t),this.expect(t?"]":")")&&this.next(),e(i,t)):this.read_variable(!1,!1)}}},9905:t=>{t.exports={read_start:function(){return this.token==this.tok.T_NAMESPACE?this.read_namespace():this.read_top_statement()}}},1250:t=>{t.exports={read_namespace:function(){var t,e,i=this.node("namespace");return this.expect(this.tok.T_NAMESPACE)&&this.next(),e="{"===this.token?{name:[""]}:this.read_namespace_name(),this.currentNamespace=e,";"===this.token?(this.currentNamespace=e,t=this.next().read_top_statements(),this.expect(this.EOF),i(e.name,t,!1)):"{"===this.token?(this.currentNamespace=e,t=this.next().read_top_statements(),this.expect("}")&&this.next(),0===t.length&&this.extractDoc&&this._docs.length>this._docIndex&&t.push(this.node("noop")()),i(e.name,t,!0)):(this.error(["{",";"]),this.currentNamespace=e,t=this.read_top_statements(),this.expect(this.EOF),i(e,t,!1))},read_namespace_name:function(t){var e,i=this.node(),s=this.text();switch(this.token){case this.tok.T_NAME_RELATIVE:e=this.ast.name.RELATIVE_NAME,s=s.replace(/^namespace\\/,"");break;case this.tok.T_NAME_QUALIFIED:e=this.ast.name.QUALIFIED_NAME;break;case this.tok.T_NAME_FULLY_QUALIFIED:e=this.ast.name.FULL_QUALIFIED_NAME;break;default:if(e=this.ast.name.UNQUALIFIED_NAME,!this.expect(this.tok.T_STRING))return i("name","",this.ast.name.FULL_QUALIFIED_NAME)}if(this.next(),t||"("!==this.token){if("parent"===s.toLowerCase())return i("parentreference",s);if("self"===s.toLowerCase())return i("selfreference",s)}return i("name",s,e)},read_use_statement:function(){var t=this.node("usegroup"),e=[],i=null,s=(this.expect(this.tok.T_USE)&&this.next(),this.read_use_type());return e.push(this.read_use_declaration(!1)),","===this.token?e=e.concat(this.next().read_use_declarations(!1)):"{"===this.token&&(i=e[0].name,e=this.next().read_use_declarations(null===s),this.expect("}"))&&this.next(),t=t(i,s,e),this.expect(";")&&this.next(),t},read_class_name_reference:function(){return this.read_variable(!0,!1)},read_use_declaration:function(t){var e=this.node("useitem"),i=null,t=(t&&(i=this.read_use_type()),this.read_namespace_name()),s=this.read_use_alias();return e(t.name,s,i)},read_use_declarations:function(t){for(var e=[this.read_use_declaration(t)];","===this.token;){if(this.next(),t){if(this.token!==this.tok.T_NAME_RELATIVE&&this.token!==this.tok.T_NAME_QUALIFIED&&this.token!==this.tok.T_NAME_FULLY_QUALIFIED&&this.token!==this.tok.T_FUNCTION&&this.token!==this.tok.T_CONST&&this.token!==this.tok.T_STRING)break}else if(this.token!==this.tok.T_NAME_RELATIVE&&this.token!==this.tok.T_NAME_QUALIFIED&&this.token!==this.tok.T_NAME_FULLY_QUALIFIED&&this.token!==this.tok.T_STRING&&this.token!==this.tok.T_NS_SEPARATOR)break;e.push(this.read_use_declaration(t))}return e},read_use_alias:function(){var t,e,i=null;return this.token===this.tok.T_AS&&this.next().expect(this.tok.T_STRING)&&(t=this.node("identifier"),e=this.text(),this.next(),i=t(e)),i},read_use_type:function(){return this.token===this.tok.T_FUNCTION?(this.next(),this.ast.useitem.TYPE_FUNCTION):this.token===this.tok.T_CONST?(this.next(),this.ast.useitem.TYPE_CONST):null}}},9889:t=>{var s={"\\":"\\",$:"$",n:"\n",r:"\r",t:"\t",f:String.fromCharCode(12),v:String.fromCharCode(11),e:String.fromCharCode(27)};t.exports={resolve_special_chars:function(t,e){return e?t.replace(/\\"/,'"').replace(/\\([\\$nrtfve]|[xX][0-9a-fA-F]{1,2}|[0-7]{1,3}|u{([0-9a-fA-F]+)})/g,function(t,e,i){return s[e]||("x"===e[0]||"X"===e[0]?String.fromCodePoint(parseInt(e.substr(1),16)):"u"===e[0]?String.fromCodePoint(parseInt(i,16)):String.fromCodePoint(parseInt(e,8)))}):t.replace(/\\\\/g,"\\").replace(/\\'/g,"'")},remove_heredoc_leading_whitespace_chars:function(t,e,i,s){if(0===e)return t;this.check_heredoc_indentation_level(t,e,i,s);var i=i?" ":"\t",n=new RegExp("\\n".concat(i,"{").concat(e,"}"),"g"),i=new RegExp("^".concat(i,"{").concat(e,"}"));return(t=s?t.replace(i,""):t).replace(n,"\n")},check_heredoc_indentation_level:function(t,e,i,s){var n=t.length,r=0,h=0,o=!0,a=i?" ":"\t",_=!1;if(!s){if(-1===(r=t.indexOf("\n")))return;r++}for(;r<n;)o?t[r]===a?h++:_=!0:o=!1,"\n"!==t[r]&&_&&h<e?this.raiseError("Invalid body indentation level (expecting an indentation at least ".concat(e,")")):_=!1,"\n"===t[r]&&(o=!0,h=0),r++},read_dereferencable_scalar:function(){var t=null;switch(this.token){case this.tok.T_CONSTANT_ENCAPSED_STRING:var e=this.node("string"),i=this.text(),s=0,n='"'===i[s="b"!==i[0]&&"B"!==i[0]?s:1];this.next();e=e(n,this.resolve_special_chars(i.substring(s+1,i.length-1),n),1===s,i),t=this.token===this.tok.T_DOUBLE_COLON?this.read_static_getter(e):e;break;case this.tok.T_ARRAY:case"[":t=this.read_array()}return t},read_scalar:function(){if(this.is("T_MAGIC_CONST"))return this.get_magic_constant();var t,e;switch(this.token){case this.tok.T_LNUMBER:case this.tok.T_DNUMBER:var i=this.node("number"),s=this.text();return this.next(),i(s,null);case this.tok.T_START_HEREDOC:return"ST_NOWDOC"===this.lexer.curCondition?(i=this.lexer.yylloc.first_offset,t=this.node("nowdoc"),s=this.next().text(),"\n"===(e=(s=0<this.lexer.heredoc_label.indentation?s.substring(0,s.length-this.lexer.heredoc_label.indentation):s)[s.length-1])?s="\r"===s[s.length-2]?s.substring(0,s.length-2):s.substring(0,s.length-1):"\r"===e&&(s=s.substring(0,s.length-1)),this.expect(this.tok.T_ENCAPSED_AND_WHITESPACE)&&this.next(),this.expect(this.tok.T_END_HEREDOC)&&this.next(),e=this.lexer._input.substring(i,this.lexer.yylloc.first_offset),t=t(this.remove_heredoc_leading_whitespace_chars(s,this.lexer.heredoc_label.indentation,this.lexer.heredoc_label.indentation_uses_spaces,this.lexer.heredoc_label.first_encaps_node),e,this.lexer.heredoc_label.label),this.lexer.heredoc_label.finished=!0,t):this.read_encapsed_string(this.tok.T_END_HEREDOC);case'"':return this.read_encapsed_string('"');case'b"':case'B"':return this.read_encapsed_string('"',!0);case this.tok.T_CONSTANT_ENCAPSED_STRING:case this.tok.T_ARRAY:case"[":return this.read_dereferencable_scalar();default:i=this.error("SCALAR");return this.next(),i}},read_dereferencable:function(t){var e,i,s=this.node("offsetlookup");return"["===this.token?(i=this.next().read_expr(),this.expect("]")&&this.next(),e=s(t,i)):this.token===this.tok.T_DOLLAR_OPEN_CURLY_BRACES&&(e=s(t,i=this.read_encapsed_string_item(!1))),e},read_encapsed_string_item:function(t){var e,i,s,n,r=this.node("encapsedpart"),h=null,o=!1,a=this.node();return this.token===this.tok.T_ENCAPSED_AND_WHITESPACE?(n=this.text(),this.next(),a=a("string",!1,703<=this.version&&!this.lexer.heredoc_label.finished?this.remove_heredoc_leading_whitespace_chars(this.resolve_special_chars(n,t),this.lexer.heredoc_label.indentation,this.lexer.heredoc_label.indentation_uses_spaces,this.lexer.heredoc_label.first_encaps_node):n,!1,n)):this.token===this.tok.T_DOLLAR_OPEN_CURLY_BRACES?(h="simple",o=!0,s=null,a=this.next().token===this.tok.T_STRING_VARNAME?(s=this.node("variable"),t=this.text(),this.next(),a.destroy(),"["===this.token?(s=s(t,!1),i=this.node("offsetlookup"),e=this.next().read_expr(),this.expect("]")&&this.next(),i(s,e)):s(t,!1)):a("variable",this.read_expr(),!1),this.expect("}")&&this.next()):this.token===this.tok.T_CURLY_OPEN?(h="complex",a.destroy(),a=this.next().read_variable(!1,!1),this.expect("}")&&this.next()):this.token===this.tok.T_VARIABLE?(h="simple",a.destroy(),a=this.read_simple_variable(),"["===this.token&&(i=this.node("offsetlookup"),e=this.next().read_encaps_var_offset(),this.expect("]")&&this.next(),a=i(a,e)),this.token===this.tok.T_OBJECT_OPERATOR&&(i=this.node("propertylookup"),this.next().expect(this.tok.T_STRING),n=this.node("identifier"),s=this.text(),this.next(),a=i(a,n(s)))):(this.expect(this.tok.T_ENCAPSED_AND_WHITESPACE),t=this.text(),this.next(),a.destroy(),a=a("string",!1,t,!1,t)),this.lexer.heredoc_label.first_encaps_node=!1,r(a,h,o)},read_encapsed_string:function(t){for(var e,i,s=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=this.lexer.yylloc.first_offset,r=this.node("encapsed"),s=(this.next(),this.lexer.yylloc.prev_offset-(s?1:0)),h=[],o=null,o="`"===t?this.ast.encapsed.TYPE_SHELL:'"'===t?this.ast.encapsed.TYPE_STRING:this.ast.encapsed.TYPE_HEREDOC;this.token!==t&&this.token!==this.EOF;)h.push(this.read_encapsed_string_item(!0));0<h.length&&"encapsedpart"===h[h.length-1].kind&&"string"===h[h.length-1].expression.kind&&("\n"===(i=(e=h[h.length-1].expression).value[e.value.length-1])?"\r"===e.value[e.value.length-2]?e.value=e.value.substring(0,e.value.length-2):e.value=e.value.substring(0,e.value.length-1):"\r"===i&&(e.value=e.value.substring(0,e.value.length-1))),this.expect(t)&&this.next();r=r(h,this.lexer._input.substring("heredoc"===o?n:s-1,this.lexer.yylloc.first_offset),o);return t===this.tok.T_END_HEREDOC&&(r.label=this.lexer.heredoc_label.label,this.lexer.heredoc_label.finished=!0),r},get_magic_constant:function(){var t=this.node("magic"),e=this.text();return this.next(),t(e.toUpperCase(),e)}}},4992:t=>{t.exports={read_top_statements:function(){for(var t=[];this.token!==this.EOF&&"}"!==this.token;){var e=this.read_top_statement();e&&(Array.isArray(e)?t=t.concat(e):t.push(e))}return t},read_top_statement:function(){var t=[];switch(this.token===this.tok.T_ATTRIBUTE&&(t=this.read_attr_list()),this.token){case this.tok.T_FUNCTION:return this.read_function(!1,!1,t);case this.tok.T_ABSTRACT:case this.tok.T_FINAL:case this.tok.T_READ_ONLY:case this.tok.T_CLASS:return this.read_class_declaration_statement(t);case this.tok.T_INTERFACE:return this.read_interface_declaration_statement(t);case this.tok.T_TRAIT:return this.read_trait_declaration_statement();case this.tok.T_ENUM:return this.read_enum_declaration_statement(t);case this.tok.T_USE:return this.read_use_statement();case this.tok.T_CONST:var e=this.node("constantstatement"),i=this.next().read_const_list();return this.expectEndOfStatement(),e(null,i);case this.tok.T_NAMESPACE:return this.read_namespace();case this.tok.T_HALT_COMPILER:e=this.node("halt");return this.next().expect("(")&&this.next(),this.expect(")")&&this.next(),this.expect(";"),this.lexer.done=!0,e(this.lexer._input.substring(this.lexer.offset));default:return this.read_statement()}},read_inner_statements:function(){for(var t=[];this.token!=this.EOF&&"}"!==this.token;){var e=this.read_inner_statement();e&&(Array.isArray(e)?t=t.concat(e):t.push(e))}return t},read_const_list:function(){return this.read_list(function(){this.expect(this.tok.T_STRING);var t=this.node("constant"),e=this.node("identifier"),i=this.text();return this.next(),e=e(i),this.expect("=")?t(e,this.next().read_expr()):t(e,null)},",",!1)},read_declare_list:function(){for(var t=[];this.token!=this.EOF&&")"!==this.token;){this.expect(this.tok.T_STRING);var e=this.node("declaredirective"),i=this.node("identifier"),s=this.text(),s=(this.next(),i=i(s),null);if(this.expect("=")&&(s=this.next().read_expr()),t.push(e(i,s)),","!==this.token)break;this.next()}return t},read_inner_statement:function(){var t=[];switch(this.token===this.tok.T_ATTRIBUTE&&(t=this.read_attr_list()),this.token){case this.tok.T_FUNCTION:var e=this.read_function(!1,!1);return e.attrGroups=t,e;case this.tok.T_ABSTRACT:case this.tok.T_FINAL:case this.tok.T_CLASS:return this.read_class_declaration_statement();case this.tok.T_INTERFACE:return this.read_interface_declaration_statement();case this.tok.T_TRAIT:return this.read_trait_declaration_statement();case this.tok.T_ENUM:return this.read_enum_declaration_statement();case this.tok.T_HALT_COMPILER:this.raiseError("__HALT_COMPILER() can only be used from the outermost scope");e=this.node("halt");return this.next().expect("(")&&this.next(),this.expect(")")&&this.next(),e=e(this.lexer._input.substring(this.lexer.offset)),this.expect(";")&&this.next(),e;default:return this.read_statement()}},read_statement:function(){switch(this.token){case"{":return this.read_code_block(!1);case this.tok.T_IF:return this.read_if();case this.tok.T_SWITCH:return this.read_switch();case this.tok.T_FOR:return this.read_for();case this.tok.T_FOREACH:return this.read_foreach();case this.tok.T_WHILE:return this.read_while();case this.tok.T_DO:return this.read_do();case this.tok.T_COMMENT:return this.read_comment();case this.tok.T_DOC_COMMENT:return this.read_doc_comment();case this.tok.T_RETURN:var t=this.node("return"),e=(this.next(),this.read_optional_expr(";"));return this.expectEndOfStatement(),t(e);case this.tok.T_BREAK:case this.tok.T_CONTINUE:t=this.node(this.token===this.tok.T_CONTINUE?"continue":"break"),e=(this.next(),this.read_optional_expr(";"));return this.expectEndOfStatement(),t(e);case this.tok.T_GLOBAL:t=this.node("global"),e=this.next().read_list(this.read_simple_variable,",");return this.expectEndOfStatement(),t(e);case this.tok.T_STATIC:var t=[this.token,this.lexer.getState()],e=this.node();return this.next().token===this.tok.T_DOUBLE_COLON?(this.lexer.tokens.push(t),t=this.next().read_expr(),this.expectEndOfStatement(t),e("expressionstatement",t)):this.token===this.tok.T_FUNCTION?this.read_function(!0,[0,1,0]):(t=this.read_variable_declarations(),this.expectEndOfStatement(),e("static",t));case this.tok.T_ECHO:var e=this.node("echo"),t=this.text(),t="<?="===t||"<%="===t,i=this.next().read_function_list(this.read_expr,",");return this.expectEndOfStatement(),e(i,t);case this.tok.T_INLINE_HTML:var e=this.text(),i=0<this.lexer.yylloc.first_offset?this.lexer._input[this.lexer.yylloc.first_offset-1]:null,t="\r"===i||"\n"===i,s=(t&&"\n"===i&&1<this.lexer.yylloc.first_offset&&"\r"===this.lexer._input[this.lexer.yylloc.first_offset-2]&&(i="\r\n"),this.node("inline"));return this.next(),s(e,t?i+e:e);case this.tok.T_UNSET:s=this.node("unset"),t=(this.next().expect("(")&&this.next(),this.read_function_list(this.read_variable,","));return this.expect(")")&&this.next(),this.expect(";")&&this.next(),s(t);case this.tok.T_DECLARE:var i=this.node("declare"),n=[],e=(this.next().expect("(")&&this.next(),this.read_declare_list());if(this.expect(")")&&this.next(),":"===this.token){for(this.next();this.token!=this.EOF&&this.token!==this.tok.T_ENDDECLARE;)n.push(this.read_top_statement());0===n.length&&this.extractDoc&&this._docs.length>this._docIndex&&n.push(this.node("noop")()),this.expect(this.tok.T_ENDDECLARE)&&this.next(),this.expectEndOfStatement(),r=this.ast.declare.MODE_SHORT}else if("{"===this.token){for(this.next();this.token!=this.EOF&&"}"!==this.token;)n.push(this.read_top_statement());0===n.length&&this.extractDoc&&this._docs.length>this._docIndex&&n.push(this.node("noop")()),this.expect("}")&&this.next(),r=this.ast.declare.MODE_BLOCK}else this.expect(";")&&this.next(),r=this.ast.declare.MODE_NONE;return i(e,n,r);case this.tok.T_TRY:return this.read_try();case this.tok.T_THROW:s=this.node("throw"),t=this.next().read_expr();return this.expectEndOfStatement(),s(t);case";":return this.next(),null;case this.tok.T_STRING:var i=this.node(),e=[this.token,this.lexer.getState()],r=this.text(),s=this.node("identifier");if(":"===this.next().token)return s=s(r),this.next(),i("label",s);s.destroy(),i.destroy(),this.lexer.tokens.push(e);t=this.node("expressionstatement"),r=this.next().read_expr();return this.expectEndOfStatement(r),t(r);case this.tok.T_GOTO:s=this.node("goto"),i=null;return this.next().expect(this.tok.T_STRING)&&(i=this.node("identifier"),e=this.text(),this.next(),i=i(e),this.expectEndOfStatement()),s(i);default:t=this.node("expressionstatement"),r=this.read_expr();return this.expectEndOfStatement(r),t(r)}},read_code_block:function(t){var e=this.node("block"),t=(this.expect("{")&&this.next(),t?this.read_top_statements():this.read_inner_statements());return 0===t.length&&this.extractDoc&&this._docs.length>this._docIndex&&t.push(this.node("noop")()),this.expect("}")&&this.next(),e(null,t)}}},7991:t=>{t.exports={read_switch:function(){var t=this.node("switch"),e=(this.expect(this.tok.T_SWITCH)&&this.next(),this.expect("(")&&this.next(),this.read_expr()),i=(this.expect(")")&&this.next(),":"===this.token);return t(e,this.read_switch_case_list(),i)},read_switch_case_list:function(){var t=null,e=this.node("block"),i=[];for("{"===this.token?t="}":":"===this.token?t=this.tok.T_ENDSWITCH:this.expect(["{",":"]),this.next(),";"===this.token&&this.next();this.token!==this.EOF&&this.token!==t;)i.push(this.read_case_list(t));return 0===i.length&&this.extractDoc&&this._docs.length>this._docIndex&&i.push(this.node("noop")()),this.expect(t)&&this.next(),t===this.tok.T_ENDSWITCH&&this.expectEndOfStatement(),e(null,i)},read_case_list:function(t){for(var e=this.node("case"),i=null,s=(this.token===this.tok.T_CASE?i=this.next().read_expr():this.token===this.tok.T_DEFAULT?this.next():this.expect([this.tok.T_CASE,this.tok.T_DEFAULT]),this.expect([":",";"])&&this.next(),this.node("block")),n=[];this.token!==this.EOF&&this.token!==t&&this.token!==this.tok.T_CASE&&this.token!==this.tok.T_DEFAULT;)n.push(this.read_inner_statement());return e(i,s(null,n))}}},4544:t=>{t.exports={read_try:function(){this.expect(this.tok.T_TRY);for(var t=this.node("try"),e=null,i=[],s=this.next().read_statement();this.token===this.tok.T_CATCH;){var n=this.node("catch"),r=(this.next().expect("(")&&this.next(),this.read_list(this.read_namespace_name,"|",!1)),h=null;(this.version<800||this.token===this.tok.T_VARIABLE)&&(h=this.read_variable(!0,!1)),this.expect(")"),i.push(n(this.next().read_statement(),r,h))}return t(s,i,e=this.token===this.tok.T_FINALLY?this.next().read_statement():e)}}},9957:t=>{t.exports={read_short_form:function(t){var e=this.node("block"),i=[];for(this.expect(":")&&this.next();this.token!=this.EOF&&this.token!==t;)i.push(this.read_inner_statement());return 0===i.length&&this.extractDoc&&this._docs.length>this._docIndex&&i.push(this.node("noop")()),this.expect(t)&&this.next(),this.expectEndOfStatement(),e(null,i)},read_function_list:function(t,e){var i=[];do{if(this.token==e&&703<=this.version&&0<i.length){i.push(this.node("noop")());break}}while((i.push(t.apply(this,[])),this.token==e)&&(!(")"==this.next().token&&703<=this.version)&&this.token!=this.EOF));return i},read_list:function(t,e,i){var s=[];if(this.token==e&&(i&&s.push("function"==typeof t?this.node("noop")():null),this.next()),"function"==typeof t)do{var n=t.apply(this,[])}while((n&&s.push(n),this.token==e)&&this.next().token!=this.EOF);else{if(!this.expect(t))return[];for(s.push(this.text());this.next().token!=this.EOF&&this.token==e&&this.next().token==t;)s.push(this.text())}return s},read_name_list:function(){return this.read_list(this.read_namespace_name,",",!1)},read_byref:function(t){var e=this.node("byref"),t=(this.next(),e=e(null),t());return t&&(this.ast.swapLocations(t,e,t,this),t.byref=!0),t},read_variable_declarations:function(){return this.read_list(function(){var t,e=this.node("staticvariable"),i=this.node("variable"),i=this.expect(this.tok.T_VARIABLE)?(t=this.text().substring(1),this.next(),i(t,!1)):i("#ERR",!1);return"="===this.token?e(i,this.next().read_expr()):i},",")},read_extends_from:function(){return this.token===this.tok.T_EXTENDS?this.next().read_namespace_name():null},read_interface_extends_list:function(){return this.token===this.tok.T_EXTENDS?this.next().read_name_list():null},read_implements_list:function(){return this.token===this.tok.T_IMPLEMENTS?this.next().read_name_list():null}}},1099:t=>{t.exports={read_variable:function(t,e){var i,s,n;return"&"===this.token?this.read_byref(this.read_variable.bind(this,t,e)):(this.is([this.tok.T_VARIABLE,"$"])?s=this.read_reference_variable(e):this.is([this.tok.T_NS_SEPARATOR,this.tok.T_STRING,this.tok.T_NAME_RELATIVE,this.tok.T_NAME_QUALIFIED,this.tok.T_NAME_FULLY_QUALIFIED,this.tok.T_NAMESPACE])?(s=this.node(),i=this.read_namespace_name(),s=this.token!=this.tok.T_DOUBLE_COLON&&"("!=this.token&&-1===["parentreference","selfreference"].indexOf(i.kind)?"true"===(n=i.name.toLowerCase())?i.destroy(s("boolean",!0,i.name)):"false"===n?i.destroy(s("boolean",!1,i.name)):"null"===n?i.destroy(s("nullkeyword",i.name)):(s.destroy(i),i):(s.destroy(i),i)):this.token===this.tok.T_STATIC?(s=this.node("staticreference"),n=this.text(),this.next(),s=s(n)):this.expect("VARIABLE"),this.token===this.tok.T_DOUBLE_COLON&&(s=this.read_static_getter(s,e)),this.recursive_variable_chain_scan(s,t,e))},read_static_getter:function(t,e){var i,s,n=this.node("staticlookup");return this.next().is([this.tok.T_VARIABLE,"$"])?i=this.read_reference_variable(e):this.token===this.tok.T_STRING||this.token===this.tok.T_CLASS||700<=this.version&&this.is("IDENTIFIER")?(i=this.node("identifier"),s=this.text(),this.next(),i=i(s)):"{"===this.token?(i=this.node("literal"),s=this.next().read_expr(),this.expect("}")&&this.next(),i=i("literal",s,null),this.expect("(")):(this.error([this.tok.T_VARIABLE,this.tok.T_STRING]),i=this.node("identifier"),s=this.text(),this.next(),i=i(s)),n(t,i)},read_what:function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0],e=null,i=null;switch(this.next().token){case this.tok.T_STRING:e=this.node("identifier"),i=this.text(),this.next(),e=e(i),t&&this.token===this.tok.T_OBJECT_OPERATOR&&this.error();break;case this.tok.T_VARIABLE:e=this.node("variable"),i=this.text().substring(1),this.next(),e=e(i,!1);break;case"$":e=this.node(),this.next().expect(["$","{",this.tok.T_VARIABLE]),e="{"===this.token?(i=this.next().read_expr(),this.expect("}")&&this.next(),e("variable",i,!0)):e("variable",i=this.read_expr(),!1);break;case"{":e=this.node("encapsedpart"),i=this.next().read_expr(),this.expect("}")&&this.next(),e=e(i,"complex",!1);break;default:this.error([this.tok.T_STRING,this.tok.T_VARIABLE,"$","{"]),e=this.node("identifier"),i=this.text(),this.next(),e=e(i)}return e},recursive_variable_chain_scan:function(t,e,i){var s;t:for(;this.token!=this.EOF;)switch(this.token){case"(":if(e)return t;t=this.node("call")(t,this.read_argument_list());break;case"[":case"{":var n="["===this.token,r=this.node("offsetlookup");this.next(),s=!1,i?(s=this.read_encaps_var_offset(),this.expect(n?"]":"}")&&this.next()):(n?"]"!==this.token:"}"!==this.token)&&(s=this.read_expr(),!this.expect(n?"]":"}"))||this.next(),t=r(t,s);break;case this.tok.T_DOUBLE_COLON:"staticlookup"===t.kind&&"identifier"===t.offset.kind&&this.error(),t=(r=this.node("staticlookup"))(t,this.read_what(!0));break;case this.tok.T_OBJECT_OPERATOR:t=(r=this.node("propertylookup"))(t,this.read_what());break;case this.tok.T_NULLSAFE_OBJECT_OPERATOR:t=(r=this.node("nullsafepropertylookup"))(t,this.read_what());break;default:break t}return t},read_encaps_var_offset:function(){var t,e=this.node();return e=this.token===this.tok.T_STRING?(t=this.text(),this.next(),e("identifier",t)):this.token===this.tok.T_NUM_STRING?(t=this.text(),this.next(),e("number",t,null)):"-"===this.token?(this.next(),t=-1*this.text(),this.expect(this.tok.T_NUM_STRING)&&this.next(),e("number",t,null)):this.token===this.tok.T_VARIABLE?(t=this.text().substring(1),this.next(),e("variable",t,!1)):(this.expect([this.tok.T_STRING,this.tok.T_NUM_STRING,"-",this.tok.T_VARIABLE]),t=this.text(),this.next(),e("identifier",t))},read_reference_variable:function(t){for(var e,i=this.read_simple_variable();this.token!=this.EOF;){var s=this.node();if("{"!=this.token||t){s.destroy();break}e=this.next().read_expr(),this.expect("}")&&this.next(),i=s("offsetlookup",i,e)}return i},read_simple_variable:function(){var t=this.node("variable");if(this.expect([this.tok.T_VARIABLE,"$"])&&this.token===this.tok.T_VARIABLE)i=this.text().substring(1),this.next(),t=t(i,!1);else switch("$"===this.token&&this.next(),this.token){case"{":var e=this.next().read_expr();this.expect("}")&&this.next(),t=t(e,!0);break;case"$":t=t(this.read_simple_variable(),!1);break;case this.tok.T_VARIABLE:var i=this.text().substring(1),e=this.node("variable");this.next(),t=t(e(i,!1),!1);break;default:this.error(["{","$",this.tok.T_VARIABLE]),i=this.text(),this.next(),t=t(i,!1)}return t}}},6455:t=>{function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(e,t){var i,s=Object.keys(e);return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(e),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,i)),s}function r(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?n(Object(i),!0).forEach(function(t){h(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):n(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function h(t,e,i){return(e=function(t){t=function(t,e){if("object"!==s(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0===i)return("string"===e?String:Number)(t);i=i.call(t,e||"default");if("object"!==s(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}(t,"string");return"symbol"===s(t)?t:String(t)}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var s,n,r,h,o=[],a=!0,_=!1;try{if(r=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;a=!1}else for(;!(a=(s=r.call(i)).done)&&(o.push(s.value),o.length!==e);a=!0);}catch(t){_=!0,n=t}finally{try{if(!a&&null!=i.return&&(h=i.return(),Object(h)!==h))return}finally{if(_)throw n}}return o}}(t,e)||function(t,e){var i;if(t)return"string"==typeof t?a(t,e):"Map"===(i="Object"===(i=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:i)||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?a(t,e):void 0}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i<e;i++)s[i]=t[i];return s}var e={T_HALT_COMPILER:101,T_USE:102,T_ENCAPSED_AND_WHITESPACE:103,T_OBJECT_OPERATOR:104,T_STRING:105,T_DOLLAR_OPEN_CURLY_BRACES:106,T_STRING_VARNAME:107,T_CURLY_OPEN:108,T_NUM_STRING:109,T_ISSET:110,T_EMPTY:111,T_INCLUDE:112,T_INCLUDE_ONCE:113,T_EVAL:114,T_REQUIRE:115,T_REQUIRE_ONCE:116,T_NAMESPACE:117,T_NS_SEPARATOR:118,T_AS:119,T_IF:120,T_ENDIF:121,T_WHILE:122,T_DO:123,T_FOR:124,T_SWITCH:125,T_BREAK:126,T_CONTINUE:127,T_RETURN:128,T_GLOBAL:129,T_STATIC:130,T_ECHO:131,T_INLINE_HTML:132,T_UNSET:133,T_FOREACH:134,T_DECLARE:135,T_TRY:136,T_THROW:137,T_GOTO:138,T_FINALLY:139,T_CATCH:140,T_ENDDECLARE:141,T_LIST:142,T_CLONE:143,T_PLUS_EQUAL:144,T_MINUS_EQUAL:145,T_MUL_EQUAL:146,T_DIV_EQUAL:147,T_CONCAT_EQUAL:148,T_MOD_EQUAL:149,T_AND_EQUAL:150,T_OR_EQUAL:151,T_XOR_EQUAL:152,T_SL_EQUAL:153,T_SR_EQUAL:154,T_INC:155,T_DEC:156,T_BOOLEAN_OR:157,T_BOOLEAN_AND:158,T_LOGICAL_OR:159,T_LOGICAL_AND:160,T_LOGICAL_XOR:161,T_SL:162,T_SR:163,T_IS_IDENTICAL:164,T_IS_NOT_IDENTICAL:165,T_IS_EQUAL:166,T_IS_NOT_EQUAL:167,T_IS_SMALLER_OR_EQUAL:168,T_IS_GREATER_OR_EQUAL:169,T_INSTANCEOF:170,T_INT_CAST:171,T_DOUBLE_CAST:172,T_STRING_CAST:173,T_ARRAY_CAST:174,T_OBJECT_CAST:175,T_BOOL_CAST:176,T_UNSET_CAST:177,T_EXIT:178,T_PRINT:179,T_YIELD:180,T_YIELD_FROM:181,T_FUNCTION:182,T_DOUBLE_ARROW:183,T_DOUBLE_COLON:184,T_ARRAY:185,T_CALLABLE:186,T_CLASS:187,T_ABSTRACT:188,T_TRAIT:189,T_FINAL:190,T_EXTENDS:191,T_INTERFACE:192,T_IMPLEMENTS:193,T_VAR:194,T_PUBLIC:195,T_PROTECTED:196,T_PRIVATE:197,T_CONST:198,T_NEW:199,T_INSTEADOF:200,T_ELSEIF:201,T_ELSE:202,T_ENDSWITCH:203,T_CASE:204,T_DEFAULT:205,T_ENDFOR:206,T_ENDFOREACH:207,T_ENDWHILE:208,T_CONSTANT_ENCAPSED_STRING:209,T_LNUMBER:210,T_DNUMBER:211,T_LINE:212,T_FILE:213,T_DIR:214,T_TRAIT_C:215,T_METHOD_C:216,T_FUNC_C:217,T_NS_C:218,T_START_HEREDOC:219,T_END_HEREDOC:220,T_CLASS_C:221,T_VARIABLE:222,T_OPEN_TAG:223,T_OPEN_TAG_WITH_ECHO:224,T_CLOSE_TAG:225,T_WHITESPACE:226,T_COMMENT:227,T_DOC_COMMENT:228,T_ELLIPSIS:229,T_COALESCE:230,T_POW:231,T_POW_EQUAL:232,T_SPACESHIP:233,T_COALESCE_EQUAL:234,T_FN:235,T_NULLSAFE_OBJECT_OPERATOR:236,T_MATCH:237,T_ATTRIBUTE:238,T_ENUM:239,T_READ_ONLY:240,T_NAME_RELATIVE:241,T_NAME_QUALIFIED:242,T_NAME_FULLY_QUALIFIED:243},e={values:Object.entries(e).reduce(function(t,e){var e=o(e,2),i=e[0],e=e[1];return r(r({},t),{},h({},e,i))},{}),names:e};t.exports=Object.freeze(e)}},n={};return function t(e){var i=n[e];return void 0===i&&(i=n[e]={exports:{}},s[e](i,i.exports,t)),i.exports}(1427).default})(),"object"==typeof n&&"object"==typeof s?s.exports=e():"object"==typeof n?n.PhpParser=e():t.PhpParser=e()}.call(this)}.call(this,t("_process"))},{_process:5}],5:[function(t,e,i){var s,n,e=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function h(){throw new Error("clearTimeout has not been defined")}try{s="function"==typeof setTimeout?setTimeout:r}catch(t){s=r}try{n="function"==typeof clearTimeout?clearTimeout:h}catch(t){n=h}function o(e){if(s===setTimeout)return setTimeout(e,0);if((s===r||!s)&&setTimeout)return(s=setTimeout)(e,0);try{return s(e,0)}catch(t){try{return s.call(null,e,0)}catch(t){return s.call(this,e,0)}}}var a,_=[],l=!1,c=-1;function u(){l&&a&&(l=!1,a.length?_=a.concat(_):c=-1,_.length)&&p()}function p(){if(!l){for(var t=o(u),e=(l=!0,_.length);e;){for(a=_,_=[];++c<e;)a&&a[c].run();c=-1,e=_.length}a=null,l=!1,!function(e){if(n===clearTimeout)return clearTimeout(e);if((n===h||!n)&&clearTimeout)return(n=clearTimeout)(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(t)}}function T(t,e){this.fun=t,this.array=e}function f(){}e.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];_.push(new T(t,e)),1!==_.length||l||o(p)},T.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=f,e.addListener=f,e.once=f,e.off=f,e.removeListener=f,e.removeAllListeners=f,e.emit=f,e.prependListener=f,e.prependOnceListener=f,e.listeners=function(t){return[]},e.binding=function(t){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(t){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}},{}]},{},[1])(1)});