@layers-app/editor 0.5.2 → 0.5.4-optimization
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/{layers.2RmTpOSe.js → layers.0EAb8Ajx.js} +2 -2
- package/dist/{layers.BekArbNQ.js → layers.1Mvzm38Y.js} +3 -3
- package/dist/{layers.HISmbvvZ.js → layers.2wIERhxO.js} +1 -1
- package/dist/{layers.BJWQnQ1b.js → layers.694DrE1_.js} +3 -3
- package/dist/{layers.DtwPvqvM.js → layers.B-5aeeDH.js} +4 -4
- package/dist/{layers.Da7N3t0o.js → layers.B0winug5.js} +2 -2
- package/dist/{layers.n8BNeBDu.js → layers.B1S8ufDn.js} +1 -1
- package/dist/{layers.qKFGZSrv.js → layers.B3JNY9Km.js} +1 -1
- package/dist/{layers.D-P1auk3.js → layers.B6W2tqC0.js} +1 -1
- package/dist/{layers.DgQ6wjQ6.js → layers.B7Olyhe8.js} +1 -1
- package/dist/{layers.Deuxf8WS.js → layers.BCuuRSaf.js} +1 -1
- package/dist/{layers.B5fhqRqQ.js → layers.BESPlBGC.js} +1 -1
- package/dist/{layers.BocrFl_z.js → layers.BJTh7mUo.js} +2 -2
- package/dist/{layers.Bw7AFM_C.js → layers.BLL-019k.js} +1 -1
- package/dist/{layers.BEsDNARG.js → layers.BNJiP8Pw.js} +1 -1
- package/dist/{layers.8xliMm_4.js → layers.BNvAl5dS.js} +2 -2
- package/dist/{layers.C-f2Ts9u.js → layers.BThP74aw.js} +1 -1
- package/dist/{layers.BLomL8Y1.js → layers.BZ4laUeR.js} +1 -1
- package/dist/{layers.DGKHsEgL.js → layers.BZByPNdY.js} +1 -1
- package/dist/{layers.COTtcXWr.js → layers.B_5zMrI3.js} +1 -1
- package/dist/{layers.KNG61fVD.js → layers.B_7N5yjX.js} +1 -1
- package/dist/{layers.CvCe_XZO.js → layers.BdvfoI4U.js} +1 -1
- package/dist/{layers.CyGuH0wW.js → layers.BiJBOHr0.js} +1 -1
- package/dist/{layers.GGg0Uela.js → layers.Bk3_8qR9.js} +6 -6
- package/dist/{layers.CG-pQKxy.js → layers.BkPPOKBy.js} +1 -1
- package/dist/{layers.Ww9bBIaA.js → layers.BnZcjRLr.js} +1 -1
- package/dist/{layers.D-4uOpUj.js → layers.BqpcWKH6.js} +4 -4
- package/dist/{layers.J-SBicA2.js → layers.Br7D0wMN.js} +1 -1
- package/dist/{layers.LG7pZboq.js → layers.BsAu1GXs.js} +1 -1
- package/dist/{layers.DRi0nv8t.js → layers.Bv5sK47C.js} +3 -3
- package/dist/{layers.YUbPYUxB.js → layers.BxEdkUpI.js} +3 -3
- package/dist/{layers.DAUiVpfA.js → layers.BxUBbVsO.js} +1 -1
- package/dist/{layers.DkRaFpYI.js → layers.Bzalhqz_.js} +1 -1
- package/dist/{layers.BrBnUsI5.js → layers.C-dS7ntQ.js} +1 -1
- package/dist/{layers.CLG-12Ft.js → layers.C5BFsvzI.js} +2 -2
- package/dist/{layers.DzWUGmmi.js → layers.C5WLg9ed.js} +8 -8
- package/dist/{layers.jS5D2j9k.js → layers.C6lAFlKZ.js} +4 -4
- package/dist/{layers.N7uLiJJF.js → layers.CGwNL7dH.js} +5 -5
- package/dist/{layers.B7R5e9nb.js → layers.CI739wqN.js} +1 -1
- package/dist/{layers.CBTk7340.js → layers.CKaj4dG4.js} +1 -1
- package/dist/{layers.DXM-M_t4.js → layers.CLRiSwgi.js} +3 -3
- package/dist/{layers.B9H_VqGH.js → layers.CN1QkD6D.js} +1 -1
- package/dist/{layers.CAAtHbGC.js → layers.CPY6U3g-.js} +1 -1
- package/dist/{layers.C8d9V9GQ.js → layers.CRSjdIG6.js} +1 -1
- package/dist/{layers.D_qBxnuW.js → layers.CUHkTCid.js} +1 -1
- package/dist/{layers.BBu8KTxD.js → layers.CUPMw0sy.js} +1 -1
- package/dist/{layers.k5zSy7kx.js → layers.CWb6LiAY.js} +1 -1
- package/dist/{layers.CNNAjKqx.js → layers.C_XsSNQo.js} +1 -1
- package/dist/{layers.CfjCZzg8.js → layers.CbmlFoXt.js} +1 -1
- package/dist/{layers.D-0DKizI.js → layers.CfGeHh-g.js} +1 -1
- package/dist/{layers.CF0jHwg8.js → layers.CiJxVu9b.js} +1 -1
- package/dist/{layers.1kchl9Fg.js → layers.Cj4ezyVr.js} +1 -1
- package/dist/{layers.mkPf05Ff.js → layers.Cpb-MRZn.js} +1 -1
- package/dist/{layers.RY1Pc_vI.js → layers.CskURloi.js} +1 -1
- package/dist/{layers.B5o5YNLY.js → layers.CtTD47i4.js} +1 -1
- package/dist/{layers.g0MJEmgM.js → layers.CxcvEfKe.js} +1 -1
- package/dist/{layers.Fv2UzX_J.js → layers.D-U9uIsP.js} +1 -1
- package/dist/{layers.B4cctrKy.js → layers.D10WeKck.js} +3 -3
- package/dist/{layers.CjZ_56YO.js → layers.D4jK2Tet.js} +1 -1
- package/dist/{layers.DZAc2rlA.js → layers.DBosqi2D.js} +4 -4
- package/dist/{layers.BzfTuld3.js → layers.DGtETOVJ.js} +1 -1
- package/dist/{layers.A7FX8Cpf.js → layers.DKENAsMv.js} +4 -4
- package/dist/{layers.DuQS64hQ.js → layers.DOBSfaUM.js} +1 -1
- package/dist/{layers.CPdjh9hT.js → layers.DOKLQ6A3.js} +3 -3
- package/dist/{layers.DLK9DV2V.js → layers.DPuVWH3L.js} +1 -1
- package/dist/{layers.CNAZOY0z.js → layers.DQVXh43C.js} +1 -1
- package/dist/{layers.CX_ayh7E.js → layers.DSTh89J8.js} +1 -1
- package/dist/{layers.fdHV7i_n.js → layers.DUsIfvNt.js} +24899 -25580
- package/dist/{layers.CeNyh2LV.js → layers.DVfpGIrv.js} +1 -1
- package/dist/{layers.DyVeJ5nq.js → layers.DWSkLlGf.js} +1 -1
- package/dist/{layers.Bz8CGnnD.js → layers.DX1RI3m3.js} +1 -1
- package/dist/{layers.Bv6t74Ng.js → layers.DdMwmP4m.js} +1 -1
- package/dist/{layers.cXShihLV.js → layers.DhkyREpW.js} +3 -3
- package/dist/{layers.YejPlmok.js → layers.Dj-f1_6N.js} +1 -1
- package/dist/{layers.DAgjLyi0.js → layers.DjhJT1nZ.js} +4 -4
- package/dist/{layers.B1970UjZ.js → layers.Djl9Gz6s.js} +2 -2
- package/dist/{layers.CO0NalVl.js → layers.Dn2AP7iE.js} +5 -5
- package/dist/{layers.37cL7YbN.js → layers.Dqbek_0L.js} +1 -1
- package/dist/{layers.D176Y7Vo.js → layers.DsDjOLHs.js} +3 -3
- package/dist/layers.DsOaqGXW.js +8 -0
- package/dist/{layers.DG5nJvev.js → layers.DuE1l7lR.js} +1 -1
- package/dist/{layers.DneF9QFl.js → layers.DxHlP7Pb.js} +1 -1
- package/dist/{layers.CCGTXI7t.js → layers.DyZ5R-vS.js} +1 -1
- package/dist/{layers.ku7sc5w7.js → layers.H2Kl_PC2.js} +1 -1
- package/dist/{layers.DJJF7QHv.js → layers.IW4NBP9k.js} +1 -1
- package/dist/{layers.ByEhw12k.js → layers.LGx1jmqd.js} +1 -1
- package/dist/{layers.CfsQNfbN.js → layers.NABwYdw5.js} +1 -1
- package/dist/{layers.D__Ge0jR.js → layers.NtwvbkGN.js} +3 -3
- package/dist/{layers.CgqehJlq.js → layers.O-bFTk-n.js} +4 -4
- package/dist/{layers.T5F5IY6f.js → layers.R_udKe_N.js} +1 -1
- package/dist/{layers.DZ4rueAA.js → layers.TdTDbIzb.js} +1 -1
- package/dist/{layers.0aivjg14.js → layers.WLeJl9el.js} +4 -4
- package/dist/{layers.B_C8Ox8-.js → layers.dEHKcy8J.js} +2 -2
- package/dist/{layers.D9oxm2Q3.js → layers.eTredPK_.js} +1 -1
- package/dist/{layers.4q_x5roN.js → layers.gIdzfQAa.js} +1 -1
- package/dist/{layers.CzqAzeMM.js → layers.huV95Ipe.js} +1 -1
- package/dist/{layers.KZKDnGbd.js → layers.jU4W5PG5.js} +24 -24
- package/dist/{layers.BRVeeDcH.js → layers.mQcENPPW.js} +4 -4
- package/dist/{layers.B1TVCKFc.js → layers.nPQCmYXI.js} +1 -1
- package/dist/{layers.BWwCeuKP.js → layers.ntC1foLT.js} +1 -1
- package/dist/layers.uHy1yMbq.js +6 -0
- package/package.json +5 -4
- package/dist/index.cjs +0 -2
- package/dist/layers.-TbWEgSf.js +0 -425
- package/dist/layers.52famHy6.js +0 -1
- package/dist/layers.68ma6K6f.js +0 -1
- package/dist/layers.6HZckrJk.js +0 -1
- package/dist/layers.9pNaFvaX.js +0 -1
- package/dist/layers.B-MfAaIy.js +0 -1
- package/dist/layers.B17DijoR.js +0 -6
- package/dist/layers.B19hGmey.js +0 -1
- package/dist/layers.B1IP0xF5.js +0 -122
- package/dist/layers.B2wb1BnV.js +0 -1
- package/dist/layers.B3D4g2HH.js +0 -1
- package/dist/layers.B3QZKSP7.js +0 -4
- package/dist/layers.B5eIpqUm.js +0 -5
- package/dist/layers.B7QKbjTP.js +0 -1
- package/dist/layers.B9gDt0mt.js +0 -2
- package/dist/layers.BAtv1CM7.js +0 -1
- package/dist/layers.BAx1rxXM.js +0 -1
- package/dist/layers.BC0UHUHZ.js +0 -6
- package/dist/layers.BIFfWqjp.js +0 -6
- package/dist/layers.BIRO82v2.js +0 -1
- package/dist/layers.BIXkxpJg.js +0 -7
- package/dist/layers.BIeVwYKL.js +0 -1
- package/dist/layers.BKA3G4tE.js +0 -8
- package/dist/layers.BKcOrB7G.js +0 -8
- package/dist/layers.BLd2spTm.js +0 -1
- package/dist/layers.BOGcxS4S.js +0 -11
- package/dist/layers.BPpqQ2zl.js +0 -10
- package/dist/layers.BQGV7_aP.js +0 -7
- package/dist/layers.BQvMgKOV.js +0 -257
- package/dist/layers.BSB9eX8_.js +0 -96
- package/dist/layers.BSDp4pjf.js +0 -160
- package/dist/layers.BSTBZrFn.js +0 -1
- package/dist/layers.BXYVnzZo.js +0 -10
- package/dist/layers.BYxlPasW.js +0 -9
- package/dist/layers.B_rZy9ZE.js +0 -10
- package/dist/layers.Becl7PvM.js +0 -1
- package/dist/layers.BgOa2ZQq.js +0 -7
- package/dist/layers.BhZmc2PE.js +0 -1
- package/dist/layers.BhaSD27u.js +0 -8
- package/dist/layers.Bm7EN78W.js +0 -5
- package/dist/layers.BrhJtZkc.js +0 -84
- package/dist/layers.Bsxy-Zmv.js +0 -7
- package/dist/layers.Bu9go6nF.js +0 -10
- package/dist/layers.BuJFmhxG.js +0 -1
- package/dist/layers.BuNBio9d.js +0 -10
- package/dist/layers.BufbpNF2.js +0 -35
- package/dist/layers.C0xLKPSB.js +0 -7
- package/dist/layers.C9KUAI3S.js +0 -9
- package/dist/layers.C9Qm4iyY.js +0 -51
- package/dist/layers.CDnEPiFS.js +0 -13
- package/dist/layers.CFEmW02q.js +0 -189
- package/dist/layers.CFpY72SE.js +0 -1
- package/dist/layers.CHZsXQcr.js +0 -1
- package/dist/layers.CIBiA4cp.js +0 -9
- package/dist/layers.CJ5oFhK5.js +0 -9
- package/dist/layers.CLQVPEWO.js +0 -70
- package/dist/layers.CNAp0agL.js +0 -11
- package/dist/layers.COsJBDU8.js +0 -11
- package/dist/layers.CSFyrYzY.js +0 -118
- package/dist/layers.Ce_CBSin.js +0 -9
- package/dist/layers.CildyhOW.js +0 -1
- package/dist/layers.CjBfNqWg.js +0 -207
- package/dist/layers.Ct7y2KbU.js +0 -1
- package/dist/layers.CtASemAs.js +0 -1
- package/dist/layers.CvF4WyAB.js +0 -8
- package/dist/layers.CvgnifSj.js +0 -10
- package/dist/layers.Cyzu9PKQ.js +0 -1
- package/dist/layers.CzZCiNn3.js +0 -1
- package/dist/layers.Cz_HcKZR.js +0 -9
- package/dist/layers.D-z4IZwp.js +0 -139
- package/dist/layers.D0zn4_Mx.js +0 -1
- package/dist/layers.D1TLKJdE.js +0 -2
- package/dist/layers.D4SM8Ihn.js +0 -10
- package/dist/layers.D819V-1U.js +0 -5
- package/dist/layers.D92dwfZm.js +0 -9
- package/dist/layers.DG5DkMsX.js +0 -4
- package/dist/layers.DGIvTJgm.js +0 -1
- package/dist/layers.DJINSxsc.js +0 -1
- package/dist/layers.DLNMmOF6.js +0 -10
- package/dist/layers.DMkBISW1.js +0 -1
- package/dist/layers.DO3jf13r.js +0 -139
- package/dist/layers.DOrgOHBr.js +0 -1
- package/dist/layers.DTEtUQ-N.js +0 -11
- package/dist/layers.DZAwluRX.js +0 -7
- package/dist/layers.DbCde96z.js +0 -61
- package/dist/layers.DbaKVP5e.js +0 -1
- package/dist/layers.Dhs3Sikn.js +0 -230
- package/dist/layers.DizdRJDv.js +0 -10
- package/dist/layers.Dn0j_OK5.js +0 -8
- package/dist/layers.DnohNr8z.js +0 -2
- package/dist/layers.DtjaV33P.js +0 -4
- package/dist/layers.DvcL-c1J.js +0 -10
- package/dist/layers.DwGEUGi4.js +0 -1
- package/dist/layers.Dwf-cmfl.js +0 -1
- package/dist/layers.DxuaZtRi.js +0 -116
- package/dist/layers.Dz5Fekdu.js +0 -8
- package/dist/layers.DzTjTsrg.js +0 -52
- package/dist/layers.DzWSztoe.js +0 -8
- package/dist/layers.JWCLFILJ.js +0 -1
- package/dist/layers.Jy2BJnrD.js +0 -7
- package/dist/layers.Kcxw1ZN5.js +0 -8
- package/dist/layers.P0mMn9V6.js +0 -4
- package/dist/layers.UBsT16id.js +0 -9
- package/dist/layers.YsjMDe1Z.js +0 -8
- package/dist/layers._IMfh4Om.js +0 -1
- package/dist/layers.dBCFbDUQ.js +0 -5
- package/dist/layers.dsZSDggl.js +0 -1
- package/dist/layers.dzPD2Tq6.js +0 -8
- package/dist/layers.g6KGAlYG.js +0 -7
- package/dist/layers.gAwY5NlW.js +0 -6
- package/dist/layers.hJXmn9h9.js +0 -3
- package/dist/layers.hMr_bHrn.js +0 -1
- package/dist/layers.hweLqW3I.js +0 -261
- package/dist/layers.ifrGR0tH.js +0 -1
- package/dist/layers.l0OsrJxT.js +0 -9
- package/dist/layers.mcrEJ5IL.js +0 -1
- package/dist/layers.nesKhKqv.js +0 -9
- package/dist/layers.o8uxn2z6.js +0 -6
- package/dist/layers.tehvhFRL.js +0 -11
- package/dist/layers.yaVCGcoo.js +0 -7
package/dist/layers.CvF4WyAB.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./layers.Dhs3Sikn.js");var u={paste:"貼り付け",pasteAsPlaintext:"書式なしテキストとして貼り付け",pasteCharts:"チャートの貼り付け",selectAll:"すべて選択",multiSelect:"複数選択",moveCanvas:"キャンバスを移動",cut:"切り取り",copy:"コピー",copyAsPng:"PNGとしてクリップボードへコピー",copyAsSvg:"SVGとしてクリップボードへコピー",copyText:"テキストとしてクリップボードにコピー",copySource:"",convertToCode:"",bringForward:"前面に移動",sendToBack:"最背面に移動",bringToFront:"最前面に移動",sendBackward:"背面に移動",delete:"削除",copyStyles:"スタイルのコピー",pasteStyles:"スタイルの貼り付け",stroke:"線",background:"背景",fill:"塗りつぶし",strokeWidth:"線の太さ",strokeStyle:"線の種類",strokeStyle_solid:"実線",strokeStyle_dashed:"破線",strokeStyle_dotted:"点線",sloppiness:"ばらつき加減",opacity:"透明度",textAlign:"文字の配置",edges:"角",sharp:"四角",round:"丸",arrowheads:"線の終点",arrowhead_none:"なし",arrowhead_arrow:"矢印",arrowhead_bar:"バー",arrowhead_circle:"",arrowhead_circle_outline:"",arrowhead_triangle:"三角",arrowhead_triangle_outline:"",arrowhead_diamond:"",arrowhead_diamond_outline:"",fontSize:"フォントの大きさ",fontFamily:"フォントの種類",addWatermark:'"Made with Excalidraw"と表示',handDrawn:"手描き風",normal:"普通",code:"コード",small:"小",medium:"中",large:"大",veryLarge:"特大",solid:"ベタ塗り",hachure:"斜線",zigzag:"ジグザグ",crossHatch:"網掛け",thin:"細",bold:"太字",left:"左寄せ",center:"中央寄せ",right:"右寄せ",extraBold:"極太",architect:"正確",artist:"アート",cartoonist:"漫画風",fileTitle:"ファイル名",colorPicker:"色選択",canvasColors:"キャンバス上で使用",canvasBackground:"キャンバスの背景",drawingCanvas:"キャンバスの描画",layers:"レイヤー",actions:"操作",language:"言語",liveCollaboration:"共同編集...",duplicateSelection:"複製",untitled:"無題",name:"名前",yourName:"あなたの名前",madeWithExcalidraw:"Excalidrawで作成",group:"グループ化",ungroup:"グループ化を解除",collaborators:"共同編集者",showGrid:"グリッドを表示",addToLibrary:"ライブラリに追加",removeFromLibrary:"ライブラリから削除",libraryLoadingMessage:"ライブラリを読み込み中…",libraries:"ライブラリを参照する",loadingScene:"シーンを読み込み中…",align:"配置",alignTop:"上揃え",alignBottom:"下揃え",alignLeft:"左揃え",alignRight:"右揃え",centerVertically:"縦方向に中央揃え",centerHorizontally:"横方向に中央揃え",distributeHorizontally:"水平方向に分散配置",distributeVertically:"垂直方向に分散配置",flipHorizontal:"水平方向に反転",flipVertical:"垂直方向に反転",viewMode:"閲覧モード",share:"共有",showStroke:"ストロークカラーピッカーを表示",showBackground:"背景色ピッカーを表示",toggleTheme:"テーマの切り替え",personalLib:"個人ライブラリ",excalidrawLib:"Excalidrawライブラリ",decreaseFontSize:"フォントサイズを縮小",increaseFontSize:"フォントサイズを拡大",unbindText:"テキストのバインド解除",bindText:"テキストをコンテナにバインド",createContainerFromText:"コンテナ内でテキストを折り返す",link:{edit:"リンクを編集",editEmbed:"リンクの編集と埋め込み",create:"リンクを作成",createEmbed:"リンクの作成と埋め込み",label:"リンク",labelEmbed:"リンクと埋め込み",empty:"リンクが設定されていません"},lineEditor:{edit:"行を編集",exit:"行エディタを終了"},elementLock:{lock:"ロック",unlock:"ロック解除",lockAll:"すべてロック",unlockAll:"すべてのロックを解除"},statusPublished:"公開済み",sidebarLock:"サイドバーを開いたままにする",selectAllElementsInFrame:"フレーム内のすべての要素を選択",removeAllElementsFromFrame:"フレーム内のすべての要素を削除",eyeDropper:"キャンバスから色を選択",textToDiagram:"",prompt:""},F={noItems:"まだアイテムが追加されていません…",hint_emptyLibrary:"キャンバス上のアイテムを選択してここに追加するか、以下の公開リポジトリからライブラリをインストールしてください。",hint_emptyPrivateLibrary:"キャンバス上のアイテムを選択すると、ここに追加されます。"},E={clearReset:"キャンバスのリセット",exportJSON:"ファイルへエクスポート",exportImage:"画像のエクスポート...",export:"名前を付けて保存...",copyToClipboard:"クリップボードにコピー",save:"現在のファイルに保存",saveAs:"名前を付けて保存",load:"開く",getShareableLink:"共有URLの取得",close:"閉じる",selectLanguage:"言語の選択",scrollBackToContent:"コンテンツまでスクロールで戻る",zoomIn:"拡大",zoomOut:"縮小",resetZoom:"拡大/縮小をリセット",menu:"メニュー",done:"完了",edit:"編集",undo:"元に戻す",redo:"やり直し",resetLibrary:"ライブラリをリセット",createNewRoom:"新しい部屋を作成する",fullScreen:"フルスクリーン",darkMode:"ダークモード",lightMode:"ライトモード",zenMode:"Zenモード",objectsSnapMode:"",exitZenMode:"集中モードをやめる",cancel:"キャンセル",clear:"消去",remove:"削除",embed:"埋め込みの切り替え",publishLibrary:"公開",submit:"送信",confirm:"確認",embeddableInteractionButton:""},B={clearReset:"この操作によってキャンバス全体が消えます。よろしいですか?",couldNotCreateShareableLink:"共有URLを作成できませんでした。",couldNotCreateShareableLinkTooBig:"共有可能なリンクを作成できませんでした: シーンが大きすぎます",couldNotLoadInvalidFile:"無効なファイルを読み込めませんでした。",importBackendFailed:"サーバーからの読み込みに失敗しました。",cannotExportEmptyCanvas:"空のキャンバスはエクスポートできません。",couldNotCopyToClipboard:"クリップボードにコピーできませんでした。",decryptFailed:"データを復号できませんでした。",uploadedSecurly:"データのアップロードはエンドツーエンド暗号化によって保護されています。Excalidrawサーバーと第三者はデータの内容を見ることができません。",loadSceneOverridePrompt:"外部図面を読み込むと、既存のコンテンツが置き換わります。続行しますか?",collabStopOverridePrompt:`セッションを停止すると、ローカルに保存されている図が上書きされます。 本当によろしいですか?
|
|
2
|
-
|
|
3
|
-
(ローカルの図を保持したい場合は、セッションを停止せずにブラウザタブを閉じてください。)`,errorAddingToLibrary:"アイテムをライブラリに追加できませんでした",errorRemovingFromLibrary:"ライブラリからアイテムを削除できませんでした",confirmAddLibrary:"{{numShapes}} 個の図形をライブラリに追加します。よろしいですか?",imageDoesNotContainScene:"この画像にはシーンデータが含まれていないようです。エクスポート時にシーンの埋め込みを有効にしましたか?",cannotRestoreFromImage:"このイメージファイルからシーンを復元できませんでした",invalidSceneUrl:"指定された URL からシーンをインポートできませんでした。不正な形式であるか、有効な Excalidraw JSON データが含まれていません。",resetLibrary:"ライブラリを消去します。本当によろしいですか?",removeItemsFromsLibrary:"{{count}} 個のアイテムをライブラリから削除しますか?",invalidEncryptionKey:"暗号化キーは22文字でなければなりません。ライブコラボレーションは無効化されています。",collabOfflineWarning:`インターネットに接続されていません。
|
|
4
|
-
変更は保存されません!`},C={unsupportedFileType:"サポートされていないファイル形式です。",imageInsertError:"画像を挿入できませんでした。後でもう一度お試しください...",fileTooBig:"ファイルが大きすぎます。許可される最大サイズは {{maxSize}} です。",svgImageInsertError:"SVGイメージを挿入できませんでした。SVGマークアップは無効に見えます。",failedToFetchImage:"",invalidSVGString:"無効なSVGです。",cannotResolveCollabServer:"コラボレーションサーバに接続できませんでした。ページを再読み込みして、もう一度お試しください。",importLibraryError:"ライブラリを読み込めませんでした。",collabSaveFailed:"バックエンドデータベースに保存できませんでした。問題が解決しない場合は、作業を失わないようにローカルにファイルを保存してください。",collabSaveFailed_sizeExceeded:"キャンバスが大きすぎるため、バックエンドデータベースに保存できませんでした。問題が解決しない場合は、作業を失わないようにローカルにファイルを保存してください。",imageToolNotSupported:"",brave_measure_text_error:{line1:"<bold>Aggressly Block Fingerprinting</bold> の設定が有効なBraveブラウザを使用しているようです。",line2:"これにより、図面の <bold>テキスト要素</bold> が壊れる可能性があります。",line3:"この設定を無効にすることを強く推奨します。 <link>設定手順</link> をこちらから確認できます。",line4:"この設定を無効にすると、テキスト要素の表示が修正されません。 GitHub で <issueLink>Issue</issueLink> を開くか、 <discordLink>Discord</discordLink> にご記入ください"},libraryElementTypeError:{embeddable:"",iframe:"",image:""},asyncPasteFailedOnRead:"",asyncPasteFailedOnParse:"",copyToSystemClipboardFailed:""},A={selection:"選択",image:"画像を挿入",rectangle:"矩形",diamond:"ひし形",ellipse:"楕円",arrow:"矢印",line:"直線",freedraw:"描画",text:"テキスト",library:"ライブラリ",lock:"描画後も使用中のツールを選択したままにする",penMode:"ペンモード - タッチ防止",link:"選択した図形のリンクを追加/更新",eraser:"消しゴム",frame:"フレームツール",magicframe:"",embeddable:"Web埋め込み",laser:"",hand:"手 (パンニングツール)",extraTools:"その他のツール",mermaidToExcalidraw:"",magicSettings:""},e={canvasActions:"キャンバス操作",selectedShapeActions:"選択された図形に対する操作",shapes:"図形"},D={canvasPanning:"キャンバスを移動するには、マウスホイールまたはスペースバーを押しながらドラッグするか、手ツールを使用します",linearElement:"クリックすると複数の頂点からなる曲線を開始、ドラッグすると直線",freeDraw:"クリックしてドラッグします。離すと終了します",text:"ヒント: 選択ツールを使用して任意の場所をダブルクリックしてテキストを追加することもできます",embeddable:"",text_selected:"テキストを編集するには、ダブルクリックまたはEnterキーを押します",text_editing:"Esc キーまたは CtrlOrCmd+ENTER キーを押して編集を終了します",linearElementMulti:"最後のポイントをクリックするか、エスケープまたはEnterを押して終了します",lockAngle:"SHIFTを押したままにすると、角度を制限することができます",resize:"サイズを変更中にSHIFTを押すと縦横比を固定できます。Altを押すと中央からサイズを変更できます",resizeImage:`SHIFTを長押しすると自由にサイズを変更できます。
|
|
5
|
-
中央からサイズを変更するにはALTを長押しします`,rotate:"回転中にSHIFT キーを押すと角度を制限することができます",lineEditor_info:"CtrlOrCmd を押したままダブルクリックするか、CtrlOrCmd + Enter を押して点を編集します",lineEditor_pointSelected:"Deleteキーを押すと点を削除、CtrlOrCmd+Dで複製、マウスドラッグで移動",lineEditor_nothingSelected:`編集する点を選択(SHIFTを押したままで複数選択)、
|
|
6
|
-
Altキーを押しながらクリックすると新しい点を追加`,placeImage:"クリックして画像を配置するか、クリックしてドラッグしてサイズを手動で設定します",publishLibrary:"自分のライブラリを公開",bindTextToElement:"Enterを押してテキストを追加",deepBoxSelect:"CtrlOrCmd を押し続けることでドラッグを抑止し、深い選択を行います",eraserRevert:"Alt を押し続けることで削除マークされた要素を元に戻す",firefox_clipboard_write:'この機能は、"dom.events.asyncClipboard.clipboardItem" フラグを "true" に設定することで有効になる可能性があります。Firefox でブラウザーの設定を変更するには、"about:config" ページを参照してください。',disableSnapping:""},r={cannotShowPreview:"プレビューを表示できません",canvasTooBig:"キャンバスが大きすぎます。",canvasTooBigTip:"ヒント: 最も遠い要素をもう少し近づけてみてください。"},t={headingMain:"エラーが発生しました。もう一度やり直してください。 <button>ページを再読み込みする。</button>",clearCanvasMessage:"再読み込みがうまくいかない場合は、 <button>キャンバスを消去しています</button>",clearCanvasCaveat:" これにより作業が失われます ",trackedToSentry:"識別子のエラー {{eventId}} が我々のシステムで追跡されました。",openIssueMessage:"エラーに関するシーン情報を含めないように非常に慎重に設定しました。もしあなたのシーンがプライベートでない場合は、私たちのフォローアップを検討してください。 <button>バグ報告</button> GitHub のIssueに以下の情報をコピーして貼り付けてください。",sceneContent:"シーンの内容:"},o={desc_intro:"他の人を編集中のあなたの画面に招待して共同編集することができます。",desc_privacy:"このセッションはエンドツーエンド暗号化されており、描画内容は保護されています。運営サーバーからも内容は見えません。",button_startSession:"セッションを開始する",button_stopSession:"セッションを終了する",desc_inProgressIntro:"共同編集セッションが有効になっています。",desc_shareLink:"下記URLを共同編集したい人に共有してください:",desc_exitSession:"セッションを終了するとあなたはルームから切断されますが、ローカルで作業を続けることができます。セッションを終了しても他のメンバには影響はなく、引き続き共同作業を行うことができます。",shareTitle:"Excalidrawの共同編集セッションに参加する"},a={title:"エラー"},i={disk_title:"ディスクに保存",disk_details:"シーンデータを後からインポートできるファイルにエクスポートします。",disk_button:"ファイルへ保存",link_title:"共有可能なリンク",link_details:"読み取り専用リンクとしてエクスポート",link_button:"リンクとしてエクスポート",excalidrawplus_description:"Excalidraw+ ワークスペースにシーンを保存します。",excalidrawplus_button:"エクスポート",excalidrawplus_exportError:"Excalidraw+ にエクスポートできませんでした..."},l={blog:"公式ブログを読む",click:"クリック",deepSelect:"深い選択",deepBoxSelect:"ボックス内の深い選択、およびドラッグの抑止",curvedArrow:"カーブした矢印",curvedLine:"曲線",documentation:"ドキュメント",doubleClick:"ダブルクリック",drag:"ドラッグ",editor:"エディタ",editLineArrowPoints:"",editText:"テキストの編集 / ラベルの追加",github:"不具合報告はこちら",howto:"ヘルプ・マニュアル",or:"または",preventBinding:"矢印を結合しない",tools:"ツール",shortcuts:"キーボードショートカット",textFinish:"編集を終了 (テキストエディタ)",textNewLine:"新しい行を追加 (テキスト)",title:"ヘルプ",view:"表示",zoomToFit:"すべての要素が収まるようにズーム",zoomToSelection:"選択要素にズーム",toggleElementLock:"選択したアイテムをロック/ロック解除",movePageUpDown:"ページを上下に移動",movePageLeftRight:"ページを左右に移動"},n={title:"キャンバスを消去"},s={title:"ライブラリを公開",itemName:"アイテム名",authorName:"作成者名",githubUsername:"GitHub ユーザ名",twitterUsername:"Twitter ユーザ名",libraryName:"ライブラリ名",libraryDesc:"ライブラリの説明",website:"Webサイト",placeholder:{authorName:"お名前またはユーザー名",libraryName:"あなたのライブラリ名",libraryDesc:"ライブラリの使い方を理解するための説明",githubHandle:"GitHubハンドル(任意)。一度レビューのために送信されると、ライブラリを編集できます",twitterHandle:"Twitterのユーザー名 (任意)。Twitterでプロモーションする際にクレジットする人を知っておくためのものです",website:"個人のウェブサイトまたは他のサイトへのリンク (任意)"},errors:{required:"必須項目",website:"有効な URL を入力してください"},noteDescription:"以下に含めるライブラリを提出してください <link>公開ライブラリのリポジトリ</link>他の人が作図に使えるようにするためです",noteGuidelines:"最初にライブラリを手動で承認する必要があります。次をお読みください <link>ガイドライン</link> 送信する前に、GitHubアカウントが必要になりますが、必須ではありません。",noteLicense:"提出することにより、ライブラリが次の下で公開されることに同意します: <link>MIT ライセンス </link>つまり誰でも制限なく使えるということです",noteItems:"各ライブラリ項目は、フィルタリングのために独自の名前を持つ必要があります。以下のライブラリアイテムが含まれます:",atleastOneLibItem:"開始するには少なくとも1つのライブラリ項目を選択してください",republishWarning:"注意: 選択された項目の中には、すでに公開/投稿済みと表示されているものがあります。既存のライブラリや投稿を更新する場合のみ、アイテムを再投稿してください。"},d={title:"ライブラリを送信しました",content:"{{authorName}} さん、ありがとうございます。あなたのライブラリはレビューのために提出されました。状況を追跡できます。<link>こちら</link>"},c={resetLibrary:"ライブラリをリセット",removeItemsFromLib:"選択したアイテムをライブラリから削除"},m={header:"画像をエクスポート",label:{withBackground:"背景",onlySelected:"",darkMode:"ダークモード",embedScene:"",scale:"スケール",padding:"余白"},tooltip:{embedScene:""},title:{exportToPng:"PNG にエクスポート",exportToSvg:"SVG にエクスポート",copyPngToClipboard:"クリップボードにPNGをコピー"},button:{exportToPng:"PNG",exportToSvg:"SVG",copyPngToClipboard:"クリップボードにコピー"}},b={tooltip:"描画内容はエンドツーエンド暗号化が施されており、Excalidrawサーバーが内容を見ることはできません。",link:"Excalidrawのエンドツーエンド暗号化に関するブログ記事"},p={angle:"角度",element:"要素",elements:"要素",height:"高さ",scene:"シーン",selected:"選択済み",storage:"ストレージ",title:"詳細統計情報",total:"合計",version:"バージョン",versionCopy:"クリックしてコピー",versionNotAvailable:"利用できないバージョン",width:"幅"},g={addedToLibrary:"ライブラリに追加しました",copyStyles:"スタイルをコピーしました。",copyToClipboard:"クリップボードにコピー",copyToClipboardAsPng:`{{exportSelection}} を PNG 形式でクリップボードにコピーしました
|
|
7
|
-
({{exportColorScheme}})`,fileSaved:"ファイルを保存しました",fileSavedToFilename:"{filename} に保存しました",canvas:"キャンバス",selection:"選択",pasteAsSingleElement:`{{shortcut}} を使用して単一の要素として貼り付けるか、
|
|
8
|
-
既存のテキストエディタに貼り付け`,unableToEmbed:"",unrecognizedLinkFormat:""},h={transparent:"透明",black:"黒",white:"白",red:"赤",pink:"ピンク",grape:"グレープ",violet:"バイオレット",gray:"灰色",blue:"青",cyan:"シアン",teal:"ティール",green:"緑",yellow:"黄",orange:"オレンジ",bronze:"ブロンズ"},y={app:{center_heading:"すべてのデータはブラウザにローカル保存されます。",center_heading_plus:"代わりにExcalidraw+を開きますか?",menuHint:"エクスポート、設定、言語..."},defaults:{menuHint:"エクスポート、設定、その他...",center_heading:"ダイアグラムを簡単に。",toolbarHint:"ツールを選んで描き始めよう!",helpHint:"ショートカットとヘルプ"}},S={mostUsedCustomColors:"最も使用されているカスタム色",colors:"色",shades:"影",hexCode:"Hexコード",noShades:""},v={action:{exportToImage:{title:"画像としてエクスポート",button:"画像としてエクスポート",description:""},saveToDisk:{title:"ディスクに保存",button:"ディスクに保存",description:""},excalidrawPlus:{title:"Excalidraw+",button:"Excalidraw+にエクスポート",description:"Excalidraw+ ワークスペースにシーンを保存します。"}},modal:{loadFromFile:{title:"ファイルからロード",button:"ファイルからロード",description:""},shareableLink:{title:"リンクからロード",button:"",description:""}}},w={title:"",button:"",description:"",syntax:"",preview:""},x={labels:u,library:F,buttons:E,alerts:B,errors:C,toolBar:A,headings:e,hints:D,canvasError:r,errorSplash:t,roomDialog:o,errorDialog:a,exportDialog:i,helpDialog:l,clearCanvasDialog:n,publishDialog:s,publishSuccessDialog:d,confirmDialog:c,imageExportDialog:m,encrypted:b,stats:p,toast:g,colors:h,welcomeScreen:y,colorPicker:S,overwriteConfirm:v,mermaid:w};exports.alerts=B;exports.buttons=E;exports.canvasError=r;exports.clearCanvasDialog=n;exports.colorPicker=S;exports.colors=h;exports.confirmDialog=c;exports.default=x;exports.encrypted=b;exports.errorDialog=a;exports.errorSplash=t;exports.errors=C;exports.exportDialog=i;exports.headings=e;exports.helpDialog=l;exports.hints=D;exports.imageExportDialog=m;exports.labels=u;exports.library=F;exports.mermaid=w;exports.overwriteConfirm=v;exports.publishDialog=s;exports.publishSuccessDialog=d;exports.roomDialog=o;exports.stats=p;exports.toast=g;exports.toolBar=A;exports.welcomeScreen=y;
|
package/dist/layers.CvgnifSj.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("./layers.BSB9eX8_.js"),re=require("./layers.ifrGR0tH.js"),Ee=require("./layers.Dhs3Sikn.js");var Bt=(function(){var e=function(_t,_,x,m){for(x=x||{},m=_t.length;m--;x[_t[m]]=_);return x},t=[1,24],a=[1,25],o=[1,26],l=[1,27],i=[1,28],s=[1,63],r=[1,64],n=[1,65],h=[1,66],f=[1,67],d=[1,68],p=[1,69],E=[1,29],O=[1,30],D=[1,31],P=[1,32],B=[1,33],I=[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],it=[1,44],nt=[1,45],st=[1,46],at=[1,47],rt=[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],Ut=[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],wt=[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],v=[1,82],A=[1,83],k=[1,84],C=[1,85],T=[12,14,42],te=[12,14,33,42],St=[12,14,33,42,76,77,79,80],Et=[12,33],Ft=[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],Vt={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:function(_,x,m,g,R,u,Ot){var y=u.length-1;switch(R){case 3:g.setDirection("TB");break;case 4:g.setDirection("BT");break;case 5:g.setDirection("RL");break;case 6:g.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:g.setC4Type(u[y-3]);break;case 19:g.setTitle(u[y].substring(6)),this.$=u[y].substring(6);break;case 20:g.setAccDescription(u[y].substring(15)),this.$=u[y].substring(15);break;case 21:this.$=u[y].trim(),g.setTitle(this.$);break;case 22:case 23:this.$=u[y].trim(),g.setAccDescription(this.$);break;case 28:case 29:u[y].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 30:g.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 31:u[y].splice(2,0,"CONTAINER"),g.addContainerBoundary(...u[y]),this.$=u[y];break;case 32:g.addDeploymentNode("node",...u[y]),this.$=u[y];break;case 33:g.addDeploymentNode("nodeL",...u[y]),this.$=u[y];break;case 34:g.addDeploymentNode("nodeR",...u[y]),this.$=u[y];break;case 35:g.popBoundaryParseStack();break;case 39:g.addPersonOrSystem("person",...u[y]),this.$=u[y];break;case 40:g.addPersonOrSystem("external_person",...u[y]),this.$=u[y];break;case 41:g.addPersonOrSystem("system",...u[y]),this.$=u[y];break;case 42:g.addPersonOrSystem("system_db",...u[y]),this.$=u[y];break;case 43:g.addPersonOrSystem("system_queue",...u[y]),this.$=u[y];break;case 44:g.addPersonOrSystem("external_system",...u[y]),this.$=u[y];break;case 45:g.addPersonOrSystem("external_system_db",...u[y]),this.$=u[y];break;case 46:g.addPersonOrSystem("external_system_queue",...u[y]),this.$=u[y];break;case 47:g.addContainer("container",...u[y]),this.$=u[y];break;case 48:g.addContainer("container_db",...u[y]),this.$=u[y];break;case 49:g.addContainer("container_queue",...u[y]),this.$=u[y];break;case 50:g.addContainer("external_container",...u[y]),this.$=u[y];break;case 51:g.addContainer("external_container_db",...u[y]),this.$=u[y];break;case 52:g.addContainer("external_container_queue",...u[y]),this.$=u[y];break;case 53:g.addComponent("component",...u[y]),this.$=u[y];break;case 54:g.addComponent("component_db",...u[y]),this.$=u[y];break;case 55:g.addComponent("component_queue",...u[y]),this.$=u[y];break;case 56:g.addComponent("external_component",...u[y]),this.$=u[y];break;case 57:g.addComponent("external_component_db",...u[y]),this.$=u[y];break;case 58:g.addComponent("external_component_queue",...u[y]),this.$=u[y];break;case 60:g.addRel("rel",...u[y]),this.$=u[y];break;case 61:g.addRel("birel",...u[y]),this.$=u[y];break;case 62:g.addRel("rel_u",...u[y]),this.$=u[y];break;case 63:g.addRel("rel_d",...u[y]),this.$=u[y];break;case 64:g.addRel("rel_l",...u[y]),this.$=u[y];break;case 65:g.addRel("rel_r",...u[y]),this.$=u[y];break;case 66:g.addRel("rel_b",...u[y]),this.$=u[y];break;case 67:u[y].splice(0,1),g.addRel("rel",...u[y]),this.$=u[y];break;case 68:g.updateElStyle("update_el_style",...u[y]),this.$=u[y];break;case 69:g.updateRelStyle("update_rel_style",...u[y]),this.$=u[y];break;case 70:g.updateLayoutConfig("update_layout_config",...u[y]),this.$=u[y];break;case 71:this.$=[u[y]];break;case 72:u[y].unshift(u[y-1]),this.$=u[y];break;case 73:case 75:this.$=u[y].trim();break;case 74:let vt={};vt[u[y-1].trim()]=u[y].trim(),this.$=vt;break;case 76:this.$="";break}},table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:D,47:P,48:B,49:I,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,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:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:D,47:P,48:B,49:I,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,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:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:D,47:P,48:B,49:I,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,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:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:D,47:P,48:B,49:I,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,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:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:D,47:P,48:B,49:I,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,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:s,36:r,37:n,38:h,39:f,40:d,41:p,44:E,45:O,46:D,47:P,48:B,49:I,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,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(Ut,[2,16],{12:[1,76]}),e(Ct,[2,36],{12:[1,77]}),e(wt,[2,19]),e(wt,[2,20]),{25:[1,78]},{27:[1,79]},e(wt,[2,23]),{35:80,75:81,76:v,77:A,79:k,80:C},{35:86,75:81,76:v,77:A,79:k,80:C},{35:87,75:81,76:v,77:A,79:k,80:C},{35:88,75:81,76:v,77:A,79:k,80:C},{35:89,75:81,76:v,77:A,79:k,80:C},{35:90,75:81,76:v,77:A,79:k,80:C},{35:91,75:81,76:v,77:A,79:k,80:C},{35:92,75:81,76:v,77:A,79:k,80:C},{35:93,75:81,76:v,77:A,79:k,80:C},{35:94,75:81,76:v,77:A,79:k,80:C},{35:95,75:81,76:v,77:A,79:k,80:C},{35:96,75:81,76:v,77:A,79:k,80:C},{35:97,75:81,76:v,77:A,79:k,80:C},{35:98,75:81,76:v,77:A,79:k,80:C},{35:99,75:81,76:v,77:A,79:k,80:C},{35:100,75:81,76:v,77:A,79:k,80:C},{35:101,75:81,76:v,77:A,79:k,80:C},{35:102,75:81,76:v,77:A,79:k,80:C},{35:103,75:81,76:v,77:A,79:k,80:C},{35:104,75:81,76:v,77:A,79:k,80:C},e(T,[2,59]),{35:105,75:81,76:v,77:A,79:k,80:C},{35:106,75:81,76:v,77:A,79:k,80:C},{35:107,75:81,76:v,77:A,79:k,80:C},{35:108,75:81,76:v,77:A,79:k,80:C},{35:109,75:81,76:v,77:A,79:k,80:C},{35:110,75:81,76:v,77:A,79:k,80:C},{35:111,75:81,76:v,77:A,79:k,80:C},{35:112,75:81,76:v,77:A,79:k,80:C},{35:113,75:81,76:v,77:A,79:k,80:C},{35:114,75:81,76:v,77:A,79:k,80:C},{35:115,75:81,76:v,77:A,79:k,80:C},{20:116,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:D,47:P,48:B,49:I,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,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:v,77:A,79:k,80:C},{35:120,75:81,76:v,77:A,79:k,80:C},{35:121,75:81,76:v,77:A,79:k,80:C},{35:122,75:81,76:v,77:A,79:k,80:C},{35:123,75:81,76:v,77:A,79:k,80:C},{35:124,75:81,76:v,77:A,79:k,80:C},{35:125,75:81,76:v,77:A,79:k,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(Ct,[2,15]),e(Ut,[2,17],{21:22,19:130,22:t,23:a,24:o,26:l,28:i}),e(Ct,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:a,24:o,26:l,28:i,34:s,36:r,37:n,38:h,39:f,40:d,41:p,44:E,45:O,46:D,47:P,48:B,49:I,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt}),e(wt,[2,21]),e(wt,[2,22]),e(T,[2,39]),e(te,[2,71],{75:81,35:132,76:v,77:A,79:k,80:C}),e(St,[2,73]),{78:[1,133]},e(St,[2,75]),e(St,[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(Et,[2,28]),e(Et,[2,29]),e(Et,[2,30]),e(Et,[2,31]),e(Et,[2,32]),e(Et,[2,33]),e(Et,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(Ut,[2,18]),e(Ct,[2,38]),e(te,[2,72]),e(St,[2,74]),e(T,[2,24]),e(T,[2,35]),e(Ft,[2,25]),e(Ft,[2,26],{12:[1,138]}),e(Ft,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:function(_,x){if(x.recoverable)this.trace(_);else{var m=new Error(_);throw m.hash=x,m}},parse:function(_){var x=this,m=[0],g=[],R=[null],u=[],Ot=this.table,y="",vt=0,ee=0,be=2,ie=1,_e=u.slice.call(arguments,1),S=Object.create(this.lexer),At={yy:{}};for(var Wt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Wt)&&(At.yy[Wt]=this.yy[Wt]);S.setInput(_,At.yy),At.yy.lexer=S,At.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var Xt=S.yylloc;u.push(Xt);var xe=S.options&&S.options.ranges;typeof At.yy.parseError=="function"?this.parseError=At.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function me(){var X;return X=g.pop()||S.lex()||ie,typeof X!="number"&&(X instanceof Array&&(g=X,X=g.pop()),X=x.symbols_[X]||X),X}for(var L,kt,N,Qt,Tt={},Pt,W,ne,Mt;;){if(kt=m[m.length-1],this.defaultActions[kt]?N=this.defaultActions[kt]:((L===null||typeof L>"u")&&(L=me()),N=Ot[kt]&&Ot[kt][L]),typeof N>"u"||!N.length||!N[0]){var Ht="";Mt=[];for(Pt in Ot[kt])this.terminals_[Pt]&&Pt>be&&Mt.push("'"+this.terminals_[Pt]+"'");S.showPosition?Ht="Parse error on line "+(vt+1)+`:
|
|
2
|
-
`+S.showPosition()+`
|
|
3
|
-
Expecting `+Mt.join(", ")+", got '"+(this.terminals_[L]||L)+"'":Ht="Parse error on line "+(vt+1)+": Unexpected "+(L==ie?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(Ht,{text:S.match,token:this.terminals_[L]||L,line:S.yylineno,loc:Xt,expected:Mt})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+kt+", token: "+L);switch(N[0]){case 1:m.push(L),R.push(S.yytext),u.push(S.yylloc),m.push(N[1]),L=null,ee=S.yyleng,y=S.yytext,vt=S.yylineno,Xt=S.yylloc;break;case 2:if(W=this.productions_[N[1]][1],Tt.$=R[R.length-W],Tt._$={first_line:u[u.length-(W||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(W||1)].first_column,last_column:u[u.length-1].last_column},xe&&(Tt._$.range=[u[u.length-(W||1)].range[0],u[u.length-1].range[1]]),Qt=this.performAction.apply(Tt,[y,ee,vt,At.yy,N[1],R,u].concat(_e)),typeof Qt<"u")return Qt;W&&(m=m.slice(0,-1*W*2),R=R.slice(0,-1*W),u=u.slice(0,-1*W)),m.push(this.productions_[N[1]][0]),R.push(Tt.$),u.push(Tt._$),ne=Ot[m[m.length-2]][m[m.length-1]],m.push(ne);break;case 3:return!0}}return!0}},ge=(function(){var _t={EOF:1,parseError:function(x,m){if(this.yy.parser)this.yy.parser.parseError(x,m);else throw new Error(x)},setInput:function(_,x){return this.yy=x||this.yy||{},this._input=_,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var _=this._input[0];this.yytext+=_,this.yyleng++,this.offset++,this.match+=_,this.matched+=_;var x=_.match(/(?:\r\n?|\n).*/g);return x?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),_},unput:function(_){var x=_.length,m=_.split(/(?:\r\n?|\n)/g);this._input=_+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;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),m.length-1&&(this.yylineno-=m.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:m?(m.length===g.length?this.yylloc.first_column:0)+g[g.length-m.length].length-m[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[R[0],R[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(_){this.unput(this.match.slice(_))},pastInput:function(){var _=this.matched.substr(0,this.matched.length-this.match.length);return(_.length>20?"...":"")+_.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var _=this.match;return _.length<20&&(_+=this._input.substr(0,20-_.length)),(_.substr(0,20)+(_.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var _=this.pastInput(),x=new Array(_.length+1).join("-");return _+this.upcomingInput()+`
|
|
5
|
-
`+x+"^"},test_match:function(_,x){var m,g,R;if(this.options.backtrack_lexer&&(R={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(R.yylloc.range=this.yylloc.range.slice(0))),g=_[0].match(/(?:\r\n?|\n).*/g),g&&(this.yylineno+=g.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:g?g[g.length-1].length-g[g.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+_[0].length},this.yytext+=_[0],this.match+=_[0],this.matches=_,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(_[0].length),this.matched+=_[0],m=this.performAction.call(this,this.yy,this,x,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),m)return m;if(this._backtrack){for(var u in R)this[u]=R[u];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var _,x,m,g;this._more||(this.yytext="",this.match="");for(var R=this._currentRules(),u=0;u<R.length;u++)if(m=this._input.match(this.rules[R[u]]),m&&(!x||m[0].length>x[0].length)){if(x=m,g=u,this.options.backtrack_lexer){if(_=this.test_match(m,R[u]),_!==!1)return _;if(this._backtrack){x=!1;continue}else return!1}else if(!this.options.flex)break}return x?(_=this.test_match(x,R[g]),_!==!1?_:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var x=this.next();return x||this.lex()},begin:function(x){this.conditionStack.push(x)},popState:function(){var x=this.conditionStack.length-1;return x>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(x){return x=this.conditionStack.length-1-Math.abs(x||0),x>=0?this.conditionStack[x]:"INITIAL"},pushState:function(x){this.begin(x)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(x,m,g,R){switch(g){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),26;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:break;case 14:c;break;case 15:return 12;case 16:break;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;case 23:return this.begin("person"),44;case 24:return this.begin("system_ext_queue"),51;case 25:return this.begin("system_ext_db"),50;case 26:return this.begin("system_ext"),49;case 27:return this.begin("system_queue"),48;case 28:return this.begin("system_db"),47;case 29:return this.begin("system"),46;case 30:return this.begin("boundary"),37;case 31:return this.begin("enterprise_boundary"),34;case 32:return this.begin("system_boundary"),36;case 33:return this.begin("container_ext_queue"),57;case 34:return this.begin("container_ext_db"),56;case 35:return this.begin("container_ext"),55;case 36:return this.begin("container_queue"),54;case 37:return this.begin("container_db"),53;case 38:return this.begin("container"),52;case 39:return this.begin("container_boundary"),38;case 40:return this.begin("component_ext_queue"),63;case 41:return this.begin("component_ext_db"),62;case 42:return this.begin("component_ext"),61;case 43:return this.begin("component_queue"),60;case 44:return this.begin("component_db"),59;case 45:return this.begin("component"),58;case 46:return this.begin("node"),39;case 47:return this.begin("node"),39;case 48:return this.begin("node_l"),40;case 49:return this.begin("node_r"),41;case 50:return this.begin("rel"),64;case 51:return this.begin("birel"),65;case 52:return this.begin("rel_u"),66;case 53:return this.begin("rel_u"),66;case 54:return this.begin("rel_d"),67;case 55:return this.begin("rel_d"),67;case 56:return this.begin("rel_l"),68;case 57:return this.begin("rel_l"),68;case 58:return this.begin("rel_r"),69;case 59:return this.begin("rel_r"),69;case 60:return this.begin("rel_b"),70;case 61:return this.begin("rel_index"),71;case 62:return this.begin("update_el_style"),72;case 63:return this.begin("update_rel_style"),73;case 64:return this.begin("update_layout_config"),74;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 67:this.begin("attribute");break;case 68:this.popState(),this.popState();break;case 69:return 80;case 70:break;case 71:return 80;case 72:this.begin("string");break;case 73:this.popState();break;case 74:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 79:this.popState(),this.popState();break;case 80:return"STR";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}};return _t})();Vt.lexer=ge;function zt(){this.yy={}}return zt.prototype=Vt,Vt.Parser=zt,new zt})();Bt.parser=Bt;const ve=Bt;let F=[],xt=[""],M="global",U="",z=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],Dt=[],Jt="",Zt=!1,Nt=4,Yt=2;var le;const Ae=function(){return le},ke=function(e){le=w.sanitizeText$2(e,w.getConfig())},Ce=function(e,t,a,o,l,i,s,r,n){if(e==null||t===void 0||t===null||a===void 0||a===null||o===void 0||o===null)return;let h={};const f=Dt.find(d=>d.from===t&&d.to===a);if(f?h=f:Dt.push(h),h.type=e,h.from=t,h.to=a,h.label={text:o},l==null)h.techn={text:""};else if(typeof l=="object"){let[d,p]=Object.entries(l)[0];h[d]={text:p}}else h.techn={text:l};if(i==null)h.descr={text:""};else if(typeof i=="object"){let[d,p]=Object.entries(i)[0];h[d]={text:p}}else h.descr={text:i};if(typeof s=="object"){let[d,p]=Object.entries(s)[0];h[d]=p}else h.sprite=s;if(typeof r=="object"){let[d,p]=Object.entries(r)[0];h[d]=p}else h.tags=r;if(typeof n=="object"){let[d,p]=Object.entries(n)[0];h[d]=p}else h.link=n;h.wrap=mt()},Te=function(e,t,a,o,l,i,s){if(t===null||a===null)return;let r={};const n=F.find(h=>h.alias===t);if(n&&t===n.alias?r=n:(r.alias=t,F.push(r)),a==null?r.label={text:""}:r.label={text:a},o==null)r.descr={text:""};else if(typeof o=="object"){let[h,f]=Object.entries(o)[0];r[h]={text:f}}else r.descr={text:o};if(typeof l=="object"){let[h,f]=Object.entries(l)[0];r[h]=f}else r.sprite=l;if(typeof i=="object"){let[h,f]=Object.entries(i)[0];r[h]=f}else r.tags=i;if(typeof s=="object"){let[h,f]=Object.entries(s)[0];r[h]=f}else r.link=s;r.typeC4Shape={text:e},r.parentBoundary=M,r.wrap=mt()},we=function(e,t,a,o,l,i,s,r){if(t===null||a===null)return;let n={};const h=F.find(f=>f.alias===t);if(h&&t===h.alias?n=h:(n.alias=t,F.push(n)),a==null?n.label={text:""}:n.label={text:a},o==null)n.techn={text:""};else if(typeof o=="object"){let[f,d]=Object.entries(o)[0];n[f]={text:d}}else n.techn={text:o};if(l==null)n.descr={text:""};else if(typeof l=="object"){let[f,d]=Object.entries(l)[0];n[f]={text:d}}else n.descr={text:l};if(typeof i=="object"){let[f,d]=Object.entries(i)[0];n[f]=d}else n.sprite=i;if(typeof s=="object"){let[f,d]=Object.entries(s)[0];n[f]=d}else n.tags=s;if(typeof r=="object"){let[f,d]=Object.entries(r)[0];n[f]=d}else n.link=r;n.wrap=mt(),n.typeC4Shape={text:e},n.parentBoundary=M},Oe=function(e,t,a,o,l,i,s,r){if(t===null||a===null)return;let n={};const h=F.find(f=>f.alias===t);if(h&&t===h.alias?n=h:(n.alias=t,F.push(n)),a==null?n.label={text:""}:n.label={text:a},o==null)n.techn={text:""};else if(typeof o=="object"){let[f,d]=Object.entries(o)[0];n[f]={text:d}}else n.techn={text:o};if(l==null)n.descr={text:""};else if(typeof l=="object"){let[f,d]=Object.entries(l)[0];n[f]={text:d}}else n.descr={text:l};if(typeof i=="object"){let[f,d]=Object.entries(i)[0];n[f]=d}else n.sprite=i;if(typeof s=="object"){let[f,d]=Object.entries(s)[0];n[f]=d}else n.tags=s;if(typeof r=="object"){let[f,d]=Object.entries(r)[0];n[f]=d}else n.link=r;n.wrap=mt(),n.typeC4Shape={text:e},n.parentBoundary=M},Re=function(e,t,a,o,l){if(e===null||t===null)return;let i={};const s=z.find(r=>r.alias===e);if(s&&e===s.alias?i=s:(i.alias=e,z.push(i)),t==null?i.label={text:""}:i.label={text:t},a==null)i.type={text:"system"};else if(typeof a=="object"){let[r,n]=Object.entries(a)[0];i[r]={text:n}}else i.type={text:a};if(typeof o=="object"){let[r,n]=Object.entries(o)[0];i[r]=n}else i.tags=o;if(typeof l=="object"){let[r,n]=Object.entries(l)[0];i[r]=n}else i.link=l;i.parentBoundary=M,i.wrap=mt(),U=M,M=e,xt.push(U)},De=function(e,t,a,o,l){if(e===null||t===null)return;let i={};const s=z.find(r=>r.alias===e);if(s&&e===s.alias?i=s:(i.alias=e,z.push(i)),t==null?i.label={text:""}:i.label={text:t},a==null)i.type={text:"container"};else if(typeof a=="object"){let[r,n]=Object.entries(a)[0];i[r]={text:n}}else i.type={text:a};if(typeof o=="object"){let[r,n]=Object.entries(o)[0];i[r]=n}else i.tags=o;if(typeof l=="object"){let[r,n]=Object.entries(l)[0];i[r]=n}else i.link=l;i.parentBoundary=M,i.wrap=mt(),U=M,M=e,xt.push(U)},Se=function(e,t,a,o,l,i,s,r){if(t===null||a===null)return;let n={};const h=z.find(f=>f.alias===t);if(h&&t===h.alias?n=h:(n.alias=t,z.push(n)),a==null?n.label={text:""}:n.label={text:a},o==null)n.type={text:"node"};else if(typeof o=="object"){let[f,d]=Object.entries(o)[0];n[f]={text:d}}else n.type={text:o};if(l==null)n.descr={text:""};else if(typeof l=="object"){let[f,d]=Object.entries(l)[0];n[f]={text:d}}else n.descr={text:l};if(typeof s=="object"){let[f,d]=Object.entries(s)[0];n[f]=d}else n.tags=s;if(typeof r=="object"){let[f,d]=Object.entries(r)[0];n[f]=d}else n.link=r;n.nodeType=e,n.parentBoundary=M,n.wrap=mt(),U=M,M=t,xt.push(U)},Pe=function(){M=U,xt.pop(),U=xt.pop(),xt.push(U)},Me=function(e,t,a,o,l,i,s,r,n,h,f){let d=F.find(p=>p.alias===t);if(!(d===void 0&&(d=z.find(p=>p.alias===t),d===void 0))){if(a!=null)if(typeof a=="object"){let[p,E]=Object.entries(a)[0];d[p]=E}else d.bgColor=a;if(o!=null)if(typeof o=="object"){let[p,E]=Object.entries(o)[0];d[p]=E}else d.fontColor=o;if(l!=null)if(typeof l=="object"){let[p,E]=Object.entries(l)[0];d[p]=E}else d.borderColor=l;if(i!=null)if(typeof i=="object"){let[p,E]=Object.entries(i)[0];d[p]=E}else d.shadowing=i;if(s!=null)if(typeof s=="object"){let[p,E]=Object.entries(s)[0];d[p]=E}else d.shape=s;if(r!=null)if(typeof r=="object"){let[p,E]=Object.entries(r)[0];d[p]=E}else d.sprite=r;if(n!=null)if(typeof n=="object"){let[p,E]=Object.entries(n)[0];d[p]=E}else d.techn=n;if(h!=null)if(typeof h=="object"){let[p,E]=Object.entries(h)[0];d[p]=E}else d.legendText=h;if(f!=null)if(typeof f=="object"){let[p,E]=Object.entries(f)[0];d[p]=E}else d.legendSprite=f}},Le=function(e,t,a,o,l,i,s){const r=Dt.find(n=>n.from===t&&n.to===a);if(r!==void 0){if(o!=null)if(typeof o=="object"){let[n,h]=Object.entries(o)[0];r[n]=h}else r.textColor=o;if(l!=null)if(typeof l=="object"){let[n,h]=Object.entries(l)[0];r[n]=h}else r.lineColor=l;if(i!=null)if(typeof i=="object"){let[n,h]=Object.entries(i)[0];r[n]=parseInt(h)}else r.offsetX=parseInt(i);if(s!=null)if(typeof s=="object"){let[n,h]=Object.entries(s)[0];r[n]=parseInt(h)}else r.offsetY=parseInt(s)}},Be=function(e,t,a){let o=Nt,l=Yt;if(typeof t=="object"){const i=Object.values(t)[0];o=parseInt(i)}else o=parseInt(t);if(typeof a=="object"){const i=Object.values(a)[0];l=parseInt(i)}else l=parseInt(a);o>=1&&(Nt=o),l>=1&&(Yt=l)},Ne=function(){return Nt},Ye=function(){return Yt},Ie=function(){return M},je=function(){return U},oe=function(e){return e==null?F:F.filter(t=>t.parentBoundary===e)},Ue=function(e){return F.find(t=>t.alias===e)},Fe=function(e){return Object.keys(oe(e))},ce=function(e){return e==null?z:z.filter(t=>t.parentBoundary===e)},Ve=ce,ze=function(){return Dt},We=function(){return Jt},Xe=function(e){Zt=e},mt=function(){return Zt},Qe=function(){F=[],z=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],U="",M="global",xt=[""],Dt=[],xt=[""],Jt="",Zt=!1,Nt=4,Yt=2},He={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},qe={FILLED:0,OPEN:1},Ge={LEFTOF:0,RIGHTOF:1,OVER:2},Ke=function(e){Jt=w.sanitizeText$2(e,w.getConfig())},qt={addPersonOrSystem:Te,addPersonOrSystemBoundary:Re,addContainer:we,addContainerBoundary:De,addComponent:Oe,addDeploymentNode:Se,popBoundaryParseStack:Pe,addRel:Ce,updateElStyle:Me,updateRelStyle:Le,updateLayoutConfig:Be,autoWrap:mt,setWrap:Xe,getC4ShapeArray:oe,getC4Shape:Ue,getC4ShapeKeys:Fe,getBoundaries:ce,getBoundarys:Ve,getCurrentBoundaryParse:Ie,getParentBoundaryParse:je,getRels:ze,getTitle:We,getC4Type:Ae,getC4ShapeInRow:Ne,getC4BoundaryInRow:Ye,setAccTitle:w.setAccTitle,getAccTitle:w.getAccTitle,getAccDescription:w.getAccDescription,setAccDescription:w.setAccDescription,getConfig:()=>w.getConfig().c4,clear:Qe,LINETYPE:He,ARROWTYPE:qe,PLACEMENT:Ge,setTitle:Ke,setC4Type:ke},$t=function(e,t){return re.drawRect(e,t)},he=function(e,t,a,o,l,i){const s=e.append("image");s.attr("width",t),s.attr("height",a),s.attr("x",o),s.attr("y",l);let r=i.startsWith("data:image/png;base64")?i:Ee.distExports.sanitizeUrl(i);s.attr("xlink:href",r)},Je=(e,t,a)=>{const o=e.append("g");let l=0;for(let i of t){let s=i.textColor?i.textColor:"#444444",r=i.lineColor?i.lineColor:"#444444",n=i.offsetX?parseInt(i.offsetX):0,h=i.offsetY?parseInt(i.offsetY):0,f="";if(l===0){let p=o.append("line");p.attr("x1",i.startPoint.x),p.attr("y1",i.startPoint.y),p.attr("x2",i.endPoint.x),p.attr("y2",i.endPoint.y),p.attr("stroke-width","1"),p.attr("stroke",r),p.style("fill","none"),i.type!=="rel_b"&&p.attr("marker-end","url("+f+"#arrowhead)"),(i.type==="birel"||i.type==="rel_b")&&p.attr("marker-start","url("+f+"#arrowend)"),l=-1}else{let p=o.append("path");p.attr("fill","none").attr("stroke-width","1").attr("stroke",r).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",i.startPoint.x).replaceAll("starty",i.startPoint.y).replaceAll("controlx",i.startPoint.x+(i.endPoint.x-i.startPoint.x)/2-(i.endPoint.x-i.startPoint.x)/4).replaceAll("controly",i.startPoint.y+(i.endPoint.y-i.startPoint.y)/2).replaceAll("stopx",i.endPoint.x).replaceAll("stopy",i.endPoint.y)),i.type!=="rel_b"&&p.attr("marker-end","url("+f+"#arrowhead)"),(i.type==="birel"||i.type==="rel_b")&&p.attr("marker-start","url("+f+"#arrowend)")}let d=a.messageFont();Q(a)(i.label.text,o,Math.min(i.startPoint.x,i.endPoint.x)+Math.abs(i.endPoint.x-i.startPoint.x)/2+n,Math.min(i.startPoint.y,i.endPoint.y)+Math.abs(i.endPoint.y-i.startPoint.y)/2+h,i.label.width,i.label.height,{fill:s},d),i.techn&&i.techn.text!==""&&(d=a.messageFont(),Q(a)("["+i.techn.text+"]",o,Math.min(i.startPoint.x,i.endPoint.x)+Math.abs(i.endPoint.x-i.startPoint.x)/2+n,Math.min(i.startPoint.y,i.endPoint.y)+Math.abs(i.endPoint.y-i.startPoint.y)/2+a.messageFontSize+5+h,Math.max(i.label.width,i.techn.width),i.techn.height,{fill:s,"font-style":"italic"},d))}},Ze=function(e,t,a){const o=e.append("g");let l=t.bgColor?t.bgColor:"none",i=t.borderColor?t.borderColor:"#444444",s=t.fontColor?t.fontColor:"black",r={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};t.nodeType&&(r={"stroke-width":1});let n={x:t.x,y:t.y,fill:l,stroke:i,width:t.width,height:t.height,rx:2.5,ry:2.5,attrs:r};$t(o,n);let h=a.boundaryFont();h.fontWeight="bold",h.fontSize=h.fontSize+2,h.fontColor=s,Q(a)(t.label.text,o,t.x,t.y+t.label.Y,t.width,t.height,{fill:"#444444"},h),t.type&&t.type.text!==""&&(h=a.boundaryFont(),h.fontColor=s,Q(a)(t.type.text,o,t.x,t.y+t.type.Y,t.width,t.height,{fill:"#444444"},h)),t.descr&&t.descr.text!==""&&(h=a.boundaryFont(),h.fontSize=h.fontSize-2,h.fontColor=s,Q(a)(t.descr.text,o,t.x,t.y+t.descr.Y,t.width,t.height,{fill:"#444444"},h))},$e=function(e,t,a){var o;let l=t.bgColor?t.bgColor:a[t.typeC4Shape.text+"_bg_color"],i=t.borderColor?t.borderColor:a[t.typeC4Shape.text+"_border_color"],s=t.fontColor?t.fontColor:"#FFFFFF",r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";switch(t.typeC4Shape.text){case"person":r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";break;case"external_person":r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII=";break}const n=e.append("g");n.attr("class","person-man");const h=re.getNoteRect();switch(t.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":h.x=t.x,h.y=t.y,h.fill=l,h.width=t.width,h.height=t.height,h.stroke=i,h.rx=2.5,h.ry=2.5,h.attrs={"stroke-width":.5},$t(n,h);break;case"system_db":case"external_system_db":case"container_db":case"external_container_db":case"component_db":case"external_component_db":n.append("path").attr("fill",l).attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx",t.x).replaceAll("starty",t.y).replaceAll("half",t.width/2).replaceAll("height",t.height)),n.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx",t.x).replaceAll("starty",t.y).replaceAll("half",t.width/2));break;case"system_queue":case"external_system_queue":case"container_queue":case"external_container_queue":case"component_queue":case"external_component_queue":n.append("path").attr("fill",l).attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx",t.x).replaceAll("starty",t.y).replaceAll("width",t.width).replaceAll("half",t.height/2)),n.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx",t.x+t.width).replaceAll("starty",t.y).replaceAll("half",t.height/2));break}let f=o0(a,t.typeC4Shape.text);switch(n.append("text").attr("fill",s).attr("font-family",f.fontFamily).attr("font-size",f.fontSize-2).attr("font-style","italic").attr("lengthAdjust","spacing").attr("textLength",t.typeC4Shape.width).attr("x",t.x+t.width/2-t.typeC4Shape.width/2).attr("y",t.y+t.typeC4Shape.Y).text("<<"+t.typeC4Shape.text+">>"),t.typeC4Shape.text){case"person":case"external_person":he(n,48,48,t.x+t.width/2-24,t.y+t.image.Y,r);break}let d=a[t.typeC4Shape.text+"Font"]();return d.fontWeight="bold",d.fontSize=d.fontSize+2,d.fontColor=s,Q(a)(t.label.text,n,t.x,t.y+t.label.Y,t.width,t.height,{fill:s},d),d=a[t.typeC4Shape.text+"Font"](),d.fontColor=s,t.techn&&((o=t.techn)==null?void 0:o.text)!==""?Q(a)(t.techn.text,n,t.x,t.y+t.techn.Y,t.width,t.height,{fill:s,"font-style":"italic"},d):t.type&&t.type.text!==""&&Q(a)(t.type.text,n,t.x,t.y+t.type.Y,t.width,t.height,{fill:s,"font-style":"italic"},d),t.descr&&t.descr.text!==""&&(d=a.personFont(),d.fontColor=s,Q(a)(t.descr.text,n,t.x,t.y+t.descr.Y,t.width,t.height,{fill:s},d)),t.height},t0=function(e){e.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},e0=function(e){e.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},i0=function(e){e.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},n0=function(e){e.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},s0=function(e){e.append("defs").append("marker").attr("id","arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")},a0=function(e){e.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},r0=function(e){e.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},l0=function(e){const a=e.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);a.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),a.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},o0=(e,t)=>({fontFamily:e[t+"FontFamily"],fontSize:e[t+"FontSize"],fontWeight:e[t+"FontWeight"]}),Q=(function(){function e(l,i,s,r,n,h,f){const d=i.append("text").attr("x",s+n/2).attr("y",r+h/2+5).style("text-anchor","middle").text(l);o(d,f)}function t(l,i,s,r,n,h,f,d){const{fontSize:p,fontFamily:E,fontWeight:O}=d,D=l.split(w.common$1.lineBreakRegex);for(let P=0;P<D.length;P++){const B=P*p-p*(D.length-1)/2,I=i.append("text").attr("x",s+n/2).attr("y",r).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",p).style("font-weight",O).style("font-family",E);I.append("tspan").attr("dy",B).text(D[P]).attr("alignment-baseline","mathematical"),o(I,f)}}function a(l,i,s,r,n,h,f,d){const p=i.append("switch"),O=p.append("foreignObject").attr("x",s).attr("y",r).attr("width",n).attr("height",h).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");O.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(l),t(l,p,s,r,n,h,f,d),o(O,f)}function o(l,i){for(const s in i)i.hasOwnProperty(s)&&l.attr(s,i[s])}return function(l){return l.textPlacement==="fo"?a:l.textPlacement==="old"?e:t}})(),V={drawRect:$t,drawBoundary:Ze,drawC4Shape:$e,drawRels:Je,drawImage:he,insertArrowHead:n0,insertArrowEnd:s0,insertArrowFilledHead:a0,insertDynamicNumber:r0,insertArrowCrossHead:l0,insertDatabaseIcon:t0,insertComputerIcon:e0,insertClockIcon:i0};let It=0,jt=0,ue=4,Gt=2;Bt.yy=qt;let b={};class de{constructor(t){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,Kt(t.db.getConfig())}setData(t,a,o,l){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=a,this.nextData.starty=this.data.starty=o,this.nextData.stopy=this.data.stopy=l}updateVal(t,a,o,l){t[a]===void 0?t[a]=o:t[a]=l(o,t[a])}insert(t){this.nextData.cnt=this.nextData.cnt+1;let a=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+t.margin:this.nextData.stopx+t.margin*2,o=a+t.width,l=this.nextData.starty+t.margin*2,i=l+t.height;(a>=this.data.widthLimit||o>=this.data.widthLimit||this.nextData.cnt>ue)&&(a=this.nextData.startx+t.margin+b.nextLinePaddingX,l=this.nextData.stopy+t.margin*2,this.nextData.stopx=o=a+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=i=l+t.height,this.nextData.cnt=1),t.x=a,t.y=l,this.updateVal(this.data,"startx",a,Math.min),this.updateVal(this.data,"starty",l,Math.min),this.updateVal(this.data,"stopx",o,Math.max),this.updateVal(this.data,"stopy",i,Math.max),this.updateVal(this.nextData,"startx",a,Math.min),this.updateVal(this.nextData,"starty",l,Math.min),this.updateVal(this.nextData,"stopx",o,Math.max),this.updateVal(this.nextData,"stopy",i,Math.max)}init(t){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},Kt(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}}const Kt=function(e){w.assignWithDepth$1(b,e),e.fontFamily&&(b.personFontFamily=b.systemFontFamily=b.messageFontFamily=e.fontFamily),e.fontSize&&(b.personFontSize=b.systemFontSize=b.messageFontSize=e.fontSize),e.fontWeight&&(b.personFontWeight=b.systemFontWeight=b.messageFontWeight=e.fontWeight)},Rt=(e,t)=>({fontFamily:e[t+"FontFamily"],fontSize:e[t+"FontSize"],fontWeight:e[t+"FontWeight"]}),Lt=e=>({fontFamily:e.boundaryFontFamily,fontSize:e.boundaryFontSize,fontWeight:e.boundaryFontWeight}),c0=e=>({fontFamily:e.messageFontFamily,fontSize:e.messageFontSize,fontWeight:e.messageFontWeight});function j(e,t,a,o,l){if(!t[e].width)if(a)t[e].text=w.wrapLabel(t[e].text,l,o),t[e].textLines=t[e].text.split(w.common$1.lineBreakRegex).length,t[e].width=l,t[e].height=w.calculateTextHeight(t[e].text,o);else{let i=t[e].text.split(w.common$1.lineBreakRegex);t[e].textLines=i.length;let s=0;t[e].height=0,t[e].width=0;for(const r of i)t[e].width=Math.max(w.calculateTextWidth(r,o),t[e].width),s=w.calculateTextHeight(r,o),t[e].height=t[e].height+s}}const fe=function(e,t,a){t.x=a.data.startx,t.y=a.data.starty,t.width=a.data.stopx-a.data.startx,t.height=a.data.stopy-a.data.starty,t.label.y=b.c4ShapeMargin-35;let o=t.wrap&&b.wrap,l=Lt(b);l.fontSize=l.fontSize+2,l.fontWeight="bold";let i=w.calculateTextWidth(t.label.text,l);j("label",t,o,l,i),V.drawBoundary(e,t,b)},pe=function(e,t,a,o){let l=0;for(const i of o){l=0;const s=a[i];let r=Rt(b,s.typeC4Shape.text);switch(r.fontSize=r.fontSize-2,s.typeC4Shape.width=w.calculateTextWidth("«"+s.typeC4Shape.text+"»",r),s.typeC4Shape.height=r.fontSize+2,s.typeC4Shape.Y=b.c4ShapePadding,l=s.typeC4Shape.Y+s.typeC4Shape.height-4,s.image={width:0,height:0,Y:0},s.typeC4Shape.text){case"person":case"external_person":s.image.width=48,s.image.height=48,s.image.Y=l,l=s.image.Y+s.image.height;break}s.sprite&&(s.image.width=48,s.image.height=48,s.image.Y=l,l=s.image.Y+s.image.height);let n=s.wrap&&b.wrap,h=b.width-b.c4ShapePadding*2,f=Rt(b,s.typeC4Shape.text);if(f.fontSize=f.fontSize+2,f.fontWeight="bold",j("label",s,n,f,h),s.label.Y=l+8,l=s.label.Y+s.label.height,s.type&&s.type.text!==""){s.type.text="["+s.type.text+"]";let E=Rt(b,s.typeC4Shape.text);j("type",s,n,E,h),s.type.Y=l+5,l=s.type.Y+s.type.height}else if(s.techn&&s.techn.text!==""){s.techn.text="["+s.techn.text+"]";let E=Rt(b,s.techn.text);j("techn",s,n,E,h),s.techn.Y=l+5,l=s.techn.Y+s.techn.height}let d=l,p=s.label.width;if(s.descr&&s.descr.text!==""){let E=Rt(b,s.typeC4Shape.text);j("descr",s,n,E,h),s.descr.Y=l+20,l=s.descr.Y+s.descr.height,p=Math.max(s.label.width,s.descr.width),d=l-s.descr.textLines*5}p=p+b.c4ShapePadding,s.width=Math.max(s.width||b.width,p,b.width),s.height=Math.max(s.height||b.height,d,b.height),s.margin=s.margin||b.c4ShapeMargin,e.insert(s),V.drawC4Shape(t,s,b)}e.bumpLastMargin(b.c4ShapeMargin)};class Y{constructor(t,a){this.x=t,this.y=a}}let se=function(e,t){let a=e.x,o=e.y,l=t.x,i=t.y,s=a+e.width/2,r=o+e.height/2,n=Math.abs(a-l),h=Math.abs(o-i),f=h/n,d=e.height/e.width,p=null;return o==i&&a<l?p=new Y(a+e.width,r):o==i&&a>l?p=new Y(a,r):a==l&&o<i?p=new Y(s,o+e.height):a==l&&o>i&&(p=new Y(s,o)),a>l&&o<i?d>=f?p=new Y(a,r+f*e.width/2):p=new Y(s-n/h*e.height/2,o+e.height):a<l&&o<i?d>=f?p=new Y(a+e.width,r+f*e.width/2):p=new Y(s+n/h*e.height/2,o+e.height):a<l&&o>i?d>=f?p=new Y(a+e.width,r-f*e.width/2):p=new Y(s+e.height/2*n/h,o):a>l&&o>i&&(d>=f?p=new Y(a,r-e.width/2*f):p=new Y(s-e.height/2*n/h,o)),p},h0=function(e,t){let a={x:0,y:0};a.x=t.x+t.width/2,a.y=t.y+t.height/2;let o=se(e,a);a.x=e.x+e.width/2,a.y=e.y+e.height/2;let l=se(t,a);return{startPoint:o,endPoint:l}};const u0=function(e,t,a,o){let l=0;for(let i of t){l=l+1;let s=i.wrap&&b.wrap,r=c0(b);o.db.getC4Type()==="C4Dynamic"&&(i.label.text=l+": "+i.label.text);let h=w.calculateTextWidth(i.label.text,r);j("label",i,s,r,h),i.techn&&i.techn.text!==""&&(h=w.calculateTextWidth(i.techn.text,r),j("techn",i,s,r,h)),i.descr&&i.descr.text!==""&&(h=w.calculateTextWidth(i.descr.text,r),j("descr",i,s,r,h));let f=a(i.from),d=a(i.to),p=h0(f,d);i.startPoint=p.startPoint,i.endPoint=p.endPoint}V.drawRels(e,t,b)};function ye(e,t,a,o,l){let i=new de(l);i.data.widthLimit=a.data.widthLimit/Math.min(Gt,o.length);for(let[s,r]of o.entries()){let n=0;r.image={width:0,height:0,Y:0},r.sprite&&(r.image.width=48,r.image.height=48,r.image.Y=n,n=r.image.Y+r.image.height);let h=r.wrap&&b.wrap,f=Lt(b);if(f.fontSize=f.fontSize+2,f.fontWeight="bold",j("label",r,h,f,i.data.widthLimit),r.label.Y=n+8,n=r.label.Y+r.label.height,r.type&&r.type.text!==""){r.type.text="["+r.type.text+"]";let O=Lt(b);j("type",r,h,O,i.data.widthLimit),r.type.Y=n+5,n=r.type.Y+r.type.height}if(r.descr&&r.descr.text!==""){let O=Lt(b);O.fontSize=O.fontSize-2,j("descr",r,h,O,i.data.widthLimit),r.descr.Y=n+20,n=r.descr.Y+r.descr.height}if(s==0||s%Gt===0){let O=a.data.startx+b.diagramMarginX,D=a.data.stopy+b.diagramMarginY+n;i.setData(O,O,D,D)}else{let O=i.data.stopx!==i.data.startx?i.data.stopx+b.diagramMarginX:i.data.startx,D=i.data.starty;i.setData(O,O,D,D)}i.name=r.alias;let d=l.db.getC4ShapeArray(r.alias),p=l.db.getC4ShapeKeys(r.alias);p.length>0&&pe(i,e,d,p),t=r.alias;let E=l.db.getBoundarys(t);E.length>0&&ye(e,t,i,E,l),r.alias!=="global"&&fe(e,r,i),a.data.stopy=Math.max(i.data.stopy+b.c4ShapeMargin,a.data.stopy),a.data.stopx=Math.max(i.data.stopx+b.c4ShapeMargin,a.data.stopx),It=Math.max(It,a.data.stopx),jt=Math.max(jt,a.data.stopy)}}const d0=function(e,t,a,o){b=w.getConfig().c4;const l=w.getConfig().securityLevel;let i;l==="sandbox"&&(i=w.select("#i"+t));const s=l==="sandbox"?w.select(i.nodes()[0].contentDocument.body):w.select("body");let r=o.db;o.db.setWrap(b.wrap),ue=r.getC4ShapeInRow(),Gt=r.getC4BoundaryInRow(),w.log$1.debug(`C:${JSON.stringify(b,null,2)}`);const n=l==="sandbox"?s.select(`[id="${t}"]`):w.select(`[id="${t}"]`);V.insertComputerIcon(n),V.insertDatabaseIcon(n),V.insertClockIcon(n);let h=new de(o);h.setData(b.diagramMarginX,b.diagramMarginX,b.diagramMarginY,b.diagramMarginY),h.data.widthLimit=screen.availWidth,It=b.diagramMarginX,jt=b.diagramMarginY;const f=o.db.getTitle();let d=o.db.getBoundarys("");ye(n,"",h,d,o),V.insertArrowHead(n),V.insertArrowEnd(n),V.insertArrowCrossHead(n),V.insertArrowFilledHead(n),u0(n,o.db.getRels(),o.db.getC4Shape,o),h.data.stopx=It,h.data.stopy=jt;const p=h.data;let O=p.stopy-p.starty+2*b.diagramMarginY;const P=p.stopx-p.startx+2*b.diagramMarginX;f&&n.append("text").text(f).attr("x",(p.stopx-p.startx)/2-4*b.diagramMarginX).attr("y",p.starty+b.diagramMarginY),w.configureSvgSize(n,O,P,b.useMaxWidth);const B=f?60:0;n.attr("viewBox",p.startx-b.diagramMarginX+" -"+(b.diagramMarginY+B)+" "+P+" "+(O+B)),w.log$1.debug("models:",p)},ae={drawPersonOrSystemArray:pe,drawBoundary:fe,setConf:Kt,draw:d0},f0=e=>`.person {
|
|
7
|
-
stroke: ${e.personBorder};
|
|
8
|
-
fill: ${e.personBkg};
|
|
9
|
-
}
|
|
10
|
-
`,p0=f0,y0={parser:ve,db:qt,renderer:ae,styles:p0,init:({c4:e,wrap:t})=>{ae.setConf(e),qt.setWrap(t)}};exports.diagram=y0;
|
package/dist/layers.Cyzu9PKQ.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const ae=require("lodash-es"),w=require("./layers.BLd2spTm.js");function te(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const i=te(ae);class oe{constructor(){var n={};n._next=n._prev=n,this._sentinel=n}dequeue(){var n=this._sentinel,r=n._prev;if(r!==n)return j(r),r}enqueue(n){var r=this._sentinel;n._prev&&n._next&&j(n),n._next=r._next,r._next._prev=n,r._next=n,n._prev=r}toString(){for(var n=[],r=this._sentinel,a=r._prev;a!==r;)n.push(JSON.stringify(a,ie)),a=a._prev;return"["+n.join(", ")+"]"}}function j(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function ie(e,n){if(e!=="_next"&&e!=="_prev")return n}var de=i.constant(1);function fe(e,n){if(e.nodeCount()<=1)return[];var r=ce(e,n||de),a=ue(r.graph,r.buckets,r.zeroIdx);return i.flatten(i.map(a,function(t){return e.outEdges(t.v,t.w)}))}function ue(e,n,r){for(var a=[],t=n[n.length-1],d=n[0],o;e.nodeCount();){for(;o=d.dequeue();)x(e,n,r,o);for(;o=t.dequeue();)x(e,n,r,o);if(e.nodeCount()){for(var f=n.length-2;f>0;--f)if(o=n[f].dequeue(),o){a=a.concat(x(e,n,r,o,!0));break}}}return a}function x(e,n,r,a,t){var d=t?[]:void 0;return i.forEach(e.inEdges(a.v),function(o){var f=e.edge(o),u=e.node(o.v);t&&d.push({v:o.v,w:o.w}),u.out-=f,P(n,r,u)}),i.forEach(e.outEdges(a.v),function(o){var f=e.edge(o),u=o.w,c=e.node(u);c.in-=f,P(n,r,c)}),e.removeNode(a.v),d}function ce(e,n){var r=new w.Graph,a=0,t=0;i.forEach(e.nodes(),function(f){r.setNode(f,{v:f,in:0,out:0})}),i.forEach(e.edges(),function(f){var u=r.edge(f.v,f.w)||0,c=n(f),s=u+c;r.setEdge(f.v,f.w,s),t=Math.max(t,r.node(f.v).out+=c),a=Math.max(a,r.node(f.w).in+=c)});var d=i.range(t+a+3).map(function(){return new oe}),o=a+1;return i.forEach(r.nodes(),function(f){P(d,o,r.node(f))}),{graph:r,buckets:d,zeroIdx:o}}function P(e,n,r){r.out?r.in?e[r.out-r.in+n].enqueue(r):e[e.length-1].enqueue(r):e[0].enqueue(r)}function se(e){var n=e.graph().acyclicer==="greedy"?fe(e,r(e)):he(e);i.forEach(n,function(a){var t=e.edge(a);e.removeEdge(a),t.forwardName=a.name,t.reversed=!0,e.setEdge(a.w,a.v,t,i.uniqueId("rev"))});function r(a){return function(t){return a.edge(t).weight}}}function he(e){var n=[],r={},a={};function t(d){Object.prototype.hasOwnProperty.call(a,d)||(a[d]=!0,r[d]=!0,i.forEach(e.outEdges(d),function(o){Object.prototype.hasOwnProperty.call(r,o.w)?n.push(o):t(o.w)}),delete r[d])}return i.forEach(e.nodes(),t),n}function le(e){i.forEach(e.edges(),function(n){var r=e.edge(n);if(r.reversed){e.removeEdge(n);var a=r.forwardName;delete r.reversed,delete r.forwardName,e.setEdge(n.w,n.v,r,a)}})}function E(e,n,r,a){var t;do t=i.uniqueId(a);while(e.hasNode(t));return r.dummy=n,e.setNode(t,r),t}function ve(e){var n=new w.Graph().setGraph(e.graph());return i.forEach(e.nodes(),function(r){n.setNode(r,e.node(r))}),i.forEach(e.edges(),function(r){var a=n.edge(r.v,r.w)||{weight:0,minlen:1},t=e.edge(r);n.setEdge(r.v,r.w,{weight:a.weight+t.weight,minlen:Math.max(a.minlen,t.minlen)})}),n}function q(e){var n=new w.Graph({multigraph:e.isMultigraph()}).setGraph(e.graph());return i.forEach(e.nodes(),function(r){e.children(r).length||n.setNode(r,e.node(r))}),i.forEach(e.edges(),function(r){n.setEdge(r,e.edge(r))}),n}function S(e,n){var r=e.x,a=e.y,t=n.x-r,d=n.y-a,o=e.width/2,f=e.height/2;if(!t&&!d)throw new Error("Not possible to find intersection inside of the rectangle");var u,c;return Math.abs(d)*o>Math.abs(t)*f?(d<0&&(f=-f),u=f*t/d,c=f):(t<0&&(o=-o),u=o,c=o*d/t),{x:r+u,y:a+c}}function k(e){var n=i.map(i.range(U(e)+1),function(){return[]});return i.forEach(e.nodes(),function(r){var a=e.node(r),t=a.rank;i.isUndefined(t)||(n[t][a.order]=r)}),n}function pe(e){var n=i.min(i.map(e.nodes(),function(r){return e.node(r).rank}));i.forEach(e.nodes(),function(r){var a=e.node(r);i.has(a,"rank")&&(a.rank-=n)})}function me(e){var n=i.min(i.map(e.nodes(),function(d){return e.node(d).rank})),r=[];i.forEach(e.nodes(),function(d){var o=e.node(d).rank-n;r[o]||(r[o]=[]),r[o].push(d)});var a=0,t=e.graph().nodeRankFactor;i.forEach(r,function(d,o){i.isUndefined(d)&&o%t!==0?--a:a&&i.forEach(d,function(f){e.node(f).rank+=a})})}function M(e,n,r,a){var t={width:0,height:0};return arguments.length>=4&&(t.rank=r,t.order=a),E(e,"border",t,n)}function U(e){return i.max(i.map(e.nodes(),function(n){var r=e.node(n).rank;if(!i.isUndefined(r))return r}))}function we(e,n){var r={lhs:[],rhs:[]};return i.forEach(e,function(a){n(a)?r.lhs.push(a):r.rhs.push(a)}),r}function be(e,n){return n()}function Ee(e){function n(r){var a=e.children(r),t=e.node(r);if(a.length&&i.forEach(a,n),Object.prototype.hasOwnProperty.call(t,"minRank")){t.borderLeft=[],t.borderRight=[];for(var d=t.minRank,o=t.maxRank+1;d<o;++d)V(e,"borderLeft","_bl",r,t,d),V(e,"borderRight","_br",r,t,d)}}i.forEach(e.children(),n)}function V(e,n,r,a,t,d){var o={width:0,height:0,rank:d,borderType:n},f=t[n][d-1],u=E(e,"border",o,r);t[n][d]=u,e.setParent(u,a),f&&e.setEdge(f,u,{weight:1})}function ye(e){var n=e.graph().rankdir.toLowerCase();(n==="lr"||n==="rl")&&W(e)}function ge(e){var n=e.graph().rankdir.toLowerCase();(n==="bt"||n==="rl")&&ke(e),(n==="lr"||n==="rl")&&(xe(e),W(e))}function W(e){i.forEach(e.nodes(),function(n){B(e.node(n))}),i.forEach(e.edges(),function(n){B(e.edge(n))})}function B(e){var n=e.width;e.width=e.height,e.height=n}function ke(e){i.forEach(e.nodes(),function(n){O(e.node(n))}),i.forEach(e.edges(),function(n){var r=e.edge(n);i.forEach(r.points,O),Object.prototype.hasOwnProperty.call(r,"y")&&O(r)})}function O(e){e.y=-e.y}function xe(e){i.forEach(e.nodes(),function(n){N(e.node(n))}),i.forEach(e.edges(),function(n){var r=e.edge(n);i.forEach(r.points,N),Object.prototype.hasOwnProperty.call(r,"x")&&N(r)})}function N(e){var n=e.x;e.x=e.y,e.y=n}function Oe(e){e.graph().dummyChains=[],i.forEach(e.edges(),function(n){Ne(e,n)})}function Ne(e,n){var r=n.v,a=e.node(r).rank,t=n.w,d=e.node(t).rank,o=n.name,f=e.edge(n),u=f.labelRank;if(d!==a+1){e.removeEdge(n);var c=void 0,s,h;for(h=0,++a;a<d;++h,++a)f.points=[],c={width:0,height:0,edgeLabel:f,edgeObj:n,rank:a},s=E(e,"edge",c,"_d"),a===u&&(c.width=f.width,c.height=f.height,c.dummy="edge-label",c.labelpos=f.labelpos),e.setEdge(r,s,{weight:f.weight},o),h===0&&e.graph().dummyChains.push(s),r=s;e.setEdge(r,t,{weight:f.weight},o)}}function Le(e){i.forEach(e.graph().dummyChains,function(n){var r=e.node(n),a=r.edgeLabel,t;for(e.setEdge(r.edgeObj,a);r.dummy;)t=e.successors(n)[0],e.removeNode(n),a.points.push({x:r.x,y:r.y}),r.dummy==="edge-label"&&(a.x=r.x,a.y=r.y,a.width=r.width,a.height=r.height),n=t,r=e.node(n)})}function _(e){var n={};function r(a){var t=e.node(a);if(Object.prototype.hasOwnProperty.call(n,a))return t.rank;n[a]=!0;var d=i.min(i.map(e.outEdges(a),function(o){return r(o.w)-e.edge(o).minlen}));return(d===Number.POSITIVE_INFINITY||d===void 0||d===null)&&(d=0),t.rank=d}i.forEach(e.sources(),r)}function g(e,n){return e.node(n.w).rank-e.node(n.v).rank-e.edge(n).minlen}function $(e){var n=new w.Graph({directed:!1}),r=e.nodes()[0],a=e.nodeCount();n.setNode(r,{});for(var t,d;Ie(n,e)<a;)t=Pe(n,e),d=n.hasNode(t.v)?g(e,t):-g(e,t),_e(n,e,d);return n}function Ie(e,n){function r(a){i.forEach(n.nodeEdges(a),function(t){var d=t.v,o=a===d?t.w:d;!e.hasNode(o)&&!g(n,t)&&(e.setNode(o,{}),e.setEdge(a,o,{}),r(o))})}return i.forEach(e.nodes(),r),e.nodeCount()}function Pe(e,n){return i.minBy(n.edges(),function(r){if(e.hasNode(r.v)!==e.hasNode(r.w))return g(n,r)})}function _e(e,n,r){i.forEach(e.nodes(),function(a){n.node(a).rank+=r})}i.constant(1);i.constant(1);function Re(){}Re.prototype=new Error;function z(e,n,r){i.isArray(n)||(n=[n]);var a=(e.isDirected()?e.successors:e.neighbors).bind(e),t=[],d={};return i.each(n,function(o){if(!e.hasNode(o))throw new Error("Graph does not have node: "+o);X(e,o,r==="post",d,a,t)}),t}function X(e,n,r,a,t,d){Object.prototype.hasOwnProperty.call(a,n)||(a[n]=!0,r||d.push(n),i.each(t(n),function(o){X(e,o,r,a,t,d)}),r&&d.push(n))}function Ce(e,n){return z(e,n,"post")}function Te(e,n){return z(e,n,"pre")}b.initLowLimValues=C;b.initCutValues=R;b.calcCutValue=H;b.leaveEdge=K;b.enterEdge=Q;b.exchangeEdges=Z;function b(e){e=ve(e),_(e);var n=$(e);C(n),R(n,e);for(var r,a;r=K(n);)a=Q(n,e,r),Z(n,e,r,a)}function R(e,n){var r=Ce(e,e.nodes());r=r.slice(0,r.length-1),i.forEach(r,function(a){je(e,n,a)})}function je(e,n,r){var a=e.node(r),t=a.parent;e.edge(r,t).cutvalue=H(e,n,r)}function H(e,n,r){var a=e.node(r),t=a.parent,d=!0,o=n.edge(r,t),f=0;return o||(d=!1,o=n.edge(t,r)),f=o.weight,i.forEach(n.nodeEdges(r),function(u){var c=u.v===r,s=c?u.w:u.v;if(s!==t){var h=c===d,l=n.edge(u).weight;if(f+=h?l:-l,Me(e,r,s)){var v=e.edge(r,s).cutvalue;f+=h?-v:v}}}),f}function C(e,n){arguments.length<2&&(n=e.nodes()[0]),J(e,{},1,n)}function J(e,n,r,a,t){var d=r,o=e.node(a);return n[a]=!0,i.forEach(e.neighbors(a),function(f){Object.prototype.hasOwnProperty.call(n,f)||(r=J(e,n,r,f,a))}),o.low=d,o.lim=r++,t?o.parent=t:delete o.parent,r}function K(e){return i.find(e.edges(),function(n){return e.edge(n).cutvalue<0})}function Q(e,n,r){var a=r.v,t=r.w;n.hasEdge(a,t)||(a=r.w,t=r.v);var d=e.node(a),o=e.node(t),f=d,u=!1;d.lim>o.lim&&(f=o,u=!0);var c=i.filter(n.edges(),function(s){return u===F(e,e.node(s.v),f)&&u!==F(e,e.node(s.w),f)});return i.minBy(c,function(s){return g(n,s)})}function Z(e,n,r,a){var t=r.v,d=r.w;e.removeEdge(t,d),e.setEdge(a.v,a.w,{}),C(e),R(e,n),Se(e,n)}function Se(e,n){var r=i.find(e.nodes(),function(t){return!n.node(t).parent}),a=Te(e,r);a=a.slice(1),i.forEach(a,function(t){var d=e.node(t).parent,o=n.edge(t,d),f=!1;o||(o=n.edge(d,t),f=!0),n.node(t).rank=n.node(d).rank+(f?o.minlen:-o.minlen)})}function Me(e,n,r){return e.hasEdge(n,r)}function F(e,n,r){return r.low<=n.lim&&n.lim<=r.lim}function Ve(e){switch(e.graph().ranker){case"network-simplex":G(e);break;case"tight-tree":Fe(e);break;case"longest-path":Be(e);break;default:G(e)}}var Be=_;function Fe(e){_(e),$(e)}function G(e){b(e)}function Ge(e){var n=E(e,"root",{},"_root"),r=De(e),a=i.max(i.values(r))-1,t=2*a+1;e.graph().nestingRoot=n,i.forEach(e.edges(),function(o){e.edge(o).minlen*=t});var d=Ae(e)+1;i.forEach(e.children(),function(o){ee(e,n,t,d,a,r,o)}),e.graph().nodeRankFactor=t}function ee(e,n,r,a,t,d,o){var f=e.children(o);if(!f.length){o!==n&&e.setEdge(n,o,{weight:0,minlen:r});return}var u=M(e,"_bt"),c=M(e,"_bb"),s=e.node(o);e.setParent(u,o),s.borderTop=u,e.setParent(c,o),s.borderBottom=c,i.forEach(f,function(h){ee(e,n,r,a,t,d,h);var l=e.node(h),v=l.borderTop?l.borderTop:h,p=l.borderBottom?l.borderBottom:h,m=l.borderTop?a:2*a,y=v!==p?1:t-d[o]+1;e.setEdge(u,v,{weight:m,minlen:y,nestingEdge:!0}),e.setEdge(p,c,{weight:m,minlen:y,nestingEdge:!0})}),e.parent(o)||e.setEdge(n,u,{weight:0,minlen:t+d[o]})}function De(e){var n={};function r(a,t){var d=e.children(a);d&&d.length&&i.forEach(d,function(o){r(o,t+1)}),n[a]=t}return i.forEach(e.children(),function(a){r(a,1)}),n}function Ae(e){return i.reduce(e.edges(),function(n,r){return n+e.edge(r).weight},0)}function Ye(e){var n=e.graph();e.removeNode(n.nestingRoot),delete n.nestingRoot,i.forEach(e.edges(),function(r){var a=e.edge(r);a.nestingEdge&&e.removeEdge(r)})}function qe(e,n,r){var a={},t;i.forEach(r,function(d){for(var o=e.parent(d),f,u;o;){if(f=e.parent(o),f?(u=a[f],a[f]=o):(u=t,t=o),u&&u!==o){n.setEdge(u,o);return}o=f}})}function Ue(e,n,r){var a=We(e),t=new w.Graph({compound:!0}).setGraph({root:a}).setDefaultNodeLabel(function(d){return e.node(d)});return i.forEach(e.nodes(),function(d){var o=e.node(d),f=e.parent(d);(o.rank===n||o.minRank<=n&&n<=o.maxRank)&&(t.setNode(d),t.setParent(d,f||a),i.forEach(e[r](d),function(u){var c=u.v===d?u.w:u.v,s=t.edge(c,d),h=i.isUndefined(s)?0:s.weight;t.setEdge(c,d,{weight:e.edge(u).weight+h})}),Object.prototype.hasOwnProperty.call(o,"minRank")&&t.setNode(d,{borderLeft:o.borderLeft[n],borderRight:o.borderRight[n]}))}),t}function We(e){for(var n;e.hasNode(n=i.uniqueId("_root")););return n}function $e(e,n){for(var r=0,a=1;a<n.length;++a)r+=ze(e,n[a-1],n[a]);return r}function ze(e,n,r){for(var a=i.zipObject(r,i.map(r,function(c,s){return s})),t=i.flatten(i.map(n,function(c){return i.sortBy(i.map(e.outEdges(c),function(s){return{pos:a[s.w],weight:e.edge(s).weight}}),"pos")})),d=1;d<r.length;)d<<=1;var o=2*d-1;d-=1;var f=i.map(new Array(o),function(){return 0}),u=0;return i.forEach(t.forEach(function(c){var s=c.pos+d;f[s]+=c.weight;for(var h=0;s>0;)s%2&&(h+=f[s+1]),s=s-1>>1,f[s]+=c.weight;u+=c.weight*h})),u}function Xe(e){var n={},r=i.filter(e.nodes(),function(f){return!e.children(f).length}),a=i.max(i.map(r,function(f){return e.node(f).rank})),t=i.map(i.range(a+1),function(){return[]});function d(f){if(!i.has(n,f)){n[f]=!0;var u=e.node(f);t[u.rank].push(f),i.forEach(e.successors(f),d)}}var o=i.sortBy(r,function(f){return e.node(f).rank});return i.forEach(o,d),t}function He(e,n){return i.map(n,function(r){var a=e.inEdges(r);if(a.length){var t=i.reduce(a,function(d,o){var f=e.edge(o),u=e.node(o.v);return{sum:d.sum+f.weight*u.order,weight:d.weight+f.weight}},{sum:0,weight:0});return{v:r,barycenter:t.sum/t.weight,weight:t.weight}}else return{v:r}})}function Je(e,n){var r={};i.forEach(e,function(t,d){var o=r[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:d};i.isUndefined(t.barycenter)||(o.barycenter=t.barycenter,o.weight=t.weight)}),i.forEach(n.edges(),function(t){var d=r[t.v],o=r[t.w];!i.isUndefined(d)&&!i.isUndefined(o)&&(o.indegree++,d.out.push(r[t.w]))});var a=i.filter(r,function(t){return!t.indegree});return Ke(a)}function Ke(e){var n=[];function r(d){return function(o){o.merged||(i.isUndefined(o.barycenter)||i.isUndefined(d.barycenter)||o.barycenter>=d.barycenter)&&Qe(d,o)}}function a(d){return function(o){o.in.push(d),--o.indegree===0&&e.push(o)}}for(;e.length;){var t=e.pop();n.push(t),i.forEach(t.in.reverse(),r(t)),i.forEach(t.out,a(t))}return i.map(i.filter(n,function(d){return!d.merged}),function(d){return i.pick(d,["vs","i","barycenter","weight"])})}function Qe(e,n){var r=0,a=0;e.weight&&(r+=e.barycenter*e.weight,a+=e.weight),n.weight&&(r+=n.barycenter*n.weight,a+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=r/a,e.weight=a,e.i=Math.min(n.i,e.i),n.merged=!0}function Ze(e,n){var r=we(e,function(s){return Object.prototype.hasOwnProperty.call(s,"barycenter")}),a=r.lhs,t=i.sortBy(r.rhs,function(s){return-s.i}),d=[],o=0,f=0,u=0;a.sort(en(!!n)),u=D(d,t,u),i.forEach(a,function(s){u+=s.vs.length,d.push(s.vs),o+=s.barycenter*s.weight,f+=s.weight,u=D(d,t,u)});var c={vs:i.flatten(d)};return f&&(c.barycenter=o/f,c.weight=f),c}function D(e,n,r){for(var a;n.length&&(a=i.last(n)).i<=r;)n.pop(),e.push(a.vs),r++;return r}function en(e){return function(n,r){return n.barycenter<r.barycenter?-1:n.barycenter>r.barycenter?1:e?r.i-n.i:n.i-r.i}}function ne(e,n,r,a){var t=e.children(n),d=e.node(n),o=d?d.borderLeft:void 0,f=d?d.borderRight:void 0,u={};o&&(t=i.filter(t,function(p){return p!==o&&p!==f}));var c=He(e,t);i.forEach(c,function(p){if(e.children(p.v).length){var m=ne(e,p.v,r,a);u[p.v]=m,Object.prototype.hasOwnProperty.call(m,"barycenter")&&rn(p,m)}});var s=Je(c,r);nn(s,u);var h=Ze(s,a);if(o&&(h.vs=i.flatten([o,h.vs,f]),e.predecessors(o).length)){var l=e.node(e.predecessors(o)[0]),v=e.node(e.predecessors(f)[0]);Object.prototype.hasOwnProperty.call(h,"barycenter")||(h.barycenter=0,h.weight=0),h.barycenter=(h.barycenter*h.weight+l.order+v.order)/(h.weight+2),h.weight+=2}return h}function nn(e,n){i.forEach(e,function(r){r.vs=i.flatten(r.vs.map(function(a){return n[a]?n[a].vs:a}))})}function rn(e,n){i.isUndefined(e.barycenter)?(e.barycenter=n.barycenter,e.weight=n.weight):(e.barycenter=(e.barycenter*e.weight+n.barycenter*n.weight)/(e.weight+n.weight),e.weight+=n.weight)}function an(e){var n=U(e),r=A(e,i.range(1,n+1),"inEdges"),a=A(e,i.range(n-1,-1,-1),"outEdges"),t=Xe(e);Y(e,t);for(var d=Number.POSITIVE_INFINITY,o,f=0,u=0;u<4;++f,++u){tn(f%2?r:a,f%4>=2),t=k(e);var c=$e(e,t);c<d&&(u=0,o=i.cloneDeep(t),d=c)}Y(e,o)}function A(e,n,r){return i.map(n,function(a){return Ue(e,a,r)})}function tn(e,n){var r=new w.Graph;i.forEach(e,function(a){var t=a.graph().root,d=ne(a,t,r,n);i.forEach(d.vs,function(o,f){a.node(o).order=f}),qe(a,r,d.vs)})}function Y(e,n){i.forEach(n,function(r){i.forEach(r,function(a,t){e.node(a).order=t})})}function on(e){var n=fn(e);i.forEach(e.graph().dummyChains,function(r){for(var a=e.node(r),t=a.edgeObj,d=dn(e,n,t.v,t.w),o=d.path,f=d.lca,u=0,c=o[u],s=!0;r!==t.w;){if(a=e.node(r),s){for(;(c=o[u])!==f&&e.node(c).maxRank<a.rank;)u++;c===f&&(s=!1)}if(!s){for(;u<o.length-1&&e.node(c=o[u+1]).minRank<=a.rank;)u++;c=o[u]}e.setParent(r,c),r=e.successors(r)[0]}})}function dn(e,n,r,a){var t=[],d=[],o=Math.min(n[r].low,n[a].low),f=Math.max(n[r].lim,n[a].lim),u,c;u=r;do u=e.parent(u),t.push(u);while(u&&(n[u].low>o||f>n[u].lim));for(c=u,u=a;(u=e.parent(u))!==c;)d.push(u);return{path:t.concat(d.reverse()),lca:c}}function fn(e){var n={},r=0;function a(t){var d=r;i.forEach(e.children(t),a),n[t]={low:d,lim:r++}}return i.forEach(e.children(),a),n}function un(e,n){var r={};function a(t,d){var o=0,f=0,u=t.length,c=i.last(d);return i.forEach(d,function(s,h){var l=sn(e,s),v=l?e.node(l).order:u;(l||s===c)&&(i.forEach(d.slice(f,h+1),function(p){i.forEach(e.predecessors(p),function(m){var y=e.node(m),T=y.order;(T<o||v<T)&&!(y.dummy&&e.node(p).dummy)&&re(r,m,p)})}),f=h+1,o=v)}),d}return i.reduce(n,a),r}function cn(e,n){var r={};function a(d,o,f,u,c){var s;i.forEach(i.range(o,f),function(h){s=d[h],e.node(s).dummy&&i.forEach(e.predecessors(s),function(l){var v=e.node(l);v.dummy&&(v.order<u||v.order>c)&&re(r,l,s)})})}function t(d,o){var f=-1,u,c=0;return i.forEach(o,function(s,h){if(e.node(s).dummy==="border"){var l=e.predecessors(s);l.length&&(u=e.node(l[0]).order,a(o,c,h,f,u),c=h,f=u)}a(o,c,o.length,u,d.length)}),o}return i.reduce(n,t),r}function sn(e,n){if(e.node(n).dummy)return i.find(e.predecessors(n),function(r){return e.node(r).dummy})}function re(e,n,r){if(n>r){var a=n;n=r,r=a}Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,configurable:!0,value:{},writable:!0});var t=e[n];Object.defineProperty(t,r,{enumerable:!0,configurable:!0,value:!0,writable:!0})}function hn(e,n,r){if(n>r){var a=n;n=r,r=a}return!!e[n]&&Object.prototype.hasOwnProperty.call(e[n],r)}function ln(e,n,r,a){var t={},d={},o={};return i.forEach(n,function(f){i.forEach(f,function(u,c){t[u]=u,d[u]=u,o[u]=c})}),i.forEach(n,function(f){var u=-1;i.forEach(f,function(c){var s=a(c);if(s.length){s=i.sortBy(s,function(m){return o[m]});for(var h=(s.length-1)/2,l=Math.floor(h),v=Math.ceil(h);l<=v;++l){var p=s[l];d[c]===c&&u<o[p]&&!hn(r,c,p)&&(d[p]=c,d[c]=t[c]=t[p],u=o[p])}}})}),{root:t,align:d}}function vn(e,n,r,a,t){var d={},o=pn(e,n,r,t),f=t?"borderLeft":"borderRight";function u(h,l){for(var v=o.nodes(),p=v.pop(),m={};p;)m[p]?h(p):(m[p]=!0,v.push(p),v=v.concat(l(p))),p=v.pop()}function c(h){d[h]=o.inEdges(h).reduce(function(l,v){return Math.max(l,d[v.v]+o.edge(v))},0)}function s(h){var l=o.outEdges(h).reduce(function(p,m){return Math.min(p,d[m.w]-o.edge(m))},Number.POSITIVE_INFINITY),v=e.node(h);l!==Number.POSITIVE_INFINITY&&v.borderType!==f&&(d[h]=Math.max(d[h],l))}return u(c,o.predecessors.bind(o)),u(s,o.successors.bind(o)),i.forEach(a,function(h){d[h]=d[r[h]]}),d}function pn(e,n,r,a){var t=new w.Graph,d=e.graph(),o=yn(d.nodesep,d.edgesep,a);return i.forEach(n,function(f){var u;i.forEach(f,function(c){var s=r[c];if(t.setNode(s),u){var h=r[u],l=t.edge(h,s);t.setEdge(h,s,Math.max(o(e,c,u),l||0))}u=c})}),t}function mn(e,n){return i.minBy(i.values(n),function(r){var a=Number.NEGATIVE_INFINITY,t=Number.POSITIVE_INFINITY;return i.forIn(r,function(d,o){var f=gn(e,o)/2;a=Math.max(d+f,a),t=Math.min(d-f,t)}),a-t})}function wn(e,n){var r=i.values(n),a=i.min(r),t=i.max(r);i.forEach(["u","d"],function(d){i.forEach(["l","r"],function(o){var f=d+o,u=e[f],c;if(u!==n){var s=i.values(u);c=o==="l"?a-i.min(s):t-i.max(s),c&&(e[f]=i.mapValues(u,function(h){return h+c}))}})})}function bn(e,n){return i.mapValues(e.ul,function(r,a){if(n)return e[n.toLowerCase()][a];var t=i.sortBy(i.map(e,a));return(t[1]+t[2])/2})}function En(e){var n=k(e),r=i.merge(un(e,n),cn(e,n)),a={},t;i.forEach(["u","d"],function(o){t=o==="u"?n:i.values(n).reverse(),i.forEach(["l","r"],function(f){f==="r"&&(t=i.map(t,function(h){return i.values(h).reverse()}));var u=(o==="u"?e.predecessors:e.successors).bind(e),c=ln(e,t,r,u),s=vn(e,t,c.root,c.align,f==="r");f==="r"&&(s=i.mapValues(s,function(h){return-h})),a[o+f]=s})});var d=mn(e,a);return wn(a,d),bn(a,e.graph().align)}function yn(e,n,r){return function(a,t,d){var o=a.node(t),f=a.node(d),u=0,c;if(u+=o.width/2,Object.prototype.hasOwnProperty.call(o,"labelpos"))switch(o.labelpos.toLowerCase()){case"l":c=-o.width/2;break;case"r":c=o.width/2;break}if(c&&(u+=r?c:-c),c=0,u+=(o.dummy?n:e)/2,u+=(f.dummy?n:e)/2,u+=f.width/2,Object.prototype.hasOwnProperty.call(f,"labelpos"))switch(f.labelpos.toLowerCase()){case"l":c=f.width/2;break;case"r":c=-f.width/2;break}return c&&(u+=r?c:-c),c=0,u}}function gn(e,n){return e.node(n).width}function kn(e){e=q(e),xn(e),i.forOwn(En(e),function(n,r){e.node(r).x=n})}function xn(e){var n=k(e),r=e.graph().ranksep,a=0;i.forEach(n,function(t){var d=i.max(i.map(t,function(o){return e.node(o).height}));i.forEach(t,function(o){e.node(o).y=a+d/2}),a+=d+r})}function On(e,n){var r=be;r("layout",()=>{var a=r(" buildLayoutGraph",()=>Mn(e));r(" runLayout",()=>Nn(a,r)),r(" updateInputGraph",()=>Ln(e,a))})}function Nn(e,n){n(" makeSpaceForEdgeLabels",()=>Vn(e)),n(" removeSelfEdges",()=>Wn(e)),n(" acyclic",()=>se(e)),n(" nestingGraph.run",()=>Ge(e)),n(" rank",()=>Ve(q(e))),n(" injectEdgeLabelProxies",()=>Bn(e)),n(" removeEmptyRanks",()=>me(e)),n(" nestingGraph.cleanup",()=>Ye(e)),n(" normalizeRanks",()=>pe(e)),n(" assignRankMinMax",()=>Fn(e)),n(" removeEdgeLabelProxies",()=>Gn(e)),n(" normalize.run",()=>Oe(e)),n(" parentDummyChains",()=>on(e)),n(" addBorderSegments",()=>Ee(e)),n(" order",()=>an(e)),n(" insertSelfEdges",()=>$n(e)),n(" adjustCoordinateSystem",()=>ye(e)),n(" position",()=>kn(e)),n(" positionSelfEdges",()=>zn(e)),n(" removeBorderNodes",()=>Un(e)),n(" normalize.undo",()=>Le(e)),n(" fixupEdgeLabelCoords",()=>Yn(e)),n(" undoCoordinateSystem",()=>ge(e)),n(" translateGraph",()=>Dn(e)),n(" assignNodeIntersects",()=>An(e)),n(" reversePoints",()=>qn(e)),n(" acyclic.undo",()=>le(e))}function Ln(e,n){i.forEach(e.nodes(),function(r){var a=e.node(r),t=n.node(r);a&&(a.x=t.x,a.y=t.y,n.children(r).length&&(a.width=t.width,a.height=t.height))}),i.forEach(e.edges(),function(r){var a=e.edge(r),t=n.edge(r);a.points=t.points,Object.prototype.hasOwnProperty.call(t,"x")&&(a.x=t.x,a.y=t.y)}),e.graph().width=n.graph().width,e.graph().height=n.graph().height}var In=["nodesep","edgesep","ranksep","marginx","marginy"],Pn={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},_n=["acyclicer","ranker","rankdir","align"],Rn=["width","height"],Cn={width:0,height:0},Tn=["minlen","weight","width","height","labeloffset"],jn={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},Sn=["labelpos"];function Mn(e){var n=new w.Graph({multigraph:!0,compound:!0}),r=I(e.graph());return n.setGraph(i.merge({},Pn,L(r,In),i.pick(r,_n))),i.forEach(e.nodes(),function(a){var t=I(e.node(a));n.setNode(a,i.defaults(L(t,Rn),Cn)),n.setParent(a,e.parent(a))}),i.forEach(e.edges(),function(a){var t=I(e.edge(a));n.setEdge(a,i.merge({},jn,L(t,Tn),i.pick(t,Sn)))}),n}function Vn(e){var n=e.graph();n.ranksep/=2,i.forEach(e.edges(),function(r){var a=e.edge(r);a.minlen*=2,a.labelpos.toLowerCase()!=="c"&&(n.rankdir==="TB"||n.rankdir==="BT"?a.width+=a.labeloffset:a.height+=a.labeloffset)})}function Bn(e){i.forEach(e.edges(),function(n){var r=e.edge(n);if(r.width&&r.height){var a=e.node(n.v),t=e.node(n.w),d={rank:(t.rank-a.rank)/2+a.rank,e:n};E(e,"edge-proxy",d,"_ep")}})}function Fn(e){var n=0;i.forEach(e.nodes(),function(r){var a=e.node(r);a.borderTop&&(a.minRank=e.node(a.borderTop).rank,a.maxRank=e.node(a.borderBottom).rank,n=i.max(n,a.maxRank))}),e.graph().maxRank=n}function Gn(e){i.forEach(e.nodes(),function(n){var r=e.node(n);r.dummy==="edge-proxy"&&(e.edge(r.e).labelRank=r.rank,e.removeNode(n))})}function Dn(e){var n=Number.POSITIVE_INFINITY,r=0,a=Number.POSITIVE_INFINITY,t=0,d=e.graph(),o=d.marginx||0,f=d.marginy||0;function u(c){var s=c.x,h=c.y,l=c.width,v=c.height;n=Math.min(n,s-l/2),r=Math.max(r,s+l/2),a=Math.min(a,h-v/2),t=Math.max(t,h+v/2)}i.forEach(e.nodes(),function(c){u(e.node(c))}),i.forEach(e.edges(),function(c){var s=e.edge(c);Object.prototype.hasOwnProperty.call(s,"x")&&u(s)}),n-=o,a-=f,i.forEach(e.nodes(),function(c){var s=e.node(c);s.x-=n,s.y-=a}),i.forEach(e.edges(),function(c){var s=e.edge(c);i.forEach(s.points,function(h){h.x-=n,h.y-=a}),Object.prototype.hasOwnProperty.call(s,"x")&&(s.x-=n),Object.prototype.hasOwnProperty.call(s,"y")&&(s.y-=a)}),d.width=r-n+o,d.height=t-a+f}function An(e){i.forEach(e.edges(),function(n){var r=e.edge(n),a=e.node(n.v),t=e.node(n.w),d,o;r.points?(d=r.points[0],o=r.points[r.points.length-1]):(r.points=[],d=t,o=a),r.points.unshift(S(a,d)),r.points.push(S(t,o))})}function Yn(e){i.forEach(e.edges(),function(n){var r=e.edge(n);if(Object.prototype.hasOwnProperty.call(r,"x"))switch((r.labelpos==="l"||r.labelpos==="r")&&(r.width-=r.labeloffset),r.labelpos){case"l":r.x-=r.width/2+r.labeloffset;break;case"r":r.x+=r.width/2+r.labeloffset;break}})}function qn(e){i.forEach(e.edges(),function(n){var r=e.edge(n);r.reversed&&r.points.reverse()})}function Un(e){i.forEach(e.nodes(),function(n){if(e.children(n).length){var r=e.node(n),a=e.node(r.borderTop),t=e.node(r.borderBottom),d=e.node(i.last(r.borderLeft)),o=e.node(i.last(r.borderRight));r.width=Math.abs(o.x-d.x),r.height=Math.abs(t.y-a.y),r.x=d.x+r.width/2,r.y=a.y+r.height/2}}),i.forEach(e.nodes(),function(n){e.node(n).dummy==="border"&&e.removeNode(n)})}function Wn(e){i.forEach(e.edges(),function(n){if(n.v===n.w){var r=e.node(n.v);r.selfEdges||(r.selfEdges=[]),r.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}})}function $n(e){var n=k(e);i.forEach(n,function(r){var a=0;i.forEach(r,function(t,d){var o=e.node(t);o.order=d+a,i.forEach(o.selfEdges,function(f){E(e,"selfedge",{width:f.label.width,height:f.label.height,rank:o.rank,order:d+ ++a,e:f.e,label:f.label},"_se")}),delete o.selfEdges})})}function zn(e){i.forEach(e.nodes(),function(n){var r=e.node(n);if(r.dummy==="selfedge"){var a=e.node(r.e.v),t=a.x+a.width/2,d=a.y,o=r.x-t,f=a.height/2;e.setEdge(r.e,r.label),e.removeNode(n),r.label.points=[{x:t+2*o/3,y:d-f},{x:t+5*o/6,y:d-f},{x:t+o,y:d},{x:t+5*o/6,y:d+f},{x:t+2*o/3,y:d+f}],r.label.x=r.x,r.label.y=r.y}})}function L(e,n){return i.mapValues(i.pick(e,n),Number)}function I(e){var n={};return i.forEach(e,function(r,a){n[a.toLowerCase()]=r}),n}exports.layout=On;
|
package/dist/layers.CzZCiNn3.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("./layers.BSB9eX8_.js"),s=(e,r)=>n.Utils.lang.round(n.Color.parse(e)[r]);exports.channel=s;
|
package/dist/layers.Cz_HcKZR.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./layers.Dhs3Sikn.js");var e={paste:"Pegar",pasteAsPlaintext:"Pegar como texto sin formato",pasteCharts:"Pegar gráficos",selectAll:"Seleccionar todo",multiSelect:"Añadir elemento a la selección",moveCanvas:"Mover el lienzo",cut:"Cortar",copy:"Copiar",copyAsPng:"Copiar al portapapeles como PNG",copyAsSvg:"Copiar al portapapeles como SVG",copyText:"Copiar al portapapeles como texto",copySource:"Copiar fuente al portapapeles",convertToCode:"Convertir a código",bringForward:"Traer hacia delante",sendToBack:"Enviar al fondo",bringToFront:"Traer al frente",sendBackward:"Enviar atrás",delete:"Borrar",copyStyles:"Copiar estilos",pasteStyles:"Pegar estilos",stroke:"Trazo",background:"Fondo",fill:"Rellenar",strokeWidth:"Grosor del trazo",strokeStyle:"Estilo del trazo",strokeStyle_solid:"Sólido",strokeStyle_dashed:"Discontinua",strokeStyle_dotted:"Punteado",sloppiness:"Estilo de trazo",opacity:"Opacidad",textAlign:"Alineado de texto",edges:"Bordes",sharp:"Afilado",round:"Redondo",arrowheads:"Puntas de flecha",arrowhead_none:"Ninguna",arrowhead_arrow:"Flecha",arrowhead_bar:"Barra",arrowhead_circle:"Círculo",arrowhead_circle_outline:"Círculo (contorno)",arrowhead_triangle:"Triángulo",arrowhead_triangle_outline:"Triángulo (contorno)",arrowhead_diamond:"Diamante",arrowhead_diamond_outline:"Diamante (contorno)",fontSize:"Tamaño de la fuente",fontFamily:"Tipo de fuente",addWatermark:'Agregar "Hecho con Excalidraw"',handDrawn:"Dibujado a mano",normal:"Normal",code:"Código",small:"Pequeña",medium:"Mediana",large:"Grande",veryLarge:"Muy grande",solid:"Sólido",hachure:"Folleto",zigzag:"Zigzag",crossHatch:"Rayado transversal",thin:"Fino",bold:"Grueso",left:"Izquierda",center:"Centrado",right:"Derecha",extraBold:"Extra negrita",architect:"Arquitecto",artist:"Artista",cartoonist:"Caricatura",fileTitle:"Nombre del archivo",colorPicker:"Selector de color",canvasColors:"Usado en lienzo",canvasBackground:"Fondo del lienzo",drawingCanvas:"Lienzo de dibujo",layers:"Capas",actions:"Acciones",language:"Idioma",liveCollaboration:"Colaboración en directo...",duplicateSelection:"Duplicar",untitled:"Sin título",name:"Nombre",yourName:"Tu nombre",madeWithExcalidraw:"Hecho con Excalidraw",group:"Agrupar selección",ungroup:"Desagrupar selección",collaborators:"Colaboradores",showGrid:"Mostrar cuadrícula",addToLibrary:"Añadir a la biblioteca",removeFromLibrary:"Eliminar de la biblioteca",libraryLoadingMessage:"Cargando biblioteca…",libraries:"Explorar bibliotecas",loadingScene:"Cargando escena…",align:"Alinear",alignTop:"Alineación superior",alignBottom:"Alineación inferior",alignLeft:"Alinear a la izquierda",alignRight:"Alinear a la derecha",centerVertically:"Centrar verticalmente",centerHorizontally:"Centrar horizontalmente",distributeHorizontally:"Distribuir horizontalmente",distributeVertically:"Distribuir verticalmente",flipHorizontal:"Girar horizontalmente",flipVertical:"Girar verticalmente",viewMode:"Modo presentación",share:"Compartir",showStroke:"Mostrar selector de color de trazo",showBackground:"Mostrar el selector de color de fondo",toggleTheme:"Cambiar tema",personalLib:"Biblioteca personal",excalidrawLib:"Biblioteca Excalidraw",decreaseFontSize:"Disminuir tamaño de letra",increaseFontSize:"Aumentar el tamaño de letra",unbindText:"Desvincular texto",bindText:"Vincular texto al contenedor",createContainerFromText:"Envolver el texto en un contenedor",link:{edit:"Editar enlace",editEmbed:"Editar enlace e incrustar",create:"Crear enlace",createEmbed:"Crear enlace e incrustar",label:"Enlace",labelEmbed:"Enlazar e incrustar",empty:"No se ha establecido un enlace"},lineEditor:{edit:"Editar línea",exit:"Salir del editor en línea"},elementLock:{lock:"Bloquear",unlock:"Desbloquear",lockAll:"Bloquear todo",unlockAll:"Desbloquear todo"},statusPublished:"Publicado",sidebarLock:"Mantener barra lateral abierta",selectAllElementsInFrame:"Seleccionar todos los elementos en el marco",removeAllElementsFromFrame:"Eliminar todos los elementos del marco",eyeDropper:"Seleccionar un color del lienzo",textToDiagram:"Texto a diagrama",prompt:"Sugerencia"},a={noItems:"No hay elementos añadidos todavía...",hint_emptyLibrary:"Seleccione un elemento en el lienzo para añadirlo aquí, o instale una biblioteca del repositorio público, a continuación.",hint_emptyPrivateLibrary:"Seleccione un elemento del lienzo para añadirlo aquí."},o={clearReset:"Limpiar lienzo y reiniciar el color de fondo",exportJSON:"Exportar a archivo",exportImage:"Exportar imagen...",export:"Guardar en...",copyToClipboard:"Copiar al portapapeles",save:"Guardar en archivo actual",saveAs:"Guardar como",load:"Abrir",getShareableLink:"Obtener enlace para compartir",close:"Cerrar",selectLanguage:"Elegir idioma",scrollBackToContent:"Volver al contenido",zoomIn:"Acercarse",zoomOut:"Alejarse",resetZoom:"Restablecer zoom",menu:"Menú",done:"Hecho",edit:"Editar",undo:"Deshacer",redo:"Rehacer",resetLibrary:"Reiniciar biblioteca",createNewRoom:"Crear nueva sala",fullScreen:"Pantalla completa",darkMode:"Modo oscuro",lightMode:"Modo claro",zenMode:"Modo Zen",objectsSnapMode:"Ajustar a los objetos",exitZenMode:"Salir del modo Zen",cancel:"Cancelar",clear:"Borrar",remove:"Eliminar",embed:"",publishLibrary:"Publicar",submit:"Enviar",confirm:"Confirmar",embeddableInteractionButton:"Pulsa para interactuar"},r={clearReset:"Esto limpiará todo el lienzo. Estás seguro?",couldNotCreateShareableLink:"No se pudo crear un enlace para compartir.",couldNotCreateShareableLinkTooBig:"No se pudo crear el enlace para compartir: la escena es demasiado grande",couldNotLoadInvalidFile:"No se pudo cargar el archivo no válido",importBackendFailed:"La importación falló.",cannotExportEmptyCanvas:"No se puede exportar un lienzo vació",couldNotCopyToClipboard:"No se pudo copiar al portapapeles.",decryptFailed:"No se pudieron descifrar los datos.",uploadedSecurly:"La carga ha sido asegurada con cifrado de principio a fin, lo que significa que el servidor de Excalidraw y terceros no pueden leer el contenido.",loadSceneOverridePrompt:"Si carga este dibujo externo, reemplazará el que tiene. ¿Desea continuar?",collabStopOverridePrompt:`Detener la sesión sobrescribirá su dibujo anterior almacenado localmente. ¿Está seguro?
|
|
2
|
-
|
|
3
|
-
(Si desea mantener su dibujo local, simplemente cierre la pestaña del navegador.)`,errorAddingToLibrary:"No se pudo agregar el elemento a la biblioteca",errorRemovingFromLibrary:"No se pudo quitar el elemento de la biblioteca",confirmAddLibrary:"Esto añadirá {{numShapes}} forma(s) a tu biblioteca. ¿Estás seguro?",imageDoesNotContainScene:"Esta imagen no parece contener datos de escena. ¿Ha habilitado la inserción de la escena durante la exportación?",cannotRestoreFromImage:"No se pudo restaurar la escena desde este archivo de imagen",invalidSceneUrl:"No se ha podido importar la escena desde la URL proporcionada. Está mal formada, o no contiene datos de Excalidraw JSON válidos.",resetLibrary:"Esto borrará tu biblioteca. ¿Estás seguro?",removeItemsFromsLibrary:"¿Eliminar {{count}} elemento(s) de la biblioteca?",invalidEncryptionKey:"La clave de cifrado debe tener 22 caracteres. La colaboración en vivo está deshabilitada.",collabOfflineWarning:`No hay conexión a internet disponible.
|
|
4
|
-
¡No se guardarán los cambios!`},i={unsupportedFileType:"Tipo de archivo no admitido.",imageInsertError:"No se pudo insertar la imagen. Inténtelo de nuevo más tarde...",fileTooBig:"Archivo demasiado grande. El tamaño máximo permitido es {{maxSize}}.",svgImageInsertError:"No se pudo insertar la imagen SVG. El código SVG parece inválido.",failedToFetchImage:"Error al obtener la imagen.",invalidSVGString:"SVG no válido.",cannotResolveCollabServer:"No se pudo conectar al servidor colaborador. Por favor, vuelva a cargar la página y vuelva a intentarlo.",importLibraryError:"No se pudo cargar la librería",collabSaveFailed:"No se pudo guardar en la base de datos del backend. Si los problemas persisten, debería guardar su archivo localmente para asegurarse de que no pierde su trabajo.",collabSaveFailed_sizeExceeded:"No se pudo guardar en la base de datos del backend, el lienzo parece ser demasiado grande. Debería guardar el archivo localmente para asegurarse de que no pierde su trabajo.",imageToolNotSupported:"",brave_measure_text_error:{line1:"Parece que estás usando el navegador Brave con el ajuste <bold>Forzar el bloqueo de huellas digitales</bold> habilitado.",line2:"Esto podría resultar en errores en los <bold>Elementos de Texto</bold> en tus dibujos.",line3:"Recomendamos fuertemente deshabilitar esta configuración. Puedes seguir <link>estos pasos</link> sobre cómo hacerlo.",line4:""},libraryElementTypeError:{embeddable:"",iframe:"Los elementos IFrame no se pueden agregar a la biblioteca.",image:""},asyncPasteFailedOnRead:"No se pudo pegar (no se pudo leer desde el portapapeles del sistema).",asyncPasteFailedOnParse:"No se pudo pegar.",copyToSystemClipboardFailed:"No se pudo copiar al portapapeles."},n={selection:"Selección",image:"Insertar imagen",rectangle:"Rectángulo",diamond:"Diamante",ellipse:"Elipse",arrow:"Flecha",line:"Línea",freedraw:"Dibujar",text:"Texto",library:"Biblioteca",lock:"Mantener la herramienta seleccionada activa después de dibujar",penMode:"Modo Lápiz - previene toque",link:"Añadir/Actualizar enlace para una forma seleccionada",eraser:"Borrar",frame:"",magicframe:"Esquema a código",embeddable:"Incrustar Web",laser:"Puntero láser",hand:"Mano (herramienta de panoramización)",extraTools:"Más herramientas",mermaidToExcalidraw:"Mermaid a Excalidraw",magicSettings:"Ajustes AI"},t={canvasActions:"Acciones del lienzo",selectedShapeActions:"Acciones de la forma seleccionada",shapes:"Formas"},l={canvasPanning:"Para mover el lienzo, mantenga la rueda del ratón o la barra espaciadora mientras arrastra o utilice la herramienta de mano",linearElement:"Haz clic para dibujar múltiples puntos, arrastrar para solo una línea",freeDraw:"Haz clic y arrastra, suelta al terminar",text:"Consejo: también puedes añadir texto haciendo doble clic en cualquier lugar con la herramienta de selección",embeddable:"Haga clic y arrastre para crear un sitio web incrustado",text_selected:"Doble clic o pulse ENTER para editar el texto",text_editing:"Pulse Escape o Ctrl/Cmd + ENTER para terminar de editar",linearElementMulti:"Haz clic en el último punto o presiona Escape o Enter para finalizar",lockAngle:"Puedes restringir el ángulo manteniendo presionado el botón SHIFT",resize:`Para mantener las proporciones mantén SHIFT presionado mientras modificas el tamaño,
|
|
5
|
-
mantén presionado ALT para modificar el tamaño desde el centro`,resizeImage:`Puede redimensionar libremente pulsando SHIFT,
|
|
6
|
-
pulse ALT para redimensionar desde el centro`,rotate:"Puedes restringir los ángulos manteniendo presionado SHIFT mientras giras",lineEditor_info:"Mantenga pulsado CtrlOrCmd y haga doble click o presione CtrlOrCmd + Enter para editar puntos",lineEditor_pointSelected:"Presione Suprimir para eliminar el/los punto(s), CtrlOrCmd+D para duplicarlo, o arrástrelo para moverlo",lineEditor_nothingSelected:`Seleccione un punto a editar (mantenga MAYÚSCULAS para seleccionar múltiples),
|
|
7
|
-
o mantenga pulsado Alt y haga click para añadir nuevos puntos`,placeImage:"Haga clic para colocar la imagen o haga click y arrastre para establecer su tamaño manualmente",publishLibrary:"Publica tu propia biblioteca",bindTextToElement:"Presione Entrar para agregar",deepBoxSelect:"Mantén CtrlOrCmd para seleccionar en profundidad, y para evitar arrastrar",eraserRevert:"Mantenga pulsado Alt para revertir los elementos marcados para su eliminación",firefox_clipboard_write:'Esta característica puede ser habilitada estableciendo la bandera "dom.events.asyncClipboard.clipboardItem" a "true". Para cambiar las banderas del navegador en Firefox, visite la página "about:config".',disableSnapping:"Mantén pulsado CtrlOrCmd para desactivar el ajuste"},s={cannotShowPreview:"No se puede mostrar la vista previa",canvasTooBig:"El lienzo podría ser demasiado grande.",canvasTooBigTip:"Sugerencia: intenta acercar un poco más los elementos más lejanos."},d={headingMain:"Se encontró un error. Intente <button>recargando la página.</button>",clearCanvasMessage:"Si la recarga no funciona, intente <button>limpiando el lienzo.</button>",clearCanvasCaveat:" Esto provocará la pérdida de su trabajo ",trackedToSentry:"El error con el identificador {{eventId}} fue rastreado en nuestro sistema.",openIssueMessage:"Fuimos muy cautelosos de no incluir la información de tu escena en el error. Si tu escena no es privada, por favor considera seguir nuestro <button>rastreador de errores.</button> Por favor, incluya la siguiente información copiándola y pegándola en el issue de GitHub.",sceneContent:"Contenido de la escena:"},c={desc_intro:"Puede invitar a otras personas a tu actual escena para que colaboren contigo.",desc_privacy:"No te preocupes, la sesión usa encriptación de punta a punta, por lo que todo lo que se dibuje se mantendrá privadamente. Ni siquiera nuestro servidor podrá ver lo que haces.",button_startSession:"Iniciar sesión",button_stopSession:"Detener sesión",desc_inProgressIntro:"La sesión de colaboración en vivo está ahora en progreso.",desc_shareLink:"Comparte este enlace con cualquier persona con quien quieras colaborar:",desc_exitSession:"Detener la sesión te desconectará de la sala, pero podrás seguir trabajando con la escena en su computadora, esto es de modo local. Ten en cuenta que esto no afectará a otras personas, y que las mismas seguirán siendo capaces de colaborar en tu escena.",shareTitle:"Únase a una sesión colaborativa en vivo en Excalidraw"},u={title:"Error"},p={disk_title:"Guardar en disco",disk_details:"Exportar los datos de la escena a un archivo desde el cual pueda importar más tarde.",disk_button:"Guardar en archivo",link_title:"Enlace para compartir",link_details:"Exportar como enlace de sólo lectura.",link_button:"Exportar a Link",excalidrawplus_description:"Guarde la escena en su espacio de trabajo de Excalidraw+.",excalidrawplus_button:"Exportar",excalidrawplus_exportError:"No se pudo exportar a Excalidraw+ en este momento..."},m={blog:"Lea nuestro blog",click:"click",deepSelect:"Selección profunda",deepBoxSelect:"Seleccione en profundidad dentro de la caja, y evite arrastrar",curvedArrow:"Flecha curva",curvedLine:"Línea curva",documentation:"Documentación",doubleClick:"doble clic",drag:"arrastrar",editor:"Editor",editLineArrowPoints:"Editar puntos de línea/flecha",editText:"Editar texto / añadir etiqueta",github:"¿Ha encontrado un problema? Envíelo",howto:"Siga nuestras guías",or:"o",preventBinding:"Evitar enlace de flechas",tools:"Herramientas",shortcuts:"Atajos del teclado",textFinish:"Finalizar edición (editor de texto)",textNewLine:"Añadir nueva linea (editor de texto)",title:"Ayuda",view:"Vista",zoomToFit:"Ajustar la vista para mostrar todos los elementos",zoomToSelection:"Ampliar selección",toggleElementLock:"Bloquear/desbloquear selección",movePageUpDown:"Mover página hacia arriba/abajo",movePageLeftRight:"Mover página hacia la izquierda/derecha"},b={title:"Borrar lienzo"},x={title:"Publicar biblioteca",itemName:"Nombre del artículo",authorName:"Nombre del autor",githubUsername:"Nombre de usuario de GitHub",twitterUsername:"Nombre de usuario de Twitter",libraryName:"Nombre de la biblioteca",libraryDesc:"Descripción de la biblioteca",website:"Sitio Web",placeholder:{authorName:"Nombre o nombre de usuario",libraryName:"Nombre de tu biblioteca",libraryDesc:"Descripción de su biblioteca para ayudar a la gente a entender su uso",githubHandle:"Nombre de usuario de GitHub (opcional), así podrá editar la biblioteca una vez enviada para su revisión",twitterHandle:"Nombre de usuario de Twitter (opcional), así sabemos a quién acreditar cuando se promociona en Twitter",website:"Enlace a su sitio web personal o en cualquier otro lugar (opcional)"},errors:{required:"Requerido",website:"Introduce una URL válida"},noteDescription:"Envía tu biblioteca para ser incluida en el <link>repositorio de librería pública</link>para que otras personas utilicen en sus dibujos.",noteGuidelines:"La biblioteca debe ser aprobada manualmente primero. Por favor, lea la <link>pautas</link> antes de enviar. Necesitará una cuenta de GitHub para comunicarse y hacer cambios si se solicita, pero no es estrictamente necesario.",noteLicense:"Al enviar, usted acepta que la biblioteca se publicará bajo el <link>Licencia MIT </link>que en breve significa que cualquiera puede utilizarlos sin restricciones.",noteItems:"Cada elemento de la biblioteca debe tener su propio nombre para que sea filtrable. Los siguientes elementos de la biblioteca serán incluidos:",atleastOneLibItem:"Por favor, seleccione al menos un elemento de la biblioteca para empezar",republishWarning:"Nota: algunos de los elementos seleccionados están marcados como ya publicados/enviados. Sólo debería volver a enviar elementos cuando se actualice una biblioteca o envío."},g={title:"Biblioteca enviada",content:"Gracias {{authorName}}. Su biblioteca ha sido enviada para ser revisada. Puede seguir el estado<link>aquí</link>"},E={resetLibrary:"Reiniciar biblioteca",removeItemsFromLib:"Eliminar elementos seleccionados de la biblioteca"},v={header:"Exportar imagen",label:{withBackground:"Fondo",onlySelected:"Sólo seleccionados",darkMode:"Modo oscuro",embedScene:"Incrustar escena",scale:"Escalar",padding:"Espaciado"},tooltip:{embedScene:""},title:{exportToPng:"Exportar a PNG",exportToSvg:"Exportar a SVG",copyPngToClipboard:"Copiar PNG al portapapeles"},button:{exportToPng:"PNG",exportToSvg:"SVG",copyPngToClipboard:"Copiar al portapapeles"}},h={tooltip:"Tus dibujos están cifrados de punto a punto, por lo que los servidores de Excalidraw nunca los verán.",link:"Entrada en el blog sobre cifrado de extremo a extremo"},F={angle:"Ángulo",element:"Elemento",elements:"Elementos",height:"Alto",scene:"Escena",selected:"Seleccionado",storage:"Almacenamiento",title:"Estadísticas para nerds",total:"Total",version:"Versión",versionCopy:"Click para copiar",versionNotAvailable:"Versión no disponible",width:"Ancho"},S={addedToLibrary:"Añadido a la biblioteca",copyStyles:"Estilos copiados.",copyToClipboard:"Copiado en el portapapeles.",copyToClipboardAsPng:`Copiado {{exportSelection}} al portapapeles como PNG
|
|
8
|
-
({{exportColorScheme}})`,fileSaved:"Archivo guardado.",fileSavedToFilename:"Guardado en {filename}",canvas:"lienzo",selection:"selección",pasteAsSingleElement:`Usa {{shortcut}} para pegar como un solo elemento,
|
|
9
|
-
o pegar en un editor de texto existente`,unableToEmbed:"",unrecognizedLinkFormat:""},y={transparent:"Transparente",black:"Negro",white:"Blanco",red:"Rojo",pink:"Rosa",grape:"Uva",violet:"Violeta",gray:"Gris",blue:"Azul",cyan:"Cian",teal:"Turquesa",green:"Verde",yellow:"Amarillo",orange:"Naranja",bronze:"Bronce"},C={app:{center_heading:"Toda su información es guardada localmente en su navegador.",center_heading_plus:"¿Quieres ir a Excalidraw+?",menuHint:"Exportar, preferencias, idiomas, ..."},defaults:{menuHint:"Exportar, preferencias y más...",center_heading:"Diagramas. Hecho. Simplemente.",toolbarHint:"¡Elige una herramienta y empieza a dibujar!",helpHint:"Atajos y ayuda"}},f={mostUsedCustomColors:"Colores personalizados más utilizados",colors:"Colores",shades:"",hexCode:"Código Hexadecimal",noShades:""},D={action:{exportToImage:{title:"Exportar como imagen",button:"Exportar como imagen",description:""},saveToDisk:{title:"Guardar en el disco",button:"Guardar en el disco",description:"Exporta los datos de la escena a un archivo desde el cual podrás importar más tarde."},excalidrawPlus:{title:"",button:"Exportar a Excalidraw+",description:""}},modal:{loadFromFile:{title:"Cargar desde un archivo",button:"Cargar desde un archivo",description:""},shareableLink:{title:"Cargar desde un enlace",button:"Reemplazar mi contenido",description:"Cargar un dibujo externo <bold>reemplazará tu contenido existente</bold>.<br></br>Puedes primero hacer una copia de seguridad de tu dibujo usando una de las opciones de abajo."}}},T={title:"Mermaid a Excalidraw",button:"Insertar",description:"Actualmente sólo <flowchartLink>Flowchart</flowchartLink>,<sequenceLink> Secuencia, </sequenceLink> y <classLink>Class </classLink>Diagramas son soportados. Los otros tipos se renderizarán como imagen en Excalidraw.",syntax:"Sintaxis Mermaid",preview:"Vista previa"},A={labels:e,library:a,buttons:o,alerts:r,errors:i,toolBar:n,headings:t,hints:l,canvasError:s,errorSplash:d,roomDialog:c,errorDialog:u,exportDialog:p,helpDialog:m,clearCanvasDialog:b,publishDialog:x,publishSuccessDialog:g,confirmDialog:E,imageExportDialog:v,encrypted:h,stats:F,toast:S,colors:y,welcomeScreen:C,colorPicker:f,overwriteConfirm:D,mermaid:T};exports.alerts=r;exports.buttons=o;exports.canvasError=s;exports.clearCanvasDialog=b;exports.colorPicker=f;exports.colors=y;exports.confirmDialog=E;exports.default=A;exports.encrypted=h;exports.errorDialog=u;exports.errorSplash=d;exports.errors=i;exports.exportDialog=p;exports.headings=t;exports.helpDialog=m;exports.hints=l;exports.imageExportDialog=v;exports.labels=e;exports.library=a;exports.mermaid=T;exports.overwriteConfirm=D;exports.publishDialog=x;exports.publishSuccessDialog=g;exports.roomDialog=c;exports.stats=F;exports.toast=S;exports.toolBar=n;exports.welcomeScreen=C;
|
package/dist/layers.D-z4IZwp.js
DELETED
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("./layers.BSB9eX8_.js"),R=require("./layers.ifrGR0tH.js");require("./layers.Dhs3Sikn.js");const Q=require("./layers.Dwf-cmfl.js");var X=(function(){var t=function(p,n,r,a){for(r=r||{},a=p.length;a--;r[p[a]]=n);return r},e=[6,8,10,11,12,14,16,17,18],i=[1,9],l=[1,10],s=[1,11],h=[1,12],c=[1,13],f=[1,14],y={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:function(n,r,a,u,d,o,T){var _=o.length-1;switch(d){case 1:return o[_-1];case 2:this.$=[];break;case 3:o[_-1].push(o[_]),this.$=o[_-1];break;case 4:case 5:this.$=o[_];break;case 6:case 7:this.$=[];break;case 8:u.setDiagramTitle(o[_].substr(6)),this.$=o[_].substr(6);break;case 9:this.$=o[_].trim(),u.setAccTitle(this.$);break;case 10:case 11:this.$=o[_].trim(),u.setAccDescription(this.$);break;case 12:u.addSection(o[_].substr(8)),this.$=o[_].substr(8);break;case 13:u.addTask(o[_-1],o[_]),this.$="task";break}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:i,12:l,14:s,16:h,17:c,18:f},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:i,12:l,14:s,16:h,17:c,18:f},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:function(n,r){if(r.recoverable)this.trace(n);else{var a=new Error(n);throw a.hash=r,a}},parse:function(n){var r=this,a=[0],u=[],d=[null],o=[],T=this.table,_="",N=0,Z=0,ot=2,J=1,lt=o.slice.call(arguments,1),x=Object.create(this.lexer),C={yy:{}};for(var z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,z)&&(C.yy[z]=this.yy[z]);x.setInput(n,C.yy),C.yy.lexer=x,C.yy.parser=this,typeof x.yylloc>"u"&&(x.yylloc={});var O=x.yylloc;o.push(O);var ct=x.options&&x.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ht(){var M;return M=u.pop()||x.lex()||J,typeof M!="number"&&(M instanceof Array&&(u=M,M=u.pop()),M=r.symbols_[M]||M),M}for(var b,E,v,Y,P={},B,$,K,j;;){if(E=a[a.length-1],this.defaultActions[E]?v=this.defaultActions[E]:((b===null||typeof b>"u")&&(b=ht()),v=T[E]&&T[E][b]),typeof v>"u"||!v.length||!v[0]){var H="";j=[];for(B in T[E])this.terminals_[B]&&B>ot&&j.push("'"+this.terminals_[B]+"'");x.showPosition?H="Parse error on line "+(N+1)+`:
|
|
2
|
-
`+x.showPosition()+`
|
|
3
|
-
Expecting `+j.join(", ")+", got '"+(this.terminals_[b]||b)+"'":H="Parse error on line "+(N+1)+": Unexpected "+(b==J?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(H,{text:x.match,token:this.terminals_[b]||b,line:x.yylineno,loc:O,expected:j})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+b);switch(v[0]){case 1:a.push(b),d.push(x.yytext),o.push(x.yylloc),a.push(v[1]),b=null,Z=x.yyleng,_=x.yytext,N=x.yylineno,O=x.yylloc;break;case 2:if($=this.productions_[v[1]][1],P.$=d[d.length-$],P._$={first_line:o[o.length-($||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-($||1)].first_column,last_column:o[o.length-1].last_column},ct&&(P._$.range=[o[o.length-($||1)].range[0],o[o.length-1].range[1]]),Y=this.performAction.apply(P,[_,Z,N,C.yy,v[1],d,o].concat(lt)),typeof Y<"u")return Y;$&&(a=a.slice(0,-1*$*2),d=d.slice(0,-1*$),o=o.slice(0,-1*$)),a.push(this.productions_[v[1]][0]),d.push(P.$),o.push(P._$),K=T[a[a.length-2]][a[a.length-1]],a.push(K);break;case 3:return!0}}return!0}},m=(function(){var p={EOF:1,parseError:function(r,a){if(this.yy.parser)this.yy.parser.parseError(r,a);else throw new Error(r)},setInput:function(n,r){return this.yy=r||this.yy||{},this._input=n,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var r=n.match(/(?:\r\n?|\n).*/g);return r?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},unput:function(n){var r=n.length,a=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===u.length?this.yylloc.first_column:0)+u[u.length-a.length].length-a[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),r=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
|
|
5
|
-
`+r+"^"},test_match:function(n,r){var a,u,d;if(this.options.backtrack_lexer&&(d={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(d.yylloc.range=this.yylloc.range.slice(0))),u=n[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+n[0].length},this.yytext+=n[0],this.match+=n[0],this.matches=n,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(n[0].length),this.matched+=n[0],a=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var o in d)this[o]=d[o];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var n,r,a,u;this._more||(this.yytext="",this.match="");for(var d=this._currentRules(),o=0;o<d.length;o++)if(a=this._input.match(this.rules[d[o]]),a&&(!r||a[0].length>r[0].length)){if(r=a,u=o,this.options.backtrack_lexer){if(n=this.test_match(a,d[o]),n!==!1)return n;if(this._backtrack){r=!1;continue}else return!1}else if(!this.options.flex)break}return r?(n=this.test_match(r,d[u]),n!==!1?n:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var r=this.next();return r||this.lex()},begin:function(r){this.conditionStack.push(r)},popState:function(){var r=this.conditionStack.length-1;return r>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(r){return r=this.conditionStack.length-1-Math.abs(r||0),r>=0?this.conditionStack[r]:"INITIAL"},pushState:function(r){this.begin(r)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(r,a,u,d){switch(u){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}};return p})();y.lexer=m;function g(){this.yy={}}return g.prototype=y,y.Parser=g,new g})();X.parser=X;const ut=X;let I="";const G=[],V=[],F=[],yt=function(){G.length=0,V.length=0,I="",F.length=0,k.clear()},ft=function(t){I=t,G.push(t)},dt=function(){return G},pt=function(){let t=D();const e=100;let i=0;for(;!t&&i<e;)t=D(),i++;return V.push(...F),V},gt=function(){const t=[];return V.forEach(i=>{i.people&&t.push(...i.people)}),[...new Set(t)].sort()},mt=function(t,e){const i=e.substr(1).split(":");let l=0,s=[];i.length===1?(l=Number(i[0]),s=[]):(l=Number(i[0]),s=i[1].split(","));const h=s.map(f=>f.trim()),c={section:I,type:I,people:h,task:t,score:l};F.push(c)},xt=function(t){const e={section:I,type:I,description:t,task:t,classes:[]};V.push(e)},D=function(){const t=function(i){return F[i].processed};let e=!0;for(const[i,l]of F.entries())t(i),e=e&&l.processed;return e},kt=function(){return gt()},tt={getConfig:()=>k.getConfig().journey,clear:yt,setDiagramTitle:k.setDiagramTitle,getDiagramTitle:k.getDiagramTitle,setAccTitle:k.setAccTitle,getAccTitle:k.getAccTitle,setAccDescription:k.setAccDescription,getAccDescription:k.getAccDescription,addSection:ft,getSections:dt,getTasks:pt,addTask:mt,addTaskOrg:xt,getActors:kt},_t=t=>`.label {
|
|
7
|
-
font-family: 'trebuchet ms', verdana, arial, sans-serif;
|
|
8
|
-
font-family: var(--mermaid-font-family);
|
|
9
|
-
color: ${t.textColor};
|
|
10
|
-
}
|
|
11
|
-
.mouth {
|
|
12
|
-
stroke: #666;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
line {
|
|
16
|
-
stroke: ${t.textColor}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.legend {
|
|
20
|
-
fill: ${t.textColor};
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.label text {
|
|
24
|
-
fill: #333;
|
|
25
|
-
}
|
|
26
|
-
.label {
|
|
27
|
-
color: ${t.textColor}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.face {
|
|
31
|
-
${t.faceColor?`fill: ${t.faceColor}`:"fill: #FFF8DC"};
|
|
32
|
-
stroke: #999;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.node rect,
|
|
36
|
-
.node circle,
|
|
37
|
-
.node ellipse,
|
|
38
|
-
.node polygon,
|
|
39
|
-
.node path {
|
|
40
|
-
fill: ${t.mainBkg};
|
|
41
|
-
stroke: ${t.nodeBorder};
|
|
42
|
-
stroke-width: 1px;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.node .label {
|
|
46
|
-
text-align: center;
|
|
47
|
-
}
|
|
48
|
-
.node.clickable {
|
|
49
|
-
cursor: pointer;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.arrowheadPath {
|
|
53
|
-
fill: ${t.arrowheadColor};
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.edgePath .path {
|
|
57
|
-
stroke: ${t.lineColor};
|
|
58
|
-
stroke-width: 1.5px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.flowchart-link {
|
|
62
|
-
stroke: ${t.lineColor};
|
|
63
|
-
fill: none;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.edgeLabel {
|
|
67
|
-
background-color: ${t.edgeLabelBackground};
|
|
68
|
-
rect {
|
|
69
|
-
opacity: 0.5;
|
|
70
|
-
}
|
|
71
|
-
text-align: center;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.cluster rect {
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.cluster text {
|
|
78
|
-
fill: ${t.titleColor};
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
div.mermaidTooltip {
|
|
82
|
-
position: absolute;
|
|
83
|
-
text-align: center;
|
|
84
|
-
max-width: 200px;
|
|
85
|
-
padding: 2px;
|
|
86
|
-
font-family: 'trebuchet ms', verdana, arial, sans-serif;
|
|
87
|
-
font-family: var(--mermaid-font-family);
|
|
88
|
-
font-size: 12px;
|
|
89
|
-
background: ${t.tertiaryColor};
|
|
90
|
-
border: 1px solid ${t.border2};
|
|
91
|
-
border-radius: 2px;
|
|
92
|
-
pointer-events: none;
|
|
93
|
-
z-index: 100;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.task-type-0, .section-type-0 {
|
|
97
|
-
${t.fillType0?`fill: ${t.fillType0}`:""};
|
|
98
|
-
}
|
|
99
|
-
.task-type-1, .section-type-1 {
|
|
100
|
-
${t.fillType0?`fill: ${t.fillType1}`:""};
|
|
101
|
-
}
|
|
102
|
-
.task-type-2, .section-type-2 {
|
|
103
|
-
${t.fillType0?`fill: ${t.fillType2}`:""};
|
|
104
|
-
}
|
|
105
|
-
.task-type-3, .section-type-3 {
|
|
106
|
-
${t.fillType0?`fill: ${t.fillType3}`:""};
|
|
107
|
-
}
|
|
108
|
-
.task-type-4, .section-type-4 {
|
|
109
|
-
${t.fillType0?`fill: ${t.fillType4}`:""};
|
|
110
|
-
}
|
|
111
|
-
.task-type-5, .section-type-5 {
|
|
112
|
-
${t.fillType0?`fill: ${t.fillType5}`:""};
|
|
113
|
-
}
|
|
114
|
-
.task-type-6, .section-type-6 {
|
|
115
|
-
${t.fillType0?`fill: ${t.fillType6}`:""};
|
|
116
|
-
}
|
|
117
|
-
.task-type-7, .section-type-7 {
|
|
118
|
-
${t.fillType0?`fill: ${t.fillType7}`:""};
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.actor-0 {
|
|
122
|
-
${t.actor0?`fill: ${t.actor0}`:""};
|
|
123
|
-
}
|
|
124
|
-
.actor-1 {
|
|
125
|
-
${t.actor1?`fill: ${t.actor1}`:""};
|
|
126
|
-
}
|
|
127
|
-
.actor-2 {
|
|
128
|
-
${t.actor2?`fill: ${t.actor2}`:""};
|
|
129
|
-
}
|
|
130
|
-
.actor-3 {
|
|
131
|
-
${t.actor3?`fill: ${t.actor3}`:""};
|
|
132
|
-
}
|
|
133
|
-
.actor-4 {
|
|
134
|
-
${t.actor4?`fill: ${t.actor4}`:""};
|
|
135
|
-
}
|
|
136
|
-
.actor-5 {
|
|
137
|
-
${t.actor5?`fill: ${t.actor5}`:""};
|
|
138
|
-
}
|
|
139
|
-
`,bt=_t,U=function(t,e){return R.drawRect(t,e)},vt=function(t,e){const l=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),s=t.append("g");s.append("circle").attr("cx",e.cx-15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),s.append("circle").attr("cx",e.cx+15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function h(y){const m=Q.arc().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);y.append("path").attr("class","mouth").attr("d",m).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function c(y){const m=Q.arc().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);y.append("path").attr("class","mouth").attr("d",m).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}function f(y){y.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return e.score>3?h(s):e.score<3?c(s):f(s),l},it=function(t,e){const i=t.append("circle");return i.attr("cx",e.cx),i.attr("cy",e.cy),i.attr("class","actor-"+e.pos),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("r",e.r),i.class!==void 0&&i.attr("class",i.class),e.title!==void 0&&i.append("title").text(e.title),i},rt=function(t,e){return R.drawText(t,e)},wt=function(t,e){function i(s,h,c,f,y){return s+","+h+" "+(s+c)+","+h+" "+(s+c)+","+(h+f-y)+" "+(s+c-y*1.2)+","+(h+f)+" "+s+","+(h+f)}const l=t.append("polygon");l.attr("points",i(e.x,e.y,50,20,7)),l.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,rt(t,e)},Tt=function(t,e,i){const l=t.append("g"),s=R.getNoteRect();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=i.width*e.taskCount+i.diagramMarginX*(e.taskCount-1),s.height=i.height,s.class="journey-section section-type-"+e.num,s.rx=3,s.ry=3,U(l,s),at(i)(e.text,l,s.x,s.y,s.width,s.height,{class:"journey-section section-type-"+e.num},i,e.colour)};let et=-1;const $t=function(t,e,i){const l=e.x+i.width/2,s=t.append("g");et++,s.append("line").attr("id","task"+et).attr("x1",l).attr("y1",e.y).attr("x2",l).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),vt(s,{cx:l,cy:300+(5-e.score)*30,score:e.score});const c=R.getNoteRect();c.x=e.x,c.y=e.y,c.fill=e.fill,c.width=i.width,c.height=i.height,c.class="task task-type-"+e.num,c.rx=3,c.ry=3,U(s,c);let f=e.x+14;e.people.forEach(y=>{const m=e.actors[y].color,g={cx:f,cy:e.y,r:7,fill:m,stroke:"#000",title:y,pos:e.actors[y].position};it(s,g),f+=10}),at(i)(e.task,s,c.x,c.y,c.width,c.height,{class:"task"},i,e.colour)},Mt=function(t,e){R.drawBackgroundRect(t,e)},at=(function(){function t(s,h,c,f,y,m,g,p){const n=h.append("text").attr("x",c+y/2).attr("y",f+m/2+5).style("font-color",p).style("text-anchor","middle").text(s);l(n,g)}function e(s,h,c,f,y,m,g,p,n){const{taskFontSize:r,taskFontFamily:a}=p,u=s.split(/<br\s*\/?>/gi);for(let d=0;d<u.length;d++){const o=d*r-r*(u.length-1)/2,T=h.append("text").attr("x",c+y/2).attr("y",f).attr("fill",n).style("text-anchor","middle").style("font-size",r).style("font-family",a);T.append("tspan").attr("x",c+y/2).attr("dy",o).text(u[d]),T.attr("y",f+m/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),l(T,g)}}function i(s,h,c,f,y,m,g,p){const n=h.append("switch"),a=n.append("foreignObject").attr("x",c).attr("y",f).attr("width",y).attr("height",m).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");a.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(s),e(s,n,c,f,y,m,g,p),l(a,g)}function l(s,h){for(const c in h)c in h&&s.attr(c,h[c])}return function(s){return s.textPlacement==="fo"?i:s.textPlacement==="old"?t:e}})(),St=function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},L={drawRect:U,drawCircle:it,drawSection:Tt,drawText:rt,drawLabel:wt,drawTask:$t,drawBackgroundRect:Mt,initGraphics:St},Ct=function(t){Object.keys(t).forEach(function(i){q[i]=t[i]})},S={};function Et(t){const e=k.getConfig().journey;let i=60;Object.keys(S).forEach(l=>{const s=S[l].color,h={cx:20,cy:i,r:7,fill:s,stroke:"#000",pos:S[l].position};L.drawCircle(t,h);const c={x:40,y:i+7,fill:"#666",text:l,textMargin:e.boxTextMargin|5};L.drawText(t,c),i+=20})}const q=k.getConfig().journey,A=q.leftMargin,At=function(t,e,i,l){const s=k.getConfig().journey,h=k.getConfig().securityLevel;let c;h==="sandbox"&&(c=k.select("#i"+e));const f=h==="sandbox"?k.select(c.nodes()[0].contentDocument.body):k.select("body");w.init();const y=f.select("#"+e);L.initGraphics(y);const m=l.db.getTasks(),g=l.db.getDiagramTitle(),p=l.db.getActors();for(const o in S)delete S[o];let n=0;p.forEach(o=>{S[o]={color:s.actorColours[n%s.actorColours.length],position:n},n++}),Et(y),w.insert(0,0,A,Object.keys(S).length*50),Pt(y,m,0);const r=w.getBounds();g&&y.append("text").text(g).attr("x",A).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const a=r.stopy-r.starty+2*s.diagramMarginY,u=A+r.stopx+2*s.diagramMarginX;k.configureSvgSize(y,a,u,s.useMaxWidth),y.append("line").attr("x1",A).attr("y1",s.height*4).attr("x2",u-A-4).attr("y2",s.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const d=g?70:0;y.attr("viewBox",`${r.startx} -25 ${u} ${a+d}`),y.attr("preserveAspectRatio","xMinYMin meet"),y.attr("height",a+d+25)},w={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(t,e,i,l){t[e]===void 0?t[e]=i:t[e]=l(i,t[e])},updateBounds:function(t,e,i,l){const s=k.getConfig().journey,h=this;let c=0;function f(y){return function(g){c++;const p=h.sequenceItems.length-c+1;h.updateVal(g,"starty",e-p*s.boxMargin,Math.min),h.updateVal(g,"stopy",l+p*s.boxMargin,Math.max),h.updateVal(w.data,"startx",t-p*s.boxMargin,Math.min),h.updateVal(w.data,"stopx",i+p*s.boxMargin,Math.max),h.updateVal(g,"startx",t-p*s.boxMargin,Math.min),h.updateVal(g,"stopx",i+p*s.boxMargin,Math.max),h.updateVal(w.data,"starty",e-p*s.boxMargin,Math.min),h.updateVal(w.data,"stopy",l+p*s.boxMargin,Math.max)}}this.sequenceItems.forEach(f())},insert:function(t,e,i,l){const s=Math.min(t,i),h=Math.max(t,i),c=Math.min(e,l),f=Math.max(e,l);this.updateVal(w.data,"startx",s,Math.min),this.updateVal(w.data,"starty",c,Math.min),this.updateVal(w.data,"stopx",h,Math.max),this.updateVal(w.data,"stopy",f,Math.max),this.updateBounds(s,c,h,f)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},W=q.sectionFills,nt=q.sectionColours,Pt=function(t,e,i){const l=k.getConfig().journey;let s="";const h=l.height*2+l.diagramMarginY,c=i+h;let f=0,y="#CCC",m="black",g=0;for(const[p,n]of e.entries()){if(s!==n.section){y=W[f%W.length],g=f%W.length,m=nt[f%nt.length];let a=0;const u=n.section;for(let o=p;o<e.length&&e[o].section==u;o++)a=a+1;const d={x:p*l.taskMargin+p*l.width+A,y:50,text:n.section,fill:y,num:g,colour:m,taskCount:a};L.drawSection(t,d,l),s=n.section,f++}const r=n.people.reduce((a,u)=>(S[u]&&(a[u]=S[u]),a),{});n.x=p*l.taskMargin+p*l.width+A,n.y=c,n.width=l.diagramMarginX,n.height=l.diagramMarginY,n.colour=m,n.fill=y,n.num=g,n.actors=r,L.drawTask(t,n,l),w.insert(n.x,n.y,n.x+n.width+l.taskMargin,450)}},st={setConf:Ct,draw:At},It={parser:ut,db:tt,renderer:st,styles:bt,init:t=>{st.setConf(t.journey),tt.clear()}};exports.diagram=It;
|
package/dist/layers.D0zn4_Mx.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=async e=>{const i=await e.getFile();return i.handle=e,i};var r=async(e=[{}])=>{Array.isArray(e)||(e=[e]);const i=[];e.forEach((t,a)=>{i[a]={description:t.description||"",accept:{}},t.mimeTypes?t.mimeTypes.map(l=>{i[a].accept[l]=t.extensions||[]}):i[a].accept["*/*"]=t.extensions||[]});const s=await window.showOpenFilePicker({id:e[0].id,startIn:e[0].startIn,types:i,multiple:e[0].multiple||!1,excludeAcceptAllOption:e[0].excludeAcceptAllOption||!1}),c=await Promise.all(s.map(n));return e[0].multiple?c:c[0]};exports.default=r;
|
package/dist/layers.D1TLKJdE.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./layers.BSDp4pjf.js"),t=require("./layers.BSB9eX8_.js"),_=require("./layers.BLd2spTm.js"),N=require("./layers.BhZmc2PE.js");require("./layers.Dhs3Sikn.js");require("lodash-es");require("./layers.Cyzu9PKQ.js");const k=s=>t.common$1.sanitizeText(s,t.getConfig());let w={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const D=function(s,o,f,i){const e=Object.keys(s);t.log$1.info("keys:",e),t.log$1.info(s),e.forEach(function(r){var l,c;const n=s[r],d={shape:"rect",id:n.id,domId:n.domId,labelText:k(n.id),labelStyle:"",style:"fill: none; stroke: black",padding:((l=t.getConfig().flowchart)==null?void 0:l.padding)??((c=t.getConfig().class)==null?void 0:c.padding)};o.setNode(n.id,d),$(n.classes,o,f,i,n.id),t.log$1.info("setNode",d)})},$=function(s,o,f,i,e){const r=Object.keys(s);t.log$1.info("keys:",r),t.log$1.info(s),r.filter(l=>s[l].parent==e).forEach(function(l){var c,n;const a=s[l],d=a.cssClasses.join(" "),g=t.getStylesFromArray(a.styles),p=a.label??a.id,u=0,y={labelStyle:g.labelStyle,shape:"class_box",labelText:k(p),classData:a,rx:u,ry:u,class:d,style:g.style,id:a.id,domId:a.domId,tooltip:i.db.getTooltip(a.id,e)||"",haveCallback:a.haveCallback,link:a.link,width:a.type==="group"?500:void 0,type:a.type,padding:((c=t.getConfig().flowchart)==null?void 0:c.padding)??((n=t.getConfig().class)==null?void 0:n.padding)};o.setNode(a.id,y),e&&o.setParent(a.id,e),t.log$1.info("setNode",y)})},E=function(s,o,f,i){t.log$1.info(s),s.forEach(function(e,r){var l,c;const n=e,a="",d={labelStyle:"",style:""},g=n.text,p=0,b={labelStyle:d.labelStyle,shape:"note",labelText:k(g),noteData:n,rx:p,ry:p,class:a,style:d.style,id:n.id,domId:n.id,tooltip:"",type:"note",padding:((l=t.getConfig().flowchart)==null?void 0:l.padding)??((c=t.getConfig().class)==null?void 0:c.padding)};if(o.setNode(n.id,b),t.log$1.info("setNode",b),!n.class||!(n.class in i))return;const y=f+r,x={id:`edgeNote${y}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:t.interpolateToCurve(w.curve,t.curveLinear)};o.setEdge(n.id,n.class,x,y)})},A=function(s,o){const f=t.getConfig().flowchart;let i=0;s.forEach(function(e){var r;i++;const l={classes:"relation",pattern:e.relation.lineType==1?"dashed":"solid",id:`id_${e.id1}_${e.id2}_${i}`,arrowhead:e.type==="arrow_open"?"none":"normal",startLabelRight:e.relationTitle1==="none"?"":e.relationTitle1,endLabelLeft:e.relationTitle2==="none"?"":e.relationTitle2,arrowTypeStart:C(e.relation.type1),arrowTypeEnd:C(e.relation.type2),style:"fill:none",labelStyle:"",curve:t.interpolateToCurve(f==null?void 0:f.curve,t.curveLinear)};if(t.log$1.info(l,e),e.style!==void 0){const c=t.getStylesFromArray(e.style);l.style=c.style,l.labelStyle=c.labelStyle}e.text=e.title,e.text===void 0?e.style!==void 0&&(l.arrowheadStyle="fill: #333"):(l.arrowheadStyle="fill: #333",l.labelpos="c",((r=t.getConfig().flowchart)==null?void 0:r.htmlLabels)??t.getConfig().htmlLabels?(l.labelType="html",l.label='<span class="edgeLabel">'+e.text+"</span>"):(l.labelType="text",l.label=e.text.replace(t.common$1.lineBreakRegex,`
|
|
2
|
-
`),e.style===void 0&&(l.style=l.style||"stroke: #333; stroke-width: 1.5px;fill:none"),l.labelStyle=l.labelStyle.replace("color:","fill:"))),o.setEdge(e.id1,e.id2,l,i)})},q=function(s){w={...w,...s}},M=async function(s,o,f,i){t.log$1.info("Drawing class - ",o);const e=t.getConfig().flowchart??t.getConfig().class,r=t.getConfig().securityLevel;t.log$1.info("config:",e);const l=(e==null?void 0:e.nodeSpacing)??50,c=(e==null?void 0:e.rankSpacing)??50,n=new _.Graph({multigraph:!0,compound:!0}).setGraph({rankdir:i.db.getDirection(),nodesep:l,ranksep:c,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),a=i.db.getNamespaces(),d=i.db.getClasses(),g=i.db.getRelations(),p=i.db.getNotes();t.log$1.info(g),D(a,n,o,i),$(d,n,o,i),A(g,n),E(p,n,g.length+1,d);let u;r==="sandbox"&&(u=t.select("#i"+o));const b=r==="sandbox"?t.select(u.nodes()[0].contentDocument.body):t.select("body"),y=b.select(`[id="${o}"]`),x=b.select("#"+o+" g");if(await N.render(x,n,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",o),t.utils.insertTitle(y,"classTitleText",(e==null?void 0:e.titleTopMargin)??5,i.db.getDiagramTitle()),t.setupGraphViewbox$1(n,y,e==null?void 0:e.diagramPadding,e==null?void 0:e.useMaxWidth),!(e!=null&&e.htmlLabels)){const S=r==="sandbox"?u.nodes()[0].contentDocument:document,L=S.querySelectorAll('[id="'+o+'"] .edgeLabel .label');for(const m of L){const T=m.getBBox(),h=S.createElementNS("http://www.w3.org/2000/svg","rect");h.setAttribute("rx",0),h.setAttribute("ry",0),h.setAttribute("width",T.width),h.setAttribute("height",T.height),m.insertBefore(h,m.firstChild)}}};function C(s){let o;switch(s){case 0:o="aggregation";break;case 1:o="extension";break;case 2:o="composition";break;case 3:o="dependency";break;case 4:o="lollipop";break;default:o="none"}return o}const I={setConf:q,draw:M},B={parser:v.parser$1,db:v.db,renderer:I,styles:v.styles,init:s=>{s.class||(s.class={}),s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute,v.db.clear()}};exports.diagram=B;
|