@zjlab-frontier/markdown 1.0.14 → 1.0.15
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/{arc-D74rvo4b.mjs → arc-BDq_UErm.mjs} +1 -1
- package/dist/{blockDiagram-c4efeb88-Dq7cH4-h.mjs → blockDiagram-c4efeb88-CDyIdbtK.mjs} +5 -5
- package/dist/{c4Diagram-c83219d4-rKujGWJu.mjs → c4Diagram-c83219d4-DXQI8rSn.mjs} +2 -2
- package/dist/{channel-ByGwozWG.mjs → channel-mrMpJpdh.mjs} +1 -1
- package/dist/{classDiagram-beda092f-lWZwcYV6.mjs → classDiagram-beda092f-DF5PP90H.mjs} +5 -5
- package/dist/{classDiagram-v2-2358418a-C4sFzZRo.mjs → classDiagram-v2-2358418a-2KOhq15N.mjs} +5 -5
- package/dist/{clone-Cu-z2qEZ.mjs → clone-CPLr1RMr.mjs} +1 -1
- package/dist/{createText-1719965b-C8C_AiV9.mjs → createText-1719965b-BCSzEdi6.mjs} +1 -1
- package/dist/{edges-96097737-CSa6AcvQ.mjs → edges-96097737-CSR-2StN.mjs} +3 -3
- package/dist/{erDiagram-0228fc6a-BrDm1YbM.mjs → erDiagram-0228fc6a-DHkqubvF.mjs} +4 -4
- package/dist/{flowDb-c6c81e3f-p6O85mPR.mjs → flowDb-c6c81e3f-ClBL6Z4y.mjs} +1 -1
- package/dist/{flowDiagram-50d868cf-6BuZK6DY.mjs → flowDiagram-50d868cf-D0QshpZ_.mjs} +6 -6
- package/dist/{flowDiagram-v2-4f6560a1-D3gkDx9X.mjs → flowDiagram-v2-4f6560a1-BgkWR5z0.mjs} +5 -5
- package/dist/{flowchart-elk-definition-6af322e1-M_LSSbEb.mjs → flowchart-elk-definition-6af322e1-mbKzokm0.mjs} +4 -4
- package/dist/{ganttDiagram-a2739b55-BOrLmRWO.mjs → ganttDiagram-a2739b55-CJB6oR5Z.mjs} +2 -2
- package/dist/{gitGraphDiagram-82fe8481-CGMhtWIc.mjs → gitGraphDiagram-82fe8481-DE5yHrtf.mjs} +1 -1
- package/dist/{graph-BZTHejFm.mjs → graph-4HSTUhTa.mjs} +1 -1
- package/dist/{index-5325376f-Caps-LFi.mjs → index-5325376f-CaGR1iTQ.mjs} +6 -6
- package/dist/{index-DnbbJheA.mjs → index-DMbKvIFW.mjs} +873 -858
- package/dist/index.mjs +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/{infoDiagram-8eee0895-uRqxKwJ6.mjs → infoDiagram-8eee0895-D1xUBhdr.mjs} +1 -1
- package/dist/{journeyDiagram-c64418c1-dz1DzFDU.mjs → journeyDiagram-c64418c1-CGck4bFe.mjs} +3 -3
- package/dist/{layout-CXru9QXT.mjs → layout-C08K7-fX.mjs} +2 -2
- package/dist/{line-Bm5Ssnau.mjs → line-amr281ap.mjs} +1 -1
- package/dist/{linear-DAQRF7QX.mjs → linear-tZvsdWna.mjs} +1 -1
- package/dist/{mindmap-definition-8da855dc-CTdmDCDH.mjs → mindmap-definition-8da855dc-DiV2EEVh.mjs} +2 -2
- package/dist/{pieDiagram-a8764435-CDtnM831.mjs → pieDiagram-a8764435-TCzfl67x.mjs} +2 -2
- package/dist/{quadrantDiagram-1e28029f-DDjT5NBy.mjs → quadrantDiagram-1e28029f-nOzgOPva.mjs} +2 -2
- package/dist/{requirementDiagram-08caed73-PraMBCZ7.mjs → requirementDiagram-08caed73-DRzKZ5sJ.mjs} +4 -4
- package/dist/{sankeyDiagram-a04cb91d-QCCsmW9y.mjs → sankeyDiagram-a04cb91d-vyP3B38N.mjs} +1 -1
- package/dist/{sequenceDiagram-c5b8d532-D-C3VnuY.mjs → sequenceDiagram-c5b8d532-C_--pF1U.mjs} +2 -2
- package/dist/{stateDiagram-1ecb1508-BDaNxlCv.mjs → stateDiagram-1ecb1508-DTnEWYWE.mjs} +5 -5
- package/dist/{stateDiagram-v2-c2b004d7-JryFObIe.mjs → stateDiagram-v2-c2b004d7-Dk46LZKI.mjs} +5 -5
- package/dist/{styles-b4e223ce-BmJy5Vur.mjs → styles-b4e223ce-0kkfIfCC.mjs} +1 -1
- package/dist/{styles-ca3715f6-Bz2j8g36.mjs → styles-ca3715f6-BeH-56XZ.mjs} +1 -1
- package/dist/{styles-d45a18b0-C81A6a5s.mjs → styles-d45a18b0-CKtnslBQ.mjs} +4 -4
- package/dist/{svgDrawCommon-b86b1483-BBNzCTiF.mjs → svgDrawCommon-b86b1483-9Un5LUnq.mjs} +1 -1
- package/dist/{timeline-definition-faaaa080-Cn9PdfeK.mjs → timeline-definition-faaaa080-BexB9fva.mjs} +2 -2
- package/dist/{xychartDiagram-f5964ef8-Du7x5hcc.mjs → xychartDiagram-f5964ef8-CDxBXpgi.mjs} +4 -4
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
package/dist/index.umd.js
CHANGED
|
@@ -1237,7 +1237,7 @@ still code?
|
|
|
1237
1237
|
- 检查**安全过滤机制**(如 XSS 防护)
|
|
1238
1238
|
- 对比不同引擎(如 CommonMark、GitHub、Typora、Obsidian、Marked.js 等)的行为差异
|
|
1239
1239
|
|
|
1240
|
-
> 提示:将此文件使用 Markdown 渲染器打开,观察各部分是否按预期显示。`;Zb.initialize({startOnLoad:!1,theme:"default",securityLevel:"loose",logLevel:3,deterministicIds:!0,flowchart:{useMaxWidth:!0,htmlLabels:!0}});function C0n(n){try{navigator.clipboard.writeText(n)}catch(r){console.error("[Markdown] 复制失败:",r)}}function _Ue(n){var r=cs.useRef(null),a=cs.useState(!1),o=a[0],u=a[1],d=cs.useRef(""),h=cs.useMemo(function(){return"mermaid-".concat(Date.now(),"-").concat(Math.random().toString(36).substr(2,9))},[]);cs.useEffect(function(){if(!(!n.code||!r.current)&&n.code!==d.current){d.current=n.code;try{u(!1),r.current.innerHTML="",Zb.render(h,n.code.trim()).then(function(v){var y=v.svg;r.current&&(r.current.innerHTML=y)}).catch(function(v){u(!0),console.error("[Markdown] Mermaid 渲染失败:",v.message)})}catch(v){u(!0),console.error("[Markdown] Mermaid 渲染失败:",v.message)}}},[n.code,h]);function b(){var v,y=(v=r.current)===null||v===void 0?void 0:v.querySelector("svg")}return cs.createElement("div",{className:gue("no-dark"),style:{cursor:"pointer",overflow:"auto",minHeight:"50px",backgroundColor:o?"#fee":"#f8f8f8",padding:"10px",border:o?"1px solid #fcc":"none",borderRadius:o?"4px":"0"},ref:r,onClick:function(){return b()}},o?cs.createElement("div",{style:{textAlign:"center",padding:"10px",color:"#c33",fontSize:"14px"}},"Mermaid 图表渲染失败,请检查代码语法"):null)}function CUe(n){var r=cs.useRef(null),a=cs.useState(""),o=a[0],u=a[1],d=cs.useState(null),h=d[0],b=d[1];return cs.useEffect(function(){if(r.current){var v=r.current.querySelector("code");if(v){var y=v.className.match(/language-(\w+)/),E=y?y[1]:"text";u(E);var T=["","md","markdown","text","txt","plaintext","tex","latex"];if(T.includes(E)&&(v.style.whiteSpace="pre-wrap"),E==="mermaid"){var C=v.innerText.trim();b(function(k){return k===C?k:C})}}}},[n.children]),cs.createElement(cs.Fragment,null,cs.createElement("div",{style:{position:"relative"}},cs.createElement("pre",{ref:r},o&&cs.createElement("div",{style:{padding:"10px",backgroundColor:"#3f3f3f",fontSize:"12px",color:"#fff",zIndex:1}},o),cs.createElement("span",{className:"copy-code-button",onClick:function(){var v;r.current&&C0n(((v=r.current.querySelector("code"))===null||v===void 0?void 0:v.innerText)||r.current.innerText||"")}}),n.children)),h&&cs.createElement(_Ue,{code:h}))}function S0n(n){var r=!0,a=cs.useRef(null),o=cs.useState(!0),u=o[0],d=o[1],h=cs.useState(!1),b=h[0],v=h[1];cs.useEffect(function(){if(a.current){var T=a.current.scrollHeight;v(T>400),a.current.scrollTop=a.current.scrollHeight}},[n.children]);var y=function(){d(function(T){return!T})},E=function(){return b&&r&&u?cs.createElement("div",{className:gue("show-hide-button",{collapsed:u,expanded:!u})},cs.createElement("button",{type:"button",onClick:y},"查看全部")):null};return cs.createElement(cs.Fragment,null,cs.createElement("code",{className:gue(n?.className),ref:a,style:{maxHeight:u?"400px":"none",overflowY:"hidden",width:"100%"}},n.children),E())}function A0n(n){var r=/(```[\s\S]*?```|`.*?`)|\\\[([\s\S]*?[^\\])\\\]|\\\((.*?)\\\)/g;return n.replace(r,function(a,o,u,d){return o||(u?"$$".concat(u,"$$"):d?"$".concat(d,"$"):a)})}function M0n(n){var r=cs.useMemo(function(){return A0n(n.content)},[n.content]);return cs.createElement(Q$e,{remarkPlugins:[k0n,d0n,Ohn],rehypePlugins:[Chn,I1n,[xln,{detect:!1,ignoreMissing:!0}]],components:{pre:CUe,code:S0n,p:function(a){return cs.createElement("p",bK({},a,{dir:"auto"}))},a:function(a){var o,u=a.href||"";if(/\.(aac|mp3|opus|wav)$/.test(u))return cs.createElement("figure",null,cs.createElement("audio",{controls:!0,src:u}));if(/\.(3gp|3g2|webm|ogv|mpeg|mp4|avi)$/.test(u))return cs.createElement("video",{controls:!0,width:"99.9%"},cs.createElement("source",{src:u}));var d=/^\/#/i.test(u),h=d?"_self":(o=a.target)!==null&&o!==void 0?o:"_blank";return cs.createElement("a",bK({},a,{target:h}))}}},r)}var SUe=cs.memo(M0n);function u0e(n){var r,a=cs.useRef(null);return cs.createElement("div",{dir:"auto",className:"markdown-body",style:{fontSize:"".concat((r=n.fontSize)!==null&&r!==void 0?r:16,"px"),fontFamily:n.fontFamily||"inherit"},onContextMenu:n.onContextMenu,onDoubleClickCapture:n.onDoubleClickCapture,ref:a},cs.createElement(SUe,{content:n.content}))}var N0n=function(n){return cs.createElement(u0e,{content:n.content||_0n})};const RW=(n,r)=>{const a=n.append("rect");if(a.attr("x",r.x),a.attr("y",r.y),a.attr("fill",r.fill),a.attr("stroke",r.stroke),a.attr("width",r.width),a.attr("height",r.height),r.name&&a.attr("name",r.name),r.rx!==void 0&&a.attr("rx",r.rx),r.ry!==void 0&&a.attr("ry",r.ry),r.attrs!==void 0)for(const o in r.attrs)a.attr(o,r.attrs[o]);return r.class!==void 0&&a.attr("class",r.class),a},AUe=(n,r)=>{const a={x:r.startx,y:r.starty,width:r.stopx-r.startx,height:r.stopy-r.starty,fill:r.fill,stroke:r.stroke,class:"rect"};RW(n,a).lower()},L0n=(n,r)=>{const a=r.text.replace(DM," "),o=n.append("text");o.attr("x",r.x),o.attr("y",r.y),o.attr("class","legend"),o.style("text-anchor",r.anchor),r.class!==void 0&&o.attr("class",r.class);const u=o.append("tspan");return u.attr("x",r.x+r.textMargin*2),u.text(a),o},O0n=(n,r,a,o)=>{const u=n.append("image");u.attr("x",r),u.attr("y",a);const d=KT.sanitizeUrl(o);u.attr("xlink:href",d)},I0n=(n,r,a,o)=>{const u=n.append("use");u.attr("x",r),u.attr("y",a);const d=KT.sanitizeUrl(o);u.attr("xlink:href",`#${d}`)},Sk=()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),h0e=()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0});var PW=(function(){var n=function(sn,At,Kt,qt){for(Kt=Kt||{},qt=sn.length;qt--;Kt[sn[qt]]=At);return Kt},r=[1,24],a=[1,25],o=[1,26],u=[1,27],d=[1,28],h=[1,63],b=[1,64],v=[1,65],y=[1,66],E=[1,67],T=[1,68],C=[1,69],k=[1,29],A=[1,30],N=[1,31],I=[1,32],R=[1,33],P=[1,34],$=[1,35],G=[1,36],U=[1,37],q=[1,38],H=[1,39],W=[1,40],z=[1,41],V=[1,42],F=[1,43],Q=[1,44],B=[1,45],te=[1,46],se=[1,47],ce=[1,48],ie=[1,50],ae=[1,51],le=[1,52],Z=[1,53],ge=[1,54],Se=[1,55],de=[1,56],qe=[1,57],Ne=[1,58],Oe=[1,59],Ue=[1,60],tt=[14,42],Me=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ae=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Te=[1,82],Ce=[1,83],De=[1,84],rt=[1,85],Fe=[12,14,42],Tn=[12,14,33,42],at=[12,14,33,42,76,77,79,80],ln=[12,33],mn=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Rn={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:function(At,Kt,qt,st,We,bt,wt){var Ct=bt.length-1;switch(We){case 3:st.setDirection("TB");break;case 4:st.setDirection("BT");break;case 5:st.setDirection("RL");break;case 6:st.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:st.setC4Type(bt[Ct-3]);break;case 19:st.setTitle(bt[Ct].substring(6)),this.$=bt[Ct].substring(6);break;case 20:st.setAccDescription(bt[Ct].substring(15)),this.$=bt[Ct].substring(15);break;case 21:this.$=bt[Ct].trim(),st.setTitle(this.$);break;case 22:case 23:this.$=bt[Ct].trim(),st.setAccDescription(this.$);break;case 28:case 29:bt[Ct].splice(2,0,"ENTERPRISE"),st.addPersonOrSystemBoundary(...bt[Ct]),this.$=bt[Ct];break;case 30:st.addPersonOrSystemBoundary(...bt[Ct]),this.$=bt[Ct];break;case 31:bt[Ct].splice(2,0,"CONTAINER"),st.addContainerBoundary(...bt[Ct]),this.$=bt[Ct];break;case 32:st.addDeploymentNode("node",...bt[Ct]),this.$=bt[Ct];break;case 33:st.addDeploymentNode("nodeL",...bt[Ct]),this.$=bt[Ct];break;case 34:st.addDeploymentNode("nodeR",...bt[Ct]),this.$=bt[Ct];break;case 35:st.popBoundaryParseStack();break;case 39:st.addPersonOrSystem("person",...bt[Ct]),this.$=bt[Ct];break;case 40:st.addPersonOrSystem("external_person",...bt[Ct]),this.$=bt[Ct];break;case 41:st.addPersonOrSystem("system",...bt[Ct]),this.$=bt[Ct];break;case 42:st.addPersonOrSystem("system_db",...bt[Ct]),this.$=bt[Ct];break;case 43:st.addPersonOrSystem("system_queue",...bt[Ct]),this.$=bt[Ct];break;case 44:st.addPersonOrSystem("external_system",...bt[Ct]),this.$=bt[Ct];break;case 45:st.addPersonOrSystem("external_system_db",...bt[Ct]),this.$=bt[Ct];break;case 46:st.addPersonOrSystem("external_system_queue",...bt[Ct]),this.$=bt[Ct];break;case 47:st.addContainer("container",...bt[Ct]),this.$=bt[Ct];break;case 48:st.addContainer("container_db",...bt[Ct]),this.$=bt[Ct];break;case 49:st.addContainer("container_queue",...bt[Ct]),this.$=bt[Ct];break;case 50:st.addContainer("external_container",...bt[Ct]),this.$=bt[Ct];break;case 51:st.addContainer("external_container_db",...bt[Ct]),this.$=bt[Ct];break;case 52:st.addContainer("external_container_queue",...bt[Ct]),this.$=bt[Ct];break;case 53:st.addComponent("component",...bt[Ct]),this.$=bt[Ct];break;case 54:st.addComponent("component_db",...bt[Ct]),this.$=bt[Ct];break;case 55:st.addComponent("component_queue",...bt[Ct]),this.$=bt[Ct];break;case 56:st.addComponent("external_component",...bt[Ct]),this.$=bt[Ct];break;case 57:st.addComponent("external_component_db",...bt[Ct]),this.$=bt[Ct];break;case 58:st.addComponent("external_component_queue",...bt[Ct]),this.$=bt[Ct];break;case 60:st.addRel("rel",...bt[Ct]),this.$=bt[Ct];break;case 61:st.addRel("birel",...bt[Ct]),this.$=bt[Ct];break;case 62:st.addRel("rel_u",...bt[Ct]),this.$=bt[Ct];break;case 63:st.addRel("rel_d",...bt[Ct]),this.$=bt[Ct];break;case 64:st.addRel("rel_l",...bt[Ct]),this.$=bt[Ct];break;case 65:st.addRel("rel_r",...bt[Ct]),this.$=bt[Ct];break;case 66:st.addRel("rel_b",...bt[Ct]),this.$=bt[Ct];break;case 67:bt[Ct].splice(0,1),st.addRel("rel",...bt[Ct]),this.$=bt[Ct];break;case 68:st.updateElStyle("update_el_style",...bt[Ct]),this.$=bt[Ct];break;case 69:st.updateRelStyle("update_rel_style",...bt[Ct]),this.$=bt[Ct];break;case 70:st.updateLayoutConfig("update_layout_config",...bt[Ct]),this.$=bt[Ct];break;case 71:this.$=[bt[Ct]];break;case 72:bt[Ct].unshift(bt[Ct-1]),this.$=bt[Ct];break;case 73:case 75:this.$=bt[Ct].trim();break;case 74:let hn={};hn[bt[Ct-1].trim()]=bt[Ct].trim(),this.$=hn;break;case 76:this.$="";break}},table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:r,23:a,24:o,26:u,28:d,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:N,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:ce,64:ie,65:ae,66:le,67:Z,68:ge,69:Se,70:de,71:qe,72:Ne,73:Oe,74:Ue},{13:70,19:20,20:21,21:22,22:r,23:a,24:o,26:u,28:d,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:N,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:ce,64:ie,65:ae,66:le,67:Z,68:ge,69:Se,70:de,71:qe,72:Ne,73:Oe,74:Ue},{13:71,19:20,20:21,21:22,22:r,23:a,24:o,26:u,28:d,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:N,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:ce,64:ie,65:ae,66:le,67:Z,68:ge,69:Se,70:de,71:qe,72:Ne,73:Oe,74:Ue},{13:72,19:20,20:21,21:22,22:r,23:a,24:o,26:u,28:d,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:N,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:ce,64:ie,65:ae,66:le,67:Z,68:ge,69:Se,70:de,71:qe,72:Ne,73:Oe,74:Ue},{13:73,19:20,20:21,21:22,22:r,23:a,24:o,26:u,28:d,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:N,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:ce,64:ie,65:ae,66:le,67:Z,68:ge,69:Se,70:de,71:qe,72:Ne,73:Oe,74:Ue},{14:[1,74]},n(tt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:h,36:b,37:v,38:y,39:E,40:T,41:C,44:k,45:A,46:N,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:ce,64:ie,65:ae,66:le,67:Z,68:ge,69:Se,70:de,71:qe,72:Ne,73:Oe,74:Ue}),n(tt,[2,14]),n(Me,[2,16],{12:[1,76]}),n(tt,[2,36],{12:[1,77]}),n(Ae,[2,19]),n(Ae,[2,20]),{25:[1,78]},{27:[1,79]},n(Ae,[2,23]),{35:80,75:81,76:Te,77:Ce,79:De,80:rt},{35:86,75:81,76:Te,77:Ce,79:De,80:rt},{35:87,75:81,76:Te,77:Ce,79:De,80:rt},{35:88,75:81,76:Te,77:Ce,79:De,80:rt},{35:89,75:81,76:Te,77:Ce,79:De,80:rt},{35:90,75:81,76:Te,77:Ce,79:De,80:rt},{35:91,75:81,76:Te,77:Ce,79:De,80:rt},{35:92,75:81,76:Te,77:Ce,79:De,80:rt},{35:93,75:81,76:Te,77:Ce,79:De,80:rt},{35:94,75:81,76:Te,77:Ce,79:De,80:rt},{35:95,75:81,76:Te,77:Ce,79:De,80:rt},{35:96,75:81,76:Te,77:Ce,79:De,80:rt},{35:97,75:81,76:Te,77:Ce,79:De,80:rt},{35:98,75:81,76:Te,77:Ce,79:De,80:rt},{35:99,75:81,76:Te,77:Ce,79:De,80:rt},{35:100,75:81,76:Te,77:Ce,79:De,80:rt},{35:101,75:81,76:Te,77:Ce,79:De,80:rt},{35:102,75:81,76:Te,77:Ce,79:De,80:rt},{35:103,75:81,76:Te,77:Ce,79:De,80:rt},{35:104,75:81,76:Te,77:Ce,79:De,80:rt},n(Fe,[2,59]),{35:105,75:81,76:Te,77:Ce,79:De,80:rt},{35:106,75:81,76:Te,77:Ce,79:De,80:rt},{35:107,75:81,76:Te,77:Ce,79:De,80:rt},{35:108,75:81,76:Te,77:Ce,79:De,80:rt},{35:109,75:81,76:Te,77:Ce,79:De,80:rt},{35:110,75:81,76:Te,77:Ce,79:De,80:rt},{35:111,75:81,76:Te,77:Ce,79:De,80:rt},{35:112,75:81,76:Te,77:Ce,79:De,80:rt},{35:113,75:81,76:Te,77:Ce,79:De,80:rt},{35:114,75:81,76:Te,77:Ce,79:De,80:rt},{35:115,75:81,76:Te,77:Ce,79:De,80:rt},{20:116,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:N,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:ce,64:ie,65:ae,66:le,67:Z,68:ge,69:Se,70:de,71:qe,72:Ne,73:Oe,74:Ue},{12:[1,118],33:[1,117]},{35:119,75:81,76:Te,77:Ce,79:De,80:rt},{35:120,75:81,76:Te,77:Ce,79:De,80:rt},{35:121,75:81,76:Te,77:Ce,79:De,80:rt},{35:122,75:81,76:Te,77:Ce,79:De,80:rt},{35:123,75:81,76:Te,77:Ce,79:De,80:rt},{35:124,75:81,76:Te,77:Ce,79:De,80:rt},{35:125,75:81,76:Te,77:Ce,79:De,80:rt},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},n(tt,[2,15]),n(Me,[2,17],{21:22,19:130,22:r,23:a,24:o,26:u,28:d}),n(tt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:r,23:a,24:o,26:u,28:d,34:h,36:b,37:v,38:y,39:E,40:T,41:C,44:k,45:A,46:N,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:ce,64:ie,65:ae,66:le,67:Z,68:ge,69:Se,70:de,71:qe,72:Ne,73:Oe,74:Ue}),n(Ae,[2,21]),n(Ae,[2,22]),n(Fe,[2,39]),n(Tn,[2,71],{75:81,35:132,76:Te,77:Ce,79:De,80:rt}),n(at,[2,73]),{78:[1,133]},n(at,[2,75]),n(at,[2,76]),n(Fe,[2,40]),n(Fe,[2,41]),n(Fe,[2,42]),n(Fe,[2,43]),n(Fe,[2,44]),n(Fe,[2,45]),n(Fe,[2,46]),n(Fe,[2,47]),n(Fe,[2,48]),n(Fe,[2,49]),n(Fe,[2,50]),n(Fe,[2,51]),n(Fe,[2,52]),n(Fe,[2,53]),n(Fe,[2,54]),n(Fe,[2,55]),n(Fe,[2,56]),n(Fe,[2,57]),n(Fe,[2,58]),n(Fe,[2,60]),n(Fe,[2,61]),n(Fe,[2,62]),n(Fe,[2,63]),n(Fe,[2,64]),n(Fe,[2,65]),n(Fe,[2,66]),n(Fe,[2,67]),n(Fe,[2,68]),n(Fe,[2,69]),n(Fe,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},n(ln,[2,28]),n(ln,[2,29]),n(ln,[2,30]),n(ln,[2,31]),n(ln,[2,32]),n(ln,[2,33]),n(ln,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},n(Me,[2,18]),n(tt,[2,38]),n(Tn,[2,72]),n(at,[2,74]),n(Fe,[2,24]),n(Fe,[2,35]),n(mn,[2,25]),n(mn,[2,26],{12:[1,138]}),n(mn,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:function(At,Kt){if(Kt.recoverable)this.trace(At);else{var qt=new Error(At);throw qt.hash=Kt,qt}},parse:function(At){var Kt=this,qt=[0],st=[],We=[null],bt=[],wt=this.table,Ct="",hn=0,je=0,Gt=2,Wt=1,un=bt.slice.call(arguments,1),nn=Object.create(this.lexer),yr={yy:{}};for(var Ln in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ln)&&(yr.yy[Ln]=this.yy[Ln]);nn.setInput(At,yr.yy),yr.yy.lexer=nn,yr.yy.parser=this,typeof nn.yylloc>"u"&&(nn.yylloc={});var li=nn.yylloc;bt.push(li);var ai=nn.options&&nn.options.ranges;typeof yr.yy.parseError=="function"?this.parseError=yr.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Hr(){var na;return na=st.pop()||nn.lex()||Wt,typeof na!="number"&&(na instanceof Array&&(st=na,na=st.pop()),na=Kt.symbols_[na]||na),na}for(var ii,ft,Mt,gn,On={},wi,di,Xn,Hn;;){if(ft=qt[qt.length-1],this.defaultActions[ft]?Mt=this.defaultActions[ft]:((ii===null||typeof ii>"u")&&(ii=Hr()),Mt=wt[ft]&&wt[ft][ii]),typeof Mt>"u"||!Mt.length||!Mt[0]){var er="";Hn=[];for(wi in wt[ft])this.terminals_[wi]&&wi>Gt&&Hn.push("'"+this.terminals_[wi]+"'");nn.showPosition?er="Parse error on line "+(hn+1)+`:
|
|
1240
|
+
> 提示:将此文件使用 Markdown 渲染器打开,观察各部分是否按预期显示。`;Zb.initialize({startOnLoad:!1,theme:"default",securityLevel:"loose",logLevel:3,deterministicIds:!0,flowchart:{useMaxWidth:!0,htmlLabels:!0}});function C0n(n){try{navigator.clipboard.writeText(n)}catch(r){console.error("[Markdown] 复制失败:",r)}}function _Ue(n){var r=cs.useRef(null),a=cs.useState(!1),o=a[0],u=a[1],d=cs.useRef(""),h=cs.useMemo(function(){return"mermaid-".concat(Date.now(),"-").concat(Math.random().toString(36).substr(2,9))},[]);cs.useEffect(function(){if(!(!n.code||!r.current)&&n.code!==d.current){d.current=n.code;try{u(!1),r.current.innerHTML="",Zb.render(h,n.code.trim()).then(function(v){var y=v.svg;r.current&&(r.current.innerHTML=y)}).catch(function(v){u(!0),console.error("[Markdown] Mermaid 渲染失败:",v.message)})}catch(v){u(!0),console.error("[Markdown] Mermaid 渲染失败:",v.message)}}},[n.code,h]);function b(){var v,y=(v=r.current)===null||v===void 0?void 0:v.querySelector("svg")}return cs.createElement("div",{className:gue("no-dark"),style:{cursor:"pointer",overflow:"auto",minHeight:"50px",backgroundColor:o?"#fee":"#f8f8f8",padding:"10px",border:o?"1px solid #fcc":"none",borderRadius:o?"4px":"0"},ref:r,onClick:function(){return b()}},o?cs.createElement("div",{style:{textAlign:"center",padding:"10px",color:"#c33",fontSize:"14px"}},"Mermaid 图表渲染失败,请检查代码语法"):null)}function CUe(n){var r=cs.useRef(null),a=cs.useState(""),o=a[0],u=a[1],d=cs.useState(null),h=d[0],b=d[1];return cs.useEffect(function(){if(r.current){var v=r.current.querySelector("code");if(v){var y=v.className.match(/language-(\w+)/),E=y?y[1]:"text";u(E);var T=["","md","markdown","text","txt","plaintext","tex","latex"];if(T.includes(E)&&(v.style.whiteSpace="pre-wrap"),E==="mermaid"){var C=v.innerText.trim();b(function(k){return k===C?k:C})}}}},[n.children]),cs.createElement(cs.Fragment,null,cs.createElement("div",{style:{position:"relative"}},cs.createElement("pre",{ref:r},o&&cs.createElement("div",{style:{padding:"10px",backgroundColor:"#3f3f3f",fontSize:"12px",color:"#fff",zIndex:1}},o),cs.createElement("span",{className:"copy-code-button",onClick:function(){var v;r.current&&C0n(((v=r.current.querySelector("code"))===null||v===void 0?void 0:v.innerText)||r.current.innerText||"")}}),n.children)),h&&cs.createElement(_Ue,{code:h}))}function S0n(n){var r=!0,a=cs.useRef(null),o=cs.useState(!0),u=o[0],d=o[1],h=cs.useState(!1),b=h[0],v=h[1];cs.useEffect(function(){if(a.current){var T=a.current.scrollHeight;v(T>400),a.current.scrollTop=a.current.scrollHeight}},[n.children]);var y=function(){d(function(T){return!T})},E=function(){return b&&r&&u?cs.createElement("div",{className:gue("show-hide-button",{collapsed:u,expanded:!u})},cs.createElement("button",{type:"button",onClick:y},"查看全部")):null};return cs.createElement(cs.Fragment,null,cs.createElement("code",{className:gue(n?.className),ref:a,style:{maxHeight:u?"400px":"none",overflowY:"hidden",width:"100%"}},n.children),E())}function A0n(n){var r=/(```[\s\S]*?```|`.*?`)|\\\[([\s\S]*?[^\\])\\\]|\\\((.*?)\\\)/g;n=n.replace(r,function(b,v,y,E){return v||(y?"$$".concat(y,"$$"):E?"$".concat(E,"$"):b)});var a=[],o=/```[\s\S]*?```|`[^`]+`|\$\$[\s\S]*?\$\$|\$[^$\n]+?\$|\\\[[\s\S]*?\\\]|\\begin\{[^}]+\}[\s\S]*?\\end\{[^}]+\}/g;n=n.replace(o,function(b){var v="__PROTECTED_".concat(a.length,"__");return a.push(b),v});var u=/\\boxed\{((?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*)\}/g;n=n.replace(u,"$$\\boxed{$1}$$");var d=/\\mathbb\{([^}]*)\}|\\mathcal\{([^}]*)\}|\\mathbf\{([^}]*)\}|\\mathit\{([^}]*)\}|\\mathrm\{([^}]*)\}|\\frac\{([^}]*)\}\{([^}]*)\}|\\sqrt\[([^}]*)\]\{([^}]*)\}|\\sqrt\{([^}]*)\}|\\sum_\{([^}]*)\}\^\{([^}]*)\}|\\prod_\{([^}]*)\}\^\{([^}]*)\}|\\int_\{([^}]*)\}\^\{([^}]*)\}|\\lim_\{([^}]*)\}|\\\(([\s\S]*?[^\\])\\\)/g;n=n.replace(d,function(b,v,y,E,T,C,k,A,N,I,R,P,$,G,U,q,H,W,z){return v?"$\\mathbb{".concat(v,"}$"):y?"$\\mathcal{".concat(y,"}$"):E?"$\\mathbf{".concat(E,"}$"):T?"$\\mathit{".concat(T,"}$"):C?"$\\mathrm{".concat(C,"}$"):k&&A?"$\\frac{".concat(k,"}{").concat(A,"}$"):N&&I?"$\\sqrt[".concat(N,"]{").concat(I,"}$"):R?"$\\sqrt{".concat(R,"}$"):P&&$?"$\\sum_{".concat(P,"}^{").concat($,"}$"):G&&U?"$\\prod_{".concat(G,"}^{").concat(U,"}$"):q&&H?"$\\int_{".concat(q,"}^{").concat(H,"}$"):W?"$\\lim_{".concat(W,"}$"):z?"$".concat(z,"$"):b});var h=/(\$)([^$\n]+?)(?=\s|$|\.|,|;|:|\?|!|\)|\]|\})/g;return n=n.replace(h,"$$$2$"),n=n.replace(/__PROTECTED_(\d+)__/g,function(b,v){return a[v]}),n}function M0n(n){var r=cs.useMemo(function(){return A0n(n.content)},[n.content]);return cs.createElement(Q$e,{remarkPlugins:[k0n,d0n,Ohn],rehypePlugins:[Chn,I1n,[xln,{detect:!1,ignoreMissing:!0}]],components:{pre:CUe,code:S0n,p:function(a){return cs.createElement("p",bK({},a,{dir:"auto"}))},a:function(a){var o,u=a.href||"";if(/\.(aac|mp3|opus|wav)$/.test(u))return cs.createElement("figure",null,cs.createElement("audio",{controls:!0,src:u}));if(/\.(3gp|3g2|webm|ogv|mpeg|mp4|avi)$/.test(u))return cs.createElement("video",{controls:!0,width:"99.9%"},cs.createElement("source",{src:u}));var d=/^\/#/i.test(u),h=d?"_self":(o=a.target)!==null&&o!==void 0?o:"_blank";return cs.createElement("a",bK({},a,{target:h}))}}},r)}var SUe=cs.memo(M0n);function u0e(n){var r,a=cs.useRef(null);return cs.createElement("div",{dir:"auto",className:"markdown-body",style:{fontSize:"".concat((r=n.fontSize)!==null&&r!==void 0?r:16,"px"),fontFamily:n.fontFamily||"inherit"},onContextMenu:n.onContextMenu,onDoubleClickCapture:n.onDoubleClickCapture,ref:a},cs.createElement(SUe,{content:n.content}))}var N0n=function(n){return cs.createElement(u0e,{content:n.content||_0n})};const RW=(n,r)=>{const a=n.append("rect");if(a.attr("x",r.x),a.attr("y",r.y),a.attr("fill",r.fill),a.attr("stroke",r.stroke),a.attr("width",r.width),a.attr("height",r.height),r.name&&a.attr("name",r.name),r.rx!==void 0&&a.attr("rx",r.rx),r.ry!==void 0&&a.attr("ry",r.ry),r.attrs!==void 0)for(const o in r.attrs)a.attr(o,r.attrs[o]);return r.class!==void 0&&a.attr("class",r.class),a},AUe=(n,r)=>{const a={x:r.startx,y:r.starty,width:r.stopx-r.startx,height:r.stopy-r.starty,fill:r.fill,stroke:r.stroke,class:"rect"};RW(n,a).lower()},L0n=(n,r)=>{const a=r.text.replace(DM," "),o=n.append("text");o.attr("x",r.x),o.attr("y",r.y),o.attr("class","legend"),o.style("text-anchor",r.anchor),r.class!==void 0&&o.attr("class",r.class);const u=o.append("tspan");return u.attr("x",r.x+r.textMargin*2),u.text(a),o},O0n=(n,r,a,o)=>{const u=n.append("image");u.attr("x",r),u.attr("y",a);const d=KT.sanitizeUrl(o);u.attr("xlink:href",d)},I0n=(n,r,a,o)=>{const u=n.append("use");u.attr("x",r),u.attr("y",a);const d=KT.sanitizeUrl(o);u.attr("xlink:href",`#${d}`)},Sk=()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),h0e=()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0});var PW=(function(){var n=function(sn,At,Kt,qt){for(Kt=Kt||{},qt=sn.length;qt--;Kt[sn[qt]]=At);return Kt},r=[1,24],a=[1,25],o=[1,26],u=[1,27],d=[1,28],h=[1,63],b=[1,64],v=[1,65],y=[1,66],E=[1,67],T=[1,68],C=[1,69],k=[1,29],A=[1,30],N=[1,31],I=[1,32],R=[1,33],P=[1,34],$=[1,35],G=[1,36],U=[1,37],q=[1,38],H=[1,39],W=[1,40],z=[1,41],V=[1,42],F=[1,43],Q=[1,44],B=[1,45],te=[1,46],se=[1,47],ce=[1,48],ie=[1,50],ae=[1,51],le=[1,52],Z=[1,53],ge=[1,54],Se=[1,55],de=[1,56],qe=[1,57],Ne=[1,58],Oe=[1,59],Ue=[1,60],tt=[14,42],Me=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ae=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Te=[1,82],Ce=[1,83],De=[1,84],rt=[1,85],Fe=[12,14,42],Tn=[12,14,33,42],at=[12,14,33,42,76,77,79,80],ln=[12,33],mn=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Rn={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:function(At,Kt,qt,st,We,bt,wt){var Ct=bt.length-1;switch(We){case 3:st.setDirection("TB");break;case 4:st.setDirection("BT");break;case 5:st.setDirection("RL");break;case 6:st.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:st.setC4Type(bt[Ct-3]);break;case 19:st.setTitle(bt[Ct].substring(6)),this.$=bt[Ct].substring(6);break;case 20:st.setAccDescription(bt[Ct].substring(15)),this.$=bt[Ct].substring(15);break;case 21:this.$=bt[Ct].trim(),st.setTitle(this.$);break;case 22:case 23:this.$=bt[Ct].trim(),st.setAccDescription(this.$);break;case 28:case 29:bt[Ct].splice(2,0,"ENTERPRISE"),st.addPersonOrSystemBoundary(...bt[Ct]),this.$=bt[Ct];break;case 30:st.addPersonOrSystemBoundary(...bt[Ct]),this.$=bt[Ct];break;case 31:bt[Ct].splice(2,0,"CONTAINER"),st.addContainerBoundary(...bt[Ct]),this.$=bt[Ct];break;case 32:st.addDeploymentNode("node",...bt[Ct]),this.$=bt[Ct];break;case 33:st.addDeploymentNode("nodeL",...bt[Ct]),this.$=bt[Ct];break;case 34:st.addDeploymentNode("nodeR",...bt[Ct]),this.$=bt[Ct];break;case 35:st.popBoundaryParseStack();break;case 39:st.addPersonOrSystem("person",...bt[Ct]),this.$=bt[Ct];break;case 40:st.addPersonOrSystem("external_person",...bt[Ct]),this.$=bt[Ct];break;case 41:st.addPersonOrSystem("system",...bt[Ct]),this.$=bt[Ct];break;case 42:st.addPersonOrSystem("system_db",...bt[Ct]),this.$=bt[Ct];break;case 43:st.addPersonOrSystem("system_queue",...bt[Ct]),this.$=bt[Ct];break;case 44:st.addPersonOrSystem("external_system",...bt[Ct]),this.$=bt[Ct];break;case 45:st.addPersonOrSystem("external_system_db",...bt[Ct]),this.$=bt[Ct];break;case 46:st.addPersonOrSystem("external_system_queue",...bt[Ct]),this.$=bt[Ct];break;case 47:st.addContainer("container",...bt[Ct]),this.$=bt[Ct];break;case 48:st.addContainer("container_db",...bt[Ct]),this.$=bt[Ct];break;case 49:st.addContainer("container_queue",...bt[Ct]),this.$=bt[Ct];break;case 50:st.addContainer("external_container",...bt[Ct]),this.$=bt[Ct];break;case 51:st.addContainer("external_container_db",...bt[Ct]),this.$=bt[Ct];break;case 52:st.addContainer("external_container_queue",...bt[Ct]),this.$=bt[Ct];break;case 53:st.addComponent("component",...bt[Ct]),this.$=bt[Ct];break;case 54:st.addComponent("component_db",...bt[Ct]),this.$=bt[Ct];break;case 55:st.addComponent("component_queue",...bt[Ct]),this.$=bt[Ct];break;case 56:st.addComponent("external_component",...bt[Ct]),this.$=bt[Ct];break;case 57:st.addComponent("external_component_db",...bt[Ct]),this.$=bt[Ct];break;case 58:st.addComponent("external_component_queue",...bt[Ct]),this.$=bt[Ct];break;case 60:st.addRel("rel",...bt[Ct]),this.$=bt[Ct];break;case 61:st.addRel("birel",...bt[Ct]),this.$=bt[Ct];break;case 62:st.addRel("rel_u",...bt[Ct]),this.$=bt[Ct];break;case 63:st.addRel("rel_d",...bt[Ct]),this.$=bt[Ct];break;case 64:st.addRel("rel_l",...bt[Ct]),this.$=bt[Ct];break;case 65:st.addRel("rel_r",...bt[Ct]),this.$=bt[Ct];break;case 66:st.addRel("rel_b",...bt[Ct]),this.$=bt[Ct];break;case 67:bt[Ct].splice(0,1),st.addRel("rel",...bt[Ct]),this.$=bt[Ct];break;case 68:st.updateElStyle("update_el_style",...bt[Ct]),this.$=bt[Ct];break;case 69:st.updateRelStyle("update_rel_style",...bt[Ct]),this.$=bt[Ct];break;case 70:st.updateLayoutConfig("update_layout_config",...bt[Ct]),this.$=bt[Ct];break;case 71:this.$=[bt[Ct]];break;case 72:bt[Ct].unshift(bt[Ct-1]),this.$=bt[Ct];break;case 73:case 75:this.$=bt[Ct].trim();break;case 74:let hn={};hn[bt[Ct-1].trim()]=bt[Ct].trim(),this.$=hn;break;case 76:this.$="";break}},table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:r,23:a,24:o,26:u,28:d,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:N,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:ce,64:ie,65:ae,66:le,67:Z,68:ge,69:Se,70:de,71:qe,72:Ne,73:Oe,74:Ue},{13:70,19:20,20:21,21:22,22:r,23:a,24:o,26:u,28:d,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:N,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:ce,64:ie,65:ae,66:le,67:Z,68:ge,69:Se,70:de,71:qe,72:Ne,73:Oe,74:Ue},{13:71,19:20,20:21,21:22,22:r,23:a,24:o,26:u,28:d,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:N,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:ce,64:ie,65:ae,66:le,67:Z,68:ge,69:Se,70:de,71:qe,72:Ne,73:Oe,74:Ue},{13:72,19:20,20:21,21:22,22:r,23:a,24:o,26:u,28:d,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:N,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:ce,64:ie,65:ae,66:le,67:Z,68:ge,69:Se,70:de,71:qe,72:Ne,73:Oe,74:Ue},{13:73,19:20,20:21,21:22,22:r,23:a,24:o,26:u,28:d,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:N,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:ce,64:ie,65:ae,66:le,67:Z,68:ge,69:Se,70:de,71:qe,72:Ne,73:Oe,74:Ue},{14:[1,74]},n(tt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:h,36:b,37:v,38:y,39:E,40:T,41:C,44:k,45:A,46:N,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:ce,64:ie,65:ae,66:le,67:Z,68:ge,69:Se,70:de,71:qe,72:Ne,73:Oe,74:Ue}),n(tt,[2,14]),n(Me,[2,16],{12:[1,76]}),n(tt,[2,36],{12:[1,77]}),n(Ae,[2,19]),n(Ae,[2,20]),{25:[1,78]},{27:[1,79]},n(Ae,[2,23]),{35:80,75:81,76:Te,77:Ce,79:De,80:rt},{35:86,75:81,76:Te,77:Ce,79:De,80:rt},{35:87,75:81,76:Te,77:Ce,79:De,80:rt},{35:88,75:81,76:Te,77:Ce,79:De,80:rt},{35:89,75:81,76:Te,77:Ce,79:De,80:rt},{35:90,75:81,76:Te,77:Ce,79:De,80:rt},{35:91,75:81,76:Te,77:Ce,79:De,80:rt},{35:92,75:81,76:Te,77:Ce,79:De,80:rt},{35:93,75:81,76:Te,77:Ce,79:De,80:rt},{35:94,75:81,76:Te,77:Ce,79:De,80:rt},{35:95,75:81,76:Te,77:Ce,79:De,80:rt},{35:96,75:81,76:Te,77:Ce,79:De,80:rt},{35:97,75:81,76:Te,77:Ce,79:De,80:rt},{35:98,75:81,76:Te,77:Ce,79:De,80:rt},{35:99,75:81,76:Te,77:Ce,79:De,80:rt},{35:100,75:81,76:Te,77:Ce,79:De,80:rt},{35:101,75:81,76:Te,77:Ce,79:De,80:rt},{35:102,75:81,76:Te,77:Ce,79:De,80:rt},{35:103,75:81,76:Te,77:Ce,79:De,80:rt},{35:104,75:81,76:Te,77:Ce,79:De,80:rt},n(Fe,[2,59]),{35:105,75:81,76:Te,77:Ce,79:De,80:rt},{35:106,75:81,76:Te,77:Ce,79:De,80:rt},{35:107,75:81,76:Te,77:Ce,79:De,80:rt},{35:108,75:81,76:Te,77:Ce,79:De,80:rt},{35:109,75:81,76:Te,77:Ce,79:De,80:rt},{35:110,75:81,76:Te,77:Ce,79:De,80:rt},{35:111,75:81,76:Te,77:Ce,79:De,80:rt},{35:112,75:81,76:Te,77:Ce,79:De,80:rt},{35:113,75:81,76:Te,77:Ce,79:De,80:rt},{35:114,75:81,76:Te,77:Ce,79:De,80:rt},{35:115,75:81,76:Te,77:Ce,79:De,80:rt},{20:116,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:N,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:ce,64:ie,65:ae,66:le,67:Z,68:ge,69:Se,70:de,71:qe,72:Ne,73:Oe,74:Ue},{12:[1,118],33:[1,117]},{35:119,75:81,76:Te,77:Ce,79:De,80:rt},{35:120,75:81,76:Te,77:Ce,79:De,80:rt},{35:121,75:81,76:Te,77:Ce,79:De,80:rt},{35:122,75:81,76:Te,77:Ce,79:De,80:rt},{35:123,75:81,76:Te,77:Ce,79:De,80:rt},{35:124,75:81,76:Te,77:Ce,79:De,80:rt},{35:125,75:81,76:Te,77:Ce,79:De,80:rt},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},n(tt,[2,15]),n(Me,[2,17],{21:22,19:130,22:r,23:a,24:o,26:u,28:d}),n(tt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:r,23:a,24:o,26:u,28:d,34:h,36:b,37:v,38:y,39:E,40:T,41:C,44:k,45:A,46:N,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:ce,64:ie,65:ae,66:le,67:Z,68:ge,69:Se,70:de,71:qe,72:Ne,73:Oe,74:Ue}),n(Ae,[2,21]),n(Ae,[2,22]),n(Fe,[2,39]),n(Tn,[2,71],{75:81,35:132,76:Te,77:Ce,79:De,80:rt}),n(at,[2,73]),{78:[1,133]},n(at,[2,75]),n(at,[2,76]),n(Fe,[2,40]),n(Fe,[2,41]),n(Fe,[2,42]),n(Fe,[2,43]),n(Fe,[2,44]),n(Fe,[2,45]),n(Fe,[2,46]),n(Fe,[2,47]),n(Fe,[2,48]),n(Fe,[2,49]),n(Fe,[2,50]),n(Fe,[2,51]),n(Fe,[2,52]),n(Fe,[2,53]),n(Fe,[2,54]),n(Fe,[2,55]),n(Fe,[2,56]),n(Fe,[2,57]),n(Fe,[2,58]),n(Fe,[2,60]),n(Fe,[2,61]),n(Fe,[2,62]),n(Fe,[2,63]),n(Fe,[2,64]),n(Fe,[2,65]),n(Fe,[2,66]),n(Fe,[2,67]),n(Fe,[2,68]),n(Fe,[2,69]),n(Fe,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},n(ln,[2,28]),n(ln,[2,29]),n(ln,[2,30]),n(ln,[2,31]),n(ln,[2,32]),n(ln,[2,33]),n(ln,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},n(Me,[2,18]),n(tt,[2,38]),n(Tn,[2,72]),n(at,[2,74]),n(Fe,[2,24]),n(Fe,[2,35]),n(mn,[2,25]),n(mn,[2,26],{12:[1,138]}),n(mn,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:function(At,Kt){if(Kt.recoverable)this.trace(At);else{var qt=new Error(At);throw qt.hash=Kt,qt}},parse:function(At){var Kt=this,qt=[0],st=[],We=[null],bt=[],wt=this.table,Ct="",hn=0,je=0,Gt=2,Wt=1,un=bt.slice.call(arguments,1),nn=Object.create(this.lexer),yr={yy:{}};for(var Ln in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ln)&&(yr.yy[Ln]=this.yy[Ln]);nn.setInput(At,yr.yy),yr.yy.lexer=nn,yr.yy.parser=this,typeof nn.yylloc>"u"&&(nn.yylloc={});var li=nn.yylloc;bt.push(li);var ai=nn.options&&nn.options.ranges;typeof yr.yy.parseError=="function"?this.parseError=yr.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Hr(){var na;return na=st.pop()||nn.lex()||Wt,typeof na!="number"&&(na instanceof Array&&(st=na,na=st.pop()),na=Kt.symbols_[na]||na),na}for(var ii,ft,Mt,gn,On={},wi,di,Xn,Hn;;){if(ft=qt[qt.length-1],this.defaultActions[ft]?Mt=this.defaultActions[ft]:((ii===null||typeof ii>"u")&&(ii=Hr()),Mt=wt[ft]&&wt[ft][ii]),typeof Mt>"u"||!Mt.length||!Mt[0]){var er="";Hn=[];for(wi in wt[ft])this.terminals_[wi]&&wi>Gt&&Hn.push("'"+this.terminals_[wi]+"'");nn.showPosition?er="Parse error on line "+(hn+1)+`:
|
|
1241
1241
|
`+nn.showPosition()+`
|
|
1242
1242
|
Expecting `+Hn.join(", ")+", got '"+(this.terminals_[ii]||ii)+"'":er="Parse error on line "+(hn+1)+": Unexpected "+(ii==Wt?"end of input":"'"+(this.terminals_[ii]||ii)+"'"),this.parseError(er,{text:nn.match,token:this.terminals_[ii]||ii,line:nn.yylineno,loc:li,expected:Hn})}if(Mt[0]instanceof Array&&Mt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ft+", token: "+ii);switch(Mt[0]){case 1:qt.push(ii),We.push(nn.yytext),bt.push(nn.yylloc),qt.push(Mt[1]),ii=null,je=nn.yyleng,Ct=nn.yytext,hn=nn.yylineno,li=nn.yylloc;break;case 2:if(di=this.productions_[Mt[1]][1],On.$=We[We.length-di],On._$={first_line:bt[bt.length-(di||1)].first_line,last_line:bt[bt.length-1].last_line,first_column:bt[bt.length-(di||1)].first_column,last_column:bt[bt.length-1].last_column},ai&&(On._$.range=[bt[bt.length-(di||1)].range[0],bt[bt.length-1].range[1]]),gn=this.performAction.apply(On,[Ct,je,hn,yr.yy,Mt[1],We,bt].concat(un)),typeof gn<"u")return gn;di&&(qt=qt.slice(0,-1*di*2),We=We.slice(0,-1*di),bt=bt.slice(0,-1*di)),qt.push(this.productions_[Mt[1]][0]),We.push(On.$),bt.push(On._$),Xn=wt[qt[qt.length-2]][qt[qt.length-1]],qt.push(Xn);break;case 3:return!0}}return!0}},rr=(function(){var sn={EOF:1,parseError:function(Kt,qt){if(this.yy.parser)this.yy.parser.parseError(Kt,qt);else throw new Error(Kt)},setInput:function(At,Kt){return this.yy=Kt||this.yy||{},this._input=At,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var At=this._input[0];this.yytext+=At,this.yyleng++,this.offset++,this.match+=At,this.matched+=At;var Kt=At.match(/(?:\r\n?|\n).*/g);return Kt?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),At},unput:function(At){var Kt=At.length,qt=At.split(/(?:\r\n?|\n)/g);this._input=At+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Kt),this.offset-=Kt;var st=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),qt.length-1&&(this.yylineno-=qt.length-1);var We=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:qt?(qt.length===st.length?this.yylloc.first_column:0)+st[st.length-qt.length].length-qt[0].length:this.yylloc.first_column-Kt},this.options.ranges&&(this.yylloc.range=[We[0],We[0]+this.yyleng-Kt]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
1243
1243
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(At){this.unput(this.match.slice(At))},pastInput:function(){var At=this.matched.substr(0,this.matched.length-this.match.length);return(At.length>20?"...":"")+At.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var At=this.match;return At.length<20&&(At+=this._input.substr(0,20-At.length)),(At.substr(0,20)+(At.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var At=this.pastInput(),Kt=new Array(At.length+1).join("-");return At+this.upcomingInput()+`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as yt, s as ft, b as dt, c as pt, C as gt, D as mt, g as C, d as H, e as xt, E as kt } from "./index-
|
|
2
|
-
import { a as _t, g as it, f as bt, d as vt } from "./svgDrawCommon-b86b1483-
|
|
3
|
-
import { a as Q } from "./arc-
|
|
1
|
+
import { a as yt, s as ft, b as dt, c as pt, C as gt, D as mt, g as C, d as H, e as xt, E as kt } from "./index-DMbKvIFW.mjs";
|
|
2
|
+
import { a as _t, g as it, f as bt, d as vt } from "./svgDrawCommon-b86b1483-9Un5LUnq.mjs";
|
|
3
|
+
import { a as Q } from "./arc-BDq_UErm.mjs";
|
|
4
4
|
var X = (function() {
|
|
5
5
|
var t = function(p, s, r, a) {
|
|
6
6
|
for (r = r || {}, a = p.length; a--; r[p[a]] = s)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as S, b as be, c as qe, d as O, k as We, e as ze, f as Xe, g as T, h as me, j as ge, l as He, m as ye, t as Ue, n as xe, o as Je, p as Ke, G as g, q as s, i as m, r as I, v as E, s as G } from "./graph-
|
|
2
|
-
import { a7 as F, a8 as Ze, a9 as Qe, aa as Ee, ab as A, ac as ke, ad as en, ae as Oe, af as U, ag as nn, ah as rn, ai as J, aj as tn, ak as Ne, al as an, am as on, an as X } from "./index-
|
|
1
|
+
import { a as S, b as be, c as qe, d as O, k as We, e as ze, f as Xe, g as T, h as me, j as ge, l as He, m as ye, t as Ue, n as xe, o as Je, p as Ke, G as g, q as s, i as m, r as I, v as E, s as G } from "./graph-4HSTUhTa.mjs";
|
|
2
|
+
import { a7 as F, a8 as Ze, a9 as Qe, aa as Ee, ab as A, ac as ke, ad as en, ae as Oe, af as U, ag as nn, ah as rn, ai as J, aj as tn, ak as Ne, al as an, am as on, an as X } from "./index-DMbKvIFW.mjs";
|
|
3
3
|
var un = /\s/;
|
|
4
4
|
function dn(e) {
|
|
5
5
|
for (var n = e.length; n-- && un.test(e.charAt(n)); )
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as un, $ as I, a0 as U, a1 as fn, a2 as Y } from "./index-
|
|
1
|
+
import { _ as un, $ as I, a0 as U, a1 as fn, a2 as Y } from "./index-DMbKvIFW.mjs";
|
|
2
2
|
import { i as cn } from "./init-DjUOC4st.mjs";
|
|
3
3
|
function F(n, t) {
|
|
4
4
|
return n == null || t == null ? NaN : n < t ? -1 : n > t ? 1 : n >= t ? 0 : NaN;
|
package/dist/{mindmap-definition-8da855dc-CTdmDCDH.mjs → mindmap-definition-8da855dc-DiV2EEVh.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as yv, l as Nr, ar as mv, as as bv, at as wv, g as ao, T as Ev, o as xv, X as Cn, i as Dn, d as Tv, W as Cv } from "./index-
|
|
2
|
-
import { a as Dv } from "./createText-1719965b-
|
|
1
|
+
import { P as yv, l as Nr, ar as mv, as as bv, at as wv, g as ao, T as Ev, o as xv, X as Cn, i as Dn, d as Tv, W as Cv } from "./index-DMbKvIFW.mjs";
|
|
2
|
+
import { a as Dv } from "./createText-1719965b-BCSzEdi6.mjs";
|
|
3
3
|
function Bs(t, e) {
|
|
4
4
|
(e == null || e > t.length) && (e = t.length);
|
|
5
5
|
for (var r = 0, a = Array(e); r < e; r++) a[r] = t[r];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as H, a as rt, s as at, b as lt, c as ot, C as ct, D as ht, l as et, g as it, V as ut, T as yt, W as ft, e as pt, i as gt, E as dt, X as mt } from "./index-
|
|
2
|
-
import { a as tt } from "./arc-
|
|
1
|
+
import { U as H, a as rt, s as at, b as lt, c as ot, C as ct, D as ht, l as et, g as it, V as ut, T as yt, W as ft, e as pt, i as gt, E as dt, X as mt } from "./index-DMbKvIFW.mjs";
|
|
2
|
+
import { a as tt } from "./arc-BDq_UErm.mjs";
|
|
3
3
|
import { o as _t } from "./ordinal-C0oynhte.mjs";
|
|
4
4
|
import { a as xt } from "./array-CqVTtuYm.mjs";
|
|
5
5
|
import { c as F } from "./path-DLwuMfdd.mjs";
|
package/dist/{quadrantDiagram-1e28029f-DDjT5NBy.mjs → quadrantDiagram-1e28029f-nOzgOPva.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as vt, a as Lt, C as bt, D as Ct, b as zt, c as Et, g as yt, l as ot, d as gt, e as Dt, E as It, X as D, Y as Bt, i as wt } from "./index-
|
|
2
|
-
import { l as mt } from "./linear-
|
|
1
|
+
import { s as vt, a as Lt, C as bt, D as Ct, b as zt, c as Et, g as yt, l as ot, d as gt, e as Dt, E as It, X as D, Y as Bt, i as wt } from "./index-DMbKvIFW.mjs";
|
|
2
|
+
import { l as mt } from "./linear-tZvsdWna.mjs";
|
|
3
3
|
var pt = (function() {
|
|
4
4
|
var e = function(K, n, r, l) {
|
|
5
5
|
for (r = r || {}, l = K.length; l--; r[K[l]] = n)
|
package/dist/{requirementDiagram-08caed73-PraMBCZ7.mjs → requirementDiagram-08caed73-DRzKZ5sJ.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as Ce, s as Fe, b as Me, c as De, g as Te, d as oe, e as Pe, E as Ye, l as Ne, k as ke } from "./index-
|
|
2
|
-
import { G as Ue } from "./graph-
|
|
3
|
-
import { l as Be } from "./layout-
|
|
4
|
-
import { l as Qe } from "./line-
|
|
1
|
+
import { a as Ce, s as Fe, b as Me, c as De, g as Te, d as oe, e as Pe, E as Ye, l as Ne, k as ke } from "./index-DMbKvIFW.mjs";
|
|
2
|
+
import { G as Ue } from "./graph-4HSTUhTa.mjs";
|
|
3
|
+
import { l as Be } from "./layout-C08K7-fX.mjs";
|
|
4
|
+
import { l as Qe } from "./line-amr281ap.mjs";
|
|
5
5
|
var ce = (function() {
|
|
6
6
|
var e = function(V, i, r, a) {
|
|
7
7
|
for (r = r || {}, a = V.length; a--; r[V[a]] = i)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as mt, C as kt, s as _t, a as xt, c as vt, b as bt, g as rt, aq as wt, d as G, o as St, E as Lt, k as Et } from "./index-
|
|
1
|
+
import { D as mt, C as kt, s as _t, a as xt, c as vt, b as bt, g as rt, aq as wt, d as G, o as St, E as Lt, k as Et } from "./index-DMbKvIFW.mjs";
|
|
2
2
|
import { o as At } from "./ordinal-C0oynhte.mjs";
|
|
3
3
|
import { s as Tt } from "./Tableau10-D7jGxypv.mjs";
|
|
4
4
|
function ot(t, n) {
|
package/dist/{sequenceDiagram-c5b8d532-D-C3VnuY.mjs → sequenceDiagram-c5b8d532-C_--pF1U.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as we, s as ve, c as $t, g as st, D as _e, C as ke, b as Pe, d as Lt, l as X, j as te, e as Le, f as Ie, k as v, i as At, E as Ae, B, a3 as nt, a4 as wt, W as ee, a5 as Ne, t as se, Z as Bt } from "./index-
|
|
2
|
-
import { a as Se, b as zt, d as Me, g as Nt, c as Re, e as Ce } from "./svgDrawCommon-b86b1483-
|
|
1
|
+
import { a as we, s as ve, c as $t, g as st, D as _e, C as ke, b as Pe, d as Lt, l as X, j as te, e as Le, f as Ie, k as v, i as At, E as Ae, B, a3 as nt, a4 as wt, W as ee, a5 as Ne, t as se, Z as Bt } from "./index-DMbKvIFW.mjs";
|
|
2
|
+
import { a as Se, b as zt, d as Me, g as Nt, c as Re, e as Ce } from "./svgDrawCommon-b86b1483-9Un5LUnq.mjs";
|
|
3
3
|
var Yt = (function() {
|
|
4
4
|
var t = function(dt, w, k, L) {
|
|
5
5
|
for (k = k || {}, L = dt.length; L--; k[dt[L]] = w)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { s as P, d as N, p as W } from "./styles-ca3715f6-
|
|
2
|
-
import { g as t, d as H, l as b, e as R, k as T, F as v, B as U } from "./index-
|
|
3
|
-
import { G as C } from "./graph-
|
|
4
|
-
import { l as F } from "./layout-
|
|
5
|
-
import { l as $ } from "./line-
|
|
1
|
+
import { s as P, d as N, p as W } from "./styles-ca3715f6-BeH-56XZ.mjs";
|
|
2
|
+
import { g as t, d as H, l as b, e as R, k as T, F as v, B as U } from "./index-DMbKvIFW.mjs";
|
|
3
|
+
import { G as C } from "./graph-4HSTUhTa.mjs";
|
|
4
|
+
import { l as F } from "./layout-C08K7-fX.mjs";
|
|
5
|
+
import { l as $ } from "./line-amr281ap.mjs";
|
|
6
6
|
const O = (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), X = (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), J = (e, i) => {
|
|
7
7
|
const o = 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 = o.node().getBBox();
|
|
8
8
|
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), o;
|
package/dist/{stateDiagram-v2-c2b004d7-JryFObIe.mjs → stateDiagram-v2-c2b004d7-Dk46LZKI.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { s as Q, d as B, p as X, D as Z, a as H, b as F, S as m, c as I } from "./styles-ca3715f6-
|
|
2
|
-
import { G as tt } from "./graph-
|
|
3
|
-
import { l as E, g, d as x, B as et, e as ot, k as w } from "./index-
|
|
4
|
-
import { r as st } from "./index-5325376f-
|
|
5
|
-
import "./layout-
|
|
1
|
+
import { s as Q, d as B, p as X, D as Z, a as H, b as F, S as m, c as I } from "./styles-ca3715f6-BeH-56XZ.mjs";
|
|
2
|
+
import { G as tt } from "./graph-4HSTUhTa.mjs";
|
|
3
|
+
import { l as E, g, d as x, B as et, e as ot, k as w } from "./index-DMbKvIFW.mjs";
|
|
4
|
+
import { r as st } from "./index-5325376f-CaGR1iTQ.mjs";
|
|
5
|
+
import "./layout-C08K7-fX.mjs";
|
|
6
6
|
const h = "rect", C = "rectWithTitle", nt = "start", ct = "end", it = "divider", rt = "roundedWithTitle", lt = "note", at = "noteGroup", p = "statediagram", dt = "state", Et = `${p}-${dt}`, U = "transition", St = "note", Tt = "note-edge", _t = `${U} ${Tt}`, pt = `${p}-${St}`, ut = "cluster", Dt = `${p}-${ut}`, bt = "cluster-alt", ft = `${p}-${bt}`, V = "parent", Y = "note", At = "state", N = "----", ht = `${N}${Y}`, M = `${N}${V}`, W = "fill:none", z = "fill: #333", q = "c", K = "text", j = "normal";
|
|
7
7
|
let y = {}, d = 0;
|
|
8
8
|
const yt = function(t) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ut, D as rt, g as F, s as at, a as lt, b as ct, c as ot, k as v, B as We, l as ht, E as At, i as pt, G as Re, d as z } from "./index-
|
|
1
|
+
import { C as ut, D as rt, g as F, s as at, a as lt, b as ct, c as ot, k as v, B as We, l as ht, E as At, i as pt, G as Re, d as z } from "./index-DMbKvIFW.mjs";
|
|
2
2
|
var Ve = (function() {
|
|
3
3
|
var e = function(x, u, a, h) {
|
|
4
4
|
for (a = a || {}, h = x.length; h--; a[x[h]] = u)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as Ut, D as zt, s as Mt, a as Ht, c as Xt, b as Kt, g as Y, k as ot, l as D, E as Wt, a6 as Jt } from "./index-
|
|
1
|
+
import { C as Ut, D as zt, s as Mt, a as Ht, c as Xt, b as Kt, g as Y, k as ot, l as D, E as Wt, a6 as Jt } from "./index-DMbKvIFW.mjs";
|
|
2
2
|
var gt = (function() {
|
|
3
3
|
var t = function(C, r, n, i) {
|
|
4
4
|
for (n = n || {}, i = C.length; i--; n[C[i]] = r)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as z, v as R, x as F, y as U, z as j, A as H, l as g, g as S, d as C, B as K, o as W, p as N, q as E, n as L, t as G, k as q, r as X } from "./index-
|
|
2
|
-
import { G as J } from "./graph-
|
|
3
|
-
import { r as Q } from "./index-5325376f-
|
|
4
|
-
import { c as Y } from "./channel-
|
|
1
|
+
import { S as z, v as R, x as F, y as U, z as j, A as H, l as g, g as S, d as C, B as K, o as W, p as N, q as E, n as L, t as G, k as q, r as X } from "./index-DMbKvIFW.mjs";
|
|
2
|
+
import { G as J } from "./graph-4HSTUhTa.mjs";
|
|
3
|
+
import { r as Q } from "./index-5325376f-CaGR1iTQ.mjs";
|
|
4
|
+
import { c as Y } from "./channel-mrMpJpdh.mjs";
|
|
5
5
|
function Z(e) {
|
|
6
6
|
return typeof e == "string" ? new z([document.querySelectorAll(e)], [document.documentElement]) : new z([F(e)], R);
|
|
7
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ao as o, j as i } from "./index-
|
|
1
|
+
import { ao as o, j as i } from "./index-DMbKvIFW.mjs";
|
|
2
2
|
const l = (s, t) => {
|
|
3
3
|
const e = s.append("rect");
|
|
4
4
|
if (e.attr("x", t.x), e.attr("y", t.y), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("width", t.width), e.attr("height", t.height), t.name && e.attr("name", t.name), t.rx !== void 0 && e.attr("rx", t.rx), t.ry !== void 0 && e.attr("ry", t.ry), t.attrs !== void 0)
|
package/dist/{timeline-definition-faaaa080-Cn9PdfeK.mjs → timeline-definition-faaaa080-BexB9fva.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ar as gt, as as ft, at as mt, g as xt, l as E, d as G, o as _t, au as bt, E as kt } from "./index-
|
|
2
|
-
import { a as D } from "./arc-
|
|
1
|
+
import { ar as gt, as as ft, at as mt, g as xt, l as E, d as G, o as _t, au as bt, E as kt } from "./index-DMbKvIFW.mjs";
|
|
2
|
+
import { a as D } from "./arc-BDq_UErm.mjs";
|
|
3
3
|
var K = (function() {
|
|
4
4
|
var n = function(f, i, r, c) {
|
|
5
5
|
for (r = r || {}, c = f.length; c--; r[f[c]] = i)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { s as zt, a as Ft, C as wt, D as Nt, b as Xt, c as Yt, l as St, T as Ht, e as $t, E as Ut, Z as ot, V as Ct, X as qt, Y as jt, i as Gt } from "./index-
|
|
2
|
-
import { c as Qt } from "./createText-1719965b-
|
|
1
|
+
import { s as zt, a as Ft, C as wt, D as Nt, b as Xt, c as Yt, l as St, T as Ht, e as $t, E as Ut, Z as ot, V as Ct, X as qt, Y as jt, i as Gt } from "./index-DMbKvIFW.mjs";
|
|
2
|
+
import { c as Qt } from "./createText-1719965b-BCSzEdi6.mjs";
|
|
3
3
|
import { i as Kt } from "./init-DjUOC4st.mjs";
|
|
4
4
|
import { o as Zt } from "./ordinal-C0oynhte.mjs";
|
|
5
|
-
import { l as ft } from "./linear-
|
|
6
|
-
import { l as pt } from "./line-
|
|
5
|
+
import { l as ft } from "./linear-tZvsdWna.mjs";
|
|
6
|
+
import { l as pt } from "./line-amr281ap.mjs";
|
|
7
7
|
function Jt(e, t, i) {
|
|
8
8
|
e = +e, t = +t, i = (n = arguments.length) < 2 ? (t = e, e = 0, 1) : n < 3 ? 1 : +i;
|
|
9
9
|
for (var s = -1, n = Math.max(0, Math.ceil((t - e) / i)) | 0, o = new Array(n); ++s < n; )
|