!function(t,e){"object"==typeofexports&&"undefined"!=typeofmodule?module.exports=e(require("estraverse")):"function"==typeofdefine&&define.amd?define(["estraverse"],e):(t=t||self).esquery=e(t.estraverse)}(this,(function(t){"use strict";functione(t){return(e="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft})(t)}functionr(t,e){returnfunction(t){if(Array.isArray(t))returnt}(t)||function(t,e){varr=null==t?null:"undefined"!=typeofSymbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){varn,u,o,a,s=[],c=!0,i=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}elsefor(;!(c=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);c=!0);}catch(t){i=!0,u=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(i)throwu}}returns}}(t,e)||u(t,e)||function(){thrownewTypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}functionn(t){returnfunction(t){if(Array.isArray(t))returno(t)}(t)||function(t){if("undefined"!=typeofSymbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])returnArray.from(t)}(t)||u(t)||function(){thrownewTypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}functionu(t,e){if(t){if("string"==typeoft)returno(t,e);varr=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void0}}functiono(t,e){(null==e||e>t.length)&&(e=t.length);for(varr=0,n=newArray(e);r<e;r++)n[r]=t[r];returnn}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;"undefined"!=typeofglobalThis?globalThis:"undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself&&self;vara=function(t,e){returnt(e={exports:{}},e.exports),e.exports}((function(t){t.exports&&(t.exports=function(){functiont(e,r,n,u){this.message=e,this.expected=r,this.found=n,this.location=u,this.name="SyntaxError","function"==typeofError.captureStackTrace&&Error.captureStackTrace(this,t)}returnfunction(t,e){functionr(){this.constructor=t}r.prototype=e.prototype,t.prototype=newr}(t,Error),t.buildMessage=function(t,e){varr={literal:function(t){return'"'+u(t.text)+'"'},class:function(t){vare,r="";for(e=0;e<t.parts.length;e++)r+=t.parts[e]instanceofArray?o(t.parts[e][0])+"-"+o(t.parts[e][1]):o(t.parts[e]);return"["+(t.inverted?"^":"")+r+"]"},any:function(t){return"any character"},end:function(t){return"end of input"},other:function(t){returnt.description}};functionn(t){returnt.charCodeAt(0).toString(16).toUpperCase()}functionu(t){returnt.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(t){return"\\x0"+n(t)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(t){return"\\x"+n(t)}))}functiono(t){returnt.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(t){return"\\x0"+n(t)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(t){return"\\x"+n(t)}))}return"Expected "+function(t){vare,n,u,o=newArray(t.length);for(e=0;e<t.length;e++)o[e]=(u=t[e],r[u.type](u));if(o.sort(),o.length>0){for(e=1,n=1;e<o.length;e++)o[e-1]!==o[e]&&(o[n]=o[e],n++);o.length=n}switch(o.length){case1:returno[0];case2:returno[0]+" or "+o[1];default:returno.slice(0,-1).join(", ")+", or "+o[o.length-1]}}(t)+" but "+function(t){returnt?'"'+u(t)+'"':"end of input"}(e)+" found."},{SyntaxError:t,parse:function(e,r){r=void0!==r?r:{};varn,u,o,a,s={},c={start:yt},i=yt,l=lt(" ",!1),f=/^[^ [\],():#!=><~+.]/,h=ft([" ","[","]",",","(",")",":","#","!","=",">","<"