react-semaphor 0.0.615 → 0.0.616
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{_basePickBy-DoxAWdoa.js → _basePickBy-CBUK3LQZ.js} +2 -2
- package/dist/chunks/{_basePickBy-BjN-ebMF.js → _basePickBy-CF4sHVu5.js} +1 -1
- package/dist/chunks/{_baseUniq-DqyqOsmS.js → _baseUniq-C_wfwxLl.js} +1 -1
- package/dist/chunks/{_baseUniq-C6j27TNu.js → _baseUniq-CqIR1mFI.js} +1 -1
- package/dist/chunks/{arc-BqNFdUcO.js → arc-CcvXRu6P.js} +1 -1
- package/dist/chunks/{arc-Cum0xm0_.js → arc-CgQJTOhQ.js} +1 -1
- package/dist/chunks/{architecture-O4VJ6CD3-ZEfJFqmU.js → architecture-O4VJ6CD3-CWG1Sh-1.js} +1 -1
- package/dist/chunks/{architecture-O4VJ6CD3-DdZGsZCR.js → architecture-O4VJ6CD3-DloS2k8z.js} +1 -1
- package/dist/chunks/{architectureDiagram-KFL7JDKH-DOga74N1.js → architectureDiagram-KFL7JDKH-DEKqZHX8.js} +4 -4
- package/dist/chunks/{architectureDiagram-KFL7JDKH-DIGpJjcj.js → architectureDiagram-KFL7JDKH-JonPo-dN.js} +1 -1
- package/dist/chunks/{blockDiagram-ZYB65J3Q-DW1WkGMO.js → blockDiagram-ZYB65J3Q-Cvyjjlg1.js} +1 -1
- package/dist/chunks/{blockDiagram-ZYB65J3Q-D2anq3B5.js → blockDiagram-ZYB65J3Q-KOL-oLcr.js} +5 -5
- package/dist/chunks/{c4Diagram-AAMF2YG6-C7kDsbEV.js → c4Diagram-AAMF2YG6-B_xh9jXv.js} +1 -1
- package/dist/chunks/{c4Diagram-AAMF2YG6-D1nhaGMQ.js → c4Diagram-AAMF2YG6-Dk9gzcHg.js} +2 -2
- package/dist/chunks/channel-Cx51sV1C.js +1 -0
- package/dist/chunks/{channel-DqEwbkJ5.js → channel-pTWH5VlK.js} +1 -1
- package/dist/chunks/{chunk-ANTBXLJU-BGLg4kza.js → chunk-ANTBXLJU-BEt7iLHo.js} +1 -1
- package/dist/chunks/{chunk-ANTBXLJU-CK2uNBZ1.js → chunk-ANTBXLJU-DB6YRzoJ.js} +1 -1
- package/dist/chunks/{chunk-FHKO5MBM-U5X2zge_.js → chunk-FHKO5MBM-CDBkvH_8.js} +1 -1
- package/dist/chunks/{chunk-FHKO5MBM-Fi3oUOyz.js → chunk-FHKO5MBM-CwO7Y4L_.js} +1 -1
- package/dist/chunks/{chunk-GLLZNHP4-BLprlm7a.js → chunk-GLLZNHP4-C_LTdWfA.js} +1 -1
- package/dist/chunks/{chunk-GLLZNHP4-gwcRW5kd.js → chunk-GLLZNHP4-DM-tH8qN.js} +1 -1
- package/dist/chunks/{chunk-JBRWN2VN-DFbXAyDH.js → chunk-JBRWN2VN-CGkmp9iv.js} +1 -1
- package/dist/chunks/{chunk-JBRWN2VN-WfE9P3H9.js → chunk-JBRWN2VN-Cdrg7ipf.js} +4 -4
- package/dist/chunks/{chunk-LXBSTHXV-71APvWXI.js → chunk-LXBSTHXV-B6MJqnb9.js} +3 -3
- package/dist/chunks/{chunk-LXBSTHXV-Dxy3lBPi.js → chunk-LXBSTHXV-DY_risoK.js} +1 -1
- package/dist/chunks/{chunk-NRVI72HA-CwOhPG2b.js → chunk-NRVI72HA-CgHPPk9_.js} +1 -1
- package/dist/chunks/{chunk-NRVI72HA-DjbFjO3o.js → chunk-NRVI72HA-VCpZ8dT5.js} +1 -1
- package/dist/chunks/{chunk-OMD6QJNC-WKu2bzIs.js → chunk-OMD6QJNC-mLoP2am0.js} +1 -1
- package/dist/chunks/{chunk-OMD6QJNC-D4Voi3CS.js → chunk-OMD6QJNC-yURt4ZqD.js} +1 -1
- package/dist/chunks/{chunk-WVR4S24B-7uW2HbKb.js → chunk-WVR4S24B-C2gIEv2n.js} +1 -1
- package/dist/chunks/{chunk-WVR4S24B-DKGJcqAc.js → chunk-WVR4S24B-DuZUHyfp.js} +1 -1
- package/dist/chunks/{classDiagram-3BZAVTQC-BPY-1m6P.js → classDiagram-3BZAVTQC-0wK6utUW.js} +1 -1
- package/dist/chunks/{classDiagram-v2-QTMF73CY-C2gNsmci.js → classDiagram-3BZAVTQC-CR2TrZgY.js} +2 -2
- package/dist/chunks/{classDiagram-v2-QTMF73CY-BPY-1m6P.js → classDiagram-v2-QTMF73CY-0wK6utUW.js} +1 -1
- package/dist/chunks/{classDiagram-3BZAVTQC-C2gNsmci.js → classDiagram-v2-QTMF73CY-CR2TrZgY.js} +2 -2
- package/dist/chunks/clone-Ct5oP2ug.js +1 -0
- package/dist/chunks/{clone-DBXlyoxp.js → clone-GvES6CO7.js} +1 -1
- package/dist/chunks/{dagre-2BBEFEWP-C8zMRA3F.js → dagre-2BBEFEWP-BtEQwb5J.js} +6 -6
- package/dist/chunks/{dagre-2BBEFEWP-BcTumv5b.js → dagre-2BBEFEWP-ClSUmGwz.js} +1 -1
- package/dist/chunks/{dashboard-plus-yA1fkbzh.js → dashboard-plus-B10r1QRu.js} +65 -70
- package/dist/chunks/{dashboard-plus-Bh3rgtkD.js → dashboard-plus-BMWPXPIj.js} +5133 -5107
- package/dist/chunks/{diagram-4IRLE6MV-DUBGgzQy.js → diagram-4IRLE6MV-BDpp1460.js} +1 -1
- package/dist/chunks/{diagram-4IRLE6MV-Cbmi8Fyt.js → diagram-4IRLE6MV-C49eQphf.js} +4 -4
- package/dist/chunks/{diagram-GUPCWM2R-DSraOySI.js → diagram-GUPCWM2R-Cq1ov97D.js} +1 -1
- package/dist/chunks/{diagram-GUPCWM2R-BcbGeBZe.js → diagram-GUPCWM2R-LuvwZlWP.js} +3 -3
- package/dist/chunks/{diagram-RP2FKANI-m-6BWsEL.js → diagram-RP2FKANI-BLIHiui1.js} +1 -1
- package/dist/chunks/{diagram-RP2FKANI-BIcRcsy-.js → diagram-RP2FKANI-BZJN-7K9.js} +3 -3
- package/dist/chunks/{erDiagram-HZWUO2LU-DMYPXtez.js → erDiagram-HZWUO2LU-CPsjUGpr.js} +1 -1
- package/dist/chunks/{erDiagram-HZWUO2LU-lm0pJGHC.js → erDiagram-HZWUO2LU-Dtqq6c9d.js} +4 -4
- package/dist/chunks/{flowDiagram-THRYKUMA-Ddd_JDrQ.js → flowDiagram-THRYKUMA-B8gYyaTG.js} +5 -5
- package/dist/chunks/{flowDiagram-THRYKUMA-BxtQ5dvf.js → flowDiagram-THRYKUMA-DnwU9q2v.js} +1 -1
- package/dist/chunks/{ganttDiagram-WV7ZQ7D5-B9Kk1Q5C.js → ganttDiagram-WV7ZQ7D5-C_FBYO_8.js} +1 -1
- package/dist/chunks/{ganttDiagram-WV7ZQ7D5-BN1zCZwE.js → ganttDiagram-WV7ZQ7D5-GdDki4Q_.js} +3 -3
- package/dist/chunks/{gitGraph-ZV4HHKMB-B4DCa0__.js → gitGraph-ZV4HHKMB-DodL1Zrl.js} +1 -1
- package/dist/chunks/{gitGraph-ZV4HHKMB-xvxkWlWf.js → gitGraph-ZV4HHKMB-fUCqIWg0.js} +1 -1
- package/dist/chunks/{gitGraphDiagram-OJR772UL-ChFhW4jp.js → gitGraphDiagram-OJR772UL-B9jsyAKc.js} +1 -1
- package/dist/chunks/{gitGraphDiagram-OJR772UL-B6myB29E.js → gitGraphDiagram-OJR772UL-CRwVVClE.js} +4 -4
- package/dist/chunks/{graph-B6fgcGxx.js → graph-BH34NRXk.js} +1 -1
- package/dist/chunks/{graph-BF6LCaYH.js → graph-xRq7XmQC.js} +2 -2
- package/dist/chunks/{index-BwS-4oFh.js → index-D8tUqFuv.js} +14703 -14894
- package/dist/chunks/{index-CEBRe30q.js → index-DwpuFQtu.js} +213 -213
- package/dist/chunks/{info-63CPKGFF-C61AM7-q.js → info-63CPKGFF-CzlQqAhk.js} +1 -1
- package/dist/chunks/info-63CPKGFF-DZmt95MH.js +5 -0
- package/dist/chunks/{infoDiagram-DDUCL6P7-DpcIR8yV.js → infoDiagram-DDUCL6P7-_cNsLdvy.js} +1 -1
- package/dist/chunks/{infoDiagram-DDUCL6P7-Chr8bBqS.js → infoDiagram-DDUCL6P7-dPerJWnO.js} +2 -2
- package/dist/chunks/{journeyDiagram-FFXJYRFH-DNZogbvW.js → journeyDiagram-FFXJYRFH-Bvz2greh.js} +1 -1
- package/dist/chunks/{journeyDiagram-FFXJYRFH-BduSuiPB.js → journeyDiagram-FFXJYRFH-z8DYTQVE.js} +4 -4
- package/dist/chunks/{kanban-definition-KOZQBZVT-Cu7Lndxw.js → kanban-definition-KOZQBZVT-CNbQqeQV.js} +2 -2
- package/dist/chunks/{kanban-definition-KOZQBZVT-CUi8EJZV.js → kanban-definition-KOZQBZVT-KxzVSyOG.js} +1 -1
- package/dist/chunks/{layout-DLsbGTQz.js → layout-BAbpTM6P.js} +1 -1
- package/dist/chunks/{layout-Gthyofz2.js → layout-CDJPlONW.js} +4 -4
- package/dist/chunks/{linear-aBqM-t45.js → linear-BI3PREhR.js} +2 -2
- package/dist/chunks/{linear-Cm6KRnfp.js → linear-CN8g9v_Q.js} +1 -1
- package/dist/chunks/{mermaid-parser.core-DQqietT8.js → mermaid-parser.core-psOhnp_g.js} +2 -2
- package/dist/chunks/{mermaid-parser.core-IjhQ7eLj.js → mermaid-parser.core-xcQxi_jm.js} +11 -11
- package/dist/chunks/{mermaid.core-DUHba1Nm.js → mermaid.core-BAzkKVaz.js} +4 -4
- package/dist/chunks/{mermaid.core-lU3ermnX.js → mermaid.core-CvRAjOPA.js} +30 -30
- package/dist/chunks/{mindmap-definition-LNHGMQRG-CnRPozlJ.js → mindmap-definition-LNHGMQRG-DcUnODf3.js} +1 -1
- package/dist/chunks/{mindmap-definition-LNHGMQRG-CSWY7cEv.js → mindmap-definition-LNHGMQRG-duqAs_P0.js} +2 -2
- package/dist/chunks/{packet-HUATNLJX-DNiNJ_QS.js → packet-HUATNLJX-DMJ9cJ7_.js} +1 -1
- package/dist/chunks/{packet-HUATNLJX-e5GsrO0A.js → packet-HUATNLJX-_xaC-Mnx.js} +1 -1
- package/dist/chunks/pie-WTHONI2E-MAcq-iAM.js +5 -0
- package/dist/chunks/{pie-WTHONI2E-B0fw0fIH.js → pie-WTHONI2E-qncEw0OK.js} +1 -1
- package/dist/chunks/{pieDiagram-DBDJKBY4-Bgkas5gV.js → pieDiagram-DBDJKBY4-0F6DH4ah.js} +1 -1
- package/dist/chunks/{pieDiagram-DBDJKBY4-D8WvuNxG.js → pieDiagram-DBDJKBY4-BIZVIM67.js} +4 -4
- package/dist/chunks/{quadrantDiagram-YPSRARAO-BOwHTTTg.js → quadrantDiagram-YPSRARAO-BSEB2_Jk.js} +1 -1
- package/dist/chunks/{quadrantDiagram-YPSRARAO-B28GRBdC.js → quadrantDiagram-YPSRARAO-DYWhSOgC.js} +2 -2
- package/dist/chunks/radar-NJJJXTRR-Bbf79J2N.js +5 -0
- package/dist/chunks/{radar-NJJJXTRR-D4ESC23K.js → radar-NJJJXTRR-Cd4GsUl9.js} +1 -1
- package/dist/chunks/{requirementDiagram-EGVEC5DT-IVwVitxv.js → requirementDiagram-EGVEC5DT-B_lndsFG.js} +1 -1
- package/dist/chunks/{requirementDiagram-EGVEC5DT-CLbeqYB0.js → requirementDiagram-EGVEC5DT-CxAqR62-.js} +3 -3
- package/dist/chunks/{sankeyDiagram-HRAUVNP4-CxEb7Ili.js → sankeyDiagram-HRAUVNP4-BSpJVLiJ.js} +2 -2
- package/dist/chunks/{sankeyDiagram-HRAUVNP4-cBbImrbs.js → sankeyDiagram-HRAUVNP4-DU21EcHr.js} +1 -1
- package/dist/chunks/{sequenceDiagram-4MX5Z3NR-Bd5Er185.js → sequenceDiagram-4MX5Z3NR-BPzYnPk7.js} +1 -1
- package/dist/chunks/{sequenceDiagram-4MX5Z3NR-Cfs33Jna.js → sequenceDiagram-4MX5Z3NR-GNnlAP-V.js} +3 -3
- package/dist/chunks/{stateDiagram-UUKSUZ4H-DcpSvFtY.js → stateDiagram-UUKSUZ4H-DV7tDKxa.js} +4 -4
- package/dist/chunks/{stateDiagram-UUKSUZ4H-TvBHkgHV.js → stateDiagram-UUKSUZ4H-h1iPNm2A.js} +1 -1
- package/dist/chunks/{stateDiagram-v2-EYPG3UTE-D-j9wmD4.js → stateDiagram-v2-EYPG3UTE-CSJJtpE9.js} +2 -2
- package/dist/chunks/{stateDiagram-v2-EYPG3UTE-DN3C1cMv.js → stateDiagram-v2-EYPG3UTE-D2GBbdU2.js} +1 -1
- package/dist/chunks/{timeline-definition-3HZDQTIS-BuXUJ-V7.js → timeline-definition-3HZDQTIS-4ikiRpT2.js} +1 -1
- package/dist/chunks/{timeline-definition-3HZDQTIS-Br7UScbk.js → timeline-definition-3HZDQTIS-BQOjQU9_.js} +2 -2
- package/dist/chunks/{treemap-75Q7IDZK-xJ9nbk2Y.js → treemap-75Q7IDZK-BNTdZgSS.js} +1 -1
- package/dist/chunks/{treemap-75Q7IDZK-Dzq1jUW6.js → treemap-75Q7IDZK-Do9TU3vq.js} +1 -1
- package/dist/chunks/{xychartDiagram-FDP5SA34-_k9wVk1s.js → xychartDiagram-FDP5SA34-BgdOgAxv.js} +1 -1
- package/dist/chunks/{xychartDiagram-FDP5SA34-Cghmm2Lo.js → xychartDiagram-FDP5SA34-DBZfRejf.js} +3 -3
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -3
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/channel-BL1J4mcN.js +0 -1
- package/dist/chunks/clone-BbY68YHs.js +0 -1
- package/dist/chunks/info-63CPKGFF-D8cIYcqe.js +0 -5
- package/dist/chunks/pie-WTHONI2E-BUK-0d24.js +0 -5
- package/dist/chunks/radar-NJJJXTRR-Dn-O0H10.js +0 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const We=require("./chunk-WVR4S24B-DKGJcqAc.js"),je=require("./chunk-NRVI72HA-CwOhPG2b.js"),r=require("./mermaid.core-DUHba1Nm.js");var Ne=function(){var e=r.__name(function(P,i,n,c){for(n=n||{},c=P.length;c--;n[P[c]]=i);return n},"o"),l=[1,3],m=[1,4],h=[1,5],f=[1,6],o=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],E=[1,22],R=[2,7],u=[1,26],_=[1,27],I=[1,28],k=[1,29],A=[1,33],C=[1,34],V=[1,35],v=[1,36],x=[1,37],L=[1,38],O=[1,24],D=[1,31],w=[1,32],M=[1,30],y=[1,39],g=[1,40],p=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],$=[1,61],X=[89,90],qe=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],de=[27,29],Ae=[1,70],Ce=[1,71],Ve=[1,72],ve=[1,73],xe=[1,74],Le=[1,75],Oe=[1,76],ee=[1,83],U=[1,80],te=[1,84],se=[1,85],ie=[1,86],re=[1,87],ne=[1,88],ae=[1,89],le=[1,90],ce=[1,91],oe=[1,92],Ee=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Y=[63,64],De=[1,101],we=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],N=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[1,110],Q=[1,106],H=[1,107],K=[1,108],W=[1,109],j=[1,111],he=[1,116],ue=[1,117],me=[1,114],fe=[1,115],Se={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:r.__name(function(i,n,c,s,d,t,_e){var a=t.length-1;switch(d){case 4:this.$=t[a].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[a].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[a-3],t[a-4]);break;case 22:s.addRequirement(t[a-5],t[a-6]),s.setClass([t[a-5]],t[a-3]);break;case 23:s.setNewReqId(t[a-2]);break;case 24:s.setNewReqText(t[a-2]);break;case 25:s.setNewReqRisk(t[a-2]);break;case 26:s.setNewReqVerifyMethod(t[a-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[a-3]);break;case 43:s.addElement(t[a-5]),s.setClass([t[a-5]],t[a-3]);break;case 44:s.setNewElementType(t[a-2]);break;case 45:s.setNewElementDocRef(t[a-2]);break;case 48:s.addRelationship(t[a-2],t[a],t[a-4]);break;case 49:s.addRelationship(t[a-2],t[a-4],t[a]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[a-2],s.defineClass(t[a-1],t[a]);break;case 58:s.setClass(t[a-1],t[a]);break;case 59:s.setClass([t[a-2]],t[a]);break;case 60:case 62:this.$=[t[a]];break;case 61:case 63:this.$=t[a-2].concat([t[a]]);break;case 64:this.$=t[a-2],s.setCssStyle(t[a-1],t[a]);break;case 65:this.$=[t[a]];break;case 66:t[a-2].push(t[a]),this.$=t[a-2];break;case 68:this.$=t[a-1]+t[a];break}},"anonymous"),table:[{3:1,4:2,6:l,9:m,11:h,13:f},{1:[3]},{3:8,4:2,5:[1,7],6:l,9:m,11:h,13:f},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(o,[2,6]),{3:12,4:2,6:l,9:m,11:h,13:f},{1:[2,2]},{4:17,5:E,7:13,8:R,9:m,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:_,23:I,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:y,90:g},e(o,[2,4]),e(o,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:E,7:42,8:R,9:m,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:_,23:I,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:y,90:g},{4:17,5:E,7:43,8:R,9:m,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:_,23:I,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:y,90:g},{4:17,5:E,7:44,8:R,9:m,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:_,23:I,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:y,90:g},{4:17,5:E,7:45,8:R,9:m,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:_,23:I,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:y,90:g},{4:17,5:E,7:46,8:R,9:m,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:_,23:I,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:y,90:g},{4:17,5:E,7:47,8:R,9:m,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:_,23:I,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:y,90:g},{4:17,5:E,7:48,8:R,9:m,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:_,23:I,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:y,90:g},{4:17,5:E,7:49,8:R,9:m,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:_,23:I,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:y,90:g},{4:17,5:E,7:50,8:R,9:m,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:_,23:I,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:y,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(p,[2,17]),e(p,[2,18]),e(p,[2,19]),e(p,[2,20]),{30:60,33:62,75:$,89:y,90:g},{30:63,33:62,75:$,89:y,90:g},{30:64,33:62,75:$,89:y,90:g},e(X,[2,29]),e(X,[2,30]),e(X,[2,31]),e(X,[2,32]),e(X,[2,33]),e(X,[2,34]),e(qe,[2,81]),e(qe,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(de,[2,79]),e(de,[2,80]),{27:[1,67],29:[1,68]},e(de,[2,85]),e(de,[2,86]),{62:69,65:Ae,66:Ce,67:Ve,68:ve,69:xe,70:Le,71:Oe},{62:77,65:Ae,66:Ce,67:Ve,68:ve,69:xe,70:Le,71:Oe},{30:78,33:62,75:$,89:y,90:g},{73:79,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(Ee,[2,60]),e(Ee,[2,62]),{73:93,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},{30:94,33:62,75:$,76:U,89:y,90:g},{5:[1,95]},{30:96,33:62,75:$,89:y,90:g},{5:[1,97]},{30:98,33:62,75:$,89:y,90:g},{63:[1,99]},e(Y,[2,50]),e(Y,[2,51]),e(Y,[2,52]),e(Y,[2,53]),e(Y,[2,54]),e(Y,[2,55]),e(Y,[2,56]),{64:[1,100]},e(p,[2,59],{76:U}),e(p,[2,64],{76:De}),{33:103,75:[1,102],89:y,90:g},e(we,[2,65],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),e(N,[2,67]),e(N,[2,69]),e(N,[2,70]),e(N,[2,71]),e(N,[2,72]),e(N,[2,73]),e(N,[2,74]),e(N,[2,75]),e(N,[2,76]),e(N,[2,77]),e(N,[2,78]),e(p,[2,57],{76:De}),e(p,[2,58],{76:U}),{5:B,28:105,31:Q,34:H,36:K,38:W,40:j},{27:[1,112],76:U},{5:he,40:ue,56:113,57:me,59:fe},{27:[1,118],76:U},{33:119,89:y,90:g},{33:120,89:y,90:g},{75:ee,78:121,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(Ee,[2,61]),e(Ee,[2,63]),e(N,[2,68]),e(p,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:B,28:126,31:Q,34:H,36:K,38:W,40:j},e(p,[2,28]),{5:[1,127]},e(p,[2,42]),{32:[1,128]},{32:[1,129]},{5:he,40:ue,56:130,57:me,59:fe},e(p,[2,47]),{5:[1,131]},e(p,[2,48]),e(p,[2,49]),e(we,[2,66],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),{33:132,89:y,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(p,[2,27]),{5:B,28:145,31:Q,34:H,36:K,38:W,40:j},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(p,[2,46]),{5:he,40:ue,56:152,57:me,59:fe},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(p,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(p,[2,43]),{5:B,28:159,31:Q,34:H,36:K,38:W,40:j},{5:B,28:160,31:Q,34:H,36:K,38:W,40:j},{5:B,28:161,31:Q,34:H,36:K,38:W,40:j},{5:B,28:162,31:Q,34:H,36:K,38:W,40:j},{5:he,40:ue,56:163,57:me,59:fe},{5:he,40:ue,56:164,57:me,59:fe},e(p,[2,23]),e(p,[2,24]),e(p,[2,25]),e(p,[2,26]),e(p,[2,44]),e(p,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:r.__name(function(i,n){if(n.recoverable)this.trace(i);else{var c=new Error(i);throw c.hash=n,c}},"parseError"),parse:r.__name(function(i){var n=this,c=[0],s=[],d=[null],t=[],_e=this.table,a="",pe=0,Me=0,Be=2,Fe=1,Qe=t.slice.call(arguments,1),S=Object.create(this.lexer),G={yy:{}};for(var Ie in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ie)&&(G.yy[Ie]=this.yy[Ie]);S.setInput(i,G.yy),G.yy.lexer=S,G.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var be=S.yylloc;t.push(be);var He=S.options&&S.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ke(T){c.length=c.length-2*T,d.length=d.length-T,t.length=t.length-T}r.__name(Ke,"popStack");function Pe(){var T;return T=s.pop()||S.lex()||Fe,typeof T!="number"&&(T instanceof Array&&(s=T,T=s.pop()),T=n.symbols_[T]||T),T}r.__name(Pe,"lex");for(var b,z,q,Te,J={},ye,F,$e,ge;;){if(z=c[c.length-1],this.defaultActions[z]?q=this.defaultActions[z]:((b===null||typeof b>"u")&&(b=Pe()),q=_e[z]&&_e[z][b]),typeof q>"u"||!q.length||!q[0]){var ke="";ge=[];for(ye in _e[z])this.terminals_[ye]&&ye>Be&&ge.push("'"+this.terminals_[ye]+"'");S.showPosition?ke="Parse error on line "+(pe+1)+`:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const We=require("./chunk-WVR4S24B-DuZUHyfp.js"),je=require("./chunk-NRVI72HA-CgHPPk9_.js"),r=require("./mermaid.core-BAzkKVaz.js");var Ne=function(){var e=r.__name(function(P,i,n,c){for(n=n||{},c=P.length;c--;n[P[c]]=i);return n},"o"),l=[1,3],m=[1,4],h=[1,5],f=[1,6],o=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],E=[1,22],R=[2,7],u=[1,26],_=[1,27],I=[1,28],k=[1,29],A=[1,33],C=[1,34],V=[1,35],v=[1,36],x=[1,37],L=[1,38],O=[1,24],D=[1,31],w=[1,32],M=[1,30],y=[1,39],g=[1,40],p=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],$=[1,61],X=[89,90],qe=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],de=[27,29],Ae=[1,70],Ce=[1,71],Ve=[1,72],ve=[1,73],xe=[1,74],Le=[1,75],Oe=[1,76],ee=[1,83],U=[1,80],te=[1,84],se=[1,85],ie=[1,86],re=[1,87],ne=[1,88],ae=[1,89],le=[1,90],ce=[1,91],oe=[1,92],Ee=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Y=[63,64],De=[1,101],we=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],N=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[1,110],Q=[1,106],H=[1,107],K=[1,108],W=[1,109],j=[1,111],he=[1,116],ue=[1,117],me=[1,114],fe=[1,115],Se={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:r.__name(function(i,n,c,s,d,t,_e){var a=t.length-1;switch(d){case 4:this.$=t[a].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[a].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[a-3],t[a-4]);break;case 22:s.addRequirement(t[a-5],t[a-6]),s.setClass([t[a-5]],t[a-3]);break;case 23:s.setNewReqId(t[a-2]);break;case 24:s.setNewReqText(t[a-2]);break;case 25:s.setNewReqRisk(t[a-2]);break;case 26:s.setNewReqVerifyMethod(t[a-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[a-3]);break;case 43:s.addElement(t[a-5]),s.setClass([t[a-5]],t[a-3]);break;case 44:s.setNewElementType(t[a-2]);break;case 45:s.setNewElementDocRef(t[a-2]);break;case 48:s.addRelationship(t[a-2],t[a],t[a-4]);break;case 49:s.addRelationship(t[a-2],t[a-4],t[a]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[a-2],s.defineClass(t[a-1],t[a]);break;case 58:s.setClass(t[a-1],t[a]);break;case 59:s.setClass([t[a-2]],t[a]);break;case 60:case 62:this.$=[t[a]];break;case 61:case 63:this.$=t[a-2].concat([t[a]]);break;case 64:this.$=t[a-2],s.setCssStyle(t[a-1],t[a]);break;case 65:this.$=[t[a]];break;case 66:t[a-2].push(t[a]),this.$=t[a-2];break;case 68:this.$=t[a-1]+t[a];break}},"anonymous"),table:[{3:1,4:2,6:l,9:m,11:h,13:f},{1:[3]},{3:8,4:2,5:[1,7],6:l,9:m,11:h,13:f},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(o,[2,6]),{3:12,4:2,6:l,9:m,11:h,13:f},{1:[2,2]},{4:17,5:E,7:13,8:R,9:m,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:_,23:I,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:y,90:g},e(o,[2,4]),e(o,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:E,7:42,8:R,9:m,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:_,23:I,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:y,90:g},{4:17,5:E,7:43,8:R,9:m,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:_,23:I,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:y,90:g},{4:17,5:E,7:44,8:R,9:m,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:_,23:I,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:y,90:g},{4:17,5:E,7:45,8:R,9:m,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:_,23:I,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:y,90:g},{4:17,5:E,7:46,8:R,9:m,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:_,23:I,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:y,90:g},{4:17,5:E,7:47,8:R,9:m,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:_,23:I,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:y,90:g},{4:17,5:E,7:48,8:R,9:m,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:_,23:I,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:y,90:g},{4:17,5:E,7:49,8:R,9:m,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:_,23:I,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:y,90:g},{4:17,5:E,7:50,8:R,9:m,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:_,23:I,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:y,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(p,[2,17]),e(p,[2,18]),e(p,[2,19]),e(p,[2,20]),{30:60,33:62,75:$,89:y,90:g},{30:63,33:62,75:$,89:y,90:g},{30:64,33:62,75:$,89:y,90:g},e(X,[2,29]),e(X,[2,30]),e(X,[2,31]),e(X,[2,32]),e(X,[2,33]),e(X,[2,34]),e(qe,[2,81]),e(qe,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(de,[2,79]),e(de,[2,80]),{27:[1,67],29:[1,68]},e(de,[2,85]),e(de,[2,86]),{62:69,65:Ae,66:Ce,67:Ve,68:ve,69:xe,70:Le,71:Oe},{62:77,65:Ae,66:Ce,67:Ve,68:ve,69:xe,70:Le,71:Oe},{30:78,33:62,75:$,89:y,90:g},{73:79,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(Ee,[2,60]),e(Ee,[2,62]),{73:93,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},{30:94,33:62,75:$,76:U,89:y,90:g},{5:[1,95]},{30:96,33:62,75:$,89:y,90:g},{5:[1,97]},{30:98,33:62,75:$,89:y,90:g},{63:[1,99]},e(Y,[2,50]),e(Y,[2,51]),e(Y,[2,52]),e(Y,[2,53]),e(Y,[2,54]),e(Y,[2,55]),e(Y,[2,56]),{64:[1,100]},e(p,[2,59],{76:U}),e(p,[2,64],{76:De}),{33:103,75:[1,102],89:y,90:g},e(we,[2,65],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),e(N,[2,67]),e(N,[2,69]),e(N,[2,70]),e(N,[2,71]),e(N,[2,72]),e(N,[2,73]),e(N,[2,74]),e(N,[2,75]),e(N,[2,76]),e(N,[2,77]),e(N,[2,78]),e(p,[2,57],{76:De}),e(p,[2,58],{76:U}),{5:B,28:105,31:Q,34:H,36:K,38:W,40:j},{27:[1,112],76:U},{5:he,40:ue,56:113,57:me,59:fe},{27:[1,118],76:U},{33:119,89:y,90:g},{33:120,89:y,90:g},{75:ee,78:121,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(Ee,[2,61]),e(Ee,[2,63]),e(N,[2,68]),e(p,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:B,28:126,31:Q,34:H,36:K,38:W,40:j},e(p,[2,28]),{5:[1,127]},e(p,[2,42]),{32:[1,128]},{32:[1,129]},{5:he,40:ue,56:130,57:me,59:fe},e(p,[2,47]),{5:[1,131]},e(p,[2,48]),e(p,[2,49]),e(we,[2,66],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),{33:132,89:y,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(p,[2,27]),{5:B,28:145,31:Q,34:H,36:K,38:W,40:j},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(p,[2,46]),{5:he,40:ue,56:152,57:me,59:fe},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(p,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(p,[2,43]),{5:B,28:159,31:Q,34:H,36:K,38:W,40:j},{5:B,28:160,31:Q,34:H,36:K,38:W,40:j},{5:B,28:161,31:Q,34:H,36:K,38:W,40:j},{5:B,28:162,31:Q,34:H,36:K,38:W,40:j},{5:he,40:ue,56:163,57:me,59:fe},{5:he,40:ue,56:164,57:me,59:fe},e(p,[2,23]),e(p,[2,24]),e(p,[2,25]),e(p,[2,26]),e(p,[2,44]),e(p,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:r.__name(function(i,n){if(n.recoverable)this.trace(i);else{var c=new Error(i);throw c.hash=n,c}},"parseError"),parse:r.__name(function(i){var n=this,c=[0],s=[],d=[null],t=[],_e=this.table,a="",pe=0,Me=0,Be=2,Fe=1,Qe=t.slice.call(arguments,1),S=Object.create(this.lexer),G={yy:{}};for(var Ie in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ie)&&(G.yy[Ie]=this.yy[Ie]);S.setInput(i,G.yy),G.yy.lexer=S,G.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var be=S.yylloc;t.push(be);var He=S.options&&S.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ke(T){c.length=c.length-2*T,d.length=d.length-T,t.length=t.length-T}r.__name(Ke,"popStack");function Pe(){var T;return T=s.pop()||S.lex()||Fe,typeof T!="number"&&(T instanceof Array&&(s=T,T=s.pop()),T=n.symbols_[T]||T),T}r.__name(Pe,"lex");for(var b,z,q,Te,J={},ye,F,$e,ge;;){if(z=c[c.length-1],this.defaultActions[z]?q=this.defaultActions[z]:((b===null||typeof b>"u")&&(b=Pe()),q=_e[z]&&_e[z][b]),typeof q>"u"||!q.length||!q[0]){var ke="";ge=[];for(ye in _e[z])this.terminals_[ye]&&ye>Be&&ge.push("'"+this.terminals_[ye]+"'");S.showPosition?ke="Parse error on line "+(pe+1)+`:
|
|
2
2
|
`+S.showPosition()+`
|
|
3
3
|
Expecting `+ge.join(", ")+", got '"+(this.terminals_[b]||b)+"'":ke="Parse error on line "+(pe+1)+": Unexpected "+(b==Fe?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(ke,{text:S.match,token:this.terminals_[b]||b,line:S.yylineno,loc:be,expected:ge})}if(q[0]instanceof Array&&q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+b);switch(q[0]){case 1:c.push(b),d.push(S.yytext),t.push(S.yylloc),c.push(q[1]),b=null,Me=S.yyleng,a=S.yytext,pe=S.yylineno,be=S.yylloc;break;case 2:if(F=this.productions_[q[1]][1],J.$=d[d.length-F],J._$={first_line:t[t.length-(F||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(F||1)].first_column,last_column:t[t.length-1].last_column},He&&(J._$.range=[t[t.length-(F||1)].range[0],t[t.length-1].range[1]]),Te=this.performAction.apply(J,[a,Me,pe,G.yy,q[1],d,t].concat(Qe)),typeof Te<"u")return Te;F&&(c=c.slice(0,-1*F*2),d=d.slice(0,-1*F),t=t.slice(0,-1*F)),c.push(this.productions_[q[1]][0]),d.push(J.$),t.push(J._$),$e=_e[c[c.length-2]][c[c.length-1]],c.push($e);break;case 3:return!0}}return!0},"parse")},Ye=function(){var P={EOF:1,parseError:r.__name(function(n,c){if(this.yy.parser)this.yy.parser.parseError(n,c);else throw new Error(n)},"parseError"),setInput:r.__name(function(i,n){return this.yy=n||this.yy||{},this._input=i,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:r.__name(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:r.__name(function(i){var n=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var s=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),c.length-1&&(this.yylineno-=c.length-1);var d=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:c?(c.length===s.length?this.yylloc.first_column:0)+s[s.length-c.length].length-c[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:r.__name(function(){return this._more=!0,this},"more"),reject:r.__name(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:r.__name(function(i){this.unput(this.match.slice(i))},"less"),pastInput:r.__name(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r.__name(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r.__name(function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as ze } from "./chunk-WVR4S24B-
|
|
2
|
-
import { s as Ge } from "./chunk-NRVI72HA-
|
|
3
|
-
import { _ as f, b as Xe, a as Je, s as Ze, g as et, q as tt, t as st, c as Ne, l as qe, z as it, D as rt, p as nt, r as at, u as lt } from "./mermaid.core-
|
|
1
|
+
import { g as ze } from "./chunk-WVR4S24B-C2gIEv2n.js";
|
|
2
|
+
import { s as Ge } from "./chunk-NRVI72HA-VCpZ8dT5.js";
|
|
3
|
+
import { _ as f, b as Xe, a as Je, s as Ze, g as et, q as tt, t as st, c as Ne, l as qe, z as it, D as rt, p as nt, r as at, u as lt } from "./mermaid.core-CvRAjOPA.js";
|
|
4
4
|
var Ae = function() {
|
|
5
5
|
var e = /* @__PURE__ */ f(function(P, i, r, l) {
|
|
6
6
|
for (r = r || {}, l = P.length; l--; r[P[l]] = i) ;
|
package/dist/chunks/{sankeyDiagram-HRAUVNP4-CxEb7Ili.js → sankeyDiagram-HRAUVNP4-BSpJVLiJ.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as p, q as _t, t as xt, s as vt, g as bt, b as St, a as wt, c as lt, A as Lt, d as H, ac as Et, z as At, k as Tt } from "./mermaid.core-
|
|
1
|
+
import { _ as p, q as _t, t as xt, s as vt, g as bt, b as St, a as wt, c as lt, A as Lt, d as H, ac as Et, z as At, k as Tt } from "./mermaid.core-CvRAjOPA.js";
|
|
2
2
|
import { o as Mt } from "./ordinal-DfAQgscy.js";
|
|
3
|
-
import { O as Nt } from "./index-
|
|
3
|
+
import { O as Nt } from "./index-D8tUqFuv.js";
|
|
4
4
|
const It = Nt("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");
|
|
5
5
|
function ct(t, n) {
|
|
6
6
|
let s;
|
package/dist/chunks/{sankeyDiagram-HRAUVNP4-cBbImrbs.js → sankeyDiagram-HRAUVNP4-DU21EcHr.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./mermaid.core-DUHba1Nm.js"),_t=require("./ordinal-CPpcdEvZ.js"),mt=require("./index-CEBRe30q.js"),kt=mt.colors("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function at(t,n){let s;if(n===void 0)for(const a of t)a!=null&&(s<a||s===void 0&&a>=a)&&(s=a);else{let a=-1;for(let h of t)(h=n(h,++a,t))!=null&&(s<h||s===void 0&&h>=h)&&(s=h)}return s}function dt(t,n){let s;if(n===void 0)for(const a of t)a!=null&&(s>a||s===void 0&&a>=a)&&(s=a);else{let a=-1;for(let h of t)(h=n(h,++a,t))!=null&&(s>h||s===void 0&&h>=h)&&(s=h)}return s}function et(t,n){let s=0;if(n===void 0)for(let a of t)(a=+a)&&(s+=a);else{let a=-1;for(let h of t)(h=+n(h,++a,t))&&(s+=h)}return s}function xt(t){return t.target.depth}function vt(t){return t.depth}function bt(t,n){return n-1-t.height}function gt(t,n){return t.sourceLinks.length?t.depth:n-1}function St(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?dt(t.sourceLinks,xt)-1:0}function H(t){return function(){return t}}function lt(t,n){return X(t.source,n.source)||t.index-n.index}function ct(t,n){return X(t.target,n.target)||t.index-n.index}function X(t,n){return t.y0-n.y0}function nt(t){return t.value}function wt(t){return t.index}function Lt(t){return t.nodes}function Et(t){return t.links}function ut(t,n){const s=t.get(n);if(!s)throw new Error("missing: "+n);return s}function ht({nodes:t}){for(const n of t){let s=n.y0,a=s;for(const h of n.sourceLinks)h.y0=s+h.width/2,s+=h.width;for(const h of n.targetLinks)h.y1=a+h.width/2,a+=h.width}}function At(){let t=0,n=0,s=1,a=1,h=24,g=8,_,k=wt,i=gt,o,l,x=Lt,v=Et,d=6;function b(){const e={nodes:x.apply(null,arguments),links:v.apply(null,arguments)};return M(e),T(e),N(e),I(e),w(e),ht(e),e}b.update=function(e){return ht(e),e},b.nodeId=function(e){return arguments.length?(k=typeof e=="function"?e:H(e),b):k},b.nodeAlign=function(e){return arguments.length?(i=typeof e=="function"?e:H(e),b):i},b.nodeSort=function(e){return arguments.length?(o=e,b):o},b.nodeWidth=function(e){return arguments.length?(h=+e,b):h},b.nodePadding=function(e){return arguments.length?(g=_=+e,b):g},b.nodes=function(e){return arguments.length?(x=typeof e=="function"?e:H(e),b):x},b.links=function(e){return arguments.length?(v=typeof e=="function"?e:H(e),b):v},b.linkSort=function(e){return arguments.length?(l=e,b):l},b.size=function(e){return arguments.length?(t=n=0,s=+e[0],a=+e[1],b):[s-t,a-n]},b.extent=function(e){return arguments.length?(t=+e[0][0],s=+e[1][0],n=+e[0][1],a=+e[1][1],b):[[t,n],[s,a]]},b.iterations=function(e){return arguments.length?(d=+e,b):d};function M({nodes:e,links:y}){for(const[c,r]of e.entries())r.index=c,r.sourceLinks=[],r.targetLinks=[];const u=new Map(e.map((c,r)=>[k(c,r,e),c]));for(const[c,r]of y.entries()){r.index=c;let{source:m,target:S}=r;typeof m!="object"&&(m=r.source=ut(u,m)),typeof S!="object"&&(S=r.target=ut(u,S)),m.sourceLinks.push(r),S.targetLinks.push(r)}if(l!=null)for(const{sourceLinks:c,targetLinks:r}of e)c.sort(l),r.sort(l)}function T({nodes:e}){for(const y of e)y.value=y.fixedValue===void 0?Math.max(et(y.sourceLinks,nt),et(y.targetLinks,nt)):y.fixedValue}function N({nodes:e}){const y=e.length;let u=new Set(e),c=new Set,r=0;for(;u.size;){for(const m of u){m.depth=r;for(const{target:S}of m.sourceLinks)c.add(S)}if(++r>y)throw new Error("circular link");u=c,c=new Set}}function I({nodes:e}){const y=e.length;let u=new Set(e),c=new Set,r=0;for(;u.size;){for(const m of u){m.height=r;for(const{source:S}of m.targetLinks)c.add(S)}if(++r>y)throw new Error("circular link");u=c,c=new Set}}function $({nodes:e}){const y=at(e,r=>r.depth)+1,u=(s-t-h)/(y-1),c=new Array(y);for(const r of e){const m=Math.max(0,Math.min(y-1,Math.floor(i.call(null,r,y))));r.layer=m,r.x0=t+m*u,r.x1=r.x0+h,c[m]?c[m].push(r):c[m]=[r]}if(o)for(const r of c)r.sort(o);return c}function R(e){const y=dt(e,u=>(a-n-(u.length-1)*_)/et(u,nt));for(const u of e){let c=n;for(const r of u){r.y0=c,r.y1=c+r.value*y,c=r.y1+_;for(const m of r.sourceLinks)m.width=m.value*y}c=(a-c+_)/(u.length+1);for(let r=0;r<u.length;++r){const m=u[r];m.y0+=c*(r+1),m.y1+=c*(r+1)}A(u)}}function w(e){const y=$(e);_=Math.min(g,(a-n)/(at(y,u=>u.length)-1)),R(y);for(let u=0;u<d;++u){const c=Math.pow(.99,u),r=Math.max(1-c,(u+1)/d);B(y,c,r),C(y,c,r)}}function C(e,y,u){for(let c=1,r=e.length;c<r;++c){const m=e[c];for(const S of m){let L=0,F=0;for(const{source:G,value:tt}of S.targetLinks){let Y=tt*(S.layer-G.layer);L+=j(G,S)*Y,F+=Y}if(!(F>0))continue;let q=(L/F-S.y0)*y;S.y0+=q,S.y1+=q,E(S)}o===void 0&&m.sort(X),O(m,u)}}function B(e,y,u){for(let c=e.length,r=c-2;r>=0;--r){const m=e[r];for(const S of m){let L=0,F=0;for(const{target:G,value:tt}of S.sourceLinks){let Y=tt*(G.layer-S.layer);L+=P(S,G)*Y,F+=Y}if(!(F>0))continue;let q=(L/F-S.y0)*y;S.y0+=q,S.y1+=q,E(S)}o===void 0&&m.sort(X),O(m,u)}}function O(e,y){const u=e.length>>1,c=e[u];p(e,c.y0-_,u-1,y),D(e,c.y1+_,u+1,y),p(e,a,e.length-1,y),D(e,n,0,y)}function D(e,y,u,c){for(;u<e.length;++u){const r=e[u],m=(y-r.y0)*c;m>1e-6&&(r.y0+=m,r.y1+=m),y=r.y1+_}}function p(e,y,u,c){for(;u>=0;--u){const r=e[u],m=(r.y1-y)*c;m>1e-6&&(r.y0-=m,r.y1-=m),y=r.y0-_}}function E({sourceLinks:e,targetLinks:y}){if(l===void 0){for(const{source:{sourceLinks:u}}of y)u.sort(ct);for(const{target:{targetLinks:u}}of e)u.sort(lt)}}function A(e){if(l===void 0)for(const{sourceLinks:y,targetLinks:u}of e)y.sort(ct),u.sort(lt)}function j(e,y){let u=e.y0-(e.sourceLinks.length-1)*_/2;for(const{target:c,width:r}of e.sourceLinks){if(c===y)break;u+=r+_}for(const{source:c,width:r}of y.targetLinks){if(c===e)break;u-=r}return u}function P(e,y){let u=y.y0-(y.targetLinks.length-1)*_/2;for(const{source:c,width:r}of y.targetLinks){if(c===e)break;u+=r+_}for(const{target:c,width:r}of e.sourceLinks){if(c===y)break;u-=r}return u}return b}var it=Math.PI,st=2*it,V=1e-6,Tt=st-V;function rt(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function pt(){return new rt}rt.prototype=pt.prototype={constructor:rt,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,s,a){this._+="Q"+ +t+","+ +n+","+(this._x1=+s)+","+(this._y1=+a)},bezierCurveTo:function(t,n,s,a,h,g){this._+="C"+ +t+","+ +n+","+ +s+","+ +a+","+(this._x1=+h)+","+(this._y1=+g)},arcTo:function(t,n,s,a,h){t=+t,n=+n,s=+s,a=+a,h=+h;var g=this._x1,_=this._y1,k=s-t,i=a-n,o=g-t,l=_-n,x=o*o+l*l;if(h<0)throw new Error("negative radius: "+h);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(x>V)if(!(Math.abs(l*k-i*o)>V)||!h)this._+="L"+(this._x1=t)+","+(this._y1=n);else{var v=s-g,d=a-_,b=k*k+i*i,M=v*v+d*d,T=Math.sqrt(b),N=Math.sqrt(x),I=h*Math.tan((it-Math.acos((b+x-M)/(2*T*N)))/2),$=I/N,R=I/T;Math.abs($-1)>V&&(this._+="L"+(t+$*o)+","+(n+$*l)),this._+="A"+h+","+h+",0,0,"+ +(l*v>o*d)+","+(this._x1=t+R*k)+","+(this._y1=n+R*i)}},arc:function(t,n,s,a,h,g){t=+t,n=+n,s=+s,g=!!g;var _=s*Math.cos(a),k=s*Math.sin(a),i=t+_,o=n+k,l=1^g,x=g?a-h:h-a;if(s<0)throw new Error("negative radius: "+s);this._x1===null?this._+="M"+i+","+o:(Math.abs(this._x1-i)>V||Math.abs(this._y1-o)>V)&&(this._+="L"+i+","+o),s&&(x<0&&(x=x%st+st),x>Tt?this._+="A"+s+","+s+",0,1,"+l+","+(t-_)+","+(n-k)+"A"+s+","+s+",0,1,"+l+","+(this._x1=i)+","+(this._y1=o):x>V&&(this._+="A"+s+","+s+",0,"+ +(x>=it)+","+l+","+(this._x1=t+s*Math.cos(h))+","+(this._y1=n+s*Math.sin(h))))},rect:function(t,n,s,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +s+"v"+ +a+"h"+-s+"Z"},toString:function(){return this._}};function ft(t){return function(){return t}}function Mt(t){return t[0]}function Nt(t){return t[1]}var Pt=Array.prototype.slice;function Ct(t){return t.source}function It(t){return t.target}function Ot(t){var n=Ct,s=It,a=Mt,h=Nt,g=null;function _(){var k,i=Pt.call(arguments),o=n.apply(this,i),l=s.apply(this,i);if(g||(g=k=pt()),t(g,+a.apply(this,(i[0]=o,i)),+h.apply(this,i),+a.apply(this,(i[0]=l,i)),+h.apply(this,i)),k)return g=null,k+""||null}return _.source=function(k){return arguments.length?(n=k,_):n},_.target=function(k){return arguments.length?(s=k,_):s},_.x=function(k){return arguments.length?(a=typeof k=="function"?k:ft(+k),_):a},_.y=function(k){return arguments.length?(h=typeof k=="function"?k:ft(+k),_):h},_.context=function(k){return arguments.length?(g=k??null,_):g},_}function Dt(t,n,s,a,h){t.moveTo(n,s),t.bezierCurveTo(n=(n+a)/2,s,n,h,a,h)}function $t(){return Ot(Dt)}function jt(t){return[t.source.x1,t.y0]}function zt(t){return[t.target.x0,t.y1]}function Bt(){return $t().source(jt).target(zt)}var ot=function(){var t=f.__name(function(k,i,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=i);return o},"o"),n=[1,9],s=[1,10],a=[1,5,10,12],h={trace:f.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:f.__name(function(i,o,l,x,v,d,b){var M=d.length-1;switch(v){case 7:const T=x.findOrCreateNode(d[M-4].trim().replaceAll('""','"')),N=x.findOrCreateNode(d[M-2].trim().replaceAll('""','"')),I=parseFloat(d[M].trim());x.addLink(T,N,I);break;case 8:case 9:case 11:this.$=d[M];break;case 10:this.$=d[M-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:n,20:s},{1:[2,6],7:11,10:[1,12]},t(s,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(a,[2,8]),t(a,[2,9]),{19:[1,16]},t(a,[2,11]),{1:[2,1]},{1:[2,5]},t(s,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:n,20:s},{15:18,16:7,17:8,18:n,20:s},{18:[1,19]},t(s,[2,3]),{12:[1,20]},t(a,[2,10]),{15:21,16:7,17:8,18:n,20:s},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:f.__name(function(i,o){if(o.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=o,l}},"parseError"),parse:f.__name(function(i){var o=this,l=[0],x=[],v=[null],d=[],b=this.table,M="",T=0,N=0,I=2,$=1,R=d.slice.call(arguments,1),w=Object.create(this.lexer),C={yy:{}};for(var B in this.yy)Object.prototype.hasOwnProperty.call(this.yy,B)&&(C.yy[B]=this.yy[B]);w.setInput(i,C.yy),C.yy.lexer=w,C.yy.parser=this,typeof w.yylloc>"u"&&(w.yylloc={});var O=w.yylloc;d.push(O);var D=w.options&&w.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function p(L){l.length=l.length-2*L,v.length=v.length-L,d.length=d.length-L}f.__name(p,"popStack");function E(){var L;return L=x.pop()||w.lex()||$,typeof L!="number"&&(L instanceof Array&&(x=L,L=x.pop()),L=o.symbols_[L]||L),L}f.__name(E,"lex");for(var A,j,P,e,y={},u,c,r,m;;){if(j=l[l.length-1],this.defaultActions[j]?P=this.defaultActions[j]:((A===null||typeof A>"u")&&(A=E()),P=b[j]&&b[j][A]),typeof P>"u"||!P.length||!P[0]){var S="";m=[];for(u in b[j])this.terminals_[u]&&u>I&&m.push("'"+this.terminals_[u]+"'");w.showPosition?S="Parse error on line "+(T+1)+`:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./mermaid.core-BAzkKVaz.js"),_t=require("./ordinal-CPpcdEvZ.js"),mt=require("./index-DwpuFQtu.js"),kt=mt.colors("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function at(t,n){let s;if(n===void 0)for(const a of t)a!=null&&(s<a||s===void 0&&a>=a)&&(s=a);else{let a=-1;for(let h of t)(h=n(h,++a,t))!=null&&(s<h||s===void 0&&h>=h)&&(s=h)}return s}function dt(t,n){let s;if(n===void 0)for(const a of t)a!=null&&(s>a||s===void 0&&a>=a)&&(s=a);else{let a=-1;for(let h of t)(h=n(h,++a,t))!=null&&(s>h||s===void 0&&h>=h)&&(s=h)}return s}function et(t,n){let s=0;if(n===void 0)for(let a of t)(a=+a)&&(s+=a);else{let a=-1;for(let h of t)(h=+n(h,++a,t))&&(s+=h)}return s}function xt(t){return t.target.depth}function vt(t){return t.depth}function bt(t,n){return n-1-t.height}function gt(t,n){return t.sourceLinks.length?t.depth:n-1}function St(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?dt(t.sourceLinks,xt)-1:0}function H(t){return function(){return t}}function lt(t,n){return X(t.source,n.source)||t.index-n.index}function ct(t,n){return X(t.target,n.target)||t.index-n.index}function X(t,n){return t.y0-n.y0}function nt(t){return t.value}function wt(t){return t.index}function Lt(t){return t.nodes}function Et(t){return t.links}function ut(t,n){const s=t.get(n);if(!s)throw new Error("missing: "+n);return s}function ht({nodes:t}){for(const n of t){let s=n.y0,a=s;for(const h of n.sourceLinks)h.y0=s+h.width/2,s+=h.width;for(const h of n.targetLinks)h.y1=a+h.width/2,a+=h.width}}function At(){let t=0,n=0,s=1,a=1,h=24,g=8,_,k=wt,i=gt,o,l,x=Lt,v=Et,d=6;function b(){const e={nodes:x.apply(null,arguments),links:v.apply(null,arguments)};return M(e),T(e),N(e),I(e),w(e),ht(e),e}b.update=function(e){return ht(e),e},b.nodeId=function(e){return arguments.length?(k=typeof e=="function"?e:H(e),b):k},b.nodeAlign=function(e){return arguments.length?(i=typeof e=="function"?e:H(e),b):i},b.nodeSort=function(e){return arguments.length?(o=e,b):o},b.nodeWidth=function(e){return arguments.length?(h=+e,b):h},b.nodePadding=function(e){return arguments.length?(g=_=+e,b):g},b.nodes=function(e){return arguments.length?(x=typeof e=="function"?e:H(e),b):x},b.links=function(e){return arguments.length?(v=typeof e=="function"?e:H(e),b):v},b.linkSort=function(e){return arguments.length?(l=e,b):l},b.size=function(e){return arguments.length?(t=n=0,s=+e[0],a=+e[1],b):[s-t,a-n]},b.extent=function(e){return arguments.length?(t=+e[0][0],s=+e[1][0],n=+e[0][1],a=+e[1][1],b):[[t,n],[s,a]]},b.iterations=function(e){return arguments.length?(d=+e,b):d};function M({nodes:e,links:y}){for(const[c,r]of e.entries())r.index=c,r.sourceLinks=[],r.targetLinks=[];const u=new Map(e.map((c,r)=>[k(c,r,e),c]));for(const[c,r]of y.entries()){r.index=c;let{source:m,target:S}=r;typeof m!="object"&&(m=r.source=ut(u,m)),typeof S!="object"&&(S=r.target=ut(u,S)),m.sourceLinks.push(r),S.targetLinks.push(r)}if(l!=null)for(const{sourceLinks:c,targetLinks:r}of e)c.sort(l),r.sort(l)}function T({nodes:e}){for(const y of e)y.value=y.fixedValue===void 0?Math.max(et(y.sourceLinks,nt),et(y.targetLinks,nt)):y.fixedValue}function N({nodes:e}){const y=e.length;let u=new Set(e),c=new Set,r=0;for(;u.size;){for(const m of u){m.depth=r;for(const{target:S}of m.sourceLinks)c.add(S)}if(++r>y)throw new Error("circular link");u=c,c=new Set}}function I({nodes:e}){const y=e.length;let u=new Set(e),c=new Set,r=0;for(;u.size;){for(const m of u){m.height=r;for(const{source:S}of m.targetLinks)c.add(S)}if(++r>y)throw new Error("circular link");u=c,c=new Set}}function $({nodes:e}){const y=at(e,r=>r.depth)+1,u=(s-t-h)/(y-1),c=new Array(y);for(const r of e){const m=Math.max(0,Math.min(y-1,Math.floor(i.call(null,r,y))));r.layer=m,r.x0=t+m*u,r.x1=r.x0+h,c[m]?c[m].push(r):c[m]=[r]}if(o)for(const r of c)r.sort(o);return c}function R(e){const y=dt(e,u=>(a-n-(u.length-1)*_)/et(u,nt));for(const u of e){let c=n;for(const r of u){r.y0=c,r.y1=c+r.value*y,c=r.y1+_;for(const m of r.sourceLinks)m.width=m.value*y}c=(a-c+_)/(u.length+1);for(let r=0;r<u.length;++r){const m=u[r];m.y0+=c*(r+1),m.y1+=c*(r+1)}A(u)}}function w(e){const y=$(e);_=Math.min(g,(a-n)/(at(y,u=>u.length)-1)),R(y);for(let u=0;u<d;++u){const c=Math.pow(.99,u),r=Math.max(1-c,(u+1)/d);B(y,c,r),C(y,c,r)}}function C(e,y,u){for(let c=1,r=e.length;c<r;++c){const m=e[c];for(const S of m){let L=0,F=0;for(const{source:G,value:tt}of S.targetLinks){let Y=tt*(S.layer-G.layer);L+=j(G,S)*Y,F+=Y}if(!(F>0))continue;let q=(L/F-S.y0)*y;S.y0+=q,S.y1+=q,E(S)}o===void 0&&m.sort(X),O(m,u)}}function B(e,y,u){for(let c=e.length,r=c-2;r>=0;--r){const m=e[r];for(const S of m){let L=0,F=0;for(const{target:G,value:tt}of S.sourceLinks){let Y=tt*(G.layer-S.layer);L+=P(S,G)*Y,F+=Y}if(!(F>0))continue;let q=(L/F-S.y0)*y;S.y0+=q,S.y1+=q,E(S)}o===void 0&&m.sort(X),O(m,u)}}function O(e,y){const u=e.length>>1,c=e[u];p(e,c.y0-_,u-1,y),D(e,c.y1+_,u+1,y),p(e,a,e.length-1,y),D(e,n,0,y)}function D(e,y,u,c){for(;u<e.length;++u){const r=e[u],m=(y-r.y0)*c;m>1e-6&&(r.y0+=m,r.y1+=m),y=r.y1+_}}function p(e,y,u,c){for(;u>=0;--u){const r=e[u],m=(r.y1-y)*c;m>1e-6&&(r.y0-=m,r.y1-=m),y=r.y0-_}}function E({sourceLinks:e,targetLinks:y}){if(l===void 0){for(const{source:{sourceLinks:u}}of y)u.sort(ct);for(const{target:{targetLinks:u}}of e)u.sort(lt)}}function A(e){if(l===void 0)for(const{sourceLinks:y,targetLinks:u}of e)y.sort(ct),u.sort(lt)}function j(e,y){let u=e.y0-(e.sourceLinks.length-1)*_/2;for(const{target:c,width:r}of e.sourceLinks){if(c===y)break;u+=r+_}for(const{source:c,width:r}of y.targetLinks){if(c===e)break;u-=r}return u}function P(e,y){let u=y.y0-(y.targetLinks.length-1)*_/2;for(const{source:c,width:r}of y.targetLinks){if(c===e)break;u+=r+_}for(const{target:c,width:r}of e.sourceLinks){if(c===y)break;u-=r}return u}return b}var it=Math.PI,st=2*it,V=1e-6,Tt=st-V;function rt(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function pt(){return new rt}rt.prototype=pt.prototype={constructor:rt,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,s,a){this._+="Q"+ +t+","+ +n+","+(this._x1=+s)+","+(this._y1=+a)},bezierCurveTo:function(t,n,s,a,h,g){this._+="C"+ +t+","+ +n+","+ +s+","+ +a+","+(this._x1=+h)+","+(this._y1=+g)},arcTo:function(t,n,s,a,h){t=+t,n=+n,s=+s,a=+a,h=+h;var g=this._x1,_=this._y1,k=s-t,i=a-n,o=g-t,l=_-n,x=o*o+l*l;if(h<0)throw new Error("negative radius: "+h);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(x>V)if(!(Math.abs(l*k-i*o)>V)||!h)this._+="L"+(this._x1=t)+","+(this._y1=n);else{var v=s-g,d=a-_,b=k*k+i*i,M=v*v+d*d,T=Math.sqrt(b),N=Math.sqrt(x),I=h*Math.tan((it-Math.acos((b+x-M)/(2*T*N)))/2),$=I/N,R=I/T;Math.abs($-1)>V&&(this._+="L"+(t+$*o)+","+(n+$*l)),this._+="A"+h+","+h+",0,0,"+ +(l*v>o*d)+","+(this._x1=t+R*k)+","+(this._y1=n+R*i)}},arc:function(t,n,s,a,h,g){t=+t,n=+n,s=+s,g=!!g;var _=s*Math.cos(a),k=s*Math.sin(a),i=t+_,o=n+k,l=1^g,x=g?a-h:h-a;if(s<0)throw new Error("negative radius: "+s);this._x1===null?this._+="M"+i+","+o:(Math.abs(this._x1-i)>V||Math.abs(this._y1-o)>V)&&(this._+="L"+i+","+o),s&&(x<0&&(x=x%st+st),x>Tt?this._+="A"+s+","+s+",0,1,"+l+","+(t-_)+","+(n-k)+"A"+s+","+s+",0,1,"+l+","+(this._x1=i)+","+(this._y1=o):x>V&&(this._+="A"+s+","+s+",0,"+ +(x>=it)+","+l+","+(this._x1=t+s*Math.cos(h))+","+(this._y1=n+s*Math.sin(h))))},rect:function(t,n,s,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +s+"v"+ +a+"h"+-s+"Z"},toString:function(){return this._}};function ft(t){return function(){return t}}function Mt(t){return t[0]}function Nt(t){return t[1]}var Pt=Array.prototype.slice;function Ct(t){return t.source}function It(t){return t.target}function Ot(t){var n=Ct,s=It,a=Mt,h=Nt,g=null;function _(){var k,i=Pt.call(arguments),o=n.apply(this,i),l=s.apply(this,i);if(g||(g=k=pt()),t(g,+a.apply(this,(i[0]=o,i)),+h.apply(this,i),+a.apply(this,(i[0]=l,i)),+h.apply(this,i)),k)return g=null,k+""||null}return _.source=function(k){return arguments.length?(n=k,_):n},_.target=function(k){return arguments.length?(s=k,_):s},_.x=function(k){return arguments.length?(a=typeof k=="function"?k:ft(+k),_):a},_.y=function(k){return arguments.length?(h=typeof k=="function"?k:ft(+k),_):h},_.context=function(k){return arguments.length?(g=k??null,_):g},_}function Dt(t,n,s,a,h){t.moveTo(n,s),t.bezierCurveTo(n=(n+a)/2,s,n,h,a,h)}function $t(){return Ot(Dt)}function jt(t){return[t.source.x1,t.y0]}function zt(t){return[t.target.x0,t.y1]}function Bt(){return $t().source(jt).target(zt)}var ot=function(){var t=f.__name(function(k,i,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=i);return o},"o"),n=[1,9],s=[1,10],a=[1,5,10,12],h={trace:f.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:f.__name(function(i,o,l,x,v,d,b){var M=d.length-1;switch(v){case 7:const T=x.findOrCreateNode(d[M-4].trim().replaceAll('""','"')),N=x.findOrCreateNode(d[M-2].trim().replaceAll('""','"')),I=parseFloat(d[M].trim());x.addLink(T,N,I);break;case 8:case 9:case 11:this.$=d[M];break;case 10:this.$=d[M-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:n,20:s},{1:[2,6],7:11,10:[1,12]},t(s,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(a,[2,8]),t(a,[2,9]),{19:[1,16]},t(a,[2,11]),{1:[2,1]},{1:[2,5]},t(s,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:n,20:s},{15:18,16:7,17:8,18:n,20:s},{18:[1,19]},t(s,[2,3]),{12:[1,20]},t(a,[2,10]),{15:21,16:7,17:8,18:n,20:s},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:f.__name(function(i,o){if(o.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=o,l}},"parseError"),parse:f.__name(function(i){var o=this,l=[0],x=[],v=[null],d=[],b=this.table,M="",T=0,N=0,I=2,$=1,R=d.slice.call(arguments,1),w=Object.create(this.lexer),C={yy:{}};for(var B in this.yy)Object.prototype.hasOwnProperty.call(this.yy,B)&&(C.yy[B]=this.yy[B]);w.setInput(i,C.yy),C.yy.lexer=w,C.yy.parser=this,typeof w.yylloc>"u"&&(w.yylloc={});var O=w.yylloc;d.push(O);var D=w.options&&w.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function p(L){l.length=l.length-2*L,v.length=v.length-L,d.length=d.length-L}f.__name(p,"popStack");function E(){var L;return L=x.pop()||w.lex()||$,typeof L!="number"&&(L instanceof Array&&(x=L,L=x.pop()),L=o.symbols_[L]||L),L}f.__name(E,"lex");for(var A,j,P,e,y={},u,c,r,m;;){if(j=l[l.length-1],this.defaultActions[j]?P=this.defaultActions[j]:((A===null||typeof A>"u")&&(A=E()),P=b[j]&&b[j][A]),typeof P>"u"||!P.length||!P[0]){var S="";m=[];for(u in b[j])this.terminals_[u]&&u>I&&m.push("'"+this.terminals_[u]+"'");w.showPosition?S="Parse error on line "+(T+1)+`:
|
|
2
2
|
`+w.showPosition()+`
|
|
3
3
|
Expecting `+m.join(", ")+", got '"+(this.terminals_[A]||A)+"'":S="Parse error on line "+(T+1)+": Unexpected "+(A==$?"end of input":"'"+(this.terminals_[A]||A)+"'"),this.parseError(S,{text:w.match,token:this.terminals_[A]||A,line:w.yylineno,loc:O,expected:m})}if(P[0]instanceof Array&&P.length>1)throw new Error("Parse Error: multiple actions possible at state: "+j+", token: "+A);switch(P[0]){case 1:l.push(A),v.push(w.yytext),d.push(w.yylloc),l.push(P[1]),A=null,N=w.yyleng,M=w.yytext,T=w.yylineno,O=w.yylloc;break;case 2:if(c=this.productions_[P[1]][1],y.$=v[v.length-c],y._$={first_line:d[d.length-(c||1)].first_line,last_line:d[d.length-1].last_line,first_column:d[d.length-(c||1)].first_column,last_column:d[d.length-1].last_column},D&&(y._$.range=[d[d.length-(c||1)].range[0],d[d.length-1].range[1]]),e=this.performAction.apply(y,[M,N,T,C.yy,P[1],v,d].concat(R)),typeof e<"u")return e;c&&(l=l.slice(0,-1*c*2),v=v.slice(0,-1*c),d=d.slice(0,-1*c)),l.push(this.productions_[P[1]][0]),v.push(y.$),d.push(y._$),r=b[l[l.length-2]][l[l.length-1]],l.push(r);break;case 3:return!0}}return!0},"parse")},g=function(){var k={EOF:1,parseError:f.__name(function(o,l){if(this.yy.parser)this.yy.parser.parseError(o,l);else throw new Error(o)},"parseError"),setInput:f.__name(function(i,o){return this.yy=o||this.yy||{},this._input=i,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:f.__name(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var o=i.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:f.__name(function(i){var o=i.length,l=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var x=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),l.length-1&&(this.yylineno-=l.length-1);var v=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:l?(l.length===x.length?this.yylloc.first_column:0)+x[x.length-l.length].length-l[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[v[0],v[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},"unput"),more:f.__name(function(){return this._more=!0,this},"more"),reject:f.__name(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:f.__name(function(i){this.unput(this.match.slice(i))},"less"),pastInput:f.__name(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f.__name(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f.__name(function(){var i=this.pastInput(),o=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
package/dist/chunks/{sequenceDiagram-4MX5Z3NR-Bd5Er185.js → sequenceDiagram-4MX5Z3NR-BPzYnPk7.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const et=require("./chunk-OMD6QJNC-WKu2bzIs.js"),ae=require("./chunk-FHKO5MBM-Fi3oUOyz.js"),s=require("./mermaid.core-DUHba1Nm.js");var Pt=function(){var e=s.__name(function(nt,b,v,L){for(v=v||{},L=nt.length;L--;v[nt[L]]=b);return v},"o"),t=[1,2],c=[1,3],a=[1,4],i=[2,4],n=[1,9],o=[1,11],d=[1,13],u=[1,14],r=[1,16],f=[1,17],T=[1,18],g=[1,24],x=[1,25],y=[1,26],w=[1,27],P=[1,28],D=[1,29],N=[1,30],O=[1,31],R=[1,32],Y=[1,33],F=[1,34],K=[1,35],Q=[1,36],W=[1,37],q=[1,38],V=[1,39],S=[1,41],U=[1,42],z=[1,43],G=[1,44],Z=[1,45],k=[1,46],_=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],I=[4,5,16,50,52,53],X=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],$=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],A=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],Mt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],at=[68,69,70],it=[1,122],bt={trace:s.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,BIDIRECTIONAL_SOLID_ARROW:74,DOTTED_ARROW:75,BIDIRECTIONAL_DOTTED_ARROW:76,SOLID_CROSS:77,DOTTED_CROSS:78,SOLID_POINT:79,DOTTED_POINT:80,TXT:81,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"BIDIRECTIONAL_SOLID_ARROW",75:"DOTTED_ARROW",76:"BIDIRECTIONAL_DOTTED_ARROW",77:"SOLID_CROSS",78:"DOTTED_CROSS",79:"SOLID_POINT",80:"DOTTED_POINT",81:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:s.__name(function(b,v,L,E,M,h,ft){var p=h.length-1;switch(M){case 3:return E.apply(h[p]),h[p];case 4:case 9:this.$=[];break;case 5:case 10:h[p-1].push(h[p]),this.$=h[p-1];break;case 6:case 7:case 11:case 12:this.$=h[p];break;case 8:case 13:this.$=[];break;case 15:h[p].type="createParticipant",this.$=h[p];break;case 16:h[p-1].unshift({type:"boxStart",boxData:E.parseBoxData(h[p-2])}),h[p-1].push({type:"boxEnd",boxText:h[p-2]}),this.$=h[p-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(h[p-2]),sequenceIndexStep:Number(h[p-1]),sequenceVisible:!0,signalType:E.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(h[p-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:E.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:E.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:E.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:E.LINETYPE.ACTIVE_START,actor:h[p-1].actor};break;case 23:this.$={type:"activeEnd",signalType:E.LINETYPE.ACTIVE_END,actor:h[p-1].actor};break;case 29:E.setDiagramTitle(h[p].substring(6)),this.$=h[p].substring(6);break;case 30:E.setDiagramTitle(h[p].substring(7)),this.$=h[p].substring(7);break;case 31:this.$=h[p].trim(),E.setAccTitle(this.$);break;case 32:case 33:this.$=h[p].trim(),E.setAccDescription(this.$);break;case 34:h[p-1].unshift({type:"loopStart",loopText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.LOOP_START}),h[p-1].push({type:"loopEnd",loopText:h[p-2],signalType:E.LINETYPE.LOOP_END}),this.$=h[p-1];break;case 35:h[p-1].unshift({type:"rectStart",color:E.parseMessage(h[p-2]),signalType:E.LINETYPE.RECT_START}),h[p-1].push({type:"rectEnd",color:E.parseMessage(h[p-2]),signalType:E.LINETYPE.RECT_END}),this.$=h[p-1];break;case 36:h[p-1].unshift({type:"optStart",optText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.OPT_START}),h[p-1].push({type:"optEnd",optText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.OPT_END}),this.$=h[p-1];break;case 37:h[p-1].unshift({type:"altStart",altText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.ALT_START}),h[p-1].push({type:"altEnd",signalType:E.LINETYPE.ALT_END}),this.$=h[p-1];break;case 38:h[p-1].unshift({type:"parStart",parText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.PAR_START}),h[p-1].push({type:"parEnd",signalType:E.LINETYPE.PAR_END}),this.$=h[p-1];break;case 39:h[p-1].unshift({type:"parStart",parText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.PAR_OVER_START}),h[p-1].push({type:"parEnd",signalType:E.LINETYPE.PAR_END}),this.$=h[p-1];break;case 40:h[p-1].unshift({type:"criticalStart",criticalText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.CRITICAL_START}),h[p-1].push({type:"criticalEnd",signalType:E.LINETYPE.CRITICAL_END}),this.$=h[p-1];break;case 41:h[p-1].unshift({type:"breakStart",breakText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.BREAK_START}),h[p-1].push({type:"breakEnd",optText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.BREAK_END}),this.$=h[p-1];break;case 43:this.$=h[p-3].concat([{type:"option",optionText:E.parseMessage(h[p-1]),signalType:E.LINETYPE.CRITICAL_OPTION},h[p]]);break;case 45:this.$=h[p-3].concat([{type:"and",parText:E.parseMessage(h[p-1]),signalType:E.LINETYPE.PAR_AND},h[p]]);break;case 47:this.$=h[p-3].concat([{type:"else",altText:E.parseMessage(h[p-1]),signalType:E.LINETYPE.ALT_ELSE},h[p]]);break;case 48:h[p-3].draw="participant",h[p-3].type="addParticipant",h[p-3].description=E.parseMessage(h[p-1]),this.$=h[p-3];break;case 49:h[p-1].draw="participant",h[p-1].type="addParticipant",this.$=h[p-1];break;case 50:h[p-3].draw="actor",h[p-3].type="addParticipant",h[p-3].description=E.parseMessage(h[p-1]),this.$=h[p-3];break;case 51:h[p-1].draw="actor",h[p-1].type="addParticipant",this.$=h[p-1];break;case 52:h[p-1].type="destroyParticipant",this.$=h[p-1];break;case 53:this.$=[h[p-1],{type:"addNote",placement:h[p-2],actor:h[p-1].actor,text:h[p]}];break;case 54:h[p-2]=[].concat(h[p-1],h[p-1]).slice(0,2),h[p-2][0]=h[p-2][0].actor,h[p-2][1]=h[p-2][1].actor,this.$=[h[p-1],{type:"addNote",placement:E.PLACEMENT.OVER,actor:h[p-2].slice(0,2),text:h[p]}];break;case 55:this.$=[h[p-1],{type:"addLinks",actor:h[p-1].actor,text:h[p]}];break;case 56:this.$=[h[p-1],{type:"addALink",actor:h[p-1].actor,text:h[p]}];break;case 57:this.$=[h[p-1],{type:"addProperties",actor:h[p-1].actor,text:h[p]}];break;case 58:this.$=[h[p-1],{type:"addDetails",actor:h[p-1].actor,text:h[p]}];break;case 61:this.$=[h[p-2],h[p]];break;case 62:this.$=h[p];break;case 63:this.$=E.PLACEMENT.LEFTOF;break;case 64:this.$=E.PLACEMENT.RIGHTOF;break;case 65:this.$=[h[p-4],h[p-1],{type:"addMessage",from:h[p-4].actor,to:h[p-1].actor,signalType:h[p-3],msg:h[p],activate:!0},{type:"activeStart",signalType:E.LINETYPE.ACTIVE_START,actor:h[p-1].actor}];break;case 66:this.$=[h[p-4],h[p-1],{type:"addMessage",from:h[p-4].actor,to:h[p-1].actor,signalType:h[p-3],msg:h[p]},{type:"activeEnd",signalType:E.LINETYPE.ACTIVE_END,actor:h[p-4].actor}];break;case 67:this.$=[h[p-3],h[p-1],{type:"addMessage",from:h[p-3].actor,to:h[p-1].actor,signalType:h[p-2],msg:h[p]}];break;case 68:this.$={type:"addParticipant",actor:h[p]};break;case 69:this.$=E.LINETYPE.SOLID_OPEN;break;case 70:this.$=E.LINETYPE.DOTTED_OPEN;break;case 71:this.$=E.LINETYPE.SOLID;break;case 72:this.$=E.LINETYPE.BIDIRECTIONAL_SOLID;break;case 73:this.$=E.LINETYPE.DOTTED;break;case 74:this.$=E.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 75:this.$=E.LINETYPE.SOLID_CROSS;break;case 76:this.$=E.LINETYPE.DOTTED_CROSS;break;case 77:this.$=E.LINETYPE.SOLID_POINT;break;case 78:this.$=E.LINETYPE.DOTTED_POINT;break;case 79:this.$=E.parseMessage(h[p].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:c,6:a},{1:[3]},{3:5,4:t,5:c,6:a},{3:6,4:t,5:c,6:a},e([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:n,5:o,8:8,9:10,12:12,13:d,14:u,17:15,18:r,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:w,35:P,36:D,37:N,38:O,39:R,41:Y,43:F,44:K,46:Q,50:W,52:q,53:V,54:S,59:U,60:z,61:G,62:Z,70:k},e(_,[2,5]),{9:47,12:12,13:d,14:u,17:15,18:r,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:w,35:P,36:D,37:N,38:O,39:R,41:Y,43:F,44:K,46:Q,50:W,52:q,53:V,54:S,59:U,60:z,61:G,62:Z,70:k},e(_,[2,7]),e(_,[2,8]),e(_,[2,14]),{12:48,50:W,52:q,53:V},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:k},{22:55,70:k},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},e(_,[2,29]),e(_,[2,30]),{32:[1,61]},{34:[1,62]},e(_,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:k},{22:72,70:k},{22:73,70:k},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82],79:[1,83],80:[1,84]},{55:85,57:[1,86],65:[1,87],66:[1,88]},{22:89,70:k},{22:90,70:k},{22:91,70:k},{22:92,70:k},e([5,51,64,71,72,73,74,75,76,77,78,79,80,81],[2,68]),e(_,[2,6]),e(_,[2,15]),e(I,[2,9],{10:93}),e(_,[2,17]),{5:[1,95],19:[1,94]},{5:[1,96]},e(_,[2,21]),{5:[1,97]},{5:[1,98]},e(_,[2,24]),e(_,[2,25]),e(_,[2,26]),e(_,[2,27]),e(_,[2,28]),e(_,[2,31]),e(_,[2,32]),e(X,i,{7:99}),e(X,i,{7:100}),e(X,i,{7:101}),e($,i,{40:102,7:103}),e(A,i,{42:104,7:105}),e(A,i,{7:105,42:106}),e(Mt,i,{45:107,7:108}),e(X,i,{7:109}),{5:[1,111],51:[1,110]},{5:[1,113],51:[1,112]},{5:[1,114]},{22:117,68:[1,115],69:[1,116],70:k},e(at,[2,69]),e(at,[2,70]),e(at,[2,71]),e(at,[2,72]),e(at,[2,73]),e(at,[2,74]),e(at,[2,75]),e(at,[2,76]),e(at,[2,77]),e(at,[2,78]),{22:118,70:k},{22:120,58:119,70:k},{70:[2,63]},{70:[2,64]},{56:121,81:it},{56:123,81:it},{56:124,81:it},{56:125,81:it},{4:[1,128],5:[1,130],11:127,12:129,16:[1,126],50:W,52:q,53:V},{5:[1,131]},e(_,[2,19]),e(_,[2,20]),e(_,[2,22]),e(_,[2,23]),{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[1,132],17:15,18:r,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:w,35:P,36:D,37:N,38:O,39:R,41:Y,43:F,44:K,46:Q,50:W,52:q,53:V,54:S,59:U,60:z,61:G,62:Z,70:k},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[1,133],17:15,18:r,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:w,35:P,36:D,37:N,38:O,39:R,41:Y,43:F,44:K,46:Q,50:W,52:q,53:V,54:S,59:U,60:z,61:G,62:Z,70:k},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[1,134],17:15,18:r,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:w,35:P,36:D,37:N,38:O,39:R,41:Y,43:F,44:K,46:Q,50:W,52:q,53:V,54:S,59:U,60:z,61:G,62:Z,70:k},{16:[1,135]},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[2,46],17:15,18:r,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:w,35:P,36:D,37:N,38:O,39:R,41:Y,43:F,44:K,46:Q,49:[1,136],50:W,52:q,53:V,54:S,59:U,60:z,61:G,62:Z,70:k},{16:[1,137]},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[2,44],17:15,18:r,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:w,35:P,36:D,37:N,38:O,39:R,41:Y,43:F,44:K,46:Q,48:[1,138],50:W,52:q,53:V,54:S,59:U,60:z,61:G,62:Z,70:k},{16:[1,139]},{16:[1,140]},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[2,42],17:15,18:r,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:w,35:P,36:D,37:N,38:O,39:R,41:Y,43:F,44:K,46:Q,47:[1,141],50:W,52:q,53:V,54:S,59:U,60:z,61:G,62:Z,70:k},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[1,142],17:15,18:r,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:w,35:P,36:D,37:N,38:O,39:R,41:Y,43:F,44:K,46:Q,50:W,52:q,53:V,54:S,59:U,60:z,61:G,62:Z,70:k},{15:[1,143]},e(_,[2,49]),{15:[1,144]},e(_,[2,51]),e(_,[2,52]),{22:145,70:k},{22:146,70:k},{56:147,81:it},{56:148,81:it},{56:149,81:it},{64:[1,150],81:[2,62]},{5:[2,55]},{5:[2,79]},{5:[2,56]},{5:[2,57]},{5:[2,58]},e(_,[2,16]),e(I,[2,10]),{12:151,50:W,52:q,53:V},e(I,[2,12]),e(I,[2,13]),e(_,[2,18]),e(_,[2,34]),e(_,[2,35]),e(_,[2,36]),e(_,[2,37]),{15:[1,152]},e(_,[2,38]),{15:[1,153]},e(_,[2,39]),e(_,[2,40]),{15:[1,154]},e(_,[2,41]),{5:[1,155]},{5:[1,156]},{56:157,81:it},{56:158,81:it},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:159,70:k},e(I,[2,11]),e($,i,{7:103,40:160}),e(A,i,{7:105,42:161}),e(Mt,i,{7:108,45:162}),e(_,[2,48]),e(_,[2,50]),{5:[2,65]},{5:[2,66]},{81:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],87:[2,63],88:[2,64],121:[2,55],122:[2,79],123:[2,56],124:[2,57],125:[2,58],147:[2,67],148:[2,53],149:[2,54],157:[2,65],158:[2,66],159:[2,61],160:[2,47],161:[2,45],162:[2,43]},parseError:s.__name(function(b,v){if(v.recoverable)this.trace(b);else{var L=new Error(b);throw L.hash=v,L}},"parseError"),parse:s.__name(function(b){var v=this,L=[0],E=[],M=[null],h=[],ft=this.table,p="",xt=0,Rt=0,jt=2,Dt=1,$t=h.slice.call(arguments,1),B=Object.create(this.lexer),ot={yy:{}};for(var wt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,wt)&&(ot.yy[wt]=this.yy[wt]);B.setInput(b,ot.yy),ot.yy.lexer=B,ot.yy.parser=this,typeof B.yylloc>"u"&&(B.yylloc={});var vt=B.yylloc;h.push(vt);var te=B.options&&B.options.ranges;typeof ot.yy.parseError=="function"?this.parseError=ot.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ee(J){L.length=L.length-2*J,M.length=M.length-J,h.length=h.length-J}s.__name(ee,"popStack");function Ct(){var J;return J=E.pop()||B.lex()||Dt,typeof J!="number"&&(J instanceof Array&&(E=J,J=E.pop()),J=v.symbols_[J]||J),J}s.__name(Ct,"lex");for(var H,ct,j,It,dt={},_t,rt,Ot,Tt;;){if(ct=L[L.length-1],this.defaultActions[ct]?j=this.defaultActions[ct]:((H===null||typeof H>"u")&&(H=Ct()),j=ft[ct]&&ft[ct][H]),typeof j>"u"||!j.length||!j[0]){var Lt="";Tt=[];for(_t in ft[ct])this.terminals_[_t]&&_t>jt&&Tt.push("'"+this.terminals_[_t]+"'");B.showPosition?Lt="Parse error on line "+(xt+1)+`:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const et=require("./chunk-OMD6QJNC-mLoP2am0.js"),ae=require("./chunk-FHKO5MBM-CwO7Y4L_.js"),s=require("./mermaid.core-BAzkKVaz.js");var Pt=function(){var e=s.__name(function(nt,b,v,L){for(v=v||{},L=nt.length;L--;v[nt[L]]=b);return v},"o"),t=[1,2],c=[1,3],a=[1,4],i=[2,4],n=[1,9],o=[1,11],d=[1,13],u=[1,14],r=[1,16],f=[1,17],T=[1,18],g=[1,24],x=[1,25],y=[1,26],w=[1,27],P=[1,28],D=[1,29],N=[1,30],O=[1,31],R=[1,32],Y=[1,33],F=[1,34],K=[1,35],Q=[1,36],W=[1,37],q=[1,38],V=[1,39],S=[1,41],U=[1,42],z=[1,43],G=[1,44],Z=[1,45],k=[1,46],_=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],I=[4,5,16,50,52,53],X=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],$=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],A=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],Mt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],at=[68,69,70],it=[1,122],bt={trace:s.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,BIDIRECTIONAL_SOLID_ARROW:74,DOTTED_ARROW:75,BIDIRECTIONAL_DOTTED_ARROW:76,SOLID_CROSS:77,DOTTED_CROSS:78,SOLID_POINT:79,DOTTED_POINT:80,TXT:81,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"BIDIRECTIONAL_SOLID_ARROW",75:"DOTTED_ARROW",76:"BIDIRECTIONAL_DOTTED_ARROW",77:"SOLID_CROSS",78:"DOTTED_CROSS",79:"SOLID_POINT",80:"DOTTED_POINT",81:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:s.__name(function(b,v,L,E,M,h,ft){var p=h.length-1;switch(M){case 3:return E.apply(h[p]),h[p];case 4:case 9:this.$=[];break;case 5:case 10:h[p-1].push(h[p]),this.$=h[p-1];break;case 6:case 7:case 11:case 12:this.$=h[p];break;case 8:case 13:this.$=[];break;case 15:h[p].type="createParticipant",this.$=h[p];break;case 16:h[p-1].unshift({type:"boxStart",boxData:E.parseBoxData(h[p-2])}),h[p-1].push({type:"boxEnd",boxText:h[p-2]}),this.$=h[p-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(h[p-2]),sequenceIndexStep:Number(h[p-1]),sequenceVisible:!0,signalType:E.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(h[p-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:E.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:E.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:E.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:E.LINETYPE.ACTIVE_START,actor:h[p-1].actor};break;case 23:this.$={type:"activeEnd",signalType:E.LINETYPE.ACTIVE_END,actor:h[p-1].actor};break;case 29:E.setDiagramTitle(h[p].substring(6)),this.$=h[p].substring(6);break;case 30:E.setDiagramTitle(h[p].substring(7)),this.$=h[p].substring(7);break;case 31:this.$=h[p].trim(),E.setAccTitle(this.$);break;case 32:case 33:this.$=h[p].trim(),E.setAccDescription(this.$);break;case 34:h[p-1].unshift({type:"loopStart",loopText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.LOOP_START}),h[p-1].push({type:"loopEnd",loopText:h[p-2],signalType:E.LINETYPE.LOOP_END}),this.$=h[p-1];break;case 35:h[p-1].unshift({type:"rectStart",color:E.parseMessage(h[p-2]),signalType:E.LINETYPE.RECT_START}),h[p-1].push({type:"rectEnd",color:E.parseMessage(h[p-2]),signalType:E.LINETYPE.RECT_END}),this.$=h[p-1];break;case 36:h[p-1].unshift({type:"optStart",optText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.OPT_START}),h[p-1].push({type:"optEnd",optText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.OPT_END}),this.$=h[p-1];break;case 37:h[p-1].unshift({type:"altStart",altText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.ALT_START}),h[p-1].push({type:"altEnd",signalType:E.LINETYPE.ALT_END}),this.$=h[p-1];break;case 38:h[p-1].unshift({type:"parStart",parText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.PAR_START}),h[p-1].push({type:"parEnd",signalType:E.LINETYPE.PAR_END}),this.$=h[p-1];break;case 39:h[p-1].unshift({type:"parStart",parText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.PAR_OVER_START}),h[p-1].push({type:"parEnd",signalType:E.LINETYPE.PAR_END}),this.$=h[p-1];break;case 40:h[p-1].unshift({type:"criticalStart",criticalText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.CRITICAL_START}),h[p-1].push({type:"criticalEnd",signalType:E.LINETYPE.CRITICAL_END}),this.$=h[p-1];break;case 41:h[p-1].unshift({type:"breakStart",breakText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.BREAK_START}),h[p-1].push({type:"breakEnd",optText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.BREAK_END}),this.$=h[p-1];break;case 43:this.$=h[p-3].concat([{type:"option",optionText:E.parseMessage(h[p-1]),signalType:E.LINETYPE.CRITICAL_OPTION},h[p]]);break;case 45:this.$=h[p-3].concat([{type:"and",parText:E.parseMessage(h[p-1]),signalType:E.LINETYPE.PAR_AND},h[p]]);break;case 47:this.$=h[p-3].concat([{type:"else",altText:E.parseMessage(h[p-1]),signalType:E.LINETYPE.ALT_ELSE},h[p]]);break;case 48:h[p-3].draw="participant",h[p-3].type="addParticipant",h[p-3].description=E.parseMessage(h[p-1]),this.$=h[p-3];break;case 49:h[p-1].draw="participant",h[p-1].type="addParticipant",this.$=h[p-1];break;case 50:h[p-3].draw="actor",h[p-3].type="addParticipant",h[p-3].description=E.parseMessage(h[p-1]),this.$=h[p-3];break;case 51:h[p-1].draw="actor",h[p-1].type="addParticipant",this.$=h[p-1];break;case 52:h[p-1].type="destroyParticipant",this.$=h[p-1];break;case 53:this.$=[h[p-1],{type:"addNote",placement:h[p-2],actor:h[p-1].actor,text:h[p]}];break;case 54:h[p-2]=[].concat(h[p-1],h[p-1]).slice(0,2),h[p-2][0]=h[p-2][0].actor,h[p-2][1]=h[p-2][1].actor,this.$=[h[p-1],{type:"addNote",placement:E.PLACEMENT.OVER,actor:h[p-2].slice(0,2),text:h[p]}];break;case 55:this.$=[h[p-1],{type:"addLinks",actor:h[p-1].actor,text:h[p]}];break;case 56:this.$=[h[p-1],{type:"addALink",actor:h[p-1].actor,text:h[p]}];break;case 57:this.$=[h[p-1],{type:"addProperties",actor:h[p-1].actor,text:h[p]}];break;case 58:this.$=[h[p-1],{type:"addDetails",actor:h[p-1].actor,text:h[p]}];break;case 61:this.$=[h[p-2],h[p]];break;case 62:this.$=h[p];break;case 63:this.$=E.PLACEMENT.LEFTOF;break;case 64:this.$=E.PLACEMENT.RIGHTOF;break;case 65:this.$=[h[p-4],h[p-1],{type:"addMessage",from:h[p-4].actor,to:h[p-1].actor,signalType:h[p-3],msg:h[p],activate:!0},{type:"activeStart",signalType:E.LINETYPE.ACTIVE_START,actor:h[p-1].actor}];break;case 66:this.$=[h[p-4],h[p-1],{type:"addMessage",from:h[p-4].actor,to:h[p-1].actor,signalType:h[p-3],msg:h[p]},{type:"activeEnd",signalType:E.LINETYPE.ACTIVE_END,actor:h[p-4].actor}];break;case 67:this.$=[h[p-3],h[p-1],{type:"addMessage",from:h[p-3].actor,to:h[p-1].actor,signalType:h[p-2],msg:h[p]}];break;case 68:this.$={type:"addParticipant",actor:h[p]};break;case 69:this.$=E.LINETYPE.SOLID_OPEN;break;case 70:this.$=E.LINETYPE.DOTTED_OPEN;break;case 71:this.$=E.LINETYPE.SOLID;break;case 72:this.$=E.LINETYPE.BIDIRECTIONAL_SOLID;break;case 73:this.$=E.LINETYPE.DOTTED;break;case 74:this.$=E.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 75:this.$=E.LINETYPE.SOLID_CROSS;break;case 76:this.$=E.LINETYPE.DOTTED_CROSS;break;case 77:this.$=E.LINETYPE.SOLID_POINT;break;case 78:this.$=E.LINETYPE.DOTTED_POINT;break;case 79:this.$=E.parseMessage(h[p].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:c,6:a},{1:[3]},{3:5,4:t,5:c,6:a},{3:6,4:t,5:c,6:a},e([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:n,5:o,8:8,9:10,12:12,13:d,14:u,17:15,18:r,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:w,35:P,36:D,37:N,38:O,39:R,41:Y,43:F,44:K,46:Q,50:W,52:q,53:V,54:S,59:U,60:z,61:G,62:Z,70:k},e(_,[2,5]),{9:47,12:12,13:d,14:u,17:15,18:r,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:w,35:P,36:D,37:N,38:O,39:R,41:Y,43:F,44:K,46:Q,50:W,52:q,53:V,54:S,59:U,60:z,61:G,62:Z,70:k},e(_,[2,7]),e(_,[2,8]),e(_,[2,14]),{12:48,50:W,52:q,53:V},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:k},{22:55,70:k},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},e(_,[2,29]),e(_,[2,30]),{32:[1,61]},{34:[1,62]},e(_,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:k},{22:72,70:k},{22:73,70:k},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82],79:[1,83],80:[1,84]},{55:85,57:[1,86],65:[1,87],66:[1,88]},{22:89,70:k},{22:90,70:k},{22:91,70:k},{22:92,70:k},e([5,51,64,71,72,73,74,75,76,77,78,79,80,81],[2,68]),e(_,[2,6]),e(_,[2,15]),e(I,[2,9],{10:93}),e(_,[2,17]),{5:[1,95],19:[1,94]},{5:[1,96]},e(_,[2,21]),{5:[1,97]},{5:[1,98]},e(_,[2,24]),e(_,[2,25]),e(_,[2,26]),e(_,[2,27]),e(_,[2,28]),e(_,[2,31]),e(_,[2,32]),e(X,i,{7:99}),e(X,i,{7:100}),e(X,i,{7:101}),e($,i,{40:102,7:103}),e(A,i,{42:104,7:105}),e(A,i,{7:105,42:106}),e(Mt,i,{45:107,7:108}),e(X,i,{7:109}),{5:[1,111],51:[1,110]},{5:[1,113],51:[1,112]},{5:[1,114]},{22:117,68:[1,115],69:[1,116],70:k},e(at,[2,69]),e(at,[2,70]),e(at,[2,71]),e(at,[2,72]),e(at,[2,73]),e(at,[2,74]),e(at,[2,75]),e(at,[2,76]),e(at,[2,77]),e(at,[2,78]),{22:118,70:k},{22:120,58:119,70:k},{70:[2,63]},{70:[2,64]},{56:121,81:it},{56:123,81:it},{56:124,81:it},{56:125,81:it},{4:[1,128],5:[1,130],11:127,12:129,16:[1,126],50:W,52:q,53:V},{5:[1,131]},e(_,[2,19]),e(_,[2,20]),e(_,[2,22]),e(_,[2,23]),{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[1,132],17:15,18:r,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:w,35:P,36:D,37:N,38:O,39:R,41:Y,43:F,44:K,46:Q,50:W,52:q,53:V,54:S,59:U,60:z,61:G,62:Z,70:k},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[1,133],17:15,18:r,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:w,35:P,36:D,37:N,38:O,39:R,41:Y,43:F,44:K,46:Q,50:W,52:q,53:V,54:S,59:U,60:z,61:G,62:Z,70:k},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[1,134],17:15,18:r,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:w,35:P,36:D,37:N,38:O,39:R,41:Y,43:F,44:K,46:Q,50:W,52:q,53:V,54:S,59:U,60:z,61:G,62:Z,70:k},{16:[1,135]},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[2,46],17:15,18:r,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:w,35:P,36:D,37:N,38:O,39:R,41:Y,43:F,44:K,46:Q,49:[1,136],50:W,52:q,53:V,54:S,59:U,60:z,61:G,62:Z,70:k},{16:[1,137]},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[2,44],17:15,18:r,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:w,35:P,36:D,37:N,38:O,39:R,41:Y,43:F,44:K,46:Q,48:[1,138],50:W,52:q,53:V,54:S,59:U,60:z,61:G,62:Z,70:k},{16:[1,139]},{16:[1,140]},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[2,42],17:15,18:r,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:w,35:P,36:D,37:N,38:O,39:R,41:Y,43:F,44:K,46:Q,47:[1,141],50:W,52:q,53:V,54:S,59:U,60:z,61:G,62:Z,70:k},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[1,142],17:15,18:r,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:w,35:P,36:D,37:N,38:O,39:R,41:Y,43:F,44:K,46:Q,50:W,52:q,53:V,54:S,59:U,60:z,61:G,62:Z,70:k},{15:[1,143]},e(_,[2,49]),{15:[1,144]},e(_,[2,51]),e(_,[2,52]),{22:145,70:k},{22:146,70:k},{56:147,81:it},{56:148,81:it},{56:149,81:it},{64:[1,150],81:[2,62]},{5:[2,55]},{5:[2,79]},{5:[2,56]},{5:[2,57]},{5:[2,58]},e(_,[2,16]),e(I,[2,10]),{12:151,50:W,52:q,53:V},e(I,[2,12]),e(I,[2,13]),e(_,[2,18]),e(_,[2,34]),e(_,[2,35]),e(_,[2,36]),e(_,[2,37]),{15:[1,152]},e(_,[2,38]),{15:[1,153]},e(_,[2,39]),e(_,[2,40]),{15:[1,154]},e(_,[2,41]),{5:[1,155]},{5:[1,156]},{56:157,81:it},{56:158,81:it},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:159,70:k},e(I,[2,11]),e($,i,{7:103,40:160}),e(A,i,{7:105,42:161}),e(Mt,i,{7:108,45:162}),e(_,[2,48]),e(_,[2,50]),{5:[2,65]},{5:[2,66]},{81:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],87:[2,63],88:[2,64],121:[2,55],122:[2,79],123:[2,56],124:[2,57],125:[2,58],147:[2,67],148:[2,53],149:[2,54],157:[2,65],158:[2,66],159:[2,61],160:[2,47],161:[2,45],162:[2,43]},parseError:s.__name(function(b,v){if(v.recoverable)this.trace(b);else{var L=new Error(b);throw L.hash=v,L}},"parseError"),parse:s.__name(function(b){var v=this,L=[0],E=[],M=[null],h=[],ft=this.table,p="",xt=0,Rt=0,jt=2,Dt=1,$t=h.slice.call(arguments,1),B=Object.create(this.lexer),ot={yy:{}};for(var wt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,wt)&&(ot.yy[wt]=this.yy[wt]);B.setInput(b,ot.yy),ot.yy.lexer=B,ot.yy.parser=this,typeof B.yylloc>"u"&&(B.yylloc={});var vt=B.yylloc;h.push(vt);var te=B.options&&B.options.ranges;typeof ot.yy.parseError=="function"?this.parseError=ot.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ee(J){L.length=L.length-2*J,M.length=M.length-J,h.length=h.length-J}s.__name(ee,"popStack");function Ct(){var J;return J=E.pop()||B.lex()||Dt,typeof J!="number"&&(J instanceof Array&&(E=J,J=E.pop()),J=v.symbols_[J]||J),J}s.__name(Ct,"lex");for(var H,ct,j,It,dt={},_t,rt,Ot,Tt;;){if(ct=L[L.length-1],this.defaultActions[ct]?j=this.defaultActions[ct]:((H===null||typeof H>"u")&&(H=Ct()),j=ft[ct]&&ft[ct][H]),typeof j>"u"||!j.length||!j[0]){var Lt="";Tt=[];for(_t in ft[ct])this.terminals_[_t]&&_t>jt&&Tt.push("'"+this.terminals_[_t]+"'");B.showPosition?Lt="Parse error on line "+(xt+1)+`:
|
|
2
2
|
`+B.showPosition()+`
|
|
3
3
|
Expecting `+Tt.join(", ")+", got '"+(this.terminals_[H]||H)+"'":Lt="Parse error on line "+(xt+1)+": Unexpected "+(H==Dt?"end of input":"'"+(this.terminals_[H]||H)+"'"),this.parseError(Lt,{text:B.match,token:this.terminals_[H]||H,line:B.yylineno,loc:vt,expected:Tt})}if(j[0]instanceof Array&&j.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ct+", token: "+H);switch(j[0]){case 1:L.push(H),M.push(B.yytext),h.push(B.yylloc),L.push(j[1]),H=null,Rt=B.yyleng,p=B.yytext,xt=B.yylineno,vt=B.yylloc;break;case 2:if(rt=this.productions_[j[1]][1],dt.$=M[M.length-rt],dt._$={first_line:h[h.length-(rt||1)].first_line,last_line:h[h.length-1].last_line,first_column:h[h.length-(rt||1)].first_column,last_column:h[h.length-1].last_column},te&&(dt._$.range=[h[h.length-(rt||1)].range[0],h[h.length-1].range[1]]),It=this.performAction.apply(dt,[p,Rt,xt,ot.yy,j[1],M,h].concat($t)),typeof It<"u")return It;rt&&(L=L.slice(0,-1*rt*2),M=M.slice(0,-1*rt),h=h.slice(0,-1*rt)),L.push(this.productions_[j[1]][0]),M.push(dt.$),h.push(dt._$),Ot=ft[L[L.length-2]][L[L.length-1]],L.push(Ot);break;case 3:return!0}}return!0},"parse")},Zt=function(){var nt={EOF:1,parseError:s.__name(function(v,L){if(this.yy.parser)this.yy.parser.parseError(v,L);else throw new Error(v)},"parseError"),setInput:s.__name(function(b,v){return this.yy=v||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:s.__name(function(){var b=this._input[0];this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b;var v=b.match(/(?:\r\n?|\n).*/g);return v?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),b},"input"),unput:s.__name(function(b){var v=b.length,L=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-v),this.offset-=v;var E=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),L.length-1&&(this.yylineno-=L.length-1);var M=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:L?(L.length===E.length?this.yylloc.first_column:0)+E[E.length-L.length].length-L[0].length:this.yylloc.first_column-v},this.options.ranges&&(this.yylloc.range=[M[0],M[0]+this.yyleng-v]),this.yyleng=this.yytext.length,this},"unput"),more:s.__name(function(){return this._more=!0,this},"more"),reject:s.__name(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.__name(function(b){this.unput(this.match.slice(b))},"less"),pastInput:s.__name(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:s.__name(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:s.__name(function(){var b=this.pastInput(),v=new Array(b.length+1).join("-");return b+this.upcomingInput()+`
|
package/dist/chunks/{sequenceDiagram-4MX5Z3NR-Cfs33Jna.js → sequenceDiagram-4MX5Z3NR-GNnlAP-V.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as xe, b as Yt, g as At, d as Te, c as Ee, e as ye } from "./chunk-OMD6QJNC-
|
|
2
|
-
import { I as be } from "./chunk-FHKO5MBM-
|
|
3
|
-
import { _ as u, o as me, c as $, d as Lt, l as G, j as Qt, e as we, f as ve, k as I, b as Gt, s as Ie, q as Le, a as _e, g as Pe, t as Ae, z as ke, i as _t, u as Y, a2 as ot, a3 as bt, a4 as Zt, a5 as Ne, a6 as Se, a7 as jt, G as Ct } from "./mermaid.core-
|
|
1
|
+
import { a as xe, b as Yt, g as At, d as Te, c as Ee, e as ye } from "./chunk-OMD6QJNC-yURt4ZqD.js";
|
|
2
|
+
import { I as be } from "./chunk-FHKO5MBM-CDBkvH_8.js";
|
|
3
|
+
import { _ as u, o as me, c as $, d as Lt, l as G, j as Qt, e as we, f as ve, k as I, b as Gt, s as Ie, q as Le, a as _e, g as Pe, t as Ae, z as ke, i as _t, u as Y, a2 as ot, a3 as bt, a4 as Zt, a5 as Ne, a6 as Se, a7 as jt, G as Ct } from "./mermaid.core-CvRAjOPA.js";
|
|
4
4
|
var Ot = function() {
|
|
5
5
|
var e = /* @__PURE__ */ u(function(ht, w, L, P) {
|
|
6
6
|
for (L = L || {}, P = ht.length; P--; L[ht[P]] = w) ;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as R, a as W, S as N } from "./chunk-LXBSTHXV-
|
|
2
|
-
import { _ as f, c as t, d as H, l as S, e as P, k as z, a9 as _, aa as U, a6 as C, u as F } from "./mermaid.core-
|
|
3
|
-
import { G as O } from "./graph-
|
|
4
|
-
import { l as J } from "./layout-
|
|
1
|
+
import { s as R, a as W, S as N } from "./chunk-LXBSTHXV-B6MJqnb9.js";
|
|
2
|
+
import { _ as f, c as t, d as H, l as S, e as P, k as z, a9 as _, aa as U, a6 as C, u as F } from "./mermaid.core-CvRAjOPA.js";
|
|
3
|
+
import { G as O } from "./graph-xRq7XmQC.js";
|
|
4
|
+
import { l as J } from "./layout-CDJPlONW.js";
|
|
5
5
|
var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state").attr("r", t().state.sizeUnit).attr("cx", t().state.padding + t().state.sizeUnit).attr("cy", t().state.padding + t().state.sizeUnit), "drawStartState"), D = /* @__PURE__ */ f((e) => e.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", t().state.textHeight).attr("class", "divider").attr("x2", t().state.textHeight * 2).attr("y1", 0).attr("y2", 0), "drawDivider"), Y = /* @__PURE__ */ f((e, i) => {
|
|
6
6
|
const d = e.append("text").attr("x", 2 * t().state.padding).attr("y", t().state.textHeight + 2 * t().state.padding).attr("font-size", t().state.fontSize).attr("class", "state-title").text(i.id), c = d.node().getBBox();
|
|
7
7
|
return e.insert("rect", ":first-child").attr("x", t().state.padding).attr("y", t().state.padding).attr("width", c.width + 2 * t().state.padding).attr("height", c.height + 2 * t().state.padding).attr("rx", t().state.radius), d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./chunk-LXBSTHXV-Dxy3lBPi.js"),t=require("./mermaid.core-DUHba1Nm.js"),T=require("./graph-B6fgcGxx.js"),H=require("./layout-DLsbGTQz.js");var z=t.__name(e=>e.append("circle").attr("class","start-state").attr("r",t.getConfig2().state.sizeUnit).attr("cx",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit).attr("cy",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit),"drawStartState"),L=t.__name(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t.getConfig2().state.textHeight).attr("class","divider").attr("x2",t.getConfig2().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),A=t.__name((e,n)=>{const d=e.append("text").attr("x",2*t.getConfig2().state.padding).attr("y",t.getConfig2().state.textHeight+2*t.getConfig2().state.padding).attr("font-size",t.getConfig2().state.fontSize).attr("class","state-title").text(n.id),g=d.node().getBBox();return e.insert("rect",":first-child").attr("x",t.getConfig2().state.padding).attr("y",t.getConfig2().state.padding).attr("width",g.width+2*t.getConfig2().state.padding).attr("height",g.height+2*t.getConfig2().state.padding).attr("rx",t.getConfig2().state.radius),d},"drawSimpleState"),P=t.__name((e,n)=>{const d=t.__name(function(c,m,y){const b=c.append("tspan").attr("x",2*t.getConfig2().state.padding).text(m);y||b.attr("dy",t.getConfig2().state.textHeight)},"addTspan"),o=e.append("text").attr("x",2*t.getConfig2().state.padding).attr("y",t.getConfig2().state.textHeight+1.3*t.getConfig2().state.padding).attr("font-size",t.getConfig2().state.fontSize).attr("class","state-title").text(n.descriptions[0]).node().getBBox(),l=o.height,p=e.append("text").attr("x",t.getConfig2().state.padding).attr("y",l+t.getConfig2().state.padding*.4+t.getConfig2().state.dividerMargin+t.getConfig2().state.textHeight).attr("class","state-description");let i=!0,r=!0;n.descriptions.forEach(function(c){i||(d(p,c,r),r=!1),i=!1});const C=e.append("line").attr("x1",t.getConfig2().state.padding).attr("y1",t.getConfig2().state.padding+l+t.getConfig2().state.dividerMargin/2).attr("y2",t.getConfig2().state.padding+l+t.getConfig2().state.dividerMargin/2).attr("class","descr-divider"),h=p.node().getBBox(),s=Math.max(h.width,o.width);return C.attr("x2",s+3*t.getConfig2().state.padding),e.insert("rect",":first-child").attr("x",t.getConfig2().state.padding).attr("y",t.getConfig2().state.padding).attr("width",s+2*t.getConfig2().state.padding).attr("height",h.height+l+2*t.getConfig2().state.padding).attr("rx",t.getConfig2().state.radius),e},"drawDescrState"),R=t.__name((e,n,d)=>{const g=t.getConfig2().state.padding,o=2*t.getConfig2().state.padding,l=e.node().getBBox(),p=l.width,i=l.x,r=e.append("text").attr("x",0).attr("y",t.getConfig2().state.titleShift).attr("font-size",t.getConfig2().state.fontSize).attr("class","state-title").text(n.id),h=r.node().getBBox().width+o;let s=Math.max(h,p);s===p&&(s=s+o);let c;const m=e.node().getBBox();n.doc,c=i-g,h>p&&(c=(p-s)/2+g),Math.abs(i-m.x)<g&&h>p&&(c=i-(h-p)/2);const y=1-t.getConfig2().state.textHeight;return e.insert("rect",":first-child").attr("x",c).attr("y",y).attr("class",d?"alt-composit":"composit").attr("width",s).attr("height",m.height+t.getConfig2().state.textHeight+t.getConfig2().state.titleShift+1).attr("rx","0"),r.attr("x",c+g),h<=p&&r.attr("x",i+(s-o)/2-h/2+g),e.insert("rect",":first-child").attr("x",c).attr("y",t.getConfig2().state.titleShift-t.getConfig2().state.textHeight-t.getConfig2().state.padding).attr("width",s).attr("height",t.getConfig2().state.textHeight*3).attr("rx",t.getConfig2().state.radius),e.insert("rect",":first-child").attr("x",c).attr("y",t.getConfig2().state.titleShift-t.getConfig2().state.textHeight-t.getConfig2().state.padding).attr("width",s).attr("height",m.height+3+2*t.getConfig2().state.textHeight).attr("rx",t.getConfig2().state.radius),e},"addTitleAndBox"),W=t.__name(e=>(e.append("circle").attr("class","end-state-outer").attr("r",t.getConfig2().state.sizeUnit+t.getConfig2().state.miniPadding).attr("cx",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit+t.getConfig2().state.miniPadding).attr("cy",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit+t.getConfig2().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t.getConfig2().state.sizeUnit).attr("cx",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit+2).attr("cy",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit+2)),"drawEndState"),G=t.__name((e,n)=>{let d=t.getConfig2().state.forkWidth,g=t.getConfig2().state.forkHeight;if(n.parentId){let o=d;d=g,g=o}return e.append("rect").style("stroke","black").style("fill","black").attr("width",d).attr("height",g).attr("x",t.getConfig2().state.padding).attr("y",t.getConfig2().state.padding)},"drawForkJoinState"),U=t.__name((e,n,d,g)=>{let o=0;const l=g.append("text");l.style("text-anchor","start"),l.attr("class","noteText");let p=e.replace(/\r\n/g,"<br/>");p=p.replace(/\n/g,"<br/>");const i=p.split(t.common_default.lineBreakRegex);let r=1.25*t.getConfig2().state.noteMargin;for(const C of i){const h=C.trim();if(h.length>0){const s=l.append("tspan");if(s.text(h),r===0){const c=s.node().getBBox();r+=c.height}o+=r,s.attr("x",n+t.getConfig2().state.noteMargin),s.attr("y",d+o+1.25*t.getConfig2().state.noteMargin)}}return{textWidth:l.node().getBBox().width,textHeight:o}},"_drawLongText"),D=t.__name((e,n)=>{n.attr("class","state-note");const d=n.append("rect").attr("x",0).attr("y",t.getConfig2().state.padding),g=n.append("g"),{textWidth:o,textHeight:l}=U(e,0,0,g);return d.attr("height",l+2*t.getConfig2().state.noteMargin),d.attr("width",o+t.getConfig2().state.noteMargin*2),d},"drawNote"),k=t.__name(function(e,n){const d=n.id,g={id:d,label:n.id,width:0,height:0},o=e.append("g").attr("id",d).attr("class","stateGroup");n.type==="start"&&z(o),n.type==="end"&&W(o),(n.type==="fork"||n.type==="join")&&G(o,n),n.type==="note"&&D(n.note.text,o),n.type==="divider"&&L(o),n.type==="default"&&n.descriptions.length===0&&A(o,n),n.type==="default"&&n.descriptions.length>0&&P(o,n);const l=o.node().getBBox();return g.width=l.width+2*t.getConfig2().state.padding,g.height=l.height+2*t.getConfig2().state.padding,g},"drawState"),N=0,F=t.__name(function(e,n,d){const g=t.__name(function(r){switch(r){case _.StateDB.relationType.AGGREGATION:return"aggregation";case _.StateDB.relationType.EXTENSION:return"extension";case _.StateDB.relationType.COMPOSITION:return"composition";case _.StateDB.relationType.DEPENDENCY:return"dependency"}},"getRelationType");n.points=n.points.filter(r=>!Number.isNaN(r.y));const o=n.points,l=t.line().x(function(r){return r.x}).y(function(r){return r.y}).curve(t.curveBasis),p=e.append("path").attr("d",l(o)).attr("id","edge"+N).attr("class","transition");let i="";if(t.getConfig2().state.arrowMarkerAbsolute&&(i=t.getUrl(!0)),p.attr("marker-end","url("+i+"#"+g(_.StateDB.relationType.DEPENDENCY)+"End)"),d.title!==void 0){const r=e.append("g").attr("class","stateLabel"),{x:C,y:h}=t.utils_default.calcLabelPosition(n.points),s=t.common_default.getRows(d.title);let c=0;const m=[];let y=0,b=0;for(let x=0;x<=s.length;x++){const f=r.append("text").attr("text-anchor","middle").text(s[x]).attr("x",C).attr("y",h+c),u=f.node().getBBox();y=Math.max(y,u.width),b=Math.min(b,u.x),t.log.info(u.x,C,h+c),c===0&&(c=f.node().getBBox().height,t.log.info("Title height",c,h)),m.push(f)}let S=c*s.length;if(s.length>1){const x=(s.length-1)*c*.5;m.forEach((f,u)=>f.attr("y",h+u*c-x)),S=c*s.length}const a=r.node().getBBox();r.insert("rect",":first-child").attr("class","box").attr("x",C-y/2-t.getConfig2().state.padding/2).attr("y",h-S/2-t.getConfig2().state.padding/2-3.5).attr("width",y+t.getConfig2().state.padding).attr("height",S+t.getConfig2().state.padding),t.log.info(a)}N++},"drawEdge"),w,E={},O=t.__name(function(){},"setConf"),X=t.__name(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),q=t.__name(function(e,n,d,g){w=t.getConfig2().state;const o=t.getConfig2().securityLevel;let l;o==="sandbox"&&(l=t.select("#i"+n));const p=o==="sandbox"?t.select(l.nodes()[0].contentDocument.body):t.select("body"),i=o==="sandbox"?l.nodes()[0].contentDocument:document;t.log.debug("Rendering diagram "+e);const r=p.select(`[id='${n}']`);X(r);const C=g.db.getRootDoc();M(C,r,void 0,!1,p,i,g);const h=w.padding,s=r.node().getBBox(),c=s.width+h*2,m=s.height+h*2,y=c*1.75;t.configureSvgSize(r,m,y,w.useMaxWidth),r.attr("viewBox",`${s.x-w.padding} ${s.y-w.padding} `+c+" "+m)},"draw"),J=t.__name(e=>e?e.length*w.fontSizeFactor:1,"getLabelWidth"),M=t.__name((e,n,d,g,o,l,p)=>{const i=new T.Graph({compound:!0,multigraph:!0});let r,C=!0;for(r=0;r<e.length;r++)if(e[r].stmt==="relation"){C=!1;break}d?i.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:C?1:w.edgeLengthFactor,nodeSep:C?1:50,isMultiGraph:!0}):i.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:C?1:w.edgeLengthFactor,nodeSep:C?1:50,ranker:"tight-tree",isMultiGraph:!0}),i.setDefaultEdgeLabel(function(){return{}});const h=p.db.getStates(),s=p.db.getRelations(),c=Object.keys(h);for(const a of c){const x=h[a];d&&(x.parentId=d);let f;if(x.doc){let u=n.append("g").attr("id",x.id).attr("class","stateGroup");f=M(x.doc,u,x.id,!g,o,l,p);{u=R(u,x,g);let B=u.node().getBBox();f.width=B.width,f.height=B.height+w.padding/2,E[x.id]={y:w.compositTitleSize}}}else f=k(n,x,i);if(x.note){const u={descriptions:[],id:x.id+"-note",note:x.note,type:"note"},B=k(n,u,i);x.note.position==="left of"?(i.setNode(f.id+"-note",B),i.setNode(f.id,f)):(i.setNode(f.id,f),i.setNode(f.id+"-note",B)),i.setParent(f.id,f.id+"-group"),i.setParent(f.id+"-note",f.id+"-group")}else i.setNode(f.id,f)}t.log.debug("Count=",i.nodeCount(),i);let m=0;s.forEach(function(a){m++,t.log.debug("Setting edge",a),i.setEdge(a.id1,a.id2,{relation:a,width:J(a.title),height:w.labelHeight*t.common_default.getRows(a.title).length,labelpos:"c"},"id"+m)}),H.layout(i),t.log.debug("Graph after layout",i.nodes());const y=n.node();i.nodes().forEach(function(a){a!==void 0&&i.node(a)!==void 0?(t.log.warn("Node "+a+": "+JSON.stringify(i.node(a))),o.select("#"+y.id+" #"+a).attr("transform","translate("+(i.node(a).x-i.node(a).width/2)+","+(i.node(a).y+(E[a]?E[a].y:0)-i.node(a).height/2)+" )"),o.select("#"+y.id+" #"+a).attr("data-x-shift",i.node(a).x-i.node(a).width/2),l.querySelectorAll("#"+y.id+" #"+a+" .divider").forEach(f=>{const u=f.parentElement;let B=0,v=0;u&&(u.parentElement&&(B=u.parentElement.getBBox().width),v=parseInt(u.getAttribute("data-x-shift"),10),Number.isNaN(v)&&(v=0)),f.setAttribute("x1",0-v+8),f.setAttribute("x2",B-v-8)})):t.log.debug("No Node "+a+": "+JSON.stringify(i.node(a)))});let b=y.getBBox();i.edges().forEach(function(a){a!==void 0&&i.edge(a)!==void 0&&(t.log.debug("Edge "+a.v+" -> "+a.w+": "+JSON.stringify(i.edge(a))),F(n,i.edge(a),i.edge(a).relation))}),b=y.getBBox();const S={id:d||"root",label:d||"root",width:0,height:0};return S.width=b.width+2*w.padding,S.height=b.height+2*w.padding,t.log.debug("Doc rendered",S,i),S},"renderDoc"),Y={setConf:O,draw:q},$={parser:_.stateDiagram_default,get db(){return new _.StateDB(1)},renderer:Y,styles:_.styles_default,init:t.__name(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=$;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./chunk-LXBSTHXV-DY_risoK.js"),t=require("./mermaid.core-BAzkKVaz.js"),T=require("./graph-BH34NRXk.js"),H=require("./layout-BAbpTM6P.js");var z=t.__name(e=>e.append("circle").attr("class","start-state").attr("r",t.getConfig2().state.sizeUnit).attr("cx",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit).attr("cy",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit),"drawStartState"),L=t.__name(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t.getConfig2().state.textHeight).attr("class","divider").attr("x2",t.getConfig2().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),A=t.__name((e,n)=>{const d=e.append("text").attr("x",2*t.getConfig2().state.padding).attr("y",t.getConfig2().state.textHeight+2*t.getConfig2().state.padding).attr("font-size",t.getConfig2().state.fontSize).attr("class","state-title").text(n.id),g=d.node().getBBox();return e.insert("rect",":first-child").attr("x",t.getConfig2().state.padding).attr("y",t.getConfig2().state.padding).attr("width",g.width+2*t.getConfig2().state.padding).attr("height",g.height+2*t.getConfig2().state.padding).attr("rx",t.getConfig2().state.radius),d},"drawSimpleState"),P=t.__name((e,n)=>{const d=t.__name(function(c,m,y){const b=c.append("tspan").attr("x",2*t.getConfig2().state.padding).text(m);y||b.attr("dy",t.getConfig2().state.textHeight)},"addTspan"),o=e.append("text").attr("x",2*t.getConfig2().state.padding).attr("y",t.getConfig2().state.textHeight+1.3*t.getConfig2().state.padding).attr("font-size",t.getConfig2().state.fontSize).attr("class","state-title").text(n.descriptions[0]).node().getBBox(),l=o.height,p=e.append("text").attr("x",t.getConfig2().state.padding).attr("y",l+t.getConfig2().state.padding*.4+t.getConfig2().state.dividerMargin+t.getConfig2().state.textHeight).attr("class","state-description");let i=!0,r=!0;n.descriptions.forEach(function(c){i||(d(p,c,r),r=!1),i=!1});const C=e.append("line").attr("x1",t.getConfig2().state.padding).attr("y1",t.getConfig2().state.padding+l+t.getConfig2().state.dividerMargin/2).attr("y2",t.getConfig2().state.padding+l+t.getConfig2().state.dividerMargin/2).attr("class","descr-divider"),h=p.node().getBBox(),s=Math.max(h.width,o.width);return C.attr("x2",s+3*t.getConfig2().state.padding),e.insert("rect",":first-child").attr("x",t.getConfig2().state.padding).attr("y",t.getConfig2().state.padding).attr("width",s+2*t.getConfig2().state.padding).attr("height",h.height+l+2*t.getConfig2().state.padding).attr("rx",t.getConfig2().state.radius),e},"drawDescrState"),R=t.__name((e,n,d)=>{const g=t.getConfig2().state.padding,o=2*t.getConfig2().state.padding,l=e.node().getBBox(),p=l.width,i=l.x,r=e.append("text").attr("x",0).attr("y",t.getConfig2().state.titleShift).attr("font-size",t.getConfig2().state.fontSize).attr("class","state-title").text(n.id),h=r.node().getBBox().width+o;let s=Math.max(h,p);s===p&&(s=s+o);let c;const m=e.node().getBBox();n.doc,c=i-g,h>p&&(c=(p-s)/2+g),Math.abs(i-m.x)<g&&h>p&&(c=i-(h-p)/2);const y=1-t.getConfig2().state.textHeight;return e.insert("rect",":first-child").attr("x",c).attr("y",y).attr("class",d?"alt-composit":"composit").attr("width",s).attr("height",m.height+t.getConfig2().state.textHeight+t.getConfig2().state.titleShift+1).attr("rx","0"),r.attr("x",c+g),h<=p&&r.attr("x",i+(s-o)/2-h/2+g),e.insert("rect",":first-child").attr("x",c).attr("y",t.getConfig2().state.titleShift-t.getConfig2().state.textHeight-t.getConfig2().state.padding).attr("width",s).attr("height",t.getConfig2().state.textHeight*3).attr("rx",t.getConfig2().state.radius),e.insert("rect",":first-child").attr("x",c).attr("y",t.getConfig2().state.titleShift-t.getConfig2().state.textHeight-t.getConfig2().state.padding).attr("width",s).attr("height",m.height+3+2*t.getConfig2().state.textHeight).attr("rx",t.getConfig2().state.radius),e},"addTitleAndBox"),W=t.__name(e=>(e.append("circle").attr("class","end-state-outer").attr("r",t.getConfig2().state.sizeUnit+t.getConfig2().state.miniPadding).attr("cx",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit+t.getConfig2().state.miniPadding).attr("cy",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit+t.getConfig2().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t.getConfig2().state.sizeUnit).attr("cx",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit+2).attr("cy",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit+2)),"drawEndState"),G=t.__name((e,n)=>{let d=t.getConfig2().state.forkWidth,g=t.getConfig2().state.forkHeight;if(n.parentId){let o=d;d=g,g=o}return e.append("rect").style("stroke","black").style("fill","black").attr("width",d).attr("height",g).attr("x",t.getConfig2().state.padding).attr("y",t.getConfig2().state.padding)},"drawForkJoinState"),U=t.__name((e,n,d,g)=>{let o=0;const l=g.append("text");l.style("text-anchor","start"),l.attr("class","noteText");let p=e.replace(/\r\n/g,"<br/>");p=p.replace(/\n/g,"<br/>");const i=p.split(t.common_default.lineBreakRegex);let r=1.25*t.getConfig2().state.noteMargin;for(const C of i){const h=C.trim();if(h.length>0){const s=l.append("tspan");if(s.text(h),r===0){const c=s.node().getBBox();r+=c.height}o+=r,s.attr("x",n+t.getConfig2().state.noteMargin),s.attr("y",d+o+1.25*t.getConfig2().state.noteMargin)}}return{textWidth:l.node().getBBox().width,textHeight:o}},"_drawLongText"),D=t.__name((e,n)=>{n.attr("class","state-note");const d=n.append("rect").attr("x",0).attr("y",t.getConfig2().state.padding),g=n.append("g"),{textWidth:o,textHeight:l}=U(e,0,0,g);return d.attr("height",l+2*t.getConfig2().state.noteMargin),d.attr("width",o+t.getConfig2().state.noteMargin*2),d},"drawNote"),k=t.__name(function(e,n){const d=n.id,g={id:d,label:n.id,width:0,height:0},o=e.append("g").attr("id",d).attr("class","stateGroup");n.type==="start"&&z(o),n.type==="end"&&W(o),(n.type==="fork"||n.type==="join")&&G(o,n),n.type==="note"&&D(n.note.text,o),n.type==="divider"&&L(o),n.type==="default"&&n.descriptions.length===0&&A(o,n),n.type==="default"&&n.descriptions.length>0&&P(o,n);const l=o.node().getBBox();return g.width=l.width+2*t.getConfig2().state.padding,g.height=l.height+2*t.getConfig2().state.padding,g},"drawState"),N=0,F=t.__name(function(e,n,d){const g=t.__name(function(r){switch(r){case _.StateDB.relationType.AGGREGATION:return"aggregation";case _.StateDB.relationType.EXTENSION:return"extension";case _.StateDB.relationType.COMPOSITION:return"composition";case _.StateDB.relationType.DEPENDENCY:return"dependency"}},"getRelationType");n.points=n.points.filter(r=>!Number.isNaN(r.y));const o=n.points,l=t.line().x(function(r){return r.x}).y(function(r){return r.y}).curve(t.curveBasis),p=e.append("path").attr("d",l(o)).attr("id","edge"+N).attr("class","transition");let i="";if(t.getConfig2().state.arrowMarkerAbsolute&&(i=t.getUrl(!0)),p.attr("marker-end","url("+i+"#"+g(_.StateDB.relationType.DEPENDENCY)+"End)"),d.title!==void 0){const r=e.append("g").attr("class","stateLabel"),{x:C,y:h}=t.utils_default.calcLabelPosition(n.points),s=t.common_default.getRows(d.title);let c=0;const m=[];let y=0,b=0;for(let x=0;x<=s.length;x++){const f=r.append("text").attr("text-anchor","middle").text(s[x]).attr("x",C).attr("y",h+c),u=f.node().getBBox();y=Math.max(y,u.width),b=Math.min(b,u.x),t.log.info(u.x,C,h+c),c===0&&(c=f.node().getBBox().height,t.log.info("Title height",c,h)),m.push(f)}let S=c*s.length;if(s.length>1){const x=(s.length-1)*c*.5;m.forEach((f,u)=>f.attr("y",h+u*c-x)),S=c*s.length}const a=r.node().getBBox();r.insert("rect",":first-child").attr("class","box").attr("x",C-y/2-t.getConfig2().state.padding/2).attr("y",h-S/2-t.getConfig2().state.padding/2-3.5).attr("width",y+t.getConfig2().state.padding).attr("height",S+t.getConfig2().state.padding),t.log.info(a)}N++},"drawEdge"),w,E={},O=t.__name(function(){},"setConf"),X=t.__name(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),q=t.__name(function(e,n,d,g){w=t.getConfig2().state;const o=t.getConfig2().securityLevel;let l;o==="sandbox"&&(l=t.select("#i"+n));const p=o==="sandbox"?t.select(l.nodes()[0].contentDocument.body):t.select("body"),i=o==="sandbox"?l.nodes()[0].contentDocument:document;t.log.debug("Rendering diagram "+e);const r=p.select(`[id='${n}']`);X(r);const C=g.db.getRootDoc();M(C,r,void 0,!1,p,i,g);const h=w.padding,s=r.node().getBBox(),c=s.width+h*2,m=s.height+h*2,y=c*1.75;t.configureSvgSize(r,m,y,w.useMaxWidth),r.attr("viewBox",`${s.x-w.padding} ${s.y-w.padding} `+c+" "+m)},"draw"),J=t.__name(e=>e?e.length*w.fontSizeFactor:1,"getLabelWidth"),M=t.__name((e,n,d,g,o,l,p)=>{const i=new T.Graph({compound:!0,multigraph:!0});let r,C=!0;for(r=0;r<e.length;r++)if(e[r].stmt==="relation"){C=!1;break}d?i.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:C?1:w.edgeLengthFactor,nodeSep:C?1:50,isMultiGraph:!0}):i.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:C?1:w.edgeLengthFactor,nodeSep:C?1:50,ranker:"tight-tree",isMultiGraph:!0}),i.setDefaultEdgeLabel(function(){return{}});const h=p.db.getStates(),s=p.db.getRelations(),c=Object.keys(h);for(const a of c){const x=h[a];d&&(x.parentId=d);let f;if(x.doc){let u=n.append("g").attr("id",x.id).attr("class","stateGroup");f=M(x.doc,u,x.id,!g,o,l,p);{u=R(u,x,g);let B=u.node().getBBox();f.width=B.width,f.height=B.height+w.padding/2,E[x.id]={y:w.compositTitleSize}}}else f=k(n,x,i);if(x.note){const u={descriptions:[],id:x.id+"-note",note:x.note,type:"note"},B=k(n,u,i);x.note.position==="left of"?(i.setNode(f.id+"-note",B),i.setNode(f.id,f)):(i.setNode(f.id,f),i.setNode(f.id+"-note",B)),i.setParent(f.id,f.id+"-group"),i.setParent(f.id+"-note",f.id+"-group")}else i.setNode(f.id,f)}t.log.debug("Count=",i.nodeCount(),i);let m=0;s.forEach(function(a){m++,t.log.debug("Setting edge",a),i.setEdge(a.id1,a.id2,{relation:a,width:J(a.title),height:w.labelHeight*t.common_default.getRows(a.title).length,labelpos:"c"},"id"+m)}),H.layout(i),t.log.debug("Graph after layout",i.nodes());const y=n.node();i.nodes().forEach(function(a){a!==void 0&&i.node(a)!==void 0?(t.log.warn("Node "+a+": "+JSON.stringify(i.node(a))),o.select("#"+y.id+" #"+a).attr("transform","translate("+(i.node(a).x-i.node(a).width/2)+","+(i.node(a).y+(E[a]?E[a].y:0)-i.node(a).height/2)+" )"),o.select("#"+y.id+" #"+a).attr("data-x-shift",i.node(a).x-i.node(a).width/2),l.querySelectorAll("#"+y.id+" #"+a+" .divider").forEach(f=>{const u=f.parentElement;let B=0,v=0;u&&(u.parentElement&&(B=u.parentElement.getBBox().width),v=parseInt(u.getAttribute("data-x-shift"),10),Number.isNaN(v)&&(v=0)),f.setAttribute("x1",0-v+8),f.setAttribute("x2",B-v-8)})):t.log.debug("No Node "+a+": "+JSON.stringify(i.node(a)))});let b=y.getBBox();i.edges().forEach(function(a){a!==void 0&&i.edge(a)!==void 0&&(t.log.debug("Edge "+a.v+" -> "+a.w+": "+JSON.stringify(i.edge(a))),F(n,i.edge(a),i.edge(a).relation))}),b=y.getBBox();const S={id:d||"root",label:d||"root",width:0,height:0};return S.width=b.width+2*w.padding,S.height=b.height+2*w.padding,t.log.debug("Doc rendered",S,i),S},"renderDoc"),Y={setConf:O,draw:q},$={parser:_.stateDiagram_default,get db(){return new _.StateDB(1)},renderer:Y,styles:_.styles_default,init:t.__name(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=$;
|
package/dist/chunks/{stateDiagram-v2-EYPG3UTE-D-j9wmD4.js → stateDiagram-v2-EYPG3UTE-CSJJtpE9.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as a, b as t, a as r, S as s } from "./chunk-LXBSTHXV-
|
|
2
|
-
import { _ as i } from "./mermaid.core-
|
|
1
|
+
import { s as a, b as t, a as r, S as s } from "./chunk-LXBSTHXV-B6MJqnb9.js";
|
|
2
|
+
import { _ as i } from "./mermaid.core-CvRAjOPA.js";
|
|
3
3
|
var _ = {
|
|
4
4
|
parser: r,
|
|
5
5
|
get db() {
|
package/dist/chunks/{stateDiagram-v2-EYPG3UTE-DN3C1cMv.js → stateDiagram-v2-EYPG3UTE-D2GBbdU2.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-LXBSTHXV-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-LXBSTHXV-DY_risoK.js"),t=require("./mermaid.core-BAzkKVaz.js");var a={parser:r.stateDiagram_default,get db(){return new r.StateDB(2)},renderer:r.stateRenderer_v3_unified_default,styles:r.styles_default,init:t.__name(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./mermaid.core-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./mermaid.core-BAzkKVaz.js"),tt=require("./arc-CgQJTOhQ.js");var K=function(){var r=n.__name(function(_,s,a,h){for(a=a||{},h=_.length;h--;a[_[h]]=s);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],y=[1,16],f=[1,17],p={trace:n.__name(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:n.__name(function(s,a,h,u,g,o,S){var x=o.length-1;switch(g){case 1:return o[x-1];case 2:this.$=[];break;case 3:o[x-1].push(o[x]),this.$=o[x-1];break;case 4:case 5:this.$=o[x];break;case 6:case 7:this.$=[];break;case 8:u.getCommonDb().setDiagramTitle(o[x].substr(6)),this.$=o[x].substr(6);break;case 9:this.$=o[x].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[x].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[x].substr(8)),this.$=o[x].substr(8);break;case 15:u.addTask(o[x],0,""),this.$=o[x];break;case 16:u.addEvent(o[x].substr(2)),this.$=o[x];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},r(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:y,21:f},r(t,[2,7],{1:[2,1]}),r(t,[2,3]),{9:18,11:e,12:l,14:i,16:d,17:c,18:14,19:15,20:y,21:f},r(t,[2,5]),r(t,[2,6]),r(t,[2,8]),{13:[1,19]},{15:[1,20]},r(t,[2,11]),r(t,[2,12]),r(t,[2,13]),r(t,[2,14]),r(t,[2,15]),r(t,[2,16]),r(t,[2,4]),r(t,[2,9]),r(t,[2,10])],defaultActions:{},parseError:n.__name(function(s,a){if(a.recoverable)this.trace(s);else{var h=new Error(s);throw h.hash=a,h}},"parseError"),parse:n.__name(function(s){var a=this,h=[0],u=[],g=[null],o=[],S=this.table,x="",$=0,A=0,W=2,U=1,B=o.slice.call(arguments,1),k=Object.create(this.lexer),I={yy:{}};for(var N in this.yy)Object.prototype.hasOwnProperty.call(this.yy,N)&&(I.yy[N]=this.yy[N]);k.setInput(s,I.yy),I.yy.lexer=k,I.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var b=k.yylloc;o.push(b);var L=k.options&&k.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function C(E){h.length=h.length-2*E,g.length=g.length-E,o.length=o.length-E}n.__name(C,"popStack");function H(){var E;return E=u.pop()||k.lex()||U,typeof E!="number"&&(E instanceof Array&&(u=E,E=u.pop()),E=a.symbols_[E]||E),E}n.__name(H,"lex");for(var w,M,T,Z,F={},O,P,D,j;;){if(M=h[h.length-1],this.defaultActions[M]?T=this.defaultActions[M]:((w===null||typeof w>"u")&&(w=H()),T=S[M]&&S[M][w]),typeof T>"u"||!T.length||!T[0]){var J="";j=[];for(O in S[M])this.terminals_[O]&&O>W&&j.push("'"+this.terminals_[O]+"'");k.showPosition?J="Parse error on line "+($+1)+`:
|
|
2
2
|
`+k.showPosition()+`
|
|
3
3
|
Expecting `+j.join(", ")+", got '"+(this.terminals_[w]||w)+"'":J="Parse error on line "+($+1)+": Unexpected "+(w==U?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(J,{text:k.match,token:this.terminals_[w]||w,line:k.yylineno,loc:b,expected:j})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+w);switch(T[0]){case 1:h.push(w),g.push(k.yytext),o.push(k.yylloc),h.push(T[1]),w=null,A=k.yyleng,x=k.yytext,$=k.yylineno,b=k.yylloc;break;case 2:if(P=this.productions_[T[1]][1],F.$=g[g.length-P],F._$={first_line:o[o.length-(P||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(P||1)].first_column,last_column:o[o.length-1].last_column},L&&(F._$.range=[o[o.length-(P||1)].range[0],o[o.length-1].range[1]]),Z=this.performAction.apply(F,[x,A,$,I.yy,T[1],g,o].concat(B)),typeof Z<"u")return Z;P&&(h=h.slice(0,-1*P*2),g=g.slice(0,-1*P),o=o.slice(0,-1*P)),h.push(this.productions_[T[1]][0]),g.push(F.$),o.push(F._$),D=S[h[h.length-2]][h[h.length-1]],h.push(D);break;case 3:return!0}}return!0},"parse")},m=function(){var _={EOF:1,parseError:n.__name(function(a,h){if(this.yy.parser)this.yy.parser.parseError(a,h);else throw new Error(a)},"parseError"),setInput:n.__name(function(s,a){return this.yy=a||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:n.__name(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var a=s.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),s},"input"),unput:n.__name(function(s){var a=s.length,h=s.split(/(?:\r\n?|\n)/g);this._input=s+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 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: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=[g[0],g[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:n.__name(function(){return this._more=!0,this},"more"),reject:n.__name(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:n.__name(function(s){this.unput(this.match.slice(s))},"less"),pastInput:n.__name(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:n.__name(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:n.__name(function(){var s=this.pastInput(),a=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
|
|
@@ -1,5 +1,5 @@
|
|
|
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, D as wt, ag as St, z as Et } from "./mermaid.core-
|
|
2
|
-
import { d as nt } from "./arc-
|
|
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, D as wt, ag as St, z as Et } from "./mermaid.core-CvRAjOPA.js";
|
|
2
|
+
import { d as nt } from "./arc-CcvXRu6P.js";
|
|
3
3
|
var X = function() {
|
|
4
4
|
var n = /* @__PURE__ */ s(function(f, r, a, h) {
|
|
5
5
|
for (a = a || {}, h = f.length; h--; a[f[h]] = r) ;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid-parser.core-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid-parser.core-psOhnp_g.js");exports.TreemapModule=e.TreemapModule;exports.createTreemapServices=e.createTreemapServices;
|
package/dist/chunks/{xychartDiagram-FDP5SA34-_k9wVk1s.js → xychartDiagram-FDP5SA34-BgdOgAxv.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./mermaid.core-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./mermaid.core-BAzkKVaz.js"),oe=require("./init-CHZsXQcr.js"),he=require("./ordinal-CPpcdEvZ.js"),le=require("./index-DwpuFQtu.js"),Bt=require("./linear-CN8g9v_Q.js");function yt(){var i=he.ordinal().unknown(void 0),t=i.domain,e=i.range,s=0,a=1,o,g,m=!1,p=0,k=0,v=.5;delete i.unknown;function w(){var _=t().length,E=a<s,D=E?a:s,P=E?s:a;o=(P-D)/Math.max(1,_-p+k*2),m&&(o=Math.floor(o)),D+=(P-D-o*(_-p))*v,g=o*(1-p),m&&(D=Math.round(D),g=Math.round(g));var I=le.range(_).map(function(y){return D+o*y});return e(E?I.reverse():I)}return i.domain=function(_){return arguments.length?(t(_),w()):t()},i.range=function(_){return arguments.length?([s,a]=_,s=+s,a=+a,w()):[s,a]},i.rangeRound=function(_){return[s,a]=_,s=+s,a=+a,m=!0,w()},i.bandwidth=function(){return g},i.step=function(){return o},i.round=function(_){return arguments.length?(m=!!_,w()):m},i.padding=function(_){return arguments.length?(p=Math.min(1,k=+_),w()):p},i.paddingInner=function(_){return arguments.length?(p=Math.min(1,_),w()):p},i.paddingOuter=function(_){return arguments.length?(k=+_,w()):k},i.align=function(_){return arguments.length?(v=Math.max(0,Math.min(1,_)),w()):v},i.copy=function(){return yt(t(),[s,a]).round(m).paddingInner(p).paddingOuter(k).align(v)},oe.initRange.apply(w(),arguments)}var _t=function(){var i=n.__name(function(O,h,u,x){for(u=u||{},x=O.length;x--;u[O[x]]=h);return u},"o"),t=[1,10,12,14,16,18,19,21,23],e=[2,6],s=[1,3],a=[1,5],o=[1,6],g=[1,7],m=[1,5,10,12,14,16,18,19,21,23,34,35,36],p=[1,25],k=[1,26],v=[1,28],w=[1,29],_=[1,30],E=[1,31],D=[1,32],P=[1,33],I=[1,34],y=[1,35],S=[1,36],c=[1,37],W=[1,43],z=[1,42],U=[1,47],X=[1,50],l=[1,10,12,14,16,18,19,21,23,34,35,36],L=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],C=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],T=[1,64],$={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:n.__name(function(h,u,x,d,A,r,at){var f=r.length-1;switch(A){case 5:d.setOrientation(r[f]);break;case 9:d.setDiagramTitle(r[f].text.trim());break;case 12:d.setLineData({text:"",type:"text"},r[f]);break;case 13:d.setLineData(r[f-1],r[f]);break;case 14:d.setBarData({text:"",type:"text"},r[f]);break;case 15:d.setBarData(r[f-1],r[f]);break;case 16:this.$=r[f].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=r[f].trim(),d.setAccDescription(this.$);break;case 19:this.$=r[f-1];break;case 20:this.$=[Number(r[f-2]),...r[f]];break;case 21:this.$=[Number(r[f])];break;case 22:d.setXAxisTitle(r[f]);break;case 23:d.setXAxisTitle(r[f-1]);break;case 24:d.setXAxisTitle({type:"text",text:""});break;case 25:d.setXAxisBand(r[f]);break;case 26:d.setXAxisRangeData(Number(r[f-2]),Number(r[f]));break;case 27:this.$=r[f-1];break;case 28:this.$=[r[f-2],...r[f]];break;case 29:this.$=[r[f]];break;case 30:d.setYAxisTitle(r[f]);break;case 31:d.setYAxisTitle(r[f-1]);break;case 32:d.setYAxisTitle({type:"text",text:""});break;case 33:d.setYAxisRangeData(Number(r[f-2]),Number(r[f]));break;case 37:this.$={text:r[f],type:"text"};break;case 38:this.$={text:r[f],type:"text"};break;case 39:this.$={text:r[f],type:"markdown"};break;case 40:this.$=r[f];break;case 41:this.$=r[f-1]+""+r[f];break}},"anonymous"),table:[i(t,e,{3:1,4:2,7:4,5:s,34:a,35:o,36:g}),{1:[3]},i(t,e,{4:2,7:4,3:8,5:s,34:a,35:o,36:g}),i(t,e,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:a,35:o,36:g}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},i(m,[2,34]),i(m,[2,35]),i(m,[2,36]),{1:[2,1]},i(t,e,{4:2,7:4,3:21,5:s,34:a,35:o,36:g}),{1:[2,3]},i(m,[2,5]),i(t,[2,7],{4:22,34:a,35:o,36:g}),{11:23,37:24,38:p,39:k,40:27,41:v,42:w,43:_,44:E,45:D,46:P,47:I,48:y,49:S,50:c},{11:39,13:38,24:W,27:z,29:40,30:41,37:24,38:p,39:k,40:27,41:v,42:w,43:_,44:E,45:D,46:P,47:I,48:y,49:S,50:c},{11:45,15:44,27:U,33:46,37:24,38:p,39:k,40:27,41:v,42:w,43:_,44:E,45:D,46:P,47:I,48:y,49:S,50:c},{11:49,17:48,24:X,37:24,38:p,39:k,40:27,41:v,42:w,43:_,44:E,45:D,46:P,47:I,48:y,49:S,50:c},{11:52,17:51,24:X,37:24,38:p,39:k,40:27,41:v,42:w,43:_,44:E,45:D,46:P,47:I,48:y,49:S,50:c},{20:[1,53]},{22:[1,54]},i(l,[2,18]),{1:[2,2]},i(l,[2,8]),i(l,[2,9]),i(L,[2,37],{40:55,41:v,42:w,43:_,44:E,45:D,46:P,47:I,48:y,49:S,50:c}),i(L,[2,38]),i(L,[2,39]),i(C,[2,40]),i(C,[2,42]),i(C,[2,43]),i(C,[2,44]),i(C,[2,45]),i(C,[2,46]),i(C,[2,47]),i(C,[2,48]),i(C,[2,49]),i(C,[2,50]),i(C,[2,51]),i(l,[2,10]),i(l,[2,22],{30:41,29:56,24:W,27:z}),i(l,[2,24]),i(l,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:p,39:k,40:27,41:v,42:w,43:_,44:E,45:D,46:P,47:I,48:y,49:S,50:c},i(l,[2,11]),i(l,[2,30],{33:60,27:U}),i(l,[2,32]),{31:[1,61]},i(l,[2,12]),{17:62,24:X},{25:63,27:T},i(l,[2,14]),{17:65,24:X},i(l,[2,16]),i(l,[2,17]),i(C,[2,41]),i(l,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},i(l,[2,31]),{27:[1,69]},i(l,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},i(l,[2,15]),i(l,[2,26]),i(l,[2,27]),{11:59,32:72,37:24,38:p,39:k,40:27,41:v,42:w,43:_,44:E,45:D,46:P,47:I,48:y,49:S,50:c},i(l,[2,33]),i(l,[2,19]),{25:73,27:T},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:n.__name(function(h,u){if(u.recoverable)this.trace(h);else{var x=new Error(h);throw x.hash=u,x}},"parseError"),parse:n.__name(function(h){var u=this,x=[0],d=[],A=[null],r=[],at=this.table,f="",lt=0,Et=0,se=2,It=1,ne=r.slice.call(arguments,1),R=Object.create(this.lexer),Y={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(Y.yy[dt]=this.yy[dt]);R.setInput(h,Y.yy),Y.yy.lexer=R,Y.yy.parser=this,typeof R.yylloc>"u"&&(R.yylloc={});var ft=R.yylloc;r.push(ft);var ae=R.options&&R.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function re(V){x.length=x.length-2*V,A.length=A.length-V,r.length=r.length-V}n.__name(re,"popStack");function Mt(){var V;return V=d.pop()||R.lex()||It,typeof V!="number"&&(V instanceof Array&&(d=V,V=d.pop()),V=u.symbols_[V]||V),V}n.__name(Mt,"lex");for(var M,H,B,pt,q={},ct,F,Vt,ut;;){if(H=x[x.length-1],this.defaultActions[H]?B=this.defaultActions[H]:((M===null||typeof M>"u")&&(M=Mt()),B=at[H]&&at[H][M]),typeof B>"u"||!B.length||!B[0]){var mt="";ut=[];for(ct in at[H])this.terminals_[ct]&&ct>se&&ut.push("'"+this.terminals_[ct]+"'");R.showPosition?mt="Parse error on line "+(lt+1)+`:
|
|
2
2
|
`+R.showPosition()+`
|
|
3
3
|
Expecting `+ut.join(", ")+", got '"+(this.terminals_[M]||M)+"'":mt="Parse error on line "+(lt+1)+": Unexpected "+(M==It?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(mt,{text:R.match,token:this.terminals_[M]||M,line:R.yylineno,loc:ft,expected:ut})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+H+", token: "+M);switch(B[0]){case 1:x.push(M),A.push(R.yytext),r.push(R.yylloc),x.push(B[1]),M=null,Et=R.yyleng,f=R.yytext,lt=R.yylineno,ft=R.yylloc;break;case 2:if(F=this.productions_[B[1]][1],q.$=A[A.length-F],q._$={first_line:r[r.length-(F||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(F||1)].first_column,last_column:r[r.length-1].last_column},ae&&(q._$.range=[r[r.length-(F||1)].range[0],r[r.length-1].range[1]]),pt=this.performAction.apply(q,[f,Et,lt,Y.yy,B[1],A,r].concat(ne)),typeof pt<"u")return pt;F&&(x=x.slice(0,-1*F*2),A=A.slice(0,-1*F),r=r.slice(0,-1*F)),x.push(this.productions_[B[1]][0]),A.push(q.$),r.push(q._$),Vt=at[x[x.length-2]][x[x.length-1]],x.push(Vt);break;case 3:return!0}}return!0},"parse")},Lt=function(){var O={EOF:1,parseError:n.__name(function(u,x){if(this.yy.parser)this.yy.parser.parseError(u,x);else throw new Error(u)},"parseError"),setInput:n.__name(function(h,u){return this.yy=u||this.yy||{},this._input=h,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:n.__name(function(){var h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var u=h.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),h},"input"),unput:n.__name(function(h){var u=h.length,x=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),x.length-1&&(this.yylineno-=x.length-1);var A=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:x?(x.length===d.length?this.yylloc.first_column:0)+d[d.length-x.length].length-x[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},"unput"),more:n.__name(function(){return this._more=!0,this},"more"),reject:n.__name(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:n.__name(function(h){this.unput(this.match.slice(h))},"less"),pastInput:n.__name(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n.__name(function(){var h=this.match;return h.length<20&&(h+=this._input.substr(0,20-h.length)),(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n.__name(function(){var h=this.pastInput(),u=new Array(h.length+1).join("-");return h+this.upcomingInput()+`
|
package/dist/chunks/{xychartDiagram-FDP5SA34-Cghmm2Lo.js → xychartDiagram-FDP5SA34-DBZfRejf.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as a, s as gi, g as xi, t as Xt, q as di, a as fi, b as pi, l as Nt, K as mi, e as yi, z as bi, G as St, F as Yt, H as Ai, a1 as wi, i as Ci, ar as Si, a9 as Wt } from "./mermaid.core-
|
|
1
|
+
import { _ as a, s as gi, g as xi, t as Xt, q as di, a as fi, b as pi, l as Nt, K as mi, e as yi, z as bi, G as St, F as Yt, H as Ai, a1 as wi, i as Ci, ar as Si, a9 as Wt } from "./mermaid.core-CvRAjOPA.js";
|
|
2
2
|
import { i as _i } from "./init-DjUOC4st.js";
|
|
3
3
|
import { o as ki } from "./ordinal-DfAQgscy.js";
|
|
4
|
-
import { L as Ri } from "./index-
|
|
5
|
-
import { l as zt } from "./linear-
|
|
4
|
+
import { L as Ri } from "./index-D8tUqFuv.js";
|
|
5
|
+
import { l as zt } from "./linear-BI3PREhR.js";
|
|
6
6
|
function yt() {
|
|
7
7
|
var e = ki().unknown(void 0), t = e.domain, i = e.range, s = 0, n = 1, r, g, m = !1, p = 0, k = 0, v = 0.5;
|
|
8
8
|
delete e.unknown;
|
package/dist/dashboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-DwpuFQtu.js"),r=require("../types/index.cjs");exports.Dashboard=e.Dashboard;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/dashboard/index.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-DwpuFQtu.js"),C=require("./types/index.cjs"),i=require("./chunks/dashboard-plus-B10r1QRu.js"),t=require("react/jsx-runtime"),h=require("react");require("react-dom");function T(a){const{displayPreferences:n,...d}=a,u={...d,id:a.dashboardId};return t.jsx(e.ErrorBoundary,{FallbackComponent:e.Fallback,children:t.jsx(e.SemaphorContextProvider,{dashboardProps:u,children:t.jsx(e.UXProvider,{children:t.jsx(e.DisplayPreferencesProvider,{displayPreferences:n,children:t.jsx(e.Container,{type:"visual",...u,children:t.jsx(S,{cardId:a.cardId})})})})})})}function S({cardId:a}){const n=e.useDashboardStore(o=>{var s;return(s=o.dashboard)==null?void 0:s.sheets}),{card:d,frame:u}=h.useMemo(()=>{const o=n==null?void 0:n.flatMap(r=>r.frames),s=o==null?void 0:o.flatMap(r=>r==null?void 0:r.cards),c=s==null?void 0:s.find(r=>(r==null?void 0:r.id)===a),M=o==null?void 0:o.find(r=>{var l;return(l=r==null?void 0:r.cards)==null?void 0:l.find(Y=>(Y==null?void 0:Y.id)===a)});return{card:c,frame:M}},[n,a]);return!d||!u?t.jsx(e.FallbackVisual,{error:new Error("Card not found"),resetErrorBoundary:()=>{},customerFacingMessage:`Card not found with ID: ${a}`}):t.jsx("main",{className:"flex h-full grow flex-col",children:t.jsx(e.ErrorBoundary,{FallbackComponent:({error:o,resetErrorBoundary:s})=>t.jsx(e.FallbackVisual,{error:o,resetErrorBoundary:s,customerFacingMessage:"Error creating visual. Please try again."}),children:t.jsx(e.DashboardCard,{card:d,frame:u})})})}const b=["MM-DD-YYYY","YYYY-MM-DD","MM/DD/YYYY","DD/MM/YYYY","MMMM DD, YYYY","MMM DD, YYYY","DD MMM YYYY","Week of MMM DD, YYYY","Week of MMMM DD, YYYY","YYYY-WW","MMM YYYY","MMMM YYYY","YYYY-MM","MM/YYYY","YYYY MMM","Q1 YYYY","YYYY Q1","1st Quarter YYYY","YYYY-Q1","Quarter 1, YYYY","YYYY","YY","custom"];var D=(a=>(a.SUBTOTAL="__SUBTOTAL__",a.TOTAL="__TOTAL__",a.ALL="__ALL__",a))(D||{});exports.Dashboard=e.Dashboard;exports.DashboardWC=e.DashboardWC;exports.SemaphorContextProvider=e.SemaphorContextProvider;exports.SemaphorDataProvider=e.SemaphorQueryClient;exports.SemaphorQueryClient=e.SemaphorQueryClient;exports.createSqlGenConfig=e.createSqlGenConfig;exports.downloadPdf=e.downloadPdf;exports.fmt=e.fmt;exports.getColumnDataType=e.getColumnDataType;exports.getFilterValueType=e.getFilterValueType;exports.getFormattedTableNameForQuery=e.getFormattedTableNameForQuery;exports.getQualifiedTableName=e.getQualifiedTableName;exports.getSql=e.getSql;exports.invalidateToken=e.invalidateToken;exports.isBooleanDataType=e.isBooleanDataType;exports.isColumnInSqlGen=e.isColumnInSqlGen;exports.isDateDataType=e.isDateDataType;exports.isNumberDataType=e.isNumberDataType;exports.isTextDataType=e.isTextDataType;exports.resolveDataType=e.resolveDataType;exports.resolveDatamodelName=e.resolveDatamodelName;exports.useCard=e.useCard;exports.useCurrentActiveCard=e.useCurrentActiveCard;exports.useCurrentCardConfig=e.useCurrentCardConfig;exports.useCurrentSheetActiveCards=e.useCurrentSheetActiveCards;exports.useDashboardActions=e.useDashboardActions;exports.useDashboardStore=e.useDashboardStore;exports.useDataColumns=e.useDataColumns;exports.useDateFilterHook=e.useDateFilterHook;exports.useEditorActions=e.useEditorActions;exports.useEditorAside=e.useEditorAside;exports.useEditorStore=e.useEditorStore;exports.useTextFilterHook=e.useTextFilterHook;exports.EMPTY_SELECTION=C.EMPTY_SELECTION;exports.ResourceManagementPanel=i.ResourceManagementPanel;exports.ScheduleDashboard=i.ScheduleDashboard;exports.SelectComponent=i.SelectComponent;exports.Surfboard=i.DashboardPlus;exports.cleanCard=i.cleanCard;exports.getDashbaordStateWithoutData=i.getDashbaordStateWithoutData;exports.DATE_FORMAT_VALUES=b;exports.PivotMarkerEnum=D;exports.Visual=T;
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { E as l, F as c, S as f, U as h, a as p, C as m, u as C, b as u, c as T } from "./chunks/index-
|
|
2
|
-
import { D as L, h as k, f as Q, f as w, r as B, j as N, l as O, t as W, s as U, x as V, y as q, q as I, i as G, p as H, v as R, o as j, n as z, m as J, z as K, w as X, g as $, B as Z, H as aa, G as ea, I as sa, k as ra, d as oa, K as ta, A as Ya, J as na, e as ia } from "./chunks/index-
|
|
1
|
+
import { E as l, F as c, S as f, U as h, a as p, C as m, u as C, b as u, c as T } from "./chunks/index-D8tUqFuv.js";
|
|
2
|
+
import { D as L, h as k, f as Q, f as w, r as B, j as N, l as O, t as W, s as U, x as V, y as q, q as I, i as G, p as H, v as R, o as j, n as z, m as J, z as K, w as X, g as $, B as Z, H as aa, G as ea, I as sa, k as ra, d as oa, K as ta, A as Ya, J as na, e as ia } from "./chunks/index-D8tUqFuv.js";
|
|
3
3
|
import { EMPTY_SELECTION as ua } from "./types/index.js";
|
|
4
|
-
import { R as Ma, S as Da, a as ca, D as fa, c as ha, g as pa } from "./chunks/dashboard-plus-
|
|
4
|
+
import { R as Ma, S as Da, a as ca, D as fa, c as ha, g as pa } from "./chunks/dashboard-plus-BMWPXPIj.js";
|
|
5
5
|
import { jsx as s } from "react/jsx-runtime";
|
|
6
6
|
import { useMemo as b } from "react";
|
|
7
7
|
import "react-dom";
|