@nk070281sjv/cli 2.3.2 → 2.3.3
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.
- package/dist/dashboard/client/assets/{_basePickBy-CyrHyeyN.js → _basePickBy-CZOJm2vF.js} +1 -1
- package/dist/dashboard/client/assets/{_baseUniq-Bg7NJSGS.js → _baseUniq-BNrzwRTV.js} +1 -1
- package/dist/dashboard/client/assets/{arc-zDGAKMur.js → arc-Bl8fh4M2.js} +1 -1
- package/dist/dashboard/client/assets/{architectureDiagram-VXUJARFQ-BxlGxm0Q.js → architectureDiagram-VXUJARFQ-TTtHv-xF.js} +1 -1
- package/dist/dashboard/client/assets/{blockDiagram-VD42YOAC-BskTNyX5.js → blockDiagram-VD42YOAC-Civ0_twg.js} +1 -1
- package/dist/dashboard/client/assets/{c4Diagram-YG6GDRKO-Dr9QQ-dn.js → c4Diagram-YG6GDRKO-FpPihNtg.js} +1 -1
- package/dist/dashboard/client/assets/channel-BXL5vtDv.js +1 -0
- package/dist/dashboard/client/assets/{chunk-4BX2VUAB-xq9xoCTv.js → chunk-4BX2VUAB-DPa8WBIp.js} +1 -1
- package/dist/dashboard/client/assets/{chunk-55IACEB6-DYdXYVh5.js → chunk-55IACEB6-BxRzcpzA.js} +1 -1
- package/dist/dashboard/client/assets/{chunk-B4BG7PRW-BGAyFRFS.js → chunk-B4BG7PRW-DajTgf2c.js} +1 -1
- package/dist/dashboard/client/assets/{chunk-DI55MBZ5-C5ul9stk.js → chunk-DI55MBZ5-iF7jh16b.js} +1 -1
- package/dist/dashboard/client/assets/{chunk-FMBD7UC4-BSaPo2xa.js → chunk-FMBD7UC4-BNfvHrjT.js} +1 -1
- package/dist/dashboard/client/assets/{chunk-QN33PNHL-CyzabUv0.js → chunk-QN33PNHL-DDEcP3Rr.js} +1 -1
- package/dist/dashboard/client/assets/{chunk-QZHKN3VN-CceRbxt_.js → chunk-QZHKN3VN-CNrv8PPa.js} +1 -1
- package/dist/dashboard/client/assets/{chunk-TZMSLE5B-Bjg9IoOQ.js → chunk-TZMSLE5B-Cf7ruLpv.js} +1 -1
- package/dist/dashboard/client/assets/classDiagram-2ON5EDUG-l6aRknEX.js +1 -0
- package/dist/dashboard/client/assets/classDiagram-v2-WZHVMYZB-l6aRknEX.js +1 -0
- package/dist/dashboard/client/assets/clone-DlyIkpMA.js +1 -0
- package/dist/dashboard/client/assets/{cose-bilkent-S5V4N54A-DEdXBrCt.js → cose-bilkent-S5V4N54A-BLdeLAXN.js} +1 -1
- package/dist/dashboard/client/assets/{dagre-6UL2VRFP-DRdIiP58.js → dagre-6UL2VRFP-BJ4sOJMG.js} +1 -1
- package/dist/dashboard/client/assets/{diagram-PSM6KHXK-Bo7Q2VlK.js → diagram-PSM6KHXK-6bnUwEUL.js} +1 -1
- package/dist/dashboard/client/assets/{diagram-QEK2KX5R-2Fmc2o5x.js → diagram-QEK2KX5R-BVM40PZZ.js} +1 -1
- package/dist/dashboard/client/assets/{diagram-S2PKOQOG-5WE8f0p7.js → diagram-S2PKOQOG-Bymzcnfw.js} +1 -1
- package/dist/dashboard/client/assets/{erDiagram-Q2GNP2WA-DD-iXWd_.js → erDiagram-Q2GNP2WA-BVADk0og.js} +1 -1
- package/dist/dashboard/client/assets/{flowDiagram-NV44I4VS-CCWo8Ue9.js → flowDiagram-NV44I4VS-_eGXTmsk.js} +1 -1
- package/dist/dashboard/client/assets/{ganttDiagram-JELNMOA3-CNY4d5UK.js → ganttDiagram-JELNMOA3-CX3MM-Kg.js} +1 -1
- package/dist/dashboard/client/assets/{gitGraphDiagram-V2S2FVAM-Dq5SBEJJ.js → gitGraphDiagram-V2S2FVAM-CkKtnGnz.js} +1 -1
- package/dist/dashboard/client/assets/{graph-BTt9lokK.js → graph-DHnUlkk_.js} +1 -1
- package/dist/dashboard/client/assets/{index-B0k81q2b.js → index-D9drpDt3.js} +44 -44
- package/dist/dashboard/client/assets/{infoDiagram-HS3SLOUP-AnKZja-G.js → infoDiagram-HS3SLOUP-D9BnKoPB.js} +1 -1
- package/dist/dashboard/client/assets/{journeyDiagram-XKPGCS4Q-nC-_WjPN.js → journeyDiagram-XKPGCS4Q-DS_q4bTn.js} +1 -1
- package/dist/dashboard/client/assets/{kanban-definition-3W4ZIXB7-BEY73sWU.js → kanban-definition-3W4ZIXB7-8_1dZaX4.js} +1 -1
- package/dist/dashboard/client/assets/{layout-D4DfNpzH.js → layout-CsLHITt3.js} +1 -1
- package/dist/dashboard/client/assets/{linear-ZpGvKjeP.js → linear-CCtPUyi6.js} +1 -1
- package/dist/dashboard/client/assets/{mermaid-renderer-BCDxmS9g.js → mermaid-renderer-YLFCVv-z.js} +4 -4
- package/dist/dashboard/client/assets/{mindmap-definition-VGOIOE7T-MzAaKESA.js → mindmap-definition-VGOIOE7T-DR-LlyOU.js} +1 -1
- package/dist/dashboard/client/assets/{pieDiagram-ADFJNKIX-B_X1kySF.js → pieDiagram-ADFJNKIX-Bb5Zk2R3.js} +1 -1
- package/dist/dashboard/client/assets/{quadrantDiagram-AYHSOK5B-CMoIEMLN.js → quadrantDiagram-AYHSOK5B-jsjp4NWV.js} +1 -1
- package/dist/dashboard/client/assets/{requirementDiagram-UZGBJVZJ-v4CRsn1w.js → requirementDiagram-UZGBJVZJ-fAoABRs-.js} +1 -1
- package/dist/dashboard/client/assets/{sankeyDiagram-TZEHDZUN-CPcyN8Jj.js → sankeyDiagram-TZEHDZUN-BTJZKbMB.js} +1 -1
- package/dist/dashboard/client/assets/{sequenceDiagram-WL72ISMW-CTg0Vx1H.js → sequenceDiagram-WL72ISMW-D1CT5eZr.js} +1 -1
- package/dist/dashboard/client/assets/{stateDiagram-FKZM4ZOC-BMWBN6Nq.js → stateDiagram-FKZM4ZOC-BOuyRm06.js} +1 -1
- package/dist/dashboard/client/assets/stateDiagram-v2-4FDKWEC3-DtmMH8sN.js +1 -0
- package/dist/dashboard/client/assets/{timeline-definition-IT6M3QCI-B8xFcSGb.js → timeline-definition-IT6M3QCI-IT_de2GW.js} +1 -1
- package/dist/dashboard/client/assets/{treemap-GDKQZRPO-HQQuGl9w.js → treemap-GDKQZRPO-ChPy-xEn.js} +1 -1
- package/dist/dashboard/client/assets/{xychartDiagram-PRI3JC2R-Drz0SW3I.js → xychartDiagram-PRI3JC2R-CNHEwC5B.js} +1 -1
- package/dist/dashboard/client/index.html +1 -1
- package/dist/dashboard/server.js +34 -7
- package/dist/index.js +37 -24
- package/package.json +2 -2
- package/dist/dashboard/client/assets/channel-BUnm_-UQ.js +0 -1
- package/dist/dashboard/client/assets/classDiagram-2ON5EDUG-D_fkmNvU.js +0 -1
- package/dist/dashboard/client/assets/classDiagram-v2-WZHVMYZB-D_fkmNvU.js +0 -1
- package/dist/dashboard/client/assets/clone-DTyrNOLZ.js +0 -1
- package/dist/dashboard/client/assets/stateDiagram-v2-4FDKWEC3-C9Jk1xd0.js +0 -1
package/dist/dashboard/client/assets/{treemap-GDKQZRPO-HQQuGl9w.js → treemap-GDKQZRPO-ChPy-xEn.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as yh,_ as En}from"./index-B0k81q2b.js";import{bA as Th,bB as Rh,aU as dd,bk as vh,aY as Eh,aV as je,aA as Ah,aB as dl,ba as Sh,bd as fd,be as hd,bb as kh,bp as fl,aD as Yn,aE as ae,aW as Ch,aQ as wh}from"./mermaid-renderer-BCDxmS9g.js";import{k as kr,j as Fc,g as Pr,S as Nh,w as bh,x as _h,c as pd,v as $e,y as md,l as Ih,z as Ph,A as $h,B as Lh,C as Oh,a as gd,d as q,i as tn,r as Je,f as ht,D as Fe}from"./_baseUniq-Bg7NJSGS.js";import{j as Gc,m as M,d as xh,f as yt,g as Cr,h as z,i as Uc,l as jn,e as Dh}from"./_basePickBy-CyrHyeyN.js";import{c as Be}from"./clone-DTyrNOLZ.js";var Mh=Object.prototype,Fh=Mh.hasOwnProperty,ft=Th(function(t,e){if(Rh(e)||dd(e)){vh(e,kr(e),t);return}for(var n in e)Fh.call(e,n)&&Eh(t,n,e[n])});function yd(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var s=Array(i);++r<i;)s[r]=t[r+e];return s}function Gi(t){for(var e=-1,n=t==null?0:t.length,r=0,i=[];++e<n;){var s=t[e];s&&(i[r++]=s)}return i}function Gh(t,e,n,r){for(var i=-1,s=t==null?0:t.length;++i<s;){var a=t[i];e(r,a,n(a),t)}return r}function Uh(t,e,n,r){return Fc(t,function(i,s,a){e(r,i,n(i),a)}),r}function qh(t,e){return function(n,r){var i=je(n)?Gh:Uh,s=e?e():{};return i(n,t,Pr(r),s)}}var jh=200;function zh(t,e,n,r){var i=-1,s=bh,a=!0,o=t.length,c=[],l=e.length;if(!o)return c;e.length>=jh&&(s=_h,a=!1,e=new Nh(e));e:for(;++i<o;){var u=t[i],f=u;if(u=u!==0?u:0,a&&f===f){for(var m=l;m--;)if(e[m]===f)continue e;c.push(u)}else s(e,f,r)||c.push(u)}return c}var fa=Ah(function(t,e){return dl(t)?zh(t,pd(e,1,dl,!0)):[]});function Ge(t,e,n){var r=t==null?0:t.length;return r?(e=e===void 0?1:Gc(e),yd(t,e<0?0:e,r)):[]}function wi(t,e,n){var r=t==null?0:t.length;return r?(e=e===void 0?1:Gc(e),e=r-e,yd(t,0,e<0?0:e)):[]}function Bh(t,e){for(var n=-1,r=t==null?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Wh(t,e){var n=!0;return Fc(t,function(r,i,s){return n=!!e(r,i,s),n}),n}function kt(t,e,n){var r=je(t)?Bh:Wh;return r(t,Pr(e))}function wt(t){return t&&t.length?t[0]:void 0}function dt(t,e){return pd(M(t,e))}var Vh=Object.prototype,Kh=Vh.hasOwnProperty,Hh=qh(function(t,e,n){Kh.call(t,n)?t[n].push(e):Sh(t,n,[e])}),Yh="[object String]";function nt(t){return typeof t=="string"||!je(t)&&fd(t)&&hd(t)==Yh}var Xh=Math.max;function et(t,e,n,r){t=dd(t)?t:$e(t),n=n?Gc(n):0;var i=t.length;return n<0&&(n=Xh(i+n,0)),nt(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&md(t,e,n)>-1}function hl(t,e,n){var r=t==null?0:t.length;if(!r)return-1;var i=0;return md(t,e,i)}var Jh="[object RegExp]";function Qh(t){return fd(t)&&hd(t)==Jh}var pl=fl&&fl.isRegExp,nn=pl?kh(pl):Qh,Zh="Expected a function";function ep(t){if(typeof t!="function")throw new TypeError(Zh);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Nt(t,e){if(t==null)return{};var n=Ih(Ph(t),function(r){return[r]});return e=Pr(e),xh(t,n,function(r,i){return e(r,i[0])})}function ha(t,e){var n=je(t)?$h:Lh;return n(t,ep(Pr(e)))}function tp(t,e){var n;return Fc(t,function(r,i,s){return n=e(r,i,s),!n}),!!n}function Td(t,e,n){var r=je(t)?Oh:tp;return r(t,Pr(e))}function qc(t){return t&&t.length?gd(t):[]}function np(t,e){return t&&t.length?gd(t,Pr(e)):[]}function We(t){return typeof t=="object"&&t!==null&&typeof t.$type=="string"}function St(t){return typeof t=="object"&&t!==null&&typeof t.$refText=="string"&&"ref"in t}function un(t){return typeof t=="object"&&t!==null&&typeof t.$refText=="string"&&"items"in t}function rp(t){return typeof t=="object"&&t!==null&&typeof t.name=="string"&&typeof t.type=="string"&&typeof t.path=="string"}function Yr(t){return typeof t=="object"&&t!==null&&typeof t.info=="object"&&typeof t.message=="string"}class Rd{constructor(){this.subtypes={},this.allSubtypes={}}getAllTypes(){return Object.keys(this.types)}getReferenceType(e){const n=this.types[e.container.$type];if(!n)throw new Error(`Type ${e.container.$type||"undefined"} not found.`);const r=n.properties[e.property]?.referenceType;if(!r)throw new Error(`Property ${e.property||"undefined"} of type ${e.container.$type} is not a reference.`);return r}getTypeMetaData(e){const n=this.types[e];return n||{name:e,properties:{},superTypes:[]}}isInstance(e,n){return We(e)&&this.isSubtype(e.$type,n)}isSubtype(e,n){if(e===n)return!0;let r=this.subtypes[e];r||(r=this.subtypes[e]={});const i=r[n];if(i!==void 0)return i;{const s=this.types[e],a=s?s.superTypes.some(o=>this.isSubtype(o,n)):!1;return r[n]=a,a}}getAllSubTypes(e){const n=this.allSubtypes[e];if(n)return n;{const r=this.getAllTypes(),i=[];for(const s of r)this.isSubtype(s,e)&&i.push(s);return this.allSubtypes[e]=i,i}}}function Ni(t){return typeof t=="object"&&t!==null&&Array.isArray(t.content)}function vd(t){return typeof t=="object"&&t!==null&&typeof t.tokenType=="object"}function Ed(t){return Ni(t)&&typeof t.fullText=="string"}class Ue{constructor(e,n){this.startFn=e,this.nextFn=n}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),[Symbol.iterator]:()=>e};return e}[Symbol.iterator](){return this.iterator()}isEmpty(){return!!this.iterator().next().done}count(){const e=this.iterator();let n=0,r=e.next();for(;!r.done;)n++,r=e.next();return n}toArray(){const e=[],n=this.iterator();let r;do r=n.next(),r.value!==void 0&&e.push(r.value);while(!r.done);return e}toSet(){return new Set(this)}toMap(e,n){const r=this.map(i=>[e?e(i):i,n?n(i):i]);return new Map(r)}toString(){return this.join()}concat(e){return new Ue(()=>({first:this.startFn(),firstDone:!1,iterator:e[Symbol.iterator]()}),n=>{let r;if(!n.firstDone){do if(r=this.nextFn(n.first),!r.done)return r;while(!r.done);n.firstDone=!0}do if(r=n.iterator.next(),!r.done)return r;while(!r.done);return lt})}join(e=","){const n=this.iterator();let r="",i,s=!1;do i=n.next(),i.done||(s&&(r+=e),r+=ip(i.value)),s=!0;while(!i.done);return r}indexOf(e,n=0){const r=this.iterator();let i=0,s=r.next();for(;!s.done;){if(i>=n&&s.value===e)return i;s=r.next(),i++}return-1}every(e){const n=this.iterator();let r=n.next();for(;!r.done;){if(!e(r.value))return!1;r=n.next()}return!0}some(e){const n=this.iterator();let r=n.next();for(;!r.done;){if(e(r.value))return!0;r=n.next()}return!1}forEach(e){const n=this.iterator();let r=0,i=n.next();for(;!i.done;)e(i.value,r),i=n.next(),r++}map(e){return new Ue(this.startFn,n=>{const{done:r,value:i}=this.nextFn(n);return r?lt:{done:!1,value:e(i)}})}filter(e){return new Ue(this.startFn,n=>{let r;do if(r=this.nextFn(n),!r.done&&e(r.value))return r;while(!r.done);return lt})}nonNullable(){return this.filter(e=>e!=null)}reduce(e,n){const r=this.iterator();let i=n,s=r.next();for(;!s.done;)i===void 0?i=s.value:i=e(i,s.value),s=r.next();return i}reduceRight(e,n){return this.recursiveReduce(this.iterator(),e,n)}recursiveReduce(e,n,r){const i=e.next();if(i.done)return r;const s=this.recursiveReduce(e,n,r);return s===void 0?i.value:n(s,i.value)}find(e){const n=this.iterator();let r=n.next();for(;!r.done;){if(e(r.value))return r.value;r=n.next()}}findIndex(e){const n=this.iterator();let r=0,i=n.next();for(;!i.done;){if(e(i.value))return r;i=n.next(),r++}return-1}includes(e){const n=this.iterator();let r=n.next();for(;!r.done;){if(r.value===e)return!0;r=n.next()}return!1}flatMap(e){return new Ue(()=>({this:this.startFn()}),n=>{do{if(n.iterator){const s=n.iterator.next();if(s.done)n.iterator=void 0;else return s}const{done:r,value:i}=this.nextFn(n.this);if(!r){const s=e(i);if(zs(s))n.iterator=s[Symbol.iterator]();else return{done:!1,value:s}}}while(n.iterator);return lt})}flat(e){if(e===void 0&&(e=1),e<=0)return this;const n=e>1?this.flat(e-1):this;return new Ue(()=>({this:n.startFn()}),r=>{do{if(r.iterator){const a=r.iterator.next();if(a.done)r.iterator=void 0;else return a}const{done:i,value:s}=n.nextFn(r.this);if(!i)if(zs(s))r.iterator=s[Symbol.iterator]();else return{done:!1,value:s}}while(r.iterator);return lt})}head(){const n=this.iterator().next();if(!n.done)return n.value}tail(e=1){return new Ue(()=>{const n=this.startFn();for(let r=0;r<e;r++)if(this.nextFn(n).done)return n;return n},this.nextFn)}limit(e){return new Ue(()=>({size:0,state:this.startFn()}),n=>(n.size++,n.size>e?lt:this.nextFn(n.state)))}distinct(e){return new Ue(()=>({set:new Set,internalState:this.startFn()}),n=>{let r;do if(r=this.nextFn(n.internalState),!r.done){const i=e?e(r.value):r.value;if(!n.set.has(i))return n.set.add(i),r}while(!r.done);return lt})}exclude(e,n){const r=new Set;for(const i of e){const s=n?n(i):i;r.add(s)}return this.filter(i=>{const s=n?n(i):i;return!r.has(s)})}}function ip(t){return typeof t=="string"?t:typeof t>"u"?"undefined":typeof t.toString=="function"?t.toString():Object.prototype.toString.call(t)}function zs(t){return!!t&&typeof t[Symbol.iterator]=="function"}const Ad=new Ue(()=>{},()=>lt),lt=Object.freeze({done:!0,value:void 0});function me(...t){if(t.length===1){const e=t[0];if(e instanceof Ue)return e;if(zs(e))return new Ue(()=>e[Symbol.iterator](),n=>n.next());if(typeof e.length=="number")return new Ue(()=>({index:0}),n=>n.index<e.length?{done:!1,value:e[n.index++]}:lt)}return t.length>1?new Ue(()=>({collIndex:0,arrIndex:0}),e=>{do{if(e.iterator){const n=e.iterator.next();if(!n.done)return n;e.iterator=void 0}if(e.array){if(e.arrIndex<e.array.length)return{done:!1,value:e.array[e.arrIndex++]};e.array=void 0,e.arrIndex=0}if(e.collIndex<t.length){const n=t[e.collIndex++];zs(n)?e.iterator=n[Symbol.iterator]():n&&typeof n.length=="number"&&(e.array=n)}}while(e.iterator||e.array||e.collIndex<t.length);return lt}):Ad}class jc extends Ue{constructor(e,n,r){super(()=>({iterators:r?.includeRoot?[[e][Symbol.iterator]()]:[n(e)[Symbol.iterator]()],pruned:!1}),i=>{for(i.pruned&&(i.iterators.pop(),i.pruned=!1);i.iterators.length>0;){const a=i.iterators[i.iterators.length-1].next();if(a.done)i.iterators.pop();else return i.iterators.push(n(a.value)[Symbol.iterator]()),a}return lt})}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),prune:()=>{e.state.pruned=!0},[Symbol.iterator]:()=>e};return e}}var eo;(function(t){function e(s){return s.reduce((a,o)=>a+o,0)}t.sum=e;function n(s){return s.reduce((a,o)=>a*o,0)}t.product=n;function r(s){return s.reduce((a,o)=>Math.min(a,o))}t.min=r;function i(s){return s.reduce((a,o)=>Math.max(a,o))}t.max=i})(eo||(eo={}));function to(t,e={}){for(const[n,r]of Object.entries(t))n.startsWith("$")||(Array.isArray(r)?r.forEach((i,s)=>{We(i)&&(i.$container=t,i.$containerProperty=n,i.$containerIndex=s,e.deep&&to(i,e))}):We(r)&&(r.$container=t,r.$containerProperty=n,e.deep&&to(r,e)))}function pa(t,e){let n=t;for(;n;){if(e(n))return n;n=n.$container}}function Qt(t){const n=bs(t).$document;if(!n)throw new Error("AST node has no document.");return n}function bs(t){for(;t.$container;)t=t.$container;return t}function ml(t){return St(t)?t.ref?[t.ref]:[]:un(t)?t.items.map(e=>e.ref):[]}function zc(t,e){if(!t)throw new Error("Node must be an AstNode.");const n=e?.range;return new Ue(()=>({keys:Object.keys(t),keyIndex:0,arrayIndex:0}),r=>{for(;r.keyIndex<r.keys.length;){const i=r.keys[r.keyIndex];if(!i.startsWith("$")){const s=t[i];if(We(s)){if(r.keyIndex++,gl(s,n))return{done:!1,value:s}}else if(Array.isArray(s)){for(;r.arrayIndex<s.length;){const a=r.arrayIndex++,o=s[a];if(We(o)&&gl(o,n))return{done:!1,value:o}}r.arrayIndex=0}}r.keyIndex++}return lt})}function Ui(t,e){if(!t)throw new Error("Root node must be an AstNode.");return new jc(t,n=>zc(n,e))}function Zt(t,e){if(!t)throw new Error("Root node must be an AstNode.");return new jc(t,n=>zc(n,e),{includeRoot:!0})}function gl(t,e){if(!e)return!0;const n=t.$cstNode?.range;return n?Np(n,e):!1}function Bs(t){return new Ue(()=>({keys:Object.keys(t),keyIndex:0,arrayIndex:0}),e=>{for(;e.keyIndex<e.keys.length;){const n=e.keys[e.keyIndex];if(!n.startsWith("$")){const r=t[n];if(St(r)||un(r))return e.keyIndex++,{done:!1,value:{reference:r,container:t,property:n}};if(Array.isArray(r)){for(;e.arrayIndex<r.length;){const i=e.arrayIndex++,s=r[i];if(St(s)||un(r))return{done:!1,value:{reference:s,container:t,property:n,index:i}}}e.arrayIndex=0}}e.keyIndex++}return lt})}function sp(t,e){const n=t.getTypeMetaData(e.$type),r=e;for(const i of Object.values(n.properties))i.defaultValue!==void 0&&r[i.name]===void 0&&(r[i.name]=Sd(i.defaultValue))}function Sd(t){return Array.isArray(t)?[...t.map(Sd)]:t}const ct={$type:"AbstractElement",cardinality:"cardinality"};function ap(t){return ee.isInstance(t,ct.$type)}const _s={$type:"AbstractParserRule"};function qi(t){return ee.isInstance(t,_s.$type)}const hs={$type:"AbstractRule"},Et={$type:"AbstractType"},On={$type:"Action",cardinality:"cardinality",feature:"feature",inferredType:"inferredType",operator:"operator",type:"type"};function ma(t){return ee.isInstance(t,On.$type)}const Is={$type:"Alternatives",cardinality:"cardinality",elements:"elements"};function kd(t){return ee.isInstance(t,Is.$type)}const yl={$type:"ArrayLiteral",elements:"elements"},Tl={$type:"ArrayType",elementType:"elementType"},xn={$type:"Assignment",cardinality:"cardinality",feature:"feature",operator:"operator",predicate:"predicate",terminal:"terminal"};function zn(t){return ee.isInstance(t,xn.$type)}const no={$type:"BooleanLiteral",true:"true"};function op(t){return ee.isInstance(t,no.$type)}const Dn={$type:"CharacterRange",cardinality:"cardinality",left:"left",lookahead:"lookahead",parenthesized:"parenthesized",right:"right"};function cp(t){return ee.isInstance(t,Dn.$type)}const nr={$type:"Condition"},Ps={$type:"Conjunction",left:"left",right:"right"};function lp(t){return ee.isInstance(t,Ps.$type)}const Mn={$type:"CrossReference",cardinality:"cardinality",deprecatedSyntax:"deprecatedSyntax",isMulti:"isMulti",terminal:"terminal",type:"type"};function ga(t){return ee.isInstance(t,Mn.$type)}const $s={$type:"Disjunction",left:"left",right:"right"};function up(t){return ee.isInstance(t,$s.$type)}const ro={$type:"EndOfFile",cardinality:"cardinality"};function dp(t){return ee.isInstance(t,ro.$type)}const An={$type:"Grammar",imports:"imports",interfaces:"interfaces",isDeclared:"isDeclared",name:"name",rules:"rules",types:"types"},Rl={$type:"GrammarImport",path:"path"},cr={$type:"Group",cardinality:"cardinality",elements:"elements",guardCondition:"guardCondition",predicate:"predicate"};function Bc(t){return ee.isInstance(t,cr.$type)}const io={$type:"InferredType",name:"name"};function Cd(t){return ee.isInstance(t,io.$type)}const Vt={$type:"InfixRule",call:"call",dataType:"dataType",inferredType:"inferredType",name:"name",operators:"operators",parameters:"parameters",returnType:"returnType"};function Ws(t){return ee.isInstance(t,Vt.$type)}const Ia={$type:"InfixRuleOperatorList",associativity:"associativity",operators:"operators"},vl={$type:"InfixRuleOperators",precedences:"precedences"},gi={$type:"Interface",attributes:"attributes",name:"name",superTypes:"superTypes"};function fp(t){return ee.isInstance(t,gi.$type)}const yi={$type:"Keyword",cardinality:"cardinality",predicate:"predicate",value:"value"};function Bn(t){return ee.isInstance(t,yi.$type)}const ps={$type:"NamedArgument",calledByName:"calledByName",parameter:"parameter",value:"value"},lr={$type:"NegatedToken",cardinality:"cardinality",lookahead:"lookahead",parenthesized:"parenthesized",terminal:"terminal"};function hp(t){return ee.isInstance(t,lr.$type)}const so={$type:"Negation",value:"value"};function pp(t){return ee.isInstance(t,so.$type)}const El={$type:"NumberLiteral",value:"value"},ms={$type:"Parameter",name:"name"},ao={$type:"ParameterReference",parameter:"parameter"};function mp(t){return ee.isInstance(t,ao.$type)}const Pt={$type:"ParserRule",dataType:"dataType",definition:"definition",entry:"entry",fragment:"fragment",inferredType:"inferredType",name:"name",parameters:"parameters",returnType:"returnType"};function sn(t){return ee.isInstance(t,Pt.$type)}const Pa={$type:"ReferenceType",isMulti:"isMulti",referenceType:"referenceType"},ur={$type:"RegexToken",cardinality:"cardinality",lookahead:"lookahead",parenthesized:"parenthesized",regex:"regex"};function gp(t){return ee.isInstance(t,ur.$type)}const oo={$type:"ReturnType",name:"name"};function yp(t){return ee.isInstance(t,oo.$type)}const dr={$type:"RuleCall",arguments:"arguments",cardinality:"cardinality",predicate:"predicate",rule:"rule"};function Wn(t){return ee.isInstance(t,dr.$type)}const Ti={$type:"SimpleType",primitiveType:"primitiveType",stringType:"stringType",typeRef:"typeRef"};function Tp(t){return ee.isInstance(t,Ti.$type)}const Al={$type:"StringLiteral",value:"value"},fr={$type:"TerminalAlternatives",cardinality:"cardinality",elements:"elements",lookahead:"lookahead",parenthesized:"parenthesized"};function Rp(t){return ee.isInstance(t,fr.$type)}const gt={$type:"TerminalElement",cardinality:"cardinality",lookahead:"lookahead",parenthesized:"parenthesized"},hr={$type:"TerminalGroup",cardinality:"cardinality",elements:"elements",lookahead:"lookahead",parenthesized:"parenthesized"};function vp(t){return ee.isInstance(t,hr.$type)}const ln={$type:"TerminalRule",definition:"definition",fragment:"fragment",hidden:"hidden",name:"name",type:"type"};function an(t){return ee.isInstance(t,ln.$type)}const pr={$type:"TerminalRuleCall",cardinality:"cardinality",lookahead:"lookahead",parenthesized:"parenthesized",rule:"rule"};function Ep(t){return ee.isInstance(t,pr.$type)}const Ls={$type:"Type",name:"name",type:"type"};function Ap(t){return ee.isInstance(t,Ls.$type)}const Xr={$type:"TypeAttribute",defaultValue:"defaultValue",isOptional:"isOptional",name:"name",type:"type"},Jr={$type:"TypeDefinition"},Sl={$type:"UnionType",types:"types"},Os={$type:"UnorderedGroup",cardinality:"cardinality",elements:"elements"};function wd(t){return ee.isInstance(t,Os.$type)}const mr={$type:"UntilToken",cardinality:"cardinality",lookahead:"lookahead",parenthesized:"parenthesized",terminal:"terminal"};function Sp(t){return ee.isInstance(t,mr.$type)}const Qr={$type:"ValueLiteral"},Ri={$type:"Wildcard",cardinality:"cardinality",lookahead:"lookahead",parenthesized:"parenthesized"};function kp(t){return ee.isInstance(t,Ri.$type)}class Nd extends Rd{constructor(){super(...arguments),this.types={AbstractElement:{name:ct.$type,properties:{cardinality:{name:ct.cardinality}},superTypes:[]},AbstractParserRule:{name:_s.$type,properties:{},superTypes:[hs.$type,Et.$type]},AbstractRule:{name:hs.$type,properties:{},superTypes:[]},AbstractType:{name:Et.$type,properties:{},superTypes:[]},Action:{name:On.$type,properties:{cardinality:{name:On.cardinality},feature:{name:On.feature},inferredType:{name:On.inferredType},operator:{name:On.operator},type:{name:On.type,referenceType:Et.$type}},superTypes:[ct.$type]},Alternatives:{name:Is.$type,properties:{cardinality:{name:Is.cardinality},elements:{name:Is.elements,defaultValue:[]}},superTypes:[ct.$type]},ArrayLiteral:{name:yl.$type,properties:{elements:{name:yl.elements,defaultValue:[]}},superTypes:[Qr.$type]},ArrayType:{name:Tl.$type,properties:{elementType:{name:Tl.elementType}},superTypes:[Jr.$type]},Assignment:{name:xn.$type,properties:{cardinality:{name:xn.cardinality},feature:{name:xn.feature},operator:{name:xn.operator},predicate:{name:xn.predicate},terminal:{name:xn.terminal}},superTypes:[ct.$type]},BooleanLiteral:{name:no.$type,properties:{true:{name:no.true,defaultValue:!1}},superTypes:[nr.$type,Qr.$type]},CharacterRange:{name:Dn.$type,properties:{cardinality:{name:Dn.cardinality},left:{name:Dn.left},lookahead:{name:Dn.lookahead},parenthesized:{name:Dn.parenthesized,defaultValue:!1},right:{name:Dn.right}},superTypes:[gt.$type]},Condition:{name:nr.$type,properties:{},superTypes:[]},Conjunction:{name:Ps.$type,properties:{left:{name:Ps.left},right:{name:Ps.right}},superTypes:[nr.$type]},CrossReference:{name:Mn.$type,properties:{cardinality:{name:Mn.cardinality},deprecatedSyntax:{name:Mn.deprecatedSyntax,defaultValue:!1},isMulti:{name:Mn.isMulti,defaultValue:!1},terminal:{name:Mn.terminal},type:{name:Mn.type,referenceType:Et.$type}},superTypes:[ct.$type]},Disjunction:{name:$s.$type,properties:{left:{name:$s.left},right:{name:$s.right}},superTypes:[nr.$type]},EndOfFile:{name:ro.$type,properties:{cardinality:{name:ro.cardinality}},superTypes:[ct.$type]},Grammar:{name:An.$type,properties:{imports:{name:An.imports,defaultValue:[]},interfaces:{name:An.interfaces,defaultValue:[]},isDeclared:{name:An.isDeclared,defaultValue:!1},name:{name:An.name},rules:{name:An.rules,defaultValue:[]},types:{name:An.types,defaultValue:[]}},superTypes:[]},GrammarImport:{name:Rl.$type,properties:{path:{name:Rl.path}},superTypes:[]},Group:{name:cr.$type,properties:{cardinality:{name:cr.cardinality},elements:{name:cr.elements,defaultValue:[]},guardCondition:{name:cr.guardCondition},predicate:{name:cr.predicate}},superTypes:[ct.$type]},InferredType:{name:io.$type,properties:{name:{name:io.name}},superTypes:[Et.$type]},InfixRule:{name:Vt.$type,properties:{call:{name:Vt.call},dataType:{name:Vt.dataType},inferredType:{name:Vt.inferredType},name:{name:Vt.name},operators:{name:Vt.operators},parameters:{name:Vt.parameters,defaultValue:[]},returnType:{name:Vt.returnType,referenceType:Et.$type}},superTypes:[_s.$type]},InfixRuleOperatorList:{name:Ia.$type,properties:{associativity:{name:Ia.associativity},operators:{name:Ia.operators,defaultValue:[]}},superTypes:[]},InfixRuleOperators:{name:vl.$type,properties:{precedences:{name:vl.precedences,defaultValue:[]}},superTypes:[]},Interface:{name:gi.$type,properties:{attributes:{name:gi.attributes,defaultValue:[]},name:{name:gi.name},superTypes:{name:gi.superTypes,defaultValue:[],referenceType:Et.$type}},superTypes:[Et.$type]},Keyword:{name:yi.$type,properties:{cardinality:{name:yi.cardinality},predicate:{name:yi.predicate},value:{name:yi.value}},superTypes:[ct.$type]},NamedArgument:{name:ps.$type,properties:{calledByName:{name:ps.calledByName,defaultValue:!1},parameter:{name:ps.parameter,referenceType:ms.$type},value:{name:ps.value}},superTypes:[]},NegatedToken:{name:lr.$type,properties:{cardinality:{name:lr.cardinality},lookahead:{name:lr.lookahead},parenthesized:{name:lr.parenthesized,defaultValue:!1},terminal:{name:lr.terminal}},superTypes:[gt.$type]},Negation:{name:so.$type,properties:{value:{name:so.value}},superTypes:[nr.$type]},NumberLiteral:{name:El.$type,properties:{value:{name:El.value}},superTypes:[Qr.$type]},Parameter:{name:ms.$type,properties:{name:{name:ms.name}},superTypes:[]},ParameterReference:{name:ao.$type,properties:{parameter:{name:ao.parameter,referenceType:ms.$type}},superTypes:[nr.$type]},ParserRule:{name:Pt.$type,properties:{dataType:{name:Pt.dataType},definition:{name:Pt.definition},entry:{name:Pt.entry,defaultValue:!1},fragment:{name:Pt.fragment,defaultValue:!1},inferredType:{name:Pt.inferredType},name:{name:Pt.name},parameters:{name:Pt.parameters,defaultValue:[]},returnType:{name:Pt.returnType,referenceType:Et.$type}},superTypes:[_s.$type]},ReferenceType:{name:Pa.$type,properties:{isMulti:{name:Pa.isMulti,defaultValue:!1},referenceType:{name:Pa.referenceType}},superTypes:[Jr.$type]},RegexToken:{name:ur.$type,properties:{cardinality:{name:ur.cardinality},lookahead:{name:ur.lookahead},parenthesized:{name:ur.parenthesized,defaultValue:!1},regex:{name:ur.regex}},superTypes:[gt.$type]},ReturnType:{name:oo.$type,properties:{name:{name:oo.name}},superTypes:[]},RuleCall:{name:dr.$type,properties:{arguments:{name:dr.arguments,defaultValue:[]},cardinality:{name:dr.cardinality},predicate:{name:dr.predicate},rule:{name:dr.rule,referenceType:hs.$type}},superTypes:[ct.$type]},SimpleType:{name:Ti.$type,properties:{primitiveType:{name:Ti.primitiveType},stringType:{name:Ti.stringType},typeRef:{name:Ti.typeRef,referenceType:Et.$type}},superTypes:[Jr.$type]},StringLiteral:{name:Al.$type,properties:{value:{name:Al.value}},superTypes:[Qr.$type]},TerminalAlternatives:{name:fr.$type,properties:{cardinality:{name:fr.cardinality},elements:{name:fr.elements,defaultValue:[]},lookahead:{name:fr.lookahead},parenthesized:{name:fr.parenthesized,defaultValue:!1}},superTypes:[gt.$type]},TerminalElement:{name:gt.$type,properties:{cardinality:{name:gt.cardinality},lookahead:{name:gt.lookahead},parenthesized:{name:gt.parenthesized,defaultValue:!1}},superTypes:[ct.$type]},TerminalGroup:{name:hr.$type,properties:{cardinality:{name:hr.cardinality},elements:{name:hr.elements,defaultValue:[]},lookahead:{name:hr.lookahead},parenthesized:{name:hr.parenthesized,defaultValue:!1}},superTypes:[gt.$type]},TerminalRule:{name:ln.$type,properties:{definition:{name:ln.definition},fragment:{name:ln.fragment,defaultValue:!1},hidden:{name:ln.hidden,defaultValue:!1},name:{name:ln.name},type:{name:ln.type}},superTypes:[hs.$type]},TerminalRuleCall:{name:pr.$type,properties:{cardinality:{name:pr.cardinality},lookahead:{name:pr.lookahead},parenthesized:{name:pr.parenthesized,defaultValue:!1},rule:{name:pr.rule,referenceType:ln.$type}},superTypes:[gt.$type]},Type:{name:Ls.$type,properties:{name:{name:Ls.name},type:{name:Ls.type}},superTypes:[Et.$type]},TypeAttribute:{name:Xr.$type,properties:{defaultValue:{name:Xr.defaultValue},isOptional:{name:Xr.isOptional,defaultValue:!1},name:{name:Xr.name},type:{name:Xr.type}},superTypes:[]},TypeDefinition:{name:Jr.$type,properties:{},superTypes:[]},UnionType:{name:Sl.$type,properties:{types:{name:Sl.types,defaultValue:[]}},superTypes:[Jr.$type]},UnorderedGroup:{name:Os.$type,properties:{cardinality:{name:Os.cardinality},elements:{name:Os.elements,defaultValue:[]}},superTypes:[ct.$type]},UntilToken:{name:mr.$type,properties:{cardinality:{name:mr.cardinality},lookahead:{name:mr.lookahead},parenthesized:{name:mr.parenthesized,defaultValue:!1},terminal:{name:mr.terminal}},superTypes:[gt.$type]},ValueLiteral:{name:Qr.$type,properties:{},superTypes:[]},Wildcard:{name:Ri.$type,properties:{cardinality:{name:Ri.cardinality},lookahead:{name:Ri.lookahead},parenthesized:{name:Ri.parenthesized,defaultValue:!1}},superTypes:[gt.$type]}}}}const ee=new Nd;function co(t){return new jc(t,e=>Ni(e)?e.content:[],{includeRoot:!0})}function Cp(t,e){for(;t.container;)if(t=t.container,t===e)return!0;return!1}function lo(t){return{start:{character:t.startColumn-1,line:t.startLine-1},end:{character:t.endColumn,line:t.endLine-1}}}function Vs(t){if(!t)return;const{offset:e,end:n,range:r}=t;return{range:r,offset:e,end:n,length:n-e}}var Xt;(function(t){t[t.Before=0]="Before",t[t.After=1]="After",t[t.OverlapFront=2]="OverlapFront",t[t.OverlapBack=3]="OverlapBack",t[t.Inside=4]="Inside",t[t.Outside=5]="Outside"})(Xt||(Xt={}));function wp(t,e){if(t.end.line<e.start.line||t.end.line===e.start.line&&t.end.character<=e.start.character)return Xt.Before;if(t.start.line>e.end.line||t.start.line===e.end.line&&t.start.character>=e.end.character)return Xt.After;const n=t.start.line>e.start.line||t.start.line===e.start.line&&t.start.character>=e.start.character,r=t.end.line<e.end.line||t.end.line===e.end.line&&t.end.character<=e.end.character;return n&&r?Xt.Inside:n?Xt.OverlapBack:r?Xt.OverlapFront:Xt.Outside}function Np(t,e){return wp(t,e)>Xt.After}const bp=/^[\w\p{L}]$/u;function _p(t,e){if(t){const n=Ip(t,!0);if(n&&kl(n,e))return n;if(Ed(t)){const r=t.content.findIndex(i=>!i.hidden);for(let i=r-1;i>=0;i--){const s=t.content[i];if(kl(s,e))return s}}}}function kl(t,e){return vd(t)&&e.includes(t.tokenType.name)}function Ip(t,e=!0){for(;t.container;){const n=t.container;let r=n.content.indexOf(t);for(;r>0;){r--;const i=n.content[r];if(e||!i.hidden)return i}t=n}}class bd extends Error{constructor(e,n){super(e?`${n} at ${e.range.start.line}:${e.range.start.character}`:n)}}function ji(t,e="Error: Got unexpected value."){throw new Error(e)}function W(t){return t.charCodeAt(0)}function $a(t,e){Array.isArray(t)?t.forEach(function(n){e.push(n)}):e.push(t)}function Zr(t,e){if(t[e]===!0)throw"duplicate flag "+e;t[e],t[e]=!0}function rr(t){if(t===void 0)throw Error("Internal Error - Should never get here!");return!0}function Pp(){throw Error("Internal Error - Should never get here!")}function Cl(t){return t.type==="Character"}const Ks=[];for(let t=W("0");t<=W("9");t++)Ks.push(t);const Hs=[W("_")].concat(Ks);for(let t=W("a");t<=W("z");t++)Hs.push(t);for(let t=W("A");t<=W("Z");t++)Hs.push(t);const wl=[W(" "),W("\f"),W(`
|
|
1
|
+
import{a as yh,_ as En}from"./index-D9drpDt3.js";import{bA as Th,bB as Rh,aU as dd,bk as vh,aY as Eh,aV as je,aA as Ah,aB as dl,ba as Sh,bd as fd,be as hd,bb as kh,bp as fl,aD as Yn,aE as ae,aW as Ch,aQ as wh}from"./mermaid-renderer-YLFCVv-z.js";import{k as kr,j as Fc,g as Pr,S as Nh,w as bh,x as _h,c as pd,v as $e,y as md,l as Ih,z as Ph,A as $h,B as Lh,C as Oh,a as gd,d as q,i as tn,r as Je,f as ht,D as Fe}from"./_baseUniq-BNrzwRTV.js";import{j as Gc,m as M,d as xh,f as yt,g as Cr,h as z,i as Uc,l as jn,e as Dh}from"./_basePickBy-CZOJm2vF.js";import{c as Be}from"./clone-DlyIkpMA.js";var Mh=Object.prototype,Fh=Mh.hasOwnProperty,ft=Th(function(t,e){if(Rh(e)||dd(e)){vh(e,kr(e),t);return}for(var n in e)Fh.call(e,n)&&Eh(t,n,e[n])});function yd(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var s=Array(i);++r<i;)s[r]=t[r+e];return s}function Gi(t){for(var e=-1,n=t==null?0:t.length,r=0,i=[];++e<n;){var s=t[e];s&&(i[r++]=s)}return i}function Gh(t,e,n,r){for(var i=-1,s=t==null?0:t.length;++i<s;){var a=t[i];e(r,a,n(a),t)}return r}function Uh(t,e,n,r){return Fc(t,function(i,s,a){e(r,i,n(i),a)}),r}function qh(t,e){return function(n,r){var i=je(n)?Gh:Uh,s=e?e():{};return i(n,t,Pr(r),s)}}var jh=200;function zh(t,e,n,r){var i=-1,s=bh,a=!0,o=t.length,c=[],l=e.length;if(!o)return c;e.length>=jh&&(s=_h,a=!1,e=new Nh(e));e:for(;++i<o;){var u=t[i],f=u;if(u=u!==0?u:0,a&&f===f){for(var m=l;m--;)if(e[m]===f)continue e;c.push(u)}else s(e,f,r)||c.push(u)}return c}var fa=Ah(function(t,e){return dl(t)?zh(t,pd(e,1,dl,!0)):[]});function Ge(t,e,n){var r=t==null?0:t.length;return r?(e=e===void 0?1:Gc(e),yd(t,e<0?0:e,r)):[]}function wi(t,e,n){var r=t==null?0:t.length;return r?(e=e===void 0?1:Gc(e),e=r-e,yd(t,0,e<0?0:e)):[]}function Bh(t,e){for(var n=-1,r=t==null?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Wh(t,e){var n=!0;return Fc(t,function(r,i,s){return n=!!e(r,i,s),n}),n}function kt(t,e,n){var r=je(t)?Bh:Wh;return r(t,Pr(e))}function wt(t){return t&&t.length?t[0]:void 0}function dt(t,e){return pd(M(t,e))}var Vh=Object.prototype,Kh=Vh.hasOwnProperty,Hh=qh(function(t,e,n){Kh.call(t,n)?t[n].push(e):Sh(t,n,[e])}),Yh="[object String]";function nt(t){return typeof t=="string"||!je(t)&&fd(t)&&hd(t)==Yh}var Xh=Math.max;function et(t,e,n,r){t=dd(t)?t:$e(t),n=n?Gc(n):0;var i=t.length;return n<0&&(n=Xh(i+n,0)),nt(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&md(t,e,n)>-1}function hl(t,e,n){var r=t==null?0:t.length;if(!r)return-1;var i=0;return md(t,e,i)}var Jh="[object RegExp]";function Qh(t){return fd(t)&&hd(t)==Jh}var pl=fl&&fl.isRegExp,nn=pl?kh(pl):Qh,Zh="Expected a function";function ep(t){if(typeof t!="function")throw new TypeError(Zh);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Nt(t,e){if(t==null)return{};var n=Ih(Ph(t),function(r){return[r]});return e=Pr(e),xh(t,n,function(r,i){return e(r,i[0])})}function ha(t,e){var n=je(t)?$h:Lh;return n(t,ep(Pr(e)))}function tp(t,e){var n;return Fc(t,function(r,i,s){return n=e(r,i,s),!n}),!!n}function Td(t,e,n){var r=je(t)?Oh:tp;return r(t,Pr(e))}function qc(t){return t&&t.length?gd(t):[]}function np(t,e){return t&&t.length?gd(t,Pr(e)):[]}function We(t){return typeof t=="object"&&t!==null&&typeof t.$type=="string"}function St(t){return typeof t=="object"&&t!==null&&typeof t.$refText=="string"&&"ref"in t}function un(t){return typeof t=="object"&&t!==null&&typeof t.$refText=="string"&&"items"in t}function rp(t){return typeof t=="object"&&t!==null&&typeof t.name=="string"&&typeof t.type=="string"&&typeof t.path=="string"}function Yr(t){return typeof t=="object"&&t!==null&&typeof t.info=="object"&&typeof t.message=="string"}class Rd{constructor(){this.subtypes={},this.allSubtypes={}}getAllTypes(){return Object.keys(this.types)}getReferenceType(e){const n=this.types[e.container.$type];if(!n)throw new Error(`Type ${e.container.$type||"undefined"} not found.`);const r=n.properties[e.property]?.referenceType;if(!r)throw new Error(`Property ${e.property||"undefined"} of type ${e.container.$type} is not a reference.`);return r}getTypeMetaData(e){const n=this.types[e];return n||{name:e,properties:{},superTypes:[]}}isInstance(e,n){return We(e)&&this.isSubtype(e.$type,n)}isSubtype(e,n){if(e===n)return!0;let r=this.subtypes[e];r||(r=this.subtypes[e]={});const i=r[n];if(i!==void 0)return i;{const s=this.types[e],a=s?s.superTypes.some(o=>this.isSubtype(o,n)):!1;return r[n]=a,a}}getAllSubTypes(e){const n=this.allSubtypes[e];if(n)return n;{const r=this.getAllTypes(),i=[];for(const s of r)this.isSubtype(s,e)&&i.push(s);return this.allSubtypes[e]=i,i}}}function Ni(t){return typeof t=="object"&&t!==null&&Array.isArray(t.content)}function vd(t){return typeof t=="object"&&t!==null&&typeof t.tokenType=="object"}function Ed(t){return Ni(t)&&typeof t.fullText=="string"}class Ue{constructor(e,n){this.startFn=e,this.nextFn=n}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),[Symbol.iterator]:()=>e};return e}[Symbol.iterator](){return this.iterator()}isEmpty(){return!!this.iterator().next().done}count(){const e=this.iterator();let n=0,r=e.next();for(;!r.done;)n++,r=e.next();return n}toArray(){const e=[],n=this.iterator();let r;do r=n.next(),r.value!==void 0&&e.push(r.value);while(!r.done);return e}toSet(){return new Set(this)}toMap(e,n){const r=this.map(i=>[e?e(i):i,n?n(i):i]);return new Map(r)}toString(){return this.join()}concat(e){return new Ue(()=>({first:this.startFn(),firstDone:!1,iterator:e[Symbol.iterator]()}),n=>{let r;if(!n.firstDone){do if(r=this.nextFn(n.first),!r.done)return r;while(!r.done);n.firstDone=!0}do if(r=n.iterator.next(),!r.done)return r;while(!r.done);return lt})}join(e=","){const n=this.iterator();let r="",i,s=!1;do i=n.next(),i.done||(s&&(r+=e),r+=ip(i.value)),s=!0;while(!i.done);return r}indexOf(e,n=0){const r=this.iterator();let i=0,s=r.next();for(;!s.done;){if(i>=n&&s.value===e)return i;s=r.next(),i++}return-1}every(e){const n=this.iterator();let r=n.next();for(;!r.done;){if(!e(r.value))return!1;r=n.next()}return!0}some(e){const n=this.iterator();let r=n.next();for(;!r.done;){if(e(r.value))return!0;r=n.next()}return!1}forEach(e){const n=this.iterator();let r=0,i=n.next();for(;!i.done;)e(i.value,r),i=n.next(),r++}map(e){return new Ue(this.startFn,n=>{const{done:r,value:i}=this.nextFn(n);return r?lt:{done:!1,value:e(i)}})}filter(e){return new Ue(this.startFn,n=>{let r;do if(r=this.nextFn(n),!r.done&&e(r.value))return r;while(!r.done);return lt})}nonNullable(){return this.filter(e=>e!=null)}reduce(e,n){const r=this.iterator();let i=n,s=r.next();for(;!s.done;)i===void 0?i=s.value:i=e(i,s.value),s=r.next();return i}reduceRight(e,n){return this.recursiveReduce(this.iterator(),e,n)}recursiveReduce(e,n,r){const i=e.next();if(i.done)return r;const s=this.recursiveReduce(e,n,r);return s===void 0?i.value:n(s,i.value)}find(e){const n=this.iterator();let r=n.next();for(;!r.done;){if(e(r.value))return r.value;r=n.next()}}findIndex(e){const n=this.iterator();let r=0,i=n.next();for(;!i.done;){if(e(i.value))return r;i=n.next(),r++}return-1}includes(e){const n=this.iterator();let r=n.next();for(;!r.done;){if(r.value===e)return!0;r=n.next()}return!1}flatMap(e){return new Ue(()=>({this:this.startFn()}),n=>{do{if(n.iterator){const s=n.iterator.next();if(s.done)n.iterator=void 0;else return s}const{done:r,value:i}=this.nextFn(n.this);if(!r){const s=e(i);if(zs(s))n.iterator=s[Symbol.iterator]();else return{done:!1,value:s}}}while(n.iterator);return lt})}flat(e){if(e===void 0&&(e=1),e<=0)return this;const n=e>1?this.flat(e-1):this;return new Ue(()=>({this:n.startFn()}),r=>{do{if(r.iterator){const a=r.iterator.next();if(a.done)r.iterator=void 0;else return a}const{done:i,value:s}=n.nextFn(r.this);if(!i)if(zs(s))r.iterator=s[Symbol.iterator]();else return{done:!1,value:s}}while(r.iterator);return lt})}head(){const n=this.iterator().next();if(!n.done)return n.value}tail(e=1){return new Ue(()=>{const n=this.startFn();for(let r=0;r<e;r++)if(this.nextFn(n).done)return n;return n},this.nextFn)}limit(e){return new Ue(()=>({size:0,state:this.startFn()}),n=>(n.size++,n.size>e?lt:this.nextFn(n.state)))}distinct(e){return new Ue(()=>({set:new Set,internalState:this.startFn()}),n=>{let r;do if(r=this.nextFn(n.internalState),!r.done){const i=e?e(r.value):r.value;if(!n.set.has(i))return n.set.add(i),r}while(!r.done);return lt})}exclude(e,n){const r=new Set;for(const i of e){const s=n?n(i):i;r.add(s)}return this.filter(i=>{const s=n?n(i):i;return!r.has(s)})}}function ip(t){return typeof t=="string"?t:typeof t>"u"?"undefined":typeof t.toString=="function"?t.toString():Object.prototype.toString.call(t)}function zs(t){return!!t&&typeof t[Symbol.iterator]=="function"}const Ad=new Ue(()=>{},()=>lt),lt=Object.freeze({done:!0,value:void 0});function me(...t){if(t.length===1){const e=t[0];if(e instanceof Ue)return e;if(zs(e))return new Ue(()=>e[Symbol.iterator](),n=>n.next());if(typeof e.length=="number")return new Ue(()=>({index:0}),n=>n.index<e.length?{done:!1,value:e[n.index++]}:lt)}return t.length>1?new Ue(()=>({collIndex:0,arrIndex:0}),e=>{do{if(e.iterator){const n=e.iterator.next();if(!n.done)return n;e.iterator=void 0}if(e.array){if(e.arrIndex<e.array.length)return{done:!1,value:e.array[e.arrIndex++]};e.array=void 0,e.arrIndex=0}if(e.collIndex<t.length){const n=t[e.collIndex++];zs(n)?e.iterator=n[Symbol.iterator]():n&&typeof n.length=="number"&&(e.array=n)}}while(e.iterator||e.array||e.collIndex<t.length);return lt}):Ad}class jc extends Ue{constructor(e,n,r){super(()=>({iterators:r?.includeRoot?[[e][Symbol.iterator]()]:[n(e)[Symbol.iterator]()],pruned:!1}),i=>{for(i.pruned&&(i.iterators.pop(),i.pruned=!1);i.iterators.length>0;){const a=i.iterators[i.iterators.length-1].next();if(a.done)i.iterators.pop();else return i.iterators.push(n(a.value)[Symbol.iterator]()),a}return lt})}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),prune:()=>{e.state.pruned=!0},[Symbol.iterator]:()=>e};return e}}var eo;(function(t){function e(s){return s.reduce((a,o)=>a+o,0)}t.sum=e;function n(s){return s.reduce((a,o)=>a*o,0)}t.product=n;function r(s){return s.reduce((a,o)=>Math.min(a,o))}t.min=r;function i(s){return s.reduce((a,o)=>Math.max(a,o))}t.max=i})(eo||(eo={}));function to(t,e={}){for(const[n,r]of Object.entries(t))n.startsWith("$")||(Array.isArray(r)?r.forEach((i,s)=>{We(i)&&(i.$container=t,i.$containerProperty=n,i.$containerIndex=s,e.deep&&to(i,e))}):We(r)&&(r.$container=t,r.$containerProperty=n,e.deep&&to(r,e)))}function pa(t,e){let n=t;for(;n;){if(e(n))return n;n=n.$container}}function Qt(t){const n=bs(t).$document;if(!n)throw new Error("AST node has no document.");return n}function bs(t){for(;t.$container;)t=t.$container;return t}function ml(t){return St(t)?t.ref?[t.ref]:[]:un(t)?t.items.map(e=>e.ref):[]}function zc(t,e){if(!t)throw new Error("Node must be an AstNode.");const n=e?.range;return new Ue(()=>({keys:Object.keys(t),keyIndex:0,arrayIndex:0}),r=>{for(;r.keyIndex<r.keys.length;){const i=r.keys[r.keyIndex];if(!i.startsWith("$")){const s=t[i];if(We(s)){if(r.keyIndex++,gl(s,n))return{done:!1,value:s}}else if(Array.isArray(s)){for(;r.arrayIndex<s.length;){const a=r.arrayIndex++,o=s[a];if(We(o)&&gl(o,n))return{done:!1,value:o}}r.arrayIndex=0}}r.keyIndex++}return lt})}function Ui(t,e){if(!t)throw new Error("Root node must be an AstNode.");return new jc(t,n=>zc(n,e))}function Zt(t,e){if(!t)throw new Error("Root node must be an AstNode.");return new jc(t,n=>zc(n,e),{includeRoot:!0})}function gl(t,e){if(!e)return!0;const n=t.$cstNode?.range;return n?Np(n,e):!1}function Bs(t){return new Ue(()=>({keys:Object.keys(t),keyIndex:0,arrayIndex:0}),e=>{for(;e.keyIndex<e.keys.length;){const n=e.keys[e.keyIndex];if(!n.startsWith("$")){const r=t[n];if(St(r)||un(r))return e.keyIndex++,{done:!1,value:{reference:r,container:t,property:n}};if(Array.isArray(r)){for(;e.arrayIndex<r.length;){const i=e.arrayIndex++,s=r[i];if(St(s)||un(r))return{done:!1,value:{reference:s,container:t,property:n,index:i}}}e.arrayIndex=0}}e.keyIndex++}return lt})}function sp(t,e){const n=t.getTypeMetaData(e.$type),r=e;for(const i of Object.values(n.properties))i.defaultValue!==void 0&&r[i.name]===void 0&&(r[i.name]=Sd(i.defaultValue))}function Sd(t){return Array.isArray(t)?[...t.map(Sd)]:t}const ct={$type:"AbstractElement",cardinality:"cardinality"};function ap(t){return ee.isInstance(t,ct.$type)}const _s={$type:"AbstractParserRule"};function qi(t){return ee.isInstance(t,_s.$type)}const hs={$type:"AbstractRule"},Et={$type:"AbstractType"},On={$type:"Action",cardinality:"cardinality",feature:"feature",inferredType:"inferredType",operator:"operator",type:"type"};function ma(t){return ee.isInstance(t,On.$type)}const Is={$type:"Alternatives",cardinality:"cardinality",elements:"elements"};function kd(t){return ee.isInstance(t,Is.$type)}const yl={$type:"ArrayLiteral",elements:"elements"},Tl={$type:"ArrayType",elementType:"elementType"},xn={$type:"Assignment",cardinality:"cardinality",feature:"feature",operator:"operator",predicate:"predicate",terminal:"terminal"};function zn(t){return ee.isInstance(t,xn.$type)}const no={$type:"BooleanLiteral",true:"true"};function op(t){return ee.isInstance(t,no.$type)}const Dn={$type:"CharacterRange",cardinality:"cardinality",left:"left",lookahead:"lookahead",parenthesized:"parenthesized",right:"right"};function cp(t){return ee.isInstance(t,Dn.$type)}const nr={$type:"Condition"},Ps={$type:"Conjunction",left:"left",right:"right"};function lp(t){return ee.isInstance(t,Ps.$type)}const Mn={$type:"CrossReference",cardinality:"cardinality",deprecatedSyntax:"deprecatedSyntax",isMulti:"isMulti",terminal:"terminal",type:"type"};function ga(t){return ee.isInstance(t,Mn.$type)}const $s={$type:"Disjunction",left:"left",right:"right"};function up(t){return ee.isInstance(t,$s.$type)}const ro={$type:"EndOfFile",cardinality:"cardinality"};function dp(t){return ee.isInstance(t,ro.$type)}const An={$type:"Grammar",imports:"imports",interfaces:"interfaces",isDeclared:"isDeclared",name:"name",rules:"rules",types:"types"},Rl={$type:"GrammarImport",path:"path"},cr={$type:"Group",cardinality:"cardinality",elements:"elements",guardCondition:"guardCondition",predicate:"predicate"};function Bc(t){return ee.isInstance(t,cr.$type)}const io={$type:"InferredType",name:"name"};function Cd(t){return ee.isInstance(t,io.$type)}const Vt={$type:"InfixRule",call:"call",dataType:"dataType",inferredType:"inferredType",name:"name",operators:"operators",parameters:"parameters",returnType:"returnType"};function Ws(t){return ee.isInstance(t,Vt.$type)}const Ia={$type:"InfixRuleOperatorList",associativity:"associativity",operators:"operators"},vl={$type:"InfixRuleOperators",precedences:"precedences"},gi={$type:"Interface",attributes:"attributes",name:"name",superTypes:"superTypes"};function fp(t){return ee.isInstance(t,gi.$type)}const yi={$type:"Keyword",cardinality:"cardinality",predicate:"predicate",value:"value"};function Bn(t){return ee.isInstance(t,yi.$type)}const ps={$type:"NamedArgument",calledByName:"calledByName",parameter:"parameter",value:"value"},lr={$type:"NegatedToken",cardinality:"cardinality",lookahead:"lookahead",parenthesized:"parenthesized",terminal:"terminal"};function hp(t){return ee.isInstance(t,lr.$type)}const so={$type:"Negation",value:"value"};function pp(t){return ee.isInstance(t,so.$type)}const El={$type:"NumberLiteral",value:"value"},ms={$type:"Parameter",name:"name"},ao={$type:"ParameterReference",parameter:"parameter"};function mp(t){return ee.isInstance(t,ao.$type)}const Pt={$type:"ParserRule",dataType:"dataType",definition:"definition",entry:"entry",fragment:"fragment",inferredType:"inferredType",name:"name",parameters:"parameters",returnType:"returnType"};function sn(t){return ee.isInstance(t,Pt.$type)}const Pa={$type:"ReferenceType",isMulti:"isMulti",referenceType:"referenceType"},ur={$type:"RegexToken",cardinality:"cardinality",lookahead:"lookahead",parenthesized:"parenthesized",regex:"regex"};function gp(t){return ee.isInstance(t,ur.$type)}const oo={$type:"ReturnType",name:"name"};function yp(t){return ee.isInstance(t,oo.$type)}const dr={$type:"RuleCall",arguments:"arguments",cardinality:"cardinality",predicate:"predicate",rule:"rule"};function Wn(t){return ee.isInstance(t,dr.$type)}const Ti={$type:"SimpleType",primitiveType:"primitiveType",stringType:"stringType",typeRef:"typeRef"};function Tp(t){return ee.isInstance(t,Ti.$type)}const Al={$type:"StringLiteral",value:"value"},fr={$type:"TerminalAlternatives",cardinality:"cardinality",elements:"elements",lookahead:"lookahead",parenthesized:"parenthesized"};function Rp(t){return ee.isInstance(t,fr.$type)}const gt={$type:"TerminalElement",cardinality:"cardinality",lookahead:"lookahead",parenthesized:"parenthesized"},hr={$type:"TerminalGroup",cardinality:"cardinality",elements:"elements",lookahead:"lookahead",parenthesized:"parenthesized"};function vp(t){return ee.isInstance(t,hr.$type)}const ln={$type:"TerminalRule",definition:"definition",fragment:"fragment",hidden:"hidden",name:"name",type:"type"};function an(t){return ee.isInstance(t,ln.$type)}const pr={$type:"TerminalRuleCall",cardinality:"cardinality",lookahead:"lookahead",parenthesized:"parenthesized",rule:"rule"};function Ep(t){return ee.isInstance(t,pr.$type)}const Ls={$type:"Type",name:"name",type:"type"};function Ap(t){return ee.isInstance(t,Ls.$type)}const Xr={$type:"TypeAttribute",defaultValue:"defaultValue",isOptional:"isOptional",name:"name",type:"type"},Jr={$type:"TypeDefinition"},Sl={$type:"UnionType",types:"types"},Os={$type:"UnorderedGroup",cardinality:"cardinality",elements:"elements"};function wd(t){return ee.isInstance(t,Os.$type)}const mr={$type:"UntilToken",cardinality:"cardinality",lookahead:"lookahead",parenthesized:"parenthesized",terminal:"terminal"};function Sp(t){return ee.isInstance(t,mr.$type)}const Qr={$type:"ValueLiteral"},Ri={$type:"Wildcard",cardinality:"cardinality",lookahead:"lookahead",parenthesized:"parenthesized"};function kp(t){return ee.isInstance(t,Ri.$type)}class Nd extends Rd{constructor(){super(...arguments),this.types={AbstractElement:{name:ct.$type,properties:{cardinality:{name:ct.cardinality}},superTypes:[]},AbstractParserRule:{name:_s.$type,properties:{},superTypes:[hs.$type,Et.$type]},AbstractRule:{name:hs.$type,properties:{},superTypes:[]},AbstractType:{name:Et.$type,properties:{},superTypes:[]},Action:{name:On.$type,properties:{cardinality:{name:On.cardinality},feature:{name:On.feature},inferredType:{name:On.inferredType},operator:{name:On.operator},type:{name:On.type,referenceType:Et.$type}},superTypes:[ct.$type]},Alternatives:{name:Is.$type,properties:{cardinality:{name:Is.cardinality},elements:{name:Is.elements,defaultValue:[]}},superTypes:[ct.$type]},ArrayLiteral:{name:yl.$type,properties:{elements:{name:yl.elements,defaultValue:[]}},superTypes:[Qr.$type]},ArrayType:{name:Tl.$type,properties:{elementType:{name:Tl.elementType}},superTypes:[Jr.$type]},Assignment:{name:xn.$type,properties:{cardinality:{name:xn.cardinality},feature:{name:xn.feature},operator:{name:xn.operator},predicate:{name:xn.predicate},terminal:{name:xn.terminal}},superTypes:[ct.$type]},BooleanLiteral:{name:no.$type,properties:{true:{name:no.true,defaultValue:!1}},superTypes:[nr.$type,Qr.$type]},CharacterRange:{name:Dn.$type,properties:{cardinality:{name:Dn.cardinality},left:{name:Dn.left},lookahead:{name:Dn.lookahead},parenthesized:{name:Dn.parenthesized,defaultValue:!1},right:{name:Dn.right}},superTypes:[gt.$type]},Condition:{name:nr.$type,properties:{},superTypes:[]},Conjunction:{name:Ps.$type,properties:{left:{name:Ps.left},right:{name:Ps.right}},superTypes:[nr.$type]},CrossReference:{name:Mn.$type,properties:{cardinality:{name:Mn.cardinality},deprecatedSyntax:{name:Mn.deprecatedSyntax,defaultValue:!1},isMulti:{name:Mn.isMulti,defaultValue:!1},terminal:{name:Mn.terminal},type:{name:Mn.type,referenceType:Et.$type}},superTypes:[ct.$type]},Disjunction:{name:$s.$type,properties:{left:{name:$s.left},right:{name:$s.right}},superTypes:[nr.$type]},EndOfFile:{name:ro.$type,properties:{cardinality:{name:ro.cardinality}},superTypes:[ct.$type]},Grammar:{name:An.$type,properties:{imports:{name:An.imports,defaultValue:[]},interfaces:{name:An.interfaces,defaultValue:[]},isDeclared:{name:An.isDeclared,defaultValue:!1},name:{name:An.name},rules:{name:An.rules,defaultValue:[]},types:{name:An.types,defaultValue:[]}},superTypes:[]},GrammarImport:{name:Rl.$type,properties:{path:{name:Rl.path}},superTypes:[]},Group:{name:cr.$type,properties:{cardinality:{name:cr.cardinality},elements:{name:cr.elements,defaultValue:[]},guardCondition:{name:cr.guardCondition},predicate:{name:cr.predicate}},superTypes:[ct.$type]},InferredType:{name:io.$type,properties:{name:{name:io.name}},superTypes:[Et.$type]},InfixRule:{name:Vt.$type,properties:{call:{name:Vt.call},dataType:{name:Vt.dataType},inferredType:{name:Vt.inferredType},name:{name:Vt.name},operators:{name:Vt.operators},parameters:{name:Vt.parameters,defaultValue:[]},returnType:{name:Vt.returnType,referenceType:Et.$type}},superTypes:[_s.$type]},InfixRuleOperatorList:{name:Ia.$type,properties:{associativity:{name:Ia.associativity},operators:{name:Ia.operators,defaultValue:[]}},superTypes:[]},InfixRuleOperators:{name:vl.$type,properties:{precedences:{name:vl.precedences,defaultValue:[]}},superTypes:[]},Interface:{name:gi.$type,properties:{attributes:{name:gi.attributes,defaultValue:[]},name:{name:gi.name},superTypes:{name:gi.superTypes,defaultValue:[],referenceType:Et.$type}},superTypes:[Et.$type]},Keyword:{name:yi.$type,properties:{cardinality:{name:yi.cardinality},predicate:{name:yi.predicate},value:{name:yi.value}},superTypes:[ct.$type]},NamedArgument:{name:ps.$type,properties:{calledByName:{name:ps.calledByName,defaultValue:!1},parameter:{name:ps.parameter,referenceType:ms.$type},value:{name:ps.value}},superTypes:[]},NegatedToken:{name:lr.$type,properties:{cardinality:{name:lr.cardinality},lookahead:{name:lr.lookahead},parenthesized:{name:lr.parenthesized,defaultValue:!1},terminal:{name:lr.terminal}},superTypes:[gt.$type]},Negation:{name:so.$type,properties:{value:{name:so.value}},superTypes:[nr.$type]},NumberLiteral:{name:El.$type,properties:{value:{name:El.value}},superTypes:[Qr.$type]},Parameter:{name:ms.$type,properties:{name:{name:ms.name}},superTypes:[]},ParameterReference:{name:ao.$type,properties:{parameter:{name:ao.parameter,referenceType:ms.$type}},superTypes:[nr.$type]},ParserRule:{name:Pt.$type,properties:{dataType:{name:Pt.dataType},definition:{name:Pt.definition},entry:{name:Pt.entry,defaultValue:!1},fragment:{name:Pt.fragment,defaultValue:!1},inferredType:{name:Pt.inferredType},name:{name:Pt.name},parameters:{name:Pt.parameters,defaultValue:[]},returnType:{name:Pt.returnType,referenceType:Et.$type}},superTypes:[_s.$type]},ReferenceType:{name:Pa.$type,properties:{isMulti:{name:Pa.isMulti,defaultValue:!1},referenceType:{name:Pa.referenceType}},superTypes:[Jr.$type]},RegexToken:{name:ur.$type,properties:{cardinality:{name:ur.cardinality},lookahead:{name:ur.lookahead},parenthesized:{name:ur.parenthesized,defaultValue:!1},regex:{name:ur.regex}},superTypes:[gt.$type]},ReturnType:{name:oo.$type,properties:{name:{name:oo.name}},superTypes:[]},RuleCall:{name:dr.$type,properties:{arguments:{name:dr.arguments,defaultValue:[]},cardinality:{name:dr.cardinality},predicate:{name:dr.predicate},rule:{name:dr.rule,referenceType:hs.$type}},superTypes:[ct.$type]},SimpleType:{name:Ti.$type,properties:{primitiveType:{name:Ti.primitiveType},stringType:{name:Ti.stringType},typeRef:{name:Ti.typeRef,referenceType:Et.$type}},superTypes:[Jr.$type]},StringLiteral:{name:Al.$type,properties:{value:{name:Al.value}},superTypes:[Qr.$type]},TerminalAlternatives:{name:fr.$type,properties:{cardinality:{name:fr.cardinality},elements:{name:fr.elements,defaultValue:[]},lookahead:{name:fr.lookahead},parenthesized:{name:fr.parenthesized,defaultValue:!1}},superTypes:[gt.$type]},TerminalElement:{name:gt.$type,properties:{cardinality:{name:gt.cardinality},lookahead:{name:gt.lookahead},parenthesized:{name:gt.parenthesized,defaultValue:!1}},superTypes:[ct.$type]},TerminalGroup:{name:hr.$type,properties:{cardinality:{name:hr.cardinality},elements:{name:hr.elements,defaultValue:[]},lookahead:{name:hr.lookahead},parenthesized:{name:hr.parenthesized,defaultValue:!1}},superTypes:[gt.$type]},TerminalRule:{name:ln.$type,properties:{definition:{name:ln.definition},fragment:{name:ln.fragment,defaultValue:!1},hidden:{name:ln.hidden,defaultValue:!1},name:{name:ln.name},type:{name:ln.type}},superTypes:[hs.$type]},TerminalRuleCall:{name:pr.$type,properties:{cardinality:{name:pr.cardinality},lookahead:{name:pr.lookahead},parenthesized:{name:pr.parenthesized,defaultValue:!1},rule:{name:pr.rule,referenceType:ln.$type}},superTypes:[gt.$type]},Type:{name:Ls.$type,properties:{name:{name:Ls.name},type:{name:Ls.type}},superTypes:[Et.$type]},TypeAttribute:{name:Xr.$type,properties:{defaultValue:{name:Xr.defaultValue},isOptional:{name:Xr.isOptional,defaultValue:!1},name:{name:Xr.name},type:{name:Xr.type}},superTypes:[]},TypeDefinition:{name:Jr.$type,properties:{},superTypes:[]},UnionType:{name:Sl.$type,properties:{types:{name:Sl.types,defaultValue:[]}},superTypes:[Jr.$type]},UnorderedGroup:{name:Os.$type,properties:{cardinality:{name:Os.cardinality},elements:{name:Os.elements,defaultValue:[]}},superTypes:[ct.$type]},UntilToken:{name:mr.$type,properties:{cardinality:{name:mr.cardinality},lookahead:{name:mr.lookahead},parenthesized:{name:mr.parenthesized,defaultValue:!1},terminal:{name:mr.terminal}},superTypes:[gt.$type]},ValueLiteral:{name:Qr.$type,properties:{},superTypes:[]},Wildcard:{name:Ri.$type,properties:{cardinality:{name:Ri.cardinality},lookahead:{name:Ri.lookahead},parenthesized:{name:Ri.parenthesized,defaultValue:!1}},superTypes:[gt.$type]}}}}const ee=new Nd;function co(t){return new jc(t,e=>Ni(e)?e.content:[],{includeRoot:!0})}function Cp(t,e){for(;t.container;)if(t=t.container,t===e)return!0;return!1}function lo(t){return{start:{character:t.startColumn-1,line:t.startLine-1},end:{character:t.endColumn,line:t.endLine-1}}}function Vs(t){if(!t)return;const{offset:e,end:n,range:r}=t;return{range:r,offset:e,end:n,length:n-e}}var Xt;(function(t){t[t.Before=0]="Before",t[t.After=1]="After",t[t.OverlapFront=2]="OverlapFront",t[t.OverlapBack=3]="OverlapBack",t[t.Inside=4]="Inside",t[t.Outside=5]="Outside"})(Xt||(Xt={}));function wp(t,e){if(t.end.line<e.start.line||t.end.line===e.start.line&&t.end.character<=e.start.character)return Xt.Before;if(t.start.line>e.end.line||t.start.line===e.end.line&&t.start.character>=e.end.character)return Xt.After;const n=t.start.line>e.start.line||t.start.line===e.start.line&&t.start.character>=e.start.character,r=t.end.line<e.end.line||t.end.line===e.end.line&&t.end.character<=e.end.character;return n&&r?Xt.Inside:n?Xt.OverlapBack:r?Xt.OverlapFront:Xt.Outside}function Np(t,e){return wp(t,e)>Xt.After}const bp=/^[\w\p{L}]$/u;function _p(t,e){if(t){const n=Ip(t,!0);if(n&&kl(n,e))return n;if(Ed(t)){const r=t.content.findIndex(i=>!i.hidden);for(let i=r-1;i>=0;i--){const s=t.content[i];if(kl(s,e))return s}}}}function kl(t,e){return vd(t)&&e.includes(t.tokenType.name)}function Ip(t,e=!0){for(;t.container;){const n=t.container;let r=n.content.indexOf(t);for(;r>0;){r--;const i=n.content[r];if(e||!i.hidden)return i}t=n}}class bd extends Error{constructor(e,n){super(e?`${n} at ${e.range.start.line}:${e.range.start.character}`:n)}}function ji(t,e="Error: Got unexpected value."){throw new Error(e)}function W(t){return t.charCodeAt(0)}function $a(t,e){Array.isArray(t)?t.forEach(function(n){e.push(n)}):e.push(t)}function Zr(t,e){if(t[e]===!0)throw"duplicate flag "+e;t[e],t[e]=!0}function rr(t){if(t===void 0)throw Error("Internal Error - Should never get here!");return!0}function Pp(){throw Error("Internal Error - Should never get here!")}function Cl(t){return t.type==="Character"}const Ks=[];for(let t=W("0");t<=W("9");t++)Ks.push(t);const Hs=[W("_")].concat(Ks);for(let t=W("a");t<=W("z");t++)Hs.push(t);for(let t=W("A");t<=W("Z");t++)Hs.push(t);const wl=[W(" "),W("\f"),W(`
|
|
2
2
|
`),W("\r"),W(" "),W("\v"),W(" "),W(" "),W(" "),W(" "),W(" "),W(" "),W(" "),W(" "),W(" "),W(" "),W(" "),W(" "),W(" "),W(" "),W("\u2028"),W("\u2029"),W(" "),W(" "),W(" "),W("\uFEFF")],$p=/[0-9a-fA-F]/,gs=/[0-9]/,Lp=/[1-9]/;class _d{constructor(){this.idx=0,this.input="",this.groupIdx=0}saveState(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}}restoreState(e){this.idx=e.idx,this.input=e.input,this.groupIdx=e.groupIdx}pattern(e){this.idx=0,this.input=e,this.groupIdx=0,this.consumeChar("/");const n=this.disjunction();this.consumeChar("/");const r={type:"Flags",loc:{begin:this.idx,end:e.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};for(;this.isRegExpFlag();)switch(this.popChar()){case"g":Zr(r,"global");break;case"i":Zr(r,"ignoreCase");break;case"m":Zr(r,"multiLine");break;case"u":Zr(r,"unicode");break;case"y":Zr(r,"sticky");break}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:r,value:n,loc:this.loc(0)}}disjunction(){const e=[],n=this.idx;for(e.push(this.alternative());this.peekChar()==="|";)this.consumeChar("|"),e.push(this.alternative());return{type:"Disjunction",value:e,loc:this.loc(n)}}alternative(){const e=[],n=this.idx;for(;this.isTerm();)e.push(this.term());return{type:"Alternative",value:e,loc:this.loc(n)}}term(){return this.isAssertion()?this.assertion():this.atom()}assertion(){const e=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(e)};case"$":return{type:"EndAnchor",loc:this.loc(e)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(e)};case"B":return{type:"NonWordBoundary",loc:this.loc(e)}}throw Error("Invalid Assertion Escape");case"(":this.consumeChar("?");let n;switch(this.popChar()){case"=":n="Lookahead";break;case"!":n="NegativeLookahead";break;case"<":{switch(this.popChar()){case"=":n="Lookbehind";break;case"!":n="NegativeLookbehind"}break}}rr(n);const r=this.disjunction();return this.consumeChar(")"),{type:n,value:r,loc:this.loc(e)}}return Pp()}quantifier(e=!1){let n;const r=this.idx;switch(this.popChar()){case"*":n={atLeast:0,atMost:1/0};break;case"+":n={atLeast:1,atMost:1/0};break;case"?":n={atLeast:0,atMost:1};break;case"{":const i=this.integerIncludingZero();switch(this.popChar()){case"}":n={atLeast:i,atMost:i};break;case",":let s;this.isDigit()?(s=this.integerIncludingZero(),n={atLeast:i,atMost:s}):n={atLeast:i,atMost:1/0},this.consumeChar("}");break}if(e===!0&&n===void 0)return;rr(n);break}if(!(e===!0&&n===void 0)&&rr(n))return this.peekChar(0)==="?"?(this.consumeChar("?"),n.greedy=!1):n.greedy=!0,n.type="Quantifier",n.loc=this.loc(r),n}atom(){let e;const n=this.idx;switch(this.peekChar()){case".":e=this.dotAll();break;case"\\":e=this.atomEscape();break;case"[":e=this.characterClass();break;case"(":e=this.group();break}if(e===void 0&&this.isPatternCharacter()&&(e=this.patternCharacter()),rr(e))return e.loc=this.loc(n),this.isQuantifier()&&(e.quantifier=this.quantifier()),e}dotAll(){return this.consumeChar("."),{type:"Set",complement:!0,value:[W(`
|
|
3
3
|
`),W("\r"),W("\u2028"),W("\u2029")]}}atomEscape(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}}decimalEscapeAtom(){return{type:"GroupBackReference",value:this.positiveInteger()}}characterClassEscape(){let e,n=!1;switch(this.popChar()){case"d":e=Ks;break;case"D":e=Ks,n=!0;break;case"s":e=wl;break;case"S":e=wl,n=!0;break;case"w":e=Hs;break;case"W":e=Hs,n=!0;break}if(rr(e))return{type:"Set",value:e,complement:n}}controlEscapeAtom(){let e;switch(this.popChar()){case"f":e=W("\f");break;case"n":e=W(`
|
|
4
4
|
`);break;case"r":e=W("\r");break;case"t":e=W(" ");break;case"v":e=W("\v");break}if(rr(e))return{type:"Character",value:e}}controlLetterEscapeAtom(){this.consumeChar("c");const e=this.popChar();if(/[a-zA-Z]/.test(e)===!1)throw Error("Invalid ");return{type:"Character",value:e.toUpperCase().charCodeAt(0)-64}}nulCharacterAtom(){return this.consumeChar("0"),{type:"Character",value:W("\0")}}hexEscapeSequenceAtom(){return this.consumeChar("x"),this.parseHexDigits(2)}regExpUnicodeEscapeSequenceAtom(){return this.consumeChar("u"),this.parseHexDigits(4)}identityEscapeAtom(){const e=this.popChar();return{type:"Character",value:W(e)}}classPatternCharacterAtom(){switch(this.peekChar()){case`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{s as ei,g as si,q as Lt,p as ni,a as ai,b as ri,_ as a,l as Et,H as oi,e as hi,y as li,F as xt,i as ci,D as It,E as ui,K as gi,aF as xi,R as Tt}from"./mermaid-renderer-
|
|
1
|
+
import{s as ei,g as si,q as Lt,p as ni,a as ai,b as ri,_ as a,l as Et,H as oi,e as hi,y as li,F as xt,i as ci,D as It,E as ui,K as gi,aF as xi,R as Tt}from"./mermaid-renderer-YLFCVv-z.js";import{i as di}from"./init-Gi6I4Gst.js";import{o as fi}from"./ordinal-Cboi1Yqb.js";import{l as Dt}from"./linear-CCtPUyi6.js";import"./index-D9drpDt3.js";import"./defaultLocale-DX6XiGOO.js";function pi(t,i,e){t=+t,i=+i,e=(n=arguments.length)<2?(i=t,t=0,1):n<3?1:+e;for(var s=-1,n=Math.max(0,Math.ceil((i-t)/e))|0,x=new Array(n);++s<n;)x[s]=t+s*e;return x}function ht(){var t=fi().unknown(void 0),i=t.domain,e=t.range,s=0,n=1,x,g,m=!1,S=0,D=0,v=.5;delete t.unknown;function w(){var y=i().length,E=n<s,T=E?n:s,P=E?s:n;x=(P-T)/Math.max(1,y-S+D*2),m&&(x=Math.floor(x)),T+=(P-T-x*(y-S))*v,g=x*(1-S),m&&(T=Math.round(T),g=Math.round(g));var I=pi(y).map(function(p){return T+x*p});return e(E?I.reverse():I)}return t.domain=function(y){return arguments.length?(i(y),w()):i()},t.range=function(y){return arguments.length?([s,n]=y,s=+s,n=+n,w()):[s,n]},t.rangeRound=function(y){return[s,n]=y,s=+s,n=+n,m=!0,w()},t.bandwidth=function(){return g},t.step=function(){return x},t.round=function(y){return arguments.length?(m=!!y,w()):m},t.padding=function(y){return arguments.length?(S=Math.min(1,D=+y),w()):S},t.paddingInner=function(y){return arguments.length?(S=Math.min(1,y),w()):S},t.paddingOuter=function(y){return arguments.length?(D=+y,w()):D},t.align=function(y){return arguments.length?(v=Math.max(0,Math.min(1,y)),w()):v},t.copy=function(){return ht(i(),[s,n]).round(m).paddingInner(S).paddingOuter(D).align(v)},di.apply(w(),arguments)}var lt=(function(){var t=a(function(F,o,c,u){for(c=c||{},u=F.length;u--;c[F[u]]=o);return c},"o"),i=[1,10,12,14,16,18,19,21,23],e=[2,6],s=[1,3],n=[1,5],x=[1,6],g=[1,7],m=[1,5,10,12,14,16,18,19,21,23,34,35,36],S=[1,25],D=[1,26],v=[1,28],w=[1,29],y=[1,30],E=[1,31],T=[1,32],P=[1,33],I=[1,34],p=[1,35],_=[1,36],l=[1,37],W=[1,43],z=[1,42],U=[1,47],X=[1,50],h=[1,10,12,14,16,18,19,21,23,34,35,36],L=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],C=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],k=[1,64],$={trace:a(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:a(function(o,c,u,d,A,r,j){var f=r.length-1;switch(A){case 5:d.setOrientation(r[f]);break;case 9:d.setDiagramTitle(r[f].text.trim());break;case 12:d.setLineData({text:"",type:"text"},r[f]);break;case 13:d.setLineData(r[f-1],r[f]);break;case 14:d.setBarData({text:"",type:"text"},r[f]);break;case 15:d.setBarData(r[f-1],r[f]);break;case 16:this.$=r[f].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=r[f].trim(),d.setAccDescription(this.$);break;case 19:this.$=r[f-1];break;case 20:this.$=[Number(r[f-2]),...r[f]];break;case 21:this.$=[Number(r[f])];break;case 22:d.setXAxisTitle(r[f]);break;case 23:d.setXAxisTitle(r[f-1]);break;case 24:d.setXAxisTitle({type:"text",text:""});break;case 25:d.setXAxisBand(r[f]);break;case 26:d.setXAxisRangeData(Number(r[f-2]),Number(r[f]));break;case 27:this.$=r[f-1];break;case 28:this.$=[r[f-2],...r[f]];break;case 29:this.$=[r[f]];break;case 30:d.setYAxisTitle(r[f]);break;case 31:d.setYAxisTitle(r[f-1]);break;case 32:d.setYAxisTitle({type:"text",text:""});break;case 33:d.setYAxisRangeData(Number(r[f-2]),Number(r[f]));break;case 37:this.$={text:r[f],type:"text"};break;case 38:this.$={text:r[f],type:"text"};break;case 39:this.$={text:r[f],type:"markdown"};break;case 40:this.$=r[f];break;case 41:this.$=r[f-1]+""+r[f];break}},"anonymous"),table:[t(i,e,{3:1,4:2,7:4,5:s,34:n,35:x,36:g}),{1:[3]},t(i,e,{4:2,7:4,3:8,5:s,34:n,35:x,36:g}),t(i,e,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:n,35:x,36:g}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},t(m,[2,34]),t(m,[2,35]),t(m,[2,36]),{1:[2,1]},t(i,e,{4:2,7:4,3:21,5:s,34:n,35:x,36:g}),{1:[2,3]},t(m,[2,5]),t(i,[2,7],{4:22,34:n,35:x,36:g}),{11:23,37:24,38:S,39:D,40:27,41:v,42:w,43:y,44:E,45:T,46:P,47:I,48:p,49:_,50:l},{11:39,13:38,24:W,27:z,29:40,30:41,37:24,38:S,39:D,40:27,41:v,42:w,43:y,44:E,45:T,46:P,47:I,48:p,49:_,50:l},{11:45,15:44,27:U,33:46,37:24,38:S,39:D,40:27,41:v,42:w,43:y,44:E,45:T,46:P,47:I,48:p,49:_,50:l},{11:49,17:48,24:X,37:24,38:S,39:D,40:27,41:v,42:w,43:y,44:E,45:T,46:P,47:I,48:p,49:_,50:l},{11:52,17:51,24:X,37:24,38:S,39:D,40:27,41:v,42:w,43:y,44:E,45:T,46:P,47:I,48:p,49:_,50:l},{20:[1,53]},{22:[1,54]},t(h,[2,18]),{1:[2,2]},t(h,[2,8]),t(h,[2,9]),t(L,[2,37],{40:55,41:v,42:w,43:y,44:E,45:T,46:P,47:I,48:p,49:_,50:l}),t(L,[2,38]),t(L,[2,39]),t(C,[2,40]),t(C,[2,42]),t(C,[2,43]),t(C,[2,44]),t(C,[2,45]),t(C,[2,46]),t(C,[2,47]),t(C,[2,48]),t(C,[2,49]),t(C,[2,50]),t(C,[2,51]),t(h,[2,10]),t(h,[2,22],{30:41,29:56,24:W,27:z}),t(h,[2,24]),t(h,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:S,39:D,40:27,41:v,42:w,43:y,44:E,45:T,46:P,47:I,48:p,49:_,50:l},t(h,[2,11]),t(h,[2,30],{33:60,27:U}),t(h,[2,32]),{31:[1,61]},t(h,[2,12]),{17:62,24:X},{25:63,27:k},t(h,[2,14]),{17:65,24:X},t(h,[2,16]),t(h,[2,17]),t(C,[2,41]),t(h,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},t(h,[2,31]),{27:[1,69]},t(h,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},t(h,[2,15]),t(h,[2,26]),t(h,[2,27]),{11:59,32:72,37:24,38:S,39:D,40:27,41:v,42:w,43:y,44:E,45:T,46:P,47:I,48:p,49:_,50:l},t(h,[2,33]),t(h,[2,19]),{25:73,27:k},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:a(function(o,c){if(c.recoverable)this.trace(o);else{var u=new Error(o);throw u.hash=c,u}},"parseError"),parse:a(function(o){var c=this,u=[0],d=[],A=[null],r=[],j=this.table,f="",J=0,St=0,Zt=2,_t=1,Jt=r.slice.call(arguments,1),R=Object.create(this.lexer),Y={yy:{}};for(var nt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,nt)&&(Y.yy[nt]=this.yy[nt]);R.setInput(o,Y.yy),Y.yy.lexer=R,Y.yy.parser=this,typeof R.yylloc>"u"&&(R.yylloc={});var at=R.yylloc;r.push(at);var ti=R.options&&R.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ii(V){u.length=u.length-2*V,A.length=A.length-V,r.length=r.length-V}a(ii,"popStack");function kt(){var V;return V=d.pop()||R.lex()||_t,typeof V!="number"&&(V instanceof Array&&(d=V,V=d.pop()),V=c.symbols_[V]||V),V}a(kt,"lex");for(var M,H,B,rt,q={},tt,O,Rt,it;;){if(H=u[u.length-1],this.defaultActions[H]?B=this.defaultActions[H]:((M===null||typeof M>"u")&&(M=kt()),B=j[H]&&j[H][M]),typeof B>"u"||!B.length||!B[0]){var ot="";it=[];for(tt in j[H])this.terminals_[tt]&&tt>Zt&&it.push("'"+this.terminals_[tt]+"'");R.showPosition?ot="Parse error on line "+(J+1)+`:
|
|
2
2
|
`+R.showPosition()+`
|
|
3
3
|
Expecting `+it.join(", ")+", got '"+(this.terminals_[M]||M)+"'":ot="Parse error on line "+(J+1)+": Unexpected "+(M==_t?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(ot,{text:R.match,token:this.terminals_[M]||M,line:R.yylineno,loc:at,expected:it})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+H+", token: "+M);switch(B[0]){case 1:u.push(M),A.push(R.yytext),r.push(R.yylloc),u.push(B[1]),M=null,St=R.yyleng,f=R.yytext,J=R.yylineno,at=R.yylloc;break;case 2:if(O=this.productions_[B[1]][1],q.$=A[A.length-O],q._$={first_line:r[r.length-(O||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(O||1)].first_column,last_column:r[r.length-1].last_column},ti&&(q._$.range=[r[r.length-(O||1)].range[0],r[r.length-1].range[1]]),rt=this.performAction.apply(q,[f,St,J,Y.yy,B[1],A,r].concat(Jt)),typeof rt<"u")return rt;O&&(u=u.slice(0,-1*O*2),A=A.slice(0,-1*O),r=r.slice(0,-1*O)),u.push(this.productions_[B[1]][0]),A.push(q.$),r.push(q._$),Rt=j[u[u.length-2]][u[u.length-1]],u.push(Rt);break;case 3:return!0}}return!0},"parse")},Ct=(function(){var F={EOF:1,parseError:a(function(c,u){if(this.yy.parser)this.yy.parser.parseError(c,u);else throw new Error(c)},"parseError"),setInput:a(function(o,c){return this.yy=c||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:a(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var c=o.match(/(?:\r\n?|\n).*/g);return c?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:a(function(o){var c=o.length,u=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-c),this.offset-=c;var d=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),u.length-1&&(this.yylineno-=u.length-1);var A=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:u?(u.length===d.length?this.yylloc.first_column:0)+d[d.length-u.length].length-u[0].length:this.yylloc.first_column-c},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-c]),this.yyleng=this.yytext.length,this},"unput"),more:a(function(){return this._more=!0,this},"more"),reject:a(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).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:a(function(o){this.unput(this.match.slice(o))},"less"),pastInput:a(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:a(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:a(function(){var o=this.pastInput(),c=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<link id="favicon" rel="icon" type="image/x-icon" href="/favicon-dark.ico" media="(prefers-color-scheme: light)" />
|
|
7
7
|
<link rel="icon" type="image/x-icon" href="/favicon-light.ico" media="(prefers-color-scheme: dark)" />
|
|
8
8
|
<title>Open Code Review Dashboard</title>
|
|
9
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
+
<script type="module" crossorigin src="/assets/index-D9drpDt3.js"></script>
|
|
10
10
|
<link rel="stylesheet" crossorigin href="/assets/index-Czwdh6UA.css">
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
package/dist/dashboard/server.js
CHANGED
|
@@ -31481,6 +31481,14 @@ var MIGRATIONS = [
|
|
|
31481
31481
|
ON markdown_artifacts(session_id, artifact_type, IFNULL(round_number, -1), file_path)
|
|
31482
31482
|
`);
|
|
31483
31483
|
}
|
|
31484
|
+
},
|
|
31485
|
+
{
|
|
31486
|
+
version: 15,
|
|
31487
|
+
description: "Restore lifecycle phase on command_executions for process-agent journaling",
|
|
31488
|
+
run: (db) => {
|
|
31489
|
+
if (columnExists(db, "command_executions", "phase")) return;
|
|
31490
|
+
db.run("ALTER TABLE command_executions ADD COLUMN phase TEXT;");
|
|
31491
|
+
}
|
|
31484
31492
|
}
|
|
31485
31493
|
];
|
|
31486
31494
|
function columnExists(db, table, column) {
|
|
@@ -31853,7 +31861,7 @@ function rowToAgentSession(row) {
|
|
|
31853
31861
|
instance_index: row.instance_index,
|
|
31854
31862
|
name: row.name,
|
|
31855
31863
|
resolved_model: row.resolved_model,
|
|
31856
|
-
phase:
|
|
31864
|
+
phase: row.phase,
|
|
31857
31865
|
status: deriveStatus(row),
|
|
31858
31866
|
kind: rowKind(row),
|
|
31859
31867
|
pid: row.pid,
|
|
@@ -32688,7 +32696,7 @@ var REVIEW_PHASE_NAMES = [
|
|
|
32688
32696
|
"analysis",
|
|
32689
32697
|
"reviews",
|
|
32690
32698
|
"aggregation",
|
|
32691
|
-
"
|
|
32699
|
+
"validation",
|
|
32692
32700
|
"synthesis",
|
|
32693
32701
|
"complete"
|
|
32694
32702
|
];
|
|
@@ -32711,8 +32719,8 @@ function deriveReviewPhase(db, sessionId) {
|
|
|
32711
32719
|
}
|
|
32712
32720
|
const latestRound = rounds[rounds.length - 1];
|
|
32713
32721
|
if (latestRound.final_md_path) return 8;
|
|
32714
|
-
const
|
|
32715
|
-
if (
|
|
32722
|
+
const validation = getArtifact(db, sessionId, "validation") ?? getArtifact(db, sessionId, "discourse");
|
|
32723
|
+
if (validation) return 7;
|
|
32716
32724
|
const outputs = getReviewerOutputsForRound(db, latestRound.id);
|
|
32717
32725
|
if (outputs.length > 0) return 4;
|
|
32718
32726
|
const context = getArtifact(db, sessionId, "context");
|
|
@@ -33188,6 +33196,7 @@ var VALID_ARTIFACT_TYPES = /* @__PURE__ */ new Set([
|
|
|
33188
33196
|
"context",
|
|
33189
33197
|
"discovered-standards",
|
|
33190
33198
|
"discourse",
|
|
33199
|
+
"validation",
|
|
33191
33200
|
"final",
|
|
33192
33201
|
"final-human",
|
|
33193
33202
|
"map",
|
|
@@ -34624,7 +34633,7 @@ var REVIEW_PHASE_NUMBERS = {
|
|
|
34624
34633
|
analysis: 3,
|
|
34625
34634
|
reviews: 4,
|
|
34626
34635
|
aggregation: 5,
|
|
34627
|
-
|
|
34636
|
+
validation: 6,
|
|
34628
34637
|
synthesis: 7,
|
|
34629
34638
|
complete: 8
|
|
34630
34639
|
};
|
|
@@ -34885,6 +34894,12 @@ function finishExecution(io2, db, ocrDir, executionId, rawCode, output) {
|
|
|
34885
34894
|
}
|
|
34886
34895
|
|
|
34887
34896
|
// src/server/socket/command-runner.ts
|
|
34897
|
+
function shouldRouteOpenCodeReviewToLocalCli(baseCommand, aiCliService) {
|
|
34898
|
+
return baseCommand === "review" && aiCliService.getAdapter()?.binary === "opencode";
|
|
34899
|
+
}
|
|
34900
|
+
function buildRunAgentsSubArgs(subArgs) {
|
|
34901
|
+
return subArgs[0] === "run-agents" ? subArgs : ["run-agents", ...subArgs];
|
|
34902
|
+
}
|
|
34888
34903
|
var ALLOWED_COMMANDS = /* @__PURE__ */ new Set([
|
|
34889
34904
|
"progress",
|
|
34890
34905
|
"state"
|
|
@@ -34984,7 +34999,9 @@ function registerCommandHandlers(io2, socket, db, ocrDir, aiCliService, sessionC
|
|
|
34984
34999
|
execution_id: executionId,
|
|
34985
35000
|
message: "This command runs an AI agent with full file system and shell access in your project directory. Only run commands you trust."
|
|
34986
35001
|
});
|
|
34987
|
-
if (
|
|
35002
|
+
if (shouldRouteOpenCodeReviewToLocalCli(baseCommand, aiCliService)) {
|
|
35003
|
+
spawnCliCommand(io2, db, ocrDir, executionId, "review", buildRunAgentsSubArgs(subArgs), entry);
|
|
35004
|
+
} else if (AI_COMMANDS.has(baseCommand)) {
|
|
34988
35005
|
spawnAiCommand(io2, socket, db, ocrDir, executionId, baseCommand, subArgs, entry, aiCliService, sessionCapture);
|
|
34989
35006
|
} else {
|
|
34990
35007
|
spawnCliCommand(io2, db, ocrDir, executionId, baseCommand, subArgs, entry);
|
|
@@ -36695,6 +36712,10 @@ var FilesystemSync = class {
|
|
|
36695
36712
|
if (existsSync13(finalHumanPath)) {
|
|
36696
36713
|
this.processGenericArtifact(sessionId, "final-human", finalHumanPath, roundNumber);
|
|
36697
36714
|
}
|
|
36715
|
+
const validationPath = join17(roundDir, "validation.md");
|
|
36716
|
+
if (existsSync13(validationPath)) {
|
|
36717
|
+
this.processGenericArtifact(sessionId, "validation", validationPath, roundNumber);
|
|
36718
|
+
}
|
|
36698
36719
|
const discoursePath = join17(roundDir, "discourse.md");
|
|
36699
36720
|
if (existsSync13(discoursePath)) {
|
|
36700
36721
|
this.processGenericArtifact(sessionId, "discourse", discoursePath, roundNumber);
|
|
@@ -36811,7 +36832,7 @@ var FilesystemSync = class {
|
|
|
36811
36832
|
} else if (existsSync13(join17(roundDir, "final.md"))) {
|
|
36812
36833
|
phase = "synthesis";
|
|
36813
36834
|
phaseNumber = 7;
|
|
36814
|
-
} else if (existsSync13(join17(roundDir, "discourse.md"))) {
|
|
36835
|
+
} else if (existsSync13(join17(roundDir, "validation.md")) || existsSync13(join17(roundDir, "discourse.md"))) {
|
|
36815
36836
|
phase = "synthesis";
|
|
36816
36837
|
phaseNumber = 7;
|
|
36817
36838
|
} else if (existsSync13(join17(roundDir, "reviews")) && readdirSync2(join17(roundDir, "reviews")).filter((f) => f.endsWith(".md")).length > 0) {
|
|
@@ -37628,6 +37649,12 @@ var FilesystemSync = class {
|
|
|
37628
37649
|
this.processGenericArtifact(sessionId, "final-human", filePath, roundNumber);
|
|
37629
37650
|
return;
|
|
37630
37651
|
}
|
|
37652
|
+
const validationMatch = relFromSessions.match(/rounds\/round-(\d+)\/validation\.md$/);
|
|
37653
|
+
if (validationMatch) {
|
|
37654
|
+
const roundNumber = parseInt(validationMatch[1] ?? "0", 10);
|
|
37655
|
+
this.processGenericArtifact(sessionId, "validation", filePath, roundNumber);
|
|
37656
|
+
return;
|
|
37657
|
+
}
|
|
37631
37658
|
const discourseMatch = relFromSessions.match(/rounds\/round-(\d+)\/discourse\.md$/);
|
|
37632
37659
|
if (discourseMatch) {
|
|
37633
37660
|
const roundNumber = parseInt(discourseMatch[1] ?? "0", 10);
|
package/dist/index.js
CHANGED
|
@@ -10522,7 +10522,7 @@ var require_lib2 = __commonJS({
|
|
|
10522
10522
|
return matches;
|
|
10523
10523
|
};
|
|
10524
10524
|
exports.analyse = analyse;
|
|
10525
|
-
var detectFile = (filepath, opts = {}) => new Promise((
|
|
10525
|
+
var detectFile = (filepath, opts = {}) => new Promise((resolve4, reject) => {
|
|
10526
10526
|
let fd;
|
|
10527
10527
|
const fs = (0, node_1.default)();
|
|
10528
10528
|
const handler = (err, buffer) => {
|
|
@@ -10532,7 +10532,7 @@ var require_lib2 = __commonJS({
|
|
|
10532
10532
|
if (err) {
|
|
10533
10533
|
reject(err);
|
|
10534
10534
|
} else if (buffer) {
|
|
10535
|
-
|
|
10535
|
+
resolve4((0, exports.detect)(buffer));
|
|
10536
10536
|
} else {
|
|
10537
10537
|
reject(new Error("No error and no buffer received"));
|
|
10538
10538
|
}
|
|
@@ -16114,12 +16114,12 @@ var require_isexe = __commonJS({
|
|
|
16114
16114
|
if (typeof Promise !== "function") {
|
|
16115
16115
|
throw new TypeError("callback not provided");
|
|
16116
16116
|
}
|
|
16117
|
-
return new Promise(function(
|
|
16117
|
+
return new Promise(function(resolve4, reject) {
|
|
16118
16118
|
isexe(path2, options || {}, function(er, is) {
|
|
16119
16119
|
if (er) {
|
|
16120
16120
|
reject(er);
|
|
16121
16121
|
} else {
|
|
16122
|
-
|
|
16122
|
+
resolve4(is);
|
|
16123
16123
|
}
|
|
16124
16124
|
});
|
|
16125
16125
|
});
|
|
@@ -16186,27 +16186,27 @@ var require_which = __commonJS({
|
|
|
16186
16186
|
opt = {};
|
|
16187
16187
|
const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
|
|
16188
16188
|
const found = [];
|
|
16189
|
-
const step = (i) => new Promise((
|
|
16189
|
+
const step = (i) => new Promise((resolve4, reject) => {
|
|
16190
16190
|
if (i === pathEnv.length)
|
|
16191
|
-
return opt.all && found.length ?
|
|
16191
|
+
return opt.all && found.length ? resolve4(found) : reject(getNotFoundError(cmd));
|
|
16192
16192
|
const ppRaw = pathEnv[i];
|
|
16193
16193
|
const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
|
|
16194
16194
|
const pCmd = path2.join(pathPart, cmd);
|
|
16195
16195
|
const p = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
|
|
16196
|
-
|
|
16196
|
+
resolve4(subStep(p, i, 0));
|
|
16197
16197
|
});
|
|
16198
|
-
const subStep = (p, i, ii) => new Promise((
|
|
16198
|
+
const subStep = (p, i, ii) => new Promise((resolve4, reject) => {
|
|
16199
16199
|
if (ii === pathExt.length)
|
|
16200
|
-
return
|
|
16200
|
+
return resolve4(step(i + 1));
|
|
16201
16201
|
const ext = pathExt[ii];
|
|
16202
16202
|
isexe(p + ext, { pathExt: pathExtExe }, (er, is) => {
|
|
16203
16203
|
if (!er && is) {
|
|
16204
16204
|
if (opt.all)
|
|
16205
16205
|
found.push(p + ext);
|
|
16206
16206
|
else
|
|
16207
|
-
return
|
|
16207
|
+
return resolve4(p + ext);
|
|
16208
16208
|
}
|
|
16209
|
-
return
|
|
16209
|
+
return resolve4(subStep(p, i, ii + 1));
|
|
16210
16210
|
});
|
|
16211
16211
|
});
|
|
16212
16212
|
return cb ? step(0).then((res) => cb(null, res), cb) : step(0);
|
|
@@ -27339,13 +27339,13 @@ var PromisePolyfill = class extends Promise {
|
|
|
27339
27339
|
// Available starting from Node 22
|
|
27340
27340
|
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/withResolvers
|
|
27341
27341
|
static withResolver() {
|
|
27342
|
-
let
|
|
27342
|
+
let resolve4;
|
|
27343
27343
|
let reject;
|
|
27344
27344
|
const promise = new Promise((res, rej) => {
|
|
27345
|
-
|
|
27345
|
+
resolve4 = res;
|
|
27346
27346
|
reject = rej;
|
|
27347
27347
|
});
|
|
27348
|
-
return { promise, resolve:
|
|
27348
|
+
return { promise, resolve: resolve4, reject };
|
|
27349
27349
|
}
|
|
27350
27350
|
};
|
|
27351
27351
|
|
|
@@ -27379,7 +27379,7 @@ function createPrompt(view) {
|
|
|
27379
27379
|
output
|
|
27380
27380
|
});
|
|
27381
27381
|
const screen = new ScreenManager(rl);
|
|
27382
|
-
const { promise, resolve:
|
|
27382
|
+
const { promise, resolve: resolve4, reject } = PromisePolyfill.withResolver();
|
|
27383
27383
|
const cancel = () => reject(new CancelPromptError());
|
|
27384
27384
|
if (signal) {
|
|
27385
27385
|
const abort = () => reject(new AbortPromptError({ cause: signal.reason }));
|
|
@@ -27406,7 +27406,7 @@ function createPrompt(view) {
|
|
|
27406
27406
|
cycle(() => {
|
|
27407
27407
|
try {
|
|
27408
27408
|
const nextView = view(config, (value) => {
|
|
27409
|
-
setImmediate(() =>
|
|
27409
|
+
setImmediate(() => resolve4(value));
|
|
27410
27410
|
});
|
|
27411
27411
|
if (nextView === void 0) {
|
|
27412
27412
|
const callerFilename = callSites[1]?.getFileName();
|
|
@@ -29972,7 +29972,7 @@ import {
|
|
|
29972
29972
|
readFileSync as readFileSync4,
|
|
29973
29973
|
unlinkSync as unlinkSync2
|
|
29974
29974
|
} from "node:fs";
|
|
29975
|
-
import { join as join3, dirname } from "node:path";
|
|
29975
|
+
import { join as join3, dirname, resolve } from "node:path";
|
|
29976
29976
|
import { createRequire } from "node:module";
|
|
29977
29977
|
|
|
29978
29978
|
// src/lib/gitignore.ts
|
|
@@ -30235,7 +30235,7 @@ function getAgentsPackagePath() {
|
|
|
30235
30235
|
const agentsPath = require2.resolve("@nk070281sjv/agents/package.json");
|
|
30236
30236
|
return dirname(agentsPath);
|
|
30237
30237
|
} catch {
|
|
30238
|
-
const localPath =
|
|
30238
|
+
const localPath = findLocalAgentsPackage(process.cwd());
|
|
30239
30239
|
if (existsSync3(localPath)) {
|
|
30240
30240
|
return localPath;
|
|
30241
30241
|
}
|
|
@@ -30244,6 +30244,19 @@ function getAgentsPackagePath() {
|
|
|
30244
30244
|
);
|
|
30245
30245
|
}
|
|
30246
30246
|
}
|
|
30247
|
+
function findLocalAgentsPackage(startDir) {
|
|
30248
|
+
let dir = startDir;
|
|
30249
|
+
for (let i = 0; i < 8; i++) {
|
|
30250
|
+
const candidate = join3(dir, "packages", "agents");
|
|
30251
|
+
if (existsSync3(join3(candidate, "package.json"))) {
|
|
30252
|
+
return candidate;
|
|
30253
|
+
}
|
|
30254
|
+
const parent = resolve(dir, "..");
|
|
30255
|
+
if (parent === dir) break;
|
|
30256
|
+
dir = parent;
|
|
30257
|
+
}
|
|
30258
|
+
return join3(startDir, "packages", "agents");
|
|
30259
|
+
}
|
|
30247
30260
|
function copyDirSafe(src, dest) {
|
|
30248
30261
|
try {
|
|
30249
30262
|
ensureDir(dirname(dest));
|
|
@@ -30766,7 +30779,7 @@ ${hint}
|
|
|
30766
30779
|
}
|
|
30767
30780
|
|
|
30768
30781
|
// src/lib/version.ts
|
|
30769
|
-
var CLI_VERSION = true ? "2.3.
|
|
30782
|
+
var CLI_VERSION = true ? "2.3.3" : createRequire(import.meta.url)("../../package.json").version;
|
|
30770
30783
|
|
|
30771
30784
|
// src/lib/deps.ts
|
|
30772
30785
|
init_src();
|
|
@@ -31933,7 +31946,7 @@ var NodeFsHandler = class {
|
|
|
31933
31946
|
this._addToNodeFs(path2, initialAdd, wh, depth + 1);
|
|
31934
31947
|
}
|
|
31935
31948
|
}).on(EV.ERROR, this._boundHandleError);
|
|
31936
|
-
return new Promise((
|
|
31949
|
+
return new Promise((resolve4, reject) => {
|
|
31937
31950
|
if (!stream)
|
|
31938
31951
|
return reject();
|
|
31939
31952
|
stream.once(STR_END, () => {
|
|
@@ -31942,7 +31955,7 @@ var NodeFsHandler = class {
|
|
|
31942
31955
|
return;
|
|
31943
31956
|
}
|
|
31944
31957
|
const wasThrottled = throttler ? throttler.clear() : false;
|
|
31945
|
-
|
|
31958
|
+
resolve4(void 0);
|
|
31946
31959
|
previous.getChildren().filter((item) => {
|
|
31947
31960
|
return item !== directory && !current.has(item);
|
|
31948
31961
|
}).forEach((item) => {
|
|
@@ -37534,9 +37547,9 @@ var OpenCodeProcessRunner = class {
|
|
|
37534
37547
|
promptPath: request.promptPath,
|
|
37535
37548
|
promptArgvLimit: this.promptArgvLimit
|
|
37536
37549
|
});
|
|
37537
|
-
return new Promise((
|
|
37550
|
+
return new Promise((resolve4) => {
|
|
37538
37551
|
if (signal.aborted) {
|
|
37539
|
-
|
|
37552
|
+
resolve4({
|
|
37540
37553
|
id: request.id,
|
|
37541
37554
|
exitCode: -1,
|
|
37542
37555
|
stdout: "",
|
|
@@ -37556,7 +37569,7 @@ var OpenCodeProcessRunner = class {
|
|
|
37556
37569
|
if (settled) return;
|
|
37557
37570
|
settled = true;
|
|
37558
37571
|
signal.removeEventListener("abort", abort);
|
|
37559
|
-
|
|
37572
|
+
resolve4(result);
|
|
37560
37573
|
};
|
|
37561
37574
|
const abort = () => {
|
|
37562
37575
|
child.kill();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nk070281sjv/cli",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.3",
|
|
4
4
|
"description": "CLI for Open Code Review - Multi-environment setup and progress tracking",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@inquirer/prompts": "^7.2.0",
|
|
40
|
-
"@nk070281sjv/agents": "2.3.
|
|
40
|
+
"@nk070281sjv/agents": "2.3.3",
|
|
41
41
|
"chalk": "^5.4.1",
|
|
42
42
|
"chokidar": "^4.0.3",
|
|
43
43
|
"commander": "^13.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ap as o,aq as n}from"./mermaid-renderer-BCDxmS9g.js";const t=(a,r)=>o.lang.round(n.parse(a)[r]);export{t as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,c as s,a as e,C as t}from"./chunk-B4BG7PRW-BGAyFRFS.js";import{_ as i}from"./mermaid-renderer-BCDxmS9g.js";import"./chunk-FMBD7UC4-BSaPo2xa.js";import"./chunk-55IACEB6-DYdXYVh5.js";import"./chunk-QN33PNHL-CyzabUv0.js";import"./index-B0k81q2b.js";var u={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{u as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,c as s,a as e,C as t}from"./chunk-B4BG7PRW-BGAyFRFS.js";import{_ as i}from"./mermaid-renderer-BCDxmS9g.js";import"./chunk-FMBD7UC4-BSaPo2xa.js";import"./chunk-55IACEB6-DYdXYVh5.js";import"./chunk-QN33PNHL-CyzabUv0.js";import"./index-B0k81q2b.js";var u={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{u as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as r}from"./_baseUniq-Bg7NJSGS.js";var e=4;function a(o){return r(o,e)}export{a as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as e,b as r,a,S as s}from"./chunk-DI55MBZ5-C5ul9stk.js";import{_ as i}from"./mermaid-renderer-BCDxmS9g.js";import"./chunk-55IACEB6-DYdXYVh5.js";import"./chunk-QN33PNHL-CyzabUv0.js";import"./index-B0k81q2b.js";var p={parser:a,get db(){return new s(2)},renderer:r,styles:e,init:i(t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")};export{p as diagram};
|