orcaq 1.1.9 → 1.1.10
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{ljX6O69y.js → -WSV_TU1.js} +1 -1
- package/.output/public/_nuxt/{DDNFAZ6A.js → 0U50G6dt.js} +1 -1
- package/.output/public/_nuxt/{Cgc3lXst.js → 0yW2dL-K.js} +1 -1
- package/.output/public/_nuxt/{DZJEpoYA.js → 1V1SIDI5.js} +1 -1
- package/.output/public/_nuxt/{CiGbpFVs.js → 24W1ftax.js} +1 -1
- package/.output/public/_nuxt/{Dcf3u1x9.js → 339BCoyy.js} +1 -1
- package/.output/public/_nuxt/{B6aTbrvX.js → 9PqzQzi0.js} +1 -1
- package/.output/public/_nuxt/{Cilp0euQ.js → 9Skr9Ccw.js} +1 -1
- package/.output/public/_nuxt/{BP23Jaxf.js → 9eKRx5AF.js} +1 -1
- package/.output/public/_nuxt/{CX2dGf8T.js → 9vfu7pKH.js} +1 -1
- package/.output/public/_nuxt/B79M7zD1.js +1 -0
- package/.output/public/_nuxt/{CAnZNTn6.js → BDw-ivE-.js} +1 -1
- package/.output/public/_nuxt/{Btu3pVWi.js → BFOjhnLA.js} +1 -1
- package/.output/public/_nuxt/{B-E4SrDA.js → BFYNB1ok.js} +1 -1
- package/.output/public/_nuxt/{DrfFcngk.js → BIBdWmGh.js} +1 -1
- package/.output/public/_nuxt/{CfglFxLQ.js → BIDVPCgr.js} +1 -1
- package/.output/public/_nuxt/{CT4V-SdE.js → BJMwGHo7.js} +1 -1
- package/.output/public/_nuxt/{B-OC4Wzf.js → BKh6DDUh.js} +1 -1
- package/.output/public/_nuxt/{CGlRJg9T.js → BLDVl9Iw.js} +1 -1
- package/.output/public/_nuxt/{DMhhDVL0.js → BNgGNFV2.js} +1 -1
- package/.output/public/_nuxt/{CjE9xodL.js → BP-G5cXp.js} +1 -1
- package/.output/public/_nuxt/{ImQ5Dcjp.js → BS966b0P.js} +1 -1
- package/.output/public/_nuxt/{BIYjBgOJ.js → B_Oy26qU.js} +1 -1
- package/.output/public/_nuxt/Bdou58NY.js +1 -0
- package/.output/public/_nuxt/{CHFYZcjC.js → BjfaOtB-.js} +1 -1
- package/.output/public/_nuxt/{Dpdssse1.js → BlngscFe.js} +1 -1
- package/.output/public/_nuxt/{DB45HoaN.js → BsXv3P9A.js} +1 -1
- package/.output/public/_nuxt/{DNL5Q-iy.js → Buh85F8i.js} +1 -1
- package/.output/public/_nuxt/{DYFx7Tau.js → Bvi2huT8.js} +1 -1
- package/.output/public/_nuxt/{W2el5otm.js → BxlUlYz1.js} +1 -1
- package/.output/public/_nuxt/{BqQfmS94.js → ByJGqBjE.js} +1 -1
- package/.output/public/_nuxt/{D8dLCNO1.js → C-M7J4rh.js} +1 -1
- package/.output/public/_nuxt/{DDgsZmht.js → C04-ICJx.js} +1 -1
- package/.output/public/_nuxt/{Ce00XEKL.js → C2Czrs1u.js} +1 -1
- package/.output/public/_nuxt/{C4zVAAUp.js → C5Feel6b.js} +1 -1
- package/.output/public/_nuxt/{jgZoykhT.js → CAVSZeVY.js} +1 -1
- package/.output/public/_nuxt/{BblWMS7J.js → CAcViJl9.js} +3 -3
- package/.output/public/_nuxt/{B2Wngdut.js → CBge6eLY.js} +1 -1
- package/.output/public/_nuxt/{lFU3Ma5J.js → CC8wYgAN.js} +1 -1
- package/.output/public/_nuxt/{yPPOBtqs.js → CEIpXOz0.js} +1 -1
- package/.output/public/_nuxt/CI85gLx4.js +1 -0
- package/.output/public/_nuxt/{CH3m0zKs.js → CJeCcjmd.js} +1 -1
- package/.output/public/_nuxt/{V_GiMERb.js → CJuYfiL1.js} +1 -1
- package/.output/public/_nuxt/{BWpduGRB.js → CNErkSjF.js} +1 -1
- package/.output/public/_nuxt/COII6plA.js +31 -0
- package/.output/public/_nuxt/{EzQMUIRl.js → CRCn6mdA.js} +1 -1
- package/.output/public/_nuxt/{w8sha2t6.js → CUtdecax.js} +1 -1
- package/.output/public/_nuxt/{CQi4GvAy.js → CYm7TuhP.js} +1 -1
- package/.output/public/_nuxt/{CM7fDldV.js → CbkolJXg.js} +1 -1
- package/.output/public/_nuxt/{DngnCd9Q.js → CeA2-eDW.js} +1 -1
- package/.output/public/_nuxt/CgY96xS_.js +1 -0
- package/.output/public/_nuxt/{BX-NC3FD.js → Ch9kUYU-.js} +1 -1
- package/.output/public/_nuxt/{DeGwWuWf.js → Ch_iEFHi.js} +1 -1
- package/.output/public/_nuxt/{D_dxq6Av.js → Co6sZiuo.js} +1 -1
- package/.output/public/_nuxt/{BlVXGJOG.js → Cu7zvuYQ.js} +1 -1
- package/.output/public/_nuxt/CwcaMelw.js +1 -0
- package/.output/public/_nuxt/{s10hyhzI.js → CxFAImHj.js} +1 -1
- package/.output/public/_nuxt/{DcIKg-oA.js → D-yya4MN.js} +29 -29
- package/.output/public/_nuxt/{CCwJzmTT.js → D0NZRXnm.js} +1 -1
- package/.output/public/_nuxt/{CB2XoHaK.js → D6XDbGbI.js} +1 -1
- package/.output/public/_nuxt/{DEBj_roB.js → D8JEzGOU.js} +1 -1
- package/.output/public/_nuxt/{DsHltPpv.js → D8wbEppA.js} +1 -1
- package/.output/public/_nuxt/{Dgh1FhxQ.js → D9h-2lVu.js} +1 -1
- package/.output/public/_nuxt/{B1ydsdXg.js → DANeHzIE.js} +1 -1
- package/.output/public/_nuxt/{C9JT2-RE.js → DBku6oAz.js} +1 -1
- package/.output/public/_nuxt/{BeMg7yb6.js → DDXEeq1n.js} +2 -2
- package/.output/public/_nuxt/DESxUB7o.js +1 -0
- package/.output/public/_nuxt/{CBy17iCN.js → DHG-KJyJ.js} +1 -1
- package/.output/public/_nuxt/DHXbNYui.js +1 -0
- package/.output/public/_nuxt/{bJGrilFb.js → DI0LPDTd.js} +1 -1
- package/.output/public/_nuxt/{RpDfSk0l.js → DKSZP8GP.js} +1 -1
- package/.output/public/_nuxt/{C1GKs4YV.js → DL1qmlP8.js} +1 -1
- package/.output/public/_nuxt/{mtBjWkj4.js → DN4-koTG.js} +1 -1
- package/.output/public/_nuxt/{Bc7Kpanq.js → DO1jmufl.js} +1 -1
- package/.output/public/_nuxt/{B9vFZSzU.js → DOuNj3Jn.js} +1 -1
- package/.output/public/_nuxt/{UowwUtRH.js → DPUO8R7l.js} +1 -1
- package/.output/public/_nuxt/{CSIDbD5d.js → DahDvheq.js} +1 -1
- package/.output/public/_nuxt/{D33qa5aT.js → DbHH7dzg.js} +1 -1
- package/.output/public/_nuxt/{DD6NieRw.js → DbehhcO7.js} +23 -23
- package/.output/public/_nuxt/{B-cBPXHS.js → DeTqfKUd.js} +1 -1
- package/.output/public/_nuxt/{C6ajLfO0.js → Df85byjM.js} +1 -1
- package/.output/public/_nuxt/{BY0VC_fp.js → DizXDCtS.js} +1 -1
- package/.output/public/_nuxt/{lPZuSUw2.js → DjKlFOO8.js} +1 -1
- package/.output/public/_nuxt/{CV3uHXW4.js → DjLd7E2v.js} +1 -1
- package/.output/public/_nuxt/{D0TQTmc_.js → DnBjpGBx.js} +1 -1
- package/.output/public/_nuxt/{BZOLz5Xw.js → DnQ4Mwo_.js} +1 -1
- package/.output/public/_nuxt/{RCyqQNC4.js → DqYakCiF.js} +1 -1
- package/.output/public/_nuxt/{BkHJ3kuB.js → DqunUhPG.js} +1 -1
- package/.output/public/_nuxt/{DdjYB9eX.js → Dr1ZFb1n.js} +1 -1
- package/.output/public/_nuxt/Dsis422h.js +1 -0
- package/.output/public/_nuxt/{BorA7uj6.js → Du_4PNZI.js} +1 -1
- package/.output/public/_nuxt/{BgFbw5aK.js → DvTZ16yM.js} +1 -1
- package/.output/public/_nuxt/{QZbgg6bx.js → Dvt9REJL.js} +1 -1
- package/.output/public/_nuxt/{DghZRCwT.js → DxMpy-ot.js} +1 -1
- package/.output/public/_nuxt/{CqwK0iC2.js → DyLnyCs4.js} +1 -1
- package/.output/public/_nuxt/{BcbezgEJ.js → FakvzamF.js} +1 -1
- package/.output/public/_nuxt/LcPL138_.js +1 -0
- package/.output/public/_nuxt/{C0kVUAwR.js → P7T0pdFZ.js} +1 -1
- package/.output/public/_nuxt/{CM4UzWO5.js → Rhi-lAfN.js} +1 -1
- package/.output/public/_nuxt/{CwEAH09c.js → S7ftI9sn.js} +1 -1
- package/.output/public/_nuxt/{C4fd0pgB.js → T01BrTsW.js} +1 -1
- package/.output/public/_nuxt/{CmROOZW3.js → WqpfmT0s.js} +1 -1
- package/.output/public/_nuxt/XhSVj1eQ.js +16 -0
- package/.output/public/_nuxt/{D6FGhPpz.js → _fXjN5Pd.js} +1 -1
- package/.output/public/_nuxt/{CvFBHqKj.js → agpUpIJe.js} +1 -1
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/39c2c89f-bb28-470e-b95a-b7776149dc9f.json +1 -0
- package/.output/public/_nuxt/{CsRqTS8p.js → dDyWVWO8.js} +1 -1
- package/.output/public/_nuxt/entry.BeX6Jkel.css +1 -0
- package/.output/public/_nuxt/{Ck7gJ0Ru.js → f6qCSD-K.js} +1 -1
- package/.output/public/_nuxt/{CRtMS55w.js → goG5gpyv.js} +1 -1
- package/.output/public/_nuxt/{B3ZoiMh5.js → hbGkF-4Z.js} +1 -1
- package/.output/public/_nuxt/{CkVRbNxk.js → jDSo3fNb.js} +1 -1
- package/.output/public/_nuxt/{CvrjITPr.js → k4d17TZz.js} +1 -1
- package/.output/public/_nuxt/{FrxNy5Hb.js → m4Dxzyfa.js} +2 -2
- package/.output/public/_nuxt/{Dzy2Amcc.js → ndyknmtb.js} +4 -4
- package/.output/public/_nuxt/{DuvFgQqu.js → vIV0z0PD.js} +1 -1
- package/.output/public/_nuxt/{DI-I25kb.js → wTs8ybMd.js} +1 -1
- package/.output/public/_nuxt/{Ds4LpS8e.js → ymlmmOzU.js} +1 -1
- package/.output/server/chunks/_/tables.factory.mjs +133 -43
- package/.output/server/chunks/_/tables.factory.mjs.map +1 -1
- package/.output/server/chunks/build/client.manifest.mjs +817 -806
- package/.output/server/chunks/build/client.manifest.mjs.map +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +701 -694
- package/.output/server/package.json +1 -1
- package/package.json +1 -1
- package/.output/public/_nuxt/B3jyHGmo.js +0 -1
- package/.output/public/_nuxt/BFxd7ZWZ.js +0 -1
- package/.output/public/_nuxt/BI0OYmAG.js +0 -1
- package/.output/public/_nuxt/BMwuBt1W.js +0 -1
- package/.output/public/_nuxt/Cv8aMucD.js +0 -31
- package/.output/public/_nuxt/DA2L1Ivx.js +0 -1
- package/.output/public/_nuxt/DBIf1geQ.js +0 -1
- package/.output/public/_nuxt/DX42Brjy.js +0 -1
- package/.output/public/_nuxt/DYBPW385.js +0 -1
- package/.output/public/_nuxt/builds/meta/657bdee4-fa56-4862-bc13-309345429302.json +0 -1
- package/.output/public/_nuxt/entry.CQwtqNMg.css +0 -1
- package/.output/public/_nuxt/ngeX9iiO.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as s,c as xt,l as E,d as q,ac as kt,ad as vt,ae as _t,af as bt,E as wt,ag as St,A as Et}from"./
|
|
1
|
+
import{_ as s,c as xt,l as E,d as q,ac as kt,ad as vt,ae as _t,af as bt,E as wt,ag as St,A as Et}from"./ndyknmtb.js";import{d as nt}from"./C2Czrs1u.js";import"./DbehhcO7.js";var X=function(){var n=s(function(f,r,a,h){for(a=a||{},h=f.length;h--;a[f[h]]=r);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],i=[1,11],d=[1,12],c=[1,13],g=[1,16],m=[1,17],p={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline: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,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",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",20:"period",21:"event"},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,1],[9,1],[18,1],[19,1]],performAction:s(function(r,a,h,u,y,o,S){var k=o.length-1;switch(y){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.getCommonDb().setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 15:u.addTask(o[k],0,""),this.$=o[k];break;case 16:u.addEvent(o[k].substr(2)),this.$=o[k];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:i,16:d,17:c,18:14,19:15,20:g,21:m},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:l,14:i,16:d,17:c,18:14,19:15,20:g,21:m},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:s(function(r,a){if(a.recoverable)this.trace(r);else{var h=new Error(r);throw h.hash=a,h}},"parseError"),parse:s(function(r){var a=this,h=[0],u=[],y=[null],o=[],S=this.table,k="",M=0,C=0,B=2,J=1,O=o.slice.call(arguments,1),v=Object.create(this.lexer),N={yy:{}};for(var L in this.yy)Object.prototype.hasOwnProperty.call(this.yy,L)&&(N.yy[L]=this.yy[L]);v.setInput(r,N.yy),N.yy.lexer=v,N.yy.parser=this,typeof v.yylloc>"u"&&(v.yylloc={});var b=v.yylloc;o.push(b);var $=v.options&&v.options.ranges;typeof N.yy.parseError=="function"?this.parseError=N.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function R(T){h.length=h.length-2*T,y.length=y.length-T,o.length=o.length-T}s(R,"popStack");function P(){var T;return T=u.pop()||v.lex()||J,typeof T!="number"&&(T instanceof Array&&(u=T,T=u.pop()),T=a.symbols_[T]||T),T}s(P,"lex");for(var w,A,I,K,z={},j,H,et,G;;){if(A=h[h.length-1],this.defaultActions[A]?I=this.defaultActions[A]:((w===null||typeof w>"u")&&(w=P()),I=S[A]&&S[A][w]),typeof I>"u"||!I.length||!I[0]){var Q="";G=[];for(j in S[A])this.terminals_[j]&&j>B&&G.push("'"+this.terminals_[j]+"'");v.showPosition?Q="Parse error on line "+(M+1)+`:
|
|
2
2
|
`+v.showPosition()+`
|
|
3
3
|
Expecting `+G.join(", ")+", got '"+(this.terminals_[w]||w)+"'":Q="Parse error on line "+(M+1)+": Unexpected "+(w==J?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(Q,{text:v.match,token:this.terminals_[w]||w,line:v.yylineno,loc:b,expected:G})}if(I[0]instanceof Array&&I.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+w);switch(I[0]){case 1:h.push(w),y.push(v.yytext),o.push(v.yylloc),h.push(I[1]),w=null,C=v.yyleng,k=v.yytext,M=v.yylineno,b=v.yylloc;break;case 2:if(H=this.productions_[I[1]][1],z.$=y[y.length-H],z._$={first_line:o[o.length-(H||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(H||1)].first_column,last_column:o[o.length-1].last_column},$&&(z._$.range=[o[o.length-(H||1)].range[0],o[o.length-1].range[1]]),K=this.performAction.apply(z,[k,C,M,N.yy,I[1],y,o].concat(O)),typeof K<"u")return K;H&&(h=h.slice(0,-1*H*2),y=y.slice(0,-1*H),o=o.slice(0,-1*H)),h.push(this.productions_[I[1]][0]),y.push(z.$),o.push(z._$),et=S[h[h.length-2]][h[h.length-1]],h.push(et);break;case 3:return!0}}return!0},"parse")},x=function(){var f={EOF:1,parseError:s(function(a,h){if(this.yy.parser)this.yy.parser.parseError(a,h);else throw new Error(a)},"parseError"),setInput:s(function(r,a){return this.yy=a||this.yy||{},this._input=r,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:s(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var a=r.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:s(function(r){var a=r.length,h=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var u=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),h.length-1&&(this.yylineno-=h.length-1);var y=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:h?(h.length===u.length?this.yylloc.first_column:0)+u[u.length-h.length].length-h[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:s(function(){return this._more=!0,this},"more"),reject:s(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:s(function(r){this.unput(this.match.slice(r))},"less"),pastInput:s(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s(function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as w,G as te,H as ae,L as he,e as ue,l as K,b5 as P,d as j,b as pe,a as fe,q as ge,t as me,g as ye,s as Se,I as ve,b6 as xe,A as be}from"./Dzy2Amcc.js";import{s as we}from"./CHFYZcjC.js";import{p as Ce}from"./DZJEpoYA.js";import{p as Te}from"./BcbezgEJ.js";import{b as O}from"./DX6XiGOO.js";import{o as J}from"./CmKTTxBW.js";import"./DD6NieRw.js";import"./Gi6I4Gst.js";function Le(t){var a=0,l=t.children,n=l&&l.length;if(!n)a=1;else for(;--n>=0;)a+=l[n].value;t.value=a}function $e(){return this.eachAfter(Le)}function Ae(t,a){let l=-1;for(const n of this)t.call(a,n,++l,this);return this}function Fe(t,a){for(var l=this,n=[l],o,s,d=-1;l=n.pop();)if(t.call(a,l,++d,this),o=l.children)for(s=o.length-1;s>=0;--s)n.push(o[s]);return this}function ke(t,a){for(var l=this,n=[l],o=[],s,d,h,g=-1;l=n.pop();)if(o.push(l),s=l.children)for(d=0,h=s.length;d<h;++d)n.push(s[d]);for(;l=o.pop();)t.call(a,l,++g,this);return this}function Ne(t,a){let l=-1;for(const n of this)if(t.call(a,n,++l,this))return n}function Me(t){return this.eachAfter(function(a){for(var l=+t(a.data)||0,n=a.children,o=n&&n.length;--o>=0;)l+=n[o].value;a.value=l})}function _e(t){return this.eachBefore(function(a){a.children&&a.children.sort(t)})}function ze(t){for(var a=this,l=Ve(a,t),n=[a];a!==l;)a=a.parent,n.push(a);for(var o=n.length;t!==l;)n.splice(o,0,t),t=t.parent;return n}function Ve(t,a){if(t===a)return t;var l=t.ancestors(),n=a.ancestors(),o=null;for(t=l.pop(),a=n.pop();t===a;)o=t,t=l.pop(),a=n.pop();return o}function De(){for(var t=this,a=[t];t=t.parent;)a.push(t);return a}function Pe(){return Array.from(this)}function Be(){var t=[];return this.eachBefore(function(a){a.children||t.push(a)}),t}function Re(){var t=this,a=[];return t.each(function(l){l!==t&&a.push({source:l.parent,target:l})}),a}function*Ee(){var t=this,a,l=[t],n,o,s;do for(a=l.reverse(),l=[];t=a.pop();)if(yield t,n=t.children)for(o=0,s=n.length;o<s;++o)l.push(n[o]);while(l.length)}function Q(t,a){t instanceof Map?(t=[void 0,t],a===void 0&&(a=Ie)):a===void 0&&(a=He);for(var l=new U(t),n,o=[l],s,d,h,g;n=o.pop();)if((d=a(n.data))&&(g=(d=Array.from(d)).length))for(n.children=d,h=g-1;h>=0;--h)o.push(s=d[h]=new U(d[h])),s.parent=n,s.depth=n.depth+1;return l.eachBefore(Ge)}function We(){return Q(this).eachBefore(Oe)}function He(t){return t.children}function Ie(t){return Array.isArray(t)?t[1]:null}function Oe(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function Ge(t){var a=0;do t.height=a;while((t=t.parent)&&t.height<++a)}function U(t){this.data=t,this.depth=this.height=0,this.parent=null}U.prototype=Q.prototype={constructor:U,count:$e,each:Ae,eachAfter:ke,eachBefore:Fe,find:Ne,sum:Me,sort:_e,path:ze,ancestors:De,descendants:Pe,leaves:Be,links:Re,copy:We,[Symbol.iterator]:Ee};function qe(t){if(typeof t!="function")throw new Error;return t}function G(){return 0}function q(t){return function(){return t}}function Xe(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function Ye(t,a,l,n,o){for(var s=t.children,d,h=-1,g=s.length,c=t.value&&(n-a)/t.value;++h<g;)d=s[h],d.y0=l,d.y1=o,d.x0=a,d.x1=a+=d.value*c}function je(t,a,l,n,o){for(var s=t.children,d,h=-1,g=s.length,c=t.value&&(o-l)/t.value;++h<g;)d=s[h],d.x0=a,d.x1=n,d.y0=l,d.y1=l+=d.value*c}var Ue=(1+Math.sqrt(5))/2;function Ze(t,a,l,n,o,s){for(var d=[],h=a.children,g,c,u=0,b=0,r=h.length,x,S,v=a.value,p,m,N,k,V,E,M;u<r;){x=o-l,S=s-n;do p=h[b++].value;while(!p&&b<r);for(m=N=p,E=Math.max(S/x,x/S)/(v*t),M=p*p*E,V=Math.max(N/M,M/m);b<r;++b){if(p+=c=h[b].value,c<m&&(m=c),c>N&&(N=c),M=p*p*E,k=Math.max(N/M,M/m),k>V){p-=c;break}V=k}d.push(g={value:p,dice:x<S,children:h.slice(u,b)}),g.dice?Ye(g,l,n,o,v?n+=S*p/v:s):je(g,l,n,v?l+=x*p/v:o,s),v-=p,u=b}return d}const Je=function t(a){function l(n,o,s,d,h){Ze(a,n,o,s,d,h)}return l.ratio=function(n){return t((n=+n)>1?n:1)},l}(Ue);function Ke(){var t=Je,a=!1,l=1,n=1,o=[0],s=G,d=G,h=G,g=G,c=G;function u(r){return r.x0=r.y0=0,r.x1=l,r.y1=n,r.eachBefore(b),o=[0],a&&r.eachBefore(Xe),r}function b(r){var x=o[r.depth],S=r.x0+x,v=r.y0+x,p=r.x1-x,m=r.y1-x;p<S&&(S=p=(S+p)/2),m<v&&(v=m=(v+m)/2),r.x0=S,r.y0=v,r.x1=p,r.y1=m,r.children&&(x=o[r.depth+1]=s(r)/2,S+=c(r)-x,v+=d(r)-x,p-=h(r)-x,m-=g(r)-x,p<S&&(S=p=(S+p)/2),m<v&&(v=m=(v+m)/2),t(r,S,v,p,m))}return u.round=function(r){return arguments.length?(a=!!r,u):a},u.size=function(r){return arguments.length?(l=+r[0],n=+r[1],u):[l,n]},u.tile=function(r){return arguments.length?(t=qe(r),u):t},u.padding=function(r){return arguments.length?u.paddingInner(r).paddingOuter(r):u.paddingInner()},u.paddingInner=function(r){return arguments.length?(s=typeof r=="function"?r:q(+r),u):s},u.paddingOuter=function(r){return arguments.length?u.paddingTop(r).paddingRight(r).paddingBottom(r).paddingLeft(r):u.paddingTop()},u.paddingTop=function(r){return arguments.length?(d=typeof r=="function"?r:q(+r),u):d},u.paddingRight=function(r){return arguments.length?(h=typeof r=="function"?r:q(+r),u):h},u.paddingBottom=function(r){return arguments.length?(g=typeof r=="function"?r:q(+r),u):g},u.paddingLeft=function(r){return arguments.length?(c=typeof r=="function"?r:q(+r),u):c},u}var R,ne=(R=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=pe,this.getAccTitle=fe,this.setDiagramTitle=ge,this.getDiagramTitle=me,this.getAccDescription=ye,this.setAccDescription=Se}getNodes(){return this.nodes}getConfig(){const a=ve,l=ae();return te({...a.treemap,...l.treemap??{}})}addNode(a,l){this.nodes.push(a),this.levels.set(a,l),l===0&&(this.outerNodes.push(a),this.root??(this.root=a))}getRoot(){return{name:"",children:this.outerNodes}}addClass(a,l){const n=this.classes.get(a)??{id:a,styles:[],textStyles:[]},o=l.replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");o&&o.forEach(s=>{xe(s)&&(n!=null&&n.textStyles?n.textStyles.push(s):n.textStyles=[s]),n!=null&&n.styles?n.styles.push(s):n.styles=[s]}),this.classes.set(a,n)}getClasses(){return this.classes}getStylesForClass(a){var l;return((l=this.classes.get(a))==null?void 0:l.styles)??[]}clear(){be(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}},w(R,"TreeMapDB"),R);function le(t){if(!t.length)return[];const a=[],l=[];return t.forEach(n=>{const o={name:n.name,children:n.type==="Leaf"?void 0:[]};for(o.classSelector=n==null?void 0:n.classSelector,n!=null&&n.cssCompiledStyles&&(o.cssCompiledStyles=n.cssCompiledStyles),n.type==="Leaf"&&n.value!==void 0&&(o.value=n.value);l.length>0&&l[l.length-1].level>=n.level;)l.pop();if(l.length===0)a.push(o);else{const s=l[l.length-1].node;s.children?s.children.push(o):s.children=[o]}n.type!=="Leaf"&&l.push({node:o,level:n.level})}),a}w(le,"buildHierarchy");var Qe=w((t,a)=>{Ce(t,a);const l=[];for(const s of t.TreemapRows??[])s.$type==="ClassDefStatement"&&a.addClass(s.className??"",s.styleText??"");for(const s of t.TreemapRows??[]){const d=s.item;if(!d)continue;const h=s.indent?parseInt(s.indent):0,g=et(d),c=d.classSelector?a.getStylesForClass(d.classSelector):[],u=c.length>0?c:void 0,b={level:h,name:g,type:d.$type,value:d.value,classSelector:d.classSelector,cssCompiledStyles:u};l.push(b)}const n=le(l),o=w((s,d)=>{for(const h of s)a.addNode(h,d),h.children&&h.children.length>0&&o(h.children,d+1)},"addNodesRecursively");o(n,0)},"populate"),et=w(t=>t.name?String(t.name):"","getItemName"),re={parser:{yy:void 0},parse:w(async t=>{var a;try{const n=await Te("treemap",t);K.debug("Treemap AST:",n);const o=(a=re.parser)==null?void 0:a.yy;if(!(o instanceof ne))throw new Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Qe(n,o)}catch(l){throw K.error("Error parsing treemap:",l),l}},"parse")},tt=10,B=10,X=25,at=w((t,a,l,n)=>{const o=n.db,s=o.getConfig(),d=s.padding??tt,h=o.getDiagramTitle(),g=o.getRoot(),{themeVariables:c}=ae();if(!g)return;const u=h?30:0,b=he(a),r=s.nodeWidth?s.nodeWidth*B:960,x=s.nodeHeight?s.nodeHeight*B:500,S=r,v=x+u;b.attr("viewBox",`0 0 ${S} ${v}`),ue(b,v,S,s.useMaxWidth);let p;try{const e=s.valueFormat||",";if(e==="$0,0")p=w(i=>"$"+O(",")(i),"valueFormat");else if(e.startsWith("$")&&e.includes(",")){const i=/\.\d+/.exec(e),f=i?i[0]:"";p=w(C=>"$"+O(","+f)(C),"valueFormat")}else if(e.startsWith("$")){const i=e.substring(1);p=w(f=>"$"+O(i||"")(f),"valueFormat")}else p=O(e)}catch(e){K.error("Error creating format function:",e),p=O(",")}const m=J().range(["transparent",c.cScale0,c.cScale1,c.cScale2,c.cScale3,c.cScale4,c.cScale5,c.cScale6,c.cScale7,c.cScale8,c.cScale9,c.cScale10,c.cScale11]),N=J().range(["transparent",c.cScalePeer0,c.cScalePeer1,c.cScalePeer2,c.cScalePeer3,c.cScalePeer4,c.cScalePeer5,c.cScalePeer6,c.cScalePeer7,c.cScalePeer8,c.cScalePeer9,c.cScalePeer10,c.cScalePeer11]),k=J().range([c.cScaleLabel0,c.cScaleLabel1,c.cScaleLabel2,c.cScaleLabel3,c.cScaleLabel4,c.cScaleLabel5,c.cScaleLabel6,c.cScaleLabel7,c.cScaleLabel8,c.cScaleLabel9,c.cScaleLabel10,c.cScaleLabel11]);h&&b.append("text").attr("x",S/2).attr("y",u/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(h);const V=b.append("g").attr("transform",`translate(0, ${u})`).attr("class","treemapContainer"),E=Q(g).sum(e=>e.value??0).sort((e,i)=>(i.value??0)-(e.value??0)),ee=Ke().size([r,x]).paddingTop(e=>e.children&&e.children.length>0?X+B:0).paddingInner(d).paddingLeft(e=>e.children&&e.children.length>0?B:0).paddingRight(e=>e.children&&e.children.length>0?B:0).paddingBottom(e=>e.children&&e.children.length>0?B:0).round(!0)(E),se=ee.descendants().filter(e=>e.children&&e.children.length>0),W=V.selectAll(".treemapSection").data(se).enter().append("g").attr("class","treemapSection").attr("transform",e=>`translate(${e.x0},${e.y0})`);W.append("rect").attr("width",e=>e.x1-e.x0).attr("height",X).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",.6).attr("stroke-width",.6).attr("style",e=>e.depth===0?"display: none;":""),W.append("clipPath").attr("id",(e,i)=>`clip-section-${a}-${i}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-12)).attr("height",X),W.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class",(e,i)=>`treemapSection section${i}`).attr("fill",e=>m(e.data.name)).attr("fill-opacity",.6).attr("stroke",e=>N(e.data.name)).attr("stroke-width",2).attr("stroke-opacity",.4).attr("style",e=>{if(e.depth===0)return"display: none;";const i=P({cssCompiledStyles:e.data.cssCompiledStyles});return i.nodeStyles+";"+i.borderStyles.join(";")}),W.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",X/2).attr("dominant-baseline","middle").text(e=>e.depth===0?"":e.data.name).attr("font-weight","bold").attr("style",e=>{if(e.depth===0)return"display: none;";const i="dominant-baseline: middle; font-size: 12px; fill:"+k(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",f=P({cssCompiledStyles:e.data.cssCompiledStyles});return i+f.labelStyles.replace("color:","fill:")}).each(function(e){if(e.depth===0)return;const i=j(this),f=e.data.name;i.text(f);const C=e.x1-e.x0,$=6;let A;s.showValues!==!1&&e.value?A=C-10-30-10-$:A=C-$-6;const F=Math.max(15,A),y=i.node();if(y.getComputedTextLength()>F){const T="...";let L=f;for(;L.length>0;){if(L=f.substring(0,L.length-1),L.length===0){i.text(T),y.getComputedTextLength()>F&&i.text("");break}if(i.text(L+T),y.getComputedTextLength()<=F)break}}}),s.showValues!==!1&&W.append("text").attr("class","treemapSectionValue").attr("x",e=>e.x1-e.x0-10).attr("y",X/2).attr("text-anchor","end").attr("dominant-baseline","middle").text(e=>e.value?p(e.value):"").attr("font-style","italic").attr("style",e=>{if(e.depth===0)return"display: none;";const i="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+k(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",f=P({cssCompiledStyles:e.data.cssCompiledStyles});return i+f.labelStyles.replace("color:","fill:")});const ie=ee.leaves(),Y=V.selectAll(".treemapLeafGroup").data(ie).enter().append("g").attr("class",(e,i)=>`treemapNode treemapLeafGroup leaf${i}${e.data.classSelector?` ${e.data.classSelector}`:""}x`).attr("transform",e=>`translate(${e.x0},${e.y0})`);Y.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class","treemapLeaf").attr("fill",e=>e.parent?m(e.parent.data.name):m(e.data.name)).attr("style",e=>P({cssCompiledStyles:e.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",.3).attr("stroke",e=>e.parent?m(e.parent.data.name):m(e.data.name)).attr("stroke-width",3),Y.append("clipPath").attr("id",(e,i)=>`clip-${a}-${i}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-4)).attr("height",e=>Math.max(0,e.y1-e.y0-4)),Y.append("text").attr("class","treemapLabel").attr("x",e=>(e.x1-e.x0)/2).attr("y",e=>(e.y1-e.y0)/2).attr("style",e=>{const i="text-anchor: middle; dominant-baseline: middle; font-size: 38px;fill:"+k(e.data.name)+";",f=P({cssCompiledStyles:e.data.cssCompiledStyles});return i+f.labelStyles.replace("color:","fill:")}).attr("clip-path",(e,i)=>`url(#clip-${a}-${i})`).text(e=>e.data.name).each(function(e){const i=j(this),f=e.x1-e.x0,C=e.y1-e.y0,$=i.node(),A=4,D=f-2*A,F=C-2*A;if(D<10||F<10){i.style("display","none");return}let y=parseInt(i.style("font-size"),10);const _=8,T=28,L=.6,z=6,H=2;for(;$.getComputedTextLength()>D&&y>_;)y--,i.style("font-size",`${y}px`);let I=Math.max(z,Math.min(T,Math.round(y*L))),Z=y+H+I;for(;Z>F&&y>_&&(y--,I=Math.max(z,Math.min(T,Math.round(y*L))),!(I<z&&y===_));)i.style("font-size",`${y}px`),Z=y+H+I;i.style("font-size",`${y}px`),($.getComputedTextLength()>D||y<_||F<y)&&i.style("display","none")}),s.showValues!==!1&&Y.append("text").attr("class","treemapValue").attr("x",i=>(i.x1-i.x0)/2).attr("y",function(i){return(i.y1-i.y0)/2}).attr("style",i=>{const f="text-anchor: middle; dominant-baseline: hanging; font-size: 28px;fill:"+k(i.data.name)+";",C=P({cssCompiledStyles:i.data.cssCompiledStyles});return f+C.labelStyles.replace("color:","fill:")}).attr("clip-path",(i,f)=>`url(#clip-${a}-${f})`).text(i=>i.value?p(i.value):"").each(function(i){const f=j(this),C=this.parentNode;if(!C){f.style("display","none");return}const $=j(C).select(".treemapLabel");if($.empty()||$.style("display")==="none"){f.style("display","none");return}const A=parseFloat($.style("font-size")),D=28,F=.6,y=6,_=2,T=Math.max(y,Math.min(D,Math.round(A*F)));f.style("font-size",`${T}px`);const z=(i.y1-i.y0)/2+A/2+_;f.attr("y",z);const H=i.x1-i.x0,ce=i.y1-i.y0-4,de=H-2*4;f.node().getComputedTextLength()>de||z+T>ce||T<y?f.style("display","none"):f.style("display",null)});const oe=s.diagramPadding??8;we(b,oe,"flowchart",(s==null?void 0:s.useMaxWidth)||!1)},"draw"),nt=w(function(t,a){return a.db.getClasses()},"getClasses"),lt={draw:at,getClasses:nt},rt={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelColor:"black",labelFontSize:"12px",valueFontSize:"10px",valueColor:"black",titleColor:"black",titleFontSize:"14px"},st=w(({treemap:t}={})=>{const a=te(rt,t);return`
|
|
1
|
+
import{_ as w,G as te,H as ae,L as he,e as ue,l as K,b5 as P,d as j,b as pe,a as fe,q as ge,t as me,g as ye,s as Se,I as ve,b6 as xe,A as be}from"./ndyknmtb.js";import{s as we}from"./BjfaOtB-.js";import{p as Ce}from"./1V1SIDI5.js";import{p as Te}from"./FakvzamF.js";import{b as O}from"./DX6XiGOO.js";import{o as J}from"./CmKTTxBW.js";import"./DbehhcO7.js";import"./Gi6I4Gst.js";function Le(t){var a=0,l=t.children,n=l&&l.length;if(!n)a=1;else for(;--n>=0;)a+=l[n].value;t.value=a}function $e(){return this.eachAfter(Le)}function Ae(t,a){let l=-1;for(const n of this)t.call(a,n,++l,this);return this}function Fe(t,a){for(var l=this,n=[l],o,s,d=-1;l=n.pop();)if(t.call(a,l,++d,this),o=l.children)for(s=o.length-1;s>=0;--s)n.push(o[s]);return this}function ke(t,a){for(var l=this,n=[l],o=[],s,d,h,g=-1;l=n.pop();)if(o.push(l),s=l.children)for(d=0,h=s.length;d<h;++d)n.push(s[d]);for(;l=o.pop();)t.call(a,l,++g,this);return this}function Ne(t,a){let l=-1;for(const n of this)if(t.call(a,n,++l,this))return n}function Me(t){return this.eachAfter(function(a){for(var l=+t(a.data)||0,n=a.children,o=n&&n.length;--o>=0;)l+=n[o].value;a.value=l})}function _e(t){return this.eachBefore(function(a){a.children&&a.children.sort(t)})}function ze(t){for(var a=this,l=Ve(a,t),n=[a];a!==l;)a=a.parent,n.push(a);for(var o=n.length;t!==l;)n.splice(o,0,t),t=t.parent;return n}function Ve(t,a){if(t===a)return t;var l=t.ancestors(),n=a.ancestors(),o=null;for(t=l.pop(),a=n.pop();t===a;)o=t,t=l.pop(),a=n.pop();return o}function De(){for(var t=this,a=[t];t=t.parent;)a.push(t);return a}function Pe(){return Array.from(this)}function Be(){var t=[];return this.eachBefore(function(a){a.children||t.push(a)}),t}function Re(){var t=this,a=[];return t.each(function(l){l!==t&&a.push({source:l.parent,target:l})}),a}function*Ee(){var t=this,a,l=[t],n,o,s;do for(a=l.reverse(),l=[];t=a.pop();)if(yield t,n=t.children)for(o=0,s=n.length;o<s;++o)l.push(n[o]);while(l.length)}function Q(t,a){t instanceof Map?(t=[void 0,t],a===void 0&&(a=Ie)):a===void 0&&(a=He);for(var l=new U(t),n,o=[l],s,d,h,g;n=o.pop();)if((d=a(n.data))&&(g=(d=Array.from(d)).length))for(n.children=d,h=g-1;h>=0;--h)o.push(s=d[h]=new U(d[h])),s.parent=n,s.depth=n.depth+1;return l.eachBefore(Ge)}function We(){return Q(this).eachBefore(Oe)}function He(t){return t.children}function Ie(t){return Array.isArray(t)?t[1]:null}function Oe(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function Ge(t){var a=0;do t.height=a;while((t=t.parent)&&t.height<++a)}function U(t){this.data=t,this.depth=this.height=0,this.parent=null}U.prototype=Q.prototype={constructor:U,count:$e,each:Ae,eachAfter:ke,eachBefore:Fe,find:Ne,sum:Me,sort:_e,path:ze,ancestors:De,descendants:Pe,leaves:Be,links:Re,copy:We,[Symbol.iterator]:Ee};function qe(t){if(typeof t!="function")throw new Error;return t}function G(){return 0}function q(t){return function(){return t}}function Xe(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function Ye(t,a,l,n,o){for(var s=t.children,d,h=-1,g=s.length,c=t.value&&(n-a)/t.value;++h<g;)d=s[h],d.y0=l,d.y1=o,d.x0=a,d.x1=a+=d.value*c}function je(t,a,l,n,o){for(var s=t.children,d,h=-1,g=s.length,c=t.value&&(o-l)/t.value;++h<g;)d=s[h],d.x0=a,d.x1=n,d.y0=l,d.y1=l+=d.value*c}var Ue=(1+Math.sqrt(5))/2;function Ze(t,a,l,n,o,s){for(var d=[],h=a.children,g,c,u=0,b=0,r=h.length,x,S,v=a.value,p,m,N,k,V,E,M;u<r;){x=o-l,S=s-n;do p=h[b++].value;while(!p&&b<r);for(m=N=p,E=Math.max(S/x,x/S)/(v*t),M=p*p*E,V=Math.max(N/M,M/m);b<r;++b){if(p+=c=h[b].value,c<m&&(m=c),c>N&&(N=c),M=p*p*E,k=Math.max(N/M,M/m),k>V){p-=c;break}V=k}d.push(g={value:p,dice:x<S,children:h.slice(u,b)}),g.dice?Ye(g,l,n,o,v?n+=S*p/v:s):je(g,l,n,v?l+=x*p/v:o,s),v-=p,u=b}return d}const Je=function t(a){function l(n,o,s,d,h){Ze(a,n,o,s,d,h)}return l.ratio=function(n){return t((n=+n)>1?n:1)},l}(Ue);function Ke(){var t=Je,a=!1,l=1,n=1,o=[0],s=G,d=G,h=G,g=G,c=G;function u(r){return r.x0=r.y0=0,r.x1=l,r.y1=n,r.eachBefore(b),o=[0],a&&r.eachBefore(Xe),r}function b(r){var x=o[r.depth],S=r.x0+x,v=r.y0+x,p=r.x1-x,m=r.y1-x;p<S&&(S=p=(S+p)/2),m<v&&(v=m=(v+m)/2),r.x0=S,r.y0=v,r.x1=p,r.y1=m,r.children&&(x=o[r.depth+1]=s(r)/2,S+=c(r)-x,v+=d(r)-x,p-=h(r)-x,m-=g(r)-x,p<S&&(S=p=(S+p)/2),m<v&&(v=m=(v+m)/2),t(r,S,v,p,m))}return u.round=function(r){return arguments.length?(a=!!r,u):a},u.size=function(r){return arguments.length?(l=+r[0],n=+r[1],u):[l,n]},u.tile=function(r){return arguments.length?(t=qe(r),u):t},u.padding=function(r){return arguments.length?u.paddingInner(r).paddingOuter(r):u.paddingInner()},u.paddingInner=function(r){return arguments.length?(s=typeof r=="function"?r:q(+r),u):s},u.paddingOuter=function(r){return arguments.length?u.paddingTop(r).paddingRight(r).paddingBottom(r).paddingLeft(r):u.paddingTop()},u.paddingTop=function(r){return arguments.length?(d=typeof r=="function"?r:q(+r),u):d},u.paddingRight=function(r){return arguments.length?(h=typeof r=="function"?r:q(+r),u):h},u.paddingBottom=function(r){return arguments.length?(g=typeof r=="function"?r:q(+r),u):g},u.paddingLeft=function(r){return arguments.length?(c=typeof r=="function"?r:q(+r),u):c},u}var R,ne=(R=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=pe,this.getAccTitle=fe,this.setDiagramTitle=ge,this.getDiagramTitle=me,this.getAccDescription=ye,this.setAccDescription=Se}getNodes(){return this.nodes}getConfig(){const a=ve,l=ae();return te({...a.treemap,...l.treemap??{}})}addNode(a,l){this.nodes.push(a),this.levels.set(a,l),l===0&&(this.outerNodes.push(a),this.root??(this.root=a))}getRoot(){return{name:"",children:this.outerNodes}}addClass(a,l){const n=this.classes.get(a)??{id:a,styles:[],textStyles:[]},o=l.replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");o&&o.forEach(s=>{xe(s)&&(n!=null&&n.textStyles?n.textStyles.push(s):n.textStyles=[s]),n!=null&&n.styles?n.styles.push(s):n.styles=[s]}),this.classes.set(a,n)}getClasses(){return this.classes}getStylesForClass(a){var l;return((l=this.classes.get(a))==null?void 0:l.styles)??[]}clear(){be(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}},w(R,"TreeMapDB"),R);function le(t){if(!t.length)return[];const a=[],l=[];return t.forEach(n=>{const o={name:n.name,children:n.type==="Leaf"?void 0:[]};for(o.classSelector=n==null?void 0:n.classSelector,n!=null&&n.cssCompiledStyles&&(o.cssCompiledStyles=n.cssCompiledStyles),n.type==="Leaf"&&n.value!==void 0&&(o.value=n.value);l.length>0&&l[l.length-1].level>=n.level;)l.pop();if(l.length===0)a.push(o);else{const s=l[l.length-1].node;s.children?s.children.push(o):s.children=[o]}n.type!=="Leaf"&&l.push({node:o,level:n.level})}),a}w(le,"buildHierarchy");var Qe=w((t,a)=>{Ce(t,a);const l=[];for(const s of t.TreemapRows??[])s.$type==="ClassDefStatement"&&a.addClass(s.className??"",s.styleText??"");for(const s of t.TreemapRows??[]){const d=s.item;if(!d)continue;const h=s.indent?parseInt(s.indent):0,g=et(d),c=d.classSelector?a.getStylesForClass(d.classSelector):[],u=c.length>0?c:void 0,b={level:h,name:g,type:d.$type,value:d.value,classSelector:d.classSelector,cssCompiledStyles:u};l.push(b)}const n=le(l),o=w((s,d)=>{for(const h of s)a.addNode(h,d),h.children&&h.children.length>0&&o(h.children,d+1)},"addNodesRecursively");o(n,0)},"populate"),et=w(t=>t.name?String(t.name):"","getItemName"),re={parser:{yy:void 0},parse:w(async t=>{var a;try{const n=await Te("treemap",t);K.debug("Treemap AST:",n);const o=(a=re.parser)==null?void 0:a.yy;if(!(o instanceof ne))throw new Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Qe(n,o)}catch(l){throw K.error("Error parsing treemap:",l),l}},"parse")},tt=10,B=10,X=25,at=w((t,a,l,n)=>{const o=n.db,s=o.getConfig(),d=s.padding??tt,h=o.getDiagramTitle(),g=o.getRoot(),{themeVariables:c}=ae();if(!g)return;const u=h?30:0,b=he(a),r=s.nodeWidth?s.nodeWidth*B:960,x=s.nodeHeight?s.nodeHeight*B:500,S=r,v=x+u;b.attr("viewBox",`0 0 ${S} ${v}`),ue(b,v,S,s.useMaxWidth);let p;try{const e=s.valueFormat||",";if(e==="$0,0")p=w(i=>"$"+O(",")(i),"valueFormat");else if(e.startsWith("$")&&e.includes(",")){const i=/\.\d+/.exec(e),f=i?i[0]:"";p=w(C=>"$"+O(","+f)(C),"valueFormat")}else if(e.startsWith("$")){const i=e.substring(1);p=w(f=>"$"+O(i||"")(f),"valueFormat")}else p=O(e)}catch(e){K.error("Error creating format function:",e),p=O(",")}const m=J().range(["transparent",c.cScale0,c.cScale1,c.cScale2,c.cScale3,c.cScale4,c.cScale5,c.cScale6,c.cScale7,c.cScale8,c.cScale9,c.cScale10,c.cScale11]),N=J().range(["transparent",c.cScalePeer0,c.cScalePeer1,c.cScalePeer2,c.cScalePeer3,c.cScalePeer4,c.cScalePeer5,c.cScalePeer6,c.cScalePeer7,c.cScalePeer8,c.cScalePeer9,c.cScalePeer10,c.cScalePeer11]),k=J().range([c.cScaleLabel0,c.cScaleLabel1,c.cScaleLabel2,c.cScaleLabel3,c.cScaleLabel4,c.cScaleLabel5,c.cScaleLabel6,c.cScaleLabel7,c.cScaleLabel8,c.cScaleLabel9,c.cScaleLabel10,c.cScaleLabel11]);h&&b.append("text").attr("x",S/2).attr("y",u/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(h);const V=b.append("g").attr("transform",`translate(0, ${u})`).attr("class","treemapContainer"),E=Q(g).sum(e=>e.value??0).sort((e,i)=>(i.value??0)-(e.value??0)),ee=Ke().size([r,x]).paddingTop(e=>e.children&&e.children.length>0?X+B:0).paddingInner(d).paddingLeft(e=>e.children&&e.children.length>0?B:0).paddingRight(e=>e.children&&e.children.length>0?B:0).paddingBottom(e=>e.children&&e.children.length>0?B:0).round(!0)(E),se=ee.descendants().filter(e=>e.children&&e.children.length>0),W=V.selectAll(".treemapSection").data(se).enter().append("g").attr("class","treemapSection").attr("transform",e=>`translate(${e.x0},${e.y0})`);W.append("rect").attr("width",e=>e.x1-e.x0).attr("height",X).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",.6).attr("stroke-width",.6).attr("style",e=>e.depth===0?"display: none;":""),W.append("clipPath").attr("id",(e,i)=>`clip-section-${a}-${i}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-12)).attr("height",X),W.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class",(e,i)=>`treemapSection section${i}`).attr("fill",e=>m(e.data.name)).attr("fill-opacity",.6).attr("stroke",e=>N(e.data.name)).attr("stroke-width",2).attr("stroke-opacity",.4).attr("style",e=>{if(e.depth===0)return"display: none;";const i=P({cssCompiledStyles:e.data.cssCompiledStyles});return i.nodeStyles+";"+i.borderStyles.join(";")}),W.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",X/2).attr("dominant-baseline","middle").text(e=>e.depth===0?"":e.data.name).attr("font-weight","bold").attr("style",e=>{if(e.depth===0)return"display: none;";const i="dominant-baseline: middle; font-size: 12px; fill:"+k(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",f=P({cssCompiledStyles:e.data.cssCompiledStyles});return i+f.labelStyles.replace("color:","fill:")}).each(function(e){if(e.depth===0)return;const i=j(this),f=e.data.name;i.text(f);const C=e.x1-e.x0,$=6;let A;s.showValues!==!1&&e.value?A=C-10-30-10-$:A=C-$-6;const F=Math.max(15,A),y=i.node();if(y.getComputedTextLength()>F){const T="...";let L=f;for(;L.length>0;){if(L=f.substring(0,L.length-1),L.length===0){i.text(T),y.getComputedTextLength()>F&&i.text("");break}if(i.text(L+T),y.getComputedTextLength()<=F)break}}}),s.showValues!==!1&&W.append("text").attr("class","treemapSectionValue").attr("x",e=>e.x1-e.x0-10).attr("y",X/2).attr("text-anchor","end").attr("dominant-baseline","middle").text(e=>e.value?p(e.value):"").attr("font-style","italic").attr("style",e=>{if(e.depth===0)return"display: none;";const i="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+k(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",f=P({cssCompiledStyles:e.data.cssCompiledStyles});return i+f.labelStyles.replace("color:","fill:")});const ie=ee.leaves(),Y=V.selectAll(".treemapLeafGroup").data(ie).enter().append("g").attr("class",(e,i)=>`treemapNode treemapLeafGroup leaf${i}${e.data.classSelector?` ${e.data.classSelector}`:""}x`).attr("transform",e=>`translate(${e.x0},${e.y0})`);Y.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class","treemapLeaf").attr("fill",e=>e.parent?m(e.parent.data.name):m(e.data.name)).attr("style",e=>P({cssCompiledStyles:e.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",.3).attr("stroke",e=>e.parent?m(e.parent.data.name):m(e.data.name)).attr("stroke-width",3),Y.append("clipPath").attr("id",(e,i)=>`clip-${a}-${i}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-4)).attr("height",e=>Math.max(0,e.y1-e.y0-4)),Y.append("text").attr("class","treemapLabel").attr("x",e=>(e.x1-e.x0)/2).attr("y",e=>(e.y1-e.y0)/2).attr("style",e=>{const i="text-anchor: middle; dominant-baseline: middle; font-size: 38px;fill:"+k(e.data.name)+";",f=P({cssCompiledStyles:e.data.cssCompiledStyles});return i+f.labelStyles.replace("color:","fill:")}).attr("clip-path",(e,i)=>`url(#clip-${a}-${i})`).text(e=>e.data.name).each(function(e){const i=j(this),f=e.x1-e.x0,C=e.y1-e.y0,$=i.node(),A=4,D=f-2*A,F=C-2*A;if(D<10||F<10){i.style("display","none");return}let y=parseInt(i.style("font-size"),10);const _=8,T=28,L=.6,z=6,H=2;for(;$.getComputedTextLength()>D&&y>_;)y--,i.style("font-size",`${y}px`);let I=Math.max(z,Math.min(T,Math.round(y*L))),Z=y+H+I;for(;Z>F&&y>_&&(y--,I=Math.max(z,Math.min(T,Math.round(y*L))),!(I<z&&y===_));)i.style("font-size",`${y}px`),Z=y+H+I;i.style("font-size",`${y}px`),($.getComputedTextLength()>D||y<_||F<y)&&i.style("display","none")}),s.showValues!==!1&&Y.append("text").attr("class","treemapValue").attr("x",i=>(i.x1-i.x0)/2).attr("y",function(i){return(i.y1-i.y0)/2}).attr("style",i=>{const f="text-anchor: middle; dominant-baseline: hanging; font-size: 28px;fill:"+k(i.data.name)+";",C=P({cssCompiledStyles:i.data.cssCompiledStyles});return f+C.labelStyles.replace("color:","fill:")}).attr("clip-path",(i,f)=>`url(#clip-${a}-${f})`).text(i=>i.value?p(i.value):"").each(function(i){const f=j(this),C=this.parentNode;if(!C){f.style("display","none");return}const $=j(C).select(".treemapLabel");if($.empty()||$.style("display")==="none"){f.style("display","none");return}const A=parseFloat($.style("font-size")),D=28,F=.6,y=6,_=2,T=Math.max(y,Math.min(D,Math.round(A*F)));f.style("font-size",`${T}px`);const z=(i.y1-i.y0)/2+A/2+_;f.attr("y",z);const H=i.x1-i.x0,ce=i.y1-i.y0-4,de=H-2*4;f.node().getComputedTextLength()>de||z+T>ce||T<y?f.style("display","none"):f.style("display",null)});const oe=s.diagramPadding??8;we(b,oe,"flowchart",(s==null?void 0:s.useMaxWidth)||!1)},"draw"),nt=w(function(t,a){return a.db.getClasses()},"getClasses"),lt={draw:at,getClasses:nt},rt={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelColor:"black",labelFontSize:"12px",valueFontSize:"10px",valueColor:"black",titleColor:"black",titleFontSize:"14px"},st=w(({treemap:t}={})=>{const a=te(rt,t);return`
|
|
2
2
|
.treemapNode.section {
|
|
3
3
|
stroke: ${a.sectionStrokeColor};
|
|
4
4
|
stroke-width: ${a.sectionStrokeWidth};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as r,c as t,o as s,a as o,e as n,_ as d,E as i,n as c}from"./
|
|
1
|
+
import{d as r,c as t,o as s,a as o,e as n,_ as d,E as i,n as c}from"./DbehhcO7.js";const p=r({__name:"BaseNotice",props:{variant:{default:"default"}},setup(l){return(e,m)=>{const a=d;return s(),t("div",{class:c(["flex items-start gap-2 rounded-lg border px-3 py-2 text-xxs text-muted-foreground",{"border-destructive/30 bg-destructive/5":e.variant==="destructive","border-muted bg-muted/40":e.variant==="secondary","border-primary/30 bg-primary/5":e.variant==="default"}])},[o(a,{name:"hugeicons:information-circle",class:"mt-0.5 size-4 shrink-0"}),n("span",null,[i(e.$slots,"default")])],2)}}});export{p as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as r,Z as m,i as p,c,q as a,u as o,a as u,e as l,o as t,_}from"./
|
|
1
|
+
import{d as r,Z as m,i as p,c,q as a,u as o,a as u,e as l,o as t,_}from"./DbehhcO7.js";import"./DqunUhPG.js";import{_ as d}from"./D8JEzGOU.js";import"./CxFAImHj.js";import"./DxMpy-ot.js";import"./agpUpIJe.js";import"./Co6sZiuo.js";import"./9Skr9Ccw.js";import"./DvTZ16yM.js";import"./CeA2-eDW.js";import"./DbHH7dzg.js";import"./C04-ICJx.js";import"./B5rxJs06.js";import"./DnQ4Mwo_.js";import"./jDSo3fNb.js";import"./DL1qmlP8.js";import"./BKh6DDUh.js";import"./BJMwGHo7.js";const f={class:"h-full"},x={key:0,class:"h-full p-4 flex flex-col items-center justify-center text-muted-foreground"},w=r({__name:"index",setup(k){const s=m(),e=p(()=>String(s.params.connectionId||""));return(h,n)=>{const i=_;return t(),c("div",f,[o(e)?(t(),a(o(d),{key:1,"source-connection-id":o(e)},null,8,["source-connection-id"])):(t(),c("div",x,[u(i,{name:"hugeicons:plug-socket",class:"size-12 mb-2 opacity-50"}),n[0]||(n[0]=l("p",{class:"text-sm"},"Select a connection to open Schema Diff",-1))]))])}}});export{w as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as Ie}from"./CM7fDldV.js";import{aI as Ne,aJ as Be,aK as Ce,aL as te,aM as ee,aN as Rt,aO as Oe,aP as Ae,aQ as re,aR as kt,aS as ae,aT as dt,aU as Re,aV as ze,aW as Me,aX as je,aY as Fe,aZ as Pe,a_ as We,_ as u,H as lt,d as O,e as Ye,l as v,A as Ke,C as He,c as j,a$ as Ue,a9 as Xe,aa as Ve,a6 as Ge,b0 as Y,az as Tt,b1 as st,at as $e,u as it,k as Ze,b2 as qe,i as zt,b3 as Mt,b4 as Je}from"./Dzy2Amcc.js";import{G as Qe}from"./qsFoMdT2.js";import{c as tr}from"./DX42Brjy.js";import"./DD6NieRw.js";function er(e,t){for(var a=-1,i=e==null?0:e.length;++a<i&&t(e[a],a,e)!==!1;);return e}function se(e){return Ce(e)?Ne(e):Be(e)}function rr(e,t){return e&&te(t,se(t),e)}function ar(e,t){for(var a=-1,i=e==null?0:e.length,c=0,s=[];++a<i;){var r=e[a];t(r,a,e)&&(s[c++]=r)}return s}function sr(){return[]}var ir=Object.prototype,nr=ir.propertyIsEnumerable,jt=Object.getOwnPropertySymbols,ie=jt?function(e){return e==null?[]:(e=Object(e),ar(jt(e),function(t){return nr.call(e,t)}))}:sr;function cr(e,t){return te(e,ie(e),t)}function lr(e,t){for(var a=-1,i=t.length,c=e.length;++a<i;)e[c+a]=t[a];return e}function or(e,t,a){var i=t(e);return ee(e)?i:lr(i,a(e))}function hr(e){return or(e,se,ie)}var gr=Object.prototype,ur=gr.hasOwnProperty;function dr(e){var t=e.length,a=new e.constructor(t);return t&&typeof e[0]=="string"&&ur.call(e,"index")&&(a.index=e.index,a.input=e.input),a}function pr(e,t){var a=e.buffer;return new e.constructor(a,e.byteOffset,e.byteLength)}var fr=/\w*$/;function yr(e){var t=new e.constructor(e.source,fr.exec(e));return t.lastIndex=e.lastIndex,t}var Ft=Rt?Rt.prototype:void 0,Pt=Ft?Ft.valueOf:void 0;function xr(e){return Pt?Object(Pt.call(e)):{}}var br="[object Boolean]",wr="[object Date]",mr="[object Map]",Sr="[object Number]",Lr="[object RegExp]",vr="[object Set]",Er="[object String]",_r="[object Symbol]",kr="[object ArrayBuffer]",Tr="[object DataView]",Dr="[object Float32Array]",Ir="[object Float64Array]",Nr="[object Int8Array]",Br="[object Int16Array]",Cr="[object Int32Array]",Or="[object Uint8Array]",Ar="[object Uint8ClampedArray]",Rr="[object Uint16Array]",zr="[object Uint32Array]";function Mr(e,t,a){var i=e.constructor;switch(t){case kr:return Ae(e);case br:case wr:return new i(+e);case Tr:return pr(e);case Dr:case Ir:case Nr:case Br:case Cr:case Or:case Ar:case Rr:case zr:return Oe(e,a);case mr:return new i;case Sr:case Er:return new i(e);case Lr:return yr(e);case vr:return new i;case _r:return xr(e)}}var jr="[object Map]";function Fr(e){return re(e)&&kt(e)==jr}var Wt=dt&&dt.isMap,Pr=Wt?ae(Wt):Fr,Wr="[object Set]";function Yr(e){return re(e)&&kt(e)==Wr}var Yt=dt&&dt.isSet,Kr=Yt?ae(Yt):Yr,Hr=1,ne="[object Arguments]",Ur="[object Array]",Xr="[object Boolean]",Vr="[object Date]",Gr="[object Error]",ce="[object Function]",$r="[object GeneratorFunction]",Zr="[object Map]",qr="[object Number]",le="[object Object]",Jr="[object RegExp]",Qr="[object Set]",ta="[object String]",ea="[object Symbol]",ra="[object WeakMap]",aa="[object ArrayBuffer]",sa="[object DataView]",ia="[object Float32Array]",na="[object Float64Array]",ca="[object Int8Array]",la="[object Int16Array]",oa="[object Int32Array]",ha="[object Uint8Array]",ga="[object Uint8ClampedArray]",ua="[object Uint16Array]",da="[object Uint32Array]",B={};B[ne]=B[Ur]=B[aa]=B[sa]=B[Xr]=B[Vr]=B[ia]=B[na]=B[ca]=B[la]=B[oa]=B[Zr]=B[qr]=B[le]=B[Jr]=B[Qr]=B[ta]=B[ea]=B[ha]=B[ga]=B[ua]=B[da]=!0;B[Gr]=B[ce]=B[ra]=!1;function gt(e,t,a,i,c,s){var r,n=t&Hr;if(r!==void 0)return r;if(!Re(e))return e;var l=ee(e);if(l)return r=dr(e),ze(e,r);var y=kt(e),h=y==ce||y==$r;if(Me(e))return je(e,n);if(y==le||y==ne||h&&!c)return r=h?{}:Fe(e),cr(e,rr(r,e));if(!B[y])return c?e:{};r=Mr(e,y,n),s||(s=new Pe);var f=s.get(e);if(f)return f;s.set(e,r),Kr(e)?e.forEach(function(w){r.add(gt(w,t,a,w,e,s))}):Pr(e)&&e.forEach(function(w,_){r.set(_,gt(w,t,a,_,e,s))});var m=hr,x=l?void 0:m(e);return er(x||e,function(w,_){x&&(_=w,w=e[_]),We(r,_,gt(w,t,a,_,e,s))}),r}var pa=4;function fa(e){return gt(e,pa)}var St=function(){var e=u(function(I,b,d,p){for(d=d||{},p=I.length;p--;d[I[p]]=b);return d},"o"),t=[1,15],a=[1,7],i=[1,13],c=[1,14],s=[1,19],r=[1,16],n=[1,17],l=[1,18],y=[8,30],h=[8,10,21,28,29,30,31,39,43,46],f=[1,23],m=[1,24],x=[8,10,15,16,21,28,29,30,31,39,43,46],w=[8,10,15,16,21,27,28,29,30,31,39,43,46],_=[1,49],S={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:u(function(b,d,p,L,E,o,k){var g=o.length-1;switch(E){case 4:L.getLogger().debug("Rule: separator (NL) ");break;case 5:L.getLogger().debug("Rule: separator (Space) ");break;case 6:L.getLogger().debug("Rule: separator (EOF) ");break;case 7:L.getLogger().debug("Rule: hierarchy: ",o[g-1]),L.setHierarchy(o[g-1]);break;case 8:L.getLogger().debug("Stop NL ");break;case 9:L.getLogger().debug("Stop EOF ");break;case 10:L.getLogger().debug("Stop NL2 ");break;case 11:L.getLogger().debug("Stop EOF2 ");break;case 12:L.getLogger().debug("Rule: statement: ",o[g]),typeof o[g].length=="number"?this.$=o[g]:this.$=[o[g]];break;case 13:L.getLogger().debug("Rule: statement #2: ",o[g-1]),this.$=[o[g-1]].concat(o[g]);break;case 14:L.getLogger().debug("Rule: link: ",o[g],b),this.$={edgeTypeStr:o[g],label:""};break;case 15:L.getLogger().debug("Rule: LABEL link: ",o[g-3],o[g-1],o[g]),this.$={edgeTypeStr:o[g],label:o[g-1]};break;case 18:const T=parseInt(o[g]),D=L.generateId();this.$={id:D,type:"space",label:"",width:T,children:[]};break;case 23:L.getLogger().debug("Rule: (nodeStatement link node) ",o[g-2],o[g-1],o[g]," typestr: ",o[g-1].edgeTypeStr);const H=L.edgeStrToEdgeData(o[g-1].edgeTypeStr);this.$=[{id:o[g-2].id,label:o[g-2].label,type:o[g-2].type,directions:o[g-2].directions},{id:o[g-2].id+"-"+o[g].id,start:o[g-2].id,end:o[g].id,label:o[g-1].label,type:"edge",directions:o[g].directions,arrowTypeEnd:H,arrowTypeStart:"arrow_open"},{id:o[g].id,label:o[g].label,type:L.typeStr2Type(o[g].typeStr),directions:o[g].directions}];break;case 24:L.getLogger().debug("Rule: nodeStatement (abc88 node size) ",o[g-1],o[g]),this.$={id:o[g-1].id,label:o[g-1].label,type:L.typeStr2Type(o[g-1].typeStr),directions:o[g-1].directions,widthInColumns:parseInt(o[g],10)};break;case 25:L.getLogger().debug("Rule: nodeStatement (node) ",o[g]),this.$={id:o[g].id,label:o[g].label,type:L.typeStr2Type(o[g].typeStr),directions:o[g].directions,widthInColumns:1};break;case 26:L.getLogger().debug("APA123",this?this:"na"),L.getLogger().debug("COLUMNS: ",o[g]),this.$={type:"column-setting",columns:o[g]==="auto"?-1:parseInt(o[g])};break;case 27:L.getLogger().debug("Rule: id-block statement : ",o[g-2],o[g-1]),L.generateId(),this.$={...o[g-2],type:"composite",children:o[g-1]};break;case 28:L.getLogger().debug("Rule: blockStatement : ",o[g-2],o[g-1],o[g]);const P=L.generateId();this.$={id:P,type:"composite",label:"",children:o[g-1]};break;case 29:L.getLogger().debug("Rule: node (NODE_ID separator): ",o[g]),this.$={id:o[g]};break;case 30:L.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",o[g-1],o[g]),this.$={id:o[g-1],label:o[g].label,typeStr:o[g].typeStr,directions:o[g].directions};break;case 31:L.getLogger().debug("Rule: dirList: ",o[g]),this.$=[o[g]];break;case 32:L.getLogger().debug("Rule: dirList: ",o[g-1],o[g]),this.$=[o[g-1]].concat(o[g]);break;case 33:L.getLogger().debug("Rule: nodeShapeNLabel: ",o[g-2],o[g-1],o[g]),this.$={typeStr:o[g-2]+o[g],label:o[g-1]};break;case 34:L.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",o[g-3],o[g-2]," #3:",o[g-1],o[g]),this.$={typeStr:o[g-3]+o[g],label:o[g-2],directions:o[g-1]};break;case 35:case 36:this.$={type:"classDef",id:o[g-1].trim(),css:o[g].trim()};break;case 37:this.$={type:"applyClass",id:o[g-1].trim(),styleClass:o[g].trim()};break;case 38:this.$={type:"applyStyles",id:o[g-1].trim(),stylesStr:o[g].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:t,11:3,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:i,29:c,31:s,39:r,43:n,46:l},{8:[1,20]},e(y,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:t,21:a,28:i,29:c,31:s,39:r,43:n,46:l}),e(h,[2,16],{14:22,15:f,16:m}),e(h,[2,17]),e(h,[2,18]),e(h,[2,19]),e(h,[2,20]),e(h,[2,21]),e(h,[2,22]),e(x,[2,25],{27:[1,25]}),e(h,[2,26]),{19:26,26:12,31:s},{10:t,11:27,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:i,29:c,31:s,39:r,43:n,46:l},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(w,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(y,[2,13]),{26:35,31:s},{31:[2,14]},{17:[1,36]},e(x,[2,24]),{10:t,11:37,13:4,14:22,15:f,16:m,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:i,29:c,31:s,39:r,43:n,46:l},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(w,[2,30]),{18:[1,43]},{18:[1,44]},e(x,[2,23]),{18:[1,45]},{30:[1,46]},e(h,[2,28]),e(h,[2,35]),e(h,[2,36]),e(h,[2,37]),e(h,[2,38]),{36:[1,47]},{33:48,34:_},{15:[1,50]},e(h,[2,27]),e(w,[2,33]),{38:[1,51]},{33:52,34:_,38:[2,31]},{31:[2,15]},e(w,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:u(function(b,d){if(d.recoverable)this.trace(b);else{var p=new Error(b);throw p.hash=d,p}},"parseError"),parse:u(function(b){var d=this,p=[0],L=[],E=[null],o=[],k=this.table,g="",T=0,D=0,H=2,P=1,Q=o.slice.call(arguments,1),R=Object.create(this.lexer),U={yy:{}};for(var rt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,rt)&&(U.yy[rt]=this.yy[rt]);R.setInput(b,U.yy),U.yy.lexer=R,U.yy.parser=this,typeof R.yylloc>"u"&&(R.yylloc={});var at=R.yylloc;o.push(at);var Te=R.options&&R.options.ranges;typeof U.yy.parseError=="function"?this.parseError=U.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function De(X){p.length=p.length-2*X,E.length=E.length-X,o.length=o.length-X}u(De,"popStack");function Ot(){var X;return X=L.pop()||R.lex()||P,typeof X!="number"&&(X instanceof Array&&(L=X,X=L.pop()),X=d.symbols_[X]||X),X}u(Ot,"lex");for(var K,tt,G,bt,et={},ot,J,At,ht;;){if(tt=p[p.length-1],this.defaultActions[tt]?G=this.defaultActions[tt]:((K===null||typeof K>"u")&&(K=Ot()),G=k[tt]&&k[tt][K]),typeof G>"u"||!G.length||!G[0]){var wt="";ht=[];for(ot in k[tt])this.terminals_[ot]&&ot>H&&ht.push("'"+this.terminals_[ot]+"'");R.showPosition?wt="Parse error on line "+(T+1)+`:
|
|
1
|
+
import{g as Ie}from"./CbkolJXg.js";import{aI as Ne,aJ as Be,aK as Ce,aL as te,aM as ee,aN as Rt,aO as Oe,aP as Ae,aQ as re,aR as kt,aS as ae,aT as dt,aU as Re,aV as ze,aW as Me,aX as je,aY as Fe,aZ as Pe,a_ as We,_ as u,H as lt,d as O,e as Ye,l as v,A as Ke,C as He,c as j,a$ as Ue,a9 as Xe,aa as Ve,a6 as Ge,b0 as Y,az as Tt,b1 as st,at as $e,u as it,k as Ze,b2 as qe,i as zt,b3 as Mt,b4 as Je}from"./ndyknmtb.js";import{G as Qe}from"./qsFoMdT2.js";import{c as tr}from"./CI85gLx4.js";import"./DbehhcO7.js";function er(e,t){for(var a=-1,i=e==null?0:e.length;++a<i&&t(e[a],a,e)!==!1;);return e}function se(e){return Ce(e)?Ne(e):Be(e)}function rr(e,t){return e&&te(t,se(t),e)}function ar(e,t){for(var a=-1,i=e==null?0:e.length,c=0,s=[];++a<i;){var r=e[a];t(r,a,e)&&(s[c++]=r)}return s}function sr(){return[]}var ir=Object.prototype,nr=ir.propertyIsEnumerable,jt=Object.getOwnPropertySymbols,ie=jt?function(e){return e==null?[]:(e=Object(e),ar(jt(e),function(t){return nr.call(e,t)}))}:sr;function cr(e,t){return te(e,ie(e),t)}function lr(e,t){for(var a=-1,i=t.length,c=e.length;++a<i;)e[c+a]=t[a];return e}function or(e,t,a){var i=t(e);return ee(e)?i:lr(i,a(e))}function hr(e){return or(e,se,ie)}var gr=Object.prototype,ur=gr.hasOwnProperty;function dr(e){var t=e.length,a=new e.constructor(t);return t&&typeof e[0]=="string"&&ur.call(e,"index")&&(a.index=e.index,a.input=e.input),a}function pr(e,t){var a=e.buffer;return new e.constructor(a,e.byteOffset,e.byteLength)}var fr=/\w*$/;function yr(e){var t=new e.constructor(e.source,fr.exec(e));return t.lastIndex=e.lastIndex,t}var Ft=Rt?Rt.prototype:void 0,Pt=Ft?Ft.valueOf:void 0;function xr(e){return Pt?Object(Pt.call(e)):{}}var br="[object Boolean]",wr="[object Date]",mr="[object Map]",Sr="[object Number]",Lr="[object RegExp]",vr="[object Set]",Er="[object String]",_r="[object Symbol]",kr="[object ArrayBuffer]",Tr="[object DataView]",Dr="[object Float32Array]",Ir="[object Float64Array]",Nr="[object Int8Array]",Br="[object Int16Array]",Cr="[object Int32Array]",Or="[object Uint8Array]",Ar="[object Uint8ClampedArray]",Rr="[object Uint16Array]",zr="[object Uint32Array]";function Mr(e,t,a){var i=e.constructor;switch(t){case kr:return Ae(e);case br:case wr:return new i(+e);case Tr:return pr(e);case Dr:case Ir:case Nr:case Br:case Cr:case Or:case Ar:case Rr:case zr:return Oe(e,a);case mr:return new i;case Sr:case Er:return new i(e);case Lr:return yr(e);case vr:return new i;case _r:return xr(e)}}var jr="[object Map]";function Fr(e){return re(e)&&kt(e)==jr}var Wt=dt&&dt.isMap,Pr=Wt?ae(Wt):Fr,Wr="[object Set]";function Yr(e){return re(e)&&kt(e)==Wr}var Yt=dt&&dt.isSet,Kr=Yt?ae(Yt):Yr,Hr=1,ne="[object Arguments]",Ur="[object Array]",Xr="[object Boolean]",Vr="[object Date]",Gr="[object Error]",ce="[object Function]",$r="[object GeneratorFunction]",Zr="[object Map]",qr="[object Number]",le="[object Object]",Jr="[object RegExp]",Qr="[object Set]",ta="[object String]",ea="[object Symbol]",ra="[object WeakMap]",aa="[object ArrayBuffer]",sa="[object DataView]",ia="[object Float32Array]",na="[object Float64Array]",ca="[object Int8Array]",la="[object Int16Array]",oa="[object Int32Array]",ha="[object Uint8Array]",ga="[object Uint8ClampedArray]",ua="[object Uint16Array]",da="[object Uint32Array]",B={};B[ne]=B[Ur]=B[aa]=B[sa]=B[Xr]=B[Vr]=B[ia]=B[na]=B[ca]=B[la]=B[oa]=B[Zr]=B[qr]=B[le]=B[Jr]=B[Qr]=B[ta]=B[ea]=B[ha]=B[ga]=B[ua]=B[da]=!0;B[Gr]=B[ce]=B[ra]=!1;function gt(e,t,a,i,c,s){var r,n=t&Hr;if(r!==void 0)return r;if(!Re(e))return e;var l=ee(e);if(l)return r=dr(e),ze(e,r);var y=kt(e),h=y==ce||y==$r;if(Me(e))return je(e,n);if(y==le||y==ne||h&&!c)return r=h?{}:Fe(e),cr(e,rr(r,e));if(!B[y])return c?e:{};r=Mr(e,y,n),s||(s=new Pe);var f=s.get(e);if(f)return f;s.set(e,r),Kr(e)?e.forEach(function(w){r.add(gt(w,t,a,w,e,s))}):Pr(e)&&e.forEach(function(w,_){r.set(_,gt(w,t,a,_,e,s))});var m=hr,x=l?void 0:m(e);return er(x||e,function(w,_){x&&(_=w,w=e[_]),We(r,_,gt(w,t,a,_,e,s))}),r}var pa=4;function fa(e){return gt(e,pa)}var St=function(){var e=u(function(I,b,d,p){for(d=d||{},p=I.length;p--;d[I[p]]=b);return d},"o"),t=[1,15],a=[1,7],i=[1,13],c=[1,14],s=[1,19],r=[1,16],n=[1,17],l=[1,18],y=[8,30],h=[8,10,21,28,29,30,31,39,43,46],f=[1,23],m=[1,24],x=[8,10,15,16,21,28,29,30,31,39,43,46],w=[8,10,15,16,21,27,28,29,30,31,39,43,46],_=[1,49],S={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:u(function(b,d,p,L,E,o,k){var g=o.length-1;switch(E){case 4:L.getLogger().debug("Rule: separator (NL) ");break;case 5:L.getLogger().debug("Rule: separator (Space) ");break;case 6:L.getLogger().debug("Rule: separator (EOF) ");break;case 7:L.getLogger().debug("Rule: hierarchy: ",o[g-1]),L.setHierarchy(o[g-1]);break;case 8:L.getLogger().debug("Stop NL ");break;case 9:L.getLogger().debug("Stop EOF ");break;case 10:L.getLogger().debug("Stop NL2 ");break;case 11:L.getLogger().debug("Stop EOF2 ");break;case 12:L.getLogger().debug("Rule: statement: ",o[g]),typeof o[g].length=="number"?this.$=o[g]:this.$=[o[g]];break;case 13:L.getLogger().debug("Rule: statement #2: ",o[g-1]),this.$=[o[g-1]].concat(o[g]);break;case 14:L.getLogger().debug("Rule: link: ",o[g],b),this.$={edgeTypeStr:o[g],label:""};break;case 15:L.getLogger().debug("Rule: LABEL link: ",o[g-3],o[g-1],o[g]),this.$={edgeTypeStr:o[g],label:o[g-1]};break;case 18:const T=parseInt(o[g]),D=L.generateId();this.$={id:D,type:"space",label:"",width:T,children:[]};break;case 23:L.getLogger().debug("Rule: (nodeStatement link node) ",o[g-2],o[g-1],o[g]," typestr: ",o[g-1].edgeTypeStr);const H=L.edgeStrToEdgeData(o[g-1].edgeTypeStr);this.$=[{id:o[g-2].id,label:o[g-2].label,type:o[g-2].type,directions:o[g-2].directions},{id:o[g-2].id+"-"+o[g].id,start:o[g-2].id,end:o[g].id,label:o[g-1].label,type:"edge",directions:o[g].directions,arrowTypeEnd:H,arrowTypeStart:"arrow_open"},{id:o[g].id,label:o[g].label,type:L.typeStr2Type(o[g].typeStr),directions:o[g].directions}];break;case 24:L.getLogger().debug("Rule: nodeStatement (abc88 node size) ",o[g-1],o[g]),this.$={id:o[g-1].id,label:o[g-1].label,type:L.typeStr2Type(o[g-1].typeStr),directions:o[g-1].directions,widthInColumns:parseInt(o[g],10)};break;case 25:L.getLogger().debug("Rule: nodeStatement (node) ",o[g]),this.$={id:o[g].id,label:o[g].label,type:L.typeStr2Type(o[g].typeStr),directions:o[g].directions,widthInColumns:1};break;case 26:L.getLogger().debug("APA123",this?this:"na"),L.getLogger().debug("COLUMNS: ",o[g]),this.$={type:"column-setting",columns:o[g]==="auto"?-1:parseInt(o[g])};break;case 27:L.getLogger().debug("Rule: id-block statement : ",o[g-2],o[g-1]),L.generateId(),this.$={...o[g-2],type:"composite",children:o[g-1]};break;case 28:L.getLogger().debug("Rule: blockStatement : ",o[g-2],o[g-1],o[g]);const P=L.generateId();this.$={id:P,type:"composite",label:"",children:o[g-1]};break;case 29:L.getLogger().debug("Rule: node (NODE_ID separator): ",o[g]),this.$={id:o[g]};break;case 30:L.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",o[g-1],o[g]),this.$={id:o[g-1],label:o[g].label,typeStr:o[g].typeStr,directions:o[g].directions};break;case 31:L.getLogger().debug("Rule: dirList: ",o[g]),this.$=[o[g]];break;case 32:L.getLogger().debug("Rule: dirList: ",o[g-1],o[g]),this.$=[o[g-1]].concat(o[g]);break;case 33:L.getLogger().debug("Rule: nodeShapeNLabel: ",o[g-2],o[g-1],o[g]),this.$={typeStr:o[g-2]+o[g],label:o[g-1]};break;case 34:L.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",o[g-3],o[g-2]," #3:",o[g-1],o[g]),this.$={typeStr:o[g-3]+o[g],label:o[g-2],directions:o[g-1]};break;case 35:case 36:this.$={type:"classDef",id:o[g-1].trim(),css:o[g].trim()};break;case 37:this.$={type:"applyClass",id:o[g-1].trim(),styleClass:o[g].trim()};break;case 38:this.$={type:"applyStyles",id:o[g-1].trim(),stylesStr:o[g].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:t,11:3,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:i,29:c,31:s,39:r,43:n,46:l},{8:[1,20]},e(y,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:t,21:a,28:i,29:c,31:s,39:r,43:n,46:l}),e(h,[2,16],{14:22,15:f,16:m}),e(h,[2,17]),e(h,[2,18]),e(h,[2,19]),e(h,[2,20]),e(h,[2,21]),e(h,[2,22]),e(x,[2,25],{27:[1,25]}),e(h,[2,26]),{19:26,26:12,31:s},{10:t,11:27,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:i,29:c,31:s,39:r,43:n,46:l},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(w,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(y,[2,13]),{26:35,31:s},{31:[2,14]},{17:[1,36]},e(x,[2,24]),{10:t,11:37,13:4,14:22,15:f,16:m,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:i,29:c,31:s,39:r,43:n,46:l},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(w,[2,30]),{18:[1,43]},{18:[1,44]},e(x,[2,23]),{18:[1,45]},{30:[1,46]},e(h,[2,28]),e(h,[2,35]),e(h,[2,36]),e(h,[2,37]),e(h,[2,38]),{36:[1,47]},{33:48,34:_},{15:[1,50]},e(h,[2,27]),e(w,[2,33]),{38:[1,51]},{33:52,34:_,38:[2,31]},{31:[2,15]},e(w,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:u(function(b,d){if(d.recoverable)this.trace(b);else{var p=new Error(b);throw p.hash=d,p}},"parseError"),parse:u(function(b){var d=this,p=[0],L=[],E=[null],o=[],k=this.table,g="",T=0,D=0,H=2,P=1,Q=o.slice.call(arguments,1),R=Object.create(this.lexer),U={yy:{}};for(var rt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,rt)&&(U.yy[rt]=this.yy[rt]);R.setInput(b,U.yy),U.yy.lexer=R,U.yy.parser=this,typeof R.yylloc>"u"&&(R.yylloc={});var at=R.yylloc;o.push(at);var Te=R.options&&R.options.ranges;typeof U.yy.parseError=="function"?this.parseError=U.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function De(X){p.length=p.length-2*X,E.length=E.length-X,o.length=o.length-X}u(De,"popStack");function Ot(){var X;return X=L.pop()||R.lex()||P,typeof X!="number"&&(X instanceof Array&&(L=X,X=L.pop()),X=d.symbols_[X]||X),X}u(Ot,"lex");for(var K,tt,G,bt,et={},ot,J,At,ht;;){if(tt=p[p.length-1],this.defaultActions[tt]?G=this.defaultActions[tt]:((K===null||typeof K>"u")&&(K=Ot()),G=k[tt]&&k[tt][K]),typeof G>"u"||!G.length||!G[0]){var wt="";ht=[];for(ot in k[tt])this.terminals_[ot]&&ot>H&&ht.push("'"+this.terminals_[ot]+"'");R.showPosition?wt="Parse error on line "+(T+1)+`:
|
|
2
2
|
`+R.showPosition()+`
|
|
3
3
|
Expecting `+ht.join(", ")+", got '"+(this.terminals_[K]||K)+"'":wt="Parse error on line "+(T+1)+": Unexpected "+(K==P?"end of input":"'"+(this.terminals_[K]||K)+"'"),this.parseError(wt,{text:R.match,token:this.terminals_[K]||K,line:R.yylineno,loc:at,expected:ht})}if(G[0]instanceof Array&&G.length>1)throw new Error("Parse Error: multiple actions possible at state: "+tt+", token: "+K);switch(G[0]){case 1:p.push(K),E.push(R.yytext),o.push(R.yylloc),p.push(G[1]),K=null,D=R.yyleng,g=R.yytext,T=R.yylineno,at=R.yylloc;break;case 2:if(J=this.productions_[G[1]][1],et.$=E[E.length-J],et._$={first_line:o[o.length-(J||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(J||1)].first_column,last_column:o[o.length-1].last_column},Te&&(et._$.range=[o[o.length-(J||1)].range[0],o[o.length-1].range[1]]),bt=this.performAction.apply(et,[g,D,T,U.yy,G[1],E,o].concat(Q)),typeof bt<"u")return bt;J&&(p=p.slice(0,-1*J*2),E=E.slice(0,-1*J),o=o.slice(0,-1*J)),p.push(this.productions_[G[1]][0]),E.push(et.$),o.push(et._$),At=k[p[p.length-2]][p[p.length-1]],p.push(At);break;case 3:return!0}}return!0},"parse")},C=function(){var I={EOF:1,parseError:u(function(d,p){if(this.yy.parser)this.yy.parser.parseError(d,p);else throw new Error(d)},"parseError"),setInput:u(function(b,d){return this.yy=d||this.yy||{},this._input=b,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:u(function(){var b=this._input[0];this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b;var d=b.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),b},"input"),unput:u(function(b){var d=b.length,p=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var L=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),p.length-1&&(this.yylineno-=p.length-1);var E=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:p?(p.length===L.length?this.yylloc.first_column:0)+L[L.length-p.length].length-p[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:u(function(){return this._more=!0,this},"more"),reject:u(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:u(function(b){this.unput(this.match.slice(b))},"less"),pastInput:u(function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:u(function(){var b=this.match;return b.length<20&&(b+=this._input.substr(0,20-b.length)),(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:u(function(){var b=this.pastInput(),d=new Array(b.length+1).join("-");return b+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as b,aj as T,ak as x,aa as $,a0 as C,q as h,o as y,w as v,E as g,u as e,ab as q,al as A,r as u,i as O,am as D,an as F,ao as I,a as M,s as E,b as H,ap as P,aq as V}from"./
|
|
1
|
+
import{d as b,aj as T,ak as x,aa as $,a0 as C,q as h,o as y,w as v,E as g,u as e,ab as q,al as A,r as u,i as O,am as D,an as F,ao as I,a as M,s as E,b as H,ap as P,aq as V}from"./DbehhcO7.js";const[w,j]=$("CollapsibleRoot");var S=b({__name:"CollapsibleRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["update:open"],setup(i,{expose:d,emit:s}){const o=i,n=T(o,"open",s,{defaultValue:o.defaultOpen,passive:o.open===void 0}),{disabled:l,unmountOnHide:p}=x(o);return j({contentId:"",disabled:l,open:n,unmountOnHide:p,onOpenToggle:()=>{l.value||(n.value=!n.value)}}),d({open:n}),C(),(r,f)=>(y(),h(e(q),{as:r.as,"as-child":o.asChild,"data-state":e(n)?"open":"closed","data-disabled":e(l)?"":void 0},{default:v(()=>[g(r.$slots,"default",{open:e(n)})]),_:3},8,["as","as-child","data-state","data-disabled"]))}}),J=S,L=b({inheritAttrs:!1,__name:"CollapsibleContent",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["contentFound"],setup(i,{emit:d}){const s=i,o=d,t=w();t.contentId||(t.contentId=A(void 0,"reka-collapsible-content"));const n=u(),{forwardRef:l,currentElement:p}=C(),r=u(0),f=u(0),k=O(()=>t.open.value),m=u(k.value),c=u();D(()=>{var a;return[k.value,(a=n.value)==null?void 0:a.present]},async()=>{await V();const a=p.value;if(!a)return;c.value=c.value||{transitionDuration:a.style.transitionDuration,animationName:a.style.animationName},a.style.transitionDuration="0s",a.style.animationName="none";const _=a.getBoundingClientRect();f.value=_.height,r.value=_.width,m.value||(a.style.transitionDuration=c.value.transitionDuration,a.style.animationName=c.value.animationName)},{immediate:!0});const N=O(()=>m.value&&t.open.value);return F(()=>{requestAnimationFrame(()=>{m.value=!1})}),I(p,"beforematch",a=>{requestAnimationFrame(()=>{t.onOpenToggle(),o("contentFound")})}),(a,_)=>(y(),h(e(P),{ref_key:"presentRef",ref:n,present:a.forceMount||e(t).open.value,"force-mount":!0},{default:v(({present:B})=>{var R;return[M(e(q),E(a.$attrs,{id:e(t).contentId,ref:e(l),"as-child":s.asChild,as:a.as,hidden:B?void 0:e(t).unmountOnHide.value?"":"until-found","data-state":N.value?void 0:e(t).open.value?"open":"closed","data-disabled":(R=e(t).disabled)!=null&&R.value?"":void 0,style:{"--reka-collapsible-content-height":`${f.value}px`,"--reka-collapsible-content-width":`${r.value}px`}}),{default:v(()=>[!e(t).unmountOnHide.value||B?g(a.$slots,"default",{key:0}):H("v-if",!0)]),_:2},1040,["id","as-child","as","hidden","data-state","data-disabled","style"])]}),_:3},8,["present"]))}}),K=L,z=b({__name:"CollapsibleTrigger",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(i){const d=i;C();const s=w();return(o,t)=>{var n,l;return y(),h(e(q),{type:o.as==="button"?"button":void 0,as:o.as,"as-child":d.asChild,"aria-controls":e(s).contentId,"aria-expanded":e(s).open.value,"data-state":e(s).open.value?"open":"closed","data-disabled":(n=e(s).disabled)!=null&&n.value?"":void 0,disabled:(l=e(s).disabled)==null?void 0:l.value,onClick:e(s).onOpenToggle},{default:v(()=>[g(o.$slots,"default")]),_:3},8,["type","as","as-child","aria-controls","aria-expanded","data-state","data-disabled","disabled","onClick"])}}}),Q=z;export{J as C,K as a,Q as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as ln,N as an,O as Y,P as O,Q,R as un,S as y,T as tn,V as j,W as _,X as rn,Y as o,Z as sn,$ as on,a0 as fn}from"./
|
|
1
|
+
import{M as ln,N as an,O as Y,P as O,Q,R as un,S as y,T as tn,V as j,W as _,X as rn,Y as o,Z as sn,$ as on,a0 as fn}from"./ndyknmtb.js";function cn(l){return l.innerRadius}function yn(l){return l.outerRadius}function gn(l){return l.startAngle}function dn(l){return l.endAngle}function mn(l){return l&&l.padAngle}function pn(l,h,D,S,v,R,V,a){var E=D-l,i=S-h,n=V-v,d=a-R,u=d*E-n*i;if(!(u*u<y))return u=(n*(h-R)-d*(l-v))/u,[l+u*E,h+u*i]}function H(l,h,D,S,v,R,V){var a=l-D,E=h-S,i=(V?R:-R)/j(a*a+E*E),n=i*E,d=-i*a,u=l+n,s=h+d,f=D+n,c=S+d,W=(u+f)/2,t=(s+c)/2,m=f-u,g=c-s,A=m*m+g*g,T=v-R,P=u*c-f*s,I=(g<0?-1:1)*j(on(0,T*T*A-P*P)),M=(P*g-m*I)/A,N=(-P*m-g*I)/A,w=(P*g+m*I)/A,p=(-P*m+g*I)/A,x=M-W,e=N-t,r=w-W,X=p-t;return x*x+e*e>r*r+X*X&&(M=w,N=p),{cx:M,cy:N,x01:-n,y01:-d,x11:M*(v/T-1),y11:N*(v/T-1)}}function hn(){var l=cn,h=yn,D=Q(0),S=null,v=gn,R=dn,V=mn,a=null,E=ln(i);function i(){var n,d,u=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-un,c=R.apply(this,arguments)-un,W=rn(c-f),t=c>f;if(a||(a=n=E()),s<u&&(d=s,s=u,u=d),!(s>y))a.moveTo(0,0);else if(W>tn-y)a.moveTo(s*Y(f),s*O(f)),a.arc(0,0,s,f,c,!t),u>y&&(a.moveTo(u*Y(c),u*O(c)),a.arc(0,0,u,c,f,t));else{var m=f,g=c,A=f,T=c,P=W,I=W,M=V.apply(this,arguments)/2,N=M>y&&(S?+S.apply(this,arguments):j(u*u+s*s)),w=_(rn(s-u)/2,+D.apply(this,arguments)),p=w,x=w,e,r;if(N>y){var X=sn(N/u*O(M)),z=sn(N/s*O(M));(P-=X*2)>y?(X*=t?1:-1,A+=X,T-=X):(P=0,A=T=(f+c)/2),(I-=z*2)>y?(z*=t?1:-1,m+=z,g-=z):(I=0,m=g=(f+c)/2)}var Z=s*Y(m),$=s*O(m),B=u*Y(T),C=u*O(T);if(w>y){var F=s*Y(g),G=s*O(g),J=u*Y(A),K=u*O(A),q;if(W<an)if(q=pn(Z,$,J,K,F,G,B,C)){var L=Z-q[0],U=$-q[1],k=F-q[0],b=G-q[1],nn=1/O(fn((L*k+U*b)/(j(L*L+U*U)*j(k*k+b*b)))/2),en=j(q[0]*q[0]+q[1]*q[1]);p=_(w,(u-en)/(nn-1)),x=_(w,(s-en)/(nn+1))}else p=x=0}I>y?x>y?(e=H(J,K,Z,$,s,x,t),r=H(F,G,B,C,s,x,t),a.moveTo(e.cx+e.x01,e.cy+e.y01),x<w?a.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(r.y01,r.x01),!t):(a.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(e.y11,e.x11),!t),a.arc(0,0,s,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),!t),a.arc(r.cx,r.cy,x,o(r.y11,r.x11),o(r.y01,r.x01),!t))):(a.moveTo(Z,$),a.arc(0,0,s,m,g,!t)):a.moveTo(Z,$),!(u>y)||!(P>y)?a.lineTo(B,C):p>y?(e=H(B,C,F,G,u,-p,t),r=H(Z,$,J,K,u,-p,t),a.lineTo(e.cx+e.x01,e.cy+e.y01),p<w?a.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(r.y01,r.x01),!t):(a.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(e.y11,e.x11),!t),a.arc(0,0,u,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),t),a.arc(r.cx,r.cy,p,o(r.y11,r.x11),o(r.y01,r.x01),!t))):a.arc(0,0,u,T,A,t)}if(a.closePath(),n)return a=null,n+""||null}return i.centroid=function(){var n=(+l.apply(this,arguments)+ +h.apply(this,arguments))/2,d=(+v.apply(this,arguments)+ +R.apply(this,arguments))/2-an/2;return[Y(d)*n,O(d)*n]},i.innerRadius=function(n){return arguments.length?(l=typeof n=="function"?n:Q(+n),i):l},i.outerRadius=function(n){return arguments.length?(h=typeof n=="function"?n:Q(+n),i):h},i.cornerRadius=function(n){return arguments.length?(D=typeof n=="function"?n:Q(+n),i):D},i.padRadius=function(n){return arguments.length?(S=n==null?null:typeof n=="function"?n:Q(+n),i):S},i.startAngle=function(n){return arguments.length?(v=typeof n=="function"?n:Q(+n),i):v},i.endAngle=function(n){return arguments.length?(R=typeof n=="function"?n:Q(+n),i):R},i.padAngle=function(n){return arguments.length?(V=typeof n=="function"?n:Q(+n),i):V},i.context=function(n){return arguments.length?(a=n??null,i):a},i}export{hn as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as le}from"./
|
|
1
|
+
import{g as le}from"./BDw-ivE-.js";import{s as he}from"./BjfaOtB-.js";import{_ as l,l as C,p as de,r as ge,I as j,c as X,i as F,ay as ue,ad as pe,ae as fe,af as ye}from"./ndyknmtb.js";import"./DbehhcO7.js";const E=[];for(let t=0;t<256;++t)E.push((t+256).toString(16).slice(1));function me(t,e=0){return(E[t[e+0]]+E[t[e+1]]+E[t[e+2]]+E[t[e+3]]+"-"+E[t[e+4]]+E[t[e+5]]+"-"+E[t[e+6]]+E[t[e+7]]+"-"+E[t[e+8]]+E[t[e+9]]+"-"+E[t[e+10]]+E[t[e+11]]+E[t[e+12]]+E[t[e+13]]+E[t[e+14]]+E[t[e+15]]).toLowerCase()}let Y;const Ee=new Uint8Array(16);function _e(){if(!Y){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Y=crypto.getRandomValues.bind(crypto)}return Y(Ee)}const be=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),ne={randomUUID:be};function Se(t,e,n){var u;if(ne.randomUUID&&!t)return ne.randomUUID();t=t||{};const c=t.random??((u=t.rng)==null?void 0:u.call(t))??_e();if(c.length<16)throw new Error("Random bytes length must be >= 16");return c[6]=c[6]&15|64,c[8]=c[8]&63|128,me(c)}var q=function(){var t=l(function(v,s,i,a){for(i=i||{},a=v.length;a--;i[v[a]]=s);return i},"o"),e=[1,4],n=[1,13],c=[1,12],u=[1,15],h=[1,16],p=[1,20],y=[1,19],_=[6,7,8],b=[1,26],m=[1,24],w=[1,25],N=[6,7,11],J=[1,6,13,15,16,19,22],K=[1,33],Q=[1,34],A=[1,6,7,11,13,15,16,19,22],G={trace:l(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:l(function(s,i,a,o,g,r,U){var d=r.length-1;switch(g){case 6:case 7:return o;case 8:o.getLogger().trace("Stop NL ");break;case 9:o.getLogger().trace("Stop EOF ");break;case 11:o.getLogger().trace("Stop NL2 ");break;case 12:o.getLogger().trace("Stop EOF2 ");break;case 15:o.getLogger().info("Node: ",r[d].id),o.addNode(r[d-1].length,r[d].id,r[d].descr,r[d].type);break;case 16:o.getLogger().trace("Icon: ",r[d]),o.decorateNode({icon:r[d]});break;case 17:case 21:o.decorateNode({class:r[d]});break;case 18:o.getLogger().trace("SPACELIST");break;case 19:o.getLogger().trace("Node: ",r[d].id),o.addNode(0,r[d].id,r[d].descr,r[d].type);break;case 20:o.decorateNode({icon:r[d]});break;case 25:o.getLogger().trace("node found ..",r[d-2]),this.$={id:r[d-1],descr:r[d-1],type:o.getType(r[d-2],r[d])};break;case 26:this.$={id:r[d],descr:r[d],type:o.nodeType.DEFAULT};break;case 27:o.getLogger().trace("node found ..",r[d-3]),this.$={id:r[d-3],descr:r[d-1],type:o.getType(r[d-2],r[d])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:e},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:e},{6:n,7:[1,10],9:9,12:11,13:c,14:14,15:u,16:h,17:17,18:18,19:p,22:y},t(_,[2,3]),{1:[2,2]},t(_,[2,4]),t(_,[2,5]),{1:[2,6],6:n,12:21,13:c,14:14,15:u,16:h,17:17,18:18,19:p,22:y},{6:n,9:22,12:11,13:c,14:14,15:u,16:h,17:17,18:18,19:p,22:y},{6:b,7:m,10:23,11:w},t(N,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:p,22:y}),t(N,[2,18]),t(N,[2,19]),t(N,[2,20]),t(N,[2,21]),t(N,[2,23]),t(N,[2,24]),t(N,[2,26],{19:[1,30]}),{20:[1,31]},{6:b,7:m,10:32,11:w},{1:[2,7],6:n,12:21,13:c,14:14,15:u,16:h,17:17,18:18,19:p,22:y},t(J,[2,14],{7:K,11:Q}),t(A,[2,8]),t(A,[2,9]),t(A,[2,10]),t(N,[2,15]),t(N,[2,16]),t(N,[2,17]),{20:[1,35]},{21:[1,36]},t(J,[2,13],{7:K,11:Q}),t(A,[2,11]),t(A,[2,12]),{21:[1,37]},t(N,[2,25]),t(N,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:l(function(s,i){if(i.recoverable)this.trace(s);else{var a=new Error(s);throw a.hash=i,a}},"parseError"),parse:l(function(s){var i=this,a=[0],o=[],g=[null],r=[],U=this.table,d="",M=0,Z=0,re=2,ee=1,ae=r.slice.call(arguments,1),f=Object.create(this.lexer),T={yy:{}};for(var H in this.yy)Object.prototype.hasOwnProperty.call(this.yy,H)&&(T.yy[H]=this.yy[H]);f.setInput(s,T.yy),T.yy.lexer=f,T.yy.parser=this,typeof f.yylloc>"u"&&(f.yylloc={});var $=f.yylloc;r.push($);var oe=f.options&&f.options.ranges;typeof T.yy.parseError=="function"?this.parseError=T.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ce(D){a.length=a.length-2*D,g.length=g.length-D,r.length=r.length-D}l(ce,"popStack");function te(){var D;return D=o.pop()||f.lex()||ee,typeof D!="number"&&(D instanceof Array&&(o=D,D=o.pop()),D=i.symbols_[D]||D),D}l(te,"lex");for(var S,O,k,z,I={},V,L,ie,B;;){if(O=a[a.length-1],this.defaultActions[O]?k=this.defaultActions[O]:((S===null||typeof S>"u")&&(S=te()),k=U[O]&&U[O][S]),typeof k>"u"||!k.length||!k[0]){var W="";B=[];for(V in U[O])this.terminals_[V]&&V>re&&B.push("'"+this.terminals_[V]+"'");f.showPosition?W="Parse error on line "+(M+1)+`:
|
|
2
2
|
`+f.showPosition()+`
|
|
3
3
|
Expecting `+B.join(", ")+", got '"+(this.terminals_[S]||S)+"'":W="Parse error on line "+(M+1)+": Unexpected "+(S==ee?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(W,{text:f.match,token:this.terminals_[S]||S,line:f.yylineno,loc:$,expected:B})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+O+", token: "+S);switch(k[0]){case 1:a.push(S),g.push(f.yytext),r.push(f.yylloc),a.push(k[1]),S=null,Z=f.yyleng,d=f.yytext,M=f.yylineno,$=f.yylloc;break;case 2:if(L=this.productions_[k[1]][1],I.$=g[g.length-L],I._$={first_line:r[r.length-(L||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(L||1)].first_column,last_column:r[r.length-1].last_column},oe&&(I._$.range=[r[r.length-(L||1)].range[0],r[r.length-1].range[1]]),z=this.performAction.apply(I,[d,Z,M,T.yy,k[1],g,r].concat(ae)),typeof z<"u")return z;L&&(a=a.slice(0,-1*L*2),g=g.slice(0,-1*L),r=r.slice(0,-1*L)),a.push(this.productions_[k[1]][0]),g.push(I.$),r.push(I._$),ie=U[a[a.length-2]][a[a.length-1]],a.push(ie);break;case 3:return!0}}return!0},"parse")},se=function(){var v={EOF:1,parseError:l(function(i,a){if(this.yy.parser)this.yy.parser.parseError(i,a);else throw new Error(i)},"parseError"),setInput:l(function(s,i){return this.yy=i||this.yy||{},this._input=s,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:l(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var i=s.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:l(function(s){var i=s.length,a=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var o=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),a.length-1&&(this.yylineno-=a.length-1);var g=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:a?(a.length===o.length?this.yylloc.first_column:0)+o[o.length-a.length].length-a[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[g[0],g[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:l(function(){return this._more=!0,this},"more"),reject:l(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:l(function(s){this.unput(this.match.slice(s))},"less"),pastInput:l(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:l(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:l(function(){var s=this.pastInput(),i=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as r,Z as m,i as p,c,q as a,u as o,a as u,e as l,o as t,_}from"./
|
|
1
|
+
import{d as r,Z as m,i as p,c,q as a,u as o,a as u,e as l,o as t,_}from"./DbehhcO7.js";import"./DqunUhPG.js";import{_ as d}from"./D8JEzGOU.js";import"./CxFAImHj.js";import"./DxMpy-ot.js";import"./agpUpIJe.js";import"./Co6sZiuo.js";import"./9Skr9Ccw.js";import"./DvTZ16yM.js";import"./CeA2-eDW.js";import"./DbHH7dzg.js";import"./C04-ICJx.js";import"./B5rxJs06.js";import"./DnQ4Mwo_.js";import"./jDSo3fNb.js";import"./DL1qmlP8.js";import"./BKh6DDUh.js";import"./BJMwGHo7.js";const f={class:"h-full"},x={key:0,class:"h-full p-4 flex flex-col items-center justify-center text-muted-foreground"},w=r({__name:"index",setup(k){const s=m(),e=p(()=>String(s.params.connectionId||""));return(h,n)=>{const i=_;return t(),c("div",f,[o(e)?(t(),a(o(d),{key:1,"source-connection-id":o(e)},null,8,["source-connection-id"])):(t(),c("div",x,[u(i,{name:"hugeicons:plug-socket",class:"size-12 mb-2 opacity-50"}),n[0]||(n[0]=l("p",{class:"text-sm"},"Select a connection to open Schema Diff",-1))]))])}}});export{w as default};
|