otacon 0.1.1 → 0.1.2
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/README.md +101 -64
- package/dist/cli/browser.js +55 -0
- package/dist/cli/browser.js.map +1 -0
- package/dist/cli/commands/clean.js +3 -2
- package/dist/cli/commands/clean.js.map +1 -1
- package/dist/cli/commands/config.js +62 -0
- package/dist/cli/commands/config.js.map +1 -0
- package/dist/cli/commands/doctor.js +41 -21
- package/dist/cli/commands/doctor.js.map +1 -1
- package/dist/cli/commands/install.js +53 -30
- package/dist/cli/commands/install.js.map +1 -1
- package/dist/cli/commands/open.js +14 -14
- package/dist/cli/commands/open.js.map +1 -1
- package/dist/cli/commands/start.js +1 -22
- package/dist/cli/commands/start.js.map +1 -1
- package/dist/cli/install/assets.js +35 -43
- package/dist/cli/install/assets.js.map +1 -1
- package/dist/cli/install/locations.js +15 -25
- package/dist/cli/install/locations.js.map +1 -1
- package/dist/cli/main.js +6 -1
- package/dist/cli/main.js.map +1 -1
- package/dist/daemon/app.js +281 -54
- package/dist/daemon/app.js.map +1 -1
- package/dist/daemon/approve.js +49 -11
- package/dist/daemon/approve.js.map +1 -1
- package/dist/daemon/store.js +39 -2
- package/dist/daemon/store.js.map +1 -1
- package/dist/daemon/threads.js +11 -0
- package/dist/daemon/threads.js.map +1 -1
- package/dist/daemon/ui.js +3 -0
- package/dist/daemon/ui.js.map +1 -1
- package/dist/shared/config.js +290 -45
- package/dist/shared/config.js.map +1 -1
- package/dist/shared/paths.js +33 -5
- package/dist/shared/paths.js.map +1 -1
- package/dist/shared/types.js +6 -2
- package/dist/shared/types.js.map +1 -1
- package/dist/shared/version.js +1 -1
- package/dist/ui/assets/{arc-HhPfdCPZ.js → arc-KT3ZnaMp.js} +1 -1
- package/dist/ui/assets/architecture-7EHR7CIX-Cw3I1lil.js +1 -0
- package/dist/ui/assets/{architectureDiagram-3BPJPVTR-D2PIxGOb.js → architectureDiagram-3BPJPVTR-DLu0UM7N.js} +1 -1
- package/dist/ui/assets/{blockDiagram-GPEHLZMM-DQ3Dn17h.js → blockDiagram-GPEHLZMM-B8wApEWC.js} +1 -1
- package/dist/ui/assets/{c4Diagram-AAUBKEIU-DxITrQgS.js → c4Diagram-AAUBKEIU-BNS5gmQS.js} +1 -1
- package/dist/ui/assets/channel-CkOta24Z.js +1 -0
- package/dist/ui/assets/{chunk-2J33WTMH-Du1JoPx5.js → chunk-2J33WTMH-CTY2etwY.js} +1 -1
- package/dist/ui/assets/{chunk-3OPIFGDE-Dn7x2Yqf.js → chunk-3OPIFGDE-DZM4Sz84.js} +1 -1
- package/dist/ui/assets/{chunk-4BX2VUAB-DVnrE-4n.js → chunk-4BX2VUAB-sGwrrXIO.js} +1 -1
- package/dist/ui/assets/{chunk-55IACEB6-BAhFAimA.js → chunk-55IACEB6-CGlNp76o.js} +1 -1
- package/dist/ui/assets/{chunk-5ZQYHXKU-0hEZptem.js → chunk-5ZQYHXKU-5zebJ3jW.js} +1 -1
- package/dist/ui/assets/{chunk-727SXJPM-C1FN_cI3.js → chunk-727SXJPM-DelmUpvy.js} +1 -1
- package/dist/ui/assets/{chunk-AQP2D5EJ-A656OBd4.js → chunk-AQP2D5EJ-DMVzBf3M.js} +1 -1
- package/dist/ui/assets/{chunk-BSJP7CBP-D8oMbjm8.js → chunk-BSJP7CBP-CZHrcpSu.js} +1 -1
- package/dist/ui/assets/{chunk-CSCIHK7Q-DjIL8GLi.js → chunk-CSCIHK7Q-C1efTp0O.js} +1 -1
- package/dist/ui/assets/{chunk-FMBD7UC4-Otblfqvz.js → chunk-FMBD7UC4-B6axGwgn.js} +1 -1
- package/dist/ui/assets/{chunk-KSCS5N6A-BOjTvm3H.js → chunk-KSCS5N6A-DSaxbrm0.js} +1 -1
- package/dist/ui/assets/{chunk-L5ZTLDWV-CaTLaw6L.js → chunk-L5ZTLDWV-D9ZKdVGx.js} +1 -1
- package/dist/ui/assets/{chunk-LZXEDZCA-Dq5p7qrD.js → chunk-LZXEDZCA-DI5_1s00.js} +2 -2
- package/dist/ui/assets/{chunk-ND2GUHAM-jZ_NNnWi.js → chunk-ND2GUHAM-DQQ4RVLE.js} +1 -1
- package/dist/ui/assets/{chunk-NZK2D7GU-U_7l_sCh.js → chunk-NZK2D7GU-9zJJaDpb.js} +1 -1
- package/dist/ui/assets/{chunk-O5CBEL6O-MewqqNB7.js → chunk-O5CBEL6O-DUOshAt2.js} +1 -1
- package/dist/ui/assets/chunk-QZHKN3VN-DqRxzBM_.js +1 -0
- package/dist/ui/assets/chunk-WU5MYG2G-B1Mk3aBp.js +1 -0
- package/dist/ui/assets/{chunk-XPW4576I-D5ArxNEF.js → chunk-XPW4576I-DQVL_GAl.js} +1 -1
- package/dist/ui/assets/classDiagram-4FO5ZUOK-BH-5P4jH.js +1 -0
- package/dist/ui/assets/classDiagram-v2-Q7XG4LA2-BH-5P4jH.js +1 -0
- package/dist/ui/assets/{cose-bilkent-S5V4N54A-PFXzf7WV.js → cose-bilkent-S5V4N54A-C7m3VlSW.js} +1 -1
- package/dist/ui/assets/{dagre-BM42HDAG-xrCfjZuZ.js → dagre-BM42HDAG-CoU_T6EY.js} +1 -1
- package/dist/ui/assets/{diagram-2AECGRRQ-BFf-cyKY.js → diagram-2AECGRRQ-C_R7oNKE.js} +1 -1
- package/dist/ui/assets/{diagram-5GNKFQAL-kNPV4NfV.js → diagram-5GNKFQAL-UhE2W3Yi.js} +1 -1
- package/dist/ui/assets/{diagram-KO2AKTUF-ByC1IUwG.js → diagram-KO2AKTUF-D4KZCRld.js} +1 -1
- package/dist/ui/assets/{diagram-LMA3HP47-DZIJMPK0.js → diagram-LMA3HP47-CsOe8-S6.js} +1 -1
- package/dist/ui/assets/{diagram-OG6HWLK6-CSDED9A-.js → diagram-OG6HWLK6-Bkbs2V54.js} +1 -1
- package/dist/ui/assets/{dist-YwjsDswi.js → dist-BcowSnUl.js} +1 -1
- package/dist/ui/assets/{erDiagram-TEJ5UH35-yuzvjE6J.js → erDiagram-TEJ5UH35-DJXsykZz.js} +1 -1
- package/dist/ui/assets/eventmodeling-FCH6USID-DSDI1f5T.js +1 -0
- package/dist/ui/assets/{flowDiagram-I6XJVG4X-ApPtVyYM.js → flowDiagram-I6XJVG4X-Chguj9Xz.js} +1 -1
- package/dist/ui/assets/{ganttDiagram-6RSMTGT7-BeMLXtAr.js → ganttDiagram-6RSMTGT7-DXdpFesp.js} +1 -1
- package/dist/ui/assets/{gitGraph-WXDBUCRP-JmTTBa7j.js → gitGraph-WXDBUCRP-Doq1CcxB.js} +1 -1
- package/dist/ui/assets/{gitGraphDiagram-PVQCEYII-Cjjnjs71.js → gitGraphDiagram-PVQCEYII-uxGwHEPv.js} +1 -1
- package/dist/ui/assets/index-BsTJ9Ul_.css +1 -0
- package/dist/ui/assets/index-D-TSanrw.js +11 -0
- package/dist/ui/assets/{info-J43DQDTF-8vZ3gome.js → info-J43DQDTF-CgWT_d3M.js} +1 -1
- package/dist/ui/assets/{infoDiagram-5YYISTIA-CnMk1cA-.js → infoDiagram-5YYISTIA-B3oDA2Ct.js} +1 -1
- package/dist/ui/assets/{ishikawaDiagram-YF4QCWOH-Bl8z6huD.js → ishikawaDiagram-YF4QCWOH-C6l0lvC3.js} +1 -1
- package/dist/ui/assets/{journeyDiagram-JHISSGLW-DYIVfMpS.js → journeyDiagram-JHISSGLW-COf53NwC.js} +1 -1
- package/dist/ui/assets/{kanban-definition-UN3LZRKU-BnR0ZzOz.js → kanban-definition-UN3LZRKU-DaOPRBld.js} +1 -1
- package/dist/ui/assets/{line-DcBdQit6.js → line-new3jLu3.js} +1 -1
- package/dist/ui/assets/{linear-HKjRHFAO.js → linear-yA22knFB.js} +1 -1
- package/dist/ui/assets/{mermaid-parser.core-DkYXrPlA.js → mermaid-parser.core-D8JVCOKU.js} +2 -2
- package/dist/ui/assets/{mermaid.core-BmkfCI3b.js → mermaid.core-BCrPyVBK.js} +3 -3
- package/dist/ui/assets/{mindmap-definition-RKZ34NQL-sIAd4nDi.js → mindmap-definition-RKZ34NQL-CVcJTWsW.js} +1 -1
- package/dist/ui/assets/{packet-YPE3B663-BxbxcfXN.js → packet-YPE3B663-DlSwpK-G.js} +1 -1
- package/dist/ui/assets/{pie-LRSECV5Y-BJxazjNs.js → pie-LRSECV5Y-CyMpbo4C.js} +1 -1
- package/dist/ui/assets/{pieDiagram-4H26LBE5-BiOhc9GR.js → pieDiagram-4H26LBE5-Dy7day5R.js} +1 -1
- package/dist/ui/assets/{plan-view-CH6NzUDb.js → plan-view-CE2ha0qY.js} +3 -3
- package/dist/ui/assets/{quadrantDiagram-W4KKPZXB-CVyHbWgo.js → quadrantDiagram-W4KKPZXB-CVjVgbaQ.js} +1 -1
- package/dist/ui/assets/{radar-GUYGQ44K-D9ohbnbV.js → radar-GUYGQ44K-DLPfv0jT.js} +1 -1
- package/dist/ui/assets/{requirementDiagram-4Y6WPE33-Ba24_hqc.js → requirementDiagram-4Y6WPE33-y_0KOdN8.js} +1 -1
- package/dist/ui/assets/{sankeyDiagram-5OEKKPKP-CxD4wiPL.js → sankeyDiagram-5OEKKPKP-8T3b7meL.js} +1 -1
- package/dist/ui/assets/{sequenceDiagram-3UESZ5HK-7qA7lD61.js → sequenceDiagram-3UESZ5HK-Cn8DZiEr.js} +1 -1
- package/dist/ui/assets/{src-IM8AE8MK.js → src-BieOuieI.js} +1 -1
- package/dist/ui/assets/{stateDiagram-AJRCARHV-DNElRCuH.js → stateDiagram-AJRCARHV-nPEVGd3E.js} +1 -1
- package/dist/ui/assets/stateDiagram-v2-BHNVJYJU-CKrff-KJ.js +1 -0
- package/dist/ui/assets/{timeline-definition-PNZ67QCA-ChYC4Grd.js → timeline-definition-PNZ67QCA-Dj_qK0VJ.js} +1 -1
- package/dist/ui/assets/{treeView-BLDUP644-Il0KnMi_.js → treeView-BLDUP644-G5Bsebqu.js} +1 -1
- package/dist/ui/assets/{treemap-LRROVOQU-CIiKcdRo.js → treemap-LRROVOQU-anUEJzTb.js} +1 -1
- package/dist/ui/assets/{vennDiagram-CIIHVFJN-Ulhkum9i.js → vennDiagram-CIIHVFJN-D71ne3dS.js} +1 -1
- package/dist/ui/assets/{wardley-L42UT6IY-BNd4ljz7.js → wardley-L42UT6IY-DrJilmE_.js} +1 -1
- package/dist/ui/assets/{wardleyDiagram-YWT4CUSO-BicXxh84.js → wardleyDiagram-YWT4CUSO-B66G4ayp.js} +1 -1
- package/dist/ui/assets/{xychartDiagram-2RQKCTM6-Duf-m_th.js → xychartDiagram-2RQKCTM6-CReSRxNG.js} +1 -1
- package/dist/ui/index.html +2 -2
- package/package.json +1 -1
- package/dist/ui/assets/architecture-7EHR7CIX-BPLblcyi.js +0 -1
- package/dist/ui/assets/channel-ipcU8ZNI.js +0 -1
- package/dist/ui/assets/chunk-QZHKN3VN-DzGPH44B.js +0 -1
- package/dist/ui/assets/chunk-WU5MYG2G-DyEIVjoo.js +0 -1
- package/dist/ui/assets/classDiagram-4FO5ZUOK-Byg2Hl9D.js +0 -1
- package/dist/ui/assets/classDiagram-v2-Q7XG4LA2-Byg2Hl9D.js +0 -1
- package/dist/ui/assets/eventmodeling-FCH6USID-CZR4eNG-.js +0 -1
- package/dist/ui/assets/index-BFQVRcSI.js +0 -11
- package/dist/ui/assets/index-Bj_kTrwP.css +0 -1
- package/dist/ui/assets/stateDiagram-v2-BHNVJYJU-D6qTYpY3.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-NNHCCRGN-DlpIbxXb.js";import{h as e}from"./mermaid-parser.core-
|
|
1
|
+
import"./chunk-NNHCCRGN-DlpIbxXb.js";import{h as e}from"./mermaid-parser.core-D8JVCOKU.js";export{e as createInfoServices};
|
package/dist/ui/assets/{infoDiagram-5YYISTIA-CnMk1cA-.js → infoDiagram-5YYISTIA-B3oDA2Ct.js}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as e}from"./mermaid-parser.core-
|
|
1
|
+
import{t as e}from"./mermaid-parser.core-D8JVCOKU.js";import{g as t,h as n}from"./src-BieOuieI.js";import{c as r}from"./chunk-CSCIHK7Q-C1efTp0O.js";import{t as i}from"./chunk-WU5MYG2G-B1Mk3aBp.js";var a={parse:n(async n=>{let r=await e(`info`,n);t.debug(r)},`parse`)},o={version:`11.15.0`},s={parser:a,db:{getVersion:n(()=>o.version,`getVersion`)},renderer:{draw:n((e,n,a)=>{t.debug(`rendering info diagram
|
|
2
2
|
`+e);let o=i(n);r(o,100,400,!0),o.append(`g`).append(`text`).attr(`x`,100).attr(`y`,40).attr(`class`,`version`).attr(`font-size`,32).style(`text-anchor`,`middle`).text(`v${a}`)},`draw`)}};export{s as diagram};
|
package/dist/ui/assets/{ishikawaDiagram-YF4QCWOH-Bl8z6huD.js → ishikawaDiagram-YF4QCWOH-C6l0lvC3.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as e}from"./src-
|
|
1
|
+
import{h as e}from"./src-BieOuieI.js";import{H as t,K as n,U as r,a as i,c as a,s as o,v as s,w as c,x as l,y as u}from"./chunk-CSCIHK7Q-C1efTp0O.js";import{p as d}from"./chunk-5ZQYHXKU-5zebJ3jW.js";import{t as f}from"./chunk-WU5MYG2G-B1Mk3aBp.js";import{t as p}from"./rough.esm-CSKSodPl.js";var m=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,14],i=[1,12],a=[1,13],o=[6,7,8],s=[1,20],c=[1,18],l=[1,19],u=[6,7,11],d=[1,6,13,14],f=[1,23],p=[1,24],m=[1,6,7,11,13,14],h={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`ISHIKAWA`,11:`EOF`,13:`SPACELIST`,14:`TEXT`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 15:r.addNode(a[s-1].length,a[s].trim());break;case 16:r.addNode(0,a[s].trim());break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:a},t(o,[2,3]),{1:[2,2]},t(o,[2,4]),t(o,[2,5]),{1:[2,6],6:r,12:15,13:i,14:a},{6:r,9:16,12:11,13:i,14:a},{6:s,7:c,10:17,11:l},t(u,[2,18],{14:[1,21]}),t(u,[2,16]),t(u,[2,17]),{6:s,7:c,10:22,11:l},{1:[2,7],6:r,12:15,13:i,14:a},t(d,[2,14],{7:f,11:p}),t(m,[2,8]),t(m,[2,9]),t(m,[2,10]),t(u,[2,15]),t(d,[2,13],{7:f,11:p}),t(m,[2,11]),t(m,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
2
2
|
`+h.showPosition()+`
|
|
3
3
|
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};h.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(function(e,t){return this.yy=t||this.yy||{},this._input=e,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:e(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e(function(){return this._more=!0,this},`more`),reject:e(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:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
package/dist/ui/assets/{journeyDiagram-JHISSGLW-DYIVfMpS.js → journeyDiagram-JHISSGLW-COf53NwC.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as e,p as t}from"./src-
|
|
1
|
+
import{h as e,p as t}from"./src-BieOuieI.js";import{H as n,K as r,U as i,a,c as o,v as s,w as c,x as l,y as u}from"./chunk-CSCIHK7Q-C1efTp0O.js";import{t as d}from"./arc-KT3ZnaMp.js";import{t as f}from"./chunk-FMBD7UC4-B6axGwgn.js";import{a as p,n as m,o as h,s as g}from"./chunk-ND2GUHAM-DQQ4RVLE.js";var _=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[6,8,10,11,12,14,16,17,18],r=[1,9],i=[1,10],a=[1,11],o=[1,12],s=[1,13],c=[1,14],l={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:`error`,4:`journey`,6:`EOF`,8:`SPACE`,10:`NEWLINE`,11:`title`,12:`acc_title`,13:`acc_title_value`,14:`acc_descr`,15:`acc_descr_value`,16:`acc_descr_multiline_value`,17:`section`,18:`taskName`,19:`taskData`},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:r.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 9:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 10:case 11:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 12:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 13:r.addTask(a[s-1],a[s]),this.$=`task`;break}},`anonymous`),table:[{3:1,4:[1,2]},{1:[3]},t(n,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:r,12:i,14:a,16:o,17:s,18:c},t(n,[2,7],{1:[2,1]}),t(n,[2,3]),{9:15,11:r,12:i,14:a,16:o,17:s,18:c},t(n,[2,5]),t(n,[2,6]),t(n,[2,8]),{13:[1,16]},{15:[1,17]},t(n,[2,11]),t(n,[2,12]),{19:[1,18]},t(n,[2,4]),t(n,[2,9]),t(n,[2,10]),t(n,[2,13])],defaultActions:{},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
2
2
|
`+h.showPosition()+`
|
|
3
3
|
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};l.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(function(e,t){return this.yy=t||this.yy||{},this._input=e,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:e(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e(function(){return this._more=!0,this},`more`),reject:e(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:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as e,h as t}from"./src-
|
|
1
|
+
import{g as e,h as t}from"./src-BieOuieI.js";import{$ as n,J as r,et as i,f as a,nt as o,x as s,z as c}from"./chunk-CSCIHK7Q-C1efTp0O.js";import"./chunk-5ZQYHXKU-5zebJ3jW.js";import{t as l}from"./chunk-WU5MYG2G-B1Mk3aBp.js";import"./chunk-O5CBEL6O-DUOshAt2.js";import{t as u}from"./chunk-FMBD7UC4-B6axGwgn.js";import"./chunk-L5ZTLDWV-D9ZKdVGx.js";import"./chunk-NZK2D7GU-9zJJaDpb.js";import{a as d,c as f,i as p}from"./chunk-3OPIFGDE-DZM4Sz84.js";import{n as m,t as h}from"./chunk-XPW4576I-DQVL_GAl.js";var g=(function(){var e=t(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,13],i=[1,12],a=[1,15],o=[1,16],s=[1,20],c=[1,19],l=[6,7,8],u=[1,26],d=[1,24],f=[1,25],p=[6,7,11],m=[1,31],h=[6,7,11,24],g=[1,6,13,16,17,20,23],_=[1,35],v=[1,36],y=[1,6,7,11,13,16,17,20,23],b=[1,38],x={trace:t(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`KANBAN`,11:`EOF`,13:`SPACELIST`,16:`ICON`,17:`CLASS`,20:`NODE_DSTART`,21:`NODE_DESCR`,22:`NODE_DEND`,23:`NODE_ID`,24:`SHAPE_DATA`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:t(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace(`Stop NL `);break;case 9:r.getLogger().trace(`Stop EOF `);break;case 11:r.getLogger().trace(`Stop NL2 `);break;case 12:r.getLogger().trace(`Stop EOF2 `);break;case 15:r.getLogger().info(`Node: `,a[s-1].id),r.addNode(a[s-2].length,a[s-1].id,a[s-1].descr,a[s-1].type,a[s]);break;case 16:r.getLogger().info(`Node: `,a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 17:r.getLogger().trace(`Icon: `,a[s]),r.decorateNode({icon:a[s]});break;case 18:case 23:r.decorateNode({class:a[s]});break;case 19:r.getLogger().trace(`SPACELIST`);break;case 20:r.getLogger().trace(`Node: `,a[s-1].id),r.addNode(0,a[s-1].id,a[s-1].descr,a[s-1].type,a[s]);break;case 21:r.getLogger().trace(`Node: `,a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 22:r.decorateNode({icon:a[s]});break;case 27:r.getLogger().trace(`node found ..`,a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 28:this.$={id:a[s],descr:a[s],type:0};break;case 29:r.getLogger().trace(`node found ..`,a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 30:this.$=a[s-1]+a[s];break;case 31:this.$=a[s];break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},e(l,[2,3]),{1:[2,2]},e(l,[2,4]),e(l,[2,5]),{1:[2,6],6:r,12:21,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},{6:r,9:22,12:11,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},{6:u,7:d,10:23,11:f},e(p,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:s,23:c}),e(p,[2,19]),e(p,[2,21],{15:30,24:m}),e(p,[2,22]),e(p,[2,23]),e(h,[2,25]),e(h,[2,26]),e(h,[2,28],{20:[1,32]}),{21:[1,33]},{6:u,7:d,10:34,11:f},{1:[2,7],6:r,12:21,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},e(g,[2,14],{7:_,11:v}),e(y,[2,8]),e(y,[2,9]),e(y,[2,10]),e(p,[2,16],{15:37,24:m}),e(p,[2,17]),e(p,[2,18]),e(p,[2,20],{24:b}),e(h,[2,31]),{21:[1,39]},{22:[1,40]},e(g,[2,13],{7:_,11:v}),e(y,[2,11]),e(y,[2,12]),e(p,[2,15],{24:b}),e(h,[2,30]),{22:[1,41]},e(h,[2,27]),e(h,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:t(function(e){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}t(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}t(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
2
2
|
`+h.showPosition()+`
|
|
3
3
|
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};x.lexer=(function(){return{EOF:1,parseError:t(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:t(function(e,t){return this.yy=t||this.yy||{},this._input=e,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:t(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:t(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:t(function(){return this._more=!0,this},`more`),reject:t(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:t(function(e){this.unput(this.match.slice(e))},`less`),pastInput:t(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:t(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:t(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,t}from"./path-BWPyau1x.js";import{t as n}from"./array-BifhSqXX.js";import{rt as r}from"./chunk-5ZQYHXKU-
|
|
1
|
+
import{n as e,t}from"./path-BWPyau1x.js";import{t as n}from"./array-BifhSqXX.js";import{rt as r}from"./chunk-5ZQYHXKU-5zebJ3jW.js";function i(e){return e[0]}function a(e){return e[1]}function o(o,s){var c=e(!0),l=null,u=r,d=null,f=t(p);o=typeof o==`function`?o:o===void 0?i:e(o),s=typeof s==`function`?s:s===void 0?a:e(s);function p(e){var t,r=(e=n(e)).length,i,a=!1,p;for(l??(d=u(p=f())),t=0;t<=r;++t)!(t<r&&c(i=e[t],t,e))===a&&((a=!a)?d.lineStart():d.lineEnd()),a&&d.point(+o(i,t,e),+s(i,t,e));if(p)return d=null,p+``||null}return p.x=function(t){return arguments.length?(o=typeof t==`function`?t:e(+t),p):o},p.y=function(t){return arguments.length?(s=typeof t==`function`?t:e(+t),p):s},p.defined=function(t){return arguments.length?(c=typeof t==`function`?t:e(!!t),p):c},p.curve=function(e){return arguments.length?(u=e,l!=null&&(d=u(l)),p):u},p.context=function(e){return arguments.length?(e==null?l=d=null:d=u(l=e),p):l},p}export{o as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as e,n as t,o as n,r,t as i}from"./src-
|
|
1
|
+
import{l as e,n as t,o as n,r,t as i}from"./src-BieOuieI.js";import{i as a,n as o,r as s,t as c}from"./defaultLocale-C8Fc0cco.js";import{t as l}from"./init-D6jRqBbL.js";function u(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function d(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function f(e){let t,n,r;e.length===2?(t=e===u||e===d?e:p,n=e,r=e):(t=u,n=(t,n)=>u(e(t),n),r=(t,n)=>e(t)-n);function i(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<0?i=t+1:a=t}while(i<a)}return i}function a(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<=0?i=t+1:a=t}while(i<a)}return i}function o(e,t,n=0,a=e.length){let o=i(e,t,n,a-1);return o>n&&r(e[o-1],t)>-r(e[o],t)?o-1:o}return{left:i,center:o,right:a}}function p(){return 0}function m(e){return e===null?NaN:+e}var h=f(u),g=h.right;h.left,f(m).center;var _=Math.sqrt(50),v=Math.sqrt(10),y=Math.sqrt(2);function b(e,t,n){let r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/10**i,o=a>=_?10:a>=v?5:a>=y?2:1,s,c,l;return i<0?(l=10**-i/o,s=Math.round(e*l),c=Math.round(t*l),s/l<e&&++s,c/l>t&&--c,l=-l):(l=10**i*o,s=Math.round(e/l),c=Math.round(t/l),s*l<e&&++s,c*l>t&&--c),c<s&&.5<=n&&n<2?b(e,t,n*2):[s,c,l]}function x(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];let r=t<e,[i,a,o]=r?b(t,e,n):b(e,t,n);if(!(a>=i))return[];let s=a-i+1,c=Array(s);if(r)if(o<0)for(let e=0;e<s;++e)c[e]=(a-e)/-o;else for(let e=0;e<s;++e)c[e]=(a-e)*o;else if(o<0)for(let e=0;e<s;++e)c[e]=(i+e)/-o;else for(let e=0;e<s;++e)c[e]=(i+e)*o;return c}function S(e,t,n){return t=+t,e=+e,n=+n,b(e,t,n)[2]}function C(e,t,n){t=+t,e=+e,n=+n;let r=t<e,i=r?S(t,e,n):S(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function w(e,t){t||=[];var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i<n;++i)r[i]=e[i]*(1-a)+t[i]*a;return r}}function T(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function E(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=Array(r),a=Array(n),o;for(o=0;o<r;++o)i[o]=k(e[o],t[o]);for(;o<n;++o)a[o]=t[o];return function(e){for(o=0;o<r;++o)a[o]=i[o](e);return a}}function D(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function O(e,t){var n={},r={},i;for(i in(typeof e!=`object`||!e)&&(e={}),(typeof t!=`object`||!t)&&(t={}),t)i in e?n[i]=k(e[i],t[i]):r[i]=t[i];return function(e){for(i in n)r[i]=n[i](e);return r}}function k(a,o){var s=typeof o,c;return o==null||s===`boolean`?n(o):(s===`number`?t:s===`string`?(c=e(o))?(o=c,r):i:o instanceof e?r:o instanceof Date?D:T(o)?w:Array.isArray(o)?E:typeof o.valueOf!=`function`&&typeof o.toString!=`function`||isNaN(o)?O:t)(a,o)}function A(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function j(e){return Math.max(0,-a(Math.abs(e)))}function M(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(a(t)/3)))*3-a(Math.abs(e)))}function N(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,a(t)-a(e))+1}function P(e){return function(){return e}}function F(e){return+e}var I=[0,1];function L(e){return e}function R(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:P(isNaN(t)?NaN:.5)}function z(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}function B(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=R(i,r),a=n(o,a)):(r=R(r,i),a=n(a,o)),function(e){return a(r(e))}}function V(e,t,n){var r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=R(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=g(e,t,1,r)-1;return a[n](i[n](t))}}function H(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function U(){var e=I,n=I,r=k,i,a,o,s=L,c,l,u;function d(){var t=Math.min(e.length,n.length);return s!==L&&(s=z(e[0],e[t-1])),c=t>2?V:B,l=u=null,f}function f(t){return t==null||isNaN(t=+t)?o:(l||=c(e.map(i),n,r))(i(s(t)))}return f.invert=function(r){return s(a((u||=c(n,e.map(i),t))(r)))},f.domain=function(t){return arguments.length?(e=Array.from(t,F),d()):e.slice()},f.range=function(e){return arguments.length?(n=Array.from(e),d()):n.slice()},f.rangeRound=function(e){return n=Array.from(e),r=A,d()},f.clamp=function(e){return arguments.length?(s=e?!0:L,d()):s!==L},f.interpolate=function(e){return arguments.length?(r=e,d()):r},f.unknown=function(e){return arguments.length?(o=e,f):o},function(e,t){return i=e,a=t,d()}}function W(){return U()(L,L)}function G(e,t,n,r){var i=C(e,t,n),a;switch(r=s(r??`,f`),r.type){case`s`:var l=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(a=M(i,l))&&(r.precision=a),o(r,l);case``:case`e`:case`g`:case`p`:case`r`:r.precision==null&&!isNaN(a=N(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=a-(r.type===`e`));break;case`f`:case`%`:r.precision==null&&!isNaN(a=j(i))&&(r.precision=a-(r.type===`%`)*2);break}return c(r)}function K(e){var t=e.domain;return e.ticks=function(e){var n=t();return x(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return G(r[0],r[r.length-1],e??10,n)},e.nice=function(n){n??=10;var r=t(),i=0,a=r.length-1,o=r[i],s=r[a],c,l,u=10;for(s<o&&(l=o,o=s,s=l,l=i,i=a,a=l);u-- >0;){if(l=S(o,s,n),l===c)return r[i]=o,r[a]=s,t(r);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;c=l}return e},e}function q(){var e=W();return e.copy=function(){return H(e,q())},l.apply(e,arguments),K(e)}export{f as a,C as i,W as n,H as r,q as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/info-J43DQDTF-
|
|
2
|
-
import{t as e}from"./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/info-J43DQDTF-CgWT_d3M.js","assets/chunk-NNHCCRGN-DlpIbxXb.js","assets/packet-YPE3B663-DlSwpK-G.js","assets/pie-LRSECV5Y-CyMpbo4C.js","assets/treeView-BLDUP644-G5Bsebqu.js","assets/architecture-7EHR7CIX-Cw3I1lil.js","assets/gitGraph-WXDBUCRP-Doq1CcxB.js","assets/eventmodeling-FCH6USID-DSDI1f5T.js","assets/radar-GUYGQ44K-DLPfv0jT.js","assets/treemap-LRROVOQU-anUEJzTb.js","assets/wardley-L42UT6IY-DrJilmE_.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{t as e}from"./index-D-TSanrw.js";import{_ as t,a as n,c as r,d as i,f as a,g as o,h as s,i as c,l,m as ee,n as u,o as d,p as f,r as te,s as ne,t as p,u as m,v as h,y as g}from"./chunk-NNHCCRGN-DlpIbxXb.js";var re=class extends p{static{o(this,`ArchitectureTokenBuilder`)}constructor(){super([`architecture`])}},_=class extends u{static{o(this,`ArchitectureValueConverter`)}runCustomConverter(e,t,n){if(e.name===`ARCH_ICON`)return t.replace(/[()]/g,``).trim();if(e.name===`ARCH_TEXT_ICON`)return t.replace(/["()]/g,``);if(e.name===`ARCH_TITLE`){let e=t.replace(/^\[|]$/g,``).trim();return(e.startsWith(`"`)&&e.endsWith(`"`)||e.startsWith(`'`)&&e.endsWith(`'`))&&(e=e.slice(1,-1),e=e.replace(/\\"/g,`"`).replace(/\\'/g,`'`)),e.trim()}}},v={parser:{TokenBuilder:o(()=>new re,`TokenBuilder`),ValueConverter:o(()=>new _,`ValueConverter`)}};function y(e=n){let r=g(h(e),l),i=g(t({shared:r}),te,v);return r.ServiceRegistry.register(i),{shared:r,Architecture:i}}o(y,`createArchitectureServices`);var ie=class extends p{static{o(this,`EventModelingTokenBuilder`)}constructor(){super([`eventmodeling`])}},b=new Set([`cmd`,`command`]),x=new Set([`evt`,`event`]),S=new Set([`rmo`,`readmodel`]),C=new Set([`pcr`,`processor`]),w=new Set([`ui`]);function T(e){let t=e.validation.EventModelingValidator,n=e.validation.ValidationRegistry;if(n){let e={EmTimeFrame:t.checkSourceFrameTypes.bind(t),EmResetFrame:t.checkSourceFrameTypes.bind(t)};n.register(e,t)}}o(T,`registerValidationChecks`);var ae=class{static{o(this,`EventModelingValidator`)}checkSourceFrameTypes(e,t){e.sourceFrames.length!==0&&(b.has(e.modelEntityType)?this.validateSources(e,new Set([...w,...C]),`command`,`ui or processor`,t):x.has(e.modelEntityType)?this.validateSources(e,b,`event`,`command`,t):S.has(e.modelEntityType)?this.validateSources(e,x,`read model`,`event`,t):C.has(e.modelEntityType)?this.validateSources(e,S,`processor`,`read model`,t):w.has(e.modelEntityType)&&this.validateSources(e,S,`ui`,`read model`,t))}validateSources(e,t,n,r,i){for(let a of e.sourceFrames){let o=a.ref;o!==void 0&&!t.has(o.modelEntityType)&&i(`error`,`A ${n} can only receive input from a ${r}, not from '${o.modelEntityType}'.`,{node:e,property:`sourceFrames`})}}},E={parser:{TokenBuilder:o(()=>new ie,`TokenBuilder`),ValueConverter:o(()=>new c,`ValueConverter`)},validation:{EventModelingValidator:o(()=>new ae,`EventModelingValidator`)}};function D(e=n){let r=g(h(e),l),i=g(t({shared:r}),d,E);return r.ServiceRegistry.register(i),T(i),{shared:r,EventModel:i}}o(D,`createEventModelingServices`);var O=class extends p{static{o(this,`GitGraphTokenBuilder`)}constructor(){super([`gitGraph`])}},k={parser:{TokenBuilder:o(()=>new O,`TokenBuilder`),ValueConverter:o(()=>new c,`ValueConverter`)}};function A(e=n){let r=g(h(e),l),i=g(t({shared:r}),ne,k);return r.ServiceRegistry.register(i),{shared:r,GitGraph:i}}o(A,`createGitGraphServices`);var j=class extends p{static{o(this,`InfoTokenBuilder`)}constructor(){super([`info`,`showInfo`])}},M={parser:{TokenBuilder:o(()=>new j,`TokenBuilder`),ValueConverter:o(()=>new c,`ValueConverter`)}};function N(e=n){let i=g(h(e),l),a=g(t({shared:i}),r,M);return i.ServiceRegistry.register(a),{shared:i,Info:a}}o(N,`createInfoServices`);var P=class extends p{static{o(this,`PacketTokenBuilder`)}constructor(){super([`packet`])}},F={parser:{TokenBuilder:o(()=>new P,`TokenBuilder`),ValueConverter:o(()=>new c,`ValueConverter`)}};function I(e=n){let r=g(h(e),l),i=g(t({shared:r}),m,F);return r.ServiceRegistry.register(i),{shared:r,Packet:i}}o(I,`createPacketServices`);var oe=class extends p{static{o(this,`PieTokenBuilder`)}constructor(){super([`pie`,`showData`])}},L=class extends u{static{o(this,`PieValueConverter`)}runCustomConverter(e,t,n){if(e.name===`PIE_SECTION_LABEL`)return t.replace(/"/g,``).trim()}},R={parser:{TokenBuilder:o(()=>new oe,`TokenBuilder`),ValueConverter:o(()=>new L,`ValueConverter`)}};function z(e=n){let r=g(h(e),l),a=g(t({shared:r}),i,R);return r.ServiceRegistry.register(a),{shared:r,Pie:a}}o(z,`createPieServices`);var B=class extends p{static{o(this,`RadarTokenBuilder`)}constructor(){super([`radar-beta`])}},V={parser:{TokenBuilder:o(()=>new B,`TokenBuilder`),ValueConverter:o(()=>new c,`ValueConverter`)}};function H(e=n){let r=g(h(e),l),i=g(t({shared:r}),a,V);return r.ServiceRegistry.register(i),{shared:r,Radar:i}}o(H,`createRadarServices`);var U=class extends u{static{o(this,`TreeViewValueConverter`)}runCustomConverter(e,t,n){if(e.name===`INDENTATION`)return t?.length||0;if(e.name===`STRING2`)return t.substring(1,t.length-1)}},W=class extends p{static{o(this,`TreeViewTokenBuilder`)}constructor(){super([`treeView-beta`])}},G={parser:{TokenBuilder:o(()=>new W,`TokenBuilder`),ValueConverter:o(()=>new U,`ValueConverter`)}};function K(e=n){let r=g(h(e),l),i=g(t({shared:r}),f,G);return r.ServiceRegistry.register(i),{shared:r,TreeView:i}}o(K,`createTreeViewServices`);var se=class extends p{static{o(this,`TreemapTokenBuilder`)}constructor(){super([`treemap`])}},ce=/classDef\s+([A-Z_a-z]\w+)(?:\s+([^\n\r;]*))?;?/,le=class extends u{static{o(this,`TreemapValueConverter`)}runCustomConverter(e,t,n){if(e.name===`NUMBER2`)return parseFloat(t.replace(/,/g,``));if(e.name===`SEPARATOR`||e.name===`STRING2`)return t.substring(1,t.length-1);if(e.name===`INDENTATION`)return t.length;if(e.name===`ClassDef`){if(typeof t!=`string`)return t;let e=ce.exec(t);if(e)return{$type:`ClassDefStatement`,className:e[1],styleText:e[2]||void 0}}}};function q(e){let t=e.validation.TreemapValidator,n=e.validation.ValidationRegistry;if(n){let e={Treemap:t.checkSingleRoot.bind(t)};n.register(e,t)}}o(q,`registerValidationChecks`);var ue=class{static{o(this,`TreemapValidator`)}checkSingleRoot(e,t){let n;for(let r of e.TreemapRows)r.item&&(n===void 0&&r.indent===void 0?n=0:(r.indent===void 0||n!==void 0&&n>=parseInt(r.indent,10))&&t(`error`,`Multiple root nodes are not allowed in a treemap.`,{node:r,property:`item`}))}},J={parser:{TokenBuilder:o(()=>new se,`TokenBuilder`),ValueConverter:o(()=>new le,`ValueConverter`)},validation:{TreemapValidator:o(()=>new ue,`TreemapValidator`)}};function Y(e=n){let r=g(h(e),l),i=g(t({shared:r}),ee,J);return r.ServiceRegistry.register(i),q(i),{shared:r,Treemap:i}}o(Y,`createTreemapServices`);var de=class extends u{static{o(this,`WardleyValueConverter`)}runCustomConverter(e,t,n){switch(e.name.toUpperCase()){case`LINK_LABEL`:return t.substring(1).trim();default:return}}},X={parser:{ValueConverter:o(()=>new de,`ValueConverter`)}};function Z(e=n){let r=g(h(e),l),i=g(t({shared:r}),s,X);return r.ServiceRegistry.register(i),{shared:r,Wardley:i}}o(Z,`createWardleyServices`);var Q={},fe={info:o(async()=>{let{createInfoServices:t}=await e(async()=>{let{createInfoServices:e}=await import(`./info-J43DQDTF-CgWT_d3M.js`);return{createInfoServices:e}},__vite__mapDeps([0,1]));Q.info=t().Info.parser.LangiumParser},`info`),packet:o(async()=>{let{createPacketServices:t}=await e(async()=>{let{createPacketServices:e}=await import(`./packet-YPE3B663-DlSwpK-G.js`);return{createPacketServices:e}},__vite__mapDeps([2,1]));Q.packet=t().Packet.parser.LangiumParser},`packet`),pie:o(async()=>{let{createPieServices:t}=await e(async()=>{let{createPieServices:e}=await import(`./pie-LRSECV5Y-CyMpbo4C.js`);return{createPieServices:e}},__vite__mapDeps([3,1]));Q.pie=t().Pie.parser.LangiumParser},`pie`),treeView:o(async()=>{let{createTreeViewServices:t}=await e(async()=>{let{createTreeViewServices:e}=await import(`./treeView-BLDUP644-G5Bsebqu.js`);return{createTreeViewServices:e}},__vite__mapDeps([4,1]));Q.treeView=t().TreeView.parser.LangiumParser},`treeView`),architecture:o(async()=>{let{createArchitectureServices:t}=await e(async()=>{let{createArchitectureServices:e}=await import(`./architecture-7EHR7CIX-Cw3I1lil.js`);return{createArchitectureServices:e}},__vite__mapDeps([5,1]));Q.architecture=t().Architecture.parser.LangiumParser},`architecture`),gitGraph:o(async()=>{let{createGitGraphServices:t}=await e(async()=>{let{createGitGraphServices:e}=await import(`./gitGraph-WXDBUCRP-Doq1CcxB.js`);return{createGitGraphServices:e}},__vite__mapDeps([6,1]));Q.gitGraph=t().GitGraph.parser.LangiumParser},`gitGraph`),eventmodeling:o(async()=>{let{createEventModelingServices:t}=await e(async()=>{let{createEventModelingServices:e}=await import(`./eventmodeling-FCH6USID-DSDI1f5T.js`);return{createEventModelingServices:e}},__vite__mapDeps([7,1]));Q.eventmodeling=t().EventModel.parser.LangiumParser},`eventmodeling`),radar:o(async()=>{let{createRadarServices:t}=await e(async()=>{let{createRadarServices:e}=await import(`./radar-GUYGQ44K-DLPfv0jT.js`);return{createRadarServices:e}},__vite__mapDeps([8,1]));Q.radar=t().Radar.parser.LangiumParser},`radar`),treemap:o(async()=>{let{createTreemapServices:t}=await e(async()=>{let{createTreemapServices:e}=await import(`./treemap-LRROVOQU-anUEJzTb.js`);return{createTreemapServices:e}},__vite__mapDeps([9,1]));Q.treemap=t().Treemap.parser.LangiumParser},`treemap`),wardley:o(async()=>{let{createWardleyServices:t}=await e(async()=>{let{createWardleyServices:e}=await import(`./wardley-L42UT6IY-DrJilmE_.js`);return{createWardleyServices:e}},__vite__mapDeps([10,1]));Q.wardley=t().Wardley.parser.LangiumParser},`wardley`)};async function $(e,t){let n=fe[e];if(!n)throw Error(`Unknown diagram type: ${e}`);Q[e]||await n();let r=Q[e].parse(t);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new pe(r);return r.value}o($,`parse`);var pe=class extends Error{constructor(e){let t=e.lexerErrors.map(e=>`Lexer error on line ${e.line!==void 0&&!isNaN(e.line)?e.line:`?`}, column ${e.column!==void 0&&!isNaN(e.column)?e.column:`?`}: ${e.message}`).join(`
|
|
3
3
|
`),n=e.parserErrors.map(e=>`Parse error on line ${e.token.startLine!==void 0&&!isNaN(e.token.startLine)?e.token.startLine:`?`}, column ${e.token.startColumn!==void 0&&!isNaN(e.token.startColumn)?e.token.startColumn:`?`}: ${e.message}`).join(`
|
|
4
4
|
`);super(`Parsing failed: ${t} ${n}`),this.result=e}static{o(this,`MermaidParseError`)}};export{A as _,Y as a,v as b,V as c,z as d,F as f,k as g,N as h,J as i,H as l,M as m,X as n,G as o,I as p,Z as r,K as s,$ as t,R as u,E as v,y as x,D as y};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/c4Diagram-AAUBKEIU-
|
|
2
|
-
import{t as e}from"./index-BFQVRcSI.js";import{_ as t,g as n,h as r,p as i}from"./src-IM8AE8MK.js";import{C as a,E as o,I as s,L as c,N as l,P as u,Q as d,S as f,T as p,V as m,W as h,X as g,Z as _,_ as v,b as y,c as b,g as x,l as S,m as C,n as w,p as T,q as ee,r as te,t as E,u as D}from"./chunk-CSCIHK7Q-DjIL8GLi.js";import{t as ne}from"./purify.es-CDvCXckx.js";import{S as re,a as ie,f as O,g as k,h as ae,i as oe,o as se,v as ce,x as le,y as ue}from"./chunk-5ZQYHXKU-0hEZptem.js";import{t as de}from"./chunk-WU5MYG2G-DyEIVjoo.js";import{i as fe,o as pe}from"./chunk-O5CBEL6O-MewqqNB7.js";import"./chunk-BSJP7CBP-D8oMbjm8.js";import"./chunk-L5ZTLDWV-CaTLaw6L.js";import"./chunk-NZK2D7GU-U_7l_sCh.js";import"./chunk-3OPIFGDE-Dn7x2Yqf.js";import"./chunk-KSCS5N6A-BOjTvm3H.js";import{n as me}from"./chunk-LZXEDZCA-Dq5p7qrD.js";import{n as he,t as ge}from"./chunk-XPW4576I-D5ArxNEF.js";function _e(e){let t=e?.constructor;return e===(typeof t==`function`?t.prototype:Object.prototype)}function ve(e){if(e==null)return!0;if(le(e))return typeof e.splice!=`function`&&typeof e!=`string`&&!re(e)&&!ce(e)&&!ue(e)?!1:e.length===0;if(typeof e==`object`||typeof e==`function`){if(e instanceof Map||e instanceof Set)return e.size===0;let t=Object.keys(e);return _e(e)?t.filter(e=>e!==`constructor`).length===0:t.length===0}return!0}var A=`comm`,ye=`rule`,be=`decl`,xe=`@import`,Se=`@namespace`,Ce=`@keyframes`,we=`@layer`,Te=Math.abs,j=String.fromCharCode;function Ee(e){return e.trim()}function M(e,t,n){return e.replace(t,n)}function N(e,t){return e.charCodeAt(t)|0}function P(e,t,n){return e.slice(t,n)}function F(e){return e.length}function De(e){return e.length}function I(e,t){return t.push(e),e}var L=1,R=1,Oe=0,z=0,B=0,V=``;function H(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:L,column:R,length:o,return:``,siblings:s}}function ke(){return B}function Ae(){return B=z>0?N(V,--z):0,R--,B===10&&(R=1,L--),B}function U(){return B=z<Oe?N(V,z++):0,R++,B===10&&(R=1,L++),B}function W(){return N(V,z)}function G(){return z}function K(e,t){return P(V,e,t)}function q(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function je(e){return L=R=1,Oe=F(V=e),z=0,[]}function Me(e){return V=``,e}function Ne(e){return Ee(K(z-1,Ie(e===91?e+2:e===40?e+1:e)))}function Pe(e){for(;(B=W())&&B<33;)U();return q(e)>2||q(B)>3?``:` `}function Fe(e,t){for(;--t&&U()&&!(B<48||B>102||B>57&&B<65||B>70&&B<97););return K(e,G()+(t<6&&W()==32&&U()==32))}function Ie(e){for(;U();)switch(B){case e:return z;case 34:case 39:e!==34&&e!==39&&Ie(B);break;case 40:e===41&&Ie(e);break;case 92:U();break}return z}function Le(e,t){for(;U()&&e+B!==57&&!(e+B===84&&W()===47););return`/*`+K(t,z-1)+`*`+j(e===47?e:U())}function Re(e){for(;!q(W());)U();return K(e,z)}function ze(e){return Me(J(``,null,null,null,[``],e=je(e),0,[0],e))}function J(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=0,b=``,x=i,S=a,C=r,w=b;g;)switch(m=y,y=U()){case 40:m!=108&&N(w,d-1)==58?(v++,w+=`(`):w+=Ne(y);break;case 41:v--,w+=`)`;break;case 34:case 39:case 91:w+=Ne(y);break;case 9:case 10:case 13:case 32:if(v>0){w+=j(y);break}w+=Pe(m);break;case 92:w+=Fe(G()-1,7);continue;case 47:switch(W()){case 42:case 47:I(Ve(Le(U(),G()),t,n,c),c),(q(m||1)==5||q(W()||1)==5)&&F(w)&&P(w,-1,void 0)!==` `&&(w+=` `);break;default:w+=`/`}break;case 123*h:s[l++]=F(w)*_;case 125*h:case 59:case 0:if(v>0&&y){w+=j(y);break}switch(y){case 0:case 125:g=0;case 59+u:_==-1&&(w=M(w,/\f/g,``)),p>0&&(F(w)-d||h===0)&&I(p>32?He(w+`;`,r,n,d-1,c):He(M(w,` `,``)+`;`,r,n,d-2,c),c);break;case 59:w+=`;`;default:if(I(C=Be(w,t,n,l,u,i,s,b,x=[],S=[],d,a),a),y===123)if(u===0)J(w,t,C,C,x,a,d,s,S);else{switch(f){case 99:if(N(w,3)===110)break;case 108:if(N(w,2)===97)break;default:u=0;case 100:case 109:case 115:}u?J(e,C,C,r&&I(Be(e,C,C,0,0,i,s,b,i,x=[],d,S),S),i,S,d,s,r?x:S):J(w,C,C,C,[``],S,0,s,S)}}l=u=p=0,h=_=1,b=w=``,d=o;break;case 58:d=1+F(w),p=m;default:if(h<1){if(y==123)--h;else if(y==125&&h++==0&&Ae()==125)continue}switch(w+=j(y),y*h){case 38:_=u>0?1:(w+=`\f`,-1);break;case 44:if(v>0)break;s[l++]=(F(w)-1)*_,_=1;break;case 64:W()===45&&(w+=Ne(U())),f=W(),u=d=F(b=w+=Re(G())),y++;break;case 45:m===45&&F(w)==2&&(h=0)}}return a}function Be(e,t,n,r,i,a,o,s,c,l,u,d){for(var f=i-1,p=i===0?a:[``],m=De(p),h=0,g=0,_=0;h<r;++h)for(var v=0,y=P(e,f+1,f=Te(g=o[h])),b=e;v<m;++v)(b=Ee(g>0?p[v]+` `+y:M(y,/&\f/g,p[v])))&&(c[_++]=b);return H(e,t,n,i===0?ye:s,c,l,u,d)}function Ve(e,t,n,r){return H(e,t,n,A,j(ke()),P(e,2,-2),0,r)}function He(e,t,n,r,i){return H(e,t,n,be,P(e,0,r),P(e,r+1,-1),r,i)}function Ue(e,t){for(var n=``,r=0;r<e.length;r++)n+=t(e[r],r,e,t)||``;return n}function We(e,t,n,r){switch(e.type){case we:if(e.children.length)break;case xe:case Se:case be:return e.return=e.return||e.value;case A:return``;case Ce:return e.return=e.value+`{`+Ue(e.children,r)+`}`;case ye:if(!F(e.value=e.props.join(`,`)))return``}return F(n=Ue(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Ge(e){var t=De(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}var Ke=`c4`,qe={id:Ke,detector:r(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./c4Diagram-AAUBKEIU-DxITrQgS.js`);return{diagram:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8]));return{id:Ke,diagram:t}},`loader`)},Je=`flowchart`,Ye={id:Je,detector:r((e,t)=>t?.flowchart?.defaultRenderer===`dagre-wrapper`||t?.flowchart?.defaultRenderer===`elk`?!1:/^\s*graph/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./flowDiagram-I6XJVG4X-ApPtVyYM.js`);return{diagram:e}},__vite__mapDeps([9,10,4,2,3,5,1,6,7,11,12,13,14,15,16,17,18,19,20,21,22,23,24,8,25]));return{id:Je,diagram:t}},`loader`)},Xe=`flowchart-v2`,Ze={id:Xe,detector:r((e,t)=>t?.flowchart?.defaultRenderer===`dagre-d3`?!1:(t?.flowchart?.defaultRenderer===`elk`&&(t.layout=`elk`),/^\s*graph/.test(e)&&t?.flowchart?.defaultRenderer===`dagre-wrapper`?!0:/^\s*flowchart/.test(e)),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./flowDiagram-I6XJVG4X-ApPtVyYM.js`);return{diagram:e}},__vite__mapDeps([9,10,4,2,3,5,1,6,7,11,12,13,14,15,16,17,18,19,20,21,22,23,24,8,25]));return{id:Xe,diagram:t}},`loader`)},Qe=`er`,$e={id:Qe,detector:r(e=>/^\s*erDiagram/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./erDiagram-TEJ5UH35-yuzvjE6J.js`);return{diagram:e}},__vite__mapDeps([26,10,4,2,3,5,1,6,7,11,12,13,14,15,16,17,18,20,21,22,23,24]));return{id:Qe,diagram:t}},`loader`)},et=`gitGraph`,tt={id:et,detector:r(e=>/^\s*gitGraph/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./gitGraphDiagram-PVQCEYII-Cjjnjs71.js`);return{diagram:e}},__vite__mapDeps([27,28,2,3,29,4,5,1,6,7,30,31]));return{id:et,diagram:t}},`loader`)},nt=`gantt`,rt={id:nt,detector:r(e=>/^\s*gantt/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./ganttDiagram-6RSMTGT7-BeMLXtAr.js`);return{diagram:e}},__vite__mapDeps([32,2,3,1,33,4,34,35,5,6,7]));return{id:nt,diagram:t}},`loader`)},it=`info`,at={id:it,detector:r(e=>/^\s*info/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./infoDiagram-5YYISTIA-CnMk1cA-.js`);return{diagram:e}},__vite__mapDeps([36,28,2,3,29,4,6,7,37]));return{id:it,diagram:t}},`loader`)},ot=`pie`,st={id:ot,detector:r(e=>/^\s*pie/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./pieDiagram-4H26LBE5-BiOhc9GR.js`);return{diagram:e}},__vite__mapDeps([38,1,2,3,28,29,4,22,39,35,40,23,5,6,7,30,37]));return{id:ot,diagram:t}},`loader`)},ct=`quadrantChart`,lt={id:ct,detector:r(e=>/^\s*quadrantChart/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./quadrantDiagram-W4KKPZXB-CVyHbWgo.js`);return{diagram:e}},__vite__mapDeps([41,33,4,2,3,34,35,6,7]));return{id:ct,diagram:t}},`loader`)},ut=`xychart`,dt={id:ut,detector:r(e=>/^\s*xychart(-beta)?/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./xychartDiagram-2RQKCTM6-Duf-m_th.js`);return{diagram:e}},__vite__mapDeps([42,10,4,2,3,5,1,6,7,33,34,35,39,21,22,23,37]));return{id:ut,diagram:t}},`loader`)},ft=`requirement`,pt={id:ft,detector:r(e=>/^\s*requirement(Diagram)?/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./requirementDiagram-4Y6WPE33-Ba24_hqc.js`);return{diagram:e}},__vite__mapDeps([43,10,4,2,3,5,1,6,7,12,13,14,15,16,17,18,20,21,22,23,24]));return{id:ft,diagram:t}},`loader`)},mt=`sequence`,ht={id:mt,detector:r(e=>/^\s*sequenceDiagram/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./sequenceDiagram-3UESZ5HK-7qA7lD61.js`);return{diagram:e}},__vite__mapDeps([44,1,2,3,4,5,6,7,8,31,25]));return{id:mt,diagram:t}},`loader`)},gt=`class`,_t={id:gt,detector:r((e,t)=>t?.class?.defaultRenderer===`dagre-wrapper`?!1:/^\s*classDiagram/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./classDiagram-4FO5ZUOK-Byg2Hl9D.js`);return{diagram:e}},__vite__mapDeps([45,10,4,2,3,5,1,6,7,12,13,14,15,16,17,46,19,24,20,21,22,23,18,8]));return{id:gt,diagram:t}},`loader`)},vt=`classDiagram`,yt={id:vt,detector:r((e,t)=>/^\s*classDiagram/.test(e)&&t?.class?.defaultRenderer===`dagre-wrapper`?!0:/^\s*classDiagram-v2/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./classDiagram-v2-Q7XG4LA2-Byg2Hl9D.js`);return{diagram:e}},__vite__mapDeps([47,10,4,2,3,5,1,6,7,12,13,14,15,16,17,46,19,24,20,21,22,23,18,8]));return{id:vt,diagram:t}},`loader`)},bt=`state`,xt={id:bt,detector:r((e,t)=>t?.state?.defaultRenderer===`dagre-wrapper`?!1:/^\s*stateDiagram/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./stateDiagram-AJRCARHV-DNElRCuH.js`);return{diagram:e}},__vite__mapDeps([48,10,4,2,3,5,1,6,7,21,22,23,49,50,12,13,14,15,16,17,51,24,20,18]));return{id:bt,diagram:t}},`loader`)},St=`stateDiagram`,Ct={id:St,detector:r((e,t)=>!!(/^\s*stateDiagram-v2/.test(e)||/^\s*stateDiagram/.test(e)&&t?.state?.defaultRenderer===`dagre-wrapper`),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./stateDiagram-v2-BHNVJYJU-D6qTYpY3.js`);return{diagram:e}},__vite__mapDeps([52,10,4,2,3,5,1,6,7,12,13,14,15,16,17,51,24,20,21,22,23,18]));return{id:St,diagram:t}},`loader`)},wt=`journey`,Tt={id:wt,detector:r(e=>/^\s*journey/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./journeyDiagram-JHISSGLW-DYIVfMpS.js`);return{diagram:e}},__vite__mapDeps([53,4,2,3,40,1,22,6,7,19,8]));return{id:wt,diagram:t}},`loader`)},Et={draw:r((e,t,r)=>{n.debug(`rendering svg for syntax error
|
|
3
|
-
`);let i=de(t),a=i.append(`g`);i.attr(`viewBox`,`0 0 2412 512`),b(i,100,512,!0),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z`),a.append(`text`).attr(`class`,`error-text`).attr(`x`,1440).attr(`y`,250).attr(`font-size`,`150px`).style(`text-anchor`,`middle`).text(`Syntax error in text`),a.append(`text`).attr(`class`,`error-text`).attr(`x`,1250).attr(`y`,400).attr(`font-size`,`100px`).style(`text-anchor`,`middle`).text(`mermaid version ${r}`)},`draw`)},Dt=Et,Ot={db:{},renderer:Et,parser:{parse:r(()=>{},`parse`)}},kt=`flowchart-elk`,At={id:kt,detector:r((e,t={})=>/^\s*flowchart-elk/.test(e)||/^\s*(flowchart|graph)/.test(e)&&t?.flowchart?.defaultRenderer===`elk`?(t.layout=`elk`,!0):!1,`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./flowDiagram-I6XJVG4X-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/c4Diagram-AAUBKEIU-BNS5gmQS.js","assets/dist-BcowSnUl.js","assets/index-D-TSanrw.js","assets/index-BsTJ9Ul_.css","assets/src-BieOuieI.js","assets/chunk-5ZQYHXKU-5zebJ3jW.js","assets/chunk-CSCIHK7Q-C1efTp0O.js","assets/purify.es-CDvCXckx.js","assets/chunk-ND2GUHAM-DQQ4RVLE.js","assets/flowDiagram-I6XJVG4X-Chguj9Xz.js","assets/chunk-O5CBEL6O-DUOshAt2.js","assets/channel-CkOta24Z.js","assets/chunk-2J33WTMH-CTY2etwY.js","assets/chunk-3OPIFGDE-DZM4Sz84.js","assets/chunk-L5ZTLDWV-D9ZKdVGx.js","assets/chunk-NZK2D7GU-9zJJaDpb.js","assets/rough.esm-CSKSodPl.js","assets/chunk-55IACEB6-CGlNp76o.js","assets/chunk-BSJP7CBP-CZHrcpSu.js","assets/chunk-FMBD7UC4-B6axGwgn.js","assets/chunk-KSCS5N6A-DSaxbrm0.js","assets/line-new3jLu3.js","assets/path-BWPyau1x.js","assets/array-BifhSqXX.js","assets/chunk-LZXEDZCA-DI5_1s00.js","assets/chunk-XPW4576I-DQVL_GAl.js","assets/erDiagram-TEJ5UH35-DJXsykZz.js","assets/gitGraphDiagram-PVQCEYII-uxGwHEPv.js","assets/mermaid-parser.core-D8JVCOKU.js","assets/chunk-NNHCCRGN-DlpIbxXb.js","assets/chunk-4BX2VUAB-sGwrrXIO.js","assets/chunk-QZHKN3VN-DqRxzBM_.js","assets/ganttDiagram-6RSMTGT7-DXdpFesp.js","assets/linear-yA22knFB.js","assets/defaultLocale-C8Fc0cco.js","assets/init-D6jRqBbL.js","assets/infoDiagram-5YYISTIA-B3oDA2Ct.js","assets/chunk-WU5MYG2G-B1Mk3aBp.js","assets/pieDiagram-4H26LBE5-Dy7day5R.js","assets/ordinal-hYBb2elL.js","assets/arc-KT3ZnaMp.js","assets/quadrantDiagram-W4KKPZXB-CVjVgbaQ.js","assets/xychartDiagram-2RQKCTM6-CReSRxNG.js","assets/requirementDiagram-4Y6WPE33-y_0KOdN8.js","assets/sequenceDiagram-3UESZ5HK-Cn8DZiEr.js","assets/classDiagram-4FO5ZUOK-BH-5P4jH.js","assets/chunk-727SXJPM-DelmUpvy.js","assets/classDiagram-v2-Q7XG4LA2-BH-5P4jH.js","assets/stateDiagram-AJRCARHV-nPEVGd3E.js","assets/dagre-Bx709z4p.js","assets/graphlib-B8gBHxth.js","assets/chunk-AQP2D5EJ-DMVzBf3M.js","assets/stateDiagram-v2-BHNVJYJU-CKrff-KJ.js","assets/journeyDiagram-JHISSGLW-COf53NwC.js","assets/timeline-definition-PNZ67QCA-Dj_qK0VJ.js","assets/mindmap-definition-RKZ34NQL-CVcJTWsW.js","assets/kanban-definition-UN3LZRKU-DaOPRBld.js","assets/sankeyDiagram-5OEKKPKP-8T3b7meL.js","assets/diagram-LMA3HP47-CsOe8-S6.js","assets/diagram-2AECGRRQ-C_R7oNKE.js","assets/blockDiagram-GPEHLZMM-B8wApEWC.js","assets/diagram-5GNKFQAL-UhE2W3Yi.js","assets/architectureDiagram-3BPJPVTR-DLu0UM7N.js","assets/cytoscape.esm-h6BdjjI9.js","assets/diagram-KO2AKTUF-D4KZCRld.js","assets/ishikawaDiagram-YF4QCWOH-C6l0lvC3.js","assets/vennDiagram-CIIHVFJN-D71ne3dS.js","assets/diagram-OG6HWLK6-Bkbs2V54.js","assets/wardleyDiagram-YWT4CUSO-B66G4ayp.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{t as e}from"./index-D-TSanrw.js";import{_ as t,g as n,h as r,p as i}from"./src-BieOuieI.js";import{C as a,E as o,I as s,L as c,N as l,P as u,Q as d,S as f,T as p,V as m,W as h,X as g,Z as _,_ as v,b as y,c as b,g as x,l as S,m as C,n as w,p as T,q as ee,r as te,t as E,u as D}from"./chunk-CSCIHK7Q-C1efTp0O.js";import{t as ne}from"./purify.es-CDvCXckx.js";import{S as re,a as ie,f as O,g as k,h as ae,i as oe,o as se,v as ce,x as le,y as ue}from"./chunk-5ZQYHXKU-5zebJ3jW.js";import{t as de}from"./chunk-WU5MYG2G-B1Mk3aBp.js";import{i as fe,o as pe}from"./chunk-O5CBEL6O-DUOshAt2.js";import"./chunk-BSJP7CBP-CZHrcpSu.js";import"./chunk-L5ZTLDWV-D9ZKdVGx.js";import"./chunk-NZK2D7GU-9zJJaDpb.js";import"./chunk-3OPIFGDE-DZM4Sz84.js";import"./chunk-KSCS5N6A-DSaxbrm0.js";import{n as me}from"./chunk-LZXEDZCA-DI5_1s00.js";import{n as he,t as ge}from"./chunk-XPW4576I-DQVL_GAl.js";function _e(e){let t=e?.constructor;return e===(typeof t==`function`?t.prototype:Object.prototype)}function ve(e){if(e==null)return!0;if(le(e))return typeof e.splice!=`function`&&typeof e!=`string`&&!re(e)&&!ce(e)&&!ue(e)?!1:e.length===0;if(typeof e==`object`||typeof e==`function`){if(e instanceof Map||e instanceof Set)return e.size===0;let t=Object.keys(e);return _e(e)?t.filter(e=>e!==`constructor`).length===0:t.length===0}return!0}var A=`comm`,ye=`rule`,be=`decl`,xe=`@import`,Se=`@namespace`,Ce=`@keyframes`,we=`@layer`,Te=Math.abs,j=String.fromCharCode;function Ee(e){return e.trim()}function M(e,t,n){return e.replace(t,n)}function N(e,t){return e.charCodeAt(t)|0}function P(e,t,n){return e.slice(t,n)}function F(e){return e.length}function De(e){return e.length}function I(e,t){return t.push(e),e}var L=1,R=1,Oe=0,z=0,B=0,V=``;function H(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:L,column:R,length:o,return:``,siblings:s}}function ke(){return B}function Ae(){return B=z>0?N(V,--z):0,R--,B===10&&(R=1,L--),B}function U(){return B=z<Oe?N(V,z++):0,R++,B===10&&(R=1,L++),B}function W(){return N(V,z)}function G(){return z}function K(e,t){return P(V,e,t)}function q(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function je(e){return L=R=1,Oe=F(V=e),z=0,[]}function Me(e){return V=``,e}function Ne(e){return Ee(K(z-1,Ie(e===91?e+2:e===40?e+1:e)))}function Pe(e){for(;(B=W())&&B<33;)U();return q(e)>2||q(B)>3?``:` `}function Fe(e,t){for(;--t&&U()&&!(B<48||B>102||B>57&&B<65||B>70&&B<97););return K(e,G()+(t<6&&W()==32&&U()==32))}function Ie(e){for(;U();)switch(B){case e:return z;case 34:case 39:e!==34&&e!==39&&Ie(B);break;case 40:e===41&&Ie(e);break;case 92:U();break}return z}function Le(e,t){for(;U()&&e+B!==57&&!(e+B===84&&W()===47););return`/*`+K(t,z-1)+`*`+j(e===47?e:U())}function Re(e){for(;!q(W());)U();return K(e,z)}function ze(e){return Me(J(``,null,null,null,[``],e=je(e),0,[0],e))}function J(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=0,b=``,x=i,S=a,C=r,w=b;g;)switch(m=y,y=U()){case 40:m!=108&&N(w,d-1)==58?(v++,w+=`(`):w+=Ne(y);break;case 41:v--,w+=`)`;break;case 34:case 39:case 91:w+=Ne(y);break;case 9:case 10:case 13:case 32:if(v>0){w+=j(y);break}w+=Pe(m);break;case 92:w+=Fe(G()-1,7);continue;case 47:switch(W()){case 42:case 47:I(Ve(Le(U(),G()),t,n,c),c),(q(m||1)==5||q(W()||1)==5)&&F(w)&&P(w,-1,void 0)!==` `&&(w+=` `);break;default:w+=`/`}break;case 123*h:s[l++]=F(w)*_;case 125*h:case 59:case 0:if(v>0&&y){w+=j(y);break}switch(y){case 0:case 125:g=0;case 59+u:_==-1&&(w=M(w,/\f/g,``)),p>0&&(F(w)-d||h===0)&&I(p>32?He(w+`;`,r,n,d-1,c):He(M(w,` `,``)+`;`,r,n,d-2,c),c);break;case 59:w+=`;`;default:if(I(C=Be(w,t,n,l,u,i,s,b,x=[],S=[],d,a),a),y===123)if(u===0)J(w,t,C,C,x,a,d,s,S);else{switch(f){case 99:if(N(w,3)===110)break;case 108:if(N(w,2)===97)break;default:u=0;case 100:case 109:case 115:}u?J(e,C,C,r&&I(Be(e,C,C,0,0,i,s,b,i,x=[],d,S),S),i,S,d,s,r?x:S):J(w,C,C,C,[``],S,0,s,S)}}l=u=p=0,h=_=1,b=w=``,d=o;break;case 58:d=1+F(w),p=m;default:if(h<1){if(y==123)--h;else if(y==125&&h++==0&&Ae()==125)continue}switch(w+=j(y),y*h){case 38:_=u>0?1:(w+=`\f`,-1);break;case 44:if(v>0)break;s[l++]=(F(w)-1)*_,_=1;break;case 64:W()===45&&(w+=Ne(U())),f=W(),u=d=F(b=w+=Re(G())),y++;break;case 45:m===45&&F(w)==2&&(h=0)}}return a}function Be(e,t,n,r,i,a,o,s,c,l,u,d){for(var f=i-1,p=i===0?a:[``],m=De(p),h=0,g=0,_=0;h<r;++h)for(var v=0,y=P(e,f+1,f=Te(g=o[h])),b=e;v<m;++v)(b=Ee(g>0?p[v]+` `+y:M(y,/&\f/g,p[v])))&&(c[_++]=b);return H(e,t,n,i===0?ye:s,c,l,u,d)}function Ve(e,t,n,r){return H(e,t,n,A,j(ke()),P(e,2,-2),0,r)}function He(e,t,n,r,i){return H(e,t,n,be,P(e,0,r),P(e,r+1,-1),r,i)}function Ue(e,t){for(var n=``,r=0;r<e.length;r++)n+=t(e[r],r,e,t)||``;return n}function We(e,t,n,r){switch(e.type){case we:if(e.children.length)break;case xe:case Se:case be:return e.return=e.return||e.value;case A:return``;case Ce:return e.return=e.value+`{`+Ue(e.children,r)+`}`;case ye:if(!F(e.value=e.props.join(`,`)))return``}return F(n=Ue(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Ge(e){var t=De(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}var Ke=`c4`,qe={id:Ke,detector:r(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./c4Diagram-AAUBKEIU-BNS5gmQS.js`);return{diagram:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8]));return{id:Ke,diagram:t}},`loader`)},Je=`flowchart`,Ye={id:Je,detector:r((e,t)=>t?.flowchart?.defaultRenderer===`dagre-wrapper`||t?.flowchart?.defaultRenderer===`elk`?!1:/^\s*graph/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./flowDiagram-I6XJVG4X-Chguj9Xz.js`);return{diagram:e}},__vite__mapDeps([9,10,4,2,3,5,1,6,7,11,12,13,14,15,16,17,18,19,20,21,22,23,24,8,25]));return{id:Je,diagram:t}},`loader`)},Xe=`flowchart-v2`,Ze={id:Xe,detector:r((e,t)=>t?.flowchart?.defaultRenderer===`dagre-d3`?!1:(t?.flowchart?.defaultRenderer===`elk`&&(t.layout=`elk`),/^\s*graph/.test(e)&&t?.flowchart?.defaultRenderer===`dagre-wrapper`?!0:/^\s*flowchart/.test(e)),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./flowDiagram-I6XJVG4X-Chguj9Xz.js`);return{diagram:e}},__vite__mapDeps([9,10,4,2,3,5,1,6,7,11,12,13,14,15,16,17,18,19,20,21,22,23,24,8,25]));return{id:Xe,diagram:t}},`loader`)},Qe=`er`,$e={id:Qe,detector:r(e=>/^\s*erDiagram/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./erDiagram-TEJ5UH35-DJXsykZz.js`);return{diagram:e}},__vite__mapDeps([26,10,4,2,3,5,1,6,7,11,12,13,14,15,16,17,18,20,21,22,23,24]));return{id:Qe,diagram:t}},`loader`)},et=`gitGraph`,tt={id:et,detector:r(e=>/^\s*gitGraph/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./gitGraphDiagram-PVQCEYII-uxGwHEPv.js`);return{diagram:e}},__vite__mapDeps([27,28,2,3,29,4,5,1,6,7,30,31]));return{id:et,diagram:t}},`loader`)},nt=`gantt`,rt={id:nt,detector:r(e=>/^\s*gantt/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./ganttDiagram-6RSMTGT7-DXdpFesp.js`);return{diagram:e}},__vite__mapDeps([32,2,3,1,33,4,34,35,5,6,7]));return{id:nt,diagram:t}},`loader`)},it=`info`,at={id:it,detector:r(e=>/^\s*info/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./infoDiagram-5YYISTIA-B3oDA2Ct.js`);return{diagram:e}},__vite__mapDeps([36,28,2,3,29,4,6,7,37]));return{id:it,diagram:t}},`loader`)},ot=`pie`,st={id:ot,detector:r(e=>/^\s*pie/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./pieDiagram-4H26LBE5-Dy7day5R.js`);return{diagram:e}},__vite__mapDeps([38,1,2,3,28,29,4,22,39,35,40,23,5,6,7,30,37]));return{id:ot,diagram:t}},`loader`)},ct=`quadrantChart`,lt={id:ct,detector:r(e=>/^\s*quadrantChart/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./quadrantDiagram-W4KKPZXB-CVjVgbaQ.js`);return{diagram:e}},__vite__mapDeps([41,33,4,2,3,34,35,6,7]));return{id:ct,diagram:t}},`loader`)},ut=`xychart`,dt={id:ut,detector:r(e=>/^\s*xychart(-beta)?/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./xychartDiagram-2RQKCTM6-CReSRxNG.js`);return{diagram:e}},__vite__mapDeps([42,10,4,2,3,5,1,6,7,33,34,35,39,21,22,23,37]));return{id:ut,diagram:t}},`loader`)},ft=`requirement`,pt={id:ft,detector:r(e=>/^\s*requirement(Diagram)?/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./requirementDiagram-4Y6WPE33-y_0KOdN8.js`);return{diagram:e}},__vite__mapDeps([43,10,4,2,3,5,1,6,7,12,13,14,15,16,17,18,20,21,22,23,24]));return{id:ft,diagram:t}},`loader`)},mt=`sequence`,ht={id:mt,detector:r(e=>/^\s*sequenceDiagram/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./sequenceDiagram-3UESZ5HK-Cn8DZiEr.js`);return{diagram:e}},__vite__mapDeps([44,1,2,3,4,5,6,7,8,31,25]));return{id:mt,diagram:t}},`loader`)},gt=`class`,_t={id:gt,detector:r((e,t)=>t?.class?.defaultRenderer===`dagre-wrapper`?!1:/^\s*classDiagram/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./classDiagram-4FO5ZUOK-BH-5P4jH.js`);return{diagram:e}},__vite__mapDeps([45,10,4,2,3,5,1,6,7,12,13,14,15,16,17,46,19,24,20,21,22,23,18,8]));return{id:gt,diagram:t}},`loader`)},vt=`classDiagram`,yt={id:vt,detector:r((e,t)=>/^\s*classDiagram/.test(e)&&t?.class?.defaultRenderer===`dagre-wrapper`?!0:/^\s*classDiagram-v2/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./classDiagram-v2-Q7XG4LA2-BH-5P4jH.js`);return{diagram:e}},__vite__mapDeps([47,10,4,2,3,5,1,6,7,12,13,14,15,16,17,46,19,24,20,21,22,23,18,8]));return{id:vt,diagram:t}},`loader`)},bt=`state`,xt={id:bt,detector:r((e,t)=>t?.state?.defaultRenderer===`dagre-wrapper`?!1:/^\s*stateDiagram/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./stateDiagram-AJRCARHV-nPEVGd3E.js`);return{diagram:e}},__vite__mapDeps([48,10,4,2,3,5,1,6,7,21,22,23,49,50,12,13,14,15,16,17,51,24,20,18]));return{id:bt,diagram:t}},`loader`)},St=`stateDiagram`,Ct={id:St,detector:r((e,t)=>!!(/^\s*stateDiagram-v2/.test(e)||/^\s*stateDiagram/.test(e)&&t?.state?.defaultRenderer===`dagre-wrapper`),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./stateDiagram-v2-BHNVJYJU-CKrff-KJ.js`);return{diagram:e}},__vite__mapDeps([52,10,4,2,3,5,1,6,7,12,13,14,15,16,17,51,24,20,21,22,23,18]));return{id:St,diagram:t}},`loader`)},wt=`journey`,Tt={id:wt,detector:r(e=>/^\s*journey/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./journeyDiagram-JHISSGLW-COf53NwC.js`);return{diagram:e}},__vite__mapDeps([53,4,2,3,40,1,22,6,7,19,8]));return{id:wt,diagram:t}},`loader`)},Et={draw:r((e,t,r)=>{n.debug(`rendering svg for syntax error
|
|
3
|
+
`);let i=de(t),a=i.append(`g`);i.attr(`viewBox`,`0 0 2412 512`),b(i,100,512,!0),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z`),a.append(`text`).attr(`class`,`error-text`).attr(`x`,1440).attr(`y`,250).attr(`font-size`,`150px`).style(`text-anchor`,`middle`).text(`Syntax error in text`),a.append(`text`).attr(`class`,`error-text`).attr(`x`,1250).attr(`y`,400).attr(`font-size`,`100px`).style(`text-anchor`,`middle`).text(`mermaid version ${r}`)},`draw`)},Dt=Et,Ot={db:{},renderer:Et,parser:{parse:r(()=>{},`parse`)}},kt=`flowchart-elk`,At={id:kt,detector:r((e,t={})=>/^\s*flowchart-elk/.test(e)||/^\s*(flowchart|graph)/.test(e)&&t?.flowchart?.defaultRenderer===`elk`?(t.layout=`elk`,!0):!1,`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./flowDiagram-I6XJVG4X-Chguj9Xz.js`);return{diagram:e}},__vite__mapDeps([9,10,4,2,3,5,1,6,7,11,12,13,14,15,16,17,18,19,20,21,22,23,24,8,25]));return{id:kt,diagram:t}},`loader`)},jt=`timeline`,Mt={id:jt,detector:r(e=>/^\s*timeline/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./timeline-definition-PNZ67QCA-Dj_qK0VJ.js`);return{diagram:e}},__vite__mapDeps([54,4,2,3,40,1,22,5,6,7,37]));return{id:jt,diagram:t}},`loader`)},Nt=`mindmap`,Pt={id:Nt,detector:r(e=>/^\s*mindmap/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./mindmap-definition-RKZ34NQL-CVcJTWsW.js`);return{diagram:e}},__vite__mapDeps([55,10,4,2,3,5,1,6,7,12,13,14,15,16,17,18,20,21,22,23,24]));return{id:Nt,diagram:t}},`loader`)},Ft=`kanban`,It={id:Ft,detector:r(e=>/^\s*kanban/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./kanban-definition-UN3LZRKU-DaOPRBld.js`);return{diagram:e}},__vite__mapDeps([56,10,4,2,3,5,1,6,7,13,14,15,16,19,37,25]));return{id:Ft,diagram:t}},`loader`)},Lt=`sankey`,Rt={id:Lt,detector:r(e=>/^\s*sankey(-beta)?/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./sankeyDiagram-5OEKKPKP-8T3b7meL.js`);return{diagram:e}},__vite__mapDeps([57,4,2,3,39,35,6,7]));return{id:Lt,diagram:t}},`loader`)},zt=`packet`,Bt={id:zt,detector:r(e=>/^\s*packet(-beta)?/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-LMA3HP47-CsOe8-S6.js`);return{diagram:e}},__vite__mapDeps([58,28,2,3,29,4,5,1,6,7,30,37]));return{id:zt,diagram:t}},`loader`)},Vt=`radar`,Ht={id:Vt,detector:r(e=>/^\s*radar-beta/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-2AECGRRQ-C_R7oNKE.js`);return{diagram:e}},__vite__mapDeps([59,28,2,3,29,4,5,1,6,7,30,37]));return{id:Vt,diagram:t}},`loader`)},Ut=`block`,Wt={id:Ut,detector:r(e=>/^\s*block(-beta)?/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./blockDiagram-GPEHLZMM-B8wApEWC.js`);return{diagram:e}},__vite__mapDeps([60,10,4,2,3,5,1,6,7,21,22,23,50,11,18,19,14]));return{id:Ut,diagram:t}},`loader`)},Gt=`treeView`,Kt={id:Gt,detector:r(e=>/^\s*treeView-beta/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-5GNKFQAL-UhE2W3Yi.js`);return{diagram:e}},__vite__mapDeps([61,28,2,3,29,4,5,1,6,7,30,31,37]));return{id:Gt,diagram:t}},`loader`)},qt=`architecture`,Jt={id:qt,detector:r(e=>/^\s*architecture/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./architectureDiagram-3BPJPVTR-DLu0UM7N.js`);return{diagram:e}},__vite__mapDeps([62,2,3,10,4,5,1,6,7,28,29,63,30,37]));return{id:qt,diagram:t}},`loader`)},Yt=`eventmodeling`,Xt={id:Yt,detector:r(e=>/^\s*eventmodeling/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-KO2AKTUF-D4KZCRld.js`);return{diagram:e}},__vite__mapDeps([64,28,2,3,29,4,5,1,6,7,30]));return{id:Yt,diagram:t}},`loader`)},Zt=`ishikawa`,Qt={id:Zt,detector:r(e=>/^\s*ishikawa(-beta)?\b/i.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./ishikawaDiagram-YF4QCWOH-C6l0lvC3.js`);return{diagram:e}},__vite__mapDeps([65,4,2,3,5,1,6,7,37,16]));return{id:Zt,diagram:t}},`loader`)},$t=`venn`,en={id:$t,detector:r(e=>/^\s*venn-beta/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./vennDiagram-CIIHVFJN-D71ne3dS.js`);return{diagram:e}},__vite__mapDeps([66,4,2,3,5,1,6,7,37,16]));return{id:$t,diagram:t}},`loader`)},tn=`treemap`,nn={id:tn,detector:r(e=>/^\s*treemap/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-OG6HWLK6-Bkbs2V54.js`);return{diagram:e}},__vite__mapDeps([67,28,2,3,29,4,34,39,35,5,1,6,7,12,30,15,37]));return{id:tn,diagram:t}},`loader`)},rn=`wardley-beta`,an={id:rn,detector:r(e=>/^\s*wardley-beta/i.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./wardleyDiagram-YWT4CUSO-B66G4ayp.js`);return{diagram:e}},__vite__mapDeps([68,28,2,3,29,4,5,1,6,7,30,37]));return{id:rn,diagram:t}},`loader`)},on=!1,Y=r(()=>{on||(on=!0,l(`error`,Ot,e=>e.toLowerCase().trim()===`error`),l(`---`,{db:{clear:r(()=>{},`clear`)},styles:{},renderer:{draw:r(()=>{},`draw`)},parser:{parse:r(()=>{throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},`parse`)},init:r(()=>null,`init`)},e=>e.toLowerCase().trimStart().startsWith(`---`)),u(At,Pt,Jt),u(qe,It,yt,_t,$e,rt,at,st,pt,ht,Ze,Ye,Mt,tt,Ct,xt,Tt,lt,Rt,Bt,dt,Wt,Xt,Kt,Ht,Qt,nn,en,an))},`addDiagrams`),sn=r(async()=>{n.debug(`Loading registered diagrams`);let e=(await Promise.allSettled(Object.entries(C).map(async([e,{detector:t,loader:r}])=>{if(r)try{f(e)}catch{try{let{diagram:e,id:n}=await r();l(n,e,t)}catch(t){throw n.error(`Failed to load external diagram with key ${e}. Removing from detectors.`),delete C[e],t}}}))).filter(e=>e.status===`rejected`);if(e.length>0){n.error(`Failed to load ${e.length} external diagrams`);for(let t of e)n.error(t);throw Error(`Failed to load ${e.length} external diagrams`)}},`loadRegisteredDiagrams`),cn=`graphics-document document`;function ln(e,t){e.attr(`role`,cn),t!==``&&e.attr(`aria-roledescription`,t)}r(ln,`setA11yDiagramInfo`);function un(e,t,n,r){if(e.insert!==void 0){if(n){let t=`chart-desc-${r}`;e.attr(`aria-describedby`,t),e.insert(`desc`,`:first-child`).attr(`id`,t).text(n)}if(t){let n=`chart-title-${r}`;e.attr(`aria-labelledby`,n),e.insert(`title`,`:first-child`).attr(`id`,n).text(t)}}}r(un,`addSVGa11yTitleDescription`);var dn=class e{constructor(e,t,n,r,i){this.type=e,this.text=t,this.db=n,this.parser=r,this.renderer=i}static{r(this,`Diagram`)}static async fromText(t,n={}){let r=y(),i=T(t,r);t=se(t)+`
|
|
4
4
|
`;try{f(i)}catch{let e=a(i);if(!e)throw new E(`Diagram ${i} not found.`);let{id:t,diagram:n}=await e();l(t,n)}let{db:o,parser:s,renderer:c,init:u}=f(i);return s.parser&&(s.parser.yy=o),o.clear?.(),u?.(r),n.title&&o.setDiagramTitle?.(n.title),await s.parse(t),new e(i,t,o,s,c)}async render(e,t){await this.renderer.draw(this.text,e,t,this)}getParser(){return this.parser}getType(){return this.type}},fn=[],pn=r(()=>{fn.forEach(e=>{e()}),fn=[]},`attachFunctions`),mn=r(e=>e.replace(/^\s*%%(?!{)[^\n]+\n?/gm,``).trimStart(),`cleanupComments`);function hn(e){let t=e.match(v);if(!t)return{text:e,metadata:{}};let n=he(t[1],{schema:ge})??{};n=typeof n==`object`&&!Array.isArray(n)?n:{};let r={};return n.displayMode&&(r.displayMode=n.displayMode.toString()),n.title&&(r.title=n.title.toString()),n.config&&(r.config=n.config),{text:e.slice(t[0].length),metadata:r}}r(hn,`extractFrontMatter`);var gn=r(e=>e.replace(/\r\n?/g,`
|
|
5
5
|
`).replace(/<(\w+)([^>]*)>/g,(e,t,n)=>`<`+t+n.replace(/="([^"]*)"/g,`='$1'`)+`>`),`cleanupText`),_n=r(e=>{let{text:t,metadata:n}=hn(e),{displayMode:r,title:i,config:a={}}=n;return r&&(a.gantt||={},a.gantt.displayMode=r),{title:i,config:a,text:t}},`processFrontmatter`),vn=r(e=>{let t=k.detectInit(e)??{},n=k.detectDirective(e,`wrap`);return Array.isArray(n)?t.wrap=n.some(({type:e})=>e===`wrap`):n?.type===`wrap`&&(t.wrap=!0),{text:ae(e),directive:t}},`processDirectives`);function yn(e){let t=_n(gn(e)),n=vn(t.text),r=oe(t.config,n.directive);return e=mn(n.text),{code:e,title:t.title,config:r}}r(yn,`preprocessDiagram`);function bn(e){let t=new TextEncoder().encode(e),n=Array.from(t,e=>String.fromCodePoint(e)).join(``);return btoa(n)}r(bn,`toBase64`);var xn=5e4,Sn=`graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa`,Cn=`sandbox`,wn=`loose`,Tn=`http://www.w3.org/2000/svg`,En=`http://www.w3.org/1999/xlink`,Dn=`http://www.w3.org/1999/xhtml`,On=`100%`,kn=`100%`,An=`border:0;margin:0;`,jn=`margin:0`,Mn=`allow-top-navigation-by-user-activation allow-popups`,Nn=`The "iframe" tag is not supported by your browser.`,Pn=[`foreignobject`],Fn=[`dominant-baseline`];function In(e){let t=yn(e);return s(),w(t.config??{}),t}r(In,`processAndSetConfigs`);async function Ln(e,t){Y();try{let{code:t,config:n}=In(e);return{diagramType:(await Yn(t)).type,config:n}}catch(e){if(t?.suppressErrors)return!1;throw e}}r(Ln,`parse`);var Rn=r((e,t,n=[])=>`.${e} ${t} ${c(`{ ${n.join(` !important; `)} !important; }`)}`,`cssImportantStyles`),zn=r((e,t=new Map)=>{let n=new CSSStyleSheet;if(e.fontFamily!==void 0&&n.insertRule(`:root { --mermaid-font-family: ${e.fontFamily}}`,n.cssRules.length),e.altFontFamily!==void 0&&n.insertRule(`:root { --mermaid-alt-font-family: ${e.altFontFamily}}`,n.cssRules.length),t instanceof Map){let r=p(e)?[`> *`,`span`]:[`rect`,`polygon`,`ellipse`,`circle`,`path`];t.forEach(e=>{ve(e.styles)||r.forEach(t=>{n.insertRule(Rn(e.id,t,e.styles),n.cssRules.length)}),ve(e.textStyles)||n.insertRule(Rn(e.id,`tspan`,(e?.textStyles||[]).map(e=>e.replace(`color`,`fill`))),n.cssRules.length)})}let r=``;if(e.themeCSS!==void 0)if(typeof n.replaceSync==`function`){let t=new CSSStyleSheet;t.replaceSync(e.themeCSS),r=S(t)+`
|
|
6
6
|
`}else r+=`${e.themeCSS}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as e,h as t}from"./src-
|
|
1
|
+
import{g as e,h as t}from"./src-BieOuieI.js";import{$ as n,b as r,et as i,f as a,k as o,nt as s,x as c,z as l}from"./chunk-CSCIHK7Q-C1efTp0O.js";import"./chunk-5ZQYHXKU-5zebJ3jW.js";import"./chunk-O5CBEL6O-DUOshAt2.js";import"./chunk-BSJP7CBP-CZHrcpSu.js";import"./chunk-L5ZTLDWV-D9ZKdVGx.js";import{t as u}from"./chunk-55IACEB6-CGlNp76o.js";import{t as d}from"./chunk-2J33WTMH-CTY2etwY.js";import"./chunk-NZK2D7GU-9zJJaDpb.js";import"./chunk-3OPIFGDE-DZM4Sz84.js";import"./chunk-KSCS5N6A-DSaxbrm0.js";import{r as f,t as p}from"./chunk-LZXEDZCA-DI5_1s00.js";var m=[];for(let e=0;e<256;++e)m.push((e+256).toString(16).slice(1));function h(e,t=0){return(m[e[t+0]]+m[e[t+1]]+m[e[t+2]]+m[e[t+3]]+`-`+m[e[t+4]]+m[e[t+5]]+`-`+m[e[t+6]]+m[e[t+7]]+`-`+m[e[t+8]]+m[e[t+9]]+`-`+m[e[t+10]]+m[e[t+11]]+m[e[t+12]]+m[e[t+13]]+m[e[t+14]]+m[e[t+15]]).toLowerCase()}var g=new Uint8Array(16);function _(){return crypto.getRandomValues(g)}function v(e,t,n){return!t&&!e&&crypto.randomUUID?crypto.randomUUID():y(e,t,n)}function y(e,t,n){e||={};let r=e.random??e.rng?.()??_();if(r.length<16)throw Error(`Random bytes length must be >= 16`);if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n||=0,n<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=r[e];return t}return h(r)}var b=(function(){var e=t(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,13],i=[1,12],a=[1,15],o=[1,16],s=[1,20],c=[1,19],l=[6,7,8],u=[1,26],d=[1,24],f=[1,25],p=[6,7,11],m=[1,6,13,15,16,19,22],h=[1,33],g=[1,34],_=[1,6,7,11,13,15,16,19,22],v={trace:t(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`MINDMAP`,11:`EOF`,13:`SPACELIST`,15:`ICON`,16:`CLASS`,19:`NODE_DSTART`,20:`NODE_DESCR`,21:`NODE_DEND`,22:`NODE_ID`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:t(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace(`Stop NL `);break;case 9:r.getLogger().trace(`Stop EOF `);break;case 11:r.getLogger().trace(`Stop NL2 `);break;case 12:r.getLogger().trace(`Stop EOF2 `);break;case 15:r.getLogger().info(`Node: `,a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 16:r.getLogger().trace(`Icon: `,a[s]),r.decorateNode({icon:a[s]});break;case 17:case 21:r.decorateNode({class:a[s]});break;case 18:r.getLogger().trace(`SPACELIST`);break;case 19:r.getLogger().trace(`Node: `,a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 20:r.decorateNode({icon:a[s]});break;case 25:r.getLogger().trace(`node found ..`,a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 26:this.$={id:a[s],descr:a[s],type:r.nodeType.DEFAULT};break;case 27:r.getLogger().trace(`node found ..`,a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])};break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},e(l,[2,3]),{1:[2,2]},e(l,[2,4]),e(l,[2,5]),{1:[2,6],6:r,12:21,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},{6:r,9:22,12:11,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},{6:u,7:d,10:23,11:f},e(p,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:s,22:c}),e(p,[2,18]),e(p,[2,19]),e(p,[2,20]),e(p,[2,21]),e(p,[2,23]),e(p,[2,24]),e(p,[2,26],{19:[1,30]}),{20:[1,31]},{6:u,7:d,10:32,11:f},{1:[2,7],6:r,12:21,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},e(m,[2,14],{7:h,11:g}),e(_,[2,8]),e(_,[2,9]),e(_,[2,10]),e(p,[2,15]),e(p,[2,16]),e(p,[2,17]),{20:[1,35]},{21:[1,36]},e(m,[2,13],{7:h,11:g}),e(_,[2,11]),e(_,[2,12]),{21:[1,37]},e(p,[2,25]),e(p,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:t(function(e){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}t(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}t(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
2
2
|
`+h.showPosition()+`
|
|
3
3
|
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};v.lexer=(function(){return{EOF:1,parseError:t(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:t(function(e,t){return this.yy=t||this.yy||{},this._input=e,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:t(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:t(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:t(function(){return this._more=!0,this},`more`),reject:t(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:t(function(e){this.unput(this.match.slice(e))},`less`),pastInput:t(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:t(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:t(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-NNHCCRGN-DlpIbxXb.js";import{p as e}from"./mermaid-parser.core-
|
|
1
|
+
import"./chunk-NNHCCRGN-DlpIbxXb.js";import{p as e}from"./mermaid-parser.core-D8JVCOKU.js";export{e as createPacketServices};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-NNHCCRGN-DlpIbxXb.js";import{d as e}from"./mermaid-parser.core-
|
|
1
|
+
import"./chunk-NNHCCRGN-DlpIbxXb.js";import{d as e}from"./mermaid-parser.core-D8JVCOKU.js";export{e as createPieServices};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t as e}from"./mermaid-parser.core-
|
|
1
|
+
import{t as e}from"./mermaid-parser.core-D8JVCOKU.js";import{g as t,h as n}from"./src-BieOuieI.js";import{H as r,K as i,U as a,a as o,c as s,f as c,v as l,w as u,x as d,y as f}from"./chunk-CSCIHK7Q-C1efTp0O.js";import{t as p}from"./ordinal-hYBb2elL.js";import{n as m}from"./path-BWPyau1x.js";import{m as h}from"./dist-BcowSnUl.js";import{t as g}from"./arc-KT3ZnaMp.js";import{t as _}from"./array-BifhSqXX.js";import{i as v,p as y}from"./chunk-5ZQYHXKU-5zebJ3jW.js";import{t as b}from"./chunk-WU5MYG2G-B1Mk3aBp.js";import{t as x}from"./chunk-4BX2VUAB-sGwrrXIO.js";function S(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function C(e){return e}function w(){var e=C,t=S,n=null,r=m(0),i=m(h),a=m(0);function o(o){var s,c=(o=_(o)).length,l,u,d=0,f=Array(c),p=Array(c),m=+r.apply(this,arguments),g=Math.min(h,Math.max(-h,i.apply(this,arguments)-m)),v,y=Math.min(Math.abs(g)/c,a.apply(this,arguments)),b=y*(g<0?-1:1),x;for(s=0;s<c;++s)(x=p[f[s]=s]=+e(o[s],s,o))>0&&(d+=x);for(t==null?n!=null&&f.sort(function(e,t){return n(o[e],o[t])}):f.sort(function(e,n){return t(p[e],p[n])}),s=0,u=d?(g-c*b)/d:0;s<c;++s,m=v)l=f[s],x=p[l],v=m+(x>0?x*u:0)+b,p[l]={data:o[l],index:s,value:x,startAngle:m,endAngle:v,padAngle:y};return p}return o.value=function(t){return arguments.length?(e=typeof t==`function`?t:m(+t),o):e},o.sortValues=function(e){return arguments.length?(t=e,n=null,o):t},o.sort=function(e){return arguments.length?(n=e,t=null,o):n},o.startAngle=function(e){return arguments.length?(r=typeof e==`function`?e:m(+e),o):r},o.endAngle=function(e){return arguments.length?(i=typeof e==`function`?e:m(+e),o):i},o.padAngle=function(e){return arguments.length?(a=typeof e==`function`?e:m(+e),o):a},o}var T=c.pie,E={sections:new Map,showData:!1,config:T},D=E.sections,O=E.showData,k=structuredClone(T),A={getConfig:n(()=>structuredClone(k),`getConfig`),clear:n(()=>{D=new Map,O=E.showData,o()},`clear`),setDiagramTitle:i,getDiagramTitle:u,setAccTitle:a,getAccTitle:f,setAccDescription:r,getAccDescription:l,addSection:n(({label:e,value:n})=>{if(n<0)throw Error(`"${e}" has invalid value: ${n}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);D.has(e)||(D.set(e,n),t.debug(`added new section: ${e}, with value: ${n}`))},`addSection`),getSections:n(()=>D,`getSections`),setShowData:n(e=>{O=e},`setShowData`),getShowData:n(()=>O,`getShowData`)},j=n((e,t)=>{x(e,t),t.setShowData(e.showData),e.sections.map(t.addSection)},`populateDb`),M={parse:n(async n=>{let r=await e(`pie`,n);t.debug(r),j(r,A)},`parse`)},N=n(e=>`
|
|
2
2
|
.pieCircle{
|
|
3
3
|
stroke: ${e.pieStrokeColor};
|
|
4
4
|
stroke-width : ${e.pieStrokeWidth};
|