@prefecthq/prefab-ui 0.18.0 → 0.18.1

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.
Files changed (59) hide show
  1. package/dist/app/{_basePickBy-DOA5KUMR.js → _basePickBy-BVmN5HKo.js} +1 -1
  2. package/dist/app/{_baseUniq-DNC1lkUQ.js → _baseUniq-DLSCZPvE.js} +1 -1
  3. package/dist/app/{architectureDiagram-2XIMDMQ5-DSBvrnBp.js → architectureDiagram-2XIMDMQ5-2JqupSrT.js} +1 -1
  4. package/dist/app/{blockDiagram-WCTKOSBZ-C3lqcHEK.js → blockDiagram-WCTKOSBZ-B524maQO.js} +1 -1
  5. package/dist/app/{bundle-YCeMMkad.js → bundle-CuKB3rLB.js} +150 -0
  6. package/dist/app/{c4Diagram-IC4MRINW-XbaYr2aT.js → c4Diagram-IC4MRINW-LiBCLrwc.js} +1 -1
  7. package/dist/app/carousel-C1Mu00qO.js +1 -0
  8. package/dist/app/channel-DIEGSkkN.js +1 -0
  9. package/dist/app/{charts-C-nxm4Ua.js → charts-CAbb86jt.js} +1 -1
  10. package/dist/app/{chunk-4BX2VUAB-B3Z42k1A.js → chunk-4BX2VUAB-Dx0YoTOp.js} +1 -1
  11. package/dist/app/{chunk-55IACEB6-CJ0jXTRd.js → chunk-55IACEB6-BMKwRFGH.js} +1 -1
  12. package/dist/app/{chunk-FMBD7UC4-DLO-MqfH.js → chunk-FMBD7UC4-P9b1fgHH.js} +1 -1
  13. package/dist/app/{chunk-JSJVCQXG-Bo_y_qwW.js → chunk-JSJVCQXG-C9-xDx_f.js} +1 -1
  14. package/dist/app/{chunk-KX2RTZJC-BVwQX8D_.js → chunk-KX2RTZJC-y06NOTAw.js} +1 -1
  15. package/dist/app/{chunk-NQ4KR5QH-CIPxVbrL.js → chunk-NQ4KR5QH-u-MeLygg.js} +1 -1
  16. package/dist/app/{chunk-QZHKN3VN-N6NVbhP7.js → chunk-QZHKN3VN-8B7bIcf4.js} +1 -1
  17. package/dist/app/{chunk-WL4C6EOR-DV5P-H0e.js → chunk-WL4C6EOR-cOPqvc_c.js} +1 -1
  18. package/dist/app/classDiagram-VBA2DB6C-C_-qrCYz.js +1 -0
  19. package/dist/app/classDiagram-v2-RAHNMMFH-C_-qrCYz.js +1 -0
  20. package/dist/app/clone-BtAo9xZX.js +1 -0
  21. package/dist/app/{compound-calendar-CienSxFY.js → compound-calendar-Ci50EeZ5.js} +1 -1
  22. package/dist/app/{content-C5unCzy-.js → content-B9KneKdC.js} +1 -1
  23. package/dist/app/{cose-bilkent-S5V4N54A-DHOrc67k.js → cose-bilkent-S5V4N54A-Dc9uKygA.js} +1 -1
  24. package/dist/app/{dagre-KLK3FWXG-Bfg29i9P.js → dagre-KLK3FWXG-CuYQqi5J.js} +1 -1
  25. package/dist/app/{diagram-E7M64L7V-ZptbrJCa.js → diagram-E7M64L7V-7lLEvUXT.js} +1 -1
  26. package/dist/app/{diagram-IFDJBPK2-WLONHH3W.js → diagram-IFDJBPK2-DfivzPeV.js} +1 -1
  27. package/dist/app/{diagram-P4PSJMXO-BoeOiMK0.js → diagram-P4PSJMXO-9eL_NaeT.js} +1 -1
  28. package/dist/app/{erDiagram-INFDFZHY-BDkwxkTc.js → erDiagram-INFDFZHY-DgnBfTmZ.js} +1 -1
  29. package/dist/app/{flowDiagram-PKNHOUZH-BK4NF-J1.js → flowDiagram-PKNHOUZH-BRLGgwUn.js} +1 -1
  30. package/dist/app/{ganttDiagram-A5KZAMGK-Bqyrd7tK.js → ganttDiagram-A5KZAMGK-iYM5gdvu.js} +1 -1
  31. package/dist/app/{gitGraphDiagram-K3NZZRJ6-Bwu4r5l6.js → gitGraphDiagram-K3NZZRJ6-BH7iD4e-.js} +1 -1
  32. package/dist/app/{graph-CP9RJrNf.js → graph-z0MF59mG.js} +1 -1
  33. package/dist/app/{icons-barrel-24twA0l4.js → icons-barrel-C1Fhceou.js} +1 -1
  34. package/dist/app/{infoDiagram-LFFYTUFH-C6PLpmeb.js → infoDiagram-LFFYTUFH-wthc3uSb.js} +1 -1
  35. package/dist/app/{ishikawaDiagram-PHBUUO56-C0hxTRPm.js → ishikawaDiagram-PHBUUO56-D8LCuUtc.js} +1 -1
  36. package/dist/app/{journeyDiagram-4ABVD52K-niBQJW9B.js → journeyDiagram-4ABVD52K-DPJtXOUh.js} +1 -1
  37. package/dist/app/{kanban-definition-K7BYSVSG-1OdNruGO.js → kanban-definition-K7BYSVSG-DIpHQQGq.js} +1 -1
  38. package/dist/app/{layout-CYJpeepd.js → layout-Cn0Vvyqu.js} +1 -1
  39. package/dist/app/{mermaid-j5mXnKJf.js → mermaid-CC_vTxSJ.js} +2 -2
  40. package/dist/app/{mermaid.core-ClCS18UG.js → mermaid.core-D6aFEa0I.js} +4 -4
  41. package/dist/app/{mindmap-definition-YRQLILUH-D_-V-IdP.js → mindmap-definition-YRQLILUH-BheWB4Ui.js} +1 -1
  42. package/dist/app/{pieDiagram-SKSYHLDU-BtQtaWCX.js → pieDiagram-SKSYHLDU-DOrruAwd.js} +1 -1
  43. package/dist/app/{quadrantDiagram-337W2JSQ-BDDLDhsG.js → quadrantDiagram-337W2JSQ-B8BTERHr.js} +1 -1
  44. package/dist/app/renderer.css +1 -1
  45. package/dist/app/renderer.js +75 -49
  46. package/dist/app/{requirementDiagram-Z7DCOOCP-Dds2-pGw.js → requirementDiagram-Z7DCOOCP-DnOpKcso.js} +1 -1
  47. package/dist/app/{sankeyDiagram-WA2Y5GQK-uhRMcMcg.js → sankeyDiagram-WA2Y5GQK-CoXOdwrO.js} +1 -1
  48. package/dist/app/{sequenceDiagram-2WXFIKYE-BbkjTnVd.js → sequenceDiagram-2WXFIKYE-CWNQviI4.js} +1 -1
  49. package/dist/app/{stateDiagram-RAJIS63D-C-m6XiJC.js → stateDiagram-RAJIS63D-C--FinAX.js} +1 -1
  50. package/dist/app/{stateDiagram-v2-FVOUBMTO-R4nRgMSq.js → stateDiagram-v2-FVOUBMTO-B8eU3khJ.js} +1 -1
  51. package/dist/app/{timeline-definition-YZTLITO2-DnVbviH7.js → timeline-definition-YZTLITO2-CTMhdLW0.js} +1 -1
  52. package/dist/app/{treemap-KZPCXAKY-dWDqf5vN.js → treemap-KZPCXAKY-H4wvUyKw.js} +1 -1
  53. package/dist/app/{vennDiagram-LZ73GAT5-Deq_BFSx.js → vennDiagram-LZ73GAT5-B_Dobi9s.js} +1 -1
  54. package/dist/app/{xychartDiagram-JWTSCODW-C5TnO261.js → xychartDiagram-JWTSCODW-C5MtDZ7P.js} +1 -1
  55. package/package.json +5 -1
  56. package/dist/app/channel-4HLppxQc.js +0 -1
  57. package/dist/app/classDiagram-VBA2DB6C-BHC3MA1_.js +0 -1
  58. package/dist/app/classDiagram-v2-RAHNMMFH-BHC3MA1_.js +0 -1
  59. package/dist/app/clone-DI72dXHQ.js +0 -1
