@runeya/runeya 1.33.19 → 1.33.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/node-red-contrib-runeya.tar +0 -0
  2. package/package.json +2 -3
  3. package/public/assets/{App-BVTb2f1U.css → App-BGPtogo-.css} +1 -1
  4. package/public/assets/App-Bj3c8ECd.js +101 -0
  5. package/public/assets/Bugs-B6LM8YSZ.js +1 -0
  6. package/public/assets/Bugs-DZVuTDKA.css +1 -0
  7. package/public/assets/Configs-CRGDsvnb.js +464 -0
  8. package/public/assets/Configs-DdBteQMK.css +1 -0
  9. package/public/assets/CurrentEditor-DI0XEvLu.js +1 -0
  10. package/public/assets/DynamicComponent-CmXZUvVU.js +1 -0
  11. package/public/assets/DynamicComponent-DgxRO4Pl.css +1 -0
  12. package/public/assets/{Editor-BGkwp83-.js → Editor-CBZeVePs.js} +7 -7
  13. package/public/assets/{Editor-BC23IeB6.css → Editor-CPPFMOjb.css} +1 -1
  14. package/public/assets/Git-Cf-zgTWr.js +11 -0
  15. package/public/assets/Git-UQIt5ANe.css +1 -0
  16. package/public/assets/ImportCreate-DZSPN5cY.js +1 -0
  17. package/public/assets/Index-BJieQWaU.js +1 -0
  18. package/public/assets/Index-BcFahN3S.css +1 -0
  19. package/public/assets/Index-BrbegLuT.js +1 -0
  20. package/public/assets/Index-C3gFkhHj.js +1 -0
  21. package/public/assets/Index-C66tLKvy.css +1 -0
  22. package/public/assets/Index-Cd-qd5VG.css +1 -0
  23. package/public/assets/Index-Cg-pTjT5.js +1 -0
  24. package/public/assets/Index-CvhWs0kp.css +1 -0
  25. package/public/assets/Index-D67OAIVa.js +314 -0
  26. package/public/assets/Index-DZ8CXixy.js +1 -0
  27. package/public/assets/{Init-C32Q3Vuy.js → Init-BILP6lrr.js} +1 -1
  28. package/public/assets/{LeftLogo-7mp987n7.js → LeftLogo-BCYb654E.js} +1 -1
  29. package/public/assets/Logs-BfqPcp-L.js +74 -0
  30. package/public/assets/Logs-BhdfGaw5.css +32 -0
  31. package/public/assets/{Markdown-CkEWgBbg.js → Markdown-CuewGlVj.js} +19 -103
  32. package/public/assets/Modal-CGUZawhK.css +1 -0
  33. package/public/assets/Modal-DmKdmCtc.js +1 -0
  34. package/public/assets/Modals-BHTrmB19.js +1 -0
  35. package/public/assets/NotUpToDate-CnmuPdX-.js +1 -0
  36. package/public/assets/NotUpToDate-Dh9RbAwK.css +1 -0
  37. package/public/assets/Npm-HBPCi13F.js +1 -0
  38. package/public/assets/Npm-KBzO1DYv.css +1 -0
  39. package/public/assets/Overview-CRtTdDEz.js +1 -0
  40. package/public/assets/Overview-DZIOmzKx.css +1 -0
  41. package/public/assets/{Section-DArSOaS2.js → Section-OccJuk7A.js} +1 -1
  42. package/public/assets/{Settings-CEcFg3LS.js → Settings-CgEyOTsE.js} +6 -6
  43. package/public/assets/{Settings-BBbk67zT.css → Settings-DUCkJDco.css} +1 -1
  44. package/public/assets/Spinner-BMGbc3X9.js +1 -0
  45. package/public/assets/Spinner-BZXOybIg.css +1 -0
  46. package/public/assets/StackChooser-DBof37zx.js +1 -0
  47. package/public/assets/{StackChooser-BsG17xPQ.js → StackChooser-PJ4_aCX-.js} +1 -1
  48. package/public/assets/StackMultiple-CiXqkibR.css +1 -0
  49. package/public/assets/{StackMultiple-CnhHiGG6.js → StackMultiple-D0bM6dXR.js} +17 -17
  50. package/public/assets/{StackSingle-DBZX9nN_.css → StackSingle-BVHxvisP.css} +1 -1
  51. package/public/assets/StackSingle-D1Yk8PXD.js +1 -0
  52. package/public/assets/{Tabs-fu2myJd9.css → Tabs-BGPqRkjE.css} +1 -1
  53. package/public/assets/Tabs-DQDvjS5y.js +1 -0
  54. package/public/assets/Theme-CzHFcMoz.js +1 -0
  55. package/public/assets/Toolbox-B5KXz4eX.css +1 -0
  56. package/public/assets/Toolbox-C5XEPDmg.js +1 -0
  57. package/public/assets/_baseFor-DiPelG4M.js +1 -0
  58. package/public/assets/_commonjsHelpers-D6-XlEtG.js +1 -0
  59. package/public/assets/{cssMode-CzzL7NLn.js → cssMode-CccHpseG.js} +1 -1
  60. package/public/assets/currentEditor-DKB6Zox9.js +1 -0
  61. package/public/assets/dayjs.min-CfWDS3UC.js +1 -0
  62. package/public/assets/{freemarker2-Dir7A35Q.js → freemarker2-DSPhVVzD.js} +1 -1
  63. package/public/assets/fs-CwxHstJI.js +1 -0
  64. package/public/assets/{handlebars-Bwt7SUKz.js → handlebars-1zANa-F3.js} +1 -1
  65. package/public/assets/{html-BVMS5MXg.js → html-fsS26eC3.js} +1 -1
  66. package/public/assets/{htmlMode-DtatUs1Z.js → htmlMode-DvnqyT9t.js} +1 -1
  67. package/public/assets/index-0X67tmWL.js +82 -0
  68. package/public/assets/index-B3Vh_zdc.js +1454 -0
  69. package/public/assets/index-B614CRIK.js +201 -0
  70. package/public/assets/index-BO82C_5u.js +720 -0
  71. package/public/assets/index-Brqxsm84.js +308 -0
  72. package/public/assets/index-CILDVkDy.js +310 -0
  73. package/public/assets/{index--FPUu8lq.css → index-D9v3u7Fv.css} +1 -1
  74. package/public/assets/index-DcbuCmxJ.js +84 -0
  75. package/public/assets/{index-BnoOVDVz.js → index-G_rNbFve.js} +2 -2
  76. package/public/assets/index-d75RPzOA.js +176 -0
  77. package/public/assets/index-uWoKtv9r.js +2 -0
  78. package/public/assets/{javascript-D-oImBdK.js → javascript-DRHvp6-v.js} +1 -1
  79. package/public/assets/json-tree-view-vue3.es-DVJTi2Rq.js +1 -0
  80. package/public/assets/{jsonMode-ChekEzF3.js → jsonMode-CJHmEzcn.js} +1 -1
  81. package/public/assets/{liquid-Cx00nEdK.js → liquid-V1Od9uns.js} +1 -1
  82. package/public/assets/lodash-D2RHCRSL.js +27 -0
  83. package/public/assets/{mdx-B_3CUkN7.js → mdx-DlWa4FFs.js} +1 -1
  84. package/public/assets/{python-PnVqLAvu.js → python-DawPqpxL.js} +1 -1
  85. package/public/assets/{razor-B-e3gtRB.js → razor-CrbHGO04.js} +1 -1
  86. package/public/assets/router-DPuc_QdV.css +1 -0
  87. package/public/assets/router-Dzu6a_zz.js +103 -0
  88. package/public/assets/sort-BibmqbFD.js +1 -0
  89. package/public/assets/{system-Bck6co6p.js → system-BqvwX5_3.js} +1 -1
  90. package/public/assets/{tsMode-aTnOdaF2.js → tsMode-Cb1yqXWI.js} +1 -1
  91. package/public/assets/{typescript-D4fq51ct.js → typescript-CnZCKV3a.js} +1 -1
  92. package/public/assets/{xml-aY-jq2ZR.js → xml-B90p6BQJ.js} +1 -1
  93. package/public/assets/{yaml-BH_SsNz5.js → yaml-Bkk9HYtt.js} +1 -1
  94. package/public/index.html +1 -1
  95. package/www.js +159 -259
  96. package/www.js.map +1 -1
  97. package/public/assets/App-Zd1wzq6w.js +0 -101
  98. package/public/assets/CurrentEditor-DLPmlCCH.js +0 -1
  99. package/public/assets/ImportCreate-Cb9Yo4_T.js +0 -1
  100. package/public/assets/Overview-BaSpvlXu.css +0 -1
  101. package/public/assets/Overview-Butnf29p.js +0 -1
  102. package/public/assets/StackChooser-CH4WGtD8.js +0 -1
  103. package/public/assets/StackMultiple-Dw-7UAYX.css +0 -1
  104. package/public/assets/StackSingle-DzMAOzU6.js +0 -1
  105. package/public/assets/Tabs-VGIyn9Mu.js +0 -1
  106. package/public/assets/router-59CbSGll.js +0 -4232
  107. package/public/assets/router-imsD-DjM.css +0 -32
  108. package/runeya.vsix +0 -0
