diff --git a/out/extension.js b/out/extension.js index 6e52922..67f5455 100644 --- a/out/extension.js +++ b/out/extension.js @@ -1,16 +1,8772 @@ -var br=Object.create;var bt=Object.defineProperty;var Sr=Object.getOwnPropertyDescriptor;var _r=Object.getOwnPropertyNames;var Or=Object.getPrototypeOf,Nr=Object.prototype.hasOwnProperty;var Ir=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Wr=(e,t)=>{for(var r in t)bt(e,r,{get:t[r],enumerable:!0})},er=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of _r(t))!Nr.call(e,a)&&a!==r&&bt(e,a,{get:()=>t[a],enumerable:!(n=Sr(t,a))||n.enumerable});return e};var rr=(e,t,r)=>(r=e!=null?br(Or(e)):{},er(t||!e||!e.__esModule?bt(r,"default",{value:e,enumerable:!0}):r,e)),Xr=e=>er(bt({},"__esModule",{value:!0}),e);var nr=Ir((exports,module)=>{"use strict";var jS=Object.create,Gn=Object.defineProperty,US=Object.getOwnPropertyDescriptor,YS=Object.getOwnPropertyNames,VS=Object.getPrototypeOf,KS=Object.prototype.hasOwnProperty,i=(e,t)=>Gn(e,"name",{value:t,configurable:!0}),l=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Kl=(e,t)=>{for(var r in t)Gn(e,r,{get:t[r],enumerable:!0})},Hl=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of YS(t))!KS.call(e,a)&&a!==r&&Gn(e,a,{get:()=>t[a],enumerable:!(n=US(t,a))||n.enumerable});return e},W=(e,t,r)=>(r=e!=null?jS(VS(e)):{},Hl(t||!e||!e.__esModule?Gn(r,"default",{value:e,enumerable:!0}):r,e)),HS=e=>Hl(Gn({},"__esModule",{value:!0}),e),zu=l((e,t)=>{"use strict";var r=require("os");t.exports=r.homedir||i(function(){var n=process.env.HOME,a=process.env.LOGNAME||process.env.USER||process.env.LNAME||process.env.USERNAME;return process.platform==="win32"?process.env.USERPROFILE||process.env.HOMEDRIVE+process.env.HOMEPATH||n||null:process.platform==="darwin"?n||(a?"/Users/"+a:null):process.platform==="linux"?n||(process.getuid()===0?"/root":a?"/home/"+a:null):n||null},"homedir")}),Qu=l((e,t)=>{t.exports=function(){var r=Error.prepareStackTrace;Error.prepareStackTrace=function(a,u){return u};var n=new Error().stack;return Error.prepareStackTrace=r,n[2].getFileName()}}),Jl=l((e,t)=>{"use strict";var r=process.platform==="win32",n=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/,a={};function u(f){return n.exec(f).slice(1)}i(u,"win32SplitPath"),a.parse=function(f){if(typeof f!="string")throw new TypeError("Parameter 'pathString' must be a string, not "+typeof f);var d=u(f);if(!d||d.length!==5)throw new TypeError("Invalid path '"+f+"'");return{root:d[1],dir:d[0]===d[1]?d[0]:d[0].slice(0,-1),base:d[2],ext:d[4],name:d[3]}};var s=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/,c={};function p(f){return s.exec(f).slice(1)}i(p,"posixSplitPath"),c.parse=function(f){if(typeof f!="string")throw new TypeError("Parameter 'pathString' must be a string, not "+typeof f);var d=p(f);if(!d||d.length!==5)throw new TypeError("Invalid path '"+f+"'");return{root:d[1],dir:d[0].slice(0,-1),base:d[2],ext:d[4],name:d[3]}},r?t.exports=a.parse:t.exports=c.parse,t.exports.posix=c.parse,t.exports.win32=a.parse}),ta=l((e,t)=>{var r=require("path"),n=r.parse||Jl(),a=i(function(u,s){var c="/";/^([A-Za-z]:)/.test(u)?c="":/^\\\\/.test(u)&&(c="\\\\");for(var p=[u],f=n(u);f.dir!==p[p.length-1];)p.push(f.dir),f=n(f.dir);return p.reduce(function(d,m){return d.concat(s.map(function(y){return r.resolve(c,m,y)}))},[])},"getNodeModulesDirs");t.exports=i(function(u,s,c){var p=s&&s.moduleDirectory?[].concat(s.moduleDirectory):["node_modules"];if(s&&typeof s.paths=="function")return s.paths(c,u,function(){return a(u,p)},s);var f=a(u,p);return s&&s.paths?f.concat(s.paths):f},"nodeModulesPaths")}),ra=l((e,t)=>{t.exports=function(r,n){return n||{}}}),nc=l((e,t)=>{"use strict";var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,u="[object Function]";t.exports=i(function(s){var c=this;if(typeof c!="function"||a.call(c)!==u)throw new TypeError(r+c);for(var p=n.call(arguments,1),f,d=i(function(){if(this instanceof f){var w=c.apply(this,p.concat(n.call(arguments)));return Object(w)===w?w:this}else return c.apply(s,p.concat(n.call(arguments)))},"binder"),m=Math.max(0,c.length-p.length),y=[],g=0;g{"use strict";var r=nc();t.exports=Function.prototype.bind||r}),oc=l((e,t)=>{"use strict";var r=uc();t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)}),lc=l((e,t)=>{t.exports={assert:!0,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:">= 0.5 && < 0.9.7",buffer:!0,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:!0,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],console:!0,"node:console":[">= 14.18 && < 15",">= 16"],constants:!0,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:!0,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:!0,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],events:!0,"node:events":[">= 14.18 && < 15",">= 16"],freelist:"< 6",fs:!0,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],http:!0,"node:http":[">= 14.18 && < 15",">= 16"],http2:">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],https:!0,"node:https":[">= 14.18 && < 15",">= 16"],inspector:">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],_linklist:"< 8",module:!0,"node:module":[">= 14.18 && < 15",">= 16"],net:!0,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12",os:!0,"node:os":[">= 14.18 && < 15",">= 16"],path:!0,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:">= 1","node:process":[">= 14.18 && < 15",">= 16"],punycode:">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],querystring:!0,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:!0,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:!0,"node:repl":[">= 14.18 && < 15",">= 16"],smalloc:">= 0.11.5 && < 3",_stream_duplex:">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],_stream_transform:">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],_stream_wrap:">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],_stream_passthrough:">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],_stream_readable:">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],_stream_writable:">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],stream:!0,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5",string_decoder:!0,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"test/reporters":">= 19.9 && < 20.2","node:test/reporters":[">= 18.17 && < 19",">= 19.9",">= 20"],"node:test":[">= 16.17 && < 17",">= 18"],timers:!0,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],tls:!0,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],tty:!0,"node:tty":[">= 14.18 && < 15",">= 16"],url:!0,"node:url":[">= 14.18 && < 15",">= 16"],util:!0,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],v8:">= 1","node:v8":[">= 14.18 && < 15",">= 16"],vm:!0,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:[">= 13.4 && < 13.5",">= 18.17 && < 19",">= 20"],"node:wasi":[">= 18.17 && < 19",">= 20"],worker_threads:">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}}),Yn=l((e,t)=>{"use strict";var r=oc();function n(c,p){for(var f=c.split("."),d=p.split(" "),m=d.length>1?d[0]:"=",y=(d.length>1?d[1]:d[0]).split("."),g=0;g<3;++g){var A=parseInt(f[g]||0,10),w=parseInt(y[g]||0,10);if(A!==w)return m==="<"?A="?A>=w:!1}return m===">="}i(n,"specifierIncluded");function a(c,p){var f=p.split(/ ?&& ?/);if(f.length===0)return!1;for(var d=0;d"u"?process.versions&&process.versions.node:c;if(typeof f!="string")throw new TypeError(typeof c>"u"?"Unable to determine current node version":"If provided, a valid node version is required");if(p&&typeof p=="object"){for(var d=0;d{var r=require("fs"),n=zu(),a=require("path"),u=Qu(),s=ta(),c=ra(),p=Yn(),f=process.platform!=="win32"&&r.realpath&&typeof r.realpath.native=="function"?r.realpath.native:r.realpath,d=n(),m=i(function(){return[a.join(d,".node_modules"),a.join(d,".node_libraries")]},"defaultPaths"),y=i(function(F,Y){r.stat(F,function(T,K){return T?T.code==="ENOENT"||T.code==="ENOTDIR"?Y(null,!1):Y(T):Y(null,K.isFile()||K.isFIFO())})},"isFile"),g=i(function(F,Y){r.stat(F,function(T,K){return T?T.code==="ENOENT"||T.code==="ENOTDIR"?Y(null,!1):Y(T):Y(null,K.isDirectory())})},"isDirectory"),A=i(function(F,Y){f(F,function(T,K){T&&T.code!=="ENOENT"?Y(T):Y(null,T?F:K)})},"realpath"),w=i(function(F,Y,T,K){T&&T.preserveSymlinks===!1?F(Y,K):K(null,Y)},"maybeRealpath"),te=i(function(F,Y,T){F(Y,function(K,V){if(K)T(K);else try{var de=JSON.parse(V);T(null,de)}catch{T(null)}})},"defaultReadPackage"),X=i(function(F,Y,T){for(var K=s(Y,T,F),V=0;V{t.exports={assert:!0,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:">= 0.5 && < 0.9.7",buffer:!0,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:!0,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],console:!0,"node:console":[">= 14.18 && < 15",">= 16"],constants:!0,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:!0,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:!0,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],events:!0,"node:events":[">= 14.18 && < 15",">= 16"],freelist:"< 6",fs:!0,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],http:!0,"node:http":[">= 14.18 && < 15",">= 16"],http2:">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],https:!0,"node:https":[">= 14.18 && < 15",">= 16"],inspector:">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],_linklist:"< 8",module:!0,"node:module":[">= 14.18 && < 15",">= 16"],net:!0,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12",os:!0,"node:os":[">= 14.18 && < 15",">= 16"],path:!0,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:">= 1","node:process":[">= 14.18 && < 15",">= 16"],punycode:">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],querystring:!0,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:!0,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:!0,"node:repl":[">= 14.18 && < 15",">= 16"],smalloc:">= 0.11.5 && < 3",_stream_duplex:">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],_stream_transform:">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],_stream_wrap:">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],_stream_passthrough:">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],_stream_readable:">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],_stream_writable:">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],stream:!0,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5",string_decoder:!0,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"test/reporters":">= 19.9 && < 20.2","node:test/reporters":[">= 18.17 && < 19",">= 19.9",">= 20"],"node:test":[">= 16.17 && < 17",">= 18"],timers:!0,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],tls:!0,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],tty:!0,"node:tty":[">= 14.18 && < 15",">= 16"],url:!0,"node:url":[">= 14.18 && < 15",">= 16"],util:!0,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],v8:">= 1","node:v8":[">= 14.18 && < 15",">= 16"],vm:!0,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:[">= 13.4 && < 13.5",">= 18.17 && < 19",">= 20"],"node:wasi":[">= 18.17 && < 19",">= 20"],worker_threads:">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}}),xc=l((e,t)=>{"use strict";var r=Yn(),n=hc(),a={};for(u in n)Object.prototype.hasOwnProperty.call(n,u)&&(a[u]=r(u));var u;t.exports=a}),gc=l((e,t)=>{var r=Yn();t.exports=i(function(n){return r(n)},"isCore")}),Fc=l((e,t)=>{var r=Yn(),n=require("fs"),a=require("path"),u=zu(),s=Qu(),c=ta(),p=ra(),f=process.platform!=="win32"&&n.realpathSync&&typeof n.realpathSync.native=="function"?n.realpathSync.native:n.realpathSync,d=u(),m=i(function(){return[a.join(d,".node_modules"),a.join(d,".node_libraries")]},"defaultPaths"),y=i(function(F){try{var Y=n.statSync(F,{throwIfNoEntry:!1})}catch(T){if(T&&(T.code==="ENOENT"||T.code==="ENOTDIR"))return!1;throw T}return!!Y&&(Y.isFile()||Y.isFIFO())},"isFile"),g=i(function(F){try{var Y=n.statSync(F,{throwIfNoEntry:!1})}catch(T){if(T&&(T.code==="ENOENT"||T.code==="ENOTDIR"))return!1;throw T}return!!Y&&Y.isDirectory()},"isDirectory"),A=i(function(F){try{return f(F)}catch(Y){if(Y.code!=="ENOENT")throw Y}return F},"realpathSync"),w=i(function(F,Y,T){return T&&T.preserveSymlinks===!1?F(Y):Y},"maybeRealpathSync"),te=i(function(F,Y){var T=F(Y);try{var K=JSON.parse(T);return K}catch{}},"defaultReadPackageSync"),X=i(function(F,Y,T){for(var K=c(Y,T,F),V=0;V{var r=mc();r.core=xc(),r.isCore=gc(),r.sync=Fc(),t.exports=r}),Nt=l((e,t)=>{var r=t.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=r)}),tr=l((e,t)=>{var r={}.hasOwnProperty;t.exports=function(n,a){return r.call(n,a)}}),Jr=l((e,t)=>{t.exports=function(r){try{return!!r()}catch{return!0}}}),Tr=l((e,t)=>{t.exports=!Jr()(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})}),Ke=l((e,t)=>{var r=t.exports={version:"2.6.12"};typeof __e=="number"&&(__e=r)}),wc=l((e,t)=>{t.exports=function(r){if(typeof r!="function")throw TypeError(r+" is not a function!");return r}}),kc=l((e,t)=>{var r=wc();t.exports=function(n,a,u){if(r(n),a===void 0)return n;switch(u){case 1:return function(s){return n.call(a,s)};case 2:return function(s,c){return n.call(a,s,c)};case 3:return function(s,c,p){return n.call(a,s,c,p)}}return function(){return n.apply(a,arguments)}}}),zr=l((e,t)=>{t.exports=function(r){return typeof r=="object"?r!==null:typeof r=="function"}}),Qr=l((e,t)=>{var r=zr();t.exports=function(n){if(!r(n))throw TypeError(n+" is not an object!");return n}}),ua=l((e,t)=>{var r=zr(),n=Nt().document,a=r(n)&&r(n.createElement);t.exports=function(u){return a?n.createElement(u):{}}}),aa=l((e,t)=>{t.exports=!Tr()&&!Jr()(function(){return Object.defineProperty(ua()("div"),"a",{get:function(){return 7}}).a!=7})}),ss=l((e,t)=>{var r=zr();t.exports=function(n,a){if(!r(n))return n;var u,s;if(a&&typeof(u=n.toString)=="function"&&!r(s=u.call(n))||typeof(u=n.valueOf)=="function"&&!r(s=u.call(n))||!a&&typeof(u=n.toString)=="function"&&!r(s=u.call(n)))return s;throw TypeError("Can't convert object to primitive value")}}),gr=l(e=>{var t=Qr(),r=aa(),n=ss(),a=Object.defineProperty;e.f=Tr()?Object.defineProperty:i(function(u,s,c){if(t(u),s=n(s,!0),t(c),r)try{return a(u,s,c)}catch{}if("get"in c||"set"in c)throw TypeError("Accessors not supported!");return"value"in c&&(u[s]=c.value),u},"defineProperty")}),$n=l((e,t)=>{t.exports=function(r,n){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}}}),vr=l((e,t)=>{var r=gr(),n=$n();t.exports=Tr()?function(a,u,s){return r.f(a,u,n(1,s))}:function(a,u,s){return a[u]=s,a}}),Zr=l((e,t)=>{var r=Nt(),n=Ke(),a=kc(),u=vr(),s=tr(),c="prototype",p=i(function(f,d,m){var y=f&p.F,g=f&p.G,A=f&p.S,w=f&p.P,te=f&p.B,X=f&p.W,F=g?n:n[d]||(n[d]={}),Y=F[c],T=g?r:A?r[d]:(r[d]||{})[c],K,V,de;g&&(m=d);for(K in m)V=!y&&T&&T[K]!==void 0,!(V&&s(F,K))&&(de=V?T[K]:m[K],F[K]=g&&typeof T[K]!="function"?m[K]:te&&V?a(de,r):X&&T[K]==de?function(ie){var D=i(function(O,M,ee){if(this instanceof ie){switch(arguments.length){case 0:return new ie;case 1:return new ie(O);case 2:return new ie(O,M)}return new ie(O,M,ee)}return ie.apply(this,arguments)},"F");return D[c]=ie[c],D}(de):w&&typeof de=="function"?a(Function.call,de):de,w&&((F.virtual||(F.virtual={}))[K]=de,f&p.R&&Y&&!Y[K]&&u(Y,K,de)))},"$export");p.F=1,p.G=2,p.S=4,p.P=8,p.B=16,p.W=32,p.U=64,p.R=128,t.exports=p}),la=l((e,t)=>{t.exports=vr()}),Jn=l((e,t)=>{var r=0,n=Math.random();t.exports=function(a){return"Symbol(".concat(a===void 0?"":a,")_",(++r+n).toString(36))}}),ep=l((e,t)=>{var r=Jn()("meta"),n=zr(),a=tr(),u=gr().f,s=0,c=Object.isExtensible||function(){return!0},p=!Jr()(function(){return c(Object.preventExtensions({}))}),f=i(function(A){u(A,r,{value:{i:"O"+ ++s,w:{}}})},"setMeta"),d=i(function(A,w){if(!n(A))return typeof A=="symbol"?A:(typeof A=="string"?"S":"P")+A;if(!a(A,r)){if(!c(A))return"F";if(!w)return"E";f(A)}return A[r].i},"fastKey"),m=i(function(A,w){if(!a(A,r)){if(!c(A))return!0;if(!w)return!1;f(A)}return A[r].w},"getWeak"),y=i(function(A){return p&&g.NEED&&c(A)&&!a(A,r)&&f(A),A},"onFreeze"),g=t.exports={KEY:r,NEED:!1,fastKey:d,getWeak:m,onFreeze:y}}),zn=l((e,t)=>{t.exports=!0}),ls=l((e,t)=>{var r=Ke(),n=Nt(),a="__core-js_shared__",u=n[a]||(n[a]={});(t.exports=function(s,c){return u[s]||(u[s]=c!==void 0?c:{})})("versions",[]).push({version:r.version,mode:zn()?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})}),_t=l((e,t)=>{var r=ls()("wks"),n=Jn(),a=Nt().Symbol,u=typeof a=="function",s=t.exports=function(c){return r[c]||(r[c]=u&&a[c]||(u?a:n)("Symbol."+c))};s.store=r}),cs=l((e,t)=>{var r=gr().f,n=tr(),a=_t()("toStringTag");t.exports=function(u,s,c){u&&!n(u=c?u:u.prototype,a)&&r(u,a,{configurable:!0,value:s})}}),ps=l(e=>{e.f=_t()}),fs=l((e,t)=>{var r=Nt(),n=Ke(),a=zn(),u=ps(),s=gr().f;t.exports=function(c){var p=n.Symbol||(n.Symbol=a?{}:r.Symbol||{});c.charAt(0)!="_"&&!(c in p)&&s(p,c,{value:u.f(c)})}}),ds=l((e,t)=>{var r={}.toString;t.exports=function(n){return r.call(n).slice(8,-1)}}),mp=l((e,t)=>{var r=ds();t.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return r(n)=="String"?n.split(""):Object(n)}}),Es=l((e,t)=>{t.exports=function(r){if(r==null)throw TypeError("Can't call method on "+r);return r}}),Fr=l((e,t)=>{var r=mp(),n=Es();t.exports=function(a){return r(n(a))}}),ms=l((e,t)=>{var r=Math.ceil,n=Math.floor;t.exports=function(a){return isNaN(a=+a)?0:(a>0?n:r)(a)}}),xp=l((e,t)=>{var r=ms(),n=Math.min;t.exports=function(a){return a>0?n(r(a),9007199254740991):0}}),gp=l((e,t)=>{var r=ms(),n=Math.max,a=Math.min;t.exports=function(u,s){return u=r(u),u<0?n(u+s,0):a(u,s)}}),Sp=l((e,t)=>{var r=Fr(),n=xp(),a=gp();t.exports=function(u){return function(s,c,p){var f=r(s),d=n(f.length),m=a(p,d),y;if(u&&c!=c){for(;d>m;)if(y=f[m++],y!=y)return!0}else for(;d>m;m++)if((u||m in f)&&f[m]===c)return u||m||0;return!u&&-1}}}),hs=l((e,t)=>{var r=ls()("keys"),n=Jn();t.exports=function(a){return r[a]||(r[a]=n(a))}}),Ea=l((e,t)=>{var r=tr(),n=Fr(),a=Sp()(!1),u=hs()("IE_PROTO");t.exports=function(s,c){var p=n(s),f=0,d=[],m;for(m in p)m!=u&&r(p,m)&&d.push(m);for(;c.length>f;)r(p,m=c[f++])&&(~a(d,m)||d.push(m));return d}}),Ds=l((e,t)=>{t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")}),Qn=l((e,t)=>{var r=Ea(),n=Ds();t.exports=Object.keys||i(function(a){return r(a,n)},"keys")}),ma=l(e=>{e.f=Object.getOwnPropertySymbols}),ys=l(e=>{e.f={}.propertyIsEnumerable}),Pp=l((e,t)=>{var r=Qn(),n=ma(),a=ys();t.exports=function(u){var s=r(u),c=n.f;if(c)for(var p=c(u),f=a.f,d=0,m;p.length>d;)f.call(u,m=p[d++])&&s.push(m);return s}}),wp=l((e,t)=>{var r=ds();t.exports=Array.isArray||i(function(n){return r(n)=="Array"},"isArray")}),As=l((e,t)=>{var r=Es();t.exports=function(n){return Object(r(n))}}),Mp=l((e,t)=>{var r=gr(),n=Qr(),a=Qn();t.exports=Tr()?Object.defineProperties:i(function(u,s){n(u);for(var c=a(s),p=c.length,f=0,d;p>f;)r.f(u,d=c[f++],s[d]);return u},"defineProperties")}),Up=l((e,t)=>{var r=Nt().document;t.exports=r&&r.documentElement}),Ts=l((e,t)=>{var r=Qr(),n=Mp(),a=Ds(),u=hs()("IE_PROTO"),s=i(function(){},"Empty"),c="prototype",p=i(function(){var f=ua()("iframe"),d=a.length,m="<",y=">",g;for(f.style.display="none",Up().appendChild(f),f.src="javascript:",g=f.contentWindow.document,g.open(),g.write(m+"script"+y+"document.F=Object"+m+"/script"+y),g.close(),p=g.F;d--;)delete p[c][a[d]];return p()},"createDict");t.exports=Object.create||i(function(f,d){var m;return f!==null?(s[c]=r(f),m=new s,s[c]=null,m[u]=f):m=p(),d===void 0?m:n(m,d)},"create")}),ya=l(e=>{var t=Ea(),r=Ds().concat("length","prototype");e.f=Object.getOwnPropertyNames||i(function(n){return t(n,r)},"getOwnPropertyNames")}),$p=l((e,t)=>{var r=Fr(),n=ya().f,a={}.toString,u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=i(function(c){try{return n(c)}catch{return u.slice()}},"getWindowNames");t.exports.f=i(function(c){return u&&a.call(c)=="[object Window]"?s(c):n(r(c))},"getOwnPropertyNames")}),Qp=l(e=>{var t=ys(),r=$n(),n=Fr(),a=ss(),u=tr(),s=aa(),c=Object.getOwnPropertyDescriptor;e.f=Tr()?c:i(function(p,f){if(p=n(p),f=a(f,!0),s)try{return c(p,f)}catch{}if(u(p,f))return r(!t.f.call(p,f),p[f])},"getOwnPropertyDescriptor")}),Os=l(()=>{"use strict";var e=Nt(),t=tr(),r=Tr(),n=Zr(),a=la(),u=ep().KEY,s=Jr(),c=ls(),p=cs(),f=Jn(),d=_t(),m=ps(),y=fs(),g=Pp(),A=wp(),w=Qr(),te=zr(),X=As(),F=Fr(),Y=ss(),T=$n(),K=Ts(),V=$p(),de=Qp(),ie=ma(),D=gr(),O=Qn(),M=de.f,ee=D.f,G=V.f,Q=e.Symbol,ce=e.JSON,he=ce&&ce.stringify,ye="prototype",ve=d("_hidden"),Fe=d("toPrimitive"),_e={}.propertyIsEnumerable,Ne=c("symbol-registry"),Re=c("symbols"),Le=c("op-symbols"),Ae=Object[ye],Oe=typeof Q=="function"&&!!ie.f,Ce=e.QObject,j=!Ce||!Ce[ye]||!Ce[ye].findChild,x=r&&s(function(){return K(ee({},"a",{get:function(){return ee(this,"a",{value:7}).a}})).a!=7})?function(L,H,le){var De=M(Ae,H);De&&delete Ae[H],ee(L,H,le),De&&L!==Ae&&ee(Ae,H,De)}:ee,J=i(function(L){var H=Re[L]=K(Q[ye]);return H._k=L,H},"wrap"),z=Oe&&typeof Q.iterator=="symbol"?function(L){return typeof L=="symbol"}:function(L){return L instanceof Q},oe=i(function(L,H,le){return L===Ae&&oe(Le,H,le),w(L),H=Y(H,!0),w(le),t(Re,H)?(le.enumerable?(t(L,ve)&&L[ve][H]&&(L[ve][H]=!1),le=K(le,{enumerable:T(0,!1)})):(t(L,ve)||ee(L,ve,T(1,{})),L[ve][H]=!0),x(L,H,le)):ee(L,H,le)},"defineProperty"),me=i(function(L,H){w(L);for(var le=g(H=F(H)),De=0,xe=le.length,Ue;xe>De;)oe(L,Ue=le[De++],H[Ue]);return L},"defineProperties"),Me=i(function(L,H){return H===void 0?K(L):me(K(L),H)},"create"),je=i(function(L){var H=_e.call(this,L=Y(L,!0));return this===Ae&&t(Re,L)&&!t(Le,L)?!1:H||!t(this,L)||!t(Re,L)||t(this,ve)&&this[ve][L]?H:!0},"propertyIsEnumerable"),Ie=i(function(L,H){if(L=F(L),H=Y(H,!0),!(L===Ae&&t(Re,H)&&!t(Le,H))){var le=M(L,H);return le&&t(Re,H)&&!(t(L,ve)&&L[ve][H])&&(le.enumerable=!0),le}},"getOwnPropertyDescriptor"),Xe=i(function(L){for(var H=G(F(L)),le=[],De=0,xe;H.length>De;)!t(Re,xe=H[De++])&&xe!=ve&&xe!=u&&le.push(xe);return le},"getOwnPropertyNames"),Te=i(function(L){for(var H=L===Ae,le=G(H?Le:F(L)),De=[],xe=0,Ue;le.length>xe;)t(Re,Ue=le[xe++])&&(H?t(Ae,Ue):!0)&&De.push(Re[Ue]);return De},"getOwnPropertySymbols");for(Oe||(Q=i(function(){if(this instanceof Q)throw TypeError("Symbol is not a constructor!");var L=f(arguments.length>0?arguments[0]:void 0),H=i(function(le){this===Ae&&H.call(Le,le),t(this,ve)&&t(this[ve],L)&&(this[ve][L]=!1),x(this,L,T(1,le))},"$set");return r&&j&&x(Ae,L,{configurable:!0,set:H}),J(L)},"Symbol"),a(Q[ye],"toString",i(function(){return this._k},"toString")),de.f=Ie,D.f=oe,ya().f=V.f=Xe,ys().f=je,ie.f=Te,r&&!zn()&&a(Ae,"propertyIsEnumerable",je,!0),m.f=function(L){return J(d(L))}),n(n.G+n.W+n.F*!Oe,{Symbol:Q}),ze="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ge=0;ze.length>ge;)d(ze[ge++]);var ze,ge;for(k=O(d.store),Z=0;k.length>Z;)y(k[Z++]);var k,Z;n(n.S+n.F*!Oe,"Symbol",{for:function(L){return t(Ne,L+="")?Ne[L]:Ne[L]=Q(L)},keyFor:i(function(L){if(!z(L))throw TypeError(L+" is not a symbol!");for(var H in Ne)if(Ne[H]===L)return H},"keyFor"),useSetter:function(){j=!0},useSimple:function(){j=!1}}),n(n.S+n.F*!Oe,"Object",{create:Me,defineProperty:oe,defineProperties:me,getOwnPropertyDescriptor:Ie,getOwnPropertyNames:Xe,getOwnPropertySymbols:Te});var pe=s(function(){ie.f(1)});n(n.S+n.F*pe,"Object",{getOwnPropertySymbols:i(function(L){return ie.f(X(L))},"getOwnPropertySymbols")}),ce&&n(n.S+n.F*(!Oe||s(function(){var L=Q();return he([L])!="[null]"||he({a:L})!="{}"||he(Object(L))!="{}"})),"JSON",{stringify:i(function(L){for(var H=[L],le=1,De,xe;arguments.length>le;)H.push(arguments[le++]);if(xe=De=H[1],!(!te(De)&&L===void 0||z(L)))return A(De)||(De=i(function(Ue,He){if(typeof xe=="function"&&(He=xe.call(this,Ue,He)),!z(He))return He},"replacer")),H[1]=De,he.apply(ce,H)},"stringify")}),Q[ye][Fe]||vr()(Q[ye],Fe,Q[ye].valueOf),p(Q,"Symbol"),p(Math,"Math",!0),p(e.JSON,"JSON",!0)}),Ef=l((e,t)=>{Os(),t.exports=Ke().Object.getOwnPropertySymbols}),hf=l((e,t)=>{t.exports={default:Ef(),__esModule:!0}}),yf=l((e,t)=>{t.exports=function(){}}),xf=l((e,t)=>{t.exports=function(r,n){return{value:n,done:!!r}}}),ni=l((e,t)=>{t.exports={}}),Sf=l((e,t)=>{"use strict";var r=Ts(),n=$n(),a=cs(),u={};vr()(u,_t()("iterator"),function(){return this}),t.exports=function(s,c,p){s.prototype=r(u,{next:n(1,p)}),a(s,c+" Iterator")}}),Bf=l((e,t)=>{var r=tr(),n=As(),a=hs()("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(s){return s=n(s),r(s,a)?s[a]:typeof s.constructor=="function"&&s instanceof s.constructor?s.constructor.prototype:s instanceof Object?u:null}}),wa=l((e,t)=>{"use strict";var r=zn(),n=Zr(),a=la(),u=vr(),s=ni(),c=Sf(),p=cs(),f=Bf(),d=_t()("iterator"),m=!([].keys&&"next"in[].keys()),y="@@iterator",g="keys",A="values",w=i(function(){return this},"returnThis");t.exports=function(te,X,F,Y,T,K,V){c(F,X,Y);var de=i(function(Fe){if(!m&&Fe in M)return M[Fe];switch(Fe){case g:return i(function(){return new F(this,Fe)},"keys");case A:return i(function(){return new F(this,Fe)},"values")}return i(function(){return new F(this,Fe)},"entries")},"getMethod"),ie=X+" Iterator",D=T==A,O=!1,M=te.prototype,ee=M[d]||M[y]||T&&M[T],G=ee||de(T),Q=T?D?de("entries"):G:void 0,ce=X=="Array"&&M.entries||ee,he,ye,ve;if(ce&&(ve=f(ce.call(new te)),ve!==Object.prototype&&ve.next&&(p(ve,ie,!0),!r&&typeof ve[d]!="function"&&u(ve,d,w))),D&&ee&&ee.name!==A&&(O=!0,G=i(function(){return ee.call(this)},"values")),(!r||V)&&(m||O||!M[d])&&u(M,d,G),s[X]=G,s[ie]=w,T)if(he={values:D?G:de(A),keys:K?G:de(g),entries:Q},V)for(ye in he)ye in M||a(M,ye,he[ye]);else n(n.P+n.F*(m||O),X,he);return he}}),wf=l((e,t)=>{"use strict";var r=yf(),n=xf(),a=ni(),u=Fr();t.exports=wa()(Array,"Array",function(s,c){this._t=u(s),this._i=0,this._k=c},function(){var s=this._t,c=this._k,p=this._i++;return!s||p>=s.length?(this._t=void 0,n(1)):c=="keys"?n(0,p):c=="values"?n(0,s[p]):n(0,[p,s[p]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")}),Ma=l(()=>{wf();var e=Nt(),t=vr(),r=ni(),n=_t()("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(",");for(p=0;p{var r=ms(),n=Es();t.exports=function(a){return function(u,s){var c=String(n(u)),p=r(s),f=c.length,d,m;return p<0||p>=f?a?"":void 0:(d=c.charCodeAt(p),d<55296||d>56319||p+1===f||(m=c.charCodeAt(p+1))<56320||m>57343?a?c.charAt(p):d:a?c.slice(p,p+2):(d-55296<<10)+(m-56320)+65536)}}}),Ga=l(()=>{"use strict";var e=jf()(!0);wa()(String,"String",function(t){this._t=String(t),this._i=0},function(){var t=this._t,r=this._i,n;return r>=t.length?{value:void 0,done:!0}:(n=e(t,r),this._i+=n.length,{value:n,done:!1})})}),Yf=l((e,t)=>{var r=ds(),n=_t()("toStringTag"),a=r(function(){return arguments}())=="Arguments",u=i(function(s,c){try{return s[c]}catch{}},"tryGet");t.exports=function(s){var c,p,f;return s===void 0?"Undefined":s===null?"Null":typeof(p=u(c=Object(s),n))=="string"?p:a?r(c):(f=r(c))=="Object"&&typeof c.callee=="function"?"Arguments":f}}),Kf=l((e,t)=>{var r=Yf(),n=_t()("iterator"),a=ni();t.exports=Ke().getIteratorMethod=function(u){if(u!=null)return u[n]||u["@@iterator"]||a[r(u)]}}),Wf=l((e,t)=>{var r=Qr(),n=Kf();t.exports=Ke().getIterator=function(a){var u=n(a);if(typeof u!="function")throw TypeError(a+" is not iterable!");return r(u.call(a))}}),$f=l((e,t)=>{Ma(),Ga(),t.exports=Wf()}),si=l((e,t)=>{t.exports={default:$f(),__esModule:!0}}),Qf=l((e,t)=>{var r=Zr(),n=Ke(),a=Jr();t.exports=function(u,s){var c=(n.Object||{})[u]||Object[u],p={};p[u]=s(c),r(r.S+r.F*a(function(){c(1)}),"Object",p)}}),Zf=l(()=>{var e=As(),t=Qn();Qf()("keys",function(){return i(function(r){return t(e(r))},"keys")})}),t0=l((e,t)=>{Zf(),t.exports=Ke().Object.keys}),Ya=l((e,t)=>{t.exports={default:t0(),__esModule:!0}}),u0=l((e,t)=>{var r=Ke(),n=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=i(function(a){return n.stringify.apply(n,arguments)},"stringify")}),Ps=l((e,t)=>{t.exports={default:u0(),__esModule:!0}}),l0=l((e,t)=>{Os(),t.exports=Ke().Symbol.for}),p0=l((e,t)=>{t.exports={default:l0(),__esModule:!0}}),qs=l(e=>{"use strict";e.__esModule=!0,e.NOT_LOCAL_BINDING=e.BLOCK_SCOPED_SYMBOL=e.INHERIT_KEYS=e.UNARY_OPERATORS=e.STRING_UNARY_OPERATORS=e.NUMBER_UNARY_OPERATORS=e.BOOLEAN_UNARY_OPERATORS=e.BINARY_OPERATORS=e.NUMBER_BINARY_OPERATORS=e.BOOLEAN_BINARY_OPERATORS=e.COMPARISON_BINARY_OPERATORS=e.EQUALITY_BINARY_OPERATORS=e.BOOLEAN_NUMBER_BINARY_OPERATORS=e.UPDATE_OPERATORS=e.LOGICAL_OPERATORS=e.COMMENT_KEYS=e.FOR_INIT_KEYS=e.FLATTENABLE_KEYS=e.STATEMENT_OR_BLOCK_KEYS=void 0;var t=p0(),r=n(t);function n(de){return de&&de.__esModule?de:{default:de}}i(n,"_interopRequireDefault");var a=e.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],u=e.FLATTENABLE_KEYS=["body","expressions"],s=e.FOR_INIT_KEYS=["left","init"],c=e.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"],p=e.LOGICAL_OPERATORS=["||","&&"],f=e.UPDATE_OPERATORS=["++","--"],d=e.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],m=e.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],y=e.COMPARISON_BINARY_OPERATORS=[].concat(m,["in","instanceof"]),g=e.BOOLEAN_BINARY_OPERATORS=[].concat(y,d),A=e.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],w=e.BINARY_OPERATORS=["+"].concat(A,g),te=e.BOOLEAN_UNARY_OPERATORS=["delete","!"],X=e.NUMBER_UNARY_OPERATORS=["+","-","++","--","~"],F=e.STRING_UNARY_OPERATORS=["typeof"],Y=e.UNARY_OPERATORS=["void"].concat(te,X,F),T=e.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},K=e.BLOCK_SCOPED_SYMBOL=(0,r.default)("var used to be block scoped"),V=e.NOT_LOCAL_BINDING=(0,r.default)("should not be considered a local binding")}),E0=l(()=>{var e=Zr();e(e.S,"Object",{create:Ts()})}),h0=l((e,t)=>{E0();var r=Ke().Object;t.exports=i(function(n,a){return r.create(n,a)},"create")}),y0=l((e,t)=>{t.exports={default:h0(),__esModule:!0}}),Ka=l(e=>{"use strict";e.__esModule=!0;var t=y0(),r=s(t);e.getBindingIdentifiers=c,e.getOuterBindingIdentifiers=p;var n=Rt(),a=u(n);function u(f){if(f&&f.__esModule)return f;var d={};if(f!=null)for(var m in f)Object.prototype.hasOwnProperty.call(f,m)&&(d[m]=f[m]);return d.default=f,d}i(u,"_interopRequireWildcard");function s(f){return f&&f.__esModule?f:{default:f}}i(s,"_interopRequireDefault");function c(f,d,m){for(var y=[].concat(f),g=(0,r.default)(null);y.length;){var A=y.shift();if(A){var w=a.getBindingIdentifiers.keys[A.type];if(a.isIdentifier(A)){if(d){var te=g[A.name]=g[A.name]||[];te.push(A)}else g[A.name]=A;continue}if(a.isExportDeclaration(A)){a.isDeclaration(A.declaration)&&y.push(A.declaration);continue}if(m){if(a.isFunctionDeclaration(A)){y.push(A.id);continue}if(a.isFunctionExpression(A))continue}if(w)for(var X=0;X{Ga(),Ma(),t.exports=ps().f("iterator")}),g0=l((e,t)=>{t.exports={default:x0(),__esModule:!0}}),v0=l(()=>{}),S0=l(()=>{fs()("asyncIterator")}),F0=l(()=>{fs()("observable")}),B0=l((e,t)=>{Os(),v0(),S0(),F0(),t.exports=Ke().Symbol}),b0=l((e,t)=>{t.exports={default:B0(),__esModule:!0}}),Xa=l(e=>{"use strict";e.__esModule=!0;var t=g0(),r=s(t),n=b0(),a=s(n),u=typeof a.default=="function"&&typeof r.default=="symbol"?function(c){return typeof c}:function(c){return c&&typeof a.default=="function"&&c.constructor===a.default&&c!==a.default.prototype?"symbol":typeof c};function s(c){return c&&c.__esModule?c:{default:c}}i(s,"_interopRequireDefault"),e.default=typeof a.default=="function"&&u(r.default)==="symbol"?function(c){return typeof c>"u"?"undefined":u(c)}:function(c){return c&&typeof a.default=="function"&&c.constructor===a.default&&c!==a.default.prototype?"symbol":typeof c>"u"?"undefined":u(c)}}),R0=l((e,t)=>{(function(){"use strict";function r(p){if(p==null)return!1;switch(p.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}i(r,"isExpression");function n(p){if(p==null)return!1;switch(p.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}i(n,"isIterationStatement");function a(p){if(p==null)return!1;switch(p.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}i(a,"isStatement");function u(p){return a(p)||p!=null&&p.type==="FunctionDeclaration"}i(u,"isSourceElement");function s(p){switch(p.type){case"IfStatement":return p.alternate!=null?p.alternate:p.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return p.body}return null}i(s,"trailingStatement");function c(p){var f;if(p.type!=="IfStatement"||p.alternate==null)return!1;f=p.consequent;do{if(f.type==="IfStatement"&&f.alternate==null)return!0;f=s(f)}while(f);return!1}i(c,"isProblematicIfStatement"),t.exports={isExpression:r,isStatement:a,isIterationStatement:n,isSourceElement:u,isProblematicIfStatement:c,trailingStatement:s}})()}),$a=l((e,t)=>{(function(){"use strict";var r,n,a,u,s,c;n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B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47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},r={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0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E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\u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-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function p(F){return 48<=F&&F<=57}i(p,"isDecimalDigit");function f(F){return 48<=F&&F<=57||97<=F&&F<=102||65<=F&&F<=70}i(f,"isHexDigit");function d(F){return F>=48&&F<=55}i(d,"isOctalDigit"),a=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function m(F){return F===32||F===9||F===11||F===12||F===160||F>=5760&&a.indexOf(F)>=0}i(m,"isWhiteSpace");function y(F){return F===10||F===13||F===8232||F===8233}i(y,"isLineTerminator");function g(F){if(F<=65535)return String.fromCharCode(F);var Y=String.fromCharCode(Math.floor((F-65536)/1024)+55296),T=String.fromCharCode((F-65536)%1024+56320);return Y+T}for(i(g,"fromCodePoint"),u=new Array(128),c=0;c<128;++c)u[c]=c>=97&&c<=122||c>=65&&c<=90||c===36||c===95;for(s=new Array(128),c=0;c<128;++c)s[c]=c>=97&&c<=122||c>=65&&c<=90||c>=48&&c<=57||c===36||c===95;function A(F){return F<128?u[F]:n.NonAsciiIdentifierStart.test(g(F))}i(A,"isIdentifierStartES5");function w(F){return F<128?s[F]:n.NonAsciiIdentifierPart.test(g(F))}i(w,"isIdentifierPartES5");function te(F){return F<128?u[F]:r.NonAsciiIdentifierStart.test(g(F))}i(te,"isIdentifierStartES6");function X(F){return F<128?s[F]:r.NonAsciiIdentifierPart.test(g(F))}i(X,"isIdentifierPartES6"),t.exports={isDecimalDigit:p,isHexDigit:f,isOctalDigit:d,isWhiteSpace:m,isLineTerminator:y,isIdentifierStartES5:A,isIdentifierPartES5:w,isIdentifierStartES6:te,isIdentifierPartES6:X}})()}),w0=l((e,t)=>{(function(){"use strict";var r=$a();function n(A){switch(A){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}i(n,"isStrictModeReservedWordES6");function a(A,w){return!w&&A==="yield"?!1:u(A,w)}i(a,"isKeywordES5");function u(A,w){if(w&&n(A))return!0;switch(A.length){case 2:return A==="if"||A==="in"||A==="do";case 3:return A==="var"||A==="for"||A==="new"||A==="try";case 4:return A==="this"||A==="else"||A==="case"||A==="void"||A==="with"||A==="enum";case 5:return A==="while"||A==="break"||A==="catch"||A==="throw"||A==="const"||A==="yield"||A==="class"||A==="super";case 6:return A==="return"||A==="typeof"||A==="delete"||A==="switch"||A==="export"||A==="import";case 7:return A==="default"||A==="finally"||A==="extends";case 8:return A==="function"||A==="continue"||A==="debugger";case 10:return A==="instanceof";default:return!1}}i(u,"isKeywordES6");function s(A,w){return A==="null"||A==="true"||A==="false"||a(A,w)}i(s,"isReservedWordES5");function c(A,w){return A==="null"||A==="true"||A==="false"||u(A,w)}i(c,"isReservedWordES6");function p(A){return A==="eval"||A==="arguments"}i(p,"isRestrictedWord");function f(A){var w,te,X;if(A.length===0||(X=A.charCodeAt(0),!r.isIdentifierStartES5(X)))return!1;for(w=1,te=A.length;w=te||(F=A.charCodeAt(w),!(56320<=F&&F<=57343)))return!1;X=d(X,F)}if(!Y(X))return!1;Y=r.isIdentifierPartES6}return!0}i(m,"isIdentifierNameES6");function y(A,w){return f(A)&&!s(A,w)}i(y,"isIdentifierES5");function g(A,w){return m(A)&&!c(A,w)}i(g,"isIdentifierES6"),t.exports={isKeywordES5:a,isKeywordES6:u,isReservedWordES5:s,isReservedWordES6:c,isRestrictedWord:p,isIdentifierNameES5:f,isIdentifierNameES6:m,isIdentifierES5:y,isIdentifierES6:g}})()}),L0=l(e=>{(function(){"use strict";e.ast=R0(),e.code=$a(),e.keyword=w0()})()}),j0=l(e=>{"use strict";e.__esModule=!0;var t=Ya(),r=A(t),n=Xa(),a=A(n),u=si(),s=A(u);e.isBinding=w,e.isReferenced=te,e.isValidIdentifier=X,e.isLet=F,e.isBlockScoped=Y,e.isVar=T,e.isSpecifierDefault=K,e.isScope=V,e.isImmutable=de,e.isNodesEquivalent=ie;var c=Ka(),p=L0(),f=A(p),d=Rt(),m=g(d),y=qs();function g(D){if(D&&D.__esModule)return D;var O={};if(D!=null)for(var M in D)Object.prototype.hasOwnProperty.call(D,M)&&(O[M]=D[M]);return O.default=D,O}i(g,"_interopRequireWildcard");function A(D){return D&&D.__esModule?D:{default:D}}i(A,"_interopRequireDefault");function w(D,O){var M=c.getBindingIdentifiers.keys[O.type];if(M)for(var ee=0;ee=0)return!0}else if(Q===D)return!0}return!1}i(w,"isBinding");function te(D,O){switch(O.type){case"BindExpression":return O.object===D||O.callee===D;case"MemberExpression":case"JSXMemberExpression":return O.property===D&&O.computed?!0:O.object===D;case"MetaProperty":return!1;case"ObjectProperty":if(O.key===D)return O.computed;case"VariableDeclarator":return O.id!==D;case"ArrowFunctionExpression":case"FunctionDeclaration":case"FunctionExpression":for(var G=O.params,M=Array.isArray(G),ee=0,G=M?G:(0,s.default)(G);;){var Q;if(M){if(ee>=G.length)break;Q=G[ee++]}else{if(ee=G.next(),ee.done)break;Q=ee.value}var ce=Q;if(ce===D)return!1}return O.id!==D;case"ExportSpecifier":return O.source?!1:O.local===D;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"JSXAttribute":return O.name!==D;case"ClassProperty":return O.key===D?O.computed:O.value===D;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ClassDeclaration":case"ClassExpression":return O.id!==D;case"ClassMethod":case"ObjectMethod":return O.key===D&&O.computed;case"LabeledStatement":return!1;case"CatchClause":return O.param!==D;case"RestElement":return!1;case"AssignmentExpression":return O.right===D;case"AssignmentPattern":return O.right===D;case"ObjectPattern":case"ArrayPattern":return!1}return!0}i(te,"isReferenced");function X(D){return typeof D!="string"||f.default.keyword.isReservedWordES6(D,!0)||D==="await"?!1:f.default.keyword.isIdentifierNameES6(D)}i(X,"isValidIdentifier");function F(D){return m.isVariableDeclaration(D)&&(D.kind!=="var"||D[y.BLOCK_SCOPED_SYMBOL])}i(F,"isLet");function Y(D){return m.isFunctionDeclaration(D)||m.isClassDeclaration(D)||m.isLet(D)}i(Y,"isBlockScoped");function T(D){return m.isVariableDeclaration(D,{kind:"var"})&&!D[y.BLOCK_SCOPED_SYMBOL]}i(T,"isVar");function K(D){return m.isImportDefaultSpecifier(D)||m.isIdentifier(D.imported||D.exported,{name:"default"})}i(K,"isSpecifierDefault");function V(D,O){return m.isBlockStatement(D)&&m.isFunction(O,{body:D})?!1:m.isScopable(D)}i(V,"isScope");function de(D){return m.isType(D.type,"Immutable")?!0:m.isIdentifier(D)?D.name==="undefined":!1}i(de,"isImmutable");function ie(D,O){if((typeof D>"u"?"undefined":(0,a.default)(D))!=="object"||(typeof D>"u"?"undefined":(0,a.default)(D))!=="object"||D==null||O==null)return D===O;if(D.type!==O.type)return!1;for(var M=(0,r.default)(m.NODE_FIELDS[D.type]||D.type),Q=M,ee=Array.isArray(Q),G=0,Q=ee?Q:(0,s.default)(Q);;){var ce;if(ee){if(G>=Q.length)break;ce=Q[G++]}else{if(G=Q.next(),G.done)break;ce=G.value}var he=ce;if((0,a.default)(D[he])!==(0,a.default)(O[he]))return!1;if(Array.isArray(D[he])){if(!Array.isArray(O[he])||D[he].length!==O[he].length)return!1;for(var ye=0;ye{var e=Zr();e(e.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})}),K0=l((e,t)=>{Y0(),t.exports=9007199254740991}),W0=l((e,t)=>{t.exports={default:K0(),__esModule:!0}}),za=l((e,t)=>{var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}),rt=l((e,t)=>{var r=za(),n=typeof self=="object"&&self&&self.Object===Object&&self,a=r||n||Function("return this")();t.exports=a}),Gs=l((e,t)=>{var r=rt(),n=r.Symbol;t.exports=n}),ed=l((e,t)=>{var r=Gs(),n=Object.prototype,a=n.hasOwnProperty,u=n.toString,s=r?r.toStringTag:void 0;function c(p){var f=a.call(p,s),d=p[s];try{p[s]=void 0;var m=!0}catch{}var y=u.call(p);return m&&(f?p[s]=d:delete p[s]),y}i(c,"getRawTag"),t.exports=c}),rd=l((e,t)=>{var r=Object.prototype,n=r.toString;function a(u){return n.call(u)}i(a,"objectToString"),t.exports=a}),Br=l((e,t)=>{var r=Gs(),n=ed(),a=rd(),u="[object Null]",s="[object Undefined]",c=r?r.toStringTag:void 0;function p(f){return f==null?f===void 0?s:u:c&&c in Object(f)?n(f):a(f)}i(p,"baseGetTag"),t.exports=p}),Qa=l((e,t)=>{function r(n,a){return function(u){return n(a(u))}}i(r,"overArg"),t.exports=r}),js=l((e,t)=>{var r=Qa(),n=r(Object.getPrototypeOf,Object);t.exports=n}),ir=l((e,t)=>{function r(n){return n!=null&&typeof n=="object"}i(r,"isObjectLike"),t.exports=r}),pd=l((e,t)=>{var r=Br(),n=js(),a=ir(),u="[object Object]",s=Function.prototype,c=Object.prototype,p=s.toString,f=c.hasOwnProperty,d=p.call(Object);function m(y){if(!a(y)||r(y)!=u)return!1;var g=n(y);if(g===null)return!0;var A=f.call(g,"constructor")&&g.constructor;return typeof A=="function"&&A instanceof A&&p.call(A)==d}i(m,"isPlainObject"),t.exports=m}),dd=l((e,t)=>{var r=Br(),n=ir(),a="[object RegExp]";function u(s){return n(s)&&r(s)==a}i(u,"baseIsRegExp"),t.exports=u}),ai=l((e,t)=>{function r(n){return function(a){return n(a)}}i(r,"baseUnary"),t.exports=r}),ci=l((e,t)=>{var r=za(),n=typeof e=="object"&&e&&!e.nodeType&&e,a=n&&typeof t=="object"&&t&&!t.nodeType&&t,u=a&&a.exports===n,s=u&&r.process,c=function(){try{var p=a&&a.require&&a.require("util").types;return p||s&&s.binding&&s.binding("util")}catch{}}();t.exports=c}),Ad=l((e,t)=>{var r=dd(),n=ai(),a=ci(),u=a&&a.isRegExp,s=u?n(u):r;t.exports=s}),gd=l(e=>{"use strict";e.__esModule=!0;var t=W0(),r=A(t),n=Ps(),a=A(n),u=si(),s=A(u);e.toComputedKey=w,e.toSequenceExpression=X,e.toKeyAlias=F,e.toIdentifier=Y,e.toBindingIdentifierName=T,e.toStatement=K,e.toExpression=V,e.toBlock=de,e.valueToNode=ie;var c=pd(),p=A(c),f=Ad(),d=A(f),m=Rt(),y=g(m);function g(D){if(D&&D.__esModule)return D;var O={};if(D!=null)for(var M in D)Object.prototype.hasOwnProperty.call(D,M)&&(O[M]=D[M]);return O.default=D,O}i(g,"_interopRequireWildcard");function A(D){return D&&D.__esModule?D:{default:D}}i(A,"_interopRequireDefault");function w(D){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:D.key||D.property;return D.computed||y.isIdentifier(O)&&(O=y.stringLiteral(O.name)),O}i(w,"toComputedKey");function te(D,O,M){for(var ee=[],G=!0,he=D,Q=Array.isArray(he),ce=0,he=Q?he:(0,s.default)(he);;){var ye;if(Q){if(ce>=he.length)break;ye=he[ce++]}else{if(ce=he.next(),ce.done)break;ye=ce.value}var ve=ye;if(G=!1,y.isExpression(ve))ee.push(ve);else if(y.isExpressionStatement(ve))ee.push(ve.expression);else if(y.isVariableDeclaration(ve)){if(ve.kind!=="var")return;for(var Ne=ve.declarations,Fe=Array.isArray(Ne),_e=0,Ne=Fe?Ne:(0,s.default)(Ne);;){var Re;if(Fe){if(_e>=Ne.length)break;Re=Ne[_e++]}else{if(_e=Ne.next(),_e.done)break;Re=_e.value}var Le=Re,Ae=y.getBindingIdentifiers(Le);for(var Oe in Ae)M.push({kind:ve.kind,id:Ae[Oe]});Le.init&&ee.push(y.assignmentExpression("=",Le.id,Le.init))}G=!0}else if(y.isIfStatement(ve)){var Ce=ve.consequent?te([ve.consequent],O,M):O.buildUndefinedNode(),j=ve.alternate?te([ve.alternate],O,M):O.buildUndefinedNode();if(!Ce||!j)return;ee.push(y.conditionalExpression(ve.test,Ce,j))}else if(y.isBlockStatement(ve)){var x=te(ve.body,O,M);if(!x)return;ee.push(x)}else if(y.isEmptyStatement(ve))G=!0;else return}return G&&ee.push(O.buildUndefinedNode()),ee.length===1?ee[0]:y.sequenceExpression(ee)}i(te,"gatherSequenceExpressions");function X(D,O){if(!(!D||!D.length)){var M=[],ee=te(D,O,M);if(ee){for(var ce=M,G=Array.isArray(ce),Q=0,ce=G?ce:(0,s.default)(ce);;){var he;if(G){if(Q>=ce.length)break;he=ce[Q++]}else{if(Q=ce.next(),Q.done)break;he=Q.value}var ye=he;O.push(ye)}return ee}}}i(X,"toSequenceExpression");function F(D){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:D.key,M=void 0;return D.kind==="method"?F.increment()+"":(y.isIdentifier(O)?M=O.name:y.isStringLiteral(O)?M=(0,a.default)(O.value):M=(0,a.default)(y.removePropertiesDeep(y.cloneDeep(O))),D.computed&&(M="["+M+"]"),D.static&&(M="static:"+M),M)}i(F,"toKeyAlias"),F.uid=0,F.increment=function(){return F.uid>=r.default?F.uid=0:F.uid++};function Y(D){return D=D+"",D=D.replace(/[^a-zA-Z0-9$_]/g,"-"),D=D.replace(/^[-0-9]+/,""),D=D.replace(/[-\s]+(.)?/g,function(O,M){return M?M.toUpperCase():""}),y.isValidIdentifier(D)||(D="_"+D),D||"_"}i(Y,"toIdentifier");function T(D){return D=Y(D),(D==="eval"||D==="arguments")&&(D="_"+D),D}i(T,"toBindingIdentifierName");function K(D,O){if(y.isStatement(D))return D;var M=!1,ee=void 0;if(y.isClass(D))M=!0,ee="ClassDeclaration";else if(y.isFunction(D))M=!0,ee="FunctionDeclaration";else if(y.isAssignmentExpression(D))return y.expressionStatement(D);if(M&&!D.id&&(ee=!1),!ee){if(O)return!1;throw new Error("cannot turn "+D.type+" to a statement")}return D.type=ee,D}i(K,"toStatement");function V(D){if(y.isExpressionStatement(D)&&(D=D.expression),y.isExpression(D))return D;if(y.isClass(D)?D.type="ClassExpression":y.isFunction(D)&&(D.type="FunctionExpression"),!y.isExpression(D))throw new Error("cannot turn "+D.type+" to an expression");return D}i(V,"toExpression");function de(D,O){return y.isBlockStatement(D)?D:(y.isEmptyStatement(D)&&(D=[]),Array.isArray(D)||(y.isStatement(D)||(y.isFunction(O)?D=y.returnStatement(D):D=y.expressionStatement(D)),D=[D]),y.blockStatement(D))}i(de,"toBlock");function ie(D){if(D===void 0)return y.identifier("undefined");if(D===!0||D===!1)return y.booleanLiteral(D);if(D===null)return y.nullLiteral();if(typeof D=="string")return y.stringLiteral(D);if(typeof D=="number")return y.numericLiteral(D);if((0,d.default)(D)){var O=D.source,M=D.toString().match(/\/([a-z]+|)$/)[1];return y.regExpLiteral(O,M)}if(Array.isArray(D))return y.arrayExpression(D.map(y.valueToNode));if((0,p.default)(D)){var ee=[];for(var G in D){var Q=void 0;y.isValidIdentifier(G)?Q=y.identifier(G):Q=y.stringLiteral(G),ee.push(y.objectProperty(Q,y.valueToNode(D[G])))}return y.objectExpression(ee)}throw new Error("don't know how to turn this value into a node")}i(ie,"valueToNode")}),vd=l(e=>{"use strict";e.__esModule=!0,e.createUnionTypeAnnotation=a,e.removeTypeDuplicates=u,e.createTypeAnnotationBasedOnTypeof=s;var t=Rt(),r=n(t);function n(c){if(c&&c.__esModule)return c;var p={};if(c!=null)for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(p[f]=c[f]);return p.default=c,p}i(n,"_interopRequireWildcard");function a(c){var p=u(c);return p.length===1?p[0]:r.unionTypeAnnotation(p)}i(a,"createUnionTypeAnnotation");function u(c){for(var p={},f={},d=[],m=[],y=0;y=0)){if(r.isAnyTypeAnnotation(g))return[g];if(r.isFlowBaseAnnotation(g)){f[g.type]=g;continue}if(r.isUnionTypeAnnotation(g)){d.indexOf(g.types)<0&&(c=c.concat(g.types),d.push(g.types));continue}if(r.isGenericTypeAnnotation(g)){var A=g.id.name;if(p[A]){var w=p[A];w.typeParameters?g.typeParameters&&(w.typeParameters.params=u(w.typeParameters.params.concat(g.typeParameters.params))):w=g.typeParameters}else p[A]=g;continue}m.push(g)}}for(var te in f)m.push(f[te]);for(var X in p)m.push(p[X]);return m}i(u,"removeTypeDuplicates");function s(c){if(c==="string")return r.stringTypeAnnotation();if(c==="number")return r.numberTypeAnnotation();if(c==="undefined")return r.voidTypeAnnotation();if(c==="boolean")return r.booleanTypeAnnotation();if(c==="function")return r.genericTypeAnnotation(r.identifier("Function"));if(c==="object")return r.genericTypeAnnotation(r.identifier("Object"));if(c==="symbol")return r.genericTypeAnnotation(r.identifier("Symbol"));throw new Error("Invalid typeof value")}i(s,"createTypeAnnotationBasedOnTypeof")}),Sd=l((exports,module)=>{"use strict";module.exports=i(function toFastproperties(o){function Sub(){}i(Sub,"Sub"),Sub.prototype=o;var receiver=new Sub;function ic(){return typeof receiver.foo}return i(ic,"ic"),ic(),ic(),o},"toFastproperties")}),Cd=l((e,t)=>{function r(){this.__data__=[],this.size=0}i(r,"listCacheClear"),t.exports=r}),ro=l((e,t)=>{function r(n,a){return n===a||n!==n&&a!==a}i(r,"eq"),t.exports=r}),di=l((e,t)=>{var r=ro();function n(a,u){for(var s=a.length;s--;)if(r(a[s][0],u))return s;return-1}i(n,"assocIndexOf"),t.exports=n}),Nd=l((e,t)=>{var r=di(),n=Array.prototype,a=n.splice;function u(s){var c=this.__data__,p=r(c,s);if(p<0)return!1;var f=c.length-1;return p==f?c.pop():a.call(c,p,1),--this.size,!0}i(u,"listCacheDelete"),t.exports=u}),Id=l((e,t)=>{var r=di();function n(a){var u=this.__data__,s=r(u,a);return s<0?void 0:u[s][1]}i(n,"listCacheGet"),t.exports=n}),Pd=l((e,t)=>{var r=di();function n(a){return r(this.__data__,a)>-1}i(n,"listCacheHas"),t.exports=n}),wd=l((e,t)=>{var r=di();function n(a,u){var s=this.__data__,c=r(s,a);return c<0?(++this.size,s.push([a,u])):s[c][1]=u,this}i(n,"listCacheSet"),t.exports=n}),Ei=l((e,t)=>{var r=Cd(),n=Nd(),a=Id(),u=Pd(),s=wd();function c(p){var f=-1,d=p==null?0:p.length;for(this.clear();++f{var r=Ei();function n(){this.__data__=new r,this.size=0}i(n,"stackClear"),t.exports=n}),jd=l((e,t)=>{function r(n){var a=this.__data__,u=a.delete(n);return this.size=a.size,u}i(r,"stackDelete"),t.exports=r}),Yd=l((e,t)=>{function r(n){return this.__data__.get(n)}i(r,"stackGet"),t.exports=r}),Kd=l((e,t)=>{function r(n){return this.__data__.has(n)}i(r,"stackHas"),t.exports=r}),sn=l((e,t)=>{function r(n){var a=typeof n;return n!=null&&(a=="object"||a=="function")}i(r,"isObject"),t.exports=r}),no=l((e,t)=>{var r=Br(),n=sn(),a="[object AsyncFunction]",u="[object Function]",s="[object GeneratorFunction]",c="[object Proxy]";function p(f){if(!n(f))return!1;var d=r(f);return d==u||d==s||d==a||d==c}i(p,"isFunction"),t.exports=p}),$d=l((e,t)=>{var r=rt(),n=r["__core-js_shared__"];t.exports=n}),Qd=l((e,t)=>{var r=$d(),n=function(){var u=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return u?"Symbol(src)_1."+u:""}();function a(u){return!!n&&n in u}i(a,"isMasked"),t.exports=a}),so=l((e,t)=>{var r=Function.prototype,n=r.toString;function a(u){if(u!=null){try{return n.call(u)}catch{}try{return u+""}catch{}}return""}i(a,"toSource"),t.exports=a}),tE=l((e,t)=>{var r=no(),n=Qd(),a=sn(),u=so(),s=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,p=Function.prototype,f=Object.prototype,d=p.toString,m=f.hasOwnProperty,y=RegExp("^"+d.call(m).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function g(A){if(!a(A)||n(A))return!1;var w=r(A)?y:c;return w.test(u(A))}i(g,"baseIsNative"),t.exports=g}),nE=l((e,t)=>{function r(n,a){return n?.[a]}i(r,"getValue"),t.exports=r}),sr=l((e,t)=>{var r=tE(),n=nE();function a(u,s){var c=n(u,s);return r(c)?c:void 0}i(a,"getNative"),t.exports=a}),Ys=l((e,t)=>{var r=sr(),n=rt(),a=r(n,"Map");t.exports=a}),mi=l((e,t)=>{var r=sr(),n=r(Object,"create");t.exports=n}),lE=l((e,t)=>{var r=mi();function n(){this.__data__=r?r(null):{},this.size=0}i(n,"hashClear"),t.exports=n}),pE=l((e,t)=>{function r(n){var a=this.has(n)&&delete this.__data__[n];return this.size-=a?1:0,a}i(r,"hashDelete"),t.exports=r}),dE=l((e,t)=>{var r=mi(),n="__lodash_hash_undefined__",a=Object.prototype,u=a.hasOwnProperty;function s(c){var p=this.__data__;if(r){var f=p[c];return f===n?void 0:f}return u.call(p,c)?p[c]:void 0}i(s,"hashGet"),t.exports=s}),mE=l((e,t)=>{var r=mi(),n=Object.prototype,a=n.hasOwnProperty;function u(s){var c=this.__data__;return r?c[s]!==void 0:a.call(c,s)}i(u,"hashHas"),t.exports=u}),DE=l((e,t)=>{var r=mi(),n="__lodash_hash_undefined__";function a(u,s){var c=this.__data__;return this.size+=this.has(u)?0:1,c[u]=r&&s===void 0?n:s,this}i(a,"hashSet"),t.exports=a}),AE=l((e,t)=>{var r=lE(),n=pE(),a=dE(),u=mE(),s=DE();function c(p){var f=-1,d=p==null?0:p.length;for(this.clear();++f{var r=AE(),n=Ei(),a=Ys();function u(){this.size=0,this.__data__={hash:new r,map:new(a||n),string:new r}}i(u,"mapCacheClear"),t.exports=u}),SE=l((e,t)=>{function r(n){var a=typeof n;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?n!=="__proto__":n===null}i(r,"isKeyable"),t.exports=r}),hi=l((e,t)=>{var r=SE();function n(a,u){var s=a.__data__;return r(u)?s[typeof u=="string"?"string":"hash"]:s.map}i(n,"getMapData"),t.exports=n}),BE=l((e,t)=>{var r=hi();function n(a){var u=r(this,a).delete(a);return this.size-=u?1:0,u}i(n,"mapCacheDelete"),t.exports=n}),bE=l((e,t)=>{var r=hi();function n(a){return r(this,a).get(a)}i(n,"mapCacheGet"),t.exports=n}),_E=l((e,t)=>{var r=hi();function n(a){return r(this,a).has(a)}i(n,"mapCacheHas"),t.exports=n}),RE=l((e,t)=>{var r=hi();function n(a,u){var s=r(this,a),c=s.size;return s.set(a,u),this.size+=s.size==c?0:1,this}i(n,"mapCacheSet"),t.exports=n}),uo=l((e,t)=>{var r=gE(),n=BE(),a=bE(),u=_E(),s=RE();function c(p){var f=-1,d=p==null?0:p.length;for(this.clear();++f{var r=Ei(),n=Ys(),a=uo(),u=200;function s(c,p){var f=this.__data__;if(f instanceof r){var d=f.__data__;if(!n||d.length{var r=Ei(),n=Md(),a=jd(),u=Yd(),s=Kd(),c=wE();function p(f){var d=this.__data__=new r(f);this.size=d.size}i(p,"Stack"),p.prototype.clear=n,p.prototype.delete=a,p.prototype.get=u,p.prototype.has=s,p.prototype.set=c,t.exports=p}),GE=l((e,t)=>{function r(n,a){for(var u=-1,s=n==null?0:n.length;++u{var r=sr(),n=function(){try{var a=r(Object,"defineProperty");return a({},"",{}),a}catch{}}();t.exports=n}),ao=l((e,t)=>{var r=UE();function n(a,u,s){u=="__proto__"&&r?r(a,u,{configurable:!0,enumerable:!0,value:s,writable:!0}):a[u]=s}i(n,"baseAssignValue"),t.exports=n}),oo=l((e,t)=>{var r=ao(),n=ro(),a=Object.prototype,u=a.hasOwnProperty;function s(c,p,f){var d=c[p];(!(u.call(c,p)&&n(d,f))||f===void 0&&!(p in c))&&r(c,p,f)}i(s,"assignValue"),t.exports=s}),Di=l((e,t)=>{var r=oo(),n=ao();function a(u,s,c,p){var f=!c;c||(c={});for(var d=-1,m=s.length;++d{function r(n,a){for(var u=-1,s=Array(n);++u{var r=Br(),n=ir(),a="[object Arguments]";function u(s){return n(s)&&r(s)==a}i(u,"baseIsArguments"),t.exports=u}),em=l((e,t)=>{var r=JE(),n=ir(),a=Object.prototype,u=a.hasOwnProperty,s=a.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(p){return n(p)&&u.call(p,"callee")&&!s.call(p,"callee")};t.exports=c}),Vs=l((e,t)=>{var r=Array.isArray;t.exports=r}),nm=l((e,t)=>{function r(){return!1}i(r,"stubFalse"),t.exports=r}),lo=l((e,t)=>{var r=rt(),n=nm(),a=typeof e=="object"&&e&&!e.nodeType&&e,u=a&&typeof t=="object"&&t&&!t.nodeType&&t,s=u&&u.exports===a,c=s?r.Buffer:void 0,p=c?c.isBuffer:void 0,f=p||n;t.exports=f}),om=l((e,t)=>{var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function a(u,s){var c=typeof u;return s=s??r,!!s&&(c=="number"||c!="symbol"&&n.test(u))&&u>-1&&u%1==0&&u{var r=9007199254740991;function n(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=r}i(n,"isLength"),t.exports=n}),pm=l((e,t)=>{var r=Br(),n=co(),a=ir(),u="[object Arguments]",s="[object Array]",c="[object Boolean]",p="[object Date]",f="[object Error]",d="[object Function]",m="[object Map]",y="[object Number]",g="[object Object]",A="[object RegExp]",w="[object Set]",te="[object String]",X="[object WeakMap]",F="[object ArrayBuffer]",Y="[object DataView]",T="[object Float32Array]",K="[object Float64Array]",V="[object Int8Array]",de="[object Int16Array]",ie="[object Int32Array]",D="[object Uint8Array]",O="[object Uint8ClampedArray]",M="[object Uint16Array]",ee="[object Uint32Array]",G={};G[T]=G[K]=G[V]=G[de]=G[ie]=G[D]=G[O]=G[M]=G[ee]=!0,G[u]=G[s]=G[F]=G[c]=G[Y]=G[p]=G[f]=G[d]=G[m]=G[y]=G[g]=G[A]=G[w]=G[te]=G[X]=!1;function Q(ce){return a(ce)&&n(ce.length)&&!!G[r(ce)]}i(Q,"baseIsTypedArray"),t.exports=Q}),mm=l((e,t)=>{var r=pm(),n=ai(),a=ci(),u=a&&a.isTypedArray,s=u?n(u):r;t.exports=s}),po=l((e,t)=>{var r=XE(),n=em(),a=Vs(),u=lo(),s=om(),c=mm(),p=Object.prototype,f=p.hasOwnProperty;function d(m,y){var g=a(m),A=!g&&n(m),w=!g&&!A&&u(m),te=!g&&!A&&!w&&c(m),X=g||A||w||te,F=X?r(m.length,String):[],Y=F.length;for(var T in m)(y||f.call(m,T))&&!(X&&(T=="length"||w&&(T=="offset"||T=="parent")||te&&(T=="buffer"||T=="byteLength"||T=="byteOffset")||s(T,Y)))&&F.push(T);return F}i(d,"arrayLikeKeys"),t.exports=d}),Ks=l((e,t)=>{var r=Object.prototype;function n(a){var u=a&&a.constructor,s=typeof u=="function"&&u.prototype||r;return a===s}i(n,"isPrototype"),t.exports=n}),Am=l((e,t)=>{var r=Qa(),n=r(Object.keys,Object);t.exports=n}),Tm=l((e,t)=>{var r=Ks(),n=Am(),a=Object.prototype,u=a.hasOwnProperty;function s(c){if(!r(c))return n(c);var p=[];for(var f in Object(c))u.call(c,f)&&f!="constructor"&&p.push(f);return p}i(s,"baseKeys"),t.exports=s}),fo=l((e,t)=>{var r=no(),n=co();function a(u){return u!=null&&n(u.length)&&!r(u)}i(a,"isArrayLike"),t.exports=a}),Hs=l((e,t)=>{var r=po(),n=Tm(),a=fo();function u(s){return a(s)?r(s):n(s)}i(u,"keys"),t.exports=u}),Fm=l((e,t)=>{var r=Di(),n=Hs();function a(u,s){return u&&r(s,n(s),u)}i(a,"baseAssign"),t.exports=a}),Bm=l((e,t)=>{function r(n){var a=[];if(n!=null)for(var u in Object(n))a.push(u);return a}i(r,"nativeKeysIn"),t.exports=r}),bm=l((e,t)=>{var r=sn(),n=Ks(),a=Bm(),u=Object.prototype,s=u.hasOwnProperty;function c(p){if(!r(p))return a(p);var f=n(p),d=[];for(var m in p)m=="constructor"&&(f||!s.call(p,m))||d.push(m);return d}i(c,"baseKeysIn"),t.exports=c}),Ws=l((e,t)=>{var r=po(),n=bm(),a=fo();function u(s){return a(s)?r(s,!0):n(s)}i(u,"keysIn"),t.exports=u}),Im=l((e,t)=>{var r=Di(),n=Ws();function a(u,s){return u&&r(s,n(s),u)}i(a,"baseAssignIn"),t.exports=a}),Lm=l((e,t)=>{var r=rt(),n=typeof e=="object"&&e&&!e.nodeType&&e,a=n&&typeof t=="object"&&t&&!t.nodeType&&t,u=a&&a.exports===n,s=u?r.Buffer:void 0,c=s?s.allocUnsafe:void 0;function p(f,d){if(d)return f.slice();var m=f.length,y=c?c(m):new f.constructor(m);return f.copy(y),y}i(p,"cloneBuffer"),t.exports=p}),Mm=l((e,t)=>{function r(n,a){var u=-1,s=n.length;for(a||(a=Array(s));++u{function r(n,a){for(var u=-1,s=n==null?0:n.length,c=0,p=[];++u{function r(){return[]}i(r,"stubArray"),t.exports=r}),Xs=l((e,t)=>{var r=jm(),n=Eo(),a=Object.prototype,u=a.propertyIsEnumerable,s=Object.getOwnPropertySymbols,c=s?function(p){return p==null?[]:(p=Object(p),r(s(p),function(f){return u.call(p,f)}))}:n;t.exports=c}),Hm=l((e,t)=>{var r=Di(),n=Xs();function a(u,s){return r(u,n(u),s)}i(a,"copySymbols"),t.exports=a}),mo=l((e,t)=>{function r(n,a){for(var u=-1,s=a.length,c=n.length;++u{var r=mo(),n=js(),a=Xs(),u=Eo(),s=Object.getOwnPropertySymbols,c=s?function(p){for(var f=[];p;)r(f,a(p)),p=n(p);return f}:u;t.exports=c}),Jm=l((e,t)=>{var r=Di(),n=ho();function a(u,s){return r(u,n(u),s)}i(a,"copySymbolsIn"),t.exports=a}),Do=l((e,t)=>{var r=mo(),n=Vs();function a(u,s,c){var p=s(u);return n(u)?p:r(p,c(u))}i(a,"baseGetAllKeys"),t.exports=a}),Zm=l((e,t)=>{var r=Do(),n=Xs(),a=Hs();function u(s){return r(s,a,n)}i(u,"getAllKeys"),t.exports=u}),th=l((e,t)=>{var r=Do(),n=ho(),a=Ws();function u(s){return r(s,a,n)}i(u,"getAllKeysIn"),t.exports=u}),nh=l((e,t)=>{var r=sr(),n=rt(),a=r(n,"DataView");t.exports=a}),sh=l((e,t)=>{var r=sr(),n=rt(),a=r(n,"Promise");t.exports=a}),yo=l((e,t)=>{var r=sr(),n=rt(),a=r(n,"Set");t.exports=a}),oh=l((e,t)=>{var r=sr(),n=rt(),a=r(n,"WeakMap");t.exports=a}),$s=l((e,t)=>{var r=nh(),n=Ys(),a=sh(),u=yo(),s=oh(),c=Br(),p=so(),f="[object Map]",d="[object Object]",m="[object Promise]",y="[object Set]",g="[object WeakMap]",A="[object DataView]",w=p(r),te=p(n),X=p(a),F=p(u),Y=p(s),T=c;(r&&T(new r(new ArrayBuffer(1)))!=A||n&&T(new n)!=f||a&&T(a.resolve())!=m||u&&T(new u)!=y||s&&T(new s)!=g)&&(T=i(function(K){var V=c(K),de=V==d?K.constructor:void 0,ie=de?p(de):"";if(ie)switch(ie){case w:return A;case te:return f;case X:return m;case F:return y;case Y:return g}return V},"getTag")),t.exports=T}),Dh=l((e,t)=>{var r=Object.prototype,n=r.hasOwnProperty;function a(u){var s=u.length,c=new u.constructor(s);return s&&typeof u[0]=="string"&&n.call(u,"index")&&(c.index=u.index,c.input=u.input),c}i(a,"initCloneArray"),t.exports=a}),Ah=l((e,t)=>{var r=rt(),n=r.Uint8Array;t.exports=n}),Js=l((e,t)=>{var r=Ah();function n(a){var u=new a.constructor(a.byteLength);return new r(u).set(new r(a)),u}i(n,"cloneArrayBuffer"),t.exports=n}),vh=l((e,t)=>{var r=Js();function n(a,u){var s=u?r(a.buffer):a.buffer;return new a.constructor(s,a.byteOffset,a.byteLength)}i(n,"cloneDataView"),t.exports=n}),Fh=l((e,t)=>{var r=/\w*$/;function n(a){var u=new a.constructor(a.source,r.exec(a));return u.lastIndex=a.lastIndex,u}i(n,"cloneRegExp"),t.exports=n}),Nh=l((e,t)=>{var r=Gs(),n=r?r.prototype:void 0,a=n?n.valueOf:void 0;function u(s){return a?Object(a.call(s)):{}}i(u,"cloneSymbol"),t.exports=u}),Ih=l((e,t)=>{var r=Js();function n(a,u){var s=u?r(a.buffer):a.buffer;return new a.constructor(s,a.byteOffset,a.length)}i(n,"cloneTypedArray"),t.exports=n}),Ph=l((e,t)=>{var r=Js(),n=vh(),a=Fh(),u=Nh(),s=Ih(),c="[object Boolean]",p="[object Date]",f="[object Map]",d="[object Number]",m="[object RegExp]",y="[object Set]",g="[object String]",A="[object Symbol]",w="[object ArrayBuffer]",te="[object DataView]",X="[object Float32Array]",F="[object Float64Array]",Y="[object Int8Array]",T="[object Int16Array]",K="[object Int32Array]",V="[object Uint8Array]",de="[object Uint8ClampedArray]",ie="[object Uint16Array]",D="[object Uint32Array]";function O(M,ee,G){var Q=M.constructor;switch(ee){case w:return r(M);case c:case p:return new Q(+M);case te:return n(M,G);case X:case F:case Y:case T:case K:case V:case de:case ie:case D:return s(M,G);case f:return new Q;case d:case g:return new Q(M);case m:return a(M);case y:return new Q;case A:return u(M)}}i(O,"initCloneByTag"),t.exports=O}),Lh=l((e,t)=>{var r=sn(),n=Object.create,a=function(){function u(){}return i(u,"object"),function(s){if(!r(s))return{};if(n)return n(s);u.prototype=s;var c=new u;return u.prototype=void 0,c}}();t.exports=a}),Mh=l((e,t)=>{var r=Lh(),n=js(),a=Ks();function u(s){return typeof s.constructor=="function"&&!a(s)?r(n(s)):{}}i(u,"initCloneObject"),t.exports=u}),jh=l((e,t)=>{var r=$s(),n=ir(),a="[object Map]";function u(s){return n(s)&&r(s)==a}i(u,"baseIsMap"),t.exports=u}),Kh=l((e,t)=>{var r=jh(),n=ai(),a=ci(),u=a&&a.isMap,s=u?n(u):r;t.exports=s}),Wh=l((e,t)=>{var r=$s(),n=ir(),a="[object Set]";function u(s){return n(s)&&r(s)==a}i(u,"baseIsSet"),t.exports=u}),zh=l((e,t)=>{var r=Wh(),n=ai(),a=ci(),u=a&&a.isSet,s=u?n(u):r;t.exports=s}),rD=l((e,t)=>{var r=kE(),n=GE(),a=oo(),u=Fm(),s=Im(),c=Lm(),p=Mm(),f=Hm(),d=Jm(),m=Zm(),y=th(),g=$s(),A=Dh(),w=Ph(),te=Mh(),X=Vs(),F=lo(),Y=Kh(),T=sn(),K=zh(),V=Hs(),de=Ws(),ie=1,D=2,O=4,M="[object Arguments]",ee="[object Array]",G="[object Boolean]",Q="[object Date]",ce="[object Error]",he="[object Function]",ye="[object GeneratorFunction]",ve="[object Map]",Fe="[object Number]",_e="[object Object]",Ne="[object RegExp]",Re="[object Set]",Le="[object String]",Ae="[object Symbol]",Oe="[object WeakMap]",Ce="[object ArrayBuffer]",j="[object DataView]",x="[object Float32Array]",J="[object Float64Array]",z="[object Int8Array]",oe="[object Int16Array]",me="[object Int32Array]",Me="[object Uint8Array]",je="[object Uint8ClampedArray]",Ie="[object Uint16Array]",Xe="[object Uint32Array]",Te={};Te[M]=Te[ee]=Te[Ce]=Te[j]=Te[G]=Te[Q]=Te[x]=Te[J]=Te[z]=Te[oe]=Te[me]=Te[ve]=Te[Fe]=Te[_e]=Te[Ne]=Te[Re]=Te[Le]=Te[Ae]=Te[Me]=Te[je]=Te[Ie]=Te[Xe]=!0,Te[ce]=Te[he]=Te[Oe]=!1;function ze(ge,k,Z,pe,L,H){var le,De=k&ie,xe=k&D,Ue=k&O;if(Z&&(le=L?Z(ge,pe,L,H):Z(ge)),le!==void 0)return le;if(!T(ge))return ge;var He=X(ge);if(He){if(le=A(ge),!De)return p(ge,le)}else{var $e=g(ge),Je=$e==he||$e==ye;if(F(ge))return c(ge,De);if($e==_e||$e==M||Je&&!L){if(le=xe||Je?{}:te(ge),!De)return xe?d(ge,s(le,ge)):f(ge,u(le,ge))}else{if(!Te[$e])return L?ge:{};le=w(ge,$e,De)}}H||(H=new r);var Ge=H.get(ge);if(Ge)return Ge;H.set(ge,le),K(ge)?ge.forEach(function(it){le.add(ze(it,k,Z,it,ge,H))}):Y(ge)&&ge.forEach(function(it,ft){le.set(ft,ze(it,k,Z,ft,ge,H))});var nt=Ue?xe?y:m:xe?de:V,ht=He?void 0:nt(ge);return n(ht||ge,function(it,ft){ht&&(ft=it,it=ge[ft]),a(le,ft,ze(it,k,Z,ft,ge,H))}),le}i(ze,"baseClone"),t.exports=ze}),iD=l((e,t)=>{var r=rD(),n=4;function a(u){return r(u,n)}i(a,"clone"),t.exports=a}),uD=l((e,t)=>{var r="__lodash_hash_undefined__";function n(a){return this.__data__.set(a,r),this}i(n,"setCacheAdd"),t.exports=n}),oD=l((e,t)=>{function r(n){return this.__data__.has(n)}i(r,"setCacheHas"),t.exports=r}),cD=l((e,t)=>{var r=uo(),n=uD(),a=oD();function u(s){var c=-1,p=s==null?0:s.length;for(this.__data__=new r;++c{function r(n,a,u,s){for(var c=n.length,p=u+(s?1:-1);s?p--:++p{function r(n){return n!==n}i(r,"baseIsNaN"),t.exports=r}),hD=l((e,t)=>{function r(n,a,u){for(var s=u-1,c=n.length;++s{var r=fD(),n=ED(),a=hD();function u(s,c,p){return c===c?a(s,c,p):r(s,n,p)}i(u,"baseIndexOf"),t.exports=u}),xD=l((e,t)=>{var r=yD();function n(a,u){var s=a==null?0:a.length;return!!s&&r(a,u,0)>-1}i(n,"arrayIncludes"),t.exports=n}),gD=l((e,t)=>{function r(n,a,u){for(var s=-1,c=n==null?0:n.length;++s{function r(n,a){return n.has(a)}i(r,"cacheHas"),t.exports=r}),CD=l((e,t)=>{function r(){}i(r,"noop"),t.exports=r}),So=l((e,t)=>{function r(n){var a=-1,u=Array(n.size);return n.forEach(function(s){u[++a]=s}),u}i(r,"setToArray"),t.exports=r}),bD=l((e,t)=>{var r=yo(),n=CD(),a=So(),u=1/0,s=r&&1/a(new r([,-0]))[1]==u?function(c){return new r(c)}:n;t.exports=s}),_D=l((e,t)=>{var r=cD(),n=xD(),a=gD(),u=SD(),s=bD(),c=So(),p=200;function f(d,m,y){var g=-1,A=n,w=d.length,te=!0,X=[],F=X;if(y)te=!1,A=a;else if(w>=p){var Y=m?null:s(d);if(Y)return c(Y);te=!1,A=u,F=new r}else F=m?[]:X;e:for(;++g{var r=_D();function n(a){return a&&a.length?r(a):[]}i(n,"uniq"),t.exports=n}),Pt=l(e=>{"use strict";e.__esModule=!0,e.DEPRECATED_KEYS=e.BUILDER_KEYS=e.NODE_FIELDS=e.ALIAS_KEYS=e.VISITOR_KEYS=void 0;var t=si(),r=d(t),n=Ps(),a=d(n),u=Xa(),s=d(u);e.assertEach=X,e.assertOneOf=F,e.assertNodeType=Y,e.assertNodeOrValueType=T,e.assertValueType=K,e.chain=V,e.default=de;var c=Rt(),p=f(c);function f(D){if(D&&D.__esModule)return D;var O={};if(D!=null)for(var M in D)Object.prototype.hasOwnProperty.call(D,M)&&(O[M]=D[M]);return O.default=D,O}i(f,"_interopRequireWildcard");function d(D){return D&&D.__esModule?D:{default:D}}i(d,"_interopRequireDefault");var m=e.VISITOR_KEYS={},y=e.ALIAS_KEYS={},g=e.NODE_FIELDS={},A=e.BUILDER_KEYS={},w=e.DEPRECATED_KEYS={};function te(D){return Array.isArray(D)?"array":D===null?"null":D===void 0||typeof D>"u"?"undefined":(0,s.default)(D)}i(te,"getType");function X(D){function O(M,ee,G){if(Array.isArray(G))for(var Q=0;Q=Fe.length)break;_e=Fe[ve++]}else{if(ve=Fe.next(),ve.done)break;_e=ve.value}var Ne=_e;if(p.is(Ne,ce)){he=!0;break}}if(!he)throw new TypeError("Property "+Q+" of "+G.type+" expected node to be of a type "+(0,a.default)(O)+" "+("but instead got "+(0,a.default)(ce&&ce.type)))}return i(ee,"validate"),ee.oneOfNodeTypes=O,ee}i(Y,"assertNodeType");function T(){for(var D=arguments.length,O=Array(D),M=0;M=Fe.length)break;_e=Fe[ve++]}else{if(ve=Fe.next(),ve.done)break;_e=ve.value}var Ne=_e;if(te(ce)===Ne||p.is(Ne,ce)){he=!0;break}}if(!he)throw new TypeError("Property "+Q+" of "+G.type+" expected node to be of a type "+(0,a.default)(O)+" "+("but instead got "+(0,a.default)(ce&&ce.type)))}return i(ee,"validate"),ee.oneOfNodeOrValueTypes=O,ee}i(T,"assertNodeOrValueType");function K(D){function O(M,ee,G){var Q=te(G)===D;if(!Q)throw new TypeError("Property "+ee+" expected type of "+D+" but got "+te(G))}return i(O,"validate"),O.type=D,O}i(K,"assertValueType");function V(){for(var D=arguments.length,O=Array(D),M=0;M=ce.length)break;he=ce[Q++]}else{if(Q=ce.next(),Q.done)break;he=Q.value}var ye=he;ye.apply(void 0,arguments)}}return i(ee,"validate"),ee.chainOf=O,ee}i(V,"chain");function de(D){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=O.inherits&&ie[O.inherits]||{};O.fields=O.fields||M.fields||{},O.visitor=O.visitor||M.visitor||[],O.aliases=O.aliases||M.aliases||[],O.builder=O.builder||M.builder||O.visitor||[],O.deprecatedAlias&&(w[O.deprecatedAlias]=D);for(var Q=O.visitor.concat(O.builder),ee=Array.isArray(Q),G=0,Q=ee?Q:(0,r.default)(Q);;){var ce;if(ee){if(G>=Q.length)break;ce=Q[G++]}else{if(G=Q.next(),G.done)break;ce=G.value}var he=ce;O.fields[he]=O.fields[he]||{}}for(var ye in O.fields){var ve=O.fields[ye];O.builder.indexOf(ye)===-1&&(ve.optional=!0),ve.default===void 0?ve.default=null:ve.validate||(ve.validate=K(te(ve.default)))}m[D]=O.visitor,A[D]=O.builder,g[D]=O.fields,y[D]=O.aliases,ie[D]=O}i(de,"defineType");var ie={}}),LD=l(()=>{"use strict";var e=Rt(),t=s(e),r=qs(),n=Pt(),a=u(n);function u(c){return c&&c.__esModule?c:{default:c}}i(u,"_interopRequireDefault");function s(c){if(c&&c.__esModule)return c;var p={};if(c!=null)for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(p[f]=c[f]);return p.default=c,p}i(s,"_interopRequireWildcard"),(0,a.default)("ArrayExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,a.default)("AssignmentExpression",{fields:{operator:{validate:(0,n.assertValueType)("string")},left:{validate:(0,n.assertNodeType)("LVal")},right:{validate:(0,n.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),(0,a.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:n.assertOneOf.apply(void 0,r.BINARY_OPERATORS)},left:{validate:(0,n.assertNodeType)("Expression")},right:{validate:(0,n.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),(0,a.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,n.assertNodeType)("DirectiveLiteral")}}}),(0,a.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}}),(0,a.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Directive"))),default:[]},body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]}),(0,a.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,n.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),(0,a.default)("CallExpression",{visitor:["callee","arguments"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")},arguments:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement")))}},aliases:["Expression"]}),(0,a.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,n.assertNodeType)("Identifier")},body:{validate:(0,n.assertNodeType)("BlockStatement")}},aliases:["Scopable"]}),(0,a.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,n.assertNodeType)("Expression")},consequent:{validate:(0,n.assertNodeType)("Expression")},alternate:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),(0,a.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,n.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),(0,a.default)("DebuggerStatement",{aliases:["Statement"]}),(0,a.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,n.assertNodeType)("Expression")},body:{validate:(0,n.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),(0,a.default)("EmptyStatement",{aliases:["Statement"]}),(0,a.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),(0,a.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,n.assertNodeType)("Program")}}}),(0,a.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,n.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,n.assertNodeType)("Expression")},body:{validate:(0,n.assertNodeType)("Statement")}}}),(0,a.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,n.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,n.assertNodeType)("Expression"),optional:!0},update:{validate:(0,n.assertNodeType)("Expression"),optional:!0},body:{validate:(0,n.assertNodeType)("Statement")}}}),(0,a.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")},params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("LVal")))},body:{validate:(0,n.assertNodeType)("BlockStatement")},generator:{default:!1,validate:(0,n.assertValueType)("boolean")},async:{default:!1,validate:(0,n.assertValueType)("boolean")}},aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"]}),(0,a.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:{id:{validate:(0,n.assertNodeType)("Identifier"),optional:!0},params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("LVal")))},body:{validate:(0,n.assertNodeType)("BlockStatement")},generator:{default:!1,validate:(0,n.assertValueType)("boolean")},async:{default:!1,validate:(0,n.assertValueType)("boolean")}}}),(0,a.default)("Identifier",{builder:["name"],visitor:["typeAnnotation"],aliases:["Expression","LVal"],fields:{name:{validate:i(function(c,p,f){t.isValidIdentifier(f)},"validate")},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator")))}}}),(0,a.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,n.assertNodeType)("Expression")},consequent:{validate:(0,n.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,n.assertNodeType)("Statement")}}}),(0,a.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,n.assertNodeType)("Identifier")},body:{validate:(0,n.assertNodeType)("Statement")}}}),(0,a.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,a.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,n.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,a.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),(0,a.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,a.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Literal"],fields:{pattern:{validate:(0,n.assertValueType)("string")},flags:{validate:(0,n.assertValueType)("string"),default:""}}}),(0,a.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:n.assertOneOf.apply(void 0,r.LOGICAL_OPERATORS)},left:{validate:(0,n.assertNodeType)("Expression")},right:{validate:(0,n.assertNodeType)("Expression")}}}),(0,a.default)("MemberExpression",{builder:["object","property","computed"],visitor:["object","property"],aliases:["Expression","LVal"],fields:{object:{validate:(0,n.assertNodeType)("Expression")},property:{validate:i(function(c,p,f){var d=c.computed?"Expression":"Identifier";(0,n.assertNodeType)(d)(c,p,f)},"validate")},computed:{default:!1}}}),(0,a.default)("NewExpression",{visitor:["callee","arguments"],aliases:["Expression"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")},arguments:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement")))}}}),(0,a.default)("Program",{visitor:["directives","body"],builder:["body","directives"],fields:{directives:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Directive"))),default:[]},body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","FunctionParent"]}),(0,a.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectMethod","ObjectProperty","SpreadProperty")))}}}),(0,a.default)("ObjectMethod",{builder:["kind","key","params","body","computed"],fields:{kind:{validate:(0,n.chain)((0,n.assertValueType)("string"),(0,n.assertOneOf)("method","get","set")),default:"method"},computed:{validate:(0,n.assertValueType)("boolean"),default:!1},key:{validate:i(function(c,p,f){var d=c.computed?["Expression"]:["Identifier","StringLiteral","NumericLiteral"];n.assertNodeType.apply(void 0,d)(c,p,f)},"validate")},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator")))},body:{validate:(0,n.assertNodeType)("BlockStatement")},generator:{default:!1,validate:(0,n.assertValueType)("boolean")},async:{default:!1,validate:(0,n.assertValueType)("boolean")}},visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),(0,a.default)("ObjectProperty",{builder:["key","value","computed","shorthand","decorators"],fields:{computed:{validate:(0,n.assertValueType)("boolean"),default:!1},key:{validate:i(function(c,p,f){var d=c.computed?["Expression"]:["Identifier","StringLiteral","NumericLiteral"];n.assertNodeType.apply(void 0,d)(c,p,f)},"validate")},value:{validate:(0,n.assertNodeType)("Expression","Pattern","RestElement")},shorthand:{validate:(0,n.assertValueType)("boolean"),default:!1},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"]}),(0,a.default)("RestElement",{visitor:["argument","typeAnnotation"],aliases:["LVal"],fields:{argument:{validate:(0,n.assertNodeType)("LVal")},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator")))}}}),(0,a.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,n.assertNodeType)("Expression"),optional:!0}}}),(0,a.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression")))}},aliases:["Expression"]}),(0,a.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,n.assertNodeType)("Expression"),optional:!0},consequent:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Statement")))}}}),(0,a.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,n.assertNodeType)("Expression")},cases:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("SwitchCase")))}}}),(0,a.default)("ThisExpression",{aliases:["Expression"]}),(0,a.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}}),(0,a.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},handler:{optional:!0,handler:(0,n.assertNodeType)("BlockStatement")},finalizer:{optional:!0,validate:(0,n.assertNodeType)("BlockStatement")}}}),(0,a.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,n.assertNodeType)("Expression")},operator:{validate:n.assertOneOf.apply(void 0,r.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),(0,a.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:(0,n.assertNodeType)("Expression")},operator:{validate:n.assertOneOf.apply(void 0,r.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),(0,a.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{kind:{validate:(0,n.chain)((0,n.assertValueType)("string"),(0,n.assertOneOf)("var","let","const"))},declarations:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("VariableDeclarator")))}}}),(0,a.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:(0,n.assertNodeType)("LVal")},init:{optional:!0,validate:(0,n.assertNodeType)("Expression")}}}),(0,a.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,n.assertNodeType)("Expression")},body:{validate:(0,n.assertNodeType)("BlockStatement","Statement")}}}),(0,a.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{object:(0,n.assertNodeType)("Expression")},body:{validate:(0,n.assertNodeType)("BlockStatement","Statement")}}})}),kD=l(()=>{"use strict";var e=Pt(),t=r(e);function r(n){return n&&n.__esModule?n:{default:n}}i(r,"_interopRequireDefault"),(0,t.default)("AssignmentPattern",{visitor:["left","right"],aliases:["Pattern","LVal"],fields:{left:{validate:(0,e.assertNodeType)("Identifier")},right:{validate:(0,e.assertNodeType)("Expression")},decorators:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("Decorator")))}}}),(0,t.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],aliases:["Pattern","LVal"],fields:{elements:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("Identifier","Pattern","RestElement")))},decorators:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("Decorator")))}}}),(0,t.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:{params:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("LVal")))},body:{validate:(0,e.assertNodeType)("BlockStatement","Expression")},async:{validate:(0,e.assertValueType)("boolean"),default:!1}}}),(0,t.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("ClassMethod","ClassProperty")))}}}),(0,t.default)("ClassDeclaration",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Statement","Declaration","Pureish"],fields:{id:{validate:(0,e.assertNodeType)("Identifier")},body:{validate:(0,e.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,e.assertNodeType)("Expression")},decorators:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("Decorator")))}}}),(0,t.default)("ClassExpression",{inherits:"ClassDeclaration",aliases:["Scopable","Class","Expression","Pureish"],fields:{id:{optional:!0,validate:(0,e.assertNodeType)("Identifier")},body:{validate:(0,e.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,e.assertNodeType)("Expression")},decorators:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("Decorator")))}}}),(0,t.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,e.assertNodeType)("StringLiteral")}}}),(0,t.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,e.assertNodeType)("FunctionDeclaration","ClassDeclaration","Expression")}}}),(0,t.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,e.assertNodeType)("Declaration"),optional:!0},specifiers:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("ExportSpecifier")))},source:{validate:(0,e.assertNodeType)("StringLiteral"),optional:!0}}}),(0,t.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,e.assertNodeType)("Identifier")},exported:{validate:(0,e.assertNodeType)("Identifier")}}}),(0,t.default)("ForOfStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,e.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,e.assertNodeType)("Expression")},body:{validate:(0,e.assertNodeType)("Statement")}}}),(0,t.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{specifiers:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,e.assertNodeType)("StringLiteral")}}}),(0,t.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,e.assertNodeType)("Identifier")}}}),(0,t.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,e.assertNodeType)("Identifier")}}}),(0,t.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,e.assertNodeType)("Identifier")},imported:{validate:(0,e.assertNodeType)("Identifier")},importKind:{validate:(0,e.assertOneOf)(null,"type","typeof")}}}),(0,t.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,e.assertValueType)("string")},property:{validate:(0,e.assertValueType)("string")}}}),(0,t.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:{kind:{validate:(0,e.chain)((0,e.assertValueType)("string"),(0,e.assertOneOf)("get","set","method","constructor")),default:"method"},computed:{default:!1,validate:(0,e.assertValueType)("boolean")},static:{default:!1,validate:(0,e.assertValueType)("boolean")},key:{validate:i(function(n,a,u){var s=n.computed?["Expression"]:["Identifier","StringLiteral","NumericLiteral"];e.assertNodeType.apply(void 0,s)(n,a,u)},"validate")},params:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("LVal")))},body:{validate:(0,e.assertNodeType)("BlockStatement")},generator:{default:!1,validate:(0,e.assertValueType)("boolean")},async:{default:!1,validate:(0,e.assertValueType)("boolean")}}}),(0,t.default)("ObjectPattern",{visitor:["properties","typeAnnotation"],aliases:["Pattern","LVal"],fields:{properties:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("RestProperty","Property")))},decorators:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("Decorator")))}}}),(0,t.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],fields:{argument:{validate:(0,e.assertNodeType)("Expression")}}}),(0,t.default)("Super",{aliases:["Expression"]}),(0,t.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,e.assertNodeType)("Expression")},quasi:{validate:(0,e.assertNodeType)("TemplateLiteral")}}}),(0,t.default)("TemplateElement",{builder:["value","tail"],fields:{value:{},tail:{validate:(0,e.assertValueType)("boolean"),default:!1}}}),(0,t.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("TemplateElement")))},expressions:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("Expression")))}}}),(0,t.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,e.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,e.assertNodeType)("Expression")}}})}),GD=l(()=>{"use strict";var e=Pt(),t=r(e);function r(n){return n&&n.__esModule?n:{default:n}}i(r,"_interopRequireDefault"),(0,t.default)("AnyTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,t.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow"],fields:{}}),(0,t.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,t.default)("BooleanLiteralTypeAnnotation",{aliases:["Flow"],fields:{}}),(0,t.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,t.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{}}),(0,t.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed"],aliases:["Property"],fields:{computed:{validate:(0,e.assertValueType)("boolean"),default:!1}}}),(0,t.default)("DeclareClass",{visitor:["id","typeParameters","extends","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,t.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,t.default)("DeclareInterface",{visitor:["id","typeParameters","extends","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,t.default)("DeclareModule",{visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,t.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,t.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,t.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,t.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,t.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,t.default)("ExistentialTypeParam",{aliases:["Flow"]}),(0,t.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow"],fields:{}}),(0,t.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{}}),(0,t.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{}}),(0,t.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{}}),(0,t.default)("InterfaceDeclaration",{visitor:["id","typeParameters","extends","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,t.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow"],fields:{}}),(0,t.default)("MixedTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"]}),(0,t.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"]}),(0,t.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow"],fields:{}}),(0,t.default)("NumericLiteralTypeAnnotation",{aliases:["Flow"],fields:{}}),(0,t.default)("NumberTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,t.default)("StringLiteralTypeAnnotation",{aliases:["Flow"],fields:{}}),(0,t.default)("StringTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,t.default)("ThisTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,t.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow"],fields:{}}),(0,t.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow"],fields:{}}),(0,t.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,t.default)("OpaqueType",{visitor:["id","typeParameters","impltype","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,t.default)("TypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow"],fields:{}}),(0,t.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{}}),(0,t.default)("TypeParameter",{visitor:["bound"],aliases:["Flow"],fields:{}}),(0,t.default)("TypeParameterDeclaration",{visitor:["params"],aliases:["Flow"],fields:{}}),(0,t.default)("TypeParameterInstantiation",{visitor:["params"],aliases:["Flow"],fields:{}}),(0,t.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties"],aliases:["Flow"],fields:{}}),(0,t.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{}}),(0,t.default)("ObjectTypeIndexer",{visitor:["id","key","value"],aliases:["Flow","UserWhitespacable"],fields:{}}),(0,t.default)("ObjectTypeProperty",{visitor:["key","value"],aliases:["Flow","UserWhitespacable"],fields:{}}),(0,t.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{}}),(0,t.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{}}),(0,t.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow"],fields:{}}),(0,t.default)("VoidTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}})}),jD=l(()=>{"use strict";var e=Pt(),t=r(e);function r(n){return n&&n.__esModule?n:{default:n}}i(r,"_interopRequireDefault"),(0,t.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,e.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,e.assertNodeType)("JSXElement","StringLiteral","JSXExpressionContainer")}}}),(0,t.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,e.assertNodeType)("JSXIdentifier","JSXMemberExpression")}}}),(0,t.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,e.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,e.assertNodeType)("JSXClosingElement")},children:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement")))}}}),(0,t.default)("JSXEmptyExpression",{aliases:["JSX","Expression"]}),(0,t.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,e.assertNodeType)("Expression")}}}),(0,t.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,e.assertNodeType)("Expression")}}}),(0,t.default)("JSXIdentifier",{builder:["name"],aliases:["JSX","Expression"],fields:{name:{validate:(0,e.assertValueType)("string")}}}),(0,t.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX","Expression"],fields:{object:{validate:(0,e.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,e.assertNodeType)("JSXIdentifier")}}}),(0,t.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,e.assertNodeType)("JSXIdentifier")},name:{validate:(0,e.assertNodeType)("JSXIdentifier")}}}),(0,t.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,e.assertNodeType)("JSXIdentifier","JSXMemberExpression")},selfClosing:{default:!1,validate:(0,e.assertValueType)("boolean")},attributes:{validate:(0,e.chain)((0,e.assertValueType)("array"),(0,e.assertEach)((0,e.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))}}}),(0,t.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,e.assertNodeType)("Expression")}}}),(0,t.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,e.assertValueType)("string")}}})}),VD=l(()=>{"use strict";var e=Pt(),t=r(e);function r(n){return n&&n.__esModule?n:{default:n}}i(r,"_interopRequireDefault"),(0,t.default)("Noop",{visitor:[]}),(0,t.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,e.assertNodeType)("Expression")}}})}),KD=l(()=>{"use strict";var e=Pt(),t=r(e);function r(n){return n&&n.__esModule?n:{default:n}}i(r,"_interopRequireDefault"),(0,t.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,e.assertNodeType)("Expression")}}}),(0,t.default)("ForAwaitStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,e.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,e.assertNodeType)("Expression")},body:{validate:(0,e.assertNodeType)("Statement")}}}),(0,t.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:{}}),(0,t.default)("Import",{aliases:["Expression"]}),(0,t.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,e.assertNodeType)("Expression")}}}),(0,t.default)("DoExpression",{visitor:["body"],aliases:["Expression"],fields:{body:{validate:(0,e.assertNodeType)("BlockStatement")}}}),(0,t.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,e.assertNodeType)("Identifier")}}}),(0,t.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,e.assertNodeType)("Identifier")}}}),(0,t.default)("RestProperty",{visitor:["argument"],aliases:["UnaryLike"],fields:{argument:{validate:(0,e.assertNodeType)("LVal")}}}),(0,t.default)("SpreadProperty",{visitor:["argument"],aliases:["UnaryLike"],fields:{argument:{validate:(0,e.assertNodeType)("Expression")}}})}),HD=l(()=>{"use strict";Pt(),LD(),kD(),GD(),jD(),VD(),KD()}),WD=l(e=>{"use strict";e.__esModule=!0,e.isReactComponent=void 0,e.isCompatTag=u,e.buildChildren=c;var t=Rt(),r=n(t);function n(p){if(p&&p.__esModule)return p;var f={};if(p!=null)for(var d in p)Object.prototype.hasOwnProperty.call(p,d)&&(f[d]=p[d]);return f.default=p,f}i(n,"_interopRequireWildcard");var a=e.isReactComponent=r.buildMatchMemberExpression("React.Component");function u(p){return!!p&&/^[a-z]|\-/.test(p)}i(u,"isCompatTag");function s(p,f){for(var d=p.value.split(/\r\n|\n|\r/),m=0,y=0;y{"use strict";e.__esModule=!0,e.createTypeAnnotationBasedOnTypeof=e.removeTypeDuplicates=e.createUnionTypeAnnotation=e.valueToNode=e.toBlock=e.toExpression=e.toStatement=e.toBindingIdentifierName=e.toIdentifier=e.toKeyAlias=e.toSequenceExpression=e.toComputedKey=e.isNodesEquivalent=e.isImmutable=e.isScope=e.isSpecifierDefault=e.isVar=e.isBlockScoped=e.isLet=e.isValidIdentifier=e.isReferenced=e.isBinding=e.getOuterBindingIdentifiers=e.getBindingIdentifiers=e.TYPES=e.react=e.DEPRECATED_KEYS=e.BUILDER_KEYS=e.NODE_FIELDS=e.ALIAS_KEYS=e.VISITOR_KEYS=e.NOT_LOCAL_BINDING=e.BLOCK_SCOPED_SYMBOL=e.INHERIT_KEYS=e.UNARY_OPERATORS=e.STRING_UNARY_OPERATORS=e.NUMBER_UNARY_OPERATORS=e.BOOLEAN_UNARY_OPERATORS=e.BINARY_OPERATORS=e.NUMBER_BINARY_OPERATORS=e.BOOLEAN_BINARY_OPERATORS=e.COMPARISON_BINARY_OPERATORS=e.EQUALITY_BINARY_OPERATORS=e.BOOLEAN_NUMBER_BINARY_OPERATORS=e.UPDATE_OPERATORS=e.LOGICAL_OPERATORS=e.COMMENT_KEYS=e.FOR_INIT_KEYS=e.FLATTENABLE_KEYS=e.STATEMENT_OR_BLOCK_KEYS=void 0;var t=hf(),r=ie(t),n=si(),a=ie(n),u=Ya(),s=ie(u),c=Ps(),p=ie(c),f=qs();Object.defineProperty(e,"STATEMENT_OR_BLOCK_KEYS",{enumerable:!0,get:i(function(){return f.STATEMENT_OR_BLOCK_KEYS},"get")}),Object.defineProperty(e,"FLATTENABLE_KEYS",{enumerable:!0,get:i(function(){return f.FLATTENABLE_KEYS},"get")}),Object.defineProperty(e,"FOR_INIT_KEYS",{enumerable:!0,get:i(function(){return f.FOR_INIT_KEYS},"get")}),Object.defineProperty(e,"COMMENT_KEYS",{enumerable:!0,get:i(function(){return f.COMMENT_KEYS},"get")}),Object.defineProperty(e,"LOGICAL_OPERATORS",{enumerable:!0,get:i(function(){return f.LOGICAL_OPERATORS},"get")}),Object.defineProperty(e,"UPDATE_OPERATORS",{enumerable:!0,get:i(function(){return f.UPDATE_OPERATORS},"get")}),Object.defineProperty(e,"BOOLEAN_NUMBER_BINARY_OPERATORS",{enumerable:!0,get:i(function(){return f.BOOLEAN_NUMBER_BINARY_OPERATORS},"get")}),Object.defineProperty(e,"EQUALITY_BINARY_OPERATORS",{enumerable:!0,get:i(function(){return f.EQUALITY_BINARY_OPERATORS},"get")}),Object.defineProperty(e,"COMPARISON_BINARY_OPERATORS",{enumerable:!0,get:i(function(){return f.COMPARISON_BINARY_OPERATORS},"get")}),Object.defineProperty(e,"BOOLEAN_BINARY_OPERATORS",{enumerable:!0,get:i(function(){return f.BOOLEAN_BINARY_OPERATORS},"get")}),Object.defineProperty(e,"NUMBER_BINARY_OPERATORS",{enumerable:!0,get:i(function(){return f.NUMBER_BINARY_OPERATORS},"get")}),Object.defineProperty(e,"BINARY_OPERATORS",{enumerable:!0,get:i(function(){return f.BINARY_OPERATORS},"get")}),Object.defineProperty(e,"BOOLEAN_UNARY_OPERATORS",{enumerable:!0,get:i(function(){return f.BOOLEAN_UNARY_OPERATORS},"get")}),Object.defineProperty(e,"NUMBER_UNARY_OPERATORS",{enumerable:!0,get:i(function(){return f.NUMBER_UNARY_OPERATORS},"get")}),Object.defineProperty(e,"STRING_UNARY_OPERATORS",{enumerable:!0,get:i(function(){return f.STRING_UNARY_OPERATORS},"get")}),Object.defineProperty(e,"UNARY_OPERATORS",{enumerable:!0,get:i(function(){return f.UNARY_OPERATORS},"get")}),Object.defineProperty(e,"INHERIT_KEYS",{enumerable:!0,get:i(function(){return f.INHERIT_KEYS},"get")}),Object.defineProperty(e,"BLOCK_SCOPED_SYMBOL",{enumerable:!0,get:i(function(){return f.BLOCK_SCOPED_SYMBOL},"get")}),Object.defineProperty(e,"NOT_LOCAL_BINDING",{enumerable:!0,get:i(function(){return f.NOT_LOCAL_BINDING},"get")}),e.is=G,e.isType=Q,e.validate=ye,e.shallowEqual=ve,e.appendToMemberExpression=Fe,e.prependToMemberExpression=_e,e.ensureBlock=Ne,e.clone=Re,e.cloneWithoutLoc=Le,e.cloneDeep=Ae,e.buildMatchMemberExpression=Oe,e.removeComments=Ce,e.inheritsComments=j,e.inheritTrailingComments=x,e.inheritLeadingComments=J,e.inheritInnerComments=z,e.inherits=me,e.assertNode=Me,e.isNode=je,e.traverseFast=Ie,e.removeProperties=ze,e.removePropertiesDeep=ge;var d=Ka();Object.defineProperty(e,"getBindingIdentifiers",{enumerable:!0,get:i(function(){return d.getBindingIdentifiers},"get")}),Object.defineProperty(e,"getOuterBindingIdentifiers",{enumerable:!0,get:i(function(){return d.getOuterBindingIdentifiers},"get")});var m=j0();Object.defineProperty(e,"isBinding",{enumerable:!0,get:i(function(){return m.isBinding},"get")}),Object.defineProperty(e,"isReferenced",{enumerable:!0,get:i(function(){return m.isReferenced},"get")}),Object.defineProperty(e,"isValidIdentifier",{enumerable:!0,get:i(function(){return m.isValidIdentifier},"get")}),Object.defineProperty(e,"isLet",{enumerable:!0,get:i(function(){return m.isLet},"get")}),Object.defineProperty(e,"isBlockScoped",{enumerable:!0,get:i(function(){return m.isBlockScoped},"get")}),Object.defineProperty(e,"isVar",{enumerable:!0,get:i(function(){return m.isVar},"get")}),Object.defineProperty(e,"isSpecifierDefault",{enumerable:!0,get:i(function(){return m.isSpecifierDefault},"get")}),Object.defineProperty(e,"isScope",{enumerable:!0,get:i(function(){return m.isScope},"get")}),Object.defineProperty(e,"isImmutable",{enumerable:!0,get:i(function(){return m.isImmutable},"get")}),Object.defineProperty(e,"isNodesEquivalent",{enumerable:!0,get:i(function(){return m.isNodesEquivalent},"get")});var y=gd();Object.defineProperty(e,"toComputedKey",{enumerable:!0,get:i(function(){return y.toComputedKey},"get")}),Object.defineProperty(e,"toSequenceExpression",{enumerable:!0,get:i(function(){return y.toSequenceExpression},"get")}),Object.defineProperty(e,"toKeyAlias",{enumerable:!0,get:i(function(){return y.toKeyAlias},"get")}),Object.defineProperty(e,"toIdentifier",{enumerable:!0,get:i(function(){return y.toIdentifier},"get")}),Object.defineProperty(e,"toBindingIdentifierName",{enumerable:!0,get:i(function(){return y.toBindingIdentifierName},"get")}),Object.defineProperty(e,"toStatement",{enumerable:!0,get:i(function(){return y.toStatement},"get")}),Object.defineProperty(e,"toExpression",{enumerable:!0,get:i(function(){return y.toExpression},"get")}),Object.defineProperty(e,"toBlock",{enumerable:!0,get:i(function(){return y.toBlock},"get")}),Object.defineProperty(e,"valueToNode",{enumerable:!0,get:i(function(){return y.valueToNode},"get")});var g=vd();Object.defineProperty(e,"createUnionTypeAnnotation",{enumerable:!0,get:i(function(){return g.createUnionTypeAnnotation},"get")}),Object.defineProperty(e,"removeTypeDuplicates",{enumerable:!0,get:i(function(){return g.removeTypeDuplicates},"get")}),Object.defineProperty(e,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:i(function(){return g.createTypeAnnotationBasedOnTypeof},"get")});var A=Sd(),w=ie(A),te=iD(),X=ie(te),F=RD(),Y=ie(F);HD();var T=Pt(),K=WD(),V=de(K);function de(k){if(k&&k.__esModule)return k;var Z={};if(k!=null)for(var pe in k)Object.prototype.hasOwnProperty.call(k,pe)&&(Z[pe]=k[pe]);return Z.default=k,Z}i(de,"_interopRequireWildcard");function ie(k){return k&&k.__esModule?k:{default:k}}i(ie,"_interopRequireDefault");var D=e;function O(k){var Z=D["is"+k];Z||(Z=D["is"+k]=function(pe,L){return D.is(k,pe,L)}),D["assert"+k]=function(pe,L){if(L=L||{},!Z(pe,L))throw new Error("Expected type "+(0,p.default)(k)+" with option "+(0,p.default)(L))}}i(O,"registerType"),e.VISITOR_KEYS=T.VISITOR_KEYS,e.ALIAS_KEYS=T.ALIAS_KEYS,e.NODE_FIELDS=T.NODE_FIELDS,e.BUILDER_KEYS=T.BUILDER_KEYS,e.DEPRECATED_KEYS=T.DEPRECATED_KEYS,e.react=V;for(M in D.VISITOR_KEYS)O(M);var M;D.FLIPPED_ALIAS_KEYS={},(0,s.default)(D.ALIAS_KEYS).forEach(function(k){D.ALIAS_KEYS[k].forEach(function(Z){var pe=D.FLIPPED_ALIAS_KEYS[Z]=D.FLIPPED_ALIAS_KEYS[Z]||[];pe.push(k)})}),(0,s.default)(D.FLIPPED_ALIAS_KEYS).forEach(function(k){D[k.toUpperCase()+"_TYPES"]=D.FLIPPED_ALIAS_KEYS[k],O(k)});var ee=e.TYPES=(0,s.default)(D.VISITOR_KEYS).concat((0,s.default)(D.FLIPPED_ALIAS_KEYS)).concat((0,s.default)(D.DEPRECATED_KEYS));function G(k,Z,pe){if(!Z)return!1;var L=Q(Z.type,k);return L?typeof pe>"u"?!0:D.shallowEqual(Z,pe):!1}i(G,"is");function Q(k,Z){if(k===Z)return!0;if(D.ALIAS_KEYS[Z])return!1;var pe=D.FLIPPED_ALIAS_KEYS[Z];if(pe){if(pe[0]===k)return!0;for(var le=pe,L=Array.isArray(le),H=0,le=L?le:(0,a.default)(le);;){var De;if(L){if(H>=le.length)break;De=le[H++]}else{if(H=le.next(),H.done)break;De=H.value}var xe=De;if(k===xe)return!0}}return!1}i(Q,"isType"),(0,s.default)(D.BUILDER_KEYS).forEach(function(k){var Z=D.BUILDER_KEYS[k];function pe(){if(arguments.length>Z.length)throw new Error("t."+k+": Too many arguments passed. Received "+arguments.length+" but can receive "+("no more than "+Z.length));var L={};L.type=k;for(var H=0,xe=Z,le=Array.isArray(xe),De=0,xe=le?xe:(0,a.default)(xe);;){var Ue;if(le){if(De>=xe.length)break;Ue=xe[De++]}else{if(De=xe.next(),De.done)break;Ue=De.value}var He=Ue,$e=D.NODE_FIELDS[k][He],Je=arguments[H++];Je===void 0&&(Je=(0,X.default)($e.default)),L[He]=Je}for(var Ge in L)ye(L,Ge,L[Ge]);return L}i(pe,"builder"),D[k]=pe,D[k[0].toLowerCase()+k.slice(1)]=pe});var ce=i(function(k){var Z=D.DEPRECATED_KEYS[k];function pe(L){return function(){return console.trace("The node type "+k+" has been renamed to "+Z),L.apply(this,arguments)}}i(pe,"proxy"),D[k]=D[k[0].toLowerCase()+k.slice(1)]=pe(D[Z]),D["is"+k]=pe(D["is"+Z]),D["assert"+k]=pe(D["assert"+Z])},"_loop");for(he in D.DEPRECATED_KEYS)ce(he);var he;function ye(k,Z,pe){if(k){var L=D.NODE_FIELDS[k.type];if(L){var H=L[Z];!H||!H.validate||H.optional&&pe==null||H.validate(k,Z,pe)}}}i(ye,"validate");function ve(k,Z){for(var pe=(0,s.default)(Z),le=pe,L=Array.isArray(le),H=0,le=L?le:(0,a.default)(le);;){var De;if(L){if(H>=le.length)break;De=le[H++]}else{if(H=le.next(),H.done)break;De=H.value}var xe=De;if(k[xe]!==Z[xe])return!1}return!0}i(ve,"shallowEqual");function Fe(k,Z,pe){return k.object=D.memberExpression(k.object,k.property,k.computed),k.property=Z,k.computed=!!pe,k}i(Fe,"appendToMemberExpression");function _e(k,Z){return k.object=D.memberExpression(Z,k.object),k}i(_e,"prependToMemberExpression");function Ne(k){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"body";return k[Z]=D.toBlock(k[Z],k)}i(Ne,"ensureBlock");function Re(k){if(!k)return k;var Z={};for(var pe in k)pe[0]!=="_"&&(Z[pe]=k[pe]);return Z}i(Re,"clone");function Le(k){var Z=Re(k);return delete Z.loc,Z}i(Le,"cloneWithoutLoc");function Ae(k){if(!k)return k;var Z={};for(var pe in k)if(pe[0]!=="_"){var L=k[pe];L&&(L.type?L=D.cloneDeep(L):Array.isArray(L)&&(L=L.map(D.cloneDeep))),Z[pe]=L}return Z}i(Ae,"cloneDeep");function Oe(k,Z){var pe=k.split(".");return function(L){if(!D.isMemberExpression(L))return!1;for(var H=[L],le=0;H.length;){var De=H.shift();if(Z&&le===pe.length)return!0;if(D.isIdentifier(De)){if(pe[le]!==De.name)return!1}else if(D.isStringLiteral(De)){if(pe[le]!==De.value)return!1}else if(D.isMemberExpression(De)){if(De.computed&&!D.isStringLiteral(De.property))return!1;H.push(De.object),H.push(De.property);continue}else return!1;if(++le>pe.length)return!1}return!0}}i(Oe,"buildMatchMemberExpression");function Ce(k){for(var L=D.COMMENT_KEYS,Z=Array.isArray(L),pe=0,L=Z?L:(0,a.default)(L);;){var H;if(Z){if(pe>=L.length)break;H=L[pe++]}else{if(pe=L.next(),pe.done)break;H=pe.value}var le=H;delete k[le]}return k}i(Ce,"removeComments");function j(k,Z){return x(k,Z),J(k,Z),z(k,Z),k}i(j,"inheritsComments");function x(k,Z){oe("trailingComments",k,Z)}i(x,"inheritTrailingComments");function J(k,Z){oe("leadingComments",k,Z)}i(J,"inheritLeadingComments");function z(k,Z){oe("innerComments",k,Z)}i(z,"inheritInnerComments");function oe(k,Z,pe){Z&&pe&&(Z[k]=(0,Y.default)([].concat(Z[k],pe[k]).filter(Boolean)))}i(oe,"_inheritComments");function me(k,Z){if(!k||!Z)return k;for(var H=D.INHERIT_KEYS.optional,pe=Array.isArray(H),L=0,H=pe?H:(0,a.default)(H);;){var le;if(pe){if(L>=H.length)break;le=H[L++]}else{if(L=H.next(),L.done)break;le=L.value}var De=le;k[De]==null&&(k[De]=Z[De])}for(var xe in Z)xe[0]==="_"&&(k[xe]=Z[xe]);for(var $e=D.INHERIT_KEYS.force,Ue=Array.isArray($e),He=0,$e=Ue?$e:(0,a.default)($e);;){var Je;if(Ue){if(He>=$e.length)break;Je=$e[He++]}else{if(He=$e.next(),He.done)break;Je=He.value}var Ge=Je;k[Ge]=Z[Ge]}return D.inheritsComments(k,Z),k}i(me,"inherits");function Me(k){if(!je(k))throw new TypeError("Not a valid node "+(k&&k.type))}i(Me,"assertNode");function je(k){return!!(k&&T.VISITOR_KEYS[k.type])}i(je,"isNode"),(0,w.default)(D),(0,w.default)(D.VISITOR_KEYS);function Ie(k,Z,pe){if(k){var L=D.VISITOR_KEYS[k.type];if(L){pe=pe||{},Z(k,pe);for(var De=L,H=Array.isArray(De),le=0,De=H?De:(0,a.default)(De);;){var xe;if(H){if(le>=De.length)break;xe=De[le++]}else{if(le=De.next(),le.done)break;xe=le.value}var Ue=xe,He=k[Ue];if(Array.isArray(He))for(var Ge=He,$e=Array.isArray(Ge),Je=0,Ge=$e?Ge:(0,a.default)(Ge);;){var nt;if($e){if(Je>=Ge.length)break;nt=Ge[Je++]}else{if(Je=Ge.next(),Je.done)break;nt=Je.value}var ht=nt;Ie(ht,Z,pe)}else Ie(He,Z,pe)}}}}i(Ie,"traverseFast");var Xe=["tokens","start","end","loc","raw","rawValue"],Te=D.COMMENT_KEYS.concat(["comments"]).concat(Xe);function ze(k,Z){Z=Z||{};for(var pe=Z.preserveComments?Xe:Te,le=pe,L=Array.isArray(le),H=0,le=L?le:(0,a.default)(le);;){var De;if(L){if(H>=le.length)break;De=le[H++]}else{if(H=le.next(),H.done)break;De=H.value}var xe=De;k[xe]!=null&&(k[xe]=void 0)}for(var Ue in k)Ue[0]==="_"&&k[Ue]!=null&&(k[Ue]=void 0);for(var He=(0,r.default)(k),Ge=He,$e=Array.isArray(Ge),Je=0,Ge=$e?Ge:(0,a.default)(Ge);;){var nt;if($e){if(Je>=Ge.length)break;nt=Ge[Je++]}else{if(Je=Ge.next(),Je.done)break;nt=Je.value}var ht=nt;k[ht]=null}}i(ze,"removeProperties");function ge(k,Z){return Ie(k,ze,Z),k}i(ge,"removePropertiesDeep")}),re=l(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=Rt(),r=i(function(j,x){if(!(j instanceof x))throw new TypeError("Cannot call a class as a function")},"classCallCheck"),n=i(function(j,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);j.prototype=Object.create(x&&x.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(j,x):j.__proto__=x)},"inherits"),a=i(function(j,x){if(!j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:j},"possibleConstructorReturn"),u=Object.create(null),s=Object.create(null),c=Symbol(),p=Object.create(null),f=function(){function j(){r(this,j),this.loc={source:null,start:{line:0,column:0},end:{line:0,column:0}},this[c]=[]}return i(j,"Node"),j.prototype.toJSON=i(function(){var x=this;return Object.getOwnPropertyNames(this).reduce(function(J,z){if(z==="loc"||z==="parent")return J;var oe=x[z];return Array.isArray(oe)?J[z]=oe.map(function(me){return me.toJSON()}):J[z]=oe&&oe.toJSON?oe.toJSON():oe,J},{type:this.type})},"toJSON"),j.registerType=i(function(x){j["is"+x]||(j["is"+x]=function(J){return d(J,x)})},"registerType"),j}();f.registerType("Scope");function d(j,x){return j?j.type===x||p[x]&&p[x][j.type]||t.is(x,j):!1}i(d,"is");function m(j){for(var x=arguments.length,J=Array(x>1?x-1:0),z=1;z1?x-1:0),z=1;z0&&arguments[0]!==void 0?arguments[0]:[];r(this,x);var z=a(this,j.call(this));return z.elements=J,z}return i(x,"ArrayExpression"),x}(f);g(M,"ArrayExpression"),y(M,"Expression"),m(M,"elements");var ee=function(j){n(x,j);function x(J,z,oe){r(this,x);var me=a(this,j.call(this));return me.object=J,me.property=z,me.computed=oe,me}return i(x,"MemberExpression"),x}(f);g(ee,"MemberExpression"),y(ee,"Expression","LVal"),m(ee,"object","property");var G=function(j){n(x,j);function x(J,z){r(this,x);var oe=a(this,j.call(this));return oe.callee=J,oe.arguments=z,oe}return i(x,"CallExpression"),x}(f);g(G,"CallExpression"),y(G,"Expression","FunctionInvocation"),m(G,"callee","arguments");var Q=function(j){n(x,j);function x(J,z){r(this,x);var oe=a(this,j.call(this));return oe.name=J,oe.value=z,oe}return i(x,"NamedArgumentExpression"),x}(f);g(Q,"NamedArgumentExpression"),y(Q,"Expression"),m(Q,"name","value");var ce=function(j){n(x,j);function x(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];r(this,x);var z=a(this,j.call(this));return z.properties=J,z}return i(x,"ObjectExpression"),x}(f);g(ce,"ObjectExpression"),y(ce,"Expression"),m(ce,"properties");var he=function(j){n(x,j);function x(J,z,oe){r(this,x);var me=a(this,j.call(this));return me.key=J,me.value=z,me.computed=oe,me}return i(x,"ObjectProperty"),x}(f);g(he,"ObjectProperty"),y(he,"Property","ObjectMember"),m(he,"key","value");var ye=function(j){n(x,j);function x(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];r(this,x);var z=a(this,j.call(this));return z.expressions=J,z}return i(x,"SequenceExpression"),x.prototype.add=i(function(J){this.expressions.push(J),this.loc.end=J.loc.end},"add"),x}(f);g(ye,"SequenceExpression"),y(ye,"Expression","Scope"),m(ye,"expressions");var ve=function(j){n(x,j);function x(J,z,oe){r(this,x);var me=a(this,j.call(this));return me.target=J,me.start=z,me.end=oe,me}return i(x,"SliceExpression"),x}(f);g(ve,"SliceExpression"),y(ve,"Expression"),m(ve,"source","start","end");var Fe=function(j){n(x,j);function x(J,z,oe){r(this,x);var me=a(this,j.call(this));return me.target=J,me.name=z,me.arguments=oe,me}return i(x,"FilterExpression"),x}(f);g(Fe,"FilterExpression"),y(Fe,"Expression"),m(Fe,"target","arguments");var _e=function(j){n(x,j);function x(J){r(this,x);var z=a(this,j.call(this));return z.name=J,z.attributes=[],z.children=[],z.selfClosing=!1,z}return i(x,"Element"),x}(f);g(_e,"Element"),y(_e,"Expression"),m(_e,"attributes","children");var Ne=function(j){n(x,j);function x(J){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;r(this,x);var oe=a(this,j.call(this));return oe.name=J,oe.value=z,oe}return i(x,"Attribute"),x.prototype.isImmutable=i(function(){return d(this.name,"Identifier")&&d(this.value,"Immutable")},"isImmutable"),x}(f);g(Ne,"Attribute"),m(Ne,"name","value");var Re=function(j){n(x,j);function x(J){r(this,x);var z=a(this,j.call(this));return z.value=J,z}return i(x,"TwigComment"),x}(f);g(Re,"TwigComment"),m(Re,"value");var Le=function(j){n(x,j);function x(J){r(this,x);var z=a(this,j.call(this));return z.value=J,z}return i(x,"HtmlComment"),x}(f);g(Le,"HtmlComment"),m(Le,"value");var Ae=function(j){n(x,j);function x(J){r(this,x);var z=a(this,j.call(this));return z.declarationType=J,z.parts=[],z}return i(x,"Declaration"),x}(f);g(Ae,"Declaration"),m(Ae,"parts");var Oe=function(j){n(x,j);function x(J){r(this,x);var z=a(this,j.call(this));return z.tagName=J,z.parts=[],z.sections=[],z}return i(x,"GenericTwigTag"),x}(f);g(Oe,"GenericTwigTag");var Ce=function(j){n(x,j);function x(J,z){r(this,x);var oe=a(this,j.call(this));return oe.tokenType=J,oe.tokenText=z,oe}return i(x,"GenericToken"),x}(f);g(Ce,"GenericToken"),e.TYPE_MAP=u,e.ALIAS_TO_TYPE=s,e.PATH_CACHE_KEY=c,e.Node=f,e.is=d,e.visitor=m,e.alias=y,e.type=g,e.Fragment=A,e.PrintExpressionStatement=w,e.PrintTextStatement=te,e.ConstantValue=X,e.StringLiteral=F,e.NumericLiteral=Y,e.BooleanLiteral=T,e.NullLiteral=K,e.Identifier=V,e.UnaryExpression=de,e.BinaryExpression=ie,e.BinaryConcatExpression=D,e.ConditionalExpression=O,e.ArrayExpression=M,e.MemberExpression=ee,e.CallExpression=G,e.NamedArgumentExpression=Q,e.ObjectExpression=ce,e.ObjectProperty=he,e.SequenceExpression=ye,e.SliceExpression=ve,e.FilterExpression=Fe,e.Element=_e,e.Attribute=Ne,e.TwigComment=Re,e.HtmlComment=Le,e.Declaration=Ae,e.GenericTwigTag=Oe,e.GenericToken=Ce}),Ho=l((e,t)=>{var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}),vt=l((e,t)=>{var r=Ho(),n=typeof self=="object"&&self&&self.Object===Object&&self,a=r||n||Function("return this")();t.exports=a}),Li=l((e,t)=>{var r=vt(),n=r.Symbol;t.exports=n}),by=l((e,t)=>{function r(n,a){for(var u=-1,s=n==null?0:n.length,c=Array(s);++u{var r=Array.isArray;t.exports=r}),Py=l((e,t)=>{var r=Li(),n=Object.prototype,a=n.hasOwnProperty,u=n.toString,s=r?r.toStringTag:void 0;function c(p){var f=a.call(p,s),d=p[s];try{p[s]=void 0;var m=!0}catch{}var y=u.call(p);return m&&(f?p[s]=d:delete p[s]),y}i(c,"getRawTag"),t.exports=c}),wy=l((e,t)=>{var r=Object.prototype,n=r.toString;function a(u){return n.call(u)}i(a,"objectToString"),t.exports=a}),Bn=l((e,t)=>{var r=Li(),n=Py(),a=wy(),u="[object Null]",s="[object Undefined]",c=r?r.toStringTag:void 0;function p(f){return f==null?f===void 0?s:u:c&&c in Object(f)?n(f):a(f)}i(p,"baseGetTag"),t.exports=p}),On=l((e,t)=>{function r(n){return n!=null&&typeof n=="object"}i(r,"isObjectLike"),t.exports=r}),Pu=l((e,t)=>{var r=Bn(),n=On(),a="[object Symbol]";function u(s){return typeof s=="symbol"||n(s)&&r(s)==a}i(u,"isSymbol"),t.exports=u}),qu=l((e,t)=>{var r=Li(),n=by(),a=St(),u=Pu(),s=1/0,c=r?r.prototype:void 0,p=c?c.toString:void 0;function f(d){if(typeof d=="string")return d;if(a(d))return n(d,f)+"";if(u(d))return p?p.call(d):"";var m=d+"";return m=="0"&&1/d==-s?"-0":m}i(f,"baseToString"),t.exports=f}),Xy=l((e,t)=>{function r(n,a,u){var s=-1,c=n.length;a<0&&(a=-a>c?0:c+a),u=u>c?c:u,u<0&&(u+=c),c=a>u?0:u-a>>>0,a>>>=0;for(var p=Array(c);++s{var r=Xy();function n(a,u,s){var c=a.length;return s=s===void 0?c:s,!u&&s>=c?a:r(a,u,s)}i(n,"castSlice"),t.exports=n}),zy=l((e,t)=>{function r(n,a,u,s){for(var c=n.length,p=u+(s?1:-1);s?p--:++p{function r(n){return n!==n}i(r,"baseIsNaN"),t.exports=r}),tA=l((e,t)=>{function r(n,a,u){for(var s=u-1,c=n.length;++s{var r=zy(),n=Zy(),a=tA();function u(s,c,p){return c===c?a(s,c,p):r(s,n,p)}i(u,"baseIndexOf"),t.exports=u}),iA=l((e,t)=>{var r=Xo();function n(a,u){for(var s=a.length;s--&&r(u,a[s],0)>-1;);return s}i(n,"charsEndIndex"),t.exports=n}),uA=l((e,t)=>{function r(n){return n.split("")}i(r,"asciiToArray"),t.exports=r}),oA=l((e,t)=>{var r="\\ud800-\\udfff",n="\\u0300-\\u036f",a="\\ufe20-\\ufe2f",u="\\u20d0-\\u20ff",s=n+a+u,c="\\ufe0e\\ufe0f",p="\\u200d",f=RegExp("["+p+r+s+c+"]");function d(m){return f.test(m)}i(d,"hasUnicode"),t.exports=d}),hA=l((e,t)=>{var r="\\ud800-\\udfff",n="\\u0300-\\u036f",a="\\ufe20-\\ufe2f",u="\\u20d0-\\u20ff",s=n+a+u,c="\\ufe0e\\ufe0f",p="["+r+"]",f="["+s+"]",d="\\ud83c[\\udffb-\\udfff]",m="(?:"+f+"|"+d+")",y="[^"+r+"]",g="(?:\\ud83c[\\udde6-\\uddff]){2}",A="[\\ud800-\\udbff][\\udc00-\\udfff]",w="\\u200d",te=m+"?",X="["+c+"]?",F="(?:"+w+"(?:"+[y,g,A].join("|")+")"+X+te+")*",Y=X+te+F,T="(?:"+[y+f+"?",f,g,A,p].join("|")+")",K=RegExp(d+"(?="+d+")|"+T+Y,"g");function V(de){return de.match(K)||[]}i(V,"unicodeToArray"),t.exports=V}),zo=l((e,t)=>{var r=uA(),n=oA(),a=hA();function u(s){return n(s)?a(s):r(s)}i(u,"stringToArray"),t.exports=u}),wu=l((e,t)=>{var r=qu();function n(a){return a==null?"":r(a)}i(n,"toString"),t.exports=n}),xA=l((e,t)=>{var r=/\s/;function n(a){for(var u=a.length;u--&&r.test(a.charAt(u)););return u}i(n,"trimmedEndIndex"),t.exports=n}),vA=l((e,t)=>{var r=qu(),n=Wo(),a=iA(),u=zo(),s=wu(),c=xA();function p(f,d,m){if(f=s(f),f&&(m||d===void 0))return f.slice(0,c(f)+1);if(!f||!(d=r(d)))return f;var y=u(f),g=a(y,u(d))+1;return n(y,0,g).join("")}i(p,"trimEnd"),t.exports=p}),FA=l((e,t)=>{var r=Xo();function n(a,u){for(var s=-1,c=a.length;++s-1;);return s}i(n,"charsStartIndex"),t.exports=n}),OA=l((e,t)=>{var r=qu(),n=Wo(),a=FA(),u=zo(),s=wu(),c=/^\s+/;function p(f,d,m){if(f=s(f),f&&(m||d===void 0))return f.replace(c,"");if(!f||!(d=r(d)))return f;var y=u(f),g=a(y,u(d));return n(y,g).join("")}i(p,"trimStart"),t.exports=p}),al=l((e,t)=>{function r(n,a){for(var u=-1,s=n==null?0:n.length,c=0,p=[];++u{function r(n){return function(a,u,s){for(var c=-1,p=Object(a),f=s(a),d=f.length;d--;){var m=f[n?d:++c];if(u(p[m],m,p)===!1)break}return a}}i(r,"createBaseFor"),t.exports=r}),hx=l((e,t)=>{var r=Ex(),n=r();t.exports=n}),yx=l((e,t)=>{function r(n,a){for(var u=-1,s=Array(n);++u{var r=Bn(),n=On(),a="[object Arguments]";function u(s){return n(s)&&r(s)==a}i(u,"baseIsArguments"),t.exports=u}),ol=l((e,t)=>{var r=xx(),n=On(),a=Object.prototype,u=a.hasOwnProperty,s=a.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(p){return n(p)&&u.call(p,"callee")&&!s.call(p,"callee")};t.exports=c}),Fx=l((e,t)=>{function r(){return!1}i(r,"stubFalse"),t.exports=r}),ll=l((e,t)=>{var r=vt(),n=Fx(),a=typeof e=="object"&&e&&!e.nodeType&&e,u=a&&typeof t=="object"&&t&&!t.nodeType&&t,s=u&&u.exports===a,c=s?r.Buffer:void 0,p=c?c.isBuffer:void 0,f=p||n;t.exports=f}),cl=l((e,t)=>{var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function a(u,s){var c=typeof u;return s=s??r,!!s&&(c=="number"||c!="symbol"&&n.test(u))&&u>-1&&u%1==0&&u{var r=9007199254740991;function n(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=r}i(n,"isLength"),t.exports=n}),Ix=l((e,t)=>{var r=Bn(),n=ku(),a=On(),u="[object Arguments]",s="[object Array]",c="[object Boolean]",p="[object Date]",f="[object Error]",d="[object Function]",m="[object Map]",y="[object Number]",g="[object Object]",A="[object RegExp]",w="[object Set]",te="[object String]",X="[object WeakMap]",F="[object ArrayBuffer]",Y="[object DataView]",T="[object Float32Array]",K="[object Float64Array]",V="[object Int8Array]",de="[object Int16Array]",ie="[object Int32Array]",D="[object Uint8Array]",O="[object Uint8ClampedArray]",M="[object Uint16Array]",ee="[object Uint32Array]",G={};G[T]=G[K]=G[V]=G[de]=G[ie]=G[D]=G[O]=G[M]=G[ee]=!0,G[u]=G[s]=G[F]=G[c]=G[Y]=G[p]=G[f]=G[d]=G[m]=G[y]=G[g]=G[A]=G[w]=G[te]=G[X]=!1;function Q(ce){return a(ce)&&n(ce.length)&&!!G[r(ce)]}i(Q,"baseIsTypedArray"),t.exports=Q}),Px=l((e,t)=>{function r(n){return function(a){return n(a)}}i(r,"baseUnary"),t.exports=r}),wx=l((e,t)=>{var r=Ho(),n=typeof e=="object"&&e&&!e.nodeType&&e,a=n&&typeof t=="object"&&t&&!t.nodeType&&t,u=a&&a.exports===n,s=u&&r.process,c=function(){try{var p=a&&a.require&&a.require("util").types;return p||s&&s.binding&&s.binding("util")}catch{}}();t.exports=c}),fl=l((e,t)=>{var r=Ix(),n=Px(),a=wx(),u=a&&a.isTypedArray,s=u?n(u):r;t.exports=s}),jx=l((e,t)=>{var r=yx(),n=ol(),a=St(),u=ll(),s=cl(),c=fl(),p=Object.prototype,f=p.hasOwnProperty;function d(m,y){var g=a(m),A=!g&&n(m),w=!g&&!A&&u(m),te=!g&&!A&&!w&&c(m),X=g||A||w||te,F=X?r(m.length,String):[],Y=F.length;for(var T in m)(y||f.call(m,T))&&!(X&&(T=="length"||w&&(T=="offset"||T=="parent")||te&&(T=="buffer"||T=="byteLength"||T=="byteOffset")||s(T,Y)))&&F.push(T);return F}i(d,"arrayLikeKeys"),t.exports=d}),Yx=l((e,t)=>{var r=Object.prototype;function n(a){var u=a&&a.constructor,s=typeof u=="function"&&u.prototype||r;return a===s}i(n,"isPrototype"),t.exports=n}),Kx=l((e,t)=>{function r(n,a){return function(u){return n(a(u))}}i(r,"overArg"),t.exports=r}),Wx=l((e,t)=>{var r=Kx(),n=r(Object.keys,Object);t.exports=n}),$x=l((e,t)=>{var r=Yx(),n=Wx(),a=Object.prototype,u=a.hasOwnProperty;function s(c){if(!r(c))return n(c);var p=[];for(var f in Object(c))u.call(c,f)&&f!="constructor"&&p.push(f);return p}i(s,"baseKeys"),t.exports=s}),Mu=l((e,t)=>{function r(n){var a=typeof n;return n!=null&&(a=="object"||a=="function")}i(r,"isObject"),t.exports=r}),dl=l((e,t)=>{var r=Bn(),n=Mu(),a="[object AsyncFunction]",u="[object Function]",s="[object GeneratorFunction]",c="[object Proxy]";function p(f){if(!n(f))return!1;var d=r(f);return d==u||d==s||d==a||d==c}i(p,"isFunction"),t.exports=p}),El=l((e,t)=>{var r=dl(),n=ku();function a(u){return u!=null&&n(u.length)&&!r(u)}i(a,"isArrayLike"),t.exports=a}),Gu=l((e,t)=>{var r=jx(),n=$x(),a=El();function u(s){return a(s)?r(s):n(s)}i(u,"keys"),t.exports=u}),t1=l((e,t)=>{var r=hx(),n=Gu();function a(u,s){return u&&r(u,s,n)}i(a,"baseForOwn"),t.exports=a}),n1=l((e,t)=>{var r=El();function n(a,u){return function(s,c){if(s==null)return s;if(!r(s))return a(s,c);for(var p=s.length,f=u?p:-1,d=Object(s);(u?f--:++f{var r=t1(),n=n1(),a=n(r);t.exports=a}),a1=l((e,t)=>{var r=s1();function n(a,u){var s=[];return r(a,function(c,p,f){u(c,p,f)&&s.push(c)}),s}i(n,"baseFilter"),t.exports=n}),l1=l((e,t)=>{function r(){this.__data__=[],this.size=0}i(r,"listCacheClear"),t.exports=r}),ml=l((e,t)=>{function r(n,a){return n===a||n!==n&&a!==a}i(r,"eq"),t.exports=r}),Vi=l((e,t)=>{var r=ml();function n(a,u){for(var s=a.length;s--;)if(r(a[s][0],u))return s;return-1}i(n,"assocIndexOf"),t.exports=n}),d1=l((e,t)=>{var r=Vi(),n=Array.prototype,a=n.splice;function u(s){var c=this.__data__,p=r(c,s);if(p<0)return!1;var f=c.length-1;return p==f?c.pop():a.call(c,p,1),--this.size,!0}i(u,"listCacheDelete"),t.exports=u}),m1=l((e,t)=>{var r=Vi();function n(a){var u=this.__data__,s=r(u,a);return s<0?void 0:u[s][1]}i(n,"listCacheGet"),t.exports=n}),D1=l((e,t)=>{var r=Vi();function n(a){return r(this.__data__,a)>-1}i(n,"listCacheHas"),t.exports=n}),A1=l((e,t)=>{var r=Vi();function n(a,u){var s=this.__data__,c=r(s,a);return c<0?(++this.size,s.push([a,u])):s[c][1]=u,this}i(n,"listCacheSet"),t.exports=n}),Ki=l((e,t)=>{var r=l1(),n=d1(),a=m1(),u=D1(),s=A1();function c(p){var f=-1,d=p==null?0:p.length;for(this.clear();++f{var r=Ki();function n(){this.__data__=new r,this.size=0}i(n,"stackClear"),t.exports=n}),S1=l((e,t)=>{function r(n){var a=this.__data__,u=a.delete(n);return this.size=a.size,u}i(r,"stackDelete"),t.exports=r}),C1=l((e,t)=>{function r(n){return this.__data__.get(n)}i(r,"stackGet"),t.exports=r}),O1=l((e,t)=>{function r(n){return this.__data__.has(n)}i(r,"stackHas"),t.exports=r}),N1=l((e,t)=>{var r=vt(),n=r["__core-js_shared__"];t.exports=n}),R1=l((e,t)=>{var r=N1(),n=function(){var u=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return u?"Symbol(src)_1."+u:""}();function a(u){return!!n&&n in u}i(a,"isMasked"),t.exports=a}),Dl=l((e,t)=>{var r=Function.prototype,n=r.toString;function a(u){if(u!=null){try{return n.call(u)}catch{}try{return u+""}catch{}}return""}i(a,"toSource"),t.exports=a}),w1=l((e,t)=>{var r=dl(),n=R1(),a=Mu(),u=Dl(),s=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,p=Function.prototype,f=Object.prototype,d=p.toString,m=f.hasOwnProperty,y=RegExp("^"+d.call(m).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function g(A){if(!a(A)||n(A))return!1;var w=r(A)?y:c;return w.test(u(A))}i(g,"baseIsNative"),t.exports=g}),k1=l((e,t)=>{function r(n,a){return n?.[a]}i(r,"getValue"),t.exports=r}),Hr=l((e,t)=>{var r=w1(),n=k1();function a(u,s){var c=n(u,s);return r(c)?c:void 0}i(a,"getNative"),t.exports=a}),ju=l((e,t)=>{var r=Hr(),n=vt(),a=r(n,"Map");t.exports=a}),Hi=l((e,t)=>{var r=Hr(),n=r(Object,"create");t.exports=n}),V1=l((e,t)=>{var r=Hi();function n(){this.__data__=r?r(null):{},this.size=0}i(n,"hashClear"),t.exports=n}),H1=l((e,t)=>{function r(n){var a=this.has(n)&&delete this.__data__[n];return this.size-=a?1:0,a}i(r,"hashDelete"),t.exports=r}),X1=l((e,t)=>{var r=Hi(),n="__lodash_hash_undefined__",a=Object.prototype,u=a.hasOwnProperty;function s(c){var p=this.__data__;if(r){var f=p[c];return f===n?void 0:f}return u.call(p,c)?p[c]:void 0}i(s,"hashGet"),t.exports=s}),J1=l((e,t)=>{var r=Hi(),n=Object.prototype,a=n.hasOwnProperty;function u(s){var c=this.__data__;return r?c[s]!==void 0:a.call(c,s)}i(u,"hashHas"),t.exports=u}),Q1=l((e,t)=>{var r=Hi(),n="__lodash_hash_undefined__";function a(u,s){var c=this.__data__;return this.size+=this.has(u)?0:1,c[u]=r&&s===void 0?n:s,this}i(a,"hashSet"),t.exports=a}),eT=l((e,t)=>{var r=V1(),n=H1(),a=X1(),u=J1(),s=Q1();function c(p){var f=-1,d=p==null?0:p.length;for(this.clear();++f{var r=eT(),n=Ki(),a=ju();function u(){this.size=0,this.__data__={hash:new r,map:new(a||n),string:new r}}i(u,"mapCacheClear"),t.exports=u}),sT=l((e,t)=>{function r(n){var a=typeof n;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?n!=="__proto__":n===null}i(r,"isKeyable"),t.exports=r}),Wi=l((e,t)=>{var r=sT();function n(a,u){var s=a.__data__;return r(u)?s[typeof u=="string"?"string":"hash"]:s.map}i(n,"getMapData"),t.exports=n}),oT=l((e,t)=>{var r=Wi();function n(a){var u=r(this,a).delete(a);return this.size-=u?1:0,u}i(n,"mapCacheDelete"),t.exports=n}),cT=l((e,t)=>{var r=Wi();function n(a){return r(this,a).get(a)}i(n,"mapCacheGet"),t.exports=n}),fT=l((e,t)=>{var r=Wi();function n(a){return r(this,a).has(a)}i(n,"mapCacheHas"),t.exports=n}),ET=l((e,t)=>{var r=Wi();function n(a,u){var s=r(this,a),c=s.size;return s.set(a,u),this.size+=s.size==c?0:1,this}i(n,"mapCacheSet"),t.exports=n}),Uu=l((e,t)=>{var r=nT(),n=oT(),a=cT(),u=fT(),s=ET();function c(p){var f=-1,d=p==null?0:p.length;for(this.clear();++f{var r=Ki(),n=ju(),a=Uu(),u=200;function s(c,p){var f=this.__data__;if(f instanceof r){var d=f.__data__;if(!n||d.length{var r=Ki(),n=g1(),a=S1(),u=C1(),s=O1(),c=DT();function p(f){var d=this.__data__=new r(f);this.size=d.size}i(p,"Stack"),p.prototype.clear=n,p.prototype.delete=a,p.prototype.get=u,p.prototype.has=s,p.prototype.set=c,t.exports=p}),xT=l((e,t)=>{var r="__lodash_hash_undefined__";function n(a){return this.__data__.set(a,r),this}i(n,"setCacheAdd"),t.exports=n}),gT=l((e,t)=>{function r(n){return this.__data__.has(n)}i(r,"setCacheHas"),t.exports=r}),ST=l((e,t)=>{var r=Uu(),n=xT(),a=gT();function u(s){var c=-1,p=s==null?0:s.length;for(this.__data__=new r;++c{function r(n,a){for(var u=-1,s=n==null?0:n.length;++u{function r(n,a){return n.has(a)}i(r,"cacheHas"),t.exports=r}),Al=l((e,t)=>{var r=ST(),n=CT(),a=OT(),u=1,s=2;function c(p,f,d,m,y,g){var A=d&u,w=p.length,te=f.length;if(w!=te&&!(A&&te>w))return!1;var X=g.get(p),F=g.get(f);if(X&&F)return X==f&&F==p;var Y=-1,T=!0,K=d&s?new r:void 0;for(g.set(p,f),g.set(f,p);++Y{var r=vt(),n=r.Uint8Array;t.exports=n}),RT=l((e,t)=>{function r(n){var a=-1,u=Array(n.size);return n.forEach(function(s,c){u[++a]=[c,s]}),u}i(r,"mapToArray"),t.exports=r}),qT=l((e,t)=>{function r(n){var a=-1,u=Array(n.size);return n.forEach(function(s){u[++a]=s}),u}i(r,"setToArray"),t.exports=r}),GT=l((e,t)=>{var r=Li(),n=_T(),a=ml(),u=Al(),s=RT(),c=qT(),p=1,f=2,d="[object Boolean]",m="[object Date]",y="[object Error]",g="[object Map]",A="[object Number]",w="[object RegExp]",te="[object Set]",X="[object String]",F="[object Symbol]",Y="[object ArrayBuffer]",T="[object DataView]",K=r?r.prototype:void 0,V=K?K.valueOf:void 0;function de(ie,D,O,M,ee,G,Q){switch(O){case T:if(ie.byteLength!=D.byteLength||ie.byteOffset!=D.byteOffset)return!1;ie=ie.buffer,D=D.buffer;case Y:return!(ie.byteLength!=D.byteLength||!G(new n(ie),new n(D)));case d:case m:case A:return a(+ie,+D);case y:return ie.name==D.name&&ie.message==D.message;case w:case X:return ie==D+"";case g:var ce=s;case te:var he=M&p;if(ce||(ce=c),ie.size!=D.size&&!he)return!1;var ye=Q.get(ie);if(ye)return ye==D;M|=f,Q.set(ie,D);var ve=u(ce(ie),ce(D),M,ee,G,Q);return Q.delete(ie),ve;case F:if(V)return V.call(ie)==V.call(D)}return!1}i(de,"equalByTag"),t.exports=de}),UT=l((e,t)=>{function r(n,a){for(var u=-1,s=a.length,c=n.length;++u{var r=UT(),n=St();function a(u,s,c){var p=s(u);return n(u)?p:r(p,c(u))}i(a,"baseGetAllKeys"),t.exports=a}),HT=l((e,t)=>{function r(){return[]}i(r,"stubArray"),t.exports=r}),$T=l((e,t)=>{var r=al(),n=HT(),a=Object.prototype,u=a.propertyIsEnumerable,s=Object.getOwnPropertySymbols,c=s?function(p){return p==null?[]:(p=Object(p),r(s(p),function(f){return u.call(p,f)}))}:n;t.exports=c}),zT=l((e,t)=>{var r=VT(),n=$T(),a=Gu();function u(s){return r(s,a,n)}i(u,"getAllKeys"),t.exports=u}),eg=l((e,t)=>{var r=zT(),n=1,a=Object.prototype,u=a.hasOwnProperty;function s(c,p,f,d,m,y){var g=f&n,A=r(c),w=A.length,te=r(p),X=te.length;if(w!=X&&!g)return!1;for(var F=w;F--;){var Y=A[F];if(!(g?Y in p:u.call(p,Y)))return!1}var T=y.get(c),K=y.get(p);if(T&&K)return T==p&&K==c;var V=!0;y.set(c,p),y.set(p,c);for(var de=g;++F{var r=Hr(),n=vt(),a=r(n,"DataView");t.exports=a}),ig=l((e,t)=>{var r=Hr(),n=vt(),a=r(n,"Promise");t.exports=a}),ug=l((e,t)=>{var r=Hr(),n=vt(),a=r(n,"Set");t.exports=a}),og=l((e,t)=>{var r=Hr(),n=vt(),a=r(n,"WeakMap");t.exports=a}),hg=l((e,t)=>{var r=rg(),n=ju(),a=ig(),u=ug(),s=og(),c=Bn(),p=Dl(),f="[object Map]",d="[object Object]",m="[object Promise]",y="[object Set]",g="[object WeakMap]",A="[object DataView]",w=p(r),te=p(n),X=p(a),F=p(u),Y=p(s),T=c;(r&&T(new r(new ArrayBuffer(1)))!=A||n&&T(new n)!=f||a&&T(a.resolve())!=m||u&&T(new u)!=y||s&&T(new s)!=g)&&(T=i(function(K){var V=c(K),de=V==d?K.constructor:void 0,ie=de?p(de):"";if(ie)switch(ie){case w:return A;case te:return f;case X:return m;case F:return y;case Y:return g}return V},"getTag")),t.exports=T}),Sg=l((e,t)=>{var r=yl(),n=Al(),a=GT(),u=eg(),s=hg(),c=St(),p=ll(),f=fl(),d=1,m="[object Arguments]",y="[object Array]",g="[object Object]",A=Object.prototype,w=A.hasOwnProperty;function te(X,F,Y,T,K,V){var de=c(X),ie=c(F),D=de?y:s(X),O=ie?y:s(F);D=D==m?g:D,O=O==m?g:O;var M=D==g,ee=O==g,G=D==O;if(G&&p(X)){if(!p(F))return!1;de=!0,M=!1}if(G&&!M)return V||(V=new r),de||f(X)?n(X,F,Y,T,K,V):a(X,F,D,Y,T,K,V);if(!(Y&d)){var Q=M&&w.call(X,"__wrapped__"),ce=ee&&w.call(F,"__wrapped__");if(Q||ce){var he=Q?X.value():X,ye=ce?F.value():F;return V||(V=new r),K(he,ye,Y,T,V)}}return G?(V||(V=new r),u(X,F,Y,T,K,V)):!1}i(te,"baseIsEqualDeep"),t.exports=te}),Bl=l((e,t)=>{var r=Sg(),n=On();function a(u,s,c,p,f){return u===s?!0:u==null||s==null||!n(u)&&!n(s)?u!==u&&s!==s:r(u,s,c,p,a,f)}i(a,"baseIsEqual"),t.exports=a}),bg=l((e,t)=>{var r=yl(),n=Bl(),a=1,u=2;function s(c,p,f,d){var m=f.length,y=m,g=!d;if(c==null)return!y;for(c=Object(c);m--;){var A=f[m];if(g&&A[2]?A[1]!==c[A[0]]:!(A[0]in c))return!1}for(;++m{var r=Mu();function n(a){return a===a&&!r(a)}i(n,"isStrictComparable"),t.exports=n}),Ig=l((e,t)=>{var r=Ol(),n=Gu();function a(u){for(var s=n(u),c=s.length;c--;){var p=s[c],f=u[p];s[c]=[p,f,r(f)]}return s}i(a,"getMatchData"),t.exports=a}),bl=l((e,t)=>{function r(n,a){return function(u){return u==null?!1:u[n]===a&&(a!==void 0||n in Object(u))}}i(r,"matchesStrictComparable"),t.exports=r}),qg=l((e,t)=>{var r=bg(),n=Ig(),a=bl();function u(s){var c=n(s);return c.length==1&&c[0][2]?a(c[0][0],c[0][1]):function(p){return p===s||r(p,s,c)}}i(u,"baseMatches"),t.exports=u}),Ku=l((e,t)=>{var r=St(),n=Pu(),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;function s(c,p){if(r(c))return!1;var f=typeof c;return f=="number"||f=="symbol"||f=="boolean"||c==null||n(c)?!0:u.test(c)||!a.test(c)||p!=null&&c in Object(p)}i(s,"isKey"),t.exports=s}),Mg=l((e,t)=>{var r=Uu(),n="Expected a function";function a(u,s){if(typeof u!="function"||s!=null&&typeof s!="function")throw new TypeError(n);var c=i(function(){var p=arguments,f=s?s.apply(this,p):p[0],d=c.cache;if(d.has(f))return d.get(f);var m=u.apply(this,p);return c.cache=d.set(f,m)||d,m},"memoized");return c.cache=new(a.Cache||r),c}i(a,"memoize"),a.Cache=r,t.exports=a}),jg=l((e,t)=>{var r=Mg(),n=500;function a(u){var s=r(u,function(p){return c.size===n&&c.clear(),p}),c=s.cache;return s}i(a,"memoizeCapped"),t.exports=a}),Yg=l((e,t)=>{var r=jg(),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,u=r(function(s){var c=[];return s.charCodeAt(0)===46&&c.push(""),s.replace(n,function(p,f,d,m){c.push(d?m.replace(a,"$1"):f||p)}),c});t.exports=u}),_l=l((e,t)=>{var r=St(),n=Ku(),a=Yg(),u=wu();function s(c,p){return r(c)?c:n(c,p)?[c]:a(u(c))}i(s,"castPath"),t.exports=s}),Xi=l((e,t)=>{var r=Pu(),n=1/0;function a(u){if(typeof u=="string"||r(u))return u;var s=u+"";return s=="0"&&1/u==-n?"-0":s}i(a,"toKey"),t.exports=a}),Il=l((e,t)=>{var r=_l(),n=Xi();function a(u,s){s=r(s,u);for(var c=0,p=s.length;u!=null&&c{var r=Il();function n(a,u,s){var c=a==null?void 0:r(a,u);return c===void 0?s:c}i(n,"get"),t.exports=n}),Jg=l((e,t)=>{function r(n,a){return n!=null&&a in Object(n)}i(r,"baseHasIn"),t.exports=r}),Qg=l((e,t)=>{var r=_l(),n=ol(),a=St(),u=cl(),s=ku(),c=Xi();function p(f,d,m){d=r(d,f);for(var y=-1,g=d.length,A=!1;++y{var r=Jg(),n=Qg();function a(u,s){return u!=null&&n(u,s,r)}i(a,"hasIn"),t.exports=a}),rv=l((e,t)=>{var r=Bl(),n=Xg(),a=ev(),u=Ku(),s=Ol(),c=bl(),p=Xi(),f=1,d=2;function m(y,g){return u(y)&&s(g)?c(p(y),g):function(A){var w=n(A,y);return w===void 0&&w===g?a(A,y):r(g,w,f|d)}}i(m,"baseMatchesProperty"),t.exports=m}),iv=l((e,t)=>{function r(n){return n}i(r,"identity"),t.exports=r}),uv=l((e,t)=>{function r(n){return function(a){return a?.[n]}}i(r,"baseProperty"),t.exports=r}),ov=l((e,t)=>{var r=Il();function n(a){return function(u){return r(u,a)}}i(n,"basePropertyDeep"),t.exports=n}),cv=l((e,t)=>{var r=uv(),n=ov(),a=Ku(),u=Xi();function s(c){return a(c)?r(u(c)):n(c)}i(s,"property"),t.exports=s}),fv=l((e,t)=>{var r=qg(),n=rv(),a=iv(),u=St(),s=cv();function c(p){return typeof p=="function"?p:p==null?a:typeof p=="object"?u(p)?n(p[0],p[1]):r(p):s(p)}i(c,"baseIteratee"),t.exports=c}),Ev=l((e,t)=>{var r=al(),n=a1(),a=fv(),u=St();function s(c,p){var f=u(c)?r:n;return f(c,a(p,3))}i(s,"filter"),t.exports=s}),dG={};Kl(dG,{EXPRESSION_NEEDED:()=>U,FILTER_BLOCK:()=>Wn,GROUP_TOP_LEVEL_LOGICAL:()=>Ar,INSIDE_OF_STRING:()=>Et,IS_ROOT_LOGICAL_EXPRESSION:()=>xr,NEWLINES_ONLY:()=>Xn,OVERRIDE_QUOTE_CHAR:()=>Hn,PRESERVE_LEADING_WHITESPACE:()=>Dr,PRESERVE_TRAILING_WHITESPACE:()=>yr,STRING_NEEDS_QUOTES:()=>q,countNewlines:()=>st,createTextGroups:()=>Uo,findParentNode:()=>ur,firstValueInAncestorChain:()=>yt,getDeepProperty:()=>Fi,hasAtLeastTwoNewlines:()=>gw,hasNoNewlines:()=>Su,indentWithHardline:()=>An,isContractableNodeType:()=>vi,isEmptySequence:()=>Yo,isHtmlCommentEqualTo:()=>Ci,isInlineElement:()=>Oi,isMelodyNode:()=>hn,isMultipartExpression:()=>Si,isNotExpression:()=>Mo,isRootNode:()=>jo,isTwigCommentEqualTo:()=>Bi,isValidIdentifierName:()=>Go,isWhitespaceNode:()=>Dn,isWhitespaceOnly:()=>Rr,languages:()=>nG,normalizeHtmlComment:()=>Bu,normalizeTwigComment:()=>Ou,options:()=>fG,parsers:()=>aG,printChildBlock:()=>Pe,printChildGroups:()=>xn,printers:()=>pG,quoteChar:()=>mn,registerContractableNodeType:()=>xw,removeSurroundingWhitespace:()=>yn,setDeepProperty:()=>Ay,shouldExpressionsBeWrapped:()=>gu,someParentNode:()=>Tu,stripHtmlCommentChars:()=>Fu,stripTwigCommentChars:()=>Cu,testCurrentAndParentNodes:()=>Tw,testCurrentNode:()=>my,walkParents:()=>Ey,wrapExpressionIfNeeded:()=>ke,wrapInEnvironment:()=>hy,wrapInStringInterpolation:()=>vu});module.exports=HS(dG);function jn(e){if(typeof e!="string"){if(Array.isArray(e)){for(let t of e)jn(t);return}if(!(e&&typeof e.type=="string"))throw new Error("Value "+JSON.stringify(e)+" is not a valid document")}}i(jn,"assertDoc");function E(e){if(process.env.NODE_ENV!=="production")for(let t of e)jn(t);return{type:"concat",parts:e}}i(E,"concat");function I(e){return process.env.NODE_ENV!=="production"&&jn(e),{type:"indent",contents:e}}i(I,"indent");function C(e,t={}){return process.env.NODE_ENV!=="production"&&jn(e),{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}i(C,"group");function $r(e){if(process.env.NODE_ENV!=="production")for(let t of e)jn(t);return{type:"fill",parts:e}}i($r,"fill");var Wl={type:"break-parent"},WS={type:"line",hard:!0},XS={type:"line",hard:!0,literal:!0},B={type:"line"},ne={type:"line",soft:!0},P=E([WS,Wl]),mG=E([XS,Wl]),hG={type:"cursor",placeholder:Symbol("cursor")};function Ee(e,t){let r=[];for(let n=0;ne.twigMelodyPlugins&&Array.isArray(e.twigMelodyPlugins)?e.twigMelodyPlugins.map(t=>t.trim()):[],"getPluginPathsFromOptions"),LF=i(()=>{let e=__dirname.split(rs.default.sep),t=e.length-1,r=e[t];for(;r!=="node_modules"&&t>0;)t--,r=e[t];t===0&&(t=e.length-2);let n=e.slice(0,t),a=rs.default.join(...n),u=__dirname.indexOf(a);return __dirname.slice(0,u)+a},"getProjectRoot"),kF=i(pluginPath=>{try{let projectRoot=LF(),requirePath=Oc.default.sync(rs.default.resolve(projectRoot,pluginPath));return eval("require")(requirePath)}catch(e){console.error("Could not load plugin path "+pluginPath);return}},"tryLoadPlugin"),ia=i(e=>{let t=[];return e&&Array.isArray(e)&&e.forEach(r=>{let n=kF(r);n&&t.push(n)}),t},"loadPlugins"),bc=i(e=>{let t=[];return ia(e).forEach(r=>{t=t.concat(r.melodyExtensions)}),t.filter(r=>!!r)},"getAdditionalMelodyExtensions"),q=Symbol("STRING_NEEDS_QUOTES"),Hn=Symbol("OVERRIDE_QUOTE_CHAR"),U=Symbol("EXPRESSION_NEEDED"),Et=Symbol("INSIDE_OF_STRING"),Wn=Symbol("FILTER_BLOCK"),Dr=Symbol("PRESERVE_LEADING_WHITESPACE"),yr=Symbol("PRESERVE_TRAILING_WHITESPACE"),Xn=Symbol("NEWLINES_ONLY"),Ar=Symbol("GROUP_TOP_LEVEL_LOGICAL"),xr=Symbol("IS_ROOT_LOGICAL_EXPRESSION"),Be=W(re()),Aw=["title","h1","h2","h3","h4","h5","h6","a","abbr","acronym","b","bdo","big","br","button","cite","code","dd","dfn","em","i","img","kbd","label","mark","q","s","u","samp","strike","strong","sup","sub","small","span","time","tt","var"],ko=["ObjectExpression","BinaryExpression","ConditionalExpression","ArrayExpression"],xw=i(e=>{ko.push(e)},"registerContractableNodeType"),vi=i(e=>{for(let t=0;tBe.Node.isUnaryLike(e)&&e.operator==="not","isNotExpression"),Si=i(e=>Be.Node.isBinaryExpression(e)||Be.Node.isConditionalExpression(e)||Be.Node.isUnaryLike(e),"isMultipartExpression"),Ey=i((e,t,r=!1)=>{let n=e.stack.length-1;for(r||(n-=1);n>=0;){let a=e.stack[n];if(hn(a)&&t(a)===!1)return;n--}},"walkParents"),yt=i((e,t,r)=>{let n=e.stack.length-2;for(;n>=0;){let a=e.stack[n];if(hn(a)&&a[t]!==void 0)return a[t];n--}return r},"firstValueInAncestorChain"),mn=i(e=>e&&e.twigSingleQuote?"'":'"',"quoteChar"),Go=i(e=>typeof e=="string"&&/^[A-Z][0-9A-Z_$]*$/i.test(e),"isValidIdentifierName"),hn=i(e=>{let t=e.__proto__;return typeof e=="object"&&t.type&&typeof Be.Node["is"+t.type]=="function"},"isMelodyNode"),ur=i(e=>{let t=e.stack.length-2;for(;t>=0;){let r=e.stack[t];if(hn(r))return r;t--}return null},"findParentNode"),jo=i(e=>ur(e)===null,"isRootNode"),Tw=i((e,t)=>my(e,t)||Tu(e,t),"testCurrentAndParentNodes"),my=i((e,t)=>{let r=e.stack.length-1;if(r>=0){let n=e.stack[r];return hn(n)&&t(n)}return!1},"testCurrentNode"),Tu=i((e,t)=>{let r=e.stack.length-2;for(;r>=0;){let n=e.stack[r];if(hn(n)&&t(n))return!0;r--}return!1},"someParentNode"),gu=i(e=>{let t=!1;return Ey(e,r=>{if(r.tagName!=null)return!1;if(r[Et]===!0)return t=Et,!1;if(r[U]===!0)return t=U,!1;if(r[U]===!1||r[Et]===!1)return!1}),t},"shouldExpressionsBeWrapped"),ke=i((e,t,r={})=>{let n=gu(e);return n===U?hy(t,r.trimLeft,r.trimRight):n===Et&&vu(t),t},"wrapExpressionIfNeeded"),hy=i((e,t=!1,r=!1)=>{let n=t?"{{-":"{{",a=r?"-}}":"}}";e.unshift(n,B),e.push(B,a)},"wrapInEnvironment"),vu=i(e=>{e.unshift("#{"),e.push("}")},"wrapInStringInterpolation"),Rr=i(e=>typeof e=="string"&&e.trim()==="","isWhitespaceOnly"),st=i(e=>(e.match(/\n/g)||"").length,"countNewlines"),Su=i(e=>st(e)===0,"hasNoNewlines"),gw=i(e=>st(e)>=2,"hasAtLeastTwoNewlines"),Dy=i(e=>e.split(/([\s\n]+)/gm),"splitByWhitespace"),yy=i((e,t=" ")=>Dy(e).filter(r=>!Rr(r)).join(t),"unifyWhitespace"),vw=i(e=>{let t=st(e);return t>0?t>1?[P,P]:[P]:[B]},"normalizeWhitespace"),Uo=i((e,t,r)=>{let n=Dy(e),a=[],u=[],s=n.length;return n.forEach((c,p)=>{if(c!=="")if(Rr(c)){let f=a.length===0&&u.length===0,d=p===s-1||p===s-2&&n[s-1]==="";f&&t||d&&r?u.push(...vw(c)):!f&&!d&&(st(c)<=1?u.push(B):(a.push(u),u=[]))}else u.push(c)}),u.length>0&&a.push(u),a.map(c=>$r(c))},"createTextGroups"),Dn=i(e=>Be.Node.isPrintTextStatement(e)&&Rr(e.value.value)||Be.Node.isStringLiteral(e)&&Rr(e.value),"isWhitespaceNode"),Yo=i(e=>Be.Node.isSequenceExpression(e)&&e.expressions.length===0,"isEmptySequence"),yn=i(e=>{if(!Array.isArray(e))return e;let t=[];return e.forEach((r,n)=>{(n===0||n===e.length-1)&&Dn(r)||t.push(r)}),t},"removeSurroundingWhitespace"),Fi=i((e,...t)=>{let r=e;return t.forEach(n=>{r=r[n]}),r},"getDeepProperty"),Ay=i((e,t,...r)=>{let n=e,a=r.length;for(let u=0;u{let a=Fi(e,...n);Ay(e,yn(a),...n);let u=xn(e,t,r,...n);return I(C(E([P,...u])))},"printChildBlock"),Sw=i(e=>{e.length>0&&e.push(P)},"addNewlineIfNotEmpty"),Fw=i(e=>e.endsWith("-->"),"endsWithHtmlComment"),Cw=i((e,t)=>r=>{let n=r;return n.startsWith(e)&&(n=n.slice(e.length)),n.endsWith(t)&&(n=n.slice(0,0-t.length)),n},"stripCommentChars"),Fu=Cw(""),Cu=i(e=>{let t=e;return t.startsWith("{#")&&(t=t.slice(2)),t.startsWith("-")&&(t=t.slice(1)),t.endsWith("#}")&&(t=t.slice(0,-2)),t.endsWith("-")&&(t=t.slice(0,-1)),t},"stripTwigCommentChars"),Bu=i(e=>{let t=Fu(e);return""},"normalizeHtmlComment"),Ou=i((e,t,r)=>{let n=Cu(e),a=t?"{#-":"{#",u=r?"-#}":"#}";return a+" "+yy(n)+" "+u},"normalizeTwigComment"),Ci=i(e=>t=>t.constructor.name==="HtmlComment"&&t.value.value&&Bu(t.value.value)==="","isHtmlCommentEqualTo"),Bi=i(e=>t=>t.constructor.name==="TwigComment"&&t.value.value&&Ou(t.value.value)==="{# "+e+" #}","isTwigCommentEqualTo"),Bw=i(e=>{if(!Be.Node.isPrintTextStatement(e))return!1;let t=typeof e.value.value=="string"&&e.value.value.trim();return!Fw(t)},"isInlineTextStatement"),Oi=i(e=>Be.Node.isElement(e)&&Aw.indexOf(e.name)>=0||Be.Node.isPrintExpressionStatement(e)||Bw(e),"isInlineElement"),dy=i(e=>Be.Node.isTwigComment(e)||Be.Node.isHtmlComment(e),"isCommentNode"),Ow=i(e=>e.map(t=>Oi(t)),"createInlineMap"),bw=i(e=>{e.forEach(t=>{Be.Node.isPrintTextStatement(t)&&(t[Xn]=!0)})},"textStatementsOnlyNewlines"),Nw=i((e,t)=>{t.forEach((r,n)=>{let a=n>0&&dy(t[n-1]),u=n0&&e[n-1]||a)&&(r[Dr]=!0),(nI(E([P,e])),"indentWithHardline"),xn=i((e,t,r,...n)=>{let a=Fi(e,...n),u=Ow(a);Nw(u,a),bw(a);let s=t.map(r,...n),c=[],p=[];return s.forEach((f,d)=>{u[d]?c.push(f):(c.length>0&&(p.push($r(c)),c=[]),p.length>0&&!u[d-1]&&Sw(p),p.push(f))}),c.length>0&&p.push($r(c)),p},"printChildGroups"),xy=W(re()),_w={",":!0},Ty=i((e,t,r)=>{let n=[e.trimLeft?"{%-":"{%"," ",e.tagName],a=t.map(r,"parts");a.length>0&&n.push(" ",a[0]);let u=[];for(let c=1;c1&&n.push(I(E(u)));let s=e.trimRight?"-%}":"%}";return n.push(B,s),C(E(n))},"printSingleTwigTag"),gy=i((e,t,r)=>{e[q]=!1,e.expressions=yn(e.expressions);let n=xn(e,t,r,"expressions");return jo(t)?E([...n,P]):E(n)},"printSequenceExpression"),dr=W(re()),Se=W(re()),S=W(re()),$=Symbol(),Iw=Symbol();function R(e,{pos:{index:t,line:r,column:n}}){return e.loc.start={line:r,column:n,index:t},e}i(R,"setStartFromToken");function b(e,{pos:{line:t,column:r},end:n}){return e.loc.end={line:t,column:r,index:n},e}i(b,"setEndFromToken");function Vo(e,t,{pos:{index:r,line:n,column:a}}){return e[t]={line:n,column:a,index:r},e}i(Vo,"setMarkFromToken");function Ye(e,{loc:{start:{line:t,column:r,index:n}}}){return e.loc.start.line=t,e.loc.start.column=r,e.loc.start.index=n,e}i(Ye,"copyStart");function qe(e,t){return e.loc.end.line=t.loc.end.line,e.loc.end.column=t.loc.end.column,e.loc.end.index=t.loc.end.index,e}i(qe,"copyEnd");function Tn(e,{loc:{start:t,end:r}}){return e.loc.start.line=t.line,e.loc.start.column=t.column,e.loc.start.index=t.index,e.loc.end.line=r.line,e.loc.end.column=r.column,e.loc.end.index=r.index,e}i(Tn,"copyLoc");function _(e,t,...r){return b(R(new e(...r),t),t)}i(_,"createNode");function se(e){return e.text.endsWith("-")}i(se,"hasTagStartTokenTrimLeft");function ue(e){return e.text.startsWith("-")}i(ue,"hasTagEndTokenTrimRight");var h={};Kl(h,{ASSIGNMENT:()=>Lr,COLON:()=>ot,COMMA:()=>cr,COMMENT:()=>wt,DECLARATION_START:()=>bi,DOT:()=>Fn,ELEMENT_END:()=>lt,ELEMENT_START:()=>kr,ENTITY:()=>_i,EOF:()=>We,EOF_TOKEN:()=>Gr,ERROR:()=>Cn,ERROR_TABLE:()=>bu,EXPRESSION_END:()=>Ve,EXPRESSION_START:()=>Ze,FALSE:()=>Ri,HTML_COMMENT:()=>Pr,INTERPOLATION_END:()=>vn,INTERPOLATION_START:()=>gn,LBRACE:()=>wr,LBRACKET:()=>Sn,LPAREN:()=>Tt,NULL:()=>Pi,NUMBER:()=>Mr,OPERATOR:()=>qr,PIPE:()=>pr,QUESTION_MARK:()=>qi,RBRACE:()=>at,RBRACKET:()=>lr,RPAREN:()=>or,SLASH:()=>gt,STRING:()=>xt,STRING_END:()=>At,STRING_START:()=>tt,SYMBOL:()=>be,TAG_END:()=>et,TAG_START:()=>ut,TEXT:()=>ar,TRUE:()=>Ii,WHITESPACE:()=>Ni});var Ze="expressionStart",Ve="expressionEnd",ut="tagStart",et="tagEnd",gn="interpolationStart",vn="interpolationEnd",tt="stringStart",At="stringEnd",bi="declarationStart",wt="comment",Ni="whitespace",Pr="htmlComment",ar="text",_i="entity",be="symbol",xt="string",qr="operator",Ii="true",Ri="false",Pi="null",wr="[",at="]",Tt="(",or=")",Sn="{",lr="}",ot=":",cr=",",Fn=".",pr="|",qi="?",Lr="=",kr="<",gt="/",lt=">",Mr="number",We="EOF",Cn="ERROR",Gr={type:We,pos:{index:-1,line:-1,pos:-1},end:-1,length:0,source:null,text:""},bu={[Ve]:'expression end "}}"',[Ze]:'expression start "{{"',[ut]:'tag start "{%"',[et]:'tag end "%}"',[gn]:'interpolation start "#{"',[vn]:'interpolation end "}"'},Nu=W(re()),wi={name:"genericTwigTag",parse(e){let t=e.tokens,r=t.la(-2),n,a=new Nu.GenericTwigTag(t.la(-1).text);for(;(n=t.la(0))&&n.type!==et;)try{a.parts.push(e.matchExpression())}catch(u){if(u.errorType==="UNEXPECTED_TOKEN")a.parts.push(new Nu.GenericToken(u.tokenType,u.tokenText)),t.next();else throw u}return t.expect(et),a.trimLeft=se(r),a.trimRight=ue(n),a}},Rw=i((e,t)=>{for(let r=0;r({name:"genericTwigMultiTag",parse(r,n){let a=r.tokens,u=a.la(-1);t.length===0&&t.push("end"+e);let s=wi.parse(r,n),c=e,p=t[t.length-1];for(;c!==p;){s.sections.push(r.parse((d,m,y)=>m.type===ut&&Rw(y,t))),a.next();let f=wi.parse(r);s.sections.push(f),c=f.tagName}return R(s,u),b(s,a.la(0)),s}}),"createMultiTagParser"),Sy={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},_u=Symbol(),Ko=Symbol(),Iu=Symbol(),Ru=Symbol(),jr=class{constructor(e,t){this.tokens=e,this[_u]={},this[Ko]={},this[Iu]={},this[Ru]={},this.options=Object.assign({},{ignoreComments:!0,ignoreHtmlComments:!0,ignoreDeclarations:!0,decodeEntities:!0,preserveSourceLiterally:!1,allowUnknownTags:!1,multiTags:{}},t),Object.keys(this.options.multiTags).length>0&&(this.options.allowUnknownTags=!0)}applyExtension(e){if(e.tags)for(let t of e.tags)this.addTag(t);if(e.unaryOperators)for(let t of e.unaryOperators)this.addUnaryOperator(t);if(e.binaryOperators)for(let t of e.binaryOperators)this.addBinaryOperator(t);if(e.tests)for(let t of e.tests)this.addTest(t)}addUnaryOperator(e){return this[_u][e.text]=e,this}addBinaryOperator(e){return this[Ko][e.text]=e,this}addTag(e){return this[Iu][e.name]=e,this}addTest(e){this[Ru][e.text]=e}hasTest(e){return!!this[Ru][e]}getTest(e){return this[Ru][e]}isUnary(e){return e.type===qr&&!!this[_u][e.text]}getBinaryOperator(e){return e.type===qr&&this[Ko][e.text]}parse(e=null){let t=this.tokens,r=R(new S.SequenceExpression,t.la(0));for(;!t.test(We);){let n=t.next();if(r||(r=R(new S.SequenceExpression,n)),e&&e(t.la(0).text,n,t))return b(r,n),r;switch(n.type){case Ze:{let a=this.matchExpression(),u=new S.PrintExpressionStatement(a),s=t.expect(Ve);R(u,n),b(u,s),b(r,s),u.trimLeft=!!a.trimLeft,u.trimRight=!!a.trimRight,r.add(u);break}case ut:r.add(this.matchTag());break;case ar:{let a=_(S.StringLiteral,n,n.text),u=_(S.PrintTextStatement,n,a);r.add(u);break}case _i:{let a=_(S.StringLiteral,n,n.text),u=_(S.PrintTextStatement,n,a);r.add(u);break}case kr:r.add(this.matchElement());break;case bi:{let a=this.matchDeclaration();this.options.ignoreDeclarations||r.add(a);break}case wt:if(!this.options.ignoreComments){let a=_(S.StringLiteral,n,n.text),u=_(S.TwigComment,n,a);r.add(u)}break;case Pr:if(!this.options.ignoreHtmlComments){let a=_(S.StringLiteral,n,n.text),u=_(S.HtmlComment,n,a);r.add(u)}break}}return r}matchDeclaration(){let e=this.tokens,t=e.la(-1),r=null,n=null;(r=e.nextIf(be))||this.error({title:"Expected declaration start",pos:t.pos,advice:"After ', but not found",pos:t.pos,advice:"Script tag must have an end tag"});let{pos:{index:c,line:p,column:f}}=s,d=u.end-1,m={pos:{index:c,line:p,column:f},end:d},y=_(S.StringLiteral,m,e.input.input.input.slice(c,d)),g=_(S.PrintTextStatement,m,y);a.children.push(g)}else a.children=this.parse(function(u,s,c){if(s.type===kr&&c.lat(0)===gt){let p=c.la(1);if(p.type===be&&p.text===n.text)return c.next(),c.next(),c.expect(lt),!0}return!1}).expressions;return R(a,r),b(a,e.la(-1)),Vo(a,"elementNameLoc",t),a}matchAttributes(e,t){for(;t.lat(0)!==gt&&t.lat(0)!==lt;){let r=t.nextIf(be);if(r){let n=new S.Identifier(r.text);if(R(n,r),b(n,r),t.nextIf(Lr)){let a=t.expect(tt),u=!0,s=[],c;for(;!t.test(At);)if(u&&(c=t.nextIf(xt)))s[s.length]=_(S.StringLiteral,c,c.text),u=!1;else if(c=t.nextIf(Ze))s[s.length]=this.matchExpression(),t.expect(Ve),u=!0;else if(c=t.nextIf(ut))s[s.length]=this.matchTag(),u=!0;else break;if(t.expect(At),!s.length){let d=_(S.StringLiteral,a,"");s.push(d)}let p=s[0];for(let d=1,m=s.length;d1&&(p.wasImplicitConcatenation=!0);let f=new S.Attribute(n,p);Ye(f,n),qe(f,p),e.attributes.push(f)}else e.attributes.push(Tn(new S.Attribute(n),n))}else t.nextIf(Ze)?(e.attributes.push(this.matchExpression()),t.expect(Ve)):this.error({title:"Invalid token",pos:t.la(0).pos,advice:"A tag must consist of attributes or expressions. Twig Tags are not allowed."})}}error(e,t={}){this.tokens.error(e.title,e.pos,e.advice,1,t)}getGenericParserFor(e){return this.options.multiTags[e]?vy(e,this.options.multiTags[e]):wi}matchTag(){let e=this.tokens,t=e.la(-1),r=e.expect(be),n=this[Iu][r.text],a=!1;n||(this.options.allowUnknownTags?(n=this.getGenericParserFor(r.text),a=!0):e.error(`Unknown tag "${r.text}"`,r.pos,`Expected a known tag such as -- ${Object.getOwnPropertyNames(this[Iu]).join(` -- `)}`,r.length));let u=n.parse(this,r),s=e.la(-1);return a||(u.trimLeft=t.text.endsWith("-"),u.trimRight=s.text.startsWith("-")),R(u,t),b(u,s),Vo(u,"tagNameLoc",r),u}matchExpression(e=0){let t=this.tokens,r=t.la(0),n,a,u=!1;t.la(-1).type===Ze&&t.la(-1).text.endsWith("-")&&(u=!0);let s=this.getPrimary();for(;(n=t.la(0))&&n.type!==We&&(a=this.getBinaryOperator(n))&&a.precedence>=e;){let f=t.next();if(a.parse)s=a.parse(this,f,s);else{let d=this.matchExpression(a.associativity===$?a.precedence+1:a.precedence);s=a.createNode(n,s,d)}n=t.la(0)}var c=s;e===0&&(b(s,t.la(-1)),c=this.matchConditionalExpression(s),n=t.la(0)),n.type===Ve&&n.text.startsWith("-")&&(c.trimRight=!0),u&&(c.trimLeft=u);let p=t.la(-1);return R(c,r),b(c,p),c}getPrimary(){let e=this.tokens,t=e.la(0);if(this.isUnary(t)){let r=this[_u][t.text];e.next();let n=this.matchExpression(r.precedence);return this.matchPostfixExpression(r.createNode(t,n))}else if(e.test(Tt)){e.next();let r=this.matchExpression();return e.expect(or),this.matchPostfixExpression(r)}return this.matchPrimaryExpression()}matchPrimaryExpression(){let e=this.tokens,t=e.la(0),r;switch(t.type){case Pi:r=_(S.NullLiteral,e.next());break;case Ri:r=_(S.BooleanLiteral,e.next(),!1);break;case Ii:r=_(S.BooleanLiteral,e.next(),!0);break;case be:e.next(),e.test(Tt)?(r=new S.CallExpression(_(S.Identifier,t,t.text),this.matchArguments()),Ye(r,r.callee),b(r,e.la(-1))):r=_(S.Identifier,t,t.text);break;case Mr:r=_(S.NumericLiteral,t,Number(e.next()));break;case tt:r=this.matchStringExpression();break;default:t.type===wr?r=this.matchArray():t.type===Sn?r=this.matchMap():this.error({title:'Unexpected token "'+t.type+'" of value "'+t.text+'"',pos:t.pos},{errorType:"UNEXPECTED_TOKEN",tokenText:t.text,tokenType:t.type});break}return this.matchPostfixExpression(r)}matchStringExpression(){let e=!0,t,r=this.tokens,n=[],a=r.expect(tt);for(;!r.test(At);)if(e&&(t=r.nextIf(xt)))n[n.length]=_(S.StringLiteral,t,t.text),e=!1;else if(t=r.nextIf(gn))n[n.length]=this.matchExpression(),r.expect(vn),e=!0;else break;let u=r.expect(At);if(!n.length)return b(_(S.StringLiteral,a,""),u);let s=n[0];for(let c=1,p=n.length;c1&&(s.wasImplicitConcatenation=!0),R(s,a),b(s,u),s}matchConditionalExpression(e){let t=this.tokens,r=e,n,a;for(;t.nextIf(qi);){t.nextIf(ot)?(n=null,a=this.matchExpression()):(n=this.matchExpression(),t.nextIf(ot)?a=this.matchExpression():a=null);let{line:u,column:s}=r.loc.start;r=new S.ConditionalExpression(r,n,a),r.loc.start={line:u,column:s},qe(r,a||n)}return r}matchArray(){let e=this.tokens,t=new S.ArrayExpression,r=e.expect(wr);for(R(t,r);!e.test(at)&&!e.test(We)&&(t.elements.push(this.matchExpression()),!(!e.test(at)&&(e.expect(cr),e.test(at)))););return b(t,e.expect(at)),t}matchMap(){let e=this.tokens,t,r=new S.ObjectExpression,n=e.expect(Sn);for(R(r,n);!e.test(lr)&&!e.test(We);){let a=!1,u,s;e.test(tt)?(u=this.matchStringExpression(),S.is(u,"StringLiteral")||(a=!0)):(t=e.nextIf(be))?u=_(S.Identifier,t,t.text):(t=e.nextIf(Mr))?u=_(S.NumericLiteral,t,Number(t.text)):e.test(Tt)?(u=this.matchExpression(),a=!0):this.error({title:"Invalid map key",pos:e.la(0).pos,advice:"Key must be a string, symbol or a number but was "+e.next()}),e.expect(ot),s=this.matchExpression();let c=new S.ObjectProperty(u,s,a);if(Ye(c,u),qe(c,s),r.properties.push(c),!e.test(lr)&&(e.expect(cr),e.test(lr)))break}return b(r,e.expect(lr)),r}matchPostfixExpression(e){let t=this.tokens,r=e;for(;!t.test(We);)if(t.test(Fn)||t.test(wr))r=this.matchSubscriptExpression(r);else if(t.test(pr))t.next(),r=this.matchFilterExpression(r);else break;return r}matchSubscriptExpression(e){let t=this.tokens;if(t.next().type===Fn){let r=t.next(),n=!1,a;r.type===be?a=_(S.Identifier,r,r.text):r.type===Mr?(a=_(S.NumericLiteral,r,Number(r.text)),n=!0):this.error({title:"Invalid token",pos:r.pos,advice:"Expected number or symbol, found "+r+" instead"});let u=new S.MemberExpression(e,a,n);if(Ye(u,e),qe(u,a),t.test(Tt)){let s=new S.CallExpression(u,this.matchArguments());return Ye(s,u),b(s,t.la(-1)),s}return u}else{let r,n;if(t.test(ot)?(t.next(),n=null):(r=this.matchExpression(),t.test(ot)&&(n=r,r=null,t.next())),r)return b(Ye(new S.MemberExpression(e,r,!0),e),t.expect(at));{let a=new S.SliceExpression(e,n,t.test(at)?null:this.matchExpression());return Ye(a,e),b(a,t.expect(at)),a}}}matchFilterExpression(e){let t=this.tokens,r=e;for(;!t.test(We);){let a=t.expect(be),u=_(S.Identifier,a,a.text),s;var n=!1;t.test(Tt)?s=this.matchArguments():t.test(ot)?(s=this.matchDjangoFilterArguments(),n=!0):s=[];let c=new S.FilterExpression(r,u,s);if(Ye(c,r),c.arguments.length?qe(c,c.arguments[c.arguments.length-1]):qe(c,r),r=c,r.isDjango=n,!t.test(pr)||t.test(We))break;t.next()}return r}matchArguments(){let e=this.tokens,t=[];for(e.expect(Tt);!e.test(or)&&!e.test(We);){if(e.test(be)&&e.lat(1)===Lr){let r=e.next();e.next();let n=this.matchExpression(),a=new S.NamedArgumentExpression(_(S.Identifier,r,r.text),n);qe(a,n),t.push(a)}else t.push(this.matchExpression());if(!e.test(cr))return e.expect(or),t;e.expect(cr)}return e.expect(or),t}matchDjangoFilterArguments(){let e=this.tokens,t=[];for(e.expect(ot);!e.test(pr)&&!e.test(Ve)&&!e.test(et);)t.push(this.matchExpression());return e.expect([pr,Ve,et]),e.index--,t}};i(jr,"Parser");var Zo=W(vA()),bA=W(OA()),Lt=Symbol(),Qo=Symbol(),Ur=class{constructor(e,t){this.input=e,this.index=0;let r=Object.assign({},{ignoreComments:!0,ignoreHtmlComments:!0,ignoreWhitespace:!0,applyWhitespaceTrimming:!0},t);if(this[Lt]=p6(e,r),this[Qo]=this[Lt].length,this[Lt].length&&this[Lt][this[Lt].length-1].type===Cn){let n=this[Lt][this[Lt].length-1];this.error(n.message,n.pos,n.advice,n.endPos.index-n.pos.index||1)}}la(e){var t=this.index+e;return tt.text)),e.binaryOperators&&this.addOperators(...e.binaryOperators.map(t=>t.text))}reset(){this.input.reset(),this[Nn]=[ae.TEXT]}get source(){return this.input.source}addOperators(...e){this[Lu].push(...e),this[Lu].sort((t,r)=>t.length>r.length?-1:1)}get state(){return this[Nn][this[Nn].length-1]}pushState(e){this[Nn].push(e)}popState(){this[Nn].length--}createToken(e,t){let r=this.input,n=r.mark(),a=n.index;return{type:e,pos:t,endPos:n,end:a,length:a-t.index,source:r.input,text:r.input.substr(t.index,a-t.index),toString:function(){return this.text}}}next(){let e=this.input,t,r;for(;(r=e.la(0))!==we;){if(t=e.mark(),this.state!==ae.TEXT&&this.state!==ae.STRING_DOUBLE&&this.state!==ae.STRING_SINGLE&&this.state!==ae.ATTRIBUTE_VALUE&&el(r)){for(e.next();(r=e.la(0))!==we&&el(r);)e.next();return this.createToken(Ni,t)}if(r==="{"&&e.la(1)==="#")for(e.next(),e.next(),e.la(0)==="-"&&e.next();(r=e.la(0))!==we;){if(r==="#"&&e.la(1)==="}"||r==="-"&&e.la(1)==="#"&&e.la(2)==="}")return r==="-"&&e.next(),e.next(),e.next(),this.createToken(wt,t);e.next()}if(this.state===ae.TEXT){let n;if(r==="<"){if(e.la(1)==="{"||Yr(e.lac(1))||e.la(1)==="/")return e.next(),this.pushState(ae.ELEMENT),this.createToken(kr,t);if(e.la(1)==="!"&&e.la(2)==="-"&&e.la(3)==="-"){for(e.next(),e.next(),e.next(),e.next();(r=e.la(0))!==we;){if(r==="-"&&e.la(1)==="-"){e.next(),e.next(),!(r=e.next())===">"&&this.error("Unexpected end for HTML comment",e.mark(),`Expected comment to end with '>' but found '${r}' instead.`);break}e.next()}return this.createToken(Pr,t)}else return e.la(1)==="!"&&(Yr(e.lac(2))||el(e.la(2)))?(e.next(),e.next(),this.pushState(ae.DECLARATION),this.createToken(bi,t)):this.matchText(t)}else return r==="{"?this.matchExpressionToken(t):r==="&"&&(n=this.matchEntity(t))?n:this.matchText(t)}else{if(this.state===ae.EXPRESSION)return r==="}"&&e.la(1)==="}"||r==="-"&&e.la(1)==="}"&&e.la(2)==="}"?(r==="-"&&e.next(),e.next(),e.next(),this.popState(),this.createToken(Ve,t)):this.matchExpression(t);if(this.state===ae.TAG)return r==="%"&&e.la(1)==="}"||r==="-"&&e.la(1)==="%"&&e.la(2)==="}"?(r==="-"&&e.next(),e.next(),e.next(),this.popState(),this.createToken(et,t)):this.matchExpression(t);if(this.state===ae.STRING_SINGLE||this.state===ae.STRING_DOUBLE)return this.matchString(t,!0);if(this.state===ae.INTERPOLATION)return r==="}"?(e.next(),this.popState(),this.createToken(vn,t)):this.matchExpression(t);if(this.state===ae.ELEMENT)switch(r){case"/":return e.next(),this.createToken(gt,t);case"{":return this.matchExpressionToken(t);case">":return e.next(),this.popState(),this.createToken(lt,t);case'"':return e.next(),this.pushState(ae.ATTRIBUTE_VALUE),this.createToken(tt,t);case"=":return e.next(),this.createToken(Lr,t);default:return this.matchSymbol(t)}else{if(this.state===ae.ATTRIBUTE_VALUE)return r==='"'?(e.next(),this.popState(),this.createToken(At,t)):this.matchAttributeValue(t);if(this.state===ae.DECLARATION)switch(r){case">":return e.next(),this.popState(),this.createToken(lt,t);case'"':return e.next(),this.pushState(ae.STRING_DOUBLE),this.createToken(tt,t);case"{":return this.matchExpressionToken(t);default:return this.matchSymbol(t)}else return this.error(`Invalid state ${this.state}`,t)}}}return Gr}matchExpressionToken(e){let t=this.input;switch(t.la(1)){case"{":return t.next(),t.next(),this.pushState(ae.EXPRESSION),t.la(0)==="-"&&t.next(),this.createToken(Ze,e);case"%":return t.next(),t.next(),this.pushState(ae.TAG),t.la(0)==="-"&&t.next(),this.createToken(ut,e);case"#":return t.next(),t.next(),t.la(0)==="-"&&t.next(),this.matchComment(e);default:return this.matchText(e)}}matchExpression(e){let t=this.input,r=t.la(0);switch(r){case"'":return this.pushState(ae.STRING_SINGLE),t.next(),this.createToken(tt,e);case'"':return this.pushState(ae.STRING_DOUBLE),t.next(),this.createToken(tt,e);default:{if(Ft(t.lac(0)))return t.next(),this.matchNumber(e);if(r==="t"&&t.match("true")||r==="T"&&t.match("TRUE"))return this.createToken(Ii,e);if(r==="f"&&t.match("false")||r==="F"&&t.match("FALSE"))return this.createToken(Ri,e);if(r==="n"&&(t.match("null")||t.match("none"))||r==="N"&&(t.match("NULL")||t.match("NONE")))return this.createToken(Pi,e);let{longestMatchingOperator:n,longestMatchEndPos:a}=this.findLongestMatchingOperator(),u=t.lac(0);if(u===95||Yr(u)||Ft(u)){t.next();let s=this.matchSymbol(e);return s.text.length<=n.length?(t.rewind(a),this.createToken(qr,e)):s}else return n?(t.rewind(a),this.createToken(qr,e)):NA.hasOwnProperty(r)?(t.next(),this.createToken(NA[r],e)):r==="\xA0"?this.error("Unsupported token: Non-breaking space",e):this.error(`Unknown token ${r}`,e)}}}findLongestMatchingOperator(){let e=this.input,t=e.mark(),r="",n=null;for(let a=0,u=this[Lu],s=u.length;ar.length&&e.match(c)){let p=e.lac(0);(c.indexOf(" ")===-1||!(Yr(p)||Ft(p)))&&(r=c,n=e.mark()),e.rewind(t)}}return e.rewind(t),{longestMatchingOperator:r,longestMatchEndPos:n}}error(e,t,r=""){let n=this.createToken(Cn,t);return n.message=e,n.advice=r,n}matchEntity(e){let t=this.input;if(t.next(),t.la(0)==="#")if(t.next(),t.la(0)==="x"){t.next();let r=t.la(0);for(;"a"<=r&&r<="f"||"A"<=r&&r<="F"||Ft(t.lac(0));)t.next(),r=t.la(0);if(t.la(0)===";")t.next();else return t.rewind(e),null}else if(Ft(t.lac(0))){do t.next();while(Ft(t.lac(0)));if(t.la(0)===";")t.next();else return t.rewind(e),null}else return t.rewind(e),null;else{for(;Yr(t.lac(0));)t.next();if(t.la(0)===";")t.next();else return t.rewind(e),null}return this.createToken(_i,e)}matchSymbol(e){let t=this.input,r=this.state===ae.ELEMENT,n;for(;(n=t.lac(0))&&(n===95||Yr(n)||Ft(n)||r&&(n===45||n===58));)t.next();var a=t.mark();return e.index===a.index?this.error("Expected an Identifier",e,r?`Expected a valid attribute name, but instead found "${t.la(0)}", which is not part of a valid attribute name.`:`Expected letter, digit or underscore but found ${t.la(0)} instead.`):this.createToken(be,e)}matchString(e,t=!0){let r=this.input,n=this.state===ae.STRING_SINGLE?"'":'"',a;if(t&&r.la(0)==="#"&&r.la(1)==="{")return this.pushState(ae.INTERPOLATION),r.next(),r.next(),this.createToken(gn,e);if(r.la(0)===n)return r.next(),this.popState(),this.createToken(At,e);for(;(a=r.la(0))!==n&&a!==we;)if(a==="\\"&&r.la(1)===n)r.next(),r.next();else{if(t&&a==="#"&&r.la(1)==="{")break;r.next()}var u=this.createToken(xt,e);return this.options.preserveSourceLiterally||(u.text=u.text.replace(new RegExp("(?:\\\\)("+n+")","g"),"$1")),u}matchAttributeValue(e){let t=this.input,r=this.state===ae.STRING_SINGLE?"'":'"',n;if(t.la(0)==="{")return this.matchExpressionToken(e);for(;(n=t.la(0))!==r&&n!==we;)if(n==="\\"&&t.la(1)===r)t.next(),t.next();else{if(n==="{"||n===r)break;t.next()}var a=this.createToken(xt,e);return this.options.preserveSourceLiterally||(a.text=a.text.replace(new RegExp("(?:\\\\)("+r+")","g"),"$1")),a}matchNumber(e){let t=this.input,r;for(;(r=t.lac(0))!==we&&Ft(r);)t.next();if(t.la(0)==="."&&Ft(t.lac(1)))for(t.next();(r=t.lac(0))!==we&&Ft(r);)t.next();return this.createToken(Mr,e)}matchText(e){let t=this.input,r;for(;(r=t.la(0))&&r!==we;){if(r==="{"){let n=t.la(1);if(n==="{"||n==="#"||n==="%")break}else if(r==="<"){let n=t.la(1);if(n==="/"||n==="!"||Yr(t.lac(1)))break;if(t.la(1)==="{"){let a=t.la(1);if(a==="{"||a==="#"||a==="%")break}}t.next()}return this.createToken(ar,e)}matchComment(e){let t=this.input,r;for(;(r=t.next())!==we;)if(r==="#"&&t.la(0)==="}"){t.next();break}return this.createToken(wt,e)}};i(Vr,"Lexer");function el(e){return e===` -`||e===" "||e===" "}i(el,"isWhitespace");function Yr(e){return 65<=e&&e<=90||97<=e&&e<=122}i(Yr,"isAlpha");function Ft(e){return 48<=e&&e<=57}i(Ft,"isDigit");var tl=[],Mi=[],_n=[],rl=ul("not","UnaryNotExpression",50),_A=ul("-","UnaryNeqExpression",500),IA=ul("+","UnaryPosExpression",500),RA=fe({text:"or",type:"BinaryOrExpression",precedence:10,associativity:$}),PA=fe({text:"and",type:"BinaryAndExpression",precedence:15,associativity:$}),qA=fe({text:"b-or",type:"BitwiseOrExpression",precedence:16,associativity:$}),wA=fe({text:"b-xor",type:"BitwiseXOrExpression",precedence:17,associativity:$}),LA=fe({text:"b-and",type:"BitwiseAndExpression",precedence:18,associativity:$}),kA=fe({text:"==",type:"BinaryEqualsExpression",precedence:20,associativity:$}),MA=fe({text:"!=",type:"BinaryNotEqualsExpression",precedence:20,associativity:$}),GA=fe({text:"<",type:"BinaryLessThanExpression",precedence:20,associativity:$}),jA=fe({text:">",type:"BinaryGreaterThanExpression",precedence:20,associativity:$}),UA=fe({text:"<=",type:"BinaryLessThanOrEqualExpression",precedence:20,associativity:$}),YA=fe({text:">=",type:"BinaryGreaterThanOrEqualExpression",precedence:20,associativity:$}),VA=fe({text:"not in",type:"BinaryNotInExpression",precedence:20,associativity:$}),KA=fe({text:"in",type:"BinaryInExpression",precedence:20,associativity:$}),HA=fe({text:"matches",type:"BinaryMatchesExpression",precedence:20,associativity:$}),WA=fe({text:"starts with",type:"BinaryStartsWithExpression",precedence:20,associativity:$}),XA=fe({text:"ends with",type:"BinaryEndsWithExpression",precedence:20,associativity:$}),$A=fe({text:"..",type:"BinaryRangeExpression",precedence:25,associativity:$}),JA=fe({text:"+",type:"BinaryAddExpression",precedence:30,associativity:$}),UH=fe({text:"-",type:"BinarySubExpression",precedence:30,associativity:$});Mi.push({text:"~",precedence:40,associativity:$,createNode(e,t,r){let n=new Se.BinaryConcatExpression(t,r);return Ye(n,t),qe(n,r),n}});var zA=fe({text:"*",type:"BinaryMulExpression",precedence:60,associativity:$}),QA=fe({text:"/",type:"BinaryDivExpression",precedence:60,associativity:$}),ZA=fe({text:"//",type:"BinaryFloorDivExpression",precedence:60,associativity:$}),ex=fe({text:"%",type:"BinaryModExpression",precedence:60,associativity:$});Mi.push({text:"is",precedence:100,associativity:$,parse(e,t,r){let n=e.tokens,a=!1;n.nextIf(h.OPERATOR,"not")&&(a=!0);let u=d6(e),s=null;n.test(h.LPAREN)&&(s=e.matchArguments());let c=u.createNode(r,s);return R(c,t),b(c,n.la(-1)),a?Tn(new rl(c),c):c}});function d6(e){let t=e.tokens,r=t.la(0);r.type!==h.NULL?t.expect(h.SYMBOL):t.next();let n=r.text;if(!e.hasTest(n)){let a=t.expect(h.SYMBOL);n+=" "+a.text,e.hasTest(n)||e.error({title:`Unknown test "${n}"`,pos:r.pos})}return e.getTest(n)}i(d6,"getTest");var tx=fe({text:"**",type:"BinaryPowerExpression",precedence:200,associativity:$}),rx=fe({text:"??",type:"BinaryNullCoalesceExpression",precedence:300,associativity:$}),nx=kt("even","TestEvenExpression"),ix=kt("odd","TestOddExpression"),sx=kt("defined","TestDefinedExpression"),nl=kt("same as","TestSameAsExpression");_n.push({text:"sameas",createNode(e,t){return new nl(e,t)}});var il=kt("null","TestNullExpression");_n.push({text:"none",createNode(e,t){return new il(e,t)}});var sl=kt("divisible by","TestDivisibleByExpression");_n.push({text:"divisibleby",createNode(e,t){return new sl(e,t)}});var ux=kt("constant","TestConstantExpression"),ax=kt("empty","TestEmptyExpression"),ox=kt("iterable","TestIterableExpression");function kt(e,t){let r=i(class extends Se.Node{constructor(n,a){super(),this.expression=n,this.arguments=a}},"TestExpression");return(0,Se.type)(r,t),(0,Se.alias)(r,"Expression","TestExpression"),(0,Se.visitor)(r,"expression","arguments"),_n.push({text:e,createNode(n,a){return new r(n,a)}}),r}i(kt,"createTest");function fe(e){let{text:t,precedence:r,associativity:n}=e,a=i(class extends Se.BinaryExpression{constructor(s,c){super(t,s,c)}},"BinarySubclass");(0,Se.type)(a,e.type),(0,Se.alias)(a,"BinaryExpression","Binary","Expression"),(0,Se.visitor)(a,"left","right");let u={text:t,precedence:r,associativity:n};return e.parse?u.parse=e.parse:e.createNode?u.createNode=e.createNode:u.createNode=(s,c,p)=>new a(c,p),Mi.push(u),a}i(fe,"createBinaryOperatorNode");function ul(e,t,r){let n=i(class extends Se.UnaryExpression{constructor(a){super(e,a)}},"UnarySubclass");return(0,Se.type)(n,t),(0,Se.alias)(n,"Expression","UnaryLike"),(0,Se.visitor)(n,"argument"),tl.push({text:e,precedence:r,createNode(a,u){let s=new n(u);return R(s,a),qe(s,u),s}}),n}i(ul,"createUnaryOperator");var v=W(re()),Mt=class extends v.Node{constructor(e,t){super(),this.escapeType=e,this.expressions=t}};i(Mt,"AutoescapeBlock");(0,v.type)(Mt,"AutoescapeBlock");(0,v.alias)(Mt,"Block","Escape");(0,v.visitor)(Mt,"expressions");var Ct=class extends v.Node{constructor(e,t){super(),this.name=e,this.body=t}};i(Ct,"BlockStatement");(0,v.type)(Ct,"BlockStatement");(0,v.alias)(Ct,"Statement","Scope","RootScope");(0,v.visitor)(Ct,"body");var Kr=class extends v.Node{constructor(e,t=[]){super(),this.callee=e,this.arguments=t}};i(Kr,"BlockCallExpression");(0,v.type)(Kr,"BlockCallExpression");(0,v.alias)(Kr,"Expression","FunctionInvocation");(0,v.visitor)(Kr,"arguments");var Gt=class extends v.Node{constructor(e,t,r,n,a,u){super(),this.name=e,this.source=t,this.key=r,this.argument=n,this.async=a,this.delayBy=u,this.errorVariableName=null,this.body=null,this.otherwise=null}};i(Gt,"MountStatement");(0,v.type)(Gt,"MountStatement");(0,v.alias)(Gt,"Statement","Scope");(0,v.visitor)(Gt,"name","source","key","argument","body","otherwise");var jt=class extends v.Node{constructor(e){super(),this.value=e}};i(jt,"DoStatement");(0,v.type)(jt,"DoStatement");(0,v.alias)(jt,"Statement");(0,v.visitor)(jt,"value");var Ut=class extends v.Node{constructor(e){super(),this.parent=e,this.argument=null,this.contextFree=!1,this.ignoreMissing=!1,this.blocks=null}};i(Ut,"EmbedStatement");(0,v.type)(Ut,"EmbedStatement");(0,v.alias)(Ut,"Statement","Include");(0,v.visitor)(Ut,"argument","blocks");var Yt=class extends v.Node{constructor(e){super(),this.parentName=e}};i(Yt,"ExtendsStatement");(0,v.type)(Yt,"ExtendsStatement");(0,v.alias)(Yt,"Statement","Include");(0,v.visitor)(Yt,"parentName");var Vt=class extends v.Node{constructor(e,t){super(),this.filterExpression=e,this.body=t}};i(Vt,"FilterBlockStatement");(0,v.type)(Vt,"FilterBlockStatement");(0,v.alias)(Vt,"Statement","Block");(0,v.visitor)(Vt,"filterExpression","body");var fr=class extends v.Node{constructor(){super()}};i(fr,"FlushStatement");(0,v.type)(fr,"FlushStatement");(0,v.alias)(fr,"Statement");var Kt=class extends v.Node{constructor(e=null,t=null,r=null,n=null,a=null,u=null){super(),this.keyTarget=e,this.valueTarget=t,this.sequence=r,this.condition=n,this.body=a,this.otherwise=u}};i(Kt,"ForStatement");(0,v.type)(Kt,"ForStatement");(0,v.alias)(Kt,"Statement","Scope","Loop");(0,v.visitor)(Kt,"keyTarget","valueTarget","sequence","condition","body","otherwise");var ct=class extends v.Node{constructor(e,t){super(),this.key=e,this.alias=t}};i(ct,"ImportDeclaration");(0,v.type)(ct,"ImportDeclaration");(0,v.alias)(ct,"VariableDeclaration");(0,v.visitor)(ct,"key","value");var Ht=class extends v.Node{constructor(e,t){super(),this.source=e,this.imports=t}};i(Ht,"FromStatement");(0,v.type)(Ht,"FromStatement");(0,v.alias)(Ht,"Statement");(0,v.visitor)(Ht,"source","imports");var pt=class extends v.Node{constructor(e,t=null,r=null){super(),this.test=e,this.consequent=t,this.alternate=r}};i(pt,"IfStatement");(0,v.type)(pt,"IfStatement");(0,v.alias)(pt,"Statement","Conditional");(0,v.visitor)(pt,"test","consequent","alternate");var Wt=class extends v.Node{constructor(e){super(),this.source=e,this.argument=null,this.contextFree=!1,this.ignoreMissing=!1}};i(Wt,"IncludeStatement");(0,v.type)(Wt,"IncludeStatement");(0,v.alias)(Wt,"Statement","Include");(0,v.visitor)(Wt,"source","argument");var Xt=class extends v.Node{constructor(e,t,r){super(),this.name=e,this.arguments=t,this.body=r}};i(Xt,"MacroDeclarationStatement");(0,v.type)(Xt,"MacroDeclarationStatement");(0,v.alias)(Xt,"Statement","Scope","RootScope");(0,v.visitor)(Xt,"name","arguments","body");var $t=class extends v.Node{constructor(e,t){super(),this.name=e,this.value=t}};i($t,"VariableDeclarationStatement");(0,v.type)($t,"VariableDeclarationStatement");(0,v.alias)($t,"Statement");(0,v.visitor)($t,"name","value");var Jt=class extends v.Node{constructor(e){super(),this.assignments=e}};i(Jt,"SetStatement");(0,v.type)(Jt,"SetStatement");(0,v.alias)(Jt,"Statement","ContextMutation");(0,v.visitor)(Jt,"assignments");var zt=class extends v.Node{constructor(e=null){super(),this.body=e}};i(zt,"SpacelessBlock");(0,v.type)(zt,"SpacelessBlock");(0,v.alias)(zt,"Statement","Block");(0,v.visitor)(zt,"body");var Qt=class extends v.Node{constructor(e,t){super(),this.name=e,this.alias=t}};i(Qt,"AliasExpression");(0,v.type)(Qt,"AliasExpression");(0,v.alias)(Qt,"Expression");(0,v.visitor)(Qt,"name","alias");var Zt=class extends v.Node{constructor(e,t){super(),this.source=e,this.aliases=t}};i(Zt,"UseStatement");(0,v.type)(Zt,"UseStatement");(0,v.alias)(Zt,"Statement","Include");(0,v.visitor)(Zt,"source","aliases");var lx={name:"autoescape",parse(e,t){let r=e.tokens,n=r.la(-2),a=null,u,s,c;r.nextIf(h.TAG_END)?(s=r.la(-1),a=null):(u=r.nextIf(h.STRING_START))?(a=r.expect(h.STRING).text,r.nextIf(h.STRING_END)||e.error({title:"autoescape type declaration must be a simple string",pos:r.la(0).pos,advice:`The type declaration for autoescape must be a simple string such as 'html' or 'js'. -I expected the current string to end with a ${u.text} but instead found ${h.ERROR_TABLE[r.lat(0)]||r.lat(0)}.`}),s=r.la(0)):r.nextIf(h.FALSE)?(a=!1,s=r.la(0)):r.nextIf(h.TRUE)?(a=!0,s=r.la(0)):e.error({title:"Invalid autoescape type declaration",pos:r.la(0).pos,advice:`Expected type of autoescape to be a string, boolean or not specified. Found ${r.la(0).type} instead.`});let p=new Mt(a);R(p,t);let f;return p.expressions=e.parse((d,m,y)=>m.type===h.TAG_START&&y.nextIf(h.SYMBOL,"endautoescape")?(c=m,f=y.expect(h.TAG_END,"",n),!0):!1).expressions,b(p,f),p.trimRightAutoescape=ue(s),p.trimLeftEndautoescape=se(c),p}},Gi=W(re()),cx={name:"block",parse(e,t){let r=e.tokens,n=r.la(-2),a=r.expect(h.SYMBOL),u,s,c;if(s=r.nextIf(h.TAG_END)){if(u=new Ct(_(Gi.Identifier,a,a.text),e.parse((p,f,d)=>{let m=!!(f.type===h.TAG_START&&d.nextIf(h.SYMBOL,"endblock"));return m&&(c=f),m}).expressions),r.nextIf(h.SYMBOL,a.text)&&r.lat(0)!==h.TAG_END){let p=r.next();e.error({title:"Block name mismatch",pos:p.pos,advice:p.type==h.SYMBOL?`Expected end of block ${a.text} but instead found end of block ${r.la(0).text}.`:`endblock must be followed by either '%}' or the name of the open block. Found a token of type ${h.ERROR_TABLE[p.type]||p.type} instead.`})}}else u=new Ct(_(Gi.Identifier,a,a.text),new Gi.PrintExpressionStatement(e.matchExpression()));return R(u,t),b(u,r.expect(h.TAG_END,null,n)),u.trimRightBlock=s&&ue(s),u.trimLeftEndblock=!!(c&&se(c)),u}},px={name:"do",parse(e,t){let r=e.tokens,n=r.la(-2),a=new jt(e.matchExpression());return R(a,t),b(a,r.expect(h.TAG_END,"",n)),a}},mv=W(re()),hv=W(Ev()),Dv={name:"embed",parse(e,t){let r=e.tokens,n=r.la(-2),a=new Ut(e.matchExpression());r.nextIf(h.SYMBOL,"ignore")&&(r.expect(h.SYMBOL,"missing"),a.ignoreMissing=!0),r.nextIf(h.SYMBOL,"with")&&(a.argument=e.matchExpression()),r.nextIf(h.SYMBOL,"only")&&(a.contextFree=!0),r.expect(h.TAG_END);let u=r.la(-1),s;return a.blocks=(0,hv.default)(e.parse((c,p,f)=>{let d=!!(p.type===h.TAG_START&&f.nextIf(h.SYMBOL,"endembed"));return d&&(s=p),d}).expressions,mv.Node.isBlockStatement),R(a,t),b(a,r.expect(h.TAG_END,"",n)),a.trimRightEmbed=ue(u),a.trimLeftEndembed=s&&se(s),a}},yv={name:"extends",parse(e,t){let r=e.tokens,n=new Yt(e.matchExpression());return R(n,t),b(n,r.expect(h.TAG_END)),n}},Av=W(re()),xv={name:"filter",parse(e,t){let r=e.tokens,n=r.la(-2),a=_(Av.Identifier,t,"filter"),u=e.matchFilterExpression(a);r.expect(h.TAG_END);let s=r.la(-1),c,p=e.parse((d,m,y)=>{let g=m.type===h.TAG_START&&y.nextIf(h.SYMBOL,"endfilter");return g&&(c=m),g}).expressions,f=new Vt(u,p);return R(f,t),b(f,r.expect(h.TAG_END,"",n)),f.trimRightFilter=ue(s),f.trimLeftEndfilter=c&&se(c),f}},Tv={name:"flush",parse(e,t){let r=e.tokens,n=new fr;return R(n,t),b(n,r.expect(h.TAG_END)),n}},Hu=W(re()),gv={name:"for",parse(e,t){let r=e.tokens,n=new Kt,a=r.la(-2),u=r.expect(h.SYMBOL);if(r.nextIf(h.COMMA)){n.keyTarget=_(Hu.Identifier,u,u.text);let d=r.expect(h.SYMBOL);n.valueTarget=_(Hu.Identifier,d,d.text)}else n.keyTarget=null,n.valueTarget=_(Hu.Identifier,u,u.text);r.expect(h.OPERATOR,"in"),n.sequence=e.matchExpression(),r.nextIf(h.SYMBOL,"if")&&(n.condition=e.matchExpression()),r.expect(h.TAG_END);let s=r.la(-1),c,p;n.body=e.parse((d,m,y)=>{let g=m.type===h.TAG_START&&(y.test(h.SYMBOL,"else")||y.test(h.SYMBOL,"endfor"));return g&&y.test(h.SYMBOL,"else")&&(c=m),g}),r.nextIf(h.SYMBOL,"else")&&(r.expect(h.TAG_END),p=r.la(-1),n.otherwise=e.parse((d,m,y)=>m.type===h.TAG_START&&y.test(h.SYMBOL,"endfor")));let f=r.la(-1);return r.expect(h.SYMBOL,"endfor",a),R(n,t),b(n,r.expect(h.TAG_END)),n.trimRightFor=ue(s),n.trimLeftElse=!!(c&&se(c)),n.trimRightElse=!!(p&&ue(p)),n.trimLeftEndfor=se(f),n}},Rl=W(re()),vv={name:"from",parse(e,t){let r=e.tokens,n=e.matchExpression(),a=[];r.expect(h.SYMBOL,"import");do{let s=r.expect(h.SYMBOL),c=s;r.nextIf(h.SYMBOL,"as")&&(c=r.expect(h.SYMBOL));let p=new ct(_(Rl.Identifier,s,s.text),_(Rl.Identifier,c,c.text));if(R(p,s),b(p,c),a.push(p),!r.nextIf(h.COMMA))break}while(!r.test(h.EOF));let u=new Ht(n,a);return R(u,t),b(u,r.expect(h.TAG_END)),u}},Sv={name:"if",parse(e,t){let r=e.tokens,n=r.la(-2),a=e.matchExpression(),u=null;r.expect(h.TAG_END);let s=r.la(-1),c=new pt(a,e.parse(Pl).expressions),p,f,d,m;do{if(r.nextIf(h.SYMBOL,"else"))p=r.la(-2),r.expect(h.TAG_END),f=r.la(-1),(u||c).alternate=e.parse(tM).expressions;else if(r.nextIf(h.SYMBOL,"elseif")){d=r.la(-2),a=e.matchExpression(),r.expect(h.TAG_END),m=r.la(-1);let g=e.parse(Pl).expressions;u=(u||c).alternate=new pt(a,g),u.trimLeft=se(d),u.trimRightIf=ue(m)}else if(r.nextIf(h.SYMBOL,"elif")){d=r.la(-2),a=e.matchExpression(),r.expect(h.TAG_END),m=r.la(-1);let g=e.parse(Pl).expressions;u=(u||c).alternate=new pt(a,g),u.trimLeft=se(d),u.trimRightIf=ue(m),u.isElif=!0}if(r.nextIf(h.SYMBOL,"endif"))break}while(!r.test(h.EOF));let y=r.la(-2);return R(c,t),b(c,r.expect(h.TAG_END,"",n)),c.trimRightIf=ue(s),c.trimLeftElse=!!(p&&se(p)),c.trimRightElse=!!(f&&ue(f)),c.trimLeftEndif=se(y),c}};function Pl(e,t,r){if(t.type===h.TAG_START){let n=r.la(0).text;return n==="else"||n==="endif"||n==="elseif"||n=="elif"}return!1}i(Pl,"matchConsequent");function tM(e,t,r){return t.type===h.TAG_START&&r.test(h.SYMBOL,"endif")}i(tM,"matchAlternate");var Fv=W(re()),Cv={name:"import",parse(e,t){let r=e.tokens,n=e.matchExpression();r.expect(h.SYMBOL,"as");let a=r.expect(h.SYMBOL),u=new ct(n,_(Fv.Identifier,a,a.text));return R(u,t),b(u,r.expect(h.TAG_END)),u}},Bv={name:"include",parse(e,t){let r=e.tokens,n=new Wt(e.matchExpression());return r.nextIf(h.SYMBOL,"ignore")&&(r.expect(h.SYMBOL,"missing"),n.ignoreMissing=!0),r.nextIf(h.SYMBOL,"with")&&(n.argument=e.matchExpression()),r.nextIf(h.SYMBOL,"only")&&(n.contextFree=!0),R(n,t),b(n,r.expect(h.TAG_END)),n}},ql=W(re()),Ov={name:"macro",parse(e,t){let r=e.tokens,n=r.la(-2),a=r.expect(h.SYMBOL),u=[];for(r.expect(h.LPAREN);!r.test(h.RPAREN)&&!r.test(h.EOF);){let m=r.expect(h.SYMBOL);u.push(_(ql.Identifier,m,m.text)),!r.nextIf(h.COMMA)&&!r.test(h.RPAREN)&&e.error({title:'Expected comma or ")"',pos:r.la(0).pos,advice:"The argument list of a macro can only consist of parameter names separated by commas."})}r.expect(h.RPAREN);let s=r.la(0),c,p=e.parse((m,y,g)=>{let A=!!(y.type===h.TAG_START&&g.nextIf(h.SYMBOL,"endmacro"));return A&&(c=y),A});if(r.test(h.SYMBOL)){var f=r.next();a.text!==f.text&&e.error({title:`Macro name mismatch, expected "${a.text}" but found "${f.text}"`,pos:f.pos})}let d=new Xt(_(ql.Identifier,a,a.text),u,p);return R(d,t),b(d,r.expect(h.TAG_END,"",n)),d.trimRightMacro=ue(s),d.trimLeftEndmacro=se(c),d}},bv=W(re()),Nv={name:"set",parse(e,t){let r=e.tokens,n=[],a=[],u,s;do{let f=r.expect(h.SYMBOL);n.push(_(bv.Identifier,f,f.text))}while(r.nextIf(h.COMMA));if(r.nextIf(h.ASSIGNMENT))do a.push(e.matchExpression());while(r.nextIf(h.COMMA));else n.length!==1&&e.error({title:"Illegal multi-set",pos:r.la(0).pos,advice:"When using set with a block, you cannot have multiple targets."}),r.expect(h.TAG_END),u=r.la(-1),a[0]=e.parse((f,d,m)=>{let y=!!(d.type===h.TAG_START&&m.nextIf(h.SYMBOL,"endset"));return y&&(s=d),y}).expressions;n.length!==a.length&&e.error({title:"Mismatch of set names and values",pos:t.pos,advice:`When using set, you must ensure that the number of +var __create = Object.create; +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __getProtoOf = Object.getPrototypeOf; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __commonJS = (cb, mod) => function __require() { + return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; +}; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to2, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to2, key) && key !== except) + __defProp(to2, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to2; +}; +var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( + isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, + mod +)); +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// ../prettier-plugin-django/out/index.js +var require_out = __commonJS({ + "../prettier-plugin-django/out/index.js"(exports, module) { + "use strict"; + var $S = Object.create; + var jn = Object.defineProperty; + var JS = Object.getOwnPropertyDescriptor; + var zS = Object.getOwnPropertyNames; + var QS = Object.getPrototypeOf; + var ZS = Object.prototype.hasOwnProperty; + var i = (e, t) => jn(e, "name", { value: t, configurable: true }); + var l = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports); + var $l = (e, t) => { + for (var r in t) + jn(e, r, { get: t[r], enumerable: true }); + }; + var Jl = (e, t, r, n) => { + if (t && typeof t == "object" || typeof t == "function") + for (let s of zS(t)) + !ZS.call(e, s) && s !== r && jn(e, s, { get: () => t[s], enumerable: !(n = JS(t, s)) || n.enumerable }); + return e; + }; + var W = (e, t, r) => (r = e != null ? $S(QS(e)) : {}, Jl(t || !e || !e.__esModule ? jn(r, "default", { value: e, enumerable: true }) : r, e)); + var eF = (e) => Jl(jn({}, "__esModule", { value: true }), e); + var Ot = l((vG, zl) => { + var tF = zl.exports = typeof window < "u" && window.Math == Math ? window : typeof self < "u" && self.Math == Math ? self : Function("return this")(); + typeof __g == "number" && (__g = tF); + }); + var jt = l((SG, Ql) => { + var rF = {}.hasOwnProperty; + Ql.exports = function(e, t) { + return rF.call(e, t); + }; + }); + var Hr = l((FG, Zl) => { + Zl.exports = function(e) { + try { + return !!e(); + } catch { + return true; + } + }; + }); + var hr = l((CG, ec) => { + ec.exports = !Hr()(function() { + return Object.defineProperty({}, "a", { get: function() { + return 7; + } }).a != 7; + }); + }); + var Ke = l((BG, tc) => { + var nF = tc.exports = { version: "2.6.12" }; + typeof __e == "number" && (__e = nF); + }); + var nc = l((bG, rc) => { + rc.exports = function(e) { + if (typeof e != "function") + throw TypeError(e + " is not a function!"); + return e; + }; + }); + var ac = l((OG, sc) => { + var iF = nc(); + sc.exports = function(e, t, r) { + if (iF(e), t === void 0) + return e; + switch (r) { + case 1: + return function(n) { + return e.call(t, n); + }; + case 2: + return function(n, s) { + return e.call(t, n, s); + }; + case 3: + return function(n, s, a) { + return e.call(t, n, s, a); + }; + } + return function() { + return e.apply(t, arguments); + }; + }; + }); + var Xr = l((NG, uc) => { + uc.exports = function(e) { + return typeof e == "object" ? e !== null : typeof e == "function"; + }; + }); + var $r = l((_G, oc) => { + var sF = Xr(); + oc.exports = function(e) { + if (!sF(e)) + throw TypeError(e + " is not an object!"); + return e; + }; + }); + var ru = l((IG, cc) => { + var lc = Xr(), tu = Ot().document, aF = lc(tu) && lc(tu.createElement); + cc.exports = function(e) { + return aF ? tu.createElement(e) : {}; + }; + }); + var nu = l((RG, pc) => { + pc.exports = !hr() && !Hr()(function() { + return Object.defineProperty(ru()("div"), "a", { get: function() { + return 7; + } }).a != 7; + }); + }); + var ns = l((PG, fc) => { + var rs = Xr(); + fc.exports = function(e, t) { + if (!rs(e)) + return e; + var r, n; + if (t && typeof (r = e.toString) == "function" && !rs(n = r.call(e)) || typeof (r = e.valueOf) == "function" && !rs(n = r.call(e)) || !t && typeof (r = e.toString) == "function" && !rs(n = r.call(e))) + return n; + throw TypeError("Can't convert object to primitive value"); + }; + }); + var Dr = l((Ec) => { + var dc = $r(), uF = nu(), oF = ns(), lF = Object.defineProperty; + Ec.f = hr() ? Object.defineProperty : i(function(t, r, n) { + if (dc(t), r = oF(r, true), dc(n), uF) + try { + return lF(t, r, n); + } catch { + } + if ("get" in n || "set" in n) + throw TypeError("Accessors not supported!"); + return "value" in n && (t[r] = n.value), t; + }, "defineProperty"); + }); + var Un = l((LG, mc) => { + mc.exports = function(e, t) { + return { enumerable: !(e & 1), configurable: !(e & 2), writable: !(e & 4), value: t }; + }; + }); + var yr = l((kG, hc) => { + var cF = Dr(), pF = Un(); + hc.exports = hr() ? function(e, t, r) { + return cF.f(e, t, pF(1, r)); + } : function(e, t, r) { + return e[t] = r, e; + }; + }); + var Jr = l((MG, yc) => { + var is = Ot(), iu = Ke(), Dc = ac(), fF = yr(), dF = jt(), ss = "prototype", Re = i(function(e, t, r) { + var n = e & Re.F, s = e & Re.G, a = e & Re.S, u = e & Re.P, c = e & Re.B, p = e & Re.W, f = s ? iu : iu[t] || (iu[t] = {}), h = f[ss], D = s ? is : a ? is[t] : (is[t] || {})[ss], d, x, C; + s && (r = t); + for (d in r) + x = !n && D && D[d] !== void 0, !(x && dF(f, d)) && (C = x ? D[d] : r[d], f[d] = s && typeof D[d] != "function" ? r[d] : c && x ? Dc(C, is) : p && D[d] == C ? function(O) { + var g = i(function(j, $, re) { + if (this instanceof O) { + switch (arguments.length) { + case 0: + return new O(); + case 1: + return new O(j); + case 2: + return new O(j, $); + } + return new O(j, $, re); + } + return O.apply(this, arguments); + }, "F"); + return g[ss] = O[ss], g; + }(C) : u && typeof C == "function" ? Dc(Function.call, C) : C, u && ((f.virtual || (f.virtual = {}))[d] = C, e & Re.R && h && !h[d] && fF(h, d, C))); + }, "$export"); + Re.F = 1; + Re.G = 2; + Re.S = 4; + Re.P = 8; + Re.B = 16; + Re.W = 32; + Re.U = 64; + Re.R = 128; + yc.exports = Re; + }); + var su = l((jG, Ac) => { + Ac.exports = yr(); + }); + var Yn = l((UG, xc) => { + var EF = 0, mF = Math.random(); + xc.exports = function(e) { + return "Symbol(".concat(e === void 0 ? "" : e, ")_", (++EF + mF).toString(36)); + }; + }); + var gc = l((YG, Tc) => { + var Ar = Yn()("meta"), hF = Xr(), au = jt(), DF = Dr().f, yF = 0, as = Object.isExtensible || function() { + return true; + }, AF = !Hr()(function() { + return as(Object.preventExtensions({})); + }), uu = i(function(e) { + DF(e, Ar, { value: { i: "O" + ++yF, w: {} } }); + }, "setMeta"), xF = i(function(e, t) { + if (!hF(e)) + return typeof e == "symbol" ? e : (typeof e == "string" ? "S" : "P") + e; + if (!au(e, Ar)) { + if (!as(e)) + return "F"; + if (!t) + return "E"; + uu(e); + } + return e[Ar].i; + }, "fastKey"), TF = i(function(e, t) { + if (!au(e, Ar)) { + if (!as(e)) + return true; + if (!t) + return false; + uu(e); + } + return e[Ar].w; + }, "getWeak"), gF = i(function(e) { + return AF && vF.NEED && as(e) && !au(e, Ar) && uu(e), e; + }, "onFreeze"), vF = Tc.exports = { KEY: Ar, NEED: false, fastKey: xF, getWeak: TF, onFreeze: gF }; + }); + var Vn = l((KG, vc) => { + vc.exports = true; + }); + var us = l((WG, Bc) => { + var SF = Ke(), Sc = Ot(), Fc = "__core-js_shared__", Cc = Sc[Fc] || (Sc[Fc] = {}); + (Bc.exports = function(e, t) { + return Cc[e] || (Cc[e] = t !== void 0 ? t : {}); + })("versions", []).push({ version: SF.version, mode: Vn() ? "pure" : "global", copyright: "\xA9 2020 Denis Pushkarev (zloirock.ru)" }); + }); + var Nt = l((HG, Oc) => { + var ou = us()("wks"), FF = Yn(), lu = Ot().Symbol, bc = typeof lu == "function", CF = Oc.exports = function(e) { + return ou[e] || (ou[e] = bc && lu[e] || (bc ? lu : FF)("Symbol." + e)); + }; + CF.store = ou; + }); + var os = l((XG, _c) => { + var BF = Dr().f, bF = jt(), Nc = Nt()("toStringTag"); + _c.exports = function(e, t, r) { + e && !bF(e = r ? e : e.prototype, Nc) && BF(e, Nc, { configurable: true, value: t }); + }; + }); + var ls = l((Ic) => { + Ic.f = Nt(); + }); + var cs = l((JG, Pc) => { + var OF = Ot(), Rc = Ke(), NF = Vn(), _F = ls(), IF = Dr().f; + Pc.exports = function(e) { + var t = Rc.Symbol || (Rc.Symbol = NF ? {} : OF.Symbol || {}); + e.charAt(0) != "_" && !(e in t) && IF(t, e, { value: _F.f(e) }); + }; + }); + var ps = l((zG, qc) => { + var RF = {}.toString; + qc.exports = function(e) { + return RF.call(e).slice(8, -1); + }; + }); + var Lc = l((QG, wc) => { + var PF = ps(); + wc.exports = Object("z").propertyIsEnumerable(0) ? Object : function(e) { + return PF(e) == "String" ? e.split("") : Object(e); + }; + }); + var fs = l((ZG, kc) => { + kc.exports = function(e) { + if (e == null) + throw TypeError("Can't call method on " + e); + return e; + }; + }); + var xr = l((ej, Mc) => { + var qF = Lc(), wF = fs(); + Mc.exports = function(e) { + return qF(wF(e)); + }; + }); + var ds = l((tj, Gc) => { + var LF = Math.ceil, kF = Math.floor; + Gc.exports = function(e) { + return isNaN(e = +e) ? 0 : (e > 0 ? kF : LF)(e); + }; + }); + var Uc = l((rj, jc) => { + var MF = ds(), GF = Math.min; + jc.exports = function(e) { + return e > 0 ? GF(MF(e), 9007199254740991) : 0; + }; + }); + var Vc = l((nj, Yc) => { + var jF = ds(), UF = Math.max, YF = Math.min; + Yc.exports = function(e, t) { + return e = jF(e), e < 0 ? UF(e + t, 0) : YF(e, t); + }; + }); + var Wc = l((ij, Kc) => { + var VF = xr(), KF = Uc(), WF = Vc(); + Kc.exports = function(e) { + return function(t, r, n) { + var s = VF(t), a = KF(s.length), u = WF(n, a), c; + if (e && r != r) { + for (; a > u; ) + if (c = s[u++], c != c) + return true; + } else + for (; a > u; u++) + if ((e || u in s) && s[u] === r) + return e || u || 0; + return !e && -1; + }; + }; + }); + var Es = l((sj, Xc) => { + var Hc = us()("keys"), HF = Yn(); + Xc.exports = function(e) { + return Hc[e] || (Hc[e] = HF(e)); + }; + }); + var cu = l((aj, Jc) => { + var $c = jt(), XF = xr(), $F = Wc()(false), JF = Es()("IE_PROTO"); + Jc.exports = function(e, t) { + var r = XF(e), n = 0, s = [], a; + for (a in r) + a != JF && $c(r, a) && s.push(a); + for (; t.length > n; ) + $c(r, a = t[n++]) && (~$F(s, a) || s.push(a)); + return s; + }; + }); + var ms = l((uj, zc) => { + zc.exports = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","); + }); + var Kn = l((oj, Qc) => { + var zF = cu(), QF = ms(); + Qc.exports = Object.keys || i(function(t) { + return zF(t, QF); + }, "keys"); + }); + var pu = l((Zc) => { + Zc.f = Object.getOwnPropertySymbols; + }); + var hs = l((ep) => { + ep.f = {}.propertyIsEnumerable; + }); + var rp = l((fj, tp) => { + var ZF = Kn(), eC = pu(), tC = hs(); + tp.exports = function(e) { + var t = ZF(e), r = eC.f; + if (r) + for (var n = r(e), s = tC.f, a = 0, u; n.length > a; ) + s.call(e, u = n[a++]) && t.push(u); + return t; + }; + }); + var ip = l((dj, np) => { + var rC = ps(); + np.exports = Array.isArray || i(function(t) { + return rC(t) == "Array"; + }, "isArray"); + }); + var Ds = l((mj, sp) => { + var nC = fs(); + sp.exports = function(e) { + return Object(nC(e)); + }; + }); + var up = l((hj, ap) => { + var iC = Dr(), sC = $r(), aC = Kn(); + ap.exports = hr() ? Object.defineProperties : i(function(t, r) { + sC(t); + for (var n = aC(r), s = n.length, a = 0, u; s > a; ) + iC.f(t, u = n[a++], r[u]); + return t; + }, "defineProperties"); + }); + var cp = l((yj, lp) => { + var op = Ot().document; + lp.exports = op && op.documentElement; + }); + var As = l((Aj, fp) => { + var uC = $r(), oC = up(), pp = ms(), lC = Es()("IE_PROTO"), fu = i(function() { + }, "Empty"), du = "prototype", ys = i(function() { + var e = ru()("iframe"), t = pp.length, r = "<", n = ">", s; + for (e.style.display = "none", cp().appendChild(e), e.src = "javascript:", s = e.contentWindow.document, s.open(), s.write(r + "script" + n + "document.F=Object" + r + "/script" + n), s.close(), ys = s.F; t--; ) + delete ys[du][pp[t]]; + return ys(); + }, "createDict"); + fp.exports = Object.create || i(function(t, r) { + var n; + return t !== null ? (fu[du] = uC(t), n = new fu(), fu[du] = null, n[lC] = t) : n = ys(), r === void 0 ? n : oC(n, r); + }, "create"); + }); + var Eu = l((dp) => { + var cC = cu(), pC = ms().concat("length", "prototype"); + dp.f = Object.getOwnPropertyNames || i(function(t) { + return cC(t, pC); + }, "getOwnPropertyNames"); + }); + var Dp = l((vj, hp) => { + var fC = xr(), Ep = Eu().f, dC = {}.toString, mp = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], EC = i(function(e) { + try { + return Ep(e); + } catch { + return mp.slice(); + } + }, "getWindowNames"); + hp.exports.f = i(function(t) { + return mp && dC.call(t) == "[object Window]" ? EC(t) : Ep(fC(t)); + }, "getOwnPropertyNames"); + }); + var xp = l((Ap) => { + var mC = hs(), hC = Un(), DC = xr(), yC = ns(), AC = jt(), xC = nu(), yp = Object.getOwnPropertyDescriptor; + Ap.f = hr() ? yp : i(function(t, r) { + if (t = DC(t), r = yC(r, true), xC) + try { + return yp(t, r); + } catch { + } + if (AC(t, r)) + return hC(!mC.f.call(t, r), t[r]); + }, "getOwnPropertyDescriptor"); + }); + var Cs = l(() => { + "use strict"; + var gs = Ot(), Oe = jt(), xu = hr(), Pe = Jr(), Tp = su(), TC = gc().KEY, Cu = Hr(), Bu = us(), bu = os(), gC = Yn(), Xn = Nt(), vC = ls(), SC = cs(), FC = rp(), CC = ip(), Tu = $r(), BC = Xr(), bC = Ds(), vs = xr(), Ou = ns(), gu = Un(), Hn = As(), Fp = Dp(), Cp = xp(), Ss = pu(), Bp = Dr(), OC = Kn(), bp = Cp.f, Tr = Bp.f, Op = Fp.f, Ue = gs.Symbol, Ts = gs.JSON, xs = Ts && Ts.stringify, Ut = "prototype", je = Xn("_hidden"), gp = Xn("toPrimitive"), NC = {}.propertyIsEnumerable, Wn = Bu("symbol-registry"), _t = Bu("symbols"), $n = Bu("op-symbols"), Je = Object[Ut], zr = typeof Ue == "function" && !!Ss.f, mu = gs.QObject, vu = !mu || !mu[Ut] || !mu[Ut].findChild, Su = xu && Cu(function() { + return Hn(Tr({}, "a", { get: function() { + return Tr(this, "a", { value: 7 }).a; + } })).a != 7; + }) ? function(e, t, r) { + var n = bp(Je, t); + n && delete Je[t], Tr(e, t, r), n && e !== Je && Tr(Je, t, n); + } : Tr, vp = i(function(e) { + var t = _t[e] = Hn(Ue[Ut]); + return t._k = e, t; + }, "wrap"), Fu = zr && typeof Ue.iterator == "symbol" ? function(e) { + return typeof e == "symbol"; + } : function(e) { + return e instanceof Ue; + }, Fs = i(function(t, r, n) { + return t === Je && Fs($n, r, n), Tu(t), r = Ou(r, true), Tu(n), Oe(_t, r) ? (n.enumerable ? (Oe(t, je) && t[je][r] && (t[je][r] = false), n = Hn(n, { enumerable: gu(0, false) })) : (Oe(t, je) || Tr(t, je, gu(1, {})), t[je][r] = true), Su(t, r, n)) : Tr(t, r, n); + }, "defineProperty"), Np = i(function(t, r) { + Tu(t); + for (var n = FC(r = vs(r)), s = 0, a = n.length, u; a > s; ) + Fs(t, u = n[s++], r[u]); + return t; + }, "defineProperties"), _C = i(function(t, r) { + return r === void 0 ? Hn(t) : Np(Hn(t), r); + }, "create"), Sp = i(function(t) { + var r = NC.call(this, t = Ou(t, true)); + return this === Je && Oe(_t, t) && !Oe($n, t) ? false : r || !Oe(this, t) || !Oe(_t, t) || Oe(this, je) && this[je][t] ? r : true; + }, "propertyIsEnumerable"), _p = i(function(t, r) { + if (t = vs(t), r = Ou(r, true), !(t === Je && Oe(_t, r) && !Oe($n, r))) { + var n = bp(t, r); + return n && Oe(_t, r) && !(Oe(t, je) && t[je][r]) && (n.enumerable = true), n; + } + }, "getOwnPropertyDescriptor"), Ip = i(function(t) { + for (var r = Op(vs(t)), n = [], s = 0, a; r.length > s; ) + !Oe(_t, a = r[s++]) && a != je && a != TC && n.push(a); + return n; + }, "getOwnPropertyNames"), Rp = i(function(t) { + for (var r = t === Je, n = Op(r ? $n : vs(t)), s = [], a = 0, u; n.length > a; ) + Oe(_t, u = n[a++]) && (!r || Oe(Je, u)) && s.push(_t[u]); + return s; + }, "getOwnPropertySymbols"); + zr || (Ue = i(function() { + if (this instanceof Ue) + throw TypeError("Symbol is not a constructor!"); + var t = gC(arguments.length > 0 ? arguments[0] : void 0), r = i(function(n) { + this === Je && r.call($n, n), Oe(this, je) && Oe(this[je], t) && (this[je][t] = false), Su(this, t, gu(1, n)); + }, "$set"); + return xu && vu && Su(Je, t, { configurable: true, set: r }), vp(t); + }, "Symbol"), Tp(Ue[Ut], "toString", i(function() { + return this._k; + }, "toString")), Cp.f = _p, Bp.f = Fs, Eu().f = Fp.f = Ip, hs().f = Sp, Ss.f = Rp, xu && !Vn() && Tp(Je, "propertyIsEnumerable", Sp, true), vC.f = function(e) { + return vp(Xn(e)); + }); + Pe(Pe.G + Pe.W + Pe.F * !zr, { Symbol: Ue }); + for (hu = "hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","), Du = 0; hu.length > Du; ) + Xn(hu[Du++]); + var hu, Du; + for (yu = OC(Xn.store), Au = 0; yu.length > Au; ) + SC(yu[Au++]); + var yu, Au; + Pe(Pe.S + Pe.F * !zr, "Symbol", { for: function(e) { + return Oe(Wn, e += "") ? Wn[e] : Wn[e] = Ue(e); + }, keyFor: i(function(t) { + if (!Fu(t)) + throw TypeError(t + " is not a symbol!"); + for (var r in Wn) + if (Wn[r] === t) + return r; + }, "keyFor"), useSetter: function() { + vu = true; + }, useSimple: function() { + vu = false; + } }); + Pe(Pe.S + Pe.F * !zr, "Object", { create: _C, defineProperty: Fs, defineProperties: Np, getOwnPropertyDescriptor: _p, getOwnPropertyNames: Ip, getOwnPropertySymbols: Rp }); + var IC = Cu(function() { + Ss.f(1); + }); + Pe(Pe.S + Pe.F * IC, "Object", { getOwnPropertySymbols: i(function(t) { + return Ss.f(bC(t)); + }, "getOwnPropertySymbols") }); + Ts && Pe(Pe.S + Pe.F * (!zr || Cu(function() { + var e = Ue(); + return xs([e]) != "[null]" || xs({ a: e }) != "{}" || xs(Object(e)) != "{}"; + })), "JSON", { stringify: i(function(t) { + for (var r = [t], n = 1, s, a; arguments.length > n; ) + r.push(arguments[n++]); + if (a = s = r[1], !(!BC(s) && t === void 0 || Fu(t))) + return CC(s) || (s = i(function(u, c) { + if (typeof a == "function" && (c = a.call(this, u, c)), !Fu(c)) + return c; + }, "replacer")), r[1] = s, xs.apply(Ts, r); + }, "stringify") }); + Ue[Ut][gp] || yr()(Ue[Ut], gp, Ue[Ut].valueOf); + bu(Ue, "Symbol"); + bu(Math, "Math", true); + bu(gs.JSON, "JSON", true); + }); + var qp = l((Nj, Pp) => { + Cs(); + Pp.exports = Ke().Object.getOwnPropertySymbols; + }); + var Lp = l((_j, wp) => { + wp.exports = { default: qp(), __esModule: true }; + }); + var Mp = l((Ij, kp) => { + kp.exports = function() { + }; + }); + var jp = l((Rj, Gp) => { + Gp.exports = function(e, t) { + return { value: t, done: !!e }; + }; + }); + var Jn = l((Pj, Up) => { + Up.exports = {}; + }); + var Kp = l((qj, Vp) => { + "use strict"; + var RC = As(), PC = Un(), qC = os(), Yp = {}; + yr()(Yp, Nt()("iterator"), function() { + return this; + }); + Vp.exports = function(e, t, r) { + e.prototype = RC(Yp, { next: PC(1, r) }), qC(e, t + " Iterator"); + }; + }); + var Xp = l((wj, Hp) => { + var wC = jt(), LC = Ds(), Wp = Es()("IE_PROTO"), kC = Object.prototype; + Hp.exports = Object.getPrototypeOf || function(e) { + return e = LC(e), wC(e, Wp) ? e[Wp] : typeof e.constructor == "function" && e instanceof e.constructor ? e.constructor.prototype : e instanceof Object ? kC : null; + }; + }); + var Iu = l((Lj, ef) => { + "use strict"; + var $p = Vn(), Nu = Jr(), MC = su(), Jp = yr(), zp = Jn(), GC = Kp(), jC = os(), UC = Xp(), zn = Nt()("iterator"), _u = !([].keys && "next" in [].keys()), YC = "@@iterator", Qp = "keys", Bs = "values", Zp = i(function() { + return this; + }, "returnThis"); + ef.exports = function(e, t, r, n, s, a, u) { + GC(r, t, n); + var c = i(function(re) { + if (!_u && re in D) + return D[re]; + switch (re) { + case Qp: + return i(function() { + return new r(this, re); + }, "keys"); + case Bs: + return i(function() { + return new r(this, re); + }, "values"); + } + return i(function() { + return new r(this, re); + }, "entries"); + }, "getMethod"), p = t + " Iterator", f = s == Bs, h = false, D = e.prototype, d = D[zn] || D[YC] || s && D[s], x = d || c(s), C = s ? f ? c("entries") : x : void 0, O = t == "Array" && D.entries || d, g, j, $; + if (O && ($ = UC(O.call(new e())), $ !== Object.prototype && $.next && (jC($, p, true), !$p && typeof $[zn] != "function" && Jp($, zn, Zp))), f && d && d.name !== Bs && (h = true, x = i(function() { + return d.call(this); + }, "values")), (!$p || u) && (_u || h || !D[zn]) && Jp(D, zn, x), zp[t] = x, zp[p] = Zp, s) + if (g = { values: f ? x : c(Bs), keys: a ? x : c(Qp), entries: C }, u) + for (j in g) + j in D || MC(D, j, g[j]); + else + Nu(Nu.P + Nu.F * (_u || h), t, g); + return g; + }; + }); + var nf = l((Mj, rf) => { + "use strict"; + var Ru = Mp(), bs = jp(), tf = Jn(), VC = xr(); + rf.exports = Iu()(Array, "Array", function(e, t) { + this._t = VC(e), this._i = 0, this._k = t; + }, function() { + var e = this._t, t = this._k, r = this._i++; + return !e || r >= e.length ? (this._t = void 0, bs(1)) : t == "keys" ? bs(0, r) : t == "values" ? bs(0, e[r]) : bs(0, [r, e[r]]); + }, "values"); + tf.Arguments = tf.Array; + Ru("keys"); + Ru("values"); + Ru("entries"); + }); + var qu = l(() => { + nf(); + var KC = Ot(), WC = yr(), sf = Jn(), af = Nt()("toStringTag"), uf = "CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","); + for (Os = 0; Os < uf.length; Os++) + Ns = uf[Os], Pu = KC[Ns], _s = Pu && Pu.prototype, _s && !_s[af] && WC(_s, af, Ns), sf[Ns] = sf.Array; + var Ns, Pu, _s, Os; + }); + var lf = l((Uj, of) => { + var HC = ds(), XC = fs(); + of.exports = function(e) { + return function(t, r) { + var n = String(XC(t)), s = HC(r), a = n.length, u, c; + return s < 0 || s >= a ? e ? "" : void 0 : (u = n.charCodeAt(s), u < 55296 || u > 56319 || s + 1 === a || (c = n.charCodeAt(s + 1)) < 56320 || c > 57343 ? e ? n.charAt(s) : u : e ? n.slice(s, s + 2) : (u - 55296 << 10) + (c - 56320) + 65536); + }; + }; + }); + var wu = l(() => { + "use strict"; + var $C = lf()(true); + Iu()(String, "String", function(e) { + this._t = String(e), this._i = 0; + }, function() { + var e = this._t, t = this._i, r; + return t >= e.length ? { value: void 0, done: true } : (r = $C(e, t), this._i += r.length, { value: r, done: false }); + }); + }); + var pf = l((Kj, cf) => { + var Lu = ps(), JC = Nt()("toStringTag"), zC = Lu(function() { + return arguments; + }()) == "Arguments", QC = i(function(e, t) { + try { + return e[t]; + } catch { + } + }, "tryGet"); + cf.exports = function(e) { + var t, r, n; + return e === void 0 ? "Undefined" : e === null ? "Null" : typeof (r = QC(t = Object(e), JC)) == "string" ? r : zC ? Lu(t) : (n = Lu(t)) == "Object" && typeof t.callee == "function" ? "Arguments" : n; + }; + }); + var df = l((Hj, ff) => { + var ZC = pf(), eB = Nt()("iterator"), tB = Jn(); + ff.exports = Ke().getIteratorMethod = function(e) { + if (e != null) + return e[eB] || e["@@iterator"] || tB[ZC(e)]; + }; + }); + var mf = l((Xj, Ef) => { + var rB = $r(), nB = df(); + Ef.exports = Ke().getIterator = function(e) { + var t = nB(e); + if (typeof t != "function") + throw TypeError(e + " is not iterable!"); + return rB(t.call(e)); + }; + }); + var Df = l(($j, hf) => { + qu(); + wu(); + hf.exports = mf(); + }); + var Qn = l((Jj, yf) => { + yf.exports = { default: Df(), __esModule: true }; + }); + var xf = l((zj, Af) => { + var ku = Jr(), iB = Ke(), sB = Hr(); + Af.exports = function(e, t) { + var r = (iB.Object || {})[e] || Object[e], n = {}; + n[e] = t(r), ku(ku.S + ku.F * sB(function() { + r(1); + }), "Object", n); + }; + }); + var Tf = l(() => { + var aB = Ds(), uB = Kn(); + xf()("keys", function() { + return i(function(t) { + return uB(aB(t)); + }, "keys"); + }); + }); + var vf = l((tU, gf) => { + Tf(); + gf.exports = Ke().Object.keys; + }); + var Mu = l((rU, Sf) => { + Sf.exports = { default: vf(), __esModule: true }; + }); + var bf = l((nU, Bf) => { + var Ff = Ke(), Cf = Ff.JSON || (Ff.JSON = { stringify: JSON.stringify }); + Bf.exports = i(function(t) { + return Cf.stringify.apply(Cf, arguments); + }, "stringify"); + }); + var Is = l((sU, Of) => { + Of.exports = { default: bf(), __esModule: true }; + }); + var _f = l((aU, Nf) => { + Cs(); + Nf.exports = Ke().Symbol.for; + }); + var Rf = l((uU, If) => { + If.exports = { default: _f(), __esModule: true }; + }); + var Rs = l((Y) => { + "use strict"; + Y.__esModule = true; + Y.NOT_LOCAL_BINDING = Y.BLOCK_SCOPED_SYMBOL = Y.INHERIT_KEYS = Y.UNARY_OPERATORS = Y.STRING_UNARY_OPERATORS = Y.NUMBER_UNARY_OPERATORS = Y.BOOLEAN_UNARY_OPERATORS = Y.BINARY_OPERATORS = Y.NUMBER_BINARY_OPERATORS = Y.BOOLEAN_BINARY_OPERATORS = Y.COMPARISON_BINARY_OPERATORS = Y.EQUALITY_BINARY_OPERATORS = Y.BOOLEAN_NUMBER_BINARY_OPERATORS = Y.UPDATE_OPERATORS = Y.LOGICAL_OPERATORS = Y.COMMENT_KEYS = Y.FOR_INIT_KEYS = Y.FLATTENABLE_KEYS = Y.STATEMENT_OR_BLOCK_KEYS = void 0; + var oB = Rf(), Pf = lB(oB); + function lB(e) { + return e && e.__esModule ? e : { default: e }; + } + i(lB, "_interopRequireDefault"); + var oU = Y.STATEMENT_OR_BLOCK_KEYS = ["consequent", "body", "alternate"], lU = Y.FLATTENABLE_KEYS = ["body", "expressions"], cU = Y.FOR_INIT_KEYS = ["left", "init"], pU = Y.COMMENT_KEYS = ["leadingComments", "trailingComments", "innerComments"], fU = Y.LOGICAL_OPERATORS = ["||", "&&"], dU = Y.UPDATE_OPERATORS = ["++", "--"], cB = Y.BOOLEAN_NUMBER_BINARY_OPERATORS = [">", "<", ">=", "<="], pB = Y.EQUALITY_BINARY_OPERATORS = ["==", "===", "!=", "!=="], fB = Y.COMPARISON_BINARY_OPERATORS = [].concat(pB, ["in", "instanceof"]), dB = Y.BOOLEAN_BINARY_OPERATORS = [].concat(fB, cB), EB = Y.NUMBER_BINARY_OPERATORS = ["-", "/", "%", "*", "**", "&", "|", ">>", ">>>", "<<", "^"], EU = Y.BINARY_OPERATORS = ["+"].concat(EB, dB), mB = Y.BOOLEAN_UNARY_OPERATORS = ["delete", "!"], hB = Y.NUMBER_UNARY_OPERATORS = ["+", "-", "++", "--", "~"], DB = Y.STRING_UNARY_OPERATORS = ["typeof"], mU = Y.UNARY_OPERATORS = ["void"].concat(mB, hB, DB), hU = Y.INHERIT_KEYS = { optional: ["typeAnnotation", "typeParameters", "returnType"], force: ["start", "loc", "end"] }, DU = Y.BLOCK_SCOPED_SYMBOL = (0, Pf.default)("var used to be block scoped"), yU = Y.NOT_LOCAL_BINDING = (0, Pf.default)("should not be considered a local binding"); + }); + var wf = l(() => { + var qf = Jr(); + qf(qf.S, "Object", { create: As() }); + }); + var kf = l((vU, Lf) => { + wf(); + var yB = Ke().Object; + Lf.exports = i(function(t, r) { + return yB.create(t, r); + }, "create"); + }); + var Gf = l((FU, Mf) => { + Mf.exports = { default: kf(), __esModule: true }; + }); + var ju = l((Ps) => { + "use strict"; + Ps.__esModule = true; + var AB = Gf(), xB = vB(AB); + Ps.getBindingIdentifiers = Gu; + Ps.getOuterBindingIdentifiers = SB; + var TB = It(), Qr = gB(TB); + function gB(e) { + if (e && e.__esModule) + return e; + var t = {}; + if (e != null) + for (var r in e) + Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]); + return t.default = e, t; + } + i(gB, "_interopRequireWildcard"); + function vB(e) { + return e && e.__esModule ? e : { default: e }; + } + i(vB, "_interopRequireDefault"); + function Gu(e, t, r) { + for (var n = [].concat(e), s = (0, xB.default)(null); n.length; ) { + var a = n.shift(); + if (a) { + var u = Qr.getBindingIdentifiers.keys[a.type]; + if (Qr.isIdentifier(a)) { + if (t) { + var c = s[a.name] = s[a.name] || []; + c.push(a); + } else + s[a.name] = a; + continue; + } + if (Qr.isExportDeclaration(a)) { + Qr.isDeclaration(a.declaration) && n.push(a.declaration); + continue; + } + if (r) { + if (Qr.isFunctionDeclaration(a)) { + n.push(a.id); + continue; + } + if (Qr.isFunctionExpression(a)) + continue; + } + if (u) + for (var p = 0; p < u.length; p++) { + var f = u[p]; + a[f] && (n = n.concat(a[f])); + } + } + } + return s; + } + i(Gu, "getBindingIdentifiers"); + Gu.keys = { DeclareClass: ["id"], DeclareFunction: ["id"], DeclareModule: ["id"], DeclareVariable: ["id"], InterfaceDeclaration: ["id"], TypeAlias: ["id"], OpaqueType: ["id"], CatchClause: ["param"], LabeledStatement: ["label"], UnaryExpression: ["argument"], AssignmentExpression: ["left"], ImportSpecifier: ["local"], ImportNamespaceSpecifier: ["local"], ImportDefaultSpecifier: ["local"], ImportDeclaration: ["specifiers"], ExportSpecifier: ["exported"], ExportNamespaceSpecifier: ["exported"], ExportDefaultSpecifier: ["exported"], FunctionDeclaration: ["id", "params"], FunctionExpression: ["id", "params"], ClassDeclaration: ["id"], ClassExpression: ["id"], RestElement: ["argument"], UpdateExpression: ["argument"], RestProperty: ["argument"], ObjectProperty: ["value"], AssignmentPattern: ["left"], ArrayPattern: ["elements"], ObjectPattern: ["properties"], VariableDeclaration: ["declarations"], VariableDeclarator: ["id"] }; + function SB(e, t) { + return Gu(e, t, true); + } + i(SB, "getOuterBindingIdentifiers"); + }); + var Uf = l((bU, jf) => { + wu(); + qu(); + jf.exports = ls().f("iterator"); + }); + var Vf = l((OU, Yf) => { + Yf.exports = { default: Uf(), __esModule: true }; + }); + var Kf = l(() => { + }); + var Wf = l(() => { + cs()("asyncIterator"); + }); + var Hf = l(() => { + cs()("observable"); + }); + var $f = l((wU, Xf) => { + Cs(); + Kf(); + Wf(); + Hf(); + Xf.exports = Ke().Symbol; + }); + var zf = l((LU, Jf) => { + Jf.exports = { default: $f(), __esModule: true }; + }); + var Vu = l((Yu) => { + "use strict"; + Yu.__esModule = true; + var FB = Vf(), Qf = Zf(FB), CB = zf(), Yt = Zf(CB), Uu = typeof Yt.default == "function" && typeof Qf.default == "symbol" ? function(e) { + return typeof e; + } : function(e) { + return e && typeof Yt.default == "function" && e.constructor === Yt.default && e !== Yt.default.prototype ? "symbol" : typeof e; + }; + function Zf(e) { + return e && e.__esModule ? e : { default: e }; + } + i(Zf, "_interopRequireDefault"); + Yu.default = typeof Yt.default == "function" && Uu(Qf.default) === "symbol" ? function(e) { + return typeof e > "u" ? "undefined" : Uu(e); + } : function(e) { + return e && typeof Yt.default == "function" && e.constructor === Yt.default && e !== Yt.default.prototype ? "symbol" : typeof e > "u" ? "undefined" : Uu(e); + }; + }); + var t0 = l((GU, e0) => { + (function() { + "use strict"; + function e(u) { + if (u == null) + return false; + switch (u.type) { + case "ArrayExpression": + case "AssignmentExpression": + case "BinaryExpression": + case "CallExpression": + case "ConditionalExpression": + case "FunctionExpression": + case "Identifier": + case "Literal": + case "LogicalExpression": + case "MemberExpression": + case "NewExpression": + case "ObjectExpression": + case "SequenceExpression": + case "ThisExpression": + case "UnaryExpression": + case "UpdateExpression": + return true; + } + return false; + } + i(e, "isExpression"); + function t(u) { + if (u == null) + return false; + switch (u.type) { + case "DoWhileStatement": + case "ForInStatement": + case "ForStatement": + case "WhileStatement": + return true; + } + return false; + } + i(t, "isIterationStatement"); + function r(u) { + if (u == null) + return false; + switch (u.type) { + case "BlockStatement": + case "BreakStatement": + case "ContinueStatement": + case "DebuggerStatement": + case "DoWhileStatement": + case "EmptyStatement": + case "ExpressionStatement": + case "ForInStatement": + case "ForStatement": + case "IfStatement": + case "LabeledStatement": + case "ReturnStatement": + case "SwitchStatement": + case "ThrowStatement": + case "TryStatement": + case "VariableDeclaration": + case "WhileStatement": + case "WithStatement": + return true; + } + return false; + } + i(r, "isStatement"); + function n(u) { + return r(u) || u != null && u.type === "FunctionDeclaration"; + } + i(n, "isSourceElement"); + function s(u) { + switch (u.type) { + case "IfStatement": + return u.alternate != null ? u.alternate : u.consequent; + case "LabeledStatement": + case "ForStatement": + case "ForInStatement": + case "WhileStatement": + case "WithStatement": + return u.body; + } + return null; + } + i(s, "trailingStatement"); + function a(u) { + var c; + if (u.type !== "IfStatement" || u.alternate == null) + return false; + c = u.consequent; + do { + if (c.type === "IfStatement" && c.alternate == null) + return true; + c = s(c); + } while (c); + return false; + } + i(a, "isProblematicIfStatement"), e0.exports = { isExpression: e, isStatement: r, isIterationStatement: t, isSourceElement: n, isProblematicIfStatement: a, trailingStatement: s }; + })(); + }); + var Ku = l((UU, r0) => { + (function() { + "use strict"; + var e, t, r, n, s, a; + t = { NonAsciiIdentifierStart: /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/, NonAsciiIdentifierPart: /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/ }, e = { NonAsciiIdentifierStart: /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C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05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/, NonAsciiIdentifierPart: /[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0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6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28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uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|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\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/ }; + function u(g) { + return 48 <= g && g <= 57; + } + i(u, "isDecimalDigit"); + function c(g) { + return 48 <= g && g <= 57 || 97 <= g && g <= 102 || 65 <= g && g <= 70; + } + i(c, "isHexDigit"); + function p(g) { + return g >= 48 && g <= 55; + } + i(p, "isOctalDigit"), r = [5760, 8192, 8193, 8194, 8195, 8196, 8197, 8198, 8199, 8200, 8201, 8202, 8239, 8287, 12288, 65279]; + function f(g) { + return g === 32 || g === 9 || g === 11 || g === 12 || g === 160 || g >= 5760 && r.indexOf(g) >= 0; + } + i(f, "isWhiteSpace"); + function h(g) { + return g === 10 || g === 13 || g === 8232 || g === 8233; + } + i(h, "isLineTerminator"); + function D(g) { + if (g <= 65535) + return String.fromCharCode(g); + var j = String.fromCharCode(Math.floor((g - 65536) / 1024) + 55296), $ = String.fromCharCode((g - 65536) % 1024 + 56320); + return j + $; + } + for (i(D, "fromCodePoint"), n = new Array(128), a = 0; a < 128; ++a) + n[a] = a >= 97 && a <= 122 || a >= 65 && a <= 90 || a === 36 || a === 95; + for (s = new Array(128), a = 0; a < 128; ++a) + s[a] = a >= 97 && a <= 122 || a >= 65 && a <= 90 || a >= 48 && a <= 57 || a === 36 || a === 95; + function d(g) { + return g < 128 ? n[g] : t.NonAsciiIdentifierStart.test(D(g)); + } + i(d, "isIdentifierStartES5"); + function x(g) { + return g < 128 ? s[g] : t.NonAsciiIdentifierPart.test(D(g)); + } + i(x, "isIdentifierPartES5"); + function C(g) { + return g < 128 ? n[g] : e.NonAsciiIdentifierStart.test(D(g)); + } + i(C, "isIdentifierStartES6"); + function O(g) { + return g < 128 ? s[g] : e.NonAsciiIdentifierPart.test(D(g)); + } + i(O, "isIdentifierPartES6"), r0.exports = { isDecimalDigit: u, isHexDigit: c, isOctalDigit: p, isWhiteSpace: f, isLineTerminator: h, isIdentifierStartES5: d, isIdentifierPartES5: x, isIdentifierStartES6: C, isIdentifierPartES6: O }; + })(); + }); + var i0 = l((VU, n0) => { + (function() { + "use strict"; + var e = Ku(); + function t(d) { + switch (d) { + case "implements": + case "interface": + case "package": + case "private": + case "protected": + case "public": + case "static": + case "let": + return true; + default: + return false; + } + } + i(t, "isStrictModeReservedWordES6"); + function r(d, x) { + return !x && d === "yield" ? false : n(d, x); + } + i(r, "isKeywordES5"); + function n(d, x) { + if (x && t(d)) + return true; + switch (d.length) { + case 2: + return d === "if" || d === "in" || d === "do"; + case 3: + return d === "var" || d === "for" || d === "new" || d === "try"; + case 4: + return d === "this" || d === "else" || d === "case" || d === "void" || d === "with" || d === "enum"; + case 5: + return d === "while" || d === "break" || d === "catch" || d === "throw" || d === "const" || d === "yield" || d === "class" || d === "super"; + case 6: + return d === "return" || d === "typeof" || d === "delete" || d === "switch" || d === "export" || d === "import"; + case 7: + return d === "default" || d === "finally" || d === "extends"; + case 8: + return d === "function" || d === "continue" || d === "debugger"; + case 10: + return d === "instanceof"; + default: + return false; + } + } + i(n, "isKeywordES6"); + function s(d, x) { + return d === "null" || d === "true" || d === "false" || r(d, x); + } + i(s, "isReservedWordES5"); + function a(d, x) { + return d === "null" || d === "true" || d === "false" || n(d, x); + } + i(a, "isReservedWordES6"); + function u(d) { + return d === "eval" || d === "arguments"; + } + i(u, "isRestrictedWord"); + function c(d) { + var x, C, O; + if (d.length === 0 || (O = d.charCodeAt(0), !e.isIdentifierStartES5(O))) + return false; + for (x = 1, C = d.length; x < C; ++x) + if (O = d.charCodeAt(x), !e.isIdentifierPartES5(O)) + return false; + return true; + } + i(c, "isIdentifierNameES5"); + function p(d, x) { + return (d - 55296) * 1024 + (x - 56320) + 65536; + } + i(p, "decodeUtf16"); + function f(d) { + var x, C, O, g, j; + if (d.length === 0) + return false; + for (j = e.isIdentifierStartES6, x = 0, C = d.length; x < C; ++x) { + if (O = d.charCodeAt(x), 55296 <= O && O <= 56319) { + if (++x, x >= C || (g = d.charCodeAt(x), !(56320 <= g && g <= 57343))) + return false; + O = p(O, g); + } + if (!j(O)) + return false; + j = e.isIdentifierPartES6; + } + return true; + } + i(f, "isIdentifierNameES6"); + function h(d, x) { + return c(d) && !s(d, x); + } + i(h, "isIdentifierES5"); + function D(d, x) { + return f(d) && !a(d, x); + } + i(D, "isIdentifierES6"), n0.exports = { isKeywordES5: r, isKeywordES6: n, isReservedWordES5: s, isReservedWordES6: a, isRestrictedWord: u, isIdentifierNameES5: c, isIdentifierNameES6: f, isIdentifierES5: h, isIdentifierES6: D }; + })(); + }); + var s0 = l((qs) => { + (function() { + "use strict"; + qs.ast = t0(), qs.code = Ku(), qs.keyword = i0(); + })(); + }); + var l0 = l((ze) => { + "use strict"; + ze.__esModule = true; + var BB = Mu(), bB = Ls(BB), OB = Vu(), ws = Ls(OB), NB = Qn(), u0 = Ls(NB); + ze.isBinding = qB; + ze.isReferenced = wB; + ze.isValidIdentifier = LB; + ze.isLet = kB; + ze.isBlockScoped = MB; + ze.isVar = GB; + ze.isSpecifierDefault = jB; + ze.isScope = UB; + ze.isImmutable = YB; + ze.isNodesEquivalent = Wu; + var _B = ju(), IB = s0(), a0 = Ls(IB), RB = It(), We = PB(RB), o0 = Rs(); + function PB(e) { + if (e && e.__esModule) + return e; + var t = {}; + if (e != null) + for (var r in e) + Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]); + return t.default = e, t; + } + i(PB, "_interopRequireWildcard"); + function Ls(e) { + return e && e.__esModule ? e : { default: e }; + } + i(Ls, "_interopRequireDefault"); + function qB(e, t) { + var r = _B.getBindingIdentifiers.keys[t.type]; + if (r) + for (var n = 0; n < r.length; n++) { + var s = r[n], a = t[s]; + if (Array.isArray(a)) { + if (a.indexOf(e) >= 0) + return true; + } else if (a === e) + return true; + } + return false; + } + i(qB, "isBinding"); + function wB(e, t) { + switch (t.type) { + case "BindExpression": + return t.object === e || t.callee === e; + case "MemberExpression": + case "JSXMemberExpression": + return t.property === e && t.computed ? true : t.object === e; + case "MetaProperty": + return false; + case "ObjectProperty": + if (t.key === e) + return t.computed; + case "VariableDeclarator": + return t.id !== e; + case "ArrowFunctionExpression": + case "FunctionDeclaration": + case "FunctionExpression": + for (var s = t.params, r = Array.isArray(s), n = 0, s = r ? s : (0, u0.default)(s); ; ) { + var a; + if (r) { + if (n >= s.length) + break; + a = s[n++]; + } else { + if (n = s.next(), n.done) + break; + a = n.value; + } + var u = a; + if (u === e) + return false; + } + return t.id !== e; + case "ExportSpecifier": + return t.source ? false : t.local === e; + case "ExportNamespaceSpecifier": + case "ExportDefaultSpecifier": + return false; + case "JSXAttribute": + return t.name !== e; + case "ClassProperty": + return t.key === e ? t.computed : t.value === e; + case "ImportDefaultSpecifier": + case "ImportNamespaceSpecifier": + case "ImportSpecifier": + return false; + case "ClassDeclaration": + case "ClassExpression": + return t.id !== e; + case "ClassMethod": + case "ObjectMethod": + return t.key === e && t.computed; + case "LabeledStatement": + return false; + case "CatchClause": + return t.param !== e; + case "RestElement": + return false; + case "AssignmentExpression": + return t.right === e; + case "AssignmentPattern": + return t.right === e; + case "ObjectPattern": + case "ArrayPattern": + return false; + } + return true; + } + i(wB, "isReferenced"); + function LB(e) { + return typeof e != "string" || a0.default.keyword.isReservedWordES6(e, true) || e === "await" ? false : a0.default.keyword.isIdentifierNameES6(e); + } + i(LB, "isValidIdentifier"); + function kB(e) { + return We.isVariableDeclaration(e) && (e.kind !== "var" || e[o0.BLOCK_SCOPED_SYMBOL]); + } + i(kB, "isLet"); + function MB(e) { + return We.isFunctionDeclaration(e) || We.isClassDeclaration(e) || We.isLet(e); + } + i(MB, "isBlockScoped"); + function GB(e) { + return We.isVariableDeclaration(e, { kind: "var" }) && !e[o0.BLOCK_SCOPED_SYMBOL]; + } + i(GB, "isVar"); + function jB(e) { + return We.isImportDefaultSpecifier(e) || We.isIdentifier(e.imported || e.exported, { name: "default" }); + } + i(jB, "isSpecifierDefault"); + function UB(e, t) { + return We.isBlockStatement(e) && We.isFunction(t, { body: e }) ? false : We.isScopable(e); + } + i(UB, "isScope"); + function YB(e) { + return We.isType(e.type, "Immutable") ? true : We.isIdentifier(e) ? e.name === "undefined" : false; + } + i(YB, "isImmutable"); + function Wu(e, t) { + if ((typeof e > "u" ? "undefined" : (0, ws.default)(e)) !== "object" || (typeof e > "u" ? "undefined" : (0, ws.default)(e)) !== "object" || e == null || t == null) + return e === t; + if (e.type !== t.type) + return false; + for (var r = (0, bB.default)(We.NODE_FIELDS[e.type] || e.type), a = r, n = Array.isArray(a), s = 0, a = n ? a : (0, u0.default)(a); ; ) { + var u; + if (n) { + if (s >= a.length) + break; + u = a[s++]; + } else { + if (s = a.next(), s.done) + break; + u = s.value; + } + var c = u; + if ((0, ws.default)(e[c]) !== (0, ws.default)(t[c])) + return false; + if (Array.isArray(e[c])) { + if (!Array.isArray(t[c]) || e[c].length !== t[c].length) + return false; + for (var p = 0; p < e[c].length; p++) + if (!Wu(e[c][p], t[c][p])) + return false; + continue; + } + if (!Wu(e[c], t[c])) + return false; + } + return true; + } + i(Wu, "isNodesEquivalent"); + }); + var p0 = l(() => { + var c0 = Jr(); + c0(c0.S, "Number", { MAX_SAFE_INTEGER: 9007199254740991 }); + }); + var d0 = l((zU, f0) => { + p0(); + f0.exports = 9007199254740991; + }); + var m0 = l((QU, E0) => { + E0.exports = { default: d0(), __esModule: true }; + }); + var Hu = l((ZU, h0) => { + var VB = typeof global == "object" && global && global.Object === Object && global; + h0.exports = VB; + }); + var rt = l((eY, D0) => { + var KB = Hu(), WB = typeof self == "object" && self && self.Object === Object && self, HB = KB || WB || Function("return this")(); + D0.exports = HB; + }); + var ks = l((tY, y0) => { + var XB = rt(), $B = XB.Symbol; + y0.exports = $B; + }); + var g0 = l((rY, T0) => { + var A0 = ks(), x0 = Object.prototype, JB = x0.hasOwnProperty, zB = x0.toString, Zn = A0 ? A0.toStringTag : void 0; + function QB(e) { + var t = JB.call(e, Zn), r = e[Zn]; + try { + e[Zn] = void 0; + var n = true; + } catch { + } + var s = zB.call(e); + return n && (t ? e[Zn] = r : delete e[Zn]), s; + } + i(QB, "getRawTag"); + T0.exports = QB; + }); + var S0 = l((iY, v0) => { + var ZB = Object.prototype, eb = ZB.toString; + function tb(e) { + return eb.call(e); + } + i(tb, "objectToString"); + v0.exports = tb; + }); + var gr = l((aY, B0) => { + var F0 = ks(), rb = g0(), nb = S0(), ib = "[object Null]", sb = "[object Undefined]", C0 = F0 ? F0.toStringTag : void 0; + function ab(e) { + return e == null ? e === void 0 ? sb : ib : C0 && C0 in Object(e) ? rb(e) : nb(e); + } + i(ab, "baseGetTag"); + B0.exports = ab; + }); + var Xu = l((oY, b0) => { + function ub(e, t) { + return function(r) { + return e(t(r)); + }; + } + i(ub, "overArg"); + b0.exports = ub; + }); + var Ms = l((cY, O0) => { + var ob = Xu(), lb = ob(Object.getPrototypeOf, Object); + O0.exports = lb; + }); + var Vt = l((pY, N0) => { + function cb(e) { + return e != null && typeof e == "object"; + } + i(cb, "isObjectLike"); + N0.exports = cb; + }); + var R0 = l((dY, I0) => { + var pb = gr(), fb = Ms(), db = Vt(), Eb = "[object Object]", mb = Function.prototype, hb = Object.prototype, _0 = mb.toString, Db = hb.hasOwnProperty, yb = _0.call(Object); + function Ab(e) { + if (!db(e) || pb(e) != Eb) + return false; + var t = fb(e); + if (t === null) + return true; + var r = Db.call(t, "constructor") && t.constructor; + return typeof r == "function" && r instanceof r && _0.call(r) == yb; + } + i(Ab, "isPlainObject"); + I0.exports = Ab; + }); + var q0 = l((mY, P0) => { + var xb = gr(), Tb = Vt(), gb = "[object RegExp]"; + function vb(e) { + return Tb(e) && xb(e) == gb; + } + i(vb, "baseIsRegExp"); + P0.exports = vb; + }); + var ei = l((DY, w0) => { + function Sb(e) { + return function(t) { + return e(t); + }; + } + i(Sb, "baseUnary"); + w0.exports = Sb; + }); + var ni = l((ti, Zr) => { + var Fb = Hu(), L0 = typeof ti == "object" && ti && !ti.nodeType && ti, ri = L0 && typeof Zr == "object" && Zr && !Zr.nodeType && Zr, Cb = ri && ri.exports === L0, $u = Cb && Fb.process, Bb = function() { + try { + var e = ri && ri.require && ri.require("util").types; + return e || $u && $u.binding && $u.binding("util"); + } catch { + } + }(); + Zr.exports = Bb; + }); + var j0 = l((AY, G0) => { + var bb = q0(), Ob = ei(), k0 = ni(), M0 = k0 && k0.isRegExp, Nb = M0 ? Ob(M0) : bb; + G0.exports = Nb; + }); + var V0 = l((nt) => { + "use strict"; + nt.__esModule = true; + var _b = m0(), Ib = ii(_b), Rb = Is(), U0 = ii(Rb), Pb = Qn(), Ju = ii(Pb); + nt.toComputedKey = jb; + nt.toSequenceExpression = Ub; + nt.toKeyAlias = vr; + nt.toIdentifier = Y0; + nt.toBindingIdentifierName = Yb; + nt.toStatement = Vb; + nt.toExpression = Kb; + nt.toBlock = Wb; + nt.valueToNode = Hb; + var qb = R0(), wb = ii(qb), Lb = j0(), kb = ii(Lb), Mb = It(), M = Gb(Mb); + function Gb(e) { + if (e && e.__esModule) + return e; + var t = {}; + if (e != null) + for (var r in e) + Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]); + return t.default = e, t; + } + i(Gb, "_interopRequireWildcard"); + function ii(e) { + return e && e.__esModule ? e : { default: e }; + } + i(ii, "_interopRequireDefault"); + function jb(e) { + var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.key || e.property; + return e.computed || M.isIdentifier(t) && (t = M.stringLiteral(t.name)), t; + } + i(jb, "toComputedKey"); + function Gs(e, t, r) { + for (var n = [], s = true, c = e, a = Array.isArray(c), u = 0, c = a ? c : (0, Ju.default)(c); ; ) { + var p; + if (a) { + if (u >= c.length) + break; + p = c[u++]; + } else { + if (u = c.next(), u.done) + break; + p = u.value; + } + var f = p; + if (s = false, M.isExpression(f)) + n.push(f); + else if (M.isExpressionStatement(f)) + n.push(f.expression); + else if (M.isVariableDeclaration(f)) { + if (f.kind !== "var") + return; + for (var d = f.declarations, h = Array.isArray(d), D = 0, d = h ? d : (0, Ju.default)(d); ; ) { + var x; + if (h) { + if (D >= d.length) + break; + x = d[D++]; + } else { + if (D = d.next(), D.done) + break; + x = D.value; + } + var C = x, O = M.getBindingIdentifiers(C); + for (var g in O) + r.push({ kind: f.kind, id: O[g] }); + C.init && n.push(M.assignmentExpression("=", C.id, C.init)); + } + s = true; + } else if (M.isIfStatement(f)) { + var j = f.consequent ? Gs([f.consequent], t, r) : t.buildUndefinedNode(), $ = f.alternate ? Gs([f.alternate], t, r) : t.buildUndefinedNode(); + if (!j || !$) + return; + n.push(M.conditionalExpression(f.test, j, $)); + } else if (M.isBlockStatement(f)) { + var re = Gs(f.body, t, r); + if (!re) + return; + n.push(re); + } else if (M.isEmptyStatement(f)) + s = true; + else + return; + } + return s && n.push(t.buildUndefinedNode()), n.length === 1 ? n[0] : M.sequenceExpression(n); + } + i(Gs, "gatherSequenceExpressions"); + function Ub(e, t) { + if (!(!e || !e.length)) { + var r = [], n = Gs(e, t, r); + if (n) { + for (var u = r, s = Array.isArray(u), a = 0, u = s ? u : (0, Ju.default)(u); ; ) { + var c; + if (s) { + if (a >= u.length) + break; + c = u[a++]; + } else { + if (a = u.next(), a.done) + break; + c = a.value; + } + var p = c; + t.push(p); + } + return n; + } + } + } + i(Ub, "toSequenceExpression"); + function vr(e) { + var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.key, r = void 0; + return e.kind === "method" ? vr.increment() + "" : (M.isIdentifier(t) ? r = t.name : M.isStringLiteral(t) ? r = (0, U0.default)(t.value) : r = (0, U0.default)(M.removePropertiesDeep(M.cloneDeep(t))), e.computed && (r = "[" + r + "]"), e.static && (r = "static:" + r), r); + } + i(vr, "toKeyAlias"); + vr.uid = 0; + vr.increment = function() { + return vr.uid >= Ib.default ? vr.uid = 0 : vr.uid++; + }; + function Y0(e) { + return e = e + "", e = e.replace(/[^a-zA-Z0-9$_]/g, "-"), e = e.replace(/^[-0-9]+/, ""), e = e.replace(/[-\s]+(.)?/g, function(t, r) { + return r ? r.toUpperCase() : ""; + }), M.isValidIdentifier(e) || (e = "_" + e), e || "_"; + } + i(Y0, "toIdentifier"); + function Yb(e) { + return e = Y0(e), (e === "eval" || e === "arguments") && (e = "_" + e), e; + } + i(Yb, "toBindingIdentifierName"); + function Vb(e, t) { + if (M.isStatement(e)) + return e; + var r = false, n = void 0; + if (M.isClass(e)) + r = true, n = "ClassDeclaration"; + else if (M.isFunction(e)) + r = true, n = "FunctionDeclaration"; + else if (M.isAssignmentExpression(e)) + return M.expressionStatement(e); + if (r && !e.id && (n = false), !n) { + if (t) + return false; + throw new Error("cannot turn " + e.type + " to a statement"); + } + return e.type = n, e; + } + i(Vb, "toStatement"); + function Kb(e) { + if (M.isExpressionStatement(e) && (e = e.expression), M.isExpression(e)) + return e; + if (M.isClass(e) ? e.type = "ClassExpression" : M.isFunction(e) && (e.type = "FunctionExpression"), !M.isExpression(e)) + throw new Error("cannot turn " + e.type + " to an expression"); + return e; + } + i(Kb, "toExpression"); + function Wb(e, t) { + return M.isBlockStatement(e) ? e : (M.isEmptyStatement(e) && (e = []), Array.isArray(e) || (M.isStatement(e) || (M.isFunction(t) ? e = M.returnStatement(e) : e = M.expressionStatement(e)), e = [e]), M.blockStatement(e)); + } + i(Wb, "toBlock"); + function Hb(e) { + if (e === void 0) + return M.identifier("undefined"); + if (e === true || e === false) + return M.booleanLiteral(e); + if (e === null) + return M.nullLiteral(); + if (typeof e == "string") + return M.stringLiteral(e); + if (typeof e == "number") + return M.numericLiteral(e); + if ((0, kb.default)(e)) { + var t = e.source, r = e.toString().match(/\/([a-z]+|)$/)[1]; + return M.regExpLiteral(t, r); + } + if (Array.isArray(e)) + return M.arrayExpression(e.map(M.valueToNode)); + if ((0, wb.default)(e)) { + var n = []; + for (var s in e) { + var a = void 0; + M.isValidIdentifier(s) ? a = M.identifier(s) : a = M.stringLiteral(s), n.push(M.objectProperty(a, M.valueToNode(e[s]))); + } + return M.objectExpression(n); + } + throw new Error("don't know how to turn this value into a node"); + } + i(Hb, "valueToNode"); + }); + var K0 = l((si) => { + "use strict"; + si.__esModule = true; + si.createUnionTypeAnnotation = Jb; + si.removeTypeDuplicates = zu; + si.createTypeAnnotationBasedOnTypeof = zb; + var Xb = It(), Le = $b(Xb); + function $b(e) { + if (e && e.__esModule) + return e; + var t = {}; + if (e != null) + for (var r in e) + Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]); + return t.default = e, t; + } + i($b, "_interopRequireWildcard"); + function Jb(e) { + var t = zu(e); + return t.length === 1 ? t[0] : Le.unionTypeAnnotation(t); + } + i(Jb, "createUnionTypeAnnotation"); + function zu(e) { + for (var t = {}, r = {}, n = [], s = [], a = 0; a < e.length; a++) { + var u = e[a]; + if (u && !(s.indexOf(u) >= 0)) { + if (Le.isAnyTypeAnnotation(u)) + return [u]; + if (Le.isFlowBaseAnnotation(u)) { + r[u.type] = u; + continue; + } + if (Le.isUnionTypeAnnotation(u)) { + n.indexOf(u.types) < 0 && (e = e.concat(u.types), n.push(u.types)); + continue; + } + if (Le.isGenericTypeAnnotation(u)) { + var c = u.id.name; + if (t[c]) { + var p = t[c]; + p.typeParameters ? u.typeParameters && (p.typeParameters.params = zu(p.typeParameters.params.concat(u.typeParameters.params))) : p = u.typeParameters; + } else + t[c] = u; + continue; + } + s.push(u); + } + } + for (var f in r) + s.push(r[f]); + for (var h in t) + s.push(t[h]); + return s; + } + i(zu, "removeTypeDuplicates"); + function zb(e) { + if (e === "string") + return Le.stringTypeAnnotation(); + if (e === "number") + return Le.numberTypeAnnotation(); + if (e === "undefined") + return Le.voidTypeAnnotation(); + if (e === "boolean") + return Le.booleanTypeAnnotation(); + if (e === "function") + return Le.genericTypeAnnotation(Le.identifier("Function")); + if (e === "object") + return Le.genericTypeAnnotation(Le.identifier("Object")); + if (e === "symbol") + return Le.genericTypeAnnotation(Le.identifier("Symbol")); + throw new Error("Invalid typeof value"); + } + i(zb, "createTypeAnnotationBasedOnTypeof"); + }); + var W0 = l((exports, module) => { + "use strict"; + module.exports = i(function toFastproperties(o) { + function Sub() { + } + i(Sub, "Sub"), Sub.prototype = o; + var receiver = new Sub(); + function ic() { + return typeof receiver.foo; + } + return i(ic, "ic"), ic(), ic(), o; + eval("o" + o); + }, "toFastproperties"); + }); + var X0 = l((FY, H0) => { + function Qb() { + this.__data__ = [], this.size = 0; + } + i(Qb, "listCacheClear"); + H0.exports = Qb; + }); + var Qu = l((BY, $0) => { + function Zb(e, t) { + return e === t || e !== e && t !== t; + } + i(Zb, "eq"); + $0.exports = Zb; + }); + var ai = l((OY, J0) => { + var eO = Qu(); + function tO(e, t) { + for (var r = e.length; r--; ) + if (eO(e[r][0], t)) + return r; + return -1; + } + i(tO, "assocIndexOf"); + J0.exports = tO; + }); + var Q0 = l((_Y, z0) => { + var rO = ai(), nO = Array.prototype, iO = nO.splice; + function sO(e) { + var t = this.__data__, r = rO(t, e); + if (r < 0) + return false; + var n = t.length - 1; + return r == n ? t.pop() : iO.call(t, r, 1), --this.size, true; + } + i(sO, "listCacheDelete"); + z0.exports = sO; + }); + var ed = l((RY, Z0) => { + var aO = ai(); + function uO(e) { + var t = this.__data__, r = aO(t, e); + return r < 0 ? void 0 : t[r][1]; + } + i(uO, "listCacheGet"); + Z0.exports = uO; + }); + var rd = l((qY, td) => { + var oO = ai(); + function lO(e) { + return oO(this.__data__, e) > -1; + } + i(lO, "listCacheHas"); + td.exports = lO; + }); + var id = l((LY, nd) => { + var cO = ai(); + function pO(e, t) { + var r = this.__data__, n = cO(r, e); + return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this; + } + i(pO, "listCacheSet"); + nd.exports = pO; + }); + var ui = l((MY, sd) => { + var fO = X0(), dO = Q0(), EO = ed(), mO = rd(), hO = id(); + function en(e) { + var t = -1, r = e == null ? 0 : e.length; + for (this.clear(); ++t < r; ) { + var n = e[t]; + this.set(n[0], n[1]); + } + } + i(en, "ListCache"); + en.prototype.clear = fO; + en.prototype.delete = dO; + en.prototype.get = EO; + en.prototype.has = mO; + en.prototype.set = hO; + sd.exports = en; + }); + var ud = l((jY, ad) => { + var DO = ui(); + function yO() { + this.__data__ = new DO(), this.size = 0; + } + i(yO, "stackClear"); + ad.exports = yO; + }); + var ld = l((YY, od) => { + function AO(e) { + var t = this.__data__, r = t.delete(e); + return this.size = t.size, r; + } + i(AO, "stackDelete"); + od.exports = AO; + }); + var pd = l((KY, cd) => { + function xO(e) { + return this.__data__.get(e); + } + i(xO, "stackGet"); + cd.exports = xO; + }); + var dd = l((HY, fd) => { + function TO(e) { + return this.__data__.has(e); + } + i(TO, "stackHas"); + fd.exports = TO; + }); + var tn = l(($Y, Ed) => { + function gO(e) { + var t = typeof e; + return e != null && (t == "object" || t == "function"); + } + i(gO, "isObject"); + Ed.exports = gO; + }); + var Zu = l((zY, md) => { + var vO = gr(), SO = tn(), FO = "[object AsyncFunction]", CO = "[object Function]", BO = "[object GeneratorFunction]", bO = "[object Proxy]"; + function OO(e) { + if (!SO(e)) + return false; + var t = vO(e); + return t == CO || t == BO || t == FO || t == bO; + } + i(OO, "isFunction"); + md.exports = OO; + }); + var Dd = l((ZY, hd) => { + var NO = rt(), _O = NO["__core-js_shared__"]; + hd.exports = _O; + }); + var xd = l((eV, Ad) => { + var eo = Dd(), yd = function() { + var e = /[^.]+$/.exec(eo && eo.keys && eo.keys.IE_PROTO || ""); + return e ? "Symbol(src)_1." + e : ""; + }(); + function IO(e) { + return !!yd && yd in e; + } + i(IO, "isMasked"); + Ad.exports = IO; + }); + var to = l((rV, Td) => { + var RO = Function.prototype, PO = RO.toString; + function qO(e) { + if (e != null) { + try { + return PO.call(e); + } catch { + } + try { + return e + ""; + } catch { + } + } + return ""; + } + i(qO, "toSource"); + Td.exports = qO; + }); + var vd = l((iV, gd) => { + var wO = Zu(), LO = xd(), kO = tn(), MO = to(), GO = /[\\^$.*+?()[\]{}|]/g, jO = /^\[object .+?Constructor\]$/, UO = Function.prototype, YO = Object.prototype, VO = UO.toString, KO = YO.hasOwnProperty, WO = RegExp("^" + VO.call(KO).replace(GO, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"); + function HO(e) { + if (!kO(e) || LO(e)) + return false; + var t = wO(e) ? WO : jO; + return t.test(MO(e)); + } + i(HO, "baseIsNative"); + gd.exports = HO; + }); + var Fd = l((aV, Sd) => { + function XO(e, t) { + return e?.[t]; + } + i(XO, "getValue"); + Sd.exports = XO; + }); + var Kt = l((oV, Cd) => { + var $O = vd(), JO = Fd(); + function zO(e, t) { + var r = JO(e, t); + return $O(r) ? r : void 0; + } + i(zO, "getNative"); + Cd.exports = zO; + }); + var js = l((cV, Bd) => { + var QO = Kt(), ZO = rt(), eN = QO(ZO, "Map"); + Bd.exports = eN; + }); + var oi = l((pV, bd) => { + var tN = Kt(), rN = tN(Object, "create"); + bd.exports = rN; + }); + var _d = l((fV, Nd) => { + var Od = oi(); + function nN() { + this.__data__ = Od ? Od(null) : {}, this.size = 0; + } + i(nN, "hashClear"); + Nd.exports = nN; + }); + var Rd = l((EV, Id) => { + function iN(e) { + var t = this.has(e) && delete this.__data__[e]; + return this.size -= t ? 1 : 0, t; + } + i(iN, "hashDelete"); + Id.exports = iN; + }); + var qd = l((hV, Pd) => { + var sN = oi(), aN = "__lodash_hash_undefined__", uN = Object.prototype, oN = uN.hasOwnProperty; + function lN(e) { + var t = this.__data__; + if (sN) { + var r = t[e]; + return r === aN ? void 0 : r; + } + return oN.call(t, e) ? t[e] : void 0; + } + i(lN, "hashGet"); + Pd.exports = lN; + }); + var Ld = l((yV, wd) => { + var cN = oi(), pN = Object.prototype, fN = pN.hasOwnProperty; + function dN(e) { + var t = this.__data__; + return cN ? t[e] !== void 0 : fN.call(t, e); + } + i(dN, "hashHas"); + wd.exports = dN; + }); + var Md = l((xV, kd) => { + var EN = oi(), mN = "__lodash_hash_undefined__"; + function hN(e, t) { + var r = this.__data__; + return this.size += this.has(e) ? 0 : 1, r[e] = EN && t === void 0 ? mN : t, this; + } + i(hN, "hashSet"); + kd.exports = hN; + }); + var jd = l((gV, Gd) => { + var DN = _d(), yN = Rd(), AN = qd(), xN = Ld(), TN = Md(); + function rn(e) { + var t = -1, r = e == null ? 0 : e.length; + for (this.clear(); ++t < r; ) { + var n = e[t]; + this.set(n[0], n[1]); + } + } + i(rn, "Hash"); + rn.prototype.clear = DN; + rn.prototype.delete = yN; + rn.prototype.get = AN; + rn.prototype.has = xN; + rn.prototype.set = TN; + Gd.exports = rn; + }); + var Vd = l((SV, Yd) => { + var Ud = jd(), gN = ui(), vN = js(); + function SN() { + this.size = 0, this.__data__ = { hash: new Ud(), map: new (vN || gN)(), string: new Ud() }; + } + i(SN, "mapCacheClear"); + Yd.exports = SN; + }); + var Wd = l((CV, Kd) => { + function FN(e) { + var t = typeof e; + return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null; + } + i(FN, "isKeyable"); + Kd.exports = FN; + }); + var li = l((bV, Hd) => { + var CN = Wd(); + function BN(e, t) { + var r = e.__data__; + return CN(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map; + } + i(BN, "getMapData"); + Hd.exports = BN; + }); + var $d = l((NV, Xd) => { + var bN = li(); + function ON(e) { + var t = bN(this, e).delete(e); + return this.size -= t ? 1 : 0, t; + } + i(ON, "mapCacheDelete"); + Xd.exports = ON; + }); + var zd = l((IV, Jd) => { + var NN = li(); + function _N(e) { + return NN(this, e).get(e); + } + i(_N, "mapCacheGet"); + Jd.exports = _N; + }); + var Zd = l((PV, Qd) => { + var IN = li(); + function RN(e) { + return IN(this, e).has(e); + } + i(RN, "mapCacheHas"); + Qd.exports = RN; + }); + var tE = l((wV, eE) => { + var PN = li(); + function qN(e, t) { + var r = PN(this, e), n = r.size; + return r.set(e, t), this.size += r.size == n ? 0 : 1, this; + } + i(qN, "mapCacheSet"); + eE.exports = qN; + }); + var ro = l((kV, rE) => { + var wN = Vd(), LN = $d(), kN = zd(), MN = Zd(), GN = tE(); + function nn(e) { + var t = -1, r = e == null ? 0 : e.length; + for (this.clear(); ++t < r; ) { + var n = e[t]; + this.set(n[0], n[1]); + } + } + i(nn, "MapCache"); + nn.prototype.clear = wN; + nn.prototype.delete = LN; + nn.prototype.get = kN; + nn.prototype.has = MN; + nn.prototype.set = GN; + rE.exports = nn; + }); + var iE = l((GV, nE) => { + var jN = ui(), UN = js(), YN = ro(), VN = 200; + function KN(e, t) { + var r = this.__data__; + if (r instanceof jN) { + var n = r.__data__; + if (!UN || n.length < VN - 1) + return n.push([e, t]), this.size = ++r.size, this; + r = this.__data__ = new YN(n); + } + return r.set(e, t), this.size = r.size, this; + } + i(KN, "stackSet"); + nE.exports = KN; + }); + var aE = l((UV, sE) => { + var WN = ui(), HN = ud(), XN = ld(), $N = pd(), JN = dd(), zN = iE(); + function sn(e) { + var t = this.__data__ = new WN(e); + this.size = t.size; + } + i(sn, "Stack"); + sn.prototype.clear = HN; + sn.prototype.delete = XN; + sn.prototype.get = $N; + sn.prototype.has = JN; + sn.prototype.set = zN; + sE.exports = sn; + }); + var oE = l((VV, uE) => { + function QN(e, t) { + for (var r = -1, n = e == null ? 0 : e.length; ++r < n && t(e[r], r, e) !== false; ) + ; + return e; + } + i(QN, "arrayEach"); + uE.exports = QN; + }); + var cE = l((WV, lE) => { + var ZN = Kt(), e_ = function() { + try { + var e = ZN(Object, "defineProperty"); + return e({}, "", {}), e; + } catch { + } + }(); + lE.exports = e_; + }); + var no = l((HV, fE) => { + var pE = cE(); + function t_(e, t, r) { + t == "__proto__" && pE ? pE(e, t, { configurable: true, enumerable: true, value: r, writable: true }) : e[t] = r; + } + i(t_, "baseAssignValue"); + fE.exports = t_; + }); + var io = l(($V, dE) => { + var r_ = no(), n_ = Qu(), i_ = Object.prototype, s_ = i_.hasOwnProperty; + function a_(e, t, r) { + var n = e[t]; + (!(s_.call(e, t) && n_(n, r)) || r === void 0 && !(t in e)) && r_(e, t, r); + } + i(a_, "assignValue"); + dE.exports = a_; + }); + var ci = l((zV, EE) => { + var u_ = io(), o_ = no(); + function l_(e, t, r, n) { + var s = !r; + r || (r = {}); + for (var a = -1, u = t.length; ++a < u; ) { + var c = t[a], p = n ? n(r[c], e[c], c, r, e) : void 0; + p === void 0 && (p = e[c]), s ? o_(r, c, p) : u_(r, c, p); + } + return r; + } + i(l_, "copyObject"); + EE.exports = l_; + }); + var hE = l((ZV, mE) => { + function c_(e, t) { + for (var r = -1, n = Array(e); ++r < e; ) + n[r] = t(r); + return n; + } + i(c_, "baseTimes"); + mE.exports = c_; + }); + var yE = l((tK, DE) => { + var p_ = gr(), f_ = Vt(), d_ = "[object Arguments]"; + function E_(e) { + return f_(e) && p_(e) == d_; + } + i(E_, "baseIsArguments"); + DE.exports = E_; + }); + var gE = l((nK, TE) => { + var AE = yE(), m_ = Vt(), xE = Object.prototype, h_ = xE.hasOwnProperty, D_ = xE.propertyIsEnumerable, y_ = AE(function() { + return arguments; + }()) ? AE : function(e) { + return m_(e) && h_.call(e, "callee") && !D_.call(e, "callee"); + }; + TE.exports = y_; + }); + var Us = l((iK, vE) => { + var A_ = Array.isArray; + vE.exports = A_; + }); + var FE = l((sK, SE) => { + function x_() { + return false; + } + i(x_, "stubFalse"); + SE.exports = x_; + }); + var so = l((pi, an) => { + var T_ = rt(), g_ = FE(), bE = typeof pi == "object" && pi && !pi.nodeType && pi, CE = bE && typeof an == "object" && an && !an.nodeType && an, v_ = CE && CE.exports === bE, BE = v_ ? T_.Buffer : void 0, S_ = BE ? BE.isBuffer : void 0, F_ = S_ || g_; + an.exports = F_; + }); + var NE = l((uK, OE) => { + var C_ = 9007199254740991, B_ = /^(?:0|[1-9]\d*)$/; + function b_(e, t) { + var r = typeof e; + return t = t ?? C_, !!t && (r == "number" || r != "symbol" && B_.test(e)) && e > -1 && e % 1 == 0 && e < t; + } + i(b_, "isIndex"); + OE.exports = b_; + }); + var ao = l((lK, _E) => { + var O_ = 9007199254740991; + function N_(e) { + return typeof e == "number" && e > -1 && e % 1 == 0 && e <= O_; + } + i(N_, "isLength"); + _E.exports = N_; + }); + var RE = l((pK, IE) => { + var __ = gr(), I_ = ao(), R_ = Vt(), P_ = "[object Arguments]", q_ = "[object Array]", w_ = "[object Boolean]", L_ = "[object Date]", k_ = "[object Error]", M_ = "[object Function]", G_ = "[object Map]", j_ = "[object Number]", U_ = "[object Object]", Y_ = "[object RegExp]", V_ = "[object Set]", K_ = "[object String]", W_ = "[object WeakMap]", H_ = "[object ArrayBuffer]", X_ = "[object DataView]", $_ = "[object Float32Array]", J_ = "[object Float64Array]", z_ = "[object Int8Array]", Q_ = "[object Int16Array]", Z_ = "[object Int32Array]", eI = "[object Uint8Array]", tI = "[object Uint8ClampedArray]", rI = "[object Uint16Array]", nI = "[object Uint32Array]", pe = {}; + pe[$_] = pe[J_] = pe[z_] = pe[Q_] = pe[Z_] = pe[eI] = pe[tI] = pe[rI] = pe[nI] = true; + pe[P_] = pe[q_] = pe[H_] = pe[w_] = pe[X_] = pe[L_] = pe[k_] = pe[M_] = pe[G_] = pe[j_] = pe[U_] = pe[Y_] = pe[V_] = pe[K_] = pe[W_] = false; + function iI(e) { + return R_(e) && I_(e.length) && !!pe[__(e)]; + } + i(iI, "baseIsTypedArray"); + IE.exports = iI; + }); + var LE = l((dK, wE) => { + var sI = RE(), aI = ei(), PE = ni(), qE = PE && PE.isTypedArray, uI = qE ? aI(qE) : sI; + wE.exports = uI; + }); + var uo = l((EK, kE) => { + var oI = hE(), lI = gE(), cI = Us(), pI = so(), fI = NE(), dI = LE(), EI = Object.prototype, mI = EI.hasOwnProperty; + function hI(e, t) { + var r = cI(e), n = !r && lI(e), s = !r && !n && pI(e), a = !r && !n && !s && dI(e), u = r || n || s || a, c = u ? oI(e.length, String) : [], p = c.length; + for (var f in e) + (t || mI.call(e, f)) && !(u && (f == "length" || s && (f == "offset" || f == "parent") || a && (f == "buffer" || f == "byteLength" || f == "byteOffset") || fI(f, p))) && c.push(f); + return c; + } + i(hI, "arrayLikeKeys"); + kE.exports = hI; + }); + var Ys = l((hK, ME) => { + var DI = Object.prototype; + function yI(e) { + var t = e && e.constructor, r = typeof t == "function" && t.prototype || DI; + return e === r; + } + i(yI, "isPrototype"); + ME.exports = yI; + }); + var jE = l((yK, GE) => { + var AI = Xu(), xI = AI(Object.keys, Object); + GE.exports = xI; + }); + var YE = l((AK, UE) => { + var TI = Ys(), gI = jE(), vI = Object.prototype, SI = vI.hasOwnProperty; + function FI(e) { + if (!TI(e)) + return gI(e); + var t = []; + for (var r in Object(e)) + SI.call(e, r) && r != "constructor" && t.push(r); + return t; + } + i(FI, "baseKeys"); + UE.exports = FI; + }); + var oo = l((TK, VE) => { + var CI = Zu(), BI = ao(); + function bI(e) { + return e != null && BI(e.length) && !CI(e); + } + i(bI, "isArrayLike"); + VE.exports = bI; + }); + var Vs = l((vK, KE) => { + var OI = uo(), NI = YE(), _I = oo(); + function II(e) { + return _I(e) ? OI(e) : NI(e); + } + i(II, "keys"); + KE.exports = II; + }); + var HE = l((FK, WE) => { + var RI = ci(), PI = Vs(); + function qI(e, t) { + return e && RI(t, PI(t), e); + } + i(qI, "baseAssign"); + WE.exports = qI; + }); + var $E = l((BK, XE) => { + function wI(e) { + var t = []; + if (e != null) + for (var r in Object(e)) + t.push(r); + return t; + } + i(wI, "nativeKeysIn"); + XE.exports = wI; + }); + var zE = l((OK, JE) => { + var LI = tn(), kI = Ys(), MI = $E(), GI = Object.prototype, jI = GI.hasOwnProperty; + function UI(e) { + if (!LI(e)) + return MI(e); + var t = kI(e), r = []; + for (var n in e) + n == "constructor" && (t || !jI.call(e, n)) || r.push(n); + return r; + } + i(UI, "baseKeysIn"); + JE.exports = UI; + }); + var Ks = l((_K, QE) => { + var YI = uo(), VI = zE(), KI = oo(); + function WI(e) { + return KI(e) ? YI(e, true) : VI(e); + } + i(WI, "keysIn"); + QE.exports = WI; + }); + var em = l((RK, ZE) => { + var HI = ci(), XI = Ks(); + function $I(e, t) { + return e && HI(t, XI(t), e); + } + i($I, "baseAssignIn"); + ZE.exports = $I; + }); + var sm = l((fi, un) => { + var JI = rt(), im = typeof fi == "object" && fi && !fi.nodeType && fi, tm = im && typeof un == "object" && un && !un.nodeType && un, zI = tm && tm.exports === im, rm = zI ? JI.Buffer : void 0, nm = rm ? rm.allocUnsafe : void 0; + function QI(e, t) { + if (t) + return e.slice(); + var r = e.length, n = nm ? nm(r) : new e.constructor(r); + return e.copy(n), n; + } + i(QI, "cloneBuffer"); + un.exports = QI; + }); + var um = l((wK, am) => { + function ZI(e, t) { + var r = -1, n = e.length; + for (t || (t = Array(n)); ++r < n; ) + t[r] = e[r]; + return t; + } + i(ZI, "copyArray"); + am.exports = ZI; + }); + var lm = l((kK, om) => { + function eR(e, t) { + for (var r = -1, n = e == null ? 0 : e.length, s = 0, a = []; ++r < n; ) { + var u = e[r]; + t(u, r, e) && (a[s++] = u); + } + return a; + } + i(eR, "arrayFilter"); + om.exports = eR; + }); + var lo = l((GK, cm) => { + function tR() { + return []; + } + i(tR, "stubArray"); + cm.exports = tR; + }); + var Ws = l((UK, fm) => { + var rR = lm(), nR = lo(), iR = Object.prototype, sR = iR.propertyIsEnumerable, pm = Object.getOwnPropertySymbols, aR = pm ? function(e) { + return e == null ? [] : (e = Object(e), rR(pm(e), function(t) { + return sR.call(e, t); + })); + } : nR; + fm.exports = aR; + }); + var Em = l((YK, dm) => { + var uR = ci(), oR = Ws(); + function lR(e, t) { + return uR(e, oR(e), t); + } + i(lR, "copySymbols"); + dm.exports = lR; + }); + var co = l((KK, mm) => { + function cR(e, t) { + for (var r = -1, n = t.length, s = e.length; ++r < n; ) + e[s + r] = t[r]; + return e; + } + i(cR, "arrayPush"); + mm.exports = cR; + }); + var po = l((HK, hm) => { + var pR = co(), fR = Ms(), dR = Ws(), ER = lo(), mR = Object.getOwnPropertySymbols, hR = mR ? function(e) { + for (var t = []; e; ) + pR(t, dR(e)), e = fR(e); + return t; + } : ER; + hm.exports = hR; + }); + var ym = l((XK, Dm) => { + var DR = ci(), yR = po(); + function AR(e, t) { + return DR(e, yR(e), t); + } + i(AR, "copySymbolsIn"); + Dm.exports = AR; + }); + var fo = l((JK, Am) => { + var xR = co(), TR = Us(); + function gR(e, t, r) { + var n = t(e); + return TR(e) ? n : xR(n, r(e)); + } + i(gR, "baseGetAllKeys"); + Am.exports = gR; + }); + var Tm = l((QK, xm) => { + var vR = fo(), SR = Ws(), FR = Vs(); + function CR(e) { + return vR(e, FR, SR); + } + i(CR, "getAllKeys"); + xm.exports = CR; + }); + var vm = l((eW, gm) => { + var BR = fo(), bR = po(), OR = Ks(); + function NR(e) { + return BR(e, OR, bR); + } + i(NR, "getAllKeysIn"); + gm.exports = NR; + }); + var Fm = l((rW, Sm) => { + var _R = Kt(), IR = rt(), RR = _R(IR, "DataView"); + Sm.exports = RR; + }); + var Bm = l((nW, Cm) => { + var PR = Kt(), qR = rt(), wR = PR(qR, "Promise"); + Cm.exports = wR; + }); + var Eo = l((iW, bm) => { + var LR = Kt(), kR = rt(), MR = LR(kR, "Set"); + bm.exports = MR; + }); + var Nm = l((sW, Om) => { + var GR = Kt(), jR = rt(), UR = GR(jR, "WeakMap"); + Om.exports = UR; + }); + var Hs = l((aW, Lm) => { + var mo = Fm(), ho = js(), Do = Bm(), yo = Eo(), Ao = Nm(), wm = gr(), on = to(), _m = "[object Map]", YR = "[object Object]", Im = "[object Promise]", Rm = "[object Set]", Pm = "[object WeakMap]", qm = "[object DataView]", VR = on(mo), KR = on(ho), WR = on(Do), HR = on(yo), XR = on(Ao), Sr = wm; + (mo && Sr(new mo(new ArrayBuffer(1))) != qm || ho && Sr(new ho()) != _m || Do && Sr(Do.resolve()) != Im || yo && Sr(new yo()) != Rm || Ao && Sr(new Ao()) != Pm) && (Sr = i(function(e) { + var t = wm(e), r = t == YR ? e.constructor : void 0, n = r ? on(r) : ""; + if (n) + switch (n) { + case VR: + return qm; + case KR: + return _m; + case WR: + return Im; + case HR: + return Rm; + case XR: + return Pm; + } + return t; + }, "getTag")); + Lm.exports = Sr; + }); + var Mm = l((oW, km) => { + var $R = Object.prototype, JR = $R.hasOwnProperty; + function zR(e) { + var t = e.length, r = new e.constructor(t); + return t && typeof e[0] == "string" && JR.call(e, "index") && (r.index = e.index, r.input = e.input), r; + } + i(zR, "initCloneArray"); + km.exports = zR; + }); + var jm = l((cW, Gm) => { + var QR = rt(), ZR = QR.Uint8Array; + Gm.exports = ZR; + }); + var Xs = l((pW, Ym) => { + var Um = jm(); + function e2(e) { + var t = new e.constructor(e.byteLength); + return new Um(t).set(new Um(e)), t; + } + i(e2, "cloneArrayBuffer"); + Ym.exports = e2; + }); + var Km = l((dW, Vm) => { + var t2 = Xs(); + function r2(e, t) { + var r = t ? t2(e.buffer) : e.buffer; + return new e.constructor(r, e.byteOffset, e.byteLength); + } + i(r2, "cloneDataView"); + Vm.exports = r2; + }); + var Hm = l((mW, Wm) => { + var n2 = /\w*$/; + function i2(e) { + var t = new e.constructor(e.source, n2.exec(e)); + return t.lastIndex = e.lastIndex, t; + } + i(i2, "cloneRegExp"); + Wm.exports = i2; + }); + var Qm = l((DW, zm) => { + var Xm = ks(), $m = Xm ? Xm.prototype : void 0, Jm = $m ? $m.valueOf : void 0; + function s2(e) { + return Jm ? Object(Jm.call(e)) : {}; + } + i(s2, "cloneSymbol"); + zm.exports = s2; + }); + var eh = l((AW, Zm) => { + var a2 = Xs(); + function u2(e, t) { + var r = t ? a2(e.buffer) : e.buffer; + return new e.constructor(r, e.byteOffset, e.length); + } + i(u2, "cloneTypedArray"); + Zm.exports = u2; + }); + var rh = l((TW, th) => { + var o2 = Xs(), l2 = Km(), c2 = Hm(), p2 = Qm(), f2 = eh(), d2 = "[object Boolean]", E2 = "[object Date]", m2 = "[object Map]", h2 = "[object Number]", D2 = "[object RegExp]", y2 = "[object Set]", A2 = "[object String]", x2 = "[object Symbol]", T2 = "[object ArrayBuffer]", g2 = "[object DataView]", v2 = "[object Float32Array]", S2 = "[object Float64Array]", F2 = "[object Int8Array]", C2 = "[object Int16Array]", B2 = "[object Int32Array]", b2 = "[object Uint8Array]", O2 = "[object Uint8ClampedArray]", N2 = "[object Uint16Array]", _2 = "[object Uint32Array]"; + function I2(e, t, r) { + var n = e.constructor; + switch (t) { + case T2: + return o2(e); + case d2: + case E2: + return new n(+e); + case g2: + return l2(e, r); + case v2: + case S2: + case F2: + case C2: + case B2: + case b2: + case O2: + case N2: + case _2: + return f2(e, r); + case m2: + return new n(); + case h2: + case A2: + return new n(e); + case D2: + return c2(e); + case y2: + return new n(); + case x2: + return p2(e); + } + } + i(I2, "initCloneByTag"); + th.exports = I2; + }); + var sh = l((vW, ih) => { + var R2 = tn(), nh = Object.create, P2 = function() { + function e() { + } + return i(e, "object"), function(t) { + if (!R2(t)) + return {}; + if (nh) + return nh(t); + e.prototype = t; + var r = new e(); + return e.prototype = void 0, r; + }; + }(); + ih.exports = P2; + }); + var uh = l((FW, ah) => { + var q2 = sh(), w2 = Ms(), L2 = Ys(); + function k2(e) { + return typeof e.constructor == "function" && !L2(e) ? q2(w2(e)) : {}; + } + i(k2, "initCloneObject"); + ah.exports = k2; + }); + var lh = l((BW, oh) => { + var M2 = Hs(), G2 = Vt(), j2 = "[object Map]"; + function U2(e) { + return G2(e) && M2(e) == j2; + } + i(U2, "baseIsMap"); + oh.exports = U2; + }); + var dh = l((OW, fh) => { + var Y2 = lh(), V2 = ei(), ch = ni(), ph = ch && ch.isMap, K2 = ph ? V2(ph) : Y2; + fh.exports = K2; + }); + var mh = l((NW, Eh) => { + var W2 = Hs(), H2 = Vt(), X2 = "[object Set]"; + function $2(e) { + return H2(e) && W2(e) == X2; + } + i($2, "baseIsSet"); + Eh.exports = $2; + }); + var Ah = l((IW, yh) => { + var J2 = mh(), z2 = ei(), hh = ni(), Dh = hh && hh.isSet, Q2 = Dh ? z2(Dh) : J2; + yh.exports = Q2; + }); + var Sh = l((RW, vh) => { + var Z2 = aE(), e8 = oE(), t8 = io(), r8 = HE(), n8 = em(), i8 = sm(), s8 = um(), a8 = Em(), u8 = ym(), o8 = Tm(), l8 = vm(), c8 = Hs(), p8 = Mm(), f8 = rh(), d8 = uh(), E8 = Us(), m8 = so(), h8 = dh(), D8 = tn(), y8 = Ah(), A8 = Vs(), x8 = Ks(), T8 = 1, g8 = 2, v8 = 4, xh = "[object Arguments]", S8 = "[object Array]", F8 = "[object Boolean]", C8 = "[object Date]", B8 = "[object Error]", Th = "[object Function]", b8 = "[object GeneratorFunction]", O8 = "[object Map]", N8 = "[object Number]", gh = "[object Object]", _8 = "[object RegExp]", I8 = "[object Set]", R8 = "[object String]", P8 = "[object Symbol]", q8 = "[object WeakMap]", w8 = "[object ArrayBuffer]", L8 = "[object DataView]", k8 = "[object Float32Array]", M8 = "[object Float64Array]", G8 = "[object Int8Array]", j8 = "[object Int16Array]", U8 = "[object Int32Array]", Y8 = "[object Uint8Array]", V8 = "[object Uint8ClampedArray]", K8 = "[object Uint16Array]", W8 = "[object Uint32Array]", ce = {}; + ce[xh] = ce[S8] = ce[w8] = ce[L8] = ce[F8] = ce[C8] = ce[k8] = ce[M8] = ce[G8] = ce[j8] = ce[U8] = ce[O8] = ce[N8] = ce[gh] = ce[_8] = ce[I8] = ce[R8] = ce[P8] = ce[Y8] = ce[V8] = ce[K8] = ce[W8] = true; + ce[B8] = ce[Th] = ce[q8] = false; + function $s(e, t, r, n, s, a) { + var u, c = t & T8, p = t & g8, f = t & v8; + if (r && (u = s ? r(e, n, s, a) : r(e)), u !== void 0) + return u; + if (!D8(e)) + return e; + var h = E8(e); + if (h) { + if (u = p8(e), !c) + return s8(e, u); + } else { + var D = c8(e), d = D == Th || D == b8; + if (m8(e)) + return i8(e, c); + if (D == gh || D == xh || d && !s) { + if (u = p || d ? {} : d8(e), !c) + return p ? u8(e, n8(u, e)) : a8(e, r8(u, e)); + } else { + if (!ce[D]) + return s ? e : {}; + u = f8(e, D, c); + } + } + a || (a = new Z2()); + var x = a.get(e); + if (x) + return x; + a.set(e, u), y8(e) ? e.forEach(function(g) { + u.add($s(g, t, r, g, e, a)); + }) : h8(e) && e.forEach(function(g, j) { + u.set(j, $s(g, t, r, j, e, a)); + }); + var C = f ? p ? l8 : o8 : p ? x8 : A8, O = h ? void 0 : C(e); + return e8(O || e, function(g, j) { + O && (j = g, g = e[j]), t8(u, j, $s(g, t, r, j, e, a)); + }), u; + } + i($s, "baseClone"); + vh.exports = $s; + }); + var Ch = l((qW, Fh) => { + var H8 = Sh(), X8 = 4; + function $8(e) { + return H8(e, X8); + } + i($8, "clone"); + Fh.exports = $8; + }); + var bh = l((LW, Bh) => { + var J8 = "__lodash_hash_undefined__"; + function z8(e) { + return this.__data__.set(e, J8), this; + } + i(z8, "setCacheAdd"); + Bh.exports = z8; + }); + var Nh = l((MW, Oh) => { + function Q8(e) { + return this.__data__.has(e); + } + i(Q8, "setCacheHas"); + Oh.exports = Q8; + }); + var Ih = l((jW, _h) => { + var Z8 = ro(), eP = bh(), tP = Nh(); + function Js(e) { + var t = -1, r = e == null ? 0 : e.length; + for (this.__data__ = new Z8(); ++t < r; ) + this.add(e[t]); + } + i(Js, "SetCache"); + Js.prototype.add = Js.prototype.push = eP; + Js.prototype.has = tP; + _h.exports = Js; + }); + var Ph = l((YW, Rh) => { + function rP(e, t, r, n) { + for (var s = e.length, a = r + (n ? 1 : -1); n ? a-- : ++a < s; ) + if (t(e[a], a, e)) + return a; + return -1; + } + i(rP, "baseFindIndex"); + Rh.exports = rP; + }); + var wh = l((KW, qh) => { + function nP(e) { + return e !== e; + } + i(nP, "baseIsNaN"); + qh.exports = nP; + }); + var kh = l((HW, Lh) => { + function iP(e, t, r) { + for (var n = r - 1, s = e.length; ++n < s; ) + if (e[n] === t) + return n; + return -1; + } + i(iP, "strictIndexOf"); + Lh.exports = iP; + }); + var Gh = l(($W, Mh) => { + var sP = Ph(), aP = wh(), uP = kh(); + function oP(e, t, r) { + return t === t ? uP(e, t, r) : sP(e, aP, r); + } + i(oP, "baseIndexOf"); + Mh.exports = oP; + }); + var Uh = l((zW, jh) => { + var lP = Gh(); + function cP(e, t) { + var r = e == null ? 0 : e.length; + return !!r && lP(e, t, 0) > -1; + } + i(cP, "arrayIncludes"); + jh.exports = cP; + }); + var Vh = l((ZW, Yh) => { + function pP(e, t, r) { + for (var n = -1, s = e == null ? 0 : e.length; ++n < s; ) + if (r(t, e[n])) + return true; + return false; + } + i(pP, "arrayIncludesWith"); + Yh.exports = pP; + }); + var Wh = l((tH, Kh) => { + function fP(e, t) { + return e.has(t); + } + i(fP, "cacheHas"); + Kh.exports = fP; + }); + var Xh = l((nH, Hh) => { + function dP() { + } + i(dP, "noop"); + Hh.exports = dP; + }); + var xo = l((sH, $h) => { + function EP(e) { + var t = -1, r = Array(e.size); + return e.forEach(function(n) { + r[++t] = n; + }), r; + } + i(EP, "setToArray"); + $h.exports = EP; + }); + var zh = l((uH, Jh) => { + var To = Eo(), mP = Xh(), hP = xo(), DP = 1 / 0, yP = To && 1 / hP(new To([, -0]))[1] == DP ? function(e) { + return new To(e); + } : mP; + Jh.exports = yP; + }); + var Zh = l((oH, Qh) => { + var AP = Ih(), xP = Uh(), TP = Vh(), gP = Wh(), vP = zh(), SP = xo(), FP = 200; + function CP(e, t, r) { + var n = -1, s = xP, a = e.length, u = true, c = [], p = c; + if (r) + u = false, s = TP; + else if (a >= FP) { + var f = t ? null : vP(e); + if (f) + return SP(f); + u = false, s = gP, p = new AP(); + } else + p = t ? [] : c; + e: + for (; ++n < a; ) { + var h = e[n], D = t ? t(h) : h; + if (h = r || h !== 0 ? h : 0, u && D === D) { + for (var d = p.length; d--; ) + if (p[d] === D) + continue e; + t && p.push(D), c.push(h); + } else + s(p, D, r) || (p !== c && p.push(D), c.push(h)); + } + return c; + } + i(CP, "baseUniq"); + Qh.exports = CP; + }); + var tD = l((cH, eD) => { + var BP = Zh(); + function bP(e) { + return e && e.length ? BP(e) : []; + } + i(bP, "uniq"); + eD.exports = bP; + }); + var Rt = l((Ce) => { + "use strict"; + Ce.__esModule = true; + Ce.DEPRECATED_KEYS = Ce.BUILDER_KEYS = Ce.NODE_FIELDS = Ce.ALIAS_KEYS = Ce.VISITOR_KEYS = void 0; + var OP = Qn(), Qs = go(OP), NP = Is(), ln = go(NP), _P = Vu(), IP = go(_P); + Ce.assertEach = GP; + Ce.assertOneOf = jP; + Ce.assertNodeType = UP; + Ce.assertNodeOrValueType = YP; + Ce.assertValueType = iD; + Ce.chain = VP; + Ce.default = KP; + var RP = It(), nD = PP(RP); + function PP(e) { + if (e && e.__esModule) + return e; + var t = {}; + if (e != null) + for (var r in e) + Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]); + return t.default = e, t; + } + i(PP, "_interopRequireWildcard"); + function go(e) { + return e && e.__esModule ? e : { default: e }; + } + i(go, "_interopRequireDefault"); + var qP = Ce.VISITOR_KEYS = {}, wP = Ce.ALIAS_KEYS = {}, LP = Ce.NODE_FIELDS = {}, kP = Ce.BUILDER_KEYS = {}, MP = Ce.DEPRECATED_KEYS = {}; + function zs(e) { + return Array.isArray(e) ? "array" : e === null ? "null" : e === void 0 || typeof e > "u" ? "undefined" : (0, IP.default)(e); + } + i(zs, "getType"); + function GP(e) { + function t(r, n, s) { + if (Array.isArray(s)) + for (var a = 0; a < s.length; a++) + e(r, n + "[" + a + "]", s[a]); + } + return i(t, "validator"), t.each = e, t; + } + i(GP, "assertEach"); + function jP() { + for (var e = arguments.length, t = Array(e), r = 0; r < e; r++) + t[r] = arguments[r]; + function n(s, a, u) { + if (t.indexOf(u) < 0) + throw new TypeError("Property " + a + " expected value to be one of " + (0, ln.default)(t) + " but got " + (0, ln.default)(u)); + } + return i(n, "validate"), n.oneOf = t, n; + } + i(jP, "assertOneOf"); + function UP() { + for (var e = arguments.length, t = Array(e), r = 0; r < e; r++) + t[r] = arguments[r]; + function n(s, a, u) { + for (var c = false, h = t, p = Array.isArray(h), f = 0, h = p ? h : (0, Qs.default)(h); ; ) { + var D; + if (p) { + if (f >= h.length) + break; + D = h[f++]; + } else { + if (f = h.next(), f.done) + break; + D = f.value; + } + var d = D; + if (nD.is(d, u)) { + c = true; + break; + } + } + if (!c) + throw new TypeError("Property " + a + " of " + s.type + " expected node to be of a type " + (0, ln.default)(t) + " " + ("but instead got " + (0, ln.default)(u && u.type))); + } + return i(n, "validate"), n.oneOfNodeTypes = t, n; + } + i(UP, "assertNodeType"); + function YP() { + for (var e = arguments.length, t = Array(e), r = 0; r < e; r++) + t[r] = arguments[r]; + function n(s, a, u) { + for (var c = false, h = t, p = Array.isArray(h), f = 0, h = p ? h : (0, Qs.default)(h); ; ) { + var D; + if (p) { + if (f >= h.length) + break; + D = h[f++]; + } else { + if (f = h.next(), f.done) + break; + D = f.value; + } + var d = D; + if (zs(u) === d || nD.is(d, u)) { + c = true; + break; + } + } + if (!c) + throw new TypeError("Property " + a + " of " + s.type + " expected node to be of a type " + (0, ln.default)(t) + " " + ("but instead got " + (0, ln.default)(u && u.type))); + } + return i(n, "validate"), n.oneOfNodeOrValueTypes = t, n; + } + i(YP, "assertNodeOrValueType"); + function iD(e) { + function t(r, n, s) { + var a = zs(s) === e; + if (!a) + throw new TypeError("Property " + n + " expected type of " + e + " but got " + zs(s)); + } + return i(t, "validate"), t.type = e, t; + } + i(iD, "assertValueType"); + function VP() { + for (var e = arguments.length, t = Array(e), r = 0; r < e; r++) + t[r] = arguments[r]; + function n() { + for (var u = t, s = Array.isArray(u), a = 0, u = s ? u : (0, Qs.default)(u); ; ) { + var c; + if (s) { + if (a >= u.length) + break; + c = u[a++]; + } else { + if (a = u.next(), a.done) + break; + c = a.value; + } + var p = c; + p.apply(void 0, arguments); + } + } + return i(n, "validate"), n.chainOf = t, n; + } + i(VP, "chain"); + function KP(e) { + var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = t.inherits && rD[t.inherits] || {}; + t.fields = t.fields || r.fields || {}, t.visitor = t.visitor || r.visitor || [], t.aliases = t.aliases || r.aliases || [], t.builder = t.builder || r.builder || t.visitor || [], t.deprecatedAlias && (MP[t.deprecatedAlias] = e); + for (var a = t.visitor.concat(t.builder), n = Array.isArray(a), s = 0, a = n ? a : (0, Qs.default)(a); ; ) { + var u; + if (n) { + if (s >= a.length) + break; + u = a[s++]; + } else { + if (s = a.next(), s.done) + break; + u = s.value; + } + var c = u; + t.fields[c] = t.fields[c] || {}; + } + for (var p in t.fields) { + var f = t.fields[p]; + t.builder.indexOf(p) === -1 && (f.optional = true), f.default === void 0 ? f.default = null : f.validate || (f.validate = iD(zs(f.default))); + } + qP[e] = t.visitor, kP[e] = t.builder, LP[e] = t.fields, wP[e] = t.aliases, rD[e] = t; + } + i(KP, "defineType"); + var rD = {}; + }); + var sD = l(() => { + "use strict"; + var WP = It(), HP = $P(WP), Zs = Rs(), y = Rt(), k = XP(y); + function XP(e) { + return e && e.__esModule ? e : { default: e }; + } + i(XP, "_interopRequireDefault"); + function $P(e) { + if (e && e.__esModule) + return e; + var t = {}; + if (e != null) + for (var r in e) + Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]); + return t.default = e, t; + } + i($P, "_interopRequireWildcard"); + (0, k.default)("ArrayExpression", { fields: { elements: { validate: (0, y.chain)((0, y.assertValueType)("array"), (0, y.assertEach)((0, y.assertNodeOrValueType)("null", "Expression", "SpreadElement"))), default: [] } }, visitor: ["elements"], aliases: ["Expression"] }); + (0, k.default)("AssignmentExpression", { fields: { operator: { validate: (0, y.assertValueType)("string") }, left: { validate: (0, y.assertNodeType)("LVal") }, right: { validate: (0, y.assertNodeType)("Expression") } }, builder: ["operator", "left", "right"], visitor: ["left", "right"], aliases: ["Expression"] }); + (0, k.default)("BinaryExpression", { builder: ["operator", "left", "right"], fields: { operator: { validate: y.assertOneOf.apply(void 0, Zs.BINARY_OPERATORS) }, left: { validate: (0, y.assertNodeType)("Expression") }, right: { validate: (0, y.assertNodeType)("Expression") } }, visitor: ["left", "right"], aliases: ["Binary", "Expression"] }); + (0, k.default)("Directive", { visitor: ["value"], fields: { value: { validate: (0, y.assertNodeType)("DirectiveLiteral") } } }); + (0, k.default)("DirectiveLiteral", { builder: ["value"], fields: { value: { validate: (0, y.assertValueType)("string") } } }); + (0, k.default)("BlockStatement", { builder: ["body", "directives"], visitor: ["directives", "body"], fields: { directives: { validate: (0, y.chain)((0, y.assertValueType)("array"), (0, y.assertEach)((0, y.assertNodeType)("Directive"))), default: [] }, body: { validate: (0, y.chain)((0, y.assertValueType)("array"), (0, y.assertEach)((0, y.assertNodeType)("Statement"))) } }, aliases: ["Scopable", "BlockParent", "Block", "Statement"] }); + (0, k.default)("BreakStatement", { visitor: ["label"], fields: { label: { validate: (0, y.assertNodeType)("Identifier"), optional: true } }, aliases: ["Statement", "Terminatorless", "CompletionStatement"] }); + (0, k.default)("CallExpression", { visitor: ["callee", "arguments"], fields: { callee: { validate: (0, y.assertNodeType)("Expression") }, arguments: { validate: (0, y.chain)((0, y.assertValueType)("array"), (0, y.assertEach)((0, y.assertNodeType)("Expression", "SpreadElement"))) } }, aliases: ["Expression"] }); + (0, k.default)("CatchClause", { visitor: ["param", "body"], fields: { param: { validate: (0, y.assertNodeType)("Identifier") }, body: { validate: (0, y.assertNodeType)("BlockStatement") } }, aliases: ["Scopable"] }); + (0, k.default)("ConditionalExpression", { visitor: ["test", "consequent", "alternate"], fields: { test: { validate: (0, y.assertNodeType)("Expression") }, consequent: { validate: (0, y.assertNodeType)("Expression") }, alternate: { validate: (0, y.assertNodeType)("Expression") } }, aliases: ["Expression", "Conditional"] }); + (0, k.default)("ContinueStatement", { visitor: ["label"], fields: { label: { validate: (0, y.assertNodeType)("Identifier"), optional: true } }, aliases: ["Statement", "Terminatorless", "CompletionStatement"] }); + (0, k.default)("DebuggerStatement", { aliases: ["Statement"] }); + (0, k.default)("DoWhileStatement", { visitor: ["test", "body"], fields: { test: { validate: (0, y.assertNodeType)("Expression") }, body: { validate: (0, y.assertNodeType)("Statement") } }, aliases: ["Statement", "BlockParent", "Loop", "While", "Scopable"] }); + (0, k.default)("EmptyStatement", { aliases: ["Statement"] }); + (0, k.default)("ExpressionStatement", { visitor: ["expression"], fields: { expression: { validate: (0, y.assertNodeType)("Expression") } }, aliases: ["Statement", "ExpressionWrapper"] }); + (0, k.default)("File", { builder: ["program", "comments", "tokens"], visitor: ["program"], fields: { program: { validate: (0, y.assertNodeType)("Program") } } }); + (0, k.default)("ForInStatement", { visitor: ["left", "right", "body"], aliases: ["Scopable", "Statement", "For", "BlockParent", "Loop", "ForXStatement"], fields: { left: { validate: (0, y.assertNodeType)("VariableDeclaration", "LVal") }, right: { validate: (0, y.assertNodeType)("Expression") }, body: { validate: (0, y.assertNodeType)("Statement") } } }); + (0, k.default)("ForStatement", { visitor: ["init", "test", "update", "body"], aliases: ["Scopable", "Statement", "For", "BlockParent", "Loop"], fields: { init: { validate: (0, y.assertNodeType)("VariableDeclaration", "Expression"), optional: true }, test: { validate: (0, y.assertNodeType)("Expression"), optional: true }, update: { validate: (0, y.assertNodeType)("Expression"), optional: true }, body: { validate: (0, y.assertNodeType)("Statement") } } }); + (0, k.default)("FunctionDeclaration", { builder: ["id", "params", "body", "generator", "async"], visitor: ["id", "params", "body", "returnType", "typeParameters"], fields: { id: { validate: (0, y.assertNodeType)("Identifier") }, params: { validate: (0, y.chain)((0, y.assertValueType)("array"), (0, y.assertEach)((0, y.assertNodeType)("LVal"))) }, body: { validate: (0, y.assertNodeType)("BlockStatement") }, generator: { default: false, validate: (0, y.assertValueType)("boolean") }, async: { default: false, validate: (0, y.assertValueType)("boolean") } }, aliases: ["Scopable", "Function", "BlockParent", "FunctionParent", "Statement", "Pureish", "Declaration"] }); + (0, k.default)("FunctionExpression", { inherits: "FunctionDeclaration", aliases: ["Scopable", "Function", "BlockParent", "FunctionParent", "Expression", "Pureish"], fields: { id: { validate: (0, y.assertNodeType)("Identifier"), optional: true }, params: { validate: (0, y.chain)((0, y.assertValueType)("array"), (0, y.assertEach)((0, y.assertNodeType)("LVal"))) }, body: { validate: (0, y.assertNodeType)("BlockStatement") }, generator: { default: false, validate: (0, y.assertValueType)("boolean") }, async: { default: false, validate: (0, y.assertValueType)("boolean") } } }); + (0, k.default)("Identifier", { builder: ["name"], visitor: ["typeAnnotation"], aliases: ["Expression", "LVal"], fields: { name: { validate: i(function(t, r, n) { + HP.isValidIdentifier(n); + }, "validate") }, decorators: { validate: (0, y.chain)((0, y.assertValueType)("array"), (0, y.assertEach)((0, y.assertNodeType)("Decorator"))) } } }); + (0, k.default)("IfStatement", { visitor: ["test", "consequent", "alternate"], aliases: ["Statement", "Conditional"], fields: { test: { validate: (0, y.assertNodeType)("Expression") }, consequent: { validate: (0, y.assertNodeType)("Statement") }, alternate: { optional: true, validate: (0, y.assertNodeType)("Statement") } } }); + (0, k.default)("LabeledStatement", { visitor: ["label", "body"], aliases: ["Statement"], fields: { label: { validate: (0, y.assertNodeType)("Identifier") }, body: { validate: (0, y.assertNodeType)("Statement") } } }); + (0, k.default)("StringLiteral", { builder: ["value"], fields: { value: { validate: (0, y.assertValueType)("string") } }, aliases: ["Expression", "Pureish", "Literal", "Immutable"] }); + (0, k.default)("NumericLiteral", { builder: ["value"], deprecatedAlias: "NumberLiteral", fields: { value: { validate: (0, y.assertValueType)("number") } }, aliases: ["Expression", "Pureish", "Literal", "Immutable"] }); + (0, k.default)("NullLiteral", { aliases: ["Expression", "Pureish", "Literal", "Immutable"] }); + (0, k.default)("BooleanLiteral", { builder: ["value"], fields: { value: { validate: (0, y.assertValueType)("boolean") } }, aliases: ["Expression", "Pureish", "Literal", "Immutable"] }); + (0, k.default)("RegExpLiteral", { builder: ["pattern", "flags"], deprecatedAlias: "RegexLiteral", aliases: ["Expression", "Literal"], fields: { pattern: { validate: (0, y.assertValueType)("string") }, flags: { validate: (0, y.assertValueType)("string"), default: "" } } }); + (0, k.default)("LogicalExpression", { builder: ["operator", "left", "right"], visitor: ["left", "right"], aliases: ["Binary", "Expression"], fields: { operator: { validate: y.assertOneOf.apply(void 0, Zs.LOGICAL_OPERATORS) }, left: { validate: (0, y.assertNodeType)("Expression") }, right: { validate: (0, y.assertNodeType)("Expression") } } }); + (0, k.default)("MemberExpression", { builder: ["object", "property", "computed"], visitor: ["object", "property"], aliases: ["Expression", "LVal"], fields: { object: { validate: (0, y.assertNodeType)("Expression") }, property: { validate: i(function(t, r, n) { + var s = t.computed ? "Expression" : "Identifier"; + (0, y.assertNodeType)(s)(t, r, n); + }, "validate") }, computed: { default: false } } }); + (0, k.default)("NewExpression", { visitor: ["callee", "arguments"], aliases: ["Expression"], fields: { callee: { validate: (0, y.assertNodeType)("Expression") }, arguments: { validate: (0, y.chain)((0, y.assertValueType)("array"), (0, y.assertEach)((0, y.assertNodeType)("Expression", "SpreadElement"))) } } }); + (0, k.default)("Program", { visitor: ["directives", "body"], builder: ["body", "directives"], fields: { directives: { validate: (0, y.chain)((0, y.assertValueType)("array"), (0, y.assertEach)((0, y.assertNodeType)("Directive"))), default: [] }, body: { validate: (0, y.chain)((0, y.assertValueType)("array"), (0, y.assertEach)((0, y.assertNodeType)("Statement"))) } }, aliases: ["Scopable", "BlockParent", "Block", "FunctionParent"] }); + (0, k.default)("ObjectExpression", { visitor: ["properties"], aliases: ["Expression"], fields: { properties: { validate: (0, y.chain)((0, y.assertValueType)("array"), (0, y.assertEach)((0, y.assertNodeType)("ObjectMethod", "ObjectProperty", "SpreadProperty"))) } } }); + (0, k.default)("ObjectMethod", { builder: ["kind", "key", "params", "body", "computed"], fields: { kind: { validate: (0, y.chain)((0, y.assertValueType)("string"), (0, y.assertOneOf)("method", "get", "set")), default: "method" }, computed: { validate: (0, y.assertValueType)("boolean"), default: false }, key: { validate: i(function(t, r, n) { + var s = t.computed ? ["Expression"] : ["Identifier", "StringLiteral", "NumericLiteral"]; + y.assertNodeType.apply(void 0, s)(t, r, n); + }, "validate") }, decorators: { validate: (0, y.chain)((0, y.assertValueType)("array"), (0, y.assertEach)((0, y.assertNodeType)("Decorator"))) }, body: { validate: (0, y.assertNodeType)("BlockStatement") }, generator: { default: false, validate: (0, y.assertValueType)("boolean") }, async: { default: false, validate: (0, y.assertValueType)("boolean") } }, visitor: ["key", "params", "body", "decorators", "returnType", "typeParameters"], aliases: ["UserWhitespacable", "Function", "Scopable", "BlockParent", "FunctionParent", "Method", "ObjectMember"] }); + (0, k.default)("ObjectProperty", { builder: ["key", "value", "computed", "shorthand", "decorators"], fields: { computed: { validate: (0, y.assertValueType)("boolean"), default: false }, key: { validate: i(function(t, r, n) { + var s = t.computed ? ["Expression"] : ["Identifier", "StringLiteral", "NumericLiteral"]; + y.assertNodeType.apply(void 0, s)(t, r, n); + }, "validate") }, value: { validate: (0, y.assertNodeType)("Expression", "Pattern", "RestElement") }, shorthand: { validate: (0, y.assertValueType)("boolean"), default: false }, decorators: { validate: (0, y.chain)((0, y.assertValueType)("array"), (0, y.assertEach)((0, y.assertNodeType)("Decorator"))), optional: true } }, visitor: ["key", "value", "decorators"], aliases: ["UserWhitespacable", "Property", "ObjectMember"] }); + (0, k.default)("RestElement", { visitor: ["argument", "typeAnnotation"], aliases: ["LVal"], fields: { argument: { validate: (0, y.assertNodeType)("LVal") }, decorators: { validate: (0, y.chain)((0, y.assertValueType)("array"), (0, y.assertEach)((0, y.assertNodeType)("Decorator"))) } } }); + (0, k.default)("ReturnStatement", { visitor: ["argument"], aliases: ["Statement", "Terminatorless", "CompletionStatement"], fields: { argument: { validate: (0, y.assertNodeType)("Expression"), optional: true } } }); + (0, k.default)("SequenceExpression", { visitor: ["expressions"], fields: { expressions: { validate: (0, y.chain)((0, y.assertValueType)("array"), (0, y.assertEach)((0, y.assertNodeType)("Expression"))) } }, aliases: ["Expression"] }); + (0, k.default)("SwitchCase", { visitor: ["test", "consequent"], fields: { test: { validate: (0, y.assertNodeType)("Expression"), optional: true }, consequent: { validate: (0, y.chain)((0, y.assertValueType)("array"), (0, y.assertEach)((0, y.assertNodeType)("Statement"))) } } }); + (0, k.default)("SwitchStatement", { visitor: ["discriminant", "cases"], aliases: ["Statement", "BlockParent", "Scopable"], fields: { discriminant: { validate: (0, y.assertNodeType)("Expression") }, cases: { validate: (0, y.chain)((0, y.assertValueType)("array"), (0, y.assertEach)((0, y.assertNodeType)("SwitchCase"))) } } }); + (0, k.default)("ThisExpression", { aliases: ["Expression"] }); + (0, k.default)("ThrowStatement", { visitor: ["argument"], aliases: ["Statement", "Terminatorless", "CompletionStatement"], fields: { argument: { validate: (0, y.assertNodeType)("Expression") } } }); + (0, k.default)("TryStatement", { visitor: ["block", "handler", "finalizer"], aliases: ["Statement"], fields: { body: { validate: (0, y.assertNodeType)("BlockStatement") }, handler: { optional: true, handler: (0, y.assertNodeType)("BlockStatement") }, finalizer: { optional: true, validate: (0, y.assertNodeType)("BlockStatement") } } }); + (0, k.default)("UnaryExpression", { builder: ["operator", "argument", "prefix"], fields: { prefix: { default: true }, argument: { validate: (0, y.assertNodeType)("Expression") }, operator: { validate: y.assertOneOf.apply(void 0, Zs.UNARY_OPERATORS) } }, visitor: ["argument"], aliases: ["UnaryLike", "Expression"] }); + (0, k.default)("UpdateExpression", { builder: ["operator", "argument", "prefix"], fields: { prefix: { default: false }, argument: { validate: (0, y.assertNodeType)("Expression") }, operator: { validate: y.assertOneOf.apply(void 0, Zs.UPDATE_OPERATORS) } }, visitor: ["argument"], aliases: ["Expression"] }); + (0, k.default)("VariableDeclaration", { builder: ["kind", "declarations"], visitor: ["declarations"], aliases: ["Statement", "Declaration"], fields: { kind: { validate: (0, y.chain)((0, y.assertValueType)("string"), (0, y.assertOneOf)("var", "let", "const")) }, declarations: { validate: (0, y.chain)((0, y.assertValueType)("array"), (0, y.assertEach)((0, y.assertNodeType)("VariableDeclarator"))) } } }); + (0, k.default)("VariableDeclarator", { visitor: ["id", "init"], fields: { id: { validate: (0, y.assertNodeType)("LVal") }, init: { optional: true, validate: (0, y.assertNodeType)("Expression") } } }); + (0, k.default)("WhileStatement", { visitor: ["test", "body"], aliases: ["Statement", "BlockParent", "Loop", "While", "Scopable"], fields: { test: { validate: (0, y.assertNodeType)("Expression") }, body: { validate: (0, y.assertNodeType)("BlockStatement", "Statement") } } }); + (0, k.default)("WithStatement", { visitor: ["object", "body"], aliases: ["Statement"], fields: { object: { object: (0, y.assertNodeType)("Expression") }, body: { validate: (0, y.assertNodeType)("BlockStatement", "Statement") } } }); + }); + var aD = l(() => { + "use strict"; + var T = Rt(), me = JP(T); + function JP(e) { + return e && e.__esModule ? e : { default: e }; + } + i(JP, "_interopRequireDefault"); + (0, me.default)("AssignmentPattern", { visitor: ["left", "right"], aliases: ["Pattern", "LVal"], fields: { left: { validate: (0, T.assertNodeType)("Identifier") }, right: { validate: (0, T.assertNodeType)("Expression") }, decorators: { validate: (0, T.chain)((0, T.assertValueType)("array"), (0, T.assertEach)((0, T.assertNodeType)("Decorator"))) } } }); + (0, me.default)("ArrayPattern", { visitor: ["elements", "typeAnnotation"], aliases: ["Pattern", "LVal"], fields: { elements: { validate: (0, T.chain)((0, T.assertValueType)("array"), (0, T.assertEach)((0, T.assertNodeType)("Identifier", "Pattern", "RestElement"))) }, decorators: { validate: (0, T.chain)((0, T.assertValueType)("array"), (0, T.assertEach)((0, T.assertNodeType)("Decorator"))) } } }); + (0, me.default)("ArrowFunctionExpression", { builder: ["params", "body", "async"], visitor: ["params", "body", "returnType", "typeParameters"], aliases: ["Scopable", "Function", "BlockParent", "FunctionParent", "Expression", "Pureish"], fields: { params: { validate: (0, T.chain)((0, T.assertValueType)("array"), (0, T.assertEach)((0, T.assertNodeType)("LVal"))) }, body: { validate: (0, T.assertNodeType)("BlockStatement", "Expression") }, async: { validate: (0, T.assertValueType)("boolean"), default: false } } }); + (0, me.default)("ClassBody", { visitor: ["body"], fields: { body: { validate: (0, T.chain)((0, T.assertValueType)("array"), (0, T.assertEach)((0, T.assertNodeType)("ClassMethod", "ClassProperty"))) } } }); + (0, me.default)("ClassDeclaration", { builder: ["id", "superClass", "body", "decorators"], visitor: ["id", "body", "superClass", "mixins", "typeParameters", "superTypeParameters", "implements", "decorators"], aliases: ["Scopable", "Class", "Statement", "Declaration", "Pureish"], fields: { id: { validate: (0, T.assertNodeType)("Identifier") }, body: { validate: (0, T.assertNodeType)("ClassBody") }, superClass: { optional: true, validate: (0, T.assertNodeType)("Expression") }, decorators: { validate: (0, T.chain)((0, T.assertValueType)("array"), (0, T.assertEach)((0, T.assertNodeType)("Decorator"))) } } }); + (0, me.default)("ClassExpression", { inherits: "ClassDeclaration", aliases: ["Scopable", "Class", "Expression", "Pureish"], fields: { id: { optional: true, validate: (0, T.assertNodeType)("Identifier") }, body: { validate: (0, T.assertNodeType)("ClassBody") }, superClass: { optional: true, validate: (0, T.assertNodeType)("Expression") }, decorators: { validate: (0, T.chain)((0, T.assertValueType)("array"), (0, T.assertEach)((0, T.assertNodeType)("Decorator"))) } } }); + (0, me.default)("ExportAllDeclaration", { visitor: ["source"], aliases: ["Statement", "Declaration", "ModuleDeclaration", "ExportDeclaration"], fields: { source: { validate: (0, T.assertNodeType)("StringLiteral") } } }); + (0, me.default)("ExportDefaultDeclaration", { visitor: ["declaration"], aliases: ["Statement", "Declaration", "ModuleDeclaration", "ExportDeclaration"], fields: { declaration: { validate: (0, T.assertNodeType)("FunctionDeclaration", "ClassDeclaration", "Expression") } } }); + (0, me.default)("ExportNamedDeclaration", { visitor: ["declaration", "specifiers", "source"], aliases: ["Statement", "Declaration", "ModuleDeclaration", "ExportDeclaration"], fields: { declaration: { validate: (0, T.assertNodeType)("Declaration"), optional: true }, specifiers: { validate: (0, T.chain)((0, T.assertValueType)("array"), (0, T.assertEach)((0, T.assertNodeType)("ExportSpecifier"))) }, source: { validate: (0, T.assertNodeType)("StringLiteral"), optional: true } } }); + (0, me.default)("ExportSpecifier", { visitor: ["local", "exported"], aliases: ["ModuleSpecifier"], fields: { local: { validate: (0, T.assertNodeType)("Identifier") }, exported: { validate: (0, T.assertNodeType)("Identifier") } } }); + (0, me.default)("ForOfStatement", { visitor: ["left", "right", "body"], aliases: ["Scopable", "Statement", "For", "BlockParent", "Loop", "ForXStatement"], fields: { left: { validate: (0, T.assertNodeType)("VariableDeclaration", "LVal") }, right: { validate: (0, T.assertNodeType)("Expression") }, body: { validate: (0, T.assertNodeType)("Statement") } } }); + (0, me.default)("ImportDeclaration", { visitor: ["specifiers", "source"], aliases: ["Statement", "Declaration", "ModuleDeclaration"], fields: { specifiers: { validate: (0, T.chain)((0, T.assertValueType)("array"), (0, T.assertEach)((0, T.assertNodeType)("ImportSpecifier", "ImportDefaultSpecifier", "ImportNamespaceSpecifier"))) }, source: { validate: (0, T.assertNodeType)("StringLiteral") } } }); + (0, me.default)("ImportDefaultSpecifier", { visitor: ["local"], aliases: ["ModuleSpecifier"], fields: { local: { validate: (0, T.assertNodeType)("Identifier") } } }); + (0, me.default)("ImportNamespaceSpecifier", { visitor: ["local"], aliases: ["ModuleSpecifier"], fields: { local: { validate: (0, T.assertNodeType)("Identifier") } } }); + (0, me.default)("ImportSpecifier", { visitor: ["local", "imported"], aliases: ["ModuleSpecifier"], fields: { local: { validate: (0, T.assertNodeType)("Identifier") }, imported: { validate: (0, T.assertNodeType)("Identifier") }, importKind: { validate: (0, T.assertOneOf)(null, "type", "typeof") } } }); + (0, me.default)("MetaProperty", { visitor: ["meta", "property"], aliases: ["Expression"], fields: { meta: { validate: (0, T.assertValueType)("string") }, property: { validate: (0, T.assertValueType)("string") } } }); + (0, me.default)("ClassMethod", { aliases: ["Function", "Scopable", "BlockParent", "FunctionParent", "Method"], builder: ["kind", "key", "params", "body", "computed", "static"], visitor: ["key", "params", "body", "decorators", "returnType", "typeParameters"], fields: { kind: { validate: (0, T.chain)((0, T.assertValueType)("string"), (0, T.assertOneOf)("get", "set", "method", "constructor")), default: "method" }, computed: { default: false, validate: (0, T.assertValueType)("boolean") }, static: { default: false, validate: (0, T.assertValueType)("boolean") }, key: { validate: i(function(t, r, n) { + var s = t.computed ? ["Expression"] : ["Identifier", "StringLiteral", "NumericLiteral"]; + T.assertNodeType.apply(void 0, s)(t, r, n); + }, "validate") }, params: { validate: (0, T.chain)((0, T.assertValueType)("array"), (0, T.assertEach)((0, T.assertNodeType)("LVal"))) }, body: { validate: (0, T.assertNodeType)("BlockStatement") }, generator: { default: false, validate: (0, T.assertValueType)("boolean") }, async: { default: false, validate: (0, T.assertValueType)("boolean") } } }); + (0, me.default)("ObjectPattern", { visitor: ["properties", "typeAnnotation"], aliases: ["Pattern", "LVal"], fields: { properties: { validate: (0, T.chain)((0, T.assertValueType)("array"), (0, T.assertEach)((0, T.assertNodeType)("RestProperty", "Property"))) }, decorators: { validate: (0, T.chain)((0, T.assertValueType)("array"), (0, T.assertEach)((0, T.assertNodeType)("Decorator"))) } } }); + (0, me.default)("SpreadElement", { visitor: ["argument"], aliases: ["UnaryLike"], fields: { argument: { validate: (0, T.assertNodeType)("Expression") } } }); + (0, me.default)("Super", { aliases: ["Expression"] }); + (0, me.default)("TaggedTemplateExpression", { visitor: ["tag", "quasi"], aliases: ["Expression"], fields: { tag: { validate: (0, T.assertNodeType)("Expression") }, quasi: { validate: (0, T.assertNodeType)("TemplateLiteral") } } }); + (0, me.default)("TemplateElement", { builder: ["value", "tail"], fields: { value: {}, tail: { validate: (0, T.assertValueType)("boolean"), default: false } } }); + (0, me.default)("TemplateLiteral", { visitor: ["quasis", "expressions"], aliases: ["Expression", "Literal"], fields: { quasis: { validate: (0, T.chain)((0, T.assertValueType)("array"), (0, T.assertEach)((0, T.assertNodeType)("TemplateElement"))) }, expressions: { validate: (0, T.chain)((0, T.assertValueType)("array"), (0, T.assertEach)((0, T.assertNodeType)("Expression"))) } } }); + (0, me.default)("YieldExpression", { builder: ["argument", "delegate"], visitor: ["argument"], aliases: ["Expression", "Terminatorless"], fields: { delegate: { validate: (0, T.assertValueType)("boolean"), default: false }, argument: { optional: true, validate: (0, T.assertNodeType)("Expression") } } }); + }); + var oD = l(() => { + "use strict"; + var uD = Rt(), G = zP(uD); + function zP(e) { + return e && e.__esModule ? e : { default: e }; + } + i(zP, "_interopRequireDefault"); + (0, G.default)("AnyTypeAnnotation", { aliases: ["Flow", "FlowBaseAnnotation"], fields: {} }); + (0, G.default)("ArrayTypeAnnotation", { visitor: ["elementType"], aliases: ["Flow"], fields: {} }); + (0, G.default)("BooleanTypeAnnotation", { aliases: ["Flow", "FlowBaseAnnotation"], fields: {} }); + (0, G.default)("BooleanLiteralTypeAnnotation", { aliases: ["Flow"], fields: {} }); + (0, G.default)("NullLiteralTypeAnnotation", { aliases: ["Flow", "FlowBaseAnnotation"], fields: {} }); + (0, G.default)("ClassImplements", { visitor: ["id", "typeParameters"], aliases: ["Flow"], fields: {} }); + (0, G.default)("ClassProperty", { visitor: ["key", "value", "typeAnnotation", "decorators"], builder: ["key", "value", "typeAnnotation", "decorators", "computed"], aliases: ["Property"], fields: { computed: { validate: (0, uD.assertValueType)("boolean"), default: false } } }); + (0, G.default)("DeclareClass", { visitor: ["id", "typeParameters", "extends", "body"], aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], fields: {} }); + (0, G.default)("DeclareFunction", { visitor: ["id"], aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], fields: {} }); + (0, G.default)("DeclareInterface", { visitor: ["id", "typeParameters", "extends", "body"], aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], fields: {} }); + (0, G.default)("DeclareModule", { visitor: ["id", "body"], aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], fields: {} }); + (0, G.default)("DeclareModuleExports", { visitor: ["typeAnnotation"], aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], fields: {} }); + (0, G.default)("DeclareTypeAlias", { visitor: ["id", "typeParameters", "right"], aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], fields: {} }); + (0, G.default)("DeclareOpaqueType", { visitor: ["id", "typeParameters", "supertype"], aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], fields: {} }); + (0, G.default)("DeclareVariable", { visitor: ["id"], aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], fields: {} }); + (0, G.default)("DeclareExportDeclaration", { visitor: ["declaration", "specifiers", "source"], aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], fields: {} }); + (0, G.default)("ExistentialTypeParam", { aliases: ["Flow"] }); + (0, G.default)("FunctionTypeAnnotation", { visitor: ["typeParameters", "params", "rest", "returnType"], aliases: ["Flow"], fields: {} }); + (0, G.default)("FunctionTypeParam", { visitor: ["name", "typeAnnotation"], aliases: ["Flow"], fields: {} }); + (0, G.default)("GenericTypeAnnotation", { visitor: ["id", "typeParameters"], aliases: ["Flow"], fields: {} }); + (0, G.default)("InterfaceExtends", { visitor: ["id", "typeParameters"], aliases: ["Flow"], fields: {} }); + (0, G.default)("InterfaceDeclaration", { visitor: ["id", "typeParameters", "extends", "body"], aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], fields: {} }); + (0, G.default)("IntersectionTypeAnnotation", { visitor: ["types"], aliases: ["Flow"], fields: {} }); + (0, G.default)("MixedTypeAnnotation", { aliases: ["Flow", "FlowBaseAnnotation"] }); + (0, G.default)("EmptyTypeAnnotation", { aliases: ["Flow", "FlowBaseAnnotation"] }); + (0, G.default)("NullableTypeAnnotation", { visitor: ["typeAnnotation"], aliases: ["Flow"], fields: {} }); + (0, G.default)("NumericLiteralTypeAnnotation", { aliases: ["Flow"], fields: {} }); + (0, G.default)("NumberTypeAnnotation", { aliases: ["Flow", "FlowBaseAnnotation"], fields: {} }); + (0, G.default)("StringLiteralTypeAnnotation", { aliases: ["Flow"], fields: {} }); + (0, G.default)("StringTypeAnnotation", { aliases: ["Flow", "FlowBaseAnnotation"], fields: {} }); + (0, G.default)("ThisTypeAnnotation", { aliases: ["Flow", "FlowBaseAnnotation"], fields: {} }); + (0, G.default)("TupleTypeAnnotation", { visitor: ["types"], aliases: ["Flow"], fields: {} }); + (0, G.default)("TypeofTypeAnnotation", { visitor: ["argument"], aliases: ["Flow"], fields: {} }); + (0, G.default)("TypeAlias", { visitor: ["id", "typeParameters", "right"], aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], fields: {} }); + (0, G.default)("OpaqueType", { visitor: ["id", "typeParameters", "impltype", "supertype"], aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], fields: {} }); + (0, G.default)("TypeAnnotation", { visitor: ["typeAnnotation"], aliases: ["Flow"], fields: {} }); + (0, G.default)("TypeCastExpression", { visitor: ["expression", "typeAnnotation"], aliases: ["Flow", "ExpressionWrapper", "Expression"], fields: {} }); + (0, G.default)("TypeParameter", { visitor: ["bound"], aliases: ["Flow"], fields: {} }); + (0, G.default)("TypeParameterDeclaration", { visitor: ["params"], aliases: ["Flow"], fields: {} }); + (0, G.default)("TypeParameterInstantiation", { visitor: ["params"], aliases: ["Flow"], fields: {} }); + (0, G.default)("ObjectTypeAnnotation", { visitor: ["properties", "indexers", "callProperties"], aliases: ["Flow"], fields: {} }); + (0, G.default)("ObjectTypeCallProperty", { visitor: ["value"], aliases: ["Flow", "UserWhitespacable"], fields: {} }); + (0, G.default)("ObjectTypeIndexer", { visitor: ["id", "key", "value"], aliases: ["Flow", "UserWhitespacable"], fields: {} }); + (0, G.default)("ObjectTypeProperty", { visitor: ["key", "value"], aliases: ["Flow", "UserWhitespacable"], fields: {} }); + (0, G.default)("ObjectTypeSpreadProperty", { visitor: ["argument"], aliases: ["Flow", "UserWhitespacable"], fields: {} }); + (0, G.default)("QualifiedTypeIdentifier", { visitor: ["id", "qualification"], aliases: ["Flow"], fields: {} }); + (0, G.default)("UnionTypeAnnotation", { visitor: ["types"], aliases: ["Flow"], fields: {} }); + (0, G.default)("VoidTypeAnnotation", { aliases: ["Flow", "FlowBaseAnnotation"], fields: {} }); + }); + var lD = l(() => { + "use strict"; + var fe = Rt(), Qe = QP(fe); + function QP(e) { + return e && e.__esModule ? e : { default: e }; + } + i(QP, "_interopRequireDefault"); + (0, Qe.default)("JSXAttribute", { visitor: ["name", "value"], aliases: ["JSX", "Immutable"], fields: { name: { validate: (0, fe.assertNodeType)("JSXIdentifier", "JSXNamespacedName") }, value: { optional: true, validate: (0, fe.assertNodeType)("JSXElement", "StringLiteral", "JSXExpressionContainer") } } }); + (0, Qe.default)("JSXClosingElement", { visitor: ["name"], aliases: ["JSX", "Immutable"], fields: { name: { validate: (0, fe.assertNodeType)("JSXIdentifier", "JSXMemberExpression") } } }); + (0, Qe.default)("JSXElement", { builder: ["openingElement", "closingElement", "children", "selfClosing"], visitor: ["openingElement", "children", "closingElement"], aliases: ["JSX", "Immutable", "Expression"], fields: { openingElement: { validate: (0, fe.assertNodeType)("JSXOpeningElement") }, closingElement: { optional: true, validate: (0, fe.assertNodeType)("JSXClosingElement") }, children: { validate: (0, fe.chain)((0, fe.assertValueType)("array"), (0, fe.assertEach)((0, fe.assertNodeType)("JSXText", "JSXExpressionContainer", "JSXSpreadChild", "JSXElement"))) } } }); + (0, Qe.default)("JSXEmptyExpression", { aliases: ["JSX", "Expression"] }); + (0, Qe.default)("JSXExpressionContainer", { visitor: ["expression"], aliases: ["JSX", "Immutable"], fields: { expression: { validate: (0, fe.assertNodeType)("Expression") } } }); + (0, Qe.default)("JSXSpreadChild", { visitor: ["expression"], aliases: ["JSX", "Immutable"], fields: { expression: { validate: (0, fe.assertNodeType)("Expression") } } }); + (0, Qe.default)("JSXIdentifier", { builder: ["name"], aliases: ["JSX", "Expression"], fields: { name: { validate: (0, fe.assertValueType)("string") } } }); + (0, Qe.default)("JSXMemberExpression", { visitor: ["object", "property"], aliases: ["JSX", "Expression"], fields: { object: { validate: (0, fe.assertNodeType)("JSXMemberExpression", "JSXIdentifier") }, property: { validate: (0, fe.assertNodeType)("JSXIdentifier") } } }); + (0, Qe.default)("JSXNamespacedName", { visitor: ["namespace", "name"], aliases: ["JSX"], fields: { namespace: { validate: (0, fe.assertNodeType)("JSXIdentifier") }, name: { validate: (0, fe.assertNodeType)("JSXIdentifier") } } }); + (0, Qe.default)("JSXOpeningElement", { builder: ["name", "attributes", "selfClosing"], visitor: ["name", "attributes"], aliases: ["JSX", "Immutable"], fields: { name: { validate: (0, fe.assertNodeType)("JSXIdentifier", "JSXMemberExpression") }, selfClosing: { default: false, validate: (0, fe.assertValueType)("boolean") }, attributes: { validate: (0, fe.chain)((0, fe.assertValueType)("array"), (0, fe.assertEach)((0, fe.assertNodeType)("JSXAttribute", "JSXSpreadAttribute"))) } } }); + (0, Qe.default)("JSXSpreadAttribute", { visitor: ["argument"], aliases: ["JSX"], fields: { argument: { validate: (0, fe.assertNodeType)("Expression") } } }); + (0, Qe.default)("JSXText", { aliases: ["JSX", "Immutable"], builder: ["value"], fields: { value: { validate: (0, fe.assertValueType)("string") } } }); + }); + var fD = l(() => { + "use strict"; + var cD = Rt(), pD = ZP(cD); + function ZP(e) { + return e && e.__esModule ? e : { default: e }; + } + i(ZP, "_interopRequireDefault"); + (0, pD.default)("Noop", { visitor: [] }); + (0, pD.default)("ParenthesizedExpression", { visitor: ["expression"], aliases: ["Expression", "ExpressionWrapper"], fields: { expression: { validate: (0, cD.assertNodeType)("Expression") } } }); + }); + var dD = l(() => { + "use strict"; + var it = Rt(), ft = eq(it); + function eq(e) { + return e && e.__esModule ? e : { default: e }; + } + i(eq, "_interopRequireDefault"); + (0, ft.default)("AwaitExpression", { builder: ["argument"], visitor: ["argument"], aliases: ["Expression", "Terminatorless"], fields: { argument: { validate: (0, it.assertNodeType)("Expression") } } }); + (0, ft.default)("ForAwaitStatement", { visitor: ["left", "right", "body"], aliases: ["Scopable", "Statement", "For", "BlockParent", "Loop", "ForXStatement"], fields: { left: { validate: (0, it.assertNodeType)("VariableDeclaration", "LVal") }, right: { validate: (0, it.assertNodeType)("Expression") }, body: { validate: (0, it.assertNodeType)("Statement") } } }); + (0, ft.default)("BindExpression", { visitor: ["object", "callee"], aliases: ["Expression"], fields: {} }); + (0, ft.default)("Import", { aliases: ["Expression"] }); + (0, ft.default)("Decorator", { visitor: ["expression"], fields: { expression: { validate: (0, it.assertNodeType)("Expression") } } }); + (0, ft.default)("DoExpression", { visitor: ["body"], aliases: ["Expression"], fields: { body: { validate: (0, it.assertNodeType)("BlockStatement") } } }); + (0, ft.default)("ExportDefaultSpecifier", { visitor: ["exported"], aliases: ["ModuleSpecifier"], fields: { exported: { validate: (0, it.assertNodeType)("Identifier") } } }); + (0, ft.default)("ExportNamespaceSpecifier", { visitor: ["exported"], aliases: ["ModuleSpecifier"], fields: { exported: { validate: (0, it.assertNodeType)("Identifier") } } }); + (0, ft.default)("RestProperty", { visitor: ["argument"], aliases: ["UnaryLike"], fields: { argument: { validate: (0, it.assertNodeType)("LVal") } } }); + (0, ft.default)("SpreadProperty", { visitor: ["argument"], aliases: ["UnaryLike"], fields: { argument: { validate: (0, it.assertNodeType)("Expression") } } }); + }); + var ED = l(() => { + "use strict"; + Rt(); + sD(); + aD(); + oD(); + lD(); + fD(); + dD(); + }); + var mD = l((cn) => { + "use strict"; + cn.__esModule = true; + cn.isReactComponent = void 0; + cn.isCompatTag = nq; + cn.buildChildren = sq; + var tq = It(), di = rq(tq); + function rq(e) { + if (e && e.__esModule) + return e; + var t = {}; + if (e != null) + for (var r in e) + Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]); + return t.default = e, t; + } + i(rq, "_interopRequireWildcard"); + var PH = cn.isReactComponent = di.buildMatchMemberExpression("React.Component"); + function nq(e) { + return !!e && /^[a-z]|\-/.test(e); + } + i(nq, "isCompatTag"); + function iq(e, t) { + for (var r = e.value.split(/\r\n|\n|\r/), n = 0, s = 0; s < r.length; s++) + r[s].match(/[^ \t]/) && (n = s); + for (var a = "", u = 0; u < r.length; u++) { + var c = r[u], p = u === 0, f = u === r.length - 1, h = u === n, D = c.replace(/\t/g, " "); + p || (D = D.replace(/^[ ]+/, "")), f || (D = D.replace(/[ ]+$/, "")), D && (h || (D += " "), a += D); + } + a && t.push(di.stringLiteral(a)); + } + i(iq, "cleanJSXElementLiteralChild"); + function sq(e) { + for (var t = [], r = 0; r < e.children.length; r++) { + var n = e.children[r]; + if (di.isJSXText(n)) { + iq(n, t); + continue; + } + di.isJSXExpressionContainer(n) && (n = n.expression), !di.isJSXEmptyExpression(n) && t.push(n); + } + return t; + } + i(sq, "buildChildren"); + }); + var It = l((A) => { + "use strict"; + A.__esModule = true; + A.createTypeAnnotationBasedOnTypeof = A.removeTypeDuplicates = A.createUnionTypeAnnotation = A.valueToNode = A.toBlock = A.toExpression = A.toStatement = A.toBindingIdentifierName = A.toIdentifier = A.toKeyAlias = A.toSequenceExpression = A.toComputedKey = A.isNodesEquivalent = A.isImmutable = A.isScope = A.isSpecifierDefault = A.isVar = A.isBlockScoped = A.isLet = A.isValidIdentifier = A.isReferenced = A.isBinding = A.getOuterBindingIdentifiers = A.getBindingIdentifiers = A.TYPES = A.react = A.DEPRECATED_KEYS = A.BUILDER_KEYS = A.NODE_FIELDS = A.ALIAS_KEYS = A.VISITOR_KEYS = A.NOT_LOCAL_BINDING = A.BLOCK_SCOPED_SYMBOL = A.INHERIT_KEYS = A.UNARY_OPERATORS = A.STRING_UNARY_OPERATORS = A.NUMBER_UNARY_OPERATORS = A.BOOLEAN_UNARY_OPERATORS = A.BINARY_OPERATORS = A.NUMBER_BINARY_OPERATORS = A.BOOLEAN_BINARY_OPERATORS = A.COMPARISON_BINARY_OPERATORS = A.EQUALITY_BINARY_OPERATORS = A.BOOLEAN_NUMBER_BINARY_OPERATORS = A.UPDATE_OPERATORS = A.LOGICAL_OPERATORS = A.COMMENT_KEYS = A.FOR_INIT_KEYS = A.FLATTENABLE_KEYS = A.STATEMENT_OR_BLOCK_KEYS = void 0; + var aq = Lp(), uq = Cr(aq), oq = Qn(), dt = Cr(oq), lq = Mu(), Fr = Cr(lq), cq = Is(), hD = Cr(cq), Be = Rs(); + Object.defineProperty(A, "STATEMENT_OR_BLOCK_KEYS", { enumerable: true, get: i(function() { + return Be.STATEMENT_OR_BLOCK_KEYS; + }, "get") }); + Object.defineProperty(A, "FLATTENABLE_KEYS", { enumerable: true, get: i(function() { + return Be.FLATTENABLE_KEYS; + }, "get") }); + Object.defineProperty(A, "FOR_INIT_KEYS", { enumerable: true, get: i(function() { + return Be.FOR_INIT_KEYS; + }, "get") }); + Object.defineProperty(A, "COMMENT_KEYS", { enumerable: true, get: i(function() { + return Be.COMMENT_KEYS; + }, "get") }); + Object.defineProperty(A, "LOGICAL_OPERATORS", { enumerable: true, get: i(function() { + return Be.LOGICAL_OPERATORS; + }, "get") }); + Object.defineProperty(A, "UPDATE_OPERATORS", { enumerable: true, get: i(function() { + return Be.UPDATE_OPERATORS; + }, "get") }); + Object.defineProperty(A, "BOOLEAN_NUMBER_BINARY_OPERATORS", { enumerable: true, get: i(function() { + return Be.BOOLEAN_NUMBER_BINARY_OPERATORS; + }, "get") }); + Object.defineProperty(A, "EQUALITY_BINARY_OPERATORS", { enumerable: true, get: i(function() { + return Be.EQUALITY_BINARY_OPERATORS; + }, "get") }); + Object.defineProperty(A, "COMPARISON_BINARY_OPERATORS", { enumerable: true, get: i(function() { + return Be.COMPARISON_BINARY_OPERATORS; + }, "get") }); + Object.defineProperty(A, "BOOLEAN_BINARY_OPERATORS", { enumerable: true, get: i(function() { + return Be.BOOLEAN_BINARY_OPERATORS; + }, "get") }); + Object.defineProperty(A, "NUMBER_BINARY_OPERATORS", { enumerable: true, get: i(function() { + return Be.NUMBER_BINARY_OPERATORS; + }, "get") }); + Object.defineProperty(A, "BINARY_OPERATORS", { enumerable: true, get: i(function() { + return Be.BINARY_OPERATORS; + }, "get") }); + Object.defineProperty(A, "BOOLEAN_UNARY_OPERATORS", { enumerable: true, get: i(function() { + return Be.BOOLEAN_UNARY_OPERATORS; + }, "get") }); + Object.defineProperty(A, "NUMBER_UNARY_OPERATORS", { enumerable: true, get: i(function() { + return Be.NUMBER_UNARY_OPERATORS; + }, "get") }); + Object.defineProperty(A, "STRING_UNARY_OPERATORS", { enumerable: true, get: i(function() { + return Be.STRING_UNARY_OPERATORS; + }, "get") }); + Object.defineProperty(A, "UNARY_OPERATORS", { enumerable: true, get: i(function() { + return Be.UNARY_OPERATORS; + }, "get") }); + Object.defineProperty(A, "INHERIT_KEYS", { enumerable: true, get: i(function() { + return Be.INHERIT_KEYS; + }, "get") }); + Object.defineProperty(A, "BLOCK_SCOPED_SYMBOL", { enumerable: true, get: i(function() { + return Be.BLOCK_SCOPED_SYMBOL; + }, "get") }); + Object.defineProperty(A, "NOT_LOCAL_BINDING", { enumerable: true, get: i(function() { + return Be.NOT_LOCAL_BINDING; + }, "get") }); + A.is = Aq; + A.isType = gD; + A.validate = vD; + A.shallowEqual = Tq; + A.appendToMemberExpression = gq; + A.prependToMemberExpression = vq; + A.ensureBlock = Sq; + A.clone = SD; + A.cloneWithoutLoc = Fq; + A.cloneDeep = Cq; + A.buildMatchMemberExpression = Bq; + A.removeComments = bq; + A.inheritsComments = Oq; + A.inheritTrailingComments = FD; + A.inheritLeadingComments = CD; + A.inheritInnerComments = BD; + A.inherits = Nq; + A.assertNode = _q; + A.isNode = bD; + A.traverseFast = ea; + A.removeProperties = ND; + A.removePropertiesDeep = Rq; + var AD = ju(); + Object.defineProperty(A, "getBindingIdentifiers", { enumerable: true, get: i(function() { + return AD.getBindingIdentifiers; + }, "get") }); + Object.defineProperty(A, "getOuterBindingIdentifiers", { enumerable: true, get: i(function() { + return AD.getOuterBindingIdentifiers; + }, "get") }); + var Et = l0(); + Object.defineProperty(A, "isBinding", { enumerable: true, get: i(function() { + return Et.isBinding; + }, "get") }); + Object.defineProperty(A, "isReferenced", { enumerable: true, get: i(function() { + return Et.isReferenced; + }, "get") }); + Object.defineProperty(A, "isValidIdentifier", { enumerable: true, get: i(function() { + return Et.isValidIdentifier; + }, "get") }); + Object.defineProperty(A, "isLet", { enumerable: true, get: i(function() { + return Et.isLet; + }, "get") }); + Object.defineProperty(A, "isBlockScoped", { enumerable: true, get: i(function() { + return Et.isBlockScoped; + }, "get") }); + Object.defineProperty(A, "isVar", { enumerable: true, get: i(function() { + return Et.isVar; + }, "get") }); + Object.defineProperty(A, "isSpecifierDefault", { enumerable: true, get: i(function() { + return Et.isSpecifierDefault; + }, "get") }); + Object.defineProperty(A, "isScope", { enumerable: true, get: i(function() { + return Et.isScope; + }, "get") }); + Object.defineProperty(A, "isImmutable", { enumerable: true, get: i(function() { + return Et.isImmutable; + }, "get") }); + Object.defineProperty(A, "isNodesEquivalent", { enumerable: true, get: i(function() { + return Et.isNodesEquivalent; + }, "get") }); + var Pt = V0(); + Object.defineProperty(A, "toComputedKey", { enumerable: true, get: i(function() { + return Pt.toComputedKey; + }, "get") }); + Object.defineProperty(A, "toSequenceExpression", { enumerable: true, get: i(function() { + return Pt.toSequenceExpression; + }, "get") }); + Object.defineProperty(A, "toKeyAlias", { enumerable: true, get: i(function() { + return Pt.toKeyAlias; + }, "get") }); + Object.defineProperty(A, "toIdentifier", { enumerable: true, get: i(function() { + return Pt.toIdentifier; + }, "get") }); + Object.defineProperty(A, "toBindingIdentifierName", { enumerable: true, get: i(function() { + return Pt.toBindingIdentifierName; + }, "get") }); + Object.defineProperty(A, "toStatement", { enumerable: true, get: i(function() { + return Pt.toStatement; + }, "get") }); + Object.defineProperty(A, "toExpression", { enumerable: true, get: i(function() { + return Pt.toExpression; + }, "get") }); + Object.defineProperty(A, "toBlock", { enumerable: true, get: i(function() { + return Pt.toBlock; + }, "get") }); + Object.defineProperty(A, "valueToNode", { enumerable: true, get: i(function() { + return Pt.valueToNode; + }, "get") }); + var vo = K0(); + Object.defineProperty(A, "createUnionTypeAnnotation", { enumerable: true, get: i(function() { + return vo.createUnionTypeAnnotation; + }, "get") }); + Object.defineProperty(A, "removeTypeDuplicates", { enumerable: true, get: i(function() { + return vo.removeTypeDuplicates; + }, "get") }); + Object.defineProperty(A, "createTypeAnnotationBasedOnTypeof", { enumerable: true, get: i(function() { + return vo.createTypeAnnotationBasedOnTypeof; + }, "get") }); + var pq = W0(), xD = Cr(pq), fq = Ch(), dq = Cr(fq), Eq = tD(), mq = Cr(Eq); + ED(); + var pn = Rt(), hq = mD(), Dq = yq(hq); + function yq(e) { + if (e && e.__esModule) + return e; + var t = {}; + if (e != null) + for (var r in e) + Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]); + return t.default = e, t; + } + i(yq, "_interopRequireWildcard"); + function Cr(e) { + return e && e.__esModule ? e : { default: e }; + } + i(Cr, "_interopRequireDefault"); + var w = A; + function TD(e) { + var t = w["is" + e]; + t || (t = w["is" + e] = function(r, n) { + return w.is(e, r, n); + }), w["assert" + e] = function(r, n) { + if (n = n || {}, !t(r, n)) + throw new Error("Expected type " + (0, hD.default)(e) + " with option " + (0, hD.default)(n)); + }; + } + i(TD, "registerType"); + A.VISITOR_KEYS = pn.VISITOR_KEYS; + A.ALIAS_KEYS = pn.ALIAS_KEYS; + A.NODE_FIELDS = pn.NODE_FIELDS; + A.BUILDER_KEYS = pn.BUILDER_KEYS; + A.DEPRECATED_KEYS = pn.DEPRECATED_KEYS; + A.react = Dq; + for (DD in w.VISITOR_KEYS) + TD(DD); + var DD; + w.FLIPPED_ALIAS_KEYS = {}; + (0, Fr.default)(w.ALIAS_KEYS).forEach(function(e) { + w.ALIAS_KEYS[e].forEach(function(t) { + var r = w.FLIPPED_ALIAS_KEYS[t] = w.FLIPPED_ALIAS_KEYS[t] || []; + r.push(e); + }); + }); + (0, Fr.default)(w.FLIPPED_ALIAS_KEYS).forEach(function(e) { + w[e.toUpperCase() + "_TYPES"] = w.FLIPPED_ALIAS_KEYS[e], TD(e); + }); + var LH = A.TYPES = (0, Fr.default)(w.VISITOR_KEYS).concat((0, Fr.default)(w.FLIPPED_ALIAS_KEYS)).concat((0, Fr.default)(w.DEPRECATED_KEYS)); + function Aq(e, t, r) { + if (!t) + return false; + var n = gD(t.type, e); + return n ? typeof r > "u" ? true : w.shallowEqual(t, r) : false; + } + i(Aq, "is"); + function gD(e, t) { + if (e === t) + return true; + if (w.ALIAS_KEYS[t]) + return false; + var r = w.FLIPPED_ALIAS_KEYS[t]; + if (r) { + if (r[0] === e) + return true; + for (var a = r, n = Array.isArray(a), s = 0, a = n ? a : (0, dt.default)(a); ; ) { + var u; + if (n) { + if (s >= a.length) + break; + u = a[s++]; + } else { + if (s = a.next(), s.done) + break; + u = s.value; + } + var c = u; + if (e === c) + return true; + } + } + return false; + } + i(gD, "isType"); + (0, Fr.default)(w.BUILDER_KEYS).forEach(function(e) { + var t = w.BUILDER_KEYS[e]; + function r() { + if (arguments.length > t.length) + throw new Error("t." + e + ": Too many arguments passed. Received " + arguments.length + " but can receive " + ("no more than " + t.length)); + var n = {}; + n.type = e; + for (var s = 0, c = t, a = Array.isArray(c), u = 0, c = a ? c : (0, dt.default)(c); ; ) { + var p; + if (a) { + if (u >= c.length) + break; + p = c[u++]; + } else { + if (u = c.next(), u.done) + break; + p = u.value; + } + var f = p, h = w.NODE_FIELDS[e][f], D = arguments[s++]; + D === void 0 && (D = (0, dq.default)(h.default)), n[f] = D; + } + for (var d in n) + vD(n, d, n[d]); + return n; + } + i(r, "builder"), w[e] = r, w[e[0].toLowerCase() + e.slice(1)] = r; + }); + var xq = i(function(t) { + var r = w.DEPRECATED_KEYS[t]; + function n(s) { + return function() { + return console.trace("The node type " + t + " has been renamed to " + r), s.apply(this, arguments); + }; + } + i(n, "proxy"), w[t] = w[t[0].toLowerCase() + t.slice(1)] = n(w[r]), w["is" + t] = n(w["is" + r]), w["assert" + t] = n(w["assert" + r]); + }, "_loop"); + for (yD in w.DEPRECATED_KEYS) + xq(yD); + var yD; + function vD(e, t, r) { + if (e) { + var n = w.NODE_FIELDS[e.type]; + if (n) { + var s = n[t]; + !s || !s.validate || s.optional && r == null || s.validate(e, t, r); + } + } + } + i(vD, "validate"); + function Tq(e, t) { + for (var r = (0, Fr.default)(t), a = r, n = Array.isArray(a), s = 0, a = n ? a : (0, dt.default)(a); ; ) { + var u; + if (n) { + if (s >= a.length) + break; + u = a[s++]; + } else { + if (s = a.next(), s.done) + break; + u = s.value; + } + var c = u; + if (e[c] !== t[c]) + return false; + } + return true; + } + i(Tq, "shallowEqual"); + function gq(e, t, r) { + return e.object = w.memberExpression(e.object, e.property, e.computed), e.property = t, e.computed = !!r, e; + } + i(gq, "appendToMemberExpression"); + function vq(e, t) { + return e.object = w.memberExpression(t, e.object), e; + } + i(vq, "prependToMemberExpression"); + function Sq(e) { + var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "body"; + return e[t] = w.toBlock(e[t], e); + } + i(Sq, "ensureBlock"); + function SD(e) { + if (!e) + return e; + var t = {}; + for (var r in e) + r[0] !== "_" && (t[r] = e[r]); + return t; + } + i(SD, "clone"); + function Fq(e) { + var t = SD(e); + return delete t.loc, t; + } + i(Fq, "cloneWithoutLoc"); + function Cq(e) { + if (!e) + return e; + var t = {}; + for (var r in e) + if (r[0] !== "_") { + var n = e[r]; + n && (n.type ? n = w.cloneDeep(n) : Array.isArray(n) && (n = n.map(w.cloneDeep))), t[r] = n; + } + return t; + } + i(Cq, "cloneDeep"); + function Bq(e, t) { + var r = e.split("."); + return function(n) { + if (!w.isMemberExpression(n)) + return false; + for (var s = [n], a = 0; s.length; ) { + var u = s.shift(); + if (t && a === r.length) + return true; + if (w.isIdentifier(u)) { + if (r[a] !== u.name) + return false; + } else if (w.isStringLiteral(u)) { + if (r[a] !== u.value) + return false; + } else if (w.isMemberExpression(u)) { + if (u.computed && !w.isStringLiteral(u.property)) + return false; + s.push(u.object), s.push(u.property); + continue; + } else + return false; + if (++a > r.length) + return false; + } + return true; + }; + } + i(Bq, "buildMatchMemberExpression"); + function bq(e) { + for (var n = w.COMMENT_KEYS, t = Array.isArray(n), r = 0, n = t ? n : (0, dt.default)(n); ; ) { + var s; + if (t) { + if (r >= n.length) + break; + s = n[r++]; + } else { + if (r = n.next(), r.done) + break; + s = r.value; + } + var a = s; + delete e[a]; + } + return e; + } + i(bq, "removeComments"); + function Oq(e, t) { + return FD(e, t), CD(e, t), BD(e, t), e; + } + i(Oq, "inheritsComments"); + function FD(e, t) { + So("trailingComments", e, t); + } + i(FD, "inheritTrailingComments"); + function CD(e, t) { + So("leadingComments", e, t); + } + i(CD, "inheritLeadingComments"); + function BD(e, t) { + So("innerComments", e, t); + } + i(BD, "inheritInnerComments"); + function So(e, t, r) { + t && r && (t[e] = (0, mq.default)([].concat(t[e], r[e]).filter(Boolean))); + } + i(So, "_inheritComments"); + function Nq(e, t) { + if (!e || !t) + return e; + for (var s = w.INHERIT_KEYS.optional, r = Array.isArray(s), n = 0, s = r ? s : (0, dt.default)(s); ; ) { + var a; + if (r) { + if (n >= s.length) + break; + a = s[n++]; + } else { + if (n = s.next(), n.done) + break; + a = n.value; + } + var u = a; + e[u] == null && (e[u] = t[u]); + } + for (var c in t) + c[0] === "_" && (e[c] = t[c]); + for (var h = w.INHERIT_KEYS.force, p = Array.isArray(h), f = 0, h = p ? h : (0, dt.default)(h); ; ) { + var D; + if (p) { + if (f >= h.length) + break; + D = h[f++]; + } else { + if (f = h.next(), f.done) + break; + D = f.value; + } + var d = D; + e[d] = t[d]; + } + return w.inheritsComments(e, t), e; + } + i(Nq, "inherits"); + function _q(e) { + if (!bD(e)) + throw new TypeError("Not a valid node " + (e && e.type)); + } + i(_q, "assertNode"); + function bD(e) { + return !!(e && pn.VISITOR_KEYS[e.type]); + } + i(bD, "isNode"); + (0, xD.default)(w); + (0, xD.default)(w.VISITOR_KEYS); + function ea(e, t, r) { + if (e) { + var n = w.VISITOR_KEYS[e.type]; + if (n) { + r = r || {}, t(e, r); + for (var u = n, s = Array.isArray(u), a = 0, u = s ? u : (0, dt.default)(u); ; ) { + var c; + if (s) { + if (a >= u.length) + break; + c = u[a++]; + } else { + if (a = u.next(), a.done) + break; + c = a.value; + } + var p = c, f = e[p]; + if (Array.isArray(f)) + for (var d = f, h = Array.isArray(d), D = 0, d = h ? d : (0, dt.default)(d); ; ) { + var x; + if (h) { + if (D >= d.length) + break; + x = d[D++]; + } else { + if (D = d.next(), D.done) + break; + x = D.value; + } + var C = x; + ea(C, t, r); + } + else + ea(f, t, r); + } + } + } + } + i(ea, "traverseFast"); + var OD = ["tokens", "start", "end", "loc", "raw", "rawValue"], Iq = w.COMMENT_KEYS.concat(["comments"]).concat(OD); + function ND(e, t) { + t = t || {}; + for (var r = t.preserveComments ? OD : Iq, a = r, n = Array.isArray(a), s = 0, a = n ? a : (0, dt.default)(a); ; ) { + var u; + if (n) { + if (s >= a.length) + break; + u = a[s++]; + } else { + if (s = a.next(), s.done) + break; + u = s.value; + } + var c = u; + e[c] != null && (e[c] = void 0); + } + for (var p in e) + p[0] === "_" && e[p] != null && (e[p] = void 0); + for (var f = (0, uq.default)(e), d = f, h = Array.isArray(d), D = 0, d = h ? d : (0, dt.default)(d); ; ) { + var x; + if (h) { + if (D >= d.length) + break; + x = d[D++]; + } else { + if (D = d.next(), D.done) + break; + x = D.value; + } + var C = x; + e[C] = null; + } + } + i(ND, "removeProperties"); + function Rq(e, t) { + return ea(e, ND, t), e; + } + i(Rq, "removePropertiesDeep"); + }); + var J = l((V) => { + "use strict"; + Object.defineProperty(V, "__esModule", { value: true }); + var Pq = It(), Q = i(function(e, t) { + if (!(e instanceof t)) + throw new TypeError("Cannot call a class as a function"); + }, "classCallCheck"), ie = i(function(e, t) { + if (typeof t != "function" && t !== null) + throw new TypeError("Super expression must either be null or a function, not " + typeof t); + e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: false, writable: true, configurable: true } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t); + }, "inherits"), se = i(function(e, t) { + if (!e) + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return t && (typeof t == "object" || typeof t == "function") ? t : e; + }, "possibleConstructorReturn"), _D = /* @__PURE__ */ Object.create(null), ta = /* @__PURE__ */ Object.create(null), ID = Symbol(), Ei = /* @__PURE__ */ Object.create(null), ae = function() { + function e() { + Q(this, e), this.loc = { source: null, start: { line: 0, column: 0 }, end: { line: 0, column: 0 } }, this[ID] = []; + } + return i(e, "Node"), e.prototype.toJSON = i(function() { + var r = this; + return Object.getOwnPropertyNames(this).reduce(function(n, s) { + if (s === "loc" || s === "parent") + return n; + var a = r[s]; + return Array.isArray(a) ? n[s] = a.map(function(u) { + return u.toJSON(); + }) : n[s] = a && a.toJSON ? a.toJSON() : a, n; + }, { type: this.type }); + }, "toJSON"), e.registerType = i(function(r) { + e["is" + r] || (e["is" + r] = function(n) { + return ra(n, r); + }); + }, "registerType"), e; + }(); + ae.registerType("Scope"); + function ra(e, t) { + return e ? e.type === t || Ei[t] && Ei[t][e.type] || Pq.is(t, e) : false; + } + i(ra, "is"); + function Ae(e) { + for (var t = arguments.length, r = Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++) + r[n - 1] = arguments[n]; + e.prototype.visitorKeys = r; + } + i(Ae, "visitor"); + function he(e) { + for (var t = arguments.length, r = Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++) + r[n - 1] = arguments[n]; + e.prototype.aliases = r; + for (var s = 0, a = r.length; s < a; s++) { + var u = r[s]; + ta[u] || (ta[u] = []), ta[u].push(e.prototype.type), Ei[u] || (Ei[u] = {}), Ei[u][e.prototype.type] = true, ae.registerType(u); + } + } + i(he, "alias"); + function Z(e, t) { + e.prototype.type = t, _D[t] = e, ae.registerType(t); + } + i(Z, "type"); + var na = function(e) { + ie(t, e); + function t(r) { + Q(this, t); + var n = se(this, e.call(this)); + return n.value = r, n; + } + return i(t, "Fragment"), t; + }(ae); + Z(na, "Fragment"); + he(na, "Statement"); + Ae(na, "value"); + var ia = function(e) { + ie(t, e); + function t(r) { + Q(this, t); + var n = se(this, e.call(this)); + return n.value = r, n; + } + return i(t, "PrintExpressionStatement"), t; + }(ae); + Z(ia, "PrintExpressionStatement"); + he(ia, "Statement", "PrintStatement"); + Ae(ia, "value"); + var sa = function(e) { + ie(t, e); + function t(r) { + Q(this, t); + var n = se(this, e.call(this)); + return n.value = r, n; + } + return i(t, "PrintTextStatement"), t; + }(ae); + Z(sa, "PrintTextStatement"); + he(sa, "Statement", "PrintStatement"); + Ae(sa, "value"); + var Br = function(e) { + ie(t, e); + function t(r) { + Q(this, t); + var n = se(this, e.call(this)); + return n.value = r, n; + } + return i(t, "ConstantValue"), t.prototype.toString = i(function() { + return "Const(" + this.value + ")"; + }, "toString"), t; + }(ae); + Z(Br, "ConstantValue"); + he(Br, "Expression", "Literal", "Immutable"); + var Fo = function(e) { + ie(t, e); + function t() { + return Q(this, t), se(this, e.apply(this, arguments)); + } + return i(t, "StringLiteral"), t; + }(Br); + Z(Fo, "StringLiteral"); + he(Fo, "Expression", "Literal", "Immutable"); + var Co = function(e) { + ie(t, e); + function t() { + return Q(this, t), se(this, e.apply(this, arguments)); + } + return i(t, "NumericLiteral"), t; + }(Br); + Z(Co, "NumericLiteral"); + he(Co, "Expression", "Literal", "Immutable"); + var Bo = function(e) { + ie(t, e); + function t(r) { + return Q(this, t), se(this, e.call(this, r)); + } + return i(t, "BooleanLiteral"), t; + }(Br); + Z(Bo, "BooleanLiteral"); + he(Bo, "Expression", "Literal", "Immutable"); + var bo = function(e) { + ie(t, e); + function t() { + return Q(this, t), se(this, e.call(this, null)); + } + return i(t, "NullLiteral"), t; + }(Br); + Z(bo, "NullLiteral"); + he(bo, "Expression", "Literal", "Immutable"); + var Oo = function(e) { + ie(t, e); + function t(r) { + Q(this, t); + var n = se(this, e.call(this)); + return n.name = r, n; + } + return i(t, "Identifier"), t; + }(ae); + Z(Oo, "Identifier"); + he(Oo, "Expression"); + var aa = function(e) { + ie(t, e); + function t(r, n) { + Q(this, t); + var s = se(this, e.call(this)); + return s.operator = r, s.argument = n, s; + } + return i(t, "UnaryExpression"), t; + }(ae); + Z(aa, "UnaryExpression"); + he(aa, "Expression", "UnaryLike"); + Ae(aa, "argument"); + var mi = function(e) { + ie(t, e); + function t(r, n, s) { + Q(this, t); + var a = se(this, e.call(this)); + return a.operator = r, a.left = n, a.right = s, a; + } + return i(t, "BinaryExpression"), t; + }(ae); + Z(mi, "BinaryExpression"); + he(mi, "Binary", "Expression"); + Ae(mi, "left", "right"); + var ua = function(e) { + ie(t, e); + function t(r, n) { + Q(this, t); + var s = se(this, e.call(this, "~", r, n)); + return s.wasImplicitConcatenation = false, s; + } + return i(t, "BinaryConcatExpression"), t; + }(mi); + Z(ua, "BinaryConcatExpression"); + he(ua, "BinaryExpression", "Binary", "Expression"); + Ae(ua, "left", "right"); + var oa = function(e) { + ie(t, e); + function t(r, n, s) { + Q(this, t); + var a = se(this, e.call(this)); + return a.test = r, a.consequent = n, a.alternate = s, a; + } + return i(t, "ConditionalExpression"), t; + }(ae); + Z(oa, "ConditionalExpression"); + he(oa, "Expression", "Conditional"); + Ae(oa, "test", "consequent", "alternate"); + var la = function(e) { + ie(t, e); + function t() { + var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : []; + Q(this, t); + var n = se(this, e.call(this)); + return n.elements = r, n; + } + return i(t, "ArrayExpression"), t; + }(ae); + Z(la, "ArrayExpression"); + he(la, "Expression"); + Ae(la, "elements"); + var ca = function(e) { + ie(t, e); + function t(r, n, s) { + Q(this, t); + var a = se(this, e.call(this)); + return a.object = r, a.property = n, a.computed = s, a; + } + return i(t, "MemberExpression"), t; + }(ae); + Z(ca, "MemberExpression"); + he(ca, "Expression", "LVal"); + Ae(ca, "object", "property"); + var pa = function(e) { + ie(t, e); + function t(r, n) { + Q(this, t); + var s = se(this, e.call(this)); + return s.callee = r, s.arguments = n, s; + } + return i(t, "CallExpression"), t; + }(ae); + Z(pa, "CallExpression"); + he(pa, "Expression", "FunctionInvocation"); + Ae(pa, "callee", "arguments"); + var fa = function(e) { + ie(t, e); + function t(r, n) { + Q(this, t); + var s = se(this, e.call(this)); + return s.name = r, s.value = n, s; + } + return i(t, "NamedArgumentExpression"), t; + }(ae); + Z(fa, "NamedArgumentExpression"); + he(fa, "Expression"); + Ae(fa, "name", "value"); + var da = function(e) { + ie(t, e); + function t() { + var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : []; + Q(this, t); + var n = se(this, e.call(this)); + return n.properties = r, n; + } + return i(t, "ObjectExpression"), t; + }(ae); + Z(da, "ObjectExpression"); + he(da, "Expression"); + Ae(da, "properties"); + var Ea = function(e) { + ie(t, e); + function t(r, n, s) { + Q(this, t); + var a = se(this, e.call(this)); + return a.key = r, a.value = n, a.computed = s, a; + } + return i(t, "ObjectProperty"), t; + }(ae); + Z(Ea, "ObjectProperty"); + he(Ea, "Property", "ObjectMember"); + Ae(Ea, "key", "value"); + var ma = function(e) { + ie(t, e); + function t() { + var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : []; + Q(this, t); + var n = se(this, e.call(this)); + return n.expressions = r, n; + } + return i(t, "SequenceExpression"), t.prototype.add = i(function(n) { + this.expressions.push(n), this.loc.end = n.loc.end; + }, "add"), t; + }(ae); + Z(ma, "SequenceExpression"); + he(ma, "Expression", "Scope"); + Ae(ma, "expressions"); + var ha = function(e) { + ie(t, e); + function t(r, n, s) { + Q(this, t); + var a = se(this, e.call(this)); + return a.target = r, a.start = n, a.end = s, a; + } + return i(t, "SliceExpression"), t; + }(ae); + Z(ha, "SliceExpression"); + he(ha, "Expression"); + Ae(ha, "source", "start", "end"); + var Da = function(e) { + ie(t, e); + function t(r, n, s) { + Q(this, t); + var a = se(this, e.call(this)); + return a.target = r, a.name = n, a.arguments = s, a; + } + return i(t, "FilterExpression"), t; + }(ae); + Z(Da, "FilterExpression"); + he(Da, "Expression"); + Ae(Da, "target", "arguments"); + var ya = function(e) { + ie(t, e); + function t(r) { + Q(this, t); + var n = se(this, e.call(this)); + return n.name = r, n.attributes = [], n.children = [], n.selfClosing = false, n; + } + return i(t, "Element"), t; + }(ae); + Z(ya, "Element"); + he(ya, "Expression"); + Ae(ya, "attributes", "children"); + var No = function(e) { + ie(t, e); + function t(r) { + var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null; + Q(this, t); + var s = se(this, e.call(this)); + return s.name = r, s.value = n, s; + } + return i(t, "Attribute"), t.prototype.isImmutable = i(function() { + return ra(this.name, "Identifier") && ra(this.value, "Immutable"); + }, "isImmutable"), t; + }(ae); + Z(No, "Attribute"); + Ae(No, "name", "value"); + var _o = function(e) { + ie(t, e); + function t(r) { + Q(this, t); + var n = se(this, e.call(this)); + return n.value = r, n; + } + return i(t, "TwigComment"), t; + }(ae); + Z(_o, "TwigComment"); + Ae(_o, "value"); + var Io = function(e) { + ie(t, e); + function t(r) { + Q(this, t); + var n = se(this, e.call(this)); + return n.value = r, n; + } + return i(t, "HtmlComment"), t; + }(ae); + Z(Io, "HtmlComment"); + Ae(Io, "value"); + var Ro = function(e) { + ie(t, e); + function t(r) { + Q(this, t); + var n = se(this, e.call(this)); + return n.declarationType = r, n.parts = [], n; + } + return i(t, "Declaration"), t; + }(ae); + Z(Ro, "Declaration"); + Ae(Ro, "parts"); + var RD = function(e) { + ie(t, e); + function t(r) { + Q(this, t); + var n = se(this, e.call(this)); + return n.tagName = r, n.parts = [], n.sections = [], n; + } + return i(t, "GenericTwigTag"), t; + }(ae); + Z(RD, "GenericTwigTag"); + var PD = function(e) { + ie(t, e); + function t(r, n) { + Q(this, t); + var s = se(this, e.call(this)); + return s.tokenType = r, s.tokenText = n, s; + } + return i(t, "GenericToken"), t; + }(ae); + Z(PD, "GenericToken"); + V.TYPE_MAP = _D; + V.ALIAS_TO_TYPE = ta; + V.PATH_CACHE_KEY = ID; + V.Node = ae; + V.is = ra; + V.visitor = Ae; + V.alias = he; + V.type = Z; + V.Fragment = na; + V.PrintExpressionStatement = ia; + V.PrintTextStatement = sa; + V.ConstantValue = Br; + V.StringLiteral = Fo; + V.NumericLiteral = Co; + V.BooleanLiteral = Bo; + V.NullLiteral = bo; + V.Identifier = Oo; + V.UnaryExpression = aa; + V.BinaryExpression = mi; + V.BinaryConcatExpression = ua; + V.ConditionalExpression = oa; + V.ArrayExpression = la; + V.MemberExpression = ca; + V.CallExpression = pa; + V.NamedArgumentExpression = fa; + V.ObjectExpression = da; + V.ObjectProperty = Ea; + V.SequenceExpression = ma; + V.SliceExpression = ha; + V.FilterExpression = Da; + V.Element = ya; + V.Attribute = No; + V.TwigComment = _o; + V.HtmlComment = Io; + V.Declaration = Ro; + V.GenericTwigTag = RD; + V.GenericToken = PD; + }); + var wo = l((sX, LD) => { + var Lq = typeof global == "object" && global && global.Object === Object && global; + LD.exports = Lq; + }); + var At = l((aX, kD) => { + var kq = wo(), Mq = typeof self == "object" && self && self.Object === Object && self, Gq = kq || Mq || Function("return this")(); + kD.exports = Gq; + }); + var Si = l((uX, MD) => { + var jq = At(), Uq = jq.Symbol; + MD.exports = Uq; + }); + var jD = l((oX, GD) => { + function Yq(e, t) { + for (var r = -1, n = e == null ? 0 : e.length, s = Array(n); ++r < n; ) + s[r] = t(e[r], r, e); + return s; + } + i(Yq, "arrayMap"); + GD.exports = Yq; + }); + var xt = l((cX, UD) => { + var Vq = Array.isArray; + UD.exports = Vq; + }); + var WD = l((pX, KD) => { + var YD = Si(), VD = Object.prototype, Kq = VD.hasOwnProperty, Wq = VD.toString, Fi = YD ? YD.toStringTag : void 0; + function Hq(e) { + var t = Kq.call(e, Fi), r = e[Fi]; + try { + e[Fi] = void 0; + var n = true; + } catch { + } + var s = Wq.call(e); + return n && (t ? e[Fi] = r : delete e[Fi]), s; + } + i(Hq, "getRawTag"); + KD.exports = Hq; + }); + var XD = l((dX, HD) => { + var Xq = Object.prototype, $q = Xq.toString; + function Jq(e) { + return $q.call(e); + } + i(Jq, "objectToString"); + HD.exports = Jq; + }); + var An = l((mX, zD) => { + var $D = Si(), zq = WD(), Qq = XD(), Zq = "[object Null]", ew = "[object Undefined]", JD = $D ? $D.toStringTag : void 0; + function tw(e) { + return e == null ? e === void 0 ? ew : Zq : JD && JD in Object(e) ? zq(e) : Qq(e); + } + i(tw, "baseGetTag"); + zD.exports = tw; + }); + var xn = l((DX, QD) => { + function rw(e) { + return e != null && typeof e == "object"; + } + i(rw, "isObjectLike"); + QD.exports = rw; + }); + var Sa = l((AX, ZD) => { + var nw = An(), iw = xn(), sw = "[object Symbol]"; + function aw(e) { + return typeof e == "symbol" || iw(e) && nw(e) == sw; + } + i(aw, "isSymbol"); + ZD.exports = aw; + }); + var Fa = l((TX, iy) => { + var ey = Si(), uw = jD(), ow = xt(), lw = Sa(), cw = 1 / 0, ty = ey ? ey.prototype : void 0, ry = ty ? ty.toString : void 0; + function ny(e) { + if (typeof e == "string") + return e; + if (ow(e)) + return uw(e, ny) + ""; + if (lw(e)) + return ry ? ry.call(e) : ""; + var t = e + ""; + return t == "0" && 1 / e == -cw ? "-0" : t; + } + i(ny, "baseToString"); + iy.exports = ny; + }); + var ay = l((vX, sy) => { + function pw(e, t, r) { + var n = -1, s = e.length; + t < 0 && (t = -t > s ? 0 : s + t), r = r > s ? s : r, r < 0 && (r += s), s = t > r ? 0 : r - t >>> 0, t >>>= 0; + for (var a = Array(s); ++n < s; ) + a[n] = e[n + t]; + return a; + } + i(pw, "baseSlice"); + sy.exports = pw; + }); + var Lo = l((FX, uy) => { + var fw = ay(); + function dw(e, t, r) { + var n = e.length; + return r = r === void 0 ? n : r, !t && r >= n ? e : fw(e, t, r); + } + i(dw, "castSlice"); + uy.exports = dw; + }); + var ly = l((BX, oy) => { + function Ew(e, t, r, n) { + for (var s = e.length, a = r + (n ? 1 : -1); n ? a-- : ++a < s; ) + if (t(e[a], a, e)) + return a; + return -1; + } + i(Ew, "baseFindIndex"); + oy.exports = Ew; + }); + var py = l((OX, cy) => { + function mw(e) { + return e !== e; + } + i(mw, "baseIsNaN"); + cy.exports = mw; + }); + var dy = l((_X, fy) => { + function hw(e, t, r) { + for (var n = r - 1, s = e.length; ++n < s; ) + if (e[n] === t) + return n; + return -1; + } + i(hw, "strictIndexOf"); + fy.exports = hw; + }); + var ko = l((RX, Ey) => { + var Dw = ly(), yw = py(), Aw = dy(); + function xw(e, t, r) { + return t === t ? Aw(e, t, r) : Dw(e, yw, r); + } + i(xw, "baseIndexOf"); + Ey.exports = xw; + }); + var hy = l((qX, my) => { + var Tw = ko(); + function gw(e, t) { + for (var r = e.length; r-- && Tw(t, e[r], 0) > -1; ) + ; + return r; + } + i(gw, "charsEndIndex"); + my.exports = gw; + }); + var yy = l((LX, Dy) => { + function vw(e) { + return e.split(""); + } + i(vw, "asciiToArray"); + Dy.exports = vw; + }); + var xy = l((MX, Ay) => { + var Sw = "\\ud800-\\udfff", Fw = "\\u0300-\\u036f", Cw = "\\ufe20-\\ufe2f", Bw = "\\u20d0-\\u20ff", bw = Fw + Cw + Bw, Ow = "\\ufe0e\\ufe0f", Nw = "\\u200d", _w = RegExp("[" + Nw + Sw + bw + Ow + "]"); + function Iw(e) { + return _w.test(e); + } + i(Iw, "hasUnicode"); + Ay.exports = Iw; + }); + var by = l((jX, By) => { + var Ty = "\\ud800-\\udfff", Rw = "\\u0300-\\u036f", Pw = "\\ufe20-\\ufe2f", qw = "\\u20d0-\\u20ff", ww = Rw + Pw + qw, Lw = "\\ufe0e\\ufe0f", kw = "[" + Ty + "]", Mo = "[" + ww + "]", Go = "\\ud83c[\\udffb-\\udfff]", Mw = "(?:" + Mo + "|" + Go + ")", gy = "[^" + Ty + "]", vy = "(?:\\ud83c[\\udde6-\\uddff]){2}", Sy = "[\\ud800-\\udbff][\\udc00-\\udfff]", Gw = "\\u200d", Fy = Mw + "?", Cy = "[" + Lw + "]?", jw = "(?:" + Gw + "(?:" + [gy, vy, Sy].join("|") + ")" + Cy + Fy + ")*", Uw = Cy + Fy + jw, Yw = "(?:" + [gy + Mo + "?", Mo, vy, Sy, kw].join("|") + ")", Vw = RegExp(Go + "(?=" + Go + ")|" + Yw + Uw, "g"); + function Kw(e) { + return e.match(Vw) || []; + } + i(Kw, "unicodeToArray"); + By.exports = Kw; + }); + var jo = l((YX, Oy) => { + var Ww = yy(), Hw = xy(), Xw = by(); + function $w(e) { + return Hw(e) ? Xw(e) : Ww(e); + } + i($w, "stringToArray"); + Oy.exports = $w; + }); + var Ca = l((KX, Ny) => { + var Jw = Fa(); + function zw(e) { + return e == null ? "" : Jw(e); + } + i(zw, "toString"); + Ny.exports = zw; + }); + var Iy = l((HX, _y) => { + var Qw = /\s/; + function Zw(e) { + for (var t = e.length; t-- && Qw.test(e.charAt(t)); ) + ; + return t; + } + i(Zw, "trimmedEndIndex"); + _y.exports = Zw; + }); + var qy = l(($X, Py) => { + var eL = Fa(), tL = Lo(), rL = hy(), Ry = jo(), nL = Ca(), iL = Iy(); + function sL(e, t, r) { + if (e = nL(e), e && (r || t === void 0)) + return e.slice(0, iL(e) + 1); + if (!e || !(t = eL(t))) + return e; + var n = Ry(e), s = rL(n, Ry(t)) + 1; + return tL(n, 0, s).join(""); + } + i(sL, "trimEnd"); + Py.exports = sL; + }); + var Ly = l((zX, wy) => { + var aL = ko(); + function uL(e, t) { + for (var r = -1, n = e.length; ++r < n && aL(t, e[r], 0) > -1; ) + ; + return r; + } + i(uL, "charsStartIndex"); + wy.exports = uL; + }); + var Gy = l((ZX, My) => { + var oL = Fa(), lL = Lo(), cL = Ly(), ky = jo(), pL = Ca(), fL = /^\s+/; + function dL(e, t, r) { + if (e = pL(e), e && (r || t === void 0)) + return e.replace(fL, ""); + if (!e || !(t = oL(t))) + return e; + var n = ky(e), s = cL(n, ky(t)); + return lL(n, s).join(""); + } + i(dL, "trimStart"); + My.exports = dL; + }); + var zo = l((k$, SA) => { + function DL(e, t) { + for (var r = -1, n = e == null ? 0 : e.length, s = 0, a = []; ++r < n; ) { + var u = e[r]; + t(u, r, e) && (a[s++] = u); + } + return a; + } + i(DL, "arrayFilter"); + SA.exports = DL; + }); + var CA = l((G$, FA) => { + function yL(e) { + return function(t, r, n) { + for (var s = -1, a = Object(t), u = n(t), c = u.length; c--; ) { + var p = u[e ? c : ++s]; + if (r(a[p], p, a) === false) + break; + } + return t; + }; + } + i(yL, "createBaseFor"); + FA.exports = yL; + }); + var bA = l((U$, BA) => { + var AL = CA(), xL = AL(); + BA.exports = xL; + }); + var NA = l((Y$, OA) => { + function TL(e, t) { + for (var r = -1, n = Array(e); ++r < e; ) + n[r] = t(r); + return n; + } + i(TL, "baseTimes"); + OA.exports = TL; + }); + var IA = l((K$, _A) => { + var gL = An(), vL = xn(), SL = "[object Arguments]"; + function FL(e) { + return vL(e) && gL(e) == SL; + } + i(FL, "baseIsArguments"); + _A.exports = FL; + }); + var Qo = l((H$, qA) => { + var RA = IA(), CL = xn(), PA = Object.prototype, BL = PA.hasOwnProperty, bL = PA.propertyIsEnumerable, OL = RA(function() { + return arguments; + }()) ? RA : function(e) { + return CL(e) && BL.call(e, "callee") && !bL.call(e, "callee"); + }; + qA.exports = OL; + }); + var LA = l((X$, wA) => { + function NL() { + return false; + } + i(NL, "stubFalse"); + wA.exports = NL; + }); + var Zo = l((Oi, Cn) => { + var _L = At(), IL = LA(), GA = typeof Oi == "object" && Oi && !Oi.nodeType && Oi, kA = GA && typeof Cn == "object" && Cn && !Cn.nodeType && Cn, RL = kA && kA.exports === GA, MA = RL ? _L.Buffer : void 0, PL = MA ? MA.isBuffer : void 0, qL = PL || IL; + Cn.exports = qL; + }); + var el = l((J$, jA) => { + var wL = 9007199254740991, LL = /^(?:0|[1-9]\d*)$/; + function kL(e, t) { + var r = typeof e; + return t = t ?? wL, !!t && (r == "number" || r != "symbol" && LL.test(e)) && e > -1 && e % 1 == 0 && e < t; + } + i(kL, "isIndex"); + jA.exports = kL; + }); + var ba = l((Q$, UA) => { + var ML = 9007199254740991; + function GL(e) { + return typeof e == "number" && e > -1 && e % 1 == 0 && e <= ML; + } + i(GL, "isLength"); + UA.exports = GL; + }); + var VA = l((eJ, YA) => { + var jL = An(), UL = ba(), YL = xn(), VL = "[object Arguments]", KL = "[object Array]", WL = "[object Boolean]", HL = "[object Date]", XL = "[object Error]", $L = "[object Function]", JL = "[object Map]", zL = "[object Number]", QL = "[object Object]", ZL = "[object RegExp]", e6 = "[object Set]", t6 = "[object String]", r6 = "[object WeakMap]", n6 = "[object ArrayBuffer]", i6 = "[object DataView]", s6 = "[object Float32Array]", a6 = "[object Float64Array]", u6 = "[object Int8Array]", o6 = "[object Int16Array]", l6 = "[object Int32Array]", c6 = "[object Uint8Array]", p6 = "[object Uint8ClampedArray]", f6 = "[object Uint16Array]", d6 = "[object Uint32Array]", Ee = {}; + Ee[s6] = Ee[a6] = Ee[u6] = Ee[o6] = Ee[l6] = Ee[c6] = Ee[p6] = Ee[f6] = Ee[d6] = true; + Ee[VL] = Ee[KL] = Ee[n6] = Ee[WL] = Ee[i6] = Ee[HL] = Ee[XL] = Ee[$L] = Ee[JL] = Ee[zL] = Ee[QL] = Ee[ZL] = Ee[e6] = Ee[t6] = Ee[r6] = false; + function E6(e) { + return YL(e) && UL(e.length) && !!Ee[jL(e)]; + } + i(E6, "baseIsTypedArray"); + YA.exports = E6; + }); + var WA = l((rJ, KA) => { + function m6(e) { + return function(t) { + return e(t); + }; + } + i(m6, "baseUnary"); + KA.exports = m6; + }); + var XA = l((Ni, Bn) => { + var h6 = wo(), HA = typeof Ni == "object" && Ni && !Ni.nodeType && Ni, _i = HA && typeof Bn == "object" && Bn && !Bn.nodeType && Bn, D6 = _i && _i.exports === HA, tl = D6 && h6.process, y6 = function() { + try { + var e = _i && _i.require && _i.require("util").types; + return e || tl && tl.binding && tl.binding("util"); + } catch { + } + }(); + Bn.exports = y6; + }); + var rl = l((iJ, zA) => { + var A6 = VA(), x6 = WA(), $A = XA(), JA = $A && $A.isTypedArray, T6 = JA ? x6(JA) : A6; + zA.exports = T6; + }); + var ZA = l((sJ, QA) => { + var g6 = NA(), v6 = Qo(), S6 = xt(), F6 = Zo(), C6 = el(), B6 = rl(), b6 = Object.prototype, O6 = b6.hasOwnProperty; + function N6(e, t) { + var r = S6(e), n = !r && v6(e), s = !r && !n && F6(e), a = !r && !n && !s && B6(e), u = r || n || s || a, c = u ? g6(e.length, String) : [], p = c.length; + for (var f in e) + (t || O6.call(e, f)) && !(u && (f == "length" || s && (f == "offset" || f == "parent") || a && (f == "buffer" || f == "byteLength" || f == "byteOffset") || C6(f, p))) && c.push(f); + return c; + } + i(N6, "arrayLikeKeys"); + QA.exports = N6; + }); + var tx = l((uJ, ex) => { + var _6 = Object.prototype; + function I6(e) { + var t = e && e.constructor, r = typeof t == "function" && t.prototype || _6; + return e === r; + } + i(I6, "isPrototype"); + ex.exports = I6; + }); + var nx = l((lJ, rx) => { + function R6(e, t) { + return function(r) { + return e(t(r)); + }; + } + i(R6, "overArg"); + rx.exports = R6; + }); + var sx = l((pJ, ix) => { + var P6 = nx(), q6 = P6(Object.keys, Object); + ix.exports = q6; + }); + var ux = l((fJ, ax) => { + var w6 = tx(), L6 = sx(), k6 = Object.prototype, M6 = k6.hasOwnProperty; + function G6(e) { + if (!w6(e)) + return L6(e); + var t = []; + for (var r in Object(e)) + M6.call(e, r) && r != "constructor" && t.push(r); + return t; + } + i(G6, "baseKeys"); + ax.exports = G6; + }); + var Oa = l((EJ, ox) => { + function j6(e) { + var t = typeof e; + return e != null && (t == "object" || t == "function"); + } + i(j6, "isObject"); + ox.exports = j6; + }); + var nl = l((hJ, lx) => { + var U6 = An(), Y6 = Oa(), V6 = "[object AsyncFunction]", K6 = "[object Function]", W6 = "[object GeneratorFunction]", H6 = "[object Proxy]"; + function X6(e) { + if (!Y6(e)) + return false; + var t = U6(e); + return t == K6 || t == W6 || t == V6 || t == H6; + } + i(X6, "isFunction"); + lx.exports = X6; + }); + var il = l((yJ, cx) => { + var $6 = nl(), J6 = ba(); + function z6(e) { + return e != null && J6(e.length) && !$6(e); + } + i(z6, "isArrayLike"); + cx.exports = z6; + }); + var Na = l((xJ, px) => { + var Q6 = ZA(), Z6 = ux(), e3 = il(); + function t3(e) { + return e3(e) ? Q6(e) : Z6(e); + } + i(t3, "keys"); + px.exports = t3; + }); + var dx = l((gJ, fx) => { + var r3 = bA(), n3 = Na(); + function i3(e, t) { + return e && r3(e, t, n3); + } + i(i3, "baseForOwn"); + fx.exports = i3; + }); + var mx = l((SJ, Ex) => { + var s3 = il(); + function a3(e, t) { + return function(r, n) { + if (r == null) + return r; + if (!s3(r)) + return e(r, n); + for (var s = r.length, a = t ? s : -1, u = Object(r); (t ? a-- : ++a < s) && n(u[a], a, u) !== false; ) + ; + return r; + }; + } + i(a3, "createBaseEach"); + Ex.exports = a3; + }); + var Dx = l((CJ, hx) => { + var u3 = dx(), o3 = mx(), l3 = o3(u3); + hx.exports = l3; + }); + var Ax = l((BJ, yx) => { + var c3 = Dx(); + function p3(e, t) { + var r = []; + return c3(e, function(n, s, a) { + t(n, s, a) && r.push(n); + }), r; + } + i(p3, "baseFilter"); + yx.exports = p3; + }); + var Tx = l((OJ, xx) => { + function f3() { + this.__data__ = [], this.size = 0; + } + i(f3, "listCacheClear"); + xx.exports = f3; + }); + var sl = l((_J, gx) => { + function d3(e, t) { + return e === t || e !== e && t !== t; + } + i(d3, "eq"); + gx.exports = d3; + }); + var Ii = l((RJ, vx) => { + var E3 = sl(); + function m3(e, t) { + for (var r = e.length; r--; ) + if (E3(e[r][0], t)) + return r; + return -1; + } + i(m3, "assocIndexOf"); + vx.exports = m3; + }); + var Fx = l((qJ, Sx) => { + var h3 = Ii(), D3 = Array.prototype, y3 = D3.splice; + function A3(e) { + var t = this.__data__, r = h3(t, e); + if (r < 0) + return false; + var n = t.length - 1; + return r == n ? t.pop() : y3.call(t, r, 1), --this.size, true; + } + i(A3, "listCacheDelete"); + Sx.exports = A3; + }); + var Bx = l((LJ, Cx) => { + var x3 = Ii(); + function T3(e) { + var t = this.__data__, r = x3(t, e); + return r < 0 ? void 0 : t[r][1]; + } + i(T3, "listCacheGet"); + Cx.exports = T3; + }); + var Ox = l((MJ, bx) => { + var g3 = Ii(); + function v3(e) { + return g3(this.__data__, e) > -1; + } + i(v3, "listCacheHas"); + bx.exports = v3; + }); + var _x = l((jJ, Nx) => { + var S3 = Ii(); + function F3(e, t) { + var r = this.__data__, n = S3(r, e); + return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this; + } + i(F3, "listCacheSet"); + Nx.exports = F3; + }); + var Ri = l((YJ, Ix) => { + var C3 = Tx(), B3 = Fx(), b3 = Bx(), O3 = Ox(), N3 = _x(); + function bn(e) { + var t = -1, r = e == null ? 0 : e.length; + for (this.clear(); ++t < r; ) { + var n = e[t]; + this.set(n[0], n[1]); + } + } + i(bn, "ListCache"); + bn.prototype.clear = C3; + bn.prototype.delete = B3; + bn.prototype.get = b3; + bn.prototype.has = O3; + bn.prototype.set = N3; + Ix.exports = bn; + }); + var Px = l((KJ, Rx) => { + var _3 = Ri(); + function I3() { + this.__data__ = new _3(), this.size = 0; + } + i(I3, "stackClear"); + Rx.exports = I3; + }); + var wx = l((HJ, qx) => { + function R3(e) { + var t = this.__data__, r = t.delete(e); + return this.size = t.size, r; + } + i(R3, "stackDelete"); + qx.exports = R3; + }); + var kx = l(($J, Lx) => { + function P3(e) { + return this.__data__.get(e); + } + i(P3, "stackGet"); + Lx.exports = P3; + }); + var Gx = l((zJ, Mx) => { + function q3(e) { + return this.__data__.has(e); + } + i(q3, "stackHas"); + Mx.exports = q3; + }); + var Ux = l((ZJ, jx) => { + var w3 = At(), L3 = w3["__core-js_shared__"]; + jx.exports = L3; + }); + var Kx = l((ez, Vx) => { + var al = Ux(), Yx = function() { + var e = /[^.]+$/.exec(al && al.keys && al.keys.IE_PROTO || ""); + return e ? "Symbol(src)_1." + e : ""; + }(); + function k3(e) { + return !!Yx && Yx in e; + } + i(k3, "isMasked"); + Vx.exports = k3; + }); + var ul = l((rz, Wx) => { + var M3 = Function.prototype, G3 = M3.toString; + function j3(e) { + if (e != null) { + try { + return G3.call(e); + } catch { + } + try { + return e + ""; + } catch { + } + } + return ""; + } + i(j3, "toSource"); + Wx.exports = j3; + }); + var Xx = l((iz, Hx) => { + var U3 = nl(), Y3 = Kx(), V3 = Oa(), K3 = ul(), W3 = /[\\^$.*+?()[\]{}|]/g, H3 = /^\[object .+?Constructor\]$/, X3 = Function.prototype, $3 = Object.prototype, J3 = X3.toString, z3 = $3.hasOwnProperty, Q3 = RegExp("^" + J3.call(z3).replace(W3, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"); + function Z3(e) { + if (!V3(e) || Y3(e)) + return false; + var t = U3(e) ? Q3 : H3; + return t.test(K3(e)); + } + i(Z3, "baseIsNative"); + Hx.exports = Z3; + }); + var Jx = l((az, $x) => { + function e5(e, t) { + return e?.[t]; + } + i(e5, "getValue"); + $x.exports = e5; + }); + var Lr = l((oz, zx) => { + var t5 = Xx(), r5 = Jx(); + function n5(e, t) { + var r = r5(e, t); + return t5(r) ? r : void 0; + } + i(n5, "getNative"); + zx.exports = n5; + }); + var _a = l((cz, Qx) => { + var i5 = Lr(), s5 = At(), a5 = i5(s5, "Map"); + Qx.exports = a5; + }); + var Pi = l((pz, Zx) => { + var u5 = Lr(), o5 = u5(Object, "create"); + Zx.exports = o5; + }); + var rT = l((fz, tT) => { + var eT = Pi(); + function l5() { + this.__data__ = eT ? eT(null) : {}, this.size = 0; + } + i(l5, "hashClear"); + tT.exports = l5; + }); + var iT = l((Ez, nT) => { + function c5(e) { + var t = this.has(e) && delete this.__data__[e]; + return this.size -= t ? 1 : 0, t; + } + i(c5, "hashDelete"); + nT.exports = c5; + }); + var aT = l((hz, sT) => { + var p5 = Pi(), f5 = "__lodash_hash_undefined__", d5 = Object.prototype, E5 = d5.hasOwnProperty; + function m5(e) { + var t = this.__data__; + if (p5) { + var r = t[e]; + return r === f5 ? void 0 : r; + } + return E5.call(t, e) ? t[e] : void 0; + } + i(m5, "hashGet"); + sT.exports = m5; + }); + var oT = l((yz, uT) => { + var h5 = Pi(), D5 = Object.prototype, y5 = D5.hasOwnProperty; + function A5(e) { + var t = this.__data__; + return h5 ? t[e] !== void 0 : y5.call(t, e); + } + i(A5, "hashHas"); + uT.exports = A5; + }); + var cT = l((xz, lT) => { + var x5 = Pi(), T5 = "__lodash_hash_undefined__"; + function g5(e, t) { + var r = this.__data__; + return this.size += this.has(e) ? 0 : 1, r[e] = x5 && t === void 0 ? T5 : t, this; + } + i(g5, "hashSet"); + lT.exports = g5; + }); + var fT = l((gz, pT) => { + var v5 = rT(), S5 = iT(), F5 = aT(), C5 = oT(), B5 = cT(); + function On(e) { + var t = -1, r = e == null ? 0 : e.length; + for (this.clear(); ++t < r; ) { + var n = e[t]; + this.set(n[0], n[1]); + } + } + i(On, "Hash"); + On.prototype.clear = v5; + On.prototype.delete = S5; + On.prototype.get = F5; + On.prototype.has = C5; + On.prototype.set = B5; + pT.exports = On; + }); + var mT = l((Sz, ET) => { + var dT = fT(), b5 = Ri(), O5 = _a(); + function N5() { + this.size = 0, this.__data__ = { hash: new dT(), map: new (O5 || b5)(), string: new dT() }; + } + i(N5, "mapCacheClear"); + ET.exports = N5; + }); + var DT = l((Cz, hT) => { + function _5(e) { + var t = typeof e; + return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null; + } + i(_5, "isKeyable"); + hT.exports = _5; + }); + var qi = l((bz, yT) => { + var I5 = DT(); + function R5(e, t) { + var r = e.__data__; + return I5(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map; + } + i(R5, "getMapData"); + yT.exports = R5; + }); + var xT = l((Nz, AT) => { + var P5 = qi(); + function q5(e) { + var t = P5(this, e).delete(e); + return this.size -= t ? 1 : 0, t; + } + i(q5, "mapCacheDelete"); + AT.exports = q5; + }); + var gT = l((Iz, TT) => { + var w5 = qi(); + function L5(e) { + return w5(this, e).get(e); + } + i(L5, "mapCacheGet"); + TT.exports = L5; + }); + var ST = l((Pz, vT) => { + var k5 = qi(); + function M5(e) { + return k5(this, e).has(e); + } + i(M5, "mapCacheHas"); + vT.exports = M5; + }); + var CT = l((wz, FT) => { + var G5 = qi(); + function j5(e, t) { + var r = G5(this, e), n = r.size; + return r.set(e, t), this.size += r.size == n ? 0 : 1, this; + } + i(j5, "mapCacheSet"); + FT.exports = j5; + }); + var Ia = l((kz, BT) => { + var U5 = mT(), Y5 = xT(), V5 = gT(), K5 = ST(), W5 = CT(); + function Nn(e) { + var t = -1, r = e == null ? 0 : e.length; + for (this.clear(); ++t < r; ) { + var n = e[t]; + this.set(n[0], n[1]); + } + } + i(Nn, "MapCache"); + Nn.prototype.clear = U5; + Nn.prototype.delete = Y5; + Nn.prototype.get = V5; + Nn.prototype.has = K5; + Nn.prototype.set = W5; + BT.exports = Nn; + }); + var OT = l((Gz, bT) => { + var H5 = Ri(), X5 = _a(), $5 = Ia(), J5 = 200; + function z5(e, t) { + var r = this.__data__; + if (r instanceof H5) { + var n = r.__data__; + if (!X5 || n.length < J5 - 1) + return n.push([e, t]), this.size = ++r.size, this; + r = this.__data__ = new $5(n); + } + return r.set(e, t), this.size = r.size, this; + } + i(z5, "stackSet"); + bT.exports = z5; + }); + var ol = l((Uz, NT) => { + var Q5 = Ri(), Z5 = Px(), ek = wx(), tk = kx(), rk = Gx(), nk = OT(); + function _n(e) { + var t = this.__data__ = new Q5(e); + this.size = t.size; + } + i(_n, "Stack"); + _n.prototype.clear = Z5; + _n.prototype.delete = ek; + _n.prototype.get = tk; + _n.prototype.has = rk; + _n.prototype.set = nk; + NT.exports = _n; + }); + var IT = l((Vz, _T) => { + var ik = "__lodash_hash_undefined__"; + function sk(e) { + return this.__data__.set(e, ik), this; + } + i(sk, "setCacheAdd"); + _T.exports = sk; + }); + var PT = l((Wz, RT) => { + function ak(e) { + return this.__data__.has(e); + } + i(ak, "setCacheHas"); + RT.exports = ak; + }); + var wT = l((Xz, qT) => { + var uk = Ia(), ok = IT(), lk = PT(); + function Ra(e) { + var t = -1, r = e == null ? 0 : e.length; + for (this.__data__ = new uk(); ++t < r; ) + this.add(e[t]); + } + i(Ra, "SetCache"); + Ra.prototype.add = Ra.prototype.push = ok; + Ra.prototype.has = lk; + qT.exports = Ra; + }); + var kT = l((Jz, LT) => { + function ck(e, t) { + for (var r = -1, n = e == null ? 0 : e.length; ++r < n; ) + if (t(e[r], r, e)) + return true; + return false; + } + i(ck, "arraySome"); + LT.exports = ck; + }); + var GT = l((Qz, MT) => { + function pk(e, t) { + return e.has(t); + } + i(pk, "cacheHas"); + MT.exports = pk; + }); + var ll = l((eQ, jT) => { + var fk = wT(), dk = kT(), Ek = GT(), mk = 1, hk = 2; + function Dk(e, t, r, n, s, a) { + var u = r & mk, c = e.length, p = t.length; + if (c != p && !(u && p > c)) + return false; + var f = a.get(e), h = a.get(t); + if (f && h) + return f == t && h == e; + var D = -1, d = true, x = r & hk ? new fk() : void 0; + for (a.set(e, t), a.set(t, e); ++D < c; ) { + var C = e[D], O = t[D]; + if (n) + var g = u ? n(O, C, D, t, e, a) : n(C, O, D, e, t, a); + if (g !== void 0) { + if (g) + continue; + d = false; + break; + } + if (x) { + if (!dk(t, function(j, $) { + if (!Ek(x, $) && (C === j || s(C, j, r, n, a))) + return x.push($); + })) { + d = false; + break; + } + } else if (!(C === O || s(C, O, r, n, a))) { + d = false; + break; + } + } + return a.delete(e), a.delete(t), d; + } + i(Dk, "equalArrays"); + jT.exports = Dk; + }); + var YT = l((rQ, UT) => { + var yk = At(), Ak = yk.Uint8Array; + UT.exports = Ak; + }); + var KT = l((nQ, VT) => { + function xk(e) { + var t = -1, r = Array(e.size); + return e.forEach(function(n, s) { + r[++t] = [s, n]; + }), r; + } + i(xk, "mapToArray"); + VT.exports = xk; + }); + var HT = l((sQ, WT) => { + function Tk(e) { + var t = -1, r = Array(e.size); + return e.forEach(function(n) { + r[++t] = n; + }), r; + } + i(Tk, "setToArray"); + WT.exports = Tk; + }); + var QT = l((uQ, zT) => { + var XT = Si(), $T = YT(), gk = sl(), vk = ll(), Sk = KT(), Fk = HT(), Ck = 1, Bk = 2, bk = "[object Boolean]", Ok = "[object Date]", Nk = "[object Error]", _k = "[object Map]", Ik = "[object Number]", Rk = "[object RegExp]", Pk = "[object Set]", qk = "[object String]", wk = "[object Symbol]", Lk = "[object ArrayBuffer]", kk = "[object DataView]", JT = XT ? XT.prototype : void 0, cl = JT ? JT.valueOf : void 0; + function Mk(e, t, r, n, s, a, u) { + switch (r) { + case kk: + if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) + return false; + e = e.buffer, t = t.buffer; + case Lk: + return !(e.byteLength != t.byteLength || !a(new $T(e), new $T(t))); + case bk: + case Ok: + case Ik: + return gk(+e, +t); + case Nk: + return e.name == t.name && e.message == t.message; + case Rk: + case qk: + return e == t + ""; + case _k: + var c = Sk; + case Pk: + var p = n & Ck; + if (c || (c = Fk), e.size != t.size && !p) + return false; + var f = u.get(e); + if (f) + return f == t; + n |= Bk, u.set(e, t); + var h = vk(c(e), c(t), n, s, a, u); + return u.delete(e), h; + case wk: + if (cl) + return cl.call(e) == cl.call(t); + } + return false; + } + i(Mk, "equalByTag"); + zT.exports = Mk; + }); + var e1 = l((lQ, ZT) => { + function Gk(e, t) { + for (var r = -1, n = t.length, s = e.length; ++r < n; ) + e[s + r] = t[r]; + return e; + } + i(Gk, "arrayPush"); + ZT.exports = Gk; + }); + var r1 = l((pQ, t1) => { + var jk = e1(), Uk = xt(); + function Yk(e, t, r) { + var n = t(e); + return Uk(e) ? n : jk(n, r(e)); + } + i(Yk, "baseGetAllKeys"); + t1.exports = Yk; + }); + var i1 = l((dQ, n1) => { + function Vk() { + return []; + } + i(Vk, "stubArray"); + n1.exports = Vk; + }); + var u1 = l((mQ, a1) => { + var Kk = zo(), Wk = i1(), Hk = Object.prototype, Xk = Hk.propertyIsEnumerable, s1 = Object.getOwnPropertySymbols, $k = s1 ? function(e) { + return e == null ? [] : (e = Object(e), Kk(s1(e), function(t) { + return Xk.call(e, t); + })); + } : Wk; + a1.exports = $k; + }); + var l1 = l((hQ, o1) => { + var Jk = r1(), zk = u1(), Qk = Na(); + function Zk(e) { + return Jk(e, Qk, zk); + } + i(Zk, "getAllKeys"); + o1.exports = Zk; + }); + var f1 = l((yQ, p1) => { + var c1 = l1(), e9 = 1, t9 = Object.prototype, r9 = t9.hasOwnProperty; + function n9(e, t, r, n, s, a) { + var u = r & e9, c = c1(e), p = c.length, f = c1(t), h = f.length; + if (p != h && !u) + return false; + for (var D = p; D--; ) { + var d = c[D]; + if (!(u ? d in t : r9.call(t, d))) + return false; + } + var x = a.get(e), C = a.get(t); + if (x && C) + return x == t && C == e; + var O = true; + a.set(e, t), a.set(t, e); + for (var g = u; ++D < p; ) { + d = c[D]; + var j = e[d], $ = t[d]; + if (n) + var re = u ? n($, j, d, t, e, a) : n(j, $, d, e, t, a); + if (!(re === void 0 ? j === $ || s(j, $, r, n, a) : re)) { + O = false; + break; + } + g || (g = d == "constructor"); + } + if (O && !g) { + var Me = e.constructor, Xe = t.constructor; + Me != Xe && "constructor" in e && "constructor" in t && !(typeof Me == "function" && Me instanceof Me && typeof Xe == "function" && Xe instanceof Xe) && (O = false); + } + return a.delete(e), a.delete(t), O; + } + i(n9, "equalObjects"); + p1.exports = n9; + }); + var E1 = l((xQ, d1) => { + var i9 = Lr(), s9 = At(), a9 = i9(s9, "DataView"); + d1.exports = a9; + }); + var h1 = l((TQ, m1) => { + var u9 = Lr(), o9 = At(), l9 = u9(o9, "Promise"); + m1.exports = l9; + }); + var y1 = l((gQ, D1) => { + var c9 = Lr(), p9 = At(), f9 = c9(p9, "Set"); + D1.exports = f9; + }); + var x1 = l((vQ, A1) => { + var d9 = Lr(), E9 = At(), m9 = d9(E9, "WeakMap"); + A1.exports = m9; + }); + var b1 = l((SQ, B1) => { + var pl = E1(), fl = _a(), dl = h1(), El = y1(), ml = x1(), C1 = An(), In = ul(), T1 = "[object Map]", h9 = "[object Object]", g1 = "[object Promise]", v1 = "[object Set]", S1 = "[object WeakMap]", F1 = "[object DataView]", D9 = In(pl), y9 = In(fl), A9 = In(dl), x9 = In(El), T9 = In(ml), kr = C1; + (pl && kr(new pl(new ArrayBuffer(1))) != F1 || fl && kr(new fl()) != T1 || dl && kr(dl.resolve()) != g1 || El && kr(new El()) != v1 || ml && kr(new ml()) != S1) && (kr = i(function(e) { + var t = C1(e), r = t == h9 ? e.constructor : void 0, n = r ? In(r) : ""; + if (n) + switch (n) { + case D9: + return F1; + case y9: + return T1; + case A9: + return g1; + case x9: + return v1; + case T9: + return S1; + } + return t; + }, "getTag")); + B1.exports = kr; + }); + var w1 = l((CQ, q1) => { + var hl = ol(), g9 = ll(), v9 = QT(), S9 = f1(), O1 = b1(), N1 = xt(), _1 = Zo(), F9 = rl(), C9 = 1, I1 = "[object Arguments]", R1 = "[object Array]", Pa = "[object Object]", B9 = Object.prototype, P1 = B9.hasOwnProperty; + function b9(e, t, r, n, s, a) { + var u = N1(e), c = N1(t), p = u ? R1 : O1(e), f = c ? R1 : O1(t); + p = p == I1 ? Pa : p, f = f == I1 ? Pa : f; + var h = p == Pa, D = f == Pa, d = p == f; + if (d && _1(e)) { + if (!_1(t)) + return false; + u = true, h = false; + } + if (d && !h) + return a || (a = new hl()), u || F9(e) ? g9(e, t, r, n, s, a) : v9(e, t, p, r, n, s, a); + if (!(r & C9)) { + var x = h && P1.call(e, "__wrapped__"), C = D && P1.call(t, "__wrapped__"); + if (x || C) { + var O = x ? e.value() : e, g = C ? t.value() : t; + return a || (a = new hl()), s(O, g, r, n, a); + } + } + return d ? (a || (a = new hl()), S9(e, t, r, n, s, a)) : false; + } + i(b9, "baseIsEqualDeep"); + q1.exports = b9; + }); + var Dl = l((bQ, M1) => { + var O9 = w1(), L1 = xn(); + function k1(e, t, r, n, s) { + return e === t ? true : e == null || t == null || !L1(e) && !L1(t) ? e !== e && t !== t : O9(e, t, r, n, k1, s); + } + i(k1, "baseIsEqual"); + M1.exports = k1; + }); + var j1 = l((NQ, G1) => { + var N9 = ol(), _9 = Dl(), I9 = 1, R9 = 2; + function P9(e, t, r, n) { + var s = r.length, a = s, u = !n; + if (e == null) + return !a; + for (e = Object(e); s--; ) { + var c = r[s]; + if (u && c[2] ? c[1] !== e[c[0]] : !(c[0] in e)) + return false; + } + for (; ++s < a; ) { + c = r[s]; + var p = c[0], f = e[p], h = c[1]; + if (u && c[2]) { + if (f === void 0 && !(p in e)) + return false; + } else { + var D = new N9(); + if (n) + var d = n(f, h, p, e, t, D); + if (!(d === void 0 ? _9(h, f, I9 | R9, n, D) : d)) + return false; + } + } + return true; + } + i(P9, "baseIsMatch"); + G1.exports = P9; + }); + var yl = l((IQ, U1) => { + var q9 = Oa(); + function w9(e) { + return e === e && !q9(e); + } + i(w9, "isStrictComparable"); + U1.exports = w9; + }); + var V1 = l((PQ, Y1) => { + var L9 = yl(), k9 = Na(); + function M9(e) { + for (var t = k9(e), r = t.length; r--; ) { + var n = t[r], s = e[n]; + t[r] = [n, s, L9(s)]; + } + return t; + } + i(M9, "getMatchData"); + Y1.exports = M9; + }); + var Al = l((wQ, K1) => { + function G9(e, t) { + return function(r) { + return r == null ? false : r[e] === t && (t !== void 0 || e in Object(r)); + }; + } + i(G9, "matchesStrictComparable"); + K1.exports = G9; + }); + var H1 = l((kQ, W1) => { + var j9 = j1(), U9 = V1(), Y9 = Al(); + function V9(e) { + var t = U9(e); + return t.length == 1 && t[0][2] ? Y9(t[0][0], t[0][1]) : function(r) { + return r === e || j9(r, e, t); + }; + } + i(V9, "baseMatches"); + W1.exports = V9; + }); + var qa = l((GQ, X1) => { + var K9 = xt(), W9 = Sa(), H9 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, X9 = /^\w*$/; + function $9(e, t) { + if (K9(e)) + return false; + var r = typeof e; + return r == "number" || r == "symbol" || r == "boolean" || e == null || W9(e) ? true : X9.test(e) || !H9.test(e) || t != null && e in Object(t); + } + i($9, "isKey"); + X1.exports = $9; + }); + var z1 = l((UQ, J1) => { + var $1 = Ia(), J9 = "Expected a function"; + function xl(e, t) { + if (typeof e != "function" || t != null && typeof t != "function") + throw new TypeError(J9); + var r = i(function() { + var n = arguments, s = t ? t.apply(this, n) : n[0], a = r.cache; + if (a.has(s)) + return a.get(s); + var u = e.apply(this, n); + return r.cache = a.set(s, u) || a, u; + }, "memoized"); + return r.cache = new (xl.Cache || $1)(), r; + } + i(xl, "memoize"); + xl.Cache = $1; + J1.exports = xl; + }); + var Z1 = l((VQ, Q1) => { + var z9 = z1(), Q9 = 500; + function Z9(e) { + var t = z9(e, function(n) { + return r.size === Q9 && r.clear(), n; + }), r = t.cache; + return t; + } + i(Z9, "memoizeCapped"); + Q1.exports = Z9; + }); + var tg = l((WQ, eg) => { + var e4 = Z1(), t4 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, r4 = /\\(\\)?/g, n4 = e4(function(e) { + var t = []; + return e.charCodeAt(0) === 46 && t.push(""), e.replace(t4, function(r, n, s, a) { + t.push(s ? a.replace(r4, "$1") : n || r); + }), t; + }); + eg.exports = n4; + }); + var Tl = l((HQ, rg) => { + var i4 = xt(), s4 = qa(), a4 = tg(), u4 = Ca(); + function o4(e, t) { + return i4(e) ? e : s4(e, t) ? [e] : a4(u4(e)); + } + i(o4, "castPath"); + rg.exports = o4; + }); + var wi = l(($Q, ng) => { + var l4 = Sa(), c4 = 1 / 0; + function p4(e) { + if (typeof e == "string" || l4(e)) + return e; + var t = e + ""; + return t == "0" && 1 / e == -c4 ? "-0" : t; + } + i(p4, "toKey"); + ng.exports = p4; + }); + var gl = l((zQ, ig) => { + var f4 = Tl(), d4 = wi(); + function E4(e, t) { + t = f4(t, e); + for (var r = 0, n = t.length; e != null && r < n; ) + e = e[d4(t[r++])]; + return r && r == n ? e : void 0; + } + i(E4, "baseGet"); + ig.exports = E4; + }); + var ag = l((ZQ, sg) => { + var m4 = gl(); + function h4(e, t, r) { + var n = e == null ? void 0 : m4(e, t); + return n === void 0 ? r : n; + } + i(h4, "get"); + sg.exports = h4; + }); + var og = l((tZ, ug) => { + function D4(e, t) { + return e != null && t in Object(e); + } + i(D4, "baseHasIn"); + ug.exports = D4; + }); + var cg = l((nZ, lg) => { + var y4 = Tl(), A4 = Qo(), x4 = xt(), T4 = el(), g4 = ba(), v4 = wi(); + function S4(e, t, r) { + t = y4(t, e); + for (var n = -1, s = t.length, a = false; ++n < s; ) { + var u = v4(t[n]); + if (!(a = e != null && r(e, u))) + break; + e = e[u]; + } + return a || ++n != s ? a : (s = e == null ? 0 : e.length, !!s && g4(s) && T4(u, s) && (x4(e) || A4(e))); + } + i(S4, "hasPath"); + lg.exports = S4; + }); + var fg = l((sZ, pg) => { + var F4 = og(), C4 = cg(); + function B4(e, t) { + return e != null && C4(e, t, F4); + } + i(B4, "hasIn"); + pg.exports = B4; + }); + var Eg = l((uZ, dg) => { + var b4 = Dl(), O4 = ag(), N4 = fg(), _4 = qa(), I4 = yl(), R4 = Al(), P4 = wi(), q4 = 1, w4 = 2; + function L4(e, t) { + return _4(e) && I4(t) ? R4(P4(e), t) : function(r) { + var n = O4(r, e); + return n === void 0 && n === t ? N4(r, e) : b4(t, n, q4 | w4); + }; + } + i(L4, "baseMatchesProperty"); + dg.exports = L4; + }); + var hg = l((lZ, mg) => { + function k4(e) { + return e; + } + i(k4, "identity"); + mg.exports = k4; + }); + var yg = l((pZ, Dg) => { + function M4(e) { + return function(t) { + return t?.[e]; + }; + } + i(M4, "baseProperty"); + Dg.exports = M4; + }); + var xg = l((dZ, Ag) => { + var G4 = gl(); + function j4(e) { + return function(t) { + return G4(t, e); + }; + } + i(j4, "basePropertyDeep"); + Ag.exports = j4; + }); + var gg = l((mZ, Tg) => { + var U4 = yg(), Y4 = xg(), V4 = qa(), K4 = wi(); + function W4(e) { + return V4(e) ? U4(K4(e)) : Y4(e); + } + i(W4, "property"); + Tg.exports = W4; + }); + var Sg = l((DZ, vg) => { + var H4 = H1(), X4 = Eg(), $4 = hg(), J4 = xt(), z4 = gg(); + function Q4(e) { + return typeof e == "function" ? e : e == null ? $4 : typeof e == "object" ? J4(e) ? X4(e[0], e[1]) : H4(e) : z4(e); + } + i(Q4, "baseIteratee"); + vg.exports = Q4; + }); + var Cg = l((AZ, Fg) => { + var Z4 = zo(), e7 = Ax(), t7 = Sg(), r7 = xt(); + function n7(e, t) { + var r = r7(e) ? Z4 : e7; + return r(e, t7(t, 3)); + } + i(n7, "filter"); + Fg.exports = n7; + }); + var bl = l((Gee, Xg) => { + "use strict"; + var s7 = require("os"); + Xg.exports = s7.homedir || i(function() { + var t = process.env.HOME, r = process.env.LOGNAME || process.env.USER || process.env.LNAME || process.env.USERNAME; + return process.platform === "win32" ? process.env.USERPROFILE || process.env.HOMEDRIVE + process.env.HOMEPATH || t || null : process.platform === "darwin" ? t || (r ? "/Users/" + r : null) : process.platform === "linux" ? t || (process.getuid() === 0 ? "/root" : r ? "/home/" + r : null) : t || null; + }, "homedir"); + }); + var Ol = l((Uee, $g) => { + $g.exports = function() { + var e = Error.prepareStackTrace; + Error.prepareStackTrace = function(r, n) { + return n; + }; + var t = new Error().stack; + return Error.prepareStackTrace = e, t[2].getFileName(); + }; + }); + var Jg = l((Yee, Li) => { + "use strict"; + var a7 = process.platform === "win32", u7 = /^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/, Nl = {}; + function o7(e) { + return u7.exec(e).slice(1); + } + i(o7, "win32SplitPath"); + Nl.parse = function(e) { + if (typeof e != "string") + throw new TypeError("Parameter 'pathString' must be a string, not " + typeof e); + var t = o7(e); + if (!t || t.length !== 5) + throw new TypeError("Invalid path '" + e + "'"); + return { root: t[1], dir: t[0] === t[1] ? t[0] : t[0].slice(0, -1), base: t[2], ext: t[4], name: t[3] }; + }; + var l7 = /^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/, _l = {}; + function c7(e) { + return l7.exec(e).slice(1); + } + i(c7, "posixSplitPath"); + _l.parse = function(e) { + if (typeof e != "string") + throw new TypeError("Parameter 'pathString' must be a string, not " + typeof e); + var t = c7(e); + if (!t || t.length !== 5) + throw new TypeError("Invalid path '" + e + "'"); + return { root: t[1], dir: t[0].slice(0, -1), base: t[2], ext: t[4], name: t[3] }; + }; + a7 ? Li.exports = Nl.parse : Li.exports = _l.parse; + Li.exports.posix = _l.parse; + Li.exports.win32 = Nl.parse; + }); + var Il = l((Kee, ev) => { + var Zg = require("path"), zg = Zg.parse || Jg(), Qg = i(function(t, r) { + var n = "/"; + /^([A-Za-z]:)/.test(t) ? n = "" : /^\\\\/.test(t) && (n = "\\\\"); + for (var s = [t], a = zg(t); a.dir !== s[s.length - 1]; ) + s.push(a.dir), a = zg(a.dir); + return s.reduce(function(u, c) { + return u.concat(r.map(function(p) { + return Zg.resolve(n, c, p); + })); + }, []); + }, "getNodeModulesDirs"); + ev.exports = i(function(t, r, n) { + var s = r && r.moduleDirectory ? [].concat(r.moduleDirectory) : ["node_modules"]; + if (r && typeof r.paths == "function") + return r.paths(n, t, function() { + return Qg(t, s); + }, r); + var a = Qg(t, s); + return r && r.paths ? a.concat(r.paths) : a; + }, "nodeModulesPaths"); + }); + var Rl = l((Hee, tv) => { + tv.exports = function(e, t) { + return t || {}; + }; + }); + var nv = l((Xee, rv) => { + "use strict"; + var p7 = "Function.prototype.bind called on incompatible ", Pl = Array.prototype.slice, f7 = Object.prototype.toString, d7 = "[object Function]"; + rv.exports = i(function(t) { + var r = this; + if (typeof r != "function" || f7.call(r) !== d7) + throw new TypeError(p7 + r); + for (var n = Pl.call(arguments, 1), s, a = i(function() { + if (this instanceof s) { + var h = r.apply(this, n.concat(Pl.call(arguments))); + return Object(h) === h ? h : this; + } else + return r.apply(t, n.concat(Pl.call(arguments))); + }, "binder"), u = Math.max(0, r.length - n.length), c = [], p = 0; p < u; p++) + c.push("$" + p); + if (s = Function("binder", "return function (" + c.join(",") + "){ return binder.apply(this,arguments); }")(a), r.prototype) { + var f = i(function() { + }, "Empty"); + f.prototype = r.prototype, s.prototype = new f(), f.prototype = null; + } + return s; + }, "bind"); + }); + var sv = l((Jee, iv) => { + "use strict"; + var E7 = nv(); + iv.exports = Function.prototype.bind || E7; + }); + var uv = l((zee, av) => { + "use strict"; + var m7 = sv(); + av.exports = m7.call(Function.call, Object.prototype.hasOwnProperty); + }); + var ov = l((Qee, h7) => { + h7.exports = { assert: true, "node:assert": [">= 14.18 && < 15", ">= 16"], "assert/strict": ">= 15", "node:assert/strict": ">= 16", async_hooks: ">= 8", "node:async_hooks": [">= 14.18 && < 15", ">= 16"], buffer_ieee754: ">= 0.5 && < 0.9.7", buffer: true, "node:buffer": [">= 14.18 && < 15", ">= 16"], child_process: true, "node:child_process": [">= 14.18 && < 15", ">= 16"], cluster: ">= 0.5", "node:cluster": [">= 14.18 && < 15", ">= 16"], console: true, "node:console": [">= 14.18 && < 15", ">= 16"], constants: true, "node:constants": [">= 14.18 && < 15", ">= 16"], crypto: true, "node:crypto": [">= 14.18 && < 15", ">= 16"], _debug_agent: ">= 1 && < 8", _debugger: "< 8", dgram: true, "node:dgram": [">= 14.18 && < 15", ">= 16"], diagnostics_channel: [">= 14.17 && < 15", ">= 15.1"], "node:diagnostics_channel": [">= 14.18 && < 15", ">= 16"], dns: true, "node:dns": [">= 14.18 && < 15", ">= 16"], "dns/promises": ">= 15", "node:dns/promises": ">= 16", domain: ">= 0.7.12", "node:domain": [">= 14.18 && < 15", ">= 16"], events: true, "node:events": [">= 14.18 && < 15", ">= 16"], freelist: "< 6", fs: true, "node:fs": [">= 14.18 && < 15", ">= 16"], "fs/promises": [">= 10 && < 10.1", ">= 14"], "node:fs/promises": [">= 14.18 && < 15", ">= 16"], _http_agent: ">= 0.11.1", "node:_http_agent": [">= 14.18 && < 15", ">= 16"], _http_client: ">= 0.11.1", "node:_http_client": [">= 14.18 && < 15", ">= 16"], _http_common: ">= 0.11.1", "node:_http_common": [">= 14.18 && < 15", ">= 16"], _http_incoming: ">= 0.11.1", "node:_http_incoming": [">= 14.18 && < 15", ">= 16"], _http_outgoing: ">= 0.11.1", "node:_http_outgoing": [">= 14.18 && < 15", ">= 16"], _http_server: ">= 0.11.1", "node:_http_server": [">= 14.18 && < 15", ">= 16"], http: true, "node:http": [">= 14.18 && < 15", ">= 16"], http2: ">= 8.8", "node:http2": [">= 14.18 && < 15", ">= 16"], https: true, "node:https": [">= 14.18 && < 15", ">= 16"], inspector: ">= 8", "node:inspector": [">= 14.18 && < 15", ">= 16"], "inspector/promises": [">= 19"], "node:inspector/promises": [">= 19"], _linklist: "< 8", module: true, "node:module": [">= 14.18 && < 15", ">= 16"], net: true, "node:net": [">= 14.18 && < 15", ">= 16"], "node-inspect/lib/_inspect": ">= 7.6 && < 12", "node-inspect/lib/internal/inspect_client": ">= 7.6 && < 12", "node-inspect/lib/internal/inspect_repl": ">= 7.6 && < 12", os: true, "node:os": [">= 14.18 && < 15", ">= 16"], path: true, "node:path": [">= 14.18 && < 15", ">= 16"], "path/posix": ">= 15.3", "node:path/posix": ">= 16", "path/win32": ">= 15.3", "node:path/win32": ">= 16", perf_hooks: ">= 8.5", "node:perf_hooks": [">= 14.18 && < 15", ">= 16"], process: ">= 1", "node:process": [">= 14.18 && < 15", ">= 16"], punycode: ">= 0.5", "node:punycode": [">= 14.18 && < 15", ">= 16"], querystring: true, "node:querystring": [">= 14.18 && < 15", ">= 16"], readline: true, "node:readline": [">= 14.18 && < 15", ">= 16"], "readline/promises": ">= 17", "node:readline/promises": ">= 17", repl: true, "node:repl": [">= 14.18 && < 15", ">= 16"], smalloc: ">= 0.11.5 && < 3", _stream_duplex: ">= 0.9.4", "node:_stream_duplex": [">= 14.18 && < 15", ">= 16"], _stream_transform: ">= 0.9.4", "node:_stream_transform": [">= 14.18 && < 15", ">= 16"], _stream_wrap: ">= 1.4.1", "node:_stream_wrap": [">= 14.18 && < 15", ">= 16"], _stream_passthrough: ">= 0.9.4", "node:_stream_passthrough": [">= 14.18 && < 15", ">= 16"], _stream_readable: ">= 0.9.4", "node:_stream_readable": [">= 14.18 && < 15", ">= 16"], _stream_writable: ">= 0.9.4", "node:_stream_writable": [">= 14.18 && < 15", ">= 16"], stream: true, "node:stream": [">= 14.18 && < 15", ">= 16"], "stream/consumers": ">= 16.7", "node:stream/consumers": ">= 16.7", "stream/promises": ">= 15", "node:stream/promises": ">= 16", "stream/web": ">= 16.5", "node:stream/web": ">= 16.5", string_decoder: true, "node:string_decoder": [">= 14.18 && < 15", ">= 16"], sys: [">= 0.4 && < 0.7", ">= 0.8"], "node:sys": [">= 14.18 && < 15", ">= 16"], "test/reporters": ">= 19.9 && < 20.2", "node:test/reporters": [">= 18.17 && < 19", ">= 19.9", ">= 20"], "node:test": [">= 16.17 && < 17", ">= 18"], timers: true, "node:timers": [">= 14.18 && < 15", ">= 16"], "timers/promises": ">= 15", "node:timers/promises": ">= 16", _tls_common: ">= 0.11.13", "node:_tls_common": [">= 14.18 && < 15", ">= 16"], _tls_legacy: ">= 0.11.3 && < 10", _tls_wrap: ">= 0.11.3", "node:_tls_wrap": [">= 14.18 && < 15", ">= 16"], tls: true, "node:tls": [">= 14.18 && < 15", ">= 16"], trace_events: ">= 10", "node:trace_events": [">= 14.18 && < 15", ">= 16"], tty: true, "node:tty": [">= 14.18 && < 15", ">= 16"], url: true, "node:url": [">= 14.18 && < 15", ">= 16"], util: true, "node:util": [">= 14.18 && < 15", ">= 16"], "util/types": ">= 15.3", "node:util/types": ">= 16", "v8/tools/arguments": ">= 10 && < 12", "v8/tools/codemap": [">= 4.4 && < 5", ">= 5.2 && < 12"], "v8/tools/consarray": [">= 4.4 && < 5", ">= 5.2 && < 12"], "v8/tools/csvparser": [">= 4.4 && < 5", ">= 5.2 && < 12"], "v8/tools/logreader": [">= 4.4 && < 5", ">= 5.2 && < 12"], "v8/tools/profile_view": [">= 4.4 && < 5", ">= 5.2 && < 12"], "v8/tools/splaytree": [">= 4.4 && < 5", ">= 5.2 && < 12"], v8: ">= 1", "node:v8": [">= 14.18 && < 15", ">= 16"], vm: true, "node:vm": [">= 14.18 && < 15", ">= 16"], wasi: [">= 13.4 && < 13.5", ">= 18.17 && < 19", ">= 20"], "node:wasi": [">= 18.17 && < 19", ">= 20"], worker_threads: ">= 11.7", "node:worker_threads": [">= 14.18 && < 15", ">= 16"], zlib: ">= 0.5", "node:zlib": [">= 14.18 && < 15", ">= 16"] }; + }); + var ki = l((Zee, pv) => { + "use strict"; + var D7 = uv(); + function y7(e, t) { + for (var r = e.split("."), n = t.split(" "), s = n.length > 1 ? n[0] : "=", a = (n.length > 1 ? n[1] : n[0]).split("."), u = 0; u < 3; ++u) { + var c = parseInt(r[u] || 0, 10), p = parseInt(a[u] || 0, 10); + if (c !== p) + return s === "<" ? c < p : s === ">=" ? c >= p : false; + } + return s === ">="; + } + i(y7, "specifierIncluded"); + function lv(e, t) { + var r = t.split(/ ?&& ?/); + if (r.length === 0) + return false; + for (var n = 0; n < r.length; ++n) + if (!y7(e, r[n])) + return false; + return true; + } + i(lv, "matchesRange"); + function A7(e, t) { + if (typeof t == "boolean") + return t; + var r = typeof e > "u" ? process.versions && process.versions.node : e; + if (typeof r != "string") + throw new TypeError(typeof e > "u" ? "Unable to determine current node version" : "If provided, a valid node version is required"); + if (t && typeof t == "object") { + for (var n = 0; n < t.length; ++n) + if (lv(r, t[n])) + return true; + return false; + } + return lv(r, t); + } + i(A7, "versionIncluded"); + var cv = ov(); + pv.exports = i(function(t, r) { + return D7(cv, t) && A7(r, cv[t]); + }, "isCore"); + }); + var Ev = l((tte, dv) => { + var Mr = require("fs"), x7 = bl(), Fe = require("path"), T7 = Ol(), g7 = Il(), v7 = Rl(), S7 = ki(), F7 = process.platform !== "win32" && Mr.realpath && typeof Mr.realpath.native == "function" ? Mr.realpath.native : Mr.realpath, fv = x7(), C7 = i(function() { + return [Fe.join(fv, ".node_modules"), Fe.join(fv, ".node_libraries")]; + }, "defaultPaths"), B7 = i(function(t, r) { + Mr.stat(t, function(n, s) { + return n ? n.code === "ENOENT" || n.code === "ENOTDIR" ? r(null, false) : r(n) : r(null, s.isFile() || s.isFIFO()); + }); + }, "isFile"), b7 = i(function(t, r) { + Mr.stat(t, function(n, s) { + return n ? n.code === "ENOENT" || n.code === "ENOTDIR" ? r(null, false) : r(n) : r(null, s.isDirectory()); + }); + }, "isDirectory"), O7 = i(function(t, r) { + F7(t, function(n, s) { + n && n.code !== "ENOENT" ? r(n) : r(null, n ? t : s); + }); + }, "realpath"), Mi = i(function(t, r, n, s) { + n && n.preserveSymlinks === false ? t(r, s) : s(null, r); + }, "maybeRealpath"), N7 = i(function(t, r, n) { + t(r, function(s, a) { + if (s) + n(s); + else + try { + var u = JSON.parse(a); + n(null, u); + } catch { + n(null); + } + }); + }, "defaultReadPackage"), _7 = i(function(t, r, n) { + for (var s = g7(r, n, t), a = 0; a < s.length; a++) + s[a] = Fe.join(s[a], t); + return s; + }, "getPackageCandidates"); + dv.exports = i(function(t, r, n) { + var s = n, a = r; + if (typeof r == "function" && (s = a, a = {}), typeof t != "string") { + var u = new TypeError("Path must be a string."); + return process.nextTick(function() { + s(u); + }); + } + a = v7(t, a); + var c = a.isFile || B7, p = a.isDirectory || b7, f = a.readFile || Mr.readFile, h = a.realpath || O7, D = a.readPackage || N7; + if (a.readFile && a.readPackage) { + var d = new TypeError("`readFile` and `readPackage` are mutually exclusive."); + return process.nextTick(function() { + s(d); + }); + } + var x = a.packageIterator, C = a.extensions || [".js"], O = a.includeCoreModules !== false, g = a.basedir || Fe.dirname(T7()), j = a.filename || g; + a.paths = a.paths || C7(); + var $ = Fe.resolve(g); + Mi(h, $, a, function(L, K) { + L ? s(L) : Me(K); + }); + var re; + function Me(L) { + if (/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(t)) + re = Fe.resolve(L, t), (t === "." || t === ".." || t.slice(-1) === "/") && (re += "/"), /\/$/.test(t) && re === L ? ge(re, a.package, Xe) : Ct(re, a.package, Xe); + else { + if (O && S7(t)) + return s(null, t); + ct(t, L, function(K, xe, X) { + if (K) + s(K); + else { + if (xe) + return Mi(h, xe, a, function($e, Te) { + $e ? s($e) : s(null, Te, X); + }); + var De = new Error("Cannot find module '" + t + "' from '" + j + "'"); + De.code = "MODULE_NOT_FOUND", s(De); + } + }); + } + } + i(Me, "init"); + function Xe(L, K, xe) { + L ? s(L) : K ? s(null, K, xe) : ge(re, function(X, De, $e) { + if (X) + s(X); + else if (De) + Mi(h, De, a, function(ye, Ge) { + ye ? s(ye) : s(null, Ge, $e); + }); + else { + var Te = new Error("Cannot find module '" + t + "' from '" + j + "'"); + Te.code = "MODULE_NOT_FOUND", s(Te); + } + }); + } + i(Xe, "onfile"); + function Ct(L, K, xe) { + var X = K, De = xe; + typeof X == "function" && (De = X, X = void 0); + var $e = [""].concat(C); + Te($e, L, X); + function Te(ye, Ge, Bt) { + if (ye.length === 0) + return De(null, void 0, Bt); + var mr = Ge + ye[0], pt = Bt; + pt ? Ie(null, pt) : ne(Fe.dirname(mr), Ie); + function Ie(Gt, Wr, bt) { + if (pt = Wr, Gt) + return De(Gt); + if (bt && pt && a.pathFilter) { + var es = Fe.relative(bt, mr), ts = es.slice(0, es.length - ye[0].length), Gn = a.pathFilter(pt, Ge, ts); + if (Gn) + return Te([""].concat(C.slice()), Fe.resolve(bt, Gn), pt); + } + c(mr, Zi); + } + i(Ie, "onpkg"); + function Zi(Gt, Wr) { + if (Gt) + return De(Gt); + if (Wr) + return De(null, mr, pt); + Te(ye.slice(1), Ge, pt); + } + i(Zi, "onex"); + } + i(Te, "load"); + } + i(Ct, "loadAsFile"); + function ne(L, K) { + if (L === "" || L === "/" || process.platform === "win32" && /^\w:[/\\]*$/.test(L) || /[/\\]node_modules[/\\]*$/.test(L)) + return K(null); + Mi(h, L, a, function(xe, X) { + if (xe) + return ne(Fe.dirname(L), K); + var De = Fe.join(X, "package.json"); + c(De, function($e, Te) { + if (!Te) + return ne(Fe.dirname(L), K); + D(f, De, function(ye, Ge) { + ye && K(ye); + var Bt = Ge; + Bt && a.packageFilter && (Bt = a.packageFilter(Bt, De)), K(null, Bt, L); + }); + }); + }); + } + i(ne, "loadpkg"); + function ge(L, K, xe) { + var X = xe, De = K; + typeof De == "function" && (X = De, De = a.package), Mi(h, L, a, function($e, Te) { + if ($e) + return X($e); + var ye = Fe.join(Te, "package.json"); + c(ye, function(Ge, Bt) { + if (Ge) + return X(Ge); + if (!Bt) + return Ct(Fe.join(L, "index"), De, X); + D(f, ye, function(mr, pt) { + if (mr) + return X(mr); + var Ie = pt; + if (Ie && a.packageFilter && (Ie = a.packageFilter(Ie, ye)), Ie && Ie.main) { + if (typeof Ie.main != "string") { + var Zi = new TypeError("package \u201C" + Ie.name + "\u201D `main` must be a string"); + return Zi.code = "INVALID_PACKAGE_MAIN", X(Zi); + } + (Ie.main === "." || Ie.main === "./") && (Ie.main = "index"), Ct(Fe.resolve(L, Ie.main), Ie, function(Gt, Wr, bt) { + if (Gt) + return X(Gt); + if (Wr) + return X(null, Wr, bt); + if (!bt) + return Ct(Fe.join(L, "index"), bt, X); + var es = Fe.resolve(L, bt.main); + ge(es, bt, function(ts, Gn, Xl) { + if (ts) + return X(ts); + if (Gn) + return X(null, Gn, Xl); + Ct(Fe.join(L, "index"), Xl, X); + }); + }); + return; + } + Ct(Fe.join(L, "/index"), Ie, X); + }); + }); + }); + } + i(ge, "loadAsDirectory"); + function le(L, K) { + if (K.length === 0) + return L(null, void 0); + var xe = K[0]; + p(Fe.dirname(xe), X); + function X(Te, ye) { + if (Te) + return L(Te); + if (!ye) + return le(L, K.slice(1)); + Ct(xe, a.package, De); + } + i(X, "isdir"); + function De(Te, ye, Ge) { + if (Te) + return L(Te); + if (ye) + return L(null, ye, Ge); + ge(xe, a.package, $e); + } + i(De, "onfile"); + function $e(Te, ye, Ge) { + if (Te) + return L(Te); + if (ye) + return L(null, ye, Ge); + le(L, K.slice(1)); + } + i($e, "ondir"); + } + i(le, "processDirs"); + function ct(L, K, xe) { + var X = i(function() { + return _7(L, K, a); + }, "thunk"); + le(xe, x ? x(L, K, X, a) : X()); + } + i(ct, "loadNodeModules"); + }, "resolve"); + }); + var mv = l((nte, I7) => { + I7.exports = { assert: true, "node:assert": [">= 14.18 && < 15", ">= 16"], "assert/strict": ">= 15", "node:assert/strict": ">= 16", async_hooks: ">= 8", "node:async_hooks": [">= 14.18 && < 15", ">= 16"], buffer_ieee754: ">= 0.5 && < 0.9.7", buffer: true, "node:buffer": [">= 14.18 && < 15", ">= 16"], child_process: true, "node:child_process": [">= 14.18 && < 15", ">= 16"], cluster: ">= 0.5", "node:cluster": [">= 14.18 && < 15", ">= 16"], console: true, "node:console": [">= 14.18 && < 15", ">= 16"], constants: true, "node:constants": [">= 14.18 && < 15", ">= 16"], crypto: true, "node:crypto": [">= 14.18 && < 15", ">= 16"], _debug_agent: ">= 1 && < 8", _debugger: "< 8", dgram: true, "node:dgram": [">= 14.18 && < 15", ">= 16"], diagnostics_channel: [">= 14.17 && < 15", ">= 15.1"], "node:diagnostics_channel": [">= 14.18 && < 15", ">= 16"], dns: true, "node:dns": [">= 14.18 && < 15", ">= 16"], "dns/promises": ">= 15", "node:dns/promises": ">= 16", domain: ">= 0.7.12", "node:domain": [">= 14.18 && < 15", ">= 16"], events: true, "node:events": [">= 14.18 && < 15", ">= 16"], freelist: "< 6", fs: true, "node:fs": [">= 14.18 && < 15", ">= 16"], "fs/promises": [">= 10 && < 10.1", ">= 14"], "node:fs/promises": [">= 14.18 && < 15", ">= 16"], _http_agent: ">= 0.11.1", "node:_http_agent": [">= 14.18 && < 15", ">= 16"], _http_client: ">= 0.11.1", "node:_http_client": [">= 14.18 && < 15", ">= 16"], _http_common: ">= 0.11.1", "node:_http_common": [">= 14.18 && < 15", ">= 16"], _http_incoming: ">= 0.11.1", "node:_http_incoming": [">= 14.18 && < 15", ">= 16"], _http_outgoing: ">= 0.11.1", "node:_http_outgoing": [">= 14.18 && < 15", ">= 16"], _http_server: ">= 0.11.1", "node:_http_server": [">= 14.18 && < 15", ">= 16"], http: true, "node:http": [">= 14.18 && < 15", ">= 16"], http2: ">= 8.8", "node:http2": [">= 14.18 && < 15", ">= 16"], https: true, "node:https": [">= 14.18 && < 15", ">= 16"], inspector: ">= 8", "node:inspector": [">= 14.18 && < 15", ">= 16"], "inspector/promises": [">= 19"], "node:inspector/promises": [">= 19"], _linklist: "< 8", module: true, "node:module": [">= 14.18 && < 15", ">= 16"], net: true, "node:net": [">= 14.18 && < 15", ">= 16"], "node-inspect/lib/_inspect": ">= 7.6 && < 12", "node-inspect/lib/internal/inspect_client": ">= 7.6 && < 12", "node-inspect/lib/internal/inspect_repl": ">= 7.6 && < 12", os: true, "node:os": [">= 14.18 && < 15", ">= 16"], path: true, "node:path": [">= 14.18 && < 15", ">= 16"], "path/posix": ">= 15.3", "node:path/posix": ">= 16", "path/win32": ">= 15.3", "node:path/win32": ">= 16", perf_hooks: ">= 8.5", "node:perf_hooks": [">= 14.18 && < 15", ">= 16"], process: ">= 1", "node:process": [">= 14.18 && < 15", ">= 16"], punycode: ">= 0.5", "node:punycode": [">= 14.18 && < 15", ">= 16"], querystring: true, "node:querystring": [">= 14.18 && < 15", ">= 16"], readline: true, "node:readline": [">= 14.18 && < 15", ">= 16"], "readline/promises": ">= 17", "node:readline/promises": ">= 17", repl: true, "node:repl": [">= 14.18 && < 15", ">= 16"], smalloc: ">= 0.11.5 && < 3", _stream_duplex: ">= 0.9.4", "node:_stream_duplex": [">= 14.18 && < 15", ">= 16"], _stream_transform: ">= 0.9.4", "node:_stream_transform": [">= 14.18 && < 15", ">= 16"], _stream_wrap: ">= 1.4.1", "node:_stream_wrap": [">= 14.18 && < 15", ">= 16"], _stream_passthrough: ">= 0.9.4", "node:_stream_passthrough": [">= 14.18 && < 15", ">= 16"], _stream_readable: ">= 0.9.4", "node:_stream_readable": [">= 14.18 && < 15", ">= 16"], _stream_writable: ">= 0.9.4", "node:_stream_writable": [">= 14.18 && < 15", ">= 16"], stream: true, "node:stream": [">= 14.18 && < 15", ">= 16"], "stream/consumers": ">= 16.7", "node:stream/consumers": ">= 16.7", "stream/promises": ">= 15", "node:stream/promises": ">= 16", "stream/web": ">= 16.5", "node:stream/web": ">= 16.5", string_decoder: true, "node:string_decoder": [">= 14.18 && < 15", ">= 16"], sys: [">= 0.4 && < 0.7", ">= 0.8"], "node:sys": [">= 14.18 && < 15", ">= 16"], "test/reporters": ">= 19.9 && < 20.2", "node:test/reporters": [">= 18.17 && < 19", ">= 19.9", ">= 20"], "node:test": [">= 16.17 && < 17", ">= 18"], timers: true, "node:timers": [">= 14.18 && < 15", ">= 16"], "timers/promises": ">= 15", "node:timers/promises": ">= 16", _tls_common: ">= 0.11.13", "node:_tls_common": [">= 14.18 && < 15", ">= 16"], _tls_legacy: ">= 0.11.3 && < 10", _tls_wrap: ">= 0.11.3", "node:_tls_wrap": [">= 14.18 && < 15", ">= 16"], tls: true, "node:tls": [">= 14.18 && < 15", ">= 16"], trace_events: ">= 10", "node:trace_events": [">= 14.18 && < 15", ">= 16"], tty: true, "node:tty": [">= 14.18 && < 15", ">= 16"], url: true, "node:url": [">= 14.18 && < 15", ">= 16"], util: true, "node:util": [">= 14.18 && < 15", ">= 16"], "util/types": ">= 15.3", "node:util/types": ">= 16", "v8/tools/arguments": ">= 10 && < 12", "v8/tools/codemap": [">= 4.4 && < 5", ">= 5.2 && < 12"], "v8/tools/consarray": [">= 4.4 && < 5", ">= 5.2 && < 12"], "v8/tools/csvparser": [">= 4.4 && < 5", ">= 5.2 && < 12"], "v8/tools/logreader": [">= 4.4 && < 5", ">= 5.2 && < 12"], "v8/tools/profile_view": [">= 4.4 && < 5", ">= 5.2 && < 12"], "v8/tools/splaytree": [">= 4.4 && < 5", ">= 5.2 && < 12"], v8: ">= 1", "node:v8": [">= 14.18 && < 15", ">= 16"], vm: true, "node:vm": [">= 14.18 && < 15", ">= 16"], wasi: [">= 13.4 && < 13.5", ">= 18.17 && < 19", ">= 20"], "node:wasi": [">= 18.17 && < 19", ">= 20"], worker_threads: ">= 11.7", "node:worker_threads": [">= 14.18 && < 15", ">= 16"], zlib: ">= 0.5", "node:zlib": [">= 14.18 && < 15", ">= 16"] }; + }); + var Av = l((ite, yv) => { + "use strict"; + var R7 = ki(), hv = mv(), Dv = {}; + for (Ga in hv) + Object.prototype.hasOwnProperty.call(hv, Ga) && (Dv[Ga] = R7(Ga)); + var Ga; + yv.exports = Dv; + }); + var Tv = l((ste, xv) => { + var P7 = ki(); + xv.exports = i(function(t) { + return P7(t); + }, "isCore"); + }); + var Sv = l((ute, vv) => { + var q7 = ki(), Gr = require("fs"), we = require("path"), w7 = bl(), L7 = Ol(), k7 = Il(), M7 = Rl(), G7 = process.platform !== "win32" && Gr.realpathSync && typeof Gr.realpathSync.native == "function" ? Gr.realpathSync.native : Gr.realpathSync, gv = w7(), j7 = i(function() { + return [we.join(gv, ".node_modules"), we.join(gv, ".node_libraries")]; + }, "defaultPaths"), U7 = i(function(t) { + try { + var r = Gr.statSync(t, { throwIfNoEntry: false }); + } catch (n) { + if (n && (n.code === "ENOENT" || n.code === "ENOTDIR")) + return false; + throw n; + } + return !!r && (r.isFile() || r.isFIFO()); + }, "isFile"), Y7 = i(function(t) { + try { + var r = Gr.statSync(t, { throwIfNoEntry: false }); + } catch (n) { + if (n && (n.code === "ENOENT" || n.code === "ENOTDIR")) + return false; + throw n; + } + return !!r && r.isDirectory(); + }, "isDirectory"), V7 = i(function(t) { + try { + return G7(t); + } catch (r) { + if (r.code !== "ENOENT") + throw r; + } + return t; + }, "realpathSync"), Gi = i(function(t, r, n) { + return n && n.preserveSymlinks === false ? t(r) : r; + }, "maybeRealpathSync"), K7 = i(function(t, r) { + var n = t(r); + try { + var s = JSON.parse(n); + return s; + } catch { + } + }, "defaultReadPackageSync"), W7 = i(function(t, r, n) { + for (var s = k7(r, n, t), a = 0; a < s.length; a++) + s[a] = we.join(s[a], t); + return s; + }, "getPackageCandidates"); + vv.exports = i(function(t, r) { + if (typeof t != "string") + throw new TypeError("Path must be a string."); + var n = M7(t, r), s = n.isFile || U7, a = n.readFileSync || Gr.readFileSync, u = n.isDirectory || Y7, c = n.realpathSync || V7, p = n.readPackageSync || K7; + if (n.readFileSync && n.readPackageSync) + throw new TypeError("`readFileSync` and `readPackageSync` are mutually exclusive."); + var f = n.packageIterator, h = n.extensions || [".js"], D = n.includeCoreModules !== false, d = n.basedir || we.dirname(L7()), x = n.filename || d; + n.paths = n.paths || j7(); + var C = Gi(c, we.resolve(d), n); + if (/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(t)) { + var O = we.resolve(C, t); + (t === "." || t === ".." || t.slice(-1) === "/") && (O += "/"); + var g = re(O) || Xe(O); + if (g) + return Gi(c, g, n); + } else { + if (D && q7(t)) + return t; + var j = Ct(t, C); + if (j) + return Gi(c, j, n); + } + var $ = new Error("Cannot find module '" + t + "' from '" + x + "'"); + throw $.code = "MODULE_NOT_FOUND", $; + function re(ne) { + var ge = Me(we.dirname(ne)); + if (ge && ge.dir && ge.pkg && n.pathFilter) { + var le = we.relative(ge.dir, ne), ct = n.pathFilter(ge.pkg, ne, le); + ct && (ne = we.resolve(ge.dir, ct)); + } + if (s(ne)) + return ne; + for (var L = 0; L < h.length; L++) { + var K = ne + h[L]; + if (s(K)) + return K; + } + } + i(re, "loadAsFileSync"); + function Me(ne) { + if (!(ne === "" || ne === "/") && !(process.platform === "win32" && /^\w:[/\\]*$/.test(ne)) && !/[/\\]node_modules[/\\]*$/.test(ne)) { + var ge = we.join(Gi(c, ne, n), "package.json"); + if (!s(ge)) + return Me(we.dirname(ne)); + var le = p(a, ge); + return le && n.packageFilter && (le = n.packageFilter(le, ne)), { pkg: le, dir: ne }; + } + } + i(Me, "loadpkg"); + function Xe(ne) { + var ge = we.join(Gi(c, ne, n), "/package.json"); + if (s(ge)) { + try { + var le = p(a, ge); + } catch { + } + if (le && n.packageFilter && (le = n.packageFilter(le, ne)), le && le.main) { + if (typeof le.main != "string") { + var ct = new TypeError("package \u201C" + le.name + "\u201D `main` must be a string"); + throw ct.code = "INVALID_PACKAGE_MAIN", ct; + } + (le.main === "." || le.main === "./") && (le.main = "index"); + try { + var L = re(we.resolve(ne, le.main)); + if (L) + return L; + var K = Xe(we.resolve(ne, le.main)); + if (K) + return K; + } catch { + } + } + } + return re(we.join(ne, "/index")); + } + i(Xe, "loadAsDirectorySync"); + function Ct(ne, ge) { + for (var le = i(function() { + return W7(ne, ge, n); + }, "thunk"), ct = f ? f(ne, ge, le, n) : le(), L = 0; L < ct.length; L++) { + var K = ct[L]; + if (u(we.dirname(K))) { + var xe = re(K); + if (xe) + return xe; + var X = Xe(K); + if (X) + return X; + } + } + } + i(Ct, "loadNodeModulesSync"); + }, "resolveSync"); + }); + var Cv = l((lte, Fv) => { + var ja = Ev(); + ja.core = Av(); + ja.isCore = Tv(); + ja.sync = Sv(); + Fv.exports = ja; + }); + var TG = {}; + $l(TG, { EXPRESSION_NEEDED: () => U, FILTER_BLOCK: () => Ui, GROUP_TOP_LEVEL_LOGICAL: () => Yr, INSIDE_OF_STRING: () => St, IS_ROOT_LOGICAL_EXPRESSION: () => Vr, NEWLINES_ONLY: () => Yi, OVERRIDE_QUOTE_CHAR: () => ji, PRESERVE_LEADING_WHITESPACE: () => jr, PRESERVE_TRAILING_WHITESPACE: () => Ur, STRING_NEEDS_QUOTES: () => R, countNewlines: () => lt, createTextGroups: () => Gl, findParentNode: () => dr, firstValueInAncestorChain: () => Ft, getDeepProperty: () => Hi, hasAtLeastTwoNewlines: () => eM, hasNoNewlines: () => Ha, indentWithHardline: () => kn, isContractableNodeType: () => Ki, isEmptySequence: () => jl, isHtmlCommentEqualTo: () => Xi, isInlineElement: () => Ji, isMelodyNode: () => qn, isMultipartExpression: () => Wi, isNotExpression: () => Ll, isRootNode: () => Ml, isTwigCommentEqualTo: () => $i, isValidIdentifierName: () => kl, isWhitespaceNode: () => wn, isWhitespaceOnly: () => Kr, languages: () => pG, normalizeHtmlComment: () => Ja, normalizeTwigComment: () => za, options: () => xG, parsers: () => mG, printChildBlock: () => _e, printChildGroups: () => Mn, printers: () => AG, quoteChar: () => Pn, registerContractableNodeType: () => Q7, removeSurroundingWhitespace: () => Ln, setDeepProperty: () => wv, shouldExpressionsBeWrapped: () => Ka, someParentNode: () => Va, stripHtmlCommentChars: () => Xa, stripTwigCommentChars: () => $a, testCurrentAndParentNodes: () => Z7, testCurrentNode: () => Iv, walkParents: () => _v, wrapExpressionIfNeeded: () => ke, wrapInEnvironment: () => Rv, wrapInStringInterpolation: () => Wa }); + module.exports = eF(TG); + var S = W(J()); + var z = Symbol(); + var qq = Symbol(); + function I(e, { pos: { index: t, line: r, column: n } }) { + return e.loc.start = { line: r, column: n, index: t }, e; + } + i(I, "setStartFromToken"); + function b(e, { pos: { line: t, column: r }, end: n }) { + return e.loc.end = { line: t, column: r, index: n }, e; + } + i(b, "setEndFromToken"); + function Po(e, t, { pos: { index: r, line: n, column: s } }) { + return e[t] = { line: n, column: s, index: r }, e; + } + i(Po, "setMarkFromToken"); + function Ye(e, { loc: { start: { line: t, column: r, index: n } } }) { + return e.loc.start.line = t, e.loc.start.column = r, e.loc.start.index = n, e; + } + i(Ye, "copyStart"); + function ve(e, t) { + return e.loc.end.line = t.loc.end.line, e.loc.end.column = t.loc.end.column, e.loc.end.index = t.loc.end.index, e; + } + i(ve, "copyEnd"); + function fn(e, { loc: { start: t, end: r } }) { + return e.loc.start.line = t.line, e.loc.start.column = t.column, e.loc.start.index = t.index, e.loc.end.line = r.line, e.loc.end.column = r.column, e.loc.end.index = r.index, e; + } + i(fn, "copyLoc"); + function N(e, t, ...r) { + return b(I(new e(...r), t), t); + } + i(N, "createNode"); + function ee(e) { + return e.text.endsWith("-"); + } + i(ee, "hasTagStartTokenTrimLeft"); + function te(e) { + return e.text.startsWith("-"); + } + i(te, "hasTagEndTokenTrimRight"); + var m = {}; + $l(m, { ASSIGNMENT: () => _r, COLON: () => ut, COMMA: () => $t, COMMENT: () => qt, DECLARATION_START: () => hi, DOT: () => hn, ELEMENT_END: () => ot, ELEMENT_START: () => Ir, ENTITY: () => yi, EOF: () => He, EOF_TOKEN: () => Pr, ERROR: () => Dn, ERROR_TABLE: () => Aa, EXPRESSION_END: () => Ve, EXPRESSION_START: () => Ze, FALSE: () => xi, HTML_COMMENT: () => br, INTERPOLATION_END: () => En, INTERPOLATION_START: () => dn, LBRACE: () => Nr, LBRACKET: () => mn, LPAREN: () => Dt, NULL: () => Ti, NUMBER: () => Rr, OPERATOR: () => Or, PIPE: () => Jt, QUESTION_MARK: () => gi, RBRACE: () => at, RBRACKET: () => Xt, RPAREN: () => Ht, SLASH: () => yt, STRING: () => ht, STRING_END: () => mt, STRING_START: () => tt, SYMBOL: () => Ne, TAG_END: () => et, TAG_START: () => st, TEXT: () => Wt, TRUE: () => Ai, WHITESPACE: () => Di }); + var Ze = "expressionStart"; + var Ve = "expressionEnd"; + var st = "tagStart"; + var et = "tagEnd"; + var dn = "interpolationStart"; + var En = "interpolationEnd"; + var tt = "stringStart"; + var mt = "stringEnd"; + var hi = "declarationStart"; + var qt = "comment"; + var Di = "whitespace"; + var br = "htmlComment"; + var Wt = "text"; + var yi = "entity"; + var Ne = "symbol"; + var ht = "string"; + var Or = "operator"; + var Ai = "true"; + var xi = "false"; + var Ti = "null"; + var Nr = "["; + var at = "]"; + var Dt = "("; + var Ht = ")"; + var mn = "{"; + var Xt = "}"; + var ut = ":"; + var $t = ","; + var hn = "."; + var Jt = "|"; + var gi = "?"; + var _r = "="; + var Ir = "<"; + var yt = "/"; + var ot = ">"; + var Rr = "number"; + var He = "EOF"; + var Dn = "ERROR"; + var Pr = { type: He, pos: { index: -1, line: -1, pos: -1 }, end: -1, length: 0, source: null, text: "" }; + var Aa = { [Ve]: 'expression end "}}"', [Ze]: 'expression start "{{"', [st]: 'tag start "{%"', [et]: 'tag end "%}"', [dn]: 'interpolation start "#{"', [En]: 'interpolation end "}"' }; + var xa = W(J()); + var vi = { name: "genericTwigTag", parse(e) { + let t = e.tokens, r = t.la(-2), n, s = new xa.GenericTwigTag(t.la(-1).text); + for (; (n = t.la(0)) && n.type !== et; ) + try { + s.parts.push(e.matchExpression()); + } catch (a) { + if (a.errorType === "UNEXPECTED_TOKEN") + s.parts.push(new xa.GenericToken(a.tokenType, a.tokenText)), t.next(); + else + throw a; + } + return t.expect(et), s.trimLeft = ee(r), s.trimRight = te(n), s; + } }; + var wq = i((e, t) => { + for (let r = 0; r < t.length; r++) + if (e.test(Ne, t[r])) + return true; + return false; + }, "tagMatchesOneOf"); + var qD = i((e, t = []) => ({ name: "genericTwigMultiTag", parse(r, n) { + let s = r.tokens, a = s.la(-1); + t.length === 0 && t.push("end" + e); + let u = vi.parse(r, n), c = e, p = t[t.length - 1]; + for (; c !== p; ) { + u.sections.push(r.parse((h, D, d) => D.type === st && wq(d, t))), s.next(); + let f = vi.parse(r); + u.sections.push(f), c = f.tagName; + } + return I(u, a), b(u, s.la(0)), u; + } }), "createMultiTagParser"); + var wD = { area: true, base: true, br: true, col: true, embed: true, hr: true, img: true, input: true, keygen: true, link: true, meta: true, param: true, source: true, track: true, wbr: true }; + var Ta = Symbol(); + var qo = Symbol(); + var ga = Symbol(); + var va = Symbol(); + var yn = class { + static { + i(this, "Parser"); + } + constructor(t, r) { + this.tokens = t, this[Ta] = {}, this[qo] = {}, this[ga] = {}, this[va] = {}, this.options = Object.assign({}, { ignoreComments: true, ignoreHtmlComments: true, ignoreDeclarations: true, decodeEntities: true, preserveSourceLiterally: false, allowUnknownTags: false, multiTags: {} }, r), Object.keys(this.options.multiTags).length > 0 && (this.options.allowUnknownTags = true); + } + applyExtension(t) { + if (t.tags) + for (let r of t.tags) + this.addTag(r); + if (t.unaryOperators) + for (let r of t.unaryOperators) + this.addUnaryOperator(r); + if (t.binaryOperators) + for (let r of t.binaryOperators) + this.addBinaryOperator(r); + if (t.tests) + for (let r of t.tests) + this.addTest(r); + } + addUnaryOperator(t) { + return this[Ta][t.text] = t, this; + } + addBinaryOperator(t) { + return this[qo][t.text] = t, this; + } + addTag(t) { + return this[ga][t.name] = t, this; + } + addTest(t) { + this[va][t.text] = t; + } + hasTest(t) { + return !!this[va][t]; + } + getTest(t) { + return this[va][t]; + } + isUnary(t) { + return t.type === Or && !!this[Ta][t.text]; + } + getBinaryOperator(t) { + return t.type === Or && this[qo][t.text]; + } + parse(t = null) { + let r = this.tokens, n = I(new S.SequenceExpression(), r.la(0)); + for (; !r.test(He); ) { + let s = r.next(); + if (n || (n = I(new S.SequenceExpression(), s)), t && t(r.la(0).text, s, r)) + return b(n, s), n; + switch (s.type) { + case Ze: { + let a = this.matchExpression(), u = new S.PrintExpressionStatement(a), c = r.expect(Ve); + I(u, s), b(u, c), b(n, c), u.trimLeft = !!a.trimLeft, u.trimRight = !!a.trimRight, n.add(u); + break; + } + case st: + n.add(this.matchTag()); + break; + case Wt: { + let a = N(S.StringLiteral, s, s.text), u = N(S.PrintTextStatement, s, a); + n.add(u); + break; + } + case yi: { + let a = N(S.StringLiteral, s, s.text), u = N(S.PrintTextStatement, s, a); + n.add(u); + break; + } + case Ir: + n.add(this.matchElement()); + break; + case hi: { + let a = this.matchDeclaration(); + this.options.ignoreDeclarations || n.add(a); + break; + } + case qt: + if (!this.options.ignoreComments) { + let a = N(S.StringLiteral, s, s.text), u = N(S.TwigComment, s, a); + n.add(u); + } + break; + case br: + if (!this.options.ignoreHtmlComments) { + let a = N(S.StringLiteral, s, s.text), u = N(S.HtmlComment, s, a); + n.add(u); + } + break; + } + } + return n; + } + matchDeclaration() { + let t = this.tokens, r = t.la(-1), n = null, s = null; + (n = t.nextIf(Ne)) || this.error({ title: "Expected declaration start", pos: r.pos, advice: "After ', but not found", pos: r.pos, advice: "Script tag must have an end tag" }); + let { pos: { index: p, line: f, column: h } } = c, D = u.end - 1, d = { pos: { index: p, line: f, column: h }, end: D }, x = N(S.StringLiteral, d, t.input.input.input.slice(p, D)), C = N(S.PrintTextStatement, d, x); + a.children.push(C); + } else + a.children = this.parse(function(u, c, p) { + if (c.type === Ir && p.lat(0) === yt) { + let f = p.la(1); + if (f.type === Ne && f.text === s.text) + return p.next(), p.next(), p.expect(ot), true; + } + return false; + }).expressions; + return I(a, n), b(a, t.la(-1)), Po(a, "elementNameLoc", r), a; + } + matchAttributes(t, r) { + for (; r.lat(0) !== yt && r.lat(0) !== ot; ) { + let n = r.nextIf(Ne); + if (n) { + let s = new S.Identifier(n.text); + if (I(s, n), b(s, n), r.nextIf(_r)) { + let a = r.expect(tt), u = true, c = [], p; + for (; !r.test(mt); ) + if (u && (p = r.nextIf(ht))) + c[c.length] = N(S.StringLiteral, p, p.text), u = false; + else if (p = r.nextIf(Ze)) + c[c.length] = this.matchExpression(), r.expect(Ve), u = true; + else if (p = r.nextIf(st)) + c[c.length] = this.matchTag(), u = true; + else + break; + if (r.expect(mt), !c.length) { + let D = N(S.StringLiteral, a, ""); + c.push(D); + } + let f = c[0]; + for (let D = 1, d = c.length; D < d; D++) { + let { line: x, column: C } = f.loc.start; + f = new S.BinaryConcatExpression(f, c[D]), f.loc.start.line = x, f.loc.start.column = C, ve(f, f.right); + } + c.length > 1 && (f.wasImplicitConcatenation = true); + let h = new S.Attribute(s, f); + Ye(h, s), ve(h, f), t.attributes.push(h); + } else + t.attributes.push(fn(new S.Attribute(s), s)); + } else + r.nextIf(Ze) ? (t.attributes.push(this.matchExpression()), r.expect(Ve)) : this.error({ title: "Invalid token", pos: r.la(0).pos, advice: "A tag must consist of attributes or expressions. Twig Tags are not allowed." }); + } + } + error(t, r = {}) { + this.tokens.error(t.title, t.pos, t.advice, 1, r); + } + getGenericParserFor(t) { + return this.options.multiTags[t] ? qD(t, this.options.multiTags[t]) : vi; + } + matchTag() { + let t = this.tokens, r = t.la(-1), n = t.expect(Ne), s = this[ga][n.text], a = false; + s || (this.options.allowUnknownTags ? (s = this.getGenericParserFor(n.text), a = true) : t.error(`Unknown tag "${n.text}"`, n.pos, `Expected a known tag such as +- ${Object.getOwnPropertyNames(this[ga]).join(` +- `)}`, n.length)); + let u = s.parse(this, n), c = t.la(-1); + return a || (u.trimLeft = r.text.endsWith("-"), u.trimRight = c.text.startsWith("-")), I(u, r), b(u, c), Po(u, "tagNameLoc", n), u; + } + matchExpression(t = 0) { + let r = this.tokens, n = r.la(0), s, a, u = false; + r.la(-1).type === Ze && r.la(-1).text.endsWith("-") && (u = true); + let c = this.getPrimary(); + for (; (s = r.la(0)) && s.type !== He && (a = this.getBinaryOperator(s)) && a.precedence >= t; ) { + let h = r.next(); + if (a.parse) + c = a.parse(this, h, c); + else { + let D = this.matchExpression(a.associativity === z ? a.precedence + 1 : a.precedence); + c = a.createNode(s, c, D); + } + s = r.la(0); + } + var p = c; + t === 0 && (b(c, r.la(-1)), p = this.matchConditionalExpression(c), s = r.la(0)), s.type === Ve && s.text.startsWith("-") && (p.trimRight = true), u && (p.trimLeft = u); + let f = r.la(-1); + return I(p, n), b(p, f), p; + } + getPrimary() { + let t = this.tokens, r = t.la(0); + if (this.isUnary(r)) { + let n = this[Ta][r.text]; + t.next(); + let s = this.matchExpression(n.precedence); + return this.matchPostfixExpression(n.createNode(r, s)); + } else if (t.test(Dt)) { + t.next(); + let n = this.matchExpression(); + return t.expect(Ht), this.matchPostfixExpression(n); + } + return this.matchPrimaryExpression(); + } + matchPrimaryExpression() { + let t = this.tokens, r = t.la(0), n; + switch (r.type) { + case Ti: + n = N(S.NullLiteral, t.next()); + break; + case xi: + n = N(S.BooleanLiteral, t.next(), false); + break; + case Ai: + n = N(S.BooleanLiteral, t.next(), true); + break; + case Ne: + t.next(), t.test(Dt) ? (n = new S.CallExpression(N(S.Identifier, r, r.text), this.matchArguments()), Ye(n, n.callee), b(n, t.la(-1))) : n = N(S.Identifier, r, r.text); + break; + case Rr: + n = N(S.NumericLiteral, r, Number(t.next())); + break; + case tt: + n = this.matchStringExpression(); + break; + default: + r.type === Nr ? n = this.matchArray() : r.type === mn ? n = this.matchMap() : this.error({ title: 'Unexpected token "' + r.type + '" of value "' + r.text + '"', pos: r.pos }, { errorType: "UNEXPECTED_TOKEN", tokenText: r.text, tokenType: r.type }); + break; + } + return this.matchPostfixExpression(n); + } + matchStringExpression() { + let t = true, r, n = this.tokens, s = [], a = n.expect(tt); + for (; !n.test(mt); ) + if (t && (r = n.nextIf(ht))) + s[s.length] = N(S.StringLiteral, r, r.text), t = false; + else if (r = n.nextIf(dn)) + s[s.length] = this.matchExpression(), n.expect(En), t = true; + else + break; + let u = n.expect(mt); + if (!s.length) + return b(N(S.StringLiteral, a, ""), u); + let c = s[0]; + for (let p = 1, f = s.length; p < f; p++) { + let { line: h, column: D } = c.loc.start; + c = new S.BinaryConcatExpression(c, s[p]), c.loc.start.line = h, c.loc.start.column = D, ve(c, c.right); + } + return s.length > 1 && (c.wasImplicitConcatenation = true), I(c, a), b(c, u), c; + } + matchConditionalExpression(t) { + let r = this.tokens, n = t, s, a; + for (; r.nextIf(gi); ) { + r.nextIf(ut) ? (s = null, a = this.matchExpression()) : (s = this.matchExpression(), r.nextIf(ut) ? a = this.matchExpression() : a = null); + let { line: u, column: c } = n.loc.start; + n = new S.ConditionalExpression(n, s, a), n.loc.start = { line: u, column: c }, ve(n, a || s); + } + return n; + } + matchArray() { + let t = this.tokens, r = new S.ArrayExpression(), n = t.expect(Nr); + for (I(r, n); !t.test(at) && !t.test(He) && (r.elements.push(this.matchExpression()), !(!t.test(at) && (t.expect($t), t.test(at)))); ) + ; + return b(r, t.expect(at)), r; + } + matchMap() { + let t = this.tokens, r, n = new S.ObjectExpression(), s = t.expect(mn); + for (I(n, s); !t.test(Xt) && !t.test(He); ) { + let a = false, u, c; + t.test(tt) ? (u = this.matchStringExpression(), S.is(u, "StringLiteral") || (a = true)) : (r = t.nextIf(Ne)) ? u = N(S.Identifier, r, r.text) : (r = t.nextIf(Rr)) ? u = N(S.NumericLiteral, r, Number(r.text)) : t.test(Dt) ? (u = this.matchExpression(), a = true) : this.error({ title: "Invalid map key", pos: t.la(0).pos, advice: "Key must be a string, symbol or a number but was " + t.next() }), t.expect(ut), c = this.matchExpression(); + let p = new S.ObjectProperty(u, c, a); + if (Ye(p, u), ve(p, c), n.properties.push(p), !t.test(Xt) && (t.expect($t), t.test(Xt))) + break; + } + return b(n, t.expect(Xt)), n; + } + matchPostfixExpression(t) { + let r = this.tokens, n = t; + for (; !r.test(He); ) + if (r.test(hn) || r.test(Nr)) + n = this.matchSubscriptExpression(n); + else if (r.test(Jt)) + r.next(), n = this.matchFilterExpression(n); + else + break; + return n; + } + matchSubscriptExpression(t) { + let r = this.tokens; + if (r.next().type === hn) { + let s = r.next(), a = false, u; + s.type === Ne ? u = N(S.Identifier, s, s.text) : s.type === Rr ? (u = N(S.NumericLiteral, s, Number(s.text)), a = true) : this.error({ title: "Invalid token", pos: s.pos, advice: "Expected number or symbol, found " + s + " instead" }); + let c = new S.MemberExpression(t, u, a); + if (Ye(c, t), ve(c, u), r.test(Dt)) { + let p = new S.CallExpression(c, this.matchArguments()); + return Ye(p, c), b(p, r.la(-1)), p; + } + return c; + } else { + let s, a; + if (r.test(ut) ? (r.next(), a = null) : (s = this.matchExpression(), r.test(ut) && (a = s, s = null, r.next())), s) + return b(Ye(new S.MemberExpression(t, s, true), t), r.expect(at)); + { + let u = new S.SliceExpression(t, a, r.test(at) ? null : this.matchExpression()); + return Ye(u, t), b(u, r.expect(at)), u; + } + } + } + matchFilterExpression(t) { + let r = this.tokens, n = t; + for (; !r.test(He); ) { + let a = r.expect(Ne), u = N(S.Identifier, a, a.text), c; + var s = false; + r.test(Dt) ? c = this.matchArguments() : r.test(ut) ? (c = this.matchDjangoFilterArguments(), s = true) : c = []; + let p = new S.FilterExpression(n, u, c); + if (Ye(p, n), p.arguments.length ? ve(p, p.arguments[p.arguments.length - 1]) : ve(p, n), n = p, n.isDjango = s, !r.test(Jt) || r.test(He)) + break; + r.next(); + } + return n; + } + matchArguments() { + let t = this.tokens, r = []; + for (t.expect(Dt); !t.test(Ht) && !t.test(He); ) { + if (t.test(Ne) && t.lat(1) === _r) { + let n = t.next(); + t.next(); + let s = this.matchExpression(), a = new S.NamedArgumentExpression(N(S.Identifier, n, n.text), s); + ve(a, s), r.push(a); + } else + r.push(this.matchExpression()); + if (!t.test($t)) + return t.expect(Ht), r; + t.expect($t); + } + return t.expect(Ht), r; + } + matchDjangoFilterArguments() { + let t = this.tokens, r = []; + for (t.expect(ut); !t.test(Jt) && !t.test(Ve) && !t.test(et); ) + r.push(this.matchExpression()); + return t.expect([Jt, Ve, et]), t.index--, r; + } + }; + var Yo = W(qy()); + var jy = W(Gy()); + var wt = Symbol(); + var Uo = Symbol(); + var Tn = class { + static { + i(this, "TokenStream"); + } + constructor(t, r) { + this.input = t, this.index = 0; + let n = Object.assign({}, { ignoreComments: true, ignoreHtmlComments: true, ignoreWhitespace: true, applyWhitespaceTrimming: true }, r); + if (this[wt] = EL(t, n), this[Uo] = this[wt].length, this[wt].length && this[wt][this[wt].length - 1].type === Dn) { + let s = this[wt][this[wt].length - 1]; + this.error(s.message, s.pos, s.advice, s.endPos.index - s.pos.index || 1); + } + } + la(t) { + var r = this.index + t; + return r < this[Uo] ? this[wt][r] : Pr; + } + lat(t) { + return this.la(t).type; + } + test(t, r) { + let n = this.la(0); + return n.type === t && (!r || n.text === r); + } + next() { + if (this.index === this[Uo]) + return Pr; + let t = this[wt][this.index]; + return this.index++, t; + } + nextIf(t, r) { + return this.test(t, r) ? this.next() : false; + } + expect(t, r = null, n = null) { + let s = this.la(0); + if (Array.isArray(t) || (t = [t]), t.includes(s.type) && (!r || s.text === r)) + return this.next(); + var a = t[0], u = Aa[a] || a || r; + u != r && u + "" + r; + var c = s.pos; + c.line == -1 && n && (c = n.pos), this.error("Invalid Token", c, `Expected ${u} but found ${Aa[s.type] || s.type || s.text} instead.`, s.length); + } + error(t, r, n, s = 1, a = {}) { + let u = `ERROR: ${t}. `; + n && (u += n); + let c = new Error(u + " "); + throw Object.assign(c, a), c.loc = { start: { line: Math.max(1, r.line || 0), column: Math.max(0, r.column || 0) + 1 }, end: { line: Math.max(1, r.line || 0) + 1, column: 1 } }, c; + } + }; + function EL(e, t) { + let r, n = [], s = false, a = false; + for (; (r = e.next()) !== Pr; ) { + let u = a; + if (a = false, s) + switch (r.type) { + case Ze: + case st: + r.text[r.text.length - 1] === "-" && (n[n.length - 1].text = (0, Yo.default)(n[n.length - 1].text)); + break; + case Ve: + case et: + r.text[0] === "-" && (a = true); + break; + case qt: + n[n.length - 1].type === Wt && (n[n.length - 1].text = (0, Yo.default)(n.text)), a = true; + break; + } + if (u && (r.type === Wt || r.type === ht) && (r.text = (0, jy.default)(r.text)), (r.type !== qt || !t.ignoreComments) && (r.type !== Di || !t.ignoreWhitespace) && (r.type !== br || !t.ignoreHtmlComments) && (n[n.length] = r), s = t.applyWhitespaceTrimming, r.type === Dn) + return n; + } + return n; + } + i(EL, "getAllTokens"); + var qe = Symbol(); + var Ci = class { + static { + i(this, "CharStream"); + } + constructor(t) { + this.input = String(t), this.length = this.input.length, this.index = 0, this.position = { line: 1, column: 0 }; + } + get source() { + return this.input; + } + reset() { + this.rewind({ line: 1, column: 0, index: 0 }); + } + mark() { + let { line: t, column: r } = this.position, n = this.index; + return { line: t, column: r, index: n }; + } + rewind(t) { + this.position.line = t.line, this.position.column = t.column, this.index = t.index; + } + la(t) { + var r = this.index + t; + return r < this.length ? this.input.charAt(r) : qe; + } + lac(t) { + var r = this.index + t; + return r < this.length ? this.input.charCodeAt(r) : qe; + } + next() { + if (this.index === this.length) + return qe; + var t = this.input.charAt(this.index); + return this.index++, this.position.column++, t === ` +` && (this.position.line += 1, this.position.column = 0), t; + } + match(t) { + let r = this.mark(); + for (let n = 0, s = t.length; n < s; n++) { + let a = this.next(); + if (a !== t.charAt(n) || a === qe) + return this.rewind(r), false; + } + return true; + } + }; + var oe = { TEXT: "TEXT", EXPRESSION: "EXPRESSION", TAG: "TAG", INTERPOLATION: "INTERPOLATION", STRING_SINGLE: "STRING_SINGLE", STRING_DOUBLE: "STRING_DOUBLE", ELEMENT: "ELEMENT", ATTRIBUTE_VALUE: "ATTRIBUTE_VALUE", DECLARATION: "DECLARATION" }; + var gn = Symbol(); + var Ba = Symbol(); + var mL = Symbol(); + var Uy = { "[": Nr, "]": at, "(": Dt, ")": Ht, "{": mn, "}": Xt, ":": ut, ".": hn, "|": Jt, ",": $t, "?": gi, "=": _r, "/": yt }; + var vn = class { + static { + i(this, "Lexer"); + } + constructor(t, { preserveSourceLiterally: r = false } = {}) { + this.input = t, this[gn] = [oe.TEXT], this[Ba] = [], this[mL] = null, this.options = { preserveSourceLiterally: r === true }; + } + applyExtension(t) { + t.unaryOperators && this.addOperators(...t.unaryOperators.map((r) => r.text)), t.binaryOperators && this.addOperators(...t.binaryOperators.map((r) => r.text)); + } + reset() { + this.input.reset(), this[gn] = [oe.TEXT]; + } + get source() { + return this.input.source; + } + addOperators(...t) { + this[Ba].push(...t), this[Ba].sort((r, n) => r.length > n.length ? -1 : 1); + } + get state() { + return this[gn][this[gn].length - 1]; + } + pushState(t) { + this[gn].push(t); + } + popState() { + this[gn].length--; + } + createToken(t, r) { + let n = this.input, s = n.mark(), a = s.index; + return { type: t, pos: r, endPos: s, end: a, length: a - r.index, source: n.input, text: n.input.substr(r.index, a - r.index), toString: function() { + return this.text; + } }; + } + next() { + let t = this.input, r, n; + for (; (n = t.la(0)) !== qe; ) { + if (r = t.mark(), this.state !== oe.TEXT && this.state !== oe.STRING_DOUBLE && this.state !== oe.STRING_SINGLE && this.state !== oe.ATTRIBUTE_VALUE && Vo(n)) { + for (t.next(); (n = t.la(0)) !== qe && Vo(n); ) + t.next(); + return this.createToken(Di, r); + } + if (n === "{" && t.la(1) === "#") + for (t.next(), t.next(), t.la(0) === "-" && t.next(); (n = t.la(0)) !== qe; ) { + if (n === "#" && t.la(1) === "}" || n === "-" && t.la(1) === "#" && t.la(2) === "}") + return n === "-" && t.next(), t.next(), t.next(), this.createToken(qt, r); + t.next(); + } + if (this.state === oe.TEXT) { + let s; + if (n === "<") { + if (t.la(1) === "{" || qr(t.lac(1)) || t.la(1) === "/") + return t.next(), this.pushState(oe.ELEMENT), this.createToken(Ir, r); + if (t.la(1) === "!" && t.la(2) === "-" && t.la(3) === "-") { + for (t.next(), t.next(), t.next(), t.next(); (n = t.la(0)) !== qe; ) { + if (n === "-" && t.la(1) === "-") { + t.next(), t.next(), !(n = t.next()) === ">" && this.error("Unexpected end for HTML comment", t.mark(), `Expected comment to end with '>' but found '${n}' instead.`); + break; + } + t.next(); + } + return this.createToken(br, r); + } else + return t.la(1) === "!" && (qr(t.lac(2)) || Vo(t.la(2))) ? (t.next(), t.next(), this.pushState(oe.DECLARATION), this.createToken(hi, r)) : this.matchText(r); + } else + return n === "{" ? this.matchExpressionToken(r) : n === "&" && (s = this.matchEntity(r)) ? s : this.matchText(r); + } else { + if (this.state === oe.EXPRESSION) + return n === "}" && t.la(1) === "}" || n === "-" && t.la(1) === "}" && t.la(2) === "}" ? (n === "-" && t.next(), t.next(), t.next(), this.popState(), this.createToken(Ve, r)) : this.matchExpression(r); + if (this.state === oe.TAG) + return n === "%" && t.la(1) === "}" || n === "-" && t.la(1) === "%" && t.la(2) === "}" ? (n === "-" && t.next(), t.next(), t.next(), this.popState(), this.createToken(et, r)) : this.matchExpression(r); + if (this.state === oe.STRING_SINGLE || this.state === oe.STRING_DOUBLE) + return this.matchString(r, true); + if (this.state === oe.INTERPOLATION) + return n === "}" ? (t.next(), this.popState(), this.createToken(En, r)) : this.matchExpression(r); + if (this.state === oe.ELEMENT) + switch (n) { + case "/": + return t.next(), this.createToken(yt, r); + case "{": + return this.matchExpressionToken(r); + case ">": + return t.next(), this.popState(), this.createToken(ot, r); + case '"': + return t.next(), this.pushState(oe.ATTRIBUTE_VALUE), this.createToken(tt, r); + case "=": + return t.next(), this.createToken(_r, r); + default: + return this.matchSymbol(r); + } + else { + if (this.state === oe.ATTRIBUTE_VALUE) + return n === '"' ? (t.next(), this.popState(), this.createToken(mt, r)) : this.matchAttributeValue(r); + if (this.state === oe.DECLARATION) + switch (n) { + case ">": + return t.next(), this.popState(), this.createToken(ot, r); + case '"': + return t.next(), this.pushState(oe.STRING_DOUBLE), this.createToken(tt, r); + case "{": + return this.matchExpressionToken(r); + default: + return this.matchSymbol(r); + } + else + return this.error(`Invalid state ${this.state}`, r); + } + } + } + return Pr; + } + matchExpressionToken(t) { + let r = this.input; + switch (r.la(1)) { + case "{": + return r.next(), r.next(), this.pushState(oe.EXPRESSION), r.la(0) === "-" && r.next(), this.createToken(Ze, t); + case "%": + return r.next(), r.next(), this.pushState(oe.TAG), r.la(0) === "-" && r.next(), this.createToken(st, t); + case "#": + return r.next(), r.next(), r.la(0) === "-" && r.next(), this.matchComment(t); + default: + return this.matchText(t); + } + } + matchExpression(t) { + let r = this.input, n = r.la(0); + switch (n) { + case "'": + return this.pushState(oe.STRING_SINGLE), r.next(), this.createToken(tt, t); + case '"': + return this.pushState(oe.STRING_DOUBLE), r.next(), this.createToken(tt, t); + default: { + if (Tt(r.lac(0))) + return r.next(), this.matchNumber(t); + if (n === "t" && r.match("true") || n === "T" && r.match("TRUE")) + return this.createToken(Ai, t); + if (n === "f" && r.match("false") || n === "F" && r.match("FALSE")) + return this.createToken(xi, t); + if (n === "n" && (r.match("null") || r.match("none")) || n === "N" && (r.match("NULL") || r.match("NONE"))) + return this.createToken(Ti, t); + let { longestMatchingOperator: s, longestMatchEndPos: a } = this.findLongestMatchingOperator(), u = r.lac(0); + if (u === 95 || qr(u) || Tt(u)) { + r.next(); + let c = this.matchSymbol(t); + return c.text.length <= s.length ? (r.rewind(a), this.createToken(Or, t)) : c; + } else + return s ? (r.rewind(a), this.createToken(Or, t)) : Uy.hasOwnProperty(n) ? (r.next(), this.createToken(Uy[n], t)) : n === "\xA0" ? this.error("Unsupported token: Non-breaking space", t) : this.error(`Unknown token ${n}`, t); + } + } + } + findLongestMatchingOperator() { + let t = this.input, r = t.mark(), n = "", s = null; + for (let a = 0, u = this[Ba], c = u.length; a < c; a++) { + let p = u[a]; + if (p.length > n.length && t.match(p)) { + let f = t.lac(0); + (p.indexOf(" ") === -1 || !(qr(f) || Tt(f))) && (n = p, s = t.mark()), t.rewind(r); + } + } + return t.rewind(r), { longestMatchingOperator: n, longestMatchEndPos: s }; + } + error(t, r, n = "") { + let s = this.createToken(Dn, r); + return s.message = t, s.advice = n, s; + } + matchEntity(t) { + let r = this.input; + if (r.next(), r.la(0) === "#") + if (r.next(), r.la(0) === "x") { + r.next(); + let n = r.la(0); + for (; "a" <= n && n <= "f" || "A" <= n && n <= "F" || Tt(r.lac(0)); ) + r.next(), n = r.la(0); + if (r.la(0) === ";") + r.next(); + else + return r.rewind(t), null; + } else if (Tt(r.lac(0))) { + do + r.next(); + while (Tt(r.lac(0))); + if (r.la(0) === ";") + r.next(); + else + return r.rewind(t), null; + } else + return r.rewind(t), null; + else { + for (; qr(r.lac(0)); ) + r.next(); + if (r.la(0) === ";") + r.next(); + else + return r.rewind(t), null; + } + return this.createToken(yi, t); + } + matchSymbol(t) { + let r = this.input, n = this.state === oe.ELEMENT, s; + for (; (s = r.lac(0)) && (s === 95 || qr(s) || Tt(s) || n && (s === 45 || s === 58)); ) + r.next(); + var a = r.mark(); + return t.index === a.index ? this.error("Expected an Identifier", t, n ? `Expected a valid attribute name, but instead found "${r.la(0)}", which is not part of a valid attribute name.` : `Expected letter, digit or underscore but found ${r.la(0)} instead.`) : this.createToken(Ne, t); + } + matchString(t, r = true) { + let n = this.input, s = this.state === oe.STRING_SINGLE ? "'" : '"', a; + if (r && n.la(0) === "#" && n.la(1) === "{") + return this.pushState(oe.INTERPOLATION), n.next(), n.next(), this.createToken(dn, t); + if (n.la(0) === s) + return n.next(), this.popState(), this.createToken(mt, t); + for (; (a = n.la(0)) !== s && a !== qe; ) + if (a === "\\" && n.la(1) === s) + n.next(), n.next(); + else { + if (r && a === "#" && n.la(1) === "{") + break; + n.next(); + } + var u = this.createToken(ht, t); + return this.options.preserveSourceLiterally || (u.text = u.text.replace(new RegExp("(?:\\\\)(" + s + ")", "g"), "$1")), u; + } + matchAttributeValue(t) { + let r = this.input, n = this.state === oe.STRING_SINGLE ? "'" : '"', s; + if (r.la(0) === "{") + return this.matchExpressionToken(t); + for (; (s = r.la(0)) !== n && s !== qe; ) + if (s === "\\" && r.la(1) === n) + r.next(), r.next(); + else { + if (s === "{") + break; + if (s === n) + break; + r.next(); + } + var a = this.createToken(ht, t); + return this.options.preserveSourceLiterally || (a.text = a.text.replace(new RegExp("(?:\\\\)(" + n + ")", "g"), "$1")), a; + } + matchNumber(t) { + let r = this.input, n; + for (; (n = r.lac(0)) !== qe && Tt(n); ) + r.next(); + if (r.la(0) === "." && Tt(r.lac(1))) + for (r.next(); (n = r.lac(0)) !== qe && Tt(n); ) + r.next(); + return this.createToken(Rr, t); + } + matchText(t) { + let r = this.input, n; + for (; (n = r.la(0)) && n !== qe; ) { + if (n === "{") { + let s = r.la(1); + if (s === "{" || s === "#" || s === "%") + break; + } else if (n === "<") { + let s = r.la(1); + if (s === "/" || s === "!" || qr(r.lac(1))) + break; + if (r.la(1) === "{") { + let a = r.la(1); + if (a === "{" || a === "#" || a === "%") + break; + } + } + r.next(); + } + return this.createToken(Wt, t); + } + matchComment(t) { + let r = this.input, n; + for (; (n = r.next()) !== qe; ) + if (n === "#" && r.la(0) === "}") { + r.next(); + break; + } + return this.createToken(qt, t); + } + }; + function Vo(e) { + return e === ` +` || e === " " || e === " "; + } + i(Vo, "isWhitespace"); + function qr(e) { + return 65 <= e && e <= 90 || 97 <= e && e <= 122; + } + i(qr, "isAlpha"); + function Tt(e) { + return 48 <= e && e <= 57; + } + i(Tt, "isDigit"); + var Se = W(J()); + var Ko = []; + var Bi = []; + var Sn = []; + var Wo = Jo("not", "UnaryNotExpression", 50); + var Yy = Jo("-", "UnaryNeqExpression", 500); + var Vy = Jo("+", "UnaryPosExpression", 500); + var Ky = de({ text: "or", type: "BinaryOrExpression", precedence: 10, associativity: z }); + var Wy = de({ text: "and", type: "BinaryAndExpression", precedence: 15, associativity: z }); + var Hy = de({ text: "b-or", type: "BitwiseOrExpression", precedence: 16, associativity: z }); + var Xy = de({ text: "b-xor", type: "BitwiseXOrExpression", precedence: 17, associativity: z }); + var $y = de({ text: "b-and", type: "BitwiseAndExpression", precedence: 18, associativity: z }); + var Jy = de({ text: "==", type: "BinaryEqualsExpression", precedence: 20, associativity: z }); + var zy = de({ text: "!=", type: "BinaryNotEqualsExpression", precedence: 20, associativity: z }); + var Qy = de({ text: "<", type: "BinaryLessThanExpression", precedence: 20, associativity: z }); + var Zy = de({ text: ">", type: "BinaryGreaterThanExpression", precedence: 20, associativity: z }); + var eA = de({ text: "<=", type: "BinaryLessThanOrEqualExpression", precedence: 20, associativity: z }); + var tA = de({ text: ">=", type: "BinaryGreaterThanOrEqualExpression", precedence: 20, associativity: z }); + var rA = de({ text: "not in", type: "BinaryNotInExpression", precedence: 20, associativity: z }); + var nA = de({ text: "in", type: "BinaryInExpression", precedence: 20, associativity: z }); + var iA = de({ text: "matches", type: "BinaryMatchesExpression", precedence: 20, associativity: z }); + var sA = de({ text: "starts with", type: "BinaryStartsWithExpression", precedence: 20, associativity: z }); + var aA = de({ text: "ends with", type: "BinaryEndsWithExpression", precedence: 20, associativity: z }); + var uA = de({ text: "..", type: "BinaryRangeExpression", precedence: 25, associativity: z }); + var oA = de({ text: "+", type: "BinaryAddExpression", precedence: 30, associativity: z }); + var x$ = de({ text: "-", type: "BinarySubExpression", precedence: 30, associativity: z }); + Bi.push({ text: "~", precedence: 40, associativity: z, createNode(e, t, r) { + let n = new Se.BinaryConcatExpression(t, r); + return Ye(n, t), ve(n, r), n; + } }); + var lA = de({ text: "*", type: "BinaryMulExpression", precedence: 60, associativity: z }); + var cA = de({ text: "/", type: "BinaryDivExpression", precedence: 60, associativity: z }); + var pA = de({ text: "//", type: "BinaryFloorDivExpression", precedence: 60, associativity: z }); + var fA = de({ text: "%", type: "BinaryModExpression", precedence: 60, associativity: z }); + Bi.push({ text: "is", precedence: 100, associativity: z, parse(e, t, r) { + let n = e.tokens, s = false; + n.nextIf(m.OPERATOR, "not") && (s = true); + let a = hL(e), u = null; + n.test(m.LPAREN) && (u = e.matchArguments()); + let c = a.createNode(r, u); + return I(c, t), b(c, n.la(-1)), s ? fn(new Wo(c), c) : c; + } }); + function hL(e) { + let t = e.tokens, r = t.la(0); + r.type !== m.NULL ? t.expect(m.SYMBOL) : t.next(); + let n = r.text; + if (!e.hasTest(n)) { + let s = t.expect(m.SYMBOL); + n += " " + s.text, e.hasTest(n) || e.error({ title: `Unknown test "${n}"`, pos: r.pos }); + } + return e.getTest(n); + } + i(hL, "getTest"); + var dA = de({ text: "**", type: "BinaryPowerExpression", precedence: 200, associativity: z }); + var EA = de({ text: "??", type: "BinaryNullCoalesceExpression", precedence: 300, associativity: z }); + var mA = Lt("even", "TestEvenExpression"); + var hA = Lt("odd", "TestOddExpression"); + var DA = Lt("defined", "TestDefinedExpression"); + var Ho = Lt("same as", "TestSameAsExpression"); + Sn.push({ text: "sameas", createNode(e, t) { + return new Ho(e, t); + } }); + var Xo = Lt("null", "TestNullExpression"); + Sn.push({ text: "none", createNode(e, t) { + return new Xo(e, t); + } }); + var $o = Lt("divisible by", "TestDivisibleByExpression"); + Sn.push({ text: "divisibleby", createNode(e, t) { + return new $o(e, t); + } }); + var yA = Lt("constant", "TestConstantExpression"); + var AA = Lt("empty", "TestEmptyExpression"); + var xA = Lt("iterable", "TestIterableExpression"); + function Lt(e, t) { + let r = class extends Se.Node { + static { + i(this, "TestExpression"); + } + constructor(n, s) { + super(), this.expression = n, this.arguments = s; + } + }; + return (0, Se.type)(r, t), (0, Se.alias)(r, "Expression", "TestExpression"), (0, Se.visitor)(r, "expression", "arguments"), Sn.push({ text: e, createNode(n, s) { + return new r(n, s); + } }), r; + } + i(Lt, "createTest"); + function de(e) { + let { text: t, precedence: r, associativity: n } = e, s = class extends Se.BinaryExpression { + static { + i(this, "BinarySubclass"); + } + constructor(u, c) { + super(t, u, c); + } + }; + (0, Se.type)(s, e.type), (0, Se.alias)(s, "BinaryExpression", "Binary", "Expression"), (0, Se.visitor)(s, "left", "right"); + let a = { text: t, precedence: r, associativity: n }; + return e.parse ? a.parse = e.parse : e.createNode ? a.createNode = e.createNode : a.createNode = (u, c, p) => new s(c, p), Bi.push(a), s; + } + i(de, "createBinaryOperatorNode"); + function Jo(e, t, r) { + let n = class extends Se.UnaryExpression { + static { + i(this, "UnarySubclass"); + } + constructor(s) { + super(e, s); + } + }; + return (0, Se.type)(n, t), (0, Se.alias)(n, "Expression", "UnaryLike"), (0, Se.visitor)(n, "argument"), Ko.push({ text: e, precedence: r, createNode(s, a) { + let u = new n(a); + return I(u, s), ve(u, a), u; + } }), n; + } + i(Jo, "createUnaryOperator"); + var v = W(J()); + var zt = class extends v.Node { + static { + i(this, "AutoescapeBlock"); + } + constructor(t, r) { + super(), this.escapeType = t, this.expressions = r; + } + }; + (0, v.type)(zt, "AutoescapeBlock"); + (0, v.alias)(zt, "Block", "Escape"); + (0, v.visitor)(zt, "expressions"); + var kt = class extends v.Node { + static { + i(this, "BlockStatement"); + } + constructor(t, r) { + super(), this.name = t, this.body = r; + } + }; + (0, v.type)(kt, "BlockStatement"); + (0, v.alias)(kt, "Statement", "Scope", "RootScope"); + (0, v.visitor)(kt, "body"); + var Fn = class extends v.Node { + static { + i(this, "BlockCallExpression"); + } + constructor(t, r = []) { + super(), this.callee = t, this.arguments = r; + } + }; + (0, v.type)(Fn, "BlockCallExpression"); + (0, v.alias)(Fn, "Expression", "FunctionInvocation"); + (0, v.visitor)(Fn, "arguments"); + var Qt = class extends v.Node { + static { + i(this, "MountStatement"); + } + constructor(t, r, n, s, a, u) { + super(), this.name = t, this.source = r, this.key = n, this.argument = s, this.async = a, this.delayBy = u, this.errorVariableName = null, this.body = null, this.otherwise = null; + } + }; + (0, v.type)(Qt, "MountStatement"); + (0, v.alias)(Qt, "Statement", "Scope"); + (0, v.visitor)(Qt, "name", "source", "key", "argument", "body", "otherwise"); + var Zt = class extends v.Node { + static { + i(this, "DoStatement"); + } + constructor(t) { + super(), this.value = t; + } + }; + (0, v.type)(Zt, "DoStatement"); + (0, v.alias)(Zt, "Statement"); + (0, v.visitor)(Zt, "value"); + var er = class extends v.Node { + static { + i(this, "EmbedStatement"); + } + constructor(t) { + super(), this.parent = t, this.argument = null, this.contextFree = false, this.ignoreMissing = false, this.blocks = null; + } + }; + (0, v.type)(er, "EmbedStatement"); + (0, v.alias)(er, "Statement", "Include"); + (0, v.visitor)(er, "argument", "blocks"); + var tr = class extends v.Node { + static { + i(this, "ExtendsStatement"); + } + constructor(t) { + super(), this.parentName = t; + } + }; + (0, v.type)(tr, "ExtendsStatement"); + (0, v.alias)(tr, "Statement", "Include"); + (0, v.visitor)(tr, "parentName"); + var rr = class extends v.Node { + static { + i(this, "FilterBlockStatement"); + } + constructor(t, r) { + super(), this.filterExpression = t, this.body = r; + } + }; + (0, v.type)(rr, "FilterBlockStatement"); + (0, v.alias)(rr, "Statement", "Block"); + (0, v.visitor)(rr, "filterExpression", "body"); + var wr = class extends v.Node { + static { + i(this, "FlushStatement"); + } + constructor() { + super(); + } + }; + (0, v.type)(wr, "FlushStatement"); + (0, v.alias)(wr, "Statement"); + var nr = class extends v.Node { + static { + i(this, "ForStatement"); + } + constructor(t = null, r = null, n = null, s = null, a = null, u = null) { + super(), this.keyTarget = t, this.valueTarget = r, this.sequence = n, this.condition = s, this.body = a, this.otherwise = u; + } + }; + (0, v.type)(nr, "ForStatement"); + (0, v.alias)(nr, "Statement", "Scope", "Loop"); + (0, v.visitor)(nr, "keyTarget", "valueTarget", "sequence", "condition", "body", "otherwise"); + var gt = class extends v.Node { + static { + i(this, "ImportDeclaration"); + } + constructor(t, r) { + super(), this.key = t, this.alias = r; + } + }; + (0, v.type)(gt, "ImportDeclaration"); + (0, v.alias)(gt, "VariableDeclaration"); + (0, v.visitor)(gt, "key", "value"); + var ir = class extends v.Node { + static { + i(this, "FromStatement"); + } + constructor(t, r) { + super(), this.source = t, this.imports = r; + } + }; + (0, v.type)(ir, "FromStatement"); + (0, v.alias)(ir, "Statement"); + (0, v.visitor)(ir, "source", "imports"); + var vt = class extends v.Node { + static { + i(this, "IfStatement"); + } + constructor(t, r = null, n = null) { + super(), this.test = t, this.consequent = r, this.alternate = n; + } + }; + (0, v.type)(vt, "IfStatement"); + (0, v.alias)(vt, "Statement", "Conditional"); + (0, v.visitor)(vt, "test", "consequent", "alternate"); + var sr = class extends v.Node { + static { + i(this, "IncludeStatement"); + } + constructor(t) { + super(), this.source = t, this.argument = null, this.contextFree = false, this.ignoreMissing = false; + } + }; + (0, v.type)(sr, "IncludeStatement"); + (0, v.alias)(sr, "Statement", "Include"); + (0, v.visitor)(sr, "source", "argument"); + var ar = class extends v.Node { + static { + i(this, "UrlStatement"); + } + constructor(t) { + super(), this.name = t, this.arguments = [], this.as = null; + } + }; + (0, v.type)(ar, "UrlStatement"); + (0, v.alias)(ar, "Statement", "Url"); + (0, v.visitor)(ar, "name", "arguments"); + var Mt = class extends v.Node { + static { + i(this, "WithStatement"); + } + constructor(t) { + super(), this.arguments = [], this.body = t; + } + }; + (0, v.type)(Mt, "WithStatement"); + (0, v.alias)(Mt, "Statement", "Scope", "RootScope"); + (0, v.visitor)(Mt, "body"); + var ur = class extends v.Node { + static { + i(this, "MacroDeclarationStatement"); + } + constructor(t, r, n) { + super(), this.name = t, this.arguments = r, this.body = n; + } + }; + (0, v.type)(ur, "MacroDeclarationStatement"); + (0, v.alias)(ur, "Statement", "Scope", "RootScope"); + (0, v.visitor)(ur, "name", "arguments", "body"); + var or = class extends v.Node { + static { + i(this, "VariableDeclarationStatement"); + } + constructor(t, r) { + super(), this.name = t, this.value = r; + } + }; + (0, v.type)(or, "VariableDeclarationStatement"); + (0, v.alias)(or, "Statement"); + (0, v.visitor)(or, "name", "value"); + var lr = class extends v.Node { + static { + i(this, "SetStatement"); + } + constructor(t) { + super(), this.assignments = t; + } + }; + (0, v.type)(lr, "SetStatement"); + (0, v.alias)(lr, "Statement", "ContextMutation"); + (0, v.visitor)(lr, "assignments"); + var cr = class extends v.Node { + static { + i(this, "SpacelessBlock"); + } + constructor(t = null) { + super(), this.body = t; + } + }; + (0, v.type)(cr, "SpacelessBlock"); + (0, v.alias)(cr, "Statement", "Block"); + (0, v.visitor)(cr, "body"); + var pr = class extends v.Node { + static { + i(this, "AliasExpression"); + } + constructor(t, r) { + super(), this.name = t, this.alias = r; + } + }; + (0, v.type)(pr, "AliasExpression"); + (0, v.alias)(pr, "Expression"); + (0, v.visitor)(pr, "name", "alias"); + var fr = class extends v.Node { + static { + i(this, "UseStatement"); + } + constructor(t, r) { + super(), this.source = t, this.aliases = r; + } + }; + (0, v.type)(fr, "UseStatement"); + (0, v.alias)(fr, "Statement", "Include"); + (0, v.visitor)(fr, "source", "aliases"); + var TA = { name: "autoescape", parse(e, t) { + let r = e.tokens, n = r.la(-2), s = null, a, u, c; + r.nextIf(m.TAG_END) ? (u = r.la(-1), s = null) : (a = r.nextIf(m.STRING_START)) ? (s = r.expect(m.STRING).text, r.nextIf(m.STRING_END) || e.error({ title: "autoescape type declaration must be a simple string", pos: r.la(0).pos, advice: `The type declaration for autoescape must be a simple string such as 'html' or 'js'. +I expected the current string to end with a ${a.text} but instead found ${m.ERROR_TABLE[r.lat(0)] || r.lat(0)}.` }), u = r.la(0)) : r.nextIf(m.FALSE) ? (s = false, u = r.la(0)) : r.nextIf(m.TRUE) ? (s = true, u = r.la(0)) : e.error({ title: "Invalid autoescape type declaration", pos: r.la(0).pos, advice: `Expected type of autoescape to be a string, boolean or not specified. Found ${r.la(0).type} instead.` }); + let p = new zt(s); + I(p, t); + let f; + return p.expressions = e.parse((h, D, d) => D.type === m.TAG_START && d.nextIf(m.SYMBOL, "endautoescape") ? (c = D, f = d.expect(m.TAG_END, "", n), true) : false).expressions, b(p, f), p.trimRightAutoescape = te(u), p.trimLeftEndautoescape = ee(c), p; + } }; + var bi = W(J()); + var gA = { name: "block", parse(e, t) { + let r = e.tokens, n = r.la(-2), s = r.expect(m.SYMBOL), a, u, c; + if (u = r.nextIf(m.TAG_END)) { + if (a = new kt(N(bi.Identifier, s, s.text), e.parse((p, f, h) => { + let D = !!(f.type === m.TAG_START && h.nextIf(m.SYMBOL, "endblock")); + return D && (c = f), D; + }).expressions), r.nextIf(m.SYMBOL, s.text) && r.lat(0) !== m.TAG_END) { + let p = r.next(); + e.error({ title: "Block name mismatch", pos: p.pos, advice: p.type == m.SYMBOL ? `Expected end of block ${s.text} but instead found end of block ${r.la(0).text}.` : `endblock must be followed by either '%}' or the name of the open block. Found a token of type ${m.ERROR_TABLE[p.type] || p.type} instead.` }); + } + } else + a = new kt(N(bi.Identifier, s, s.text), new bi.PrintExpressionStatement(e.matchExpression())); + return I(a, t), b(a, r.expect(m.TAG_END, null, n)), a.trimRightBlock = u && te(u), a.trimLeftEndblock = !!(c && ee(c)), a; + } }; + var vA = { name: "do", parse(e, t) { + let r = e.tokens, n = r.la(-2), s = new Zt(e.matchExpression()); + return I(s, t), b(s, r.expect(m.TAG_END, "", n)), s; + } }; + var Bg = W(J()); + var bg = W(Cg()); + var Og = { name: "embed", parse(e, t) { + let r = e.tokens, n = r.la(-2), s = new er(e.matchExpression()); + r.nextIf(m.SYMBOL, "ignore") && (r.expect(m.SYMBOL, "missing"), s.ignoreMissing = true), r.nextIf(m.SYMBOL, "with") && (s.argument = e.matchExpression()), r.nextIf(m.SYMBOL, "only") && (s.contextFree = true), r.expect(m.TAG_END); + let a = r.la(-1), u; + return s.blocks = (0, bg.default)(e.parse((c, p, f) => { + let h = !!(p.type === m.TAG_START && f.nextIf(m.SYMBOL, "endembed")); + return h && (u = p), h; + }).expressions, Bg.Node.isBlockStatement), I(s, t), b(s, r.expect(m.TAG_END, "", n)), s.trimRightEmbed = te(a), s.trimLeftEndembed = u && ee(u), s; + } }; + var Ng = { name: "extends", parse(e, t) { + let r = e.tokens, n = new tr(e.matchExpression()); + return I(n, t), b(n, r.expect(m.TAG_END)), n; + } }; + var _g = W(J()); + var Ig = { name: "filter", parse(e, t) { + let r = e.tokens, n = r.la(-2), s = N(_g.Identifier, t, "filter"), a = e.matchFilterExpression(s); + r.expect(m.TAG_END); + let u = r.la(-1), c, p = e.parse((h, D, d) => { + let x = D.type === m.TAG_START && d.nextIf(m.SYMBOL, "endfilter"); + return x && (c = D), x; + }).expressions, f = new rr(a, p); + return I(f, t), b(f, r.expect(m.TAG_END, "", n)), f.trimRightFilter = te(u), f.trimLeftEndfilter = c && ee(c), f; + } }; + var Rg = { name: "flush", parse(e, t) { + let r = e.tokens, n = new wr(); + return I(n, t), b(n, r.expect(m.TAG_END)), n; + } }; + var wa = W(J()); + var Pg = { name: "for", parse(e, t) { + let r = e.tokens, n = new nr(), s = r.la(-2), a = r.expect(m.SYMBOL); + if (r.nextIf(m.COMMA)) { + n.keyTarget = N(wa.Identifier, a, a.text); + let h = r.expect(m.SYMBOL); + n.valueTarget = N(wa.Identifier, h, h.text); + } else + n.keyTarget = null, n.valueTarget = N(wa.Identifier, a, a.text); + r.expect(m.OPERATOR, "in"), n.sequence = e.matchExpression(), r.nextIf(m.SYMBOL, "if") && (n.condition = e.matchExpression()), r.expect(m.TAG_END); + let u = r.la(-1), c, p; + n.body = e.parse((h, D, d) => { + let x = D.type === m.TAG_START && (d.test(m.SYMBOL, "else") || d.test(m.SYMBOL, "endfor")); + return x && d.test(m.SYMBOL, "else") && (c = D), x; + }), r.nextIf(m.SYMBOL, "else") && (r.expect(m.TAG_END), p = r.la(-1), n.otherwise = e.parse((h, D, d) => D.type === m.TAG_START && d.test(m.SYMBOL, "endfor"))); + let f = r.la(-1); + return r.expect(m.SYMBOL, "endfor", s), I(n, t), b(n, r.expect(m.TAG_END)), n.trimRightFor = te(u), n.trimLeftElse = !!(c && ee(c)), n.trimRightElse = !!(p && te(p)), n.trimLeftEndfor = ee(f), n; + } }; + var vl = W(J()); + var qg = { name: "from", parse(e, t) { + let r = e.tokens, n = e.matchExpression(), s = []; + r.expect(m.SYMBOL, "import"); + do { + let u = r.expect(m.SYMBOL), c = u; + r.nextIf(m.SYMBOL, "as") && (c = r.expect(m.SYMBOL)); + let p = new gt(N(vl.Identifier, u, u.text), N(vl.Identifier, c, c.text)); + if (I(p, u), b(p, c), s.push(p), !r.nextIf(m.COMMA)) + break; + } while (!r.test(m.EOF)); + let a = new ir(n, s); + return I(a, t), b(a, r.expect(m.TAG_END)), a; + } }; + var wg = { name: "if", parse(e, t) { + let r = e.tokens, n = r.la(-2), s = e.matchExpression(), a = null; + r.expect(m.TAG_END); + let u = r.la(-1), c = new vt(s, e.parse(Sl).expressions), p, f, h, D; + do { + if (r.nextIf(m.SYMBOL, "else")) + p = r.la(-2), r.expect(m.TAG_END), f = r.la(-1), (a || c).alternate = e.parse(i7).expressions; + else if (r.nextIf(m.SYMBOL, "elseif")) { + h = r.la(-2), s = e.matchExpression(), r.expect(m.TAG_END), D = r.la(-1); + let x = e.parse(Sl).expressions; + a = (a || c).alternate = new vt(s, x), a.trimLeft = ee(h), a.trimRightIf = te(D); + } else if (r.nextIf(m.SYMBOL, "elif")) { + h = r.la(-2), s = e.matchExpression(), r.expect(m.TAG_END), D = r.la(-1); + let x = e.parse(Sl).expressions; + a = (a || c).alternate = new vt(s, x), a.trimLeft = ee(h), a.trimRightIf = te(D), a.isElif = true; + } + if (r.nextIf(m.SYMBOL, "endif")) + break; + } while (!r.test(m.EOF)); + let d = r.la(-2); + return I(c, t), b(c, r.expect(m.TAG_END, "", n)), c.trimRightIf = te(u), c.trimLeftElse = !!(p && ee(p)), c.trimRightElse = !!(f && te(f)), c.trimLeftEndif = ee(d), c; + } }; + function Sl(e, t, r) { + if (t.type === m.TAG_START) { + let n = r.la(0).text; + return n === "else" || n === "endif" || n === "elseif" || n == "elif"; + } + return false; + } + i(Sl, "matchConsequent"); + function i7(e, t, r) { + return t.type === m.TAG_START && r.test(m.SYMBOL, "endif"); + } + i(i7, "matchAlternate"); + var Lg = W(J()); + var kg = { name: "import", parse(e, t) { + let r = e.tokens, n = e.matchExpression(); + r.expect(m.SYMBOL, "as"); + let s = r.expect(m.SYMBOL), a = new gt(n, N(Lg.Identifier, s, s.text)); + return I(a, t), b(a, r.expect(m.TAG_END)), a; + } }; + var Mg = { name: "include", parse(e, t) { + let r = e.tokens, n = new sr(e.matchExpression()); + return r.nextIf(m.SYMBOL, "ignore") && (r.expect(m.SYMBOL, "missing"), n.ignoreMissing = true), r.nextIf(m.SYMBOL, "with") && (n.argument = e.matchExpression()), r.nextIf(m.SYMBOL, "only") && (n.contextFree = true), I(n, t), b(n, r.expect(m.TAG_END)), n; + } }; + var Fl = W(J()); + var Gg = { name: "macro", parse(e, t) { + let r = e.tokens, n = r.la(-2), s = r.expect(m.SYMBOL), a = []; + for (r.expect(m.LPAREN); !r.test(m.RPAREN) && !r.test(m.EOF); ) { + let D = r.expect(m.SYMBOL); + a.push(N(Fl.Identifier, D, D.text)), !r.nextIf(m.COMMA) && !r.test(m.RPAREN) && e.error({ title: 'Expected comma or ")"', pos: r.la(0).pos, advice: "The argument list of a macro can only consist of parameter names separated by commas." }); + } + r.expect(m.RPAREN); + let u = r.la(0), c, p = e.parse((D, d, x) => { + let C = !!(d.type === m.TAG_START && x.nextIf(m.SYMBOL, "endmacro")); + return C && (c = d), C; + }); + if (r.test(m.SYMBOL)) { + var f = r.next(); + s.text !== f.text && e.error({ title: `Macro name mismatch, expected "${s.text}" but found "${f.text}"`, pos: f.pos }); + } + let h = new ur(N(Fl.Identifier, s, s.text), a, p); + return I(h, t), b(h, r.expect(m.TAG_END, "", n)), h.trimRightMacro = te(u), h.trimLeftEndmacro = ee(c), h; + } }; + var Cl = W(J()); + var jg = { name: "mount", parse(e, t) { + let r = e.tokens, n = r.la(-2), s = null, a = null, u = null, c = false, p = 0, f = null; + if (r.test(m.SYMBOL, "async") && r.la(1).type === m.STRING_START && (c = true, r.next()), r.test(m.STRING_START)) + a = e.matchStringExpression(); + else { + let O = r.expect(m.SYMBOL); + s = N(Cl.Identifier, O, O.text), r.nextIf(m.SYMBOL, "from") && (a = e.matchStringExpression()); + } + r.nextIf(m.SYMBOL, "as") && (u = e.matchExpression()), r.nextIf(m.SYMBOL, "with") && (f = e.matchExpression()), c && r.nextIf(m.SYMBOL, "delay") && (r.expect(m.SYMBOL, "placeholder"), r.expect(m.SYMBOL, "by"), p = Number.parseInt(r.expect(m.NUMBER).text, 10), r.nextIf(m.SYMBOL, "s") ? p *= 1e3 : r.expect(m.SYMBOL, "ms")); + let h = new Qt(s, a, u, f, c, p), D, d, x, C; + if (c) { + if (r.expect(m.TAG_END), D = r.la(-1), h.body = e.parse((O, g, j) => g.type === m.TAG_START && (j.test(m.SYMBOL, "catch") || j.test(m.SYMBOL, "endmount"))), r.nextIf(m.SYMBOL, "catch")) { + d = r.la(-2); + let O = r.expect(m.SYMBOL); + h.errorVariableName = N(Cl.Identifier, O, O.text), r.expect(m.TAG_END), x = r.la(-1), h.otherwise = e.parse((g, j, $) => j.type === m.TAG_START && $.test(m.SYMBOL, "endmount")); + } + r.expect(m.SYMBOL, "endmount"), C = r.la(-2); + } + return I(h, t), b(h, r.expect(m.TAG_END, "", n)), h.trimRightMount = !!(D && te(D)), h.trimLeftCatch = !!(d && ee(d)), h.trimRightCatch = !!(x && te(x)), h.trimLeftEndmount = !!(C && ee(C)), h; + } }; + var Ug = W(J()); + var Yg = { name: "set", parse(e, t) { + let r = e.tokens, n = [], s = [], a, u; + do { + let f = r.expect(m.SYMBOL); + n.push(N(Ug.Identifier, f, f.text)); + } while (r.nextIf(m.COMMA)); + if (r.nextIf(m.ASSIGNMENT)) + do + s.push(e.matchExpression()); + while (r.nextIf(m.COMMA)); + else + n.length !== 1 && e.error({ title: "Illegal multi-set", pos: r.la(0).pos, advice: "When using set with a block, you cannot have multiple targets." }), r.expect(m.TAG_END), a = r.la(-1), s[0] = e.parse((f, h, D) => { + let d = !!(h.type === m.TAG_START && D.nextIf(m.SYMBOL, "endset")); + return d && (u = h), d; + }).expressions; + n.length !== s.length && e.error({ title: "Mismatch of set names and values", pos: t.pos, advice: `When using set, you must ensure that the number of assigned variable names is identical to the supplied values. However, here I've found -${n.length} variable names and ${a.length} values.`});let c=[];for(let f=0,d=n.length;f{let m=!!(f.type===h.TAG_START&&d.nextIf(h.SYMBOL,"endspaceless"));return u=f,m}).expressions,c=new zt(s);return R(c,t),b(c,r.expect(h.TAG_END,"",n)),r.expect(h.SYMBOL,"endfor",n),c.trimRightSpaceless=ue(a),c.trimLeftEndspaceless=!!(u&&se(u)),c}},wl=W(re()),Iv={name:"use",parse(e,t){let r=e.tokens,n=e.matchExpression(),a=[];if(r.nextIf(h.SYMBOL,"with"))do{let s=r.expect(h.SYMBOL),c=_(wl.Identifier,s,s.text),p=c;if(r.nextIf(h.SYMBOL,"as")){let d=r.expect(h.SYMBOL);p=_(wl.Identifier,d,d.text)}let f=new Qt(c,p);Ye(f,c),qe(f,p),a.push(f)}while(r.nextIf(h.COMMA));let u=new Zt(n,a);return R(u,t),b(u,r.expect(h.TAG_END)),u}},Ll=W(re()),Rv={name:"mount",parse(e,t){let r=e.tokens,n=r.la(-2),a=null,u=null,s=null,c=!1,p=0,f=null;if(r.test(h.SYMBOL,"async")&&r.la(1).type===h.STRING_START&&(c=!0,r.next()),r.test(h.STRING_START))u=e.matchStringExpression();else{let w=r.expect(h.SYMBOL);a=_(Ll.Identifier,w,w.text),r.nextIf(h.SYMBOL,"from")&&(u=e.matchStringExpression())}r.nextIf(h.SYMBOL,"as")&&(s=e.matchExpression()),r.nextIf(h.SYMBOL,"with")&&(f=e.matchExpression()),c&&r.nextIf(h.SYMBOL,"delay")&&(r.expect(h.SYMBOL,"placeholder"),r.expect(h.SYMBOL,"by"),p=Number.parseInt(r.expect(h.NUMBER).text,10),r.nextIf(h.SYMBOL,"s")?p*=1e3:r.expect(h.SYMBOL,"ms"));let d=new Gt(a,u,s,f,c,p),m,y,g,A;if(c){if(r.expect(h.TAG_END),m=r.la(-1),d.body=e.parse((w,te,X)=>te.type===h.TAG_START&&(X.test(h.SYMBOL,"catch")||X.test(h.SYMBOL,"endmount"))),r.nextIf(h.SYMBOL,"catch")){y=r.la(-2);let w=r.expect(h.SYMBOL);d.errorVariableName=_(Ll.Identifier,w,w.text),r.expect(h.TAG_END),g=r.la(-1),d.otherwise=e.parse((te,X,F)=>X.type===h.TAG_START&&F.test(h.SYMBOL,"endmount"))}r.expect(h.SYMBOL,"endmount"),A=r.la(-2)}return R(d,t),b(d,r.expect(h.TAG_END,"",n)),d.trimRightMount=!!(m&&ue(m)),d.trimLeftCatch=!!(y&&se(y)),d.trimRightCatch=!!(g&&ue(g)),d.trimLeftEndmount=!!(A&&se(A)),d}},Wu={tags:[lx,cx,px,Dv,yv,xv,Tv,gv,vv,Sv,Cv,Bv,Ov,Nv,_v,Iv,Rv],unaryOperators:tl,binaryOperators:Mi,tests:_n},Pv=Symbol("ALREADY_INDENTED"),rM=Symbol("OPERATOR_PRECEDENCE"),nM=[".."],kl=Wu.binaryOperators.reduce((e,t)=>(e[t.text]=t.precedence,e),{}),iM=i((e,t,r,n)=>{e[q]=!1,e[Et]=!0;let a=['"'],u=e,s=[];for(;dr.Node.isBinaryConcatExpression(u);)a.unshift(t.call(r,...s,"right")),s.push("left"),u=u.left;return a.unshift(t.call(r,...s)),a.unshift('"'),E(a)},"printInterpolatedString"),sM=i(e=>nM.indexOf(e)<0,"operatorNeedsSpaces"),uM=i(e=>e.operator==="or"||e.operator==="and","hasLogicalOperator"),qv=i((e,t)=>{let r=e[t],n=dr.Node.isBinaryExpression(r),a=kl[e.operator],u=n?kl[e[t].operator]:Number.MAX_SAFE_INTEGER;return ua&&n&&uM(r)||dr.Node.isFilterExpression(r)||dr.Node.isBinaryConcatExpression(e)&&dr.Node.isConditionalExpression(r)},"otherNeedsParentheses"),aM=i((e,t,r)=>{e[U]=!1,e[q]=!0;let n=dr.Node.isBinaryExpression(e.right),a=["and","or"].indexOf(e.operator)>-1,u=sM(e.operator),s=yt(t,Pv,!1);!s&&n&&(e.right[Pv]=!0);let c=yt(t,xr,!1),p=ur(t)[Ar]!==!1;c||(e[xr]=!0);let f=c?yt(t,"operator"):"";e[rM]=kl[e.operator];let d=t.call(r,"left"),m=t.call(r,"right"),y=[],g=qv(e,"left"),A=qv(e,"right");g&&y.push("("),y.push(d),g&&y.push(")");let w=[u?B:ne,e.operator,u?" ":""];A&&w.push("("),w.push(m),A&&w.push(")");let te=s?E(w):I(E(w)),X=E(ke(t,[...y,te],e)),F=!c&&p,Y=a&&e.operator!==f;return F||!a||c&&Y?C(X):X},"_printBinaryExpression"),Xu=i((e,t,r,n)=>dr.Node.isBinaryConcatExpression(e)&&e.wasImplicitConcatenation?iM(e,t,r,n):aM(e,t,r),"printBinaryExpression"),wv=i((e,t,r)=>{e[U]=!1,e[q]=!0;let n=[B,"?"];e.consequent&&n.push(E([" ",t.call(r,"consequent")])),e.alternate&&n.push(B,": ",t.call(r,"alternate"));let a=[t.call(r,"test"),I(E(n))];return ke(t,a,e),C(E(a))},"printConditionalExpression"),Ml=i((e,t,r)=>{let n="<"+e.name,a=oM(t,r,"","attributes"),u=e.selfClosing?" />":">";return e.attributes&&e.attributes.length>0?E([n,I(E([" ",a])),u]):E([n,u])},"printOpeningTag"),oM=i((e,t,r,n)=>Ee(E([r,B]),e.map(t,n)),"printSeparatedList"),Lv=i((e,t,r)=>{e[U]=!0;let n=C(Ml(e,t,r));e[U]=!1,e[q]=!1;let a=e.name.toLowerCase();if(a=="script"||a=="style"){let{value:s}=e.children?.[0]?.value||{};return s?[n,s,E([""])]:[n,E([""])]}if(!e.selfClosing){e.children=yn(e.children);let s=xn(e,t,r,"children"),c=E([""]),p=[n],f=E(s);if(Oi(e))p.push(I(E([ne,f])),ne);else{let d=[];var u=e.children.findIndex(m=>m.type!="PrintExpressionStatement"&&m.type!="PrintTextStatement")==-1;s.length>0&&(u||d.push(P)),d.push(f),p.push(I(E(d))),s.length>0&&(u||p.push(P))}return p.push(c),Oi(e)?C(E(p)):E(p)}return n},"printElement"),$u=W(re()),lM=i(e=>["id","class","type"].indexOf(e)>-1,"mayCorrectWhitespace"),cM=i(e=>e.replace(/\s+/g," ").trim(),"sanitizeWhitespace"),pM=i((e,t,r,...n)=>{let a=[],u=e,s=n;for(;$u.Node.isBinaryConcatExpression(u);)a.unshift(t.call(r,...s,"right")),s.push("left"),u=u.left;return a.unshift(t.call(r,...s)),E(a)},"printConcatenatedString"),kv=i((e,t,r=r)=>{e[U]=!1;let n=[t.call(r,"name")];if(e[U]=!0,e[q]=!1,e.value){if(n.push('="'),$u.Node.isBinaryConcatExpression(e.value)&&e.value.wasImplicitConcatenation)n.push(pM(e.value,t,r,"value"));else{let a=$u.Node.isStringLiteral(e.value);lM(e.name.name)&&a&&(e.value.value=cM(e.value.value)),n.push(t.call(r,"value"))}n.push('"')}return E(n)},"printAttribute"),Mv=i((e,t)=>{e[U]=!1;let r=[e.name];ke(t,r,e);let n=E(r);return r.length===1?n:C(n)},"printIdentifier"),Gv=W(re()),jv=i((e,t,r)=>{e[U]=!1,e[q]=!0;let n=e.trimLeft?"{{-":"{{",a=e.trimRight?"-}}":"}}",u=vi(e.value)&&!Gv.Node.isObjectExpression(e.value),s=u?" ":B,c=E([s,t.call(r,"value")]),p=u?c:I(c);return C(E([n,p,s,a]))},"printExpressionStatement"),Uv=i((e,t,r)=>{e[U]=!1,e[q]=!0;let n=[t.call(r,"object")];return n.push(e.computed?"[":"."),n.push(t.call(r,"property")),e.computed&&n.push("]"),ke(t,n,e),C(E(n))},"printMemberExpression"),Gl=W(re()),fM=i(e=>Tu(e,t=>t[Wn]===!0),"isInFilterBlock"),dM=i((e,t,r,n)=>{if(!(e.arguments&&e.arguments.length>0))return"";let a=t.map(r,...n,"arguments");return e.arguments.length===1&&Gl.Node.isObjectExpression(e.arguments[0])?e.isDjango?C(E([":",a[0]])):C(E(["(",a[0],")"])):e.isDjango?C(E([":",I(E([ne,Ee(E([",",B]),a)])),ne])):C(E(["(",I(E([ne,Ee(E([",",B]),a)])),ne,")"]))},"printArguments"),Yv=i((e,t,r,n)=>{let a=dM(e,t,r,n),u=t.call(r,...n,"name");return E([u,a])},"printOneFilterExpression"),EM=i((e,t="")=>Ee(E([t===""?ne:B,"|",t]),e),"joinFilters"),Vv=i((e,t,r,n)=>{let a=e;e[U]=!1,e[q]=!0;let u=n.twigFollowOfficialCodingStandards===!1,s=u?" ":"",c=["target"],p=[Yv(e,t,r,[])];for(;Gl.Node.isFilterExpression(a.target);)p.unshift(Yv(a.target,t,r,c)),c.push("target"),a=a.target;let f=t.call(r,...c),d=fM(t),m=Si(Fi(e,...c)),y=[];if(m&&y.push("("),y.push(f),m&&y.push(")"),d&&(y.push(E([" ",p[0]])),p=p.slice(1)),p.length===1)y.push(`${s}|${s}`,p[0]);else if(p.length>1){let A=E([u?B:ne,`|${s}`,EM(p,s)]);y.push(I(A))}let g=gu(t);return g===U?(y.push(" }}"),y.unshift("{{ ")):g===Et&&vu(y),C(E(y))},"printFilterExpression"),Kv=i((e,t,r,n)=>{if(e.properties.length===0)return"{}";e[U]=!1;let a=t.map(r,"properties"),u=n.twigAlwaysBreakObjects?P:B,s=E([B,Ee(E([",",u]),a)]),c=["{",I(s),u,"}"];return ke(t,c,e),C(E(c))},"printObjectExpression"),Hv=W(re()),Wv=i((e,t,r,n)=>{e[q]=!e.computed&&Hv.Node.isStringLiteral(e.key)&&!Go(e.key.value);let a=e.key.wasImplicitConcatenation,u=e.computed&&!a,s=[];return u&&s.push("("),s.push(t.call(r,"key")),u&&s.push(")"),s.push(": "),e[q]=!0,s.push(t.call(r,"value")),E(s)},"printObjectProperty"),Xv=W(re()),$v=i((e,t,r)=>{e[U]=!1,e[q]=!0;let n=t.map(r,"arguments"),a=[t.call(r,"callee"),"("];return e.arguments.length===0?a.push(")"):e.arguments.length===1&&Xv.Node.isObjectExpression(e.arguments[0])?a.push(n[0],")"):a.push(I(E([ne,Ee(E([",",B]),n)])),ne,")"),ke(t,a,e),C(E(a))},"printCallExpression"),Jv={TestNullExpression:"null",TestDivisibleByExpression:"divisible by",TestDefinedExpression:"defined",TestEmptyExpression:"empty",TestEvenExpression:"even",TestOddExpression:"odd",TestIterableExpression:"iterable",TestSameAsExpression:"same as"},mM=i(e=>e.constructor.name==="UnarySubclass"&&e.operator==="not","isNegator"),zv=i((e,t,r)=>{let n=e.__proto__.type,a=[t.call(r,"expression")," is "],u=ur(t),s=Array.isArray(e.arguments)&&e.arguments.length>0;if(mM(u)&&a.push("not "),Jv[n]?a.push(Jv[n]):console.error("TestExpression: No text for "+n+" defined"),s){let c=t.map(r,"arguments"),p=Ee(E([",",B]),c);a.push(C(E(["(",I(E([ne,p])),ne,")"])))}return E(a)},"printTestExpression"),Qv=i((e,t,r)=>{e[U]=!1,e[q]=!0;let n=[e.operator,t.call(r,"argument")];return ke(t,n,e),C(E(n))},"printUnaryExpression"),Zv=W(re()),hM=i(e=>Si(e),"argumentNeedsParentheses"),DM=i(e=>e==="not","isLogicalOperator"),yM=i((e,t,r)=>{let n=yt(t,xr,!1);n||(e[xr]=!0);let a=ur(t)[Ar]!==!1,u=[e.operator," "],s=hM(e.argument),c=t.call(r,"argument");s?u.push("(",I(E([ne,c])),E([ne,")"])):u.push(c);let p=E(u);return!n&&a?C(p):p},"printLogicalExpression"),eS=i((e,t,r)=>{let n=[],a=Zv.Node.isTestExpression(e.argument);return DM(e.operator)&&!a?yM(e,t,r):(a||n.push(e.operator," "),n.push(t.call(r,"argument")),E(n))},"printUnarySubclass"),AM=i((e,t=!0)=>{let r=st(e);return r===0?t?B:"":r===1?P:E([P,P])},"newlinesOnly"),tS=i((e,t,r)=>{let n=e[Dr]===!0,a=e[yr]===!0,u=t.call(r,"value");if(Rr(u)&&e[Xn])return AM(u);let s=Uo(u,n,a);return Ee(E([P,P]),s)},"printTextStatement"),xM=i((e,t)=>t===0||e[t-1]!=="\\","isUnmaskedOccurrence"),rS=i(e=>t=>{let r=t.indexOf(e);for(;r>=0;){if(xM(t,r))return!0;r=t.indexOf(e,r+1)}return!1},"containsUnmasked"),TM=rS("'"),gM=rS('"'),vM=i((e,t)=>TM(e)?'"':gM(e)?"'":mn(t),"getQuoteChar"),nS=i((e,t,r,n)=>{let a=yt(t,q,!1),u=yt(t,Hn,null);if(a){let s=u||vM(e.value,n);return s+e.value+s}return e.value},"printStringLiteral"),iS=i((e,t,r)=>{e[q]=!0;let n=t.map(r,"elements"),a=E([ne,Ee(E([",",B]),n)]);return C(E(["[",I(a),ne,"]"]))},"printArrayExpression"),sS=i((e,t,r)=>{let n=t.call(r,"target"),a=e.start?t.call(r,"start"):"",u=e.end?t.call(r,"end"):"";return E([n,"[",a,":",u,"]"])},"printSliceExpression"),uS=i((e,t,r)=>{let n=[e.trimLeft?"{%-":"{%",' use "',t.call(r,"source"),'"'];if(e.aliases&&e.aliases.length>0){n.push(" with");let a=t.map(r,"aliases");n.push(I(E([B,Ee(E([",",B]),a)]))),n.push(B)}else n.push(" ");return n.push(e.trimRight?"-%}":"%}"),C(E(n))},"printUseStatement"),aS=i((e,t,r)=>E([t.call(r,"name")," as ",t.call(r,"alias")]),"printAliasExpression"),oS=W(re()),lS=i((e,t,r,n)=>{e[U]=!1;let a=Array.isArray(e.body),u=n.twigOutputEndblockName===!0;if(a){let s=t.call(r,"name"),c=[E([e.trimLeft?"{%-":"{%"," block ",s,e.trimRightBlock?" -%}":" %}"])];if(e.body.length>0){let p=Pe(e,t,r,"body");c.push(p)}return c.push(P),c.push(e.trimLeftEndblock?"{%-":"{%"," endblock",u?E([" ",s]):"",e.trimRight?" -%}":" %}"),C(E(c))}else if(oS.Node.isPrintExpressionStatement(e.body)){let s=[e.trimLeft?"{%-":"{%"," block ",t.call(r,"name")," ",t.call(r,"body","value"),e.trimRight?" -%}":" %}"];return E(s)}},"printBlockStatement"),cS=i((e,t,r)=>{let n=[e.trimLeft?"{%-":"{%"," spaceless ",e.trimRightSpaceless?"-%}":"%}"];return n.push(Pe(e,t,r,"body")),n.push(P),n.push(e.trimLeftEndspaceless?"{%-":"{%"," endspaceless ",e.trimRight?"-%}":"%}"),C(E(n))},"printSpacelessBlock"),SM=i((e,t)=>E([e.trimLeft?"{%-":"{%"," autoescape ",mn(t),e.escapeType||"html",mn(t)," ",e.trimRightAutoescape?"-%}":"%}"]),"createOpener"),pS=i((e,t,r,n)=>{let a=[SM(e,n)];return a.push(Pe(e,t,r,"expressions")),a.push(P,e.trimLeftEndautoescape?"{%-":"{%"," endautoescape ",e.trimRight?"-%}":"%}"),E(a)},"printAutoescapeBlock"),fS=i((e,t,r)=>{let n=e.trimLeft?"-":"",a=e.trimRight?"-":"";return`{%${n} flush ${a}%}`},"printFlushStatement"),dS=i((e,t,r)=>{e[q]=!0;let n=[e.trimLeft?"{%-":"{%"," include ",t.call(r,"source")];if(e.argument){let a=t.call(r,"argument");n.push(" with "),n.push(a)}return e.contextFree&&n.push(" only"),n.push(e.trimRight?" -%}":" %}"),C(E(n))},"printIncludeStatement"),$i=W(re()),ES=Symbol("IS_ELSEIF"),mS=i((e,t,r)=>{e[U]=!1;let n=Array.isArray(e.alternate)&&e.alternate.length>0,a=$i.Node.isIfStatement(e.alternate),u=e[ES]===!0,s=e.consequent.length===0,c=e.consequent.length===1,p=e.consequent[0],f=!u&&!e.alternate&&(s||c&&!$i.Node.isElement(p)&&(!$i.Node.isPrintTextStatement(p)||Su(p.value.value)));c&&$i.Node.isPrintTextStatement(p)&&Su(p.value.value)&&(p[Dr]=!0,p[yr]=!0);let d=C(E([e.trimLeft?"{%- ":"{% ",u?e.isElif?"elif":"elseif":"if",I(E([B,t.call(r,"test")]))," ",e.trimRightIf?"-%}":"%}"])),m=f?s?"":t.call(r,"consequent","0"):Pe(e,t,r,"consequent"),y=[d,m];return n?(y.push(P,e.trimLeftElse?"{%-":"{%"," else ",e.trimRightElse?"-%}":"%}"),y.push(Pe(e,t,r,"alternate"))):a&&(e.alternate[ES]=!0,y.push(P),y.push(t.call(r,"alternate"))),u||y.push(f?"":P,e.trimLeftEndif?"{%-":"{%"," endif ",e.trimRight?"-%}":"%}"),E(y)},"printIfStatement"),FM=i(e=>""+e/1e3+"s","formatDelay"),CM=i((e,t,r)=>{let n=[],a=[e.trimLeft?"{%-":"{%"," mount"];e.async===!0&&a.push(" async"),e.name&&a.push(" ",t.call(r,"name")),e.name&&e.source&&a.push(" from"),e.source&&a.push(" ",t.call(r,"source")),e.key&&a.push(I(E([B,"as ",t.call(r,"key")]))),n.push(C(E(a))),e.argument&&n.push(I(E([" with ",t.call(r,"argument")]))),e.delayBy&&n.push(I(E([B,"delay placeholder by ",FM(e.delayBy)])));let u=e.body||e.otherwise?e.trimRightMount:e.trimRight;return n.push(E([B,u?"-%}":"%}"])),C(E(n))},"buildOpener"),BM=i((e,t)=>I(E([P,e.call(t,"body")])),"buildBody"),OM=i((e,t,r)=>{let n=[];return n.push(E([P,e.trimLeftCatch?"{%-":"{%"," catch "])),e.errorVariableName&&n.push(t.call(r,"errorVariableName")," "),n.push(e.trimRightCatch?"-%}":"%}"),n.push(I(E([P,t.call(r,"otherwise")]))),E(n)},"buildErrorHandling"),hS=i((e,t,r)=>{e[U]=!1,e[q]=!0;let n=[CM(e,t,r)];return e.body&&n.push(BM(t,r)),e.otherwise&&n.push(OM(e,t,r)),(e.body||e.otherwise)&&n.push(E([P,e.trimLeftEndmount?"{%-":"{%"," endmount ",e.trimRight?"-%}":"%}"])),E(n)},"printMountStatement"),bM=i((e,t,r)=>{let n=[e.trimLeft?"{%-":"{%"," for "];return e.keyTarget&&n.push(t.call(r,"keyTarget"),", "),n.push(t.call(r,"valueTarget")," in ",t.call(r,"sequence")),e.condition&&n.push(I(E([B,"if ",t.call(r,"condition")]))),n.push(E([" ",e.trimRightFor?"-%}":"%}"])),C(E(n))},"printFor"),DS=i((e,t,r)=>{e[U]=!1;let n=[bM(e,t,r)],a=e.body.expressions.length===0||e.body.expressions.length===1&&Dn(e.body.expressions[0]),u=t.call(r,"body");if((!a||e.otherwise)&&n.push(An(u)),e.otherwise){n.push(P,e.trimLeftElse?"{%-":"{%"," else ",e.trimRightElse?"-%}":"%}");let s=t.call(r,"otherwise");n.push(An(s))}return n.push(a?"":P,e.trimLeftEndfor?"{%-":"{%"," endfor ",e.trimRight?"-%}":"%}"),E(n)},"printForStatement"),jl=W(re()),NM=i(e=>jl.Node.isObjectExpression(e)||Mo(e)||jl.Node.isArrayExpression(e),"shouldAvoidBreakBeforeClosing"),_M=i((e,t,r,n)=>{let a=e.assignments[n];a[Ar]=!1;let u=NM(a.value);return C(E([e.trimLeft?"{%-":"{%"," set ",t.call(r,"assignments",n),u?" ":B,e.trimRight?"-%}":"%}"]))},"buildSetStatement"),IM=i(e=>Array.isArray(e.assignments)&&e.assignments.length===1&&Array.isArray(e.assignments[0].value),"isEmbracingSet"),RM=i((e,t,r)=>{let n=[];return Array.isArray(e.assignments)&&e.assignments.length>0&&e.assignments.forEach((a,u)=>{n.length>0&&n.push(P),n.push(_M(e,t,r,u))}),E(n)},"printRegularSet"),PM=i((e,t,r)=>{let n=[e.trimLeft?"{%-":"{%"," set ",t.call(r,"assignments","0","name"),e.trimRightSet?" -%}":" %}"];e[q]=!1;let a=Pe(e,t,r,"assignments","0","value");return n.push(a),n.push(P,e.trimLeftEndset?"{%-":"{%"," endset ",e.trimRight?"-%}":"%}"),E(n)},"printEmbracingSet"),yS=i((e,t,r)=>(e[q]=!0,IM(e)?PM(e,t,r):RM(e,t,r)),"printSetStatement"),AS=i((e,t,r)=>E([e.trimLeft?"{%-":"{%"," do ",t.call(r,"value"),e.trimRight?" -%}":" %}"]),"printDoStatement"),xS=i((e,t,r)=>(e[q]=!0,E([e.trimLeft?"{%-":"{%"," extends ",t.call(r,"parentName"),e.trimRight?" -%}":" %}"])),"printExtendsStatement"),qM=i((e,t,r)=>{e[U]=!1,e[q]=!0;let n=[e.trimLeft?"{%-":"{%"," embed ",t.call(r,"parent")];return e.argument&&n.push(I(E([B,"with ",t.call(r,"argument")]))),n.push(E([B,e.trimRightEmbed?"-%}":"%}"])),C(E(n))},"printOpener"),TS=i((e,t,r)=>{let n=Pe(e,t,r,"blocks"),a=qM(e,t,r),u=E([P,e.trimLeftEndembed?"{%-":"{%"," endembed ",e.trimRight?"-%}":"%}"]);return E([a,n,u])},"printEmbedStatement"),gS=i((e,t,r)=>(e[q]=!0,C(E([e.trimLeft?"{%-":"{%"," import ",t.call(r,"key"),I(E([B,"as ",t.call(r,"alias")])),B,e.trimRight?"-%}":"%}"]))),"printImportDeclaration"),wM=i(e=>{let t=[e.key.name];return e.key.name!==e.alias.name&&t.push(" as ",e.alias.name),E(t)},"printImportDeclaration"),vS=i((e,t,r)=>{e[q]=!0;let n=e.imports.map(wM),a=I(E([B,Ee(E([",",B]),n)]));return C(E([e.trimLeft?"{%-":"{%"," from ",t.call(r,"source")," import",a,B,e.trimRight?"-%}":"%}"]))},"printFromStatement"),SS=i(e=>{let t=e.value.value||"",r=Cu(t),n=t.length>=3?t[2]==="-":!1,a=t.length>=3?t.slice(-3,-2)==="-":!1;return st(r)===0?Ou(r,n,a):E([n?"{#-":"{#",r,a?"-#}":"#}"])},"printTwigComment"),FS=i((e,t,r)=>{let n=Fu(e.value.value||"");return st(n)===0?Bu(n):E([""])},"printHtmlComment"),CS=i((e,t,r)=>{e[q]=!0,e[Hn]='"';let n=""])},"printDeclaration"),BS=W(re()),OS=i((e,t,r)=>{e[q]=!0;let n=[Ty(e,t,r)],a=t.map(r,"sections");return e.sections.forEach((u,s)=>{BS.Node.isGenericTwigTag(u)?n.push(E([P,a[s]])):Yo(u)||n.push(An(a[s]))}),E(n)},"printGenericTwigTag"),bS=i((e,t,r)=>e.tokenText,"printGenericToken"),LM=i((e,t,r)=>{let n=[e.trimLeft?"{%-":"{%"," macro ",t.call(r,"name"),"("],a=t.map(r,"arguments"),u=Ee(E([",",B]),a);return n.push(I(E([ne,u]))),n.push(")",B,e.trimRightMacro?"-%}":"%}"),C(E(n))},"printOpener"),NS=i((e,t,r)=>{let n=[LM(e,t,r)];return n.push(I(E([P,t.call(r,"body")]))),n.push(P,e.trimLeftEndmacro?"{%-":"{%"," endmacro ",e.trimRight?"-%}":"%}"),E(n)},"printMacroDeclarationStatement"),kM=i((e,t,r)=>{let n=[e.trimLeft?"{%- ":"{% "],a=t.call(r,"filterExpression");return n.push(a,B,e.trimRightFilter?"-%}":"%}"),C(E(n))},"printOpeningGroup"),_S=i((e,t,r)=>{e[Wn]=!0;let n=kM(e,t,r),a=Pe(e,t,r,"body"),u=E([P,e.trimLeftEndfilter?"{%-":"{%"," endfilter ",e.trimRight?"-%}":"%}"]);return E([n,a,u])},"printFilterBlockStatement"),IS=i((e,t,r)=>{let n=t.call(r,"name");e[q]=!0;let a=t.call(r,"value"),u=vi(e.value)?E([" ",a]):I(E([B,a]));return E([n," =",u])},"printVariableDeclarationStatement"),RS=i((e,t,r)=>{e[q]=!0;let n=t.call(r,"name"),a=t.call(r,"value");return E([n," = ",a])},"printNamedArgumentExpression"),Ju="ORIGINAL_SOURCE",MM=i((e,...t)=>{let r=new Vr(new bn(e));for(let n of t)n.unaryOperators&&r.addOperators(...n.unaryOperators.map(a=>a.text)),n.binaryOperators&&r.addOperators(...n.binaryOperators.map(a=>a.text));return r},"createConfiguredLexer"),GM=i((e,...t)=>{for(let r of t){if(r.tags)for(let n of r.tags)e.addTag(n);if(r.unaryOperators)for(let n of r.unaryOperators)e.addUnaryOperator(n);if(r.binaryOperators)for(let n of r.binaryOperators)e.addBinaryOperator(n);if(r.tests)for(let n of r.tests)e.addTest(n)}},"applyParserExtensions"),jM=i((e,t,...r)=>{let n=new jr(new Ur(MM(e,...r),{ignoreWhitespace:!0,ignoreComments:!1,ignoreHtmlComments:!1,applyWhitespaceTrimming:!1}),{ignoreComments:!1,ignoreHtmlComments:!1,ignoreDeclarations:!1,decodeEntities:!1,multiTags:t,allowUnknownTags:!0});return GM(n,...r),n},"createConfiguredParser"),UM=i((e=[])=>e.reduce((t,r)=>{let n=r.split(",");return t[n[0].trim()]=n.slice(1).map(a=>a.trim()),t},{}),"getMultiTagConfig"),PS=i((e,t,r)=>{let n=ns(r),a=UM(r.twigMultiTags||[]),u=[Wu,...bc(n)],s=jM(e,a,...u).parse();return s[Ju]=e,s},"parse"),N={},YM=i(e=>{if(e&&e.printers)for(let t of Object.keys(e.printers))N[t]=e.printers[t]},"applyPlugin"),VM=i(e=>{let t=ns(e);ia(t).forEach(r=>{YM(r)})},"applyPlugins"),KM=Ci("prettier-ignore"),HM=Ci("prettier-ignore-start"),WM=Ci("prettier-ignore-end"),XM=Bi("prettier-ignore"),$M=Bi("prettier-ignore-start"),JM=Bi("prettier-ignore-end"),zM=i(e=>KM(e)||XM(e),"isIgnoreNextComment"),QM=i(e=>HM(e)||$M(e),"isIgnoreRegionStartComment"),ZM=i(e=>WM(e)||JM(e),"isIgnoreRegionEndComment"),Yl="",Ji=!1,Ul=!1,qS=i(e=>{Ul=Ul&&!wS(e)||zM(e),Ji=Ji||QM(e)},"checkForIgnoreStart"),eG=i(e=>{Ji&&ZM(e)&&(Ji=!1)},"checkForIgnoreEnd"),wS=i(e=>!Dn(e),"shouldApplyIgnoreNext"),LS=i((e,t,r)=>{VM(t);let n=e.getValue(),a=n.constructor.name;n[Ju]&&(Yl=n[Ju]),t.twigPrintWidth&&(t.printWidth=t.twigPrintWidth),eG(n);let u=wS(n)&&Ul||Ji,s=N[a];return!u&&s?(qS(n),N[a](n,e,r,t)):(s||console.warn(`No print function available for node type "${a}"`),qS(n),rG(n)?tG(n):"")},"print"),tG=i(e=>Yl.substring(e.loc.start.index,e.loc.end.index),"getSubstringForNode"),rG=i(e=>Yl&&e.loc&&e.loc.start&&e.loc.end&&e.loc.start.index&&e.loc.end.index,"canGetSubstringForNode");N.SequenceExpression=gy;N.ConstantValue=e=>e.value;N.StringLiteral=nS;N.Identifier=Mv;N.UnaryExpression=Qv;N.BinaryExpression=Xu;N.BinarySubclass=Xu;N.UnarySubclass=eS;N.TestExpression=zv;N.ConditionalExpression=wv;N.Element=Lv;N.Attribute=kv;N.PrintTextStatement=tS;N.PrintExpressionStatement=jv;N.MemberExpression=Uv;N.FilterExpression=Vv;N.ObjectExpression=Kv;N.ObjectProperty=Wv;var kS=i(e=>""+e.value,"returnNodeValue");N.Fragment=(e,t,r)=>t.call(r,"value");N.NumericLiteral=kS;N.BooleanLiteral=kS;N.NullLiteral=()=>"null";N.ArrayExpression=iS;N.CallExpression=$v;N.NamedArgumentExpression=RS;N.SliceExpression=sS;N.UseStatement=uS;N.AliasExpression=aS;N.BlockStatement=lS;N.SpacelessBlock=cS;N.AutoescapeBlock=pS;N.FlushStatement=fS;N.IncludeStatement=dS;N.IfStatement=mS;N.MountStatement=hS;N.ForStatement=DS;N.BinaryConcatExpression=Xu;N.SetStatement=yS;N.VariableDeclarationStatement=IS;N.DoStatement=AS;N.ExtendsStatement=xS;N.EmbedStatement=TS;N.FilterBlockStatement=_S;N.ImportDeclaration=gS;N.FromStatement=vS;N.MacroDeclarationStatement=NS;N.TwigComment=SS;N.HtmlComment=FS;N.Declaration=CS;N.GenericTwigTag=(e,t,r,n)=>{let a=e.tagName;return N[a+"Tag"]?N[a+"Tag"](e,t,r,n):OS(e,t,r,n)};N.GenericToken=bS;N.String=e=>e;var MS=W(re());function GS(e,t,r,n){let a=e.getValue();if(n.embeddedLanguageFormatting=="auto"&&a instanceof MS.Element){let u=a.name.toLowerCase();if(u=="script"||u=="style"){let s=u=="script"?"babel":"css",{value:c}=a.children?.[0].value;if(c){let p=C(Ml(a,e,t)),f=I([ne,r(c,{...n,parser:s},{stripTrailingHardline:!0})]);return[p,f,P,E([""])]}}}return!1}i(GS,"embed");var nG=[{name:"melody",parsers:["melody"],group:"Melody",tmScope:"melody.twig",aceMode:"html",codemirrorMode:"clike",codemirrorMimeType:"text/melody-twig",extensions:[".melody.twig",".html.twig",".twig",".django",".jinja"],linguistLanguageId:0,vscodeLanguageIds:["twig","django","django-html"]}];function iG(){return!1}i(iG,"hasPragma");function sG(){return-1}i(sG,"locStart");function uG(){return-1}i(uG,"locEnd");var aG={melody:{parse:PS,astFormat:"melody",hasPragma:iG,locStart:sG,locEnd:uG}};function oG(e){return e.ast_type&&e.ast_type!=="comment"}i(oG,"canAttachComment");function lG(e){let t=e.getValue();switch(t.ast_type){case"comment":return t.value;default:throw new Error("Not a comment: "+JSON.stringify(t))}}i(lG,"printComment");function cG(e,t){delete t.lineno,delete t.col_offset}i(cG,"clean");var pG={melody:{print:LS,embed:GS,printComment:lG,canAttachComment:oG,massageAstNode:cG,willPrintOwnComments:()=>!0}},fG={twigMelodyPlugins:{type:"path",category:"Global",array:!0,default:[{value:[]}],description:"Provide additional plugins for Melody. Relative file path from the project root."},twigMultiTags:{type:"path",category:"Global",array:!0,default:[{value:[]}],description:"Make custom Twig tags known to the parser."},twigSingleQuote:{type:"boolean",category:"Global",default:!0,description:"Use single quotes in Twig files?"},twigAlwaysBreakObjects:{type:"boolean",category:"Global",default:!0,description:"Should objects always break in Twig files?"},twigPrintWidth:{type:"int",category:"Global",default:80,description:"Print width for Twig files"},twigFollowOfficialCodingStandards:{type:"boolean",category:"Global",default:!0,description:"See https://twig.symfony.com/doc/2.x/coding_standards.html"},twigOutputEndblockName:{type:"boolean",category:"Global",default:!1,description:"Output the Twig block name in the 'endblock' tag"}}});var an={};Wr(an,{activate:()=>rn,deactivate:()=>nn});module.exports=Xr(an);var Qe=require("vscode");var Dt=require("prettier"),en=rr(nr()),Er=rr(require("prettier/parser-html")),Bt=require("vscode");function hr(e,t){let r={tabWidth:2,printWidth:5e3,semi:!1,singleQuote:!0,trailingComma:"none",twigPrintWidth:5e3,twigMultiTags:["with,endwith"],twigAlwaysBreakObjects:!1,twigSingleQuote:!0,parser:"melody",plugins:[],htmlWhitespaceSensitivity:"ignore",embeddedLanguageFormatting:"auto"};Object.assign(r,Dt.resolveConfig.sync(e.uri.fsPath)??[]),r.twigSingleQuote=!0,r.plugins=[en],r.parser="melody",r.htmlWhitespaceSensitivity="ignore",r.embeddedLanguageFormatting="off";let n={text:e.getText()};try{if(n.text=(0,Dt.format)(n.text,r),!n.text)throw new Error("django-html: formatting failed");tn(n,r),t?.clear()}catch(a){if(t&&a.loc){t.clear();let u=a.loc;u.end||(u.end={line:u.start.line,column:u.start.column+1});let s=u.start.line-1,c=u.start.column-1,p=u.end.line-1,f=u.end.column-1,d=new Bt.Range(s,c,p,f);setTimeout(()=>t.set(e.uri,[new Bt.Diagnostic(d,a.message.split(" ")[0].split(` -`)[0],0)]),250)}else console.log(a)}return n.text}function tn(e,t){let r=" ";t.useTabs?r=" ":t.tabWidth&&(r=" ".repeat(t.tabWidth));let n=e.text.includes(`\r -`)?`\r -`:` -`,a=Er.parsers.html.parse(e.text,null,{}),u=0,s=0,c=p=>{if(!!p.children)for(let f=0;f-1&&e.text[w+u]!=` -`;)w--;let te=e.text.slice(w+1+u,A+u).replace(/\S/g," ");y=` -`.repeat(m.sourceSpan.start.line+s)+" ".repeat(m.sourceSpan.start.col)+m.value,y=n+(0,Dt.format)(y,t).trim().split(n).map(X=>te+r+X).join(n)+n+te}else y="";let g=m.sourceSpan.start.offset;e.text=e.text.slice(0,g+u)+y+e.text.slice(g+m.value.length+u),u+=y.length-m.value.length,s+=y.split(` -`).length-m.value.split(` -`).length}else c(d)}};c(a)}var dt=require("vscode"),mt=new Map,Ot=new Map;dt.workspace.registerTextDocumentContentProvider("dj-embedded-content",{provideTextDocumentContent:e=>{let t=e.path.lastIndexOf("/"),r=e.path.slice(1).slice(0,t-1),n=decodeURIComponent(r);return mt.get(n)}});function mr(e,t){e.subscriptions.push(dt.workspace.onDidChangeTextDocument(r=>{t.includes(r.document.languageId)&&Ot.delete(r.document.uri.toString())})),e.subscriptions.push(dt.workspace.onDidCloseTextDocument(r=>{r.languageId=="html"&&mt.delete(r.uri.toString())})),e.subscriptions.push(dt.workspace.onDidRenameFiles(r=>{r.files.forEach(n=>{mt.delete(n.oldUri.toString())})}))}function It(e,t){t=t??"html";let r=e.uri.toString();t!="html"&&(r+="."+t),mt.set(r,e.getText());let n;return Ot.has(r)?n=Ot.get(r):(n=`/${encodeURIComponent(r)}/${Math.random()}.${t}`,Ot.set(r,n)),dt.Uri.from({scheme:"dj-embedded-content",authority:"django-html",path:n})}function Cr(){mt.clear()}var qt=["django-html"];function rn(e){mr(e,qt);let t=Qe.languages.createDiagnosticCollection("django");e.subscriptions.push(t),e.subscriptions.push(Qe.languages.registerDocumentFormattingEditProvider("django-html",{provideDocumentFormattingEdits:async(r,n,a)=>{let u=r.getText();if(!u)return;let c=hr(r,t);if(c&&c!=u){let p=new Qe.Range(r.positionAt(0),r.positionAt(u.length));return[new Qe.TextEdit(p,c)]}else return[]}})),e.subscriptions.push(Qe.languages.registerCompletionItemProvider(qt,{provideCompletionItems:async(r,n,a,u)=>{let s=It(r);return await Qe.commands.executeCommand("vscode.executeCompletionItemProvider",s,n,u.triggerCharacter)}},".","(",":","<")),e.subscriptions.push(Qe.languages.registerHoverProvider(qt,{provideHover:async(r,n,a)=>{let u=It(r);return(await Qe.commands.executeCommand("vscode.executeHoverProvider",u,n))?.[0]}}))}function nn(){Cr()}0&&(module.exports={activate,deactivate}); +${n.length} variable names and ${s.length} values.` }); + let c = []; + for (let f = 0, h = n.length; f < h; f++) + c[f] = new or(n[f], s[f]); + let p = new lr(c); + return I(p, t), b(p, r.expect(m.TAG_END)), p.trimRightSet = !!(a && te(a)), p.trimLeftEndset = !!(u && ee(u)), p; + } }; + var Vg = { name: "spaceless", parse(e, t) { + let r = e.tokens, n = r.la(-2); + r.expect(m.TAG_END); + let s = r.la(-1), a, u = e.parse((p, f, h) => { + let D = !!(f.type === m.TAG_START && h.nextIf(m.SYMBOL, "endspaceless")); + return a = f, D; + }).expressions, c = new cr(u); + return I(c, t), b(c, r.expect(m.TAG_END, "", n)), r.expect(m.SYMBOL, "endfor", n), c.trimRightSpaceless = te(s), c.trimLeftEndspaceless = !!(a && ee(a)), c; + } }; + var La = W(J()); + var Kg = { name: "url", parse(e, t) { + let r = e.tokens, n = new ar(e.matchExpression()), s = []; + for (; !r.test(m.EOF) && !r.test(m.TAG_END); ) { + if (r.test(m.SYMBOL) && r.lat(1) === m.ASSIGNMENT) { + let a = r.next(); + r.next(); + let u = e.matchExpression(), c = new La.NamedArgumentExpression(N(La.Identifier, a, a.text), u); + ve(c, u), s.push(c); + } else + s.push(e.matchExpression()); + r.test(m.SYMBOL) && r.lat(0) === "as" && (r.next(), n.as = this.matchExpression()); + } + return n.arguments = s, I(n, t), b(n, r.expect(m.TAG_END)), n; + } }; + var Bl = W(J()); + var Wg = { name: "use", parse(e, t) { + let r = e.tokens, n = e.matchExpression(), s = []; + if (r.nextIf(m.SYMBOL, "with")) + do { + let u = r.expect(m.SYMBOL), c = N(Bl.Identifier, u, u.text), p = c; + if (r.nextIf(m.SYMBOL, "as")) { + let h = r.expect(m.SYMBOL); + p = N(Bl.Identifier, h, h.text); + } + let f = new pr(c, p); + Ye(f, c), ve(f, p), s.push(f); + } while (r.nextIf(m.COMMA)); + let a = new fr(n, s); + return I(a, t), b(a, r.expect(m.TAG_END)), a; + } }; + var ka = W(J()); + var Hg = { name: "with", parse(e, t) { + let r = e.tokens, n = r.la(-2), s, a, u, c = []; + for (; !r.test(m.EOF) && !r.test(m.TAG_END); ) + if (r.test(m.SYMBOL) && r.lat(1) === m.ASSIGNMENT) { + let p = r.next(); + r.next(); + let f = e.matchExpression(), h = new ka.NamedArgumentExpression(N(ka.Identifier, p, p.text), f); + ve(h, f), c.push(h); + } else { + let p = r.next(); + e.error({ title: "with arguments mismatch", pos: p.pos, advice: "eg: {% with alpha=1 beta=2 %}" }); + } + return (a = r.nextIf(m.TAG_END)) ? s = new Mt(e.parse((p, f, h) => { + let D = !!(f.type === m.TAG_START && h.nextIf(m.SYMBOL, "endwith")); + return D && (u = f), D; + }).expressions) : s = new Mt(new PrintExpressionStatement(e.matchExpression())), s.arguments = c, I(s, t), b(s, r.expect(m.TAG_END, null, n)), s.trimRightBlock = a && te(a), s.trimLeftEndblock = !!(u && ee(u)), s; + } }; + var Ma = { tags: [TA, gA, vA, Og, Ng, Ig, Rg, Pg, qg, wg, kg, Mg, Kg, Hg, Gg, Yg, Vg, Wg, jg], unaryOperators: Ko, binaryOperators: Bi, tests: Sn }; + var Ua = W(require("path")); + var Bv = W(Cv()); + var Ya = i((e) => e.twigMelodyPlugins && Array.isArray(e.twigMelodyPlugins) ? e.twigMelodyPlugins.map((t) => t.trim()) : [], "getPluginPathsFromOptions"); + var H7 = i(() => { + let e = __dirname.split(Ua.default.sep), t = e.length - 1, r = e[t]; + for (; r !== "node_modules" && t > 0; ) + t--, r = e[t]; + t === 0 && (t = e.length - 2); + let n = e.slice(0, t), s = Ua.default.join(...n), a = __dirname.indexOf(s); + return __dirname.slice(0, a) + s; + }, "getProjectRoot"); + var X7 = i((pluginPath) => { + try { + let projectRoot = H7(), requirePath = Bv.default.sync(Ua.default.resolve(projectRoot, pluginPath)); + return eval("require")(requirePath); + } catch (e) { + console.error("Could not load plugin path " + pluginPath); + return; + } + }, "tryLoadPlugin"); + var ql = i((e) => { + let t = []; + return e && Array.isArray(e) && e.forEach((r) => { + let n = X7(r); + n && t.push(n); + }), t; + }, "loadPlugins"); + var bv = i((e) => { + let t = []; + return ql(e).forEach((n) => { + t = t.concat(n.melodyExtensions); + }), t.filter((n) => !!n); + }, "getAdditionalMelodyExtensions"); + var R = Symbol("STRING_NEEDS_QUOTES"); + var ji = Symbol("OVERRIDE_QUOTE_CHAR"); + var U = Symbol("EXPRESSION_NEEDED"); + var St = Symbol("INSIDE_OF_STRING"); + var Ui = Symbol("FILTER_BLOCK"); + var jr = Symbol("PRESERVE_LEADING_WHITESPACE"); + var Ur = Symbol("PRESERVE_TRAILING_WHITESPACE"); + var Yi = Symbol("NEWLINES_ONLY"); + var Yr = Symbol("GROUP_TOP_LEVEL_LOGICAL"); + var Vr = Symbol("IS_ROOT_LOGICAL_EXPRESSION"); + var be = W(J()); + function Vi(e) { + if (typeof e != "string") { + if (Array.isArray(e)) { + for (let t of e) + Vi(t); + return; + } + if (!(e && typeof e.type == "string")) + throw new Error("Value " + JSON.stringify(e) + " is not a valid document"); + } + } + i(Vi, "assertDoc"); + function E(e) { + if (process.env.NODE_ENV !== "production") + for (let t of e) + Vi(t); + return { type: "concat", parts: e }; + } + i(E, "concat"); + function P(e) { + return process.env.NODE_ENV !== "production" && Vi(e), { type: "indent", contents: e }; + } + i(P, "indent"); + function F(e, t = {}) { + return process.env.NODE_ENV !== "production" && Vi(e), { type: "group", id: t.id, contents: e, break: !!t.shouldBreak, expandedStates: t.expandedStates }; + } + i(F, "group"); + function Rn(e) { + if (process.env.NODE_ENV !== "production") + for (let t of e) + Vi(t); + return { type: "fill", parts: e }; + } + i(Rn, "fill"); + var Ov = { type: "break-parent" }; + var $7 = { type: "line", hard: true }; + var J7 = { type: "line", hard: true, literal: true }; + var B = { type: "line" }; + var H = { type: "line", soft: true }; + var q = E([$7, Ov]); + var dte = E([J7, Ov]); + var Ete = { type: "cursor", placeholder: Symbol("cursor") }; + function ue(e, t) { + let r = []; + for (let n = 0; n < t.length; n++) + n !== 0 && r.push(e), r.push(t[n]); + return E(r); + } + i(ue, "join"); + var z7 = ["title", "h1", "h2", "h3", "h4", "h5", "h6", "a", "abbr", "acronym", "b", "bdo", "big", "br", "button", "cite", "code", "dd", "dfn", "em", "i", "img", "kbd", "label", "mark", "q", "s", "u", "samp", "strike", "strong", "sup", "sub", "small", "span", "time", "tt", "var"]; + var wl = ["ObjectExpression", "BinaryExpression", "ConditionalExpression", "ArrayExpression"]; + var Q7 = i((e) => { + wl.push(e); + }, "registerContractableNodeType"); + var Ki = i((e) => { + for (let t = 0; t < wl.length; t++) { + let n = "is" + wl[t]; + if (be.Node[n] && be.Node[n].call(null, e)) + return true; + } + return !!be.Node.isUnaryLike(e); + }, "isContractableNodeType"); + var Ll = i((e) => be.Node.isUnaryLike(e) && e.operator === "not", "isNotExpression"); + var Wi = i((e) => be.Node.isBinaryExpression(e) || be.Node.isConditionalExpression(e) || be.Node.isUnaryLike(e), "isMultipartExpression"); + var _v = i((e, t, r = false) => { + let n = e.stack.length - 1; + for (r || (n -= 1); n >= 0; ) { + let s = e.stack[n]; + if (qn(s) && t(s) === false) + return; + n--; + } + }, "walkParents"); + var Ft = i((e, t, r) => { + let n = e.stack.length - 2; + for (; n >= 0; ) { + let s = e.stack[n]; + if (qn(s) && s[t] !== void 0) + return s[t]; + n--; + } + return r; + }, "firstValueInAncestorChain"); + var Pn = i((e) => e && e.twigSingleQuote ? "'" : '"', "quoteChar"); + var kl = i((e) => typeof e == "string" && /^[A-Z][0-9A-Z_$]*$/i.test(e), "isValidIdentifierName"); + var qn = i((e) => { + let t = e.__proto__; + return typeof e == "object" && t.type && typeof be.Node["is" + t.type] == "function"; + }, "isMelodyNode"); + var dr = i((e) => { + let t = e.stack.length - 2; + for (; t >= 0; ) { + let r = e.stack[t]; + if (qn(r)) + return r; + t--; + } + return null; + }, "findParentNode"); + var Ml = i((e) => dr(e) === null, "isRootNode"); + var Z7 = i((e, t) => Iv(e, t) || Va(e, t), "testCurrentAndParentNodes"); + var Iv = i((e, t) => { + let r = e.stack.length - 1; + if (r >= 0) { + let n = e.stack[r]; + return qn(n) && t(n); + } + return false; + }, "testCurrentNode"); + var Va = i((e, t) => { + let r = e.stack.length - 2; + for (; r >= 0; ) { + let n = e.stack[r]; + if (qn(n) && t(n)) + return true; + r--; + } + return false; + }, "someParentNode"); + var Ka = i((e) => { + let t = false; + return _v(e, (r) => { + if (r.tagName != null) + return false; + if (r[St] === true) + return t = St, false; + if (r[U] === true) + return t = U, false; + if (r[U] === false || r[St] === false) + return false; + }), t; + }, "shouldExpressionsBeWrapped"); + var ke = i((e, t, r = {}) => { + let n = Ka(e); + return n === U ? Rv(t, r.trimLeft, r.trimRight) : n === St && Wa(t), t; + }, "wrapExpressionIfNeeded"); + var Rv = i((e, t = false, r = false) => { + let n = t ? "{{-" : "{{", s = r ? "-}}" : "}}"; + e.unshift(n, B), e.push(B, s); + }, "wrapInEnvironment"); + var Wa = i((e) => { + e.unshift("#{"), e.push("}"); + }, "wrapInStringInterpolation"); + var Kr = i((e) => typeof e == "string" && e.trim() === "", "isWhitespaceOnly"); + var lt = i((e) => (e.match(/\n/g) || "").length, "countNewlines"); + var Ha = i((e) => lt(e) === 0, "hasNoNewlines"); + var eM = i((e) => lt(e) >= 2, "hasAtLeastTwoNewlines"); + var Pv = i((e) => e.split(/([\s\n]+)/gm), "splitByWhitespace"); + var qv = i((e, t = " ") => Pv(e).filter((r) => !Kr(r)).join(t), "unifyWhitespace"); + var tM = i((e) => { + let t = lt(e); + return t > 0 ? t > 1 ? [q, q] : [q] : [B]; + }, "normalizeWhitespace"); + var Gl = i((e, t, r) => { + let n = Pv(e), s = [], a = [], u = n.length; + return n.forEach((c, p) => { + if (c !== "") + if (Kr(c)) { + let f = s.length === 0 && a.length === 0, h = p === u - 1 || p === u - 2 && n[u - 1] === ""; + f && t || h && r ? a.push(...tM(c)) : !f && !h && (lt(c) <= 1 ? a.push(B) : (s.push(a), a = [])); + } else + a.push(c); + }), a.length > 0 && s.push(a), s.map((c) => Rn(c)); + }, "createTextGroups"); + var wn = i((e) => be.Node.isPrintTextStatement(e) && Kr(e.value.value) || be.Node.isStringLiteral(e) && Kr(e.value), "isWhitespaceNode"); + var jl = i((e) => be.Node.isSequenceExpression(e) && e.expressions.length === 0, "isEmptySequence"); + var Ln = i((e) => { + if (!Array.isArray(e)) + return e; + let t = []; + return e.forEach((r, n) => { + (n === 0 || n === e.length - 1) && wn(r) || t.push(r); + }), t; + }, "removeSurroundingWhitespace"); + var Hi = i((e, ...t) => { + let r = e; + return t.forEach((n) => { + r = r[n]; + }), r; + }, "getDeepProperty"); + var wv = i((e, t, ...r) => { + let n = e, s = r.length; + for (let a = 0; a < s - 1; a++) + n = n[r[a]]; + n[r[s - 1]] = t; + }, "setDeepProperty"); + var _e = i((e, t, r, ...n) => { + let s = Hi(e, ...n); + wv(e, Ln(s), ...n); + let a = Mn(e, t, r, ...n); + return P(F(E([q, ...a]))); + }, "printChildBlock"); + var rM = i((e) => { + e.length > 0 && e.push(q); + }, "addNewlineIfNotEmpty"); + var nM = i((e) => e.endsWith("-->"), "endsWithHtmlComment"); + var iM = i((e, t) => (r) => { + let n = r; + return n.startsWith(e) && (n = n.slice(e.length)), n.endsWith(t) && (n = n.slice(0, 0 - t.length)), n; + }, "stripCommentChars"); + var Xa = iM(""); + var $a = i((e) => { + let t = e; + return t.startsWith("{#") && (t = t.slice(2)), t.startsWith("-") && (t = t.slice(1)), t.endsWith("#}") && (t = t.slice(0, -2)), t.endsWith("-") && (t = t.slice(0, -1)), t; + }, "stripTwigCommentChars"); + var Ja = i((e) => { + let t = Xa(e); + return ""; + }, "normalizeHtmlComment"); + var za = i((e, t, r) => { + let n = $a(e), s = t ? "{#-" : "{#", a = r ? "-#}" : "#}"; + return s + " " + qv(n) + " " + a; + }, "normalizeTwigComment"); + var Xi = i((e) => (t) => t.constructor.name === "HtmlComment" && t.value.value && Ja(t.value.value) === "", "isHtmlCommentEqualTo"); + var $i = i((e) => (t) => t.constructor.name === "TwigComment" && t.value.value && za(t.value.value) === "{# " + e + " #}", "isTwigCommentEqualTo"); + var sM = i((e) => { + if (!be.Node.isPrintTextStatement(e)) + return false; + let t = typeof e.value.value == "string" && e.value.value.trim(); + return !nM(t); + }, "isInlineTextStatement"); + var Ji = i((e) => be.Node.isElement(e) && z7.indexOf(e.name) >= 0 || be.Node.isPrintExpressionStatement(e) || sM(e), "isInlineElement"); + var Nv = i((e) => be.Node.isTwigComment(e) || be.Node.isHtmlComment(e), "isCommentNode"); + var aM = i((e) => e.map((t) => Ji(t)), "createInlineMap"); + var uM = i((e) => { + e.forEach((t) => { + be.Node.isPrintTextStatement(t) && (t[Yi] = true); + }); + }, "textStatementsOnlyNewlines"); + var oM = i((e, t) => { + t.forEach((r, n) => { + let s = n > 0 && Nv(t[n - 1]), a = n < t.length - 1 && Nv(t[n + 1]); + be.Node.isPrintTextStatement(r) && ((n > 0 && e[n - 1] || s) && (r[jr] = true), (n < e.length - 1 && e[n + 1] || a) && (r[Ur] = true)); + }); + }, "addPreserveWhitespaceInfo"); + var kn = i((e) => P(E([q, e])), "indentWithHardline"); + var Mn = i((e, t, r, ...n) => { + let s = Hi(e, ...n), a = aM(s); + oM(a, s), uM(s); + let u = t.map(r, ...n), c = [], p = []; + return u.forEach((f, h) => { + a[h] ? c.push(f) : (c.length > 0 && (p.push(Rn(c)), c = []), p.length > 0 && !a[h - 1] && rM(p), p.push(f)); + }), c.length > 0 && p.push(Rn(c)), p; + }, "printChildGroups"); + var Lv = W(J()); + var lM = { ",": true }; + var kv = i((e, t, r) => { + let s = [e.trimLeft ? "{%-" : "{%", " ", e.tagName], a = t.map(r, "parts"); + a.length > 0 && s.push(" ", a[0]); + let u = []; + for (let p = 1; p < e.parts.length; p++) { + let f = e.parts[p], D = Lv.Node.isGenericToken(f) && lM[f.tokenText] ? "" : B; + u.push(D, a[p]); + } + e.parts.length > 1 && s.push(P(E(u))); + let c = e.trimRight ? "-%}" : "%}"; + return s.push(B, c), F(E(s)); + }, "printSingleTwigTag"); + var Qa = "ORIGINAL_SOURCE"; + var cM = i((e, ...t) => { + let r = new vn(new Ci(e)); + for (let n of t) + n.unaryOperators && r.addOperators(...n.unaryOperators.map((s) => s.text)), n.binaryOperators && r.addOperators(...n.binaryOperators.map((s) => s.text)); + return r; + }, "createConfiguredLexer"); + var pM = i((e, ...t) => { + for (let r of t) { + if (r.tags) + for (let n of r.tags) + e.addTag(n); + if (r.unaryOperators) + for (let n of r.unaryOperators) + e.addUnaryOperator(n); + if (r.binaryOperators) + for (let n of r.binaryOperators) + e.addBinaryOperator(n); + if (r.tests) + for (let n of r.tests) + e.addTest(n); + } + }, "applyParserExtensions"); + var fM = i((e, t, ...r) => { + let n = new yn(new Tn(cM(e, ...r), { ignoreWhitespace: true, ignoreComments: false, ignoreHtmlComments: false, applyWhitespaceTrimming: false }), { ignoreComments: false, ignoreHtmlComments: false, ignoreDeclarations: false, decodeEntities: false, multiTags: t, allowUnknownTags: true }); + return pM(n, ...r), n; + }, "createConfiguredParser"); + var dM = i((e = []) => e.reduce((t, r) => { + let n = r.split(","); + return t[n[0].trim()] = n.slice(1).map((s) => s.trim()), t; + }, {}), "getMultiTagConfig"); + var Mv = i((e, t, r) => { + let n = Ya(r), s = dM(r.twigMultiTags || []), a = [Ma, ...bv(n)], c = fM(e, s, ...a).parse(); + return c[Qa] = e, c; + }, "parse"); + var Gv = i((e, t, r) => E([t.call(r, "name"), " as ", t.call(r, "alias")]), "printAliasExpression"); + var jv = i((e, t, r) => { + e[R] = true; + let n = t.map(r, "elements"), s = E([H, ue(E([",", B]), n)]); + return F(E(["[", P(s), H, "]"])); + }, "printArrayExpression"); + var Za = W(J()); + var EM = i((e) => ["id", "class", "type"].indexOf(e) > -1, "mayCorrectWhitespace"); + var mM = i((e) => e.replace(/\s+/g, " ").trim(), "sanitizeWhitespace"); + var hM = i((e, t, r, ...n) => { + let s = [], a = e, u = n; + for (; Za.Node.isBinaryConcatExpression(a); ) + s.unshift(t.call(r, ...u, "right")), u.push("left"), a = a.left; + return s.unshift(t.call(r, ...u)), E(s); + }, "printConcatenatedString"); + var Uv = i((e, t, r = r) => { + e[U] = false; + let n = [t.call(r, "name")]; + if (e[U] = true, e[R] = false, e.value) { + if (n.push('="'), Za.Node.isBinaryConcatExpression(e.value) && e.value.wasImplicitConcatenation) + n.push(hM(e.value, t, r, "value")); + else { + let s = Za.Node.isStringLiteral(e.value); + EM(e.name.name) && s && (e.value.value = mM(e.value.value)), n.push(t.call(r, "value")); + } + n.push('"'); + } + return E(n); + }, "printAttribute"); + var DM = i((e, t) => E([e.trimLeft ? "{%-" : "{%", " autoescape ", Pn(t), e.escapeType || "html", Pn(t), " ", e.trimRightAutoescape ? "-%}" : "%}"]), "createOpener"); + var Yv = i((e, t, r, n) => { + let s = [DM(e, n)]; + return s.push(_e(e, t, r, "expressions")), s.push(q, e.trimLeftEndautoescape ? "{%-" : "{%", " endautoescape ", e.trimRight ? "-%}" : "%}"), E(s); + }, "printAutoescapeBlock"); + var Er = W(J()); + var Vv = Symbol("ALREADY_INDENTED"); + var yM = Symbol("OPERATOR_PRECEDENCE"); + var AM = [".."]; + var Ul = Ma.binaryOperators.reduce((e, t) => (e[t.text] = t.precedence, e), {}); + var xM = i((e, t, r, n) => { + e[R] = false, e[St] = true; + let s = ['"'], a = e, u = []; + for (; Er.Node.isBinaryConcatExpression(a); ) + s.unshift(t.call(r, ...u, "right")), u.push("left"), a = a.left; + return s.unshift(t.call(r, ...u)), s.unshift('"'), E(s); + }, "printInterpolatedString"); + var TM = i((e) => AM.indexOf(e) < 0, "operatorNeedsSpaces"); + var gM = i((e) => e.operator === "or" || e.operator === "and", "hasLogicalOperator"); + var Kv = i((e, t) => { + let r = e[t], n = Er.Node.isBinaryExpression(r), s = Ul[e.operator], a = n ? Ul[e[t].operator] : Number.MAX_SAFE_INTEGER; + return a < s || a > s && n && gM(r) || Er.Node.isFilterExpression(r) || Er.Node.isBinaryConcatExpression(e) && Er.Node.isConditionalExpression(r); + }, "otherNeedsParentheses"); + var vM = i((e, t, r) => { + e[U] = false, e[R] = true; + let n = Er.Node.isBinaryExpression(e.right), s = ["and", "or"].indexOf(e.operator) > -1, a = TM(e.operator), u = Ft(t, Vv, false); + !u && n && (e.right[Vv] = true); + let c = Ft(t, Vr, false), f = dr(t)[Yr] !== false; + c || (e[Vr] = true); + let h = c ? Ft(t, "operator") : ""; + e[yM] = Ul[e.operator]; + let D = t.call(r, "left"), d = t.call(r, "right"), x = [], C = Kv(e, "left"), O = Kv(e, "right"); + C && x.push("("), x.push(D), C && x.push(")"); + let g = [a ? B : H, e.operator, a ? " " : ""]; + O && g.push("("), g.push(d), O && g.push(")"); + let j = u ? E(g) : P(E(g)), $ = E(ke(t, [...x, j], e)), re = !c && f, Me = s && e.operator !== h; + return re || !s || c && Me ? F($) : $; + }, "_printBinaryExpression"); + var eu = i((e, t, r, n) => Er.Node.isBinaryConcatExpression(e) && e.wasImplicitConcatenation ? xM(e, t, r, n) : vM(e, t, r), "printBinaryExpression"); + var Wv = W(J()); + var Hv = i((e, t, r, n) => { + e[U] = false; + let s = Array.isArray(e.body), a = n.twigOutputEndblockName === true; + if (s) { + let u = t.call(r, "name"), p = [E([e.trimLeft ? "{%-" : "{%", " block ", u, e.trimRightBlock ? " -%}" : " %}"])]; + if (e.body.length > 0) { + let h = _e(e, t, r, "body"); + p.push(h); + } + return p.push(q), p.push(e.trimLeftEndblock ? "{%-" : "{%", " endblock", a ? E([" ", u]) : "", e.trimRight ? " -%}" : " %}"), F(E(p)); + } else if (Wv.Node.isPrintExpressionStatement(e.body)) { + let u = [e.trimLeft ? "{%-" : "{%", " block ", t.call(r, "name"), " ", t.call(r, "body", "value"), e.trimRight ? " -%}" : " %}"]; + return E(u); + } + }, "printBlockStatement"); + var Xv = W(J()); + var $v = i((e, t, r) => { + e[U] = false, e[R] = true; + let n = t.map(r, "arguments"), s = [t.call(r, "callee"), "("]; + return e.arguments.length === 0 ? s.push(")") : e.arguments.length === 1 && Xv.Node.isObjectExpression(e.arguments[0]) ? s.push(n[0], ")") : s.push(P(E([H, ue(E([",", B]), n)])), H, ")"), ke(t, s, e), F(E(s)); + }, "printCallExpression"); + var Jv = i((e, t, r) => { + e[U] = false, e[R] = true; + let n = [B, "?"]; + e.consequent && n.push(E([" ", t.call(r, "consequent")])), e.alternate && n.push(B, ": ", t.call(r, "alternate")); + let s = [t.call(r, "test"), P(E(n))]; + return ke(t, s, e), F(E(s)); + }, "printConditionalExpression"); + var zv = i((e, t, r) => { + e[R] = true, e[ji] = '"'; + let n = ""]); + }, "printDeclaration"); + var Qv = i((e, t, r) => E([e.trimLeft ? "{%-" : "{%", " do ", t.call(r, "value"), e.trimRight ? " -%}" : " %}"]), "printDoStatement"); + var Yl = i((e, t, r) => { + let n = "<" + e.name, s = SM(t, r, "", "attributes"), a = e.selfClosing ? " />" : ">"; + return e.attributes && e.attributes.length > 0 ? E([n, P(E([" ", s])), a]) : E([n, a]); + }, "printOpeningTag"); + var SM = i((e, t, r, n) => ue(E([r, B]), e.map(t, n)), "printSeparatedList"); + var Zv = i((e, t, r) => { + e[U] = true; + let n = F(Yl(e, t, r)); + e[U] = false, e[R] = false; + let s = e.name.toLowerCase(); + if (s == "script" || s == "style") { + let { value: u } = e.children?.[0]?.value || {}; + return u ? [n, u, E([""])] : [n, E([""])]; + } + if (!e.selfClosing) { + e.children = Ln(e.children); + let u = Mn(e, t, r, "children"), c = E([""]), p = [n], f = E(u); + if (Ji(e)) + p.push(P(E([H, f])), H); + else { + let h = []; + var a = e.children.findIndex((D) => D.type != "PrintExpressionStatement" && D.type != "PrintTextStatement") == -1; + u.length > 0 && (a || h.push(q)), h.push(f), p.push(P(E(h))), u.length > 0 && (a || p.push(q)); + } + return p.push(c), Ji(e) ? F(E(p)) : E(p); + } + return n; + }, "printElement"); + var FM = i((e, t, r) => { + e[U] = false, e[R] = true; + let n = [e.trimLeft ? "{%-" : "{%", " embed ", t.call(r, "parent")]; + return e.argument && n.push(P(E([B, "with ", t.call(r, "argument")]))), n.push(E([B, e.trimRightEmbed ? "-%}" : "%}"])), F(E(n)); + }, "printOpener"); + var eS = i((e, t, r) => { + let n = _e(e, t, r, "blocks"), s = FM(e, t, r), a = E([q, e.trimLeftEndembed ? "{%-" : "{%", " endembed ", e.trimRight ? "-%}" : "%}"]); + return E([s, n, a]); + }, "printEmbedStatement"); + var tS = W(J()); + var rS = i((e, t, r) => { + e[U] = false, e[R] = true; + let n = e.trimLeft ? "{{-" : "{{", s = e.trimRight ? "-}}" : "}}", a = Ki(e.value) && !tS.Node.isObjectExpression(e.value), u = a ? " " : B, c = E([u, t.call(r, "value")]), p = a ? c : P(c); + return F(E([n, p, u, s])); + }, "printExpressionStatement"); + var nS = i((e, t, r) => (e[R] = true, E([e.trimLeft ? "{%-" : "{%", " extends ", t.call(r, "parentName"), e.trimRight ? " -%}" : " %}"])), "printExtendsStatement"); + var CM = i((e, t, r) => { + let n = [e.trimLeft ? "{%- " : "{% "], s = t.call(r, "filterExpression"); + return n.push(s, B, e.trimRightFilter ? "-%}" : "%}"), F(E(n)); + }, "printOpeningGroup"); + var iS = i((e, t, r) => { + e[Ui] = true; + let n = CM(e, t, r), s = _e(e, t, r, "body"), a = E([q, e.trimLeftEndfilter ? "{%-" : "{%", " endfilter ", e.trimRight ? "-%}" : "%}"]); + return E([n, s, a]); + }, "printFilterBlockStatement"); + var Vl = W(J()); + var BM = i((e) => Va(e, (t) => t[Ui] === true), "isInFilterBlock"); + var bM = i((e, t, r, n) => { + if (!(e.arguments && e.arguments.length > 0)) + return ""; + let a = t.map(r, ...n, "arguments"); + return e.arguments.length === 1 && Vl.Node.isObjectExpression(e.arguments[0]) ? e.isDjango ? F(E([":", a[0]])) : F(E(["(", a[0], ")"])) : e.isDjango ? F(E([":", P(E([H, ue(E([",", B]), a)])), H])) : F(E(["(", P(E([H, ue(E([",", B]), a)])), H, ")"])); + }, "printArguments"); + var sS = i((e, t, r, n) => { + let s = bM(e, t, r, n), a = t.call(r, ...n, "name"); + return E([a, s]); + }, "printOneFilterExpression"); + var OM = i((e, t = "") => ue(E([t === "" ? H : B, "|", t]), e), "joinFilters"); + var aS = i((e, t, r, n) => { + let s = e; + e[U] = false, e[R] = true; + let a = n.twigFollowOfficialCodingStandards === false, u = a ? " " : "", c = ["target"], p = [sS(e, t, r, [])]; + for (; Vl.Node.isFilterExpression(s.target); ) + p.unshift(sS(s.target, t, r, c)), c.push("target"), s = s.target; + let f = t.call(r, ...c), h = BM(t), D = Wi(Hi(e, ...c)), d = []; + if (D && d.push("("), d.push(f), D && d.push(")"), h && (d.push(E([" ", p[0]])), p = p.slice(1)), p.length === 1) + d.push(`${u}|${u}`, p[0]); + else if (p.length > 1) { + let C = E([a ? B : H, `|${u}`, OM(p, u)]); + d.push(P(C)); + } + let x = Ka(t); + return x === U ? (d.push(" }}"), d.unshift("{{ ")) : x === St && Wa(d), F(E(d)); + }, "printFilterExpression"); + var uS = i((e, t, r) => { + let n = e.trimLeft ? "-" : "", s = e.trimRight ? "-" : ""; + return `{%${n} flush ${s}%}`; + }, "printFlushStatement"); + var NM = i((e, t, r) => { + let n = [e.trimLeft ? "{%-" : "{%", " for "]; + return e.keyTarget && n.push(t.call(r, "keyTarget"), ", "), n.push(t.call(r, "valueTarget"), " in ", t.call(r, "sequence")), e.condition && n.push(P(E([B, "if ", t.call(r, "condition")]))), n.push(E([" ", e.trimRightFor ? "-%}" : "%}"])), F(E(n)); + }, "printFor"); + var oS = i((e, t, r) => { + e[U] = false; + let n = [NM(e, t, r)], s = e.body.expressions.length === 0 || e.body.expressions.length === 1 && wn(e.body.expressions[0]), a = t.call(r, "body"); + if ((!s || e.otherwise) && n.push(kn(a)), e.otherwise) { + n.push(q, e.trimLeftElse ? "{%-" : "{%", " else ", e.trimRightElse ? "-%}" : "%}"); + let u = t.call(r, "otherwise"); + n.push(kn(u)); + } + return n.push(s ? "" : q, e.trimLeftEndfor ? "{%-" : "{%", " endfor ", e.trimRight ? "-%}" : "%}"), E(n); + }, "printForStatement"); + var _M = i((e) => { + let t = [e.key.name]; + return e.key.name !== e.alias.name && t.push(" as ", e.alias.name), E(t); + }, "printImportDeclaration"); + var lS = i((e, t, r) => { + e[R] = true; + let n = e.imports.map(_M), s = P(E([B, ue(E([",", B]), n)])); + return F(E([e.trimLeft ? "{%-" : "{%", " from ", t.call(r, "source"), " import", s, B, e.trimRight ? "-%}" : "%}"])); + }, "printFromStatement"); + var cS = i((e, t, r) => e.tokenText, "printGenericToken"); + var pS = W(J()); + var fS = i((e, t, r) => { + e[R] = true; + let s = [kv(e, t, r)], a = t.map(r, "sections"); + return e.sections.forEach((u, c) => { + pS.Node.isGenericTwigTag(u) ? s.push(E([q, a[c]])) : jl(u) || s.push(kn(a[c])); + }), E(s); + }, "printGenericTwigTag"); + var dS = i((e, t, r) => { + let n = Xa(e.value.value || ""); + return lt(n) === 0 ? Ja(n) : E([""]); + }, "printHtmlComment"); + var ES = i((e, t) => { + e[U] = false; + let r = [e.name]; + ke(t, r, e); + let n = E(r); + return r.length === 1 ? n : F(n); + }, "printIdentifier"); + var zi = W(J()); + var mS = Symbol("IS_ELSEIF"); + var hS = i((e, t, r) => { + e[U] = false; + let n = Array.isArray(e.alternate) && e.alternate.length > 0, s = zi.Node.isIfStatement(e.alternate), a = e[mS] === true, u = e.consequent.length === 0, c = e.consequent.length === 1, p = e.consequent[0], f = !a && !e.alternate && (u || c && !zi.Node.isElement(p) && (!zi.Node.isPrintTextStatement(p) || Ha(p.value.value))); + c && zi.Node.isPrintTextStatement(p) && Ha(p.value.value) && (p[jr] = true, p[Ur] = true); + let h = F(E([e.trimLeft ? "{%- " : "{% ", a ? e.isElif ? "elif" : "elseif" : "if", P(E([B, t.call(r, "test")])), " ", e.trimRightIf ? "-%}" : "%}"])), D = f ? u ? "" : t.call(r, "consequent", "0") : _e(e, t, r, "consequent"), d = [h, D]; + return n ? (d.push(q, e.trimLeftElse ? "{%-" : "{%", " else ", e.trimRightElse ? "-%}" : "%}"), d.push(_e(e, t, r, "alternate"))) : s && (e.alternate[mS] = true, d.push(q), d.push(t.call(r, "alternate"))), a || d.push(f ? "" : q, e.trimLeftEndif ? "{%-" : "{%", " endif ", e.trimRight ? "-%}" : "%}"), E(d); + }, "printIfStatement"); + var DS = i((e, t, r) => (e[R] = true, F(E([e.trimLeft ? "{%-" : "{%", " import ", t.call(r, "key"), P(E([B, "as ", t.call(r, "alias")])), B, e.trimRight ? "-%}" : "%}"]))), "printImportDeclaration"); + var yS = i((e, t, r) => { + e[R] = true; + let n = [e.trimLeft ? "{%-" : "{%", " include ", t.call(r, "source")]; + if (e.argument) { + let s = t.call(r, "argument"); + n.push(" with "), n.push(s); + } + return e.contextFree && n.push(" only"), n.push(e.trimRight ? " -%}" : " %}"), F(E(n)); + }, "printIncludeStatement"); + var IM = i((e, t, r) => { + let n = [e.trimLeft ? "{%-" : "{%", " macro ", t.call(r, "name"), "("], s = t.map(r, "arguments"), a = ue(E([",", B]), s); + return n.push(P(E([H, a]))), n.push(")", B, e.trimRightMacro ? "-%}" : "%}"), F(E(n)); + }, "printOpener"); + var AS = i((e, t, r) => { + let n = [IM(e, t, r)]; + return n.push(P(E([q, t.call(r, "body")]))), n.push(q, e.trimLeftEndmacro ? "{%-" : "{%", " endmacro ", e.trimRight ? "-%}" : "%}"), E(n); + }, "printMacroDeclarationStatement"); + var xS = i((e, t, r) => { + e[U] = false, e[R] = true; + let n = [t.call(r, "object")]; + return n.push(e.computed ? "[" : "."), n.push(t.call(r, "property")), e.computed && n.push("]"), ke(t, n, e), F(E(n)); + }, "printMemberExpression"); + var RM = i((e) => "" + e / 1e3 + "s", "formatDelay"); + var PM = i((e, t, r) => { + let n = [], s = [e.trimLeft ? "{%-" : "{%", " mount"]; + e.async === true && s.push(" async"), e.name && s.push(" ", t.call(r, "name")), e.name && e.source && s.push(" from"), e.source && s.push(" ", t.call(r, "source")), e.key && s.push(P(E([B, "as ", t.call(r, "key")]))), n.push(F(E(s))), e.argument && n.push(P(E([" with ", t.call(r, "argument")]))), e.delayBy && n.push(P(E([B, "delay placeholder by ", RM(e.delayBy)]))); + let a = e.body || e.otherwise ? e.trimRightMount : e.trimRight; + return n.push(E([B, a ? "-%}" : "%}"])), F(E(n)); + }, "buildOpener"); + var qM = i((e, t) => P(E([q, e.call(t, "body")])), "buildBody"); + var wM = i((e, t, r) => { + let n = []; + return n.push(E([q, e.trimLeftCatch ? "{%-" : "{%", " catch "])), e.errorVariableName && n.push(t.call(r, "errorVariableName"), " "), n.push(e.trimRightCatch ? "-%}" : "%}"), n.push(P(E([q, t.call(r, "otherwise")]))), E(n); + }, "buildErrorHandling"); + var TS = i((e, t, r) => { + e[U] = false, e[R] = true; + let n = [PM(e, t, r)]; + return e.body && n.push(qM(t, r)), e.otherwise && n.push(wM(e, t, r)), (e.body || e.otherwise) && n.push(E([q, e.trimLeftEndmount ? "{%-" : "{%", " endmount ", e.trimRight ? "-%}" : "%}"])), E(n); + }, "printMountStatement"); + var gS = i((e, t, r) => { + e[R] = true; + let n = t.call(r, "name"), s = t.call(r, "value"); + return E([n, "=", s]); + }, "printNamedArgumentExpression"); + var vS = i((e, t, r, n) => { + if (e.properties.length === 0) + return "{}"; + e[U] = false; + let s = t.map(r, "properties"), a = n.twigAlwaysBreakObjects ? q : B, u = E([B, ue(E([",", a]), s)]), c = ["{", P(u), a, "}"]; + return ke(t, c, e), F(E(c)); + }, "printObjectExpression"); + var SS = W(J()); + var FS = i((e, t, r, n) => { + e[R] = !e.computed && SS.Node.isStringLiteral(e.key) && !kl(e.key.value); + let s = e.key.wasImplicitConcatenation, a = e.computed && !s, u = []; + return a && u.push("("), u.push(t.call(r, "key")), a && u.push(")"), u.push(": "), e[R] = true, u.push(t.call(r, "value")), E(u); + }, "printObjectProperty"); + var CS = i((e, t, r) => { + e[R] = false, e.expressions = Ln(e.expressions); + let n = Mn(e, t, r, "expressions"); + return Ml(t) ? E([...n, q]) : E(n); + }, "printSequenceExpression"); + var Kl = W(J()); + var LM = i((e) => Kl.Node.isObjectExpression(e) || Ll(e) || Kl.Node.isArrayExpression(e), "shouldAvoidBreakBeforeClosing"); + var kM = i((e, t, r, n) => { + let s = e.assignments[n]; + s[Yr] = false; + let a = LM(s.value); + return F(E([e.trimLeft ? "{%-" : "{%", " set ", t.call(r, "assignments", n), a ? " " : B, e.trimRight ? "-%}" : "%}"])); + }, "buildSetStatement"); + var MM = i((e) => Array.isArray(e.assignments) && e.assignments.length === 1 && Array.isArray(e.assignments[0].value), "isEmbracingSet"); + var GM = i((e, t, r) => { + let n = []; + return Array.isArray(e.assignments) && e.assignments.length > 0 && e.assignments.forEach((a, u) => { + n.length > 0 && n.push(q), n.push(kM(e, t, r, u)); + }), E(n); + }, "printRegularSet"); + var jM = i((e, t, r) => { + let n = [e.trimLeft ? "{%-" : "{%", " set ", t.call(r, "assignments", "0", "name"), e.trimRightSet ? " -%}" : " %}"]; + e[R] = false; + let s = _e(e, t, r, "assignments", "0", "value"); + return n.push(s), n.push(q, e.trimLeftEndset ? "{%-" : "{%", " endset ", e.trimRight ? "-%}" : "%}"), E(n); + }, "printEmbracingSet"); + var BS = i((e, t, r) => (e[R] = true, MM(e) ? jM(e, t, r) : GM(e, t, r)), "printSetStatement"); + var bS = i((e, t, r) => { + let n = t.call(r, "target"), s = e.start ? t.call(r, "start") : "", a = e.end ? t.call(r, "end") : ""; + return E([n, "[", s, ":", a, "]"]); + }, "printSliceExpression"); + var OS = i((e, t, r) => { + let n = [e.trimLeft ? "{%-" : "{%", " spaceless ", e.trimRightSpaceless ? "-%}" : "%}"]; + return n.push(_e(e, t, r, "body")), n.push(q), n.push(e.trimLeftEndspaceless ? "{%-" : "{%", " endspaceless ", e.trimRight ? "-%}" : "%}"), F(E(n)); + }, "printSpacelessBlock"); + var UM = i((e, t) => t === 0 || e[t - 1] !== "\\", "isUnmaskedOccurrence"); + var NS = i((e) => (t) => { + let r = t.indexOf(e); + for (; r >= 0; ) { + if (UM(t, r)) + return true; + r = t.indexOf(e, r + 1); + } + return false; + }, "containsUnmasked"); + var YM = NS("'"); + var VM = NS('"'); + var KM = i((e, t) => YM(e) ? '"' : VM(e) ? "'" : Pn(t), "getQuoteChar"); + var _S = i((e, t, r, n) => { + let s = Ft(t, R, false), a = Ft(t, ji, null); + if (s) { + let u = a || KM(e.value, n); + return u + e.value + u; + } + return e.value; + }, "printStringLiteral"); + var IS = { TestNullExpression: "null", TestDivisibleByExpression: "divisible by", TestDefinedExpression: "defined", TestEmptyExpression: "empty", TestEvenExpression: "even", TestOddExpression: "odd", TestIterableExpression: "iterable", TestSameAsExpression: "same as" }; + var WM = i((e) => e.constructor.name === "UnarySubclass" && e.operator === "not", "isNegator"); + var RS = i((e, t, r) => { + let n = e.__proto__.type, s = [t.call(r, "expression"), " is "], a = dr(t), u = Array.isArray(e.arguments) && e.arguments.length > 0; + if (WM(a) && s.push("not "), IS[n] ? s.push(IS[n]) : console.error("TestExpression: No text for " + n + " defined"), u) { + let c = t.map(r, "arguments"), p = ue(E([",", B]), c); + s.push(F(E(["(", P(E([H, p])), H, ")"]))); + } + return E(s); + }, "printTestExpression"); + var HM = i((e, t = true) => { + let r = lt(e); + return r === 0 ? t ? B : "" : r === 1 ? q : E([q, q]); + }, "newlinesOnly"); + var PS = i((e, t, r) => { + let n = e[jr] === true, s = e[Ur] === true, a = t.call(r, "value"); + if (Kr(a) && e[Yi]) + return HM(a); + let u = Gl(a, n, s); + return ue(E([q, q]), u); + }, "printTextStatement"); + var qS = i((e) => { + let t = e.value.value || "", r = $a(t), n = t.length >= 3 ? t[2] === "-" : false, s = t.length >= 3 ? t.slice(-3, -2) === "-" : false; + return lt(r) === 0 ? za(r, n, s) : E([n ? "{#-" : "{#", r, s ? "-#}" : "#}"]); + }, "printTwigComment"); + var wS = i((e, t, r) => { + e[U] = false, e[R] = true; + let n = [e.operator, t.call(r, "argument")]; + return ke(t, n, e), F(E(n)); + }, "printUnaryExpression"); + var LS = W(J()); + var XM = i((e) => Wi(e), "argumentNeedsParentheses"); + var $M = i((e) => e === "not", "isLogicalOperator"); + var JM = i((e, t, r) => { + let n = Ft(t, Vr, false); + n || (e[Vr] = true); + let a = dr(t)[Yr] !== false, u = [e.operator, " "], c = XM(e.argument), p = t.call(r, "argument"); + c ? u.push("(", P(E([H, p])), E([H, ")"])) : u.push(p); + let f = E(u); + return !n && a ? F(f) : f; + }, "printLogicalExpression"); + var kS = i((e, t, r) => { + let n = [], s = LS.Node.isTestExpression(e.argument); + return $M(e.operator) && !s ? JM(e, t, r) : (s || n.push(e.operator, " "), n.push(t.call(r, "argument")), E(n)); + }, "printUnarySubclass"); + var MS = i((e, t, r) => { + e[R] = true; + let n = [e.trimLeft ? "{%-" : "{%", " url ", t.call(r, "name")]; + if (e.arguments && e.arguments.length > 0) { + n.push(" "); + let s = t.map(r, "arguments"), a = F(E([E([H, ue(" ", s)]), H])); + n.push(a); + } + return n.push(e.trimRight ? " -%}" : " %}"), E(n); + }, "printUrlStatement"); + var GS = i((e, t, r) => { + let n = [e.trimLeft ? "{%-" : "{%", ' use "', t.call(r, "source"), '"']; + if (e.aliases && e.aliases.length > 0) { + n.push(" with"); + let a = t.map(r, "aliases"); + n.push(P(E([B, ue(E([",", B]), a)]))), n.push(B); + } else + n.push(" "); + return n.push(e.trimRight ? "-%}" : "%}"), F(E(n)); + }, "printUseStatement"); + var jS = i((e, t, r) => { + let n = t.call(r, "name"); + e[R] = true; + let s = t.call(r, "value"), u = Ki(e.value) ? E([" ", s]) : P(E([B, s])); + return E([n, " =", u]); + }, "printVariableDeclarationStatement"); + var US = i((e, t, r) => { + e[U] = false; + let n; + if (e.arguments && e.arguments.length > 0) { + let a = t.map(r, "arguments"); + n = F(E([E([H, ue(" ", a)]), H])); + } + if (Array.isArray(e.body)) { + let u = [E([e.trimLeft ? "{%-" : "{%", " with ", n, e.trimRightBlock ? " -%}" : " %}"])]; + if (e.body.length > 0) { + let p = _e(e, t, r, "body"); + u.push(p); + } + return u.push(q), u.push(e.trimLeftEndblock ? "{%-" : "{%", " endwith", e.trimRight ? " -%}" : " %}"), F(E(u)); + } else if (Node.isPrintExpressionStatement(e.body)) { + let a = [e.trimLeft ? "{%-" : "{%", " with ", n, " ", t.call(r, "body", "value"), e.trimRight ? " -%}" : " %}"]; + return E(a); + } + }, "printWithStatement"); + var _ = {}; + var zM = i((e) => { + if (e && e.printers) + for (let t of Object.keys(e.printers)) + _[t] = e.printers[t]; + }, "applyPlugin"); + var QM = i((e) => { + let t = Ya(e); + ql(t).forEach((n) => { + zM(n); + }); + }, "applyPlugins"); + var ZM = Xi("prettier-ignore"); + var eG = Xi("prettier-ignore-start"); + var tG = Xi("prettier-ignore-end"); + var rG = $i("prettier-ignore"); + var nG = $i("prettier-ignore-start"); + var iG = $i("prettier-ignore-end"); + var sG = i((e) => ZM(e) || rG(e), "isIgnoreNextComment"); + var aG = i((e) => eG(e) || nG(e), "isIgnoreRegionStartComment"); + var uG = i((e) => tG(e) || iG(e), "isIgnoreRegionEndComment"); + var Hl = ""; + var Qi = false; + var Wl = false; + var YS = i((e) => { + Wl = Wl && !VS(e) || sG(e), Qi = Qi || aG(e); + }, "checkForIgnoreStart"); + var oG = i((e) => { + Qi && uG(e) && (Qi = false); + }, "checkForIgnoreEnd"); + var VS = i((e) => !wn(e), "shouldApplyIgnoreNext"); + var KS = i((e, t, r) => { + QM(t); + let n = e.getValue(), s = n.constructor.name; + n[Qa] && (Hl = n[Qa]), t.twigPrintWidth && (t.printWidth = t.twigPrintWidth), oG(n); + let a = VS(n) && Wl || Qi, u = _[s]; + return !a && u ? (YS(n), _[s](n, e, r, t)) : (u || console.warn(`No print function available for node type "${s}"`), YS(n), cG(n) ? lG(n) : ""); + }, "print"); + var lG = i((e) => Hl.substring(e.loc.start.index, e.loc.end.index), "getSubstringForNode"); + var cG = i((e) => Hl && e.loc && e.loc.start && e.loc.end && e.loc.start.index && e.loc.end.index, "canGetSubstringForNode"); + _.SequenceExpression = CS; + _.ConstantValue = (e) => e.value; + _.StringLiteral = _S; + _.Identifier = ES; + _.UnaryExpression = wS; + _.BinaryExpression = eu; + _.BinarySubclass = eu; + _.UnarySubclass = kS; + _.TestExpression = RS; + _.ConditionalExpression = Jv; + _.Element = Zv; + _.Attribute = Uv; + _.PrintTextStatement = PS; + _.PrintExpressionStatement = rS; + _.MemberExpression = xS; + _.FilterExpression = aS; + _.ObjectExpression = vS; + _.ObjectProperty = FS; + var WS = i((e) => "" + e.value, "returnNodeValue"); + _.Fragment = (e, t, r) => t.call(r, "value"); + _.NumericLiteral = WS; + _.BooleanLiteral = WS; + _.NullLiteral = () => "null"; + _.ArrayExpression = jv; + _.CallExpression = $v; + _.NamedArgumentExpression = gS; + _.SliceExpression = bS; + _.UseStatement = GS; + _.AliasExpression = Gv; + _.BlockStatement = Hv; + _.SpacelessBlock = OS; + _.AutoescapeBlock = Yv; + _.FlushStatement = uS; + _.IncludeStatement = yS; + _.UrlStatement = MS; + _.WithStatement = US; + _.IfStatement = hS; + _.MountStatement = TS; + _.ForStatement = oS; + _.BinaryConcatExpression = eu; + _.SetStatement = BS; + _.VariableDeclarationStatement = jS; + _.DoStatement = Qv; + _.ExtendsStatement = nS; + _.EmbedStatement = eS; + _.FilterBlockStatement = iS; + _.ImportDeclaration = DS; + _.FromStatement = lS; + _.MacroDeclarationStatement = AS; + _.TwigComment = qS; + _.HtmlComment = dS; + _.Declaration = zv; + _.GenericTwigTag = (e, t, r, n) => { + let s = e.tagName; + return _[s + "Tag"] ? _[s + "Tag"](e, t, r, n) : fS(e, t, r, n); + }; + _.GenericToken = cS; + _.String = (e) => e; + var HS = W(J()); + function XS(e, t, r, n) { + let s = e.getValue(); + if (n.embeddedLanguageFormatting == "auto" && s instanceof HS.Element) { + let a = s.name.toLowerCase(); + if (a == "script" || a == "style") { + let u = a == "script" ? "babel" : "css", { value: c } = s.children?.[0].value; + if (c) { + let p = F(Yl(s, e, t)), f = P([H, r(c, { ...n, parser: u }, { stripTrailingHardline: true })]); + return [p, f, q, E([""])]; + } + } + } + return false; + } + i(XS, "embed"); + var pG = [{ name: "melody", parsers: ["melody"], group: "Melody", tmScope: "melody.twig", aceMode: "html", codemirrorMode: "clike", codemirrorMimeType: "text/melody-twig", extensions: [".melody.twig", ".html.twig", ".twig", ".django", ".jinja"], linguistLanguageId: 0, vscodeLanguageIds: ["twig", "django", "django-html"] }]; + function fG() { + return false; + } + i(fG, "hasPragma"); + function dG() { + return -1; + } + i(dG, "locStart"); + function EG() { + return -1; + } + i(EG, "locEnd"); + var mG = { melody: { parse: Mv, astFormat: "melody", hasPragma: fG, locStart: dG, locEnd: EG } }; + function hG(e) { + return e.ast_type && e.ast_type !== "comment"; + } + i(hG, "canAttachComment"); + function DG(e) { + let t = e.getValue(); + switch (t.ast_type) { + case "comment": + return t.value; + default: + throw new Error("Not a comment: " + JSON.stringify(t)); + } + } + i(DG, "printComment"); + function yG(e, t) { + delete t.lineno, delete t.col_offset; + } + i(yG, "clean"); + var AG = { melody: { print: KS, embed: XS, printComment: DG, canAttachComment: hG, massageAstNode: yG, willPrintOwnComments: () => true } }; + var xG = { twigMelodyPlugins: { type: "path", category: "Global", array: true, default: [{ value: [] }], description: "Provide additional plugins for Melody. Relative file path from the project root." }, twigMultiTags: { type: "path", category: "Global", array: true, default: [{ value: [] }], description: "Make custom Twig tags known to the parser." }, twigSingleQuote: { type: "boolean", category: "Global", default: true, description: "Use single quotes in Twig files?" }, twigAlwaysBreakObjects: { type: "boolean", category: "Global", default: true, description: "Should objects always break in Twig files?" }, twigPrintWidth: { type: "int", category: "Global", default: 80, description: "Print width for Twig files" }, twigFollowOfficialCodingStandards: { type: "boolean", category: "Global", default: true, description: "See https://twig.symfony.com/doc/2.x/coding_standards.html" }, twigOutputEndblockName: { type: "boolean", category: "Global", default: false, description: "Output the Twig block name in the 'endblock' tag" } }; + } +}); + +// src/extension.ts +var extension_exports = {}; +__export(extension_exports, { + activate: () => activate, + deactivate: () => deactivate +}); +module.exports = __toCommonJS(extension_exports); +var import_vscode3 = require("vscode"); + +// src/formatting.ts +var import_prettier = require("prettier"); +var htmlPlugin = __toESM(require("prettier/parser-html")); +var import_vscode = require("vscode"); +var djangoPlugin = __toESM(require_out()); +function formatting(document, diagnosticCollection) { + const options2 = { + "tabWidth": 2, + "printWidth": 5e3, + "semi": false, + "singleQuote": true, + "trailingComma": "none", + "twigPrintWidth": 5e3, + "twigMultiTags": [ + "with,endwith" + ], + "twigAlwaysBreakObjects": false, + "twigSingleQuote": true, + "parser": "melody", + "plugins": [], + "htmlWhitespaceSensitivity": "ignore", + "embeddedLanguageFormatting": "auto" + }; + Object.assign(options2, import_prettier.resolveConfig.sync(document.uri.fsPath) ?? []); + options2.twigSingleQuote = true; + options2.plugins = [djangoPlugin]; + options2.parser = "melody"; + options2.htmlWhitespaceSensitivity = "ignore"; + options2.embeddedLanguageFormatting = "off"; + const doc = { text: document.getText() }; + try { + doc.text = (0, import_prettier.format)(doc.text, options2); + if (!doc.text) { + throw new Error("django-html: formatting failed"); + } + formatStyleAndScript(doc, options2); + diagnosticCollection?.clear(); + } catch (error) { + if (diagnosticCollection && error.loc) { + diagnosticCollection.clear(); + const loc = error.loc; + if (!loc.end) { + loc.end = { line: loc.start.line, column: loc.start.column + 1 }; + } + let line = loc.start.line - 1, col = loc.start.column - 1; + let line2 = loc.end.line - 1, col2 = loc.end.column - 1; + let range = new import_vscode.Range(line, col, line2, col2); + setTimeout(() => diagnosticCollection.set(document.uri, [new import_vscode.Diagnostic(range, error.message.split(" ")[0].split("\n")[0], 0)]), 250); + } else { + console.log(error); + } + } + return doc.text; +} +function formatStyleAndScript(doc, options2) { + let indent = " "; + if (options2.useTabs) { + indent = " "; + } else { + if (options2.tabWidth) { + indent = " ".repeat(options2.tabWidth); + } + } + let eol = doc.text.includes("\r\n") ? "\r\n" : "\n"; + let result = htmlPlugin.parsers.html.parse(doc.text, null, {}); + let incrChars = 0; + let incrLines = 0; + const doFormat = (root) => { + if (!root.children) + return; + for (let i2 = 0; i2 < root.children.length; i2++) { + const node = root.children[i2]; + if (node.type == "element" && (node.name == "script" || node.name == "style")) { + if (node.children.length == 0) { + continue; + } + if (node.prev && node.prev.value) { + let pv = node.prev.value.trim(); + if (pv.endsWith("{# prettier-ignore #}") || pv.endsWith("{% comment %}")) { + continue; + } + } + let child = node.children[0]; + let ctext = child.value; + if (ctext.trim()) { + options2.parser = node.name == "script" ? "babel" : "css"; + let tagOffset = node.sourceSpan.start.offset; + let tagOffset2 = tagOffset; + while (tagOffset2 > -1) { + if (doc.text[tagOffset2 + incrChars] == "\n") { + break; + } + tagOffset2--; + } + let tagIndent = doc.text.slice(tagOffset2 + 1 + incrChars, tagOffset + incrChars).replace(/\S/g, " "); + ctext = "\n".repeat(child.sourceSpan.start.line + incrLines) + " ".repeat(child.sourceSpan.start.col) + child.value; + ctext = eol + (0, import_prettier.format)(ctext, options2).trim().split(eol).map((line) => tagIndent + indent + line).join(eol) + eol + tagIndent; + } else { + ctext = ""; + } + const start = child.sourceSpan.start.offset; + doc.text = doc.text.slice(0, start + incrChars) + ctext + doc.text.slice(start + child.value.length + incrChars); + incrChars += ctext.length - child.value.length; + incrLines += ctext.split("\n").length - child.value.split("\n").length; + } else { + doFormat(node); + } + } + }; + doFormat(result); +} + +// src/virtualDocument.ts +var import_vscode2 = require("vscode"); +var virtualDocumentContents = /* @__PURE__ */ new Map(); +var virtualDocumentPaths = /* @__PURE__ */ new Map(); +import_vscode2.workspace.registerTextDocumentContentProvider("dj-embedded-content", { + provideTextDocumentContent: (uri) => { + const i2 = uri.path.lastIndexOf("/"); + const originalUri = uri.path.slice(1).slice(0, i2 - 1); + const decodedUri = decodeURIComponent(originalUri); + return virtualDocumentContents.get(decodedUri); + } +}); +function registerTextDocumentEvents(context, languageIds2) { + context.subscriptions.push(import_vscode2.workspace.onDidChangeTextDocument((event) => { + if (languageIds2.includes(event.document.languageId)) { + virtualDocumentPaths.delete(event.document.uri.toString()); + } + })); + context.subscriptions.push(import_vscode2.workspace.onDidCloseTextDocument((doc) => { + if (doc.languageId == "html") { + virtualDocumentContents.delete(doc.uri.toString()); + } + })); + context.subscriptions.push(import_vscode2.workspace.onDidRenameFiles((event) => { + event.files.forEach((f) => { + virtualDocumentContents.delete(f.oldUri.toString()); + }); + })); +} +function createVirtualDoc(document, languageId) { + languageId = languageId ?? "html"; + let originalUri = document.uri.toString(); + if (languageId != "html") { + originalUri += "." + languageId; + } + virtualDocumentContents.set(originalUri, document.getText()); + let path; + if (virtualDocumentPaths.has(originalUri)) { + path = virtualDocumentPaths.get(originalUri); + } else { + path = `/${encodeURIComponent(originalUri)}/${Math.random()}.${languageId}`; + virtualDocumentPaths.set(originalUri, path); + } + return import_vscode2.Uri.from({ + scheme: "dj-embedded-content", + authority: "django-html", + path + }); +} +function clearVirtualDocumentContents() { + virtualDocumentContents.clear(); +} + +// src/extension.ts +var languageIds = ["django-html"]; +function activate(context) { + registerTextDocumentEvents(context, languageIds); + const diagnosticCollection = import_vscode3.languages.createDiagnosticCollection("django"); + context.subscriptions.push(diagnosticCollection); + context.subscriptions.push(import_vscode3.languages.registerDocumentFormattingEditProvider("django-html", { + provideDocumentFormattingEdits: async (document, options2, token) => { + const otext = document.getText(); + if (!otext) { + return; + } + let newDoc = document; + const text = formatting(newDoc, diagnosticCollection); + if (text && text != otext) { + const range = new import_vscode3.Range(document.positionAt(0), document.positionAt(otext.length)); + return [new import_vscode3.TextEdit(range, text)]; + } else { + return []; + } + } + })); + context.subscriptions.push(import_vscode3.languages.registerCompletionItemProvider(languageIds, { + provideCompletionItems: async (document, position, token, context2) => { + const vdocUri = createVirtualDoc(document); + return await import_vscode3.commands.executeCommand( + "vscode.executeCompletionItemProvider", + vdocUri, + position, + context2.triggerCharacter + ); + } + }, ".", "(", ":", "<")); + context.subscriptions.push(import_vscode3.languages.registerHoverProvider(languageIds, { + provideHover: async (document, position, token) => { + const vdocUri = createVirtualDoc(document); + const hs2 = await import_vscode3.commands.executeCommand( + "vscode.executeHoverProvider", + vdocUri, + position + ); + return hs2?.[0]; + } + })); +} +function deactivate() { + clearVirtualDocumentContents(); + return void 0; +} +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + activate, + deactivate +}); +//# sourceMappingURL=extension.js.map diff --git a/out/extension.js.map b/out/extension.js.map new file mode 100644 index 0000000..c2ba062 --- /dev/null +++ b/out/extension.js.map @@ -0,0 +1,7 @@ +{ + "version": 3, + "sources": ["../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_global.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_has.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_fails.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_descriptors.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_core.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_a-function.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_ctx.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_is-object.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_an-object.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_dom-create.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_ie8-dom-define.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_to-primitive.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_object-dp.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_property-desc.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_hide.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_export.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_redefine.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_uid.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_meta.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_library.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_shared.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_wks.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_set-to-string-tag.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_wks-ext.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_wks-define.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_cof.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_iobject.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_defined.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_to-iobject.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_to-integer.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_to-length.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_to-absolute-index.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_array-includes.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_shared-key.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_object-keys-internal.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_enum-bug-keys.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_object-keys.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_object-gops.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_object-pie.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_enum-keys.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_is-array.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_to-object.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_object-dps.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_html.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_object-create.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_object-gopn.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_object-gopn-ext.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_object-gopd.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/es6.symbol.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/fn/object/get-own-property-symbols.js", "../../node_modules/.pnpm/babel-runtime@6.26.0/node_modules/babel-runtime/core-js/object/get-own-property-symbols.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_add-to-unscopables.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_iter-step.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_iterators.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_iter-create.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_object-gpo.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_iter-define.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/es6.array.iterator.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/web.dom.iterable.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_string-at.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/es6.string.iterator.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_classof.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/core.get-iterator-method.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/core.get-iterator.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/fn/get-iterator.js", "../../node_modules/.pnpm/babel-runtime@6.26.0/node_modules/babel-runtime/core-js/get-iterator.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/_object-sap.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/es6.object.keys.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/fn/object/keys.js", "../../node_modules/.pnpm/babel-runtime@6.26.0/node_modules/babel-runtime/core-js/object/keys.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/fn/json/stringify.js", "../../node_modules/.pnpm/babel-runtime@6.26.0/node_modules/babel-runtime/core-js/json/stringify.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/fn/symbol/for.js", "../../node_modules/.pnpm/babel-runtime@6.26.0/node_modules/babel-runtime/core-js/symbol/for.js", "../../node_modules/.pnpm/babel-types@6.26.0/node_modules/babel-types/lib/constants.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/es6.object.create.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/fn/object/create.js", "../../node_modules/.pnpm/babel-runtime@6.26.0/node_modules/babel-runtime/core-js/object/create.js", "../../node_modules/.pnpm/babel-types@6.26.0/node_modules/babel-types/lib/retrievers.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/fn/symbol/iterator.js", "../../node_modules/.pnpm/babel-runtime@6.26.0/node_modules/babel-runtime/core-js/symbol/iterator.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/es6.object.to-string.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/es7.symbol.async-iterator.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/es7.symbol.observable.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/fn/symbol/index.js", "../../node_modules/.pnpm/babel-runtime@6.26.0/node_modules/babel-runtime/core-js/symbol.js", "../../node_modules/.pnpm/babel-runtime@6.26.0/node_modules/babel-runtime/helpers/typeof.js", "../../node_modules/.pnpm/esutils@2.0.3/node_modules/esutils/lib/ast.js", "../../node_modules/.pnpm/esutils@2.0.3/node_modules/esutils/lib/code.js", "../../node_modules/.pnpm/esutils@2.0.3/node_modules/esutils/lib/keyword.js", "../../node_modules/.pnpm/esutils@2.0.3/node_modules/esutils/lib/utils.js", "../../node_modules/.pnpm/babel-types@6.26.0/node_modules/babel-types/lib/validators.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/modules/es6.number.max-safe-integer.js", "../../node_modules/.pnpm/core-js@2.6.12/node_modules/core-js/library/fn/number/max-safe-integer.js", "../../node_modules/.pnpm/babel-runtime@6.26.0/node_modules/babel-runtime/core-js/number/max-safe-integer.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getPrototype.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isPlainObject.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsRegExp.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isRegExp.js", "../../node_modules/.pnpm/babel-types@6.26.0/node_modules/babel-types/lib/converters.js", "../../node_modules/.pnpm/babel-types@6.26.0/node_modules/babel-types/lib/flow.js", "../../node_modules/.pnpm/to-fast-properties@1.0.3/node_modules/to-fast-properties/index.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackClear.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackDelete.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackGet.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackHas.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackSet.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayEach.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_defineProperty.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseAssignValue.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assignValue.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_copyObject.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTimes.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsArguments.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubFalse.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isBuffer.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isLength.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsTypedArray.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isTypedArray.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isPrototype.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeKeys.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeys.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/keys.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseAssign.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeKeysIn.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeysIn.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/keysIn.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseAssignIn.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneBuffer.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_copyArray.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayFilter.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubArray.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getSymbols.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_copySymbols.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayPush.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getSymbolsIn.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_copySymbolsIn.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetAllKeys.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getAllKeys.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getAllKeysIn.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_DataView.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Promise.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Set.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_WeakMap.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getTag.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_initCloneArray.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneArrayBuffer.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneDataView.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneRegExp.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneSymbol.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneTypedArray.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_initCloneByTag.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseCreate.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_initCloneObject.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsMap.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isMap.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsSet.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSet.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseClone.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/clone.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheAdd.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheHas.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_SetCache.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFindIndex.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNaN.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_strictIndexOf.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIndexOf.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayIncludes.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayIncludesWith.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cacheHas.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/noop.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToArray.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createSet.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUniq.js", "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniq.js", "../../node_modules/.pnpm/babel-types@6.26.0/node_modules/babel-types/lib/definitions/index.js", "../../node_modules/.pnpm/babel-types@6.26.0/node_modules/babel-types/lib/definitions/core.js", "../../node_modules/.pnpm/babel-types@6.26.0/node_modules/babel-types/lib/definitions/es2015.js", "../../node_modules/.pnpm/babel-types@6.26.0/node_modules/babel-types/lib/definitions/flow.js", "../../node_modules/.pnpm/babel-types@6.26.0/node_modules/babel-types/lib/definitions/jsx.js", "../../node_modules/.pnpm/babel-types@6.26.0/node_modules/babel-types/lib/definitions/misc.js", "../../node_modules/.pnpm/babel-types@6.26.0/node_modules/babel-types/lib/definitions/experimental.js", "../../node_modules/.pnpm/babel-types@6.26.0/node_modules/babel-types/lib/definitions/init.js", "../../node_modules/.pnpm/babel-types@6.26.0/node_modules/babel-types/lib/react.js", "../../node_modules/.pnpm/babel-types@6.26.0/node_modules/babel-types/lib/index.js", "../../node_modules/.pnpm/melody-types@1.7.5/node_modules/melody-types/lib/index.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayMap.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseToString.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSlice.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_castSlice.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFindIndex.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNaN.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_strictIndexOf.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIndexOf.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_charsEndIndex.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_asciiToArray.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_hasUnicode.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_unicodeToArray.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_stringToArray.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/toString.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_trimmedEndIndex.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/trimEnd.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_charsStartIndex.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/trimStart.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayFilter.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_createBaseFor.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFor.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTimes.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsArguments.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/stubFalse.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/isBuffer.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/isLength.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsTypedArray.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/isTypedArray.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_isPrototype.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeKeys.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeys.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/keys.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseForOwn.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_createBaseEach.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseEach.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFilter.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_stackClear.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_stackDelete.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_stackGet.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_stackHas.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_stackSet.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheAdd.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheHas.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_SetCache.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_arraySome.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_cacheHas.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_equalArrays.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_mapToArray.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_setToArray.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_equalByTag.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayPush.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetAllKeys.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/stubArray.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_getSymbols.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_getAllKeys.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_equalObjects.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_DataView.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_Promise.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_Set.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_WeakMap.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_getTag.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqualDeep.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqual.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsMatch.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_isStrictComparable.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_getMatchData.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_matchesStrictComparable.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMatches.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_isKey.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/memoize.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_memoizeCapped.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_stringToPath.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_castPath.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_toKey.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGet.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/get.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseHasIn.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_hasPath.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/hasIn.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMatchesProperty.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseProperty.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_basePropertyDeep.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/property.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIteratee.js", "../../../npm/pnpm/global/5/.pnpm/lodash@4.17.21/node_modules/lodash/filter.js", "../../node_modules/.pnpm/resolve@1.22.4/node_modules/resolve/lib/homedir.js", "../../node_modules/.pnpm/resolve@1.22.4/node_modules/resolve/lib/caller.js", "../../node_modules/.pnpm/path-parse@1.0.7/node_modules/path-parse/index.js", "../../node_modules/.pnpm/resolve@1.22.4/node_modules/resolve/lib/node-modules-paths.js", "../../node_modules/.pnpm/resolve@1.22.4/node_modules/resolve/lib/normalize-options.js", "../../node_modules/.pnpm/function-bind@1.1.1/node_modules/function-bind/implementation.js", "../../node_modules/.pnpm/function-bind@1.1.1/node_modules/function-bind/index.js", "../../node_modules/.pnpm/has@1.0.3/node_modules/has/src/index.js", "../../node_modules/.pnpm/is-core-module@2.13.0/node_modules/is-core-module/core.json", "../../node_modules/.pnpm/is-core-module@2.13.0/node_modules/is-core-module/index.js", "../../node_modules/.pnpm/resolve@1.22.4/node_modules/resolve/lib/async.js", "../../node_modules/.pnpm/resolve@1.22.4/node_modules/resolve/lib/core.json", "../../node_modules/.pnpm/resolve@1.22.4/node_modules/resolve/lib/core.js", "../../node_modules/.pnpm/resolve@1.22.4/node_modules/resolve/lib/is-core.js", "../../node_modules/.pnpm/resolve@1.22.4/node_modules/resolve/lib/sync.js", "../../node_modules/.pnpm/resolve@1.22.4/node_modules/resolve/index.js", "../../prettier-plugin-django/src/index.js", "../../prettier-plugin-django/src/melody-parser/src/Parser.js", "../../prettier-plugin-django/src/melody-parser/src/Associativity.js", "../../prettier-plugin-django/src/melody-parser/src/util.js", "../../prettier-plugin-django/src/melody-parser/src/TokenTypes.js", "../../prettier-plugin-django/src/melody-parser/src/GenericTagParser.js", "../../prettier-plugin-django/src/melody-parser/src/GenericMultiTagParser.js", "../../prettier-plugin-django/src/melody-parser/src/elementInfo.js", "../../prettier-plugin-django/src/melody-parser/src/TokenStream.js", "../../prettier-plugin-django/src/melody-parser/src/CharStream.js", "../../prettier-plugin-django/src/melody-parser/src/Lexer.js", "../../prettier-plugin-django/src/melody-extension-core/src/operators.js", "../../prettier-plugin-django/src/melody-extension-core/src/types.js", "../../prettier-plugin-django/src/melody-extension-core/src/parser/autoescape.js", "../../prettier-plugin-django/src/melody-extension-core/src/parser/block.js", "../../prettier-plugin-django/src/melody-extension-core/src/parser/do.js", "../../prettier-plugin-django/src/melody-extension-core/src/parser/embed.js", "../../prettier-plugin-django/src/melody-extension-core/src/parser/extends.js", "../../prettier-plugin-django/src/melody-extension-core/src/parser/filter.js", "../../prettier-plugin-django/src/melody-extension-core/src/parser/flush.js", "../../prettier-plugin-django/src/melody-extension-core/src/parser/for.js", "../../prettier-plugin-django/src/melody-extension-core/src/parser/from.js", "../../prettier-plugin-django/src/melody-extension-core/src/parser/if.js", "../../prettier-plugin-django/src/melody-extension-core/src/parser/import.js", "../../prettier-plugin-django/src/melody-extension-core/src/parser/include.js", "../../prettier-plugin-django/src/melody-extension-core/src/parser/macro.js", "../../prettier-plugin-django/src/melody-extension-core/src/parser/mount.js", "../../prettier-plugin-django/src/melody-extension-core/src/parser/set.js", "../../prettier-plugin-django/src/melody-extension-core/src/parser/spaceless.js", "../../prettier-plugin-django/src/melody-extension-core/src/parser/url.js", "../../prettier-plugin-django/src/melody-extension-core/src/parser/use.js", "../../prettier-plugin-django/src/melody-extension-core/src/parser/with.js", "../../prettier-plugin-django/src/melody-extension-core/src/index.js", "../../prettier-plugin-django/src/util/pluginUtil.js", "../../prettier-plugin-django/src/util/publicSymbols.js", "../../prettier-plugin-django/src/util/publicFunctions.js", "../../prettier-plugin-django/src/util/prettier-doc-builders.js", "../../prettier-plugin-django/src/util/printFunctions.js", "../../prettier-plugin-django/src/parser.js", "../../prettier-plugin-django/src/print/AliasExpression.js", "../../prettier-plugin-django/src/print/ArrayExpression.js", "../../prettier-plugin-django/src/print/Attribute.js", "../../prettier-plugin-django/src/print/AutoescapeBlock.js", "../../prettier-plugin-django/src/print/BinaryExpression.js", "../../prettier-plugin-django/src/print/BlockStatement.js", "../../prettier-plugin-django/src/print/CallExpression.js", "../../prettier-plugin-django/src/print/ConditionalExpression.js", "../../prettier-plugin-django/src/print/Declaration.js", "../../prettier-plugin-django/src/print/DoStatement.js", "../../prettier-plugin-django/src/print/Element.js", "../../prettier-plugin-django/src/print/EmbedStatement.js", "../../prettier-plugin-django/src/print/ExpressionStatement.js", "../../prettier-plugin-django/src/print/ExtendsStatement.js", "../../prettier-plugin-django/src/print/FilterBlockStatement.js", "../../prettier-plugin-django/src/print/FilterExpression.js", "../../prettier-plugin-django/src/print/FlushStatement.js", "../../prettier-plugin-django/src/print/ForStatement.js", "../../prettier-plugin-django/src/print/FromStatement.js", "../../prettier-plugin-django/src/print/GenericToken.js", "../../prettier-plugin-django/src/print/GenericTwigTag.js", "../../prettier-plugin-django/src/print/HtmlComment.js", "../../prettier-plugin-django/src/print/Identifier.js", "../../prettier-plugin-django/src/print/IfStatement.js", "../../prettier-plugin-django/src/print/ImportDeclaration.js", "../../prettier-plugin-django/src/print/IncludeStatement.js", "../../prettier-plugin-django/src/print/MacroDeclarationStatement.js", "../../prettier-plugin-django/src/print/MemberExpression.js", "../../prettier-plugin-django/src/print/MountStatement.js", "../../prettier-plugin-django/src/print/NamedArgumentExpression.js", "../../prettier-plugin-django/src/print/ObjectExpression.js", "../../prettier-plugin-django/src/print/ObjectProperty.js", "../../prettier-plugin-django/src/print/SequenceExpression.js", "../../prettier-plugin-django/src/print/SetStatement.js", "../../prettier-plugin-django/src/print/SliceExpression.js", "../../prettier-plugin-django/src/print/SpacelessBlock.js", "../../prettier-plugin-django/src/print/StringLiteral.js", "../../prettier-plugin-django/src/print/TestExpression.js", "../../prettier-plugin-django/src/print/TextStatement.js", "../../prettier-plugin-django/src/print/TwigComment.js", "../../prettier-plugin-django/src/print/UnaryExpression.js", "../../prettier-plugin-django/src/print/UnarySubclass.js", "../../prettier-plugin-django/src/print/UrlStatement.js", "../../prettier-plugin-django/src/print/UseStatement.js", "../../prettier-plugin-django/src/print/VariableDeclarationStatement.js", "../../prettier-plugin-django/src/print/WithStatement.js", "../../prettier-plugin-django/src/printer.js", "../../prettier-plugin-django/src/embed.js", "../src/extension.ts", "../src/formatting.ts", "../src/virtualDocument.ts"], + "sourcesContent": ["// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n", "var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n", "module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n", "// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n", "var core = module.exports = { version: '2.6.12' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n", "module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n", "// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n", "module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n", "var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n", "var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n", "module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n", "// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n", "var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n", "module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n", "var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n", "var global = require('./_global');\nvar core = require('./_core');\nvar ctx = require('./_ctx');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var IS_WRAP = type & $export.W;\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE];\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];\n var key, own, out;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n if (own && has(exports, key)) continue;\n // export native or passed\n out = own ? target[key] : source[key];\n // prevent global pollution for namespaces\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n // bind timers to global for call from export context\n : IS_BIND && own ? ctx(out, global)\n // wrap global constructors for prevent change them in library\n : IS_WRAP && target[key] == out ? (function (C) {\n var F = function (a, b, c) {\n if (this instanceof C) {\n switch (arguments.length) {\n case 0: return new C();\n case 1: return new C(a);\n case 2: return new C(a, b);\n } return new C(a, b, c);\n } return C.apply(this, arguments);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n // make static versions for prototype methods\n })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n if (IS_PROTO) {\n (exports.virtual || (exports.virtual = {}))[key] = out;\n // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);\n }\n }\n};\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n", "module.exports = require('./_hide');\n", "var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n", "var META = require('./_uid')('meta');\nvar isObject = require('./_is-object');\nvar has = require('./_has');\nvar setDesc = require('./_object-dp').f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !require('./_fails')(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n", "module.exports = true;\n", "var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '\u00A9 2020 Denis Pushkarev (zloirock.ru)'\n});\n", "var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n", "var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n", "exports.f = require('./_wks');\n", "var global = require('./_global');\nvar core = require('./_core');\nvar LIBRARY = require('./_library');\nvar wksExt = require('./_wks-ext');\nvar defineProperty = require('./_object-dp').f;\nmodule.exports = function (name) {\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n", "var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n", "// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n", "// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n", "// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n", "// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n", "// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n", "var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n", "// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n", "var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n", "var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n", "// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n", "// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n", "exports.f = Object.getOwnPropertySymbols;\n", "exports.f = {}.propertyIsEnumerable;\n", "// all enumerable object keys, includes symbols\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nmodule.exports = function (it) {\n var result = getKeys(it);\n var getSymbols = gOPS.f;\n if (getSymbols) {\n var symbols = getSymbols(it);\n var isEnum = pIE.f;\n var i = 0;\n var key;\n while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n } return result;\n};\n", "// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n", "// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n", "var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n", "var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n", "// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n", "// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n", "// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = require('./_to-iobject');\nvar gOPN = require('./_object-gopn').f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return gOPN(it);\n } catch (e) {\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n", "var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n", "'use strict';\n// ECMAScript 6 symbols shim\nvar global = require('./_global');\nvar has = require('./_has');\nvar DESCRIPTORS = require('./_descriptors');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar META = require('./_meta').KEY;\nvar $fails = require('./_fails');\nvar shared = require('./_shared');\nvar setToStringTag = require('./_set-to-string-tag');\nvar uid = require('./_uid');\nvar wks = require('./_wks');\nvar wksExt = require('./_wks-ext');\nvar wksDefine = require('./_wks-define');\nvar enumKeys = require('./_enum-keys');\nvar isArray = require('./_is-array');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar toObject = require('./_to-object');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar createDesc = require('./_property-desc');\nvar _create = require('./_object-create');\nvar gOPNExt = require('./_object-gopn-ext');\nvar $GOPD = require('./_object-gopd');\nvar $GOPS = require('./_object-gops');\nvar $DP = require('./_object-dp');\nvar $keys = require('./_object-keys');\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n return _create(dP({}, 'a', {\n get: function () { return dP(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (it, key, D) {\n var protoDesc = gOPD(ObjectProto, key);\n if (protoDesc) delete ObjectProto[key];\n dP(it, key, D);\n if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if (has(AllSymbols, key)) {\n if (!D.enumerable) {\n if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n D = _create(D, { enumerable: createDesc(0, false) });\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n anObject(it);\n var keys = enumKeys(P = toIObject(P));\n var i = 0;\n var l = keys.length;\n var key;\n while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P) {\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n it = toIObject(it);\n key = toPrimitive(key, true);\n if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n var D = gOPD(it, key);\n if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n var names = gOPN(toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n var IS_OP = it === ObjectProto;\n var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function (value) {\n if (this === ObjectProto) $set.call(OPSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;\n require('./_object-pie').f = $propertyIsEnumerable;\n $GOPS.f = $getOwnPropertySymbols;\n\n if (DESCRIPTORS && !require('./_library')) {\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function (name) {\n return wrap(wks(name));\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function (key) {\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n },\n useSetter: function () { setter = true; },\n useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });\n\n$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return $GOPS.f(toObject(it));\n }\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it) {\n var args = [it];\n var i = 1;\n var replacer, $replacer;\n while (arguments.length > i) args.push(arguments[i++]);\n $replacer = replacer = args[1];\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n", "require('../../modules/es6.symbol');\nmodule.exports = require('../../modules/_core').Object.getOwnPropertySymbols;\n", "module.exports = { \"default\": require(\"core-js/library/fn/object/get-own-property-symbols\"), __esModule: true };", "module.exports = function () { /* empty */ };\n", "module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n", "module.exports = {};\n", "'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n", "// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n", "'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n", "'use strict';\nvar addToUnscopables = require('./_add-to-unscopables');\nvar step = require('./_iter-step');\nvar Iterators = require('./_iterators');\nvar toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n", "require('./es6.array.iterator');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar TO_STRING_TAG = require('./_wks')('toStringTag');\n\nvar DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +\n 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +\n 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +\n 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +\n 'TextTrackList,TouchList').split(',');\n\nfor (var i = 0; i < DOMIterables.length; i++) {\n var NAME = DOMIterables[i];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = Iterators.Array;\n}\n", "var toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n", "'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n", "// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = require('./_cof');\nvar TAG = require('./_wks')('toStringTag');\n// ES3 wrong here\nvar ARG = cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (e) { /* empty */ }\n};\n\nmodule.exports = function (it) {\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n", "var classof = require('./_classof');\nvar ITERATOR = require('./_wks')('iterator');\nvar Iterators = require('./_iterators');\nmodule.exports = require('./_core').getIteratorMethod = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n", "var anObject = require('./_an-object');\nvar get = require('./core.get-iterator-method');\nmodule.exports = require('./_core').getIterator = function (it) {\n var iterFn = get(it);\n if (typeof iterFn != 'function') throw TypeError(it + ' is not iterable!');\n return anObject(iterFn.call(it));\n};\n", "require('../modules/web.dom.iterable');\nrequire('../modules/es6.string.iterator');\nmodule.exports = require('../modules/core.get-iterator');\n", "module.exports = { \"default\": require(\"core-js/library/fn/get-iterator\"), __esModule: true };", "// most Object methods by ES6 should accept primitives\nvar $export = require('./_export');\nvar core = require('./_core');\nvar fails = require('./_fails');\nmodule.exports = function (KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n", "// 19.1.2.14 Object.keys(O)\nvar toObject = require('./_to-object');\nvar $keys = require('./_object-keys');\n\nrequire('./_object-sap')('keys', function () {\n return function keys(it) {\n return $keys(toObject(it));\n };\n});\n", "require('../../modules/es6.object.keys');\nmodule.exports = require('../../modules/_core').Object.keys;\n", "module.exports = { \"default\": require(\"core-js/library/fn/object/keys\"), __esModule: true };", "var core = require('../../modules/_core');\nvar $JSON = core.JSON || (core.JSON = { stringify: JSON.stringify });\nmodule.exports = function stringify(it) { // eslint-disable-line no-unused-vars\n return $JSON.stringify.apply($JSON, arguments);\n};\n", "module.exports = { \"default\": require(\"core-js/library/fn/json/stringify\"), __esModule: true };", "require('../../modules/es6.symbol');\nmodule.exports = require('../../modules/_core').Symbol['for'];\n", "module.exports = { \"default\": require(\"core-js/library/fn/symbol/for\"), __esModule: true };", "\"use strict\";\n\nexports.__esModule = true;\nexports.NOT_LOCAL_BINDING = exports.BLOCK_SCOPED_SYMBOL = exports.INHERIT_KEYS = exports.UNARY_OPERATORS = exports.STRING_UNARY_OPERATORS = exports.NUMBER_UNARY_OPERATORS = exports.BOOLEAN_UNARY_OPERATORS = exports.BINARY_OPERATORS = exports.NUMBER_BINARY_OPERATORS = exports.BOOLEAN_BINARY_OPERATORS = exports.COMPARISON_BINARY_OPERATORS = exports.EQUALITY_BINARY_OPERATORS = exports.BOOLEAN_NUMBER_BINARY_OPERATORS = exports.UPDATE_OPERATORS = exports.LOGICAL_OPERATORS = exports.COMMENT_KEYS = exports.FOR_INIT_KEYS = exports.FLATTENABLE_KEYS = exports.STATEMENT_OR_BLOCK_KEYS = undefined;\n\nvar _for = require(\"babel-runtime/core-js/symbol/for\");\n\nvar _for2 = _interopRequireDefault(_for);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar STATEMENT_OR_BLOCK_KEYS = exports.STATEMENT_OR_BLOCK_KEYS = [\"consequent\", \"body\", \"alternate\"];\nvar FLATTENABLE_KEYS = exports.FLATTENABLE_KEYS = [\"body\", \"expressions\"];\nvar FOR_INIT_KEYS = exports.FOR_INIT_KEYS = [\"left\", \"init\"];\nvar COMMENT_KEYS = exports.COMMENT_KEYS = [\"leadingComments\", \"trailingComments\", \"innerComments\"];\n\nvar LOGICAL_OPERATORS = exports.LOGICAL_OPERATORS = [\"||\", \"&&\"];\nvar UPDATE_OPERATORS = exports.UPDATE_OPERATORS = [\"++\", \"--\"];\n\nvar BOOLEAN_NUMBER_BINARY_OPERATORS = exports.BOOLEAN_NUMBER_BINARY_OPERATORS = [\">\", \"<\", \">=\", \"<=\"];\nvar EQUALITY_BINARY_OPERATORS = exports.EQUALITY_BINARY_OPERATORS = [\"==\", \"===\", \"!=\", \"!==\"];\nvar COMPARISON_BINARY_OPERATORS = exports.COMPARISON_BINARY_OPERATORS = [].concat(EQUALITY_BINARY_OPERATORS, [\"in\", \"instanceof\"]);\nvar BOOLEAN_BINARY_OPERATORS = exports.BOOLEAN_BINARY_OPERATORS = [].concat(COMPARISON_BINARY_OPERATORS, BOOLEAN_NUMBER_BINARY_OPERATORS);\nvar NUMBER_BINARY_OPERATORS = exports.NUMBER_BINARY_OPERATORS = [\"-\", \"/\", \"%\", \"*\", \"**\", \"&\", \"|\", \">>\", \">>>\", \"<<\", \"^\"];\nvar BINARY_OPERATORS = exports.BINARY_OPERATORS = [\"+\"].concat(NUMBER_BINARY_OPERATORS, BOOLEAN_BINARY_OPERATORS);\n\nvar BOOLEAN_UNARY_OPERATORS = exports.BOOLEAN_UNARY_OPERATORS = [\"delete\", \"!\"];\nvar NUMBER_UNARY_OPERATORS = exports.NUMBER_UNARY_OPERATORS = [\"+\", \"-\", \"++\", \"--\", \"~\"];\nvar STRING_UNARY_OPERATORS = exports.STRING_UNARY_OPERATORS = [\"typeof\"];\nvar UNARY_OPERATORS = exports.UNARY_OPERATORS = [\"void\"].concat(BOOLEAN_UNARY_OPERATORS, NUMBER_UNARY_OPERATORS, STRING_UNARY_OPERATORS);\n\nvar INHERIT_KEYS = exports.INHERIT_KEYS = {\n optional: [\"typeAnnotation\", \"typeParameters\", \"returnType\"],\n force: [\"start\", \"loc\", \"end\"]\n};\n\nvar BLOCK_SCOPED_SYMBOL = exports.BLOCK_SCOPED_SYMBOL = (0, _for2.default)(\"var used to be block scoped\");\nvar NOT_LOCAL_BINDING = exports.NOT_LOCAL_BINDING = (0, _for2.default)(\"should not be considered a local binding\");", "var $export = require('./_export');\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', { create: require('./_object-create') });\n", "require('../../modules/es6.object.create');\nvar $Object = require('../../modules/_core').Object;\nmodule.exports = function create(P, D) {\n return $Object.create(P, D);\n};\n", "module.exports = { \"default\": require(\"core-js/library/fn/object/create\"), __esModule: true };", "\"use strict\";\n\nexports.__esModule = true;\n\nvar _create = require(\"babel-runtime/core-js/object/create\");\n\nvar _create2 = _interopRequireDefault(_create);\n\nexports.getBindingIdentifiers = getBindingIdentifiers;\nexports.getOuterBindingIdentifiers = getOuterBindingIdentifiers;\n\nvar _index = require(\"./index\");\n\nvar t = _interopRequireWildcard(_index);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction getBindingIdentifiers(node, duplicates, outerOnly) {\n var search = [].concat(node);\n var ids = (0, _create2.default)(null);\n\n while (search.length) {\n var id = search.shift();\n if (!id) continue;\n\n var keys = t.getBindingIdentifiers.keys[id.type];\n\n if (t.isIdentifier(id)) {\n if (duplicates) {\n var _ids = ids[id.name] = ids[id.name] || [];\n _ids.push(id);\n } else {\n ids[id.name] = id;\n }\n continue;\n }\n\n if (t.isExportDeclaration(id)) {\n if (t.isDeclaration(id.declaration)) {\n search.push(id.declaration);\n }\n continue;\n }\n\n if (outerOnly) {\n if (t.isFunctionDeclaration(id)) {\n search.push(id.id);\n continue;\n }\n\n if (t.isFunctionExpression(id)) {\n continue;\n }\n }\n\n if (keys) {\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (id[key]) {\n search = search.concat(id[key]);\n }\n }\n }\n }\n\n return ids;\n}\n\ngetBindingIdentifiers.keys = {\n DeclareClass: [\"id\"],\n DeclareFunction: [\"id\"],\n DeclareModule: [\"id\"],\n DeclareVariable: [\"id\"],\n InterfaceDeclaration: [\"id\"],\n TypeAlias: [\"id\"],\n OpaqueType: [\"id\"],\n\n CatchClause: [\"param\"],\n LabeledStatement: [\"label\"],\n UnaryExpression: [\"argument\"],\n AssignmentExpression: [\"left\"],\n\n ImportSpecifier: [\"local\"],\n ImportNamespaceSpecifier: [\"local\"],\n ImportDefaultSpecifier: [\"local\"],\n ImportDeclaration: [\"specifiers\"],\n\n ExportSpecifier: [\"exported\"],\n ExportNamespaceSpecifier: [\"exported\"],\n ExportDefaultSpecifier: [\"exported\"],\n\n FunctionDeclaration: [\"id\", \"params\"],\n FunctionExpression: [\"id\", \"params\"],\n\n ClassDeclaration: [\"id\"],\n ClassExpression: [\"id\"],\n\n RestElement: [\"argument\"],\n UpdateExpression: [\"argument\"],\n\n RestProperty: [\"argument\"],\n ObjectProperty: [\"value\"],\n\n AssignmentPattern: [\"left\"],\n ArrayPattern: [\"elements\"],\n ObjectPattern: [\"properties\"],\n\n VariableDeclaration: [\"declarations\"],\n VariableDeclarator: [\"id\"]\n};\n\nfunction getOuterBindingIdentifiers(node, duplicates) {\n return getBindingIdentifiers(node, duplicates, true);\n}", "require('../../modules/es6.string.iterator');\nrequire('../../modules/web.dom.iterable');\nmodule.exports = require('../../modules/_wks-ext').f('iterator');\n", "module.exports = { \"default\": require(\"core-js/library/fn/symbol/iterator\"), __esModule: true };", "", "require('./_wks-define')('asyncIterator');\n", "require('./_wks-define')('observable');\n", "require('../../modules/es6.symbol');\nrequire('../../modules/es6.object.to-string');\nrequire('../../modules/es7.symbol.async-iterator');\nrequire('../../modules/es7.symbol.observable');\nmodule.exports = require('../../modules/_core').Symbol;\n", "module.exports = { \"default\": require(\"core-js/library/fn/symbol\"), __esModule: true };", "\"use strict\";\n\nexports.__esModule = true;\n\nvar _iterator = require(\"../core-js/symbol/iterator\");\n\nvar _iterator2 = _interopRequireDefault(_iterator);\n\nvar _symbol = require(\"../core-js/symbol\");\n\nvar _symbol2 = _interopRequireDefault(_symbol);\n\nvar _typeof = typeof _symbol2.default === \"function\" && typeof _iterator2.default === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = typeof _symbol2.default === \"function\" && _typeof(_iterator2.default) === \"symbol\" ? function (obj) {\n return typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n} : function (obj) {\n return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n};", "/*\n Copyright (C) 2013 Yusuke Suzuki \n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n(function () {\n 'use strict';\n\n function isExpression(node) {\n if (node == null) { return false; }\n switch (node.type) {\n case 'ArrayExpression':\n case 'AssignmentExpression':\n case 'BinaryExpression':\n case 'CallExpression':\n case 'ConditionalExpression':\n case 'FunctionExpression':\n case 'Identifier':\n case 'Literal':\n case 'LogicalExpression':\n case 'MemberExpression':\n case 'NewExpression':\n case 'ObjectExpression':\n case 'SequenceExpression':\n case 'ThisExpression':\n case 'UnaryExpression':\n case 'UpdateExpression':\n return true;\n }\n return false;\n }\n\n function isIterationStatement(node) {\n if (node == null) { return false; }\n switch (node.type) {\n case 'DoWhileStatement':\n case 'ForInStatement':\n case 'ForStatement':\n case 'WhileStatement':\n return true;\n }\n return false;\n }\n\n function isStatement(node) {\n if (node == null) { return false; }\n switch (node.type) {\n case 'BlockStatement':\n case 'BreakStatement':\n case 'ContinueStatement':\n case 'DebuggerStatement':\n case 'DoWhileStatement':\n case 'EmptyStatement':\n case 'ExpressionStatement':\n case 'ForInStatement':\n case 'ForStatement':\n case 'IfStatement':\n case 'LabeledStatement':\n case 'ReturnStatement':\n case 'SwitchStatement':\n case 'ThrowStatement':\n case 'TryStatement':\n case 'VariableDeclaration':\n case 'WhileStatement':\n case 'WithStatement':\n return true;\n }\n return false;\n }\n\n function isSourceElement(node) {\n return isStatement(node) || node != null && node.type === 'FunctionDeclaration';\n }\n\n function trailingStatement(node) {\n switch (node.type) {\n case 'IfStatement':\n if (node.alternate != null) {\n return node.alternate;\n }\n return node.consequent;\n\n case 'LabeledStatement':\n case 'ForStatement':\n case 'ForInStatement':\n case 'WhileStatement':\n case 'WithStatement':\n return node.body;\n }\n return null;\n }\n\n function isProblematicIfStatement(node) {\n var current;\n\n if (node.type !== 'IfStatement') {\n return false;\n }\n if (node.alternate == null) {\n return false;\n }\n current = node.consequent;\n do {\n if (current.type === 'IfStatement') {\n if (current.alternate == null) {\n return true;\n }\n }\n current = trailingStatement(current);\n } while (current);\n\n return false;\n }\n\n module.exports = {\n isExpression: isExpression,\n isStatement: isStatement,\n isIterationStatement: isIterationStatement,\n isSourceElement: isSourceElement,\n isProblematicIfStatement: isProblematicIfStatement,\n\n trailingStatement: trailingStatement\n };\n}());\n/* vim: set sw=4 ts=4 et tw=80 : */\n", "/*\n Copyright (C) 2013-2014 Yusuke Suzuki \n Copyright (C) 2014 Ivan Nikulin \n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n(function () {\n 'use strict';\n\n var ES6Regex, ES5Regex, NON_ASCII_WHITESPACES, IDENTIFIER_START, IDENTIFIER_PART, ch;\n\n // See `tools/generate-identifier-regex.js`.\n ES5Regex = {\n // ECMAScript 5.1/Unicode v9.0.0 NonAsciiIdentifierStart:\n NonAsciiIdentifierStart: /[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B4\\u08B6-\\u08BD\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0AF9\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\u0C60\\u0C61\\u0C80\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D54-\\u0D56\\u0D5F-\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u1884\\u1887-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1C80-\\u1C88\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FD5\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AE\\uA7B0-\\uA7B7\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB65\\uAB70-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]/,\n // ECMAScript 5.1/Unicode v9.0.0 NonAsciiIdentifierPart:\n NonAsciiIdentifierPart: /[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u08A0-\\u08B4\\u08B6-\\u08BD\\u08D4-\\u08E1\\u08E3-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\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\u0D03\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4E\\u0D54-\\u0D57\\u0D5F-\\u0D63\\u0D66-\\u0D6F\\u0D7A-\\u0D7F\\u0D82\\u0D83\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DE6-\\u0DEF\\u0DF2\\u0DF3\\u0E01-\\u0E3A\\u0E40-\\u0E4E\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB9\\u0EBB-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19D9\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1C80-\\u1C88\\u1CD0-\\u1CD2\\u1CD4-\\u1CF6\\u1CF8\\u1CF9\\u1D00-\\u1DF5\\u1DFB-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u200C\\u200D\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u2E2F\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099\\u309A\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FD5\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AE\\uA7B0-\\uA7B7\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C5\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA8FD\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB65\\uAB70-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE00-\\uFE0F\\uFE20-\\uFE2F\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF3F\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]/\n };\n\n ES6Regex = {\n // ECMAScript 6/Unicode v9.0.0 NonAsciiIdentifierStart:\n NonAsciiIdentifierStart: /[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B4\\u08B6-\\u08BD\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u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0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1C80-\\u1C88\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2118-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309B-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FD5\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AE\\uA7B0-\\uA7B7\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-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E5F\\uDE61\\uDE62\\uDE64\\uDE67-\\uDE6A\\uDE6C-\\uDE72\\uDE74-\\uDE77\\uDE79-\\uDE7C\\uDE7E\\uDE80-\\uDE89\\uDE8B-\\uDE9B\\uDEA1-\\uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD869[\\uDC00-\\uDED6\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF34\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1]|\\uD87E[\\uDC00-\\uDE1D]/,\n // ECMAScript 6/Unicode v9.0.0 NonAsciiIdentifierPart:\n NonAsciiIdentifierPart: /[\\xAA\\xB5\\xB7\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u08A0-\\u08B4\\u08B6-\\u08BD\\u08D4-\\u08E1\\u08E3-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\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1315\\u1318-\\u135A\\u135D-\\u135F\\u1369-\\u1371\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19DA\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1C80-\\u1C88\\u1CD0-\\u1CD2\\u1CD4-\\u1CF6\\u1CF8\\u1CF9\\u1D00-\\u1DF5\\u1DFB-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u200C\\u200D\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2118-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FD5\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AE\\uA7B0-\\uA7B7\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C5\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA8FD\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB65\\uAB70-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uA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uDF50-\\uDF6E\\uDF70-\\uDF88\\uDF8A-\\uDFA8\\uDFAA-\\uDFC2\\uDFC4-\\uDFCB\\uDFCE-\\uDFFF]|\\uD836[\\uDE00-\\uDE36\\uDE3B-\\uDE6C\\uDE75\\uDE84\\uDE9B-\\uDE9F\\uDEA1-\\uDEAF]|\\uD838[\\uDC00-\\uDC06\\uDC08-\\uDC18\\uDC1B-\\uDC21\\uDC23\\uDC24\\uDC26-\\uDC2A]|\\uD83A[\\uDC00-\\uDCC4\\uDCD0-\\uDCD6\\uDD00-\\uDD4A\\uDD50-\\uDD59]|\\uD83B[\\uDE00-\\uDE03\\uDE05-\\uDE1F\\uDE21\\uDE22\\uDE24\\uDE27\\uDE29-\\uDE32\\uDE34-\\uDE37\\uDE39\\uDE3B\\uDE42\\uDE47\\uDE49\\uDE4B\\uDE4D-\\uDE4F\\uDE51\\uDE52\\uDE54\\uDE57\\uDE59\\uDE5B\\uDE5D\\uDE5F\\uDE61\\uDE62\\uDE64\\uDE67-\\uDE6A\\uDE6C-\\uDE72\\uDE74-\\uDE77\\uDE79-\\uDE7C\\uDE7E\\uDE80-\\uDE89\\uDE8B-\\uDE9B\\uDEA1-\\uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD869[\\uDC00-\\uDED6\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF34\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1]|\\uD87E[\\uDC00-\\uDE1D]|\\uDB40[\\uDD00-\\uDDEF]/\n };\n\n function isDecimalDigit(ch) {\n return 0x30 <= ch && ch <= 0x39; // 0..9\n }\n\n function isHexDigit(ch) {\n return 0x30 <= ch && ch <= 0x39 || // 0..9\n 0x61 <= ch && ch <= 0x66 || // a..f\n 0x41 <= ch && ch <= 0x46; // A..F\n }\n\n function isOctalDigit(ch) {\n return ch >= 0x30 && ch <= 0x37; // 0..7\n }\n\n // 7.2 White Space\n\n NON_ASCII_WHITESPACES = [\n 0x1680,\n 0x2000, 0x2001, 0x2002, 0x2003, 0x2004, 0x2005, 0x2006, 0x2007, 0x2008, 0x2009, 0x200A,\n 0x202F, 0x205F,\n 0x3000,\n 0xFEFF\n ];\n\n function isWhiteSpace(ch) {\n return ch === 0x20 || ch === 0x09 || ch === 0x0B || ch === 0x0C || ch === 0xA0 ||\n ch >= 0x1680 && NON_ASCII_WHITESPACES.indexOf(ch) >= 0;\n }\n\n // 7.3 Line Terminators\n\n function isLineTerminator(ch) {\n return ch === 0x0A || ch === 0x0D || ch === 0x2028 || ch === 0x2029;\n }\n\n // 7.6 Identifier Names and Identifiers\n\n function fromCodePoint(cp) {\n if (cp <= 0xFFFF) { return String.fromCharCode(cp); }\n var cu1 = String.fromCharCode(Math.floor((cp - 0x10000) / 0x400) + 0xD800);\n var cu2 = String.fromCharCode(((cp - 0x10000) % 0x400) + 0xDC00);\n return cu1 + cu2;\n }\n\n IDENTIFIER_START = new Array(0x80);\n for(ch = 0; ch < 0x80; ++ch) {\n IDENTIFIER_START[ch] =\n ch >= 0x61 && ch <= 0x7A || // a..z\n ch >= 0x41 && ch <= 0x5A || // A..Z\n ch === 0x24 || ch === 0x5F; // $ (dollar) and _ (underscore)\n }\n\n IDENTIFIER_PART = new Array(0x80);\n for(ch = 0; ch < 0x80; ++ch) {\n IDENTIFIER_PART[ch] =\n ch >= 0x61 && ch <= 0x7A || // a..z\n ch >= 0x41 && ch <= 0x5A || // A..Z\n ch >= 0x30 && ch <= 0x39 || // 0..9\n ch === 0x24 || ch === 0x5F; // $ (dollar) and _ (underscore)\n }\n\n function isIdentifierStartES5(ch) {\n return ch < 0x80 ? IDENTIFIER_START[ch] : ES5Regex.NonAsciiIdentifierStart.test(fromCodePoint(ch));\n }\n\n function isIdentifierPartES5(ch) {\n return ch < 0x80 ? IDENTIFIER_PART[ch] : ES5Regex.NonAsciiIdentifierPart.test(fromCodePoint(ch));\n }\n\n function isIdentifierStartES6(ch) {\n return ch < 0x80 ? IDENTIFIER_START[ch] : ES6Regex.NonAsciiIdentifierStart.test(fromCodePoint(ch));\n }\n\n function isIdentifierPartES6(ch) {\n return ch < 0x80 ? IDENTIFIER_PART[ch] : ES6Regex.NonAsciiIdentifierPart.test(fromCodePoint(ch));\n }\n\n module.exports = {\n isDecimalDigit: isDecimalDigit,\n isHexDigit: isHexDigit,\n isOctalDigit: isOctalDigit,\n isWhiteSpace: isWhiteSpace,\n isLineTerminator: isLineTerminator,\n isIdentifierStartES5: isIdentifierStartES5,\n isIdentifierPartES5: isIdentifierPartES5,\n isIdentifierStartES6: isIdentifierStartES6,\n isIdentifierPartES6: isIdentifierPartES6\n };\n}());\n/* vim: set sw=4 ts=4 et tw=80 : */\n", "/*\n Copyright (C) 2013 Yusuke Suzuki \n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n(function () {\n 'use strict';\n\n var code = require('./code');\n\n function isStrictModeReservedWordES6(id) {\n switch (id) {\n case 'implements':\n case 'interface':\n case 'package':\n case 'private':\n case 'protected':\n case 'public':\n case 'static':\n case 'let':\n return true;\n default:\n return false;\n }\n }\n\n function isKeywordES5(id, strict) {\n // yield should not be treated as keyword under non-strict mode.\n if (!strict && id === 'yield') {\n return false;\n }\n return isKeywordES6(id, strict);\n }\n\n function isKeywordES6(id, strict) {\n if (strict && isStrictModeReservedWordES6(id)) {\n return true;\n }\n\n switch (id.length) {\n case 2:\n return (id === 'if') || (id === 'in') || (id === 'do');\n case 3:\n return (id === 'var') || (id === 'for') || (id === 'new') || (id === 'try');\n case 4:\n return (id === 'this') || (id === 'else') || (id === 'case') ||\n (id === 'void') || (id === 'with') || (id === 'enum');\n case 5:\n return (id === 'while') || (id === 'break') || (id === 'catch') ||\n (id === 'throw') || (id === 'const') || (id === 'yield') ||\n (id === 'class') || (id === 'super');\n case 6:\n return (id === 'return') || (id === 'typeof') || (id === 'delete') ||\n (id === 'switch') || (id === 'export') || (id === 'import');\n case 7:\n return (id === 'default') || (id === 'finally') || (id === 'extends');\n case 8:\n return (id === 'function') || (id === 'continue') || (id === 'debugger');\n case 10:\n return (id === 'instanceof');\n default:\n return false;\n }\n }\n\n function isReservedWordES5(id, strict) {\n return id === 'null' || id === 'true' || id === 'false' || isKeywordES5(id, strict);\n }\n\n function isReservedWordES6(id, strict) {\n return id === 'null' || id === 'true' || id === 'false' || isKeywordES6(id, strict);\n }\n\n function isRestrictedWord(id) {\n return id === 'eval' || id === 'arguments';\n }\n\n function isIdentifierNameES5(id) {\n var i, iz, ch;\n\n if (id.length === 0) { return false; }\n\n ch = id.charCodeAt(0);\n if (!code.isIdentifierStartES5(ch)) {\n return false;\n }\n\n for (i = 1, iz = id.length; i < iz; ++i) {\n ch = id.charCodeAt(i);\n if (!code.isIdentifierPartES5(ch)) {\n return false;\n }\n }\n return true;\n }\n\n function decodeUtf16(lead, trail) {\n return (lead - 0xD800) * 0x400 + (trail - 0xDC00) + 0x10000;\n }\n\n function isIdentifierNameES6(id) {\n var i, iz, ch, lowCh, check;\n\n if (id.length === 0) { return false; }\n\n check = code.isIdentifierStartES6;\n for (i = 0, iz = id.length; i < iz; ++i) {\n ch = id.charCodeAt(i);\n if (0xD800 <= ch && ch <= 0xDBFF) {\n ++i;\n if (i >= iz) { return false; }\n lowCh = id.charCodeAt(i);\n if (!(0xDC00 <= lowCh && lowCh <= 0xDFFF)) {\n return false;\n }\n ch = decodeUtf16(ch, lowCh);\n }\n if (!check(ch)) {\n return false;\n }\n check = code.isIdentifierPartES6;\n }\n return true;\n }\n\n function isIdentifierES5(id, strict) {\n return isIdentifierNameES5(id) && !isReservedWordES5(id, strict);\n }\n\n function isIdentifierES6(id, strict) {\n return isIdentifierNameES6(id) && !isReservedWordES6(id, strict);\n }\n\n module.exports = {\n isKeywordES5: isKeywordES5,\n isKeywordES6: isKeywordES6,\n isReservedWordES5: isReservedWordES5,\n isReservedWordES6: isReservedWordES6,\n isRestrictedWord: isRestrictedWord,\n isIdentifierNameES5: isIdentifierNameES5,\n isIdentifierNameES6: isIdentifierNameES6,\n isIdentifierES5: isIdentifierES5,\n isIdentifierES6: isIdentifierES6\n };\n}());\n/* vim: set sw=4 ts=4 et tw=80 : */\n", "/*\n Copyright (C) 2013 Yusuke Suzuki \n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n\n(function () {\n 'use strict';\n\n exports.ast = require('./ast');\n exports.code = require('./code');\n exports.keyword = require('./keyword');\n}());\n/* vim: set sw=4 ts=4 et tw=80 : */\n", "\"use strict\";\n\nexports.__esModule = true;\n\nvar _keys = require(\"babel-runtime/core-js/object/keys\");\n\nvar _keys2 = _interopRequireDefault(_keys);\n\nvar _typeof2 = require(\"babel-runtime/helpers/typeof\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nvar _getIterator2 = require(\"babel-runtime/core-js/get-iterator\");\n\nvar _getIterator3 = _interopRequireDefault(_getIterator2);\n\nexports.isBinding = isBinding;\nexports.isReferenced = isReferenced;\nexports.isValidIdentifier = isValidIdentifier;\nexports.isLet = isLet;\nexports.isBlockScoped = isBlockScoped;\nexports.isVar = isVar;\nexports.isSpecifierDefault = isSpecifierDefault;\nexports.isScope = isScope;\nexports.isImmutable = isImmutable;\nexports.isNodesEquivalent = isNodesEquivalent;\n\nvar _retrievers = require(\"./retrievers\");\n\nvar _esutils = require(\"esutils\");\n\nvar _esutils2 = _interopRequireDefault(_esutils);\n\nvar _index = require(\"./index\");\n\nvar t = _interopRequireWildcard(_index);\n\nvar _constants = require(\"./constants\");\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isBinding(node, parent) {\n var keys = _retrievers.getBindingIdentifiers.keys[parent.type];\n if (keys) {\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var val = parent[key];\n if (Array.isArray(val)) {\n if (val.indexOf(node) >= 0) return true;\n } else {\n if (val === node) return true;\n }\n }\n }\n\n return false;\n}\n\nfunction isReferenced(node, parent) {\n switch (parent.type) {\n case \"BindExpression\":\n return parent.object === node || parent.callee === node;\n\n case \"MemberExpression\":\n case \"JSXMemberExpression\":\n if (parent.property === node && parent.computed) {\n return true;\n } else if (parent.object === node) {\n return true;\n } else {\n return false;\n }\n\n case \"MetaProperty\":\n return false;\n\n case \"ObjectProperty\":\n if (parent.key === node) {\n return parent.computed;\n }\n\n case \"VariableDeclarator\":\n return parent.id !== node;\n\n case \"ArrowFunctionExpression\":\n case \"FunctionDeclaration\":\n case \"FunctionExpression\":\n for (var _iterator = parent.params, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : (0, _getIterator3.default)(_iterator);;) {\n var _ref;\n\n if (_isArray) {\n if (_i >= _iterator.length) break;\n _ref = _iterator[_i++];\n } else {\n _i = _iterator.next();\n if (_i.done) break;\n _ref = _i.value;\n }\n\n var param = _ref;\n\n if (param === node) return false;\n }\n\n return parent.id !== node;\n\n case \"ExportSpecifier\":\n if (parent.source) {\n return false;\n } else {\n return parent.local === node;\n }\n\n case \"ExportNamespaceSpecifier\":\n case \"ExportDefaultSpecifier\":\n return false;\n\n case \"JSXAttribute\":\n return parent.name !== node;\n\n case \"ClassProperty\":\n if (parent.key === node) {\n return parent.computed;\n } else {\n return parent.value === node;\n }\n\n case \"ImportDefaultSpecifier\":\n case \"ImportNamespaceSpecifier\":\n case \"ImportSpecifier\":\n return false;\n\n case \"ClassDeclaration\":\n case \"ClassExpression\":\n return parent.id !== node;\n\n case \"ClassMethod\":\n case \"ObjectMethod\":\n return parent.key === node && parent.computed;\n\n case \"LabeledStatement\":\n return false;\n\n case \"CatchClause\":\n return parent.param !== node;\n\n case \"RestElement\":\n return false;\n\n case \"AssignmentExpression\":\n return parent.right === node;\n\n case \"AssignmentPattern\":\n return parent.right === node;\n\n case \"ObjectPattern\":\n case \"ArrayPattern\":\n return false;\n }\n\n return true;\n}\n\nfunction isValidIdentifier(name) {\n if (typeof name !== \"string\" || _esutils2.default.keyword.isReservedWordES6(name, true)) {\n return false;\n } else if (name === \"await\") {\n return false;\n } else {\n return _esutils2.default.keyword.isIdentifierNameES6(name);\n }\n}\n\nfunction isLet(node) {\n return t.isVariableDeclaration(node) && (node.kind !== \"var\" || node[_constants.BLOCK_SCOPED_SYMBOL]);\n}\n\nfunction isBlockScoped(node) {\n return t.isFunctionDeclaration(node) || t.isClassDeclaration(node) || t.isLet(node);\n}\n\nfunction isVar(node) {\n return t.isVariableDeclaration(node, { kind: \"var\" }) && !node[_constants.BLOCK_SCOPED_SYMBOL];\n}\n\nfunction isSpecifierDefault(specifier) {\n return t.isImportDefaultSpecifier(specifier) || t.isIdentifier(specifier.imported || specifier.exported, { name: \"default\" });\n}\n\nfunction isScope(node, parent) {\n if (t.isBlockStatement(node) && t.isFunction(parent, { body: node })) {\n return false;\n }\n\n return t.isScopable(node);\n}\n\nfunction isImmutable(node) {\n if (t.isType(node.type, \"Immutable\")) return true;\n\n if (t.isIdentifier(node)) {\n if (node.name === \"undefined\") {\n return true;\n } else {\n return false;\n }\n }\n\n return false;\n}\n\nfunction isNodesEquivalent(a, b) {\n if ((typeof a === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(a)) !== \"object\" || (typeof a === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(a)) !== \"object\" || a == null || b == null) {\n return a === b;\n }\n\n if (a.type !== b.type) {\n return false;\n }\n\n var fields = (0, _keys2.default)(t.NODE_FIELDS[a.type] || a.type);\n\n for (var _iterator2 = fields, _isArray2 = Array.isArray(_iterator2), _i2 = 0, _iterator2 = _isArray2 ? _iterator2 : (0, _getIterator3.default)(_iterator2);;) {\n var _ref2;\n\n if (_isArray2) {\n if (_i2 >= _iterator2.length) break;\n _ref2 = _iterator2[_i2++];\n } else {\n _i2 = _iterator2.next();\n if (_i2.done) break;\n _ref2 = _i2.value;\n }\n\n var field = _ref2;\n\n if ((0, _typeof3.default)(a[field]) !== (0, _typeof3.default)(b[field])) {\n return false;\n }\n\n if (Array.isArray(a[field])) {\n if (!Array.isArray(b[field])) {\n return false;\n }\n if (a[field].length !== b[field].length) {\n return false;\n }\n\n for (var i = 0; i < a[field].length; i++) {\n if (!isNodesEquivalent(a[field][i], b[field][i])) {\n return false;\n }\n }\n continue;\n }\n\n if (!isNodesEquivalent(a[field], b[field])) {\n return false;\n }\n }\n\n return true;\n}", "// 20.1.2.6 Number.MAX_SAFE_INTEGER\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff });\n", "require('../../modules/es6.number.max-safe-integer');\nmodule.exports = 0x1fffffffffffff;\n", "module.exports = { \"default\": require(\"core-js/library/fn/number/max-safe-integer\"), __esModule: true };", "/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n", "var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n", "var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n", "var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n", "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n", "var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n", "/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n", "var overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n", "/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n", "var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n", "var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar regexpTag = '[object RegExp]';\n\n/**\n * The base implementation of `_.isRegExp` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n */\nfunction baseIsRegExp(value) {\n return isObjectLike(value) && baseGetTag(value) == regexpTag;\n}\n\nmodule.exports = baseIsRegExp;\n", "/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n", "var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n", "var baseIsRegExp = require('./_baseIsRegExp'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsRegExp = nodeUtil && nodeUtil.isRegExp;\n\n/**\n * Checks if `value` is classified as a `RegExp` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n * @example\n *\n * _.isRegExp(/abc/);\n * // => true\n *\n * _.isRegExp('/abc/');\n * // => false\n */\nvar isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;\n\nmodule.exports = isRegExp;\n", "\"use strict\";\n\nexports.__esModule = true;\n\nvar _maxSafeInteger = require(\"babel-runtime/core-js/number/max-safe-integer\");\n\nvar _maxSafeInteger2 = _interopRequireDefault(_maxSafeInteger);\n\nvar _stringify = require(\"babel-runtime/core-js/json/stringify\");\n\nvar _stringify2 = _interopRequireDefault(_stringify);\n\nvar _getIterator2 = require(\"babel-runtime/core-js/get-iterator\");\n\nvar _getIterator3 = _interopRequireDefault(_getIterator2);\n\nexports.toComputedKey = toComputedKey;\nexports.toSequenceExpression = toSequenceExpression;\nexports.toKeyAlias = toKeyAlias;\nexports.toIdentifier = toIdentifier;\nexports.toBindingIdentifierName = toBindingIdentifierName;\nexports.toStatement = toStatement;\nexports.toExpression = toExpression;\nexports.toBlock = toBlock;\nexports.valueToNode = valueToNode;\n\nvar _isPlainObject = require(\"lodash/isPlainObject\");\n\nvar _isPlainObject2 = _interopRequireDefault(_isPlainObject);\n\nvar _isRegExp = require(\"lodash/isRegExp\");\n\nvar _isRegExp2 = _interopRequireDefault(_isRegExp);\n\nvar _index = require(\"./index\");\n\nvar t = _interopRequireWildcard(_index);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction toComputedKey(node) {\n var key = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : node.key || node.property;\n\n if (!node.computed) {\n if (t.isIdentifier(key)) key = t.stringLiteral(key.name);\n }\n return key;\n}\n\nfunction gatherSequenceExpressions(nodes, scope, declars) {\n var exprs = [];\n var ensureLastUndefined = true;\n\n for (var _iterator = nodes, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : (0, _getIterator3.default)(_iterator);;) {\n var _ref;\n\n if (_isArray) {\n if (_i >= _iterator.length) break;\n _ref = _iterator[_i++];\n } else {\n _i = _iterator.next();\n if (_i.done) break;\n _ref = _i.value;\n }\n\n var node = _ref;\n\n ensureLastUndefined = false;\n\n if (t.isExpression(node)) {\n exprs.push(node);\n } else if (t.isExpressionStatement(node)) {\n exprs.push(node.expression);\n } else if (t.isVariableDeclaration(node)) {\n if (node.kind !== \"var\") return;\n\n for (var _iterator2 = node.declarations, _isArray2 = Array.isArray(_iterator2), _i2 = 0, _iterator2 = _isArray2 ? _iterator2 : (0, _getIterator3.default)(_iterator2);;) {\n var _ref2;\n\n if (_isArray2) {\n if (_i2 >= _iterator2.length) break;\n _ref2 = _iterator2[_i2++];\n } else {\n _i2 = _iterator2.next();\n if (_i2.done) break;\n _ref2 = _i2.value;\n }\n\n var declar = _ref2;\n\n var bindings = t.getBindingIdentifiers(declar);\n for (var key in bindings) {\n declars.push({\n kind: node.kind,\n id: bindings[key]\n });\n }\n\n if (declar.init) {\n exprs.push(t.assignmentExpression(\"=\", declar.id, declar.init));\n }\n }\n\n ensureLastUndefined = true;\n } else if (t.isIfStatement(node)) {\n var consequent = node.consequent ? gatherSequenceExpressions([node.consequent], scope, declars) : scope.buildUndefinedNode();\n var alternate = node.alternate ? gatherSequenceExpressions([node.alternate], scope, declars) : scope.buildUndefinedNode();\n if (!consequent || !alternate) return;\n\n exprs.push(t.conditionalExpression(node.test, consequent, alternate));\n } else if (t.isBlockStatement(node)) {\n var body = gatherSequenceExpressions(node.body, scope, declars);\n if (!body) return;\n\n exprs.push(body);\n } else if (t.isEmptyStatement(node)) {\n ensureLastUndefined = true;\n } else {\n return;\n }\n }\n\n if (ensureLastUndefined) {\n exprs.push(scope.buildUndefinedNode());\n }\n\n if (exprs.length === 1) {\n return exprs[0];\n } else {\n return t.sequenceExpression(exprs);\n }\n}\n\nfunction toSequenceExpression(nodes, scope) {\n if (!nodes || !nodes.length) return;\n\n var declars = [];\n var result = gatherSequenceExpressions(nodes, scope, declars);\n if (!result) return;\n\n for (var _iterator3 = declars, _isArray3 = Array.isArray(_iterator3), _i3 = 0, _iterator3 = _isArray3 ? _iterator3 : (0, _getIterator3.default)(_iterator3);;) {\n var _ref3;\n\n if (_isArray3) {\n if (_i3 >= _iterator3.length) break;\n _ref3 = _iterator3[_i3++];\n } else {\n _i3 = _iterator3.next();\n if (_i3.done) break;\n _ref3 = _i3.value;\n }\n\n var declar = _ref3;\n\n scope.push(declar);\n }\n\n return result;\n}\n\nfunction toKeyAlias(node) {\n var key = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : node.key;\n\n var alias = void 0;\n\n if (node.kind === \"method\") {\n return toKeyAlias.increment() + \"\";\n } else if (t.isIdentifier(key)) {\n alias = key.name;\n } else if (t.isStringLiteral(key)) {\n alias = (0, _stringify2.default)(key.value);\n } else {\n alias = (0, _stringify2.default)(t.removePropertiesDeep(t.cloneDeep(key)));\n }\n\n if (node.computed) {\n alias = \"[\" + alias + \"]\";\n }\n\n if (node.static) {\n alias = \"static:\" + alias;\n }\n\n return alias;\n}\n\ntoKeyAlias.uid = 0;\n\ntoKeyAlias.increment = function () {\n if (toKeyAlias.uid >= _maxSafeInteger2.default) {\n return toKeyAlias.uid = 0;\n } else {\n return toKeyAlias.uid++;\n }\n};\n\nfunction toIdentifier(name) {\n name = name + \"\";\n\n name = name.replace(/[^a-zA-Z0-9$_]/g, \"-\");\n\n name = name.replace(/^[-0-9]+/, \"\");\n\n name = name.replace(/[-\\s]+(.)?/g, function (match, c) {\n return c ? c.toUpperCase() : \"\";\n });\n\n if (!t.isValidIdentifier(name)) {\n name = \"_\" + name;\n }\n\n return name || \"_\";\n}\n\nfunction toBindingIdentifierName(name) {\n name = toIdentifier(name);\n if (name === \"eval\" || name === \"arguments\") name = \"_\" + name;\n return name;\n}\n\nfunction toStatement(node, ignore) {\n if (t.isStatement(node)) {\n return node;\n }\n\n var mustHaveId = false;\n var newType = void 0;\n\n if (t.isClass(node)) {\n mustHaveId = true;\n newType = \"ClassDeclaration\";\n } else if (t.isFunction(node)) {\n mustHaveId = true;\n newType = \"FunctionDeclaration\";\n } else if (t.isAssignmentExpression(node)) {\n return t.expressionStatement(node);\n }\n\n if (mustHaveId && !node.id) {\n newType = false;\n }\n\n if (!newType) {\n if (ignore) {\n return false;\n } else {\n throw new Error(\"cannot turn \" + node.type + \" to a statement\");\n }\n }\n\n node.type = newType;\n\n return node;\n}\n\nfunction toExpression(node) {\n if (t.isExpressionStatement(node)) {\n node = node.expression;\n }\n\n if (t.isExpression(node)) {\n return node;\n }\n\n if (t.isClass(node)) {\n node.type = \"ClassExpression\";\n } else if (t.isFunction(node)) {\n node.type = \"FunctionExpression\";\n }\n\n if (!t.isExpression(node)) {\n throw new Error(\"cannot turn \" + node.type + \" to an expression\");\n }\n\n return node;\n}\n\nfunction toBlock(node, parent) {\n if (t.isBlockStatement(node)) {\n return node;\n }\n\n if (t.isEmptyStatement(node)) {\n node = [];\n }\n\n if (!Array.isArray(node)) {\n if (!t.isStatement(node)) {\n if (t.isFunction(parent)) {\n node = t.returnStatement(node);\n } else {\n node = t.expressionStatement(node);\n }\n }\n\n node = [node];\n }\n\n return t.blockStatement(node);\n}\n\nfunction valueToNode(value) {\n if (value === undefined) {\n return t.identifier(\"undefined\");\n }\n\n if (value === true || value === false) {\n return t.booleanLiteral(value);\n }\n\n if (value === null) {\n return t.nullLiteral();\n }\n\n if (typeof value === \"string\") {\n return t.stringLiteral(value);\n }\n\n if (typeof value === \"number\") {\n return t.numericLiteral(value);\n }\n\n if ((0, _isRegExp2.default)(value)) {\n var pattern = value.source;\n var flags = value.toString().match(/\\/([a-z]+|)$/)[1];\n return t.regExpLiteral(pattern, flags);\n }\n\n if (Array.isArray(value)) {\n return t.arrayExpression(value.map(t.valueToNode));\n }\n\n if ((0, _isPlainObject2.default)(value)) {\n var props = [];\n for (var key in value) {\n var nodeKey = void 0;\n if (t.isValidIdentifier(key)) {\n nodeKey = t.identifier(key);\n } else {\n nodeKey = t.stringLiteral(key);\n }\n props.push(t.objectProperty(nodeKey, t.valueToNode(value[key])));\n }\n return t.objectExpression(props);\n }\n\n throw new Error(\"don't know how to turn this value into a node\");\n}", "\"use strict\";\n\nexports.__esModule = true;\nexports.createUnionTypeAnnotation = createUnionTypeAnnotation;\nexports.removeTypeDuplicates = removeTypeDuplicates;\nexports.createTypeAnnotationBasedOnTypeof = createTypeAnnotationBasedOnTypeof;\n\nvar _index = require(\"./index\");\n\nvar t = _interopRequireWildcard(_index);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nfunction createUnionTypeAnnotation(types) {\n var flattened = removeTypeDuplicates(types);\n\n if (flattened.length === 1) {\n return flattened[0];\n } else {\n return t.unionTypeAnnotation(flattened);\n }\n}\n\nfunction removeTypeDuplicates(nodes) {\n var generics = {};\n var bases = {};\n\n var typeGroups = [];\n\n var types = [];\n\n for (var i = 0; i < nodes.length; i++) {\n var node = nodes[i];\n if (!node) continue;\n\n if (types.indexOf(node) >= 0) {\n continue;\n }\n\n if (t.isAnyTypeAnnotation(node)) {\n return [node];\n }\n\n if (t.isFlowBaseAnnotation(node)) {\n bases[node.type] = node;\n continue;\n }\n\n if (t.isUnionTypeAnnotation(node)) {\n if (typeGroups.indexOf(node.types) < 0) {\n nodes = nodes.concat(node.types);\n typeGroups.push(node.types);\n }\n continue;\n }\n\n if (t.isGenericTypeAnnotation(node)) {\n var name = node.id.name;\n\n if (generics[name]) {\n var existing = generics[name];\n if (existing.typeParameters) {\n if (node.typeParameters) {\n existing.typeParameters.params = removeTypeDuplicates(existing.typeParameters.params.concat(node.typeParameters.params));\n }\n } else {\n existing = node.typeParameters;\n }\n } else {\n generics[name] = node;\n }\n\n continue;\n }\n\n types.push(node);\n }\n\n for (var type in bases) {\n types.push(bases[type]);\n }\n\n for (var _name in generics) {\n types.push(generics[_name]);\n }\n\n return types;\n}\n\nfunction createTypeAnnotationBasedOnTypeof(type) {\n if (type === \"string\") {\n return t.stringTypeAnnotation();\n } else if (type === \"number\") {\n return t.numberTypeAnnotation();\n } else if (type === \"undefined\") {\n return t.voidTypeAnnotation();\n } else if (type === \"boolean\") {\n return t.booleanTypeAnnotation();\n } else if (type === \"function\") {\n return t.genericTypeAnnotation(t.identifier(\"Function\"));\n } else if (type === \"object\") {\n return t.genericTypeAnnotation(t.identifier(\"Object\"));\n } else if (type === \"symbol\") {\n return t.genericTypeAnnotation(t.identifier(\"Symbol\"));\n } else {\n throw new Error(\"Invalid typeof value\");\n }\n}", "'use strict';\nmodule.exports = function toFastproperties(o) {\n\tfunction Sub() {}\n\tSub.prototype = o;\n\tvar receiver = new Sub(); // create an instance\n\tfunction ic() { return typeof receiver.foo; } // perform access\n\tic(); \n\tic();\n\treturn o;\n\teval(\"o\" + o); // ensure no dead code elimination\n}\n", "/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n", "/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n", "var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n", "var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n", "var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n", "var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n", "var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n", "var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n", "var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n", "/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n", "/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n", "/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n", "/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n", "var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n", "var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n", "var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n", "/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n", "var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n", "/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n", "var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n", "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n", "var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n", "var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n", "/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n", "var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n", "var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n", "var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n", "var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n", "var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n", "/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n", "var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n", "var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n", "var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n", "var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n", "var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n", "var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n", "var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n", "var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n", "/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nmodule.exports = arrayEach;\n", "var getNative = require('./_getNative');\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n", "var defineProperty = require('./_defineProperty');\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nmodule.exports = baseAssignValue;\n", "var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignValue;\n", "var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n", "/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n", "var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n", "var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n", "/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n", "/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n", "var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n", "/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n", "/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n", "var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n", "var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n", "var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n", "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n", "var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n", "var isPrototype = require('./_isPrototype'),\n nativeKeys = require('./_nativeKeys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeys;\n", "var isFunction = require('./isFunction'),\n isLength = require('./isLength');\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n", "var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeys = require('./_baseKeys'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n", "var copyObject = require('./_copyObject'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nmodule.exports = baseAssign;\n", "/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = nativeKeysIn;\n", "var isObject = require('./isObject'),\n isPrototype = require('./_isPrototype'),\n nativeKeysIn = require('./_nativeKeysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeysIn;\n", "var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeysIn = require('./_baseKeysIn'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n", "var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nmodule.exports = baseAssignIn;\n", "var root = require('./_root');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n", "/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nmodule.exports = copyArray;\n", "/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nmodule.exports = arrayFilter;\n", "/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;\n", "var arrayFilter = require('./_arrayFilter'),\n stubArray = require('./stubArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nmodule.exports = getSymbols;\n", "var copyObject = require('./_copyObject'),\n getSymbols = require('./_getSymbols');\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nmodule.exports = copySymbols;\n", "/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nmodule.exports = arrayPush;\n", "var arrayPush = require('./_arrayPush'),\n getPrototype = require('./_getPrototype'),\n getSymbols = require('./_getSymbols'),\n stubArray = require('./stubArray');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n};\n\nmodule.exports = getSymbolsIn;\n", "var copyObject = require('./_copyObject'),\n getSymbolsIn = require('./_getSymbolsIn');\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nmodule.exports = copySymbolsIn;\n", "var arrayPush = require('./_arrayPush'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n", "var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbols = require('./_getSymbols'),\n keys = require('./keys');\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n", "var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbolsIn = require('./_getSymbolsIn'),\n keysIn = require('./keysIn');\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nmodule.exports = getAllKeysIn;\n", "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n", "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n", "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n", "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n", "var DataView = require('./_DataView'),\n Map = require('./_Map'),\n Promise = require('./_Promise'),\n Set = require('./_Set'),\n WeakMap = require('./_WeakMap'),\n baseGetTag = require('./_baseGetTag'),\n toSource = require('./_toSource');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nmodule.exports = getTag;\n", "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\nmodule.exports = initCloneArray;\n", "var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n", "var Uint8Array = require('./_Uint8Array');\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n", "var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nmodule.exports = cloneDataView;\n", "/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nmodule.exports = cloneRegExp;\n", "var Symbol = require('./_Symbol');\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nmodule.exports = cloneSymbol;\n", "var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n", "var cloneArrayBuffer = require('./_cloneArrayBuffer'),\n cloneDataView = require('./_cloneDataView'),\n cloneRegExp = require('./_cloneRegExp'),\n cloneSymbol = require('./_cloneSymbol'),\n cloneTypedArray = require('./_cloneTypedArray');\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\nmodule.exports = initCloneByTag;\n", "var isObject = require('./isObject');\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nmodule.exports = baseCreate;\n", "var baseCreate = require('./_baseCreate'),\n getPrototype = require('./_getPrototype'),\n isPrototype = require('./_isPrototype');\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n", "var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nmodule.exports = baseIsMap;\n", "var baseIsMap = require('./_baseIsMap'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nmodule.exports = isMap;\n", "var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nmodule.exports = baseIsSet;\n", "var baseIsSet = require('./_baseIsSet'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nmodule.exports = isSet;\n", "var Stack = require('./_Stack'),\n arrayEach = require('./_arrayEach'),\n assignValue = require('./_assignValue'),\n baseAssign = require('./_baseAssign'),\n baseAssignIn = require('./_baseAssignIn'),\n cloneBuffer = require('./_cloneBuffer'),\n copyArray = require('./_copyArray'),\n copySymbols = require('./_copySymbols'),\n copySymbolsIn = require('./_copySymbolsIn'),\n getAllKeys = require('./_getAllKeys'),\n getAllKeysIn = require('./_getAllKeysIn'),\n getTag = require('./_getTag'),\n initCloneArray = require('./_initCloneArray'),\n initCloneByTag = require('./_initCloneByTag'),\n initCloneObject = require('./_initCloneObject'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isMap = require('./isMap'),\n isObject = require('./isObject'),\n isSet = require('./isSet'),\n keys = require('./keys'),\n keysIn = require('./keysIn');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n}\n\nmodule.exports = baseClone;\n", "var baseClone = require('./_baseClone');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\nfunction clone(value) {\n return baseClone(value, CLONE_SYMBOLS_FLAG);\n}\n\nmodule.exports = clone;\n", "/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n", "/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n", "var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n", "/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = baseFindIndex;\n", "/**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\nmodule.exports = baseIsNaN;\n", "/**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = strictIndexOf;\n", "var baseFindIndex = require('./_baseFindIndex'),\n baseIsNaN = require('./_baseIsNaN'),\n strictIndexOf = require('./_strictIndexOf');\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nmodule.exports = baseIndexOf;\n", "var baseIndexOf = require('./_baseIndexOf');\n\n/**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nmodule.exports = arrayIncludes;\n", "/**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arrayIncludesWith;\n", "/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n", "/**\n * This method returns `undefined`.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Util\n * @example\n *\n * _.times(2, _.noop);\n * // => [undefined, undefined]\n */\nfunction noop() {\n // No operation performed.\n}\n\nmodule.exports = noop;\n", "/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;\n", "var Set = require('./_Set'),\n noop = require('./noop'),\n setToArray = require('./_setToArray');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\nvar createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n return new Set(values);\n};\n\nmodule.exports = createSet;\n", "var SetCache = require('./_SetCache'),\n arrayIncludes = require('./_arrayIncludes'),\n arrayIncludesWith = require('./_arrayIncludesWith'),\n cacheHas = require('./_cacheHas'),\n createSet = require('./_createSet'),\n setToArray = require('./_setToArray');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\nfunction baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n }\n else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n if (set) {\n return setToArray(set);\n }\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache;\n }\n else {\n seen = iteratee ? [] : result;\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n if (iteratee) {\n seen.push(computed);\n }\n result.push(value);\n }\n else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n}\n\nmodule.exports = baseUniq;\n", "var baseUniq = require('./_baseUniq');\n\n/**\n * Creates a duplicate-free version of an array, using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons, in which only the first occurrence of each element\n * is kept. The order of result values is determined by the order they occur\n * in the array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniq([2, 1, 2]);\n * // => [2, 1]\n */\nfunction uniq(array) {\n return (array && array.length) ? baseUniq(array) : [];\n}\n\nmodule.exports = uniq;\n", "\"use strict\";\n\nexports.__esModule = true;\nexports.DEPRECATED_KEYS = exports.BUILDER_KEYS = exports.NODE_FIELDS = exports.ALIAS_KEYS = exports.VISITOR_KEYS = undefined;\n\nvar _getIterator2 = require(\"babel-runtime/core-js/get-iterator\");\n\nvar _getIterator3 = _interopRequireDefault(_getIterator2);\n\nvar _stringify = require(\"babel-runtime/core-js/json/stringify\");\n\nvar _stringify2 = _interopRequireDefault(_stringify);\n\nvar _typeof2 = require(\"babel-runtime/helpers/typeof\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nexports.assertEach = assertEach;\nexports.assertOneOf = assertOneOf;\nexports.assertNodeType = assertNodeType;\nexports.assertNodeOrValueType = assertNodeOrValueType;\nexports.assertValueType = assertValueType;\nexports.chain = chain;\nexports.default = defineType;\n\nvar _index = require(\"../index\");\n\nvar t = _interopRequireWildcard(_index);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar VISITOR_KEYS = exports.VISITOR_KEYS = {};\nvar ALIAS_KEYS = exports.ALIAS_KEYS = {};\nvar NODE_FIELDS = exports.NODE_FIELDS = {};\nvar BUILDER_KEYS = exports.BUILDER_KEYS = {};\nvar DEPRECATED_KEYS = exports.DEPRECATED_KEYS = {};\n\nfunction getType(val) {\n if (Array.isArray(val)) {\n return \"array\";\n } else if (val === null) {\n return \"null\";\n } else if (val === undefined) {\n return \"undefined\";\n } else {\n return typeof val === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(val);\n }\n}\n\nfunction assertEach(callback) {\n function validator(node, key, val) {\n if (!Array.isArray(val)) return;\n\n for (var i = 0; i < val.length; i++) {\n callback(node, key + \"[\" + i + \"]\", val[i]);\n }\n }\n validator.each = callback;\n return validator;\n}\n\nfunction assertOneOf() {\n for (var _len = arguments.length, vals = Array(_len), _key = 0; _key < _len; _key++) {\n vals[_key] = arguments[_key];\n }\n\n function validate(node, key, val) {\n if (vals.indexOf(val) < 0) {\n throw new TypeError(\"Property \" + key + \" expected value to be one of \" + (0, _stringify2.default)(vals) + \" but got \" + (0, _stringify2.default)(val));\n }\n }\n\n validate.oneOf = vals;\n\n return validate;\n}\n\nfunction assertNodeType() {\n for (var _len2 = arguments.length, types = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n types[_key2] = arguments[_key2];\n }\n\n function validate(node, key, val) {\n var valid = false;\n\n for (var _iterator = types, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : (0, _getIterator3.default)(_iterator);;) {\n var _ref;\n\n if (_isArray) {\n if (_i >= _iterator.length) break;\n _ref = _iterator[_i++];\n } else {\n _i = _iterator.next();\n if (_i.done) break;\n _ref = _i.value;\n }\n\n var type = _ref;\n\n if (t.is(type, val)) {\n valid = true;\n break;\n }\n }\n\n if (!valid) {\n throw new TypeError(\"Property \" + key + \" of \" + node.type + \" expected node to be of a type \" + (0, _stringify2.default)(types) + \" \" + (\"but instead got \" + (0, _stringify2.default)(val && val.type)));\n }\n }\n\n validate.oneOfNodeTypes = types;\n\n return validate;\n}\n\nfunction assertNodeOrValueType() {\n for (var _len3 = arguments.length, types = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n types[_key3] = arguments[_key3];\n }\n\n function validate(node, key, val) {\n var valid = false;\n\n for (var _iterator2 = types, _isArray2 = Array.isArray(_iterator2), _i2 = 0, _iterator2 = _isArray2 ? _iterator2 : (0, _getIterator3.default)(_iterator2);;) {\n var _ref2;\n\n if (_isArray2) {\n if (_i2 >= _iterator2.length) break;\n _ref2 = _iterator2[_i2++];\n } else {\n _i2 = _iterator2.next();\n if (_i2.done) break;\n _ref2 = _i2.value;\n }\n\n var type = _ref2;\n\n if (getType(val) === type || t.is(type, val)) {\n valid = true;\n break;\n }\n }\n\n if (!valid) {\n throw new TypeError(\"Property \" + key + \" of \" + node.type + \" expected node to be of a type \" + (0, _stringify2.default)(types) + \" \" + (\"but instead got \" + (0, _stringify2.default)(val && val.type)));\n }\n }\n\n validate.oneOfNodeOrValueTypes = types;\n\n return validate;\n}\n\nfunction assertValueType(type) {\n function validate(node, key, val) {\n var valid = getType(val) === type;\n\n if (!valid) {\n throw new TypeError(\"Property \" + key + \" expected type of \" + type + \" but got \" + getType(val));\n }\n }\n\n validate.type = type;\n\n return validate;\n}\n\nfunction chain() {\n for (var _len4 = arguments.length, fns = Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n fns[_key4] = arguments[_key4];\n }\n\n function validate() {\n for (var _iterator3 = fns, _isArray3 = Array.isArray(_iterator3), _i3 = 0, _iterator3 = _isArray3 ? _iterator3 : (0, _getIterator3.default)(_iterator3);;) {\n var _ref3;\n\n if (_isArray3) {\n if (_i3 >= _iterator3.length) break;\n _ref3 = _iterator3[_i3++];\n } else {\n _i3 = _iterator3.next();\n if (_i3.done) break;\n _ref3 = _i3.value;\n }\n\n var fn = _ref3;\n\n fn.apply(undefined, arguments);\n }\n }\n validate.chainOf = fns;\n return validate;\n}\n\nfunction defineType(type) {\n var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var inherits = opts.inherits && store[opts.inherits] || {};\n\n opts.fields = opts.fields || inherits.fields || {};\n opts.visitor = opts.visitor || inherits.visitor || [];\n opts.aliases = opts.aliases || inherits.aliases || [];\n opts.builder = opts.builder || inherits.builder || opts.visitor || [];\n\n if (opts.deprecatedAlias) {\n DEPRECATED_KEYS[opts.deprecatedAlias] = type;\n }\n\n for (var _iterator4 = opts.visitor.concat(opts.builder), _isArray4 = Array.isArray(_iterator4), _i4 = 0, _iterator4 = _isArray4 ? _iterator4 : (0, _getIterator3.default)(_iterator4);;) {\n var _ref4;\n\n if (_isArray4) {\n if (_i4 >= _iterator4.length) break;\n _ref4 = _iterator4[_i4++];\n } else {\n _i4 = _iterator4.next();\n if (_i4.done) break;\n _ref4 = _i4.value;\n }\n\n var _key5 = _ref4;\n\n opts.fields[_key5] = opts.fields[_key5] || {};\n }\n\n for (var key in opts.fields) {\n var field = opts.fields[key];\n\n if (opts.builder.indexOf(key) === -1) {\n field.optional = true;\n }\n if (field.default === undefined) {\n field.default = null;\n } else if (!field.validate) {\n field.validate = assertValueType(getType(field.default));\n }\n }\n\n VISITOR_KEYS[type] = opts.visitor;\n BUILDER_KEYS[type] = opts.builder;\n NODE_FIELDS[type] = opts.fields;\n ALIAS_KEYS[type] = opts.aliases;\n\n store[type] = opts;\n}\n\nvar store = {};", "\"use strict\";\n\nvar _index = require(\"../index\");\n\nvar t = _interopRequireWildcard(_index);\n\nvar _constants = require(\"../constants\");\n\nvar _index2 = require(\"./index\");\n\nvar _index3 = _interopRequireDefault(_index2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\n(0, _index3.default)(\"ArrayExpression\", {\n fields: {\n elements: {\n validate: (0, _index2.chain)((0, _index2.assertValueType)(\"array\"), (0, _index2.assertEach)((0, _index2.assertNodeOrValueType)(\"null\", \"Expression\", \"SpreadElement\"))),\n default: []\n }\n },\n visitor: [\"elements\"],\n aliases: [\"Expression\"]\n});\n\n(0, _index3.default)(\"AssignmentExpression\", {\n fields: {\n operator: {\n validate: (0, _index2.assertValueType)(\"string\")\n },\n left: {\n validate: (0, _index2.assertNodeType)(\"LVal\")\n },\n right: {\n validate: (0, _index2.assertNodeType)(\"Expression\")\n }\n },\n builder: [\"operator\", \"left\", \"right\"],\n visitor: [\"left\", \"right\"],\n aliases: [\"Expression\"]\n});\n\n(0, _index3.default)(\"BinaryExpression\", {\n builder: [\"operator\", \"left\", \"right\"],\n fields: {\n operator: {\n validate: _index2.assertOneOf.apply(undefined, _constants.BINARY_OPERATORS)\n },\n left: {\n validate: (0, _index2.assertNodeType)(\"Expression\")\n },\n right: {\n validate: (0, _index2.assertNodeType)(\"Expression\")\n }\n },\n visitor: [\"left\", \"right\"],\n aliases: [\"Binary\", \"Expression\"]\n});\n\n(0, _index3.default)(\"Directive\", {\n visitor: [\"value\"],\n fields: {\n value: {\n validate: (0, _index2.assertNodeType)(\"DirectiveLiteral\")\n }\n }\n});\n\n(0, _index3.default)(\"DirectiveLiteral\", {\n builder: [\"value\"],\n fields: {\n value: {\n validate: (0, _index2.assertValueType)(\"string\")\n }\n }\n});\n\n(0, _index3.default)(\"BlockStatement\", {\n builder: [\"body\", \"directives\"],\n visitor: [\"directives\", \"body\"],\n fields: {\n directives: {\n validate: (0, _index2.chain)((0, _index2.assertValueType)(\"array\"), (0, _index2.assertEach)((0, _index2.assertNodeType)(\"Directive\"))),\n default: []\n },\n body: {\n validate: (0, _index2.chain)((0, _index2.assertValueType)(\"array\"), (0, _index2.assertEach)((0, _index2.assertNodeType)(\"Statement\")))\n }\n },\n aliases: [\"Scopable\", \"BlockParent\", \"Block\", \"Statement\"]\n});\n\n(0, _index3.default)(\"BreakStatement\", {\n visitor: [\"label\"],\n fields: {\n label: {\n validate: (0, _index2.assertNodeType)(\"Identifier\"),\n optional: true\n }\n },\n aliases: [\"Statement\", \"Terminatorless\", \"CompletionStatement\"]\n});\n\n(0, _index3.default)(\"CallExpression\", {\n visitor: [\"callee\", \"arguments\"],\n fields: {\n callee: {\n validate: (0, _index2.assertNodeType)(\"Expression\")\n },\n arguments: {\n validate: (0, _index2.chain)((0, _index2.assertValueType)(\"array\"), (0, _index2.assertEach)((0, _index2.assertNodeType)(\"Expression\", \"SpreadElement\")))\n }\n },\n aliases: [\"Expression\"]\n});\n\n(0, _index3.default)(\"CatchClause\", {\n visitor: [\"param\", \"body\"],\n fields: {\n param: {\n validate: (0, _index2.assertNodeType)(\"Identifier\")\n },\n body: {\n validate: (0, _index2.assertNodeType)(\"BlockStatement\")\n }\n },\n aliases: [\"Scopable\"]\n});\n\n(0, _index3.default)(\"ConditionalExpression\", {\n visitor: [\"test\", \"consequent\", \"alternate\"],\n fields: {\n test: {\n validate: (0, _index2.assertNodeType)(\"Expression\")\n },\n consequent: {\n validate: (0, _index2.assertNodeType)(\"Expression\")\n },\n alternate: {\n validate: (0, _index2.assertNodeType)(\"Expression\")\n }\n },\n aliases: [\"Expression\", \"Conditional\"]\n});\n\n(0, _index3.default)(\"ContinueStatement\", {\n visitor: [\"label\"],\n fields: {\n label: {\n validate: (0, _index2.assertNodeType)(\"Identifier\"),\n optional: true\n }\n },\n aliases: [\"Statement\", \"Terminatorless\", \"CompletionStatement\"]\n});\n\n(0, _index3.default)(\"DebuggerStatement\", {\n aliases: [\"Statement\"]\n});\n\n(0, _index3.default)(\"DoWhileStatement\", {\n visitor: [\"test\", \"body\"],\n fields: {\n test: {\n validate: (0, _index2.assertNodeType)(\"Expression\")\n },\n body: {\n validate: (0, _index2.assertNodeType)(\"Statement\")\n }\n },\n aliases: [\"Statement\", \"BlockParent\", \"Loop\", \"While\", \"Scopable\"]\n});\n\n(0, _index3.default)(\"EmptyStatement\", {\n aliases: [\"Statement\"]\n});\n\n(0, _index3.default)(\"ExpressionStatement\", {\n visitor: [\"expression\"],\n fields: {\n expression: {\n validate: (0, _index2.assertNodeType)(\"Expression\")\n }\n },\n aliases: [\"Statement\", \"ExpressionWrapper\"]\n});\n\n(0, _index3.default)(\"File\", {\n builder: [\"program\", \"comments\", \"tokens\"],\n visitor: [\"program\"],\n fields: {\n program: {\n validate: (0, _index2.assertNodeType)(\"Program\")\n }\n }\n});\n\n(0, _index3.default)(\"ForInStatement\", {\n visitor: [\"left\", \"right\", \"body\"],\n aliases: [\"Scopable\", \"Statement\", \"For\", \"BlockParent\", \"Loop\", \"ForXStatement\"],\n fields: {\n left: {\n validate: (0, _index2.assertNodeType)(\"VariableDeclaration\", \"LVal\")\n },\n right: {\n validate: (0, _index2.assertNodeType)(\"Expression\")\n },\n body: {\n validate: (0, _index2.assertNodeType)(\"Statement\")\n }\n }\n});\n\n(0, _index3.default)(\"ForStatement\", {\n visitor: [\"init\", \"test\", \"update\", \"body\"],\n aliases: [\"Scopable\", \"Statement\", \"For\", \"BlockParent\", \"Loop\"],\n fields: {\n init: {\n validate: (0, _index2.assertNodeType)(\"VariableDeclaration\", \"Expression\"),\n optional: true\n },\n test: {\n validate: (0, _index2.assertNodeType)(\"Expression\"),\n optional: true\n },\n update: {\n validate: (0, _index2.assertNodeType)(\"Expression\"),\n optional: true\n },\n body: {\n validate: (0, _index2.assertNodeType)(\"Statement\")\n }\n }\n});\n\n(0, _index3.default)(\"FunctionDeclaration\", {\n builder: [\"id\", \"params\", \"body\", \"generator\", \"async\"],\n visitor: [\"id\", \"params\", \"body\", \"returnType\", \"typeParameters\"],\n fields: {\n id: {\n validate: (0, _index2.assertNodeType)(\"Identifier\")\n },\n params: {\n validate: (0, _index2.chain)((0, _index2.assertValueType)(\"array\"), (0, _index2.assertEach)((0, _index2.assertNodeType)(\"LVal\")))\n },\n body: {\n validate: (0, _index2.assertNodeType)(\"BlockStatement\")\n },\n generator: {\n default: false,\n validate: (0, _index2.assertValueType)(\"boolean\")\n },\n async: {\n default: false,\n validate: (0, _index2.assertValueType)(\"boolean\")\n }\n },\n aliases: [\"Scopable\", \"Function\", \"BlockParent\", \"FunctionParent\", \"Statement\", \"Pureish\", \"Declaration\"]\n});\n\n(0, _index3.default)(\"FunctionExpression\", {\n inherits: \"FunctionDeclaration\",\n aliases: [\"Scopable\", \"Function\", \"BlockParent\", \"FunctionParent\", \"Expression\", \"Pureish\"],\n fields: {\n id: {\n validate: (0, _index2.assertNodeType)(\"Identifier\"),\n optional: true\n },\n params: {\n validate: (0, _index2.chain)((0, _index2.assertValueType)(\"array\"), (0, _index2.assertEach)((0, _index2.assertNodeType)(\"LVal\")))\n },\n body: {\n validate: (0, _index2.assertNodeType)(\"BlockStatement\")\n },\n generator: {\n default: false,\n validate: (0, _index2.assertValueType)(\"boolean\")\n },\n async: {\n default: false,\n validate: (0, _index2.assertValueType)(\"boolean\")\n }\n }\n});\n\n(0, _index3.default)(\"Identifier\", {\n builder: [\"name\"],\n visitor: [\"typeAnnotation\"],\n aliases: [\"Expression\", \"LVal\"],\n fields: {\n name: {\n validate: function validate(node, key, val) {\n if (!t.isValidIdentifier(val)) {}\n }\n },\n decorators: {\n validate: (0, _index2.chain)((0, _index2.assertValueType)(\"array\"), (0, _index2.assertEach)((0, _index2.assertNodeType)(\"Decorator\")))\n }\n }\n});\n\n(0, _index3.default)(\"IfStatement\", {\n visitor: [\"test\", \"consequent\", \"alternate\"],\n aliases: [\"Statement\", \"Conditional\"],\n fields: {\n test: {\n validate: (0, _index2.assertNodeType)(\"Expression\")\n },\n consequent: {\n validate: (0, _index2.assertNodeType)(\"Statement\")\n },\n alternate: {\n optional: true,\n validate: (0, _index2.assertNodeType)(\"Statement\")\n }\n }\n});\n\n(0, _index3.default)(\"LabeledStatement\", {\n visitor: [\"label\", \"body\"],\n aliases: [\"Statement\"],\n fields: {\n label: {\n validate: (0, _index2.assertNodeType)(\"Identifier\")\n },\n body: {\n validate: (0, _index2.assertNodeType)(\"Statement\")\n }\n }\n});\n\n(0, _index3.default)(\"StringLiteral\", {\n builder: [\"value\"],\n fields: {\n value: {\n validate: (0, _index2.assertValueType)(\"string\")\n }\n },\n aliases: [\"Expression\", \"Pureish\", \"Literal\", \"Immutable\"]\n});\n\n(0, _index3.default)(\"NumericLiteral\", {\n builder: [\"value\"],\n deprecatedAlias: \"NumberLiteral\",\n fields: {\n value: {\n validate: (0, _index2.assertValueType)(\"number\")\n }\n },\n aliases: [\"Expression\", \"Pureish\", \"Literal\", \"Immutable\"]\n});\n\n(0, _index3.default)(\"NullLiteral\", {\n aliases: [\"Expression\", \"Pureish\", \"Literal\", \"Immutable\"]\n});\n\n(0, _index3.default)(\"BooleanLiteral\", {\n builder: [\"value\"],\n fields: {\n value: {\n validate: (0, _index2.assertValueType)(\"boolean\")\n }\n },\n aliases: [\"Expression\", \"Pureish\", \"Literal\", \"Immutable\"]\n});\n\n(0, _index3.default)(\"RegExpLiteral\", {\n builder: [\"pattern\", \"flags\"],\n deprecatedAlias: \"RegexLiteral\",\n aliases: [\"Expression\", \"Literal\"],\n fields: {\n pattern: {\n validate: (0, _index2.assertValueType)(\"string\")\n },\n flags: {\n validate: (0, _index2.assertValueType)(\"string\"),\n default: \"\"\n }\n }\n});\n\n(0, _index3.default)(\"LogicalExpression\", {\n builder: [\"operator\", \"left\", \"right\"],\n visitor: [\"left\", \"right\"],\n aliases: [\"Binary\", \"Expression\"],\n fields: {\n operator: {\n validate: _index2.assertOneOf.apply(undefined, _constants.LOGICAL_OPERATORS)\n },\n left: {\n validate: (0, _index2.assertNodeType)(\"Expression\")\n },\n right: {\n validate: (0, _index2.assertNodeType)(\"Expression\")\n }\n }\n});\n\n(0, _index3.default)(\"MemberExpression\", {\n builder: [\"object\", \"property\", \"computed\"],\n visitor: [\"object\", \"property\"],\n aliases: [\"Expression\", \"LVal\"],\n fields: {\n object: {\n validate: (0, _index2.assertNodeType)(\"Expression\")\n },\n property: {\n validate: function validate(node, key, val) {\n var expectedType = node.computed ? \"Expression\" : \"Identifier\";\n (0, _index2.assertNodeType)(expectedType)(node, key, val);\n }\n },\n computed: {\n default: false\n }\n }\n});\n\n(0, _index3.default)(\"NewExpression\", {\n visitor: [\"callee\", \"arguments\"],\n aliases: [\"Expression\"],\n fields: {\n callee: {\n validate: (0, _index2.assertNodeType)(\"Expression\")\n },\n arguments: {\n validate: (0, _index2.chain)((0, _index2.assertValueType)(\"array\"), (0, _index2.assertEach)((0, _index2.assertNodeType)(\"Expression\", \"SpreadElement\")))\n }\n }\n});\n\n(0, _index3.default)(\"Program\", {\n visitor: [\"directives\", \"body\"],\n builder: [\"body\", \"directives\"],\n fields: {\n directives: {\n validate: (0, _index2.chain)((0, _index2.assertValueType)(\"array\"), (0, _index2.assertEach)((0, _index2.assertNodeType)(\"Directive\"))),\n default: []\n },\n body: {\n validate: (0, _index2.chain)((0, _index2.assertValueType)(\"array\"), (0, _index2.assertEach)((0, _index2.assertNodeType)(\"Statement\")))\n }\n },\n aliases: [\"Scopable\", \"BlockParent\", \"Block\", \"FunctionParent\"]\n});\n\n(0, _index3.default)(\"ObjectExpression\", {\n visitor: [\"properties\"],\n aliases: [\"Expression\"],\n fields: {\n properties: {\n validate: (0, _index2.chain)((0, _index2.assertValueType)(\"array\"), (0, _index2.assertEach)((0, _index2.assertNodeType)(\"ObjectMethod\", \"ObjectProperty\", \"SpreadProperty\")))\n }\n }\n});\n\n(0, _index3.default)(\"ObjectMethod\", {\n builder: [\"kind\", \"key\", \"params\", \"body\", \"computed\"],\n fields: {\n kind: {\n validate: (0, _index2.chain)((0, _index2.assertValueType)(\"string\"), (0, _index2.assertOneOf)(\"method\", \"get\", \"set\")),\n default: \"method\"\n },\n computed: {\n validate: (0, _index2.assertValueType)(\"boolean\"),\n default: false\n },\n key: {\n validate: function validate(node, key, val) {\n var expectedTypes = node.computed ? [\"Expression\"] : [\"Identifier\", \"StringLiteral\", \"NumericLiteral\"];\n _index2.assertNodeType.apply(undefined, expectedTypes)(node, key, val);\n }\n },\n decorators: {\n validate: (0, _index2.chain)((0, _index2.assertValueType)(\"array\"), (0, _index2.assertEach)((0, _index2.assertNodeType)(\"Decorator\")))\n },\n body: {\n validate: (0, _index2.assertNodeType)(\"BlockStatement\")\n },\n generator: {\n default: false,\n validate: (0, _index2.assertValueType)(\"boolean\")\n },\n async: {\n default: false,\n validate: (0, _index2.assertValueType)(\"boolean\")\n }\n },\n visitor: [\"key\", \"params\", \"body\", \"decorators\", \"returnType\", \"typeParameters\"],\n aliases: [\"UserWhitespacable\", \"Function\", \"Scopable\", \"BlockParent\", \"FunctionParent\", \"Method\", \"ObjectMember\"]\n});\n\n(0, _index3.default)(\"ObjectProperty\", {\n builder: [\"key\", \"value\", \"computed\", \"shorthand\", \"decorators\"],\n fields: {\n computed: {\n validate: (0, _index2.assertValueType)(\"boolean\"),\n default: false\n },\n key: {\n validate: function validate(node, key, val) {\n var expectedTypes = node.computed ? [\"Expression\"] : [\"Identifier\", \"StringLiteral\", \"NumericLiteral\"];\n _index2.assertNodeType.apply(undefined, expectedTypes)(node, key, val);\n }\n },\n value: {\n validate: (0, _index2.assertNodeType)(\"Expression\", \"Pattern\", \"RestElement\")\n },\n shorthand: {\n validate: (0, _index2.assertValueType)(\"boolean\"),\n default: false\n },\n decorators: {\n validate: (0, _index2.chain)((0, _index2.assertValueType)(\"array\"), (0, _index2.assertEach)((0, _index2.assertNodeType)(\"Decorator\"))),\n optional: true\n }\n },\n visitor: [\"key\", \"value\", \"decorators\"],\n aliases: [\"UserWhitespacable\", \"Property\", \"ObjectMember\"]\n});\n\n(0, _index3.default)(\"RestElement\", {\n visitor: [\"argument\", \"typeAnnotation\"],\n aliases: [\"LVal\"],\n fields: {\n argument: {\n validate: (0, _index2.assertNodeType)(\"LVal\")\n },\n decorators: {\n validate: (0, _index2.chain)((0, _index2.assertValueType)(\"array\"), (0, _index2.assertEach)((0, _index2.assertNodeType)(\"Decorator\")))\n }\n }\n});\n\n(0, _index3.default)(\"ReturnStatement\", {\n visitor: [\"argument\"],\n aliases: [\"Statement\", \"Terminatorless\", \"CompletionStatement\"],\n fields: {\n argument: {\n validate: (0, _index2.assertNodeType)(\"Expression\"),\n optional: true\n }\n }\n});\n\n(0, _index3.default)(\"SequenceExpression\", {\n visitor: [\"expressions\"],\n fields: {\n expressions: {\n validate: (0, _index2.chain)((0, _index2.assertValueType)(\"array\"), (0, _index2.assertEach)((0, _index2.assertNodeType)(\"Expression\")))\n }\n },\n aliases: [\"Expression\"]\n});\n\n(0, _index3.default)(\"SwitchCase\", {\n visitor: [\"test\", \"consequent\"],\n fields: {\n test: {\n validate: (0, _index2.assertNodeType)(\"Expression\"),\n optional: true\n },\n consequent: {\n validate: (0, _index2.chain)((0, _index2.assertValueType)(\"array\"), (0, _index2.assertEach)((0, _index2.assertNodeType)(\"Statement\")))\n }\n }\n});\n\n(0, _index3.default)(\"SwitchStatement\", {\n visitor: [\"discriminant\", \"cases\"],\n aliases: [\"Statement\", \"BlockParent\", \"Scopable\"],\n fields: {\n discriminant: {\n validate: (0, _index2.assertNodeType)(\"Expression\")\n },\n cases: {\n validate: (0, _index2.chain)((0, _index2.assertValueType)(\"array\"), (0, _index2.assertEach)((0, _index2.assertNodeType)(\"SwitchCase\")))\n }\n }\n});\n\n(0, _index3.default)(\"ThisExpression\", {\n aliases: [\"Expression\"]\n});\n\n(0, _index3.default)(\"ThrowStatement\", {\n visitor: [\"argument\"],\n aliases: [\"Statement\", \"Terminatorless\", \"CompletionStatement\"],\n fields: {\n argument: {\n validate: (0, _index2.assertNodeType)(\"Expression\")\n }\n }\n});\n\n(0, _index3.default)(\"TryStatement\", {\n visitor: [\"block\", \"handler\", \"finalizer\"],\n aliases: [\"Statement\"],\n fields: {\n body: {\n validate: (0, _index2.assertNodeType)(\"BlockStatement\")\n },\n handler: {\n optional: true,\n handler: (0, _index2.assertNodeType)(\"BlockStatement\")\n },\n finalizer: {\n optional: true,\n validate: (0, _index2.assertNodeType)(\"BlockStatement\")\n }\n }\n});\n\n(0, _index3.default)(\"UnaryExpression\", {\n builder: [\"operator\", \"argument\", \"prefix\"],\n fields: {\n prefix: {\n default: true\n },\n argument: {\n validate: (0, _index2.assertNodeType)(\"Expression\")\n },\n operator: {\n validate: _index2.assertOneOf.apply(undefined, _constants.UNARY_OPERATORS)\n }\n },\n visitor: [\"argument\"],\n aliases: [\"UnaryLike\", \"Expression\"]\n});\n\n(0, _index3.default)(\"UpdateExpression\", {\n builder: [\"operator\", \"argument\", \"prefix\"],\n fields: {\n prefix: {\n default: false\n },\n argument: {\n validate: (0, _index2.assertNodeType)(\"Expression\")\n },\n operator: {\n validate: _index2.assertOneOf.apply(undefined, _constants.UPDATE_OPERATORS)\n }\n },\n visitor: [\"argument\"],\n aliases: [\"Expression\"]\n});\n\n(0, _index3.default)(\"VariableDeclaration\", {\n builder: [\"kind\", \"declarations\"],\n visitor: [\"declarations\"],\n aliases: [\"Statement\", \"Declaration\"],\n fields: {\n kind: {\n validate: (0, _index2.chain)((0, _index2.assertValueType)(\"string\"), (0, _index2.assertOneOf)(\"var\", \"let\", \"const\"))\n },\n declarations: {\n validate: (0, _index2.chain)((0, _index2.assertValueType)(\"array\"), (0, _index2.assertEach)((0, _index2.assertNodeType)(\"VariableDeclarator\")))\n }\n }\n});\n\n(0, _index3.default)(\"VariableDeclarator\", {\n visitor: [\"id\", \"init\"],\n fields: {\n id: {\n validate: (0, _index2.assertNodeType)(\"LVal\")\n },\n init: {\n optional: true,\n validate: (0, _index2.assertNodeType)(\"Expression\")\n }\n }\n});\n\n(0, _index3.default)(\"WhileStatement\", {\n visitor: [\"test\", \"body\"],\n aliases: [\"Statement\", \"BlockParent\", \"Loop\", \"While\", \"Scopable\"],\n fields: {\n test: {\n validate: (0, _index2.assertNodeType)(\"Expression\")\n },\n body: {\n validate: (0, _index2.assertNodeType)(\"BlockStatement\", \"Statement\")\n }\n }\n});\n\n(0, _index3.default)(\"WithStatement\", {\n visitor: [\"object\", \"body\"],\n aliases: [\"Statement\"],\n fields: {\n object: {\n object: (0, _index2.assertNodeType)(\"Expression\")\n },\n body: {\n validate: (0, _index2.assertNodeType)(\"BlockStatement\", \"Statement\")\n }\n }\n});", "\"use strict\";\n\nvar _index = require(\"./index\");\n\nvar _index2 = _interopRequireDefault(_index);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n(0, _index2.default)(\"AssignmentPattern\", {\n visitor: [\"left\", \"right\"],\n aliases: [\"Pattern\", \"LVal\"],\n fields: {\n left: {\n validate: (0, _index.assertNodeType)(\"Identifier\")\n },\n right: {\n validate: (0, _index.assertNodeType)(\"Expression\")\n },\n decorators: {\n validate: (0, _index.chain)((0, _index.assertValueType)(\"array\"), (0, _index.assertEach)((0, _index.assertNodeType)(\"Decorator\")))\n }\n }\n});\n\n(0, _index2.default)(\"ArrayPattern\", {\n visitor: [\"elements\", \"typeAnnotation\"],\n aliases: [\"Pattern\", \"LVal\"],\n fields: {\n elements: {\n validate: (0, _index.chain)((0, _index.assertValueType)(\"array\"), (0, _index.assertEach)((0, _index.assertNodeType)(\"Identifier\", \"Pattern\", \"RestElement\")))\n },\n decorators: {\n validate: (0, _index.chain)((0, _index.assertValueType)(\"array\"), (0, _index.assertEach)((0, _index.assertNodeType)(\"Decorator\")))\n }\n }\n});\n\n(0, _index2.default)(\"ArrowFunctionExpression\", {\n builder: [\"params\", \"body\", \"async\"],\n visitor: [\"params\", \"body\", \"returnType\", \"typeParameters\"],\n aliases: [\"Scopable\", \"Function\", \"BlockParent\", \"FunctionParent\", \"Expression\", \"Pureish\"],\n fields: {\n params: {\n validate: (0, _index.chain)((0, _index.assertValueType)(\"array\"), (0, _index.assertEach)((0, _index.assertNodeType)(\"LVal\")))\n },\n body: {\n validate: (0, _index.assertNodeType)(\"BlockStatement\", \"Expression\")\n },\n async: {\n validate: (0, _index.assertValueType)(\"boolean\"),\n default: false\n }\n }\n});\n\n(0, _index2.default)(\"ClassBody\", {\n visitor: [\"body\"],\n fields: {\n body: {\n validate: (0, _index.chain)((0, _index.assertValueType)(\"array\"), (0, _index.assertEach)((0, _index.assertNodeType)(\"ClassMethod\", \"ClassProperty\")))\n }\n }\n});\n\n(0, _index2.default)(\"ClassDeclaration\", {\n builder: [\"id\", \"superClass\", \"body\", \"decorators\"],\n visitor: [\"id\", \"body\", \"superClass\", \"mixins\", \"typeParameters\", \"superTypeParameters\", \"implements\", \"decorators\"],\n aliases: [\"Scopable\", \"Class\", \"Statement\", \"Declaration\", \"Pureish\"],\n fields: {\n id: {\n validate: (0, _index.assertNodeType)(\"Identifier\")\n },\n body: {\n validate: (0, _index.assertNodeType)(\"ClassBody\")\n },\n superClass: {\n optional: true,\n validate: (0, _index.assertNodeType)(\"Expression\")\n },\n decorators: {\n validate: (0, _index.chain)((0, _index.assertValueType)(\"array\"), (0, _index.assertEach)((0, _index.assertNodeType)(\"Decorator\")))\n }\n }\n});\n\n(0, _index2.default)(\"ClassExpression\", {\n inherits: \"ClassDeclaration\",\n aliases: [\"Scopable\", \"Class\", \"Expression\", \"Pureish\"],\n fields: {\n id: {\n optional: true,\n validate: (0, _index.assertNodeType)(\"Identifier\")\n },\n body: {\n validate: (0, _index.assertNodeType)(\"ClassBody\")\n },\n superClass: {\n optional: true,\n validate: (0, _index.assertNodeType)(\"Expression\")\n },\n decorators: {\n validate: (0, _index.chain)((0, _index.assertValueType)(\"array\"), (0, _index.assertEach)((0, _index.assertNodeType)(\"Decorator\")))\n }\n }\n});\n\n(0, _index2.default)(\"ExportAllDeclaration\", {\n visitor: [\"source\"],\n aliases: [\"Statement\", \"Declaration\", \"ModuleDeclaration\", \"ExportDeclaration\"],\n fields: {\n source: {\n validate: (0, _index.assertNodeType)(\"StringLiteral\")\n }\n }\n});\n\n(0, _index2.default)(\"ExportDefaultDeclaration\", {\n visitor: [\"declaration\"],\n aliases: [\"Statement\", \"Declaration\", \"ModuleDeclaration\", \"ExportDeclaration\"],\n fields: {\n declaration: {\n validate: (0, _index.assertNodeType)(\"FunctionDeclaration\", \"ClassDeclaration\", \"Expression\")\n }\n }\n});\n\n(0, _index2.default)(\"ExportNamedDeclaration\", {\n visitor: [\"declaration\", \"specifiers\", \"source\"],\n aliases: [\"Statement\", \"Declaration\", \"ModuleDeclaration\", \"ExportDeclaration\"],\n fields: {\n declaration: {\n validate: (0, _index.assertNodeType)(\"Declaration\"),\n optional: true\n },\n specifiers: {\n validate: (0, _index.chain)((0, _index.assertValueType)(\"array\"), (0, _index.assertEach)((0, _index.assertNodeType)(\"ExportSpecifier\")))\n },\n source: {\n validate: (0, _index.assertNodeType)(\"StringLiteral\"),\n optional: true\n }\n }\n});\n\n(0, _index2.default)(\"ExportSpecifier\", {\n visitor: [\"local\", \"exported\"],\n aliases: [\"ModuleSpecifier\"],\n fields: {\n local: {\n validate: (0, _index.assertNodeType)(\"Identifier\")\n },\n exported: {\n validate: (0, _index.assertNodeType)(\"Identifier\")\n }\n }\n});\n\n(0, _index2.default)(\"ForOfStatement\", {\n visitor: [\"left\", \"right\", \"body\"],\n aliases: [\"Scopable\", \"Statement\", \"For\", \"BlockParent\", \"Loop\", \"ForXStatement\"],\n fields: {\n left: {\n validate: (0, _index.assertNodeType)(\"VariableDeclaration\", \"LVal\")\n },\n right: {\n validate: (0, _index.assertNodeType)(\"Expression\")\n },\n body: {\n validate: (0, _index.assertNodeType)(\"Statement\")\n }\n }\n});\n\n(0, _index2.default)(\"ImportDeclaration\", {\n visitor: [\"specifiers\", \"source\"],\n aliases: [\"Statement\", \"Declaration\", \"ModuleDeclaration\"],\n fields: {\n specifiers: {\n validate: (0, _index.chain)((0, _index.assertValueType)(\"array\"), (0, _index.assertEach)((0, _index.assertNodeType)(\"ImportSpecifier\", \"ImportDefaultSpecifier\", \"ImportNamespaceSpecifier\")))\n },\n source: {\n validate: (0, _index.assertNodeType)(\"StringLiteral\")\n }\n }\n});\n\n(0, _index2.default)(\"ImportDefaultSpecifier\", {\n visitor: [\"local\"],\n aliases: [\"ModuleSpecifier\"],\n fields: {\n local: {\n validate: (0, _index.assertNodeType)(\"Identifier\")\n }\n }\n});\n\n(0, _index2.default)(\"ImportNamespaceSpecifier\", {\n visitor: [\"local\"],\n aliases: [\"ModuleSpecifier\"],\n fields: {\n local: {\n validate: (0, _index.assertNodeType)(\"Identifier\")\n }\n }\n});\n\n(0, _index2.default)(\"ImportSpecifier\", {\n visitor: [\"local\", \"imported\"],\n aliases: [\"ModuleSpecifier\"],\n fields: {\n local: {\n validate: (0, _index.assertNodeType)(\"Identifier\")\n },\n imported: {\n validate: (0, _index.assertNodeType)(\"Identifier\")\n },\n importKind: {\n validate: (0, _index.assertOneOf)(null, \"type\", \"typeof\")\n }\n }\n});\n\n(0, _index2.default)(\"MetaProperty\", {\n visitor: [\"meta\", \"property\"],\n aliases: [\"Expression\"],\n fields: {\n meta: {\n validate: (0, _index.assertValueType)(\"string\")\n },\n property: {\n validate: (0, _index.assertValueType)(\"string\")\n }\n }\n});\n\n(0, _index2.default)(\"ClassMethod\", {\n aliases: [\"Function\", \"Scopable\", \"BlockParent\", \"FunctionParent\", \"Method\"],\n builder: [\"kind\", \"key\", \"params\", \"body\", \"computed\", \"static\"],\n visitor: [\"key\", \"params\", \"body\", \"decorators\", \"returnType\", \"typeParameters\"],\n fields: {\n kind: {\n validate: (0, _index.chain)((0, _index.assertValueType)(\"string\"), (0, _index.assertOneOf)(\"get\", \"set\", \"method\", \"constructor\")),\n default: \"method\"\n },\n computed: {\n default: false,\n validate: (0, _index.assertValueType)(\"boolean\")\n },\n static: {\n default: false,\n validate: (0, _index.assertValueType)(\"boolean\")\n },\n key: {\n validate: function validate(node, key, val) {\n var expectedTypes = node.computed ? [\"Expression\"] : [\"Identifier\", \"StringLiteral\", \"NumericLiteral\"];\n _index.assertNodeType.apply(undefined, expectedTypes)(node, key, val);\n }\n },\n params: {\n validate: (0, _index.chain)((0, _index.assertValueType)(\"array\"), (0, _index.assertEach)((0, _index.assertNodeType)(\"LVal\")))\n },\n body: {\n validate: (0, _index.assertNodeType)(\"BlockStatement\")\n },\n generator: {\n default: false,\n validate: (0, _index.assertValueType)(\"boolean\")\n },\n async: {\n default: false,\n validate: (0, _index.assertValueType)(\"boolean\")\n }\n }\n});\n\n(0, _index2.default)(\"ObjectPattern\", {\n visitor: [\"properties\", \"typeAnnotation\"],\n aliases: [\"Pattern\", \"LVal\"],\n fields: {\n properties: {\n validate: (0, _index.chain)((0, _index.assertValueType)(\"array\"), (0, _index.assertEach)((0, _index.assertNodeType)(\"RestProperty\", \"Property\")))\n },\n decorators: {\n validate: (0, _index.chain)((0, _index.assertValueType)(\"array\"), (0, _index.assertEach)((0, _index.assertNodeType)(\"Decorator\")))\n }\n }\n});\n\n(0, _index2.default)(\"SpreadElement\", {\n visitor: [\"argument\"],\n aliases: [\"UnaryLike\"],\n fields: {\n argument: {\n validate: (0, _index.assertNodeType)(\"Expression\")\n }\n }\n});\n\n(0, _index2.default)(\"Super\", {\n aliases: [\"Expression\"]\n});\n\n(0, _index2.default)(\"TaggedTemplateExpression\", {\n visitor: [\"tag\", \"quasi\"],\n aliases: [\"Expression\"],\n fields: {\n tag: {\n validate: (0, _index.assertNodeType)(\"Expression\")\n },\n quasi: {\n validate: (0, _index.assertNodeType)(\"TemplateLiteral\")\n }\n }\n});\n\n(0, _index2.default)(\"TemplateElement\", {\n builder: [\"value\", \"tail\"],\n fields: {\n value: {},\n tail: {\n validate: (0, _index.assertValueType)(\"boolean\"),\n default: false\n }\n }\n});\n\n(0, _index2.default)(\"TemplateLiteral\", {\n visitor: [\"quasis\", \"expressions\"],\n aliases: [\"Expression\", \"Literal\"],\n fields: {\n quasis: {\n validate: (0, _index.chain)((0, _index.assertValueType)(\"array\"), (0, _index.assertEach)((0, _index.assertNodeType)(\"TemplateElement\")))\n },\n expressions: {\n validate: (0, _index.chain)((0, _index.assertValueType)(\"array\"), (0, _index.assertEach)((0, _index.assertNodeType)(\"Expression\")))\n }\n }\n});\n\n(0, _index2.default)(\"YieldExpression\", {\n builder: [\"argument\", \"delegate\"],\n visitor: [\"argument\"],\n aliases: [\"Expression\", \"Terminatorless\"],\n fields: {\n delegate: {\n validate: (0, _index.assertValueType)(\"boolean\"),\n default: false\n },\n argument: {\n optional: true,\n validate: (0, _index.assertNodeType)(\"Expression\")\n }\n }\n});", "\"use strict\";\n\nvar _index = require(\"./index\");\n\nvar _index2 = _interopRequireDefault(_index);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n(0, _index2.default)(\"AnyTypeAnnotation\", {\n aliases: [\"Flow\", \"FlowBaseAnnotation\"],\n fields: {}\n});\n\n(0, _index2.default)(\"ArrayTypeAnnotation\", {\n visitor: [\"elementType\"],\n aliases: [\"Flow\"],\n fields: {}\n});\n\n(0, _index2.default)(\"BooleanTypeAnnotation\", {\n aliases: [\"Flow\", \"FlowBaseAnnotation\"],\n fields: {}\n});\n\n(0, _index2.default)(\"BooleanLiteralTypeAnnotation\", {\n aliases: [\"Flow\"],\n fields: {}\n});\n\n(0, _index2.default)(\"NullLiteralTypeAnnotation\", {\n aliases: [\"Flow\", \"FlowBaseAnnotation\"],\n fields: {}\n});\n\n(0, _index2.default)(\"ClassImplements\", {\n visitor: [\"id\", \"typeParameters\"],\n aliases: [\"Flow\"],\n fields: {}\n});\n\n(0, _index2.default)(\"ClassProperty\", {\n visitor: [\"key\", \"value\", \"typeAnnotation\", \"decorators\"],\n builder: [\"key\", \"value\", \"typeAnnotation\", \"decorators\", \"computed\"],\n aliases: [\"Property\"],\n fields: {\n computed: {\n validate: (0, _index.assertValueType)(\"boolean\"),\n default: false\n }\n }\n});\n\n(0, _index2.default)(\"DeclareClass\", {\n visitor: [\"id\", \"typeParameters\", \"extends\", \"body\"],\n aliases: [\"Flow\", \"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {}\n});\n\n(0, _index2.default)(\"DeclareFunction\", {\n visitor: [\"id\"],\n aliases: [\"Flow\", \"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {}\n});\n\n(0, _index2.default)(\"DeclareInterface\", {\n visitor: [\"id\", \"typeParameters\", \"extends\", \"body\"],\n aliases: [\"Flow\", \"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {}\n});\n\n(0, _index2.default)(\"DeclareModule\", {\n visitor: [\"id\", \"body\"],\n aliases: [\"Flow\", \"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {}\n});\n\n(0, _index2.default)(\"DeclareModuleExports\", {\n visitor: [\"typeAnnotation\"],\n aliases: [\"Flow\", \"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {}\n});\n\n(0, _index2.default)(\"DeclareTypeAlias\", {\n visitor: [\"id\", \"typeParameters\", \"right\"],\n aliases: [\"Flow\", \"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {}\n});\n\n(0, _index2.default)(\"DeclareOpaqueType\", {\n visitor: [\"id\", \"typeParameters\", \"supertype\"],\n aliases: [\"Flow\", \"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {}\n});\n\n(0, _index2.default)(\"DeclareVariable\", {\n visitor: [\"id\"],\n aliases: [\"Flow\", \"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {}\n});\n\n(0, _index2.default)(\"DeclareExportDeclaration\", {\n visitor: [\"declaration\", \"specifiers\", \"source\"],\n aliases: [\"Flow\", \"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {}\n});\n\n(0, _index2.default)(\"ExistentialTypeParam\", {\n aliases: [\"Flow\"]\n});\n\n(0, _index2.default)(\"FunctionTypeAnnotation\", {\n visitor: [\"typeParameters\", \"params\", \"rest\", \"returnType\"],\n aliases: [\"Flow\"],\n fields: {}\n});\n\n(0, _index2.default)(\"FunctionTypeParam\", {\n visitor: [\"name\", \"typeAnnotation\"],\n aliases: [\"Flow\"],\n fields: {}\n});\n\n(0, _index2.default)(\"GenericTypeAnnotation\", {\n visitor: [\"id\", \"typeParameters\"],\n aliases: [\"Flow\"],\n fields: {}\n});\n\n(0, _index2.default)(\"InterfaceExtends\", {\n visitor: [\"id\", \"typeParameters\"],\n aliases: [\"Flow\"],\n fields: {}\n});\n\n(0, _index2.default)(\"InterfaceDeclaration\", {\n visitor: [\"id\", \"typeParameters\", \"extends\", \"body\"],\n aliases: [\"Flow\", \"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {}\n});\n\n(0, _index2.default)(\"IntersectionTypeAnnotation\", {\n visitor: [\"types\"],\n aliases: [\"Flow\"],\n fields: {}\n});\n\n(0, _index2.default)(\"MixedTypeAnnotation\", {\n aliases: [\"Flow\", \"FlowBaseAnnotation\"]\n});\n\n(0, _index2.default)(\"EmptyTypeAnnotation\", {\n aliases: [\"Flow\", \"FlowBaseAnnotation\"]\n});\n\n(0, _index2.default)(\"NullableTypeAnnotation\", {\n visitor: [\"typeAnnotation\"],\n aliases: [\"Flow\"],\n fields: {}\n});\n\n(0, _index2.default)(\"NumericLiteralTypeAnnotation\", {\n aliases: [\"Flow\"],\n fields: {}\n});\n\n(0, _index2.default)(\"NumberTypeAnnotation\", {\n aliases: [\"Flow\", \"FlowBaseAnnotation\"],\n fields: {}\n});\n\n(0, _index2.default)(\"StringLiteralTypeAnnotation\", {\n aliases: [\"Flow\"],\n fields: {}\n});\n\n(0, _index2.default)(\"StringTypeAnnotation\", {\n aliases: [\"Flow\", \"FlowBaseAnnotation\"],\n fields: {}\n});\n\n(0, _index2.default)(\"ThisTypeAnnotation\", {\n aliases: [\"Flow\", \"FlowBaseAnnotation\"],\n fields: {}\n});\n\n(0, _index2.default)(\"TupleTypeAnnotation\", {\n visitor: [\"types\"],\n aliases: [\"Flow\"],\n fields: {}\n});\n\n(0, _index2.default)(\"TypeofTypeAnnotation\", {\n visitor: [\"argument\"],\n aliases: [\"Flow\"],\n fields: {}\n});\n\n(0, _index2.default)(\"TypeAlias\", {\n visitor: [\"id\", \"typeParameters\", \"right\"],\n aliases: [\"Flow\", \"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {}\n});\n\n(0, _index2.default)(\"OpaqueType\", {\n visitor: [\"id\", \"typeParameters\", \"impltype\", \"supertype\"],\n aliases: [\"Flow\", \"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {}\n});\n\n(0, _index2.default)(\"TypeAnnotation\", {\n visitor: [\"typeAnnotation\"],\n aliases: [\"Flow\"],\n fields: {}\n});\n\n(0, _index2.default)(\"TypeCastExpression\", {\n visitor: [\"expression\", \"typeAnnotation\"],\n aliases: [\"Flow\", \"ExpressionWrapper\", \"Expression\"],\n fields: {}\n});\n\n(0, _index2.default)(\"TypeParameter\", {\n visitor: [\"bound\"],\n aliases: [\"Flow\"],\n fields: {}\n});\n\n(0, _index2.default)(\"TypeParameterDeclaration\", {\n visitor: [\"params\"],\n aliases: [\"Flow\"],\n fields: {}\n});\n\n(0, _index2.default)(\"TypeParameterInstantiation\", {\n visitor: [\"params\"],\n aliases: [\"Flow\"],\n fields: {}\n});\n\n(0, _index2.default)(\"ObjectTypeAnnotation\", {\n visitor: [\"properties\", \"indexers\", \"callProperties\"],\n aliases: [\"Flow\"],\n fields: {}\n});\n\n(0, _index2.default)(\"ObjectTypeCallProperty\", {\n visitor: [\"value\"],\n aliases: [\"Flow\", \"UserWhitespacable\"],\n fields: {}\n});\n\n(0, _index2.default)(\"ObjectTypeIndexer\", {\n visitor: [\"id\", \"key\", \"value\"],\n aliases: [\"Flow\", \"UserWhitespacable\"],\n fields: {}\n});\n\n(0, _index2.default)(\"ObjectTypeProperty\", {\n visitor: [\"key\", \"value\"],\n aliases: [\"Flow\", \"UserWhitespacable\"],\n fields: {}\n});\n\n(0, _index2.default)(\"ObjectTypeSpreadProperty\", {\n visitor: [\"argument\"],\n aliases: [\"Flow\", \"UserWhitespacable\"],\n fields: {}\n});\n\n(0, _index2.default)(\"QualifiedTypeIdentifier\", {\n visitor: [\"id\", \"qualification\"],\n aliases: [\"Flow\"],\n fields: {}\n});\n\n(0, _index2.default)(\"UnionTypeAnnotation\", {\n visitor: [\"types\"],\n aliases: [\"Flow\"],\n fields: {}\n});\n\n(0, _index2.default)(\"VoidTypeAnnotation\", {\n aliases: [\"Flow\", \"FlowBaseAnnotation\"],\n fields: {}\n});", "\"use strict\";\n\nvar _index = require(\"./index\");\n\nvar _index2 = _interopRequireDefault(_index);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n(0, _index2.default)(\"JSXAttribute\", {\n visitor: [\"name\", \"value\"],\n aliases: [\"JSX\", \"Immutable\"],\n fields: {\n name: {\n validate: (0, _index.assertNodeType)(\"JSXIdentifier\", \"JSXNamespacedName\")\n },\n value: {\n optional: true,\n validate: (0, _index.assertNodeType)(\"JSXElement\", \"StringLiteral\", \"JSXExpressionContainer\")\n }\n }\n});\n\n(0, _index2.default)(\"JSXClosingElement\", {\n visitor: [\"name\"],\n aliases: [\"JSX\", \"Immutable\"],\n fields: {\n name: {\n validate: (0, _index.assertNodeType)(\"JSXIdentifier\", \"JSXMemberExpression\")\n }\n }\n});\n\n(0, _index2.default)(\"JSXElement\", {\n builder: [\"openingElement\", \"closingElement\", \"children\", \"selfClosing\"],\n visitor: [\"openingElement\", \"children\", \"closingElement\"],\n aliases: [\"JSX\", \"Immutable\", \"Expression\"],\n fields: {\n openingElement: {\n validate: (0, _index.assertNodeType)(\"JSXOpeningElement\")\n },\n closingElement: {\n optional: true,\n validate: (0, _index.assertNodeType)(\"JSXClosingElement\")\n },\n children: {\n validate: (0, _index.chain)((0, _index.assertValueType)(\"array\"), (0, _index.assertEach)((0, _index.assertNodeType)(\"JSXText\", \"JSXExpressionContainer\", \"JSXSpreadChild\", \"JSXElement\")))\n }\n }\n});\n\n(0, _index2.default)(\"JSXEmptyExpression\", {\n aliases: [\"JSX\", \"Expression\"]\n});\n\n(0, _index2.default)(\"JSXExpressionContainer\", {\n visitor: [\"expression\"],\n aliases: [\"JSX\", \"Immutable\"],\n fields: {\n expression: {\n validate: (0, _index.assertNodeType)(\"Expression\")\n }\n }\n});\n\n(0, _index2.default)(\"JSXSpreadChild\", {\n visitor: [\"expression\"],\n aliases: [\"JSX\", \"Immutable\"],\n fields: {\n expression: {\n validate: (0, _index.assertNodeType)(\"Expression\")\n }\n }\n});\n\n(0, _index2.default)(\"JSXIdentifier\", {\n builder: [\"name\"],\n aliases: [\"JSX\", \"Expression\"],\n fields: {\n name: {\n validate: (0, _index.assertValueType)(\"string\")\n }\n }\n});\n\n(0, _index2.default)(\"JSXMemberExpression\", {\n visitor: [\"object\", \"property\"],\n aliases: [\"JSX\", \"Expression\"],\n fields: {\n object: {\n validate: (0, _index.assertNodeType)(\"JSXMemberExpression\", \"JSXIdentifier\")\n },\n property: {\n validate: (0, _index.assertNodeType)(\"JSXIdentifier\")\n }\n }\n});\n\n(0, _index2.default)(\"JSXNamespacedName\", {\n visitor: [\"namespace\", \"name\"],\n aliases: [\"JSX\"],\n fields: {\n namespace: {\n validate: (0, _index.assertNodeType)(\"JSXIdentifier\")\n },\n name: {\n validate: (0, _index.assertNodeType)(\"JSXIdentifier\")\n }\n }\n});\n\n(0, _index2.default)(\"JSXOpeningElement\", {\n builder: [\"name\", \"attributes\", \"selfClosing\"],\n visitor: [\"name\", \"attributes\"],\n aliases: [\"JSX\", \"Immutable\"],\n fields: {\n name: {\n validate: (0, _index.assertNodeType)(\"JSXIdentifier\", \"JSXMemberExpression\")\n },\n selfClosing: {\n default: false,\n validate: (0, _index.assertValueType)(\"boolean\")\n },\n attributes: {\n validate: (0, _index.chain)((0, _index.assertValueType)(\"array\"), (0, _index.assertEach)((0, _index.assertNodeType)(\"JSXAttribute\", \"JSXSpreadAttribute\")))\n }\n }\n});\n\n(0, _index2.default)(\"JSXSpreadAttribute\", {\n visitor: [\"argument\"],\n aliases: [\"JSX\"],\n fields: {\n argument: {\n validate: (0, _index.assertNodeType)(\"Expression\")\n }\n }\n});\n\n(0, _index2.default)(\"JSXText\", {\n aliases: [\"JSX\", \"Immutable\"],\n builder: [\"value\"],\n fields: {\n value: {\n validate: (0, _index.assertValueType)(\"string\")\n }\n }\n});", "\"use strict\";\n\nvar _index = require(\"./index\");\n\nvar _index2 = _interopRequireDefault(_index);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n(0, _index2.default)(\"Noop\", {\n visitor: []\n});\n\n(0, _index2.default)(\"ParenthesizedExpression\", {\n visitor: [\"expression\"],\n aliases: [\"Expression\", \"ExpressionWrapper\"],\n fields: {\n expression: {\n validate: (0, _index.assertNodeType)(\"Expression\")\n }\n }\n});", "\"use strict\";\n\nvar _index = require(\"./index\");\n\nvar _index2 = _interopRequireDefault(_index);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n(0, _index2.default)(\"AwaitExpression\", {\n builder: [\"argument\"],\n visitor: [\"argument\"],\n aliases: [\"Expression\", \"Terminatorless\"],\n fields: {\n argument: {\n validate: (0, _index.assertNodeType)(\"Expression\")\n }\n }\n});\n\n(0, _index2.default)(\"ForAwaitStatement\", {\n visitor: [\"left\", \"right\", \"body\"],\n aliases: [\"Scopable\", \"Statement\", \"For\", \"BlockParent\", \"Loop\", \"ForXStatement\"],\n fields: {\n left: {\n validate: (0, _index.assertNodeType)(\"VariableDeclaration\", \"LVal\")\n },\n right: {\n validate: (0, _index.assertNodeType)(\"Expression\")\n },\n body: {\n validate: (0, _index.assertNodeType)(\"Statement\")\n }\n }\n});\n\n(0, _index2.default)(\"BindExpression\", {\n visitor: [\"object\", \"callee\"],\n aliases: [\"Expression\"],\n fields: {}\n});\n\n(0, _index2.default)(\"Import\", {\n aliases: [\"Expression\"]\n});\n\n(0, _index2.default)(\"Decorator\", {\n visitor: [\"expression\"],\n fields: {\n expression: {\n validate: (0, _index.assertNodeType)(\"Expression\")\n }\n }\n});\n\n(0, _index2.default)(\"DoExpression\", {\n visitor: [\"body\"],\n aliases: [\"Expression\"],\n fields: {\n body: {\n validate: (0, _index.assertNodeType)(\"BlockStatement\")\n }\n }\n});\n\n(0, _index2.default)(\"ExportDefaultSpecifier\", {\n visitor: [\"exported\"],\n aliases: [\"ModuleSpecifier\"],\n fields: {\n exported: {\n validate: (0, _index.assertNodeType)(\"Identifier\")\n }\n }\n});\n\n(0, _index2.default)(\"ExportNamespaceSpecifier\", {\n visitor: [\"exported\"],\n aliases: [\"ModuleSpecifier\"],\n fields: {\n exported: {\n validate: (0, _index.assertNodeType)(\"Identifier\")\n }\n }\n});\n\n(0, _index2.default)(\"RestProperty\", {\n visitor: [\"argument\"],\n aliases: [\"UnaryLike\"],\n fields: {\n argument: {\n validate: (0, _index.assertNodeType)(\"LVal\")\n }\n }\n});\n\n(0, _index2.default)(\"SpreadProperty\", {\n visitor: [\"argument\"],\n aliases: [\"UnaryLike\"],\n fields: {\n argument: {\n validate: (0, _index.assertNodeType)(\"Expression\")\n }\n }\n});", "\"use strict\";\n\nrequire(\"./index\");\n\nrequire(\"./core\");\n\nrequire(\"./es2015\");\n\nrequire(\"./flow\");\n\nrequire(\"./jsx\");\n\nrequire(\"./misc\");\n\nrequire(\"./experimental\");", "\"use strict\";\n\nexports.__esModule = true;\nexports.isReactComponent = undefined;\nexports.isCompatTag = isCompatTag;\nexports.buildChildren = buildChildren;\n\nvar _index = require(\"./index\");\n\nvar t = _interopRequireWildcard(_index);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nvar isReactComponent = exports.isReactComponent = t.buildMatchMemberExpression(\"React.Component\");\n\nfunction isCompatTag(tagName) {\n return !!tagName && /^[a-z]|\\-/.test(tagName);\n}\n\nfunction cleanJSXElementLiteralChild(child, args) {\n var lines = child.value.split(/\\r\\n|\\n|\\r/);\n\n var lastNonEmptyLine = 0;\n\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].match(/[^ \\t]/)) {\n lastNonEmptyLine = i;\n }\n }\n\n var str = \"\";\n\n for (var _i = 0; _i < lines.length; _i++) {\n var line = lines[_i];\n\n var isFirstLine = _i === 0;\n var isLastLine = _i === lines.length - 1;\n var isLastNonEmptyLine = _i === lastNonEmptyLine;\n\n var trimmedLine = line.replace(/\\t/g, \" \");\n\n if (!isFirstLine) {\n trimmedLine = trimmedLine.replace(/^[ ]+/, \"\");\n }\n\n if (!isLastLine) {\n trimmedLine = trimmedLine.replace(/[ ]+$/, \"\");\n }\n\n if (trimmedLine) {\n if (!isLastNonEmptyLine) {\n trimmedLine += \" \";\n }\n\n str += trimmedLine;\n }\n }\n\n if (str) args.push(t.stringLiteral(str));\n}\n\nfunction buildChildren(node) {\n var elems = [];\n\n for (var i = 0; i < node.children.length; i++) {\n var child = node.children[i];\n\n if (t.isJSXText(child)) {\n cleanJSXElementLiteralChild(child, elems);\n continue;\n }\n\n if (t.isJSXExpressionContainer(child)) child = child.expression;\n if (t.isJSXEmptyExpression(child)) continue;\n\n elems.push(child);\n }\n\n return elems;\n}", "\"use strict\";\n\nexports.__esModule = true;\nexports.createTypeAnnotationBasedOnTypeof = exports.removeTypeDuplicates = exports.createUnionTypeAnnotation = exports.valueToNode = exports.toBlock = exports.toExpression = exports.toStatement = exports.toBindingIdentifierName = exports.toIdentifier = exports.toKeyAlias = exports.toSequenceExpression = exports.toComputedKey = exports.isNodesEquivalent = exports.isImmutable = exports.isScope = exports.isSpecifierDefault = exports.isVar = exports.isBlockScoped = exports.isLet = exports.isValidIdentifier = exports.isReferenced = exports.isBinding = exports.getOuterBindingIdentifiers = exports.getBindingIdentifiers = exports.TYPES = exports.react = exports.DEPRECATED_KEYS = exports.BUILDER_KEYS = exports.NODE_FIELDS = exports.ALIAS_KEYS = exports.VISITOR_KEYS = exports.NOT_LOCAL_BINDING = exports.BLOCK_SCOPED_SYMBOL = exports.INHERIT_KEYS = exports.UNARY_OPERATORS = exports.STRING_UNARY_OPERATORS = exports.NUMBER_UNARY_OPERATORS = exports.BOOLEAN_UNARY_OPERATORS = exports.BINARY_OPERATORS = exports.NUMBER_BINARY_OPERATORS = exports.BOOLEAN_BINARY_OPERATORS = exports.COMPARISON_BINARY_OPERATORS = exports.EQUALITY_BINARY_OPERATORS = exports.BOOLEAN_NUMBER_BINARY_OPERATORS = exports.UPDATE_OPERATORS = exports.LOGICAL_OPERATORS = exports.COMMENT_KEYS = exports.FOR_INIT_KEYS = exports.FLATTENABLE_KEYS = exports.STATEMENT_OR_BLOCK_KEYS = undefined;\n\nvar _getOwnPropertySymbols = require(\"babel-runtime/core-js/object/get-own-property-symbols\");\n\nvar _getOwnPropertySymbols2 = _interopRequireDefault(_getOwnPropertySymbols);\n\nvar _getIterator2 = require(\"babel-runtime/core-js/get-iterator\");\n\nvar _getIterator3 = _interopRequireDefault(_getIterator2);\n\nvar _keys = require(\"babel-runtime/core-js/object/keys\");\n\nvar _keys2 = _interopRequireDefault(_keys);\n\nvar _stringify = require(\"babel-runtime/core-js/json/stringify\");\n\nvar _stringify2 = _interopRequireDefault(_stringify);\n\nvar _constants = require(\"./constants\");\n\nObject.defineProperty(exports, \"STATEMENT_OR_BLOCK_KEYS\", {\n enumerable: true,\n get: function get() {\n return _constants.STATEMENT_OR_BLOCK_KEYS;\n }\n});\nObject.defineProperty(exports, \"FLATTENABLE_KEYS\", {\n enumerable: true,\n get: function get() {\n return _constants.FLATTENABLE_KEYS;\n }\n});\nObject.defineProperty(exports, \"FOR_INIT_KEYS\", {\n enumerable: true,\n get: function get() {\n return _constants.FOR_INIT_KEYS;\n }\n});\nObject.defineProperty(exports, \"COMMENT_KEYS\", {\n enumerable: true,\n get: function get() {\n return _constants.COMMENT_KEYS;\n }\n});\nObject.defineProperty(exports, \"LOGICAL_OPERATORS\", {\n enumerable: true,\n get: function get() {\n return _constants.LOGICAL_OPERATORS;\n }\n});\nObject.defineProperty(exports, \"UPDATE_OPERATORS\", {\n enumerable: true,\n get: function get() {\n return _constants.UPDATE_OPERATORS;\n }\n});\nObject.defineProperty(exports, \"BOOLEAN_NUMBER_BINARY_OPERATORS\", {\n enumerable: true,\n get: function get() {\n return _constants.BOOLEAN_NUMBER_BINARY_OPERATORS;\n }\n});\nObject.defineProperty(exports, \"EQUALITY_BINARY_OPERATORS\", {\n enumerable: true,\n get: function get() {\n return _constants.EQUALITY_BINARY_OPERATORS;\n }\n});\nObject.defineProperty(exports, \"COMPARISON_BINARY_OPERATORS\", {\n enumerable: true,\n get: function get() {\n return _constants.COMPARISON_BINARY_OPERATORS;\n }\n});\nObject.defineProperty(exports, \"BOOLEAN_BINARY_OPERATORS\", {\n enumerable: true,\n get: function get() {\n return _constants.BOOLEAN_BINARY_OPERATORS;\n }\n});\nObject.defineProperty(exports, \"NUMBER_BINARY_OPERATORS\", {\n enumerable: true,\n get: function get() {\n return _constants.NUMBER_BINARY_OPERATORS;\n }\n});\nObject.defineProperty(exports, \"BINARY_OPERATORS\", {\n enumerable: true,\n get: function get() {\n return _constants.BINARY_OPERATORS;\n }\n});\nObject.defineProperty(exports, \"BOOLEAN_UNARY_OPERATORS\", {\n enumerable: true,\n get: function get() {\n return _constants.BOOLEAN_UNARY_OPERATORS;\n }\n});\nObject.defineProperty(exports, \"NUMBER_UNARY_OPERATORS\", {\n enumerable: true,\n get: function get() {\n return _constants.NUMBER_UNARY_OPERATORS;\n }\n});\nObject.defineProperty(exports, \"STRING_UNARY_OPERATORS\", {\n enumerable: true,\n get: function get() {\n return _constants.STRING_UNARY_OPERATORS;\n }\n});\nObject.defineProperty(exports, \"UNARY_OPERATORS\", {\n enumerable: true,\n get: function get() {\n return _constants.UNARY_OPERATORS;\n }\n});\nObject.defineProperty(exports, \"INHERIT_KEYS\", {\n enumerable: true,\n get: function get() {\n return _constants.INHERIT_KEYS;\n }\n});\nObject.defineProperty(exports, \"BLOCK_SCOPED_SYMBOL\", {\n enumerable: true,\n get: function get() {\n return _constants.BLOCK_SCOPED_SYMBOL;\n }\n});\nObject.defineProperty(exports, \"NOT_LOCAL_BINDING\", {\n enumerable: true,\n get: function get() {\n return _constants.NOT_LOCAL_BINDING;\n }\n});\nexports.is = is;\nexports.isType = isType;\nexports.validate = validate;\nexports.shallowEqual = shallowEqual;\nexports.appendToMemberExpression = appendToMemberExpression;\nexports.prependToMemberExpression = prependToMemberExpression;\nexports.ensureBlock = ensureBlock;\nexports.clone = clone;\nexports.cloneWithoutLoc = cloneWithoutLoc;\nexports.cloneDeep = cloneDeep;\nexports.buildMatchMemberExpression = buildMatchMemberExpression;\nexports.removeComments = removeComments;\nexports.inheritsComments = inheritsComments;\nexports.inheritTrailingComments = inheritTrailingComments;\nexports.inheritLeadingComments = inheritLeadingComments;\nexports.inheritInnerComments = inheritInnerComments;\nexports.inherits = inherits;\nexports.assertNode = assertNode;\nexports.isNode = isNode;\nexports.traverseFast = traverseFast;\nexports.removeProperties = removeProperties;\nexports.removePropertiesDeep = removePropertiesDeep;\n\nvar _retrievers = require(\"./retrievers\");\n\nObject.defineProperty(exports, \"getBindingIdentifiers\", {\n enumerable: true,\n get: function get() {\n return _retrievers.getBindingIdentifiers;\n }\n});\nObject.defineProperty(exports, \"getOuterBindingIdentifiers\", {\n enumerable: true,\n get: function get() {\n return _retrievers.getOuterBindingIdentifiers;\n }\n});\n\nvar _validators = require(\"./validators\");\n\nObject.defineProperty(exports, \"isBinding\", {\n enumerable: true,\n get: function get() {\n return _validators.isBinding;\n }\n});\nObject.defineProperty(exports, \"isReferenced\", {\n enumerable: true,\n get: function get() {\n return _validators.isReferenced;\n }\n});\nObject.defineProperty(exports, \"isValidIdentifier\", {\n enumerable: true,\n get: function get() {\n return _validators.isValidIdentifier;\n }\n});\nObject.defineProperty(exports, \"isLet\", {\n enumerable: true,\n get: function get() {\n return _validators.isLet;\n }\n});\nObject.defineProperty(exports, \"isBlockScoped\", {\n enumerable: true,\n get: function get() {\n return _validators.isBlockScoped;\n }\n});\nObject.defineProperty(exports, \"isVar\", {\n enumerable: true,\n get: function get() {\n return _validators.isVar;\n }\n});\nObject.defineProperty(exports, \"isSpecifierDefault\", {\n enumerable: true,\n get: function get() {\n return _validators.isSpecifierDefault;\n }\n});\nObject.defineProperty(exports, \"isScope\", {\n enumerable: true,\n get: function get() {\n return _validators.isScope;\n }\n});\nObject.defineProperty(exports, \"isImmutable\", {\n enumerable: true,\n get: function get() {\n return _validators.isImmutable;\n }\n});\nObject.defineProperty(exports, \"isNodesEquivalent\", {\n enumerable: true,\n get: function get() {\n return _validators.isNodesEquivalent;\n }\n});\n\nvar _converters = require(\"./converters\");\n\nObject.defineProperty(exports, \"toComputedKey\", {\n enumerable: true,\n get: function get() {\n return _converters.toComputedKey;\n }\n});\nObject.defineProperty(exports, \"toSequenceExpression\", {\n enumerable: true,\n get: function get() {\n return _converters.toSequenceExpression;\n }\n});\nObject.defineProperty(exports, \"toKeyAlias\", {\n enumerable: true,\n get: function get() {\n return _converters.toKeyAlias;\n }\n});\nObject.defineProperty(exports, \"toIdentifier\", {\n enumerable: true,\n get: function get() {\n return _converters.toIdentifier;\n }\n});\nObject.defineProperty(exports, \"toBindingIdentifierName\", {\n enumerable: true,\n get: function get() {\n return _converters.toBindingIdentifierName;\n }\n});\nObject.defineProperty(exports, \"toStatement\", {\n enumerable: true,\n get: function get() {\n return _converters.toStatement;\n }\n});\nObject.defineProperty(exports, \"toExpression\", {\n enumerable: true,\n get: function get() {\n return _converters.toExpression;\n }\n});\nObject.defineProperty(exports, \"toBlock\", {\n enumerable: true,\n get: function get() {\n return _converters.toBlock;\n }\n});\nObject.defineProperty(exports, \"valueToNode\", {\n enumerable: true,\n get: function get() {\n return _converters.valueToNode;\n }\n});\n\nvar _flow = require(\"./flow\");\n\nObject.defineProperty(exports, \"createUnionTypeAnnotation\", {\n enumerable: true,\n get: function get() {\n return _flow.createUnionTypeAnnotation;\n }\n});\nObject.defineProperty(exports, \"removeTypeDuplicates\", {\n enumerable: true,\n get: function get() {\n return _flow.removeTypeDuplicates;\n }\n});\nObject.defineProperty(exports, \"createTypeAnnotationBasedOnTypeof\", {\n enumerable: true,\n get: function get() {\n return _flow.createTypeAnnotationBasedOnTypeof;\n }\n});\n\nvar _toFastProperties = require(\"to-fast-properties\");\n\nvar _toFastProperties2 = _interopRequireDefault(_toFastProperties);\n\nvar _clone = require(\"lodash/clone\");\n\nvar _clone2 = _interopRequireDefault(_clone);\n\nvar _uniq = require(\"lodash/uniq\");\n\nvar _uniq2 = _interopRequireDefault(_uniq);\n\nrequire(\"./definitions/init\");\n\nvar _definitions = require(\"./definitions\");\n\nvar _react2 = require(\"./react\");\n\nvar _react = _interopRequireWildcard(_react2);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar t = exports;\n\nfunction registerType(type) {\n var is = t[\"is\" + type];\n if (!is) {\n is = t[\"is\" + type] = function (node, opts) {\n return t.is(type, node, opts);\n };\n }\n\n t[\"assert\" + type] = function (node, opts) {\n opts = opts || {};\n if (!is(node, opts)) {\n throw new Error(\"Expected type \" + (0, _stringify2.default)(type) + \" with option \" + (0, _stringify2.default)(opts));\n }\n };\n}\n\nexports.VISITOR_KEYS = _definitions.VISITOR_KEYS;\nexports.ALIAS_KEYS = _definitions.ALIAS_KEYS;\nexports.NODE_FIELDS = _definitions.NODE_FIELDS;\nexports.BUILDER_KEYS = _definitions.BUILDER_KEYS;\nexports.DEPRECATED_KEYS = _definitions.DEPRECATED_KEYS;\nexports.react = _react;\n\n\nfor (var type in t.VISITOR_KEYS) {\n registerType(type);\n}\n\nt.FLIPPED_ALIAS_KEYS = {};\n\n(0, _keys2.default)(t.ALIAS_KEYS).forEach(function (type) {\n t.ALIAS_KEYS[type].forEach(function (alias) {\n var types = t.FLIPPED_ALIAS_KEYS[alias] = t.FLIPPED_ALIAS_KEYS[alias] || [];\n types.push(type);\n });\n});\n\n(0, _keys2.default)(t.FLIPPED_ALIAS_KEYS).forEach(function (type) {\n t[type.toUpperCase() + \"_TYPES\"] = t.FLIPPED_ALIAS_KEYS[type];\n registerType(type);\n});\n\nvar TYPES = exports.TYPES = (0, _keys2.default)(t.VISITOR_KEYS).concat((0, _keys2.default)(t.FLIPPED_ALIAS_KEYS)).concat((0, _keys2.default)(t.DEPRECATED_KEYS));\n\nfunction is(type, node, opts) {\n if (!node) return false;\n\n var matches = isType(node.type, type);\n if (!matches) return false;\n\n if (typeof opts === \"undefined\") {\n return true;\n } else {\n return t.shallowEqual(node, opts);\n }\n}\n\nfunction isType(nodeType, targetType) {\n if (nodeType === targetType) return true;\n\n if (t.ALIAS_KEYS[targetType]) return false;\n\n var aliases = t.FLIPPED_ALIAS_KEYS[targetType];\n if (aliases) {\n if (aliases[0] === nodeType) return true;\n\n for (var _iterator = aliases, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : (0, _getIterator3.default)(_iterator);;) {\n var _ref;\n\n if (_isArray) {\n if (_i >= _iterator.length) break;\n _ref = _iterator[_i++];\n } else {\n _i = _iterator.next();\n if (_i.done) break;\n _ref = _i.value;\n }\n\n var alias = _ref;\n\n if (nodeType === alias) return true;\n }\n }\n\n return false;\n}\n\n(0, _keys2.default)(t.BUILDER_KEYS).forEach(function (type) {\n var keys = t.BUILDER_KEYS[type];\n\n function builder() {\n if (arguments.length > keys.length) {\n throw new Error(\"t.\" + type + \": Too many arguments passed. Received \" + arguments.length + \" but can receive \" + (\"no more than \" + keys.length));\n }\n\n var node = {};\n node.type = type;\n\n var i = 0;\n\n for (var _iterator2 = keys, _isArray2 = Array.isArray(_iterator2), _i2 = 0, _iterator2 = _isArray2 ? _iterator2 : (0, _getIterator3.default)(_iterator2);;) {\n var _ref2;\n\n if (_isArray2) {\n if (_i2 >= _iterator2.length) break;\n _ref2 = _iterator2[_i2++];\n } else {\n _i2 = _iterator2.next();\n if (_i2.done) break;\n _ref2 = _i2.value;\n }\n\n var _key = _ref2;\n\n var field = t.NODE_FIELDS[type][_key];\n\n var arg = arguments[i++];\n if (arg === undefined) arg = (0, _clone2.default)(field.default);\n\n node[_key] = arg;\n }\n\n for (var key in node) {\n validate(node, key, node[key]);\n }\n\n return node;\n }\n\n t[type] = builder;\n t[type[0].toLowerCase() + type.slice(1)] = builder;\n});\n\nvar _loop = function _loop(_type) {\n var newType = t.DEPRECATED_KEYS[_type];\n\n function proxy(fn) {\n return function () {\n console.trace(\"The node type \" + _type + \" has been renamed to \" + newType);\n return fn.apply(this, arguments);\n };\n }\n\n t[_type] = t[_type[0].toLowerCase() + _type.slice(1)] = proxy(t[newType]);\n t[\"is\" + _type] = proxy(t[\"is\" + newType]);\n t[\"assert\" + _type] = proxy(t[\"assert\" + newType]);\n};\n\nfor (var _type in t.DEPRECATED_KEYS) {\n _loop(_type);\n}\n\nfunction validate(node, key, val) {\n if (!node) return;\n\n var fields = t.NODE_FIELDS[node.type];\n if (!fields) return;\n\n var field = fields[key];\n if (!field || !field.validate) return;\n if (field.optional && val == null) return;\n\n field.validate(node, key, val);\n}\n\nfunction shallowEqual(actual, expected) {\n var keys = (0, _keys2.default)(expected);\n\n for (var _iterator3 = keys, _isArray3 = Array.isArray(_iterator3), _i3 = 0, _iterator3 = _isArray3 ? _iterator3 : (0, _getIterator3.default)(_iterator3);;) {\n var _ref3;\n\n if (_isArray3) {\n if (_i3 >= _iterator3.length) break;\n _ref3 = _iterator3[_i3++];\n } else {\n _i3 = _iterator3.next();\n if (_i3.done) break;\n _ref3 = _i3.value;\n }\n\n var key = _ref3;\n\n if (actual[key] !== expected[key]) {\n return false;\n }\n }\n\n return true;\n}\n\nfunction appendToMemberExpression(member, append, computed) {\n member.object = t.memberExpression(member.object, member.property, member.computed);\n member.property = append;\n member.computed = !!computed;\n return member;\n}\n\nfunction prependToMemberExpression(member, prepend) {\n member.object = t.memberExpression(prepend, member.object);\n return member;\n}\n\nfunction ensureBlock(node) {\n var key = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"body\";\n\n return node[key] = t.toBlock(node[key], node);\n}\n\nfunction clone(node) {\n if (!node) return node;\n var newNode = {};\n for (var key in node) {\n if (key[0] === \"_\") continue;\n newNode[key] = node[key];\n }\n return newNode;\n}\n\nfunction cloneWithoutLoc(node) {\n var newNode = clone(node);\n delete newNode.loc;\n return newNode;\n}\n\nfunction cloneDeep(node) {\n if (!node) return node;\n var newNode = {};\n\n for (var key in node) {\n if (key[0] === \"_\") continue;\n\n var val = node[key];\n\n if (val) {\n if (val.type) {\n val = t.cloneDeep(val);\n } else if (Array.isArray(val)) {\n val = val.map(t.cloneDeep);\n }\n }\n\n newNode[key] = val;\n }\n\n return newNode;\n}\n\nfunction buildMatchMemberExpression(match, allowPartial) {\n var parts = match.split(\".\");\n\n return function (member) {\n if (!t.isMemberExpression(member)) return false;\n\n var search = [member];\n var i = 0;\n\n while (search.length) {\n var node = search.shift();\n\n if (allowPartial && i === parts.length) {\n return true;\n }\n\n if (t.isIdentifier(node)) {\n if (parts[i] !== node.name) return false;\n } else if (t.isStringLiteral(node)) {\n if (parts[i] !== node.value) return false;\n } else if (t.isMemberExpression(node)) {\n if (node.computed && !t.isStringLiteral(node.property)) {\n return false;\n } else {\n search.push(node.object);\n search.push(node.property);\n continue;\n }\n } else {\n return false;\n }\n\n if (++i > parts.length) {\n return false;\n }\n }\n\n return true;\n };\n}\n\nfunction removeComments(node) {\n for (var _iterator4 = t.COMMENT_KEYS, _isArray4 = Array.isArray(_iterator4), _i4 = 0, _iterator4 = _isArray4 ? _iterator4 : (0, _getIterator3.default)(_iterator4);;) {\n var _ref4;\n\n if (_isArray4) {\n if (_i4 >= _iterator4.length) break;\n _ref4 = _iterator4[_i4++];\n } else {\n _i4 = _iterator4.next();\n if (_i4.done) break;\n _ref4 = _i4.value;\n }\n\n var key = _ref4;\n\n delete node[key];\n }\n return node;\n}\n\nfunction inheritsComments(child, parent) {\n inheritTrailingComments(child, parent);\n inheritLeadingComments(child, parent);\n inheritInnerComments(child, parent);\n return child;\n}\n\nfunction inheritTrailingComments(child, parent) {\n _inheritComments(\"trailingComments\", child, parent);\n}\n\nfunction inheritLeadingComments(child, parent) {\n _inheritComments(\"leadingComments\", child, parent);\n}\n\nfunction inheritInnerComments(child, parent) {\n _inheritComments(\"innerComments\", child, parent);\n}\n\nfunction _inheritComments(key, child, parent) {\n if (child && parent) {\n child[key] = (0, _uniq2.default)([].concat(child[key], parent[key]).filter(Boolean));\n }\n}\n\nfunction inherits(child, parent) {\n if (!child || !parent) return child;\n\n for (var _iterator5 = t.INHERIT_KEYS.optional, _isArray5 = Array.isArray(_iterator5), _i5 = 0, _iterator5 = _isArray5 ? _iterator5 : (0, _getIterator3.default)(_iterator5);;) {\n var _ref5;\n\n if (_isArray5) {\n if (_i5 >= _iterator5.length) break;\n _ref5 = _iterator5[_i5++];\n } else {\n _i5 = _iterator5.next();\n if (_i5.done) break;\n _ref5 = _i5.value;\n }\n\n var _key2 = _ref5;\n\n if (child[_key2] == null) {\n child[_key2] = parent[_key2];\n }\n }\n\n for (var key in parent) {\n if (key[0] === \"_\") child[key] = parent[key];\n }\n\n for (var _iterator6 = t.INHERIT_KEYS.force, _isArray6 = Array.isArray(_iterator6), _i6 = 0, _iterator6 = _isArray6 ? _iterator6 : (0, _getIterator3.default)(_iterator6);;) {\n var _ref6;\n\n if (_isArray6) {\n if (_i6 >= _iterator6.length) break;\n _ref6 = _iterator6[_i6++];\n } else {\n _i6 = _iterator6.next();\n if (_i6.done) break;\n _ref6 = _i6.value;\n }\n\n var _key3 = _ref6;\n\n child[_key3] = parent[_key3];\n }\n\n t.inheritsComments(child, parent);\n\n return child;\n}\n\nfunction assertNode(node) {\n if (!isNode(node)) {\n throw new TypeError(\"Not a valid node \" + (node && node.type));\n }\n}\n\nfunction isNode(node) {\n return !!(node && _definitions.VISITOR_KEYS[node.type]);\n}\n\n(0, _toFastProperties2.default)(t);\n(0, _toFastProperties2.default)(t.VISITOR_KEYS);\n\nfunction traverseFast(node, enter, opts) {\n if (!node) return;\n\n var keys = t.VISITOR_KEYS[node.type];\n if (!keys) return;\n\n opts = opts || {};\n enter(node, opts);\n\n for (var _iterator7 = keys, _isArray7 = Array.isArray(_iterator7), _i7 = 0, _iterator7 = _isArray7 ? _iterator7 : (0, _getIterator3.default)(_iterator7);;) {\n var _ref7;\n\n if (_isArray7) {\n if (_i7 >= _iterator7.length) break;\n _ref7 = _iterator7[_i7++];\n } else {\n _i7 = _iterator7.next();\n if (_i7.done) break;\n _ref7 = _i7.value;\n }\n\n var key = _ref7;\n\n var subNode = node[key];\n\n if (Array.isArray(subNode)) {\n for (var _iterator8 = subNode, _isArray8 = Array.isArray(_iterator8), _i8 = 0, _iterator8 = _isArray8 ? _iterator8 : (0, _getIterator3.default)(_iterator8);;) {\n var _ref8;\n\n if (_isArray8) {\n if (_i8 >= _iterator8.length) break;\n _ref8 = _iterator8[_i8++];\n } else {\n _i8 = _iterator8.next();\n if (_i8.done) break;\n _ref8 = _i8.value;\n }\n\n var _node = _ref8;\n\n traverseFast(_node, enter, opts);\n }\n } else {\n traverseFast(subNode, enter, opts);\n }\n }\n}\n\nvar CLEAR_KEYS = [\"tokens\", \"start\", \"end\", \"loc\", \"raw\", \"rawValue\"];\n\nvar CLEAR_KEYS_PLUS_COMMENTS = t.COMMENT_KEYS.concat([\"comments\"]).concat(CLEAR_KEYS);\n\nfunction removeProperties(node, opts) {\n opts = opts || {};\n var map = opts.preserveComments ? CLEAR_KEYS : CLEAR_KEYS_PLUS_COMMENTS;\n for (var _iterator9 = map, _isArray9 = Array.isArray(_iterator9), _i9 = 0, _iterator9 = _isArray9 ? _iterator9 : (0, _getIterator3.default)(_iterator9);;) {\n var _ref9;\n\n if (_isArray9) {\n if (_i9 >= _iterator9.length) break;\n _ref9 = _iterator9[_i9++];\n } else {\n _i9 = _iterator9.next();\n if (_i9.done) break;\n _ref9 = _i9.value;\n }\n\n var _key4 = _ref9;\n\n if (node[_key4] != null) node[_key4] = undefined;\n }\n\n for (var key in node) {\n if (key[0] === \"_\" && node[key] != null) node[key] = undefined;\n }\n\n var syms = (0, _getOwnPropertySymbols2.default)(node);\n for (var _iterator10 = syms, _isArray10 = Array.isArray(_iterator10), _i10 = 0, _iterator10 = _isArray10 ? _iterator10 : (0, _getIterator3.default)(_iterator10);;) {\n var _ref10;\n\n if (_isArray10) {\n if (_i10 >= _iterator10.length) break;\n _ref10 = _iterator10[_i10++];\n } else {\n _i10 = _iterator10.next();\n if (_i10.done) break;\n _ref10 = _i10.value;\n }\n\n var sym = _ref10;\n\n node[sym] = null;\n }\n}\n\nfunction removePropertiesDeep(tree, opts) {\n traverseFast(tree, removeProperties, opts);\n return tree;\n}", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar t = require('babel-types');\n\nvar classCallCheck = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nvar inherits = function (subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n};\n\nvar possibleConstructorReturn = function (self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n};\n\n/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar TYPE_MAP = Object.create(null);\nvar ALIAS_TO_TYPE = Object.create(null);\nvar PATH_CACHE_KEY = Symbol();\n\nvar IS_ALIAS_OF = Object.create(null);\n\nvar Node = function () {\n function Node() {\n classCallCheck(this, Node);\n\n this.loc = {\n source: null,\n start: { line: 0, column: 0 },\n end: { line: 0, column: 0 }\n };\n this[PATH_CACHE_KEY] = [];\n }\n\n Node.prototype.toJSON = function toJSON() {\n var _this = this;\n\n return Object.getOwnPropertyNames(this).reduce(function (acc, name) {\n if (name === 'loc' || name === 'parent') {\n return acc;\n }\n var value = _this[name];\n if (Array.isArray(value)) {\n acc[name] = value.map(function (val) {\n return val.toJSON();\n });\n } else {\n acc[name] = value && value.toJSON ? value.toJSON() : value;\n }\n return acc;\n }, {\n type: this.type\n });\n };\n\n Node.registerType = function registerType(type) {\n if (Node['is' + type]) {\n return;\n }\n\n Node['is' + type] = function (node) {\n return is(node, type);\n };\n\n // Node['assert' + type] = function(node) {\n // if (!is(node, type)) {\n // throw new Error('Expected node to be of type ' + type + ' but was ' + (node ? node.type : 'undefined') + ' instead');\n // }\n // };\n };\n\n return Node;\n}();\nNode.registerType('Scope');\n\nfunction is(node, type) {\n if (!node) return false;\n\n return node.type === type || IS_ALIAS_OF[type] && IS_ALIAS_OF[type][node.type] || t.is(type, node);\n}\n\nfunction visitor(type) {\n for (var _len = arguments.length, fields = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n fields[_key - 1] = arguments[_key];\n }\n\n type.prototype.visitorKeys = fields;\n}\n\nfunction alias(type) {\n for (var _len2 = arguments.length, aliases = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n aliases[_key2 - 1] = arguments[_key2];\n }\n\n type.prototype.aliases = aliases;\n for (var i = 0, len = aliases.length; i < len; i++) {\n var _alias = aliases[i];\n if (!ALIAS_TO_TYPE[_alias]) {\n ALIAS_TO_TYPE[_alias] = [];\n }\n ALIAS_TO_TYPE[_alias].push(type.prototype.type);\n if (!IS_ALIAS_OF[_alias]) {\n IS_ALIAS_OF[_alias] = {};\n }\n IS_ALIAS_OF[_alias][type.prototype.type] = true;\n Node.registerType(_alias);\n }\n}\n\nfunction type(Type, type) {\n Type.prototype.type = type;\n TYPE_MAP[type] = Type;\n\n Node.registerType(type);\n}\n\nvar Fragment = function (_Node) {\n inherits(Fragment, _Node);\n\n function Fragment(expression) {\n classCallCheck(this, Fragment);\n\n var _this2 = possibleConstructorReturn(this, _Node.call(this));\n\n _this2.value = expression;\n return _this2;\n }\n\n return Fragment;\n}(Node);\ntype(Fragment, 'Fragment');\nalias(Fragment, 'Statement');\nvisitor(Fragment, 'value');\n\nvar PrintExpressionStatement = function (_Node2) {\n inherits(PrintExpressionStatement, _Node2);\n\n function PrintExpressionStatement(expression) {\n classCallCheck(this, PrintExpressionStatement);\n\n var _this3 = possibleConstructorReturn(this, _Node2.call(this));\n\n _this3.value = expression;\n return _this3;\n }\n\n return PrintExpressionStatement;\n}(Node);\ntype(PrintExpressionStatement, 'PrintExpressionStatement');\nalias(PrintExpressionStatement, 'Statement', 'PrintStatement');\nvisitor(PrintExpressionStatement, 'value');\n\nvar PrintTextStatement = function (_Node3) {\n inherits(PrintTextStatement, _Node3);\n\n function PrintTextStatement(text) {\n classCallCheck(this, PrintTextStatement);\n\n var _this4 = possibleConstructorReturn(this, _Node3.call(this));\n\n _this4.value = text;\n return _this4;\n }\n\n return PrintTextStatement;\n}(Node);\ntype(PrintTextStatement, 'PrintTextStatement');\nalias(PrintTextStatement, 'Statement', 'PrintStatement');\nvisitor(PrintTextStatement, 'value');\n\nvar ConstantValue = function (_Node4) {\n inherits(ConstantValue, _Node4);\n\n function ConstantValue(value) {\n classCallCheck(this, ConstantValue);\n\n var _this5 = possibleConstructorReturn(this, _Node4.call(this));\n\n _this5.value = value;\n return _this5;\n }\n\n ConstantValue.prototype.toString = function toString() {\n return 'Const(' + this.value + ')';\n };\n\n return ConstantValue;\n}(Node);\ntype(ConstantValue, 'ConstantValue');\nalias(ConstantValue, 'Expression', 'Literal', 'Immutable');\n\nvar StringLiteral = function (_ConstantValue) {\n inherits(StringLiteral, _ConstantValue);\n\n function StringLiteral() {\n classCallCheck(this, StringLiteral);\n return possibleConstructorReturn(this, _ConstantValue.apply(this, arguments));\n }\n\n return StringLiteral;\n}(ConstantValue);\ntype(StringLiteral, 'StringLiteral');\nalias(StringLiteral, 'Expression', 'Literal', 'Immutable');\n\nvar NumericLiteral = function (_ConstantValue2) {\n inherits(NumericLiteral, _ConstantValue2);\n\n function NumericLiteral() {\n classCallCheck(this, NumericLiteral);\n return possibleConstructorReturn(this, _ConstantValue2.apply(this, arguments));\n }\n\n return NumericLiteral;\n}(ConstantValue);\ntype(NumericLiteral, 'NumericLiteral');\nalias(NumericLiteral, 'Expression', 'Literal', 'Immutable');\n\nvar BooleanLiteral = function (_ConstantValue3) {\n inherits(BooleanLiteral, _ConstantValue3);\n\n function BooleanLiteral(value) {\n classCallCheck(this, BooleanLiteral);\n return possibleConstructorReturn(this, _ConstantValue3.call(this, value));\n }\n\n return BooleanLiteral;\n}(ConstantValue);\ntype(BooleanLiteral, 'BooleanLiteral');\nalias(BooleanLiteral, 'Expression', 'Literal', 'Immutable');\n\nvar NullLiteral = function (_ConstantValue4) {\n inherits(NullLiteral, _ConstantValue4);\n\n function NullLiteral() {\n classCallCheck(this, NullLiteral);\n return possibleConstructorReturn(this, _ConstantValue4.call(this, null));\n }\n\n return NullLiteral;\n}(ConstantValue);\ntype(NullLiteral, 'NullLiteral');\nalias(NullLiteral, 'Expression', 'Literal', 'Immutable');\n\nvar Identifier = function (_Node5) {\n inherits(Identifier, _Node5);\n\n function Identifier(name) {\n classCallCheck(this, Identifier);\n\n var _this10 = possibleConstructorReturn(this, _Node5.call(this));\n\n _this10.name = name;\n return _this10;\n }\n\n return Identifier;\n}(Node);\ntype(Identifier, 'Identifier');\nalias(Identifier, 'Expression');\n\nvar UnaryExpression = function (_Node6) {\n inherits(UnaryExpression, _Node6);\n\n function UnaryExpression(operator, argument) {\n classCallCheck(this, UnaryExpression);\n\n var _this11 = possibleConstructorReturn(this, _Node6.call(this));\n\n _this11.operator = operator;\n _this11.argument = argument;\n return _this11;\n }\n\n return UnaryExpression;\n}(Node);\ntype(UnaryExpression, 'UnaryExpression');\nalias(UnaryExpression, 'Expression', 'UnaryLike');\nvisitor(UnaryExpression, 'argument');\n\nvar BinaryExpression = function (_Node7) {\n inherits(BinaryExpression, _Node7);\n\n function BinaryExpression(operator, left, right) {\n classCallCheck(this, BinaryExpression);\n\n var _this12 = possibleConstructorReturn(this, _Node7.call(this));\n\n _this12.operator = operator;\n _this12.left = left;\n _this12.right = right;\n return _this12;\n }\n\n return BinaryExpression;\n}(Node);\ntype(BinaryExpression, 'BinaryExpression');\nalias(BinaryExpression, 'Binary', 'Expression');\nvisitor(BinaryExpression, 'left', 'right');\n\nvar BinaryConcatExpression = function (_BinaryExpression) {\n inherits(BinaryConcatExpression, _BinaryExpression);\n\n function BinaryConcatExpression(left, right) {\n classCallCheck(this, BinaryConcatExpression);\n\n var _this13 = possibleConstructorReturn(this, _BinaryExpression.call(this, '~', left, right));\n\n _this13.wasImplicitConcatenation = false;\n return _this13;\n }\n\n return BinaryConcatExpression;\n}(BinaryExpression);\ntype(BinaryConcatExpression, 'BinaryConcatExpression');\nalias(BinaryConcatExpression, 'BinaryExpression', 'Binary', 'Expression');\nvisitor(BinaryConcatExpression, 'left', 'right');\n\nvar ConditionalExpression = function (_Node8) {\n inherits(ConditionalExpression, _Node8);\n\n function ConditionalExpression(test, consequent, alternate) {\n classCallCheck(this, ConditionalExpression);\n\n var _this14 = possibleConstructorReturn(this, _Node8.call(this));\n\n _this14.test = test;\n _this14.consequent = consequent;\n _this14.alternate = alternate;\n return _this14;\n }\n\n return ConditionalExpression;\n}(Node);\ntype(ConditionalExpression, 'ConditionalExpression');\nalias(ConditionalExpression, 'Expression', 'Conditional');\nvisitor(ConditionalExpression, 'test', 'consequent', 'alternate');\n\nvar ArrayExpression = function (_Node9) {\n inherits(ArrayExpression, _Node9);\n\n function ArrayExpression() {\n var elements = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n classCallCheck(this, ArrayExpression);\n\n var _this15 = possibleConstructorReturn(this, _Node9.call(this));\n\n _this15.elements = elements;\n return _this15;\n }\n\n return ArrayExpression;\n}(Node);\ntype(ArrayExpression, 'ArrayExpression');\nalias(ArrayExpression, 'Expression');\nvisitor(ArrayExpression, 'elements');\n\nvar MemberExpression = function (_Node10) {\n inherits(MemberExpression, _Node10);\n\n function MemberExpression(object, property, computed) {\n classCallCheck(this, MemberExpression);\n\n var _this16 = possibleConstructorReturn(this, _Node10.call(this));\n\n _this16.object = object;\n _this16.property = property;\n _this16.computed = computed;\n return _this16;\n }\n\n return MemberExpression;\n}(Node);\ntype(MemberExpression, 'MemberExpression');\nalias(MemberExpression, 'Expression', 'LVal');\nvisitor(MemberExpression, 'object', 'property');\n\nvar CallExpression = function (_Node11) {\n inherits(CallExpression, _Node11);\n\n function CallExpression(callee, args) {\n classCallCheck(this, CallExpression);\n\n var _this17 = possibleConstructorReturn(this, _Node11.call(this));\n\n _this17.callee = callee;\n _this17.arguments = args;\n return _this17;\n }\n\n return CallExpression;\n}(Node);\ntype(CallExpression, 'CallExpression');\nalias(CallExpression, 'Expression', 'FunctionInvocation');\nvisitor(CallExpression, 'callee', 'arguments');\n\nvar NamedArgumentExpression = function (_Node12) {\n inherits(NamedArgumentExpression, _Node12);\n\n function NamedArgumentExpression(name, value) {\n classCallCheck(this, NamedArgumentExpression);\n\n var _this18 = possibleConstructorReturn(this, _Node12.call(this));\n\n _this18.name = name;\n _this18.value = value;\n return _this18;\n }\n\n return NamedArgumentExpression;\n}(Node);\ntype(NamedArgumentExpression, 'NamedArgumentExpression');\nalias(NamedArgumentExpression, 'Expression');\nvisitor(NamedArgumentExpression, 'name', 'value');\n\nvar ObjectExpression = function (_Node13) {\n inherits(ObjectExpression, _Node13);\n\n function ObjectExpression() {\n var properties = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n classCallCheck(this, ObjectExpression);\n\n var _this19 = possibleConstructorReturn(this, _Node13.call(this));\n\n _this19.properties = properties;\n return _this19;\n }\n\n return ObjectExpression;\n}(Node);\ntype(ObjectExpression, 'ObjectExpression');\nalias(ObjectExpression, 'Expression');\nvisitor(ObjectExpression, 'properties');\n\nvar ObjectProperty = function (_Node14) {\n inherits(ObjectProperty, _Node14);\n\n function ObjectProperty(key, value, computed) {\n classCallCheck(this, ObjectProperty);\n\n var _this20 = possibleConstructorReturn(this, _Node14.call(this));\n\n _this20.key = key;\n _this20.value = value;\n _this20.computed = computed;\n return _this20;\n }\n\n return ObjectProperty;\n}(Node);\ntype(ObjectProperty, 'ObjectProperty');\nalias(ObjectProperty, 'Property', 'ObjectMember');\nvisitor(ObjectProperty, 'key', 'value');\n\nvar SequenceExpression = function (_Node15) {\n inherits(SequenceExpression, _Node15);\n\n function SequenceExpression() {\n var expressions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n classCallCheck(this, SequenceExpression);\n\n var _this21 = possibleConstructorReturn(this, _Node15.call(this));\n\n _this21.expressions = expressions;\n return _this21;\n }\n\n SequenceExpression.prototype.add = function add(child) {\n this.expressions.push(child);\n this.loc.end = child.loc.end;\n };\n\n return SequenceExpression;\n}(Node);\ntype(SequenceExpression, 'SequenceExpression');\nalias(SequenceExpression, 'Expression', 'Scope');\nvisitor(SequenceExpression, 'expressions');\n\nvar SliceExpression = function (_Node16) {\n inherits(SliceExpression, _Node16);\n\n function SliceExpression(target, start, end) {\n classCallCheck(this, SliceExpression);\n\n var _this22 = possibleConstructorReturn(this, _Node16.call(this));\n\n _this22.target = target;\n _this22.start = start;\n _this22.end = end;\n return _this22;\n }\n\n return SliceExpression;\n}(Node);\ntype(SliceExpression, 'SliceExpression');\nalias(SliceExpression, 'Expression');\nvisitor(SliceExpression, 'source', 'start', 'end');\n\nvar FilterExpression = function (_Node17) {\n inherits(FilterExpression, _Node17);\n\n function FilterExpression(target, name, args) {\n classCallCheck(this, FilterExpression);\n\n var _this23 = possibleConstructorReturn(this, _Node17.call(this));\n\n _this23.target = target;\n _this23.name = name;\n _this23.arguments = args;\n return _this23;\n }\n\n return FilterExpression;\n}(Node);\ntype(FilterExpression, 'FilterExpression');\nalias(FilterExpression, 'Expression');\nvisitor(FilterExpression, 'target', 'arguments');\n\nvar Element = function (_Node18) {\n inherits(Element, _Node18);\n\n function Element(name) {\n classCallCheck(this, Element);\n\n var _this24 = possibleConstructorReturn(this, _Node18.call(this));\n\n _this24.name = name;\n _this24.attributes = [];\n _this24.children = [];\n _this24.selfClosing = false;\n return _this24;\n }\n\n return Element;\n}(Node);\ntype(Element, 'Element');\nalias(Element, 'Expression');\nvisitor(Element, 'attributes', 'children');\n\nvar Attribute = function (_Node19) {\n inherits(Attribute, _Node19);\n\n function Attribute(name) {\n var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n classCallCheck(this, Attribute);\n\n var _this25 = possibleConstructorReturn(this, _Node19.call(this));\n\n _this25.name = name;\n _this25.value = value;\n return _this25;\n }\n\n Attribute.prototype.isImmutable = function isImmutable() {\n return is(this.name, 'Identifier') && is(this.value, 'Immutable');\n };\n\n return Attribute;\n}(Node);\ntype(Attribute, 'Attribute');\nvisitor(Attribute, 'name', 'value');\n\nvar TwigComment = function (_Node20) {\n inherits(TwigComment, _Node20);\n\n function TwigComment(text) {\n classCallCheck(this, TwigComment);\n\n var _this26 = possibleConstructorReturn(this, _Node20.call(this));\n\n _this26.value = text;\n return _this26;\n }\n\n return TwigComment;\n}(Node);\ntype(TwigComment, 'TwigComment');\nvisitor(TwigComment, 'value');\n\nvar HtmlComment = function (_Node21) {\n inherits(HtmlComment, _Node21);\n\n function HtmlComment(text) {\n classCallCheck(this, HtmlComment);\n\n var _this27 = possibleConstructorReturn(this, _Node21.call(this));\n\n _this27.value = text;\n return _this27;\n }\n\n return HtmlComment;\n}(Node);\ntype(HtmlComment, 'HtmlComment');\nvisitor(HtmlComment, 'value');\n\nvar Declaration = function (_Node22) {\n inherits(Declaration, _Node22);\n\n function Declaration(declarationType) {\n classCallCheck(this, Declaration);\n\n var _this28 = possibleConstructorReturn(this, _Node22.call(this));\n\n _this28.declarationType = declarationType;\n _this28.parts = [];\n return _this28;\n }\n\n return Declaration;\n}(Node);\ntype(Declaration, 'Declaration');\nvisitor(Declaration, 'parts');\n\nvar GenericTwigTag = function (_Node23) {\n inherits(GenericTwigTag, _Node23);\n\n function GenericTwigTag(tagName) {\n classCallCheck(this, GenericTwigTag);\n\n var _this29 = possibleConstructorReturn(this, _Node23.call(this));\n\n _this29.tagName = tagName;\n _this29.parts = [];\n _this29.sections = [];\n return _this29;\n }\n\n return GenericTwigTag;\n}(Node);\ntype(GenericTwigTag, 'GenericTwigTag');\n\nvar GenericToken = function (_Node24) {\n inherits(GenericToken, _Node24);\n\n function GenericToken(tokenType, tokenText) {\n classCallCheck(this, GenericToken);\n\n var _this30 = possibleConstructorReturn(this, _Node24.call(this));\n\n _this30.tokenType = tokenType;\n _this30.tokenText = tokenText;\n return _this30;\n }\n\n return GenericToken;\n}(Node);\ntype(GenericToken, 'GenericToken');\n\nexports.TYPE_MAP = TYPE_MAP;\nexports.ALIAS_TO_TYPE = ALIAS_TO_TYPE;\nexports.PATH_CACHE_KEY = PATH_CACHE_KEY;\nexports.Node = Node;\nexports.is = is;\nexports.visitor = visitor;\nexports.alias = alias;\nexports.type = type;\nexports.Fragment = Fragment;\nexports.PrintExpressionStatement = PrintExpressionStatement;\nexports.PrintTextStatement = PrintTextStatement;\nexports.ConstantValue = ConstantValue;\nexports.StringLiteral = StringLiteral;\nexports.NumericLiteral = NumericLiteral;\nexports.BooleanLiteral = BooleanLiteral;\nexports.NullLiteral = NullLiteral;\nexports.Identifier = Identifier;\nexports.UnaryExpression = UnaryExpression;\nexports.BinaryExpression = BinaryExpression;\nexports.BinaryConcatExpression = BinaryConcatExpression;\nexports.ConditionalExpression = ConditionalExpression;\nexports.ArrayExpression = ArrayExpression;\nexports.MemberExpression = MemberExpression;\nexports.CallExpression = CallExpression;\nexports.NamedArgumentExpression = NamedArgumentExpression;\nexports.ObjectExpression = ObjectExpression;\nexports.ObjectProperty = ObjectProperty;\nexports.SequenceExpression = SequenceExpression;\nexports.SliceExpression = SliceExpression;\nexports.FilterExpression = FilterExpression;\nexports.Element = Element;\nexports.Attribute = Attribute;\nexports.TwigComment = TwigComment;\nexports.HtmlComment = HtmlComment;\nexports.Declaration = Declaration;\nexports.GenericTwigTag = GenericTwigTag;\nexports.GenericToken = GenericToken;\n", "/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n", "var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n", "var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n", "/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nmodule.exports = arrayMap;\n", "/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n", "var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n", "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n", "var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n", "/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n", "var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n", "var Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n", "/**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\nfunction baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n}\n\nmodule.exports = baseSlice;\n", "var baseSlice = require('./_baseSlice');\n\n/**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\nfunction castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return (!start && end >= length) ? array : baseSlice(array, start, end);\n}\n\nmodule.exports = castSlice;\n", "/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = baseFindIndex;\n", "/**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\nmodule.exports = baseIsNaN;\n", "/**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = strictIndexOf;\n", "var baseFindIndex = require('./_baseFindIndex'),\n baseIsNaN = require('./_baseIsNaN'),\n strictIndexOf = require('./_strictIndexOf');\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nmodule.exports = baseIndexOf;\n", "var baseIndexOf = require('./_baseIndexOf');\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the last unmatched string symbol.\n */\nfunction charsEndIndex(strSymbols, chrSymbols) {\n var index = strSymbols.length;\n\n while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n}\n\nmodule.exports = charsEndIndex;\n", "/**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction asciiToArray(string) {\n return string.split('');\n}\n\nmodule.exports = asciiToArray;\n", "/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsZWJ = '\\\\u200d';\n\n/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\nvar reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n/**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\nfunction hasUnicode(string) {\n return reHasUnicode.test(string);\n}\n\nmodule.exports = hasUnicode;\n", "/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsAstral = '[' + rsAstralRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsZWJ = '\\\\u200d';\n\n/** Used to compose unicode regexes. */\nvar reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\nvar reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n/**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction unicodeToArray(string) {\n return string.match(reUnicode) || [];\n}\n\nmodule.exports = unicodeToArray;\n", "var asciiToArray = require('./_asciiToArray'),\n hasUnicode = require('./_hasUnicode'),\n unicodeToArray = require('./_unicodeToArray');\n\n/**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction stringToArray(string) {\n return hasUnicode(string)\n ? unicodeToArray(string)\n : asciiToArray(string);\n}\n\nmodule.exports = stringToArray;\n", "var baseToString = require('./_baseToString');\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n", "/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n", "var baseToString = require('./_baseToString'),\n castSlice = require('./_castSlice'),\n charsEndIndex = require('./_charsEndIndex'),\n stringToArray = require('./_stringToArray'),\n toString = require('./toString'),\n trimmedEndIndex = require('./_trimmedEndIndex');\n\n/**\n * Removes trailing whitespace or specified characters from `string`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to trim.\n * @param {string} [chars=whitespace] The characters to trim.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the trimmed string.\n * @example\n *\n * _.trimEnd(' abc ');\n * // => ' abc'\n *\n * _.trimEnd('-_-abc-_-', '_-');\n * // => '-_-abc'\n */\nfunction trimEnd(string, chars, guard) {\n string = toString(string);\n if (string && (guard || chars === undefined)) {\n return string.slice(0, trimmedEndIndex(string) + 1);\n }\n if (!string || !(chars = baseToString(chars))) {\n return string;\n }\n var strSymbols = stringToArray(string),\n end = charsEndIndex(strSymbols, stringToArray(chars)) + 1;\n\n return castSlice(strSymbols, 0, end).join('');\n}\n\nmodule.exports = trimEnd;\n", "var baseIndexOf = require('./_baseIndexOf');\n\n/**\n * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the first unmatched string symbol.\n */\nfunction charsStartIndex(strSymbols, chrSymbols) {\n var index = -1,\n length = strSymbols.length;\n\n while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n}\n\nmodule.exports = charsStartIndex;\n", "var baseToString = require('./_baseToString'),\n castSlice = require('./_castSlice'),\n charsStartIndex = require('./_charsStartIndex'),\n stringToArray = require('./_stringToArray'),\n toString = require('./toString');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * Removes leading whitespace or specified characters from `string`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to trim.\n * @param {string} [chars=whitespace] The characters to trim.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the trimmed string.\n * @example\n *\n * _.trimStart(' abc ');\n * // => 'abc '\n *\n * _.trimStart('-_-abc-_-', '_-');\n * // => 'abc-_-'\n */\nfunction trimStart(string, chars, guard) {\n string = toString(string);\n if (string && (guard || chars === undefined)) {\n return string.replace(reTrimStart, '');\n }\n if (!string || !(chars = baseToString(chars))) {\n return string;\n }\n var strSymbols = stringToArray(string),\n start = charsStartIndex(strSymbols, stringToArray(chars));\n\n return castSlice(strSymbols, start).join('');\n}\n\nmodule.exports = trimStart;\n", "/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nmodule.exports = arrayFilter;\n", "/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nmodule.exports = createBaseFor;\n", "var createBaseFor = require('./_createBaseFor');\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n", "/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n", "var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n", "var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n", "/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n", "var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n", "/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n", "/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n", "var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n", "/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n", "var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n", "var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n", "var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n", "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n", "/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n", "var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n", "var isPrototype = require('./_isPrototype'),\n nativeKeys = require('./_nativeKeys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeys;\n", "/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n", "var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n", "var isFunction = require('./isFunction'),\n isLength = require('./isLength');\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n", "var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeys = require('./_baseKeys'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n", "var baseFor = require('./_baseFor'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nmodule.exports = baseForOwn;\n", "var isArrayLike = require('./isArrayLike');\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nmodule.exports = createBaseEach;\n", "var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n", "var baseEach = require('./_baseEach');\n\n/**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n}\n\nmodule.exports = baseFilter;\n", "/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n", "/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n", "var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n", "var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n", "var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n", "var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n", "var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n", "var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n", "var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n", "/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n", "/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n", "/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n", "var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n", "var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n", "/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n", "var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n", "/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n", "var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n", "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n", "var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n", "var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n", "/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n", "var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n", "var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n", "var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n", "var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n", "var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n", "/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n", "var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n", "var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n", "var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n", "var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n", "var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n", "var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n", "var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n", "var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n", "/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n", "/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n", "var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n", "/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arraySome;\n", "/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n", "var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalArrays;\n", "var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n", "/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;\n", "/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;\n", "var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nmodule.exports = equalByTag;\n", "/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nmodule.exports = arrayPush;\n", "var arrayPush = require('./_arrayPush'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n", "/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;\n", "var arrayFilter = require('./_arrayFilter'),\n stubArray = require('./stubArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nmodule.exports = getSymbols;\n", "var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbols = require('./_getSymbols'),\n keys = require('./keys');\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n", "var getAllKeys = require('./_getAllKeys');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalObjects;\n", "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n", "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n", "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n", "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n", "var DataView = require('./_DataView'),\n Map = require('./_Map'),\n Promise = require('./_Promise'),\n Set = require('./_Set'),\n WeakMap = require('./_WeakMap'),\n baseGetTag = require('./_baseGetTag'),\n toSource = require('./_toSource');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nmodule.exports = getTag;\n", "var Stack = require('./_Stack'),\n equalArrays = require('./_equalArrays'),\n equalByTag = require('./_equalByTag'),\n equalObjects = require('./_equalObjects'),\n getTag = require('./_getTag'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isTypedArray = require('./isTypedArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nmodule.exports = baseIsEqualDeep;\n", "var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nmodule.exports = baseIsEqual;\n", "var Stack = require('./_Stack'),\n baseIsEqual = require('./_baseIsEqual');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\nfunction baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n}\n\nmodule.exports = baseIsMatch;\n", "var isObject = require('./isObject');\n\n/**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\nfunction isStrictComparable(value) {\n return value === value && !isObject(value);\n}\n\nmodule.exports = isStrictComparable;\n", "var isStrictComparable = require('./_isStrictComparable'),\n keys = require('./keys');\n\n/**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\nfunction getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n}\n\nmodule.exports = getMatchData;\n", "/**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n}\n\nmodule.exports = matchesStrictComparable;\n", "var baseIsMatch = require('./_baseIsMatch'),\n getMatchData = require('./_getMatchData'),\n matchesStrictComparable = require('./_matchesStrictComparable');\n\n/**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n}\n\nmodule.exports = baseMatches;\n", "var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n", "var MapCache = require('./_MapCache');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n", "var memoize = require('./memoize');\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nmodule.exports = memoizeCapped;\n", "var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nmodule.exports = stringToPath;\n", "var isArray = require('./isArray'),\n isKey = require('./_isKey'),\n stringToPath = require('./_stringToPath'),\n toString = require('./toString');\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n", "var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n", "var castPath = require('./_castPath'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n", "var baseGet = require('./_baseGet');\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n", "/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nmodule.exports = baseHasIn;\n", "var castPath = require('./_castPath'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isIndex = require('./_isIndex'),\n isLength = require('./isLength'),\n toKey = require('./_toKey');\n\n/**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\nfunction hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n}\n\nmodule.exports = hasPath;\n", "var baseHasIn = require('./_baseHasIn'),\n hasPath = require('./_hasPath');\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;\n", "var baseIsEqual = require('./_baseIsEqual'),\n get = require('./get'),\n hasIn = require('./hasIn'),\n isKey = require('./_isKey'),\n isStrictComparable = require('./_isStrictComparable'),\n matchesStrictComparable = require('./_matchesStrictComparable'),\n toKey = require('./_toKey');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n}\n\nmodule.exports = baseMatchesProperty;\n", "/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n", "/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = baseProperty;\n", "var baseGet = require('./_baseGet');\n\n/**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n}\n\nmodule.exports = basePropertyDeep;\n", "var baseProperty = require('./_baseProperty'),\n basePropertyDeep = require('./_basePropertyDeep'),\n isKey = require('./_isKey'),\n toKey = require('./_toKey');\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nmodule.exports = property;\n", "var baseMatches = require('./_baseMatches'),\n baseMatchesProperty = require('./_baseMatchesProperty'),\n identity = require('./identity'),\n isArray = require('./isArray'),\n property = require('./property');\n\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\nfunction baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n}\n\nmodule.exports = baseIteratee;\n", "var arrayFilter = require('./_arrayFilter'),\n baseFilter = require('./_baseFilter'),\n baseIteratee = require('./_baseIteratee'),\n isArray = require('./isArray');\n\n/**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n *\n * // Combining several predicates using `_.overEvery` or `_.overSome`.\n * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));\n * // => objects for ['fred', 'barney']\n */\nfunction filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, baseIteratee(predicate, 3));\n}\n\nmodule.exports = filter;\n", "'use strict';\n\nvar os = require('os');\n\n// adapted from https://github.com/sindresorhus/os-homedir/blob/11e089f4754db38bb535e5a8416320c4446e8cfd/index.js\n\nmodule.exports = os.homedir || function homedir() {\n var home = process.env.HOME;\n var user = process.env.LOGNAME || process.env.USER || process.env.LNAME || process.env.USERNAME;\n\n if (process.platform === 'win32') {\n return process.env.USERPROFILE || process.env.HOMEDRIVE + process.env.HOMEPATH || home || null;\n }\n\n if (process.platform === 'darwin') {\n return home || (user ? '/Users/' + user : null);\n }\n\n if (process.platform === 'linux') {\n return home || (process.getuid() === 0 ? '/root' : (user ? '/home/' + user : null)); // eslint-disable-line no-extra-parens\n }\n\n return home || null;\n};\n", "module.exports = function () {\n // see https://code.google.com/p/v8/wiki/JavaScriptStackTraceApi\n var origPrepareStackTrace = Error.prepareStackTrace;\n Error.prepareStackTrace = function (_, stack) { return stack; };\n var stack = (new Error()).stack;\n Error.prepareStackTrace = origPrepareStackTrace;\n return stack[2].getFileName();\n};\n", "'use strict';\n\nvar isWindows = process.platform === 'win32';\n\n// Regex to split a windows path into into [dir, root, basename, name, ext]\nvar splitWindowsRe =\n /^(((?:[a-zA-Z]:|[\\\\\\/]{2}[^\\\\\\/]+[\\\\\\/]+[^\\\\\\/]+)?[\\\\\\/]?)(?:[^\\\\\\/]*[\\\\\\/])*)((\\.{1,2}|[^\\\\\\/]+?|)(\\.[^.\\/\\\\]*|))[\\\\\\/]*$/;\n\nvar win32 = {};\n\nfunction win32SplitPath(filename) {\n return splitWindowsRe.exec(filename).slice(1);\n}\n\nwin32.parse = function(pathString) {\n if (typeof pathString !== 'string') {\n throw new TypeError(\n \"Parameter 'pathString' must be a string, not \" + typeof pathString\n );\n }\n var allParts = win32SplitPath(pathString);\n if (!allParts || allParts.length !== 5) {\n throw new TypeError(\"Invalid path '\" + pathString + \"'\");\n }\n return {\n root: allParts[1],\n dir: allParts[0] === allParts[1] ? allParts[0] : allParts[0].slice(0, -1),\n base: allParts[2],\n ext: allParts[4],\n name: allParts[3]\n };\n};\n\n\n\n// Split a filename into [dir, root, basename, name, ext], unix version\n// 'root' is just a slash, or nothing.\nvar splitPathRe =\n /^((\\/?)(?:[^\\/]*\\/)*)((\\.{1,2}|[^\\/]+?|)(\\.[^.\\/]*|))[\\/]*$/;\nvar posix = {};\n\n\nfunction posixSplitPath(filename) {\n return splitPathRe.exec(filename).slice(1);\n}\n\n\nposix.parse = function(pathString) {\n if (typeof pathString !== 'string') {\n throw new TypeError(\n \"Parameter 'pathString' must be a string, not \" + typeof pathString\n );\n }\n var allParts = posixSplitPath(pathString);\n if (!allParts || allParts.length !== 5) {\n throw new TypeError(\"Invalid path '\" + pathString + \"'\");\n }\n \n return {\n root: allParts[1],\n dir: allParts[0].slice(0, -1),\n base: allParts[2],\n ext: allParts[4],\n name: allParts[3],\n };\n};\n\n\nif (isWindows)\n module.exports = win32.parse;\nelse /* posix */\n module.exports = posix.parse;\n\nmodule.exports.posix = posix.parse;\nmodule.exports.win32 = win32.parse;\n", "var path = require('path');\nvar parse = path.parse || require('path-parse'); // eslint-disable-line global-require\n\nvar getNodeModulesDirs = function getNodeModulesDirs(absoluteStart, modules) {\n var prefix = '/';\n if ((/^([A-Za-z]:)/).test(absoluteStart)) {\n prefix = '';\n } else if ((/^\\\\\\\\/).test(absoluteStart)) {\n prefix = '\\\\\\\\';\n }\n\n var paths = [absoluteStart];\n var parsed = parse(absoluteStart);\n while (parsed.dir !== paths[paths.length - 1]) {\n paths.push(parsed.dir);\n parsed = parse(parsed.dir);\n }\n\n return paths.reduce(function (dirs, aPath) {\n return dirs.concat(modules.map(function (moduleDir) {\n return path.resolve(prefix, aPath, moduleDir);\n }));\n }, []);\n};\n\nmodule.exports = function nodeModulesPaths(start, opts, request) {\n var modules = opts && opts.moduleDirectory\n ? [].concat(opts.moduleDirectory)\n : ['node_modules'];\n\n if (opts && typeof opts.paths === 'function') {\n return opts.paths(\n request,\n start,\n function () { return getNodeModulesDirs(start, modules); },\n opts\n );\n }\n\n var dirs = getNodeModulesDirs(start, modules);\n return opts && opts.paths ? dirs.concat(opts.paths) : dirs;\n};\n", "module.exports = function (x, opts) {\n /**\n * This file is purposefully a passthrough. It's expected that third-party\n * environments will override it at runtime in order to inject special logic\n * into `resolve` (by manipulating the options). One such example is the PnP\n * code path in Yarn.\n */\n\n return opts || {};\n};\n", "'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice = Array.prototype.slice;\nvar toStr = Object.prototype.toString;\nvar funcType = '[object Function]';\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.call(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slice.call(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n args.concat(slice.call(arguments))\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n } else {\n return target.apply(\n that,\n args.concat(slice.call(arguments))\n );\n }\n };\n\n var boundLength = Math.max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs.push('$' + i);\n }\n\n bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n", "'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n", "'use strict';\n\nvar bind = require('function-bind');\n\nmodule.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);\n", "{\n\t\"assert\": true,\n\t\"node:assert\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"assert/strict\": \">= 15\",\n\t\"node:assert/strict\": \">= 16\",\n\t\"async_hooks\": \">= 8\",\n\t\"node:async_hooks\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"buffer_ieee754\": \">= 0.5 && < 0.9.7\",\n\t\"buffer\": true,\n\t\"node:buffer\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"child_process\": true,\n\t\"node:child_process\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"cluster\": \">= 0.5\",\n\t\"node:cluster\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"console\": true,\n\t\"node:console\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"constants\": true,\n\t\"node:constants\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"crypto\": true,\n\t\"node:crypto\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_debug_agent\": \">= 1 && < 8\",\n\t\"_debugger\": \"< 8\",\n\t\"dgram\": true,\n\t\"node:dgram\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"diagnostics_channel\": [\">= 14.17 && < 15\", \">= 15.1\"],\n\t\"node:diagnostics_channel\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"dns\": true,\n\t\"node:dns\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"dns/promises\": \">= 15\",\n\t\"node:dns/promises\": \">= 16\",\n\t\"domain\": \">= 0.7.12\",\n\t\"node:domain\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"events\": true,\n\t\"node:events\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"freelist\": \"< 6\",\n\t\"fs\": true,\n\t\"node:fs\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"fs/promises\": [\">= 10 && < 10.1\", \">= 14\"],\n\t\"node:fs/promises\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_http_agent\": \">= 0.11.1\",\n\t\"node:_http_agent\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_http_client\": \">= 0.11.1\",\n\t\"node:_http_client\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_http_common\": \">= 0.11.1\",\n\t\"node:_http_common\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_http_incoming\": \">= 0.11.1\",\n\t\"node:_http_incoming\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_http_outgoing\": \">= 0.11.1\",\n\t\"node:_http_outgoing\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_http_server\": \">= 0.11.1\",\n\t\"node:_http_server\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"http\": true,\n\t\"node:http\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"http2\": \">= 8.8\",\n\t\"node:http2\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"https\": true,\n\t\"node:https\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"inspector\": \">= 8\",\n\t\"node:inspector\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"inspector/promises\": [\">= 19\"],\n\t\"node:inspector/promises\": [\">= 19\"],\n\t\"_linklist\": \"< 8\",\n\t\"module\": true,\n\t\"node:module\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"net\": true,\n\t\"node:net\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"node-inspect/lib/_inspect\": \">= 7.6 && < 12\",\n\t\"node-inspect/lib/internal/inspect_client\": \">= 7.6 && < 12\",\n\t\"node-inspect/lib/internal/inspect_repl\": \">= 7.6 && < 12\",\n\t\"os\": true,\n\t\"node:os\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"path\": true,\n\t\"node:path\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"path/posix\": \">= 15.3\",\n\t\"node:path/posix\": \">= 16\",\n\t\"path/win32\": \">= 15.3\",\n\t\"node:path/win32\": \">= 16\",\n\t\"perf_hooks\": \">= 8.5\",\n\t\"node:perf_hooks\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"process\": \">= 1\",\n\t\"node:process\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"punycode\": \">= 0.5\",\n\t\"node:punycode\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"querystring\": true,\n\t\"node:querystring\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"readline\": true,\n\t\"node:readline\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"readline/promises\": \">= 17\",\n\t\"node:readline/promises\": \">= 17\",\n\t\"repl\": true,\n\t\"node:repl\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"smalloc\": \">= 0.11.5 && < 3\",\n\t\"_stream_duplex\": \">= 0.9.4\",\n\t\"node:_stream_duplex\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_stream_transform\": \">= 0.9.4\",\n\t\"node:_stream_transform\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_stream_wrap\": \">= 1.4.1\",\n\t\"node:_stream_wrap\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_stream_passthrough\": \">= 0.9.4\",\n\t\"node:_stream_passthrough\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_stream_readable\": \">= 0.9.4\",\n\t\"node:_stream_readable\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_stream_writable\": \">= 0.9.4\",\n\t\"node:_stream_writable\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"stream\": true,\n\t\"node:stream\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"stream/consumers\": \">= 16.7\",\n\t\"node:stream/consumers\": \">= 16.7\",\n\t\"stream/promises\": \">= 15\",\n\t\"node:stream/promises\": \">= 16\",\n\t\"stream/web\": \">= 16.5\",\n\t\"node:stream/web\": \">= 16.5\",\n\t\"string_decoder\": true,\n\t\"node:string_decoder\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"sys\": [\">= 0.4 && < 0.7\", \">= 0.8\"],\n\t\"node:sys\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"test/reporters\": \">= 19.9 && < 20.2\",\n\t\"node:test/reporters\": [\">= 18.17 && < 19\", \">= 19.9\", \">= 20\"],\n\t\"node:test\": [\">= 16.17 && < 17\", \">= 18\"],\n\t\"timers\": true,\n\t\"node:timers\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"timers/promises\": \">= 15\",\n\t\"node:timers/promises\": \">= 16\",\n\t\"_tls_common\": \">= 0.11.13\",\n\t\"node:_tls_common\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_tls_legacy\": \">= 0.11.3 && < 10\",\n\t\"_tls_wrap\": \">= 0.11.3\",\n\t\"node:_tls_wrap\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"tls\": true,\n\t\"node:tls\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"trace_events\": \">= 10\",\n\t\"node:trace_events\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"tty\": true,\n\t\"node:tty\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"url\": true,\n\t\"node:url\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"util\": true,\n\t\"node:util\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"util/types\": \">= 15.3\",\n\t\"node:util/types\": \">= 16\",\n\t\"v8/tools/arguments\": \">= 10 && < 12\",\n\t\"v8/tools/codemap\": [\">= 4.4 && < 5\", \">= 5.2 && < 12\"],\n\t\"v8/tools/consarray\": [\">= 4.4 && < 5\", \">= 5.2 && < 12\"],\n\t\"v8/tools/csvparser\": [\">= 4.4 && < 5\", \">= 5.2 && < 12\"],\n\t\"v8/tools/logreader\": [\">= 4.4 && < 5\", \">= 5.2 && < 12\"],\n\t\"v8/tools/profile_view\": [\">= 4.4 && < 5\", \">= 5.2 && < 12\"],\n\t\"v8/tools/splaytree\": [\">= 4.4 && < 5\", \">= 5.2 && < 12\"],\n\t\"v8\": \">= 1\",\n\t\"node:v8\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"vm\": true,\n\t\"node:vm\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"wasi\": [\">= 13.4 && < 13.5\", \">= 18.17 && < 19\", \">= 20\"],\n\t\"node:wasi\": [\">= 18.17 && < 19\", \">= 20\"],\n\t\"worker_threads\": \">= 11.7\",\n\t\"node:worker_threads\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"zlib\": \">= 0.5\",\n\t\"node:zlib\": [\">= 14.18 && < 15\", \">= 16\"]\n}\n", "'use strict';\n\nvar has = require('has');\n\nfunction specifierIncluded(current, specifier) {\n\tvar nodeParts = current.split('.');\n\tvar parts = specifier.split(' ');\n\tvar op = parts.length > 1 ? parts[0] : '=';\n\tvar versionParts = (parts.length > 1 ? parts[1] : parts[0]).split('.');\n\n\tfor (var i = 0; i < 3; ++i) {\n\t\tvar cur = parseInt(nodeParts[i] || 0, 10);\n\t\tvar ver = parseInt(versionParts[i] || 0, 10);\n\t\tif (cur === ver) {\n\t\t\tcontinue; // eslint-disable-line no-restricted-syntax, no-continue\n\t\t}\n\t\tif (op === '<') {\n\t\t\treturn cur < ver;\n\t\t}\n\t\tif (op === '>=') {\n\t\t\treturn cur >= ver;\n\t\t}\n\t\treturn false;\n\t}\n\treturn op === '>=';\n}\n\nfunction matchesRange(current, range) {\n\tvar specifiers = range.split(/ ?&& ?/);\n\tif (specifiers.length === 0) {\n\t\treturn false;\n\t}\n\tfor (var i = 0; i < specifiers.length; ++i) {\n\t\tif (!specifierIncluded(current, specifiers[i])) {\n\t\t\treturn false;\n\t\t}\n\t}\n\treturn true;\n}\n\nfunction versionIncluded(nodeVersion, specifierValue) {\n\tif (typeof specifierValue === 'boolean') {\n\t\treturn specifierValue;\n\t}\n\n\tvar current = typeof nodeVersion === 'undefined'\n\t\t? process.versions && process.versions.node\n\t\t: nodeVersion;\n\n\tif (typeof current !== 'string') {\n\t\tthrow new TypeError(typeof nodeVersion === 'undefined' ? 'Unable to determine current node version' : 'If provided, a valid node version is required');\n\t}\n\n\tif (specifierValue && typeof specifierValue === 'object') {\n\t\tfor (var i = 0; i < specifierValue.length; ++i) {\n\t\t\tif (matchesRange(current, specifierValue[i])) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}\n\treturn matchesRange(current, specifierValue);\n}\n\nvar data = require('./core.json');\n\nmodule.exports = function isCore(x, nodeVersion) {\n\treturn has(data, x) && versionIncluded(nodeVersion, data[x]);\n};\n", "var fs = require('fs');\nvar getHomedir = require('./homedir');\nvar path = require('path');\nvar caller = require('./caller');\nvar nodeModulesPaths = require('./node-modules-paths');\nvar normalizeOptions = require('./normalize-options');\nvar isCore = require('is-core-module');\n\nvar realpathFS = process.platform !== 'win32' && fs.realpath && typeof fs.realpath.native === 'function' ? fs.realpath.native : fs.realpath;\n\nvar homedir = getHomedir();\nvar defaultPaths = function () {\n return [\n path.join(homedir, '.node_modules'),\n path.join(homedir, '.node_libraries')\n ];\n};\n\nvar defaultIsFile = function isFile(file, cb) {\n fs.stat(file, function (err, stat) {\n if (!err) {\n return cb(null, stat.isFile() || stat.isFIFO());\n }\n if (err.code === 'ENOENT' || err.code === 'ENOTDIR') return cb(null, false);\n return cb(err);\n });\n};\n\nvar defaultIsDir = function isDirectory(dir, cb) {\n fs.stat(dir, function (err, stat) {\n if (!err) {\n return cb(null, stat.isDirectory());\n }\n if (err.code === 'ENOENT' || err.code === 'ENOTDIR') return cb(null, false);\n return cb(err);\n });\n};\n\nvar defaultRealpath = function realpath(x, cb) {\n realpathFS(x, function (realpathErr, realPath) {\n if (realpathErr && realpathErr.code !== 'ENOENT') cb(realpathErr);\n else cb(null, realpathErr ? x : realPath);\n });\n};\n\nvar maybeRealpath = function maybeRealpath(realpath, x, opts, cb) {\n if (opts && opts.preserveSymlinks === false) {\n realpath(x, cb);\n } else {\n cb(null, x);\n }\n};\n\nvar defaultReadPackage = function defaultReadPackage(readFile, pkgfile, cb) {\n readFile(pkgfile, function (readFileErr, body) {\n if (readFileErr) cb(readFileErr);\n else {\n try {\n var pkg = JSON.parse(body);\n cb(null, pkg);\n } catch (jsonErr) {\n cb(null);\n }\n }\n });\n};\n\nvar getPackageCandidates = function getPackageCandidates(x, start, opts) {\n var dirs = nodeModulesPaths(start, opts, x);\n for (var i = 0; i < dirs.length; i++) {\n dirs[i] = path.join(dirs[i], x);\n }\n return dirs;\n};\n\nmodule.exports = function resolve(x, options, callback) {\n var cb = callback;\n var opts = options;\n if (typeof options === 'function') {\n cb = opts;\n opts = {};\n }\n if (typeof x !== 'string') {\n var err = new TypeError('Path must be a string.');\n return process.nextTick(function () {\n cb(err);\n });\n }\n\n opts = normalizeOptions(x, opts);\n\n var isFile = opts.isFile || defaultIsFile;\n var isDirectory = opts.isDirectory || defaultIsDir;\n var readFile = opts.readFile || fs.readFile;\n var realpath = opts.realpath || defaultRealpath;\n var readPackage = opts.readPackage || defaultReadPackage;\n if (opts.readFile && opts.readPackage) {\n var conflictErr = new TypeError('`readFile` and `readPackage` are mutually exclusive.');\n return process.nextTick(function () {\n cb(conflictErr);\n });\n }\n var packageIterator = opts.packageIterator;\n\n var extensions = opts.extensions || ['.js'];\n var includeCoreModules = opts.includeCoreModules !== false;\n var basedir = opts.basedir || path.dirname(caller());\n var parent = opts.filename || basedir;\n\n opts.paths = opts.paths || defaultPaths();\n\n // ensure that `basedir` is an absolute path at this point, resolving against the process' current working directory\n var absoluteStart = path.resolve(basedir);\n\n maybeRealpath(\n realpath,\n absoluteStart,\n opts,\n function (err, realStart) {\n if (err) cb(err);\n else init(realStart);\n }\n );\n\n var res;\n function init(basedir) {\n if ((/^(?:\\.\\.?(?:\\/|$)|\\/|([A-Za-z]:)?[/\\\\])/).test(x)) {\n res = path.resolve(basedir, x);\n if (x === '.' || x === '..' || x.slice(-1) === '/') res += '/';\n if ((/\\/$/).test(x) && res === basedir) {\n loadAsDirectory(res, opts.package, onfile);\n } else loadAsFile(res, opts.package, onfile);\n } else if (includeCoreModules && isCore(x)) {\n return cb(null, x);\n } else loadNodeModules(x, basedir, function (err, n, pkg) {\n if (err) cb(err);\n else if (n) {\n return maybeRealpath(realpath, n, opts, function (err, realN) {\n if (err) {\n cb(err);\n } else {\n cb(null, realN, pkg);\n }\n });\n } else {\n var moduleError = new Error(\"Cannot find module '\" + x + \"' from '\" + parent + \"'\");\n moduleError.code = 'MODULE_NOT_FOUND';\n cb(moduleError);\n }\n });\n }\n\n function onfile(err, m, pkg) {\n if (err) cb(err);\n else if (m) cb(null, m, pkg);\n else loadAsDirectory(res, function (err, d, pkg) {\n if (err) cb(err);\n else if (d) {\n maybeRealpath(realpath, d, opts, function (err, realD) {\n if (err) {\n cb(err);\n } else {\n cb(null, realD, pkg);\n }\n });\n } else {\n var moduleError = new Error(\"Cannot find module '\" + x + \"' from '\" + parent + \"'\");\n moduleError.code = 'MODULE_NOT_FOUND';\n cb(moduleError);\n }\n });\n }\n\n function loadAsFile(x, thePackage, callback) {\n var loadAsFilePackage = thePackage;\n var cb = callback;\n if (typeof loadAsFilePackage === 'function') {\n cb = loadAsFilePackage;\n loadAsFilePackage = undefined;\n }\n\n var exts = [''].concat(extensions);\n load(exts, x, loadAsFilePackage);\n\n function load(exts, x, loadPackage) {\n if (exts.length === 0) return cb(null, undefined, loadPackage);\n var file = x + exts[0];\n\n var pkg = loadPackage;\n if (pkg) onpkg(null, pkg);\n else loadpkg(path.dirname(file), onpkg);\n\n function onpkg(err, pkg_, dir) {\n pkg = pkg_;\n if (err) return cb(err);\n if (dir && pkg && opts.pathFilter) {\n var rfile = path.relative(dir, file);\n var rel = rfile.slice(0, rfile.length - exts[0].length);\n var r = opts.pathFilter(pkg, x, rel);\n if (r) return load(\n [''].concat(extensions.slice()),\n path.resolve(dir, r),\n pkg\n );\n }\n isFile(file, onex);\n }\n function onex(err, ex) {\n if (err) return cb(err);\n if (ex) return cb(null, file, pkg);\n load(exts.slice(1), x, pkg);\n }\n }\n }\n\n function loadpkg(dir, cb) {\n if (dir === '' || dir === '/') return cb(null);\n if (process.platform === 'win32' && (/^\\w:[/\\\\]*$/).test(dir)) {\n return cb(null);\n }\n if ((/[/\\\\]node_modules[/\\\\]*$/).test(dir)) return cb(null);\n\n maybeRealpath(realpath, dir, opts, function (unwrapErr, pkgdir) {\n if (unwrapErr) return loadpkg(path.dirname(dir), cb);\n var pkgfile = path.join(pkgdir, 'package.json');\n isFile(pkgfile, function (err, ex) {\n // on err, ex is false\n if (!ex) return loadpkg(path.dirname(dir), cb);\n\n readPackage(readFile, pkgfile, function (err, pkgParam) {\n if (err) cb(err);\n\n var pkg = pkgParam;\n\n if (pkg && opts.packageFilter) {\n pkg = opts.packageFilter(pkg, pkgfile);\n }\n cb(null, pkg, dir);\n });\n });\n });\n }\n\n function loadAsDirectory(x, loadAsDirectoryPackage, callback) {\n var cb = callback;\n var fpkg = loadAsDirectoryPackage;\n if (typeof fpkg === 'function') {\n cb = fpkg;\n fpkg = opts.package;\n }\n\n maybeRealpath(realpath, x, opts, function (unwrapErr, pkgdir) {\n if (unwrapErr) return cb(unwrapErr);\n var pkgfile = path.join(pkgdir, 'package.json');\n isFile(pkgfile, function (err, ex) {\n if (err) return cb(err);\n if (!ex) return loadAsFile(path.join(x, 'index'), fpkg, cb);\n\n readPackage(readFile, pkgfile, function (err, pkgParam) {\n if (err) return cb(err);\n\n var pkg = pkgParam;\n\n if (pkg && opts.packageFilter) {\n pkg = opts.packageFilter(pkg, pkgfile);\n }\n\n if (pkg && pkg.main) {\n if (typeof pkg.main !== 'string') {\n var mainError = new TypeError('package \u201C' + pkg.name + '\u201D `main` must be a string');\n mainError.code = 'INVALID_PACKAGE_MAIN';\n return cb(mainError);\n }\n if (pkg.main === '.' || pkg.main === './') {\n pkg.main = 'index';\n }\n loadAsFile(path.resolve(x, pkg.main), pkg, function (err, m, pkg) {\n if (err) return cb(err);\n if (m) return cb(null, m, pkg);\n if (!pkg) return loadAsFile(path.join(x, 'index'), pkg, cb);\n\n var dir = path.resolve(x, pkg.main);\n loadAsDirectory(dir, pkg, function (err, n, pkg) {\n if (err) return cb(err);\n if (n) return cb(null, n, pkg);\n loadAsFile(path.join(x, 'index'), pkg, cb);\n });\n });\n return;\n }\n\n loadAsFile(path.join(x, '/index'), pkg, cb);\n });\n });\n });\n }\n\n function processDirs(cb, dirs) {\n if (dirs.length === 0) return cb(null, undefined);\n var dir = dirs[0];\n\n isDirectory(path.dirname(dir), isdir);\n\n function isdir(err, isdir) {\n if (err) return cb(err);\n if (!isdir) return processDirs(cb, dirs.slice(1));\n loadAsFile(dir, opts.package, onfile);\n }\n\n function onfile(err, m, pkg) {\n if (err) return cb(err);\n if (m) return cb(null, m, pkg);\n loadAsDirectory(dir, opts.package, ondir);\n }\n\n function ondir(err, n, pkg) {\n if (err) return cb(err);\n if (n) return cb(null, n, pkg);\n processDirs(cb, dirs.slice(1));\n }\n }\n function loadNodeModules(x, start, cb) {\n var thunk = function () { return getPackageCandidates(x, start, opts); };\n processDirs(\n cb,\n packageIterator ? packageIterator(x, start, thunk, opts) : thunk()\n );\n }\n};\n", "{\n\t\"assert\": true,\n\t\"node:assert\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"assert/strict\": \">= 15\",\n\t\"node:assert/strict\": \">= 16\",\n\t\"async_hooks\": \">= 8\",\n\t\"node:async_hooks\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"buffer_ieee754\": \">= 0.5 && < 0.9.7\",\n\t\"buffer\": true,\n\t\"node:buffer\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"child_process\": true,\n\t\"node:child_process\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"cluster\": \">= 0.5\",\n\t\"node:cluster\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"console\": true,\n\t\"node:console\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"constants\": true,\n\t\"node:constants\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"crypto\": true,\n\t\"node:crypto\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_debug_agent\": \">= 1 && < 8\",\n\t\"_debugger\": \"< 8\",\n\t\"dgram\": true,\n\t\"node:dgram\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"diagnostics_channel\": [\">= 14.17 && < 15\", \">= 15.1\"],\n\t\"node:diagnostics_channel\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"dns\": true,\n\t\"node:dns\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"dns/promises\": \">= 15\",\n\t\"node:dns/promises\": \">= 16\",\n\t\"domain\": \">= 0.7.12\",\n\t\"node:domain\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"events\": true,\n\t\"node:events\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"freelist\": \"< 6\",\n\t\"fs\": true,\n\t\"node:fs\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"fs/promises\": [\">= 10 && < 10.1\", \">= 14\"],\n\t\"node:fs/promises\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_http_agent\": \">= 0.11.1\",\n\t\"node:_http_agent\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_http_client\": \">= 0.11.1\",\n\t\"node:_http_client\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_http_common\": \">= 0.11.1\",\n\t\"node:_http_common\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_http_incoming\": \">= 0.11.1\",\n\t\"node:_http_incoming\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_http_outgoing\": \">= 0.11.1\",\n\t\"node:_http_outgoing\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_http_server\": \">= 0.11.1\",\n\t\"node:_http_server\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"http\": true,\n\t\"node:http\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"http2\": \">= 8.8\",\n\t\"node:http2\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"https\": true,\n\t\"node:https\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"inspector\": \">= 8\",\n\t\"node:inspector\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"inspector/promises\": [\">= 19\"],\n\t\"node:inspector/promises\": [\">= 19\"],\n\t\"_linklist\": \"< 8\",\n\t\"module\": true,\n\t\"node:module\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"net\": true,\n\t\"node:net\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"node-inspect/lib/_inspect\": \">= 7.6 && < 12\",\n\t\"node-inspect/lib/internal/inspect_client\": \">= 7.6 && < 12\",\n\t\"node-inspect/lib/internal/inspect_repl\": \">= 7.6 && < 12\",\n\t\"os\": true,\n\t\"node:os\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"path\": true,\n\t\"node:path\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"path/posix\": \">= 15.3\",\n\t\"node:path/posix\": \">= 16\",\n\t\"path/win32\": \">= 15.3\",\n\t\"node:path/win32\": \">= 16\",\n\t\"perf_hooks\": \">= 8.5\",\n\t\"node:perf_hooks\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"process\": \">= 1\",\n\t\"node:process\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"punycode\": \">= 0.5\",\n\t\"node:punycode\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"querystring\": true,\n\t\"node:querystring\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"readline\": true,\n\t\"node:readline\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"readline/promises\": \">= 17\",\n\t\"node:readline/promises\": \">= 17\",\n\t\"repl\": true,\n\t\"node:repl\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"smalloc\": \">= 0.11.5 && < 3\",\n\t\"_stream_duplex\": \">= 0.9.4\",\n\t\"node:_stream_duplex\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_stream_transform\": \">= 0.9.4\",\n\t\"node:_stream_transform\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_stream_wrap\": \">= 1.4.1\",\n\t\"node:_stream_wrap\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_stream_passthrough\": \">= 0.9.4\",\n\t\"node:_stream_passthrough\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_stream_readable\": \">= 0.9.4\",\n\t\"node:_stream_readable\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_stream_writable\": \">= 0.9.4\",\n\t\"node:_stream_writable\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"stream\": true,\n\t\"node:stream\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"stream/consumers\": \">= 16.7\",\n\t\"node:stream/consumers\": \">= 16.7\",\n\t\"stream/promises\": \">= 15\",\n\t\"node:stream/promises\": \">= 16\",\n\t\"stream/web\": \">= 16.5\",\n\t\"node:stream/web\": \">= 16.5\",\n\t\"string_decoder\": true,\n\t\"node:string_decoder\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"sys\": [\">= 0.4 && < 0.7\", \">= 0.8\"],\n\t\"node:sys\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"test/reporters\": \">= 19.9 && < 20.2\",\n\t\"node:test/reporters\": [\">= 18.17 && < 19\", \">= 19.9\", \">= 20\"],\n\t\"node:test\": [\">= 16.17 && < 17\", \">= 18\"],\n\t\"timers\": true,\n\t\"node:timers\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"timers/promises\": \">= 15\",\n\t\"node:timers/promises\": \">= 16\",\n\t\"_tls_common\": \">= 0.11.13\",\n\t\"node:_tls_common\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"_tls_legacy\": \">= 0.11.3 && < 10\",\n\t\"_tls_wrap\": \">= 0.11.3\",\n\t\"node:_tls_wrap\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"tls\": true,\n\t\"node:tls\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"trace_events\": \">= 10\",\n\t\"node:trace_events\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"tty\": true,\n\t\"node:tty\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"url\": true,\n\t\"node:url\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"util\": true,\n\t\"node:util\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"util/types\": \">= 15.3\",\n\t\"node:util/types\": \">= 16\",\n\t\"v8/tools/arguments\": \">= 10 && < 12\",\n\t\"v8/tools/codemap\": [\">= 4.4 && < 5\", \">= 5.2 && < 12\"],\n\t\"v8/tools/consarray\": [\">= 4.4 && < 5\", \">= 5.2 && < 12\"],\n\t\"v8/tools/csvparser\": [\">= 4.4 && < 5\", \">= 5.2 && < 12\"],\n\t\"v8/tools/logreader\": [\">= 4.4 && < 5\", \">= 5.2 && < 12\"],\n\t\"v8/tools/profile_view\": [\">= 4.4 && < 5\", \">= 5.2 && < 12\"],\n\t\"v8/tools/splaytree\": [\">= 4.4 && < 5\", \">= 5.2 && < 12\"],\n\t\"v8\": \">= 1\",\n\t\"node:v8\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"vm\": true,\n\t\"node:vm\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"wasi\": [\">= 13.4 && < 13.5\", \">= 18.17 && < 19\", \">= 20\"],\n\t\"node:wasi\": [\">= 18.17 && < 19\", \">= 20\"],\n\t\"worker_threads\": \">= 11.7\",\n\t\"node:worker_threads\": [\">= 14.18 && < 15\", \">= 16\"],\n\t\"zlib\": \">= 0.5\",\n\t\"node:zlib\": [\">= 14.18 && < 15\", \">= 16\"]\n}\n", "'use strict';\n\nvar isCoreModule = require('is-core-module');\nvar data = require('./core.json');\n\nvar core = {};\nfor (var mod in data) { // eslint-disable-line no-restricted-syntax\n if (Object.prototype.hasOwnProperty.call(data, mod)) {\n core[mod] = isCoreModule(mod);\n }\n}\nmodule.exports = core;\n", "var isCoreModule = require('is-core-module');\n\nmodule.exports = function isCore(x) {\n return isCoreModule(x);\n};\n", "var isCore = require('is-core-module');\nvar fs = require('fs');\nvar path = require('path');\nvar getHomedir = require('./homedir');\nvar caller = require('./caller');\nvar nodeModulesPaths = require('./node-modules-paths');\nvar normalizeOptions = require('./normalize-options');\n\nvar realpathFS = process.platform !== 'win32' && fs.realpathSync && typeof fs.realpathSync.native === 'function' ? fs.realpathSync.native : fs.realpathSync;\n\nvar homedir = getHomedir();\nvar defaultPaths = function () {\n return [\n path.join(homedir, '.node_modules'),\n path.join(homedir, '.node_libraries')\n ];\n};\n\nvar defaultIsFile = function isFile(file) {\n try {\n var stat = fs.statSync(file, { throwIfNoEntry: false });\n } catch (e) {\n if (e && (e.code === 'ENOENT' || e.code === 'ENOTDIR')) return false;\n throw e;\n }\n return !!stat && (stat.isFile() || stat.isFIFO());\n};\n\nvar defaultIsDir = function isDirectory(dir) {\n try {\n var stat = fs.statSync(dir, { throwIfNoEntry: false });\n } catch (e) {\n if (e && (e.code === 'ENOENT' || e.code === 'ENOTDIR')) return false;\n throw e;\n }\n return !!stat && stat.isDirectory();\n};\n\nvar defaultRealpathSync = function realpathSync(x) {\n try {\n return realpathFS(x);\n } catch (realpathErr) {\n if (realpathErr.code !== 'ENOENT') {\n throw realpathErr;\n }\n }\n return x;\n};\n\nvar maybeRealpathSync = function maybeRealpathSync(realpathSync, x, opts) {\n if (opts && opts.preserveSymlinks === false) {\n return realpathSync(x);\n }\n return x;\n};\n\nvar defaultReadPackageSync = function defaultReadPackageSync(readFileSync, pkgfile) {\n var body = readFileSync(pkgfile);\n try {\n var pkg = JSON.parse(body);\n return pkg;\n } catch (jsonErr) {}\n};\n\nvar getPackageCandidates = function getPackageCandidates(x, start, opts) {\n var dirs = nodeModulesPaths(start, opts, x);\n for (var i = 0; i < dirs.length; i++) {\n dirs[i] = path.join(dirs[i], x);\n }\n return dirs;\n};\n\nmodule.exports = function resolveSync(x, options) {\n if (typeof x !== 'string') {\n throw new TypeError('Path must be a string.');\n }\n var opts = normalizeOptions(x, options);\n\n var isFile = opts.isFile || defaultIsFile;\n var readFileSync = opts.readFileSync || fs.readFileSync;\n var isDirectory = opts.isDirectory || defaultIsDir;\n var realpathSync = opts.realpathSync || defaultRealpathSync;\n var readPackageSync = opts.readPackageSync || defaultReadPackageSync;\n if (opts.readFileSync && opts.readPackageSync) {\n throw new TypeError('`readFileSync` and `readPackageSync` are mutually exclusive.');\n }\n var packageIterator = opts.packageIterator;\n\n var extensions = opts.extensions || ['.js'];\n var includeCoreModules = opts.includeCoreModules !== false;\n var basedir = opts.basedir || path.dirname(caller());\n var parent = opts.filename || basedir;\n\n opts.paths = opts.paths || defaultPaths();\n\n // ensure that `basedir` is an absolute path at this point, resolving against the process' current working directory\n var absoluteStart = maybeRealpathSync(realpathSync, path.resolve(basedir), opts);\n\n if ((/^(?:\\.\\.?(?:\\/|$)|\\/|([A-Za-z]:)?[/\\\\])/).test(x)) {\n var res = path.resolve(absoluteStart, x);\n if (x === '.' || x === '..' || x.slice(-1) === '/') res += '/';\n var m = loadAsFileSync(res) || loadAsDirectorySync(res);\n if (m) return maybeRealpathSync(realpathSync, m, opts);\n } else if (includeCoreModules && isCore(x)) {\n return x;\n } else {\n var n = loadNodeModulesSync(x, absoluteStart);\n if (n) return maybeRealpathSync(realpathSync, n, opts);\n }\n\n var err = new Error(\"Cannot find module '\" + x + \"' from '\" + parent + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n\n function loadAsFileSync(x) {\n var pkg = loadpkg(path.dirname(x));\n\n if (pkg && pkg.dir && pkg.pkg && opts.pathFilter) {\n var rfile = path.relative(pkg.dir, x);\n var r = opts.pathFilter(pkg.pkg, x, rfile);\n if (r) {\n x = path.resolve(pkg.dir, r); // eslint-disable-line no-param-reassign\n }\n }\n\n if (isFile(x)) {\n return x;\n }\n\n for (var i = 0; i < extensions.length; i++) {\n var file = x + extensions[i];\n if (isFile(file)) {\n return file;\n }\n }\n }\n\n function loadpkg(dir) {\n if (dir === '' || dir === '/') return;\n if (process.platform === 'win32' && (/^\\w:[/\\\\]*$/).test(dir)) {\n return;\n }\n if ((/[/\\\\]node_modules[/\\\\]*$/).test(dir)) return;\n\n var pkgfile = path.join(maybeRealpathSync(realpathSync, dir, opts), 'package.json');\n\n if (!isFile(pkgfile)) {\n return loadpkg(path.dirname(dir));\n }\n\n var pkg = readPackageSync(readFileSync, pkgfile);\n\n if (pkg && opts.packageFilter) {\n // v2 will pass pkgfile\n pkg = opts.packageFilter(pkg, /*pkgfile,*/ dir); // eslint-disable-line spaced-comment\n }\n\n return { pkg: pkg, dir: dir };\n }\n\n function loadAsDirectorySync(x) {\n var pkgfile = path.join(maybeRealpathSync(realpathSync, x, opts), '/package.json');\n if (isFile(pkgfile)) {\n try {\n var pkg = readPackageSync(readFileSync, pkgfile);\n } catch (e) {}\n\n if (pkg && opts.packageFilter) {\n // v2 will pass pkgfile\n pkg = opts.packageFilter(pkg, /*pkgfile,*/ x); // eslint-disable-line spaced-comment\n }\n\n if (pkg && pkg.main) {\n if (typeof pkg.main !== 'string') {\n var mainError = new TypeError('package \u201C' + pkg.name + '\u201D `main` must be a string');\n mainError.code = 'INVALID_PACKAGE_MAIN';\n throw mainError;\n }\n if (pkg.main === '.' || pkg.main === './') {\n pkg.main = 'index';\n }\n try {\n var m = loadAsFileSync(path.resolve(x, pkg.main));\n if (m) return m;\n var n = loadAsDirectorySync(path.resolve(x, pkg.main));\n if (n) return n;\n } catch (e) {}\n }\n }\n\n return loadAsFileSync(path.join(x, '/index'));\n }\n\n function loadNodeModulesSync(x, start) {\n var thunk = function () { return getPackageCandidates(x, start, opts); };\n var dirs = packageIterator ? packageIterator(x, start, thunk, opts) : thunk();\n\n for (var i = 0; i < dirs.length; i++) {\n var dir = dirs[i];\n if (isDirectory(path.dirname(dir))) {\n var m = loadAsFileSync(dir);\n if (m) return m;\n var n = loadAsDirectorySync(dir);\n if (n) return n;\n }\n }\n }\n};\n", "var async = require('./lib/async');\nasync.core = require('./lib/core');\nasync.isCore = require('./lib/is-core');\nasync.sync = require('./lib/sync');\n\nmodule.exports = async;\n", "'use strict'\n\nimport { print } from './printer.js'\nimport { embed } from './embed.js'\nimport { parse } from './parser.js'\nexport * from './util/publicSymbols.js'\nexport * from './util/publicFunctions.js'\n\nconst languages = [\n {\n name: 'melody',\n parsers: ['melody'],\n group: 'Melody',\n tmScope: 'melody.twig',\n aceMode: 'html',\n codemirrorMode: 'clike',\n codemirrorMimeType: 'text/melody-twig',\n extensions: ['.melody.twig', '.html.twig', '.twig', '.django', '.jinja'],\n linguistLanguageId: 0,\n vscodeLanguageIds: ['twig', 'django', 'django-html']\n }\n]\n\nfunction hasPragma(/* text */) {\n return false\n}\n\nfunction locStart(/* node */) {\n return -1\n}\n\nfunction locEnd(/* node */) {\n return -1\n}\n\nconst parsers = {\n melody: {\n parse,\n astFormat: 'melody',\n hasPragma,\n locStart,\n locEnd\n }\n}\n\nfunction canAttachComment(node) {\n return node.ast_type && node.ast_type !== 'comment'\n}\n\nfunction printComment(commentPath) {\n const comment = commentPath.getValue()\n\n switch (comment.ast_type) {\n case 'comment':\n return comment.value\n default:\n throw new Error('Not a comment: ' + JSON.stringify(comment))\n }\n}\n\nfunction clean(ast, newObj) {\n delete newObj.lineno\n delete newObj.col_offset\n}\n\nconst printers = {\n melody: {\n print,\n // hasPrettierIgnore,\n embed,\n printComment,\n canAttachComment,\n massageAstNode: clean,\n willPrintOwnComments: () => true\n }\n}\n\nconst options = {\n twigMelodyPlugins: {\n type: 'path',\n category: 'Global',\n array: true,\n default: [{ value: [] }],\n description: 'Provide additional plugins for Melody. Relative file path from the project root.'\n },\n twigMultiTags: {\n type: 'path',\n category: 'Global',\n array: true,\n default: [{ value: [] }],\n description: 'Make custom Twig tags known to the parser.'\n },\n twigSingleQuote: {\n type: 'boolean',\n category: 'Global',\n default: true,\n description: 'Use single quotes in Twig files?'\n },\n twigAlwaysBreakObjects: {\n type: 'boolean',\n category: 'Global',\n default: true,\n description: 'Should objects always break in Twig files?'\n },\n twigPrintWidth: {\n type: 'int',\n category: 'Global',\n default: 80,\n description: 'Print width for Twig files'\n },\n twigFollowOfficialCodingStandards: {\n type: 'boolean',\n category: 'Global',\n default: true,\n description: 'See https://twig.symfony.com/doc/2.x/coding_standards.html'\n },\n twigOutputEndblockName: {\n type: 'boolean',\n category: 'Global',\n default: false,\n description: \"Output the Twig block name in the 'endblock' tag\"\n }\n}\n\n// This exports defines the Prettier plugin\n// See https://github.com/prettier/prettier/blob/master/docs/plugins.md\nexport { languages, printers, parsers, options }\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport * as n from 'melody-types'\nimport { LEFT } from './Associativity'\nimport { createMultiTagParser } from './GenericMultiTagParser'\nimport { GenericTagParser } from './GenericTagParser'\nimport * as Types from './TokenTypes'\nimport { voidElements } from './elementInfo'\nimport { copyEnd, copyLoc, copyStart, createNode, setEndFromToken, setMarkFromToken, setStartFromToken } from './util'\n// import { decodeHTML } from 'entities'\n\n// type UnaryOperator = {\n// text: String,\n// precendence: Number,\n// createNode: Function,\n// };\n\n// type BinaryOperator = {\n// text: String,\n// precendence: Number,\n// createNode: Function,\n// associativity: LEFT | RIGHT,\n// parse: Function,\n// };\n\nconst UNARY = Symbol(),\n BINARY = Symbol(),\n TAG = Symbol(),\n TEST = Symbol()\nexport default class Parser {\n constructor(tokenStream, options) {\n this.tokens = tokenStream\n this[UNARY] = {}\n this[BINARY] = {}\n this[TAG] = {}\n this[TEST] = {}\n this.options = Object.assign(\n {},\n {\n ignoreComments: true,\n ignoreHtmlComments: true,\n ignoreDeclarations: true,\n decodeEntities: true,\n preserveSourceLiterally: false,\n allowUnknownTags: false,\n multiTags: {} // e.g. { \"nav\": [\"endnav\"], \"switch\": [\"case\", \"default\", \"endswitch\"]}\n },\n options\n )\n // If there are custom multi tags, then we allow all custom tags\n if (Object.keys(this.options.multiTags).length > 0) {\n this.options.allowUnknownTags = true\n }\n }\n\n applyExtension(ext) {\n if (ext.tags) {\n for (const tag of ext.tags) {\n this.addTag(tag)\n }\n }\n if (ext.unaryOperators) {\n for (const op of ext.unaryOperators) {\n this.addUnaryOperator(op)\n }\n }\n if (ext.binaryOperators) {\n for (const op of ext.binaryOperators) {\n this.addBinaryOperator(op)\n }\n }\n if (ext.tests) {\n for (const test of ext.tests) {\n this.addTest(test)\n }\n }\n }\n\n /** @var op UnaryOperator */\n addUnaryOperator(op) {\n this[UNARY][op.text] = op\n return this\n }\n\n /** @var op UnaryOperator */\n addBinaryOperator(op) {\n this[BINARY][op.text] = op\n return this\n }\n\n addTag(tag) {\n this[TAG][tag.name] = tag\n return this\n }\n\n addTest(test) {\n this[TEST][test.text] = test\n }\n\n hasTest(test) {\n return !!this[TEST][test]\n }\n\n getTest(test) {\n return this[TEST][test]\n }\n\n isUnary(token) {\n return token.type === Types.OPERATOR && !!this[UNARY][token.text]\n }\n\n getBinaryOperator(token) {\n return token.type === Types.OPERATOR && this[BINARY][token.text]\n }\n\n parse(test = null) {\n let tokens = this.tokens,\n p = setStartFromToken(new n.SequenceExpression(), tokens.la(0))\n while (!tokens.test(Types.EOF)) {\n const token = tokens.next()\n if (!p) {\n p = setStartFromToken(new n.SequenceExpression(), token)\n }\n if (test && test(tokens.la(0).text, token, tokens)) {\n setEndFromToken(p, token)\n return p\n }\n switch (token.type) {\n case Types.EXPRESSION_START: {\n const expression = this.matchExpression()\n const statement = new n.PrintExpressionStatement(expression)\n const endToken = tokens.expect(Types.EXPRESSION_END)\n setStartFromToken(statement, token)\n setEndFromToken(statement, endToken)\n setEndFromToken(p, endToken)\n statement.trimLeft = !!expression.trimLeft\n statement.trimRight = !!expression.trimRight\n p.add(statement)\n\n break\n }\n case Types.TAG_START:\n p.add(this.matchTag())\n break\n case Types.TEXT: {\n const textStringLiteral = createNode(n.StringLiteral, token, token.text)\n const textTextStatement = createNode(n.PrintTextStatement, token, textStringLiteral)\n p.add(textTextStatement)\n break\n }\n case Types.ENTITY: {\n // const entityStringLiteral = createNode(n.StringLiteral, token, !this.options.decodeEntities || this.options.preserveSourceLiterally ? token.text : decodeHTML(token.text))\n const entityStringLiteral = createNode(n.StringLiteral, token, token.text)\n const entityTextStatement = createNode(n.PrintTextStatement, token, entityStringLiteral)\n p.add(entityTextStatement)\n break\n }\n case Types.ELEMENT_START:\n p.add(this.matchElement())\n break\n case Types.DECLARATION_START: {\n const declarationNode = this.matchDeclaration()\n if (!this.options.ignoreDeclarations) {\n p.add(declarationNode)\n }\n break\n }\n case Types.COMMENT:\n if (!this.options.ignoreComments) {\n const stringLiteral = createNode(n.StringLiteral, token, token.text)\n const twigComment = createNode(n.TwigComment, token, stringLiteral)\n p.add(twigComment)\n }\n break\n case Types.HTML_COMMENT:\n if (!this.options.ignoreHtmlComments) {\n const stringLiteral = createNode(n.StringLiteral, token, token.text)\n const htmlComment = createNode(n.HtmlComment, token, stringLiteral)\n p.add(htmlComment)\n }\n break\n }\n }\n return p\n }\n\n /**\n * e.g., \n */\n matchDeclaration() {\n const tokens = this.tokens,\n declarationStartToken = tokens.la(-1)\n let declarationType = null,\n currentToken = null\n\n if (!(declarationType = tokens.nextIf(Types.SYMBOL))) {\n this.error({\n title: 'Expected declaration start',\n pos: declarationStartToken.pos,\n advice: \"After '' (children)* '<' '/' SYMBOL '>'\n * attributes = SYMBOL '=' (matchExpression | matchString)\n * | matchExpression\n */\n matchElement() {\n const tokens = this.tokens,\n elementNameToken = tokens.la(0),\n tagStartToken = tokens.la(-1)\n let elementName\n if (!(elementName = tokens.nextIf(Types.SYMBOL))) {\n this.error({\n title: 'Expected element start',\n pos: elementNameToken.pos,\n advice: tokens.lat(0) === Types.SLASH ? `Unexpected closing \"${tokens.la(1).text}\" tag. Seems like your DOM is out of control.` : 'Expected an element to start'\n })\n }\n\n const element = new n.Element(elementName.text)\n\n this.matchAttributes(element, tokens)\n\n if (tokens.nextIf(Types.SLASH)) {\n tokens.expect(Types.ELEMENT_END)\n element.selfClosing = true\n } else {\n tokens.expect(Types.ELEMENT_END)\n if (voidElements[elementName.text]) {\n element.selfClosing = true\n } else {\n if (elementName.text.toLowerCase() == 'script') {\n let currentToken = tokens.next(),\n startToken = currentToken\n while (!tokens.test(Types.EOF)) {\n if (currentToken.type === Types.ELEMENT_START && tokens.lat(0) === Types.SLASH) {\n const name = tokens.la(1)\n if (name.type === Types.SYMBOL && name.text === elementName.text) {\n tokens.next() // SLASH\n tokens.next() // elementName\n tokens.expect(Types.ELEMENT_END)\n break\n }\n }\n currentToken = tokens.next()\n }\n if (tokens.test(Types.EOF)) {\n this.error({\n title: 'Expected , but not found',\n pos: elementNameToken.pos,\n advice: 'Script tag must have an end tag'\n })\n }\n const {\n pos: { index, line, column }\n } = startToken\n const end = currentToken.end - 1\n const scriptTextToken = { pos: { index, line, column }, end }\n const textStringLiteral = createNode(n.StringLiteral, scriptTextToken, tokens.input.input.input.slice(index, end))\n const textTextStatement = createNode(n.PrintTextStatement, scriptTextToken, textStringLiteral)\n element.children.push(textTextStatement)\n } else {\n element.children = this.parse(function (_, token, tokens) {\n if (token.type === Types.ELEMENT_START && tokens.lat(0) === Types.SLASH) {\n const name = tokens.la(1)\n if (name.type === Types.SYMBOL && name.text === elementName.text) {\n tokens.next() // SLASH\n tokens.next() // elementName\n tokens.expect(Types.ELEMENT_END)\n return true\n }\n }\n return false\n }).expressions\n }\n }\n }\n\n setStartFromToken(element, tagStartToken)\n setEndFromToken(element, tokens.la(-1))\n setMarkFromToken(element, 'elementNameLoc', elementNameToken)\n\n return element\n }\n\n matchAttributes(element, tokens) {\n while (tokens.lat(0) !== Types.SLASH && tokens.lat(0) !== Types.ELEMENT_END) {\n const key = tokens.nextIf(Types.SYMBOL)\n if (key) {\n const keyNode = new n.Identifier(key.text)\n setStartFromToken(keyNode, key)\n setEndFromToken(keyNode, key)\n\n // match an attribute\n if (tokens.nextIf(Types.ASSIGNMENT)) {\n const start = tokens.expect(Types.STRING_START)\n let canBeString = true,\n nodes = [],\n token\n while (!tokens.test(Types.STRING_END)) {\n if (canBeString && (token = tokens.nextIf(Types.STRING))) {\n nodes[nodes.length] = createNode(n.StringLiteral, token, token.text)\n canBeString = false\n } else if ((token = tokens.nextIf(Types.EXPRESSION_START))) {\n nodes[nodes.length] = this.matchExpression()\n tokens.expect(Types.EXPRESSION_END)\n canBeString = true\n } else if ((token = tokens.nextIf(Types.TAG_START))) {\n nodes[nodes.length] = this.matchTag()\n canBeString = true\n } else {\n break\n }\n }\n tokens.expect(Types.STRING_END)\n if (!nodes.length) {\n const node = createNode(n.StringLiteral, start, '')\n nodes.push(node)\n }\n\n let expr = nodes[0]\n for (let i = 1, len = nodes.length; i < len; i++) {\n const { line, column } = expr.loc.start\n expr = new n.BinaryConcatExpression(expr, nodes[i])\n expr.loc.start.line = line\n expr.loc.start.column = column\n copyEnd(expr, expr.right)\n }\n // Distinguish between BinaryConcatExpression generated by\n // this Parser (implicit before parsing), and those that the\n // user wrote explicitly.\n if (nodes.length > 1) {\n expr.wasImplicitConcatenation = true\n }\n const attr = new n.Attribute(keyNode, expr)\n copyStart(attr, keyNode)\n copyEnd(attr, expr)\n element.attributes.push(attr)\n } else {\n element.attributes.push(copyLoc(new n.Attribute(keyNode), keyNode))\n }\n } else if (tokens.nextIf(Types.EXPRESSION_START)) {\n element.attributes.push(this.matchExpression())\n tokens.expect(Types.EXPRESSION_END)\n } else {\n this.error({\n title: 'Invalid token',\n pos: tokens.la(0).pos,\n advice: 'A tag must consist of attributes or expressions. Twig Tags are not allowed.'\n })\n }\n }\n }\n\n error(options, metadata = {}) {\n this.tokens.error(options.title, options.pos, options.advice, 1, metadata)\n }\n\n getGenericParserFor(tagName) {\n if (this.options.multiTags[tagName]) {\n return createMultiTagParser(tagName, this.options.multiTags[tagName])\n } else {\n return GenericTagParser\n }\n }\n\n matchTag() {\n const tokens = this.tokens\n const tagStartToken = tokens.la(-1)\n\n const tag = tokens.expect(Types.SYMBOL)\n let parser = this[TAG][tag.text]\n let isUsingGenericParser = false\n if (!parser) {\n if (this.options.allowUnknownTags) {\n parser = this.getGenericParserFor(tag.text)\n isUsingGenericParser = true\n } else {\n tokens.error(`Unknown tag \"${tag.text}\"`, tag.pos, `Expected a known tag such as\\n- ${Object.getOwnPropertyNames(this[TAG]).join('\\n- ')}`, tag.length)\n }\n }\n\n const result = parser.parse(this, tag)\n const tagEndToken = tokens.la(-1)\n if (!isUsingGenericParser) {\n result.trimLeft = tagStartToken.text.endsWith('-')\n result.trimRight = tagEndToken.text.startsWith('-')\n }\n\n setStartFromToken(result, tagStartToken)\n setEndFromToken(result, tagEndToken)\n setMarkFromToken(result, 'tagNameLoc', tag)\n\n return result\n }\n\n matchExpression(precedence = 0) {\n const tokens = this.tokens,\n exprStartToken = tokens.la(0)\n let token,\n op,\n trimLeft = false\n\n // Check for {{- (trim preceding whitespace)\n if (tokens.la(-1).type === Types.EXPRESSION_START && tokens.la(-1).text.endsWith('-')) {\n trimLeft = true\n }\n\n let expr = this.getPrimary()\n while ((token = tokens.la(0)) && token.type !== Types.EOF && (op = this.getBinaryOperator(token)) && op.precedence >= precedence) {\n const opToken = tokens.next() // consume the operator\n if (op.parse) {\n expr = op.parse(this, opToken, expr)\n } else {\n const expr1 = this.matchExpression(op.associativity === LEFT ? op.precedence + 1 : op.precedence)\n expr = op.createNode(token, expr, expr1)\n }\n token = tokens.la(0)\n }\n\n var result = expr\n if (precedence === 0) {\n setEndFromToken(expr, tokens.la(-1))\n result = this.matchConditionalExpression(expr)\n // Update the local token variable because the stream pointer already advanced.\n token = tokens.la(0)\n }\n\n // Check for -}} (trim following whitespace)\n if (token.type === Types.EXPRESSION_END && token.text.startsWith('-')) {\n result.trimRight = true\n }\n if (trimLeft) {\n result.trimLeft = trimLeft\n }\n\n const exprEndToken = tokens.la(-1)\n setStartFromToken(result, exprStartToken)\n setEndFromToken(result, exprEndToken)\n\n return result\n }\n\n getPrimary() {\n let tokens = this.tokens,\n token = tokens.la(0)\n if (this.isUnary(token)) {\n const op = this[UNARY][token.text]\n tokens.next() // consume operator\n const expr = this.matchExpression(op.precedence)\n return this.matchPostfixExpression(op.createNode(token, expr))\n } else if (tokens.test(Types.LPAREN)) {\n tokens.next() // consume '('\n const expr = this.matchExpression()\n tokens.expect(Types.RPAREN)\n return this.matchPostfixExpression(expr)\n }\n\n return this.matchPrimaryExpression()\n }\n\n matchPrimaryExpression() {\n let tokens = this.tokens,\n token = tokens.la(0),\n node\n switch (token.type) {\n case Types.NULL:\n node = createNode(n.NullLiteral, tokens.next())\n break\n case Types.FALSE:\n node = createNode(n.BooleanLiteral, tokens.next(), false)\n break\n case Types.TRUE:\n node = createNode(n.BooleanLiteral, tokens.next(), true)\n break\n case Types.SYMBOL:\n tokens.next()\n if (tokens.test(Types.LPAREN)) {\n // SYMBOL '(' arguments* ')'\n node = new n.CallExpression(createNode(n.Identifier, token, token.text), this.matchArguments())\n copyStart(node, node.callee)\n setEndFromToken(node, tokens.la(-1)) // ')'\n } else {\n node = createNode(n.Identifier, token, token.text)\n }\n break\n case Types.NUMBER:\n node = createNode(n.NumericLiteral, token, Number(tokens.next()))\n break\n case Types.STRING_START:\n node = this.matchStringExpression()\n break\n // potentially missing: OPERATOR type\n default:\n if (token.type === Types.LBRACE) {\n node = this.matchArray()\n } else if (token.type === Types.LBRACKET) {\n node = this.matchMap()\n } else {\n this.error(\n {\n title: 'Unexpected token \"' + token.type + '\" of value \"' + token.text + '\"',\n pos: token.pos\n },\n {\n errorType: 'UNEXPECTED_TOKEN',\n tokenText: token.text,\n tokenType: token.type\n }\n )\n }\n break\n }\n\n return this.matchPostfixExpression(node)\n }\n\n matchStringExpression() {\n let canBeString = true,\n token\n const tokens = this.tokens,\n nodes = [],\n stringStart = tokens.expect(Types.STRING_START)\n while (!tokens.test(Types.STRING_END)) {\n if (canBeString && (token = tokens.nextIf(Types.STRING))) {\n nodes[nodes.length] = createNode(n.StringLiteral, token, token.text)\n canBeString = false\n } else if ((token = tokens.nextIf(Types.INTERPOLATION_START))) {\n nodes[nodes.length] = this.matchExpression()\n tokens.expect(Types.INTERPOLATION_END)\n canBeString = true\n } else {\n break\n }\n }\n const stringEnd = tokens.expect(Types.STRING_END)\n\n if (!nodes.length) {\n return setEndFromToken(createNode(n.StringLiteral, stringStart, ''), stringEnd)\n }\n\n let expr = nodes[0]\n for (let i = 1, len = nodes.length; i < len; i++) {\n const { line, column } = expr.loc.start\n expr = new n.BinaryConcatExpression(expr, nodes[i])\n expr.loc.start.line = line\n expr.loc.start.column = column\n copyEnd(expr, expr.right)\n }\n\n if (nodes.length > 1) {\n expr.wasImplicitConcatenation = true\n }\n\n setStartFromToken(expr, stringStart)\n setEndFromToken(expr, stringEnd)\n\n return expr\n }\n\n /** @var {Node} test */\n matchConditionalExpression(test) {\n const tokens = this.tokens\n let condition = test,\n consequent,\n alternate\n while (tokens.nextIf(Types.QUESTION_MARK)) {\n if (!tokens.nextIf(Types.COLON)) {\n consequent = this.matchExpression()\n if (tokens.nextIf(Types.COLON)) {\n alternate = this.matchExpression()\n } else {\n alternate = null\n }\n } else {\n consequent = null\n alternate = this.matchExpression()\n }\n const { line, column } = condition.loc.start\n condition = new n.ConditionalExpression(condition, consequent, alternate)\n condition.loc.start = { line, column }\n copyEnd(condition, alternate || consequent)\n }\n return condition\n }\n\n matchArray() {\n let tokens = this.tokens,\n array = new n.ArrayExpression(),\n start = tokens.expect(Types.LBRACE)\n setStartFromToken(array, start)\n while (!tokens.test(Types.RBRACE) && !tokens.test(Types.EOF)) {\n array.elements.push(this.matchExpression())\n if (!tokens.test(Types.RBRACE)) {\n tokens.expect(Types.COMMA)\n // support trailing commas\n if (tokens.test(Types.RBRACE)) {\n break\n }\n }\n }\n setEndFromToken(array, tokens.expect(Types.RBRACE))\n return array\n }\n\n matchMap() {\n let tokens = this.tokens,\n token,\n obj = new n.ObjectExpression(),\n startToken = tokens.expect(Types.LBRACKET)\n setStartFromToken(obj, startToken)\n while (!tokens.test(Types.RBRACKET) && !tokens.test(Types.EOF)) {\n let computed = false,\n key,\n value\n if (tokens.test(Types.STRING_START)) {\n key = this.matchStringExpression()\n if (!n.is(key, 'StringLiteral')) {\n computed = true\n }\n } else if ((token = tokens.nextIf(Types.SYMBOL))) {\n key = createNode(n.Identifier, token, token.text)\n } else if ((token = tokens.nextIf(Types.NUMBER))) {\n key = createNode(n.NumericLiteral, token, Number(token.text))\n } else if (tokens.test(Types.LPAREN)) {\n key = this.matchExpression()\n computed = true\n } else {\n this.error({\n title: 'Invalid map key',\n pos: tokens.la(0).pos,\n advice: 'Key must be a string, symbol or a number but was ' + tokens.next()\n })\n }\n tokens.expect(Types.COLON)\n value = this.matchExpression()\n const prop = new n.ObjectProperty(key, value, computed)\n copyStart(prop, key)\n copyEnd(prop, value)\n obj.properties.push(prop)\n if (!tokens.test(Types.RBRACKET)) {\n tokens.expect(Types.COMMA)\n // support trailing comma\n if (tokens.test(Types.RBRACKET)) {\n break\n }\n }\n }\n setEndFromToken(obj, tokens.expect(Types.RBRACKET))\n return obj\n }\n\n matchPostfixExpression(expr) {\n const tokens = this.tokens\n let node = expr\n while (!tokens.test(Types.EOF)) {\n if (tokens.test(Types.DOT) || tokens.test(Types.LBRACE)) {\n node = this.matchSubscriptExpression(node)\n } else if (tokens.test(Types.PIPE)) {\n tokens.next()\n node = this.matchFilterExpression(node)\n } else {\n break\n }\n }\n\n return node\n }\n\n matchSubscriptExpression(node) {\n let tokens = this.tokens,\n op = tokens.next()\n if (op.type === Types.DOT) {\n let token = tokens.next(),\n computed = false,\n property\n if (token.type === Types.SYMBOL) {\n property = createNode(n.Identifier, token, token.text)\n } else if (token.type === Types.NUMBER) {\n property = createNode(n.NumericLiteral, token, Number(token.text))\n computed = true\n } else {\n this.error({\n title: 'Invalid token',\n pos: token.pos,\n advice: 'Expected number or symbol, found ' + token + ' instead'\n })\n }\n\n const memberExpr = new n.MemberExpression(node, property, computed)\n copyStart(memberExpr, node)\n copyEnd(memberExpr, property)\n if (tokens.test(Types.LPAREN)) {\n const callExpr = new n.CallExpression(memberExpr, this.matchArguments())\n copyStart(callExpr, memberExpr)\n setEndFromToken(callExpr, tokens.la(-1))\n return callExpr\n }\n return memberExpr\n } else {\n let arg, start\n if (tokens.test(Types.COLON)) {\n // slice\n tokens.next()\n start = null\n } else {\n arg = this.matchExpression()\n if (tokens.test(Types.COLON)) {\n start = arg\n arg = null\n tokens.next()\n }\n }\n\n if (arg) {\n return setEndFromToken(copyStart(new n.MemberExpression(node, arg, true), node), tokens.expect(Types.RBRACE))\n } else {\n // slice\n const result = new n.SliceExpression(node, start, tokens.test(Types.RBRACE) ? null : this.matchExpression())\n copyStart(result, node)\n setEndFromToken(result, tokens.expect(Types.RBRACE))\n return result\n }\n }\n }\n\n matchFilterExpression(node) {\n let tokens = this.tokens,\n target = node\n while (!tokens.test(Types.EOF)) {\n let token = tokens.expect(Types.SYMBOL),\n name = createNode(n.Identifier, token, token.text),\n args\n\n var isDjango = false\n if (tokens.test(Types.LPAREN)) {\n args = this.matchArguments()\n } else if (tokens.test(Types.COLON)) {\n args = this.matchDjangoFilterArguments()\n isDjango = true\n } else {\n args = []\n }\n const newTarget = new n.FilterExpression(target, name, args)\n copyStart(newTarget, target)\n if (newTarget.arguments.length) {\n copyEnd(newTarget, newTarget.arguments[newTarget.arguments.length - 1])\n } else {\n copyEnd(newTarget, target)\n }\n target = newTarget\n target.isDjango = isDjango\n\n if (!tokens.test(Types.PIPE) || tokens.test(Types.EOF)) {\n break\n }\n\n tokens.next() // consume '|'\n }\n return target\n }\n\n matchArguments() {\n let tokens = this.tokens,\n args = []\n tokens.expect(Types.LPAREN)\n while (!tokens.test(Types.RPAREN) && !tokens.test(Types.EOF)) {\n if (tokens.test(Types.SYMBOL) && tokens.lat(1) === Types.ASSIGNMENT) {\n const name = tokens.next()\n tokens.next()\n const value = this.matchExpression()\n const arg = new n.NamedArgumentExpression(createNode(n.Identifier, name, name.text), value)\n copyEnd(arg, value)\n args.push(arg)\n } else {\n args.push(this.matchExpression())\n }\n\n if (!tokens.test(Types.COMMA)) {\n tokens.expect(Types.RPAREN)\n return args\n }\n tokens.expect(Types.COMMA)\n }\n tokens.expect(Types.RPAREN)\n return args\n }\n\n matchDjangoFilterArguments() {\n let tokens = this.tokens,\n args = []\n tokens.expect(Types.COLON)\n\n while (!tokens.test(Types.PIPE) && !tokens.test(Types.EXPRESSION_END) && !tokens.test(Types.TAG_END)) {\n args.push(this.matchExpression())\n }\n\n tokens.expect([Types.PIPE, Types.EXPRESSION_END, Types.TAG_END])\n tokens.index-- //must back to last token\n\n return args\n }\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport var LEFT = Symbol();\nexport var RIGHT = Symbol();\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport function setStartFromToken(node, { pos: { index, line, column } }) {\n node.loc.start = { line, column, index };\n return node;\n}\n\nexport function setEndFromToken(node, { pos: { line, column }, end }) {\n node.loc.end = { line, column, index: end };\n return node;\n}\n\nexport function setMarkFromToken(\n node,\n propertyName,\n { pos: { index, line, column } }\n) {\n node[propertyName] = { line, column, index };\n return node;\n}\n\nexport function copyStart(\n node,\n {\n loc: {\n start: { line, column, index },\n },\n }\n) {\n node.loc.start.line = line;\n node.loc.start.column = column;\n node.loc.start.index = index;\n return node;\n}\n\nexport function copyEnd(node, end) {\n node.loc.end.line = end.loc.end.line;\n node.loc.end.column = end.loc.end.column;\n node.loc.end.index = end.loc.end.index;\n return node;\n}\n\nexport function getNodeSource(node, entireSource) {\n if (entireSource && node.loc.start && node.loc.end) {\n return entireSource.substring(node.loc.start.index, node.loc.end.index);\n }\n return '';\n}\n\nexport function copyLoc(node, { loc: { start, end } }) {\n node.loc.start.line = start.line;\n node.loc.start.column = start.column;\n node.loc.start.index = start.index;\n node.loc.end.line = end.line;\n node.loc.end.column = end.column;\n node.loc.end.index = end.index;\n return node;\n}\n\nexport function createNode(Type, token, ...args) {\n return setEndFromToken(setStartFromToken(new Type(...args), token), token);\n}\n\nexport function startNode(Type, token, ...args) {\n return setStartFromToken(new Type(...args), token);\n}\n\nexport function hasTagStartTokenTrimLeft(token) {\n return token.text.endsWith('-');\n}\n\nexport function hasTagEndTokenTrimRight(token) {\n return token.text.startsWith('-');\n}\n\nexport function isMelodyExtension(obj) {\n return (\n obj &&\n (Array.isArray(obj.binaryOperators) ||\n typeof obj.filterMap === 'object' ||\n typeof obj.functionMap === 'object' ||\n Array.isArray(obj.tags) ||\n Array.isArray(obj.tests) ||\n Array.isArray(obj.unaryOperators) ||\n Array.isArray(obj.visitors))\n );\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport const EXPRESSION_START = 'expressionStart';\nexport const EXPRESSION_END = 'expressionEnd';\nexport const TAG_START = 'tagStart';\nexport const TAG_END = 'tagEnd';\nexport const INTERPOLATION_START = 'interpolationStart';\nexport const INTERPOLATION_END = 'interpolationEnd';\nexport const STRING_START = 'stringStart';\nexport const STRING_END = 'stringEnd';\nexport const DECLARATION_START = 'declarationStart';\nexport const COMMENT = 'comment';\nexport const WHITESPACE = 'whitespace';\nexport const HTML_COMMENT = 'htmlComment';\nexport const TEXT = 'text';\nexport const ENTITY = 'entity';\nexport const SYMBOL = 'symbol';\nexport const STRING = 'string';\nexport const OPERATOR = 'operator';\nexport const TRUE = 'true';\nexport const FALSE = 'false';\nexport const NULL = 'null';\nexport const LBRACE = '[';\nexport const RBRACE = ']';\nexport const LPAREN = '(';\nexport const RPAREN = ')';\nexport const LBRACKET = '{';\nexport const RBRACKET = '}';\nexport const COLON = ':';\nexport const COMMA = ',';\nexport const DOT = '.';\nexport const PIPE = '|';\nexport const QUESTION_MARK = '?';\nexport const ASSIGNMENT = '=';\nexport const ELEMENT_START = '<';\nexport const SLASH = '/';\nexport const ELEMENT_END = '>';\nexport const NUMBER = 'number';\nexport const EOF = 'EOF';\nexport const ERROR = 'ERROR';\nexport const EOF_TOKEN = {\n type: EOF,\n pos: {\n index: -1,\n line: -1,\n pos: -1,\n },\n end: -1,\n length: 0,\n source: null,\n text: '',\n};\n\nexport const ERROR_TABLE = {\n [EXPRESSION_END]: 'expression end \"}}\"',\n [EXPRESSION_START]: 'expression start \"{{\"',\n [TAG_START]: 'tag start \"{%\"',\n [TAG_END]: 'tag end \"%}\"',\n [INTERPOLATION_START]: 'interpolation start \"#{\"',\n [INTERPOLATION_END]: 'interpolation end \"}\"',\n};\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { hasTagStartTokenTrimLeft, hasTagEndTokenTrimRight } from './util';\nimport * as Types from './TokenTypes';\nimport * as n from 'melody-types';\n\nexport const GenericTagParser = {\n name: 'genericTwigTag',\n parse(parser) {\n const tokens = parser.tokens,\n tagStartToken = tokens.la(-2);\n let currentToken;\n\n const twigTag = new n.GenericTwigTag(tokens.la(-1).text);\n while ((currentToken = tokens.la(0))) {\n if (currentToken.type === Types.TAG_END) {\n break;\n } else {\n try {\n twigTag.parts.push(parser.matchExpression());\n } catch (e) {\n if (e.errorType === 'UNEXPECTED_TOKEN') {\n twigTag.parts.push(\n new n.GenericToken(e.tokenType, e.tokenText)\n );\n tokens.next();\n } else {\n throw e;\n }\n }\n }\n }\n tokens.expect(Types.TAG_END);\n\n twigTag.trimLeft = hasTagStartTokenTrimLeft(tagStartToken);\n twigTag.trimRight = hasTagEndTokenTrimRight(currentToken);\n\n return twigTag;\n },\n};\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { setStartFromToken, setEndFromToken } from './util';\nimport { GenericTagParser } from './GenericTagParser';\nimport * as Types from './TokenTypes';\n\nconst tagMatchesOneOf = (tokenStream, tagNames) => {\n for (let i = 0; i < tagNames.length; i++) {\n if (tokenStream.test(Types.SYMBOL, tagNames[i])) {\n return true;\n }\n }\n return false;\n};\n\nexport const createMultiTagParser = (tagName, subTags = []) => ({\n name: 'genericTwigMultiTag',\n parse(parser, token) {\n const tokens = parser.tokens,\n tagStartToken = tokens.la(-1);\n\n if (subTags.length === 0) {\n subTags.push('end' + tagName);\n }\n\n const twigTag = GenericTagParser.parse(parser, token);\n let currentTagName = tagName;\n const endTagName = subTags[subTags.length - 1];\n\n while (currentTagName !== endTagName) {\n // Parse next section\n twigTag.sections.push(\n parser.parse((tokenText, token, tokens) => {\n const hasReachedNextTag =\n token.type === Types.TAG_START &&\n tagMatchesOneOf(tokens, subTags);\n return hasReachedNextTag;\n })\n );\n tokens.next(); // Get past \"{%\"\n\n // Parse next tag\n const childTag = GenericTagParser.parse(parser);\n twigTag.sections.push(childTag);\n currentTagName = childTag.tagName;\n }\n\n setStartFromToken(twigTag, tagStartToken);\n setEndFromToken(twigTag, tokens.la(0));\n\n return twigTag;\n },\n});\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n// https://www.w3.org/TR/html5/syntax.html#void-elements\nexport const voidElements = {\n area: true,\n base: true,\n br: true,\n col: true,\n embed: true,\n hr: true,\n img: true,\n input: true,\n keygen: true,\n link: true,\n meta: true,\n param: true,\n source: true,\n track: true,\n wbr: true,\n};\n\nexport const rawTextElements = {\n script: true,\n style: true,\n};\n\nexport const escapableRawTextElements = {\n textarea: true,\n title: true,\n};\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { EOF_TOKEN, ERROR, ERROR_TABLE, COMMENT, WHITESPACE, HTML_COMMENT, TAG_START, TAG_END, EXPRESSION_START, EXPRESSION_END, TEXT, STRING } from './TokenTypes'\nimport trimEnd from 'lodash/trimEnd'\nimport trimStart from 'lodash/trimStart'\n// import codeFrame from 'melody-code-frame'\n\nconst TOKENS = Symbol(),\n LENGTH = Symbol()\n\nexport default class TokenStream {\n constructor(lexer, options) {\n this.input = lexer\n this.index = 0\n const mergedOptions = Object.assign(\n {},\n {\n ignoreComments: true,\n ignoreHtmlComments: true,\n ignoreWhitespace: true,\n applyWhitespaceTrimming: true\n },\n options\n )\n this[TOKENS] = getAllTokens(lexer, mergedOptions)\n this[LENGTH] = this[TOKENS].length\n\n if (this[TOKENS].length && this[TOKENS][this[TOKENS].length - 1].type === ERROR) {\n const errorToken = this[TOKENS][this[TOKENS].length - 1]\n this.error(errorToken.message, errorToken.pos, errorToken.advice, errorToken.endPos.index - errorToken.pos.index || 1)\n }\n }\n\n la(offset) {\n var index = this.index + offset\n return index < this[LENGTH] ? this[TOKENS][index] : EOF_TOKEN\n }\n\n lat(offset) {\n return this.la(offset).type\n }\n\n test(type, text) {\n const token = this.la(0)\n return token.type === type && (!text || token.text === text)\n }\n\n next() {\n if (this.index === this[LENGTH]) {\n return EOF_TOKEN\n }\n const token = this[TOKENS][this.index]\n this.index++\n return token\n }\n\n nextIf(type, text) {\n if (this.test(type, text)) {\n return this.next()\n }\n return false\n }\n\n expect(types, text = null, startToken = null) {\n const token = this.la(0)\n\n if (!Array.isArray(types)) {\n types = [types]\n }\n\n if (types.includes(token.type) && (!text || token.text === text)) {\n return this.next()\n }\n\n var type = types[0]\n var expectedStr = ERROR_TABLE[type] || type || text\n if (expectedStr != text) {\n expectedStr + '[' + text + ']'\n }\n var pos = token.pos\n if (pos.line == -1 && startToken) {\n pos = startToken.pos\n }\n this.error('Invalid Token', pos, `Expected ${expectedStr} but found ${ERROR_TABLE[token.type] || token.type || token.text} instead.`, token.length)\n }\n\n error(message, pos, advice, length = 1, metadata = {}) {\n let errorMessage = `ERROR: ${message}. `\n if (advice) {\n errorMessage += advice\n }\n // let diagnosticMsg =\n // errorMessage +\n // '\\n' +\n // codeFrame({\n // rawLines: this.input.source,\n // lineNumber: pos.line,\n // colNumber: pos.column,\n // length,\n // tokens: getAllTokens(this.input, {\n // ignoreWhitespace: false,\n // ignoreComments: false,\n // ignoreHtmlComments: false\n // })\n // })\n\n const result = new Error(errorMessage + ' \\t ')\n Object.assign(result, metadata)\n // console.error(result, diagnosticMsg)\n result.loc = {\n start: { line: Math.max(1, pos.line || 0), column: Math.max(0, pos.column || 0) + 1 }, //line:1+++; column:0+++\n end: { line: Math.max(1, pos.line || 0) + 1, column: 1 }\n }\n throw result\n }\n}\n\nfunction getAllTokens(lexer, options) {\n let token,\n tokens = [],\n acceptWhitespaceControl = false,\n trimNext = false\n while ((token = lexer.next()) !== EOF_TOKEN) {\n const shouldTrimNext = trimNext\n trimNext = false\n if (acceptWhitespaceControl) {\n switch (token.type) {\n case EXPRESSION_START:\n case TAG_START:\n if (token.text[token.text.length - 1] === '-') {\n tokens[tokens.length - 1].text = trimEnd(tokens[tokens.length - 1].text)\n }\n break\n case EXPRESSION_END:\n case TAG_END:\n if (token.text[0] === '-') {\n trimNext = true\n }\n break\n case COMMENT:\n if (tokens[tokens.length - 1].type === TEXT) {\n tokens[tokens.length - 1].text = trimEnd(tokens.text)\n }\n trimNext = true\n break\n }\n }\n if (shouldTrimNext && (token.type === TEXT || token.type === STRING)) {\n token.text = trimStart(token.text)\n }\n if ((token.type !== COMMENT || !options.ignoreComments) && (token.type !== WHITESPACE || !options.ignoreWhitespace) && (token.type !== HTML_COMMENT || !options.ignoreHtmlComments)) {\n tokens[tokens.length] = token\n }\n acceptWhitespaceControl = options.applyWhitespaceTrimming\n if (token.type === ERROR) {\n return tokens\n }\n }\n return tokens\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const EOF = Symbol();\n\nexport class CharStream {\n constructor(input) {\n this.input = String(input);\n this.length = this.input.length;\n this.index = 0;\n this.position = { line: 1, column: 0 };\n }\n\n get source() {\n return this.input;\n }\n\n reset() {\n this.rewind({ line: 1, column: 0, index: 0 });\n }\n\n mark() {\n let { line, column } = this.position,\n index = this.index;\n return { line, column, index };\n }\n\n rewind(marker) {\n this.position.line = marker.line;\n this.position.column = marker.column;\n this.index = marker.index;\n }\n\n la(offset) {\n var index = this.index + offset;\n return index < this.length ? this.input.charAt(index) : EOF;\n }\n\n lac(offset) {\n var index = this.index + offset;\n return index < this.length ? this.input.charCodeAt(index) : EOF;\n }\n\n next() {\n if (this.index === this.length) {\n return EOF;\n }\n var ch = this.input.charAt(this.index);\n this.index++;\n this.position.column++;\n if (ch === '\\n') {\n this.position.line += 1;\n this.position.column = 0;\n }\n return ch;\n }\n\n match(str) {\n const start = this.mark();\n for (let i = 0, len = str.length; i < len; i++) {\n const ch = this.next();\n if (ch !== str.charAt(i) || ch === EOF) {\n this.rewind(start);\n return false;\n }\n }\n return true;\n }\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport * as TokenTypes from './TokenTypes';\nimport { EOF } from './CharStream';\n\nconst State = {\n TEXT: 'TEXT',\n EXPRESSION: 'EXPRESSION',\n TAG: 'TAG',\n INTERPOLATION: 'INTERPOLATION',\n STRING_SINGLE: 'STRING_SINGLE',\n STRING_DOUBLE: 'STRING_DOUBLE',\n ELEMENT: 'ELEMENT',\n ATTRIBUTE_VALUE: 'ATTRIBUTE_VALUE',\n DECLARATION: 'DECLARATION',\n};\n\nconst STATE = Symbol(),\n OPERATORS = Symbol(),\n STRING_START = Symbol();\n\nconst CHAR_TO_TOKEN = {\n '[': TokenTypes.LBRACE,\n ']': TokenTypes.RBRACE,\n '(': TokenTypes.LPAREN,\n ')': TokenTypes.RPAREN,\n '{': TokenTypes.LBRACKET,\n '}': TokenTypes.RBRACKET,\n ':': TokenTypes.COLON,\n '.': TokenTypes.DOT,\n '|': TokenTypes.PIPE,\n ',': TokenTypes.COMMA,\n '?': TokenTypes.QUESTION_MARK,\n '=': TokenTypes.ASSIGNMENT,\n //'<': TokenTypes.ELEMENT_START,\n //'>': TokenTypes.ELEMENT_END,\n '/': TokenTypes.SLASH,\n};\n\nexport default class Lexer {\n constructor(input, { preserveSourceLiterally = false } = {}) {\n this.input = input;\n this[STATE] = [State.TEXT];\n this[OPERATORS] = [];\n this[STRING_START] = null;\n this.options = {\n preserveSourceLiterally:\n preserveSourceLiterally === true ? true : false,\n };\n }\n\n applyExtension(ext) {\n if (ext.unaryOperators) {\n this.addOperators(...ext.unaryOperators.map(op => op.text));\n }\n if (ext.binaryOperators) {\n this.addOperators(...ext.binaryOperators.map(op => op.text));\n }\n }\n\n reset() {\n this.input.reset();\n this[STATE] = [State.TEXT];\n }\n\n get source() {\n return this.input.source;\n }\n\n addOperators(...ops) {\n this[OPERATORS].push(...ops);\n this[OPERATORS].sort((a, b) => (a.length > b.length ? -1 : 1));\n }\n\n get state() {\n return this[STATE][this[STATE].length - 1];\n }\n\n pushState(state) {\n this[STATE].push(state);\n }\n\n popState() {\n this[STATE].length--;\n }\n\n createToken(type, pos) {\n let input = this.input,\n endPos = input.mark(),\n end = endPos.index;\n return {\n type,\n pos,\n endPos,\n end,\n length: end - pos.index,\n source: input.input,\n text: input.input.substr(pos.index, end - pos.index),\n toString: function() {\n return this.text;\n },\n };\n }\n\n next() {\n let input = this.input,\n pos,\n c;\n while ((c = input.la(0)) !== EOF) {\n pos = input.mark();\n if (\n this.state !== State.TEXT &&\n this.state !== State.STRING_DOUBLE &&\n this.state !== State.STRING_SINGLE &&\n this.state !== State.ATTRIBUTE_VALUE &&\n isWhitespace(c)\n ) {\n input.next();\n while ((c = input.la(0)) !== EOF && isWhitespace(c)) {\n input.next();\n }\n return this.createToken(TokenTypes.WHITESPACE, pos);\n }\n if (c === '{' && input.la(1) === '#') {\n input.next();\n input.next();\n if (input.la(0) === '-') {\n input.next();\n }\n while ((c = input.la(0)) !== EOF) {\n if (\n (c === '#' && input.la(1) === '}') ||\n (c === '-' &&\n input.la(1) === '#' &&\n input.la(2) === '}')\n ) {\n if (c === '-') {\n input.next();\n }\n input.next();\n input.next();\n return this.createToken(TokenTypes.COMMENT, pos);\n }\n input.next();\n }\n }\n if (this.state === State.TEXT) {\n let entityToken;\n if (c === '<') {\n if (\n input.la(1) === '{' ||\n isAlpha(input.lac(1)) ||\n input.la(1) === '/'\n ) {\n input.next();\n this.pushState(State.ELEMENT);\n return this.createToken(TokenTypes.ELEMENT_START, pos);\n } else if (\n input.la(1) === '!' &&\n input.la(2) === '-' &&\n input.la(3) === '-'\n ) {\n // match HTML comment\n input.next(); // <\n input.next(); // !\n input.next(); // -\n input.next(); // -\n while ((c = input.la(0)) !== EOF) {\n if (c === '-' && input.la(1) === '-') {\n input.next();\n input.next();\n if (!(c = input.next()) === '>') {\n this.error(\n 'Unexpected end for HTML comment',\n input.mark(),\n `Expected comment to end with '>' but found '${c}' instead.`\n );\n }\n break;\n }\n input.next();\n }\n return this.createToken(TokenTypes.HTML_COMMENT, pos);\n } else if (\n input.la(1) === '!' &&\n (isAlpha(input.lac(2)) || isWhitespace(input.la(2)))\n ) {\n input.next();\n input.next();\n this.pushState(State.DECLARATION);\n return this.createToken(\n TokenTypes.DECLARATION_START,\n pos\n );\n } else {\n return this.matchText(pos);\n }\n } else if (c === '{') {\n return this.matchExpressionToken(pos);\n } else if (c === '&' && (entityToken = this.matchEntity(pos))) {\n return entityToken;\n } else {\n return this.matchText(pos);\n }\n } else if (this.state === State.EXPRESSION) {\n if (\n (c === '}' && input.la(1) === '}') ||\n (c === '-' && input.la(1) === '}' && input.la(2) === '}')\n ) {\n if (c === '-') {\n input.next();\n }\n input.next();\n input.next();\n this.popState();\n return this.createToken(TokenTypes.EXPRESSION_END, pos);\n }\n return this.matchExpression(pos);\n } else if (this.state === State.TAG) {\n if (\n (c === '%' && input.la(1) === '}') ||\n (c === '-' && input.la(1) === '%' && input.la(2) === '}')\n ) {\n if (c === '-') {\n input.next();\n }\n input.next();\n input.next();\n this.popState();\n return this.createToken(TokenTypes.TAG_END, pos);\n }\n return this.matchExpression(pos);\n } else if (\n this.state === State.STRING_SINGLE ||\n this.state === State.STRING_DOUBLE\n ) {\n return this.matchString(pos, true);\n } else if (this.state === State.INTERPOLATION) {\n if (c === '}') {\n input.next();\n this.popState(); // pop interpolation\n return this.createToken(TokenTypes.INTERPOLATION_END, pos);\n }\n return this.matchExpression(pos);\n } else if (this.state === State.ELEMENT) {\n switch (c) {\n case '/':\n input.next();\n return this.createToken(TokenTypes.SLASH, pos);\n case '{':\n return this.matchExpressionToken(pos);\n case '>':\n input.next();\n this.popState();\n return this.createToken(TokenTypes.ELEMENT_END, pos);\n case '\"':\n input.next();\n this.pushState(State.ATTRIBUTE_VALUE);\n return this.createToken(TokenTypes.STRING_START, pos);\n case '=':\n input.next();\n return this.createToken(TokenTypes.ASSIGNMENT, pos);\n default:\n return this.matchSymbol(pos);\n }\n } else if (this.state === State.ATTRIBUTE_VALUE) {\n if (c === '\"') {\n input.next();\n this.popState();\n return this.createToken(TokenTypes.STRING_END, pos);\n } else {\n return this.matchAttributeValue(pos);\n }\n } else if (this.state === State.DECLARATION) {\n switch (c) {\n case '>':\n input.next();\n this.popState();\n return this.createToken(TokenTypes.ELEMENT_END, pos);\n case '\"':\n input.next();\n this.pushState(State.STRING_DOUBLE);\n return this.createToken(TokenTypes.STRING_START, pos);\n case '{':\n return this.matchExpressionToken(pos);\n default:\n return this.matchSymbol(pos);\n }\n } else {\n return this.error(`Invalid state ${this.state}`, pos);\n }\n }\n return TokenTypes.EOF_TOKEN;\n }\n\n matchExpressionToken(pos) {\n const input = this.input;\n switch (input.la(1)) {\n case '{':\n input.next();\n input.next();\n this.pushState(State.EXPRESSION);\n if (input.la(0) === '-') {\n input.next();\n }\n return this.createToken(TokenTypes.EXPRESSION_START, pos);\n case '%':\n input.next();\n input.next();\n this.pushState(State.TAG);\n if (input.la(0) === '-') {\n input.next();\n }\n return this.createToken(TokenTypes.TAG_START, pos);\n case '#':\n input.next();\n input.next();\n if (input.la(0) === '-') {\n input.next();\n }\n return this.matchComment(pos);\n default:\n return this.matchText(pos);\n }\n }\n\n matchExpression(pos) {\n let input = this.input,\n c = input.la(0);\n switch (c) {\n case \"'\":\n this.pushState(State.STRING_SINGLE);\n input.next();\n return this.createToken(TokenTypes.STRING_START, pos);\n case '\"':\n this.pushState(State.STRING_DOUBLE);\n input.next();\n return this.createToken(TokenTypes.STRING_START, pos);\n default: {\n if (isDigit(input.lac(0))) {\n input.next();\n return this.matchNumber(pos);\n }\n if (\n (c === 't' && input.match('true')) ||\n (c === 'T' && input.match('TRUE'))\n ) {\n return this.createToken(TokenTypes.TRUE, pos);\n }\n if (\n (c === 'f' && input.match('false')) ||\n (c === 'F' && input.match('FALSE'))\n ) {\n return this.createToken(TokenTypes.FALSE, pos);\n }\n if (\n (c === 'n' &&\n (input.match('null') || input.match('none'))) ||\n (c === 'N' && (input.match('NULL') || input.match('NONE')))\n ) {\n return this.createToken(TokenTypes.NULL, pos);\n }\n const {\n longestMatchingOperator,\n longestMatchEndPos,\n } = this.findLongestMatchingOperator();\n const cc = input.lac(0);\n if (cc === 95 /* _ */ || isAlpha(cc) || isDigit(cc)) {\n // okay... this could be either a symbol or an operator\n input.next();\n const sym = this.matchSymbol(pos);\n if (sym.text.length <= longestMatchingOperator.length) {\n // the operator was longer so let's use that\n input.rewind(longestMatchEndPos);\n return this.createToken(TokenTypes.OPERATOR, pos);\n }\n // found a symbol\n return sym;\n } else if (longestMatchingOperator) {\n input.rewind(longestMatchEndPos);\n return this.createToken(TokenTypes.OPERATOR, pos);\n } else if (CHAR_TO_TOKEN.hasOwnProperty(c)) {\n input.next();\n return this.createToken(CHAR_TO_TOKEN[c], pos);\n } else if (c === '\\xa0') {\n return this.error(\n 'Unsupported token: Non-breaking space',\n pos\n );\n } else {\n return this.error(`Unknown token ${c}`, pos);\n }\n }\n }\n }\n\n findLongestMatchingOperator() {\n const input = this.input,\n start = input.mark();\n let longestMatchingOperator = '',\n longestMatchEndPos = null;\n for (let i = 0, ops = this[OPERATORS], len = ops.length; i < len; i++) {\n const op = ops[i];\n if (op.length > longestMatchingOperator.length && input.match(op)) {\n const cc = input.lac(0);\n\n // prevent mixing up operators with symbols (e.g. matching\n // 'not in' in 'not invalid').\n if (op.indexOf(' ') === -1 || !(isAlpha(cc) || isDigit(cc))) {\n longestMatchingOperator = op;\n longestMatchEndPos = input.mark();\n }\n\n input.rewind(start);\n }\n }\n input.rewind(start);\n return { longestMatchingOperator, longestMatchEndPos };\n }\n\n error(message, pos, advice = '') {\n const errorToken = this.createToken(TokenTypes.ERROR, pos);\n errorToken.message = message;\n errorToken.advice = advice;\n return errorToken;\n }\n\n matchEntity(pos) {\n const input = this.input;\n input.next(); // &\n if (input.la(0) === '#') {\n input.next(); // #\n if (input.la(0) === 'x') {\n // hexadecimal numeric character reference\n input.next(); // x\n let c = input.la(0);\n while (\n ('a' <= c && c <= 'f') ||\n ('A' <= c && c <= 'F') ||\n isDigit(input.lac(0))\n ) {\n input.next();\n c = input.la(0);\n }\n if (input.la(0) === ';') {\n input.next();\n } else {\n input.rewind(pos);\n return null;\n }\n } else if (isDigit(input.lac(0))) {\n // decimal numeric character reference\n // consume decimal numbers\n do {\n input.next();\n } while (isDigit(input.lac(0)));\n // check for final \";\"\n if (input.la(0) === ';') {\n input.next();\n } else {\n input.rewind(pos);\n return null;\n }\n } else {\n input.rewind(pos);\n return null;\n }\n } else {\n // match named character reference\n while (isAlpha(input.lac(0))) {\n input.next();\n }\n if (input.la(0) === ';') {\n input.next();\n } else {\n input.rewind(pos);\n return null;\n }\n }\n return this.createToken(TokenTypes.ENTITY, pos);\n }\n\n matchSymbol(pos) {\n let input = this.input,\n inElement = this.state === State.ELEMENT,\n c;\n while (\n (c = input.lac(0)) &&\n (c === 95 ||\n isAlpha(c) ||\n isDigit(c) ||\n (inElement && (c === 45 || c === 58)))\n ) {\n input.next();\n }\n var end = input.mark();\n if (pos.index === end.index) {\n return this.error(\n 'Expected an Identifier',\n pos,\n inElement\n ? `Expected a valid attribute name, but instead found \"${input.la(\n 0\n )}\", which is not part of a valid attribute name.`\n : `Expected letter, digit or underscore but found ${input.la(\n 0\n )} instead.`\n );\n }\n return this.createToken(TokenTypes.SYMBOL, pos);\n }\n\n matchString(pos, allowInterpolation = true) {\n const input = this.input,\n start = this.state === State.STRING_SINGLE ? \"'\" : '\"';\n let c;\n // string starts with an interpolation\n if (allowInterpolation && input.la(0) === '#' && input.la(1) === '{') {\n this.pushState(State.INTERPOLATION);\n input.next();\n input.next();\n return this.createToken(TokenTypes.INTERPOLATION_START, pos);\n }\n if (input.la(0) === start) {\n input.next();\n this.popState();\n return this.createToken(TokenTypes.STRING_END, pos);\n }\n while ((c = input.la(0)) !== start && c !== EOF) {\n if (c === '\\\\' && input.la(1) === start) {\n // escape sequence for string start\n input.next();\n input.next();\n } else if (allowInterpolation && c === '#' && input.la(1) === '{') {\n // found interpolation start, string part matched\n // next iteration will match the interpolation\n break;\n } else {\n input.next();\n }\n }\n var result = this.createToken(TokenTypes.STRING, pos);\n // Replace double backslash before escaped quotes\n if (!this.options.preserveSourceLiterally) {\n result.text = result.text.replace(\n new RegExp('(?:\\\\\\\\)(' + start + ')', 'g'),\n '$1'\n );\n }\n return result;\n }\n\n matchAttributeValue(pos) {\n let input = this.input,\n start = this.state === State.STRING_SINGLE ? \"'\" : '\"',\n c;\n if (input.la(0) === '{') {\n return this.matchExpressionToken(pos);\n }\n while ((c = input.la(0)) !== start && c !== EOF) {\n if (c === '\\\\' && input.la(1) === start) {\n input.next();\n input.next();\n } else if (c === '{') {\n // interpolation start\n break;\n } else if (c === start) {\n break;\n } else {\n input.next();\n }\n }\n var result = this.createToken(TokenTypes.STRING, pos);\n // Replace double backslash before escaped quotes\n if (!this.options.preserveSourceLiterally) {\n result.text = result.text.replace(\n new RegExp('(?:\\\\\\\\)(' + start + ')', 'g'),\n '$1'\n );\n }\n return result;\n }\n\n matchNumber(pos) {\n let input = this.input,\n c;\n while ((c = input.lac(0)) !== EOF) {\n if (!isDigit(c)) {\n break;\n }\n input.next();\n }\n if (input.la(0) === '.' && isDigit(input.lac(1))) {\n input.next();\n while ((c = input.lac(0)) !== EOF) {\n if (!isDigit(c)) {\n break;\n }\n input.next();\n }\n }\n return this.createToken(TokenTypes.NUMBER, pos);\n }\n\n matchText(pos) {\n let input = this.input,\n c;\n while ((c = input.la(0)) && c !== EOF) {\n if (c === '{') {\n const c2 = input.la(1);\n if (c2 === '{' || c2 === '#' || c2 === '%') {\n break;\n }\n } else if (c === '<') {\n const nextChar = input.la(1);\n if (\n nextChar === '/' || // closing tag\n nextChar === '!' || // HTML comment\n isAlpha(input.lac(1)) // opening tag\n ) {\n break;\n } else if (input.la(1) === '{') {\n const c2 = input.la(1);\n if (c2 === '{' || c2 === '#' || c2 === '%') {\n break;\n }\n }\n }\n input.next();\n }\n return this.createToken(TokenTypes.TEXT, pos);\n }\n\n matchComment(pos) {\n let input = this.input,\n c;\n while ((c = input.next()) !== EOF) {\n if (c === '#' && input.la(0) === '}') {\n input.next(); // consume '}'\n break;\n }\n }\n return this.createToken(TokenTypes.COMMENT, pos);\n }\n}\n\nfunction isWhitespace(c) {\n return c === '\\n' || c === ' ' || c === '\\t';\n}\n\nfunction isAlpha(c) {\n return (65 <= c && c <= 90) || (97 <= c && c <= 122);\n}\n\nfunction isDigit(c) {\n return 48 <= c && c <= 57;\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Node, BinaryExpression, BinaryConcatExpression, UnaryExpression, type, alias, visitor } from 'melody-types'\nimport { Types, setStartFromToken, setEndFromToken, copyStart, copyEnd, copyLoc, LEFT } from '../../melody-parser/src/'\n\nexport const unaryOperators = []\nexport const binaryOperators = []\nexport const tests = []\n\n//region Unary Expressions\nexport const UnaryNotExpression = createUnaryOperator('not', 'UnaryNotExpression', 50)\nexport const UnaryNeqExpression = createUnaryOperator('-', 'UnaryNeqExpression', 500)\nexport const UnaryPosExpression = createUnaryOperator('+', 'UnaryPosExpression', 500)\n//endregion\n\n//region Binary Expressions\nexport const BinaryOrExpression = createBinaryOperatorNode({\n text: 'or',\n type: 'BinaryOrExpression',\n precedence: 10,\n associativity: LEFT\n})\nexport const BinaryAndExpression = createBinaryOperatorNode({\n text: 'and',\n type: 'BinaryAndExpression',\n precedence: 15,\n associativity: LEFT\n})\n\nexport const BitwiseOrExpression = createBinaryOperatorNode({\n text: 'b-or',\n type: 'BitwiseOrExpression',\n precedence: 16,\n associativity: LEFT\n})\nexport const BitwiseXorExpression = createBinaryOperatorNode({\n text: 'b-xor',\n type: 'BitwiseXOrExpression',\n precedence: 17,\n associativity: LEFT\n})\nexport const BitwiseAndExpression = createBinaryOperatorNode({\n text: 'b-and',\n type: 'BitwiseAndExpression',\n precedence: 18,\n associativity: LEFT\n})\n\nexport const BinaryEqualsExpression = createBinaryOperatorNode({\n text: '==',\n type: 'BinaryEqualsExpression',\n precedence: 20,\n associativity: LEFT\n})\nexport const BinaryNotEqualsExpression = createBinaryOperatorNode({\n text: '!=',\n type: 'BinaryNotEqualsExpression',\n precedence: 20,\n associativity: LEFT\n})\nexport const BinaryLessThanExpression = createBinaryOperatorNode({\n text: '<',\n type: 'BinaryLessThanExpression',\n precedence: 20,\n associativity: LEFT\n})\nexport const BinaryGreaterThanExpression = createBinaryOperatorNode({\n text: '>',\n type: 'BinaryGreaterThanExpression',\n precedence: 20,\n associativity: LEFT\n})\nexport const BinaryLessThanOrEqualExpression = createBinaryOperatorNode({\n text: '<=',\n type: 'BinaryLessThanOrEqualExpression',\n precedence: 20,\n associativity: LEFT\n})\nexport const BinaryGreaterThanOrEqualExpression = createBinaryOperatorNode({\n text: '>=',\n type: 'BinaryGreaterThanOrEqualExpression',\n precedence: 20,\n associativity: LEFT\n})\n\nexport const BinaryNotInExpression = createBinaryOperatorNode({\n text: 'not in',\n type: 'BinaryNotInExpression',\n precedence: 20,\n associativity: LEFT\n})\nexport const BinaryInExpression = createBinaryOperatorNode({\n text: 'in',\n type: 'BinaryInExpression',\n precedence: 20,\n associativity: LEFT\n})\nexport const BinaryMatchesExpression = createBinaryOperatorNode({\n text: 'matches',\n type: 'BinaryMatchesExpression',\n precedence: 20,\n associativity: LEFT\n})\nexport const BinaryStartsWithExpression = createBinaryOperatorNode({\n text: 'starts with',\n type: 'BinaryStartsWithExpression',\n precedence: 20,\n associativity: LEFT\n})\nexport const BinaryEndsWithExpression = createBinaryOperatorNode({\n text: 'ends with',\n type: 'BinaryEndsWithExpression',\n precedence: 20,\n associativity: LEFT\n})\n\nexport const BinaryRangeExpression = createBinaryOperatorNode({\n text: '..',\n type: 'BinaryRangeExpression',\n precedence: 25,\n associativity: LEFT\n})\n\nexport const BinaryAddExpression = createBinaryOperatorNode({\n text: '+',\n type: 'BinaryAddExpression',\n precedence: 30,\n associativity: LEFT\n})\nexport const BinarySubExpression = createBinaryOperatorNode({\n text: '-',\n type: 'BinarySubExpression',\n precedence: 30,\n associativity: LEFT\n})\nbinaryOperators.push({\n text: '~',\n precedence: 40,\n associativity: LEFT,\n createNode(token, lhs, rhs) {\n const op = new BinaryConcatExpression(lhs, rhs)\n copyStart(op, lhs)\n copyEnd(op, rhs)\n return op\n }\n})\nexport const BinaryMulExpression = createBinaryOperatorNode({\n text: '*',\n type: 'BinaryMulExpression',\n precedence: 60,\n associativity: LEFT\n})\nexport const BinaryDivExpression = createBinaryOperatorNode({\n text: '/',\n type: 'BinaryDivExpression',\n precedence: 60,\n associativity: LEFT\n})\nexport const BinaryFloorDivExpression = createBinaryOperatorNode({\n text: '//',\n type: 'BinaryFloorDivExpression',\n precedence: 60,\n associativity: LEFT\n})\nexport const BinaryModExpression = createBinaryOperatorNode({\n text: '%',\n type: 'BinaryModExpression',\n precedence: 60,\n associativity: LEFT\n})\n\nbinaryOperators.push({\n text: 'is',\n precedence: 100,\n associativity: LEFT,\n parse(parser, token, expr) {\n const tokens = parser.tokens\n\n let not = false\n if (tokens.nextIf(Types.OPERATOR, 'not')) {\n not = true\n }\n\n const test = getTest(parser)\n let args = null\n if (tokens.test(Types.LPAREN)) {\n args = parser.matchArguments()\n }\n const testExpression = test.createNode(expr, args)\n setStartFromToken(testExpression, token)\n setEndFromToken(testExpression, tokens.la(-1))\n if (not) {\n return copyLoc(new UnaryNotExpression(testExpression), testExpression)\n }\n return testExpression\n }\n})\n\nfunction getTest(parser) {\n const tokens = parser.tokens\n const nameToken = tokens.la(0)\n if (nameToken.type !== Types.NULL) {\n tokens.expect(Types.SYMBOL)\n } else {\n tokens.next()\n }\n let testName = nameToken.text\n if (!parser.hasTest(testName)) {\n // try 2-words tests\n const continuedNameToken = tokens.expect(Types.SYMBOL)\n testName += ' ' + continuedNameToken.text\n if (!parser.hasTest(testName)) {\n parser.error({\n title: `Unknown test \"${testName}\"`,\n pos: nameToken.pos\n })\n }\n }\n\n return parser.getTest(testName)\n}\n\nexport const BinaryPowerExpression = createBinaryOperatorNode({\n text: '**',\n type: 'BinaryPowerExpression',\n precedence: 200,\n associativity: LEFT\n})\nexport const BinaryNullCoalesceExpression = createBinaryOperatorNode({\n text: '??',\n type: 'BinaryNullCoalesceExpression',\n precedence: 300,\n associativity: LEFT\n})\n//endregion\n\n//region Test Expressions\nexport const TestEvenExpression = createTest('even', 'TestEvenExpression')\nexport const TestOddExpression = createTest('odd', 'TestOddExpression')\nexport const TestDefinedExpression = createTest('defined', 'TestDefinedExpression')\nexport const TestSameAsExpression = createTest('same as', 'TestSameAsExpression')\ntests.push({\n text: 'sameas',\n createNode(expr, args) {\n // todo: add deprecation warning\n return new TestSameAsExpression(expr, args)\n }\n})\nexport const TestNullExpression = createTest('null', 'TestNullExpression')\ntests.push({\n text: 'none',\n createNode(expr, args) {\n return new TestNullExpression(expr, args)\n }\n})\nexport const TestDivisibleByExpression = createTest('divisible by', 'TestDivisibleByExpression')\ntests.push({\n text: 'divisibleby',\n createNode(expr, args) {\n // todo: add deprecation warning\n return new TestDivisibleByExpression(expr, args)\n }\n})\nexport const TestConstantExpression = createTest('constant', 'TestConstantExpression')\nexport const TestEmptyExpression = createTest('empty', 'TestEmptyExpression')\nexport const TestIterableExpression = createTest('iterable', 'TestIterableExpression')\n//endregion\n\n//region Utilities\nfunction createTest(text, typeName) {\n const TestExpression = class extends Node {\n constructor(expr /* : Node */, args /*?: Array */) {\n super()\n this.expression = expr\n this.arguments = args\n }\n }\n type(TestExpression, typeName)\n alias(TestExpression, 'Expression', 'TestExpression')\n visitor(TestExpression, 'expression', 'arguments')\n\n tests.push({\n text,\n createNode(expr, args) {\n return new TestExpression(expr, args)\n }\n })\n\n return TestExpression\n}\n\nfunction createBinaryOperatorNode(options) {\n const { text, precedence, associativity } = options\n const BinarySubclass = class extends BinaryExpression {\n constructor(left /* : Node */, right /* : Node */) {\n super(text, left, right)\n }\n }\n type(BinarySubclass, options.type)\n alias(BinarySubclass, 'BinaryExpression', 'Binary', 'Expression')\n visitor(BinarySubclass, 'left', 'right')\n\n const operator = {\n text,\n precedence,\n associativity\n }\n if (options.parse) {\n operator.parse = options.parse\n } else if (options.createNode) {\n operator.createNode = options.createNode\n } else {\n operator.createNode = (token, lhs, rhs) => new BinarySubclass(lhs, rhs)\n }\n binaryOperators.push(operator)\n\n return BinarySubclass\n}\n\nfunction createUnaryOperator(operator, typeName, precedence) {\n const UnarySubclass = class extends UnaryExpression {\n constructor(argument /* : Node */) {\n super(operator, argument)\n }\n }\n type(UnarySubclass, typeName)\n alias(UnarySubclass, 'Expression', 'UnaryLike')\n visitor(UnarySubclass, 'argument')\n\n unaryOperators.push({\n text: operator,\n precedence,\n createNode(token, expr) {\n const op = new UnarySubclass(expr)\n setStartFromToken(op, token)\n copyEnd(op, expr)\n return op\n }\n })\n\n return UnarySubclass\n}\n//endregion\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Node, alias, type, visitor } from 'melody-types'\n\nexport class AutoescapeBlock extends Node {\n constructor(type /* : String | boolean */, expressions /* ?: Array */) {\n super()\n this.escapeType = type\n this.expressions = expressions\n }\n}\ntype(AutoescapeBlock, 'AutoescapeBlock')\nalias(AutoescapeBlock, 'Block', 'Escape')\nvisitor(AutoescapeBlock, 'expressions')\n\nexport class BlockStatement extends Node {\n constructor(name /* : Identifier */, body /* : Node */) {\n super()\n this.name = name\n this.body = body\n }\n}\ntype(BlockStatement, 'BlockStatement')\nalias(BlockStatement, 'Statement', 'Scope', 'RootScope')\nvisitor(BlockStatement, 'body')\n\nexport class BlockCallExpression extends Node {\n constructor(callee /* : StringLiteral */, args /* : Array */ = []) {\n super()\n this.callee = callee\n this.arguments = args\n }\n}\ntype(BlockCallExpression, 'BlockCallExpression')\nalias(BlockCallExpression, 'Expression', 'FunctionInvocation')\nvisitor(BlockCallExpression, 'arguments')\n\nexport class MountStatement extends Node {\n constructor(name /* : Identifier */, source /* : String */, key /* : Node */, argument /* : Node */, async /* : Boolean */, delayBy /* : Number */) {\n super()\n this.name = name\n this.source = source\n this.key = key\n this.argument = argument\n this.async = async\n this.delayBy = delayBy\n this.errorVariableName = null\n this.body = null\n this.otherwise = null\n }\n}\ntype(MountStatement, 'MountStatement')\nalias(MountStatement, 'Statement', 'Scope')\nvisitor(MountStatement, 'name', 'source', 'key', 'argument', 'body', 'otherwise')\n\nexport class DoStatement extends Node {\n constructor(expression /* : Node */) {\n super()\n this.value = expression\n }\n}\ntype(DoStatement, 'DoStatement')\nalias(DoStatement, 'Statement')\nvisitor(DoStatement, 'value')\n\nexport class EmbedStatement extends Node {\n constructor(parent /* : Node */) {\n super()\n this.parent = parent\n this.argument = null\n this.contextFree = false\n // when `true`, missing templates will be ignored\n this.ignoreMissing = false\n this.blocks = null\n }\n}\ntype(EmbedStatement, 'EmbedStatement')\nalias(EmbedStatement, 'Statement', 'Include')\nvisitor(EmbedStatement, 'argument', 'blocks')\n\nexport class ExtendsStatement extends Node {\n constructor(parentName /* : Node */) {\n super()\n this.parentName = parentName\n }\n}\ntype(ExtendsStatement, 'ExtendsStatement')\nalias(ExtendsStatement, 'Statement', 'Include')\nvisitor(ExtendsStatement, 'parentName')\n\nexport class FilterBlockStatement extends Node {\n constructor(filterExpression /* : Node */, body /* : Node */) {\n super()\n this.filterExpression = filterExpression\n this.body = body\n }\n}\ntype(FilterBlockStatement, 'FilterBlockStatement')\nalias(FilterBlockStatement, 'Statement', 'Block')\nvisitor(FilterBlockStatement, 'filterExpression', 'body')\n\nexport class FlushStatement extends Node {\n constructor() {\n super()\n }\n}\ntype(FlushStatement, 'FlushStatement')\nalias(FlushStatement, 'Statement')\n\nexport class ForStatement extends Node {\n constructor(keyTarget /* : Identifier */ = null, valueTarget /* : Identifier */ = null, sequence /* : Node */ = null, condition /* : Node */ = null, body /* : Node */ = null, otherwise /* : Node */ = null) {\n super()\n this.keyTarget = keyTarget\n this.valueTarget = valueTarget\n this.sequence = sequence\n this.condition = condition\n this.body = body\n this.otherwise = otherwise\n }\n}\ntype(ForStatement, 'ForStatement')\nalias(ForStatement, 'Statement', 'Scope', 'Loop')\nvisitor(ForStatement, 'keyTarget', 'valueTarget', 'sequence', 'condition', 'body', 'otherwise')\n\nexport class ImportDeclaration extends Node {\n constructor(key /* : Node */, alias /* : Identifier */) {\n super()\n this.key = key\n this.alias = alias\n }\n}\ntype(ImportDeclaration, 'ImportDeclaration')\nalias(ImportDeclaration, 'VariableDeclaration')\nvisitor(ImportDeclaration, 'key', 'value')\n\nexport class FromStatement extends Node {\n constructor(source /* : Node */, imports /* : Array */) {\n super()\n this.source = source\n this.imports = imports\n }\n}\ntype(FromStatement, 'FromStatement')\nalias(FromStatement, 'Statement')\nvisitor(FromStatement, 'source', 'imports')\n\nexport class IfStatement extends Node {\n constructor(test /* : Node */, consequent /* : Node */ = null, alternate /* : Node */ = null) {\n super()\n this.test = test\n this.consequent = consequent\n this.alternate = alternate\n }\n}\ntype(IfStatement, 'IfStatement')\nalias(IfStatement, 'Statement', 'Conditional')\nvisitor(IfStatement, 'test', 'consequent', 'alternate')\n\nexport class IncludeStatement extends Node {\n constructor(source /* : Node */) {\n super()\n this.source = source\n this.argument = null\n this.contextFree = false\n // when `true`, missing templates will be ignored\n this.ignoreMissing = false\n }\n}\ntype(IncludeStatement, 'IncludeStatement')\nalias(IncludeStatement, 'Statement', 'Include')\nvisitor(IncludeStatement, 'source', 'argument')\n\nexport class UrlStatement extends Node {\n constructor(name /* : Node */) {\n super()\n this.name = name\n this.arguments = []\n this.as = null\n }\n}\ntype(UrlStatement, 'UrlStatement')\nalias(UrlStatement, 'Statement', 'Url')\nvisitor(UrlStatement, 'name', 'arguments')\n\nexport class WithStatement extends Node {\n constructor(body /* : Node */) {\n super()\n this.arguments = []\n this.body = body\n }\n}\ntype(WithStatement, 'WithStatement')\nalias(WithStatement, 'Statement', 'Scope', 'RootScope')\nvisitor(WithStatement, 'body')\n\nexport class MacroDeclarationStatement extends Node {\n constructor(name /* : Identifier */, args /* : Array */, body /* : SequenceExpression */) {\n super()\n this.name = name\n this.arguments = args\n this.body = body\n }\n}\ntype(MacroDeclarationStatement, 'MacroDeclarationStatement')\nalias(MacroDeclarationStatement, 'Statement', 'Scope', 'RootScope')\nvisitor(MacroDeclarationStatement, 'name', 'arguments', 'body')\n\nexport class VariableDeclarationStatement extends Node {\n constructor(name /* : Identifier */, value /* : Node */) {\n super()\n this.name = name\n this.value = value\n }\n}\ntype(VariableDeclarationStatement, 'VariableDeclarationStatement')\nalias(VariableDeclarationStatement, 'Statement')\nvisitor(VariableDeclarationStatement, 'name', 'value')\n\nexport class SetStatement extends Node {\n constructor(assignments /* : Array */) {\n super()\n this.assignments = assignments\n }\n}\ntype(SetStatement, 'SetStatement')\nalias(SetStatement, 'Statement', 'ContextMutation')\nvisitor(SetStatement, 'assignments')\n\nexport class SpacelessBlock extends Node {\n constructor(body /* : Node */ = null) {\n super()\n this.body = body\n }\n}\ntype(SpacelessBlock, 'SpacelessBlock')\nalias(SpacelessBlock, 'Statement', 'Block')\nvisitor(SpacelessBlock, 'body')\n\nexport class AliasExpression extends Node {\n constructor(name /* : Identifier */, alias /* : Identifier */) {\n super()\n this.name = name\n this.alias = alias\n }\n}\ntype(AliasExpression, 'AliasExpression')\nalias(AliasExpression, 'Expression')\nvisitor(AliasExpression, 'name', 'alias')\n\nexport class UseStatement extends Node {\n constructor(source /* : Node */, aliases /* : Array */) {\n super()\n this.source = source\n this.aliases = aliases\n }\n}\ntype(UseStatement, 'UseStatement')\nalias(UseStatement, 'Statement', 'Include')\nvisitor(UseStatement, 'source', 'aliases')\n\nexport { BinaryAddExpression, BinaryAndExpression, BinaryDivExpression, BinaryEndsWithExpression, BinaryEqualsExpression, BinaryFloorDivExpression, BinaryGreaterThanExpression, BinaryGreaterThanOrEqualExpression, BinaryInExpression, BinaryLessThanExpression, BinaryLessThanOrEqualExpression, BinaryMatchesExpression, BinaryModExpression, BinaryMulExpression, BinaryNotEqualsExpression, BinaryNotInExpression, BinaryNullCoalesceExpression, BinaryOrExpression, BinaryPowerExpression, BinaryRangeExpression, BinaryStartsWithExpression, BitwiseAndExpression, BitwiseOrExpression, BitwiseXorExpression, TestConstantExpression, TestDefinedExpression, TestDivisibleByExpression, TestEmptyExpression, TestEvenExpression, TestIterableExpression, TestNullExpression, TestOddExpression, TestSameAsExpression, UnaryNeqExpression, UnaryNotExpression, UnaryPosExpression } from './operators'\n\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Types, setStartFromToken, setEndFromToken, hasTagStartTokenTrimLeft, hasTagEndTokenTrimRight } from '../../../melody-parser/src/'\nimport { AutoescapeBlock } from './../types'\n\nexport const AutoescapeParser = {\n name: 'autoescape',\n parse(parser, token) {\n const tokens = parser.tokens\n const tagStartToken = tokens.la(-2)\n\n let escapeType = null,\n stringStartToken,\n openingTagEndToken,\n closingTagStartToken\n if (tokens.nextIf(Types.TAG_END)) {\n openingTagEndToken = tokens.la(-1)\n escapeType = null\n } else if ((stringStartToken = tokens.nextIf(Types.STRING_START))) {\n escapeType = tokens.expect(Types.STRING).text\n if (!tokens.nextIf(Types.STRING_END)) {\n parser.error({\n title: 'autoescape type declaration must be a simple string',\n pos: tokens.la(0).pos,\n advice: `The type declaration for autoescape must be a simple string such as 'html' or 'js'.\nI expected the current string to end with a ${stringStartToken.text} but instead found ${Types.ERROR_TABLE[tokens.lat(0)] || tokens.lat(0)}.`\n })\n }\n openingTagEndToken = tokens.la(0)\n } else if (tokens.nextIf(Types.FALSE)) {\n escapeType = false\n openingTagEndToken = tokens.la(0)\n } else if (tokens.nextIf(Types.TRUE)) {\n escapeType = true\n openingTagEndToken = tokens.la(0)\n } else {\n parser.error({\n title: 'Invalid autoescape type declaration',\n pos: tokens.la(0).pos,\n advice: `Expected type of autoescape to be a string, boolean or not specified. Found ${tokens.la(0).type} instead.`\n })\n }\n\n const autoescape = new AutoescapeBlock(escapeType)\n setStartFromToken(autoescape, token)\n let tagEndToken\n autoescape.expressions = parser.parse((_, token, tokens) => {\n if (token.type === Types.TAG_START && tokens.nextIf(Types.SYMBOL, 'endautoescape')) {\n closingTagStartToken = token\n tagEndToken = tokens.expect(Types.TAG_END, '', tagStartToken)\n return true\n }\n return false\n }).expressions\n setEndFromToken(autoescape, tagEndToken)\n\n autoescape.trimRightAutoescape = hasTagEndTokenTrimRight(openingTagEndToken)\n autoescape.trimLeftEndautoescape = hasTagStartTokenTrimLeft(closingTagStartToken)\n\n return autoescape\n }\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Identifier, PrintExpressionStatement } from 'melody-types'\nimport { Types, setStartFromToken, setEndFromToken, createNode, hasTagStartTokenTrimLeft, hasTagEndTokenTrimRight } from '../../../melody-parser/src/'\nimport { BlockStatement } from './../types'\n\nexport const BlockParser = {\n name: 'block',\n parse(parser, token) {\n const tokens = parser.tokens,\n tagStartToken = tokens.la(-2),\n nameToken = tokens.expect(Types.SYMBOL)\n\n let blockStatement, openingTagEndToken, closingTagStartToken\n if ((openingTagEndToken = tokens.nextIf(Types.TAG_END))) {\n blockStatement = new BlockStatement(\n createNode(Identifier, nameToken, nameToken.text),\n parser.parse((tokenText, token, tokens) => {\n const result = !!(token.type === Types.TAG_START && tokens.nextIf(Types.SYMBOL, 'endblock'))\n if (result) {\n closingTagStartToken = token\n }\n return result\n }).expressions\n )\n\n if (tokens.nextIf(Types.SYMBOL, nameToken.text)) {\n if (tokens.lat(0) !== Types.TAG_END) {\n const unexpectedToken = tokens.next()\n parser.error({\n title: 'Block name mismatch',\n pos: unexpectedToken.pos,\n advice: unexpectedToken.type == Types.SYMBOL ? `Expected end of block ${nameToken.text} but instead found end of block ${tokens.la(0).text}.` : `endblock must be followed by either '%}' or the name of the open block. Found a token of type ${Types.ERROR_TABLE[unexpectedToken.type] || unexpectedToken.type} instead.`\n })\n }\n }\n } else {\n blockStatement = new BlockStatement(createNode(Identifier, nameToken, nameToken.text), new PrintExpressionStatement(parser.matchExpression()))\n }\n\n setStartFromToken(blockStatement, token)\n setEndFromToken(blockStatement, tokens.expect(Types.TAG_END, null, tagStartToken))\n\n blockStatement.trimRightBlock = openingTagEndToken && hasTagEndTokenTrimRight(openingTagEndToken)\n blockStatement.trimLeftEndblock = !!(closingTagStartToken && hasTagStartTokenTrimLeft(closingTagStartToken))\n\n return blockStatement\n }\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Types, setStartFromToken, setEndFromToken } from '../../../melody-parser/src/'\nimport { DoStatement } from './../types'\n\nexport const DoParser = {\n name: 'do',\n parse(parser, token) {\n const tokens = parser.tokens,\n tagStartToken = tokens.la(-2),\n doStatement = new DoStatement(parser.matchExpression())\n setStartFromToken(doStatement, token)\n setEndFromToken(doStatement, tokens.expect(Types.TAG_END, '', tagStartToken))\n return doStatement\n }\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Node } from 'melody-types'\nimport { Types, setStartFromToken, setEndFromToken, hasTagStartTokenTrimLeft, hasTagEndTokenTrimRight } from '../../../melody-parser/src/'\nimport filter from 'lodash/filter'\nimport { EmbedStatement } from './../types'\n\nexport const EmbedParser = {\n name: 'embed',\n parse(parser, token) {\n const tokens = parser.tokens\n const tagStartToken = tokens.la(-2)\n\n const embedStatement = new EmbedStatement(parser.matchExpression())\n\n if (tokens.nextIf(Types.SYMBOL, 'ignore')) {\n tokens.expect(Types.SYMBOL, 'missing')\n embedStatement.ignoreMissing = true\n }\n\n if (tokens.nextIf(Types.SYMBOL, 'with')) {\n embedStatement.argument = parser.matchExpression()\n }\n\n if (tokens.nextIf(Types.SYMBOL, 'only')) {\n embedStatement.contextFree = true\n }\n\n tokens.expect(Types.TAG_END)\n const openingTagEndToken = tokens.la(-1)\n let closingTagStartToken\n\n embedStatement.blocks = filter(\n parser.parse((tokenText, token, tokens) => {\n const result = !!(token.type === Types.TAG_START && tokens.nextIf(Types.SYMBOL, 'endembed'))\n if (result) {\n closingTagStartToken = token\n }\n return result\n }).expressions,\n Node.isBlockStatement\n )\n\n setStartFromToken(embedStatement, token)\n setEndFromToken(embedStatement, tokens.expect(Types.TAG_END, '', tagStartToken))\n\n embedStatement.trimRightEmbed = hasTagEndTokenTrimRight(openingTagEndToken)\n embedStatement.trimLeftEndembed = closingTagStartToken && hasTagStartTokenTrimLeft(closingTagStartToken)\n\n return embedStatement\n }\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Types, setStartFromToken, setEndFromToken } from '../../../melody-parser/src/'\nimport { ExtendsStatement } from './../types'\n\nexport const ExtendsParser = {\n name: 'extends',\n parse(parser, token) {\n const tokens = parser.tokens\n\n const extendsStatement = new ExtendsStatement(parser.matchExpression())\n\n setStartFromToken(extendsStatement, token)\n setEndFromToken(extendsStatement, tokens.expect(Types.TAG_END))\n\n return extendsStatement\n }\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Identifier } from 'melody-types'\nimport { Types, setStartFromToken, setEndFromToken, createNode, hasTagStartTokenTrimLeft, hasTagEndTokenTrimRight } from '../../../melody-parser/src/'\nimport { FilterBlockStatement } from './../types'\n\nexport const FilterParser = {\n name: 'filter',\n parse(parser, token) {\n const tokens = parser.tokens,\n tagStartToken = tokens.la(-2),\n ref = createNode(Identifier, token, 'filter'),\n filterExpression = parser.matchFilterExpression(ref)\n tokens.expect(Types.TAG_END)\n const openingTagEndToken = tokens.la(-1)\n let closingTagStartToken\n\n const body = parser.parse((text, token, tokens) => {\n const result = token.type === Types.TAG_START && tokens.nextIf(Types.SYMBOL, 'endfilter')\n\n if (result) {\n closingTagStartToken = token\n }\n return result\n }).expressions\n\n const filterBlockStatement = new FilterBlockStatement(filterExpression, body)\n setStartFromToken(filterBlockStatement, token)\n setEndFromToken(filterBlockStatement, tokens.expect(Types.TAG_END, '', tagStartToken))\n\n filterBlockStatement.trimRightFilter = hasTagEndTokenTrimRight(openingTagEndToken)\n filterBlockStatement.trimLeftEndfilter = closingTagStartToken && hasTagStartTokenTrimLeft(closingTagStartToken)\n\n return filterBlockStatement\n }\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Types, setStartFromToken, setEndFromToken } from '../../../melody-parser/src/'\nimport { FlushStatement } from './../types'\n\nexport const FlushParser = {\n name: 'flush',\n parse(parser, token) {\n const tokens = parser.tokens,\n flushStatement = new FlushStatement()\n\n setStartFromToken(flushStatement, token)\n setEndFromToken(flushStatement, tokens.expect(Types.TAG_END))\n return flushStatement\n }\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Identifier } from 'melody-types'\nimport { Types, setStartFromToken, setEndFromToken, createNode, hasTagStartTokenTrimLeft, hasTagEndTokenTrimRight } from '../../../melody-parser/src/'\nimport { ForStatement } from './../types'\n\nexport const ForParser = {\n name: 'for',\n parse(parser, token) {\n const tokens = parser.tokens,\n forStatement = new ForStatement(),\n tagStartToken = tokens.la(-2)\n\n const keyTarget = tokens.expect(Types.SYMBOL)\n if (tokens.nextIf(Types.COMMA)) {\n forStatement.keyTarget = createNode(Identifier, keyTarget, keyTarget.text)\n const valueTarget = tokens.expect(Types.SYMBOL)\n forStatement.valueTarget = createNode(Identifier, valueTarget, valueTarget.text)\n } else {\n forStatement.keyTarget = null\n forStatement.valueTarget = createNode(Identifier, keyTarget, keyTarget.text)\n }\n\n tokens.expect(Types.OPERATOR, 'in')\n\n forStatement.sequence = parser.matchExpression()\n\n if (tokens.nextIf(Types.SYMBOL, 'if')) {\n forStatement.condition = parser.matchExpression()\n }\n\n tokens.expect(Types.TAG_END)\n\n const openingTagEndToken = tokens.la(-1)\n let elseTagStartToken, elseTagEndToken\n\n forStatement.body = parser.parse((tokenText, token, tokens) => {\n const result = token.type === Types.TAG_START && (tokens.test(Types.SYMBOL, 'else') || tokens.test(Types.SYMBOL, 'endfor'))\n if (result && tokens.test(Types.SYMBOL, 'else')) {\n elseTagStartToken = token\n }\n return result\n })\n\n if (tokens.nextIf(Types.SYMBOL, 'else')) {\n tokens.expect(Types.TAG_END)\n elseTagEndToken = tokens.la(-1)\n forStatement.otherwise = parser.parse((tokenText, token, tokens) => {\n return token.type === Types.TAG_START && tokens.test(Types.SYMBOL, 'endfor')\n })\n }\n const endforTagStartToken = tokens.la(-1)\n tokens.expect(Types.SYMBOL, 'endfor', tagStartToken)\n\n setStartFromToken(forStatement, token)\n setEndFromToken(forStatement, tokens.expect(Types.TAG_END))\n\n forStatement.trimRightFor = hasTagEndTokenTrimRight(openingTagEndToken)\n forStatement.trimLeftElse = !!(elseTagStartToken && hasTagStartTokenTrimLeft(elseTagStartToken))\n forStatement.trimRightElse = !!(elseTagEndToken && hasTagEndTokenTrimRight(elseTagEndToken))\n forStatement.trimLeftEndfor = hasTagStartTokenTrimLeft(endforTagStartToken)\n\n return forStatement\n }\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Identifier } from 'melody-types'\nimport { Types, setStartFromToken, setEndFromToken, createNode } from '../../../melody-parser/src/'\nimport { ImportDeclaration, FromStatement } from './../types'\n\nexport const FromParser = {\n name: 'from',\n parse(parser, token) {\n const tokens = parser.tokens,\n source = parser.matchExpression(),\n imports = []\n\n tokens.expect(Types.SYMBOL, 'import')\n\n do {\n const name = tokens.expect(Types.SYMBOL)\n\n let alias = name\n if (tokens.nextIf(Types.SYMBOL, 'as')) {\n alias = tokens.expect(Types.SYMBOL)\n }\n\n const importDeclaration = new ImportDeclaration(createNode(Identifier, name, name.text), createNode(Identifier, alias, alias.text))\n setStartFromToken(importDeclaration, name)\n setEndFromToken(importDeclaration, alias)\n\n imports.push(importDeclaration)\n\n if (!tokens.nextIf(Types.COMMA)) {\n break\n }\n } while (!tokens.test(Types.EOF))\n\n const fromStatement = new FromStatement(source, imports)\n\n setStartFromToken(fromStatement, token)\n setEndFromToken(fromStatement, tokens.expect(Types.TAG_END))\n\n return fromStatement\n }\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { hasTagEndTokenTrimRight, hasTagStartTokenTrimLeft, setEndFromToken, setStartFromToken, Types } from '../../../melody-parser/src/'\nimport { IfStatement } from './../types'\n\nexport const IfParser = {\n name: 'if',\n parse(parser, token) {\n const tokens = parser.tokens\n const tagStartToken = tokens.la(-2)\n\n let test = parser.matchExpression(),\n alternate = null\n\n tokens.expect(Types.TAG_END)\n const ifTagEndToken = tokens.la(-1)\n\n const ifStatement = new IfStatement(test, parser.parse(matchConsequent).expressions)\n\n let elseTagStartToken, elseTagEndToken, elseifTagStartToken, elseifTagEndToken\n\n do {\n if (tokens.nextIf(Types.SYMBOL, 'else')) {\n elseTagStartToken = tokens.la(-2)\n tokens.expect(Types.TAG_END)\n elseTagEndToken = tokens.la(-1)\n ; (alternate || ifStatement).alternate = parser.parse(matchAlternate).expressions\n } else if (tokens.nextIf(Types.SYMBOL, 'elseif')) {\n elseifTagStartToken = tokens.la(-2)\n test = parser.matchExpression()\n tokens.expect(Types.TAG_END)\n elseifTagEndToken = tokens.la(-1)\n const consequent = parser.parse(matchConsequent).expressions\n alternate = (alternate || ifStatement).alternate = new IfStatement(test, consequent)\n alternate.trimLeft = hasTagStartTokenTrimLeft(elseifTagStartToken)\n alternate.trimRightIf = hasTagEndTokenTrimRight(elseifTagEndToken)\n } else if (tokens.nextIf(Types.SYMBOL, 'elif')) {\n elseifTagStartToken = tokens.la(-2)\n test = parser.matchExpression()\n tokens.expect(Types.TAG_END)\n elseifTagEndToken = tokens.la(-1)\n const consequent = parser.parse(matchConsequent).expressions\n alternate = (alternate || ifStatement).alternate = new IfStatement(test, consequent)\n alternate.trimLeft = hasTagStartTokenTrimLeft(elseifTagStartToken)\n alternate.trimRightIf = hasTagEndTokenTrimRight(elseifTagEndToken)\n alternate.isElif = true\n }\n\n if (tokens.nextIf(Types.SYMBOL, 'endif')) {\n break\n }\n } while (!tokens.test(Types.EOF))\n\n const endifTagStartToken = tokens.la(-2)\n\n setStartFromToken(ifStatement, token)\n setEndFromToken(ifStatement, tokens.expect(Types.TAG_END, '', tagStartToken))\n\n ifStatement.trimRightIf = hasTagEndTokenTrimRight(ifTagEndToken)\n ifStatement.trimLeftElse = !!(elseTagStartToken && hasTagStartTokenTrimLeft(elseTagStartToken))\n ifStatement.trimRightElse = !!(elseTagEndToken && hasTagEndTokenTrimRight(elseTagEndToken))\n ifStatement.trimLeftEndif = hasTagStartTokenTrimLeft(endifTagStartToken)\n\n return ifStatement\n }\n}\n\nfunction matchConsequent(tokenText, token, tokens) {\n if (token.type === Types.TAG_START) {\n const next = tokens.la(0).text\n return next === 'else' || next === 'endif' || next === 'elseif' || next == 'elif'\n }\n return false\n}\n\nfunction matchAlternate(tokenText, token, tokens) {\n return token.type === Types.TAG_START && tokens.test(Types.SYMBOL, 'endif')\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Identifier } from 'melody-types'\nimport { Types, setStartFromToken, setEndFromToken, createNode } from '../../../melody-parser/src/'\nimport { ImportDeclaration } from './../types'\n\nexport const ImportParser = {\n name: 'import',\n parse(parser, token) {\n const tokens = parser.tokens,\n source = parser.matchExpression()\n\n tokens.expect(Types.SYMBOL, 'as')\n const alias = tokens.expect(Types.SYMBOL)\n\n const importStatement = new ImportDeclaration(source, createNode(Identifier, alias, alias.text))\n\n setStartFromToken(importStatement, token)\n setEndFromToken(importStatement, tokens.expect(Types.TAG_END))\n\n return importStatement\n }\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Types, setStartFromToken, setEndFromToken } from '../../../melody-parser/src/'\nimport { IncludeStatement } from './../types'\n\nexport const IncludeParser = {\n name: 'include',\n parse(parser, token) {\n const tokens = parser.tokens\n\n const includeStatement = new IncludeStatement(parser.matchExpression())\n\n if (tokens.nextIf(Types.SYMBOL, 'ignore')) {\n tokens.expect(Types.SYMBOL, 'missing')\n includeStatement.ignoreMissing = true\n }\n\n if (tokens.nextIf(Types.SYMBOL, 'with')) {\n includeStatement.argument = parser.matchExpression()\n }\n\n if (tokens.nextIf(Types.SYMBOL, 'only')) {\n includeStatement.contextFree = true\n }\n\n setStartFromToken(includeStatement, token)\n setEndFromToken(includeStatement, tokens.expect(Types.TAG_END))\n\n return includeStatement\n }\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Identifier } from 'melody-types'\nimport { Types, setStartFromToken, setEndFromToken, createNode, hasTagStartTokenTrimLeft, hasTagEndTokenTrimRight } from '../../../melody-parser/src/'\nimport { MacroDeclarationStatement } from './../types'\n\nexport const MacroParser = {\n name: 'macro',\n parse(parser, token) {\n const tokens = parser.tokens\n const tagStartToken = tokens.la(-2)\n\n const nameToken = tokens.expect(Types.SYMBOL)\n const args = []\n\n tokens.expect(Types.LPAREN)\n while (!tokens.test(Types.RPAREN) && !tokens.test(Types.EOF)) {\n const arg = tokens.expect(Types.SYMBOL)\n args.push(createNode(Identifier, arg, arg.text))\n\n if (!tokens.nextIf(Types.COMMA) && !tokens.test(Types.RPAREN)) {\n // not followed by comma or rparen\n parser.error({\n title: 'Expected comma or \")\"',\n pos: tokens.la(0).pos,\n advice: 'The argument list of a macro can only consist of parameter names separated by commas.'\n })\n }\n }\n tokens.expect(Types.RPAREN)\n\n const openingTagEndToken = tokens.la(0)\n let closingTagStartToken\n\n const body = parser.parse((tokenText, token, tokens) => {\n const result = !!(token.type === Types.TAG_START && tokens.nextIf(Types.SYMBOL, 'endmacro'))\n if (result) {\n closingTagStartToken = token\n }\n return result\n })\n\n if (tokens.test(Types.SYMBOL)) {\n var nameEndToken = tokens.next()\n if (nameToken.text !== nameEndToken.text) {\n parser.error({\n title: `Macro name mismatch, expected \"${nameToken.text}\" but found \"${nameEndToken.text}\"`,\n pos: nameEndToken.pos\n })\n }\n }\n\n const macroDeclarationStatement = new MacroDeclarationStatement(createNode(Identifier, nameToken, nameToken.text), args, body)\n\n setStartFromToken(macroDeclarationStatement, token)\n setEndFromToken(macroDeclarationStatement, tokens.expect(Types.TAG_END, '', tagStartToken))\n\n macroDeclarationStatement.trimRightMacro = hasTagEndTokenTrimRight(openingTagEndToken)\n macroDeclarationStatement.trimLeftEndmacro = hasTagStartTokenTrimLeft(closingTagStartToken)\n\n return macroDeclarationStatement\n }\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Identifier } from 'melody-types'\nimport { MountStatement } from '../types'\nimport { Types, setStartFromToken, setEndFromToken, createNode, hasTagStartTokenTrimLeft, hasTagEndTokenTrimRight } from '../../../melody-parser/src/'\n\nexport const MountParser = {\n name: 'mount',\n parse(parser, token) {\n const tokens = parser.tokens\n const tagStartToken = tokens.la(-2)\n\n let name = null,\n source = null,\n key = null,\n async = false,\n delayBy = 0,\n argument = null\n\n if (tokens.test(Types.SYMBOL, 'async')) {\n // we might be looking at an async mount\n const nextToken = tokens.la(1)\n if (nextToken.type === Types.STRING_START) {\n async = true\n tokens.next()\n }\n }\n\n if (tokens.test(Types.STRING_START)) {\n source = parser.matchStringExpression()\n } else {\n const nameToken = tokens.expect(Types.SYMBOL)\n name = createNode(Identifier, nameToken, nameToken.text)\n if (tokens.nextIf(Types.SYMBOL, 'from')) {\n source = parser.matchStringExpression()\n }\n }\n\n if (tokens.nextIf(Types.SYMBOL, 'as')) {\n key = parser.matchExpression()\n }\n\n if (tokens.nextIf(Types.SYMBOL, 'with')) {\n argument = parser.matchExpression()\n }\n\n if (async) {\n if (tokens.nextIf(Types.SYMBOL, 'delay')) {\n tokens.expect(Types.SYMBOL, 'placeholder')\n tokens.expect(Types.SYMBOL, 'by')\n delayBy = Number.parseInt(tokens.expect(Types.NUMBER).text, 10)\n if (tokens.nextIf(Types.SYMBOL, 's')) {\n delayBy *= 1000\n } else {\n tokens.expect(Types.SYMBOL, 'ms')\n }\n }\n }\n\n const mountStatement = new MountStatement(name, source, key, argument, async, delayBy)\n\n let openingTagEndToken, catchTagStartToken, catchTagEndToken, endmountTagStartToken\n\n if (async) {\n tokens.expect(Types.TAG_END)\n openingTagEndToken = tokens.la(-1)\n\n mountStatement.body = parser.parse((tokenText, token, tokens) => {\n return token.type === Types.TAG_START && (tokens.test(Types.SYMBOL, 'catch') || tokens.test(Types.SYMBOL, 'endmount'))\n })\n\n if (tokens.nextIf(Types.SYMBOL, 'catch')) {\n catchTagStartToken = tokens.la(-2)\n const errorVariableName = tokens.expect(Types.SYMBOL)\n mountStatement.errorVariableName = createNode(Identifier, errorVariableName, errorVariableName.text)\n tokens.expect(Types.TAG_END)\n catchTagEndToken = tokens.la(-1)\n mountStatement.otherwise = parser.parse((tokenText, token, tokens) => {\n return token.type === Types.TAG_START && tokens.test(Types.SYMBOL, 'endmount')\n })\n }\n tokens.expect(Types.SYMBOL, 'endmount')\n endmountTagStartToken = tokens.la(-2)\n }\n\n setStartFromToken(mountStatement, token)\n setEndFromToken(mountStatement, tokens.expect(Types.TAG_END, '', tagStartToken))\n\n mountStatement.trimRightMount = !!(openingTagEndToken && hasTagEndTokenTrimRight(openingTagEndToken))\n mountStatement.trimLeftCatch = !!(catchTagStartToken && hasTagStartTokenTrimLeft(catchTagStartToken))\n mountStatement.trimRightCatch = !!(catchTagEndToken && hasTagEndTokenTrimRight(catchTagEndToken))\n mountStatement.trimLeftEndmount = !!(endmountTagStartToken && hasTagStartTokenTrimLeft(endmountTagStartToken))\n\n return mountStatement\n }\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Identifier } from 'melody-types'\nimport { Types, setStartFromToken, setEndFromToken, createNode, hasTagStartTokenTrimLeft, hasTagEndTokenTrimRight } from '../../../melody-parser/src/'\nimport { VariableDeclarationStatement, SetStatement } from './../types'\n\nexport const SetParser = {\n name: 'set',\n parse(parser, token) {\n const tokens = parser.tokens,\n names = [],\n values = []\n\n let openingTagEndToken, closingTagStartToken\n\n do {\n const name = tokens.expect(Types.SYMBOL)\n names.push(createNode(Identifier, name, name.text))\n } while (tokens.nextIf(Types.COMMA))\n\n if (tokens.nextIf(Types.ASSIGNMENT)) {\n do {\n values.push(parser.matchExpression())\n } while (tokens.nextIf(Types.COMMA))\n } else {\n if (names.length !== 1) {\n parser.error({\n title: 'Illegal multi-set',\n pos: tokens.la(0).pos,\n advice: 'When using set with a block, you cannot have multiple targets.'\n })\n }\n tokens.expect(Types.TAG_END)\n openingTagEndToken = tokens.la(-1)\n\n values[0] = parser.parse((tokenText, token, tokens) => {\n const result = !!(token.type === Types.TAG_START && tokens.nextIf(Types.SYMBOL, 'endset'))\n if (result) {\n closingTagStartToken = token\n }\n return result\n }).expressions\n }\n\n if (names.length !== values.length) {\n parser.error({\n title: 'Mismatch of set names and values',\n pos: token.pos,\n advice: `When using set, you must ensure that the number of\nassigned variable names is identical to the supplied values. However, here I've found\n${names.length} variable names and ${values.length} values.`\n })\n }\n\n // now join names and values\n const assignments = []\n for (let i = 0, len = names.length; i < len; i++) {\n assignments[i] = new VariableDeclarationStatement(names[i], values[i])\n }\n\n const setStatement = new SetStatement(assignments)\n\n setStartFromToken(setStatement, token)\n setEndFromToken(setStatement, tokens.expect(Types.TAG_END))\n\n setStatement.trimRightSet = !!(openingTagEndToken && hasTagEndTokenTrimRight(openingTagEndToken))\n setStatement.trimLeftEndset = !!(closingTagStartToken && hasTagStartTokenTrimLeft(closingTagStartToken))\n\n return setStatement\n }\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Types, setStartFromToken, setEndFromToken, hasTagStartTokenTrimLeft, hasTagEndTokenTrimRight } from '../../../melody-parser/src/'\nimport { SpacelessBlock } from './../types'\n\nexport const SpacelessParser = {\n name: 'spaceless',\n parse(parser, token) {\n const tokens = parser.tokens\n const tagStartToken = tokens.la(-2)\n\n tokens.expect(Types.TAG_END)\n const openingTagEndToken = tokens.la(-1)\n let closingTagStartToken\n\n const body = parser.parse((tokenText, token, tokens) => {\n const result = !!(token.type === Types.TAG_START && tokens.nextIf(Types.SYMBOL, 'endspaceless'))\n closingTagStartToken = token\n return result\n }).expressions\n\n const spacelessBlock = new SpacelessBlock(body)\n setStartFromToken(spacelessBlock, token)\n setEndFromToken(spacelessBlock, tokens.expect(Types.TAG_END, '', tagStartToken))\n\n tokens.expect(Types.SYMBOL, 'endfor', tagStartToken)\n\n spacelessBlock.trimRightSpaceless = hasTagEndTokenTrimRight(openingTagEndToken)\n spacelessBlock.trimLeftEndspaceless = !!(closingTagStartToken && hasTagStartTokenTrimLeft(closingTagStartToken))\n\n return spacelessBlock\n }\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport * as n from 'melody-types'\nimport { Types, setEndFromToken, setStartFromToken } from '../../../melody-parser/src/'\nimport { copyEnd, createNode } from '../../../melody-parser/src/util'\nimport { UrlStatement } from './../types'\n\nexport const UrlParser = {\n name: 'url',\n parse(parser, token) {\n const tokens = parser.tokens\n\n const urlStatement = new UrlStatement(parser.matchExpression())\n\n let args = []\n while (!tokens.test(Types.EOF) && !tokens.test(Types.TAG_END)) {\n if (tokens.test(Types.SYMBOL) && tokens.lat(1) === Types.ASSIGNMENT) {\n const name = tokens.next()\n tokens.next()\n const value = parser.matchExpression()\n const arg = new n.NamedArgumentExpression(createNode(n.Identifier, name, name.text), value)\n copyEnd(arg, value)\n args.push(arg)\n } else {\n args.push(parser.matchExpression())\n }\n\n if (tokens.test(Types.SYMBOL) && tokens.lat(0) === 'as') {\n tokens.next()\n urlStatement.as = this.matchExpression()\n }\n }\n\n urlStatement.arguments = args\n\n setStartFromToken(urlStatement, token)\n setEndFromToken(urlStatement, tokens.expect(Types.TAG_END))\n\n return urlStatement\n }\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Identifier } from 'melody-types'\nimport { Types, setStartFromToken, setEndFromToken, copyStart, copyEnd, createNode } from '../../../melody-parser/src/'\nimport { AliasExpression, UseStatement } from './../types'\n\nexport const UseParser = {\n name: 'use',\n parse(parser, token) {\n const tokens = parser.tokens\n\n const source = parser.matchExpression(),\n aliases = []\n\n if (tokens.nextIf(Types.SYMBOL, 'with')) {\n do {\n const nameToken = tokens.expect(Types.SYMBOL),\n name = createNode(Identifier, nameToken, nameToken.text)\n let alias = name\n if (tokens.nextIf(Types.SYMBOL, 'as')) {\n const aliasToken = tokens.expect(Types.SYMBOL)\n alias = createNode(Identifier, aliasToken, aliasToken.text)\n }\n const aliasExpression = new AliasExpression(name, alias)\n copyStart(aliasExpression, name)\n copyEnd(aliasExpression, alias)\n aliases.push(aliasExpression)\n } while (tokens.nextIf(Types.COMMA))\n }\n\n const useStatement = new UseStatement(source, aliases)\n\n setStartFromToken(useStatement, token)\n setEndFromToken(useStatement, tokens.expect(Types.TAG_END))\n\n return useStatement\n }\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport * as n from 'melody-types'\nimport { Types, createNode, hasTagEndTokenTrimRight, hasTagStartTokenTrimLeft, setEndFromToken, setStartFromToken } from '../../../melody-parser/src/'\nimport { copyEnd } from '../../../melody-parser/src/util'\nimport { WithStatement } from './../types'\n\nexport const WithParser = {\n name: 'with',\n parse(parser, token) {\n const tokens = parser.tokens,\n tagStartToken = tokens.la(-2)\n\n let withStatement, openingTagEndToken, closingTagStartToken\n\n let args = []\n while (!tokens.test(Types.EOF) && !tokens.test(Types.TAG_END)) {\n if (tokens.test(Types.SYMBOL) && tokens.lat(1) === Types.ASSIGNMENT) {\n const name = tokens.next()\n tokens.next()\n const value = parser.matchExpression()\n const arg = new n.NamedArgumentExpression(createNode(n.Identifier, name, name.text), value)\n copyEnd(arg, value)\n args.push(arg)\n } else {\n // args.push(parser.matchExpression())\n const unexpectedToken = tokens.next()\n parser.error({\n title: 'with arguments mismatch',\n pos: unexpectedToken.pos,\n advice: 'eg: {% with alpha=1 beta=2 %}'\n })\n }\n }\n\n if ((openingTagEndToken = tokens.nextIf(Types.TAG_END))) {\n withStatement = new WithStatement(\n parser.parse((tokenText, token, tokens) => {\n const result = !!(token.type === Types.TAG_START && tokens.nextIf(Types.SYMBOL, 'endwith'))\n if (result) {\n closingTagStartToken = token\n }\n return result\n }).expressions\n )\n } else {\n withStatement = new WithStatement(new PrintExpressionStatement(parser.matchExpression()))\n }\n\n withStatement.arguments = args\n\n setStartFromToken(withStatement, token)\n setEndFromToken(withStatement, tokens.expect(Types.TAG_END, null, tagStartToken))\n\n withStatement.trimRightBlock = openingTagEndToken && hasTagEndTokenTrimRight(openingTagEndToken)\n withStatement.trimLeftEndblock = !!(closingTagStartToken && hasTagStartTokenTrimLeft(closingTagStartToken))\n\n return withStatement\n }\n}\n", "/**\n * Copyright 2017 trivago N.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { binaryOperators, tests, unaryOperators } from './operators';\nimport { AutoescapeParser } from './parser/autoescape';\nimport { BlockParser } from './parser/block';\nimport { DoParser } from './parser/do';\nimport { EmbedParser } from './parser/embed';\nimport { ExtendsParser } from './parser/extends';\nimport { FilterParser } from './parser/filter';\nimport { FlushParser } from './parser/flush';\nimport { ForParser } from './parser/for';\nimport { FromParser } from './parser/from';\nimport { IfParser } from './parser/if';\nimport { ImportParser } from './parser/import';\nimport { IncludeParser } from './parser/include';\nimport { MacroParser } from './parser/macro';\nimport { MountParser } from './parser/mount';\nimport { SetParser } from './parser/set';\nimport { SpacelessParser } from './parser/spaceless';\nimport { UrlParser } from './parser/url';\nimport { UseParser } from './parser/use';\nimport { WithParser } from './parser/with';\n\n// import forVisitor from './visitors/for';\n// import testVisitor from './visitors/tests';\n// import filters from './visitors/filters';\n// import functions from './visitors/functions';\n\n// const filterMap = [\n// 'attrs',\n// 'classes',\n// 'styles',\n// 'batch',\n// 'escape',\n// 'format',\n// 'merge',\n// 'nl2br',\n// 'number_format',\n// 'raw',\n// 'replace',\n// 'reverse',\n// 'round',\n// 'striptags',\n// 'title',\n// 'url_encode',\n// 'trim',\n// ].reduce((map, filterName) => {\n// map[filterName] = 'melody-runtime';\n// return map;\n// }, Object.create(null));\n\n// Object.assign(filterMap, filters);\n\n// const functionMap = [\n// 'attribute',\n// 'constant',\n// 'cycle',\n// 'date',\n// 'max',\n// 'min',\n// 'random',\n// 'range',\n// 'source',\n// 'template_from_string',\n// ].reduce((map, functionName) => {\n// map[functionName] = 'melody-runtime';\n// return map;\n// }, Object.create(null));\n// Object.assign(functionMap, functions);\n\nexport const extension = {\n tags: [\n AutoescapeParser,\n BlockParser,\n DoParser,\n EmbedParser,\n ExtendsParser,\n FilterParser,\n FlushParser,\n ForParser,\n FromParser,\n IfParser,\n ImportParser,\n IncludeParser,\n UrlParser,\n WithParser,\n MacroParser,\n SetParser,\n SpacelessParser,\n UseParser,\n MountParser,\n ],\n unaryOperators,\n binaryOperators,\n tests,\n // visitors: [forVisitor, testVisitor],\n // filterMap,\n // functionMap,\n};\n\nexport {\n AliasExpression, AutoescapeBlock, BinaryAddExpression, BinaryAndExpression, BinaryDivExpression, BinaryEndsWithExpression, BinaryEqualsExpression, BinaryFloorDivExpression, BinaryGreaterThanExpression, BinaryGreaterThanOrEqualExpression, BinaryInExpression, BinaryLessThanExpression, BinaryLessThanOrEqualExpression, BinaryMatchesExpression, BinaryModExpression, BinaryMulExpression, BinaryNotEqualsExpression, BinaryNotInExpression, BinaryNullCoalesceExpression, BinaryOrExpression, BinaryPowerExpression, BinaryRangeExpression, BinaryStartsWithExpression, BitwiseAndExpression, BitwiseOrExpression,\n BitwiseXorExpression, BlockCallExpression, BlockStatement, DoStatement,\n EmbedStatement,\n ExtendsStatement,\n FilterBlockStatement,\n FlushStatement,\n ForStatement, FromStatement,\n IfStatement, ImportDeclaration, IncludeStatement, MacroDeclarationStatement, MountStatement, SetStatement,\n SpacelessBlock, TestConstantExpression, TestDefinedExpression, TestDivisibleByExpression, TestEmptyExpression, TestEvenExpression, TestIterableExpression, TestNullExpression, TestOddExpression, TestSameAsExpression, UnaryNeqExpression, UnaryNotExpression, UnaryPosExpression, UrlStatement, UseStatement, VariableDeclarationStatement, WithStatement\n} from './types';\n\n", "import path from 'path'\nimport resolve from 'resolve'\n\nconst getPluginPathsFromOptions = options => {\n if (options.twigMelodyPlugins && Array.isArray(options.twigMelodyPlugins)) {\n return options.twigMelodyPlugins.map(s => s.trim())\n }\n return []\n}\n\nconst getProjectRoot = () => {\n const parts = __dirname.split(path.sep)\n let index = parts.length - 1\n let dirName = parts[index]\n while (dirName !== 'node_modules' && index > 0) {\n index--\n dirName = parts[index]\n }\n // If we are not inside a \"node_modules\" folder, just\n // strip away \"src\" and \"util\"\n if (index === 0) {\n index = parts.length - 2\n }\n const subPath = parts.slice(0, index)\n const joined = path.join(...subPath)\n\n // This might contain something like\n // Users/jdoe/project\n // => leading slash missing, which can cause\n // problems. To stay OS independent, let's\n // re-add everything that came before the result\n // we have so far.\n const foundIndex = __dirname.indexOf(joined)\n return __dirname.slice(0, foundIndex) + joined\n}\n\nconst tryLoadPlugin = pluginPath => {\n try {\n const projectRoot = getProjectRoot()\n const requirePath = resolve.sync(path.resolve(projectRoot, pluginPath))\n return eval('require')(requirePath)\n } catch (e) {\n console.error('Could not load plugin path ' + pluginPath)\n return undefined\n }\n}\n\nconst loadPlugins = pluginPaths => {\n const result = []\n if (pluginPaths && Array.isArray(pluginPaths)) {\n pluginPaths.forEach(pluginPath => {\n const loadedPlugin = tryLoadPlugin(pluginPath)\n if (loadedPlugin) {\n result.push(loadedPlugin)\n }\n })\n }\n return result\n}\n\nconst getAdditionalMelodyExtensions = pluginPaths => {\n let result = []\n const loadedPlugins = loadPlugins(pluginPaths)\n loadedPlugins.forEach(loadedPlugin => {\n result = result.concat(loadedPlugin.melodyExtensions)\n })\n // Filter out potential \"undefined\" values\n return result.filter(elem => !!elem)\n}\n\nexport { getPluginPathsFromOptions, tryLoadPlugin, loadPlugins, getAdditionalMelodyExtensions }\n", "/**\n * These symbols are visible to outside users of\n * the package. For example, they might be useful\n * for plugins.\n */\n\n/**\n * Set this to true on an AST node that might be the\n * parent of a StringLiteral node. The StringLiteral\n * will be enclosed in quotes when this attribute is\n * set to true on the parent.\n */\nconst STRING_NEEDS_QUOTES = Symbol('STRING_NEEDS_QUOTES')\n\n/**\n * Set to \" or '\n * Allows a node type to determine the quote char string\n * literals must use.\n */\nconst OVERRIDE_QUOTE_CHAR = Symbol('OVERRIDE_QUOTE_CHAR')\n\n/**\n * This signals to child nodes that an expression environment\n * {{ ... }} has not yet been opened, so they might have\n * to open one. Example: An Element node, in its attributes\n * array, can directly contain a FilterExpression. Usually,\n * a FilterExpression does not open an {{...}} environment,\n * but here, it has to.\n */\nconst EXPRESSION_NEEDED = Symbol('EXPRESSION_NEEDED')\n\n/**\n * Signals to child nodes that they are part of a string,\n * which means that expressions have to be interpolated.\n * Example:\n * \"Part #{ partNr } of #{ partCount }\"\n */\nconst INSIDE_OF_STRING = Symbol('INSIDE_OF_STRING')\n\n/**\n * Signals to FilterStatement nodes that they are part of\n * a filter block\n */\nconst FILTER_BLOCK = Symbol('FILTER_BLOCK')\n\n/**\n * Signals to text nodes that they should preserve leading\n * whitespace (whitespace at the beginning)\n */\nconst PRESERVE_LEADING_WHITESPACE = Symbol('PRESERVE_LEADING_WHITESPACE')\n\n/**\n * Signals to text nodes that they should preserve trailing\n * whitespace (whitespace at the end)\n */\nconst PRESERVE_TRAILING_WHITESPACE = Symbol('PRESERVE_TRAILING_WHITESPACE')\n\n/**\n * Signals to text statements that only newlines should be\n * preserved when hitting a whitespace-only node\n */\nconst NEWLINES_ONLY = Symbol('NEWLINES_ONLY')\n\n/**\n * This defaults to TRUE. Only if it is explicitly set to FALSE,\n * a logical expression will not create a wrapping group on the\n * top level\n */\nconst GROUP_TOP_LEVEL_LOGICAL = Symbol('GROUP_TOP_LEVEL_LOGICAL')\n\n/**\n * Used to mark the root of a logical expression. Can be important\n * for grouping and parenthesis placement.\n */\nconst IS_ROOT_LOGICAL_EXPRESSION = Symbol('IS_ROOT_LOGICAL_EXPRESSION')\n\nexport { STRING_NEEDS_QUOTES, OVERRIDE_QUOTE_CHAR, INSIDE_OF_STRING, EXPRESSION_NEEDED, FILTER_BLOCK, PRESERVE_TRAILING_WHITESPACE, PRESERVE_LEADING_WHITESPACE, NEWLINES_ONLY, GROUP_TOP_LEVEL_LOGICAL, IS_ROOT_LOGICAL_EXPRESSION }\n", "import { Node } from 'melody-types'\nimport { concat, fill, group, hardline, indent, line } from './prettier-doc-builders.js'\nimport { EXPRESSION_NEEDED, INSIDE_OF_STRING } from './publicSymbols.js'\n\nimport { NEWLINES_ONLY, PRESERVE_LEADING_WHITESPACE, PRESERVE_TRAILING_WHITESPACE } from './publicSymbols.js'\n\nconst INLINE_HTML_ELEMENTS = ['title', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'a', 'abbr', 'acronym', 'b', 'bdo', 'big', 'br', 'button', 'cite', 'code', 'dd', 'dfn', 'em', 'i', 'img', 'kbd', 'label', 'mark', 'q', 's', 'u', 'samp', 'strike', 'strong', 'sup', 'sub', 'small', 'span', 'time', 'tt', 'var']\n\n/**\n * Node types around which we avoid an extra line break.\n * Example:\n * {{ {\n * animal: \"dog\",\n * owner: \"Jim\"\n * } }}\n *\n * instead of\n * {{\n * {\n * animal: \"dog\",\n * owner: \"Jim\"\n * }\n * }}\n */\nconst CONTRACTABLE_NODE_TYPES = ['ObjectExpression', 'BinaryExpression', 'ConditionalExpression', 'ArrayExpression']\n\nconst registerContractableNodeType = (nodeType) => {\n CONTRACTABLE_NODE_TYPES.push(nodeType)\n}\n\nconst isContractableNodeType = (node) => {\n for (let i = 0; i < CONTRACTABLE_NODE_TYPES.length; i++) {\n const contractableNodeType = CONTRACTABLE_NODE_TYPES[i]\n const methodName = 'is' + contractableNodeType\n if (Node[methodName] && Node[methodName].call(null, node)) {\n return true\n }\n }\n if (Node.isUnaryLike(node)) {\n return true\n }\n return false\n}\n\nconst isNotExpression = (node) => Node.isUnaryLike(node) && node.operator === 'not'\n\nconst isMultipartExpression = (node) => {\n return Node.isBinaryExpression(node) || Node.isConditionalExpression(node) || Node.isUnaryLike(node)\n}\n\n/**\n * Calls the callback for each parent\n *\n * Return false from the callback if you want the iteration\n * to end.\n *\n * @param {FastPath} path A standard Prettier FastPath object\n * representing the current AST traversal state\n * @param {function} callback Gets called with each ancestor node\n */\nconst walkParents = (path, callback, startWithSelf = false) => {\n let currentIndex = path.stack.length - 1\n if (!startWithSelf) {\n currentIndex -= 1\n }\n while (currentIndex >= 0) {\n const currentElement = path.stack[currentIndex]\n if (isMelodyNode(currentElement)) {\n const callbackResult = callback(currentElement)\n if (callbackResult === false) {\n return\n }\n }\n currentIndex--\n }\n}\n\nconst firstValueInAncestorChain = (path, property, defaultValue) => {\n let currentIndex = path.stack.length - 2 // Don't start with self\n while (currentIndex >= 0) {\n const currentElement = path.stack[currentIndex]\n if (isMelodyNode(currentElement) && currentElement[property] !== undefined) {\n return currentElement[property]\n }\n currentIndex--\n }\n return defaultValue\n}\n\nconst quoteChar = (options) => {\n // Might change depending on configuration options\n return options && options.twigSingleQuote ? \"'\" : '\"'\n}\n\nconst isValidIdentifierName = (s) => {\n const identifierRegex = /^[A-Z][0-9A-Z_$]*$/i\n return typeof s === 'string' && identifierRegex.test(s)\n}\n\nconst isMelodyNode = (n) => {\n const proto = n.__proto__\n return typeof n === 'object' && proto.type && typeof Node['is' + proto.type] === 'function'\n}\n\nconst findParentNode = (path) => {\n let currentIndex = path.stack.length - 2\n while (currentIndex >= 0) {\n const currentElement = path.stack[currentIndex]\n if (isMelodyNode(currentElement)) {\n return currentElement\n }\n currentIndex--\n }\n return null\n}\n\nconst isRootNode = (path) => {\n return findParentNode(path) === null\n}\n\nconst testCurrentAndParentNodes = (path, predicate) => testCurrentNode(path, predicate) || someParentNode(path, predicate)\n\nconst testCurrentNode = (path, predicate) => {\n const index = path.stack.length - 1\n if (index >= 0) {\n const node = path.stack[index]\n return isMelodyNode(node) && predicate(node)\n }\n return false\n}\n\nconst someParentNode = (path, predicate) => {\n let currentIndex = path.stack.length - 2\n while (currentIndex >= 0) {\n const currentElement = path.stack[currentIndex]\n if (isMelodyNode(currentElement) && predicate(currentElement)) {\n return true\n }\n currentIndex--\n }\n return false\n}\n\n/**\n * Returns EXPRESSION_NEEDED or INSIDE_OF_STRING, depending\n * on what kind of wrapping is needed around expressions:\n * EXPRESSION_NEEDED => {{ ... }}\n * INSIDE_OF_STRING => #{ ... }\n *\n * @param {FastPath} path The representation of the current AST traversal state\n */\nconst shouldExpressionsBeWrapped = (path) => {\n let result = false\n walkParents(path, (node) => {\n if (node['tagName'] != undefined) {\n return false\n }\n if (node[INSIDE_OF_STRING] === true) {\n result = INSIDE_OF_STRING\n return false\n }\n if (node[EXPRESSION_NEEDED] === true) {\n result = EXPRESSION_NEEDED\n return false\n }\n if (node[EXPRESSION_NEEDED] === false || node[INSIDE_OF_STRING] === false) {\n // Abort walking up the ancestor chain\n return false\n }\n })\n return result\n}\n\nconst wrapExpressionIfNeeded = (path, fragments, node = {}) => {\n const wrapType = shouldExpressionsBeWrapped(path)\n if (wrapType === EXPRESSION_NEEDED) {\n wrapInEnvironment(fragments, node.trimLeft, node.trimRight)\n } else if (wrapType === INSIDE_OF_STRING) {\n wrapInStringInterpolation(fragments)\n }\n return fragments\n}\n\n/**\n * Puts environment braces {{ ... }} around an element\n *\n * @param {array} parts The finished, printed element,\n * except for concatenation and grouping\n */\nconst wrapInEnvironment = (parts, trimLeft = false, trimRight = false) => {\n const leftBraces = trimLeft ? '{{-' : '{{'\n const rightBraces = trimRight ? '-}}' : '}}'\n parts.unshift(leftBraces, line)\n parts.push(line, rightBraces)\n}\n\n/**\n * Puts string interpolation braces #{ ... } around an element\n *\n * @param {array} parts The finished, printed element,\n * except for concatenation and grouping\n */\nconst wrapInStringInterpolation = (parts) => {\n parts.unshift('#{')\n parts.push('}')\n}\n\nconst isWhitespaceOnly = (s) => typeof s === 'string' && s.trim() === ''\n\nconst countNewlines = (s) => {\n return (s.match(/\\n/g) || '').length\n}\n\nconst hasNoNewlines = (s) => {\n return countNewlines(s) === 0\n}\n\nconst hasAtLeastTwoNewlines = (s) => countNewlines(s) >= 2\n\n// Split string by whitespace, but preserving the whitespace\n// \"\\n Next\\n\" => [\"\", \"\\n \", \"Next\", \"\\n\", \"\"]\nconst splitByWhitespace = (s) => s.split(/([\\s\\n]+)/gm)\n\nconst unifyWhitespace = (s, replacement = ' ') =>\n splitByWhitespace(s)\n .filter((s) => !isWhitespaceOnly(s))\n .join(replacement)\n\nconst normalizeWhitespace = (whitespace) => {\n const numNewlines = countNewlines(whitespace)\n if (numNewlines > 0) {\n // Normalize to one/two newline(s)\n return numNewlines > 1 ? [hardline, hardline] : [hardline]\n }\n // Normalize to one single space\n return [line]\n}\n\nconst createTextGroups = (s, preserveLeadingWhitespace, preserveTrailingWhitespace) => {\n const parts = splitByWhitespace(s)\n const groups = []\n let currentGroup = []\n const len = parts.length\n parts.forEach((curr, index) => {\n if (curr !== '') {\n if (isWhitespaceOnly(curr)) {\n const isFirst = groups.length === 0 && currentGroup.length === 0\n const isLast = index === len - 1 || (index === len - 2 && parts[len - 1] === '')\n // Remove leading whitespace if allowed\n if ((isFirst && preserveLeadingWhitespace) || (isLast && preserveTrailingWhitespace)) {\n currentGroup.push(...normalizeWhitespace(curr))\n } else if (!isFirst && !isLast) {\n const numNewlines = countNewlines(curr)\n if (numNewlines <= 1) {\n currentGroup.push(line)\n } else {\n groups.push(currentGroup)\n currentGroup = []\n }\n }\n } else {\n currentGroup.push(curr)\n }\n }\n })\n\n if (currentGroup.length > 0) {\n groups.push(currentGroup)\n }\n return groups.map((elem) => fill(elem))\n}\n\nconst isWhitespaceNode = (node) => {\n return (Node.isPrintTextStatement(node) && isWhitespaceOnly(node.value.value)) || (Node.isStringLiteral(node) && isWhitespaceOnly(node.value))\n}\n\nconst isEmptySequence = (node) => Node.isSequenceExpression(node) && node.expressions.length === 0\n\nconst removeSurroundingWhitespace = (children) => {\n if (!Array.isArray(children)) {\n return children\n }\n const result = []\n children.forEach((child, index) => {\n const isFirstOrLast = index === 0 || index === children.length - 1\n // Remove initial whitespace\n if (isFirstOrLast && isWhitespaceNode(child)) {\n return\n }\n\n result.push(child)\n })\n return result\n}\n\nconst getDeepProperty = (obj, ...properties) => {\n let result = obj\n properties.forEach((p) => {\n result = result[p]\n })\n return result\n}\n\nconst setDeepProperty = (obj, value, ...properties) => {\n let containingObject = obj\n const len = properties.length\n for (let i = 0; i < len - 1; i++) {\n containingObject = containingObject[properties[i]]\n }\n containingObject[properties[len - 1]] = value\n}\n\nconst printChildBlock = (node, path, print, ...childPath) => {\n const originalChildren = getDeepProperty(node, ...childPath)\n setDeepProperty(node, removeSurroundingWhitespace(originalChildren), ...childPath)\n const childGroups = printChildGroups(node, path, print, ...childPath)\n return indent(group(concat([hardline, ...childGroups])))\n}\n\nconst addNewlineIfNotEmpty = (items) => {\n if (items.length > 0) {\n items.push(hardline)\n }\n}\n\nconst endsWithHtmlComment = (s) => s.endsWith('-->')\n\nconst stripCommentChars = (start, end) => (s) => {\n let result = s\n if (result.startsWith(start)) {\n result = result.slice(start.length)\n }\n if (result.endsWith(end)) {\n result = result.slice(0, 0 - end.length)\n }\n return result\n}\n\nconst stripHtmlCommentChars = stripCommentChars('')\n\nconst stripTwigCommentChars = (s) => {\n let result = s\n if (result.startsWith('{#')) {\n result = result.slice(2)\n }\n if (result.startsWith('-')) {\n result = result.slice(1)\n }\n if (result.endsWith('#}')) {\n result = result.slice(0, -2)\n }\n if (result.endsWith('-')) {\n result = result.slice(0, -1)\n }\n return result\n}\n\nconst normalizeHtmlComment = (s) => {\n const commentText = stripHtmlCommentChars(s)\n return ''\n}\n\nconst normalizeTwigComment = (s, trimLeft, trimRight) => {\n const commentText = stripTwigCommentChars(s)\n const open = trimLeft ? '{#-' : '{#'\n const close = trimRight ? '-#}' : '#}'\n return open + ' ' + unifyWhitespace(commentText) + ' ' + close\n}\n\nconst isHtmlCommentEqualTo = (substr) => (node) => {\n return node.constructor.name === 'HtmlComment' && node.value.value && normalizeHtmlComment(node.value.value) === ''\n}\n\nconst isTwigCommentEqualTo = (substr) => (node) => {\n return node.constructor.name === 'TwigComment' && node.value.value && normalizeTwigComment(node.value.value) === '{# ' + substr + ' #}'\n}\n\nconst isInlineTextStatement = (node) => {\n if (!Node.isPrintTextStatement(node)) {\n return false\n }\n // If the statement ends with an HTML comment\n const trimmedValue = typeof node.value.value === 'string' && node.value.value.trim()\n return !endsWithHtmlComment(trimmedValue)\n}\n\nconst isInlineElement = (node) => {\n const isInlineHtmlElement = Node.isElement(node) && INLINE_HTML_ELEMENTS.indexOf(node.name) >= 0\n\n return isInlineHtmlElement || Node.isPrintExpressionStatement(node) || isInlineTextStatement(node)\n}\n\nconst isCommentNode = (node) => Node.isTwigComment(node) || Node.isHtmlComment(node)\n\nconst createInlineMap = (nodes) => nodes.map((node) => isInlineElement(node))\n\nconst textStatementsOnlyNewlines = (nodes) => {\n nodes.forEach((node) => {\n if (Node.isPrintTextStatement(node)) {\n node[NEWLINES_ONLY] = true\n }\n })\n}\n\nconst addPreserveWhitespaceInfo = (inlineMap, nodes) => {\n nodes.forEach((node, index) => {\n const previousNodeIsComment = index > 0 && isCommentNode(nodes[index - 1])\n const followingNodeIsComment = index < nodes.length - 1 && isCommentNode(nodes[index + 1])\n if (Node.isPrintTextStatement(node)) {\n const hasPreviousInlineElement = index > 0 && inlineMap[index - 1]\n if (hasPreviousInlineElement || previousNodeIsComment) {\n node[PRESERVE_LEADING_WHITESPACE] = true\n }\n const hasFollowingInlineElement = index < inlineMap.length - 1 && inlineMap[index + 1]\n if (hasFollowingInlineElement || followingNodeIsComment) {\n node[PRESERVE_TRAILING_WHITESPACE] = true\n }\n }\n })\n}\n\nconst indentWithHardline = (contents) => indent(concat([hardline, contents]))\n\nconst printChildGroups = (node, path, print, ...childPath) => {\n // For the preprocessed children, get a map showing which elements can\n // be printed inline\n const children = getDeepProperty(node, ...childPath)\n const inlineMap = createInlineMap(children)\n addPreserveWhitespaceInfo(inlineMap, children)\n textStatementsOnlyNewlines(children)\n const printedChildren = path.map(print, ...childPath)\n // Go over the children, while carrying along a group to be filled\n // - If the element is inline, add it to the group\n // - If the element is not inline, and the group is not empty\n // => print the group as fill()\n let inlineGroup = []\n const finishedGroups = []\n printedChildren.forEach((child, index) => {\n if (inlineMap[index]) {\n // Maybe a PrintTextStatement should not be\n // considered \"inline\" if it contains more than\n // one \\n character\n inlineGroup.push(child)\n } else {\n if (inlineGroup.length > 0) {\n finishedGroups.push(fill(inlineGroup))\n inlineGroup = []\n }\n // Ensure line break between two block elements\n if (finishedGroups.length > 0 && !inlineMap[index - 1]) {\n addNewlineIfNotEmpty(finishedGroups)\n }\n finishedGroups.push(child)\n }\n })\n if (inlineGroup.length > 0) {\n finishedGroups.push(fill(inlineGroup))\n }\n return finishedGroups\n}\n\nexport { countNewlines, createTextGroups, findParentNode, firstValueInAncestorChain, getDeepProperty, hasAtLeastTwoNewlines, hasNoNewlines, indentWithHardline, isContractableNodeType, isEmptySequence, isHtmlCommentEqualTo, isInlineElement, isMelodyNode, isMultipartExpression, isNotExpression, isRootNode, isTwigCommentEqualTo, isValidIdentifierName, isWhitespaceNode, isWhitespaceOnly, normalizeHtmlComment, normalizeTwigComment, printChildBlock, printChildGroups, quoteChar, registerContractableNodeType, removeSurroundingWhitespace, setDeepProperty, shouldExpressionsBeWrapped, someParentNode, stripHtmlCommentChars, stripTwigCommentChars, testCurrentAndParentNodes, testCurrentNode, walkParents, wrapExpressionIfNeeded, wrapInEnvironment, wrapInStringInterpolation }\n\n", "'use strict'\n\n/**\n * TBD properly tagged union for Doc object type is needed here.\n *\n * @typedef {object} DocObject\n * @property {string} type\n * @property {boolean} [hard]\n * @property {boolean} [literal]\n *\n * @typedef {Doc[]} DocArray\n *\n * @typedef {string | DocObject | DocArray} Doc\n */\n\n/**\n * @param {Doc} val\n */\nfunction assertDoc(val) {\n if (typeof val === 'string') {\n return\n }\n\n if (Array.isArray(val)) {\n for (const doc of val) {\n assertDoc(doc)\n }\n return\n }\n\n if (val && typeof val.type === 'string') {\n return\n }\n\n /* istanbul ignore next */\n throw new Error('Value ' + JSON.stringify(val) + ' is not a valid document')\n}\n\n/**\n * @param {Doc[]} parts\n * @returns Doc\n */\nfunction concat(parts) {\n if (process.env.NODE_ENV !== 'production') {\n for (const part of parts) {\n assertDoc(part)\n }\n }\n\n // We cannot do this until we change `printJSXElement` to not\n // access the internals of a document directly.\n // if(parts.length === 1) {\n // // If it's a single document, no need to concat it.\n // return parts[0];\n // }\n return { type: 'concat', parts }\n}\n\n/**\n * @param {Doc} contents\n * @returns Doc\n */\nfunction indent(contents) {\n if (process.env.NODE_ENV !== 'production') {\n assertDoc(contents)\n }\n\n return { type: 'indent', contents }\n}\n\n/**\n * @param {number | string} widthOrString\n * @param {Doc} contents\n * @returns Doc\n */\nfunction align(widthOrString, contents) {\n if (process.env.NODE_ENV !== 'production') {\n assertDoc(contents)\n }\n\n return { type: 'align', contents, n: widthOrString }\n}\n\n/**\n * @param {Doc} contents\n * @param {object} [opts] - TBD ???\n * @returns Doc\n */\nfunction group(contents, opts = {}) {\n if (process.env.NODE_ENV !== 'production') {\n assertDoc(contents)\n }\n\n return {\n type: 'group',\n id: opts.id,\n contents,\n break: Boolean(opts.shouldBreak),\n expandedStates: opts.expandedStates\n }\n}\n\n/**\n * @param {Doc} contents\n * @returns Doc\n */\nfunction dedentToRoot(contents) {\n return align(Number.NEGATIVE_INFINITY, contents)\n}\n\n/**\n * @param {Doc} contents\n * @returns Doc\n */\nfunction markAsRoot(contents) {\n // @ts-expect-error - TBD ???:\n return align({ type: 'root' }, contents)\n}\n\n/**\n * @param {Doc} contents\n * @returns Doc\n */\nfunction dedent(contents) {\n return align(-1, contents)\n}\n\n/**\n * @param {Doc[]} states\n * @param {object} [opts] - TBD ???\n * @returns Doc\n */\nfunction conditionalGroup(states, opts) {\n return group(states[0], { ...opts, expandedStates: states })\n}\n\n/**\n * @param {Doc[]} parts\n * @returns Doc\n */\nfunction fill(parts) {\n if (process.env.NODE_ENV !== 'production') {\n for (const part of parts) {\n assertDoc(part)\n }\n }\n\n return { type: 'fill', parts }\n}\n\n/**\n * @param {Doc} [breakContents]\n * @param {Doc} [flatContents]\n * @param {object} [opts] - TBD ???\n * @returns Doc\n */\nfunction ifBreak(breakContents, flatContents, opts = {}) {\n if (process.env.NODE_ENV !== 'production') {\n if (breakContents) {\n assertDoc(breakContents)\n }\n if (flatContents) {\n assertDoc(flatContents)\n }\n }\n\n return {\n type: 'if-break',\n breakContents,\n flatContents,\n groupId: opts.groupId\n }\n}\n\n/**\n * Optimized version of `ifBreak(indent(doc), doc, { groupId: ... })`\n * @param {Doc} contents\n * @param {{ groupId: symbol, negate?: boolean }} opts\n * @returns Doc\n */\nfunction indentIfBreak(contents, opts) {\n return {\n type: 'indent-if-break',\n contents,\n groupId: opts.groupId,\n negate: opts.negate\n }\n}\n\n/**\n * @param {Doc} contents\n * @returns Doc\n */\nfunction lineSuffix(contents) {\n if (process.env.NODE_ENV !== 'production') {\n assertDoc(contents)\n }\n return { type: 'line-suffix', contents }\n}\n\nconst lineSuffixBoundary = { type: 'line-suffix-boundary' }\nconst breakParent = { type: 'break-parent' }\nconst trim = { type: 'trim' }\n\nconst hardlineWithoutBreakParent = { type: 'line', hard: true }\nconst literallineWithoutBreakParent = {\n type: 'line',\n hard: true,\n literal: true\n}\n\nconst line = { type: 'line' }\nconst softline = { type: 'line', soft: true }\n// eslint-disable-next-line prettier-internal-rules/no-doc-builder-concat\nconst hardline = concat([hardlineWithoutBreakParent, breakParent])\n// eslint-disable-next-line prettier-internal-rules/no-doc-builder-concat\nconst literalline = concat([literallineWithoutBreakParent, breakParent])\n\nconst cursor = { type: 'cursor', placeholder: Symbol('cursor') }\n\n/**\n * @param {Doc} sep\n * @param {Doc[]} arr\n * @returns Doc\n */\nfunction join(sep, arr) {\n const res = []\n\n for (let i = 0; i < arr.length; i++) {\n if (i !== 0) {\n res.push(sep)\n }\n\n res.push(arr[i])\n }\n\n // eslint-disable-next-line prettier-internal-rules/no-doc-builder-concat\n return concat(res)\n}\n\n/**\n * @param {Doc} doc\n * @param {number} size\n * @param {number} tabWidth\n */\nfunction addAlignmentToDoc(doc, size, tabWidth) {\n let aligned = doc\n if (size > 0) {\n // Use indent to add tabs for all the levels of tabs we need\n for (let i = 0; i < Math.floor(size / tabWidth); ++i) {\n aligned = indent(aligned)\n }\n // Use align for all the spaces that are needed\n aligned = align(size % tabWidth, aligned)\n // size is absolute from 0 and not relative to the current\n // indentation, so we use -Infinity to reset the indentation to 0\n aligned = align(Number.NEGATIVE_INFINITY, aligned)\n }\n return aligned\n}\n\nfunction label(label, contents) {\n return { type: 'label', label, contents }\n}\n\nexport { concat, join, line, softline, hardline, literalline, group, conditionalGroup, fill, lineSuffix, lineSuffixBoundary, cursor, breakParent, ifBreak, trim, indent, indentIfBreak, align, addAlignmentToDoc, markAsRoot, dedentToRoot, dedent, hardlineWithoutBreakParent, literallineWithoutBreakParent, label }\n", "import { line, indent, concat, group } from './prettier-doc-builders.js'\nimport { Node } from 'melody-types'\n\nconst noSpaceBeforeToken = {\n ',': true\n}\n\nexport const printSingleTwigTag = (node, path, print) => {\n const opener = node.trimLeft ? '{%-' : '{%'\n const parts = [opener, ' ', node.tagName]\n const printedParts = path.map(print, 'parts')\n if (printedParts.length > 0) {\n parts.push(' ', printedParts[0])\n }\n const indentedParts = []\n for (let i = 1; i < node.parts.length; i++) {\n const part = node.parts[i]\n const isToken = Node.isGenericToken(part)\n const separator = isToken && noSpaceBeforeToken[part.tokenText] ? '' : line\n indentedParts.push(separator, printedParts[i])\n }\n if (node.parts.length > 1) {\n parts.push(indent(concat(indentedParts)))\n }\n const closing = node.trimRight ? '-%}' : '%}'\n parts.push(line, closing)\n return group(concat(parts))\n}\n", "import { CharStream, Lexer, TokenStream, Parser } from './melody-parser/src'\nimport { extension as coreExtension } from './melody-extension-core/src'\nimport { getAdditionalMelodyExtensions, getPluginPathsFromOptions } from './util'\n\n// const ORIGINAL_SOURCE = Symbol('ORIGINAL_SOURCE')\nconst ORIGINAL_SOURCE = 'ORIGINAL_SOURCE'\n\nconst createConfiguredLexer = (code, ...extensions) => {\n const lexer = new Lexer(new CharStream(code))\n for (const extension of extensions) {\n if (extension.unaryOperators) {\n lexer.addOperators(...extension.unaryOperators.map((op) => op.text))\n }\n if (extension.binaryOperators) {\n lexer.addOperators(...extension.binaryOperators.map((op) => op.text))\n }\n }\n return lexer\n}\n\nconst applyParserExtensions = (parser, ...extensions) => {\n for (const extension of extensions) {\n if (extension.tags) {\n for (const tag of extension.tags) {\n parser.addTag(tag)\n }\n }\n if (extension.unaryOperators) {\n for (const op of extension.unaryOperators) {\n parser.addUnaryOperator(op)\n }\n }\n if (extension.binaryOperators) {\n for (const op of extension.binaryOperators) {\n parser.addBinaryOperator(op)\n }\n }\n if (extension.tests) {\n for (const test of extension.tests) {\n parser.addTest(test)\n }\n }\n }\n}\n\nconst createConfiguredParser = (code, multiTagConfig, ...extensions) => {\n const parser = new Parser(\n new TokenStream(createConfiguredLexer(code, ...extensions), {\n ignoreWhitespace: true,\n ignoreComments: false,\n ignoreHtmlComments: false,\n applyWhitespaceTrimming: false\n }),\n {\n ignoreComments: false,\n ignoreHtmlComments: false,\n ignoreDeclarations: false,\n decodeEntities: false,\n multiTags: multiTagConfig,\n allowUnknownTags: true\n }\n )\n applyParserExtensions(parser, ...extensions)\n return parser\n}\n\nconst getMultiTagConfig = (tagsCsvs = []) =>\n tagsCsvs.reduce((acc, curr) => {\n const tagNames = curr.split(',')\n acc[tagNames[0].trim()] = tagNames.slice(1).map((s) => s.trim())\n return acc\n }, {})\n\nconst parse = (text, parsers, options) => {\n const pluginPaths = getPluginPathsFromOptions(options)\n const multiTagConfig = getMultiTagConfig(options.twigMultiTags || [])\n const extensions = [coreExtension, ...getAdditionalMelodyExtensions(pluginPaths)]\n const parser = createConfiguredParser(text, multiTagConfig, ...extensions)\n const ast = parser.parse()\n ast[ORIGINAL_SOURCE] = text\n return ast\n}\n\nexport { parse, ORIGINAL_SOURCE }\n", "import { concat } from './../util/prettier-doc-builders'\n\nexport const printAliasExpression = (node, path, print) => {\n return concat([path.call(print, 'name'), ' as ', path.call(print, 'alias')])\n}\n", "import { group, concat, softline, line, indent, join } from './../util/prettier-doc-builders'\nimport { STRING_NEEDS_QUOTES } from '../util'\n\nexport const printArrayExpression = (node, path, print) => {\n node[STRING_NEEDS_QUOTES] = true\n const mappedElements = path.map(print, 'elements')\n const indentedContent = concat([softline, join(concat([',', line]), mappedElements)])\n\n return group(concat(['[', indent(indentedContent), softline, ']']))\n}\n", "import { concat } from './../util/prettier-doc-builders'\nimport { EXPRESSION_NEEDED, STRING_NEEDS_QUOTES } from '../util'\nimport { Node } from 'melody-types'\n\nconst mayCorrectWhitespace = attrName => ['id', 'class', 'type'].indexOf(attrName) > -1\n\nconst sanitizeWhitespace = s => s.replace(/\\s+/g, ' ').trim()\n\nconst printConcatenatedString = (valueNode, path, print, ...initialPath) => {\n const printedFragments = []\n let currentNode = valueNode\n const currentPath = initialPath\n while (Node.isBinaryConcatExpression(currentNode)) {\n printedFragments.unshift(path.call(print, ...currentPath, 'right'))\n currentPath.push('left')\n currentNode = currentNode.left\n }\n printedFragments.unshift(path.call(print, ...currentPath))\n return concat(printedFragments)\n}\n\nexport const printAttribute = (node, path, print = print) => {\n node[EXPRESSION_NEEDED] = false\n const docs = [path.call(print, 'name')]\n node[EXPRESSION_NEEDED] = true\n node[STRING_NEEDS_QUOTES] = false\n if (node.value) {\n docs.push('=\"')\n if (Node.isBinaryConcatExpression(node.value) && node.value.wasImplicitConcatenation) {\n // Special handling for concatenated string values\n docs.push(printConcatenatedString(node.value, path, print, 'value'))\n } else {\n const isStringValue = Node.isStringLiteral(node.value)\n if (mayCorrectWhitespace(node.name.name) && isStringValue) {\n node.value.value = sanitizeWhitespace(node.value.value)\n }\n docs.push(path.call(print, 'value'))\n }\n docs.push('\"')\n }\n\n return concat(docs)\n}\n", "import { concat, hardline } from './../util/prettier-doc-builders'\nimport { printChildBlock, quoteChar } from '../util'\n\nconst createOpener = (node, options) => {\n return concat([node.trimLeft ? '{%-' : '{%', ' autoescape ', quoteChar(options), node.escapeType || 'html', quoteChar(options), ' ', node.trimRightAutoescape ? '-%}' : '%}'])\n}\n\nexport const printAutoescapeBlock = (node, path, print, options) => {\n const parts = [createOpener(node, options)]\n parts.push(printChildBlock(node, path, print, 'expressions'))\n parts.push(hardline, node.trimLeftEndautoescape ? '{%-' : '{%', ' endautoescape ', node.trimRight ? '-%}' : '%}')\n\n return concat(parts)\n}\n", "import { group, concat, line, softline, indent } from './../util/prettier-doc-builders'\nimport { Node } from 'melody-types'\nimport { EXPRESSION_NEEDED, STRING_NEEDS_QUOTES, INSIDE_OF_STRING, GROUP_TOP_LEVEL_LOGICAL, IS_ROOT_LOGICAL_EXPRESSION, firstValueInAncestorChain, findParentNode, wrapExpressionIfNeeded } from '../util'\nimport { extension as coreExtension } from './../melody-extension-core/src'\nconst ALREADY_INDENTED = Symbol('ALREADY_INDENTED')\nconst OPERATOR_PRECEDENCE = Symbol('OPERATOR_PRECEDENCE')\nconst NO_WHITESPACE_AROUND = ['..']\n\nconst operatorPrecedence = coreExtension.binaryOperators.reduce((acc, curr) => {\n acc[curr.text] = curr.precedence\n return acc\n}, {})\n\nconst printInterpolatedString = (node, path, print, options) => {\n node[STRING_NEEDS_QUOTES] = false\n node[INSIDE_OF_STRING] = true\n\n const printedFragments = ['\"'] // For interpolated strings, we HAVE to use double quotes\n let currentNode = node\n const currentPath = []\n while (Node.isBinaryConcatExpression(currentNode)) {\n printedFragments.unshift(path.call(print, ...currentPath, 'right'))\n currentPath.push('left')\n currentNode = currentNode.left\n }\n printedFragments.unshift(path.call(print, ...currentPath))\n printedFragments.unshift('\"')\n return concat(printedFragments)\n}\n\nconst operatorNeedsSpaces = operator => {\n return NO_WHITESPACE_AROUND.indexOf(operator) < 0\n}\n\nconst hasLogicalOperator = node => {\n return node.operator === 'or' || node.operator === 'and'\n}\n\nconst otherNeedsParentheses = (node, otherProp) => {\n const other = node[otherProp]\n const isBinaryOther = Node.isBinaryExpression(other)\n const ownPrecedence = operatorPrecedence[node.operator]\n const otherPrecedence = isBinaryOther ? operatorPrecedence[node[otherProp].operator] : Number.MAX_SAFE_INTEGER\n return otherPrecedence < ownPrecedence || (otherPrecedence > ownPrecedence && isBinaryOther && hasLogicalOperator(other)) || Node.isFilterExpression(other) || (Node.isBinaryConcatExpression(node) && Node.isConditionalExpression(other))\n}\n\nconst _printBinaryExpression = (node, path, print) => {\n node[EXPRESSION_NEEDED] = false\n node[STRING_NEEDS_QUOTES] = true\n\n const isBinaryRight = Node.isBinaryExpression(node.right)\n const isLogicalOperator = ['and', 'or'].indexOf(node.operator) > -1\n const whitespaceAroundOperator = operatorNeedsSpaces(node.operator)\n\n const alreadyIndented = firstValueInAncestorChain(path, ALREADY_INDENTED, false)\n if (!alreadyIndented && isBinaryRight) {\n node.right[ALREADY_INDENTED] = true\n }\n const foundRootAbove = firstValueInAncestorChain(path, IS_ROOT_LOGICAL_EXPRESSION, false)\n\n const parentNode = findParentNode(path)\n const shouldGroupOnTopLevel = parentNode[GROUP_TOP_LEVEL_LOGICAL] !== false\n\n if (!foundRootAbove) {\n node[IS_ROOT_LOGICAL_EXPRESSION] = true\n }\n const parentOperator = foundRootAbove ? firstValueInAncestorChain(path, 'operator') : ''\n\n node[OPERATOR_PRECEDENCE] = operatorPrecedence[node.operator]\n\n const printedLeft = path.call(print, 'left')\n const printedRight = path.call(print, 'right')\n\n const parts = []\n const leftNeedsParens = otherNeedsParentheses(node, 'left')\n const rightNeedsParens = otherNeedsParentheses(node, 'right')\n\n if (leftNeedsParens) {\n parts.push('(')\n }\n parts.push(printedLeft)\n if (leftNeedsParens) {\n parts.push(')')\n }\n const potentiallyIndented = [whitespaceAroundOperator ? line : softline, node.operator, whitespaceAroundOperator ? ' ' : '']\n if (rightNeedsParens) {\n potentiallyIndented.push('(')\n }\n potentiallyIndented.push(printedRight)\n if (rightNeedsParens) {\n potentiallyIndented.push(')')\n }\n const rightHandSide = alreadyIndented ? concat(potentiallyIndented) : indent(concat(potentiallyIndented))\n const result = concat(wrapExpressionIfNeeded(path, [...parts, rightHandSide], node))\n\n const shouldCreateTopLevelGroup = !foundRootAbove && shouldGroupOnTopLevel\n const isDifferentLogicalOperator = isLogicalOperator && node.operator !== parentOperator\n\n const shouldGroupResult = shouldCreateTopLevelGroup || !isLogicalOperator || (foundRootAbove && isDifferentLogicalOperator)\n\n return shouldGroupResult ? group(result) : result\n}\n\nexport const printBinaryExpression = (node, path, print, options) => {\n if (Node.isBinaryConcatExpression(node) && node.wasImplicitConcatenation) {\n return printInterpolatedString(node, path, print, options)\n }\n return _printBinaryExpression(node, path, print)\n}\n", "import { concat, hardline, group } from './../util/prettier-doc-builders'\nimport { Node } from 'melody-types'\nimport { EXPRESSION_NEEDED, printChildBlock } from '../util'\n\nexport const printBlockStatement = (node, path, print, options) => {\n node[EXPRESSION_NEEDED] = false\n const hasChildren = Array.isArray(node.body)\n const printEndblockName = options.twigOutputEndblockName === true\n\n if (hasChildren) {\n const blockName = path.call(print, 'name')\n const opener = concat([node.trimLeft ? '{%-' : '{%', ' block ', blockName, node.trimRightBlock ? ' -%}' : ' %}'])\n const parts = [opener]\n if (node.body.length > 0) {\n const indentedBody = printChildBlock(node, path, print, 'body')\n parts.push(indentedBody)\n }\n parts.push(hardline)\n parts.push(node.trimLeftEndblock ? '{%-' : '{%', ' endblock', printEndblockName ? concat([' ', blockName]) : '', node.trimRight ? ' -%}' : ' %}')\n\n const result = group(concat(parts))\n return result\n } else if (Node.isPrintExpressionStatement(node.body)) {\n const parts = [node.trimLeft ? '{%-' : '{%', ' block ', path.call(print, 'name'), ' ', path.call(print, 'body', 'value'), node.trimRight ? ' -%}' : ' %}']\n return concat(parts)\n }\n}\n", "import { group, concat, softline, line, indent, join } from './../util/prettier-doc-builders'\nimport { EXPRESSION_NEEDED, STRING_NEEDS_QUOTES, wrapExpressionIfNeeded } from '../util'\nimport { Node } from 'melody-types'\n\nexport const printCallExpression = (node, path, print) => {\n node[EXPRESSION_NEEDED] = false\n node[STRING_NEEDS_QUOTES] = true\n const mappedArguments = path.map(print, 'arguments')\n const parts = [path.call(print, 'callee'), '(']\n if (node.arguments.length === 0) {\n parts.push(')')\n } else if (node.arguments.length === 1 && Node.isObjectExpression(node.arguments[0])) {\n // Optimization: No line break between \"(\" and \"{\" if\n // there is exactly one object parameter\n parts.push(mappedArguments[0], ')')\n } else {\n parts.push(indent(concat([softline, join(concat([',', line]), mappedArguments)])), softline, ')')\n }\n\n wrapExpressionIfNeeded(path, parts, node)\n\n return group(concat(parts))\n}\n", "import { concat, line, indent, group } from './../util/prettier-doc-builders'\nimport { EXPRESSION_NEEDED, STRING_NEEDS_QUOTES, wrapExpressionIfNeeded } from '../util'\n\nexport const printConditionalExpression = (node, path, print) => {\n node[EXPRESSION_NEEDED] = false\n node[STRING_NEEDS_QUOTES] = true\n\n const rest = [line, '?']\n if (node.consequent) {\n rest.push(concat([' ', path.call(print, 'consequent')]))\n }\n if (node.alternate) {\n rest.push(line, ': ', path.call(print, 'alternate'))\n }\n const parts = [path.call(print, 'test'), indent(concat(rest))]\n wrapExpressionIfNeeded(path, parts, node)\n\n return group(concat(parts))\n}\n", "import { fill, join } from './../util/prettier-doc-builders'\nimport { STRING_NEEDS_QUOTES, OVERRIDE_QUOTE_CHAR } from '../util'\n\nexport const printDeclaration = (node, path, print) => {\n node[STRING_NEEDS_QUOTES] = true\n node[OVERRIDE_QUOTE_CHAR] = '\"'\n const start = ''])\n}\n", "import { concat } from './../util/prettier-doc-builders'\n\nexport const printDoStatement = (node, path, print) => {\n return concat([node.trimLeft ? '{%-' : '{%', ' do ', path.call(print, 'value'), node.trimRight ? ' -%}' : ' %}'])\n}\n", "import { concat, group, line, hardline, softline, indent, join } from './../util/prettier-doc-builders'\nimport { removeSurroundingWhitespace, isInlineElement, printChildGroups, EXPRESSION_NEEDED, STRING_NEEDS_QUOTES } from '../util'\n\nexport const printOpeningTag = (node, path, print) => {\n const opener = '<' + node.name\n const printedAttributes = printSeparatedList(path, print, '', 'attributes')\n const openingTagEnd = node.selfClosing ? ' />' : '>'\n const hasAttributes = node.attributes && node.attributes.length > 0\n\n if (hasAttributes) {\n return concat([opener, indent(concat([' ', printedAttributes])), openingTagEnd])\n }\n return concat([opener, openingTagEnd])\n}\n\nconst printSeparatedList = (path, print, separator, attrName) => {\n return join(concat([separator, line]), path.map(print, attrName))\n}\n\nexport const printElement = (node, path, print) => {\n // Set a flag in case attributes contain, e.g., a FilterExpression\n node[EXPRESSION_NEEDED] = true\n const openingGroup = group(printOpeningTag(node, path, print))\n node[EXPRESSION_NEEDED] = false\n node[STRING_NEEDS_QUOTES] = false\n\n const tagName = node.name.toLowerCase()\n if (tagName == 'script' || tagName == 'style') {\n let { value } = node.children?.[0]?.value || {}\n if (value) {\n return [openingGroup, value, concat([''])]\n } else {\n return [openingGroup, concat([''])]\n }\n }\n\n if (!node.selfClosing) {\n node.children = removeSurroundingWhitespace(node.children)\n\n const childGroups = printChildGroups(node, path, print, 'children')\n const closingTag = concat([''])\n const result = [openingGroup]\n const joinedChildren = concat(childGroups)\n if (isInlineElement(node)) {\n result.push(indent(concat([softline, joinedChildren])), softline)\n } else {\n const childBlock = []\n\n var onlyTextChildren = node.children.findIndex((c) => c.type != 'PrintExpressionStatement' && c.type != 'PrintTextStatement') == -1\n\n if (childGroups.length > 0) {\n if (!onlyTextChildren) {\n childBlock.push(hardline)\n }\n }\n childBlock.push(joinedChildren)\n result.push(indent(concat(childBlock)))\n if (childGroups.length > 0) {\n if (!onlyTextChildren) {\n result.push(hardline)\n }\n }\n }\n result.push(closingTag)\n\n return isInlineElement(node) ? group(concat(result)) : concat(result)\n }\n\n return openingGroup\n}\n", "import { concat, indent, hardline, line, group } from './../util/prettier-doc-builders.js'\nimport { EXPRESSION_NEEDED, STRING_NEEDS_QUOTES, printChildBlock } from '../util'\n\nconst printOpener = (node, path, print) => {\n node[EXPRESSION_NEEDED] = false\n node[STRING_NEEDS_QUOTES] = true\n const parts = [node.trimLeft ? '{%-' : '{%', ' embed ', path.call(print, 'parent')]\n if (node.argument) {\n parts.push(indent(concat([line, 'with ', path.call(print, 'argument')])))\n }\n parts.push(concat([line, node.trimRightEmbed ? '-%}' : '%}']))\n return group(concat(parts))\n}\n\nexport const printEmbedStatement = (node, path, print) => {\n const children = printChildBlock(node, path, print, 'blocks')\n const printedOpener = printOpener(node, path, print)\n const closing = concat([hardline, node.trimLeftEndembed ? '{%-' : '{%', ' endembed ', node.trimRight ? '-%}' : '%}'])\n\n return concat([printedOpener, children, closing])\n}\n", "import { concat, group, indent, line } from './../util/prettier-doc-builders.js'\nimport { EXPRESSION_NEEDED, STRING_NEEDS_QUOTES, isContractableNodeType } from '../util'\nimport { Node } from 'melody-types'\n\nexport const printExpressionStatement = (node, path, print) => {\n node[EXPRESSION_NEEDED] = false\n node[STRING_NEEDS_QUOTES] = true\n const opener = node.trimLeft ? '{{-' : '{{'\n const closing = node.trimRight ? '-}}' : '}}'\n const shouldContractValue = isContractableNodeType(node.value) && !Node.isObjectExpression(node.value)\n const padding = shouldContractValue ? ' ' : line\n const printedValue = concat([padding, path.call(print, 'value')])\n const value = shouldContractValue ? printedValue : indent(printedValue)\n return group(concat([opener, value, padding, closing]))\n}\n", "import { concat } from './../util/prettier-doc-builders.js'\nimport { STRING_NEEDS_QUOTES } from '../util'\n\nexport const printExtendsStatement = (node, path, print) => {\n node[STRING_NEEDS_QUOTES] = true\n return concat([node.trimLeft ? '{%-' : '{%', ' extends ', path.call(print, 'parentName'), node.trimRight ? ' -%}' : ' %}'])\n}\n", "import { concat, group, line, hardline } from './../util/prettier-doc-builders.js'\nimport { FILTER_BLOCK, printChildBlock } from '../util'\n\nconst printOpeningGroup = (node, path, print) => {\n const parts = [node.trimLeft ? '{%- ' : '{% ']\n const printedExpression = path.call(print, 'filterExpression')\n parts.push(printedExpression, line, node.trimRightFilter ? '-%}' : '%}')\n return group(concat(parts))\n}\n\nexport const printFilterBlockStatement = (node, path, print) => {\n node[FILTER_BLOCK] = true\n const openingGroup = printOpeningGroup(node, path, print)\n const body = printChildBlock(node, path, print, 'body')\n const closingStatement = concat([hardline, node.trimLeftEndfilter ? '{%-' : '{%', ' endfilter ', node.trimRight ? '-%}' : '%}'])\n\n return concat([openingGroup, body, closingStatement])\n}\n", "import { group, concat, indent, line, softline, join } from './../util/prettier-doc-builders.js'\nimport { Node } from 'melody-types'\nimport { EXPRESSION_NEEDED, INSIDE_OF_STRING, STRING_NEEDS_QUOTES, FILTER_BLOCK, shouldExpressionsBeWrapped, wrapInStringInterpolation, someParentNode, isMultipartExpression, getDeepProperty } from '../util'\n\nconst isInFilterBlock = path => someParentNode(path, node => node[FILTER_BLOCK] === true)\n\nconst printArguments = (node, path, print, nodePath) => {\n const hasArguments = node.arguments && node.arguments.length > 0\n if (!hasArguments) {\n return ''\n }\n\n const printedArguments = path.map(print, ...nodePath, 'arguments')\n if (node.arguments.length === 1 && Node.isObjectExpression(node.arguments[0])) {\n // Optimization: Avoid additional indentation level\n if (node.isDjango) {\n return group(concat([':', printedArguments[0]]))\n } else {\n return group(concat(['(', printedArguments[0], ')']))\n }\n }\n\n if (node.isDjango) {\n return group(concat([':', indent(concat([softline, join(concat([',', line]), printedArguments)])), softline]))\n } else {\n return group(concat(['(', indent(concat([softline, join(concat([',', line]), printedArguments)])), softline, ')']))\n }\n}\n\nconst printOneFilterExpression = (node, path, print, nodePath) => {\n const args = printArguments(node, path, print, nodePath)\n const filterName = path.call(print, ...nodePath, 'name')\n return concat([filterName, args])\n}\n\nconst joinFilters = (filterExpressions, space = '') => {\n return join(concat([space === '' ? softline : line, '|', space]), filterExpressions)\n}\n\nexport const printFilterExpression = (node, path, print, options) => {\n let currentNode = node\n node[EXPRESSION_NEEDED] = false\n node[STRING_NEEDS_QUOTES] = true\n const spaceAroundPipe = options.twigFollowOfficialCodingStandards === false\n const space = spaceAroundPipe ? ' ' : ''\n const pathToFinalTarget = ['target']\n let filterExpressions = [printOneFilterExpression(node, path, print, [])]\n\n // Here, we do not do the usual recursion using path.call(), but\n // instead traverse the chain of FilterExpressions ourselves (in\n // case there are multiple chained FilterExpressions, that is).\n // Reason: For a proper layout like this\n // \"Some text\"\n // | filter1\n // | filter2(arg)\n // | filter3\n // we need all the individual filter expressions in one group. This\n // can only be achieved by collecting them manually in the top-level\n // FilterExpression node.\n while (Node.isFilterExpression(currentNode.target)) {\n filterExpressions.unshift(printOneFilterExpression(currentNode.target, path, print, pathToFinalTarget))\n pathToFinalTarget.push('target') // Go one level deeper\n currentNode = currentNode.target\n }\n\n const finalTarget = path.call(print, ...pathToFinalTarget)\n const isFilterBlock = isInFilterBlock(path) // Special case of FilterBlockStatement\n const targetNeedsParentheses = isMultipartExpression(getDeepProperty(node, ...pathToFinalTarget))\n const parts = []\n if (targetNeedsParentheses) {\n parts.push('(')\n }\n parts.push(finalTarget)\n if (targetNeedsParentheses) {\n parts.push(')')\n }\n if (isFilterBlock) {\n parts.push(concat([' ', filterExpressions[0]]))\n filterExpressions = filterExpressions.slice(1)\n }\n if (filterExpressions.length === 1) {\n // No breaks and indentation for just one expression\n parts.push(`${space}|${space}`, filterExpressions[0])\n } else if (filterExpressions.length > 1) {\n const indentedFilters = concat([spaceAroundPipe ? line : softline, `|${space}`, joinFilters(filterExpressions, space)])\n parts.push(indent(indentedFilters))\n }\n\n const kindOfWrap = shouldExpressionsBeWrapped(path)\n if (kindOfWrap === EXPRESSION_NEEDED) {\n // Instead of using wrapExpressionIfNeeded(), we manually\n // wrap here, to avoid a line break between the curly braces\n parts.push(' }}')\n parts.unshift('{{ ')\n } else if (kindOfWrap === INSIDE_OF_STRING) {\n wrapInStringInterpolation(parts)\n }\n\n return group(concat(parts))\n}\n", "export const printFlushStatement = (node, path, print) => {\n const dashLeft = node.trimLeft ? '-' : ''\n const dashRight = node.trimRight ? '-' : ''\n return `{%${dashLeft} flush ${dashRight}%}`\n}\n", "import { group, indent, line, hardline, concat } from './../util/prettier-doc-builders.js'\nimport { EXPRESSION_NEEDED, isWhitespaceNode, indentWithHardline } from '../util'\n\nconst printFor = (node, path, print) => {\n const parts = [node.trimLeft ? '{%-' : '{%', ' for ']\n if (node.keyTarget) {\n parts.push(path.call(print, 'keyTarget'), ', ')\n }\n parts.push(path.call(print, 'valueTarget'), ' in ', path.call(print, 'sequence'))\n if (node.condition) {\n parts.push(indent(concat([line, 'if ', path.call(print, 'condition')])))\n }\n parts.push(concat([' ', node.trimRightFor ? '-%}' : '%}']))\n return group(concat(parts))\n}\n\nexport const printForStatement = (node, path, print) => {\n node[EXPRESSION_NEEDED] = false\n const parts = [printFor(node, path, print)]\n const isBodyEmpty = node.body.expressions.length === 0 || (node.body.expressions.length === 1 && isWhitespaceNode(node.body.expressions[0]))\n const printedChildren = path.call(print, 'body')\n if (!isBodyEmpty || node.otherwise) {\n parts.push(indentWithHardline(printedChildren))\n }\n if (node.otherwise) {\n parts.push(hardline, node.trimLeftElse ? '{%-' : '{%', ' else ', node.trimRightElse ? '-%}' : '%}')\n const printedOtherwise = path.call(print, 'otherwise')\n parts.push(indentWithHardline(printedOtherwise))\n }\n parts.push(isBodyEmpty ? '' : hardline, node.trimLeftEndfor ? '{%-' : '{%', ' endfor ', node.trimRight ? '-%}' : '%}')\n\n return concat(parts)\n}\n", "import { group, concat, join, line, indent } from './../util/prettier-doc-builders.js'\nimport { STRING_NEEDS_QUOTES } from '../util'\n\nconst printImportDeclaration = node => {\n const parts = [node.key.name]\n if (node.key.name !== node.alias.name) {\n parts.push(' as ', node.alias.name)\n }\n return concat(parts)\n}\n\nexport const printFromStatement = (node, path, print) => {\n node[STRING_NEEDS_QUOTES] = true\n // Unfortunately, ImportDeclaration has different\n // formatting needs here compared to when used\n // standalone. Therefore, we collect them manually.\n const mappedImports = node.imports.map(printImportDeclaration)\n const indentedParts = indent(concat([line, join(concat([',', line]), mappedImports)]))\n return group(concat([node.trimLeft ? '{%-' : '{%', ' from ', path.call(print, 'source'), ' import', indentedParts, line, node.trimRight ? '-%}' : '%}']))\n}\n", "export const printGenericToken = (node, path, print) => {\n return node.tokenText\n}\n", "import { concat, hardline } from './../util/prettier-doc-builders.js'\nimport { Node } from 'melody-types'\nimport { STRING_NEEDS_QUOTES, indentWithHardline, printSingleTwigTag, isEmptySequence } from '../util'\n\nexport const printGenericTwigTag = (node, path, print) => {\n node[STRING_NEEDS_QUOTES] = true\n const openingTag = printSingleTwigTag(node, path, print)\n const parts = [openingTag]\n const printedSections = path.map(print, 'sections')\n node.sections.forEach((section, i) => {\n if (Node.isGenericTwigTag(section)) {\n parts.push(concat([hardline, printedSections[i]]))\n } else {\n if (!isEmptySequence(section)) {\n // Indent\n parts.push(indentWithHardline(printedSections[i]))\n }\n }\n })\n return concat(parts)\n}\n", "import { concat, join, indent, hardline } from './../util/prettier-doc-builders.js'\nimport { createTextGroups, stripHtmlCommentChars, normalizeHtmlComment, countNewlines } from '../util'\n\nexport const printHtmlComment = (node, path, print) => {\n const commentText = stripHtmlCommentChars(node.value.value || '')\n\n const numNewlines = countNewlines(commentText)\n if (numNewlines === 0) {\n return normalizeHtmlComment(commentText)\n }\n\n return concat([''])\n}\n", "import { group, concat } from './../util/prettier-doc-builders.js'\nimport { EXPRESSION_NEEDED, wrapExpressionIfNeeded } from '../util'\n\nexport const printIdentifier = (node, path) => {\n node[EXPRESSION_NEEDED] = false\n\n const parts = [node.name]\n wrapExpressionIfNeeded(path, parts, node)\n const result = concat(parts)\n return parts.length === 1 ? result : group(result)\n}\n", "import { Node } from 'melody-types'\nimport { EXPRESSION_NEEDED, hasNoNewlines, PRESERVE_LEADING_WHITESPACE, PRESERVE_TRAILING_WHITESPACE, printChildBlock } from '../util'\nimport { concat, group, hardline, indent, line } from './../util/prettier-doc-builders.js'\n\nconst IS_ELSEIF = Symbol('IS_ELSEIF')\n\nexport const printIfStatement = (node, path, print) => {\n node[EXPRESSION_NEEDED] = false\n const hasElseBranch = Array.isArray(node.alternate) && node.alternate.length > 0\n const hasElseIfBranch = Node.isIfStatement(node.alternate)\n const isElseIf = node[IS_ELSEIF] === true\n const isEmptyIf = node.consequent.length === 0\n const hasOneChild = node.consequent.length === 1\n const firstChild = node.consequent[0]\n const printInline = !isElseIf && !node.alternate && (isEmptyIf || (hasOneChild && !Node.isElement(firstChild) && (!Node.isPrintTextStatement(firstChild) || hasNoNewlines(firstChild.value.value))))\n\n // Preserve no-newline white space in single text node child\n if (hasOneChild && Node.isPrintTextStatement(firstChild) && hasNoNewlines(firstChild.value.value)) {\n firstChild[PRESERVE_LEADING_WHITESPACE] = true\n firstChild[PRESERVE_TRAILING_WHITESPACE] = true\n }\n\n const ifClause = group(concat([node.trimLeft ? '{%- ' : '{% ', isElseIf ? (node.isElif ? 'elif' : 'elseif') : 'if', indent(concat([line, path.call(print, 'test')])), ' ', node.trimRightIf ? '-%}' : '%}']))\n const ifBody = printInline ? (isEmptyIf ? '' : path.call(print, 'consequent', '0')) : printChildBlock(node, path, print, 'consequent')\n const parts = [ifClause, ifBody]\n if (hasElseBranch) {\n parts.push(hardline, node.trimLeftElse ? '{%-' : '{%', ' else ', node.trimRightElse ? '-%}' : '%}')\n parts.push(printChildBlock(node, path, print, 'alternate'))\n } else if (hasElseIfBranch) {\n node.alternate[IS_ELSEIF] = true\n parts.push(hardline)\n parts.push(path.call(print, 'alternate'))\n }\n // The {% endif %} will be taken care of by the \"root\" if statement\n if (!isElseIf) {\n parts.push(printInline ? '' : hardline, node.trimLeftEndif ? '{%-' : '{%', ' endif ', node.trimRight ? '-%}' : '%}')\n }\n return concat(parts)\n}\n", "import { group, concat, line, indent } from './../util/prettier-doc-builders.js'\nimport { STRING_NEEDS_QUOTES } from '../util'\n\nexport const printImportDeclaration = (node, path, print) => {\n node[STRING_NEEDS_QUOTES] = true\n return group(concat([node.trimLeft ? '{%-' : '{%', ' import ', path.call(print, 'key'), indent(concat([line, 'as ', path.call(print, 'alias')])), line, node.trimRight ? '-%}' : '%}']))\n}\n", "import { group, concat } from './../util/prettier-doc-builders.js'\nimport { STRING_NEEDS_QUOTES } from '../util'\n\nexport const printIncludeStatement = (node, path, print) => {\n node[STRING_NEEDS_QUOTES] = true\n const parts = [node.trimLeft ? '{%-' : '{%', ' include ', path.call(print, 'source')]\n if (node.argument) {\n const printedArguments = path.call(print, 'argument')\n parts.push(' with ')\n parts.push(printedArguments)\n }\n\n if (node.contextFree) {\n parts.push(' only')\n }\n parts.push(node.trimRight ? ' -%}' : ' %}')\n return group(concat(parts))\n}\n", "import { group, join, concat, line, softline, hardline, indent } from './../util/prettier-doc-builders.js'\n\nconst printOpener = (node, path, print) => {\n const parts = [node.trimLeft ? '{%-' : '{%', ' macro ', path.call(print, 'name'), '(']\n const mappedArguments = path.map(print, 'arguments')\n const joinedArguments = join(concat([',', line]), mappedArguments)\n parts.push(indent(concat([softline, joinedArguments])))\n parts.push(')', line, node.trimRightMacro ? '-%}' : '%}')\n return group(concat(parts))\n}\n\nexport const printMacroDeclarationStatement = (node, path, print) => {\n const parts = [printOpener(node, path, print)]\n parts.push(indent(concat([hardline, path.call(print, 'body')])))\n parts.push(hardline, node.trimLeftEndmacro ? '{%-' : '{%', ' endmacro ', node.trimRight ? '-%}' : '%}')\n return concat(parts)\n}\n", "import { concat, group } from './../util/prettier-doc-builders.js'\nimport { EXPRESSION_NEEDED, STRING_NEEDS_QUOTES, wrapExpressionIfNeeded } from '../util'\n\nexport const printMemberExpression = (node, path, print) => {\n node[EXPRESSION_NEEDED] = false\n node[STRING_NEEDS_QUOTES] = true\n const parts = [path.call(print, 'object')]\n parts.push(node.computed ? '[' : '.')\n parts.push(path.call(print, 'property'))\n if (node.computed) {\n parts.push(']')\n }\n wrapExpressionIfNeeded(path, parts, node)\n return group(concat(parts))\n}\n", "import { group, concat, indent, line, hardline } from './../util/prettier-doc-builders.js'\nimport { EXPRESSION_NEEDED, STRING_NEEDS_QUOTES } from '../util'\n\nconst formatDelay = delay => {\n return '' + delay / 1000 + 's'\n}\n\nconst buildOpener = (node, path, print) => {\n const result = []\n const firstGroup = [node.trimLeft ? '{%-' : '{%', ' mount']\n if (node.async === true) {\n firstGroup.push(' async')\n }\n\n if (node.name) {\n firstGroup.push(' ', path.call(print, 'name'))\n }\n\n if (node.name && node.source) {\n firstGroup.push(' from')\n }\n\n if (node.source) {\n firstGroup.push(' ', path.call(print, 'source'))\n }\n\n if (node.key) {\n firstGroup.push(indent(concat([line, 'as ', path.call(print, 'key')])))\n }\n result.push(group(concat(firstGroup)))\n if (node.argument) {\n result.push(indent(concat([' with ', path.call(print, 'argument')])))\n }\n if (node.delayBy) {\n result.push(indent(concat([line, 'delay placeholder by ', formatDelay(node.delayBy)])))\n }\n const trimRightMount = node.body || node.otherwise ? node.trimRightMount : node.trimRight\n result.push(concat([line, trimRightMount ? '-%}' : '%}']))\n return group(concat(result))\n}\n\nconst buildBody = (path, print) => {\n return indent(concat([hardline, path.call(print, 'body')]))\n}\n\nconst buildErrorHandling = (node, path, print) => {\n const parts = []\n parts.push(concat([hardline, node.trimLeftCatch ? '{%-' : '{%', ' catch ']))\n if (node.errorVariableName) {\n parts.push(path.call(print, 'errorVariableName'), ' ')\n }\n parts.push(node.trimRightCatch ? '-%}' : '%}')\n parts.push(indent(concat([hardline, path.call(print, 'otherwise')])))\n return concat(parts)\n}\n\nexport const printMountStatement = (node, path, print) => {\n node[EXPRESSION_NEEDED] = false\n node[STRING_NEEDS_QUOTES] = true\n const parts = [buildOpener(node, path, print)]\n if (node.body) {\n parts.push(buildBody(path, print))\n }\n if (node.otherwise) {\n parts.push(buildErrorHandling(node, path, print))\n }\n if (node.body || node.otherwise) {\n parts.push(concat([hardline, node.trimLeftEndmount ? '{%-' : '{%', ' endmount ', node.trimRight ? '-%}' : '%}']))\n }\n\n return concat(parts)\n}\n", "import { STRING_NEEDS_QUOTES } from '../util'\nimport { concat } from './../util/prettier-doc-builders.js'\n\nexport const printNamedArgumentExpression = (node, path, print) => {\n node[STRING_NEEDS_QUOTES] = true\n const printedName = path.call(print, 'name')\n const printedValue = path.call(print, 'value')\n return concat([printedName, '=', printedValue])\n}\n", "import { group, concat, line, hardline, indent, join } from './../util/prettier-doc-builders.js'\nimport { EXPRESSION_NEEDED, wrapExpressionIfNeeded } from '../util'\n\nexport const printObjectExpression = (node, path, print, options) => {\n if (node.properties.length === 0) {\n return '{}'\n }\n node[EXPRESSION_NEEDED] = false\n const mappedElements = path.map(print, 'properties')\n const separator = options.twigAlwaysBreakObjects ? hardline : line\n const indentedContent = concat([line, join(concat([',', separator]), mappedElements)])\n\n const parts = ['{', indent(indentedContent), separator, '}']\n wrapExpressionIfNeeded(path, parts, node)\n\n return group(concat(parts))\n}\n", "import { concat } from './../util/prettier-doc-builders.js'\nimport { isValidIdentifierName, STRING_NEEDS_QUOTES } from '../util'\nimport { Node } from 'melody-types'\n\nexport const printObjectProperty = (node, path, print, options) => {\n node[STRING_NEEDS_QUOTES] = !node.computed && Node.isStringLiteral(node.key) && !isValidIdentifierName(node.key.value)\n const shouldPrintKeyAsString = node.key.wasImplicitConcatenation\n const needsParentheses = node.computed && !shouldPrintKeyAsString\n const parts = []\n if (needsParentheses) {\n parts.push('(')\n }\n parts.push(path.call(print, 'key'))\n if (needsParentheses) {\n parts.push(')')\n }\n parts.push(': ')\n node[STRING_NEEDS_QUOTES] = true\n parts.push(path.call(print, 'value'))\n return concat(parts)\n}\n", "import { concat, hardline } from './../util/prettier-doc-builders.js'\nimport { removeSurroundingWhitespace, printChildGroups, isRootNode, STRING_NEEDS_QUOTES } from '../util'\n\nexport const printSequenceExpression = (node, path, print) => {\n node[STRING_NEEDS_QUOTES] = false\n node.expressions = removeSurroundingWhitespace(node.expressions)\n const items = printChildGroups(node, path, print, 'expressions')\n if (isRootNode(path)) {\n return concat([...items, hardline])\n }\n return concat(items)\n}\n", "import { group, concat, line, hardline } from './../util/prettier-doc-builders.js'\nimport { printChildBlock, isNotExpression, STRING_NEEDS_QUOTES, GROUP_TOP_LEVEL_LOGICAL } from '../util'\nimport { Node } from 'melody-types'\n\nconst shouldAvoidBreakBeforeClosing = valueNode => Node.isObjectExpression(valueNode) || isNotExpression(valueNode) || Node.isArrayExpression(valueNode)\n\nconst buildSetStatement = (node, path, print, assignmentIndex) => {\n const varDeclaration = node.assignments[assignmentIndex]\n varDeclaration[GROUP_TOP_LEVEL_LOGICAL] = false\n const avoidBreakBeforeClosing = shouldAvoidBreakBeforeClosing(varDeclaration.value)\n\n return group(concat([node.trimLeft ? '{%-' : '{%', ' set ', path.call(print, 'assignments', assignmentIndex), avoidBreakBeforeClosing ? ' ' : line, node.trimRight ? '-%}' : '%}']))\n}\n\nconst isEmbracingSet = node => {\n return Array.isArray(node.assignments) && node.assignments.length === 1 && Array.isArray(node.assignments[0].value)\n}\n\nconst printRegularSet = (node, path, print) => {\n const parts = []\n const hasAssignments = Array.isArray(node.assignments) && node.assignments.length > 0\n if (hasAssignments) {\n node.assignments.forEach((_, index) => {\n if (parts.length > 0) {\n parts.push(hardline)\n }\n parts.push(buildSetStatement(node, path, print, index))\n })\n }\n return concat(parts)\n}\n\nconst printEmbracingSet = (node, path, print) => {\n const parts = [node.trimLeft ? '{%-' : '{%', ' set ', path.call(print, 'assignments', '0', 'name'), node.trimRightSet ? ' -%}' : ' %}']\n node[STRING_NEEDS_QUOTES] = false\n const printedContents = printChildBlock(node, path, print, 'assignments', '0', 'value')\n // const printedContents = path.map(print, \"assignments\", \"0\", \"value\");\n parts.push(printedContents)\n parts.push(hardline, node.trimLeftEndset ? '{%-' : '{%', ' endset ', node.trimRight ? '-%}' : '%}')\n return concat(parts)\n}\n\nexport const printSetStatement = (node, path, print) => {\n node[STRING_NEEDS_QUOTES] = true\n if (isEmbracingSet(node)) {\n return printEmbracingSet(node, path, print)\n }\n return printRegularSet(node, path, print)\n}\n", "import { concat } from './../util/prettier-doc-builders.js'\n\nexport const printSliceExpression = (node, path, print) => {\n const printedTarget = path.call(print, 'target')\n const printedStart = node.start ? path.call(print, 'start') : ''\n const printedEnd = node.end ? path.call(print, 'end') : ''\n return concat([printedTarget, '[', printedStart, ':', printedEnd, ']'])\n}\n", "import { concat, hardline, group } from './../util/prettier-doc-builders.js'\nimport { printChildBlock } from '../util'\n\nexport const printSpacelessBlock = (node, path, print) => {\n const parts = [node.trimLeft ? '{%-' : '{%', ' spaceless ', node.trimRightSpaceless ? '-%}' : '%}']\n parts.push(printChildBlock(node, path, print, 'body'))\n parts.push(hardline)\n parts.push(node.trimLeftEndspaceless ? '{%-' : '{%', ' endspaceless ', node.trimRight ? '-%}' : '%}')\n const result = group(concat(parts))\n return result\n}\n", "import { firstValueInAncestorChain, quoteChar, STRING_NEEDS_QUOTES, OVERRIDE_QUOTE_CHAR } from '../util'\n\nconst isUnmaskedOccurrence = (s, pos) => {\n return pos === 0 || s[pos - 1] !== '\\\\'\n}\n\nconst containsUnmasked = char => s => {\n let pos = s.indexOf(char)\n while (pos >= 0) {\n if (isUnmaskedOccurrence(s, pos)) {\n return true\n }\n pos = s.indexOf(char, pos + 1)\n }\n return false\n}\n\nconst containsUnmaskedSingleQuote = containsUnmasked(\"'\")\nconst containsUnmaskedDoubleQuote = containsUnmasked('\"')\n\nconst getQuoteChar = (s, options) => {\n if (containsUnmaskedSingleQuote(s)) {\n return '\"'\n }\n if (containsUnmaskedDoubleQuote(s)) {\n return \"'\"\n }\n return quoteChar(options)\n}\n\nexport const printStringLiteral = (node, path, print, options) => {\n // The structure this string literal is part of\n // determines if we need quotes or not\n const needsQuotes = firstValueInAncestorChain(path, STRING_NEEDS_QUOTES, false)\n // In case of a string with interpolations, only double quotes\n // are allowed. This is then indicated by OVERRIDE_QUOTE_CHAR\n // in an ancestor.\n const overridingQuoteChar = firstValueInAncestorChain(path, OVERRIDE_QUOTE_CHAR, null)\n\n if (needsQuotes) {\n const quote = overridingQuoteChar ? overridingQuoteChar : getQuoteChar(node.value, options)\n return quote + node.value + quote\n }\n\n return node.value\n}\n", "import { concat, softline, line, group, join, indent } from './../util/prettier-doc-builders.js'\nimport { findParentNode } from '../util'\n\nconst textMap = {\n TestNullExpression: 'null',\n TestDivisibleByExpression: 'divisible by',\n TestDefinedExpression: 'defined',\n TestEmptyExpression: 'empty',\n TestEvenExpression: 'even',\n TestOddExpression: 'odd',\n TestIterableExpression: 'iterable',\n TestSameAsExpression: 'same as'\n}\n\nconst isNegator = node => node.constructor.name === 'UnarySubclass' && node.operator === 'not'\n\nexport const printTestExpression = (node, path, print) => {\n const expressionType = node.__proto__.type\n const parts = [path.call(print, 'expression'), ' is ']\n const parent = findParentNode(path)\n const hasArguments = Array.isArray(node.arguments) && node.arguments.length > 0\n if (isNegator(parent)) {\n parts.push('not ')\n }\n if (!textMap[expressionType]) {\n console.error('TestExpression: No text for ' + expressionType + ' defined')\n } else {\n parts.push(textMap[expressionType])\n }\n if (hasArguments) {\n const printedArguments = path.map(print, 'arguments')\n const joinedArguments = join(concat([',', line]), printedArguments)\n parts.push(group(concat(['(', indent(concat([softline, joinedArguments])), softline, ')'])))\n }\n\n return concat(parts)\n}\n", "import { concat, line, join, hardline } from './../util/prettier-doc-builders'\nimport { isWhitespaceOnly, countNewlines, createTextGroups, PRESERVE_LEADING_WHITESPACE, PRESERVE_TRAILING_WHITESPACE, NEWLINES_ONLY } from '../util'\n\nconst newlinesOnly = (s, preserveWhitespace = true) => {\n const numNewlines = countNewlines(s)\n if (numNewlines === 0) {\n return preserveWhitespace ? line : ''\n } else if (numNewlines === 1) {\n return hardline\n }\n return concat([hardline, hardline])\n}\n\nexport const printTextStatement = (node, path, print) => {\n // Check for special values that might have been\n // computed during preprocessing\n const preserveLeadingWhitespace = node[PRESERVE_LEADING_WHITESPACE] === true\n const preserveTrailingWhitespace = node[PRESERVE_TRAILING_WHITESPACE] === true\n\n const rawString = path.call(print, 'value')\n if (isWhitespaceOnly(rawString) && node[NEWLINES_ONLY]) {\n return newlinesOnly(rawString)\n }\n\n const textGroups = createTextGroups(rawString, preserveLeadingWhitespace, preserveTrailingWhitespace)\n\n return join(concat([hardline, hardline]), textGroups)\n}\n", "import { concat } from '../util/prettier-doc-builders.js'\nimport { createTextGroups, stripTwigCommentChars, normalizeTwigComment, countNewlines } from '../util'\n\nexport const printTwigComment = node => {\n const originalText = node.value.value || ''\n const commentText = stripTwigCommentChars(originalText)\n const trimLeft = originalText.length >= 3 ? originalText[2] === '-' : false\n const trimRight = originalText.length >= 3 ? originalText.slice(-3, -2) === '-' : false\n\n const numNewlines = countNewlines(commentText)\n if (numNewlines === 0) {\n return normalizeTwigComment(commentText, trimLeft, trimRight)\n }\n\n return concat([trimLeft ? '{#-' : '{#', commentText, trimRight ? '-#}' : '#}'])\n}\n", "import { concat, group } from './../util/prettier-doc-builders.js'\nimport { EXPRESSION_NEEDED, STRING_NEEDS_QUOTES, wrapExpressionIfNeeded } from '../util'\n\nexport const printUnaryExpression = (node, path, print) => {\n node[EXPRESSION_NEEDED] = false\n node[STRING_NEEDS_QUOTES] = true\n const parts = [node.operator, path.call(print, 'argument')]\n wrapExpressionIfNeeded(path, parts, node)\n return group(concat(parts))\n}\n", "import { concat, softline, indent, group } from './../util/prettier-doc-builders.js'\nimport { Node } from 'melody-types'\nimport { firstValueInAncestorChain, findParentNode, isMultipartExpression, IS_ROOT_LOGICAL_EXPRESSION, GROUP_TOP_LEVEL_LOGICAL } from '../util'\n\nconst argumentNeedsParentheses = node => isMultipartExpression(node)\n\nconst isLogicalOperator = operator => operator === 'not'\n\nconst printLogicalExpression = (node, path, print) => {\n const foundRootAbove = firstValueInAncestorChain(path, IS_ROOT_LOGICAL_EXPRESSION, false)\n if (!foundRootAbove) {\n node[IS_ROOT_LOGICAL_EXPRESSION] = true\n }\n const parentNode = findParentNode(path)\n const shouldGroupOnTopLevel = parentNode[GROUP_TOP_LEVEL_LOGICAL] !== false\n\n const parts = [node.operator, ' ']\n const needsParentheses = argumentNeedsParentheses(node.argument)\n const printedArgument = path.call(print, 'argument')\n if (needsParentheses) {\n parts.push('(', indent(concat([softline, printedArgument])), concat([softline, ')']))\n } else {\n parts.push(printedArgument)\n }\n const result = concat(parts)\n const shouldCreateTopLevelGroup = !foundRootAbove && shouldGroupOnTopLevel\n\n return shouldCreateTopLevelGroup ? group(result) : result\n}\n\nexport const printUnarySubclass = (node, path, print) => {\n const parts = []\n // Example: a is not same as ... => Here, the \"not\" is printed \"inline\"\n // Therefore, we do not output it here\n const hasTestExpressionArgument = Node.isTestExpression(node.argument)\n if (isLogicalOperator(node.operator) && !hasTestExpressionArgument) {\n return printLogicalExpression(node, path, print)\n }\n if (!hasTestExpressionArgument) {\n parts.push(node.operator, ' ')\n }\n parts.push(path.call(print, 'argument'))\n return concat(parts)\n}\n", "import { STRING_NEEDS_QUOTES } from '../util'\nimport { concat, group, join, softline } from './../util/prettier-doc-builders.js'\n\nexport const printUrlStatement = (node, path, print) => {\n node[STRING_NEEDS_QUOTES] = true\n const parts = [node.trimLeft ? '{%-' : '{%', ' url ', path.call(print, 'name')]\n if (node.arguments && node.arguments.length > 0) {\n // const printedArguments = path.call(print, 'arguments')\n\n parts.push(' ')\n const printedArguments = path.map(print, 'arguments')\n\n let gpargs = group(concat([concat([softline, join(' ', printedArguments)]), softline]))\n\n parts.push(gpargs)\n }\n\n parts.push(node.trimRight ? ' -%}' : ' %}')\n return concat(parts)\n}\n", "import { concat, group, indent, join, line } from './../util/prettier-doc-builders.js'\n\nexport const printUseStatement = (node, path, print) => {\n const docs = [node.trimLeft ? '{%-' : '{%', ' use \"', path.call(print, 'source'), '\"']\n const hasAliases = node.aliases && node.aliases.length > 0\n if (hasAliases) {\n docs.push(' with')\n const mappedAliases = path.map(print, 'aliases')\n docs.push(indent(concat([line, join(concat([',', line]), mappedAliases)])))\n docs.push(line)\n } else {\n docs.push(' ')\n }\n docs.push(node.trimRight ? '-%}' : '%}')\n return group(concat(docs))\n}\n", "import { concat, line, indent } from './../util/prettier-doc-builders.js'\nimport { STRING_NEEDS_QUOTES, isContractableNodeType } from '../util'\n\nexport const printVariableDeclarationStatement = (node, path, print) => {\n const printedName = path.call(print, 'name')\n node[STRING_NEEDS_QUOTES] = true\n const printedValue = path.call(print, 'value')\n const shouldCondenseLayout = isContractableNodeType(node.value)\n const rightHandSide = shouldCondenseLayout ? concat([' ', printedValue]) : indent(concat([line, printedValue]))\n\n // We are explicitly not returning a group here, because\n // a VariableDeclarationStatement is - currently - always\n // embedded in a group created by SetStatement.\n return concat([printedName, ' =', rightHandSide])\n}\n", "import { EXPRESSION_NEEDED, printChildBlock } from '../util'\nimport { concat, group, hardline, join, softline } from './../util/prettier-doc-builders.js'\n\nexport const printWithStatement = (node, path, print) => {\n node[EXPRESSION_NEEDED] = false\n\n let gpargs\n if (node.arguments && node.arguments.length > 0) {\n const printedArguments = path.map(print, 'arguments')\n\n gpargs = group(concat([concat([softline, join(' ', printedArguments)]), softline]))\n }\n\n const hasChildren = Array.isArray(node.body)\n\n if (hasChildren) {\n const opener = concat([node.trimLeft ? '{%-' : '{%', ' with ', gpargs, node.trimRightBlock ? ' -%}' : ' %}'])\n const parts = [opener]\n if (node.body.length > 0) {\n const indentedBody = printChildBlock(node, path, print, 'body')\n parts.push(indentedBody)\n }\n parts.push(hardline)\n parts.push(node.trimLeftEndblock ? '{%-' : '{%', ' endwith', node.trimRight ? ' -%}' : ' %}')\n\n const result = group(concat(parts))\n return result\n } else if (Node.isPrintExpressionStatement(node.body)) {\n const parts = [node.trimLeft ? '{%-' : '{%', ' with ', gpargs, ' ', path.call(print, 'body', 'value'), node.trimRight ? ' -%}' : ' %}']\n return concat(parts)\n }\n}\n", "'use strict'\n\nimport { ORIGINAL_SOURCE } from './parser'\nimport { printAliasExpression } from './print/AliasExpression.js'\nimport { printArrayExpression } from './print/ArrayExpression.js'\nimport { printAttribute } from './print/Attribute.js'\nimport { printAutoescapeBlock } from './print/AutoescapeBlock.js'\nimport { printBinaryExpression } from './print/BinaryExpression.js'\nimport { printBlockStatement } from './print/BlockStatement.js'\nimport { printCallExpression } from './print/CallExpression.js'\nimport { printConditionalExpression } from './print/ConditionalExpression.js'\nimport { printDeclaration } from './print/Declaration.js'\nimport { printDoStatement } from './print/DoStatement.js'\nimport { printElement } from './print/Element.js'\nimport { printEmbedStatement } from './print/EmbedStatement.js'\nimport { printExpressionStatement } from './print/ExpressionStatement.js'\nimport { printExtendsStatement } from './print/ExtendsStatement.js'\nimport { printFilterBlockStatement } from './print/FilterBlockStatement.js'\nimport { printFilterExpression } from './print/FilterExpression.js'\nimport { printFlushStatement } from './print/FlushStatement.js'\nimport { printForStatement } from './print/ForStatement.js'\nimport { printFromStatement } from './print/FromStatement.js'\nimport { printGenericToken } from './print/GenericToken.js'\nimport { printGenericTwigTag } from './print/GenericTwigTag.js'\nimport { printHtmlComment } from './print/HtmlComment.js'\nimport { printIdentifier } from './print/Identifier.js'\nimport { printIfStatement } from './print/IfStatement.js'\nimport { printImportDeclaration } from './print/ImportDeclaration.js'\nimport { printIncludeStatement } from './print/IncludeStatement.js'\nimport { printMacroDeclarationStatement } from './print/MacroDeclarationStatement.js'\nimport { printMemberExpression } from './print/MemberExpression.js'\nimport { printMountStatement } from './print/MountStatement.js'\nimport { printNamedArgumentExpression } from './print/NamedArgumentExpression.js'\nimport { printObjectExpression } from './print/ObjectExpression.js'\nimport { printObjectProperty } from './print/ObjectProperty.js'\nimport { printSequenceExpression } from './print/SequenceExpression.js'\nimport { printSetStatement } from './print/SetStatement.js'\nimport { printSliceExpression } from './print/SliceExpression.js'\nimport { printSpacelessBlock } from './print/SpacelessBlock.js'\nimport { printStringLiteral } from './print/StringLiteral.js'\nimport { printTestExpression } from './print/TestExpression.js'\nimport { printTextStatement } from './print/TextStatement.js'\nimport { printTwigComment } from './print/TwigComment.js'\nimport { printUnaryExpression } from './print/UnaryExpression.js'\nimport { printUnarySubclass } from './print/UnarySubclass.js'\nimport { printUrlStatement } from './print/UrlStatement.js'\nimport { printUseStatement } from './print/UseStatement.js'\nimport { printVariableDeclarationStatement } from './print/VariableDeclarationStatement.js'\nimport { printWithStatement } from './print/WithStatement.js'\nimport { getPluginPathsFromOptions, isHtmlCommentEqualTo, isTwigCommentEqualTo, isWhitespaceNode, loadPlugins } from './util'\n\nconst printFunctions = {}\n\nconst applyPlugin = (loadedPlugin) => {\n if (loadedPlugin && loadedPlugin.printers) {\n for (const printerName of Object.keys(loadedPlugin.printers)) {\n printFunctions[printerName] = loadedPlugin.printers[printerName]\n }\n }\n}\n\nconst applyPlugins = (options) => {\n const pluginPaths = getPluginPathsFromOptions(options)\n const loadedPlugins = loadPlugins(pluginPaths)\n loadedPlugins.forEach((plugin) => {\n applyPlugin(plugin)\n })\n}\n\nconst isHtmlIgnoreNextComment = isHtmlCommentEqualTo('prettier-ignore')\nconst isHtmlIgnoreStartComment = isHtmlCommentEqualTo('prettier-ignore-start')\nconst isHtmlIgnoreEndComment = isHtmlCommentEqualTo('prettier-ignore-end')\nconst isTwigIgnoreNextComment = isTwigCommentEqualTo('prettier-ignore')\nconst isTwigIgnoreStartComment = isTwigCommentEqualTo('prettier-ignore-start')\nconst isTwigIgnoreEndComment = isTwigCommentEqualTo('prettier-ignore-end')\n\nconst isIgnoreNextComment = (s) => isHtmlIgnoreNextComment(s) || isTwigIgnoreNextComment(s)\nconst isIgnoreRegionStartComment = (s) => isHtmlIgnoreStartComment(s) || isTwigIgnoreStartComment(s)\nconst isIgnoreRegionEndComment = (s) => isHtmlIgnoreEndComment(s) || isTwigIgnoreEndComment(s)\n\nlet originalSource = ''\nlet ignoreRegion = false\nlet ignoreNext = false\n\nconst checkForIgnoreStart = (node) => {\n // Keep current \"ignoreNext\" value if it's true,\n // but is not applied in this step yet\n ignoreNext = (ignoreNext && !shouldApplyIgnoreNext(node)) || isIgnoreNextComment(node)\n ignoreRegion = ignoreRegion || isIgnoreRegionStartComment(node)\n}\n\nconst checkForIgnoreEnd = (node) => {\n if (ignoreRegion && isIgnoreRegionEndComment(node)) {\n ignoreRegion = false\n }\n}\n\nconst shouldApplyIgnoreNext = (node) => !isWhitespaceNode(node)\n\nconst print = (path, options, print) => {\n applyPlugins(options)\n\n const node = path.getValue()\n const nodeType = node.constructor.name\n\n // Try to get the entire original source from AST root\n if (node[ORIGINAL_SOURCE]) {\n originalSource = node[ORIGINAL_SOURCE]\n }\n\n if (options.twigPrintWidth) {\n options.printWidth = options.twigPrintWidth\n }\n\n checkForIgnoreEnd(node)\n const useOriginalSource = (shouldApplyIgnoreNext(node) && ignoreNext) || ignoreRegion\n const hasPrintFunction = printFunctions[nodeType]\n\n // Happy path: We have a formatting function, and the user wants the\n // node formatted\n if (!useOriginalSource && hasPrintFunction) {\n checkForIgnoreStart(node)\n return printFunctions[nodeType](node, path, print, options)\n } else if (!hasPrintFunction) {\n console.warn(`No print function available for node type \"${nodeType}\"`)\n }\n\n checkForIgnoreStart(node)\n\n // Fallback: Use the node's loc property with the\n // originalSource property on the AST root\n if (canGetSubstringForNode(node)) {\n return getSubstringForNode(node)\n }\n\n return ''\n}\n\nconst getSubstringForNode = (node) => originalSource.substring(node.loc.start.index, node.loc.end.index)\n\nconst canGetSubstringForNode = (node) => originalSource && node.loc && node.loc.start && node.loc.end && node.loc.start.index && node.loc.end.index\n/**\n * Prettier printing works with a so-called FastPath object, which is\n * passed into many of the following methods through a \"path\" argument.\n * This is basically a stack, and the way to do do recursion in Prettier\n * is through this path object.\n *\n * For example, you might expect to write something like this:\n *\n * BinaryExpression.prototype.prettyPrint = _ => {\n * return concat([\n * this.left.prettyPrint(),\n * \" \",\n * this.operator,\n * \" \",\n * this.right.prettyPrint()\n * ]);\n * };\n *\n * Here, the prettyPrint() method of BinaryExpression calls the prettyPrint()\n * methods of the left and right operands. However, it actually has to be\n * done like this in Prettier plugins:\n *\n * BinaryExpression.prototype.prettyPrint = (path, print) => {\n * const docs = [\n * path.call(print, \"left\"),\n * \" \",\n * this.operator,\n * \" \",\n * path.call(print, \"right\")\n * ];\n * return concat(docs);\n * };\n *\n * The first argument to path.call() seems to always be the print function\n * that is passed in (a case of bad interface design and over-complication?),\n * at least I have not found any other instance. The arguments after that are\n * field names that are pulled from the node and put on the stack for the\n * next processing step(s) => this is how recursion is done.\n *\n */\n\nprintFunctions['SequenceExpression'] = printSequenceExpression\nprintFunctions['ConstantValue'] = (node) => {\n return node.value\n}\nprintFunctions['StringLiteral'] = printStringLiteral\nprintFunctions['Identifier'] = printIdentifier\nprintFunctions['UnaryExpression'] = printUnaryExpression\nprintFunctions['BinaryExpression'] = printBinaryExpression\nprintFunctions['BinarySubclass'] = printBinaryExpression\nprintFunctions['UnarySubclass'] = printUnarySubclass\nprintFunctions['TestExpression'] = printTestExpression\nprintFunctions['ConditionalExpression'] = printConditionalExpression\nprintFunctions['Element'] = printElement\nprintFunctions['Attribute'] = printAttribute\nprintFunctions['PrintTextStatement'] = printTextStatement\nprintFunctions['PrintExpressionStatement'] = printExpressionStatement\nprintFunctions['MemberExpression'] = printMemberExpression\nprintFunctions['FilterExpression'] = printFilterExpression\nprintFunctions['ObjectExpression'] = printObjectExpression\nprintFunctions['ObjectProperty'] = printObjectProperty\n\n// Return value has to be a string\nconst returnNodeValue = (node) => '' + node.value\n\nprintFunctions['Fragment'] = (node, path, print) => {\n return path.call(print, 'value')\n}\nprintFunctions['NumericLiteral'] = returnNodeValue\nprintFunctions['BooleanLiteral'] = returnNodeValue\nprintFunctions['NullLiteral'] = () => 'null'\nprintFunctions['ArrayExpression'] = printArrayExpression\nprintFunctions['CallExpression'] = printCallExpression\nprintFunctions['NamedArgumentExpression'] = printNamedArgumentExpression\nprintFunctions['SliceExpression'] = printSliceExpression\nprintFunctions['UseStatement'] = printUseStatement\nprintFunctions['AliasExpression'] = printAliasExpression\nprintFunctions['BlockStatement'] = printBlockStatement\nprintFunctions['SpacelessBlock'] = printSpacelessBlock\nprintFunctions['AutoescapeBlock'] = printAutoescapeBlock\nprintFunctions['FlushStatement'] = printFlushStatement\nprintFunctions['IncludeStatement'] = printIncludeStatement\nprintFunctions['UrlStatement'] = printUrlStatement\nprintFunctions['WithStatement'] = printWithStatement\nprintFunctions['IfStatement'] = printIfStatement\nprintFunctions['MountStatement'] = printMountStatement\nprintFunctions['ForStatement'] = printForStatement\nprintFunctions['BinaryConcatExpression'] = printBinaryExpression\nprintFunctions['SetStatement'] = printSetStatement\nprintFunctions['VariableDeclarationStatement'] = printVariableDeclarationStatement\nprintFunctions['DoStatement'] = printDoStatement\nprintFunctions['ExtendsStatement'] = printExtendsStatement\nprintFunctions['EmbedStatement'] = printEmbedStatement\nprintFunctions['FilterBlockStatement'] = printFilterBlockStatement\nprintFunctions['ImportDeclaration'] = printImportDeclaration\nprintFunctions['FromStatement'] = printFromStatement\nprintFunctions['MacroDeclarationStatement'] = printMacroDeclarationStatement\nprintFunctions['TwigComment'] = printTwigComment\nprintFunctions['HtmlComment'] = printHtmlComment\nprintFunctions['Declaration'] = printDeclaration\nprintFunctions['GenericTwigTag'] = (node, path, print, options) => {\n const tagName = node.tagName\n if (printFunctions[tagName + 'Tag']) {\n // Give the user the chance to implement a custom\n // print function for certain generic Twig tags\n return printFunctions[tagName + 'Tag'](node, path, print, options)\n }\n return printGenericTwigTag(node, path, print, options)\n}\nprintFunctions['GenericToken'] = printGenericToken\n\n// Fallbacks\nprintFunctions['String'] = (s) => s\n\nexport { print }\n", "import { Element } from 'melody-types'\nimport { printOpeningTag } from './print/Element'\nimport { concat, dedent, group, hardline, indent, softline } from './util/prettier-doc-builders'\n\nexport function embed(path, print, textToDoc, options) {\n const node = path.getValue()\n if (options.embeddedLanguageFormatting == 'auto' && node instanceof Element) {\n let tagName = node.name.toLowerCase()\n if (tagName == 'script' || tagName == 'style') {\n let parser = tagName == 'script' ? 'babel' : 'css'\n let { value } = node.children?.[0].value\n if (value) {\n let opening = group(printOpeningTag(node, path, print))\n let children = indent([softline, textToDoc(value, { ...options, parser }, { stripTrailingHardline: true })])\n return [opening, children, hardline, concat([''])]\n }\n }\n }\n return false\n}\n", "import { commands, CompletionList, ExtensionContext, Hover, languages, TextEdit, Range } from 'vscode';\nimport { formatting } from './formatting';\nimport { clearVirtualDocumentContents, createVirtualDoc, registerTextDocumentEvents } from './virtualDocument';\n\nconst languageIds = [\"django-html\"];\n\nexport function activate(context: ExtensionContext) {\n\n\tregisterTextDocumentEvents(context, languageIds);\n\n\tconst diagnosticCollection = languages.createDiagnosticCollection('django');\n\tcontext.subscriptions.push(diagnosticCollection);\n\n\tcontext.subscriptions.push(languages.registerDocumentFormattingEditProvider('django-html', {\n\t\tprovideDocumentFormattingEdits: async (document, options, token) => {\n\t\t\tconst otext = document.getText();\n\t\t\tif (!otext) { return; }\n\t\t\tlet newDoc = document;\n\t\t\t// try {\n\t\t\t// const vdocUri = createVirtualDoc(document);\n\t\t\t// \tconst textEdits = await commands.executeCommand(\"vscode.executeFormatDocumentProvider\", vdocUri, options);\n\t\t\t// \tlet ntext = '';\n\t\t\t// \tlet start = 0;\n\t\t\t// \tfor (let i = 0; i < textEdits.length; i++) {\n\t\t\t// \t\tconst te = textEdits[i];\n\t\t\t// \t\tntext += otext.slice(start, document.offsetAt(te.range.start)) + te.newText;\n\t\t\t// \t\tstart = document.offsetAt(te.range.end);\n\t\t\t// \t}\n\t\t\t// \tntext += otext.slice(start);\n\t\t\t// \tnewDoc = { uri: document.uri, getText() { return ntext; } };\n\t\t\t// } catch (err) {\n\t\t\t// \tconsole.log(err);\n\t\t\t// \tnewDoc = document;\n\t\t\t// }\n\n\t\t\tconst text = formatting(newDoc, diagnosticCollection);\n\t\t\tif (text && text != otext) {\n\t\t\t\tconst range = new Range(document.positionAt(0), document.positionAt(otext.length));\n\t\t\t\treturn [new TextEdit(range, text)];\n\t\t\t} else {\n\t\t\t\treturn [];\n\t\t\t}\n\t\t},\n\t}));\n\n\tcontext.subscriptions.push(languages.registerCompletionItemProvider(languageIds, {\n\t\tprovideCompletionItems: async (document, position, token, context) => {\n\t\t\tconst vdocUri = createVirtualDoc(document);\n\t\t\treturn await commands.executeCommand(\n\t\t\t\t'vscode.executeCompletionItemProvider',\n\t\t\t\tvdocUri,\n\t\t\t\tposition,\n\t\t\t\tcontext.triggerCharacter\n\t\t\t);\n\t\t},\n\t}, '.', '(', ':', '<'));\n\tcontext.subscriptions.push(languages.registerHoverProvider(languageIds, {\n\t\tprovideHover: async (document, position, token) => {\n\t\t\tconst vdocUri = createVirtualDoc(document);\n\t\t\tconst hs = await commands.executeCommand(\n\t\t\t\t'vscode.executeHoverProvider',\n\t\t\t\tvdocUri,\n\t\t\t\tposition\n\t\t\t);\n\t\t\treturn hs?.[0];\n\t\t}\n\t}));\n}\n\nexport function deactivate(): Thenable | undefined {\n\tclearVirtualDocumentContents();\n\treturn undefined;\n}\n", "import { format, Options, ParserOptions, resolveConfig } from 'prettier';\n// import * as djangoPlugin from 'prettier-plugin-django';\nimport * as htmlPlugin from 'prettier/parser-html';\nimport { Diagnostic, DiagnosticCollection, Range, TextDocument } from 'vscode';\nimport * as djangoPlugin from \"D:/git/prettier-plugin-django/out\";\n\nexport function formatting(document: TextDocument, diagnosticCollection?: DiagnosticCollection): string {\n\tconst options = {\n\t\t\"tabWidth\": 2,\n\t\t\"printWidth\": 5000,\n\t\t\"semi\": false,\n\t\t\"singleQuote\": true,\n\t\t\"trailingComma\": \"none\",\n\n\t\t\"twigPrintWidth\": 5000,\n\t\t\"twigMultiTags\": [\n\t\t\t\"with,endwith\"\n\t\t],\n\t\t\"twigAlwaysBreakObjects\": false,\n\t\t\"twigSingleQuote\": true,\n\t\t// \"overrides\": [\n\t\t// \t{\n\t\t// \t\t\"files\": [\n\t\t// \t\t\t\"*.django\",\n\t\t// \t\t\tdocument.uri.fsPath\n\t\t// \t\t],\n\t\t// \t\t\"options\": {\n\t\t// \t\t}\n\t\t// \t}\n\t\t// ],\n\t\t\"parser\": \"melody\",\n\t\t\"plugins\": [\n\t\t\t// \"D:/npm/global/node_modules/prettier-plugin-django\"\n\t\t],\n\t\t\"htmlWhitespaceSensitivity\": \"ignore\",\n\t\t\"embeddedLanguageFormatting\": 'auto',\n\t};\n\tObject.assign(options, resolveConfig.sync(document.uri.fsPath) ?? []);\n\toptions.twigSingleQuote = true;\n\toptions.plugins = [djangoPlugin];\n\toptions.parser = \"melody\";\n\toptions.htmlWhitespaceSensitivity = 'ignore';\n\toptions.embeddedLanguageFormatting = 'off';\n\n\tconst doc = { text: document.getText() };\n\ttry {\n\t\tdoc.text = format(doc.text, options as Options);\n\t\tif (!doc.text) {\n\t\t\tthrow new Error('django-html: formatting failed');\n\t\t}\n\n\t\t//if use `prettier-plugin-django`, can't get the error tips, so not use it\n\t\tformatStyleAndScript(doc, options as Options)\n\t\tdiagnosticCollection?.clear()\n\t} catch (error) {\n\t\tif (diagnosticCollection && error.loc) {\n\t\t\tdiagnosticCollection.clear();\n\t\t\tconst loc = error.loc\n\t\t\tif (!loc.end) {\n\t\t\t\tloc.end = { line: loc.start.line, column: loc.start.column + 1 };\n\t\t\t}\n\t\t\tlet line = loc.start.line - 1, col = loc.start.column - 1;\n\t\t\tlet line2 = loc.end.line - 1, col2 = loc.end.column - 1;\n\t\t\tlet range = new Range(line, col, line2, col2);\n\t\t\tsetTimeout(() => diagnosticCollection.set(document.uri, [new Diagnostic(range, error.message.split(' \\t ')[0].split('\\n')[0], 0)]), 250);\n\t\t} else {\n\t\t\tconsole.log(error)\n\t\t}\n\t}\n\treturn doc.text;\n}\n\nfunction formatStyleAndScript(doc: { text: string }, options: Options) {\n\tlet indent = ' '\n\tif (options.useTabs) {\n\t\tindent = '\\t'\n\t} else {\n\t\tif (options.tabWidth) {\n\t\t\tindent = ' '.repeat(options.tabWidth)\n\t\t}\n\t}\n\tlet eol = doc.text.includes('\\r\\n') ? '\\r\\n' : '\\n';\n\n\tlet result = htmlPlugin.parsers.html.parse(doc.text, null, {} as ParserOptions)\n\tlet incrChars = 0;\n\tlet incrLines = 0;\n\tconst doFormat = (root) => {\n\t\tif (!root.children) return\n\t\tfor (let i = 0; i < root.children.length; i++) {\n\t\t\tconst node = root.children[i];\n\t\t\tif (node.type == 'element' && (node.name == 'script' || node.name == 'style')) {\n\t\t\t\tif (node.children.length == 0) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (node.prev && node.prev.value) {\n\t\t\t\t\tlet pv = node.prev.value.trim()\n\t\t\t\t\tif (pv.endsWith('{# prettier-ignore #}') || pv.endsWith('{% comment %}')) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tlet child = node.children[0]\n\t\t\t\tlet ctext = child.value\n\t\t\t\tif (ctext.trim()) {\n\t\t\t\t\toptions.parser = node.name == 'script' ? 'babel' : 'css'\n\n\t\t\t\t\tlet tagOffset = node.sourceSpan.start.offset;\n\t\t\t\t\tlet tagOffset2 = tagOffset;\n\t\t\t\t\twhile (tagOffset2 > -1) {\n\t\t\t\t\t\tif (doc.text[tagOffset2 + incrChars] == \"\\n\") {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\ttagOffset2--;\n\t\t\t\t\t}\n\t\t\t\t\tlet tagIndent = doc.text.slice(tagOffset2 + 1 + incrChars, tagOffset + incrChars).replace(/\\S/g, ' ');\n\n\t\t\t\t\tctext = '\\n'.repeat(child.sourceSpan.start.line + incrLines) + ' '.repeat(child.sourceSpan.start.col) + child.value; //keep the line and column for error tips\n\t\t\t\t\tctext = eol + format(ctext, options).trim().split(eol).map(line => tagIndent + indent + line).join(eol) + eol + tagIndent;\n\t\t\t\t} else {\n\t\t\t\t\tctext = ''\n\t\t\t\t}\n\t\t\t\tconst start = child.sourceSpan.start.offset;\n\t\t\t\tdoc.text = doc.text.slice(0, start + incrChars) + ctext + doc.text.slice(start + child.value.length + incrChars);\n\t\t\t\tincrChars += ctext.length - child.value.length;\n\t\t\t\tincrLines += ctext.split('\\n').length - child.value.split('\\n').length;\n\t\t\t} else {\n\t\t\t\tdoFormat(node)\n\t\t\t}\n\t\t}\n\t}\n\tdoFormat(result);\n}", "import { Uri, workspace, ExtensionContext } from 'vscode';\n\nconst virtualDocumentContents = new Map();\nconst virtualDocumentPaths = new Map();\n\nexport interface ITextDocument {\n\turi: Uri | string;\n\tgetText(): string;\n}\n\nworkspace.registerTextDocumentContentProvider('dj-embedded-content', {\n\tprovideTextDocumentContent: uri => {\n\t\tconst i = uri.path.lastIndexOf('/');\n\t\tconst originalUri = uri.path.slice(1).slice(0, i - 1);\n\t\tconst decodedUri = decodeURIComponent(originalUri);\n\t\treturn virtualDocumentContents.get(decodedUri);\n\t}\n});\n\nexport function registerTextDocumentEvents(context: ExtensionContext, languageIds: string[]) {\n\tcontext.subscriptions.push(workspace.onDidChangeTextDocument(event => {\n\t\tif (languageIds.includes(event.document.languageId)) {\n\t\t\tvirtualDocumentPaths.delete(event.document.uri.toString());\n\t\t}\n\t}));\n\tcontext.subscriptions.push(workspace.onDidCloseTextDocument(doc => {\n\t\tif (doc.languageId == 'html') {\n\t\t\tvirtualDocumentContents.delete(doc.uri.toString());\n\t\t}\n\t}));\n\tcontext.subscriptions.push(workspace.onDidRenameFiles(event => {\n\t\tevent.files.forEach(f => {\n\t\t\tvirtualDocumentContents.delete(f.oldUri.toString());\n\t\t});\n\t}));\n}\n\nexport function createVirtualDoc(document: ITextDocument, languageId?: string) {\n\tlanguageId = languageId ?? \"html\";\n\tlet originalUri = document.uri.toString();\n\tif (languageId != \"html\") {\n\t\toriginalUri += \".\" + languageId;\n\t}\n\n\tvirtualDocumentContents.set(originalUri, document.getText());\n\n\t// const vdocUriString = `dj-embedded-content://django-html/${encodeURIComponent(originalUri)}.html`;\n\tlet path: string;\n\tif (virtualDocumentPaths.has(originalUri)) {\n\t\tpath = virtualDocumentPaths.get(originalUri);\n\t} else {\n\t\tpath = `/${encodeURIComponent(originalUri)}/${Math.random()}.${languageId}`;\n\t\tvirtualDocumentPaths.set(originalUri, path);\n\t}\n\t// random uri, as hoverProvide may cache hover info by uri\n\treturn Uri.from({\n\t\tscheme: 'dj-embedded-content',\n\t\tauthority: 'django-html',\n\t\tpath: path\n\t});\n}\n\nexport function clearVirtualDocumentContents() {\n\tvirtualDocumentContents.clear();\n}"], + "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,QAAAA,KAAAC,EAAA,CAAAC,IAAAC,OAAA;AACA,UAAIC,KAASD,GAAO,UAAU,OAAO,SAAU,OAAe,OAAO,QAAQ,OACzE,SAAS,OAAO,OAAQ,OAAe,KAAK,QAAQ,OAAO,OAE3D,SAAS,aAAa,EAAE;AACxB,aAAO,OAAO,aAAU,MAAMC;IAAAA,CAAAA;ACLlC,QAAAC,KAAAJ,EAAA,CAAAC,IAAAC,OAAA;AAAA,UAAIG,KAAiB,CAAC,EAAE;AACxBH,SAAO,UAAU,SAAUI,GAAIC,GAAK;AAClC,eAAOF,GAAe,KAAKC,GAAIC,CAAG;MACpC;IAAA,CAAA;ACHA,QAAAC,KAAAR,EAAA,CAAAC,IAAAC,OAAA;AAAAA,SAAO,UAAU,SAAUO,GAAM;AAC/B,YAAI;AACF,iBAAO,CAAC,CAACA,EAAK;QAChB,QAAA;AACE,iBAAO;QACT;MACF;IAAA,CAAA;ACNA,QAAAC,KAAAV,EAAA,CAAAC,IAAAC,OAAA;AACAA,SAAO,UAAU,CAAC,GAAA,EAAoB,WAAY;AAChD,eAAO,OAAO,eAAe,CAAC,GAAG,KAAK,EAAE,KAAK,WAAY;AAAE,iBAAO;QAAG,EAAE,CAAC,EAAE,KAAK;MACjF,CAAC;IAAA,CAAA;ACHD,QAAAS,KAAAX,EAAA,CAAAC,IAAAC,OAAA;AAAA,UAAIU,KAAOV,GAAO,UAAU,EAAE,SAAS,SAAS;AAC5C,aAAO,OAAO,aAAU,MAAMU;IAAAA,CAAAA;ACDlC,QAAAC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U;AAClD,YAAM,UAAU,iBAAiB,QAAQ;AACzC,YAAMC,MAAK,MAAM,wBAAS;AAAA,QACzB;AAAA,QACA;AAAA,QACA;AAAA,MACD;AACA,aAAOA,MAAK;AAAA,IACb;AAAA,EACD,CAAC,CAAC;AACH;AAEO,SAAS,aAAyC;AACxD,+BAA6B;AAC7B,SAAO;AACR;", + "names": ["require_global", "__commonJSMin", "exports", "module", "global", "require_has", "hasOwnProperty", "it", "key", "require_fails", "exec", "require_descriptors", "require_core", "core", "require_a_function", "require_ctx", "aFunction", "fn", "that", "length", "a", "b", "c", "require_is_object", "require_an_object", "isObject", "require_dom_create", "document", "is", "require_ie8_dom_define", "require_to_primitive", "S", "val", "require_object_dp", "anObject", "IE8_DOM_DEFINE", "toPrimitive", "dP", "__name", "O", "P", "Attributes", "require_property_desc", "bitmap", "value", "require_hide", "createDesc", "object", "require_export", "ctx", "hide", "has", "PROTOTYPE", "$export", "type", "name", "source", "IS_FORCED", "IS_GLOBAL", "IS_STATIC", "IS_PROTO", "IS_BIND", "IS_WRAP", "expProto", "target", "own", "out", "C", "F", "require_redefine", "require_uid", "id", "px", "require_meta", "META", "setDesc", "isExtensible", "FREEZE", "setMeta", "fastKey", "create", "getWeak", "onFreeze", "meta", "require_library", "require_shared", "SHARED", "store", "require_wks", "uid", "Symbol", "USE_SYMBOL", "$exports", "require_set_to_string_tag", "def", "TAG", "tag", "stat", "require_wks_ext", "require_wks_define", "LIBRARY", "wksExt", "defineProperty", "$Symbol", "require_cof", "toString", "require_iobject", "cof", "require_defined", "require_to_iobject", "IObject", "defined", "require_to_integer", "ceil", "floor", "require_to_length", "toInteger", "min", "require_to_absolute_index", "max", "index", "require_array_includes", "toIObject", "toLength", "toAbsoluteIndex", "IS_INCLUDES", "$this", "el", "fromIndex", "require_shared_key", "shared", "require_object_keys_internal", "arrayIndexOf", "IE_PROTO", "names", "i", "result", "require_enum_bug_keys", "require_object_keys", "$keys", "enumBugKeys", "require_object_gops", "require_object_pie", "require_enum_keys", "getKeys", "gOPS", "pIE", "getSymbols", "symbols", "isEnum", "require_is_array", "arg", "require_to_object", "require_object_dps", "Properties", "keys", "require_html", "require_object_create", "dPs", "Empty", "createDict", "iframe", "lt", "gt", "iframeDocument", "require_object_gopn", "hiddenKeys", "require_object_gopn_ext", "gOPN", "windowNames", "getWindowNames", "require_object_gopd", "gOPD", "require_es6_symbol", "DESCRIPTORS", "redefine", "$fails", "setToStringTag", "wks", "wksDefine", "enumKeys", "isArray", "toObject", "_create", "gOPNExt", "$GOPD", "$GOPS", "$DP", "$JSON", "_stringify", "HIDDEN", "TO_PRIMITIVE", "SymbolRegistry", "AllSymbols", "OPSymbols", "ObjectProto", "USE_NATIVE", "QObject", "setter", "setSymbolDesc", "D", "protoDesc", "wrap", "sym", "isSymbol", "$defineProperty", "$defineProperties", "l", "$create", "$propertyIsEnumerable", "E", "$getOwnPropertyDescriptor", "$getOwnPropertyNames", "$getOwnPropertySymbols", "IS_OP", "$set", "es6Symbols", "j", "wellKnownSymbols", "k", "FAILS_ON_PRIMITIVES", "args", "replacer", "$replacer", "require_get_own_property_symbols", "require_add_to_unscopables", "require_iter_step", "done", "require_iterators", "require_iter_create", "descriptor", "IteratorPrototype", "Constructor", "NAME", "next", "require_object_gpo", "require_iter_define", "Iterators", "$iterCreate", "getPrototypeOf", "ITERATOR", "BUGGY", "FF_ITERATOR", "KEYS", "VALUES", "returnThis", "Base", "DEFAULT", "IS_SET", "FORCED", "getMethod", "kind", "proto", "DEF_VALUES", "VALUES_BUG", "$native", "$default", "$entries", "$anyNative", "methods", "require_es6_array_iterator", "addToUnscopables", "step", "iterated", "require_web_dom_iterable", "TO_STRING_TAG", "DOMIterables", "Collection", "require_string_at", "TO_STRING", "pos", "s", "require_es6_string_iterator", "$at", "point", "require_classof", "ARG", "tryGet", "T", "B", "require_core_get_iterator_method", "classof", "require_core_get_iterator", "get", "iterFn", "require_get_iterator", "require_object_sap", "fails", "KEY", "exp", "require_es6_object_keys", "require_keys", "require_stringify", "require_for", "require_constants", "_for", "_for2", "_interopRequireDefault", "obj", "STATEMENT_OR_BLOCK_KEYS", "FLATTENABLE_KEYS", "FOR_INIT_KEYS", "COMMENT_KEYS", "LOGICAL_OPERATORS", "UPDATE_OPERATORS", "BOOLEAN_NUMBER_BINARY_OPERATORS", "EQUALITY_BINARY_OPERATORS", "COMPARISON_BINARY_OPERATORS", "BOOLEAN_BINARY_OPERATORS", "NUMBER_BINARY_OPERATORS", "BINARY_OPERATORS", "BOOLEAN_UNARY_OPERATORS", "NUMBER_UNARY_OPERATORS", "STRING_UNARY_OPERATORS", "UNARY_OPERATORS", "INHERIT_KEYS", "BLOCK_SCOPED_SYMBOL", "NOT_LOCAL_BINDING", "require_es6_object_create", "require_create", "$Object", "require_retrievers", "_create2", "getBindingIdentifiers", "getOuterBindingIdentifiers", "_index", "t", "_interopRequireWildcard", "newObj", "node", "duplicates", "outerOnly", "search", "ids", "_ids", "require_iterator", "require_es6_object_to_string", "require_es7_symbol_async_iterator", "require_es7_symbol_observable", "require_symbol", "require_typeof", "_iterator", "_iterator2", "_symbol", "_symbol2", "_typeof", "require_ast", "isExpression", "isIterationStatement", "isStatement", "isSourceElement", "trailingStatement", "isProblematicIfStatement", "current", "require_code", "ES6Regex", "ES5Regex", "NON_ASCII_WHITESPACES", "IDENTIFIER_START", "IDENTIFIER_PART", "ch", "isDecimalDigit", "isHexDigit", "isOctalDigit", "isWhiteSpace", "isLineTerminator", "fromCodePoint", "cp", "cu1", "cu2", "isIdentifierStartES5", "isIdentifierPartES5", "isIdentifierStartES6", "isIdentifierPartES6", "require_keyword", "code", "isStrictModeReservedWordES6", "isKeywordES5", "strict", "isKeywordES6", "isReservedWordES5", "isReservedWordES6", "isRestrictedWord", "isIdentifierNameES5", "iz", "decodeUtf16", "lead", "trail", "isIdentifierNameES6", "lowCh", "check", "isIdentifierES5", "isIdentifierES6", "require_utils", "require_validators", "_keys", "_keys2", "_typeof2", "_typeof3", "_getIterator2", "_getIterator3", "isBinding", "isReferenced", "isValidIdentifier", "isLet", "isBlockScoped", "isVar", "isSpecifierDefault", "isScope", "isImmutable", "isNodesEquivalent", "_retrievers", "_esutils", "_esutils2", "_constants", "parent", "_isArray", "_i", "_ref", "param", "specifier", "fields", "_isArray2", "_i2", "_ref2", "field", "require_es6_number_max_safe_integer", "require_max_safe_integer", "require_freeGlobal", "freeGlobal", "require_root", "freeSelf", "root", "require_Symbol", "require_getRawTag", "objectProto", "nativeObjectToString", "symToStringTag", "getRawTag", "isOwn", "unmasked", "require_objectToString", "objectToString", "require_baseGetTag", "nullTag", "undefinedTag", "baseGetTag", "require_overArg", "overArg", "func", "transform", "require_getPrototype", "getPrototype", "require_isObjectLike", "isObjectLike", "require_isPlainObject", "objectTag", "funcProto", "funcToString", "objectCtorString", "isPlainObject", "Ctor", "require_baseIsRegExp", "regexpTag", "baseIsRegExp", "require_baseUnary", "baseUnary", "require_nodeUtil", "freeExports", "freeModule", "moduleExports", "freeProcess", "nodeUtil", "types", "require_isRegExp", "nodeIsRegExp", "isRegExp", "require_converters", "_maxSafeInteger", "_maxSafeInteger2", "_stringify2", "toComputedKey", "toSequenceExpression", "toKeyAlias", "toIdentifier", "toBindingIdentifierName", "toStatement", "toExpression", "toBlock", "valueToNode", "_isPlainObject", "_isPlainObject2", "_isRegExp", "_isRegExp2", "gatherSequenceExpressions", "nodes", "scope", "declars", "exprs", "ensureLastUndefined", "declar", "bindings", "consequent", "alternate", "body", "_iterator3", "_isArray3", "_i3", "_ref3", "alias", "match", "ignore", "mustHaveId", "newType", "pattern", "flags", "props", "nodeKey", "require_flow", "createUnionTypeAnnotation", "removeTypeDuplicates", "createTypeAnnotationBasedOnTypeof", "flattened", "generics", "bases", "typeGroups", "existing", "_name", "require_to_fast_properties", "require_listCacheClear", "listCacheClear", "require_eq", "eq", "other", "require_assocIndexOf", "assocIndexOf", "array", "require_listCacheDelete", "arrayProto", "splice", "listCacheDelete", "data", "lastIndex", "require_listCacheGet", "listCacheGet", "require_listCacheHas", "listCacheHas", "require_listCacheSet", "listCacheSet", "require_ListCache", "ListCache", "entries", "entry", "require_stackClear", "stackClear", "require_stackDelete", "stackDelete", "require_stackGet", "stackGet", "require_stackHas", "stackHas", "require_isObject", "require_isFunction", "asyncTag", "funcTag", "genTag", "proxyTag", "isFunction", "require_coreJsData", "coreJsData", "require_isMasked", "maskSrcKey", "isMasked", "require_toSource", "toSource", "require_baseIsNative", "reRegExpChar", "reIsHostCtor", "reIsNative", "baseIsNative", "require_getValue", "getValue", "require_getNative", "getNative", "require_Map", "Map", "require_nativeCreate", "nativeCreate", "require_hashClear", "hashClear", "require_hashDelete", "hashDelete", "require_hashGet", "HASH_UNDEFINED", "hashGet", "require_hashHas", "hashHas", "require_hashSet", "hashSet", "require_Hash", "Hash", "require_mapCacheClear", "mapCacheClear", "require_isKeyable", "isKeyable", "require_getMapData", "getMapData", "map", "require_mapCacheDelete", "mapCacheDelete", "require_mapCacheGet", "mapCacheGet", "require_mapCacheHas", "mapCacheHas", "require_mapCacheSet", "mapCacheSet", "size", "require_MapCache", "MapCache", "require_stackSet", "LARGE_ARRAY_SIZE", "stackSet", "pairs", "require_Stack", "Stack", "require_arrayEach", "arrayEach", "iteratee", "require_defineProperty", "require_baseAssignValue", "baseAssignValue", "require_assignValue", "assignValue", "objValue", "require_copyObject", "copyObject", "customizer", "isNew", "newValue", "require_baseTimes", "baseTimes", "n", "require_baseIsArguments", "argsTag", "baseIsArguments", "require_isArguments", "propertyIsEnumerable", "isArguments", "require_isArray", "require_stubFalse", "stubFalse", "require_isBuffer", "Buffer", "nativeIsBuffer", "isBuffer", "require_isIndex", "MAX_SAFE_INTEGER", "reIsUint", "isIndex", "require_isLength", "isLength", "require_baseIsTypedArray", "arrayTag", "boolTag", "dateTag", "errorTag", "mapTag", "numberTag", "setTag", "stringTag", "weakMapTag", "arrayBufferTag", "dataViewTag", "float32Tag", "float64Tag", "int8Tag", "int16Tag", "int32Tag", "uint8Tag", "uint8ClampedTag", "uint16Tag", "uint32Tag", "typedArrayTags", "baseIsTypedArray", "require_isTypedArray", "nodeIsTypedArray", "isTypedArray", "require_arrayLikeKeys", "arrayLikeKeys", "inherited", "isArr", "isArg", "isBuff", "isType", "skipIndexes", "require_isPrototype", "isPrototype", "require_nativeKeys", "nativeKeys", "require_baseKeys", "baseKeys", "require_isArrayLike", "isArrayLike", "require_baseAssign", "baseAssign", "require_nativeKeysIn", "nativeKeysIn", "require_baseKeysIn", "baseKeysIn", "isProto", "require_keysIn", "keysIn", "require_baseAssignIn", "baseAssignIn", "require_cloneBuffer", "allocUnsafe", "cloneBuffer", "buffer", "isDeep", "require_copyArray", "copyArray", "require_arrayFilter", "arrayFilter", "predicate", "resIndex", "require_stubArray", "stubArray", "require_getSymbols", "nativeGetSymbols", "symbol", "require_copySymbols", "copySymbols", "require_arrayPush", "arrayPush", "values", "offset", "require_getSymbolsIn", "getSymbolsIn", "require_copySymbolsIn", "copySymbolsIn", "require_baseGetAllKeys", "baseGetAllKeys", "keysFunc", "symbolsFunc", "require_getAllKeys", "getAllKeys", "require_getAllKeysIn", "getAllKeysIn", "require_DataView", "DataView", "require_Promise", "Promise", "require_Set", "Set", "require_WeakMap", "WeakMap", "require_getTag", "promiseTag", "dataViewCtorString", "mapCtorString", "promiseCtorString", "setCtorString", "weakMapCtorString", "getTag", "ctorString", "require_initCloneArray", "initCloneArray", "require_Uint8Array", "Uint8Array", "require_cloneArrayBuffer", "cloneArrayBuffer", "arrayBuffer", "require_cloneDataView", "cloneDataView", "dataView", "require_cloneRegExp", "reFlags", "cloneRegExp", "regexp", "require_cloneSymbol", "symbolProto", "symbolValueOf", "cloneSymbol", "require_cloneTypedArray", "cloneTypedArray", "typedArray", "require_initCloneByTag", "symbolTag", "initCloneByTag", "require_baseCreate", "objectCreate", "baseCreate", "require_initCloneObject", "initCloneObject", "require_baseIsMap", "baseIsMap", "require_isMap", "nodeIsMap", "isMap", "require_baseIsSet", "baseIsSet", "require_isSet", "nodeIsSet", "isSet", "require_baseClone", "CLONE_DEEP_FLAG", "CLONE_FLAT_FLAG", "CLONE_SYMBOLS_FLAG", "cloneableTags", "baseClone", "bitmask", "stack", "isFlat", "isFull", "isFunc", "stacked", "subValue", "require_clone", "clone", "require_setCacheAdd", "setCacheAdd", "require_setCacheHas", "setCacheHas", "require_SetCache", "SetCache", "require_baseFindIndex", "baseFindIndex", "fromRight", "require_baseIsNaN", "baseIsNaN", "require_strictIndexOf", "strictIndexOf", "require_baseIndexOf", "baseIndexOf", "require_arrayIncludes", "arrayIncludes", "require_arrayIncludesWith", "arrayIncludesWith", "comparator", "require_cacheHas", "cacheHas", "cache", "require_noop", "noop", "require_setToArray", "setToArray", "set", "require_createSet", "INFINITY", "createSet", "require_baseUniq", "baseUniq", "includes", "isCommon", "seen", "outer", "computed", "seenIndex", "require_uniq", "uniq", "require_definitions", "assertEach", "assertOneOf", "assertNodeType", "assertNodeOrValueType", "assertValueType", "chain", "defineType", "VISITOR_KEYS", "ALIAS_KEYS", "NODE_FIELDS", "BUILDER_KEYS", "DEPRECATED_KEYS", "getType", "callback", "validator", "_len", "vals", "_key", "validate", "_len2", "_key2", "valid", "_len3", "_key3", "_len4", "fns", "_key4", "opts", "inherits", "_iterator4", "_isArray4", "_i4", "_ref4", "_key5", "_index2", "_index3", "expectedType", "expectedTypes", "require_es2015", "require_jsx", "require_misc", "require_experimental", "require_init", "require_react", "isCompatTag", "buildChildren", "isReactComponent", "tagName", "cleanJSXElementLiteralChild", "child", "lines", "lastNonEmptyLine", "str", "line", "isFirstLine", "isLastLine", "isLastNonEmptyLine", "trimmedLine", "elems", "require_lib", "_getOwnPropertySymbols", "_getOwnPropertySymbols2", "shallowEqual", "appendToMemberExpression", "prependToMemberExpression", "ensureBlock", "cloneWithoutLoc", "cloneDeep", "buildMatchMemberExpression", "removeComments", "inheritsComments", "inheritTrailingComments", "inheritLeadingComments", "inheritInnerComments", "assertNode", "isNode", "traverseFast", "removeProperties", "removePropertiesDeep", "_validators", "_converters", "_flow", "_toFastProperties", "_toFastProperties2", "_clone", "_clone2", "_uniq", "_uniq2", "_definitions", "_react2", "_react", "registerType", "TYPES", "matches", "nodeType", "targetType", "aliases", "builder", "_loop", "_type", "proxy", "actual", "expected", "member", "append", "prepend", "newNode", "allowPartial", "parts", "_inheritComments", "_iterator5", "_isArray5", "_i5", "_ref5", "_iterator6", "_isArray6", "_i6", "_ref6", "enter", "_iterator7", "_isArray7", "_i7", "_ref7", "subNode", "_iterator8", "_isArray8", "_i8", "_ref8", "_node", "CLEAR_KEYS", "CLEAR_KEYS_PLUS_COMMENTS", "_iterator9", "_isArray9", "_i9", "_ref9", "syms", "_iterator10", "_isArray10", "_i10", "_ref10", "tree", "classCallCheck", "instance", "subClass", "superClass", "possibleConstructorReturn", "self", "call", "TYPE_MAP", "ALIAS_TO_TYPE", "PATH_CACHE_KEY", "IS_ALIAS_OF", "Node", "_this", "acc", "visitor", "len", "_alias", "Type", "Fragment", "_Node", "expression", "_this2", "PrintExpressionStatement", "_Node2", "_this3", "PrintTextStatement", "_Node3", "text", "_this4", "ConstantValue", "_Node4", "_this5", "StringLiteral", "_ConstantValue", "NumericLiteral", "_ConstantValue2", "BooleanLiteral", "_ConstantValue3", "NullLiteral", "_ConstantValue4", "Identifier", "_Node5", "_this10", "UnaryExpression", "_Node6", "operator", "argument", "_this11", "BinaryExpression", "_Node7", "left", "right", "_this12", "BinaryConcatExpression", "_BinaryExpression", "_this13", "ConditionalExpression", "_Node8", "test", "_this14", "ArrayExpression", "_Node9", "elements", "_this15", "MemberExpression", "_Node10", "property", "_this16", "CallExpression", "_Node11", "callee", "_this17", "NamedArgumentExpression", "_Node12", "_this18", "ObjectExpression", "_Node13", "properties", "_this19", "ObjectProperty", "_Node14", "_this20", "SequenceExpression", "_Node15", "expressions", "_this21", "SliceExpression", "_Node16", "start", "end", "_this22", "FilterExpression", "_Node17", "_this23", "Element", "_Node18", "_this24", "Attribute", "_Node19", "_this25", "TwigComment", "_Node20", "_this26", "HtmlComment", "_Node21", "_this27", "Declaration", "_Node22", "declarationType", "_this28", "GenericTwigTag", "_Node23", "_this29", "GenericToken", "_Node24", "tokenType", "tokenText", "_this30", "require_arrayMap", "arrayMap", "require_isSymbol", "require_baseToString", "symbolToString", "baseToString", "require_baseSlice", "baseSlice", "require_castSlice", "castSlice", "require_charsEndIndex", "charsEndIndex", "strSymbols", "chrSymbols", "require_asciiToArray", "asciiToArray", "string", "require_hasUnicode", "rsAstralRange", "rsComboMarksRange", "reComboHalfMarksRange", "rsComboSymbolsRange", "rsComboRange", "rsVarRange", "rsZWJ", "reHasUnicode", "hasUnicode", "require_unicodeToArray", "rsAstral", "rsCombo", "rsFitz", "rsModifier", "rsNonAstral", "rsRegional", "rsSurrPair", "reOptMod", "rsOptVar", "rsOptJoin", "rsSeq", "rsSymbol", "reUnicode", "unicodeToArray", "require_stringToArray", "stringToArray", "require_toString", "require_trimmedEndIndex", "reWhitespace", "trimmedEndIndex", "require_trimEnd", "trimEnd", "chars", "guard", "require_charsStartIndex", "charsStartIndex", "require_trimStart", "reTrimStart", "trimStart", "require_createBaseFor", "createBaseFor", "iterable", "require_baseFor", "baseFor", "require_baseForOwn", "baseForOwn", "require_createBaseEach", "createBaseEach", "eachFunc", "collection", "require_baseEach", "baseEach", "require_baseFilter", "baseFilter", "require_arraySome", "arraySome", "require_equalArrays", "COMPARE_PARTIAL_FLAG", "COMPARE_UNORDERED_FLAG", "equalArrays", "equalFunc", "isPartial", "arrLength", "othLength", "arrStacked", "othStacked", "arrValue", "othValue", "compared", "othIndex", "require_mapToArray", "mapToArray", "require_equalByTag", "equalByTag", "convert", "require_equalObjects", "equalObjects", "objProps", "objLength", "othProps", "objStacked", "skipCtor", "objCtor", "othCtor", "require_baseIsEqualDeep", "baseIsEqualDeep", "objIsArr", "othIsArr", "objTag", "othTag", "objIsObj", "othIsObj", "isSameTag", "objIsWrapped", "othIsWrapped", "objUnwrapped", "othUnwrapped", "require_baseIsEqual", "baseIsEqual", "require_baseIsMatch", "baseIsMatch", "matchData", "noCustomizer", "srcValue", "require_isStrictComparable", "isStrictComparable", "require_getMatchData", "getMatchData", "require_matchesStrictComparable", "matchesStrictComparable", "require_baseMatches", "baseMatches", "require_isKey", "reIsDeepProp", "reIsPlainProp", "isKey", "require_memoize", "FUNC_ERROR_TEXT", "memoize", "resolver", "memoized", "require_memoizeCapped", "MAX_MEMOIZE_SIZE", "memoizeCapped", "require_stringToPath", "rePropName", "reEscapeChar", "stringToPath", "number", "quote", "subString", "require_castPath", "castPath", "require_toKey", "toKey", "require_baseGet", "baseGet", "path", "require_get", "defaultValue", "require_baseHasIn", "baseHasIn", "require_hasPath", "hasPath", "hasFunc", "require_hasIn", "hasIn", "require_baseMatchesProperty", "baseMatchesProperty", "require_identity", "identity", "require_baseProperty", "baseProperty", "require_basePropertyDeep", "basePropertyDeep", "require_property", "require_baseIteratee", "baseIteratee", "require_filter", "filter", "require_homedir", "os", "home", "user", "require_caller", "origPrepareStackTrace", "_", "require_path_parse", "isWindows", "splitWindowsRe", "win32", "win32SplitPath", "filename", "pathString", "allParts", "splitPathRe", "posix", "posixSplitPath", "require_node_modules_paths", "parse", "getNodeModulesDirs", "absoluteStart", "modules", "prefix", "paths", "parsed", "dirs", "aPath", "moduleDir", "request", "require_normalize_options", "x", "require_implementation", "ERROR_MESSAGE", "slice", "toStr", "funcType", "bound", "binder", "boundLength", "boundArgs", "require_function_bind", "implementation", "require_src", "bind", "require_is_core_module", "specifierIncluded", "nodeParts", "op", "versionParts", "cur", "ver", "matchesRange", "range", "specifiers", "versionIncluded", "nodeVersion", "specifierValue", "require_async", "fs", "getHomedir", "caller", "nodeModulesPaths", "normalizeOptions", "isCore", "realpathFS", "homedir", "defaultPaths", "defaultIsFile", "file", "cb", "err", "defaultIsDir", "dir", "defaultRealpath", "realpathErr", "realPath", "maybeRealpath", "realpath", "defaultReadPackage", "readFile", "pkgfile", "readFileErr", "pkg", "getPackageCandidates", "options", "isFile", "isDirectory", "readPackage", "conflictErr", "packageIterator", "extensions", "includeCoreModules", "basedir", "realStart", "init", "res", "loadAsDirectory", "onfile", "loadAsFile", "loadNodeModules", "realN", "moduleError", "m", "d", "realD", "thePackage", "loadAsFilePackage", "exts", "load", "loadPackage", "onpkg", "loadpkg", "pkg_", "rfile", "rel", "r", "onex", "ex", "unwrapErr", "pkgdir", "pkgParam", "loadAsDirectoryPackage", "fpkg", "mainError", "processDirs", "isdir", "ondir", "thunk", "isCoreModule", "mod", "require_is_core", "require_sync", "e", "defaultRealpathSync", "maybeRealpathSync", "realpathSync", "defaultReadPackageSync", "readFileSync", "readPackageSync", "loadAsFileSync", "loadAsDirectorySync", "loadNodeModulesSync", "require_resolve", "async", "src_exports", "__export", "EXPRESSION_NEEDED", "FILTER_BLOCK", "GROUP_TOP_LEVEL_LOGICAL", "INSIDE_OF_STRING", "IS_ROOT_LOGICAL_EXPRESSION", "NEWLINES_ONLY", "OVERRIDE_QUOTE_CHAR", "PRESERVE_LEADING_WHITESPACE", "PRESERVE_TRAILING_WHITESPACE", "STRING_NEEDS_QUOTES", "countNewlines", "createTextGroups", "findParentNode", "firstValueInAncestorChain", "getDeepProperty", "hasAtLeastTwoNewlines", "hasNoNewlines", "indentWithHardline", "isContractableNodeType", "isEmptySequence", "isHtmlCommentEqualTo", "isInlineElement", "isMelodyNode", "isMultipartExpression", "isNotExpression", "isRootNode", "isTwigCommentEqualTo", "isValidIdentifierName", "isWhitespaceNode", "isWhitespaceOnly", "languages", "normalizeHtmlComment", "normalizeTwigComment", "parsers", "printChildBlock", "printChildGroups", "printers", "quoteChar", "registerContractableNodeType", "removeSurroundingWhitespace", "setDeepProperty", "shouldExpressionsBeWrapped", "someParentNode", "stripHtmlCommentChars", "stripTwigCommentChars", "testCurrentAndParentNodes", "testCurrentNode", "walkParents", "wrapExpressionIfNeeded", "wrapInEnvironment", "wrapInStringInterpolation", "__toCommonJS", "LEFT", "RIGHT", "setStartFromToken", "column", "setEndFromToken", "setMarkFromToken", "propertyName", "copyStart", "copyEnd", "copyLoc", "createNode", "token", "hasTagStartTokenTrimLeft", "hasTagEndTokenTrimRight", "TokenTypes_exports", "ASSIGNMENT", "COLON", "COMMA", "COMMENT", "DECLARATION_START", "DOT", "ELEMENT_END", "ELEMENT_START", "ENTITY", "EOF", "EOF_TOKEN", "ERROR", "ERROR_TABLE", "EXPRESSION_END", "EXPRESSION_START", "FALSE", "HTML_COMMENT", "INTERPOLATION_END", "INTERPOLATION_START", "LBRACE", "LBRACKET", "LPAREN", "NULL", "NUMBER", "OPERATOR", "PIPE", "QUESTION_MARK", "RBRACE", "RBRACKET", "RPAREN", "SLASH", "STRING", "STRING_END", "STRING_START", "SYMBOL", "TAG_END", "TAG_START", "TEXT", "TRUE", "WHITESPACE", "GenericTagParser", "parser", "tokens", "tagStartToken", "currentToken", "twigTag", "tagMatchesOneOf", "tokenStream", "tagNames", "createMultiTagParser", "subTags", "currentTagName", "endTagName", "childTag", "voidElements", "UNARY", "BINARY", "TEST", "Parser", "ext", "p", "statement", "endToken", "textStringLiteral", "textTextStatement", "entityStringLiteral", "entityTextStatement", "declarationNode", "stringLiteral", "twigComment", "htmlComment", "declarationStartToken", "declaration", "stringToken", "elementNameToken", "elementName", "element", "startToken", "scriptTextToken", "keyNode", "canBeString", "expr", "attr", "metadata", "isUsingGenericParser", "tagEndToken", "precedence", "exprStartToken", "trimLeft", "opToken", "expr1", "exprEndToken", "stringStart", "stringEnd", "condition", "prop", "memberExpr", "callExpr", "isDjango", "newTarget", "import_trimEnd", "import_trimStart", "TOKENS", "LENGTH", "TokenStream", "lexer", "mergedOptions", "getAllTokens", "errorToken", "expectedStr", "message", "advice", "errorMessage", "acceptWhitespaceControl", "trimNext", "shouldTrimNext", "CharStream", "input", "marker", "State", "STATE", "OPERATORS", "CHAR_TO_TOKEN", "Lexer", "preserveSourceLiterally", "ops", "state", "endPos", "isWhitespace", "entityToken", "isAlpha", "isDigit", "longestMatchingOperator", "longestMatchEndPos", "cc", "inElement", "allowInterpolation", "c2", "nextChar", "import_melody_types", "unaryOperators", "binaryOperators", "tests", "UnaryNotExpression", "createUnaryOperator", "UnaryNeqExpression", "UnaryPosExpression", "BinaryOrExpression", "createBinaryOperatorNode", "BinaryAndExpression", "BitwiseOrExpression", "BitwiseXorExpression", "BitwiseAndExpression", "BinaryEqualsExpression", "BinaryNotEqualsExpression", "BinaryLessThanExpression", "BinaryGreaterThanExpression", "BinaryLessThanOrEqualExpression", "BinaryGreaterThanOrEqualExpression", "BinaryNotInExpression", "BinaryInExpression", "BinaryMatchesExpression", "BinaryStartsWithExpression", "BinaryEndsWithExpression", "BinaryRangeExpression", "BinaryAddExpression", "BinarySubExpression", "lhs", "rhs", "BinaryMulExpression", "BinaryDivExpression", "BinaryFloorDivExpression", "BinaryModExpression", "not", "getTest", "testExpression", "nameToken", "testName", "continuedNameToken", "BinaryPowerExpression", "BinaryNullCoalesceExpression", "TestEvenExpression", "createTest", "TestOddExpression", "TestDefinedExpression", "TestSameAsExpression", "TestNullExpression", "TestDivisibleByExpression", "TestConstantExpression", "TestEmptyExpression", "TestIterableExpression", "typeName", "TestExpression", "associativity", "BinarySubclass", "UnarySubclass", "AutoescapeBlock", "BlockStatement", "BlockCallExpression", "MountStatement", "delayBy", "DoStatement", "EmbedStatement", "ExtendsStatement", "parentName", "FilterBlockStatement", "filterExpression", "FlushStatement", "ForStatement", "keyTarget", "valueTarget", "sequence", "otherwise", "ImportDeclaration", "FromStatement", "imports", "IfStatement", "IncludeStatement", "UrlStatement", "WithStatement", "MacroDeclarationStatement", "VariableDeclarationStatement", "SetStatement", "assignments", "SpacelessBlock", "AliasExpression", "UseStatement", "AutoescapeParser", "escapeType", "stringStartToken", "openingTagEndToken", "closingTagStartToken", "autoescape", "BlockParser", "blockStatement", "unexpectedToken", "DoParser", "doStatement", "import_filter", "EmbedParser", "embedStatement", "ExtendsParser", "extendsStatement", "FilterParser", "ref", "filterBlockStatement", "FlushParser", "flushStatement", "ForParser", "forStatement", "elseTagStartToken", "elseTagEndToken", "endforTagStartToken", "FromParser", "importDeclaration", "fromStatement", "IfParser", "ifTagEndToken", "ifStatement", "matchConsequent", "elseifTagStartToken", "elseifTagEndToken", "matchAlternate", "endifTagStartToken", "ImportParser", "importStatement", "IncludeParser", "includeStatement", "MacroParser", "nameEndToken", "macroDeclarationStatement", "MountParser", "mountStatement", "catchTagStartToken", "catchTagEndToken", "endmountTagStartToken", "errorVariableName", "SetParser", "setStatement", "SpacelessParser", "spacelessBlock", "UrlParser", "urlStatement", "UseParser", "aliasToken", "aliasExpression", "useStatement", "WithParser", "withStatement", "extension", "import_path", "import_resolve", "getPluginPathsFromOptions", "getProjectRoot", "dirName", "subPath", "joined", "foundIndex", "tryLoadPlugin", "resolve", "loadPlugins", "pluginPaths", "pluginPath", "loadedPlugin", "getAdditionalMelodyExtensions", "elem", "assertDoc", "doc", "concat", "part", "indent", "contents", "group", "fill", "breakParent", "hardlineWithoutBreakParent", "literallineWithoutBreakParent", "softline", "hardline", "literalline", "cursor", "join", "sep", "arr", "INLINE_HTML_ELEMENTS", "CONTRACTABLE_NODE_TYPES", "methodName", "startWithSelf", "currentIndex", "currentElement", "fragments", "wrapType", "trimRight", "leftBraces", "rightBraces", "splitByWhitespace", "unifyWhitespace", "replacement", "normalizeWhitespace", "whitespace", "numNewlines", "preserveLeadingWhitespace", "preserveTrailingWhitespace", "groups", "currentGroup", "curr", "isFirst", "isLast", "children", "containingObject", "print", "childPath", "originalChildren", "childGroups", "addNewlineIfNotEmpty", "items", "endsWithHtmlComment", "stripCommentChars", "commentText", "open", "close", "substr", "isInlineTextStatement", "trimmedValue", "isCommentNode", "createInlineMap", "textStatementsOnlyNewlines", "addPreserveWhitespaceInfo", "inlineMap", "previousNodeIsComment", "followingNodeIsComment", "printedChildren", "inlineGroup", "finishedGroups", "noSpaceBeforeToken", "printSingleTwigTag", "printedParts", "indentedParts", "separator", "closing", "ORIGINAL_SOURCE", "createConfiguredLexer", "applyParserExtensions", "createConfiguredParser", "multiTagConfig", "getMultiTagConfig", "tagsCsvs", "ast", "printAliasExpression", "printArrayExpression", "mappedElements", "indentedContent", "mayCorrectWhitespace", "attrName", "sanitizeWhitespace", "printConcatenatedString", "valueNode", "initialPath", "printedFragments", "currentNode", "currentPath", "printAttribute", "docs", "isStringValue", "createOpener", "printAutoescapeBlock", "ALREADY_INDENTED", "OPERATOR_PRECEDENCE", "NO_WHITESPACE_AROUND", "operatorPrecedence", "printInterpolatedString", "operatorNeedsSpaces", "hasLogicalOperator", "otherNeedsParentheses", "otherProp", "isBinaryOther", "ownPrecedence", "otherPrecedence", "_printBinaryExpression", "isBinaryRight", "isLogicalOperator", "whitespaceAroundOperator", "alreadyIndented", "foundRootAbove", "shouldGroupOnTopLevel", "parentOperator", "printedLeft", "printedRight", "leftNeedsParens", "rightNeedsParens", "potentiallyIndented", "rightHandSide", "shouldCreateTopLevelGroup", "isDifferentLogicalOperator", "printBinaryExpression", "printBlockStatement", "hasChildren", "printEndblockName", "blockName", "indentedBody", "printCallExpression", "mappedArguments", "printConditionalExpression", "rest", "printDeclaration", "printDoStatement", "printOpeningTag", "opener", "printedAttributes", "printSeparatedList", "openingTagEnd", "printElement", "openingGroup", "closingTag", "joinedChildren", "childBlock", "onlyTextChildren", "printOpener", "printEmbedStatement", "printedOpener", "printExpressionStatement", "shouldContractValue", "padding", "printedValue", "printExtendsStatement", "printOpeningGroup", "printedExpression", "printFilterBlockStatement", "closingStatement", "isInFilterBlock", "printArguments", "nodePath", "printedArguments", "printOneFilterExpression", "filterName", "joinFilters", "filterExpressions", "space", "printFilterExpression", "spaceAroundPipe", "pathToFinalTarget", "finalTarget", "isFilterBlock", "targetNeedsParentheses", "indentedFilters", "kindOfWrap", "printFlushStatement", "dashLeft", "dashRight", "printFor", "printForStatement", "isBodyEmpty", "printedOtherwise", "printImportDeclaration", "printFromStatement", "mappedImports", "printGenericToken", "printGenericTwigTag", "printedSections", "section", "printHtmlComment", "printIdentifier", "IS_ELSEIF", "printIfStatement", "hasElseBranch", "hasElseIfBranch", "isElseIf", "isEmptyIf", "hasOneChild", "firstChild", "printInline", "ifClause", "ifBody", "printIncludeStatement", "joinedArguments", "printMacroDeclarationStatement", "printMemberExpression", "formatDelay", "delay", "buildOpener", "firstGroup", "trimRightMount", "buildBody", "buildErrorHandling", "printMountStatement", "printNamedArgumentExpression", "printedName", "printObjectExpression", "printObjectProperty", "shouldPrintKeyAsString", "needsParentheses", "printSequenceExpression", "shouldAvoidBreakBeforeClosing", "buildSetStatement", "assignmentIndex", "varDeclaration", "avoidBreakBeforeClosing", "isEmbracingSet", "printRegularSet", "printEmbracingSet", "printedContents", "printSetStatement", "printSliceExpression", "printedTarget", "printedStart", "printedEnd", "printSpacelessBlock", "isUnmaskedOccurrence", "containsUnmasked", "char", "containsUnmaskedSingleQuote", "containsUnmaskedDoubleQuote", "getQuoteChar", "printStringLiteral", "needsQuotes", "overridingQuoteChar", "textMap", "isNegator", "printTestExpression", "expressionType", "hasArguments", "newlinesOnly", "preserveWhitespace", "printTextStatement", "rawString", "textGroups", "printTwigComment", "originalText", "printUnaryExpression", "argumentNeedsParentheses", "printLogicalExpression", "printedArgument", "printUnarySubclass", "hasTestExpressionArgument", "printUrlStatement", "gpargs", "printUseStatement", "mappedAliases", "printVariableDeclarationStatement", "printWithStatement", "printFunctions", "applyPlugin", "printerName", "applyPlugins", "plugin", "isHtmlIgnoreNextComment", "isHtmlIgnoreStartComment", "isHtmlIgnoreEndComment", "isTwigIgnoreNextComment", "isTwigIgnoreStartComment", "isTwigIgnoreEndComment", "isIgnoreNextComment", "isIgnoreRegionStartComment", "isIgnoreRegionEndComment", "originalSource", "ignoreRegion", "ignoreNext", "checkForIgnoreStart", "shouldApplyIgnoreNext", "checkForIgnoreEnd", "useOriginalSource", "hasPrintFunction", "canGetSubstringForNode", "getSubstringForNode", "returnNodeValue", "embed", "textToDoc", "opening", "hasPragma", "locStart", "locEnd", "canAttachComment", "printComment", "commentPath", "comment", "clean", "import_vscode", "options", "i", "import_vscode", "i", "languageIds", "options", "context", "hs"] +} diff --git a/package.json b/package.json index d0c16b0..87b8b97 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "📍formatter, django template support, highlight, format, prettier, auto-complete", "author": "junstyle", "license": "MIT", - "version": "1.0.27", + "version": "1.0.28", "repository": { "type": "git", "url": "https://github.com/junstyle/vscode-django-support" @@ -114,7 +114,7 @@ }, "dependencies": { "prettier": "^2.8.8", - "prettier-plugin-django": "^0.5.10" + "prettier-plugin-django": "^0.5.11" }, "devDependencies": { "@types/node": "^16.18.52", diff --git a/src/formatting.ts b/src/formatting.ts index 484d901..c2fa9da 100644 --- a/src/formatting.ts +++ b/src/formatting.ts @@ -1,8 +1,8 @@ import { format, Options, ParserOptions, resolveConfig } from 'prettier'; -import * as djangoPlugin from 'prettier-plugin-django'; +// import * as djangoPlugin from 'prettier-plugin-django'; import * as htmlPlugin from 'prettier/parser-html'; import { Diagnostic, DiagnosticCollection, Range, TextDocument } from 'vscode'; -// import * as djangoPlugin from "D:/git/prettier-plugin-django/out"; +import * as djangoPlugin from "D:/git/prettier-plugin-django/out"; export function formatting(document: TextDocument, diagnosticCollection?: DiagnosticCollection): string { const options = {