@@ -1,4 +1,4 @@
1
- import{g as he}from"./chunk-FMBD7UC4-DLO-MqfH.js";import{_ as d,F as lt,d as C,e as ge,l as v,y as de,A as ue,a3 as pe,c as M,O as fe,a4 as Y,a5 as vt,a6 as at,a7 as xe,u as st,k as ye,a8 as be,i as Bt,a9 as Ct,aa as we}from"./mermaid.core-ClCS18UG.js";import{c as me}from"./clone-DI72dXHQ.js";import{G as Le}from"./graph-CP9RJrNf.js";import{c as Se}from"./channel-4HLppxQc.js";import{l as ve,c as Ee}from"./string-Bl2zznvy.js";import"./renderer.js";import"./purify.es-DIZLy5JB.js";import"./_baseUniq-DNC1lkUQ.js";var bt=(function(){var e=d(function(N,y,u,p){for(u=u||{},p=N.length;p--;u[N[p]]=y);return u},"o"),t=[1,15],a=[1,7],i=[1,13],l=[1,14],s=[1,19],r=[1,16],n=[1,17],c=[1,18],x=[8,30],h=[8,10,21,28,29,30,31,39,43,46],f=[1,23],w=[1,24],b=[8,10,15,16,21,28,29,30,31,39,43,46],m=[8,10,15,16,21,27,28,29,30,31,39,43,46],k=[1,49],L={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:d(function(y,u,p,S,E,o,_){var g=o.length-1;switch(E){case 4:S.getLogger().debug("Rule: separator (NL) ");break;case 5:S.getLogger().debug("Rule: separator (Space) ");break;case 6:S.getLogger().debug("Rule: separator (EOF) ");break;case 7:S.getLogger().debug("Rule: hierarchy: ",o[g-1]),S.setHierarchy(o[g-1]);break;case 8:S.getLogger().debug("Stop NL ");break;case 9:S.getLogger().debug("Stop EOF ");break;case 10:S.getLogger().debug("Stop NL2 ");break;case 11:S.getLogger().debug("Stop EOF2 ");break;case 12:S.getLogger().debug("Rule: statement: ",o[g]),typeof o[g].length=="number"?this.$=o[g]:this.$=[o[g]];break;case 13:S.getLogger().debug("Rule: statement #2: ",o[g-1]),this.$=[o[g-1]].concat(o[g]);break;case 14:S.getLogger().debug("Rule: link: ",o[g],y),this.$={edgeTypeStr:o[g],label:""};break;case 15:S.getLogger().debug("Rule: LABEL link: ",o[g-3],o[g-1],o[g]),this.$={edgeTypeStr:o[g],label:o[g-1]};break;case 18:const D=parseInt(o[g]),T=S.generateId();this.$={id:T,type:"space",label:"",width:D,children:[]};break;case 23:S.getLogger().debug("Rule: (nodeStatement link node) ",o[g-2],o[g-1],o[g]," typestr: ",o[g-1].edgeTypeStr);const K=S.edgeStrToEdgeData(o[g-1].edgeTypeStr);this.$=[{id:o[g-2].id,label:o[g-2].label,type:o[g-2].type,directions:o[g-2].directions},{id:o[g-2].id+"-"+o[g].id,start:o[g-2].id,end:o[g].id,label:o[g-1].label,type:"edge",directions:o[g].directions,arrowTypeEnd:K,arrowTypeStart:"arrow_open"},{id:o[g].id,label:o[g].label,type:S.typeStr2Type(o[g].typeStr),directions:o[g].directions}];break;case 24:S.getLogger().debug("Rule: nodeStatement (abc88 node size) ",o[g-1],o[g]),this.$={id:o[g-1].id,label:o[g-1].label,type:S.typeStr2Type(o[g-1].typeStr),directions:o[g-1].directions,widthInColumns:parseInt(o[g],10)};break;case 25:S.getLogger().debug("Rule: nodeStatement (node) ",o[g]),this.$={id:o[g].id,label:o[g].label,type:S.typeStr2Type(o[g].typeStr),directions:o[g].directions,widthInColumns:1};break;case 26:S.getLogger().debug("APA123",this?this:"na"),S.getLogger().debug("COLUMNS: ",o[g]),this.$={type:"column-setting",columns:o[g]==="auto"?-1:parseInt(o[g])};break;case 27:S.getLogger().debug("Rule: id-block statement : ",o[g-2],o[g-1]),S.generateId(),this.$={...o[g-2],type:"composite",children:o[g-1]};break;case 28:S.getLogger().debug("Rule: blockStatement : ",o[g-2],o[g-1],o[g]);const P=S.generateId();this.$={id:P,type:"composite",label:"",children:o[g-1]};break;case 29:S.getLogger().debug("Rule: node (NODE_ID separator): ",o[g]),this.$={id:o[g]};break;case 30:S.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",o[g-1],o[g]),this.$={id:o[g-1],label:o[g].label,typeStr:o[g].typeStr,directions:o[g].directions};break;case 31:S.getLogger().debug("Rule: dirList: ",o[g]),this.$=[o[g]];break;case 32:S.getLogger().debug("Rule: dirList: ",o[g-1],o[g]),this.$=[o[g-1]].concat(o[g]);break;case 33:S.getLogger().debug("Rule: nodeShapeNLabel: ",o[g-2],o[g-1],o[g]),this.$={typeStr:o[g-2]+o[g],label:o[g-1]};break;case 34:S.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",o[g-3],o[g-2]," #3:",o[g-1],o[g]),this.$={typeStr:o[g-3]+o[g],label:o[g-2],directions:o[g-1]};break;case 35:case 36:this.$={type:"classDef",id:o[g-1].trim(),css:o[g].trim()};break;case 37:this.$={type:"applyClass",id:o[g-1].trim(),styleClass:o[g].trim()};break;case 38:this.$={type:"applyStyles",id:o[g-1].trim(),stylesStr:o[g].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:t,11:3,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:i,29:l,31:s,39:r,43:n,46:c},{8:[1,20]},e(x,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:t,21:a,28:i,29:l,31:s,39:r,43:n,46:c}),e(h,[2,16],{14:22,15:f,16:w}),e(h,[2,17]),e(h,[2,18]),e(h,[2,19]),e(h,[2,20]),e(h,[2,21]),e(h,[2,22]),e(b,[2,25],{27:[1,25]}),e(h,[2,26]),{19:26,26:12,31:s},{10:t,11:27,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:i,29:l,31:s,39:r,43:n,46:c},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(m,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(x,[2,13]),{26:35,31:s},{31:[2,14]},{17:[1,36]},e(b,[2,24]),{10:t,11:37,13:4,14:22,15:f,16:w,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:i,29:l,31:s,39:r,43:n,46:c},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(m,[2,30]),{18:[1,43]},{18:[1,44]},e(b,[2,23]),{18:[1,45]},{30:[1,46]},e(h,[2,28]),e(h,[2,35]),e(h,[2,36]),e(h,[2,37]),e(h,[2,38]),{36:[1,47]},{33:48,34:k},{15:[1,50]},e(h,[2,27]),e(m,[2,33]),{38:[1,51]},{33:52,34:k,38:[2,31]},{31:[2,15]},e(m,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:d(function(y,u){if(u.recoverable)this.trace(y);else{var p=new Error(y);throw p.hash=u,p}},"parseError"),parse:d(function(y){var u=this,p=[0],S=[],E=[null],o=[],_=this.table,g="",D=0,T=0,K=2,P=1,Q=o.slice.call(arguments,1),R=Object.create(this.lexer),U={yy:{}};for(var et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,et)&&(U.yy[et]=this.yy[et]);R.setInput(y,U.yy),U.yy.lexer=R,U.yy.parser=this,typeof R.yylloc>"u"&&(R.yylloc={});var rt=R.yylloc;o.push(rt);var ce=R.options&&R.options.ranges;typeof U.yy.parseError=="function"?this.parseError=U.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function oe(X){p.length=p.length-2*X,E.length=E.length-X,o.length=o.length-X}d(oe,"popStack");function Nt(){var X;return X=S.pop()||R.lex()||P,typeof X!="number"&&(X instanceof Array&&(S=X,X=S.pop()),X=u.symbols_[X]||X),X}d(Nt,"lex");for(var H,$,V,ft,tt={},ct,J,It,ot;;){if($=p[p.length-1],this.defaultActions[$]?V=this.defaultActions[$]:((H===null||typeof H>"u")&&(H=Nt()),V=_[$]&&_[$][H]),typeof V>"u"||!V.length||!V[0]){var xt="";ot=[];for(ct in _[$])this.terminals_[ct]&&ct>K&&ot.push("'"+this.terminals_[ct]+"'");R.showPosition?xt="Parse error on line "+(D+1)+`:
1
+ import{g as he}from"./chunk-FMBD7UC4-P9b1fgHH.js";import{_ as d,F as lt,d as C,e as ge,l as v,y as de,A as ue,a3 as pe,c as M,O as fe,a4 as Y,a5 as vt,a6 as at,a7 as xe,u as st,k as ye,a8 as be,i as Bt,a9 as Ct,aa as we}from"./mermaid.core-D6aFEa0I.js";import{c as me}from"./clone-BtAo9xZX.js";import{G as Le}from"./graph-z0MF59mG.js";import{c as Se}from"./channel-DIEGSkkN.js";import{l as ve,c as Ee}from"./string-Bl2zznvy.js";import"./renderer.js";import"./purify.es-DIZLy5JB.js";import"./_baseUniq-DLSCZPvE.js";var bt=(function(){var e=d(function(N,y,u,p){for(u=u||{},p=N.length;p--;u[N[p]]=y);return u},"o"),t=[1,15],a=[1,7],i=[1,13],l=[1,14],s=[1,19],r=[1,16],n=[1,17],c=[1,18],x=[8,30],h=[8,10,21,28,29,30,31,39,43,46],f=[1,23],w=[1,24],b=[8,10,15,16,21,28,29,30,31,39,43,46],m=[8,10,15,16,21,27,28,29,30,31,39,43,46],k=[1,49],L={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:d(function(y,u,p,S,E,o,_){var g=o.length-1;switch(E){case 4:S.getLogger().debug("Rule: separator (NL) ");break;case 5:S.getLogger().debug("Rule: separator (Space) ");break;case 6:S.getLogger().debug("Rule: separator (EOF) ");break;case 7:S.getLogger().debug("Rule: hierarchy: ",o[g-1]),S.setHierarchy(o[g-1]);break;case 8:S.getLogger().debug("Stop NL ");break;case 9:S.getLogger().debug("Stop EOF ");break;case 10:S.getLogger().debug("Stop NL2 ");break;case 11:S.getLogger().debug("Stop EOF2 ");break;case 12:S.getLogger().debug("Rule: statement: ",o[g]),typeof o[g].length=="number"?this.$=o[g]:this.$=[o[g]];break;case 13:S.getLogger().debug("Rule: statement #2: ",o[g-1]),this.$=[o[g-1]].concat(o[g]);break;case 14:S.getLogger().debug("Rule: link: ",o[g],y),this.$={edgeTypeStr:o[g],label:""};break;case 15:S.getLogger().debug("Rule: LABEL link: ",o[g-3],o[g-1],o[g]),this.$={edgeTypeStr:o[g],label:o[g-1]};break;case 18:const D=parseInt(o[g]),T=S.generateId();this.$={id:T,type:"space",label:"",width:D,children:[]};break;case 23:S.getLogger().debug("Rule: (nodeStatement link node) ",o[g-2],o[g-1],o[g]," typestr: ",o[g-1].edgeTypeStr);const K=S.edgeStrToEdgeData(o[g-1].edgeTypeStr);this.$=[{id:o[g-2].id,label:o[g-2].label,type:o[g-2].type,directions:o[g-2].directions},{id:o[g-2].id+"-"+o[g].id,start:o[g-2].id,end:o[g].id,label:o[g-1].label,type:"edge",directions:o[g].directions,arrowTypeEnd:K,arrowTypeStart:"arrow_open"},{id:o[g].id,label:o[g].label,type:S.typeStr2Type(o[g].typeStr),directions:o[g].directions}];break;case 24:S.getLogger().debug("Rule: nodeStatement (abc88 node size) ",o[g-1],o[g]),this.$={id:o[g-1].id,label:o[g-1].label,type:S.typeStr2Type(o[g-1].typeStr),directions:o[g-1].directions,widthInColumns:parseInt(o[g],10)};break;case 25:S.getLogger().debug("Rule: nodeStatement (node) ",o[g]),this.$={id:o[g].id,label:o[g].label,type:S.typeStr2Type(o[g].typeStr),directions:o[g].directions,widthInColumns:1};break;case 26:S.getLogger().debug("APA123",this?this:"na"),S.getLogger().debug("COLUMNS: ",o[g]),this.$={type:"column-setting",columns:o[g]==="auto"?-1:parseInt(o[g])};break;case 27:S.getLogger().debug("Rule: id-block statement : ",o[g-2],o[g-1]),S.generateId(),this.$={...o[g-2],type:"composite",children:o[g-1]};break;case 28:S.getLogger().debug("Rule: blockStatement : ",o[g-2],o[g-1],o[g]);const P=S.generateId();this.$={id:P,type:"composite",label:"",children:o[g-1]};break;case 29:S.getLogger().debug("Rule: node (NODE_ID separator): ",o[g]),this.$={id:o[g]};break;case 30:S.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",o[g-1],o[g]),this.$={id:o[g-1],label:o[g].label,typeStr:o[g].typeStr,directions:o[g].directions};break;case 31:S.getLogger().debug("Rule: dirList: ",o[g]),this.$=[o[g]];break;case 32:S.getLogger().debug("Rule: dirList: ",o[g-1],o[g]),this.$=[o[g-1]].concat(o[g]);break;case 33:S.getLogger().debug("Rule: nodeShapeNLabel: ",o[g-2],o[g-1],o[g]),this.$={typeStr:o[g-2]+o[g],label:o[g-1]};break;case 34:S.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",o[g-3],o[g-2]," #3:",o[g-1],o[g]),this.$={typeStr:o[g-3]+o[g],label:o[g-2],directions:o[g-1]};break;case 35:case 36:this.$={type:"classDef",id:o[g-1].trim(),css:o[g].trim()};break;case 37:this.$={type:"applyClass",id:o[g-1].trim(),styleClass:o[g].trim()};break;case 38:this.$={type:"applyStyles",id:o[g-1].trim(),stylesStr:o[g].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:t,11:3,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:i,29:l,31:s,39:r,43:n,46:c},{8:[1,20]},e(x,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:t,21:a,28:i,29:l,31:s,39:r,43:n,46:c}),e(h,[2,16],{14:22,15:f,16:w}),e(h,[2,17]),e(h,[2,18]),e(h,[2,19]),e(h,[2,20]),e(h,[2,21]),e(h,[2,22]),e(b,[2,25],{27:[1,25]}),e(h,[2,26]),{19:26,26:12,31:s},{10:t,11:27,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:i,29:l,31:s,39:r,43:n,46:c},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(m,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(x,[2,13]),{26:35,31:s},{31:[2,14]},{17:[1,36]},e(b,[2,24]),{10:t,11:37,13:4,14:22,15:f,16:w,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:i,29:l,31:s,39:r,43:n,46:c},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(m,[2,30]),{18:[1,43]},{18:[1,44]},e(b,[2,23]),{18:[1,45]},{30:[1,46]},e(h,[2,28]),e(h,[2,35]),e(h,[2,36]),e(h,[2,37]),e(h,[2,38]),{36:[1,47]},{33:48,34:k},{15:[1,50]},e(h,[2,27]),e(m,[2,33]),{38:[1,51]},{33:52,34:k,38:[2,31]},{31:[2,15]},e(m,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:d(function(y,u){if(u.recoverable)this.trace(y);else{var p=new Error(y);throw p.hash=u,p}},"parseError"),parse:d(function(y){var u=this,p=[0],S=[],E=[null],o=[],_=this.table,g="",D=0,T=0,K=2,P=1,Q=o.slice.call(arguments,1),R=Object.create(this.lexer),U={yy:{}};for(var et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,et)&&(U.yy[et]=this.yy[et]);R.setInput(y,U.yy),U.yy.lexer=R,U.yy.parser=this,typeof R.yylloc>"u"&&(R.yylloc={});var rt=R.yylloc;o.push(rt);var ce=R.options&&R.options.ranges;typeof U.yy.parseError=="function"?this.parseError=U.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function oe(X){p.length=p.length-2*X,E.length=E.length-X,o.length=o.length-X}d(oe,"popStack");function Nt(){var X;return X=S.pop()||R.lex()||P,typeof X!="number"&&(X instanceof Array&&(S=X,X=S.pop()),X=u.symbols_[X]||X),X}d(Nt,"lex");for(var H,$,V,ft,tt={},ct,J,It,ot;;){if($=p[p.length-1],this.defaultActions[$]?V=this.defaultActions[$]:((H===null||typeof H>"u")&&(H=Nt()),V=_[$]&&_[$][H]),typeof V>"u"||!V.length||!V[0]){var xt="";ot=[];for(ct in _[$])this.terminals_[ct]&&ct>K&&ot.push("'"+this.terminals_[ct]+"'");R.showPosition?xt="Parse error on line "+(D+1)+`:
2
2
  `+R.showPosition()+`
3
3
  Expecting `+ot.join(", ")+", got '"+(this.terminals_[H]||H)+"'":xt="Parse error on line "+(D+1)+": Unexpected "+(H==P?"end of input":"'"+(this.terminals_[H]||H)+"'"),this.parseError(xt,{text:R.match,token:this.terminals_[H]||H,line:R.yylineno,loc:rt,expected:ot})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+$+", token: "+H);switch(V[0]){case 1:p.push(H),E.push(R.yytext),o.push(R.yylloc),p.push(V[1]),H=null,T=R.yyleng,g=R.yytext,D=R.yylineno,rt=R.yylloc;break;case 2:if(J=this.productions_[V[1]][1],tt.$=E[E.length-J],tt._$={first_line:o[o.length-(J||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(J||1)].first_column,last_column:o[o.length-1].last_column},ce&&(tt._$.range=[o[o.length-(J||1)].range[0],o[o.length-1].range[1]]),ft=this.performAction.apply(tt,[g,T,D,U.yy,V[1],E,o].concat(Q)),typeof ft<"u")return ft;J&&(p=p.slice(0,-1*J*2),E=E.slice(0,-1*J),o=o.slice(0,-1*J)),p.push(this.productions_[V[1]][0]),E.push(tt.$),o.push(tt._$),It=_[p[p.length-2]][p[p.length-1]],p.push(It);break;case 3:return!0}}return!0},"parse")},B=(function(){var N={EOF:1,parseError:d(function(u,p){if(this.yy.parser)this.yy.parser.parseError(u,p);else throw new Error(u)},"parseError"),setInput:d(function(y,u){return this.yy=u||this.yy||{},this._input=y,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:d(function(){var y=this._input[0];this.yytext+=y,this.yyleng++,this.offset++,this.match+=y,this.matched+=y;var u=y.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),y},"input"),unput:d(function(y){var u=y.length,p=y.split(/(?:\r\n?|\n)/g);this._input=y+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;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),p.length-1&&(this.yylineno-=p.length-1);var E=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:p?(p.length===S.length?this.yylloc.first_column:0)+S[S.length-p.length].length-p[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(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:d(function(y){this.unput(this.match.slice(y))},"less"),pastInput:d(function(){var y=this.matched.substr(0,this.matched.length-this.match.length);return(y.length>20?"...":"")+y.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var y=this.match;return y.length<20&&(y+=this._input.substr(0,20-y.length)),(y.substr(0,20)+(y.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var y=this.pastInput(),u=new Array(y.length+1).join("-");return y+this.upcomingInput()+`
@@ -1158,6 +1158,7 @@ from prefab_ui.components.combobox import (
1158
1158
  ComboboxOption,
1159
1159
  ComboboxSeparator,
1160
1160
  )
1161
+ from prefab_ui.components.carousel import Carousel
1161
1162
  from prefab_ui.components.code import Code
1162
1163
  from prefab_ui.components.column import Column
1163
1164
  from prefab_ui.components.container import Container
@@ -1267,6 +1268,7 @@ __all__ = [
1267
1268
  "CardFooter",
1268
1269
  "CardHeader",
1269
1270
  "CardTitle",
1271
+ "Carousel",
1270
1272
  "Checkbox",
1271
1273
  "ChoiceCard",
1272
1274
  "Code",
@@ -2650,6 +2652,154 @@ class CardFooter(ContainerComponent):
2650
2652
  """
2651
2653
 
2652
2654
  type: Literal["CardFooter"] = "CardFooter"
2655
+ `,"prefab_ui/components/carousel.py":`"""Carousel — scrollable container with auto-advance and navigation."""
2656
+
2657
+ from __future__ import annotations
2658
+
2659
+ from typing import Any, Literal
2660
+
2661
+ from pydantic import Field
2662
+
2663
+ from prefab_ui.components.base import ContainerComponent
2664
+
2665
+
2666
+ class Carousel(ContainerComponent):
2667
+ """Scrollable container that cycles through children.
2668
+
2669
+ Supports three modes depending on configuration:
2670
+
2671
+ - **Carousel** (default): one item visible, user navigates with
2672
+ arrows/dots/swipe.
2673
+ - **Reel**: auto-advances on a timer. Set \`\`auto_advance\`\` and
2674
+ \`\`show_controls=False\`\`.
2675
+ - **Marquee**: continuous smooth scroll. Set \`\`continuous=True\`\`.
2676
+
2677
+ Args:
2678
+ visible: How many slides are visible at once. Use a float for
2679
+ peek: \`\`1.3\`\` shows 1 full slide + 15% of prev/next peeking
2680
+ on each side. \`\`None\`\` = natural slide sizing (default for
2681
+ marquee when \`\`continuous=True\`\` and \`\`visible\`\` is omitted).
2682
+ gap: Pixels between slides.
2683
+ height: Fixed height in pixels. Auto-detected for vertical
2684
+ carousels from the first slide's content.
2685
+ direction: Scroll direction.
2686
+ loop: Whether to loop back to the start.
2687
+ auto_advance: Milliseconds between auto-advances. 0 = off.
2688
+ continuous: Smooth continuous scroll (marquee mode).
2689
+ speed: Scroll speed for continuous mode (1-10).
2690
+ effect: Visual transition effect.
2691
+ dim_inactive: Reduce opacity of non-active slides.
2692
+ show_controls: Show navigation arrows.
2693
+ controls_position: Position controls over slides or outside the viewport.
2694
+ show_dots: Show pagination dots.
2695
+ pause_on_hover: Pause auto-advance/continuous scroll on hover.
2696
+ align: Slide alignment within the viewport.
2697
+ slides_to_scroll: Number of slides to advance per step.
2698
+ drag: Allow drag/swipe to navigate.
2699
+
2700
+ **Example:**
2701
+
2702
+ \`\`\`python
2703
+ with Carousel(auto_advance=3000, loop=True):
2704
+ Card(children=[Heading("Slide 1")])
2705
+ Card(children=[Heading("Slide 2")])
2706
+ Card(children=[Heading("Slide 3")])
2707
+ \`\`\`
2708
+ """
2709
+
2710
+ type: Literal["Carousel"] = "Carousel"
2711
+ visible: float | None = Field(
2712
+ default=1,
2713
+ description="Slides visible at once. Float for peek: 1.3 = 1 slide + 15% peek each side. None = natural sizing (default for marquee when visible is omitted).",
2714
+ )
2715
+ gap: int = Field(
2716
+ default=16,
2717
+ description="Pixels between slides",
2718
+ )
2719
+ height: int | None = Field(
2720
+ default=None,
2721
+ description="Fixed height in pixels. Auto-detected for vertical carousels.",
2722
+ )
2723
+ direction: Literal["left", "right", "up", "down"] = Field(
2724
+ default="left",
2725
+ description="Scroll direction",
2726
+ )
2727
+ loop: bool = Field(
2728
+ default=True,
2729
+ description="Loop back to start after reaching the end",
2730
+ )
2731
+ auto_advance: int = Field(
2732
+ default=0,
2733
+ alias="autoAdvance",
2734
+ description="Milliseconds between auto-advances. 0 = manual only.",
2735
+ )
2736
+ continuous: bool = Field(
2737
+ default=False,
2738
+ description="Smooth continuous scroll (marquee mode)",
2739
+ )
2740
+ speed: int = Field(
2741
+ default=2,
2742
+ description="Scroll speed for continuous mode (1-10)",
2743
+ )
2744
+ effect: Literal["slide", "fade"] = Field(
2745
+ default="slide",
2746
+ description="Transition effect: slide or fade",
2747
+ )
2748
+ dim_inactive: bool = Field(
2749
+ default=False,
2750
+ alias="dimInactive",
2751
+ description="Reduce opacity of non-active slides",
2752
+ )
2753
+ show_controls: bool = Field(
2754
+ default=True,
2755
+ alias="showControls",
2756
+ description="Show previous/next navigation arrows",
2757
+ )
2758
+ controls_position: Literal["overlay", "outside"] = Field(
2759
+ default="outside",
2760
+ alias="controlsPosition",
2761
+ description="Position controls over slides (overlay) or outside the viewport",
2762
+ )
2763
+ show_dots: bool = Field(
2764
+ default=False,
2765
+ alias="showDots",
2766
+ description="Show pagination dots",
2767
+ )
2768
+ pause_on_hover: bool = Field(
2769
+ default=True,
2770
+ alias="pauseOnHover",
2771
+ description="Pause auto-advance or continuous scroll on hover",
2772
+ )
2773
+ align: Literal["start", "center", "end"] = Field(
2774
+ default="start",
2775
+ description="Slide alignment within the viewport",
2776
+ )
2777
+ slides_to_scroll: int = Field(
2778
+ default=1,
2779
+ alias="slidesToScroll",
2780
+ description="Number of slides to advance per step",
2781
+ )
2782
+ drag: bool = Field(
2783
+ default=True,
2784
+ description="Allow drag/swipe to navigate",
2785
+ )
2786
+
2787
+ def __init__(self, **kwargs: Any) -> None:
2788
+ # Marquee defaults to natural sizing unless visible is explicitly set.
2789
+ if kwargs.get("continuous") and "visible" not in kwargs:
2790
+ kwargs["visible"] = None
2791
+ # Fade mode is single-slide only.
2792
+ if kwargs.get("effect") == "fade":
2793
+ kwargs["visible"] = 1
2794
+ super().__init__(**kwargs)
2795
+
2796
+ def to_json(self) -> dict[str, Any]:
2797
+ data = super().to_json()
2798
+ # Keep explicit visible=None on the wire so the renderer can
2799
+ # differentiate it from an omitted value.
2800
+ if "visible" in self.model_fields_set and self.visible is None:
2801
+ data["visible"] = None
2802
+ return data
2653
2803
  `,"prefab_ui/components/charts/__init__.py":`"""Chart components — BarChart, LineChart, AreaChart, PieChart, RadarChart, RadialChart, ScatterChart, Sparkline.
2654
2804
 
2655
2805
  Built on Recharts + shadcn ChartContainer in the renderer.
@@ -1,4 +1,4 @@
1
- import{g as Se,d as De}from"./chunk-JSJVCQXG-Bo_y_qwW.js";import{s as Pe,g as Be,a as Ie,b as Me,_ as g,c as Bt,d as jt,l as de,e as Le,f as Ne,h as Tt,i as ge,j as Ye,w as je,k as $t,m as fe}from"./mermaid.core-ClCS18UG.js";import"./renderer.js";import"./purify.es-DIZLy5JB.js";import"./string-Bl2zznvy.js";var Ft=(function(){var e=g(function(_t,x,m,v){for(m=m||{},v=_t.length;v--;m[_t[v]]=x);return m},"o"),t=[1,24],s=[1,25],o=[1,26],l=[1,27],a=[1,28],r=[1,63],n=[1,64],i=[1,65],u=[1,66],d=[1,67],f=[1,68],y=[1,69],E=[1,29],O=[1,30],S=[1,31],P=[1,32],M=[1,33],U=[1,34],H=[1,35],q=[1,36],G=[1,37],K=[1,38],J=[1,39],Z=[1,40],$=[1,41],tt=[1,42],et=[1,43],at=[1,44],it=[1,45],nt=[1,46],rt=[1,47],st=[1,48],lt=[1,50],ot=[1,51],ct=[1,52],ht=[1,53],ut=[1,54],dt=[1,55],ft=[1,56],pt=[1,57],yt=[1,58],gt=[1,59],bt=[1,60],Ct=[14,42],Qt=[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],St=[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],k=[1,82],A=[1,83],C=[1,84],w=[1,85],T=[12,14,42],le=[12,14,33,42],Mt=[12,14,33,42,76,77,79,80],vt=[12,33],Ht=[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],qt={trace:g(function(){},"trace"),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:g(function(x,m,v,b,R,h,Dt){var p=h.length-1;switch(R){case 3:b.setDirection("TB");break;case 4:b.setDirection("BT");break;case 5:b.setDirection("RL");break;case 6:b.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:b.setC4Type(h[p-3]);break;case 19:b.setTitle(h[p].substring(6)),this.$=h[p].substring(6);break;case 20:b.setAccDescription(h[p].substring(15)),this.$=h[p].substring(15);break;case 21:this.$=h[p].trim(),b.setTitle(this.$);break;case 22:case 23:this.$=h[p].trim(),b.setAccDescription(this.$);break;case 28:h[p].splice(2,0,"ENTERPRISE"),b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 29:h[p].splice(2,0,"SYSTEM"),b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 30:b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 31:h[p].splice(2,0,"CONTAINER"),b.addContainerBoundary(...h[p]),this.$=h[p];break;case 32:b.addDeploymentNode("node",...h[p]),this.$=h[p];break;case 33:b.addDeploymentNode("nodeL",...h[p]),this.$=h[p];break;case 34:b.addDeploymentNode("nodeR",...h[p]),this.$=h[p];break;case 35:b.popBoundaryParseStack();break;case 39:b.addPersonOrSystem("person",...h[p]),this.$=h[p];break;case 40:b.addPersonOrSystem("external_person",...h[p]),this.$=h[p];break;case 41:b.addPersonOrSystem("system",...h[p]),this.$=h[p];break;case 42:b.addPersonOrSystem("system_db",...h[p]),this.$=h[p];break;case 43:b.addPersonOrSystem("system_queue",...h[p]),this.$=h[p];break;case 44:b.addPersonOrSystem("external_system",...h[p]),this.$=h[p];break;case 45:b.addPersonOrSystem("external_system_db",...h[p]),this.$=h[p];break;case 46:b.addPersonOrSystem("external_system_queue",...h[p]),this.$=h[p];break;case 47:b.addContainer("container",...h[p]),this.$=h[p];break;case 48:b.addContainer("container_db",...h[p]),this.$=h[p];break;case 49:b.addContainer("container_queue",...h[p]),this.$=h[p];break;case 50:b.addContainer("external_container",...h[p]),this.$=h[p];break;case 51:b.addContainer("external_container_db",...h[p]),this.$=h[p];break;case 52:b.addContainer("external_container_queue",...h[p]),this.$=h[p];break;case 53:b.addComponent("component",...h[p]),this.$=h[p];break;case 54:b.addComponent("component_db",...h[p]),this.$=h[p];break;case 55:b.addComponent("component_queue",...h[p]),this.$=h[p];break;case 56:b.addComponent("external_component",...h[p]),this.$=h[p];break;case 57:b.addComponent("external_component_db",...h[p]),this.$=h[p];break;case 58:b.addComponent("external_component_queue",...h[p]),this.$=h[p];break;case 60:b.addRel("rel",...h[p]),this.$=h[p];break;case 61:b.addRel("birel",...h[p]),this.$=h[p];break;case 62:b.addRel("rel_u",...h[p]),this.$=h[p];break;case 63:b.addRel("rel_d",...h[p]),this.$=h[p];break;case 64:b.addRel("rel_l",...h[p]),this.$=h[p];break;case 65:b.addRel("rel_r",...h[p]),this.$=h[p];break;case 66:b.addRel("rel_b",...h[p]),this.$=h[p];break;case 67:h[p].splice(0,1),b.addRel("rel",...h[p]),this.$=h[p];break;case 68:b.updateElStyle("update_el_style",...h[p]),this.$=h[p];break;case 69:b.updateRelStyle("update_rel_style",...h[p]),this.$=h[p];break;case 70:b.updateLayoutConfig("update_layout_config",...h[p]),this.$=h[p];break;case 71:this.$=[h[p]];break;case 72:h[p].unshift(h[p-1]),this.$=h[p];break;case 73:case 75:this.$=h[p].trim();break;case 74:let Et={};Et[h[p-1].trim()]=h[p].trim(),this.$=Et;break;case 76:this.$="";break}},"anonymous"),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:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:70,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:71,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:72,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:73,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{14:[1,74]},e(Ct,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:n,37:i,38:u,39:d,40:f,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt}),e(Ct,[2,14]),e(Qt,[2,16],{12:[1,76]}),e(Ct,[2,36],{12:[1,77]}),e(St,[2,19]),e(St,[2,20]),{25:[1,78]},{27:[1,79]},e(St,[2,23]),{35:80,75:81,76:k,77:A,79:C,80:w},{35:86,75:81,76:k,77:A,79:C,80:w},{35:87,75:81,76:k,77:A,79:C,80:w},{35:88,75:81,76:k,77:A,79:C,80:w},{35:89,75:81,76:k,77:A,79:C,80:w},{35:90,75:81,76:k,77:A,79:C,80:w},{35:91,75:81,76:k,77:A,79:C,80:w},{35:92,75:81,76:k,77:A,79:C,80:w},{35:93,75:81,76:k,77:A,79:C,80:w},{35:94,75:81,76:k,77:A,79:C,80:w},{35:95,75:81,76:k,77:A,79:C,80:w},{35:96,75:81,76:k,77:A,79:C,80:w},{35:97,75:81,76:k,77:A,79:C,80:w},{35:98,75:81,76:k,77:A,79:C,80:w},{35:99,75:81,76:k,77:A,79:C,80:w},{35:100,75:81,76:k,77:A,79:C,80:w},{35:101,75:81,76:k,77:A,79:C,80:w},{35:102,75:81,76:k,77:A,79:C,80:w},{35:103,75:81,76:k,77:A,79:C,80:w},{35:104,75:81,76:k,77:A,79:C,80:w},e(T,[2,59]),{35:105,75:81,76:k,77:A,79:C,80:w},{35:106,75:81,76:k,77:A,79:C,80:w},{35:107,75:81,76:k,77:A,79:C,80:w},{35:108,75:81,76:k,77:A,79:C,80:w},{35:109,75:81,76:k,77:A,79:C,80:w},{35:110,75:81,76:k,77:A,79:C,80:w},{35:111,75:81,76:k,77:A,79:C,80:w},{35:112,75:81,76:k,77:A,79:C,80:w},{35:113,75:81,76:k,77:A,79:C,80:w},{35:114,75:81,76:k,77:A,79:C,80:w},{35:115,75:81,76:k,77:A,79:C,80:w},{20:116,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{12:[1,118],33:[1,117]},{35:119,75:81,76:k,77:A,79:C,80:w},{35:120,75:81,76:k,77:A,79:C,80:w},{35:121,75:81,76:k,77:A,79:C,80:w},{35:122,75:81,76:k,77:A,79:C,80:w},{35:123,75:81,76:k,77:A,79:C,80:w},{35:124,75:81,76:k,77:A,79:C,80:w},{35:125,75:81,76:k,77:A,79:C,80:w},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(Ct,[2,15]),e(Qt,[2,17],{21:22,19:130,22:t,23:s,24:o,26:l,28:a}),e(Ct,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:s,24:o,26:l,28:a,34:r,36:n,37:i,38:u,39:d,40:f,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt}),e(St,[2,21]),e(St,[2,22]),e(T,[2,39]),e(le,[2,71],{75:81,35:132,76:k,77:A,79:C,80:w}),e(Mt,[2,73]),{78:[1,133]},e(Mt,[2,75]),e(Mt,[2,76]),e(T,[2,40]),e(T,[2,41]),e(T,[2,42]),e(T,[2,43]),e(T,[2,44]),e(T,[2,45]),e(T,[2,46]),e(T,[2,47]),e(T,[2,48]),e(T,[2,49]),e(T,[2,50]),e(T,[2,51]),e(T,[2,52]),e(T,[2,53]),e(T,[2,54]),e(T,[2,55]),e(T,[2,56]),e(T,[2,57]),e(T,[2,58]),e(T,[2,60]),e(T,[2,61]),e(T,[2,62]),e(T,[2,63]),e(T,[2,64]),e(T,[2,65]),e(T,[2,66]),e(T,[2,67]),e(T,[2,68]),e(T,[2,69]),e(T,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(vt,[2,28]),e(vt,[2,29]),e(vt,[2,30]),e(vt,[2,31]),e(vt,[2,32]),e(vt,[2,33]),e(vt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(Qt,[2,18]),e(Ct,[2,38]),e(le,[2,72]),e(Mt,[2,74]),e(T,[2,24]),e(T,[2,35]),e(Ht,[2,25]),e(Ht,[2,26],{12:[1,138]}),e(Ht,[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:g(function(x,m){if(m.recoverable)this.trace(x);else{var v=new Error(x);throw v.hash=m,v}},"parseError"),parse:g(function(x){var m=this,v=[0],b=[],R=[null],h=[],Dt=this.table,p="",Et=0,oe=0,we=2,ce=1,Te=h.slice.call(arguments,1),D=Object.create(this.lexer),kt={yy:{}};for(var Gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Gt)&&(kt.yy[Gt]=this.yy[Gt]);D.setInput(x,kt.yy),kt.yy.lexer=D,kt.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Kt=D.yylloc;h.push(Kt);var Oe=D.options&&D.options.ranges;typeof kt.yy.parseError=="function"?this.parseError=kt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Re(L){v.length=v.length-2*L,R.length=R.length-L,h.length=h.length-L}g(Re,"popStack");function he(){var L;return L=b.pop()||D.lex()||ce,typeof L!="number"&&(L instanceof Array&&(b=L,L=b.pop()),L=m.symbols_[L]||L),L}g(he,"lex");for(var I,At,N,Jt,wt={},Nt,W,ue,Yt;;){if(At=v[v.length-1],this.defaultActions[At]?N=this.defaultActions[At]:((I===null||typeof I>"u")&&(I=he()),N=Dt[At]&&Dt[At][I]),typeof N>"u"||!N.length||!N[0]){var Zt="";Yt=[];for(Nt in Dt[At])this.terminals_[Nt]&&Nt>we&&Yt.push("'"+this.terminals_[Nt]+"'");D.showPosition?Zt="Parse error on line "+(Et+1)+`:
1
+ import{g as Se,d as De}from"./chunk-JSJVCQXG-C9-xDx_f.js";import{s as Pe,g as Be,a as Ie,b as Me,_ as g,c as Bt,d as jt,l as de,e as Le,f as Ne,h as Tt,i as ge,j as Ye,w as je,k as $t,m as fe}from"./mermaid.core-D6aFEa0I.js";import"./renderer.js";import"./purify.es-DIZLy5JB.js";import"./string-Bl2zznvy.js";var Ft=(function(){var e=g(function(_t,x,m,v){for(m=m||{},v=_t.length;v--;m[_t[v]]=x);return m},"o"),t=[1,24],s=[1,25],o=[1,26],l=[1,27],a=[1,28],r=[1,63],n=[1,64],i=[1,65],u=[1,66],d=[1,67],f=[1,68],y=[1,69],E=[1,29],O=[1,30],S=[1,31],P=[1,32],M=[1,33],U=[1,34],H=[1,35],q=[1,36],G=[1,37],K=[1,38],J=[1,39],Z=[1,40],$=[1,41],tt=[1,42],et=[1,43],at=[1,44],it=[1,45],nt=[1,46],rt=[1,47],st=[1,48],lt=[1,50],ot=[1,51],ct=[1,52],ht=[1,53],ut=[1,54],dt=[1,55],ft=[1,56],pt=[1,57],yt=[1,58],gt=[1,59],bt=[1,60],Ct=[14,42],Qt=[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],St=[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],k=[1,82],A=[1,83],C=[1,84],w=[1,85],T=[12,14,42],le=[12,14,33,42],Mt=[12,14,33,42,76,77,79,80],vt=[12,33],Ht=[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],qt={trace:g(function(){},"trace"),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:g(function(x,m,v,b,R,h,Dt){var p=h.length-1;switch(R){case 3:b.setDirection("TB");break;case 4:b.setDirection("BT");break;case 5:b.setDirection("RL");break;case 6:b.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:b.setC4Type(h[p-3]);break;case 19:b.setTitle(h[p].substring(6)),this.$=h[p].substring(6);break;case 20:b.setAccDescription(h[p].substring(15)),this.$=h[p].substring(15);break;case 21:this.$=h[p].trim(),b.setTitle(this.$);break;case 22:case 23:this.$=h[p].trim(),b.setAccDescription(this.$);break;case 28:h[p].splice(2,0,"ENTERPRISE"),b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 29:h[p].splice(2,0,"SYSTEM"),b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 30:b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 31:h[p].splice(2,0,"CONTAINER"),b.addContainerBoundary(...h[p]),this.$=h[p];break;case 32:b.addDeploymentNode("node",...h[p]),this.$=h[p];break;case 33:b.addDeploymentNode("nodeL",...h[p]),this.$=h[p];break;case 34:b.addDeploymentNode("nodeR",...h[p]),this.$=h[p];break;case 35:b.popBoundaryParseStack();break;case 39:b.addPersonOrSystem("person",...h[p]),this.$=h[p];break;case 40:b.addPersonOrSystem("external_person",...h[p]),this.$=h[p];break;case 41:b.addPersonOrSystem("system",...h[p]),this.$=h[p];break;case 42:b.addPersonOrSystem("system_db",...h[p]),this.$=h[p];break;case 43:b.addPersonOrSystem("system_queue",...h[p]),this.$=h[p];break;case 44:b.addPersonOrSystem("external_system",...h[p]),this.$=h[p];break;case 45:b.addPersonOrSystem("external_system_db",...h[p]),this.$=h[p];break;case 46:b.addPersonOrSystem("external_system_queue",...h[p]),this.$=h[p];break;case 47:b.addContainer("container",...h[p]),this.$=h[p];break;case 48:b.addContainer("container_db",...h[p]),this.$=h[p];break;case 49:b.addContainer("container_queue",...h[p]),this.$=h[p];break;case 50:b.addContainer("external_container",...h[p]),this.$=h[p];break;case 51:b.addContainer("external_container_db",...h[p]),this.$=h[p];break;case 52:b.addContainer("external_container_queue",...h[p]),this.$=h[p];break;case 53:b.addComponent("component",...h[p]),this.$=h[p];break;case 54:b.addComponent("component_db",...h[p]),this.$=h[p];break;case 55:b.addComponent("component_queue",...h[p]),this.$=h[p];break;case 56:b.addComponent("external_component",...h[p]),this.$=h[p];break;case 57:b.addComponent("external_component_db",...h[p]),this.$=h[p];break;case 58:b.addComponent("external_component_queue",...h[p]),this.$=h[p];break;case 60:b.addRel("rel",...h[p]),this.$=h[p];break;case 61:b.addRel("birel",...h[p]),this.$=h[p];break;case 62:b.addRel("rel_u",...h[p]),this.$=h[p];break;case 63:b.addRel("rel_d",...h[p]),this.$=h[p];break;case 64:b.addRel("rel_l",...h[p]),this.$=h[p];break;case 65:b.addRel("rel_r",...h[p]),this.$=h[p];break;case 66:b.addRel("rel_b",...h[p]),this.$=h[p];break;case 67:h[p].splice(0,1),b.addRel("rel",...h[p]),this.$=h[p];break;case 68:b.updateElStyle("update_el_style",...h[p]),this.$=h[p];break;case 69:b.updateRelStyle("update_rel_style",...h[p]),this.$=h[p];break;case 70:b.updateLayoutConfig("update_layout_config",...h[p]),this.$=h[p];break;case 71:this.$=[h[p]];break;case 72:h[p].unshift(h[p-1]),this.$=h[p];break;case 73:case 75:this.$=h[p].trim();break;case 74:let Et={};Et[h[p-1].trim()]=h[p].trim(),this.$=Et;break;case 76:this.$="";break}},"anonymous"),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:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:70,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:71,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:72,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:73,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{14:[1,74]},e(Ct,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:n,37:i,38:u,39:d,40:f,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt}),e(Ct,[2,14]),e(Qt,[2,16],{12:[1,76]}),e(Ct,[2,36],{12:[1,77]}),e(St,[2,19]),e(St,[2,20]),{25:[1,78]},{27:[1,79]},e(St,[2,23]),{35:80,75:81,76:k,77:A,79:C,80:w},{35:86,75:81,76:k,77:A,79:C,80:w},{35:87,75:81,76:k,77:A,79:C,80:w},{35:88,75:81,76:k,77:A,79:C,80:w},{35:89,75:81,76:k,77:A,79:C,80:w},{35:90,75:81,76:k,77:A,79:C,80:w},{35:91,75:81,76:k,77:A,79:C,80:w},{35:92,75:81,76:k,77:A,79:C,80:w},{35:93,75:81,76:k,77:A,79:C,80:w},{35:94,75:81,76:k,77:A,79:C,80:w},{35:95,75:81,76:k,77:A,79:C,80:w},{35:96,75:81,76:k,77:A,79:C,80:w},{35:97,75:81,76:k,77:A,79:C,80:w},{35:98,75:81,76:k,77:A,79:C,80:w},{35:99,75:81,76:k,77:A,79:C,80:w},{35:100,75:81,76:k,77:A,79:C,80:w},{35:101,75:81,76:k,77:A,79:C,80:w},{35:102,75:81,76:k,77:A,79:C,80:w},{35:103,75:81,76:k,77:A,79:C,80:w},{35:104,75:81,76:k,77:A,79:C,80:w},e(T,[2,59]),{35:105,75:81,76:k,77:A,79:C,80:w},{35:106,75:81,76:k,77:A,79:C,80:w},{35:107,75:81,76:k,77:A,79:C,80:w},{35:108,75:81,76:k,77:A,79:C,80:w},{35:109,75:81,76:k,77:A,79:C,80:w},{35:110,75:81,76:k,77:A,79:C,80:w},{35:111,75:81,76:k,77:A,79:C,80:w},{35:112,75:81,76:k,77:A,79:C,80:w},{35:113,75:81,76:k,77:A,79:C,80:w},{35:114,75:81,76:k,77:A,79:C,80:w},{35:115,75:81,76:k,77:A,79:C,80:w},{20:116,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{12:[1,118],33:[1,117]},{35:119,75:81,76:k,77:A,79:C,80:w},{35:120,75:81,76:k,77:A,79:C,80:w},{35:121,75:81,76:k,77:A,79:C,80:w},{35:122,75:81,76:k,77:A,79:C,80:w},{35:123,75:81,76:k,77:A,79:C,80:w},{35:124,75:81,76:k,77:A,79:C,80:w},{35:125,75:81,76:k,77:A,79:C,80:w},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(Ct,[2,15]),e(Qt,[2,17],{21:22,19:130,22:t,23:s,24:o,26:l,28:a}),e(Ct,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:s,24:o,26:l,28:a,34:r,36:n,37:i,38:u,39:d,40:f,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt}),e(St,[2,21]),e(St,[2,22]),e(T,[2,39]),e(le,[2,71],{75:81,35:132,76:k,77:A,79:C,80:w}),e(Mt,[2,73]),{78:[1,133]},e(Mt,[2,75]),e(Mt,[2,76]),e(T,[2,40]),e(T,[2,41]),e(T,[2,42]),e(T,[2,43]),e(T,[2,44]),e(T,[2,45]),e(T,[2,46]),e(T,[2,47]),e(T,[2,48]),e(T,[2,49]),e(T,[2,50]),e(T,[2,51]),e(T,[2,52]),e(T,[2,53]),e(T,[2,54]),e(T,[2,55]),e(T,[2,56]),e(T,[2,57]),e(T,[2,58]),e(T,[2,60]),e(T,[2,61]),e(T,[2,62]),e(T,[2,63]),e(T,[2,64]),e(T,[2,65]),e(T,[2,66]),e(T,[2,67]),e(T,[2,68]),e(T,[2,69]),e(T,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(vt,[2,28]),e(vt,[2,29]),e(vt,[2,30]),e(vt,[2,31]),e(vt,[2,32]),e(vt,[2,33]),e(vt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(Qt,[2,18]),e(Ct,[2,38]),e(le,[2,72]),e(Mt,[2,74]),e(T,[2,24]),e(T,[2,35]),e(Ht,[2,25]),e(Ht,[2,26],{12:[1,138]}),e(Ht,[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:g(function(x,m){if(m.recoverable)this.trace(x);else{var v=new Error(x);throw v.hash=m,v}},"parseError"),parse:g(function(x){var m=this,v=[0],b=[],R=[null],h=[],Dt=this.table,p="",Et=0,oe=0,we=2,ce=1,Te=h.slice.call(arguments,1),D=Object.create(this.lexer),kt={yy:{}};for(var Gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Gt)&&(kt.yy[Gt]=this.yy[Gt]);D.setInput(x,kt.yy),kt.yy.lexer=D,kt.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Kt=D.yylloc;h.push(Kt);var Oe=D.options&&D.options.ranges;typeof kt.yy.parseError=="function"?this.parseError=kt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Re(L){v.length=v.length-2*L,R.length=R.length-L,h.length=h.length-L}g(Re,"popStack");function he(){var L;return L=b.pop()||D.lex()||ce,typeof L!="number"&&(L instanceof Array&&(b=L,L=b.pop()),L=m.symbols_[L]||L),L}g(he,"lex");for(var I,At,N,Jt,wt={},Nt,W,ue,Yt;;){if(At=v[v.length-1],this.defaultActions[At]?N=this.defaultActions[At]:((I===null||typeof I>"u")&&(I=he()),N=Dt[At]&&Dt[At][I]),typeof N>"u"||!N.length||!N[0]){var Zt="";Yt=[];for(Nt in Dt[At])this.terminals_[Nt]&&Nt>we&&Yt.push("'"+this.terminals_[Nt]+"'");D.showPosition?Zt="Parse error on line "+(Et+1)+`:
2
2
  `+D.showPosition()+`
3
3
  Expecting `+Yt.join(", ")+", got '"+(this.terminals_[I]||I)+"'":Zt="Parse error on line "+(Et+1)+": Unexpected "+(I==ce?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(Zt,{text:D.match,token:this.terminals_[I]||I,line:D.yylineno,loc:Kt,expected:Yt})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+At+", token: "+I);switch(N[0]){case 1:v.push(I),R.push(D.yytext),h.push(D.yylloc),v.push(N[1]),I=null,oe=D.yyleng,p=D.yytext,Et=D.yylineno,Kt=D.yylloc;break;case 2:if(W=this.productions_[N[1]][1],wt.$=R[R.length-W],wt._$={first_line:h[h.length-(W||1)].first_line,last_line:h[h.length-1].last_line,first_column:h[h.length-(W||1)].first_column,last_column:h[h.length-1].last_column},Oe&&(wt._$.range=[h[h.length-(W||1)].range[0],h[h.length-1].range[1]]),Jt=this.performAction.apply(wt,[p,oe,Et,kt.yy,N[1],R,h].concat(Te)),typeof Jt<"u")return Jt;W&&(v=v.slice(0,-1*W*2),R=R.slice(0,-1*W),h=h.slice(0,-1*W)),v.push(this.productions_[N[1]][0]),R.push(wt.$),h.push(wt._$),ue=Dt[v[v.length-2]][v[v.length-1]],v.push(ue);break;case 3:return!0}}return!0},"parse")},Ce=(function(){var _t={EOF:1,parseError:g(function(m,v){if(this.yy.parser)this.yy.parser.parseError(m,v);else throw new Error(m)},"parseError"),setInput:g(function(x,m){return this.yy=m||this.yy||{},this._input=x,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:g(function(){var x=this._input[0];this.yytext+=x,this.yyleng++,this.offset++,this.match+=x,this.matched+=x;var m=x.match(/(?:\r\n?|\n).*/g);return m?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),x},"input"),unput:g(function(x){var m=x.length,v=x.split(/(?:\r\n?|\n)/g);this._input=x+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m),this.offset-=m;var b=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),v.length-1&&(this.yylineno-=v.length-1);var R=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:v?(v.length===b.length?this.yylloc.first_column:0)+b[b.length-v.length].length-v[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[R[0],R[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},"unput"),more:g(function(){return this._more=!0,this},"more"),reject:g(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:g(function(x){this.unput(this.match.slice(x))},"less"),pastInput:g(function(){var x=this.matched.substr(0,this.matched.length-this.match.length);return(x.length>20?"...":"")+x.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:g(function(){var x=this.match;return x.length<20&&(x+=this._input.substr(0,20-x.length)),(x.substr(0,20)+(x.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:g(function(){var x=this.pastInput(),m=new Array(x.length+1).join("-");return x+this.upcomingInput()+`
@@ -0,0 +1 @@
1
+ import{r as _,g as It,j as W,c as Xt,h as fn,i as dn,k as pn,l as gn}from"./renderer.js";function mn(t){return Object.prototype.toString.call(t)==="[object Object]"}function _t(t){return mn(t)||Array.isArray(t)}function hn(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Tt(t,n){const e=Object.keys(t),i=Object.keys(n);if(e.length!==i.length)return!1;const s=JSON.stringify(Object.keys(t.breakpoints||{})),r=JSON.stringify(Object.keys(n.breakpoints||{}));return s!==r?!1:e.every(o=>{const l=t[o],c=n[o];return typeof l=="function"?`${l}`==`${c}`:!_t(l)||!_t(c)?l===c:Tt(l,c)})}function qt(t){return t.concat().sort((n,e)=>n.name>e.name?1:-1).map(n=>n.options)}function yn(t,n){if(t.length!==n.length)return!1;const e=qt(t),i=qt(n);return e.every((s,r)=>{const o=i[r];return Tt(s,o)})}function Pt(t){return typeof t=="number"}function Dt(t){return typeof t=="string"}function xt(t){return typeof t=="boolean"}function Gt(t){return Object.prototype.toString.call(t)==="[object Object]"}function q(t){return Math.abs(t)}function Mt(t){return Math.sign(t)}function pt(t,n){return q(t-n)}function Sn(t,n){if(t===0||n===0||q(t)<=q(n))return 0;const e=pt(q(t),q(n));return q(e/t)}function bn(t){return Math.round(t*100)/100}function gt(t){return mt(t).map(Number)}function st(t){return t[yt(t)]}function yt(t){return Math.max(0,t.length-1)}function At(t,n){return n===yt(t)}function Yt(t,n=0){return Array.from(Array(t),(e,i)=>n+i)}function mt(t){return Object.keys(t)}function Qt(t,n){return[t,n].reduce((e,i)=>(mt(i).forEach(s=>{const r=e[s],o=i[s],l=Gt(r)&&Gt(o);e[s]=l?Qt(r,o):o}),e),{})}function Lt(t,n){return typeof n.MouseEvent<"u"&&t instanceof n.MouseEvent}function xn(t,n){const e={start:i,center:s,end:r};function i(){return 0}function s(c){return r(c)/2}function r(c){return n-c}function o(c,a){return Dt(t)?e[t](c):t(n,c,a)}return{measure:o}}function ht(){let t=[];function n(s,r,o,l={passive:!0}){let c;if("addEventListener"in s)s.addEventListener(r,o,l),c=()=>s.removeEventListener(r,o,l);else{const a=s;a.addListener(o),c=()=>a.removeListener(o)}return t.push(c),i}function e(){t=t.filter(s=>s())}const i={add:n,clear:e};return i}function vn(t,n,e,i){const s=ht(),r=1e3/60;let o=null,l=0,c=0;function a(){s.add(t,"visibilitychange",()=>{t.hidden&&d()})}function y(){v(),s.clear()}function f(h){if(!c)return;o||(o=h,e(),e());const u=h-o;for(o=h,l+=u;l>=r;)e(),l-=r;const S=l/r;i(S),c&&(c=n.requestAnimationFrame(f))}function p(){c||(c=n.requestAnimationFrame(f))}function v(){n.cancelAnimationFrame(c),o=null,l=0,c=0}function d(){o=null,l=0}return{init:a,destroy:y,start:p,stop:v,update:e,render:i}}function En(t,n){const e=n==="rtl",i=t==="y",s=i?"y":"x",r=i?"x":"y",o=!i&&e?-1:1,l=y(),c=f();function a(d){const{height:g,width:h}=d;return i?g:h}function y(){return i?"top":e?"right":"left"}function f(){return i?"bottom":e?"left":"right"}function p(d){return d*o}return{scroll:s,cross:r,startEdge:l,endEdge:c,measureSize:a,direction:p}}function lt(t=0,n=0){const e=q(t-n);function i(a){return a<t}function s(a){return a>n}function r(a){return i(a)||s(a)}function o(a){return r(a)?i(a)?t:n:a}function l(a){return e?a-e*Math.ceil((a-n)/e):a}return{length:e,max:n,min:t,constrain:o,reachedAny:r,reachedMax:s,reachedMin:i,removeOffset:l}}function Jt(t,n,e){const{constrain:i}=lt(0,t),s=t+1;let r=o(n);function o(p){return e?q((s+p)%s):i(p)}function l(){return r}function c(p){return r=o(p),f}function a(p){return y().set(l()+p)}function y(){return Jt(t,l(),e)}const f={get:l,set:c,add:a,clone:y};return f}function On(t,n,e,i,s,r,o,l,c,a,y,f,p,v,d,g,h,u,S){const{cross:E,direction:P}=t,C=["INPUT","SELECT","TEXTAREA"],L={passive:!1},w=ht(),T=ht(),m=lt(50,225).constrain(v.measure(20)),D={mouse:300,touch:400},F={mouse:500,touch:600},U=d?43:25;let Y=!1,b=0,I=0,O=!1,M=!1,A=!1,k=!1;function N(x){if(!S)return;function B(Z){(xt(S)||S(x,Z))&&rt(Z)}const X=n;w.add(X,"dragstart",Z=>Z.preventDefault(),L).add(X,"touchmove",()=>{},L).add(X,"touchend",()=>{}).add(X,"touchstart",B).add(X,"mousedown",B).add(X,"touchcancel",K).add(X,"contextmenu",K).add(X,"click",tt,!0)}function j(){w.clear(),T.clear()}function R(){const x=k?e:n;T.add(x,"touchmove",Q,L).add(x,"touchend",K).add(x,"mousemove",Q,L).add(x,"mouseup",K)}function z(x){const B=x.nodeName||"";return C.includes(B)}function H(){return(d?F:D)[k?"mouse":"touch"]}function nt(x,B){const X=f.add(Mt(x)*-1),Z=y.byDistance(x,!d).distance;return d||q(x)<m?Z:h&&B?Z*.5:y.byIndex(X.get(),0).distance}function rt(x){const B=Lt(x,i);k=B,A=d&&B&&!x.buttons&&Y,Y=pt(s.get(),o.get())>=2,!(B&&x.button!==0)&&(z(x.target)||(O=!0,r.pointerDown(x),a.useFriction(0).useDuration(0),s.set(o),R(),b=r.readPoint(x),I=r.readPoint(x,E),p.emit("pointerDown")))}function Q(x){if(!Lt(x,i)&&x.touches.length>=2)return K(x);const X=r.readPoint(x),Z=r.readPoint(x,E),et=pt(X,b),ot=pt(Z,I);if(!M&&!k&&(!x.cancelable||(M=et>ot,!M)))return K(x);const V=r.pointerMove(x);et>g&&(A=!0),a.useFriction(.3).useDuration(.75),l.start(),s.add(P(V)),x.preventDefault()}function K(x){const X=y.byDistance(0,!1).index!==f.get(),Z=r.pointerUp(x)*H(),et=nt(P(Z),X),ot=Sn(Z,et),V=U-10*ot,G=u+ot/50;M=!1,O=!1,T.clear(),a.useDuration(V).useFriction(G),c.distance(et,!d),k=!1,p.emit("pointerUp")}function tt(x){A&&(x.stopPropagation(),x.preventDefault(),A=!1)}function J(){return O}return{init:N,destroy:j,pointerDown:J}}function In(t,n){let i,s;function r(f){return f.timeStamp}function o(f,p){const d=`client${(p||t.scroll)==="x"?"X":"Y"}`;return(Lt(f,n)?f:f.touches[0])[d]}function l(f){return i=f,s=f,o(f)}function c(f){const p=o(f)-o(s),v=r(f)-r(i)>170;return s=f,v&&(i=f),p}function a(f){if(!i||!s)return 0;const p=o(s)-o(i),v=r(f)-r(i),d=r(f)-r(s)>170,g=p/v;return v&&!d&&q(g)>.1?g:0}return{pointerDown:l,pointerMove:c,pointerUp:a,readPoint:o}}function wn(){function t(e){const{offsetTop:i,offsetLeft:s,offsetWidth:r,offsetHeight:o}=e;return{top:i,right:s+r,bottom:i+o,left:s,width:r,height:o}}return{measure:t}}function Dn(t){function n(i){return t*(i/100)}return{measure:n}}function Ln(t,n,e,i,s,r,o){const l=[t].concat(i);let c,a,y=[],f=!1;function p(h){return s.measureSize(o.measure(h))}function v(h){if(!r)return;a=p(t),y=i.map(p);function u(S){for(const E of S){if(f)return;const P=E.target===t,C=i.indexOf(E.target),L=P?a:y[C],w=p(P?t:i[C]);if(q(w-L)>=.5){h.reInit(),n.emit("resize");break}}}c=new ResizeObserver(S=>{(xt(r)||r(h,S))&&u(S)}),e.requestAnimationFrame(()=>{l.forEach(S=>c.observe(S))})}function d(){f=!0,c&&c.disconnect()}return{init:v,destroy:d}}function Tn(t,n,e,i,s,r){let o=0,l=0,c=s,a=r,y=t.get(),f=0;function p(){const L=i.get()-t.get(),w=!c;let T=0;return w?(o=0,e.set(i),t.set(i),T=L):(e.set(t),o+=L/c,o*=a,y+=o,t.add(o),T=y-f),l=Mt(T),f=y,C}function v(){const L=i.get()-n.get();return q(L)<.001}function d(){return c}function g(){return l}function h(){return o}function u(){return E(s)}function S(){return P(r)}function E(L){return c=L,C}function P(L){return a=L,C}const C={direction:g,duration:d,velocity:h,seek:p,settled:v,useBaseFriction:S,useBaseDuration:u,useFriction:P,useDuration:E};return C}function Pn(t,n,e,i,s){const r=s.measure(10),o=s.measure(50),l=lt(.1,.99);let c=!1;function a(){return!(c||!t.reachedAny(e.get())||!t.reachedAny(n.get()))}function y(v){if(!a())return;const d=t.reachedMin(n.get())?"min":"max",g=q(t[d]-n.get()),h=e.get()-n.get(),u=l.constrain(g/o);e.subtract(h*u),!v&&q(h)<r&&(e.set(t.constrain(e.get())),i.useDuration(25).useBaseFriction())}function f(v){c=!v}return{shouldConstrain:a,constrain:y,toggleActive:f}}function Mn(t,n,e,i,s){const r=lt(-n+t,0),o=f(),l=y(),c=p();function a(d,g){return pt(d,g)<=1}function y(){const d=o[0],g=st(o),h=o.lastIndexOf(d),u=o.indexOf(g)+1;return lt(h,u)}function f(){return e.map((d,g)=>{const{min:h,max:u}=r,S=r.constrain(d),E=!g,P=At(e,g);return E?u:P||a(h,S)?h:a(u,S)?u:S}).map(d=>parseFloat(d.toFixed(3)))}function p(){if(n<=t+s)return[r.max];if(i==="keepSnaps")return o;const{min:d,max:g}=l;return o.slice(d,g)}return{snapsContained:c,scrollContainLimit:l}}function An(t,n,e){const i=n[0],s=e?i-t:st(n);return{limit:lt(s,i)}}function Fn(t,n,e,i){const r=n.min+.1,o=n.max+.1,{reachedMin:l,reachedMax:c}=lt(r,o);function a(p){return p===1?c(e.get()):p===-1?l(e.get()):!1}function y(p){if(!a(p))return;const v=t*(p*-1);i.forEach(d=>d.add(v))}return{loop:y}}function Cn(t){const{max:n,length:e}=t;function i(r){const o=r-n;return e?o/-e:0}return{get:i}}function kn(t,n,e,i,s){const{startEdge:r,endEdge:o}=t,{groupSlides:l}=s,c=f().map(n.measure),a=p(),y=v();function f(){return l(i).map(g=>st(g)[o]-g[0][r]).map(q)}function p(){return i.map(g=>e[r]-g[r]).map(g=>-q(g))}function v(){return l(a).map(g=>g[0]).map((g,h)=>g+c[h])}return{snaps:a,snapsAligned:y}}function Nn(t,n,e,i,s,r){const{groupSlides:o}=s,{min:l,max:c}=i,a=y();function y(){const p=o(r),v=!t||n==="keepSnaps";return e.length===1?[r]:v?p:p.slice(l,c).map((d,g,h)=>{const u=!g,S=At(h,g);if(u){const E=st(h[0])+1;return Yt(E)}if(S){const E=yt(r)-st(h)[0]+1;return Yt(E,st(h)[0])}return d})}return{slideRegistry:a}}function Bn(t,n,e,i,s){const{reachedAny:r,removeOffset:o,constrain:l}=i;function c(d){return d.concat().sort((g,h)=>q(g)-q(h))[0]}function a(d){const g=t?o(d):l(d),h=n.map((S,E)=>({diff:y(S-g,0),index:E})).sort((S,E)=>q(S.diff)-q(E.diff)),{index:u}=h[0];return{index:u,distance:g}}function y(d,g){const h=[d,d+e,d-e];if(!t)return d;if(!g)return c(h);const u=h.filter(S=>Mt(S)===g);return u.length?c(u):st(h)-e}function f(d,g){const h=n[d]-s.get(),u=y(h,g);return{index:d,distance:u}}function p(d,g){const h=s.get()+d,{index:u,distance:S}=a(h),E=!t&&r(h);if(!g||E)return{index:u,distance:d};const P=n[u]-S,C=d+y(P,0);return{index:u,distance:C}}return{byDistance:p,byIndex:f,shortcut:y}}function jn(t,n,e,i,s,r,o){function l(f){const p=f.distance,v=f.index!==n.get();r.add(p),p&&(i.duration()?t.start():(t.update(),t.render(1),t.update())),v&&(e.set(n.get()),n.set(f.index),o.emit("select"))}function c(f,p){const v=s.byDistance(f,p);l(v)}function a(f,p){const v=n.clone().set(f),d=s.byIndex(v.get(),p);l(d)}return{distance:c,index:a}}function Rn(t,n,e,i,s,r,o,l){const c={passive:!0,capture:!0};let a=0;function y(v){if(!l)return;function d(g){if(new Date().getTime()-a>10)return;o.emit("slideFocusStart"),t.scrollLeft=0;const S=e.findIndex(E=>E.includes(g));Pt(S)&&(s.useDuration(0),i.index(S,0),o.emit("slideFocus"))}r.add(document,"keydown",f,!1),n.forEach((g,h)=>{r.add(g,"focus",u=>{(xt(l)||l(v,u))&&d(h)},c)})}function f(v){v.code==="Tab"&&(a=new Date().getTime())}return{init:y}}function dt(t){let n=t;function e(){return n}function i(c){n=o(c)}function s(c){n+=o(c)}function r(c){n-=o(c)}function o(c){return Pt(c)?c:c.get()}return{get:e,set:i,add:s,subtract:r}}function Zt(t,n){const e=t.scroll==="x"?o:l,i=n.style;let s=null,r=!1;function o(p){return`translate3d(${p}px,0px,0px)`}function l(p){return`translate3d(0px,${p}px,0px)`}function c(p){if(r)return;const v=bn(t.direction(p));v!==s&&(i.transform=e(v),s=v)}function a(p){r=!p}function y(){r||(i.transform="",n.getAttribute("style")||n.removeAttribute("style"))}return{clear:y,to:c,toggleActive:a}}function zn(t,n,e,i,s,r,o,l,c){const y=gt(s),f=gt(s).reverse(),p=u().concat(S());function v(w,T){return w.reduce((m,D)=>m-s[D],T)}function d(w,T){return w.reduce((m,D)=>v(m,T)>0?m.concat([D]):m,[])}function g(w){return r.map((T,m)=>({start:T-i[m]+.5+w,end:T+n-.5+w}))}function h(w,T,m){const D=g(T);return w.map(F=>{const U=m?0:-e,Y=m?e:0,b=m?"end":"start",I=D[F][b];return{index:F,loopPoint:I,slideLocation:dt(-1),translate:Zt(t,c[F]),target:()=>l.get()>I?U:Y}})}function u(){const w=o[0],T=d(f,w);return h(T,e,!1)}function S(){const w=n-o[0]-1,T=d(y,w);return h(T,-e,!0)}function E(){return p.every(({index:w})=>{const T=y.filter(m=>m!==w);return v(T,n)<=.1})}function P(){p.forEach(w=>{const{target:T,translate:m,slideLocation:D}=w,F=T();F!==D.get()&&(m.to(F),D.set(F))})}function C(){p.forEach(w=>w.translate.clear())}return{canLoop:E,clear:C,loop:P,loopPoints:p}}function Un(t,n,e){let i,s=!1;function r(c){if(!e)return;function a(y){for(const f of y)if(f.type==="childList"){c.reInit(),n.emit("slidesChanged");break}}i=new MutationObserver(y=>{s||(xt(e)||e(c,y))&&a(y)}),i.observe(t,{childList:!0})}function o(){i&&i.disconnect(),s=!0}return{init:r,destroy:o}}function $n(t,n,e,i){const s={};let r=null,o=null,l,c=!1;function a(){l=new IntersectionObserver(d=>{c||(d.forEach(g=>{const h=n.indexOf(g.target);s[h]=g}),r=null,o=null,e.emit("slidesInView"))},{root:t.parentElement,threshold:i}),n.forEach(d=>l.observe(d))}function y(){l&&l.disconnect(),c=!0}function f(d){return mt(s).reduce((g,h)=>{const u=parseInt(h),{isIntersecting:S}=s[u];return(d&&S||!d&&!S)&&g.push(u),g},[])}function p(d=!0){if(d&&r)return r;if(!d&&o)return o;const g=f(d);return d&&(r=g),d||(o=g),g}return{init:a,destroy:y,get:p}}function Hn(t,n,e,i,s,r){const{measureSize:o,startEdge:l,endEdge:c}=t,a=e[0]&&s,y=d(),f=g(),p=e.map(o),v=h();function d(){if(!a)return 0;const S=e[0];return q(n[l]-S[l])}function g(){if(!a)return 0;const S=r.getComputedStyle(st(i));return parseFloat(S.getPropertyValue(`margin-${c}`))}function h(){return e.map((S,E,P)=>{const C=!E,L=At(P,E);return C?p[E]+y:L?p[E]+f:P[E+1][l]-S[l]}).map(q)}return{slideSizes:p,slideSizesWithGaps:v,startGap:y,endGap:f}}function Vn(t,n,e,i,s,r,o,l,c){const{startEdge:a,endEdge:y,direction:f}=t,p=Pt(e);function v(u,S){return gt(u).filter(E=>E%S===0).map(E=>u.slice(E,E+S))}function d(u){return u.length?gt(u).reduce((S,E,P)=>{const C=st(S)||0,L=C===0,w=E===yt(u),T=s[a]-r[C][a],m=s[a]-r[E][y],D=!i&&L?f(o):0,F=!i&&w?f(l):0,U=q(m-F-(T+D));return P&&U>n+c&&S.push(E),w&&S.push(u.length),S},[]).map((S,E,P)=>{const C=Math.max(P[E-1]||0);return u.slice(C,S)}):[]}function g(u){return p?v(u,e):d(u)}return{groupSlides:g}}function _n(t,n,e,i,s,r,o){const{align:l,axis:c,direction:a,startIndex:y,loop:f,duration:p,dragFree:v,dragThreshold:d,inViewThreshold:g,slidesToScroll:h,skipSnaps:u,containScroll:S,watchResize:E,watchSlides:P,watchDrag:C,watchFocus:L}=r,w=2,T=wn(),m=T.measure(n),D=e.map(T.measure),F=En(c,a),U=F.measureSize(m),Y=Dn(U),b=xn(l,U),I=!f&&!!S,O=f||!!S,{slideSizes:M,slideSizesWithGaps:A,startGap:k,endGap:N}=Hn(F,m,D,e,O,s),j=Vn(F,U,h,f,m,D,k,N,w),{snaps:R,snapsAligned:z}=kn(F,b,m,D,j),H=-st(R)+st(A),{snapsContained:nt,scrollContainLimit:rt}=Mn(U,H,z,S,w),Q=I?nt:z,{limit:K}=An(H,Q,f),tt=Jt(yt(Q),y,f),J=tt.clone(),$=gt(e),x=({dragHandler:at,scrollBody:Et,scrollBounds:Ot,options:{loop:St}})=>{St||Ot.constrain(at.pointerDown()),Et.seek()},B=({scrollBody:at,translate:Et,location:Ot,offsetLocation:St,previousLocation:en,scrollLooper:on,slideLooper:sn,dragHandler:rn,animation:cn,eventHandler:Rt,scrollBounds:ln,options:{loop:zt}},Ut)=>{const $t=at.settled(),an=!ln.shouldConstrain(),Ht=zt?$t:$t&&an,Vt=Ht&&!rn.pointerDown();Vt&&cn.stop();const un=Ot.get()*Ut+en.get()*(1-Ut);St.set(un),zt&&(on.loop(at.direction()),sn.loop()),Et.to(St.get()),Vt&&Rt.emit("settle"),Ht||Rt.emit("scroll")},X=vn(i,s,()=>x(vt),at=>B(vt,at)),Z=.68,et=Q[tt.get()],ot=dt(et),V=dt(et),G=dt(et),it=dt(et),ct=Tn(ot,G,V,it,p,Z),ut=Bn(f,Q,H,K,it),ft=jn(X,tt,J,ct,ut,it,o),Nt=Cn(K),Bt=ht(),tn=$n(n,e,o,g),{slideRegistry:jt}=Nn(I,S,Q,rt,j,$),nn=Rn(t,e,jt,ft,ct,Bt,o,L),vt={ownerDocument:i,ownerWindow:s,eventHandler:o,containerRect:m,slideRects:D,animation:X,axis:F,dragHandler:On(F,t,i,s,it,In(F,s),ot,X,ft,ct,ut,tt,o,Y,v,d,u,Z,C),eventStore:Bt,percentOfView:Y,index:tt,indexPrevious:J,limit:K,location:ot,offsetLocation:G,previousLocation:V,options:r,resizeHandler:Ln(n,o,s,e,F,E,T),scrollBody:ct,scrollBounds:Pn(K,G,it,ct,Y),scrollLooper:Fn(H,K,G,[ot,G,V,it]),scrollProgress:Nt,scrollSnapList:Q.map(Nt.get),scrollSnaps:Q,scrollTarget:ut,scrollTo:ft,slideLooper:zn(F,U,H,M,A,R,Q,G,e),slideFocus:nn,slidesHandler:Un(n,o,P),slidesInView:tn,slideIndexes:$,slideRegistry:jt,slidesToScroll:j,target:it,translate:Zt(F,n)};return vt}function qn(){let t={},n;function e(a){n=a}function i(a){return t[a]||[]}function s(a){return i(a).forEach(y=>y(n,a)),c}function r(a,y){return t[a]=i(a).concat([y]),c}function o(a,y){return t[a]=i(a).filter(f=>f!==y),c}function l(){t={}}const c={init:e,emit:s,off:o,on:r,clear:l};return c}const Gn={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function Yn(t){function n(r,o){return Qt(r,o||{})}function e(r){const o=r.breakpoints||{},l=mt(o).filter(c=>t.matchMedia(c).matches).map(c=>o[c]).reduce((c,a)=>n(c,a),{});return n(r,l)}function i(r){return r.map(o=>mt(o.breakpoints||{})).reduce((o,l)=>o.concat(l),[]).map(t.matchMedia)}return{mergeOptions:n,optionsAtMedia:e,optionsMediaQueries:i}}function Kn(t){let n=[];function e(r,o){return n=o.filter(({options:l})=>t.optionsAtMedia(l).active!==!1),n.forEach(l=>l.init(r,t)),o.reduce((l,c)=>Object.assign(l,{[c.name]:c}),{})}function i(){n=n.filter(r=>r.destroy())}return{init:e,destroy:i}}function bt(t,n,e){const i=t.ownerDocument,s=i.defaultView,r=Yn(s),o=Kn(r),l=ht(),c=qn(),{mergeOptions:a,optionsAtMedia:y,optionsMediaQueries:f}=r,{on:p,off:v,emit:d}=c,g=F;let h=!1,u,S=a(Gn,bt.globalOptions),E=a(S),P=[],C,L,w;function T(){const{container:$,slides:x}=E;L=(Dt($)?t.querySelector($):$)||t.children[0];const X=Dt(x)?L.querySelectorAll(x):x;w=[].slice.call(X||L.children)}function m($){const x=_n(t,L,w,i,s,$,c);if($.loop&&!x.slideLooper.canLoop()){const B=Object.assign({},$,{loop:!1});return m(B)}return x}function D($,x){h||(S=a(S,$),E=y(S),P=x||P,T(),u=m(E),f([S,...P.map(({options:B})=>B)]).forEach(B=>l.add(B,"change",F)),E.active&&(u.translate.to(u.location.get()),u.animation.init(),u.slidesInView.init(),u.slideFocus.init(J),u.eventHandler.init(J),u.resizeHandler.init(J),u.slidesHandler.init(J),u.options.loop&&u.slideLooper.loop(),L.offsetParent&&w.length&&u.dragHandler.init(J),C=o.init(J,P)))}function F($,x){const B=j();U(),D(a({startIndex:B},$),x),c.emit("reInit")}function U(){u.dragHandler.destroy(),u.eventStore.clear(),u.translate.clear(),u.slideLooper.clear(),u.resizeHandler.destroy(),u.slidesHandler.destroy(),u.slidesInView.destroy(),u.animation.destroy(),o.destroy(),l.clear()}function Y(){h||(h=!0,l.clear(),U(),c.emit("destroy"),c.clear())}function b($,x,B){!E.active||h||(u.scrollBody.useBaseFriction().useDuration(x===!0?0:E.duration),u.scrollTo.index($,B||0))}function I($){const x=u.index.add(1).get();b(x,$,-1)}function O($){const x=u.index.add(-1).get();b(x,$,1)}function M(){return u.index.add(1).get()!==j()}function A(){return u.index.add(-1).get()!==j()}function k(){return u.scrollSnapList}function N(){return u.scrollProgress.get(u.offsetLocation.get())}function j(){return u.index.get()}function R(){return u.indexPrevious.get()}function z(){return u.slidesInView.get()}function H(){return u.slidesInView.get(!1)}function nt(){return C}function rt(){return u}function Q(){return t}function K(){return L}function tt(){return w}const J={canScrollNext:M,canScrollPrev:A,containerNode:K,internalEngine:rt,destroy:Y,off:v,on:p,emit:d,plugins:nt,previousScrollSnap:R,reInit:g,rootNode:Q,scrollNext:I,scrollPrev:O,scrollProgress:N,scrollSnapList:k,scrollTo:b,selectedScrollSnap:j,slideNodes:tt,slidesInView:z,slidesNotInView:H};return D(n,e),setTimeout(()=>c.emit("init"),0),J}bt.globalOptions=void 0;function Ft(t={},n=[]){const e=_.useRef(t),i=_.useRef(n),[s,r]=_.useState(),[o,l]=_.useState(),c=_.useCallback(()=>{s&&s.reInit(e.current,i.current)},[s]);return _.useEffect(()=>{Tt(e.current,t)||(e.current=t,c())},[t,c]),_.useEffect(()=>{yn(i.current,n)||(i.current=n,c())},[n,c]),_.useEffect(()=>{if(hn()&&o){bt.globalOptions=Ft.globalOptions;const a=bt(o,e.current,i.current);return r(a),()=>a.destroy()}else r(void 0)},[o,r]),[l,s]}Ft.globalOptions=void 0;const Xn={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function Qn(t,n){const e=t.scrollSnapList();return typeof n=="number"?e.map(()=>n):n(e,t)}function Jn(t,n){const e=t.rootNode();return n&&n(e)||e}function Ct(t={}){let n,e,i,s,r=null,o=0,l=!1,c=!1,a=!1,y=!1;function f(b,I){e=b;const{mergeOptions:O,optionsAtMedia:M}=I,A=O(Xn,Ct.globalOptions),k=O(A,t);if(n=M(k),e.scrollSnapList().length<=1)return;y=n.jump,i=!1,s=Qn(e,n.delay);const{eventStore:N,ownerDocument:j}=e.internalEngine(),R=!!e.internalEngine().options.watchDrag,z=Jn(e,n.rootNode);N.add(j,"visibilitychange",u),R&&e.on("pointerDown",E),R&&!n.stopOnInteraction&&e.on("pointerUp",P),n.stopOnMouseEnter&&N.add(z,"mouseenter",C),n.stopOnMouseEnter&&!n.stopOnInteraction&&N.add(z,"mouseleave",L),n.stopOnFocusIn&&e.on("slideFocusStart",h),n.stopOnFocusIn&&!n.stopOnInteraction&&N.add(e.containerNode(),"focusout",g),n.playOnInit&&g()}function p(){e.off("pointerDown",E).off("pointerUp",P).off("slideFocusStart",h),h(),i=!0,l=!1}function v(){const{ownerWindow:b}=e.internalEngine();b.clearTimeout(o),o=b.setTimeout(F,s[e.selectedScrollSnap()]),r=new Date().getTime(),e.emit("autoplay:timerset")}function d(){const{ownerWindow:b}=e.internalEngine();b.clearTimeout(o),o=0,r=null,e.emit("autoplay:timerstopped")}function g(){if(!i){if(S()){a=!0;return}l||e.emit("autoplay:play"),v(),l=!0}}function h(){i||(l&&e.emit("autoplay:stop"),d(),l=!1)}function u(){if(S())return a=l,h();a&&g()}function S(){const{ownerDocument:b}=e.internalEngine();return b.visibilityState==="hidden"}function E(){c||h()}function P(){c||g()}function C(){c=!0,h()}function L(){c=!1,g()}function w(b){typeof b<"u"&&(y=b),g()}function T(){l&&h()}function m(){l&&g()}function D(){return l}function F(){const{index:b}=e.internalEngine(),I=b.clone().add(1).get(),O=e.scrollSnapList().length-1,M=n.stopOnLastSnap&&I===O;if(e.canScrollNext()?e.scrollNext(y):e.scrollTo(0,y),e.emit("autoplay:select"),M)return h();g()}function U(){if(!r)return null;const b=s[e.selectedScrollSnap()],I=new Date().getTime()-r;return b-I}return{name:"autoplay",options:t,init:f,destroy:p,play:w,stop:T,reset:m,isPlaying:D,timeUntilNext:U}}Ct.globalOptions=void 0;const Zn={direction:"forward",speed:2,startDelay:1e3,active:!0,breakpoints:{},playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,rootNode:null};function Wn(t,n){const e=t.rootNode();return n&&n(e)||e}function kt(t={}){let n,e,i,s,r=0,o=!1,l=!1,c;function a(m,D){e=m;const{mergeOptions:F,optionsAtMedia:U}=D,Y=F(Zn,kt.globalOptions),b=F(Y,t);if(n=U(b),e.scrollSnapList().length<=1)return;s=n.startDelay,i=!1,c=e.internalEngine().scrollBody;const{eventStore:I}=e.internalEngine(),O=!!e.internalEngine().options.watchDrag,M=Wn(e,n.rootNode);O&&e.on("pointerDown",d),O&&!n.stopOnInteraction&&e.on("pointerUp",g),n.stopOnMouseEnter&&I.add(M,"mouseenter",h),n.stopOnMouseEnter&&!n.stopOnInteraction&&I.add(M,"mouseleave",u),n.stopOnFocusIn&&e.on("slideFocusStart",p),n.stopOnFocusIn&&!n.stopOnInteraction&&I.add(e.containerNode(),"focusout",f),n.playOnInit&&f()}function y(){e.off("pointerDown",d).off("pointerUp",g).off("slideFocusStart",p).off("settle",S),p(),i=!0,o=!1}function f(){if(i||o)return;e.emit("autoScroll:play");const m=e.internalEngine(),{ownerWindow:D}=m;r=D.setTimeout(()=>{m.scrollBody=v(m),m.animation.start()},s),o=!0}function p(){if(i||!o)return;e.emit("autoScroll:stop");const m=e.internalEngine(),{ownerWindow:D}=m;m.scrollBody=c,D.clearTimeout(r),r=0,o=!1}function v(m){const{location:D,previousLocation:F,offsetLocation:U,target:Y,scrollTarget:b,index:I,indexPrevious:O,limit:{reachedMin:M,reachedMax:A,constrain:k},options:{loop:N}}=m,j=n.direction==="forward"?-1:1,R=()=>tt;let z=0,H=0,nt=D.get(),rt=0,Q=!1;function K(){let J=0;F.set(D),z=j*n.speed,nt+=z,D.add(z),Y.set(D),J=nt-rt,H=Math.sign(J),rt=nt;const $=b.byDistance(0,!1).index;I.get()!==$&&(O.set(I.get()),I.set($),e.emit("select"));const x=n.direction==="forward"?M(U.get()):A(U.get());if(!N&&x){Q=!0;const B=k(D.get());D.set(B),Y.set(D),p()}return tt}const tt={direction:()=>H,duration:()=>-1,velocity:()=>z,settled:()=>Q,seek:K,useBaseFriction:R,useBaseDuration:R,useFriction:R,useDuration:R};return tt}function d(){l||p()}function g(){l||E()}function h(){l=!0,p()}function u(){l=!1,f()}function S(){e.off("settle",S),f()}function E(){e.on("settle",S)}function P(m){typeof m<"u"&&(s=m),f()}function C(){o&&p()}function L(){o&&(p(),E())}function w(){return o}return{name:"autoScroll",options:t,init:a,destroy:y,play:P,stop:C,reset:L,isPlaying:w}}kt.globalOptions=void 0;function Kt(t,n,e){return Math.min(Math.max(t,n),e)}function wt(t){return typeof t=="number"&&!isNaN(t)}function Wt(t={}){let s,r=[],o,l=0,c=0,a=0,y=!1,f,p;function v(b){s=b;const I=s.selectedScrollSnap(),{scrollBody:O,containerRect:M,axis:A}=s.internalEngine(),k=A.measureSize(M);o=Kt(k*.75,200,500),y=!1,r=s.scrollSnapList().map((N,j)=>j===I?1:0),f=O.settled,p=s.scrollProgress,O.settled=F,s.scrollProgress=U,s.on("select",S).on("slideFocus",g).on("pointerDown",u).on("pointerUp",h),P(),g()}function d(){const{scrollBody:b}=s.internalEngine();b.settled=f,s.scrollProgress=p,s.off("select",S).off("slideFocus",g).off("pointerDown",u).off("pointerUp",h),s.slideNodes().forEach(I=>{const O=I.style;O.opacity="",O.transform="",O.pointerEvents="",I.getAttribute("style")||I.removeAttribute("style")})}function g(){const b=s.selectedScrollSnap();L(b,1)}function h(){y=!1}function u(){y=!1,l=0,c=0}function S(){const b=s.internalEngine().scrollBody.duration();c=b?0:1,y=!0,b||g()}function E(b){const{axis:I}=s.internalEngine();return`translate${I.scroll.toUpperCase()}(${I.direction(b)}px)`}function P(){const{translate:b,slideLooper:I}=s.internalEngine();b.clear(),b.toggleActive(!1),I.loopPoints.forEach(({translate:O})=>{O.clear(),O.toggleActive(!1)})}function C(b){const{scrollSnaps:I,location:O,target:M}=s.internalEngine();!wt(b)||r[b]<.5||(O.set(I[b]),M.set(O))}function L(b,I){s.scrollSnapList().forEach((M,A)=>{const k=Math.abs(I),N=r[A],j=A===b,R=j?N+k:N-k,z=Kt(R,0,1);r[A]=z;const H=j&&y,nt=s.previousScrollSnap();H&&(r[nt]=1-z),j&&T(b,z),w(A)})}function w(b){const I=s.internalEngine().slideRegistry[b],{scrollSnaps:O,containerRect:M}=s.internalEngine(),A=r[b];I.forEach(k=>{const N=s.slideNodes()[k].style,j=parseFloat(A.toFixed(2)),R=j>0,z=R?O[b]:M.width+2,H=E(z);R&&(N.transform=H),N.opacity=j.toString(),N.pointerEvents=A>.5?"auto":"none",R||(N.transform=H)})}function T(b,I){const{index:O,dragHandler:M,scrollSnaps:A}=s.internalEngine(),k=M.pointerDown(),N=1/(A.length-1);let j=b,R=k?s.selectedScrollSnap():s.previousScrollSnap();if(k&&j===R){const nt=Math.sign(l)*-1;j=R,R=O.clone().set(R).add(nt).get()}const z=R*N,H=(j-R)*N;a=z+H*I}function m(){const{dragHandler:b,index:I,scrollBody:O}=s.internalEngine(),M=s.selectedScrollSnap();if(!b.pointerDown())return M;const A=Math.sign(O.velocity()),k=Math.sign(l),N=I.clone().set(M).add(A*-1).get();return!A||!k?null:k===A?N:M}function D(b){const{dragHandler:I,scrollBody:O}=b.internalEngine(),M=I.pointerDown(),A=O.velocity(),k=O.duration(),N=m(),j=!wt(N);if(M){if(!A)return;l+=A,c=Math.abs(A/o),C(N)}if(!M){if(!k||j)return;c+=(1-r[N])/k,c*=.68}j||L(N,c)}function F(){const{target:b,location:I}=s.internalEngine(),O=b.get()-I.get(),M=Math.abs(O)>=1,A=m(),k=!wt(A);return D(s),k||M?!1:r[A]>.999}function U(){return a}return{name:"fade",options:t,init:v,destroy:d}}Wt.globalOptions=void 0;function te(t,n,e){return e==="fade"?1:t!==void 0?t:n?null:1}function ne(t,n,e){return n==="fade"&&e===1?0:t}function ee({loop:t,continuous:n,visibleCount:e,childCount:i}){if(!t||n||e==null||e<=1||i<=0)return 1;const s=Math.ceil(e)+1;return i>=s?1:Math.ceil(s/i)}function oe(t,n){const[e,i]=_.useState(void 0);return[_.useCallback(r=>{if(!r||!t||n!=null)return;const o=r.firstElementChild;o&&o.offsetHeight>0?i(o.offsetHeight):requestAnimationFrame(()=>{const l=r.firstElementChild;l&&l.offsetHeight>0&&i(l.offsetHeight)})},[t,n]),n??e]}function ie({visible:t,gap:n=0,height:e,direction:i="left",loop:s=!0,autoAdvance:r=0,continuous:o=!1,speed:l=2,effect:c="slide",dimInactive:a=!1,showControls:y=!0,controlsPosition:f="outside",showDots:p=!1,pauseOnHover:v=!0,align:d="start",slidesToScroll:g=1,drag:h=!0,className:u,cssClass:S,children:E}){const P=i==="up"||i==="down",C=te(t,o,c),L=_.Children.toArray(E).filter(O=>O!=null&&O!==""),[w,T]=oe(P,e),m=!P||T!=null,D=C!=null&&C>0?C:null,F=ne(n,c,D),U=F>0?F/2:0,Y=D!=null?P&&T!=null?`${T/D}px`:`${100/D}%`:void 0;let b=L;if(s&&o)b=[...L,...L.map((O,M)=>It.cloneElement(O,{key:`dup1-${M}`})),...L.map((O,M)=>It.cloneElement(O,{key:`dup2-${M}`}))];else if(s&&D!=null&&D>1&&L.length>0){const O=ee({loop:s,continuous:o,visibleCount:D,childCount:L.length});O>1&&(b=Array.from({length:O},(M,A)=>L.map((k,N)=>It.cloneElement(k,{key:`loopdup-${A}-${N}`}))).flat())}const I=L.length;return m?W.jsx(se,{isVertical:P,effectiveHeight:T,validChildren:b,realSlideCount:I,slideBasis:Y,halfGap:U,loop:s,align:d,slidesToScroll:g,continuous:o,drag:h,effect:c,autoAdvance:r,speed:l,direction:i,pauseOnHover:v,dimInactive:a,showControls:y,controlsPosition:f,showDots:p,className:u,cssClass:S}):W.jsx("div",{ref:w,className:Xt(u,S),style:{overflow:"hidden",height:0,position:"relative"},children:L[0]})}function se({isVertical:t,effectiveHeight:n,validChildren:e,realSlideCount:i,slideBasis:s,halfGap:r,loop:o,align:l,slidesToScroll:c,continuous:a,drag:y,effect:f,autoAdvance:p,speed:v,direction:d,pauseOnHover:g,dimInactive:h,showControls:u,controlsPosition:S,showDots:E,className:P,cssClass:C}){const L={axis:t?"y":"x",loop:o,align:l,slidesToScroll:c,dragFree:a,watchDrag:y},w=[];f==="fade"&&w.push(Wt()),a?w.push(kt({speed:v,direction:d==="right"||d==="down"?"backward":"forward",playOnInit:!0,stopOnMouseEnter:g,stopOnInteraction:!1})):p>0&&w.push(Ct({delay:p,playOnInit:!0,stopOnMouseEnter:g,stopOnInteraction:!1}));const[T,m]=Ft(L,w);_.useEffect(()=>{if(!m)return;const V=window;V.__emblaDebug||(V.__emblaDebug=[]),V.__emblaDebug.push(m),console.log("[Carousel] init axis="+(t?"y":"x")+" snaps="+m.scrollSnapList().length+" canNext="+m.canScrollNext()+" canPrev="+m.canScrollPrev()+" slides="+m.slideNodes().length)},[m]);const[D,F]=_.useState(!1),[U,Y]=_.useState(!1),[b,I]=_.useState(0),[O,M]=_.useState(0),[A,k]=_.useState([]),N=_.useCallback(()=>m==null?void 0:m.scrollPrev(),[m]),j=_.useCallback(()=>m==null?void 0:m.scrollNext(),[m]),R=_.useCallback(V=>m==null?void 0:m.scrollTo(V),[m]),z=_.useCallback(()=>{if(!m)return;F(m.canScrollPrev()),Y(m.canScrollNext());const V=m.selectedScrollSnap();I(i>0?V%i:V)},[m,i]),H=_.useCallback(V=>{const G=V.scrollProgress(),ct=V.scrollSnapList().map(ut=>{const ft=Math.abs(G-ut);return Math.max(.3,1-ft*2)});k(ct)},[]);_.useEffect(()=>{if(m)return M(i),z(),m.on("select",z),m.on("reInit",z),h&&(H(m),m.on("scroll",H),m.on("reInit",H)),()=>{m.off("select",z),m.off("reInit",z),h&&(m.off("scroll",H),m.off("reInit",H))}},[m,z,h,H,i]);const nt=t?fn:dn,rt=t?pn:gn,Q=u&&!a,K=S==="outside",tt=E&&O>1,J=tt&&t,$=tt&&!t,x=32,B=x+8,Z={position:"relative",...Q&&K?t?{paddingTop:B,paddingBottom:B}:{paddingLeft:B,paddingRight:B}:{},...J?{paddingRight:20}:{}},et=K?t?{top:0,left:"50%",transform:"translateX(-50%)"}:{left:0,top:"50%",transform:"translateY(-50%)"}:t?{top:8,right:8}:{left:8,top:"50%",transform:"translateY(-50%)"},ot=K?t?{bottom:0,left:"50%",transform:"translateX(-50%)"}:{right:0,top:"50%",transform:"translateY(-50%)"}:t?{bottom:8,right:8}:{right:8,top:"50%",transform:"translateY(-50%)"};return W.jsxs("div",{className:Xt(P,C),style:{position:"relative"},children:[W.jsxs("div",{style:Z,children:[W.jsx("div",{ref:T,style:{overflow:"hidden",...t&&n!=null?{height:n}:{}},children:W.jsx("div",{style:{display:"flex",flexDirection:t?"column":"row",...t&&n!=null?{height:n}:{},touchAction:t?"pan-x pinch-zoom":"pan-y pinch-zoom",...r>0?t?{marginTop:-r,marginBottom:-r}:{marginLeft:-r,marginRight:-r}:{},...f==="fade"?{position:"relative"}:{}},children:e.map((V,G)=>W.jsx("div",{role:"group","aria-roledescription":"slide",style:{flexShrink:0,flexGrow:0,...t?{minHeight:0}:{minWidth:0},...s!=null?{flexBasis:s}:{},...r>0?t?{paddingTop:r,paddingBottom:r}:{paddingLeft:r,paddingRight:r}:{},...h&&A[G]!=null?{opacity:A[G],transition:"opacity 300ms ease"}:{}},children:V},G))})}),Q&&W.jsxs(W.Fragment,{children:[W.jsx("button",{onClick:N,disabled:!o&&!D,style:{position:"absolute",zIndex:10,display:"flex",alignItems:"center",justifyContent:"center",width:x,height:x,borderRadius:"50%",border:"1px solid var(--border, #e5e7eb)",background:"var(--background, #fff)",boxShadow:"0 1px 3px rgba(0,0,0,.1)",cursor:"pointer",opacity:!o&&!D?0:1,transition:"opacity 150ms",...et},children:W.jsx(nt,{style:{width:16,height:16}})}),W.jsx("button",{onClick:j,disabled:!o&&!U,style:{position:"absolute",zIndex:10,display:"flex",alignItems:"center",justifyContent:"center",width:x,height:x,borderRadius:"50%",border:"1px solid var(--border, #e5e7eb)",background:"var(--background, #fff)",boxShadow:"0 1px 3px rgba(0,0,0,.1)",cursor:"pointer",opacity:!o&&!U?0:1,transition:"opacity 150ms",...ot},children:W.jsx(rt,{style:{width:16,height:16}})})]}),J&&W.jsx("div",{style:{position:"absolute",top:"50%",right:0,transform:"translateY(-50%)",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:6},children:Array.from({length:O},(V,G)=>W.jsx("button",{onClick:()=>R(G),style:{width:8,height:8,borderRadius:"50%",border:"none",cursor:"pointer",transition:"opacity 150ms",background:"var(--foreground, #000)",opacity:G===b?1:.2}},G))})]}),$&&W.jsx("div",{style:{display:"flex",justifyContent:"center",gap:6,marginTop:12},children:Array.from({length:O},(V,G)=>W.jsx("button",{onClick:()=>R(G),style:{width:8,height:8,borderRadius:"50%",border:"none",cursor:"pointer",transition:"opacity 150ms",background:"var(--foreground, #000)",opacity:G===b?1:.2}},G))})]})}export{ie as PrefabCarousel};
@@ -0,0 +1 @@
1
+ import{a1 as o,a2 as n}from"./mermaid.core-D6aFEa0I.js";const t=(a,r)=>o.lang.round(n.parse(a)[r]);export{t as c};
@@ -1,4 +1,4 @@
1
- import{q as Si,g as re,r as M,t as V,h as P,j as D,c as Fe}from"./renderer.js";import{w as Qg,n as eb,b as pe,M as Ef,S as v0,T as h0,l as tb,t as $a,d as Ze,p as il,s as Ni,a as rb,F as y0,G as m0,H as g0,I as b0,J as x0,K as O0,L as A0,N as w0,O as P0,c as S0,P as _0,Q as j0}from"./string-Bl2zznvy.js";import{b as al,p as Pn}from"./band-CquvqAHh.js";import{d as Li,n as E0,e as T0,i as Tf,f as ol,g as rr,h as $f,a as If,j as Op,k as ft,c as $0,m as Ia,o as nb,l as ul,p as I0}from"./linear-DSkd6W2C.js";import{i as Et,a as yt}from"./init-Dmth1JHB.js";import{m as Ap,a as wp,p as C0,q as R0,u as k0,s as M0,r as D0,v as N0,w as L0,x as q0,y as B0,z as F0,A as z0,B as K0,t as W0}from"./time-DXBSQWow.js";import{f as G0,b as H0}from"./defaultLocale-DX6XiGOO.js";import{i as U0,o as V0}from"./ordinal-DILIJJjt.js";var oo,Pp;function Te(){if(Pp)return oo;Pp=1;var t=Array.isArray;return oo=t,oo}var uo,Sp;function ib(){if(Sp)return uo;Sp=1;var t=typeof Si=="object"&&Si&&Si.Object===Object&&Si;return uo=t,uo}var co,_p;function ot(){if(_p)return co;_p=1;var t=ib(),e=typeof self=="object"&&self&&self.Object===Object&&self,r=t||e||Function("return this")();return co=r,co}var so,jp;function di(){if(jp)return so;jp=1;var t=ot(),e=t.Symbol;return so=e,so}var lo,Ep;function X0(){if(Ep)return lo;Ep=1;var t=di(),e=Object.prototype,r=e.hasOwnProperty,n=e.toString,i=t?t.toStringTag:void 0;function a(o){var u=r.call(o,i),c=o[i];try{o[i]=void 0;var s=!0}catch{}var f=n.call(o);return s&&(u?o[i]=c:delete o[i]),f}return lo=a,lo}var fo,Tp;function Y0(){if(Tp)return fo;Tp=1;var t=Object.prototype,e=t.toString;function r(n){return e.call(n)}return fo=r,fo}var po,$p;function mt(){if($p)return po;$p=1;var t=di(),e=X0(),r=Y0(),n="[object Null]",i="[object Undefined]",a=t?t.toStringTag:void 0;function o(u){return u==null?u===void 0?i:n:a&&a in Object(u)?e(u):r(u)}return po=o,po}var vo,Ip;function gt(){if(Ip)return vo;Ip=1;function t(e){return e!=null&&typeof e=="object"}return vo=t,vo}var ho,Cp;function Jr(){if(Cp)return ho;Cp=1;var t=mt(),e=gt(),r="[object Symbol]";function n(i){return typeof i=="symbol"||e(i)&&t(i)==r}return ho=n,ho}var yo,Rp;function Cf(){if(Rp)return yo;Rp=1;var t=Te(),e=Jr(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function i(a,o){if(t(a))return!1;var u=typeof a;return u=="number"||u=="symbol"||u=="boolean"||a==null||e(a)?!0:n.test(a)||!r.test(a)||o!=null&&a in Object(o)}return yo=i,yo}var mo,kp;function Tt(){if(kp)return mo;kp=1;function t(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}return mo=t,mo}var go,Mp;function Rf(){if(Mp)return go;Mp=1;var t=mt(),e=Tt(),r="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",a="[object Proxy]";function o(u){if(!e(u))return!1;var c=t(u);return c==n||c==i||c==r||c==a}return go=o,go}var bo,Dp;function Z0(){if(Dp)return bo;Dp=1;var t=ot(),e=t["__core-js_shared__"];return bo=e,bo}var xo,Np;function J0(){if(Np)return xo;Np=1;var t=Z0(),e=(function(){var n=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""})();function r(n){return!!e&&e in n}return xo=r,xo}var Oo,Lp;function ab(){if(Lp)return Oo;Lp=1;var t=Function.prototype,e=t.toString;function r(n){if(n!=null){try{return e.call(n)}catch{}try{return n+""}catch{}}return""}return Oo=r,Oo}var Ao,qp;function Q0(){if(qp)return Ao;qp=1;var t=Rf(),e=J0(),r=Tt(),n=ab(),i=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,o=Function.prototype,u=Object.prototype,c=o.toString,s=u.hasOwnProperty,f=RegExp("^"+c.call(s).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function l(p){if(!r(p)||e(p))return!1;var d=t(p)?f:a;return d.test(n(p))}return Ao=l,Ao}var wo,Bp;function eA(){if(Bp)return wo;Bp=1;function t(e,r){return e==null?void 0:e[r]}return wo=t,wo}var Po,Fp;function nr(){if(Fp)return Po;Fp=1;var t=Q0(),e=eA();function r(n,i){var a=e(n,i);return t(a)?a:void 0}return Po=r,Po}var So,zp;function Ca(){if(zp)return So;zp=1;var t=nr(),e=t(Object,"create");return So=e,So}var _o,Kp;function tA(){if(Kp)return _o;Kp=1;var t=Ca();function e(){this.__data__=t?t(null):{},this.size=0}return _o=e,_o}var jo,Wp;function rA(){if(Wp)return jo;Wp=1;function t(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}return jo=t,jo}var Eo,Gp;function nA(){if(Gp)return Eo;Gp=1;var t=Ca(),e="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function i(a){var o=this.__data__;if(t){var u=o[a];return u===e?void 0:u}return n.call(o,a)?o[a]:void 0}return Eo=i,Eo}var To,Hp;function iA(){if(Hp)return To;Hp=1;var t=Ca(),e=Object.prototype,r=e.hasOwnProperty;function n(i){var a=this.__data__;return t?a[i]!==void 0:r.call(a,i)}return To=n,To}var $o,Up;function aA(){if(Up)return $o;Up=1;var t=Ca(),e="__lodash_hash_undefined__";function r(n,i){var a=this.__data__;return this.size+=this.has(n)?0:1,a[n]=t&&i===void 0?e:i,this}return $o=r,$o}var Io,Vp;function oA(){if(Vp)return Io;Vp=1;var t=tA(),e=rA(),r=nA(),n=iA(),i=aA();function a(o){var u=-1,c=o==null?0:o.length;for(this.clear();++u<c;){var s=o[u];this.set(s[0],s[1])}}return a.prototype.clear=t,a.prototype.delete=e,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,Io=a,Io}var Co,Xp;function uA(){if(Xp)return Co;Xp=1;function t(){this.__data__=[],this.size=0}return Co=t,Co}var Ro,Yp;function kf(){if(Yp)return Ro;Yp=1;function t(e,r){return e===r||e!==e&&r!==r}return Ro=t,Ro}var ko,Zp;function Ra(){if(Zp)return ko;Zp=1;var t=kf();function e(r,n){for(var i=r.length;i--;)if(t(r[i][0],n))return i;return-1}return ko=e,ko}var Mo,Jp;function cA(){if(Jp)return Mo;Jp=1;var t=Ra(),e=Array.prototype,r=e.splice;function n(i){var a=this.__data__,o=t(a,i);if(o<0)return!1;var u=a.length-1;return o==u?a.pop():r.call(a,o,1),--this.size,!0}return Mo=n,Mo}var Do,Qp;function sA(){if(Qp)return Do;Qp=1;var t=Ra();function e(r){var n=this.__data__,i=t(n,r);return i<0?void 0:n[i][1]}return Do=e,Do}var No,ed;function lA(){if(ed)return No;ed=1;var t=Ra();function e(r){return t(this.__data__,r)>-1}return No=e,No}var Lo,td;function fA(){if(td)return Lo;td=1;var t=Ra();function e(r,n){var i=this.__data__,a=t(i,r);return a<0?(++this.size,i.push([r,n])):i[a][1]=n,this}return Lo=e,Lo}var qo,rd;function ka(){if(rd)return qo;rd=1;var t=uA(),e=cA(),r=sA(),n=lA(),i=fA();function a(o){var u=-1,c=o==null?0:o.length;for(this.clear();++u<c;){var s=o[u];this.set(s[0],s[1])}}return a.prototype.clear=t,a.prototype.delete=e,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,qo=a,qo}var Bo,nd;function Mf(){if(nd)return Bo;nd=1;var t=nr(),e=ot(),r=t(e,"Map");return Bo=r,Bo}var Fo,id;function pA(){if(id)return Fo;id=1;var t=oA(),e=ka(),r=Mf();function n(){this.size=0,this.__data__={hash:new t,map:new(r||e),string:new t}}return Fo=n,Fo}var zo,ad;function dA(){if(ad)return zo;ad=1;function t(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}return zo=t,zo}var Ko,od;function Ma(){if(od)return Ko;od=1;var t=dA();function e(r,n){var i=r.__data__;return t(n)?i[typeof n=="string"?"string":"hash"]:i.map}return Ko=e,Ko}var Wo,ud;function vA(){if(ud)return Wo;ud=1;var t=Ma();function e(r){var n=t(this,r).delete(r);return this.size-=n?1:0,n}return Wo=e,Wo}var Go,cd;function hA(){if(cd)return Go;cd=1;var t=Ma();function e(r){return t(this,r).get(r)}return Go=e,Go}var Ho,sd;function yA(){if(sd)return Ho;sd=1;var t=Ma();function e(r){return t(this,r).has(r)}return Ho=e,Ho}var Uo,ld;function mA(){if(ld)return Uo;ld=1;var t=Ma();function e(r,n){var i=t(this,r),a=i.size;return i.set(r,n),this.size+=i.size==a?0:1,this}return Uo=e,Uo}var Vo,fd;function Df(){if(fd)return Vo;fd=1;var t=pA(),e=vA(),r=hA(),n=yA(),i=mA();function a(o){var u=-1,c=o==null?0:o.length;for(this.clear();++u<c;){var s=o[u];this.set(s[0],s[1])}}return a.prototype.clear=t,a.prototype.delete=e,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,Vo=a,Vo}var Xo,pd;function ob(){if(pd)return Xo;pd=1;var t=Df(),e="Expected a function";function r(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new TypeError(e);var a=function(){var o=arguments,u=i?i.apply(this,o):o[0],c=a.cache;if(c.has(u))return c.get(u);var s=n.apply(this,o);return a.cache=c.set(u,s)||c,s};return a.cache=new(r.Cache||t),a}return r.Cache=t,Xo=r,Xo}var Yo,dd;function gA(){if(dd)return Yo;dd=1;var t=ob(),e=500;function r(n){var i=t(n,function(o){return a.size===e&&a.clear(),o}),a=i.cache;return i}return Yo=r,Yo}var Zo,vd;function bA(){if(vd)return Zo;vd=1;var t=gA(),e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=t(function(i){var a=[];return i.charCodeAt(0)===46&&a.push(""),i.replace(e,function(o,u,c,s){a.push(c?s.replace(r,"$1"):u||o)}),a});return Zo=n,Zo}var Jo,hd;function Nf(){if(hd)return Jo;hd=1;function t(e,r){for(var n=-1,i=e==null?0:e.length,a=Array(i);++n<i;)a[n]=r(e[n],n,e);return a}return Jo=t,Jo}var Qo,yd;function xA(){if(yd)return Qo;yd=1;var t=di(),e=Nf(),r=Te(),n=Jr(),i=t?t.prototype:void 0,a=i?i.toString:void 0;function o(u){if(typeof u=="string")return u;if(r(u))return e(u,o)+"";if(n(u))return a?a.call(u):"";var c=u+"";return c=="0"&&1/u==-1/0?"-0":c}return Qo=o,Qo}var eu,md;function ub(){if(md)return eu;md=1;var t=xA();function e(r){return r==null?"":t(r)}return eu=e,eu}var tu,gd;function cb(){if(gd)return tu;gd=1;var t=Te(),e=Cf(),r=bA(),n=ub();function i(a,o){return t(a)?a:e(a,o)?[a]:r(n(a))}return tu=i,tu}var ru,bd;function Da(){if(bd)return ru;bd=1;var t=Jr();function e(r){if(typeof r=="string"||t(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return ru=e,ru}var nu,xd;function Lf(){if(xd)return nu;xd=1;var t=cb(),e=Da();function r(n,i){i=t(i,n);for(var a=0,o=i.length;n!=null&&a<o;)n=n[e(i[a++])];return a&&a==o?n:void 0}return nu=r,nu}var iu,Od;function sb(){if(Od)return iu;Od=1;var t=Lf();function e(r,n,i){var a=r==null?void 0:t(r,n);return a===void 0?i:a}return iu=e,iu}var OA=sb();const ke=re(OA);var au,Ad;function AA(){if(Ad)return au;Ad=1;function t(e){return e==null}return au=t,au}var wA=AA();const H=re(wA);var ou,wd;function PA(){if(wd)return ou;wd=1;var t=mt(),e=Te(),r=gt(),n="[object String]";function i(a){return typeof a=="string"||!e(a)&&r(a)&&t(a)==n}return ou=i,ou}var SA=PA();const Zt=re(SA);var _A=Rf();const W=re(_A);var jA=Tt();const Qr=re(jA);var uu={exports:{}},Q={};/**
1
+ import{t as Si,m as re,r as M,v as V,g as P,j as D,c as Fe}from"./renderer.js";import{w as Qg,n as eb,b as pe,M as Ef,S as v0,T as h0,l as tb,t as $a,d as Ze,p as il,s as Ni,a as rb,F as y0,G as m0,H as g0,I as b0,J as x0,K as O0,L as A0,N as w0,O as P0,c as S0,P as _0,Q as j0}from"./string-Bl2zznvy.js";import{b as al,p as Pn}from"./band-CquvqAHh.js";import{d as Li,n as E0,e as T0,i as Tf,f as ol,g as rr,h as $f,a as If,j as Op,k as ft,c as $0,m as Ia,o as nb,l as ul,p as I0}from"./linear-DSkd6W2C.js";import{i as Et,a as yt}from"./init-Dmth1JHB.js";import{m as Ap,a as wp,p as C0,q as R0,u as k0,s as M0,r as D0,v as N0,w as L0,x as q0,y as B0,z as F0,A as z0,B as K0,t as W0}from"./time-DXBSQWow.js";import{f as G0,b as H0}from"./defaultLocale-DX6XiGOO.js";import{i as U0,o as V0}from"./ordinal-DILIJJjt.js";var oo,Pp;function Te(){if(Pp)return oo;Pp=1;var t=Array.isArray;return oo=t,oo}var uo,Sp;function ib(){if(Sp)return uo;Sp=1;var t=typeof Si=="object"&&Si&&Si.Object===Object&&Si;return uo=t,uo}var co,_p;function ot(){if(_p)return co;_p=1;var t=ib(),e=typeof self=="object"&&self&&self.Object===Object&&self,r=t||e||Function("return this")();return co=r,co}var so,jp;function di(){if(jp)return so;jp=1;var t=ot(),e=t.Symbol;return so=e,so}var lo,Ep;function X0(){if(Ep)return lo;Ep=1;var t=di(),e=Object.prototype,r=e.hasOwnProperty,n=e.toString,i=t?t.toStringTag:void 0;function a(o){var u=r.call(o,i),c=o[i];try{o[i]=void 0;var s=!0}catch{}var f=n.call(o);return s&&(u?o[i]=c:delete o[i]),f}return lo=a,lo}var fo,Tp;function Y0(){if(Tp)return fo;Tp=1;var t=Object.prototype,e=t.toString;function r(n){return e.call(n)}return fo=r,fo}var po,$p;function mt(){if($p)return po;$p=1;var t=di(),e=X0(),r=Y0(),n="[object Null]",i="[object Undefined]",a=t?t.toStringTag:void 0;function o(u){return u==null?u===void 0?i:n:a&&a in Object(u)?e(u):r(u)}return po=o,po}var vo,Ip;function gt(){if(Ip)return vo;Ip=1;function t(e){return e!=null&&typeof e=="object"}return vo=t,vo}var ho,Cp;function Jr(){if(Cp)return ho;Cp=1;var t=mt(),e=gt(),r="[object Symbol]";function n(i){return typeof i=="symbol"||e(i)&&t(i)==r}return ho=n,ho}var yo,Rp;function Cf(){if(Rp)return yo;Rp=1;var t=Te(),e=Jr(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function i(a,o){if(t(a))return!1;var u=typeof a;return u=="number"||u=="symbol"||u=="boolean"||a==null||e(a)?!0:n.test(a)||!r.test(a)||o!=null&&a in Object(o)}return yo=i,yo}var mo,kp;function Tt(){if(kp)return mo;kp=1;function t(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}return mo=t,mo}var go,Mp;function Rf(){if(Mp)return go;Mp=1;var t=mt(),e=Tt(),r="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",a="[object Proxy]";function o(u){if(!e(u))return!1;var c=t(u);return c==n||c==i||c==r||c==a}return go=o,go}var bo,Dp;function Z0(){if(Dp)return bo;Dp=1;var t=ot(),e=t["__core-js_shared__"];return bo=e,bo}var xo,Np;function J0(){if(Np)return xo;Np=1;var t=Z0(),e=(function(){var n=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""})();function r(n){return!!e&&e in n}return xo=r,xo}var Oo,Lp;function ab(){if(Lp)return Oo;Lp=1;var t=Function.prototype,e=t.toString;function r(n){if(n!=null){try{return e.call(n)}catch{}try{return n+""}catch{}}return""}return Oo=r,Oo}var Ao,qp;function Q0(){if(qp)return Ao;qp=1;var t=Rf(),e=J0(),r=Tt(),n=ab(),i=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,o=Function.prototype,u=Object.prototype,c=o.toString,s=u.hasOwnProperty,f=RegExp("^"+c.call(s).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function l(p){if(!r(p)||e(p))return!1;var d=t(p)?f:a;return d.test(n(p))}return Ao=l,Ao}var wo,Bp;function eA(){if(Bp)return wo;Bp=1;function t(e,r){return e==null?void 0:e[r]}return wo=t,wo}var Po,Fp;function nr(){if(Fp)return Po;Fp=1;var t=Q0(),e=eA();function r(n,i){var a=e(n,i);return t(a)?a:void 0}return Po=r,Po}var So,zp;function Ca(){if(zp)return So;zp=1;var t=nr(),e=t(Object,"create");return So=e,So}var _o,Kp;function tA(){if(Kp)return _o;Kp=1;var t=Ca();function e(){this.__data__=t?t(null):{},this.size=0}return _o=e,_o}var jo,Wp;function rA(){if(Wp)return jo;Wp=1;function t(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}return jo=t,jo}var Eo,Gp;function nA(){if(Gp)return Eo;Gp=1;var t=Ca(),e="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function i(a){var o=this.__data__;if(t){var u=o[a];return u===e?void 0:u}return n.call(o,a)?o[a]:void 0}return Eo=i,Eo}var To,Hp;function iA(){if(Hp)return To;Hp=1;var t=Ca(),e=Object.prototype,r=e.hasOwnProperty;function n(i){var a=this.__data__;return t?a[i]!==void 0:r.call(a,i)}return To=n,To}var $o,Up;function aA(){if(Up)return $o;Up=1;var t=Ca(),e="__lodash_hash_undefined__";function r(n,i){var a=this.__data__;return this.size+=this.has(n)?0:1,a[n]=t&&i===void 0?e:i,this}return $o=r,$o}var Io,Vp;function oA(){if(Vp)return Io;Vp=1;var t=tA(),e=rA(),r=nA(),n=iA(),i=aA();function a(o){var u=-1,c=o==null?0:o.length;for(this.clear();++u<c;){var s=o[u];this.set(s[0],s[1])}}return a.prototype.clear=t,a.prototype.delete=e,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,Io=a,Io}var Co,Xp;function uA(){if(Xp)return Co;Xp=1;function t(){this.__data__=[],this.size=0}return Co=t,Co}var Ro,Yp;function kf(){if(Yp)return Ro;Yp=1;function t(e,r){return e===r||e!==e&&r!==r}return Ro=t,Ro}var ko,Zp;function Ra(){if(Zp)return ko;Zp=1;var t=kf();function e(r,n){for(var i=r.length;i--;)if(t(r[i][0],n))return i;return-1}return ko=e,ko}var Mo,Jp;function cA(){if(Jp)return Mo;Jp=1;var t=Ra(),e=Array.prototype,r=e.splice;function n(i){var a=this.__data__,o=t(a,i);if(o<0)return!1;var u=a.length-1;return o==u?a.pop():r.call(a,o,1),--this.size,!0}return Mo=n,Mo}var Do,Qp;function sA(){if(Qp)return Do;Qp=1;var t=Ra();function e(r){var n=this.__data__,i=t(n,r);return i<0?void 0:n[i][1]}return Do=e,Do}var No,ed;function lA(){if(ed)return No;ed=1;var t=Ra();function e(r){return t(this.__data__,r)>-1}return No=e,No}var Lo,td;function fA(){if(td)return Lo;td=1;var t=Ra();function e(r,n){var i=this.__data__,a=t(i,r);return a<0?(++this.size,i.push([r,n])):i[a][1]=n,this}return Lo=e,Lo}var qo,rd;function ka(){if(rd)return qo;rd=1;var t=uA(),e=cA(),r=sA(),n=lA(),i=fA();function a(o){var u=-1,c=o==null?0:o.length;for(this.clear();++u<c;){var s=o[u];this.set(s[0],s[1])}}return a.prototype.clear=t,a.prototype.delete=e,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,qo=a,qo}var Bo,nd;function Mf(){if(nd)return Bo;nd=1;var t=nr(),e=ot(),r=t(e,"Map");return Bo=r,Bo}var Fo,id;function pA(){if(id)return Fo;id=1;var t=oA(),e=ka(),r=Mf();function n(){this.size=0,this.__data__={hash:new t,map:new(r||e),string:new t}}return Fo=n,Fo}var zo,ad;function dA(){if(ad)return zo;ad=1;function t(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}return zo=t,zo}var Ko,od;function Ma(){if(od)return Ko;od=1;var t=dA();function e(r,n){var i=r.__data__;return t(n)?i[typeof n=="string"?"string":"hash"]:i.map}return Ko=e,Ko}var Wo,ud;function vA(){if(ud)return Wo;ud=1;var t=Ma();function e(r){var n=t(this,r).delete(r);return this.size-=n?1:0,n}return Wo=e,Wo}var Go,cd;function hA(){if(cd)return Go;cd=1;var t=Ma();function e(r){return t(this,r).get(r)}return Go=e,Go}var Ho,sd;function yA(){if(sd)return Ho;sd=1;var t=Ma();function e(r){return t(this,r).has(r)}return Ho=e,Ho}var Uo,ld;function mA(){if(ld)return Uo;ld=1;var t=Ma();function e(r,n){var i=t(this,r),a=i.size;return i.set(r,n),this.size+=i.size==a?0:1,this}return Uo=e,Uo}var Vo,fd;function Df(){if(fd)return Vo;fd=1;var t=pA(),e=vA(),r=hA(),n=yA(),i=mA();function a(o){var u=-1,c=o==null?0:o.length;for(this.clear();++u<c;){var s=o[u];this.set(s[0],s[1])}}return a.prototype.clear=t,a.prototype.delete=e,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,Vo=a,Vo}var Xo,pd;function ob(){if(pd)return Xo;pd=1;var t=Df(),e="Expected a function";function r(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new TypeError(e);var a=function(){var o=arguments,u=i?i.apply(this,o):o[0],c=a.cache;if(c.has(u))return c.get(u);var s=n.apply(this,o);return a.cache=c.set(u,s)||c,s};return a.cache=new(r.Cache||t),a}return r.Cache=t,Xo=r,Xo}var Yo,dd;function gA(){if(dd)return Yo;dd=1;var t=ob(),e=500;function r(n){var i=t(n,function(o){return a.size===e&&a.clear(),o}),a=i.cache;return i}return Yo=r,Yo}var Zo,vd;function bA(){if(vd)return Zo;vd=1;var t=gA(),e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=t(function(i){var a=[];return i.charCodeAt(0)===46&&a.push(""),i.replace(e,function(o,u,c,s){a.push(c?s.replace(r,"$1"):u||o)}),a});return Zo=n,Zo}var Jo,hd;function Nf(){if(hd)return Jo;hd=1;function t(e,r){for(var n=-1,i=e==null?0:e.length,a=Array(i);++n<i;)a[n]=r(e[n],n,e);return a}return Jo=t,Jo}var Qo,yd;function xA(){if(yd)return Qo;yd=1;var t=di(),e=Nf(),r=Te(),n=Jr(),i=t?t.prototype:void 0,a=i?i.toString:void 0;function o(u){if(typeof u=="string")return u;if(r(u))return e(u,o)+"";if(n(u))return a?a.call(u):"";var c=u+"";return c=="0"&&1/u==-1/0?"-0":c}return Qo=o,Qo}var eu,md;function ub(){if(md)return eu;md=1;var t=xA();function e(r){return r==null?"":t(r)}return eu=e,eu}var tu,gd;function cb(){if(gd)return tu;gd=1;var t=Te(),e=Cf(),r=bA(),n=ub();function i(a,o){return t(a)?a:e(a,o)?[a]:r(n(a))}return tu=i,tu}var ru,bd;function Da(){if(bd)return ru;bd=1;var t=Jr();function e(r){if(typeof r=="string"||t(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return ru=e,ru}var nu,xd;function Lf(){if(xd)return nu;xd=1;var t=cb(),e=Da();function r(n,i){i=t(i,n);for(var a=0,o=i.length;n!=null&&a<o;)n=n[e(i[a++])];return a&&a==o?n:void 0}return nu=r,nu}var iu,Od;function sb(){if(Od)return iu;Od=1;var t=Lf();function e(r,n,i){var a=r==null?void 0:t(r,n);return a===void 0?i:a}return iu=e,iu}var OA=sb();const ke=re(OA);var au,Ad;function AA(){if(Ad)return au;Ad=1;function t(e){return e==null}return au=t,au}var wA=AA();const H=re(wA);var ou,wd;function PA(){if(wd)return ou;wd=1;var t=mt(),e=Te(),r=gt(),n="[object String]";function i(a){return typeof a=="string"||!e(a)&&r(a)&&t(a)==n}return ou=i,ou}var SA=PA();const Zt=re(SA);var _A=Rf();const W=re(_A);var jA=Tt();const Qr=re(jA);var uu={exports:{}},Q={};/**
2
2
  * @license React
3
3
  * react-is.production.min.js
4
4
  *
@@ -1 +1 @@
1
- import{_ as l}from"./mermaid.core-ClCS18UG.js";function m(e,c){var i,t,o;e.accDescr&&((i=c.setAccDescription)==null||i.call(c,e.accDescr)),e.accTitle&&((t=c.setAccTitle)==null||t.call(c,e.accTitle)),e.title&&((o=c.setDiagramTitle)==null||o.call(c,e.title))}l(m,"populateCommonDb");export{m as p};
1
+ import{_ as l}from"./mermaid.core-D6aFEa0I.js";function m(e,c){var i,t,o;e.accDescr&&((i=c.setAccDescription)==null||i.call(c,e.accDescr)),e.accTitle&&((t=c.setAccTitle)==null||t.call(c,e.accTitle)),e.title&&((o=c.setDiagramTitle)==null||o.call(c,e.title))}l(m,"populateCommonDb");export{m as p};
@@ -1 +1 @@
1
- import{_ as a,d as o}from"./mermaid.core-ClCS18UG.js";var d=a((t,e)=>{let n;return e==="sandbox"&&(n=o("#i"+t)),(e==="sandbox"?o(n.nodes()[0].contentDocument.body):o("body")).select(`[id="${t}"]`)},"getDiagramElement");export{d as g};
1
+ import{_ as a,d as o}from"./mermaid.core-D6aFEa0I.js";var d=a((t,e)=>{let n;return e==="sandbox"&&(n=o("#i"+t)),(e==="sandbox"?o(n.nodes()[0].contentDocument.body):o("body")).select(`[id="${t}"]`)},"getDiagramElement");export{d as g};
@@ -1,4 +1,4 @@
1
- import{_ as e}from"./mermaid.core-ClCS18UG.js";var l=e(()=>`
1
+ import{_ as e}from"./mermaid.core-D6aFEa0I.js";var l=e(()=>`
2
2
  /* Font Awesome icon styling - consolidated */
3
3
  .label-icon {
4
4
  display: inline-block;
@@ -1 +1 @@
1
- import{_ as i,d as l,S as d,j as o}from"./mermaid.core-ClCS18UG.js";var x=i((r,t)=>{const e=r.append("rect");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&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const s in t.attrs)e.attr(s,t.attrs[s]);return t.class&&e.attr("class",t.class),e},"drawRect"),p=i((r,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};x(r,e).lower()},"drawBackgroundRect"),y=i((r,t)=>{const e=t.text.replace(d," "),s=r.append("text");s.attr("x",t.x),s.attr("y",t.y),s.attr("class","legend"),s.style("text-anchor",t.anchor),t.class&&s.attr("class",t.class);const a=s.append("tspan");return a.attr("x",t.x+t.textMargin*2),a.text(e),s},"drawText"),m=i((r,t,e,s)=>{const a=r.append("image");a.attr("x",t),a.attr("y",e);const n=o.sanitizeUrl(s);a.attr("xlink:href",n)},"drawImage"),g=i((r,t,e,s)=>{const a=r.append("use");a.attr("x",t),a.attr("y",e);const n=o.sanitizeUrl(s);a.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),h=i(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),f=i(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),w=i(()=>{let r=l(".mermaidTooltip");return r.empty()&&(r=l("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),r},"createTooltip");export{p as a,f as b,w as c,x as d,g as e,m as f,h as g,y as h};
1
+ import{_ as i,d as l,S as d,j as o}from"./mermaid.core-D6aFEa0I.js";var x=i((r,t)=>{const e=r.append("rect");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&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const s in t.attrs)e.attr(s,t.attrs[s]);return t.class&&e.attr("class",t.class),e},"drawRect"),p=i((r,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};x(r,e).lower()},"drawBackgroundRect"),y=i((r,t)=>{const e=t.text.replace(d," "),s=r.append("text");s.attr("x",t.x),s.attr("y",t.y),s.attr("class","legend"),s.style("text-anchor",t.anchor),t.class&&s.attr("class",t.class);const a=s.append("tspan");return a.attr("x",t.x+t.textMargin*2),a.text(e),s},"drawText"),m=i((r,t,e,s)=>{const a=r.append("image");a.attr("x",t),a.attr("y",e);const n=o.sanitizeUrl(s);a.attr("xlink:href",n)},"drawImage"),g=i((r,t,e,s)=>{const a=r.append("use");a.attr("x",t),a.attr("y",e);const n=o.sanitizeUrl(s);a.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),h=i(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),f=i(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),w=i(()=>{let r=l(".mermaidTooltip");return r.empty()&&(r=l("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),r},"createTooltip");export{p as a,f as b,w as c,x as d,g as e,m as f,h as g,y as h};
@@ -1 +1 @@
1
- import{_ as a,e as w,l as x}from"./mermaid.core-ClCS18UG.js";var d=a((e,t,i,o)=>{e.attr("class",i);const{width:r,height:h,x:n,y:c}=u(e,t);w(e,h,r,o);const s=l(n,c,r,h,t);e.attr("viewBox",s),x.debug(`viewBox configured: ${s} with padding: ${t}`)},"setupViewPortForSVG"),u=a((e,t)=>{var o;const i=((o=e.node())==null?void 0:o.getBBox())||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),l=a((e,t,i,o,r)=>`${e-r} ${t-r} ${i} ${o}`,"createViewBox");export{d as s};
1
+ import{_ as a,e as w,l as x}from"./mermaid.core-D6aFEa0I.js";var d=a((e,t,i,o)=>{e.attr("class",i);const{width:r,height:h,x:n,y:c}=u(e,t);w(e,h,r,o);const s=l(n,c,r,h,t);e.attr("viewBox",s),x.debug(`viewBox configured: ${s} with padding: ${t}`)},"setupViewPortForSVG"),u=a((e,t)=>{var o;const i=((o=e.node())==null?void 0:o.getBBox())||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),l=a((e,t,i,o,r)=>`${e-r} ${t-r} ${i} ${o}`,"createViewBox");export{d as s};
@@ -1,4 +1,4 @@
1
- import{g as te}from"./chunk-55IACEB6-CJ0jXTRd.js";import{s as ee}from"./chunk-KX2RTZJC-BVwQX8D_.js";import{_ as f,l as b,c as F,r as se,u as ie,a as re,b as ae,g as ne,s as oe,p as le,q as ce,R as he,k as W,y as ue}from"./mermaid.core-ClCS18UG.js";var vt=(function(){var e=f(function(V,o,h,n){for(h=h||{},n=V.length;n--;h[V[n]]=o);return h},"o"),t=[1,2],s=[1,3],a=[1,4],i=[2,4],l=[1,9],d=[1,11],S=[1,16],p=[1,17],T=[1,18],_=[1,19],m=[1,33],k=[1,20],A=[1,21],$=[1,22],x=[1,23],O=[1,24],u=[1,26],L=[1,27],I=[1,28],N=[1,29],G=[1,30],P=[1,31],B=[1,32],at=[1,35],nt=[1,36],ot=[1,37],lt=[1,38],K=[1,34],y=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],ct=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],xt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],gt={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:f(function(o,h,n,g,E,r,Z){var c=r.length-1;switch(E){case 3:return g.setRootDoc(r[c]),r[c];case 4:this.$=[];break;case 5:r[c]!="nl"&&(r[c-1].push(r[c]),this.$=r[c-1]);break;case 6:case 7:this.$=r[c];break;case 8:this.$="nl";break;case 12:this.$=r[c];break;case 13:const tt=r[c-1];tt.description=g.trimColon(r[c]),this.$=tt;break;case 14:this.$={stmt:"relation",state1:r[c-2],state2:r[c]};break;case 15:const Tt=g.trimColon(r[c]);this.$={stmt:"relation",state1:r[c-3],state2:r[c-1],description:Tt};break;case 19:this.$={stmt:"state",id:r[c-3],type:"default",description:"",doc:r[c-1]};break;case 20:var U=r[c],X=r[c-2].trim();if(r[c].match(":")){var ut=r[c].split(":");U=ut[0],X=[X,ut[1]]}this.$={stmt:"state",id:U,type:"default",description:X};break;case 21:this.$={stmt:"state",id:r[c-3],type:"default",description:r[c-5],doc:r[c-1]};break;case 22:this.$={stmt:"state",id:r[c],type:"fork"};break;case 23:this.$={stmt:"state",id:r[c],type:"join"};break;case 24:this.$={stmt:"state",id:r[c],type:"choice"};break;case 25:this.$={stmt:"state",id:g.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:r[c-1].trim(),note:{position:r[c-2].trim(),text:r[c].trim()}};break;case 29:this.$=r[c].trim(),g.setAccTitle(this.$);break;case 30:case 31:this.$=r[c].trim(),g.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:r[c-3],url:r[c-2],tooltip:r[c-1]};break;case 33:this.$={stmt:"click",id:r[c-3],url:r[c-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:r[c-1].trim(),classes:r[c].trim()};break;case 36:this.$={stmt:"style",id:r[c-1].trim(),styleClass:r[c].trim()};break;case 37:this.$={stmt:"applyClass",id:r[c-1].trim(),styleClass:r[c].trim()};break;case 38:g.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:g.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:g.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:g.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:r[c].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:r[c-2].trim(),classes:[r[c].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:r[c-2].trim(),classes:[r[c].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:t,5:s,6:a},{1:[3]},{3:5,4:t,5:s,6:a},{3:6,4:t,5:s,6:a},e([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:l,5:d,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:T,22:_,24:m,25:k,26:A,27:$,28:x,29:O,32:25,33:u,35:L,37:I,38:N,41:G,45:P,48:B,51:at,52:nt,53:ot,54:lt,57:K},e(y,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:S,17:p,19:T,22:_,24:m,25:k,26:A,27:$,28:x,29:O,32:25,33:u,35:L,37:I,38:N,41:G,45:P,48:B,51:at,52:nt,53:ot,54:lt,57:K},e(y,[2,7]),e(y,[2,8]),e(y,[2,9]),e(y,[2,10]),e(y,[2,11]),e(y,[2,12],{14:[1,40],15:[1,41]}),e(y,[2,16]),{18:[1,42]},e(y,[2,18],{20:[1,43]}),{23:[1,44]},e(y,[2,22]),e(y,[2,23]),e(y,[2,24]),e(y,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},e(y,[2,28]),{34:[1,49]},{36:[1,50]},e(y,[2,31]),{13:51,24:m,57:K},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},e(ct,[2,44],{58:[1,56]}),e(ct,[2,45],{58:[1,57]}),e(y,[2,38]),e(y,[2,39]),e(y,[2,40]),e(y,[2,41]),e(y,[2,6]),e(y,[2,13]),{13:58,24:m,57:K},e(y,[2,17]),e(xt,i,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},e(y,[2,29]),e(y,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},e(y,[2,14],{14:[1,71]}),{4:l,5:d,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:T,21:[1,72],22:_,24:m,25:k,26:A,27:$,28:x,29:O,32:25,33:u,35:L,37:I,38:N,41:G,45:P,48:B,51:at,52:nt,53:ot,54:lt,57:K},e(y,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},e(y,[2,34]),e(y,[2,35]),e(y,[2,36]),e(y,[2,37]),e(ct,[2,46]),e(ct,[2,47]),e(y,[2,15]),e(y,[2,19]),e(xt,i,{7:78}),e(y,[2,26]),e(y,[2,27]),{5:[1,79]},{5:[1,80]},{4:l,5:d,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:T,21:[1,81],22:_,24:m,25:k,26:A,27:$,28:x,29:O,32:25,33:u,35:L,37:I,38:N,41:G,45:P,48:B,51:at,52:nt,53:ot,54:lt,57:K},e(y,[2,32]),e(y,[2,33]),e(y,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:f(function(o,h){if(h.recoverable)this.trace(o);else{var n=new Error(o);throw n.hash=h,n}},"parseError"),parse:f(function(o){var h=this,n=[0],g=[],E=[null],r=[],Z=this.table,c="",U=0,X=0,ut=2,tt=1,Tt=r.slice.call(arguments,1),D=Object.create(this.lexer),j={yy:{}};for(var Et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Et)&&(j.yy[Et]=this.yy[Et]);D.setInput(o,j.yy),j.yy.lexer=D,j.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var _t=D.yylloc;r.push(_t);var Qt=D.options&&D.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Zt(R){n.length=n.length-2*R,E.length=E.length-R,r.length=r.length-R}f(Zt,"popStack");function Lt(){var R;return R=g.pop()||D.lex()||tt,typeof R!="number"&&(R instanceof Array&&(g=R,R=g.pop()),R=h.symbols_[R]||R),R}f(Lt,"lex");for(var C,H,w,mt,J={},dt,Y,Rt,ft;;){if(H=n[n.length-1],this.defaultActions[H]?w=this.defaultActions[H]:((C===null||typeof C>"u")&&(C=Lt()),w=Z[H]&&Z[H][C]),typeof w>"u"||!w.length||!w[0]){var bt="";ft=[];for(dt in Z[H])this.terminals_[dt]&&dt>ut&&ft.push("'"+this.terminals_[dt]+"'");D.showPosition?bt="Parse error on line "+(U+1)+`:
1
+ import{g as te}from"./chunk-55IACEB6-BMKwRFGH.js";import{s as ee}from"./chunk-KX2RTZJC-y06NOTAw.js";import{_ as f,l as b,c as F,r as se,u as ie,a as re,b as ae,g as ne,s as oe,p as le,q as ce,R as he,k as W,y as ue}from"./mermaid.core-D6aFEa0I.js";var vt=(function(){var e=f(function(V,o,h,n){for(h=h||{},n=V.length;n--;h[V[n]]=o);return h},"o"),t=[1,2],s=[1,3],a=[1,4],i=[2,4],l=[1,9],d=[1,11],S=[1,16],p=[1,17],T=[1,18],_=[1,19],m=[1,33],k=[1,20],A=[1,21],$=[1,22],x=[1,23],O=[1,24],u=[1,26],L=[1,27],I=[1,28],N=[1,29],G=[1,30],P=[1,31],B=[1,32],at=[1,35],nt=[1,36],ot=[1,37],lt=[1,38],K=[1,34],y=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],ct=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],xt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],gt={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:f(function(o,h,n,g,E,r,Z){var c=r.length-1;switch(E){case 3:return g.setRootDoc(r[c]),r[c];case 4:this.$=[];break;case 5:r[c]!="nl"&&(r[c-1].push(r[c]),this.$=r[c-1]);break;case 6:case 7:this.$=r[c];break;case 8:this.$="nl";break;case 12:this.$=r[c];break;case 13:const tt=r[c-1];tt.description=g.trimColon(r[c]),this.$=tt;break;case 14:this.$={stmt:"relation",state1:r[c-2],state2:r[c]};break;case 15:const Tt=g.trimColon(r[c]);this.$={stmt:"relation",state1:r[c-3],state2:r[c-1],description:Tt};break;case 19:this.$={stmt:"state",id:r[c-3],type:"default",description:"",doc:r[c-1]};break;case 20:var U=r[c],X=r[c-2].trim();if(r[c].match(":")){var ut=r[c].split(":");U=ut[0],X=[X,ut[1]]}this.$={stmt:"state",id:U,type:"default",description:X};break;case 21:this.$={stmt:"state",id:r[c-3],type:"default",description:r[c-5],doc:r[c-1]};break;case 22:this.$={stmt:"state",id:r[c],type:"fork"};break;case 23:this.$={stmt:"state",id:r[c],type:"join"};break;case 24:this.$={stmt:"state",id:r[c],type:"choice"};break;case 25:this.$={stmt:"state",id:g.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:r[c-1].trim(),note:{position:r[c-2].trim(),text:r[c].trim()}};break;case 29:this.$=r[c].trim(),g.setAccTitle(this.$);break;case 30:case 31:this.$=r[c].trim(),g.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:r[c-3],url:r[c-2],tooltip:r[c-1]};break;case 33:this.$={stmt:"click",id:r[c-3],url:r[c-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:r[c-1].trim(),classes:r[c].trim()};break;case 36:this.$={stmt:"style",id:r[c-1].trim(),styleClass:r[c].trim()};break;case 37:this.$={stmt:"applyClass",id:r[c-1].trim(),styleClass:r[c].trim()};break;case 38:g.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:g.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:g.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:g.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:r[c].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:r[c-2].trim(),classes:[r[c].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:r[c-2].trim(),classes:[r[c].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:t,5:s,6:a},{1:[3]},{3:5,4:t,5:s,6:a},{3:6,4:t,5:s,6:a},e([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:l,5:d,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:T,22:_,24:m,25:k,26:A,27:$,28:x,29:O,32:25,33:u,35:L,37:I,38:N,41:G,45:P,48:B,51:at,52:nt,53:ot,54:lt,57:K},e(y,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:S,17:p,19:T,22:_,24:m,25:k,26:A,27:$,28:x,29:O,32:25,33:u,35:L,37:I,38:N,41:G,45:P,48:B,51:at,52:nt,53:ot,54:lt,57:K},e(y,[2,7]),e(y,[2,8]),e(y,[2,9]),e(y,[2,10]),e(y,[2,11]),e(y,[2,12],{14:[1,40],15:[1,41]}),e(y,[2,16]),{18:[1,42]},e(y,[2,18],{20:[1,43]}),{23:[1,44]},e(y,[2,22]),e(y,[2,23]),e(y,[2,24]),e(y,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},e(y,[2,28]),{34:[1,49]},{36:[1,50]},e(y,[2,31]),{13:51,24:m,57:K},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},e(ct,[2,44],{58:[1,56]}),e(ct,[2,45],{58:[1,57]}),e(y,[2,38]),e(y,[2,39]),e(y,[2,40]),e(y,[2,41]),e(y,[2,6]),e(y,[2,13]),{13:58,24:m,57:K},e(y,[2,17]),e(xt,i,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},e(y,[2,29]),e(y,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},e(y,[2,14],{14:[1,71]}),{4:l,5:d,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:T,21:[1,72],22:_,24:m,25:k,26:A,27:$,28:x,29:O,32:25,33:u,35:L,37:I,38:N,41:G,45:P,48:B,51:at,52:nt,53:ot,54:lt,57:K},e(y,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},e(y,[2,34]),e(y,[2,35]),e(y,[2,36]),e(y,[2,37]),e(ct,[2,46]),e(ct,[2,47]),e(y,[2,15]),e(y,[2,19]),e(xt,i,{7:78}),e(y,[2,26]),e(y,[2,27]),{5:[1,79]},{5:[1,80]},{4:l,5:d,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:T,21:[1,81],22:_,24:m,25:k,26:A,27:$,28:x,29:O,32:25,33:u,35:L,37:I,38:N,41:G,45:P,48:B,51:at,52:nt,53:ot,54:lt,57:K},e(y,[2,32]),e(y,[2,33]),e(y,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:f(function(o,h){if(h.recoverable)this.trace(o);else{var n=new Error(o);throw n.hash=h,n}},"parseError"),parse:f(function(o){var h=this,n=[0],g=[],E=[null],r=[],Z=this.table,c="",U=0,X=0,ut=2,tt=1,Tt=r.slice.call(arguments,1),D=Object.create(this.lexer),j={yy:{}};for(var Et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Et)&&(j.yy[Et]=this.yy[Et]);D.setInput(o,j.yy),j.yy.lexer=D,j.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var _t=D.yylloc;r.push(_t);var Qt=D.options&&D.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Zt(R){n.length=n.length-2*R,E.length=E.length-R,r.length=r.length-R}f(Zt,"popStack");function Lt(){var R;return R=g.pop()||D.lex()||tt,typeof R!="number"&&(R instanceof Array&&(g=R,R=g.pop()),R=h.symbols_[R]||R),R}f(Lt,"lex");for(var C,H,w,mt,J={},dt,Y,Rt,ft;;){if(H=n[n.length-1],this.defaultActions[H]?w=this.defaultActions[H]:((C===null||typeof C>"u")&&(C=Lt()),w=Z[H]&&Z[H][C]),typeof w>"u"||!w.length||!w[0]){var bt="";ft=[];for(dt in Z[H])this.terminals_[dt]&&dt>ut&&ft.push("'"+this.terminals_[dt]+"'");D.showPosition?bt="Parse error on line "+(U+1)+`:
2
2
  `+D.showPosition()+`
3
3
  Expecting `+ft.join(", ")+", got '"+(this.terminals_[C]||C)+"'":bt="Parse error on line "+(U+1)+": Unexpected "+(C==tt?"end of input":"'"+(this.terminals_[C]||C)+"'"),this.parseError(bt,{text:D.match,token:this.terminals_[C]||C,line:D.yylineno,loc:_t,expected:ft})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+H+", token: "+C);switch(w[0]){case 1:n.push(C),E.push(D.yytext),r.push(D.yylloc),n.push(w[1]),C=null,X=D.yyleng,c=D.yytext,U=D.yylineno,_t=D.yylloc;break;case 2:if(Y=this.productions_[w[1]][1],J.$=E[E.length-Y],J._$={first_line:r[r.length-(Y||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(Y||1)].first_column,last_column:r[r.length-1].last_column},Qt&&(J._$.range=[r[r.length-(Y||1)].range[0],r[r.length-1].range[1]]),mt=this.performAction.apply(J,[c,X,U,j.yy,w[1],E,r].concat(Tt)),typeof mt<"u")return mt;Y&&(n=n.slice(0,-1*Y*2),E=E.slice(0,-1*Y),r=r.slice(0,-1*Y)),n.push(this.productions_[w[1]][0]),E.push(J.$),r.push(J._$),Rt=Z[n[n.length-2]][n[n.length-1]],n.push(Rt);break;case 3:return!0}}return!0},"parse")},qt=(function(){var V={EOF:1,parseError:f(function(h,n){if(this.yy.parser)this.yy.parser.parseError(h,n);else throw new Error(h)},"parseError"),setInput:f(function(o,h){return this.yy=h||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:f(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var h=o.match(/(?:\r\n?|\n).*/g);return h?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:f(function(o){var h=o.length,n=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var E=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===g.length?this.yylloc.first_column:0)+g[g.length-n.length].length-n[0].length:this.yylloc.first_column-h},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-h]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(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(function(o){this.unput(this.match.slice(o))},"less"),pastInput:f(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var o=this.pastInput(),h=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
@@ -1 +1 @@
1
- import{_ as s}from"./mermaid.core-ClCS18UG.js";var t,e=(t=class{constructor(i){this.init=i,this.records=this.init()}reset(){this.records=this.init()}},s(t,"ImperativeState"),t);export{e as I};
1
+ import{_ as s}from"./mermaid.core-D6aFEa0I.js";var t,e=(t=class{constructor(i){this.init=i,this.records=this.init()}reset(){this.records=this.init()}},s(t,"ImperativeState"),t);export{e as I};