@@ -0,0 +1 @@
1
+ import{W as N}from"./json-tree-view-vue3.es-DVJTi2Rq.js";import{a as S}from"./router-Dzu6a_zz.js";import{_ as j}from"./Section-OccJuk7A.js";import{r as w,j as B,S as s,N as C,s as x,g as D,o as r,f as q,b as c,a as i,F as A,q as F,t as y,L as J,k as L}from"./index-G_rNbFve.js";import{_ as M}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./Editor-CBZeVePs.js";const O={class:"label"},V={class:"value"},$={key:1},E={__name:"Index",props:{service:{default:null,required:!0,type:S}},setup(n){var f,u,d,v,m,h;const b={containerName:"Name of container",isAlive:"Is Alive",pid:"PID",image:"Image",dockerInfos:"More infos"},g=n,l=w([]),I=a=>{try{return JSON.stringify(a)}catch{return"{}"}};async function e(){const{data:a}=await L.get(`/docker/${g.service.label}`);l.value=a}return B(e),(f=s)==null||f.on("stack:selectConf",e),(u=s)==null||u.on("service:crash",e),(d=s)==null||d.on("service:start",e),(v=s)==null||v.on("service:exit",e),(m=s)==null||m.on("service:healthcheck:down",e),(h=s)==null||h.on("service:healthcheck:up",e),C(()=>{var a,o,t,p,_,k;(a=s)==null||a.off("stack:selectConf",e),(o=s)==null||o.off("service:crash",e),(t=s)==null||t.off("service:start",e),(p=s)==null||p.off("service:exit",e),(_=s)==null||_.off("service:healthcheck:down",e),(k=s)==null||k.off("service:healthcheck:up",e)}),(a,o)=>n.service?(r(),x(j,{key:n.service.label},{default:q(()=>[o[0]||(o[0]=c("h2",null,"Docker",-1)),c("ul",null,[(r(!0),i(A,null,F(l.value,t=>(r(),i("li",null,[c("div",O,y(b[t.label]||t.label),1),c("div",V,[t.type==="json"?(r(),x(J(N),{key:0,class:"json",maxDepth:1,json:I(t.value),copyable:!0},null,8,["json"])):(r(),i("div",$,y(t.value),1))])]))),256))])]),_:1,__:[0]})):D("",!0)}},K=M(E,[["__scopeId","data-v-d0d094e9"]]);export{K as default};
@@ -1 +1 @@
1
- import{_ as o}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{a as r,o as n,b as t}from"./index-BnoOVDVz.js";const s={};function a(c,e){return n(),r("div",null,e[0]||(e[0]=[t("h1",null,"Configure",-1)]))}const i=o(s,[["render",a]]);export{i as default};
1
+ import{_ as o}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{a as r,o as n,b as t}from"./index-G_rNbFve.js";const s={};function a(c,e){return n(),r("div",null,e[0]||(e[0]=[t("h1",null,"Configure",-1)]))}const i=o(s,[["render",a]]);export{i as default};
@@ -1 +1 @@
1
- import{r as _,j as h,K as w,a as r,o as s,b as l,e as b,f as g,F as v,q as x,u as y,x as L,d as R}from"./index-BnoOVDVz.js";import{_ as $}from"./_plugin-vue_export-helper-DlAUqK2U.js";const T={props:{lowResources:{default:!1}},setup(i){const n=_([]),p=t=>{const o=Math.floor(t*100/5/100),m=Math.floor(100*100/5/100),M=t*100/5%100,B=o*100/m,d=Math.floor(Math.random()*40),z=Math.random()>.5?M+d:M-d;return{top:(Math.random()>.5?B+d:B-d)+"%",left:z+"%",backgroundColor:"rgba(255, 255, 255, 0.6)",boxShadow:"0 0 10px 1px white"}};h(()=>n.value=Array(100).fill("").map((t,o)=>p(o)));const c=10,u=t=>({bottom:"0",top:t*100/c+"%",width:Math.random()*50+"%"}),f=t=>({right:"0",top:t*100/c+"%",width:Math.random()*50+"%"}),a=_([]),e=_([]);h(()=>setTimeout(()=>a.value=Array(10).fill("").map((t,o)=>u(o)))),h(()=>setTimeout(()=>e.value=Array(10).fill("").map((t,o)=>f(o))));let k;return i.lowResources||(k=setInterval(()=>{n.value.map(t=>{const o=Math.random()/3+.3333333333333333;t.backgroundColor=`rgba(255, 255, 255, ${o})`})},300)),w(()=>clearInterval(k)),{barsLeft:a,barsRight:e,stars:n}}},C={class:"background-root"},I={class:"stars"},S={class:"bars left"},q={class:"bars right"};function A(i,n,p,c,u,f){return s(),r("div",C,[l("div",I,[b(L,{name:"appear"},{default:g(()=>[(s(!0),r(v,null,x(c.stars,(a,e)=>(s(),r("div",{class:"star",key:"star-"+e,style:y({...a})},null,4))),128))]),_:1})]),l("div",S,[b(L,{name:"appear"},{default:g(()=>[(s(!0),r(v,null,x(c.barsLeft,(a,e)=>(s(),r("div",{class:"bar",key:"bar-left"+e,style:y({...a})},null,4))),128))]),_:1})]),l("div",q,[b(L,{name:"appear"},{default:g(()=>[(s(!0),r(v,null,x(c.barsRight,(a,e)=>(s(),r("div",{class:"bar",key:"bar-right"+e,style:y({...a})},null,4))),128))]),_:1})])])}const K=$(T,[["render",A],["__scopeId","data-v-750299bb"]]),N="/assets/rocket-Cqyxqx2p.png",P={},V={class:"left"};function F(i,n,p,c,u,f){return s(),r("div",V,n[0]||(n[0]=[l("div",{class:"logo"},[l("img",{src:N,alt:""}),R(" Runeya ")],-1)]))}const U=$(P,[["render",F],["__scopeId","data-v-c6f9ad9a"]]);export{K as B,U as L};
1
+ import{r as _,j as h,K as w,a as r,o as s,b as l,e as b,f as g,F as v,q as x,u as y,x as L,d as R}from"./index-G_rNbFve.js";import{_ as $}from"./_plugin-vue_export-helper-DlAUqK2U.js";const T={props:{lowResources:{default:!1}},setup(i){const n=_([]),p=t=>{const o=Math.floor(t*100/5/100),m=Math.floor(100*100/5/100),M=t*100/5%100,B=o*100/m,d=Math.floor(Math.random()*40),z=Math.random()>.5?M+d:M-d;return{top:(Math.random()>.5?B+d:B-d)+"%",left:z+"%",backgroundColor:"rgba(255, 255, 255, 0.6)",boxShadow:"0 0 10px 1px white"}};h(()=>n.value=Array(100).fill("").map((t,o)=>p(o)));const c=10,u=t=>({bottom:"0",top:t*100/c+"%",width:Math.random()*50+"%"}),f=t=>({right:"0",top:t*100/c+"%",width:Math.random()*50+"%"}),a=_([]),e=_([]);h(()=>setTimeout(()=>a.value=Array(10).fill("").map((t,o)=>u(o)))),h(()=>setTimeout(()=>e.value=Array(10).fill("").map((t,o)=>f(o))));let k;return i.lowResources||(k=setInterval(()=>{n.value.map(t=>{const o=Math.random()/3+.3333333333333333;t.backgroundColor=`rgba(255, 255, 255, ${o})`})},300)),w(()=>clearInterval(k)),{barsLeft:a,barsRight:e,stars:n}}},C={class:"background-root"},I={class:"stars"},S={class:"bars left"},q={class:"bars right"};function A(i,n,p,c,u,f){return s(),r("div",C,[l("div",I,[b(L,{name:"appear"},{default:g(()=>[(s(!0),r(v,null,x(c.stars,(a,e)=>(s(),r("div",{class:"star",key:"star-"+e,style:y({...a})},null,4))),128))]),_:1})]),l("div",S,[b(L,{name:"appear"},{default:g(()=>[(s(!0),r(v,null,x(c.barsLeft,(a,e)=>(s(),r("div",{class:"bar",key:"bar-left"+e,style:y({...a})},null,4))),128))]),_:1})]),l("div",q,[b(L,{name:"appear"},{default:g(()=>[(s(!0),r(v,null,x(c.barsRight,(a,e)=>(s(),r("div",{class:"bar",key:"bar-right"+e,style:y({...a})},null,4))),128))]),_:1})])])}const K=$(T,[["render",A],["__scopeId","data-v-750299bb"]]),N="/assets/rocket-Cqyxqx2p.png",P={},V={class:"left"};function F(i,n,p,c,u,f){return s(),r("div",V,n[0]||(n[0]=[l("div",{class:"logo"},[l("img",{src:N,alt:""}),R(" Runeya ")],-1)]))}const U=$(P,[["render",F],["__scopeId","data-v-c6f9ad9a"]]);export{K as B,U as L};
@@ -0,0 +1,74 @@
1
+ import{y as yr,B as vr,a as z,o as B,s as $e,g as we,h as Mt,I as at,H as gr,b as _,t as fe,r as ue,c as Xe,j as ft,S as Ce,K as Ct,N as Sr,i as pt,l as br,e as xe,n as Ke,f as de,F as Ee,q as Ue,d as pe,T as Er,L as Ae,O as st,m as Ye,p as kr,v as dt,aB as wr,aC as xr}from"./index-G_rNbFve.js";import{W as mt}from"./json-tree-view-vue3.es-DVJTi2Rq.js";import{c as Tt,g as _r}from"./_commonjsHelpers-D6-XlEtG.js";import{d as Ot}from"./dayjs.min-CfWDS3UC.js";import{S as Ir,d as Pt,n as Cr,a as Nt}from"./router-Dzu6a_zz.js";import{P as Lt,_ as At}from"./Section-OccJuk7A.js";import{M as Rt}from"./Modal-DmKdmCtc.js";import{f as Tr}from"./fs-CwxHstJI.js";import{S as Dt}from"./Spinner-BMGbc3X9.js";import{s as Or,c as Pr}from"./index-uWoKtv9r.js";import{_ as Bt}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{s as Nr}from"./index-Brqxsm84.js";import"./Editor-CBZeVePs.js";import"./index-d75RPzOA.js";function ot(F){throw new Error('Could not dynamically require "'+F+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ht={exports:{}};/*! jsonpath 1.1.1 */var jt;function Lr(){return jt||(jt=1,function(F,H){(function(D){F.exports=D()})(function(){return function D($,N,x){function y(g,S){if(!N[g]){if(!$[g]){var s=typeof ot=="function"&&ot;if(!S&&s)return s(g,!0);if(I)return I(g,!0);var u=new Error("Cannot find module '"+g+"'");throw u.code="MODULE_NOT_FOUND",u}var v=N[g]={exports:{}};$[g][0].call(v.exports,function(o){var f=$[g][1][o];return y(f||o)},v,v.exports,D,$,N,x)}return N[g].exports}for(var I=typeof ot=="function"&&ot,E=0;E<x.length;E++)y(x[E]);return y}({"./aesprim":[function(D,$,N){(function(x,y){y(typeof N<"u"?N:x.esprima={})})(this,function(x){var y,I,E,g,S,s,u,v,o,f,r,k,O,h,n,a,d,p;y={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9},I={},I[y.BooleanLiteral]="Boolean",I[y.EOF]="<end>",I[y.Identifier]="Identifier",I[y.Keyword]="Keyword",I[y.NullLiteral]="Null",I[y.NumericLiteral]="Numeric",I[y.Punctuator]="Punctuator",I[y.StringLiteral]="String",I[y.RegularExpression]="RegularExpression",E=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],g={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},S={Data:1,Get:2,Set:4},s={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},u={NonAsciiIdentifierStart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),NonAsciiIdentifierPart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]")};function A(e,t){if(!e)throw new Error("ASSERT: "+t)}function V(e){return e>=48&&e<=57}function W(e){return"0123456789abcdefABCDEF".indexOf(e)>=0}function M(e){return"01234567".indexOf(e)>=0}function Q(e){return e===32||e===9||e===11||e===12||e===160||e>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(e)>=0}function K(e){return e===10||e===13||e===8232||e===8233}function Y(e){return e==64||e===36||e===95||e>=65&&e<=90||e>=97&&e<=122||e===92||e>=128&&u.NonAsciiIdentifierStart.test(String.fromCharCode(e))}function se(e){return e===36||e===95||e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===92||e>=128&&u.NonAsciiIdentifierPart.test(String.fromCharCode(e))}function ke(e){switch(e){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function ce(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ne(e){return e==="eval"||e==="arguments"}function le(e){if(f&&ce(e))return!0;switch(e.length){case 2:return e==="if"||e==="in"||e==="do";case 3:return e==="var"||e==="for"||e==="new"||e==="try"||e==="let";case 4:return e==="this"||e==="else"||e==="case"||e==="void"||e==="with"||e==="enum";case 5:return e==="while"||e==="break"||e==="catch"||e==="throw"||e==="const"||e==="yield"||e==="class"||e==="super";case 6:return e==="return"||e==="typeof"||e==="delete"||e==="switch"||e==="export"||e==="import";case 7:return e==="default"||e==="finally"||e==="extends";case 8:return e==="function"||e==="continue"||e==="debugger";case 10:return e==="instanceof";default:return!1}}function ge(e,t,i,c,w){var L;A(typeof i=="number","Comment must have valid position"),!(d.lastCommentStart>=i)&&(d.lastCommentStart=i,L={type:e,value:t},p.range&&(L.range=[i,c]),p.loc&&(L.loc=w),p.comments.push(L),p.attachComment&&(p.leadingComments.push(L),p.trailingComments.push(L)))}function he(e){var t,i,c,w;for(t=r-e,i={start:{line:k,column:r-O-e}};r<h;)if(c=o.charCodeAt(r),++r,K(c)){p.comments&&(w=o.slice(t+e,r-1),i.end={line:k,column:r-O-1},ge("Line",w,t,r-1,i)),c===13&&o.charCodeAt(r)===10&&++r,++k,O=r;return}p.comments&&(w=o.slice(t+e,r),i.end={line:k,column:r-O},ge("Line",w,t,r,i))}function De(){var e,t,i,c;for(p.comments&&(e=r-2,t={start:{line:k,column:r-O-2}});r<h;)if(i=o.charCodeAt(r),K(i))i===13&&o.charCodeAt(r+1)===10&&++r,++k,++r,O=r,r>=h&&q({},s.UnexpectedToken,"ILLEGAL");else if(i===42){if(o.charCodeAt(r+1)===47){++r,++r,p.comments&&(c=o.slice(e+2,r-2),t.end={line:k,column:r-O},ge("Block",c,e,r,t));return}++r}else++r;q({},s.UnexpectedToken,"ILLEGAL")}function b(){var e,t;for(t=r===0;r<h;)if(e=o.charCodeAt(r),Q(e))++r;else if(K(e))++r,e===13&&o.charCodeAt(r)===10&&++r,++k,O=r,t=!0;else if(e===47)if(e=o.charCodeAt(r+1),e===47)++r,++r,he(2),t=!0;else if(e===42)++r,++r,De();else break;else if(t&&e===45)if(o.charCodeAt(r+1)===45&&o.charCodeAt(r+2)===62)r+=3,he(3);else break;else if(e===60)if(o.slice(r+1,r+4)==="!--")++r,++r,++r,++r,he(4);else break;else break}function T(e){var t,i,c,w=0;for(i=e==="u"?4:2,t=0;t<i;++t)if(r<h&&W(o[r]))c=o[r++],w=w*16+"0123456789abcdef".indexOf(c.toLowerCase());else return"";return String.fromCharCode(w)}function R(){var e,t;for(e=o.charCodeAt(r++),t=String.fromCharCode(e),e===92&&(o.charCodeAt(r)!==117&&q({},s.UnexpectedToken,"ILLEGAL"),++r,e=T("u"),(!e||e==="\\"||!Y(e.charCodeAt(0)))&&q({},s.UnexpectedToken,"ILLEGAL"),t=e);r<h&&(e=o.charCodeAt(r),!!se(e));)++r,t+=String.fromCharCode(e),e===92&&(t=t.substr(0,t.length-1),o.charCodeAt(r)!==117&&q({},s.UnexpectedToken,"ILLEGAL"),++r,e=T("u"),(!e||e==="\\"||!se(e.charCodeAt(0)))&&q({},s.UnexpectedToken,"ILLEGAL"),t+=e);return t}function ee(){var e,t;for(e=r++;r<h;){if(t=o.charCodeAt(r),t===92)return r=e,R();if(se(t))++r;else break}return o.slice(e,r)}function me(){var e,t,i;return e=r,t=o.charCodeAt(r)===92?R():ee(),t.length===1?i=y.Identifier:le(t)?i=y.Keyword:t==="null"?i=y.NullLiteral:t==="true"||t==="false"?i=y.BooleanLiteral:i=y.Identifier,{type:i,value:t,lineNumber:k,lineStart:O,start:e,end:r}}function X(){var e=r,t=o.charCodeAt(r),i,c=o[r],w,L,J;switch(t){case 46:case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:return++r,p.tokenize&&(t===40?p.openParenToken=p.tokens.length:t===123&&(p.openCurlyToken=p.tokens.length)),{type:y.Punctuator,value:String.fromCharCode(t),lineNumber:k,lineStart:O,start:e,end:r};default:if(i=o.charCodeAt(r+1),i===61)switch(t){case 43:case 45:case 47:case 60:case 62:case 94:case 124:case 37:case 38:case 42:return r+=2,{type:y.Punctuator,value:String.fromCharCode(t)+String.fromCharCode(i),lineNumber:k,lineStart:O,start:e,end:r};case 33:case 61:return r+=2,o.charCodeAt(r)===61&&++r,{type:y.Punctuator,value:o.slice(e,r),lineNumber:k,lineStart:O,start:e,end:r}}}if(J=o.substr(r,4),J===">>>=")return r+=4,{type:y.Punctuator,value:J,lineNumber:k,lineStart:O,start:e,end:r};if(L=J.substr(0,3),L===">>>"||L==="<<="||L===">>=")return r+=3,{type:y.Punctuator,value:L,lineNumber:k,lineStart:O,start:e,end:r};if(w=L.substr(0,2),c===w[1]&&"+-<>&|".indexOf(c)>=0||w==="=>")return r+=2,{type:y.Punctuator,value:w,lineNumber:k,lineStart:O,start:e,end:r};if("<>=!+-*%&|^/".indexOf(c)>=0)return++r,{type:y.Punctuator,value:c,lineNumber:k,lineStart:O,start:e,end:r};q({},s.UnexpectedToken,"ILLEGAL")}function te(e){for(var t="";r<h&&W(o[r]);)t+=o[r++];return t.length===0&&q({},s.UnexpectedToken,"ILLEGAL"),Y(o.charCodeAt(r))&&q({},s.UnexpectedToken,"ILLEGAL"),{type:y.NumericLiteral,value:parseInt("0x"+t,16),lineNumber:k,lineStart:O,start:e,end:r}}function ie(e){for(var t="0"+o[r++];r<h&&M(o[r]);)t+=o[r++];return(Y(o.charCodeAt(r))||V(o.charCodeAt(r)))&&q({},s.UnexpectedToken,"ILLEGAL"),{type:y.NumericLiteral,value:parseInt(t,8),octal:!0,lineNumber:k,lineStart:O,start:e,end:r}}function U(){var e,t,i;if(i=o[r],A(V(i.charCodeAt(0))||i===".","Numeric literal must start with a decimal digit or a decimal point"),t=r,e="",i!=="."){if(e=o[r++],i=o[r],e==="0"){if(i==="x"||i==="X")return++r,te(t);if(M(i))return ie(t);i&&V(i.charCodeAt(0))&&q({},s.UnexpectedToken,"ILLEGAL")}for(;V(o.charCodeAt(r));)e+=o[r++];i=o[r]}if(i==="."){for(e+=o[r++];V(o.charCodeAt(r));)e+=o[r++];i=o[r]}if(i==="e"||i==="E")if(e+=o[r++],i=o[r],(i==="+"||i==="-")&&(e+=o[r++]),V(o.charCodeAt(r)))for(;V(o.charCodeAt(r));)e+=o[r++];else q({},s.UnexpectedToken,"ILLEGAL");return Y(o.charCodeAt(r))&&q({},s.UnexpectedToken,"ILLEGAL"),{type:y.NumericLiteral,value:parseFloat(e),lineNumber:k,lineStart:O,start:t,end:r}}function _e(){var e="",t,i,c,w,L,J,oe=!1,Se,ve;for(Se=k,ve=O,t=o[r],A(t==="'"||t==='"',"String literal must starts with a quote"),i=r,++r;r<h;)if(c=o[r++],c===t){t="";break}else if(c==="\\")if(c=o[r++],!c||!K(c.charCodeAt(0)))switch(c){case"u":case"x":J=r,L=T(c),L?e+=L:(r=J,e+=c);break;case"n":e+=`
2
+ `;break;case"r":e+="\r";break;case"t":e+=" ";break;case"b":e+="\b";break;case"f":e+="\f";break;case"v":e+="\v";break;default:M(c)?(w="01234567".indexOf(c),w!==0&&(oe=!0),r<h&&M(o[r])&&(oe=!0,w=w*8+"01234567".indexOf(o[r++]),"0123".indexOf(c)>=0&&r<h&&M(o[r])&&(w=w*8+"01234567".indexOf(o[r++]))),e+=String.fromCharCode(w)):e+=c;break}else++k,c==="\r"&&o[r]===`
3
+ `&&++r,O=r;else{if(K(c.charCodeAt(0)))break;e+=c}return t!==""&&q({},s.UnexpectedToken,"ILLEGAL"),{type:y.StringLiteral,value:e,octal:oe,startLineNumber:Se,startLineStart:ve,lineNumber:k,lineStart:O,start:i,end:r}}function Pe(e,t){var i;try{i=new RegExp(e,t)}catch{q({},s.InvalidRegExp)}return i}function ze(){var e,t,i,c,w;for(e=o[r],A(e==="/","Regular expression literal must start with a slash"),t=o[r++],i=!1,c=!1;r<h;)if(e=o[r++],t+=e,e==="\\")e=o[r++],K(e.charCodeAt(0))&&q({},s.UnterminatedRegExp),t+=e;else if(K(e.charCodeAt(0)))q({},s.UnterminatedRegExp);else if(i)e==="]"&&(i=!1);else if(e==="/"){c=!0;break}else e==="["&&(i=!0);return c||q({},s.UnterminatedRegExp),w=t.substr(1,t.length-2),{value:w,literal:t}}function je(){var e,t,i,c;for(t="",i="";r<h&&(e=o[r],!!se(e.charCodeAt(0)));)if(++r,e==="\\"&&r<h)if(e=o[r],e==="u"){if(++r,c=r,e=T("u"),e)for(i+=e,t+="\\u";c<r;++c)t+=o[c];else r=c,i+="u",t+="\\u";re({},s.UnexpectedToken,"ILLEGAL")}else t+="\\",re({},s.UnexpectedToken,"ILLEGAL");else i+=e,t+=e;return{value:i,literal:t}}function Te(){var e,t,i,c;return a=null,b(),e=r,t=ze(),i=je(),c=Pe(t.value,i.value),p.tokenize?{type:y.RegularExpression,value:c,lineNumber:k,lineStart:O,start:e,end:r}:{literal:t.literal+i.literal,value:c,start:e,end:r}}function Re(){var e,t,i,c;return b(),e=r,t={start:{line:k,column:r-O}},i=Te(),t.end={line:k,column:r-O},p.tokenize||(p.tokens.length>0&&(c=p.tokens[p.tokens.length-1],c.range[0]===e&&c.type==="Punctuator"&&(c.value==="/"||c.value==="/=")&&p.tokens.pop()),p.tokens.push({type:"RegularExpression",value:i.literal,range:[e,r],loc:t})),i}function lt(e){return e.type===y.Identifier||e.type===y.Keyword||e.type===y.BooleanLiteral||e.type===y.NullLiteral}function He(){var e,t;if(e=p.tokens[p.tokens.length-1],!e)return Re();if(e.type==="Punctuator"){if(e.value==="]")return X();if(e.value===")")return t=p.tokens[p.openParenToken-1],t&&t.type==="Keyword"&&(t.value==="if"||t.value==="while"||t.value==="for"||t.value==="with")?Re():X();if(e.value==="}"){if(p.tokens[p.openCurlyToken-3]&&p.tokens[p.openCurlyToken-3].type==="Keyword"){if(t=p.tokens[p.openCurlyToken-4],!t)return X()}else if(p.tokens[p.openCurlyToken-4]&&p.tokens[p.openCurlyToken-4].type==="Keyword"){if(t=p.tokens[p.openCurlyToken-5],!t)return Re()}else return X();return E.indexOf(t.value)>=0?X():Re()}return Re()}return e.type==="Keyword"?Re():X()}function Fe(){var e;return b(),r>=h?{type:y.EOF,lineNumber:k,lineStart:O,start:r,end:r}:(e=o.charCodeAt(r),Y(e)?me():e===40||e===41||e===59?X():e===39||e===34?_e():e===46?V(o.charCodeAt(r+1))?U():X():V(e)?U():p.tokenize&&e===47?He():X())}function qe(){var e,t,i;return b(),e={start:{line:k,column:r-O}},t=Fe(),e.end={line:k,column:r-O},t.type!==y.EOF&&(i=o.slice(t.start,t.end),p.tokens.push({type:I[t.type],value:i,range:[t.start,t.end],loc:e})),t}function G(){var e;return e=a,r=e.end,k=e.lineNumber,O=e.lineStart,a=typeof p.tokens<"u"?qe():Fe(),r=e.end,k=e.lineNumber,O=e.lineStart,e}function Je(){var e,t,i;e=r,t=k,i=O,a=typeof p.tokens<"u"?qe():Fe(),r=e,k=t,O=i}function et(e,t){this.line=e,this.column=t}function tt(e,t,i,c){this.start=new et(e,t),this.end=new et(i,c)}v={name:"SyntaxTree",processComment:function(e){var t,i;if(!(e.type===g.Program&&e.body.length>0)){for(p.trailingComments.length>0?p.trailingComments[0].range[0]>=e.range[1]?(i=p.trailingComments,p.trailingComments=[]):p.trailingComments.length=0:p.bottomRightStack.length>0&&p.bottomRightStack[p.bottomRightStack.length-1].trailingComments&&p.bottomRightStack[p.bottomRightStack.length-1].trailingComments[0].range[0]>=e.range[1]&&(i=p.bottomRightStack[p.bottomRightStack.length-1].trailingComments,delete p.bottomRightStack[p.bottomRightStack.length-1].trailingComments);p.bottomRightStack.length>0&&p.bottomRightStack[p.bottomRightStack.length-1].range[0]>=e.range[0];)t=p.bottomRightStack.pop();t?t.leadingComments&&t.leadingComments[t.leadingComments.length-1].range[1]<=e.range[0]&&(e.leadingComments=t.leadingComments,delete t.leadingComments):p.leadingComments.length>0&&p.leadingComments[p.leadingComments.length-1].range[1]<=e.range[0]&&(e.leadingComments=p.leadingComments,p.leadingComments=[]),i&&(e.trailingComments=i),p.bottomRightStack.push(e)}},markEnd:function(e,t){return p.range&&(e.range=[t.start,r]),p.loc&&(e.loc=new tt(t.startLineNumber===void 0?t.lineNumber:t.startLineNumber,t.start-(t.startLineStart===void 0?t.lineStart:t.startLineStart),k,r-O),this.postProcess(e)),p.attachComment&&this.processComment(e),e},postProcess:function(e){return p.source&&(e.loc.source=p.source),e},createArrayExpression:function(e){return{type:g.ArrayExpression,elements:e}},createAssignmentExpression:function(e,t,i){return{type:g.AssignmentExpression,operator:e,left:t,right:i}},createBinaryExpression:function(e,t,i){var c=e==="||"||e==="&&"?g.LogicalExpression:g.BinaryExpression;return{type:c,operator:e,left:t,right:i}},createBlockStatement:function(e){return{type:g.BlockStatement,body:e}},createBreakStatement:function(e){return{type:g.BreakStatement,label:e}},createCallExpression:function(e,t){return{type:g.CallExpression,callee:e,arguments:t}},createCatchClause:function(e,t){return{type:g.CatchClause,param:e,body:t}},createConditionalExpression:function(e,t,i){return{type:g.ConditionalExpression,test:e,consequent:t,alternate:i}},createContinueStatement:function(e){return{type:g.ContinueStatement,label:e}},createDebuggerStatement:function(){return{type:g.DebuggerStatement}},createDoWhileStatement:function(e,t){return{type:g.DoWhileStatement,body:e,test:t}},createEmptyStatement:function(){return{type:g.EmptyStatement}},createExpressionStatement:function(e){return{type:g.ExpressionStatement,expression:e}},createForStatement:function(e,t,i,c){return{type:g.ForStatement,init:e,test:t,update:i,body:c}},createForInStatement:function(e,t,i){return{type:g.ForInStatement,left:e,right:t,body:i,each:!1}},createFunctionDeclaration:function(e,t,i,c){return{type:g.FunctionDeclaration,id:e,params:t,defaults:i,body:c,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(e,t,i,c){return{type:g.FunctionExpression,id:e,params:t,defaults:i,body:c,rest:null,generator:!1,expression:!1}},createIdentifier:function(e){return{type:g.Identifier,name:e}},createIfStatement:function(e,t,i){return{type:g.IfStatement,test:e,consequent:t,alternate:i}},createLabeledStatement:function(e,t){return{type:g.LabeledStatement,label:e,body:t}},createLiteral:function(e){return{type:g.Literal,value:e.value,raw:o.slice(e.start,e.end)}},createMemberExpression:function(e,t,i){return{type:g.MemberExpression,computed:e==="[",object:t,property:i}},createNewExpression:function(e,t){return{type:g.NewExpression,callee:e,arguments:t}},createObjectExpression:function(e){return{type:g.ObjectExpression,properties:e}},createPostfixExpression:function(e,t){return{type:g.UpdateExpression,operator:e,argument:t,prefix:!1}},createProgram:function(e){return{type:g.Program,body:e}},createProperty:function(e,t,i){return{type:g.Property,key:t,value:i,kind:e}},createReturnStatement:function(e){return{type:g.ReturnStatement,argument:e}},createSequenceExpression:function(e){return{type:g.SequenceExpression,expressions:e}},createSwitchCase:function(e,t){return{type:g.SwitchCase,test:e,consequent:t}},createSwitchStatement:function(e,t){return{type:g.SwitchStatement,discriminant:e,cases:t}},createThisExpression:function(){return{type:g.ThisExpression}},createThrowStatement:function(e){return{type:g.ThrowStatement,argument:e}},createTryStatement:function(e,t,i,c){return{type:g.TryStatement,block:e,guardedHandlers:t,handlers:i,finalizer:c}},createUnaryExpression:function(e,t){return e==="++"||e==="--"?{type:g.UpdateExpression,operator:e,argument:t,prefix:!0}:{type:g.UnaryExpression,operator:e,argument:t,prefix:!0}},createVariableDeclaration:function(e,t){return{type:g.VariableDeclaration,declarations:e,kind:t}},createVariableDeclarator:function(e,t){return{type:g.VariableDeclarator,id:e,init:t}},createWhileStatement:function(e,t){return{type:g.WhileStatement,test:e,body:t}},createWithStatement:function(e,t){return{type:g.WithStatement,object:e,body:t}}};function Me(){var e,t,i,c;return e=r,t=k,i=O,b(),c=k!==t,r=e,k=t,O=i,c}function q(e,t){var i,c=Array.prototype.slice.call(arguments,2),w=t.replace(/%(\d)/g,function(L,J){return A(J<c.length,"Message reference must be in range"),c[J]});throw typeof e.lineNumber=="number"?(i=new Error("Line "+e.lineNumber+": "+w),i.index=e.start,i.lineNumber=e.lineNumber,i.column=e.start-O+1):(i=new Error("Line "+k+": "+w),i.index=r,i.lineNumber=k,i.column=r-O+1),i.description=w,i}function re(){try{q.apply(null,arguments)}catch(e){if(p.errors)p.errors.push(e);else throw e}}function Ie(e){if(e.type===y.EOF&&q(e,s.UnexpectedEOS),e.type===y.NumericLiteral&&q(e,s.UnexpectedNumber),e.type===y.StringLiteral&&q(e,s.UnexpectedString),e.type===y.Identifier&&q(e,s.UnexpectedIdentifier),e.type===y.Keyword){if(ke(e.value))q(e,s.UnexpectedReserved);else if(f&&ce(e.value)){re(e,s.StrictReservedWord);return}q(e,s.UnexpectedToken,e.value)}q(e,s.UnexpectedToken,e.value)}function m(e){var t=G();(t.type!==y.Punctuator||t.value!==e)&&Ie(t)}function l(e){var t=G();(t.type!==y.Keyword||t.value!==e)&&Ie(t)}function C(e){return a.type===y.Punctuator&&a.value===e}function P(e){return a.type===y.Keyword&&a.value===e}function Z(){var e;return a.type!==y.Punctuator?!1:(e=a.value,e==="="||e==="*="||e==="/="||e==="%="||e==="+="||e==="-="||e==="<<="||e===">>="||e===">>>="||e==="&="||e==="^="||e==="|=")}function ae(){var e;if(o.charCodeAt(r)===59||C(";")){G();return}e=k,b(),k===e&&a.type!==y.EOF&&!C("}")&&Ie(a)}function Oe(e){return e.type===g.Identifier||e.type===g.MemberExpression}function Ge(){var e=[],t;for(t=a,m("[");!C("]");)C(",")?(G(),e.push(null)):(e.push(Ne()),C("]")||m(","));return G(),n.markEnd(n.createArrayExpression(e),t)}function j(e,t){var i,c,w;return i=f,w=a,c=ct(),t&&f&&ne(e[0].name)&&re(t,s.StrictParamName),f=i,n.markEnd(n.createFunctionExpression(null,e,[],c),w)}function be(){var e,t;return t=a,e=G(),e.type===y.StringLiteral||e.type===y.NumericLiteral?(f&&e.octal&&re(e,s.StrictOctalLiteral),n.markEnd(n.createLiteral(e),t)):n.markEnd(n.createIdentifier(e.value),t)}function rt(){var e,t,i,c,w,L;if(e=a,L=a,e.type===y.Identifier)return i=be(),e.value==="get"&&!C(":")?(t=be(),m("("),m(")"),c=j([]),n.markEnd(n.createProperty("get",t,c),L)):e.value==="set"&&!C(":")?(t=be(),m("("),e=a,e.type!==y.Identifier?(m(")"),re(e,s.UnexpectedToken,e.value),c=j([])):(w=[Be()],m(")"),c=j(w,e)),n.markEnd(n.createProperty("set",t,c),L)):(m(":"),c=Ne(),n.markEnd(n.createProperty("init",i,c),L));if(e.type===y.EOF||e.type===y.Punctuator)Ie(e);else return t=be(),m(":"),c=Ne(),n.markEnd(n.createProperty("init",t,c),L)}function yt(){var e=[],t,i,c,w,L={},J=String,oe;for(oe=a,m("{");!C("}");)t=rt(),t.key.type===g.Identifier?i=t.key.name:i=J(t.key.value),w=t.kind==="init"?S.Data:t.kind==="get"?S.Get:S.Set,c="$"+i,Object.prototype.hasOwnProperty.call(L,c)?(L[c]===S.Data?f&&w===S.Data?re({},s.StrictDuplicateProperty):w!==S.Data&&re({},s.AccessorDataProperty):w===S.Data?re({},s.AccessorDataProperty):L[c]&w&&re({},s.AccessorGetSet),L[c]|=w):L[c]=w,e.push(t),C("}")||m(",");return m("}"),n.markEnd(n.createObjectExpression(e),oe)}function nt(){var e;return m("("),e=ye(),m(")"),e}function vt(){var e,t,i,c;if(C("("))return nt();if(C("["))return Ge();if(C("{"))return yt();if(e=a.type,c=a,e===y.Identifier)i=n.createIdentifier(G().value);else if(e===y.StringLiteral||e===y.NumericLiteral)f&&a.octal&&re(a,s.StrictOctalLiteral),i=n.createLiteral(G());else if(e===y.Keyword){if(P("function"))return fr();P("this")?(G(),i=n.createThisExpression()):Ie(G())}else e===y.BooleanLiteral?(t=G(),t.value=t.value==="true",i=n.createLiteral(t)):e===y.NullLiteral?(t=G(),t.value=null,i=n.createLiteral(t)):C("/")||C("/=")?(typeof p.tokens<"u"?i=n.createLiteral(Re()):i=n.createLiteral(Te()),Je()):Ie(G());return n.markEnd(i,c)}function gt(){var e=[];if(m("("),!C(")"))for(;r<h&&(e.push(Ne()),!C(")"));)m(",");return m(")"),e}function Ut(){var e,t;return t=a,e=G(),lt(e)||Ie(e),n.markEnd(n.createIdentifier(e.value),t)}function St(){return m("."),Ut()}function bt(){var e;return m("["),e=ye(),m("]"),e}function Et(){var e,t,i;return i=a,l("new"),e=$t(),t=C("(")?gt():[],n.markEnd(n.createNewExpression(e,t),i)}function Ft(){var e,t,i,c,w;for(w=a,e=d.allowIn,d.allowIn=!0,t=P("new")?Et():vt(),d.allowIn=e;;){if(C("."))c=St(),t=n.createMemberExpression(".",t,c);else if(C("("))i=gt(),t=n.createCallExpression(t,i);else if(C("["))c=bt(),t=n.createMemberExpression("[",t,c);else break;n.markEnd(t,w)}return t}function $t(){var e,t,i,c;for(c=a,e=d.allowIn,t=P("new")?Et():vt(),d.allowIn=e;C(".")||C("[");)C("[")?(i=bt(),t=n.createMemberExpression("[",t,i)):(i=St(),t=n.createMemberExpression(".",t,i)),n.markEnd(t,c);return t}function kt(){var e,t,i=a;return e=Ft(),a.type===y.Punctuator&&(C("++")||C("--"))&&!Me()&&(f&&e.type===g.Identifier&&ne(e.name)&&re({},s.StrictLHSPostfix),Oe(e)||re({},s.InvalidLHSInAssignment),t=G(),e=n.markEnd(n.createPostfixExpression(t.value,e),i)),e}function Ve(){var e,t,i;return a.type!==y.Punctuator&&a.type!==y.Keyword?t=kt():C("++")||C("--")?(i=a,e=G(),t=Ve(),f&&t.type===g.Identifier&&ne(t.name)&&re({},s.StrictLHSPrefix),Oe(t)||re({},s.InvalidLHSInAssignment),t=n.createUnaryExpression(e.value,t),t=n.markEnd(t,i)):C("+")||C("-")||C("~")||C("!")?(i=a,e=G(),t=Ve(),t=n.createUnaryExpression(e.value,t),t=n.markEnd(t,i)):P("delete")||P("void")||P("typeof")?(i=a,e=G(),t=Ve(),t=n.createUnaryExpression(e.value,t),t=n.markEnd(t,i),f&&t.operator==="delete"&&t.argument.type===g.Identifier&&re({},s.StrictDelete)):t=kt(),t}function wt(e,t){var i=0;if(e.type!==y.Punctuator&&e.type!==y.Keyword)return 0;switch(e.value){case"||":i=1;break;case"&&":i=2;break;case"|":i=3;break;case"^":i=4;break;case"&":i=5;break;case"==":case"!=":case"===":case"!==":i=6;break;case"<":case">":case"<=":case">=":case"instanceof":i=7;break;case"in":i=t?7:0;break;case"<<":case">>":case">>>":i=8;break;case"+":case"-":i=9;break;case"*":case"/":case"%":i=11;break}return i}function zt(){var e,t,i,c,w,L,J,oe,Se,ve;if(e=a,Se=Ve(),c=a,w=wt(c,d.allowIn),w===0)return Se;for(c.prec=w,G(),t=[e,a],J=Ve(),L=[Se,c,J];(w=wt(a,d.allowIn))>0;){for(;L.length>2&&w<=L[L.length-2].prec;)J=L.pop(),oe=L.pop().value,Se=L.pop(),i=n.createBinaryExpression(oe,Se,J),t.pop(),e=t[t.length-1],n.markEnd(i,e),L.push(i);c=G(),c.prec=w,L.push(c),t.push(a),i=Ve(),L.push(i)}for(ve=L.length-1,i=L[ve],t.pop();ve>1;)i=n.createBinaryExpression(L[ve-1].value,L[ve-2],i),ve-=2,e=t.pop(),n.markEnd(i,e);return i}function Ht(){var e,t,i,c,w;return w=a,e=zt(),C("?")&&(G(),t=d.allowIn,d.allowIn=!0,i=Ne(),d.allowIn=t,m(":"),c=Ne(),e=n.createConditionalExpression(e,i,c),n.markEnd(e,w)),e}function Ne(){var e,t,i,c,w;return e=a,w=a,c=t=Ht(),Z()&&(Oe(t)||re({},s.InvalidLHSInAssignment),f&&t.type===g.Identifier&&ne(t.name)&&re(e,s.StrictLHSAssignment),e=G(),i=Ne(),c=n.markEnd(n.createAssignmentExpression(e.value,t,i),w)),c}function ye(){var e,t=a;if(e=Ne(),C(",")){for(e=n.createSequenceExpression([e]);r<h&&C(",");)G(),e.expressions.push(Ne());n.markEnd(e,t)}return e}function qt(){for(var e=[],t;r<h&&!(C("}")||(t=We(),typeof t>"u"));)e.push(t);return e}function it(){var e,t;return t=a,m("{"),e=qt(),m("}"),n.markEnd(n.createBlockStatement(e),t)}function Be(){var e,t;return t=a,e=G(),e.type!==y.Identifier&&Ie(e),n.markEnd(n.createIdentifier(e.value),t)}function Gt(e){var t=null,i,c;return c=a,i=Be(),f&&ne(i.name)&&re({},s.StrictVarName),e==="const"?(m("="),t=Ne()):C("=")&&(G(),t=Ne()),n.markEnd(n.createVariableDeclarator(i,t),c)}function ut(e){var t=[];do{if(t.push(Gt(e)),!C(","))break;G()}while(r<h);return t}function Vt(){var e;return l("var"),e=ut(),ae(),n.createVariableDeclaration(e,"var")}function Kt(e){var t,i;return i=a,l(e),t=ut(e),ae(),n.markEnd(n.createVariableDeclaration(t,e),i)}function Jt(){return m(";"),n.createEmptyStatement()}function Wt(){var e=ye();return ae(),n.createExpressionStatement(e)}function Xt(){var e,t,i;return l("if"),m("("),e=ye(),m(")"),t=Le(),P("else")?(G(),i=Le()):i=null,n.createIfStatement(e,t,i)}function Yt(){var e,t,i;return l("do"),i=d.inIteration,d.inIteration=!0,e=Le(),d.inIteration=i,l("while"),m("("),t=ye(),m(")"),C(";")&&G(),n.createDoWhileStatement(e,t)}function Qt(){var e,t,i;return l("while"),m("("),e=ye(),m(")"),i=d.inIteration,d.inIteration=!0,t=Le(),d.inIteration=i,n.createWhileStatement(e,t)}function Zt(){var e,t,i;return i=a,e=G(),t=ut(),n.markEnd(n.createVariableDeclaration(t,e.value),i)}function er(){var e,t,i,c,w,L,J;return e=t=i=null,l("for"),m("("),C(";")?G():(P("var")||P("let")?(d.allowIn=!1,e=Zt(),d.allowIn=!0,e.declarations.length===1&&P("in")&&(G(),c=e,w=ye(),e=null)):(d.allowIn=!1,e=ye(),d.allowIn=!0,P("in")&&(Oe(e)||re({},s.InvalidLHSInForIn),G(),c=e,w=ye(),e=null)),typeof c>"u"&&m(";")),typeof c>"u"&&(C(";")||(t=ye()),m(";"),C(")")||(i=ye())),m(")"),J=d.inIteration,d.inIteration=!0,L=Le(),d.inIteration=J,typeof c>"u"?n.createForStatement(e,t,i,L):n.createForInStatement(c,w,L)}function tr(){var e=null,t;return l("continue"),o.charCodeAt(r)===59?(G(),d.inIteration||q({},s.IllegalContinue),n.createContinueStatement(null)):Me()?(d.inIteration||q({},s.IllegalContinue),n.createContinueStatement(null)):(a.type===y.Identifier&&(e=Be(),t="$"+e.name,Object.prototype.hasOwnProperty.call(d.labelSet,t)||q({},s.UnknownLabel,e.name)),ae(),e===null&&!d.inIteration&&q({},s.IllegalContinue),n.createContinueStatement(e))}function rr(){var e=null,t;return l("break"),o.charCodeAt(r)===59?(G(),d.inIteration||d.inSwitch||q({},s.IllegalBreak),n.createBreakStatement(null)):Me()?(d.inIteration||d.inSwitch||q({},s.IllegalBreak),n.createBreakStatement(null)):(a.type===y.Identifier&&(e=Be(),t="$"+e.name,Object.prototype.hasOwnProperty.call(d.labelSet,t)||q({},s.UnknownLabel,e.name)),ae(),e===null&&!(d.inIteration||d.inSwitch)&&q({},s.IllegalBreak),n.createBreakStatement(e))}function nr(){var e=null;return l("return"),d.inFunctionBody||re({},s.IllegalReturn),o.charCodeAt(r)===32&&Y(o.charCodeAt(r+1))?(e=ye(),ae(),n.createReturnStatement(e)):Me()?n.createReturnStatement(null):(C(";")||!C("}")&&a.type!==y.EOF&&(e=ye()),ae(),n.createReturnStatement(e))}function ir(){var e,t;return f&&(b(),re({},s.StrictModeWith)),l("with"),m("("),e=ye(),m(")"),t=Le(),n.createWithStatement(e,t)}function ar(){var e,t=[],i,c;for(c=a,P("default")?(G(),e=null):(l("case"),e=ye()),m(":");r<h&&!(C("}")||P("default")||P("case"));)i=Le(),t.push(i);return n.markEnd(n.createSwitchCase(e,t),c)}function sr(){var e,t,i,c,w;if(l("switch"),m("("),e=ye(),m(")"),m("{"),t=[],C("}"))return G(),n.createSwitchStatement(e,t);for(c=d.inSwitch,d.inSwitch=!0,w=!1;r<h&&!C("}");)i=ar(),i.test===null&&(w&&q({},s.MultipleDefaultsInSwitch),w=!0),t.push(i);return d.inSwitch=c,m("}"),n.createSwitchStatement(e,t)}function or(){var e;return l("throw"),Me()&&q({},s.NewlineAfterThrow),e=ye(),ae(),n.createThrowStatement(e)}function lr(){var e,t,i;return i=a,l("catch"),m("("),C(")")&&Ie(a),e=Be(),f&&ne(e.name)&&re({},s.StrictCatchVariable),m(")"),t=it(),n.markEnd(n.createCatchClause(e,t),i)}function ur(){var e,t=[],i=null;return l("try"),e=it(),P("catch")&&t.push(lr()),P("finally")&&(G(),i=it()),t.length===0&&!i&&q({},s.NoCatchOrFinally),n.createTryStatement(e,[],t,i)}function cr(){return l("debugger"),ae(),n.createDebuggerStatement()}function Le(){var e=a.type,t,i,c,w;if(e===y.EOF&&Ie(a),e===y.Punctuator&&a.value==="{")return it();if(w=a,e===y.Punctuator)switch(a.value){case";":return n.markEnd(Jt(),w);case"(":return n.markEnd(Wt(),w)}if(e===y.Keyword)switch(a.value){case"break":return n.markEnd(rr(),w);case"continue":return n.markEnd(tr(),w);case"debugger":return n.markEnd(cr(),w);case"do":return n.markEnd(Yt(),w);case"for":return n.markEnd(er(),w);case"function":return n.markEnd(_t(),w);case"if":return n.markEnd(Xt(),w);case"return":return n.markEnd(nr(),w);case"switch":return n.markEnd(sr(),w);case"throw":return n.markEnd(or(),w);case"try":return n.markEnd(ur(),w);case"var":return n.markEnd(Vt(),w);case"while":return n.markEnd(Qt(),w);case"with":return n.markEnd(ir(),w)}return t=ye(),t.type===g.Identifier&&C(":")?(G(),c="$"+t.name,Object.prototype.hasOwnProperty.call(d.labelSet,c)&&q({},s.Redeclaration,"Label",t.name),d.labelSet[c]=!0,i=Le(),delete d.labelSet[c],n.markEnd(n.createLabeledStatement(t,i),w)):(ae(),n.markEnd(n.createExpressionStatement(t),w))}function ct(){var e,t=[],i,c,w,L,J,oe,Se,ve;for(ve=a,m("{");r<h&&!(a.type!==y.StringLiteral||(i=a,e=We(),t.push(e),e.expression.type!==g.Literal));)c=o.slice(i.start+1,i.end-1),c==="use strict"?(f=!0,w&&re(w,s.StrictOctalLiteral)):!w&&i.octal&&(w=i);for(L=d.labelSet,J=d.inIteration,oe=d.inSwitch,Se=d.inFunctionBody,d.labelSet={},d.inIteration=!1,d.inSwitch=!1,d.inFunctionBody=!0;r<h&&!(C("}")||(e=We(),typeof e>"u"));)t.push(e);return m("}"),d.labelSet=L,d.inIteration=J,d.inSwitch=oe,d.inFunctionBody=Se,n.markEnd(n.createBlockStatement(t),ve)}function xt(e){var t,i=[],c,w,L,J,oe;if(m("("),!C(")"))for(L={};r<h&&(c=a,t=Be(),J="$"+c.value,f?(ne(c.value)&&(w=c,oe=s.StrictParamName),Object.prototype.hasOwnProperty.call(L,J)&&(w=c,oe=s.StrictParamDupe)):e||(ne(c.value)?(e=c,oe=s.StrictParamName):ce(c.value)?(e=c,oe=s.StrictReservedWord):Object.prototype.hasOwnProperty.call(L,J)&&(e=c,oe=s.StrictParamDupe)),i.push(t),L[J]=!0,!C(")"));)m(",");return m(")"),{params:i,stricted:w,firstRestricted:e,message:oe}}function _t(){var e,t=[],i,c,w,L,J,oe,Se,ve;return ve=a,l("function"),c=a,e=Be(),f?ne(c.value)&&re(c,s.StrictFunctionName):ne(c.value)?(J=c,oe=s.StrictFunctionName):ce(c.value)&&(J=c,oe=s.StrictReservedWord),L=xt(J),t=L.params,w=L.stricted,J=L.firstRestricted,L.message&&(oe=L.message),Se=f,i=ct(),f&&J&&q(J,oe),f&&w&&re(w,oe),f=Se,n.markEnd(n.createFunctionDeclaration(e,t,[],i),ve)}function fr(){var e,t=null,i,c,w,L,J=[],oe,Se,ve;return ve=a,l("function"),C("(")||(e=a,t=Be(),f?ne(e.value)&&re(e,s.StrictFunctionName):ne(e.value)?(c=e,w=s.StrictFunctionName):ce(e.value)&&(c=e,w=s.StrictReservedWord)),L=xt(c),J=L.params,i=L.stricted,c=L.firstRestricted,L.message&&(w=L.message),Se=f,oe=ct(),f&&c&&q(c,w),f&&i&&re(i,w),f=Se,n.markEnd(n.createFunctionExpression(t,J,[],oe),ve)}function We(){if(a.type===y.Keyword)switch(a.value){case"const":case"let":return Kt(a.value);case"function":return _t();default:return Le()}if(a.type!==y.EOF)return Le()}function pr(){for(var e,t=[],i,c,w;r<h&&(i=a,!(i.type!==y.StringLiteral||(e=We(),t.push(e),e.expression.type!==g.Literal)));)c=o.slice(i.start+1,i.end-1),c==="use strict"?(f=!0,w&&re(w,s.StrictOctalLiteral)):!w&&i.octal&&(w=i);for(;r<h&&(e=We(),!(typeof e>"u"));)t.push(e);return t}function dr(){var e,t;return b(),Je(),t=a,f=!1,e=pr(),n.markEnd(n.createProgram(e),t)}function It(){var e,t,i,c=[];for(e=0;e<p.tokens.length;++e)t=p.tokens[e],i={type:t.type,value:t.value},p.range&&(i.range=t.range),p.loc&&(i.loc=t.loc),c.push(i);p.tokens=c}function mr(e,t){var i,c,w;i=String,typeof e!="string"&&!(e instanceof String)&&(e=i(e)),n=v,o=e,r=0,k=o.length>0?1:0,O=0,h=o.length,a=null,d={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},p={},t=t||{},t.tokens=!0,p.tokens=[],p.tokenize=!0,p.openParenToken=-1,p.openCurlyToken=-1,p.range=typeof t.range=="boolean"&&t.range,p.loc=typeof t.loc=="boolean"&&t.loc,typeof t.comment=="boolean"&&t.comment&&(p.comments=[]),typeof t.tolerant=="boolean"&&t.tolerant&&(p.errors=[]);try{if(Je(),a.type===y.EOF)return p.tokens;for(c=G();a.type!==y.EOF;)try{c=G()}catch(L){if(c=a,p.errors){p.errors.push(L);break}else throw L}It(),w=p.tokens,typeof p.comments<"u"&&(w.comments=p.comments),typeof p.errors<"u"&&(w.errors=p.errors)}catch(L){throw L}finally{p={}}return w}function hr(e,t){var i,c;c=String,typeof e!="string"&&!(e instanceof String)&&(e=c(e)),n=v,o=e,r=0,k=o.length>0?1:0,O=0,h=o.length,a=null,d={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},p={},typeof t<"u"&&(p.range=typeof t.range=="boolean"&&t.range,p.loc=typeof t.loc=="boolean"&&t.loc,p.attachComment=typeof t.attachComment=="boolean"&&t.attachComment,p.loc&&t.source!==null&&t.source!==void 0&&(p.source=c(t.source)),typeof t.tokens=="boolean"&&t.tokens&&(p.tokens=[]),typeof t.comment=="boolean"&&t.comment&&(p.comments=[]),typeof t.tolerant=="boolean"&&t.tolerant&&(p.errors=[]),p.attachComment&&(p.range=!0,p.comments=[],p.bottomRightStack=[],p.trailingComments=[],p.leadingComments=[]));try{i=dr(),typeof p.comments<"u"&&(i.comments=p.comments),typeof p.tokens<"u"&&(It(),i.tokens=p.tokens),typeof p.errors<"u"&&(i.errors=p.errors)}catch(w){throw w}finally{p={}}return i}x.version="1.2.2",x.tokenize=mr,x.parse=hr,x.Syntax=function(){var e,t={};typeof Object.create=="function"&&(t=Object.create(null));for(e in g)g.hasOwnProperty(e)&&(t[e]=g[e]);return typeof Object.freeze=="function"&&Object.freeze(t),t}()})},{}],1:[function(D,$,N){(function(x){var y=function(){var I={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(u,v,o,f,r,k,O){f.ast||(f.ast=E,E.initialize());var h=k.length-1;switch(r){case 1:return f.ast.set({expression:{type:"root",value:k[h]}}),f.ast.unshift(),f.ast.yield();case 2:return f.ast.set({expression:{type:"root",value:k[h-1]}}),f.ast.unshift(),f.ast.yield();case 3:return f.ast.unshift(),f.ast.yield();case 4:return f.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:k[h-1]}}),f.ast.unshift(),f.ast.yield();case 5:break;case 6:break;case 7:f.ast.set({operation:"member"}),f.ast.push();break;case 8:f.ast.set({operation:"subscript"}),f.ast.push();break;case 9:f.ast.set({scope:"child"});break;case 10:f.ast.set({scope:"descendant"});break;case 11:break;case 12:f.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:f.ast.set({expression:{type:"wildcard",value:k[h]}});break;case 15:f.ast.set({expression:{type:"identifier",value:k[h]}});break;case 16:f.ast.set({expression:{type:"script_expression",value:k[h]}});break;case 17:f.ast.set({expression:{type:"numeric_literal",value:parseInt(k[h])}});break;case 18:break;case 19:f.ast.set({scope:"child"});break;case 20:f.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:k[h].length>1?f.ast.set({expression:{type:"union",value:k[h]}}):this.$=k[h];break;case 25:this.$=[k[h]];break;case 26:this.$=k[h-2].concat(k[h]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(k[h])}},f.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:k[h]}},f.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:k[h]}},f.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:k[h]}},f.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:k[h]}},f.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:k[h]}},f.ast.set(this.$);break;case 33:this.$=k[h];break;case 34:this.$=k[h];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(u,v){if(v.recoverable)this.trace(u);else throw new Error(u)},parse:function(u){var v=this,o=[0],f=[null],r=[],k=this.table,O="",h=0,n=0,a=2,d=1,p=r.slice.call(arguments,1);this.lexer.setInput(u),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var A=this.lexer.yylloc;r.push(A);var V=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function W(){var he;return he=v.lexer.lex()||d,typeof he!="number"&&(he=v.symbols_[he]||he),he}for(var M,Q,K,Y,se={},ke,ce,ne,le;;){if(Q=o[o.length-1],this.defaultActions[Q]?K=this.defaultActions[Q]:((M===null||typeof M>"u")&&(M=W()),K=k[Q]&&k[Q][M]),typeof K>"u"||!K.length||!K[0]){var ge="";le=[];for(ke in k[Q])this.terminals_[ke]&&ke>a&&le.push("'"+this.terminals_[ke]+"'");this.lexer.showPosition?ge="Parse error on line "+(h+1)+`:
4
+ `+this.lexer.showPosition()+`
5
+ Expecting `+le.join(", ")+", got '"+(this.terminals_[M]||M)+"'":ge="Parse error on line "+(h+1)+": Unexpected "+(M==d?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(ge,{text:this.lexer.match,token:this.terminals_[M]||M,line:this.lexer.yylineno,loc:A,expected:le})}if(K[0]instanceof Array&&K.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Q+", token: "+M);switch(K[0]){case 1:o.push(M),f.push(this.lexer.yytext),r.push(this.lexer.yylloc),o.push(K[1]),M=null,n=this.lexer.yyleng,O=this.lexer.yytext,h=this.lexer.yylineno,A=this.lexer.yylloc;break;case 2:if(ce=this.productions_[K[1]][1],se.$=f[f.length-ce],se._$={first_line:r[r.length-(ce||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(ce||1)].first_column,last_column:r[r.length-1].last_column},V&&(se._$.range=[r[r.length-(ce||1)].range[0],r[r.length-1].range[1]]),Y=this.performAction.apply(se,[O,n,h,this.yy,K[1],f,r].concat(p)),typeof Y<"u")return Y;ce&&(o=o.slice(0,-1*ce*2),f=f.slice(0,-1*ce),r=r.slice(0,-1*ce)),o.push(this.productions_[K[1]][0]),f.push(se.$),r.push(se._$),ne=k[o[o.length-2]][o[o.length-1]],o.push(ne);break;case 3:return!0}}return!0}},E={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(s){for(var u in s)this._node[u]=s[u];return this._node},node:function(s){return arguments.length&&(this._node=s),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var s=this._nodes;return this.initialize(),s}},g=function(){var s={EOF:1,parseError:function(v,o){if(this.yy.parser)this.yy.parser.parseError(v,o);else throw new Error(v)},setInput:function(u){return this._input=u,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var u=this._input[0];this.yytext+=u,this.yyleng++,this.offset++,this.match+=u,this.matched+=u;var v=u.match(/(?:\r\n?|\n).*/g);return v?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),u},unput:function(u){var v=u.length,o=u.split(/(?:\r\n?|\n)/g);this._input=u+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-v-1),this.offset-=v;var f=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),o.length-1&&(this.yylineno-=o.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:o?(o.length===f.length?this.yylloc.first_column:0)+f[f.length-o.length].length-o[0].length:this.yylloc.first_column-v},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-v]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
6
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(u){this.unput(this.match.slice(u))},pastInput:function(){var u=this.matched.substr(0,this.matched.length-this.match.length);return(u.length>20?"...":"")+u.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var u=this.match;return u.length<20&&(u+=this._input.substr(0,20-u.length)),(u.substr(0,20)+(u.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var u=this.pastInput(),v=new Array(u.length+1).join("-");return u+this.upcomingInput()+`
7
+ `+v+"^"},test_match:function(u,v){var o,f,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),f=u[0].match(/(?:\r\n?|\n).*/g),f&&(this.yylineno+=f.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:f?f[f.length-1].length-f[f.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+u[0].length},this.yytext+=u[0],this.match+=u[0],this.matches=u,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(u[0].length),this.matched+=u[0],o=this.performAction.call(this,this.yy,this,v,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),o)return o;if(this._backtrack){for(var k in r)this[k]=r[k];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var u,v,o,f;this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),k=0;k<r.length;k++)if(o=this._input.match(this.rules[r[k]]),o&&(!v||o[0].length>v[0].length)){if(v=o,f=k,this.options.backtrack_lexer){if(u=this.test_match(o,r[k]),u!==!1)return u;if(this._backtrack){v=!1;continue}else return!1}else if(!this.options.flex)break}return v?(u=this.test_match(v,r[f]),u!==!1?u:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
8
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var v=this.next();return v||this.lex()},begin:function(v){this.conditionStack.push(v)},popState:function(){var v=this.conditionStack.length-1;return v>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(v){return v=this.conditionStack.length-1-Math.abs(v||0),v>=0?this.conditionStack[v]:"INITIAL"},pushState:function(v){this.begin(v)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(v,o,f,r){switch(f){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return o.yytext=o.yytext.substr(1,o.yyleng-2),32;case 11:return o.yytext=o.yytext.substr(1,o.yyleng-2),33;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return s}();I.lexer=g;function S(){this.yy={}}return S.prototype=I,I.Parser=S,new S}();typeof D<"u"&&typeof N<"u"&&(N.parser=y,N.Parser=y.Parser,N.parse=function(){return y.parse.apply(y,arguments)},N.main=function(E){E[1]||(console.log("Usage: "+E[0]+" FILE"),x.exit(1));var g=D("fs").readFileSync(D("path").normalize(E[1]),"utf8");return N.parser.parse(g)},typeof $<"u"&&D.main===$&&N.main(x.argv.slice(1)))}).call(this,D("_process"))},{_process:14,fs:12,path:13}],2:[function(D,$,N){$.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(D,$,N){var x=D("./dict"),y=D("fs"),I={lex:{macros:{esc:"\\\\",int:x.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[x.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[x.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[x.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};y.readFileSync&&(I.moduleInclude=y.readFileSync(D.resolve("../include/module.js")),I.actionInclude=y.readFileSync(D.resolve("../include/action.js"))),$.exports=I},{"./dict":2,fs:12}],4:[function(D,$,N){var x=D("./aesprim"),y=D("./slice"),I=D("static-eval"),E=D("underscore").uniq,g=function(){return this.initialize.apply(this,arguments)};g.prototype.initialize=function(){this.traverse=v(!0),this.descend=v()},g.prototype.keys=Object.keys,g.prototype.resolve=function(h){var n=[h.operation,h.scope,h.expression.type].join("-"),a=this._fns[n];if(!a)throw new Error("couldn't resolve key: "+n);return a.bind(this)},g.prototype.register=function(h,n){if(!n instanceof Function)throw new Error("handler must be a function");this._fns[h]=n},g.prototype._fns={"member-child-identifier":function(h,n){var a=h.expression.value,d=n.value;if(d instanceof Object&&a in d)return[{value:d[a],path:n.path.concat(a)}]},"member-descendant-identifier":f(function(h,n,a){return h==a}),"subscript-child-numeric_literal":o(function(h,n,a){return h===a}),"member-child-numeric_literal":o(function(h,n,a){return String(h)===String(a)}),"subscript-descendant-numeric_literal":f(function(h,n,a){return h===a}),"member-child-wildcard":o(function(){return!0}),"member-descendant-wildcard":f(function(){return!0}),"subscript-descendant-wildcard":f(function(){return!0}),"subscript-child-wildcard":o(function(){return!0}),"subscript-child-slice":function(h,n){if(s(n.value)){var a=h.expression.value.split(":").map(O),d=n.value.map(function(p,A){return{value:p,path:n.path.concat(A)}});return y.apply(null,[d].concat(a))}},"subscript-child-union":function(h,n){var a=[];return h.expression.value.forEach(function(d){var p={operation:"subscript",scope:"child",expression:d.expression},A=this.resolve(p),V=A(p,n);V&&(a=a.concat(V))},this),k(a)},"subscript-descendant-union":function(h,n,a){var d=D(".."),p=this,A=[],V=d.nodes(n,"$..*").slice(1);return V.forEach(function(W){A.length>=a||h.expression.value.forEach(function(M){var Q={operation:"subscript",scope:"child",expression:M.expression},K=p.resolve(Q),Y=K(Q,W);A=A.concat(Y)})}),k(A)},"subscript-child-filter_expression":function(h,n,a){var d=h.expression.value.slice(2,-1),p=x.parse(d).body[0].expression,A=function(V,W){return r(p,{"@":W})};return this.descend(n,null,A,a)},"subscript-descendant-filter_expression":function(h,n,a){var d=h.expression.value.slice(2,-1),p=x.parse(d).body[0].expression,A=function(V,W){return r(p,{"@":W})};return this.traverse(n,null,A,a)},"subscript-child-script_expression":function(h,n){var a=h.expression.value.slice(1,-1);return S(n,a,"$[{{value}}]")},"member-child-script_expression":function(h,n){var a=h.expression.value.slice(1,-1);return S(n,a,"$.{{value}}")},"member-descendant-script_expression":function(h,n){var a=h.expression.value.slice(1,-1);return S(n,a,"$..value")}},g.prototype._fns["subscript-child-string_literal"]=g.prototype._fns["member-child-identifier"],g.prototype._fns["member-descendant-numeric_literal"]=g.prototype._fns["subscript-descendant-string_literal"]=g.prototype._fns["member-descendant-identifier"];function S(h,n,a){var d=D("./index"),p=x.parse(n).body[0].expression,A=r(p,{"@":h.value}),V=a.replace(/\{\{\s*value\s*\}\}/g,A),W=d.nodes(h.value,V);return W.forEach(function(M){M.path=h.path.concat(M.path.slice(1))}),W}function s(h){return Array.isArray(h)}function u(h){return h&&!(h instanceof Array)&&h instanceof Object}function v(h){return function(n,a,d,p){var A=n.value,V=n.path,W=[],M=(function(Q,K){s(Q)?(Q.forEach(function(Y,se){W.length>=p||d(se,Y,a)&&W.push({path:K.concat(se),value:Y})}),Q.forEach(function(Y,se){W.length>=p||h&&M(Y,K.concat(se))})):u(Q)&&(this.keys(Q).forEach(function(Y){W.length>=p||d(Y,Q[Y],a)&&W.push({path:K.concat(Y),value:Q[Y]})}),this.keys(Q).forEach(function(Y){W.length>=p||h&&M(Q[Y],K.concat(Y))}))}).bind(this);return M(A,V),W}}function o(h){return function(n,a,d){return this.descend(a,n.expression.value,h,d)}}function f(h){return function(n,a,d){return this.traverse(a,n.expression.value,h,d)}}function r(){try{return I.apply(this,arguments)}catch{}}function k(h){return h=h.filter(function(n){return n}),E(h,function(n){return n.path.map(function(a){return String(a).replace("-","--")}).join("-")})}function O(h){var n=String(h);return n.match(/^-?[0-9]+$/)?parseInt(n):null}$.exports=g},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(D,$,N){var x=D("assert"),y=D("./dict"),I=D("./parser"),E=D("./handlers"),g=function(){this.initialize.apply(this,arguments)};g.prototype.initialize=function(){this.parser=new I,this.handlers=new E},g.prototype.parse=function(u){return x.ok(S(u),"we need a path"),this.parser.parse(u)},g.prototype.parent=function(u,v){x.ok(u instanceof Object,"obj needs to be an object"),x.ok(v,"we need a path");var o=this.nodes(u,v)[0];return o.path.pop(),this.value(u,o.path)},g.prototype.apply=function(u,v,o){x.ok(u instanceof Object,"obj needs to be an object"),x.ok(v,"we need a path"),x.equal(typeof o,"function","fn needs to be function");var f=this.nodes(u,v).sort(function(r,k){return k.path.length-r.path.length});return f.forEach(function(r){var k=r.path.pop(),O=this.value(u,this.stringify(r.path)),h=r.value=o.call(u,O[k]);O[k]=h},this),f},g.prototype.value=function(u,v,o){if(x.ok(u instanceof Object,"obj needs to be an object"),x.ok(v,"we need a path"),arguments.length>=3){var f=this.nodes(u,v).shift();if(!f)return this._vivify(u,v,o);var r=f.path.slice(-1).shift(),k=this.parent(u,this.stringify(f.path));k[r]=o}return this.query(u,this.stringify(v),1).shift()},g.prototype._vivify=function(u,v,o){var f=this;x.ok(u instanceof Object,"obj needs to be an object"),x.ok(v,"we need a path");var r=this.parser.parse(v).map(function(O){return O.expression.value}),k=function(O,h){var n=O.pop(),a=f.value(u,O);a||(k(O.concat(),typeof n=="string"?{}:[]),a=f.value(u,O)),a[n]=h};return k(r,o),this.query(u,v)[0]},g.prototype.query=function(u,v,o){x.ok(u instanceof Object,"obj needs to be an object"),x.ok(S(v),"we need a path");var f=this.nodes(u,v,o).map(function(r){return r.value});return f},g.prototype.paths=function(u,v,o){x.ok(u instanceof Object,"obj needs to be an object"),x.ok(v,"we need a path");var f=this.nodes(u,v,o).map(function(r){return r.path});return f},g.prototype.nodes=function(u,v,o){if(x.ok(u instanceof Object,"obj needs to be an object"),x.ok(v,"we need a path"),o===0)return[];var f=this.parser.parse(v),r=this.handlers,k=[{path:["$"],value:u}],O=[];return f.length&&f[0].expression.type=="root"&&f.shift(),f.length?(f.forEach(function(h,n){if(!(O.length>=o)){var a=r.resolve(h),d=[];k.forEach(function(p){if(!(O.length>=o)){var A=a(h,p,o);n==f.length-1?O=O.concat(A||[]):d=d.concat(A||[])}}),k=d}}),o?O.slice(0,o):O):k},g.prototype.stringify=function(u){x.ok(u,"we need a path");var v="$",o={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return u=this._normalize(u),u.forEach(function(f){if(f.expression.type!="root"){var r=[f.scope,f.operation].join("-"),k=o[r],O;if(f.expression.type=="string_literal"?O=JSON.stringify(f.expression.value):O=f.expression.value,!k)throw new Error("couldn't find template "+r);v+=k.replace(/{{value}}/,O)}}),v},g.prototype._normalize=function(u){if(x.ok(u,"we need a path"),typeof u=="string")return this.parser.parse(u);if(Array.isArray(u)&&typeof u[0]=="string"){var v=[{expression:{type:"root",value:"$"}}];return u.forEach(function(o,f){if(!(o=="$"&&f===0))if(typeof o=="string"&&o.match("^"+y.identifier+"$"))v.push({operation:"member",scope:"child",expression:{value:o,type:"identifier"}});else{var r=typeof o=="number"?"numeric_literal":"string_literal";v.push({operation:"subscript",scope:"child",expression:{value:o,type:r}})}}),v}else if(Array.isArray(u)&&typeof u[0]=="object")return u;throw new Error("couldn't understand path "+u)};function S(u){return Object.prototype.toString.call(u)=="[object String]"}g.Handlers=E,g.Parser=I;var s=new g;s.JSONPath=g,$.exports=s},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(D,$,N){var x=D("./grammar"),y=D("../generated/parser"),I=function(){var E=new y.Parser,g=E.parseError;return E.yy.parseError=function(){E.yy.ast&&E.yy.ast.initialize(),g.apply(E,arguments)},E};I.grammar=x,$.exports=I},{"../generated/parser":1,"./grammar":3}],7:[function(D,$,N){$.exports=function(y,I,E,g){if(typeof I=="string")throw new Error("start cannot be a string");if(typeof E=="string")throw new Error("end cannot be a string");if(typeof g=="string")throw new Error("step cannot be a string");var S=y.length;if(g===0)throw new Error("step cannot be zero");if(g=g?x(g):1,I=I<0?S+I:I,E=E<0?S+E:E,I=x(I===0?0:I||(g>0?0:S-1)),E=x(E===0?0:E||(g>0?S:-1)),I=g>0?Math.max(0,I):Math.min(S,I),E=g>0?Math.min(E,S):Math.max(-1,E),g>0&&E<=I)return[];if(g<0&&I<=E)return[];for(var s=[],u=I;u!=E&&!(g<0&&u<=E||g>0&&u>=E);u+=g)s.push(y[u]);return s};function x(y){return String(y).match(/^[0-9]+$/)?parseInt(y):Number.isFinite(y)?parseInt(y,10):0}},{}],8:[function(D,$,N){var x=D("util/"),y=Array.prototype.slice,I=Object.prototype.hasOwnProperty,E=$.exports=v;E.AssertionError=function(a){this.name="AssertionError",this.actual=a.actual,this.expected=a.expected,this.operator=a.operator,a.message?(this.message=a.message,this.generatedMessage=!1):(this.message=s(this),this.generatedMessage=!0);var d=a.stackStartFunction||u;if(Error.captureStackTrace)Error.captureStackTrace(this,d);else{var p=new Error;if(p.stack){var A=p.stack,V=d.name,W=A.indexOf(`
9
+ `+V);if(W>=0){var M=A.indexOf(`
10
+ `,W+1);A=A.substring(M+1)}this.stack=A}}},x.inherits(E.AssertionError,Error);function g(n,a){return x.isUndefined(a)?""+a:x.isNumber(a)&&!isFinite(a)||x.isFunction(a)||x.isRegExp(a)?a.toString():a}function S(n,a){return x.isString(n)?n.length<a?n:n.slice(0,a):n}function s(n){return S(JSON.stringify(n.actual,g),128)+" "+n.operator+" "+S(JSON.stringify(n.expected,g),128)}function u(n,a,d,p,A){throw new E.AssertionError({message:d,actual:n,expected:a,operator:p,stackStartFunction:A})}E.fail=u;function v(n,a){n||u(n,!0,a,"==",E.ok)}E.ok=v,E.equal=function(a,d,p){a!=d&&u(a,d,p,"==",E.equal)},E.notEqual=function(a,d,p){a==d&&u(a,d,p,"!=",E.notEqual)},E.deepEqual=function(a,d,p){o(a,d)||u(a,d,p,"deepEqual",E.deepEqual)};function o(n,a){if(n===a)return!0;if(x.isBuffer(n)&&x.isBuffer(a)){if(n.length!=a.length)return!1;for(var d=0;d<n.length;d++)if(n[d]!==a[d])return!1;return!0}else return x.isDate(n)&&x.isDate(a)?n.getTime()===a.getTime():x.isRegExp(n)&&x.isRegExp(a)?n.source===a.source&&n.global===a.global&&n.multiline===a.multiline&&n.lastIndex===a.lastIndex&&n.ignoreCase===a.ignoreCase:!x.isObject(n)&&!x.isObject(a)?n==a:r(n,a)}function f(n){return Object.prototype.toString.call(n)=="[object Arguments]"}function r(n,a){if(x.isNullOrUndefined(n)||x.isNullOrUndefined(a)||n.prototype!==a.prototype)return!1;if(x.isPrimitive(n)||x.isPrimitive(a))return n===a;var d=f(n),p=f(a);if(d&&!p||!d&&p)return!1;if(d)return n=y.call(n),a=y.call(a),o(n,a);var A=h(n),V=h(a),W,M;if(A.length!=V.length)return!1;for(A.sort(),V.sort(),M=A.length-1;M>=0;M--)if(A[M]!=V[M])return!1;for(M=A.length-1;M>=0;M--)if(W=A[M],!o(n[W],a[W]))return!1;return!0}E.notDeepEqual=function(a,d,p){o(a,d)&&u(a,d,p,"notDeepEqual",E.notDeepEqual)},E.strictEqual=function(a,d,p){a!==d&&u(a,d,p,"===",E.strictEqual)},E.notStrictEqual=function(a,d,p){a===d&&u(a,d,p,"!==",E.notStrictEqual)};function k(n,a){return!n||!a?!1:Object.prototype.toString.call(a)=="[object RegExp]"?a.test(n):n instanceof a?!0:a.call({},n)===!0}function O(n,a,d,p){var A;x.isString(d)&&(p=d,d=null);try{a()}catch(V){A=V}if(p=(d&&d.name?" ("+d.name+").":".")+(p?" "+p:"."),n&&!A&&u(A,d,"Missing expected exception"+p),!n&&k(A,d)&&u(A,d,"Got unwanted exception"+p),n&&A&&d&&!k(A,d)||!n&&A)throw A}E.throws=function(n,a,d){O.apply(this,[!0].concat(y.call(arguments)))},E.doesNotThrow=function(n,a){O.apply(this,[!1].concat(y.call(arguments)))},E.ifError=function(n){if(n)throw n};var h=Object.keys||function(n){var a=[];for(var d in n)I.call(n,d)&&a.push(d);return a}},{"util/":11}],9:[function(D,$,N){typeof Object.create=="function"?$.exports=function(y,I){y.super_=I,y.prototype=Object.create(I.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}})}:$.exports=function(y,I){y.super_=I;var E=function(){};E.prototype=I.prototype,y.prototype=new E,y.prototype.constructor=y}},{}],10:[function(D,$,N){$.exports=function(y){return y&&typeof y=="object"&&typeof y.copy=="function"&&typeof y.fill=="function"&&typeof y.readUInt8=="function"}},{}],11:[function(D,$,N){(function(x,y){var I=/%[sdj%]/g;N.format=function(b){if(!V(b)){for(var T=[],R=0;R<arguments.length;R++)T.push(S(arguments[R]));return T.join(" ")}for(var R=1,ee=arguments,me=ee.length,X=String(b).replace(I,function(ie){if(ie==="%%")return"%";if(R>=me)return ie;switch(ie){case"%s":return String(ee[R++]);case"%d":return Number(ee[R++]);case"%j":try{return JSON.stringify(ee[R++])}catch{return"[Circular]"}default:return ie}}),te=ee[R];R<me;te=ee[++R])d(te)||!K(te)?X+=" "+te:X+=" "+S(te);return X},N.deprecate=function(b,T){if(M(y.process))return function(){return N.deprecate(b,T).apply(this,arguments)};if(x.noDeprecation===!0)return b;var R=!1;function ee(){if(!R){if(x.throwDeprecation)throw new Error(T);x.traceDeprecation?console.trace(T):console.error(T),R=!0}return b.apply(this,arguments)}return ee};var E={},g;N.debuglog=function(b){if(M(g)&&(g=x.env.NODE_DEBUG||""),b=b.toUpperCase(),!E[b])if(new RegExp("\\b"+b+"\\b","i").test(g)){var T=x.pid;E[b]=function(){var R=N.format.apply(N,arguments);console.error("%s %d: %s",b,T,R)}}else E[b]=function(){};return E[b]};function S(b,T){var R={seen:[],stylize:u};return arguments.length>=3&&(R.depth=arguments[2]),arguments.length>=4&&(R.colors=arguments[3]),a(T)?R.showHidden=T:T&&N._extend(R,T),M(R.showHidden)&&(R.showHidden=!1),M(R.depth)&&(R.depth=2),M(R.colors)&&(R.colors=!1),M(R.customInspect)&&(R.customInspect=!0),R.colors&&(R.stylize=s),o(R,b,R.depth)}N.inspect=S,S.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},S.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function s(b,T){var R=S.styles[T];return R?"\x1B["+S.colors[R][0]+"m"+b+"\x1B["+S.colors[R][1]+"m":b}function u(b,T){return b}function v(b){var T={};return b.forEach(function(R,ee){T[R]=!0}),T}function o(b,T,R){if(b.customInspect&&T&&ke(T.inspect)&&T.inspect!==N.inspect&&!(T.constructor&&T.constructor.prototype===T)){var ee=T.inspect(R,b);return V(ee)||(ee=o(b,ee,R)),ee}var me=f(b,T);if(me)return me;var X=Object.keys(T),te=v(X);if(b.showHidden&&(X=Object.getOwnPropertyNames(T)),se(T)&&(X.indexOf("message")>=0||X.indexOf("description")>=0))return r(T);if(X.length===0){if(ke(T)){var ie=T.name?": "+T.name:"";return b.stylize("[Function"+ie+"]","special")}if(Q(T))return b.stylize(RegExp.prototype.toString.call(T),"regexp");if(Y(T))return b.stylize(Date.prototype.toString.call(T),"date");if(se(T))return r(T)}var U="",_e=!1,Pe=["{","}"];if(n(T)&&(_e=!0,Pe=["[","]"]),ke(T)){var ze=T.name?": "+T.name:"";U=" [Function"+ze+"]"}if(Q(T)&&(U=" "+RegExp.prototype.toString.call(T)),Y(T)&&(U=" "+Date.prototype.toUTCString.call(T)),se(T)&&(U=" "+r(T)),X.length===0&&(!_e||T.length==0))return Pe[0]+U+Pe[1];if(R<0)return Q(T)?b.stylize(RegExp.prototype.toString.call(T),"regexp"):b.stylize("[Object]","special");b.seen.push(T);var je;return _e?je=k(b,T,R,te,X):je=X.map(function(Te){return O(b,T,R,te,Te,_e)}),b.seen.pop(),h(je,U,Pe)}function f(b,T){if(M(T))return b.stylize("undefined","undefined");if(V(T)){var R="'"+JSON.stringify(T).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return b.stylize(R,"string")}if(A(T))return b.stylize(""+T,"number");if(a(T))return b.stylize(""+T,"boolean");if(d(T))return b.stylize("null","null")}function r(b){return"["+Error.prototype.toString.call(b)+"]"}function k(b,T,R,ee,me){for(var X=[],te=0,ie=T.length;te<ie;++te)De(T,String(te))?X.push(O(b,T,R,ee,String(te),!0)):X.push("");return me.forEach(function(U){U.match(/^\d+$/)||X.push(O(b,T,R,ee,U,!0))}),X}function O(b,T,R,ee,me,X){var te,ie,U;if(U=Object.getOwnPropertyDescriptor(T,me)||{value:T[me]},U.get?U.set?ie=b.stylize("[Getter/Setter]","special"):ie=b.stylize("[Getter]","special"):U.set&&(ie=b.stylize("[Setter]","special")),De(ee,me)||(te="["+me+"]"),ie||(b.seen.indexOf(U.value)<0?(d(R)?ie=o(b,U.value,null):ie=o(b,U.value,R-1),ie.indexOf(`
11
+ `)>-1&&(X?ie=ie.split(`
12
+ `).map(function(_e){return" "+_e}).join(`
13
+ `).substr(2):ie=`
14
+ `+ie.split(`
15
+ `).map(function(_e){return" "+_e}).join(`
16
+ `))):ie=b.stylize("[Circular]","special")),M(te)){if(X&&me.match(/^\d+$/))return ie;te=JSON.stringify(""+me),te.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(te=te.substr(1,te.length-2),te=b.stylize(te,"name")):(te=te.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),te=b.stylize(te,"string"))}return te+": "+ie}function h(b,T,R){var ee=b.reduce(function(me,X){return X.indexOf(`
17
+ `)>=0,me+X.replace(/\u001b\[\d\d?m/g,"").length+1},0);return ee>60?R[0]+(T===""?"":T+`
18
+ `)+" "+b.join(`,
19
+ `)+" "+R[1]:R[0]+T+" "+b.join(", ")+" "+R[1]}function n(b){return Array.isArray(b)}N.isArray=n;function a(b){return typeof b=="boolean"}N.isBoolean=a;function d(b){return b===null}N.isNull=d;function p(b){return b==null}N.isNullOrUndefined=p;function A(b){return typeof b=="number"}N.isNumber=A;function V(b){return typeof b=="string"}N.isString=V;function W(b){return typeof b=="symbol"}N.isSymbol=W;function M(b){return b===void 0}N.isUndefined=M;function Q(b){return K(b)&&ne(b)==="[object RegExp]"}N.isRegExp=Q;function K(b){return typeof b=="object"&&b!==null}N.isObject=K;function Y(b){return K(b)&&ne(b)==="[object Date]"}N.isDate=Y;function se(b){return K(b)&&(ne(b)==="[object Error]"||b instanceof Error)}N.isError=se;function ke(b){return typeof b=="function"}N.isFunction=ke;function ce(b){return b===null||typeof b=="boolean"||typeof b=="number"||typeof b=="string"||typeof b=="symbol"||typeof b>"u"}N.isPrimitive=ce,N.isBuffer=D("./support/isBuffer");function ne(b){return Object.prototype.toString.call(b)}function le(b){return b<10?"0"+b.toString(10):b.toString(10)}var ge=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function he(){var b=new Date,T=[le(b.getHours()),le(b.getMinutes()),le(b.getSeconds())].join(":");return[b.getDate(),ge[b.getMonth()],T].join(" ")}N.log=function(){console.log("%s - %s",he(),N.format.apply(N,arguments))},N.inherits=D("inherits"),N._extend=function(b,T){if(!T||!K(T))return b;for(var R=Object.keys(T),ee=R.length;ee--;)b[R[ee]]=T[R[ee]];return b};function De(b,T){return Object.prototype.hasOwnProperty.call(b,T)}}).call(this,D("_process"),typeof Tt<"u"?Tt:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(D,$,N){},{}],13:[function(D,$,N){(function(x){function y(S,s){for(var u=0,v=S.length-1;v>=0;v--){var o=S[v];o==="."?S.splice(v,1):o===".."?(S.splice(v,1),u++):u&&(S.splice(v,1),u--)}if(s)for(;u--;u)S.unshift("..");return S}N.resolve=function(){for(var S="",s=!1,u=arguments.length-1;u>=-1&&!s;u--){var v=u>=0?arguments[u]:x.cwd();if(typeof v!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!v)continue;S=v+"/"+S,s=v.charAt(0)==="/"}return S=y(E(S.split("/"),function(o){return!!o}),!s).join("/"),(s?"/":"")+S||"."},N.normalize=function(S){var s=N.isAbsolute(S),u=g(S,-1)==="/";return S=y(E(S.split("/"),function(v){return!!v}),!s).join("/"),!S&&!s&&(S="."),S&&u&&(S+="/"),(s?"/":"")+S},N.isAbsolute=function(S){return S.charAt(0)==="/"},N.join=function(){var S=Array.prototype.slice.call(arguments,0);return N.normalize(E(S,function(s,u){if(typeof s!="string")throw new TypeError("Arguments to path.join must be strings");return s}).join("/"))},N.relative=function(S,s){S=N.resolve(S).substr(1),s=N.resolve(s).substr(1);function u(h){for(var n=0;n<h.length&&h[n]==="";n++);for(var a=h.length-1;a>=0&&h[a]==="";a--);return n>a?[]:h.slice(n,a-n+1)}for(var v=u(S.split("/")),o=u(s.split("/")),f=Math.min(v.length,o.length),r=f,k=0;k<f;k++)if(v[k]!==o[k]){r=k;break}for(var O=[],k=r;k<v.length;k++)O.push("..");return O=O.concat(o.slice(r)),O.join("/")},N.sep="/",N.delimiter=":",N.dirname=function(S){if(typeof S!="string"&&(S=S+""),S.length===0)return".";for(var s=S.charCodeAt(0),u=s===47,v=-1,o=!0,f=S.length-1;f>=1;--f)if(s=S.charCodeAt(f),s===47){if(!o){v=f;break}}else o=!1;return v===-1?u?"/":".":u&&v===1?"/":S.slice(0,v)};function I(S){typeof S!="string"&&(S=S+"");var s=0,u=-1,v=!0,o;for(o=S.length-1;o>=0;--o)if(S.charCodeAt(o)===47){if(!v){s=o+1;break}}else u===-1&&(v=!1,u=o+1);return u===-1?"":S.slice(s,u)}N.basename=function(S,s){var u=I(S);return s&&u.substr(-1*s.length)===s&&(u=u.substr(0,u.length-s.length)),u},N.extname=function(S){typeof S!="string"&&(S=S+"");for(var s=-1,u=0,v=-1,o=!0,f=0,r=S.length-1;r>=0;--r){var k=S.charCodeAt(r);if(k===47){if(!o){u=r+1;break}continue}v===-1&&(o=!1,v=r+1),k===46?s===-1?s=r:f!==1&&(f=1):s!==-1&&(f=-1)}return s===-1||v===-1||f===0||f===1&&s===v-1&&s===u+1?"":S.slice(s,v)};function E(S,s){if(S.filter)return S.filter(s);for(var u=[],v=0;v<S.length;v++)s(S[v],v,S)&&u.push(S[v]);return u}var g="ab".substr(-1)==="b"?function(S,s,u){return S.substr(s,u)}:function(S,s,u){return s<0&&(s=S.length+s),S.substr(s,u)}}).call(this,D("_process"))},{_process:14}],14:[function(D,$,N){var x=$.exports={},y,I;function E(){throw new Error("setTimeout has not been defined")}function g(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?y=setTimeout:y=E}catch{y=E}try{typeof clearTimeout=="function"?I=clearTimeout:I=g}catch{I=g}})();function S(n){if(y===setTimeout)return setTimeout(n,0);if((y===E||!y)&&setTimeout)return y=setTimeout,setTimeout(n,0);try{return y(n,0)}catch{try{return y.call(null,n,0)}catch{return y.call(this,n,0)}}}function s(n){if(I===clearTimeout)return clearTimeout(n);if((I===g||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(n);try{return I(n)}catch{try{return I.call(null,n)}catch{return I.call(this,n)}}}var u=[],v=!1,o,f=-1;function r(){!v||!o||(v=!1,o.length?u=o.concat(u):f=-1,u.length&&k())}function k(){if(!v){var n=S(r);v=!0;for(var a=u.length;a;){for(o=u,u=[];++f<a;)o&&o[f].run();f=-1,a=u.length}o=null,v=!1,s(n)}}x.nextTick=function(n){var a=new Array(arguments.length-1);if(arguments.length>1)for(var d=1;d<arguments.length;d++)a[d-1]=arguments[d];u.push(new O(n,a)),u.length===1&&!v&&S(k)};function O(n,a){this.fun=n,this.array=a}O.prototype.run=function(){this.fun.apply(null,this.array)},x.title="browser",x.browser=!0,x.env={},x.argv=[],x.version="",x.versions={};function h(){}x.on=h,x.addListener=h,x.once=h,x.off=h,x.removeListener=h,x.removeAllListeners=h,x.emit=h,x.prependListener=h,x.prependOnceListener=h,x.listeners=function(n){return[]},x.binding=function(n){throw new Error("process.binding is not supported")},x.cwd=function(){return"/"},x.chdir=function(n){throw new Error("process.chdir is not supported")},x.umask=function(){return 0}},{}],15:[function(D,$,N){var x=D("escodegen").generate;$.exports=function(y,I){I||(I={});var E={},g=function S(s,u){if(s.type==="Literal")return s.value;if(s.type==="UnaryExpression"){var v=S(s.argument);return s.operator==="+"?+v:s.operator==="-"?-v:s.operator==="~"?~v:s.operator==="!"?!v:E}else if(s.type==="ArrayExpression"){for(var o=[],f=0,r=s.elements.length;f<r;f++){var k=S(s.elements[f]);if(k===E)return E;o.push(k)}return o}else if(s.type==="ObjectExpression"){for(var O={},f=0;f<s.properties.length;f++){var h=s.properties[f],n=h.value===null?h.value:S(h.value);if(n===E)return E;O[h.key.value||h.key.name]=n}return O}else if(s.type==="BinaryExpression"||s.type==="LogicalExpression"){var r=S(s.left);if(r===E)return E;var a=S(s.right);if(a===E)return E;var d=s.operator;return d==="=="?r==a:d==="==="?r===a:d==="!="?r!=a:d==="!=="?r!==a:d==="+"?r+a:d==="-"?r-a:d==="*"?r*a:d==="/"?r/a:d==="%"?r%a:d==="<"?r<a:d==="<="?r<=a:d===">"?r>a:d===">="?r>=a:d==="|"?r|a:d==="&"?r&a:d==="^"?r^a:d==="&&"?r&&a:d==="||"?r||a:E}else{if(s.type==="Identifier")return{}.hasOwnProperty.call(I,s.name)?I[s.name]:E;if(s.type==="ThisExpression")return{}.hasOwnProperty.call(I,"this")?I.this:E;if(s.type==="CallExpression"){var p=S(s.callee);if(p===E||typeof p!="function")return E;var A=s.callee.object?S(s.callee.object):E;A===E&&(A=null);for(var V=[],f=0,r=s.arguments.length;f<r;f++){var k=S(s.arguments[f]);if(k===E)return E;V.push(k)}return p.apply(A,V)}else if(s.type==="MemberExpression"){var O=S(s.object);if(O===E||typeof O=="function")return E;if(s.property.type==="Identifier")return O[s.property.name];var h=S(s.property);return h===E?E:O[h]}else if(s.type==="ConditionalExpression"){var v=S(s.test);return v===E?E:S(v?s.consequent:s.alternate)}else if(s.type==="ExpressionStatement"){var v=S(s.expression);return v===E?E:v}else{if(s.type==="ReturnStatement")return S(s.argument);if(s.type==="FunctionExpression"){var W=s.body.body,M={};Object.keys(I).forEach(function(ge){M[ge]=I[ge]});for(var f=0;f<s.params.length;f++){var Q=s.params[f];if(Q.type=="Identifier")I[Q.name]=null;else return E}for(var f in W)if(S(W[f])===E)return E;I=M;var K=Object.keys(I),Y=K.map(function(ge){return I[ge]});return Function(K.join(", "),"return "+x(s)).apply(null,Y)}else if(s.type==="TemplateLiteral"){for(var se="",f=0;f<s.expressions.length;f++)se+=S(s.quasis[f]),se+=S(s.expressions[f]);return se+=S(s.quasis[f]),se}else if(s.type==="TaggedTemplateExpression"){var ke=S(s.tag),ce=s.quasi,ne=ce.quasis.map(S),le=ce.expressions.map(S);return ke.apply(null,[ne].concat(le))}else return s.type==="TemplateElement"?s.value.cooked:E}}}(y);return g===E?void 0:g}},{escodegen:12}],jsonpath:[function(D,$,N){$.exports=D("./lib/index")},{"./lib/index":5}]},{},["jsonpath"])("jsonpath")})}(ht)),ht.exports}var Ar=Lr();const Rr=_r(Ar);var Dr=yr`
20
+ .p-tag {
21
+ display: inline-flex;
22
+ align-items: center;
23
+ justify-content: center;
24
+ background: dt('tag.primary.background');
25
+ color: dt('tag.primary.color');
26
+ font-size: dt('tag.font.size');
27
+ font-weight: dt('tag.font.weight');
28
+ padding: dt('tag.padding');
29
+ border-radius: dt('tag.border.radius');
30
+ gap: dt('tag.gap');
31
+ }
32
+
33
+ .p-tag-icon {
34
+ font-size: dt('tag.icon.size');
35
+ width: dt('tag.icon.size');
36
+ height: dt('tag.icon.size');
37
+ }
38
+
39
+ .p-tag-rounded {
40
+ border-radius: dt('tag.rounded.border.radius');
41
+ }
42
+
43
+ .p-tag-success {
44
+ background: dt('tag.success.background');
45
+ color: dt('tag.success.color');
46
+ }
47
+
48
+ .p-tag-info {
49
+ background: dt('tag.info.background');
50
+ color: dt('tag.info.color');
51
+ }
52
+
53
+ .p-tag-warn {
54
+ background: dt('tag.warn.background');
55
+ color: dt('tag.warn.color');
56
+ }
57
+
58
+ .p-tag-danger {
59
+ background: dt('tag.danger.background');
60
+ color: dt('tag.danger.color');
61
+ }
62
+
63
+ .p-tag-secondary {
64
+ background: dt('tag.secondary.background');
65
+ color: dt('tag.secondary.color');
66
+ }
67
+
68
+ .p-tag-contrast {
69
+ background: dt('tag.contrast.background');
70
+ color: dt('tag.contrast.color');
71
+ }
72
+ `,jr={root:function(H){var D=H.props;return["p-tag p-component",{"p-tag-info":D.severity==="info","p-tag-success":D.severity==="success","p-tag-warn":D.severity==="warn","p-tag-danger":D.severity==="danger","p-tag-secondary":D.severity==="secondary","p-tag-contrast":D.severity==="contrast","p-tag-rounded":D.rounded}]},icon:"p-tag-icon",label:"p-tag-label"},Mr=vr.extend({name:"tag",style:Dr,classes:jr}),Br={name:"BaseTag",extends:Or,props:{value:null,severity:null,rounded:Boolean,icon:String},style:Mr,provide:function(){return{$pcTag:this,$parentInstance:this}}};function Ze(F){"@babel/helpers - typeof";return Ze=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(H){return typeof H}:function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},Ze(F)}function Ur(F,H,D){return(H=Fr(H))in F?Object.defineProperty(F,H,{value:D,enumerable:!0,configurable:!0,writable:!0}):F[H]=D,F}function Fr(F){var H=$r(F,"string");return Ze(H)=="symbol"?H:H+""}function $r(F,H){if(Ze(F)!="object"||!F)return F;var D=F[Symbol.toPrimitive];if(D!==void 0){var $=D.call(F,H);if(Ze($)!="object")return $;throw new TypeError("@@toPrimitive must return a primitive value.")}return(H==="string"?String:Number)(F)}var Qe={name:"Tag",extends:Br,inheritAttrs:!1,computed:{dataP:function(){return Pr(Ur({rounded:this.rounded},this.severity,this.severity))}}},zr=["data-p"];function Hr(F,H,D,$,N,x){return B(),z("span",at({class:F.cx("root"),"data-p":x.dataP},F.ptmi("root")),[F.$slots.icon?(B(),$e(gr(F.$slots.icon),at({key:0,class:F.cx("icon")},F.ptm("icon")),null,16,["class"])):F.icon?(B(),z("span",at({key:1,class:[F.cx("icon"),F.icon]},F.ptm("icon")),null,16)):we("",!0),F.value!=null||F.$slots.default?Mt(F.$slots,"default",{key:2},function(){return[_("span",at({class:F.cx("label")},F.ptm("label")),fe(F.value),17)]}):we("",!0)],16,zr)}Qe.render=Hr;const qr={};function Gr(F,H){return Mt(F.$slots,"default")}const Vr=Bt(qr,[["render",Gr]]),Kr={key:0,class:"logs-root"},Jr={class:"main-content"},Wr={key:0,class:"pids-container"},Xr={class:"pids"},Yr=["onClick"],Qr={class:"header-title"},Zr={class:"header"},en={class:"input-container"},tn={class:"input-container"},rn=["placeholder"],nn={class:"radios"},an=["checked","value"],sn=["checked","value"],on={class:"input-container"},ln={class:"radios"},un=["checked"],cn={key:0,class:"terminal-panel"},fn={class:"terminal-panel-content"},pn={class:"more-info-container"},dn={class:"more-info-content"},mn={class:"more-info-content"},hn={class:"more-info-container"},yn={class:"more-info-content"},vn={key:1,class:"more-info-container"},gn={class:"more-info-content"},Sn=["onClick"],bn={key:0},En={key:1},kn={key:0,class:"section-header"},wn={class:"section-content"},xn={key:1},_n={key:2},In=["innerHTML"],Cn={key:3},Tn={class:"section-header"},On={class:"section-actions"},Pn=["onClick"],Nn={class:"small"},Ln=["onClick"],An={class:"section-content"},Rn={key:4},Dn={class:"section-header"},jn={class:"section-actions"},Mn=["onClick"],Bn={class:"small"},Un=["onClick"],Fn={class:"section-content"},$n=["innerHTML"],zn={key:0,class:"input-container-terminal"},Hn={class:"shortcuts"},qn={key:0,class:"histories"},Gn=["onClick"],Vn={class:"right"},Kn={key:1,class:"histories"},Jn={class:"history"},Wn={class:"bar-terminal"},Xn={class:"left"},Yn={class:"blue"},Qn={key:0,class:"fab fa-docker"},Zn={key:0},ei={key:1},ti={class:"input-content-terminal"},ri={key:0,class:"badge"},ni=["placeholder"],ii={key:1,class:"input-container-terminal"},ai={class:"not-launch"},si={class:"shortcuts"},oi={__name:"Logs",props:{service:{default:null},noStyle:{default:!1},isInMultiMode:{default:!1}},setup(F){var q,re,Ie;const H=F,D=ue(null),$=ue(null),N=ue(null),x=ue(""),y=ue(!1),I=ue([]),E=ue(null),g=ue(""),S=ue(),s=ue(!1),u=ue(100),v=ue(),o=ue(""),f=ue([]),r=ue([]);function k(m){navigator.clipboard.writeText(m).then(()=>Cr.next("success","Data copied to clipboard"))}const O=Xe(()=>{let m=I.value.reduce((l,C)=>C.json&&!C.debug?l+1:l,0);return m>u.value&&(m=u.value),m}),h=Xe(()=>{let m=I.value.reduce((l,C)=>C.debug?l+1:l,0);return m>u.value&&(m=u.value),m}),n=Xe(()=>{let m=I.value.length;return m>u.value&&(m=u.value),m});function a(m){if(g.value){const l=g.value.endsWith(".")?g.value.slice(0,-1):g.value;try{const C=Rr.query(m,l);return C.length===1?JSON.stringify(C[0]||"{}"):JSON.stringify(C||"{}")}catch(C){console.error(C)}}return JSON.stringify(m||"{}")}const d=Xe(()=>{let m=[];return o.value==="debug"?m=I.value.filter(l=>l.isSeparator?A(l):!!(l.debug&&A(l))).slice(-u.value):o.value==="json"?m=I.value.filter(l=>l.isSeparator?A(l):!!(l.json&&!l.debug&&A(l))).slice(-u.value):m=I.value.filter(l=>l.isSeparator?A(l):!!A(l)).slice(-u.value),m.filter((l,C,P)=>{var Z;return l.isSeparator?!((Z=P[C+1])!=null&&Z.isSeparator):!0})});async function p(m){const l=await Nt.getTokens(JSON.stringify(m));if(await S.value.open(l).promise){const P=await Nt.findSolutionFromAi(JSON.stringify(m));await v.value.open(P).promise}}const A=m=>{var P,Z;const l=x.value;if(m.hide)return!1;if(m.isSeparator)return!0;if((P=U.value)!=null&&P.pid&&((Z=U.value)==null?void 0:Z.pid)!==m.pid)return!1;if(!l)return!0;const C=l.includes(" | ")?l.split(" | "):[l];return y.value?C.filter(ae=>ae).some(ae=>!!m.msg.toUpperCase().match(new RegExp(ce(ae),"gi"))):C.filter(ae=>ae).every(ae=>!m.msg.toUpperCase().match(new RegExp(ce(ae),"gi")))};ft(()=>W());const V=()=>{var m;$.value&&!((m=$.value)!=null&&m.children.length)&&D.value&&D.value.open($.value)};ft(()=>{Ce.on("conf:update",V)}),Ct(()=>{Ce.off("conf:update",V)});async function W(){I.value=await H.service.getLogs(),f.value=await Ir.scenarios("services",H.service.label),ne(!0)}const M=m=>{var l;m.label===H.service.label&&m.pid&&((l=U.value)==null?void 0:l.pid)===m.pid&&(U.value=null,ne(!0))},Q=m=>{var l;m.label===H.service.label&&(I.value=[],(l=D.value)==null||l.clear())},K=m=>{m.forEach(l=>{l.label===H.service.label&&(I.value.push(l),ne())})},Y=m=>{m.forEach(l=>{if(l.label!==H.service.label)return;const C=I.value.findIndex(P=>P.id===l.id);C>=0&&I.value.splice(C,1,l)})},se=m=>{var l;m.label===H.service.label&&m.pid&&((l=U.value)==null?void 0:l.pid)===m.pid&&(U.value=null,ne(!0))};Ce.on("logs:update",K),Ce.on("logs:update:lines",Y),Ce.on("service:exit",se),Ce.on("service:crash",M),Ce.on("logs:clear",Q),Sr(()=>{Ce.socket.off("logs:update",K),Ce.socket.off("logs:update:lines",Y),Ce.socket.off("service:exit",se),Ce.socket.off("service:crash",M),Ce.socket.off("logs:clear",Q)});async function ke(){H.service.clear(),I.value=[]}function ce(m){return m.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}async function ne(m=!1,l=null){const C=l||N.value;if(!C)return;const P=C.scrollTop+C.clientHeight===C.scrollHeight;await pt(),(P||m)&&(C.scrollTop=C.scrollHeight)}const le=ue("");async function ge(m,l=void 0){var P,Z;(P=l==null?void 0:l.preventDefault)==null||P.call(l);const C=await H.service.sendTerminalPrompt({command:m,pid:((Z=U.value)==null?void 0:Z.pid)||void 0});setTimeout(()=>{var Oe;const ae=I.value.find(Ge=>Ge.pid===C.pid);((Oe=ae==null?void 0:ae.cmd)==null?void 0:Oe.status)==="running"&&(U.value=ae)},100),le.value="",l!=null&&l.target&&(await pt(),De()),ne(!0),He(!0)}const he=ue();function De(){he.value.style.height="calc(15px)",he.value.style.height=`${he.value.scrollHeight}px`}async function b(m){const l=r.value.find(C=>C.active);if(l){setTimeout(async()=>{var C;le.value=(C=l.cmd)==null?void 0:C.trim(),await pt(),De(),setTimeout(()=>{r.value=[]},100)});return}m.shiftKey?le.value+=`
73
+ `:await ge({spawnCmd:le.value.trim(),spawnOptions:{cwd:qe.value}},m)}async function T(m){r.value=[],m.target&&m.target.scrollHeight<300&&De()}async function R(m=!1){var l;await H.service.sendTerminalTerminate({pid:((l=U.value)==null?void 0:l.pid)||void 0,forceKill:m})}const ee=ue(!1);async function me(m){m.code==="Tab"&&m.preventDefault()}async function X(m){return m.code==="Escape"?(r.value=[],null):m.code==="Enter"?(r.value=[],null):m.ctrlKey&&m.code==="KeyC"?(R(),null):m.code!=="ArrowUp"&&m.code!=="ArrowDown"&&!le.value?(r.value=[],null):m.code==="ArrowUp"&&r.value.length?(ie(m,1),null):m.code==="ArrowDown"&&r.value.length?(ie(m,-1),null):["ArrowUp","ArrowDown"].includes(m.code)?(r.value=await H.service.autocomplete(le.value,{force:!0}),null):(ee.value=!0,await te(),le.value||ie(m,1),null)}const te=Pt(async(m=!1)=>{try{ee.value=!0;const l=await H.service.autocomplete(le.value,{force:m});if(!le.value&&!m)return;r.value=l}finally{ee.value=!1}},200);async function ie(m,l){const C=r.value.findIndex(P=>P.active);if(C===-1){const P=l>0?r.value[r.value.length-1]:r.value[0];P&&(P.active=!0)}else{const P=r.value[C],Z=r.value[C-l];P.active=!1,Z?Z.active=!0:ie(m,l)}}const U=ue(null),_e=Xe(()=>I.value.reduce((m,l)=>(l.pid&&!(m!=null&&m.find(C=>C.pid===l.pid))&&m.push(l),m),[])),Pe=ue(""),ze=ue(""),je=ue(""),Te=ue(""),Re=setInterval(()=>{He()},1e3),lt=setInterval(()=>{He(!0)},2e4);Ct(()=>{clearInterval(Re),clearInterval(lt)}),ft(async()=>{je.value=await Tr.homeDir(),He(!0)});const He=Pt(async(m=!1)=>{var l;(l=H.service.git)!=null&&l.remote&&(m&&Te.value&&(Te.value=""),ze.value=await H.service.getStatus(),Pe.value=await H.service.getCurrentBranch(),m&&(Te.value=await H.service.gitRemoteDelta(Pe.value)))},100),Fe=ue([(q=H.service)==null?void 0:q.rootPath,...(((Ie=(re=H.service)==null?void 0:re.commands)==null?void 0:Ie.map(m=>m.spawnOptions.cwd))||[]).filter(m=>m&&!!m.trim()&&m!==".")]),qe=ue(Fe.value[0]||".");function G(m){return m==null?void 0:m.replace(je.value,"~")}function Je(m){const l=I.value.find(C=>C.cmd&&C.pid===(m==null?void 0:m.pid));U.value=l||null,E.value=null}function et(m){var l;(l=window.getSelection())!=null&&l.toString()||(E.value=m)}async function tt(m){return ge(m)}async function Me(m){Ce.emit(m.id,m,H.service.label)}return(m,l)=>{const C=br("router-link");return B(),z(Ee,null,[F.service.enabled?(B(),z("div",Kr,[_("div",Jr,[_e.value?(B(),z("div",Wr,[_("div",{class:Ke(["pid",{active:!U.value}]),onClick:l[0]||(l[0]=P=>{U.value=null,ne(!0)})},"All",2),xe(Lt,{placement:"bottom-end",appendTo:"parent","max-width":"50vh"},{trigger:de(()=>{var P,Z,ae;return[_("div",{class:Ke(["pid",{active:U.value}])},[pe(" Commands "+fe((P=U.value)!=null&&P.raw?`: ${(ae=(Z=U.value)==null?void 0:Z.raw)==null?void 0:ae.substring(0,20)}...`:"")+" ",1),l[13]||(l[13]=_("i",{class:"fas fa-chevron-down"},null,-1))],2)]}),content:de(()=>[_("div",Xr,[(B(!0),z(Ee,null,Ue(_e.value.slice().reverse().filter(P=>{var Z;return(Z=P.raw)==null?void 0:Z.trim()}),P=>{var Z;return B(),z("div",{key:P.pid,class:Ke(["pid",{active:((Z=U.value)==null?void 0:Z.pid)===P.pid}]),onClick:ae=>{U.value=P,ne(!0)}},fe(P.raw),11,Yr)}),128))])]),_:1})])):we("",!0),xe(At,{noStyle:F.noStyle,noRadius:!0,actions:[{icon:"fas fa-list",label:`${n.value}`,small:!0,hidden:!n.value,active:!o.value,click:()=>o.value=""},{icon:"fas fa-bug",label:`${h.value}`,small:!0,hidden:!h.value,active:o.value==="debug",click:()=>o.value="debug"},{label:`{} ${O.value}`,small:!0,hidden:!O.value,active:o.value==="json",click:()=>o.value="json"},{icon:"fas fa-chevron-down",click:()=>ne(!0)},{icon:"fas fa-trash",click:()=>ke()}],class:"terminal-container"},{header:de(()=>{var P,Z;return[_("h4",Qr,fe("Logs"+((P=U.value)!=null&&P.raw?`: ${(Z=U.value)==null?void 0:Z.raw}`:"")),1)]}),actions:de(()=>[_("div",Zr,[xe(Lt,{appendTo:"parent",placement:"bottom-start",trigger:"mouseenter"},{trigger:de(()=>l[14]||(l[14]=[_("button",{class:"small config"},[_("i",{class:"fas fa-cog"})],-1)])),content:de(()=>[O.value||h.value?(B(),z(Ee,{key:0},[_("div",en,[l[15]||(l[15]=_("i",{class:"fas fa-search"},null,-1)),Ye(_("input",{type:"text","onUpdate:modelValue":l[1]||(l[1]=P=>g.value=P),placeholder:"JSON path..."},null,512),[[dt,g.value]])]),l[16]||(l[16]=_("hr",null,null,-1))],64)):we("",!0),_("div",tn,[Ye(_("input",{type:"text","onUpdate:modelValue":l[2]||(l[2]=P=>x.value=P),placeholder:y.value?"Include...":"Exclude..."},null,8,rn),[[dt,x.value]]),_("div",nn,[_("div",null,[_("input",{type:"radio",id:"include",checked:y.value,value:y.value,onInput:l[3]||(l[3]=P=>y.value=!0)},null,40,an),l[17]||(l[17]=_("label",{for:"include"},"Include",-1))]),_("div",null,[_("input",{type:"radio",id:"exclude",checked:!y.value,value:!y.value,onInput:l[4]||(l[4]=P=>y.value=!1)},null,40,sn),l[18]||(l[18]=_("label",{for:"exclude"},"Exclude",-1))])])]),l[23]||(l[23]=_("hr",null,null,-1)),_("div",on,[_("div",ln,[_("div",null,[l[20]||(l[20]=_("div",null,"Display",-1)),Ye(_("select",{"onUpdate:modelValue":l[5]||(l[5]=P=>u.value=P)},l[19]||(l[19]=[_("option",{value:10},"10",-1),_("option",{value:50},"50",-1),_("option",{value:100},"100",-1),_("option",{value:150},"150",-1),_("option",{value:200},"200",-1),_("option",{value:500},"500",-1),_("option",{value:800},"800",-1),_("option",{value:1e3},"1000",-1),_("option",{value:1500},"1500",-1),_("option",{value:2e3},"2000",-1)]),512),[[wr,u.value]]),l[21]||(l[21]=_("div",null,"lines",-1))])])]),l[24]||(l[24]=_("hr",null,null,-1)),_("div",null,[Ye(_("input",{id:"simplified",type:"checkbox",checked:s.value,"onUpdate:modelValue":l[6]||(l[6]=P=>s.value=P)},null,8,un),[[xr,s.value]]),l[22]||(l[22]=_("label",{for:"simplified"},"Simplified mode",-1))])]),_:1})])]),default:de(()=>{var P,Z,ae,Oe,Ge;return[xe(Er,{name:"slide-fade"},{default:de(()=>[E.value?(B(),z("div",cn,[_("div",{class:"terminal-panel-bg",onClick:l[7]||(l[7]=j=>E.value=null)}),_("div",fn,[_("h3",null,[l[25]||(l[25]=pe(" Type: ")),E.value.debug?(B(),z(Ee,{key:0},[pe("Debug")],64)):E.value.json?(B(),z(Ee,{key:1},[pe("JSON")],64)):E.value.cmd?(B(),z(Ee,{key:2},[pe("Command")],64)):(B(),z(Ee,{key:3},[pe("Text")],64))]),_("div",pn,[l[26]||(l[26]=_("div",{class:"more-info-label"},"Raw message:",-1)),_("div",dn,[_("pre",null,fe(E.value.msg),1)])]),E.value.pid?(B(),z("div",{key:0,class:"more-info-container pid-box",onClick:l[8]||(l[8]=j=>Je(E.value))},[l[28]||(l[28]=_("div",{class:"more-info-label"},"Issued from pid: ",-1)),_("div",mn,[pe(fe(E.value.pid)+" ",1),l[27]||(l[27]=_("button",{class:"small"},[_("i",{class:"fas fa-chevron-right"})],-1))])])):we("",!0),_("div",hn,[l[29]||(l[29]=_("div",{class:"more-info-label"},"Emitted date:",-1)),_("div",yn,fe(Ae(Ot)(E.value.timestamp).format("YYYY-MM-DD HH:mm:ss")),1)]),E.value.cmd?(B(),z("div",vn,[l[30]||(l[30]=_("div",{class:"more-info-label"},"Options:",-1)),_("div",gn,[xe(Ae(mt),{maxDepth:1,json:a(E.value.cmd),copyable:!0,"expand-depth":1,"show-double-quotes":!0},null,8,["json"])])])):we("",!0)])])):we("",!0)]),_:1}),_("div",{class:"terminal",ref_key:"jsonsRef",ref:N},[(B(!0),z(Ee,null,Ue(d.value,j=>(B(),z("div",{class:Ke(["line",{simplifiedMode:s.value,stderr:j.source==="stderr"||j.cmd&&j.cmd.status==="error",success:j.cmd&&j.cmd.status==="exited",separator:j.isSeparator!=null,json:j.json!=null&&!s.value,debug:j.debug!=null&&!s.value,cmd:j.cmd!=null&&!s.value,prompt:j.prompt&&!s.value}]),key:j.id,onClick:be=>et(j)},[s.value?(B(),z("div",bn,fe(j.msg),1)):j.cmd!=null?(B(),z("div",En,[j.cmd.cmd.trim()?(B(),z(Ee,{key:0},[j.cmd.cmd.trim()?(B(),z("h2",kn,[l[31]||(l[31]=pe(" Command ")),j.cmd.status==="running"?(B(),$e(Dt,{key:0,style:{display:"inline-flex"},"no-color":!0,size:"20"})):we("",!0)])):we("",!0),_("div",wn,fe(j.msg),1)],64)):(B(),z("br",xn))])):j.prompt?(B(),z("div",_n,[l[32]||(l[32]=_("h2",{class:"section-header"},"Prompt",-1)),_("div",{class:"section-content",innerHTML:j.msg.trim()||"<br/>"},null,8,In)])):j.debug!=null?(B(),z("div",Cn,[_("div",Tn,[l[34]||(l[34]=_("h2",{class:"section-header"},"Debug",-1)),_("div",On,[_("button",{class:"small",onClick:st(be=>k(JSON.stringify(j.debug)),["stop"])},"Copy",8,Pn),_("button",Nn,[xe(C,{to:{name:"JSONFormatter",query:{json:JSON.stringify(j.debug)}}},{default:de(()=>l[33]||(l[33]=[pe(" Open in json-viewer ")])),_:2,__:[33]},1032,["to"])]),_("button",{class:"small",onClick:st(be=>p(j.debug),["stop"])}," Find a solution ",8,Ln)])]),_("div",An,[xe(Ae(mt),{maxDepth:1,json:a(j.debug),copyable:!0,"expand-depth":1,"show-double-quotes":!0},null,8,["json"])])])):j.json!=null?(B(),z("div",Rn,[_("div",Dn,[l[36]||(l[36]=_("h2",null,"JSON",-1)),_("div",jn,[_("button",{class:"small",onClick:st(be=>k(JSON.stringify(j.json)),["stop"])},"Copy",8,Mn),_("button",Bn,[xe(C,{to:{name:"JSONFormatter",query:{json:JSON.stringify(j.json)}}},{default:de(()=>l[35]||(l[35]=[pe(" Open in json-viewer ")])),_:2,__:[35]},1032,["to"])]),_("button",{class:"small",onClick:st(be=>p(j.json),["stop"])}," Find a solution ",8,Un)])]),_("div",Fn,[xe(Ae(mt),{maxDepth:1,json:a(j.json),copyable:!0,"expand-depth":1,"show-double-quotes":!0},null,8,["json"])])])):(B(),z("div",{key:5,innerHTML:j.msg},null,8,$n))],10,Sn))),128))],512),!U.value||((P=U.value.cmd)==null?void 0:P.status)=="running"?(B(),z("div",zn,[_("div",Hn,[(B(!0),z(Ee,null,Ue(F.service.shortcuts,j=>(B(),$e(Ae(Qe),{class:"shortcut",severity:"info",onClick:be=>tt(j)},{default:de(()=>{var be;return[l[37]||(l[37]=_("i",{class:"fas fa-terminal"},null,-1)),pe(fe(j.label||j.spawnCmd+" "+(((be=j.spawnArgs)==null?void 0:be.join(" "))||"")),1)]}),_:2,__:[37]},1032,["onClick"]))),256)),(B(!0),z(Ee,null,Ue(f.value,j=>(B(),$e(Ae(Qe),{class:"shortcut",severity:"warn",onClick:be=>Me(j)},{default:de(()=>[l[38]||(l[38]=_("i",{class:"fas fa-sitemap"},null,-1)),pe(fe(j.name),1)]),_:2,__:[38]},1032,["onClick"]))),256))]),(Z=r.value)!=null&&Z.length?(B(),z("div",qn,[(B(!0),z(Ee,null,Ue(r.value,(j,be)=>{var rt;return B(),z("div",{class:Ke(["history",{active:j.active}]),onClick:yt=>{var nt;le.value=j.cmd,r.value=[],(nt=he.value)==null||nt.focus()},key:be+"history"},[_("div",null,fe(j.cmd),1),_("div",Vn,[_("div",null,"Used: "+fe(((rt=j.timestamps)==null?void 0:rt.length)||0),1),_("div",null,"Last used: "+fe(j.timestamp?Ae(Ot)(j.timestamp).format("YYYY-MM-DD HH:mm:ss"):"???"),1)])],10,Gn)}),128))])):ee.value?(B(),z("div",Kn,[_("div",Jn,[xe(Dt,{size:"20"})])])):we("",!0),_("div",Wn,[_("div",Xn,[_("div",Yn,[(ae=F.service.container)!=null&&ae.enabled?(B(),z("i",Qn)):(B(),z(Ee,{key:1},[l[39]||(l[39]=_("i",{class:"icon fas fa-folder"},null,-1)),xe(Ae(Nr),{size:"small",modelValue:qe.value,"onUpdate:modelValue":l[9]||(l[9]=j=>qe.value=j),options:Fe.value},{default:de(()=>[(B(!0),z(Ee,null,Ue(Fe.value,j=>(B(),z("option",null,fe(G(j)),1))),256))]),_:1},8,["modelValue","options"])],64))]),Pe.value?(B(),z("div",{key:0,class:Ke((Oe=ze.value)!=null&&Oe.length?"yellow":"green")},[l[42]||(l[42]=_("i",{class:"icon fas fa-code-branch"},null,-1)),_("label",null,[pe(fe(Pe.value)+" ",1),+Te.value>0?(B(),z("div",Zn,[l[40]||(l[40]=_("i",{class:"fas fa-long-arrow-alt-up"},null,-1)),pe(fe(+Te.value),1)])):we("",!0),+Te.value<0?(B(),z("div",ei,[l[41]||(l[41]=_("i",{class:"fas fa-long-arrow-alt-down"},null,-1)),pe(fe(Math.abs(+Te.value)),1)])):we("",!0)])],2)):we("",!0)])]),_("div",ti,[(Ge=U.value)!=null&&Ge.pid?(B(),z("div",ri,"Pid: "+fe(U.value.pid),1)):we("",!0),l[43]||(l[43]=_("i",{class:"fas fa-chevron-right"},null,-1)),xe(Vr,null,{default:de(()=>[Ye(_("textarea",{ref_key:"textareaRef",ref:he,"onUpdate:modelValue":l[10]||(l[10]=j=>le.value=j),onKeypress:kr(b,["enter"]),onKeyup:X,onKeydown:me,onInput:T,placeholder:U.value?`Send command to ${U.value.pid}...`:"Send new command..."},null,40,ni),[[dt,le.value]])]),_:1})])])):U.value?(B(),z("div",ii,[l[44]||(l[44]=pe(" Your command no longer accepts further response ")),_("button",{onClick:l[11]||(l[11]=j=>U.value=null)},"Go to all processes view"),_("button",{class:"danger",onClick:l[12]||(l[12]=j=>R(!0))},"Or try to force kill")])):we("",!0)]}),_:1},8,["noStyle","actions"])])])):(B(),$e(At,{key:1},{default:de(()=>[_("div",ai,[_("div",si,[(B(!0),z(Ee,null,Ue(F.service.shortcuts,P=>(B(),$e(Ae(Qe),{class:"shortcut",severity:"info",onClick:Z=>tt(P)},{default:de(()=>{var Z;return[l[45]||(l[45]=_("i",{class:"fas fa-terminal"},null,-1)),pe(fe(P.label||P.spawnCmd+" "+(((Z=P.spawnArgs)==null?void 0:Z.join(" "))||"")),1)]}),_:2,__:[45]},1032,["onClick"]))),256)),(B(!0),z(Ee,null,Ue(f.value,P=>(B(),$e(Ae(Qe),{class:"shortcut",severity:"warn",onClick:Z=>Me(P)},{default:de(()=>[l[46]||(l[46]=_("i",{class:"fas fa-sitemap"},null,-1)),pe(fe(P.name),1)]),_:2,__:[46]},1032,["onClick"]))),256))]),l[47]||(l[47]=_("i",{class:"fas fa-ban"},null,-1)),l[48]||(l[48]=pe(" Launch this service to view logs "))])]),_:1})),xe(Rt,{ref_key:"findSolutionModal",ref:S,cancelString:"No",validateString:"Yes"},{header:de(()=>l[49]||(l[49]=[pe(" Find solution from AI ")])),body:de(({data:P})=>[pe(" Are you sure ? This have a cost of ~"+fe(P.price)+"$ ",1)]),_:1},512),xe(Rt,{ref_key:"findSolutionResultModal",ref:v,cancelString:"OK",noValidate:!0},{header:de(()=>l[50]||(l[50]=[pe(" Find solution from AI ")])),body:de(({data:P})=>[_("pre",null," "+fe(P==null?void 0:P.trim())+`
74
+ `,1)]),_:1},512)],64)}}},ki=Bt(oi,[["__scopeId","data-v-2c5c0cac"]]);export{ki as default};
@@ -0,0 +1,32 @@
1
+ .json-view-item:not(.root-item){margin-left:15px}.value-key{color:var(--jtv-valueKey-color);font-weight:600;margin-left:10px;border-radius:2px;white-space:nowrap;padding:5px 5px 5px 10px}.value-key.can-select{cursor:pointer}.value-key.can-select:hover{background-color:#00000014}.value-key.can-select:focus{outline:2px solid var(--jtv-hover-color)}.data-key{font-size:100%;font-family:inherit;border:0;background-color:transparent;width:100%;color:var(--jtv-key-color);display:flex;align-items:center;border-radius:2px;font-weight:600;cursor:pointer;white-space:nowrap;padding:5px}.data-key:hover{background-color:var(--jtv-hover-color)}.data-key:focus{outline:2px solid var(--jtv-hover-color)}.data-key::-moz-focus-inner{border:0}.data-key .properties{font-weight:300;opacity:.9;margin-left:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chevron-arrow{flex-shrink:0;border-right:2px solid var(--jtv-arrow-color);border-bottom:2px solid var(--jtv-arrow-color);width:var(--jtv-arrow-size);height:var(--jtv-arrow-size);margin-right:20px;margin-left:5px;transform:rotate(-45deg)}.chevron-arrow.opened{margin-top:-3px;transform:rotate(45deg)}.root-item[data-v-f85384eb]{--jtv-key-color: #0977e6;--jtv-valueKey-color: #073642;--jtv-string-color: #268bd2;--jtv-number-color: #2aa198;--jtv-boolean-color: #cb4b16;--jtv-null-color: #6c71c4;--jtv-arrow-size: 6px;--jtv-arrow-color: #444;--jtv-hover-color: rgba(0, 0, 0, .1);margin-left:0;width:100%;height:auto}.root-item.dark[data-v-f85384eb]{--jtv-key-color: #80d8ff;--jtv-valueKey-color: #fdf6e3;--jtv-hover-color: rgba(255, 255, 255, .1);--jtv-arrow-color: #fdf6e3}.logs-root[data-v-2c5c0cac]{height:100%}#terminal[data-v-2c5c0cac]{width:100%;position:relative}.not-launch[data-v-2c5c0cac]{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:2em;color:#777}.header-title[data-v-2c5c0cac]{margin:0;max-width:50vh;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.header[data-v-2c5c0cac]{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;font-weight:400!important;position:relative;z-index:1;margin:0;font-size:.7em!important}.header>.separator[data-v-2c5c0cac]{border-left:1px solid lightgrey;height:40px}.terminal-container[data-v-2c5c0cac]{width:100%;margin:auto;position:relative;border-left:none;border-right:none;border-bottom:none;box-sizing:border-box;overflow:auto;flex-grow:1;border-top-left-radius:0!important;border-top-right-radius:0!important}.terminal-container .terminal-panel[data-v-2c5c0cac]{position:absolute;z-index:2;right:0;top:0;width:100%;height:100%}.terminal-container .terminal-panel .terminal-panel-bg[data-v-2c5c0cac]{position:absolute;width:100%;height:100%;background-color:#00000080;left:0;top:0}.terminal-container .terminal-panel .terminal-panel-content[data-v-2c5c0cac]{max-width:calc(100% - 40px);background-color:var(--system-backgroundColor50);color:var(--system-color);z-index:2;position:absolute;right:0;top:0;height:100%;padding:10px;box-sizing:border-box}.input-container[data-v-2c5c0cac]{margin-bottom:10px;display:flex;align-items:center;gap:10px}.input-container input[data-v-2c5c0cac]{border-radius:10px;padding:5px}.input-container button[data-v-2c5c0cac]{height:auto;padding:5px 10px}.main-content[data-v-2c5c0cac]{display:flex;flex-direction:column;height:100%}.main-content .pids-container[data-v-2c5c0cac]{display:flex;flex-wrap:wrap;position:relative;z-index:1;background-color:var(--system-sections-backgroundColor100);color:var(--system-sections-color)}.main-content .pids-container .pids[data-v-2c5c0cac]{max-height:400px;overflow:auto}.main-content .pids-container .pids .pid[data-v-2c5c0cac]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.main-content .pids-container .pids .pid[data-v-2c5c0cac]:hover{background-color:#0000000d;cursor:pointer}.main-content .pids-container .pids .pid.active[data-v-2c5c0cac]{border-left-color:#0076bc;border-bottom-color:transparent}.main-content .pids-container .pid[data-v-2c5c0cac]{padding:5px 10px;border:2px solid transparent;cursor:pointer}.main-content .pids-container .pid.active[data-v-2c5c0cac]{border-bottom-color:#0076bc}.radios[data-v-2c5c0cac]{display:flex;flex-direction:column}.radios>div[data-v-2c5c0cac]{display:flex;align-items:center;gap:5px}.radios>div input[data-v-2c5c0cac]{margin:0}.main-content[data-v-2c5c0cac]{background:none;right:3px;top:0;border:1px solid var(--system-backgroundColor300);box-sizing:border-box;margin:0;z-index:100}.main-content .section[data-v-2c5c0cac]{margin:0}.terminal[data-v-2c5c0cac]{display:flex;flex-direction:column;line-break:anywhere;overflow:auto;flex-grow:1}.terminal .line[data-v-2c5c0cac]{border-left:2px solid #ccc;border-top-left-radius:4px;border-bottom-left-radius:4px;padding-left:10px;margin:0;will-change:background-color;transition:.3s;white-space:pre-wrap;width:100%;box-sizing:border-box}.terminal .line .section-actions button[data-v-2c5c0cac]{width:-moz-max-content;width:max-content}.terminal .line .section-actions button a[data-v-2c5c0cac]{color:#fff;text-decoration:none}.terminal .line .section-header[data-v-2c5c0cac]{margin:0;width:-moz-max-content;width:max-content;padding:0 10px;background-color:#000;color:#fff;border-top-left-radius:10px;border-top-right-radius:10px;position:relative;z-index:1;display:flex;align-items:center;transition:.3s}.terminal .line .section-header h2[data-v-2c5c0cac]{margin:0}.terminal .line .section-content[data-v-2c5c0cac]{border-left:4px solid #000000;border-bottom-left-radius:4px;padding:0 10px;box-sizing:border-box}.terminal .line .section-actions[data-v-2c5c0cac]{max-width:0;overflow:hidden;transition:.3s;display:flex;margin-left:0}.terminal .line .section-actions button[data-v-2c5c0cac]{white-space:nowrap}.terminal .line[data-v-2c5c0cac]:hover{background-color:#0000000d}.terminal .line:hover .section-actions[data-v-2c5c0cac]{display:flex;align-items:center;gap:2px;max-width:1000px;margin-left:20px}.terminal .line:hover .section-content[data-v-2c5c0cac]{position:relative}.terminal .line.json[data-v-2c5c0cac]{padding:0;margin:10px 0;border:none}.terminal .line.json .section-header[data-v-2c5c0cac]{background-color:#d1b37a}.terminal .line.json .section-content[data-v-2c5c0cac]{border-color:#d1b37a}.terminal .line.debug[data-v-2c5c0cac]{padding:0;margin:10px 0;border:none}.terminal .line.debug .section-header[data-v-2c5c0cac]{background-color:#ac32c4}.terminal .line.debug .section-content[data-v-2c5c0cac]{border-color:#ac32c4}.terminal .line.cmd[data-v-2c5c0cac]{padding:0;margin:10px 0;border:none}.terminal .line.cmd .section-header[data-v-2c5c0cac]{background-color:#0076bc}.terminal .line.cmd .section-content[data-v-2c5c0cac]{border-color:#0076bc}.terminal .line.prompt[data-v-2c5c0cac]{padding:0;margin:10px 10px 10px 0;border:none;align-self:flex-end}.terminal .line.prompt .section-header[data-v-2c5c0cac]{background-color:#5800bc;margin-left:auto}.terminal .line.prompt .section-content[data-v-2c5c0cac]{border-left:none;text-align:right;border-right:4px solid #5800bc}.terminal .line.separator[data-v-2c5c0cac]{border-left:none;margin:20px auto;display:inline-block;width:-moz-max-content;width:max-content;font-weight:700}.terminal .line.stderr[data-v-2c5c0cac]{border-left-color:#ac1010}.terminal .line.stderr .section-header[data-v-2c5c0cac]{background-color:#ac1010}.terminal .line.stderr .section-content[data-v-2c5c0cac]{border-color:#ac1010}.terminal .line.success[data-v-2c5c0cac]{border-left-color:#0c9913}.terminal .line.success .section-header[data-v-2c5c0cac]{background-color:#0c9913}.terminal .line.success .section-content[data-v-2c5c0cac]{border-color:#0c9913}.input-container-terminal[data-v-2c5c0cac]{display:flex;flex-direction:column;align-items:center;position:relative;box-shadow:0 0 10px #0003;border-radius:10px;padding:10px;box-sizing:border-box;background:var(--system-backgroundColor200);border:1px solid var(--system-backgroundColor300);color:var(--system-color200);width:calc(100% - 10px);margin:20px auto 5px}.input-container-terminal .bar-terminal[data-v-2c5c0cac]{display:flex;justify-content:space-between;align-items:center;width:100%}.input-container-terminal .bar-terminal .left[data-v-2c5c0cac],.input-container-terminal .bar-terminal .right[data-v-2c5c0cac]{display:flex;flex-wrap:wrap;gap:1px}.input-container-terminal .bar-terminal .left.right[data-v-2c5c0cac],.input-container-terminal .bar-terminal .right.right[data-v-2c5c0cac]{justify-content:flex-end}.input-container-terminal .bar-terminal .left>div[data-v-2c5c0cac],.input-container-terminal .bar-terminal .right>div[data-v-2c5c0cac]{padding:2px 5px;margin-right:12px;box-sizing:border-box;position:relative;color:#fff;display:flex;justify-content:center;align-items:center;gap:12px;white-space:nowrap}.input-container-terminal .bar-terminal .left>div label[data-v-2c5c0cac],.input-container-terminal .bar-terminal .right>div label[data-v-2c5c0cac]{display:flex;justify-content:center;align-items:center;gap:10px}.input-container-terminal .bar-terminal .left>div.red[data-v-2c5c0cac],.input-container-terminal .bar-terminal .right>div.red[data-v-2c5c0cac]{background-color:#da0606}.input-container-terminal .bar-terminal .left>div.red[data-v-2c5c0cac]:before,.input-container-terminal .bar-terminal .right>div.red[data-v-2c5c0cac]:before{background-color:#da0606}.input-container-terminal .bar-terminal .left>div.red[data-v-2c5c0cac]:after,.input-container-terminal .bar-terminal .right>div.red[data-v-2c5c0cac]:after{border-color:#da0606}.input-container-terminal .bar-terminal .left>div.white[data-v-2c5c0cac],.input-container-terminal .bar-terminal .right>div.white[data-v-2c5c0cac]{background-color:#d3d3d3;color:#000}.input-container-terminal .bar-terminal .left>div.white[data-v-2c5c0cac]:before,.input-container-terminal .bar-terminal .right>div.white[data-v-2c5c0cac]:before{background-color:#d3d3d3}.input-container-terminal .bar-terminal .left>div.white[data-v-2c5c0cac]:after,.input-container-terminal .bar-terminal .right>div.white[data-v-2c5c0cac]:after{border-color:#d3d3d3}.input-container-terminal .bar-terminal .left>div.yellow[data-v-2c5c0cac],.input-container-terminal .bar-terminal .right>div.yellow[data-v-2c5c0cac]{background-color:#bca900}.input-container-terminal .bar-terminal .left>div.yellow[data-v-2c5c0cac]:before,.input-container-terminal .bar-terminal .right>div.yellow[data-v-2c5c0cac]:before{background-color:#bca900}.input-container-terminal .bar-terminal .left>div.yellow[data-v-2c5c0cac]:after,.input-container-terminal .bar-terminal .right>div.yellow[data-v-2c5c0cac]:after{border-color:#bca900}.input-container-terminal .bar-terminal .left>div.blue[data-v-2c5c0cac],.input-container-terminal .bar-terminal .right>div.blue[data-v-2c5c0cac]{background-color:#0076bc}.input-container-terminal .bar-terminal .left>div.blue[data-v-2c5c0cac]:before,.input-container-terminal .bar-terminal .right>div.blue[data-v-2c5c0cac]:before{background-color:#0076bc}.input-container-terminal .bar-terminal .left>div.blue[data-v-2c5c0cac]:after,.input-container-terminal .bar-terminal .right>div.blue[data-v-2c5c0cac]:after{border-color:#0076bc}.input-container-terminal .bar-terminal .left>div.green[data-v-2c5c0cac],.input-container-terminal .bar-terminal .right>div.green[data-v-2c5c0cac]{background-color:#00bc55}.input-container-terminal .bar-terminal .left>div.green[data-v-2c5c0cac]:before,.input-container-terminal .bar-terminal .right>div.green[data-v-2c5c0cac]:before{background-color:#00bc55}.input-container-terminal .bar-terminal .left>div.green[data-v-2c5c0cac]:after,.input-container-terminal .bar-terminal .right>div.green[data-v-2c5c0cac]:after{border-color:#00bc55}.input-container-terminal .bar-terminal .left>div[data-v-2c5c0cac]:after,.input-container-terminal .bar-terminal .right>div[data-v-2c5c0cac]:after{content:"";border:13px solid transparent;border-top-color:transparent!important;border-bottom-color:transparent!important;border-right-color:transparent!important;border-right:none;width:0px;height:100%;box-sizing:border-box;position:absolute;left:100%;z-index:1;top:0}.input-container-terminal .bar-terminal .left>div[data-v-2c5c0cac]:before,.input-container-terminal .bar-terminal .right>div[data-v-2c5c0cac]:before{content:"";width:12px;height:100%;box-sizing:border-box;position:absolute;right:100%;background-color:attr(color);top:0}.input-container-terminal .input-content-terminal[data-v-2c5c0cac]{display:flex;align-items:center;justify-content:space-between;width:100%;gap:10px}.input-container-terminal textarea[data-v-2c5c0cac]{background-color:var(--system-backgroundColor200);color:var(--system-color200);outline:none;height:-moz-max-content;height:max-content;height:19px;margin-top:5px;flex-grow:1;border:none}.more-info-container[data-v-2c5c0cac]{display:flex;flex-direction:column;border-left:2px solid #0076bc;padding-left:10px;box-sizing:border-box;margin-bottom:20px;border-radius:5px}.more-info-container pre[data-v-2c5c0cac]{margin:0}.more-info-container .more-info-label[data-v-2c5c0cac]{font-weight:700}.more-info-container .more-info-content[data-v-2c5c0cac]{background-color:var(--system-backgroundColor50);color:var(--system-color);border:1px solid var(--system-backgroundColor300);border-radius:5px;padding:5px;display:flex;justify-content:space-between;align-items:center}.more-info-container .more-info-content button[data-v-2c5c0cac]{width:-moz-max-content;width:max-content}[data-v-2c5c0cac] .p-select-dropdown{color:#fff}[data-v-2c5c0cac] .p-select,[data-v-2c5c0cac] .p-select-sm .p-select-label{background:transparent;border:none;color:#fff;padding:0}/**
2
+ * Copyright (c) 2014 The xterm.js authors. All rights reserved.
3
+ * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
4
+ * https://github.com/chjj/term.js
5
+ * @license MIT
6
+ *
7
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ * of this software and associated documentation files (the "Software"), to deal
9
+ * in the Software without restriction, including without limitation the rights
10
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ * copies of the Software, and to permit persons to whom the Software is
12
+ * furnished to do so, subject to the following conditions:
13
+ *
14
+ * The above copyright notice and this permission notice shall be included in
15
+ * all copies or substantial portions of the Software.
16
+ *
17
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
+ * THE SOFTWARE.
24
+ *
25
+ * Originally forked from (with the author's permission):
26
+ * Fabrice Bellard's javascript vt100 for jslinux:
27
+ * http://bellard.org/jslinux/
28
+ * Copyright (c) 2011 Fabrice Bellard
29
+ * The original design remains. The terminal itself
30
+ * has been extended to include xterm CSI codes, among
31
+ * other features.
32
+ */.xterm{cursor:text;position:relative;-moz-user-select:none;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{-webkit-text-decoration:double underline;text-decoration:double underline}.xterm-underline-3{-webkit-text-decoration:wavy underline;text-decoration:wavy underline}.xterm-underline-4{-webkit-text-decoration:dotted underline;text-decoration:dotted underline}.xterm-underline-5{-webkit-text-decoration:dashed underline;text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{-webkit-text-decoration:overline double underline;text-decoration:overline double underline}.xterm-overline.xterm-underline-3{-webkit-text-decoration:overline wavy underline;text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{-webkit-text-decoration:overline dotted underline;text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{-webkit-text-decoration:overline dashed underline;text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative;background-color:orange;color:#fff}.json-view-item.root-item{padding:10px 0}.json-view-item button{background:none;box-shadow:none;background-color:transparent!important;margin:0;padding:0;width:-moz-max-content;width:max-content}.json-view-item button:hover{background-color:#0000001a!important}.json-view-item div.value-key{white-space:normal;padding:0;display:flex}.json-view-item div.value-key .value-key{color:var(--system-color)!important;padding:0}.json-view-item div.value-key .value-key+span{overflow:hidden;white-space:normal;width:-moz-max-content;width:max-content;display:inline-block;overflow:auto;width:100%}.json-view-item .data-key{color:var(--system-color)}.json-view-item .data-key:hover{background:transparent;box-shadow:none}.json-view-item .data-key .chevron-arrow{margin-right:8px}.histories{position:absolute;display:flex;flex-direction:column;background-color:var(--system-backgroundColor50);color:var(--system-color);width:100%;left:0;bottom:calc(100% + 10px);z-index:111;box-shadow:0 0 12px 6px #0003;border-radius:10px}.histories .history{display:flex;justify-content:space-between;align-items:center;padding:2px 10px;border-bottom:1px solid lightgrey}.histories .history:hover{background-color:#0000000d;cursor:pointer}.histories .history .right{display:flex;flex-direction:column;align-items:flex-end;justify-content:center}.histories .history.active{background-color:#0000001a}.badge{border-radius:1000px;background-color:gray;color:#fff;padding:0 10px;box-shadow:0 0 10px #0006}.slide-fade-enter-active{transition:all .2s ease-out}.slide-fade-enter-active>*{transition:all .2s ease-out}.slide-fade-leave-active{transition:all .2s cubic-bezier(1,.5,.8,1)}.slide-fade-leave-active>*{transition:all .2s cubic-bezier(1,.5,.8,1)}.slide-fade-enter-from,.slide-fade-leave-to{overflow:hidden}.slide-fade-enter-from .terminal-panel-content,.slide-fade-leave-to .terminal-panel-content{transform:translate(100%)}.slide-fade-enter-from .terminal-panel-bg,.slide-fade-leave-to .terminal-panel-bg{opacity:0}.pid-box{cursor:pointer}.pid-box:hover button{transform:scale(1.1)}button.config{width:-moz-max-content!important;width:max-content!important}button.config i{margin:0!important}.shortcuts{width:100%;margin-bottom:5px;display:flex;flex-wrap:wrap;gap:5px}.shortcut{cursor:pointer}