@pi-outpost/embed 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +63 -0
  3. package/dist/abnfDiagram-VRR7QNED-BPTALLb_.cjs +1 -0
  4. package/dist/abnfDiagram-VRR7QNED-DlAvVtuC.js +89 -0
  5. package/dist/arc-BBnpgwVQ.js +80 -0
  6. package/dist/arc-DcUn9_NX.cjs +1 -0
  7. package/dist/architecture-TIHT7OUA-D-35jO9Y.cjs +1 -0
  8. package/dist/architecture-TIHT7OUA-DDyMqjR1.js +3 -0
  9. package/dist/architectureDiagram-ZJ3FMSHR-Bh5-VPPg.cjs +36 -0
  10. package/dist/architectureDiagram-ZJ3FMSHR-D7UsY5ua.js +4120 -0
  11. package/dist/array-CApNbSU9.js +6 -0
  12. package/dist/array-DZSRzHA_.cjs +1 -0
  13. package/dist/bash-BLBHkRa_.js +169 -0
  14. package/dist/bash-DHJu-DNv.cjs +1 -0
  15. package/dist/blockDiagram-677ZJIJ3-BrXgigdO.cjs +132 -0
  16. package/dist/blockDiagram-677ZJIJ3-s-fanRPN.js +3160 -0
  17. package/dist/c-4QgYfi8K.cjs +1 -0
  18. package/dist/c-Cw4FsAeJ.js +176 -0
  19. package/dist/c4Diagram-LMCZKHZV-BbZFAi_K.js +2962 -0
  20. package/dist/c4Diagram-LMCZKHZV-DFBVQ9Uo.cjs +10 -0
  21. package/dist/channel-DV0ST12Z.js +5 -0
  22. package/dist/channel-DkMGzfUR.cjs +1 -0
  23. package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +1 -0
  24. package/dist/chunk-2Q5K7J3B-DqJF2oYF.js +15 -0
  25. package/dist/chunk-32BRIVSS-Byu3FrKX.js +61 -0
  26. package/dist/chunk-32BRIVSS-oWSJWk-u.cjs +1 -0
  27. package/dist/chunk-52WLFC77-C9zQbcGs.js +590 -0
  28. package/dist/chunk-52WLFC77-D9PTsiCj.cjs +10 -0
  29. package/dist/chunk-5VM5RSS4-BMfgdMFU.js +5 -0
  30. package/dist/chunk-5VM5RSS4-CwDmQ9T_.cjs +15 -0
  31. package/dist/chunk-7BUUIJ7U-BFUeQBoS.js +82 -0
  32. package/dist/chunk-7BUUIJ7U-MzS1pW_S.cjs +1 -0
  33. package/dist/chunk-C7G6YPKG-CDjkH_UW.cjs +1 -0
  34. package/dist/chunk-C7G6YPKG-GTlyrFFt.js +67 -0
  35. package/dist/chunk-EX3LRPZG-BBldDxGh.js +2046 -0
  36. package/dist/chunk-EX3LRPZG-u-BKCEWO.cjs +231 -0
  37. package/dist/chunk-FWX5IMBZ-h3GfgkP2.js +57 -0
  38. package/dist/chunk-FWX5IMBZ-nqBth1J9.cjs +1 -0
  39. package/dist/chunk-HOUHSVGY-CgfXy94u.cjs +1 -0
  40. package/dist/chunk-HOUHSVGY-CtRCnz1G.js +277 -0
  41. package/dist/chunk-ICXQ74PX-BmEfYj-r.cjs +2 -0
  42. package/dist/chunk-ICXQ74PX-CC59NQmW.js +1366 -0
  43. package/dist/chunk-JWPE2WC7-B_J6qwQL.js +8 -0
  44. package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +1 -0
  45. package/dist/chunk-KEIR6QF5-BVnxrdHo.js +21388 -0
  46. package/dist/chunk-KEIR6QF5-Cy_QBNG6.cjs +161 -0
  47. package/dist/chunk-MOJQB5TN-D6YxvkUY.js +490 -0
  48. package/dist/chunk-MOJQB5TN-H2vwz-oQ.cjs +88 -0
  49. package/dist/chunk-OGEWGWER-BGdqgMza.js +32 -0
  50. package/dist/chunk-OGEWGWER-BP4o8A-v.cjs +1 -0
  51. package/dist/chunk-PUDLZKDR-C8jMDFq6.js +4142 -0
  52. package/dist/chunk-PUDLZKDR-DtzwSdxX.cjs +156 -0
  53. package/dist/chunk-Q4XR5HBZ-Bk18cMuk.js +1628 -0
  54. package/dist/chunk-Q4XR5HBZ-COrrWZzi.cjs +70 -0
  55. package/dist/chunk-RYQCIY6F-27FDzaaE.cjs +1 -0
  56. package/dist/chunk-RYQCIY6F-C-YC3QS_.js +239 -0
  57. package/dist/chunk-V7JOEXUC-BROsdKzY.js +3357 -0
  58. package/dist/chunk-V7JOEXUC-Cfrm5GQn.cjs +206 -0
  59. package/dist/chunk-VAUOI2AC-05FwamOA.js +10 -0
  60. package/dist/chunk-VAUOI2AC-CBXi4Di2.cjs +1 -0
  61. package/dist/chunk-VR4S4FIN-CSU_1xTZ.cjs +1 -0
  62. package/dist/chunk-VR4S4FIN-Ci491c8N.js +26 -0
  63. package/dist/chunk-WYO6CB5R-BTvDzbWd.cjs +127 -0
  64. package/dist/chunk-WYO6CB5R-Y9HJHB3Q.js +3739 -0
  65. package/dist/chunk-XXDRQBXY-DsVp5qjg.js +9 -0
  66. package/dist/chunk-XXDRQBXY-gWcN0uCZ.cjs +1 -0
  67. package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +1 -0
  68. package/dist/chunk-Y2CYZVJY-CwsV_8W4.js +12 -0
  69. package/dist/chunk-ZGVPDNZ5-CDTkXY1G.js +3736 -0
  70. package/dist/chunk-ZGVPDNZ5-COEQX4AZ.cjs +62 -0
  71. package/dist/chunk-ZIRB5QZD-BU6XQUGC.cjs +32 -0
  72. package/dist/chunk-ZIRB5QZD-Cj-y77rH.js +1146 -0
  73. package/dist/classDiagram-OUVF2IWQ-Avsu6OKn.cjs +1 -0
  74. package/dist/classDiagram-OUVF2IWQ-eC72Wwol.js +30 -0
  75. package/dist/classDiagram-v2-EOCWNBFH-Avsu6OKn.cjs +1 -0
  76. package/dist/classDiagram-v2-EOCWNBFH-DsRoQgCt.js +30 -0
  77. package/dist/core-2nR1zkKb.cjs +3 -0
  78. package/dist/core-BO2hTFeF.js +845 -0
  79. package/dist/cose-bilkent-JH36ORCC-AyWV1dUo.cjs +1 -0
  80. package/dist/cose-bilkent-JH36ORCC-BFo5zomD.js +2251 -0
  81. package/dist/cpp-BUtp-HE2.cjs +1 -0
  82. package/dist/cpp-CeyO6lBG.js +225 -0
  83. package/dist/csharp-BJu4kEpt.cjs +1 -0
  84. package/dist/csharp-Ck6Fet_o.js +260 -0
  85. package/dist/css-ClSGJRju.js +140 -0
  86. package/dist/css-DeFr0lev.cjs +1 -0
  87. package/dist/cynefin-VYW2F7L2-DHhUPDgc.cjs +1 -0
  88. package/dist/cynefin-VYW2F7L2-DwiVqvhg.js +3 -0
  89. package/dist/cynefinDiagram-TSTJHNR4-BRUl09PN.js +349 -0
  90. package/dist/cynefinDiagram-TSTJHNR4-rKPqxFde.cjs +62 -0
  91. package/dist/cytoscape.esm-ByjvpCPI.cjs +321 -0
  92. package/dist/cytoscape.esm-asYnbYTy.js +18148 -0
  93. package/dist/dagre-BBlCxSvR.cjs +1 -0
  94. package/dist/dagre-BpqwxFKp.js +1701 -0
  95. package/dist/dagre-VKFMJZFB-BsfMZfPu.cjs +4 -0
  96. package/dist/dagre-VKFMJZFB-ChTkS14y.js +328 -0
  97. package/dist/defaultLocale-u9yUoUmE.cjs +1 -0
  98. package/dist/defaultLocale-up9-vqhM.js +201 -0
  99. package/dist/diagram-FQU43EPY-BnAYoLDy.js +432 -0
  100. package/dist/diagram-FQU43EPY-CdbwLZpm.cjs +3 -0
  101. package/dist/diagram-G47NLZAW-C1ZiELQG.js +525 -0
  102. package/dist/diagram-G47NLZAW-CtWKuxkf.cjs +24 -0
  103. package/dist/diagram-NH7WQ7WH-Be0KXo6w.js +134 -0
  104. package/dist/diagram-NH7WQ7WH-CG6VWVza.cjs +24 -0
  105. package/dist/diagram-OA4YK3LP-B7avlqjG.js +300 -0
  106. package/dist/diagram-OA4YK3LP-Drq_GA6o.cjs +30 -0
  107. package/dist/diagram-WEI45ONY-CoPX6-sx.js +214 -0
  108. package/dist/diagram-WEI45ONY-SJmgVL59.cjs +41 -0
  109. package/dist/dist-D6LMt8nW.js +59 -0
  110. package/dist/dist-DNGlMOWd.cjs +1 -0
  111. package/dist/dockerfile-O4rAswfG.js +34 -0
  112. package/dist/dockerfile-YBgAWga3.cjs +1 -0
  113. package/dist/ebnfDiagram-CCIWWBDH-B-T4_JnX.js +100 -0
  114. package/dist/ebnfDiagram-CCIWWBDH-BY7L3HVQ.cjs +1 -0
  115. package/dist/erDiagram-Q63AITRT-DPgZpeaH.js +1727 -0
  116. package/dist/erDiagram-Q63AITRT-w4C1PxYd.cjs +85 -0
  117. package/dist/eventmodeling-45OFAUF4-COTtdYDJ.js +3 -0
  118. package/dist/eventmodeling-45OFAUF4-CPEyr9kU.cjs +1 -0
  119. package/dist/flowDiagram-23GEKE2U-CQxPdUX4.cjs +1 -0
  120. package/dist/flowDiagram-23GEKE2U-ClCSBl2p.js +17 -0
  121. package/dist/ganttDiagram-NO4QXBWP-BcBp028S.cjs +292 -0
  122. package/dist/ganttDiagram-NO4QXBWP-Cf12fLfa.js +3083 -0
  123. package/dist/gitGraph-TEB2WS4Q-C3qBT0GM.js +3 -0
  124. package/dist/gitGraph-TEB2WS4Q-a8KsoPmR.cjs +1 -0
  125. package/dist/gitGraphDiagram-IHSO6WYX-13ahKewT.js +729 -0
  126. package/dist/gitGraphDiagram-IHSO6WYX-BTtNkGkN.cjs +106 -0
  127. package/dist/go-D-pz-dmd.cjs +1 -0
  128. package/dist/go-rg7jg1mu.js +140 -0
  129. package/dist/graphlib-B0GbLif1.js +1267 -0
  130. package/dist/graphlib-CkkG5MuS.cjs +1 -0
  131. package/dist/info-DKCQHKI2-BEYhR6ip.cjs +1 -0
  132. package/dist/info-DKCQHKI2-BPF6-pOb.js +3 -0
  133. package/dist/infoDiagram-FWYZ7A6U-20rh0VNL.cjs +2 -0
  134. package/dist/infoDiagram-FWYZ7A6U-DcV-eSsb.js +20 -0
  135. package/dist/ini-C1q3_1-Q.js +88 -0
  136. package/dist/ini-nVcUEghj.cjs +1 -0
  137. package/dist/init-07zIhv_j.cjs +1 -0
  138. package/dist/init-CirqLVcp.js +15 -0
  139. package/dist/ishikawaDiagram-FXEZZL3T-BTaBCHIG.js +719 -0
  140. package/dist/ishikawaDiagram-FXEZZL3T-BUq5kcFI.cjs +70 -0
  141. package/dist/java-CUN_usaq.cjs +1 -0
  142. package/dist/java-HguKEfA2.js +169 -0
  143. package/dist/javascript-C8NCH8DE.js +436 -0
  144. package/dist/javascript-UZXSyUuu.cjs +1 -0
  145. package/dist/journeyDiagram-5HDEW3XC-Cl9Z4b58.js +884 -0
  146. package/dist/journeyDiagram-5HDEW3XC-XQa-rhY_.cjs +139 -0
  147. package/dist/json-Cp01TR_B.js +36 -0
  148. package/dist/json-usH_MUzR.cjs +1 -0
  149. package/dist/kanban-definition-HUTT4EX6-CtWnZ0nS.js +975 -0
  150. package/dist/kanban-definition-HUTT4EX6-DVHXUPOt.cjs +89 -0
  151. package/dist/line-Ca8dE_lT.cjs +1 -0
  152. package/dist/line-O2xx2vVQ.js +34 -0
  153. package/dist/linear-CVhyaVzf.js +289 -0
  154. package/dist/linear-Cl2-QuPP.cjs +1 -0
  155. package/dist/map-CwPlMWPw.cjs +1 -0
  156. package/dist/map-DU12fF3s.js +241 -0
  157. package/dist/markdown-CzgRofaE.js +181 -0
  158. package/dist/markdown-qeo95R0i.cjs +1 -0
  159. package/dist/mermaid-parser.core-B8DQcCaz.js +638 -0
  160. package/dist/mermaid-parser.core-Cgsz0CdK.cjs +6 -0
  161. package/dist/mermaid.core-BR-iKb2Q.js +1064 -0
  162. package/dist/mermaid.core-DQrbAA--.cjs +10 -0
  163. package/dist/mindmap-definition-LN4V7U3C-C0I9iWmq.cjs +96 -0
  164. package/dist/mindmap-definition-LN4V7U3C-lkSmRsIC.js +1008 -0
  165. package/dist/mount.d.ts +31 -0
  166. package/dist/ordinal-CCTD6_le.js +65 -0
  167. package/dist/ordinal-CUPR-p0T.cjs +1 -0
  168. package/dist/packet-7NZHBO7P-DqvBYJTR.js +3 -0
  169. package/dist/packet-7NZHBO7P-Dz0O2bgq.cjs +1 -0
  170. package/dist/path-Kklx0M1v.cjs +1 -0
  171. package/dist/path-mKa7UESy.js +85 -0
  172. package/dist/pegDiagram-2B236MQR-BgRCQTZd.js +94 -0
  173. package/dist/pegDiagram-2B236MQR-hlmRl_PA.cjs +1 -0
  174. package/dist/php-C9FOMGEA.js +294 -0
  175. package/dist/php-j6EhDZDE.cjs +2 -0
  176. package/dist/pi-outpost-embed.cjs +305 -0
  177. package/dist/pi-outpost-embed.js +40942 -0
  178. package/dist/pie-RZYD4A2V-Hi9UdoE3.cjs +1 -0
  179. package/dist/pie-RZYD4A2V-qnruo9sH.js +3 -0
  180. package/dist/pieDiagram-ENE6RG2P-BVi7ck2I.js +205 -0
  181. package/dist/pieDiagram-ENE6RG2P-Buuvrs-h.cjs +39 -0
  182. package/dist/plaintext-BYYAHR3Z.js +10 -0
  183. package/dist/plaintext-DmnjizxG.cjs +1 -0
  184. package/dist/python-BYJzTRkK.cjs +1 -0
  185. package/dist/python-DKAazMIE.js +238 -0
  186. package/dist/quadrantDiagram-ABIIQ3AL-DeU97c2B.js +2001 -0
  187. package/dist/quadrantDiagram-ABIIQ3AL-LCbC0LEt.cjs +7 -0
  188. package/dist/radar-I7S5WNFK-Dqdssa34.cjs +1 -0
  189. package/dist/radar-I7S5WNFK-np_pJCO-.js +3 -0
  190. package/dist/railroad-3IZDKUUU-NILjDQft.cjs +1 -0
  191. package/dist/railroad-3IZDKUUU-sjKBeXxB.js +3 -0
  192. package/dist/railroad-abnf-AHOZXSZD-BojH9sxV.cjs +1 -0
  193. package/dist/railroad-abnf-AHOZXSZD-x5cC_e_R.js +3 -0
  194. package/dist/railroad-ebnf-EBAXGLYW-2mlWpz38.js +3 -0
  195. package/dist/railroad-ebnf-EBAXGLYW-BKCSut1M.cjs +1 -0
  196. package/dist/railroad-peg-LSFZ7HO6-CsH-gnsp.cjs +1 -0
  197. package/dist/railroad-peg-LSFZ7HO6-D5vguo03.js +3 -0
  198. package/dist/railroadDiagram-RFXS5EU6-CMTDNjsw.cjs +1 -0
  199. package/dist/railroadDiagram-RFXS5EU6-DNSNpLmQ.js +76 -0
  200. package/dist/requirementDiagram-TGXJPOKE-CdspXMgv.js +2223 -0
  201. package/dist/requirementDiagram-TGXJPOKE-irImpO8w.cjs +84 -0
  202. package/dist/rolldown-runtime-Dqa2HsxW.js +20 -0
  203. package/dist/rolldown-runtime-mLOUI7ql.cjs +1 -0
  204. package/dist/rough.esm-C5XyeDCN.js +1352 -0
  205. package/dist/rough.esm-r0QOSzHM.cjs +1 -0
  206. package/dist/ruby-BAUeZQKZ.js +262 -0
  207. package/dist/ruby-ClR4zp-1.cjs +1 -0
  208. package/dist/rust-DiTjMjP5.js +169 -0
  209. package/dist/rust-ghVvEWhm.cjs +1 -0
  210. package/dist/sankeyDiagram-HTMAVEWB-B0ZJBVpN.cjs +40 -0
  211. package/dist/sankeyDiagram-HTMAVEWB-BQcvUCMA.js +970 -0
  212. package/dist/scss-CKxh5HRg.cjs +1 -0
  213. package/dist/scss-CckAvQOx.js +150 -0
  214. package/dist/sequenceDiagram-DBY2YBRQ-BQFP2DGs.js +4168 -0
  215. package/dist/sequenceDiagram-DBY2YBRQ-C5WukkcA.cjs +162 -0
  216. package/dist/sizeCapture-X5ZJPWSS-DKbHZNyz.js +46 -0
  217. package/dist/sizeCapture-X5ZJPWSS-bJ2ZX4Du.cjs +1 -0
  218. package/dist/sql-B-Rnc2C3.js +118 -0
  219. package/dist/sql-B7syKcd8.cjs +1 -0
  220. package/dist/src-CR--T_NF.cjs +1 -0
  221. package/dist/src-DJ4x3y2O.js +2142 -0
  222. package/dist/stateDiagram-2N3HPSRC-4aBQt5dk.js +220 -0
  223. package/dist/stateDiagram-2N3HPSRC-YbRd67eD.cjs +1 -0
  224. package/dist/stateDiagram-v2-6OUMAXLB-D-c6D5za.js +30 -0
  225. package/dist/stateDiagram-v2-6OUMAXLB-ciXN_270.cjs +1 -0
  226. package/dist/swimlanes-5IMT3BWC-C8zkS7yx.cjs +1 -0
  227. package/dist/swimlanes-5IMT3BWC-aKH3Xgob.js +5066 -0
  228. package/dist/swimlanesDiagram-G3AALYLV-BcgsG1in.js +31 -0
  229. package/dist/swimlanesDiagram-G3AALYLV-CBjVJdH0.cjs +8 -0
  230. package/dist/timeline-definition-FHXFAJF6-DS-X0FCl.cjs +120 -0
  231. package/dist/timeline-definition-FHXFAJF6-Lnag6wiw.js +1069 -0
  232. package/dist/treeView-QDETBFTQ-Cpg_YeQ4.cjs +1 -0
  233. package/dist/treeView-QDETBFTQ-DdpEhzZX.js +3 -0
  234. package/dist/treemap-6X3UGDF4-BeCuRpkA.js +3 -0
  235. package/dist/treemap-6X3UGDF4-CFAmnKaf.cjs +1 -0
  236. package/dist/typescript-clWeqIBY.cjs +1 -0
  237. package/dist/typescript-mdYq8uqf.js +521 -0
  238. package/dist/vennDiagram-L72KCM5P-CF7lC7jn.js +1880 -0
  239. package/dist/vennDiagram-L72KCM5P-DYZP8jT_.cjs +34 -0
  240. package/dist/wardley-OPB4EBWU-B0jnKd8x.cjs +1 -0
  241. package/dist/wardley-OPB4EBWU-DlIk2K0J.js +3 -0
  242. package/dist/wardleyDiagram-EHGQE667-CbtWlMOa.js +645 -0
  243. package/dist/wardleyDiagram-EHGQE667-Dxewrpeh.cjs +78 -0
  244. package/dist/xml-BamqaQOf.cjs +1 -0
  245. package/dist/xml-DVYfB8uY.js +166 -0
  246. package/dist/xychartDiagram-FW5EYKEG-BAnVfMdN.cjs +7 -0
  247. package/dist/xychartDiagram-FW5EYKEG-DmdGPSi6.js +2102 -0
  248. package/dist/yaml-_1BORZTQ.js +144 -0
  249. package/dist/yaml-bAgWofBg.cjs +1 -0
  250. package/package.json +72 -0
@@ -0,0 +1,1267 @@
1
+ //#region ../node_modules/lodash-es/_freeGlobal.js
2
+ var e = typeof global == "object" && global && global.Object === Object && global, t = typeof self == "object" && self && self.Object === Object && self, n = e || t || Function("return this")(), r = n.Symbol, i = Object.prototype, a = i.hasOwnProperty, o = i.toString, s = r ? r.toStringTag : void 0;
3
+ function c(e) {
4
+ var t = a.call(e, s), n = e[s];
5
+ try {
6
+ e[s] = void 0;
7
+ var r = !0;
8
+ } catch {}
9
+ var i = o.call(e);
10
+ return r && (t ? e[s] = n : delete e[s]), i;
11
+ }
12
+ //#endregion
13
+ //#region ../node_modules/lodash-es/_objectToString.js
14
+ var l = Object.prototype.toString;
15
+ function u(e) {
16
+ return l.call(e);
17
+ }
18
+ //#endregion
19
+ //#region ../node_modules/lodash-es/_baseGetTag.js
20
+ var d = "[object Null]", f = "[object Undefined]", p = r ? r.toStringTag : void 0;
21
+ function m(e) {
22
+ return e == null ? e === void 0 ? f : d : p && p in Object(e) ? c(e) : u(e);
23
+ }
24
+ //#endregion
25
+ //#region ../node_modules/lodash-es/isObjectLike.js
26
+ function h(e) {
27
+ return typeof e == "object" && !!e;
28
+ }
29
+ //#endregion
30
+ //#region ../node_modules/lodash-es/isSymbol.js
31
+ var g = "[object Symbol]";
32
+ function _(e) {
33
+ return typeof e == "symbol" || h(e) && m(e) == g;
34
+ }
35
+ //#endregion
36
+ //#region ../node_modules/lodash-es/_arrayMap.js
37
+ function v(e, t) {
38
+ for (var n = -1, r = e == null ? 0 : e.length, i = Array(r); ++n < r;) i[n] = t(e[n], n, e);
39
+ return i;
40
+ }
41
+ //#endregion
42
+ //#region ../node_modules/lodash-es/isArray.js
43
+ var y = Array.isArray, ee = Infinity, te = r ? r.prototype : void 0, ne = te ? te.toString : void 0;
44
+ function re(e) {
45
+ if (typeof e == "string") return e;
46
+ if (y(e)) return v(e, re) + "";
47
+ if (_(e)) return ne ? ne.call(e) : "";
48
+ var t = e + "";
49
+ return t == "0" && 1 / e == -ee ? "-0" : t;
50
+ }
51
+ //#endregion
52
+ //#region ../node_modules/lodash-es/isObject.js
53
+ function b(e) {
54
+ var t = typeof e;
55
+ return e != null && (t == "object" || t == "function");
56
+ }
57
+ //#endregion
58
+ //#region ../node_modules/lodash-es/identity.js
59
+ function x(e) {
60
+ return e;
61
+ }
62
+ //#endregion
63
+ //#region ../node_modules/lodash-es/isFunction.js
64
+ var ie = "[object AsyncFunction]", ae = "[object Function]", oe = "[object GeneratorFunction]", se = "[object Proxy]";
65
+ function S(e) {
66
+ if (!b(e)) return !1;
67
+ var t = m(e);
68
+ return t == ae || t == oe || t == ie || t == se;
69
+ }
70
+ //#endregion
71
+ //#region ../node_modules/lodash-es/_coreJsData.js
72
+ var ce = n["__core-js_shared__"], le = function() {
73
+ var e = /[^.]+$/.exec(ce && ce.keys && ce.keys.IE_PROTO || "");
74
+ return e ? "Symbol(src)_1." + e : "";
75
+ }();
76
+ function ue(e) {
77
+ return !!le && le in e;
78
+ }
79
+ //#endregion
80
+ //#region ../node_modules/lodash-es/_toSource.js
81
+ var de = Function.prototype.toString;
82
+ function C(e) {
83
+ if (e != null) {
84
+ try {
85
+ return de.call(e);
86
+ } catch {}
87
+ try {
88
+ return e + "";
89
+ } catch {}
90
+ }
91
+ return "";
92
+ }
93
+ //#endregion
94
+ //#region ../node_modules/lodash-es/_baseIsNative.js
95
+ var fe = /[\\^$.*+?()[\]{}|]/g, pe = /^\[object .+?Constructor\]$/, me = Function.prototype, he = Object.prototype, ge = me.toString, _e = he.hasOwnProperty, ve = RegExp("^" + ge.call(_e).replace(fe, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
96
+ function ye(e) {
97
+ return !b(e) || ue(e) ? !1 : (S(e) ? ve : pe).test(C(e));
98
+ }
99
+ //#endregion
100
+ //#region ../node_modules/lodash-es/_getValue.js
101
+ function be(e, t) {
102
+ return e?.[t];
103
+ }
104
+ //#endregion
105
+ //#region ../node_modules/lodash-es/_getNative.js
106
+ function w(e, t) {
107
+ var n = be(e, t);
108
+ return ye(n) ? n : void 0;
109
+ }
110
+ //#endregion
111
+ //#region ../node_modules/lodash-es/_WeakMap.js
112
+ var xe = w(n, "WeakMap");
113
+ //#endregion
114
+ //#region ../node_modules/lodash-es/_apply.js
115
+ function Se(e, t, n) {
116
+ switch (n.length) {
117
+ case 0: return e.call(t);
118
+ case 1: return e.call(t, n[0]);
119
+ case 2: return e.call(t, n[0], n[1]);
120
+ case 3: return e.call(t, n[0], n[1], n[2]);
121
+ }
122
+ return e.apply(t, n);
123
+ }
124
+ //#endregion
125
+ //#region ../node_modules/lodash-es/noop.js
126
+ function Ce() {}
127
+ //#endregion
128
+ //#region ../node_modules/lodash-es/_shortOut.js
129
+ var we = 800, Te = 16, Ee = Date.now;
130
+ function De(e) {
131
+ var t = 0, n = 0;
132
+ return function() {
133
+ var r = Ee(), i = Te - (r - n);
134
+ if (n = r, i > 0) {
135
+ if (++t >= we) return arguments[0];
136
+ } else t = 0;
137
+ return e.apply(void 0, arguments);
138
+ };
139
+ }
140
+ //#endregion
141
+ //#region ../node_modules/lodash-es/constant.js
142
+ function T(e) {
143
+ return function() {
144
+ return e;
145
+ };
146
+ }
147
+ //#endregion
148
+ //#region ../node_modules/lodash-es/_defineProperty.js
149
+ var Oe = function() {
150
+ try {
151
+ var e = w(Object, "defineProperty");
152
+ return e({}, "", {}), e;
153
+ } catch {}
154
+ }(), ke = De(Oe ? function(e, t) {
155
+ return Oe(e, "toString", {
156
+ configurable: !0,
157
+ enumerable: !1,
158
+ value: T(t),
159
+ writable: !0
160
+ });
161
+ } : x);
162
+ //#endregion
163
+ //#region ../node_modules/lodash-es/_arrayEach.js
164
+ function Ae(e, t) {
165
+ for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1;);
166
+ return e;
167
+ }
168
+ //#endregion
169
+ //#region ../node_modules/lodash-es/_baseFindIndex.js
170
+ function je(e, t, n, r) {
171
+ for (var i = e.length, a = n + (r ? 1 : -1); r ? a-- : ++a < i;) if (t(e[a], a, e)) return a;
172
+ return -1;
173
+ }
174
+ //#endregion
175
+ //#region ../node_modules/lodash-es/_baseIsNaN.js
176
+ function Me(e) {
177
+ return e !== e;
178
+ }
179
+ //#endregion
180
+ //#region ../node_modules/lodash-es/_strictIndexOf.js
181
+ function Ne(e, t, n) {
182
+ for (var r = n - 1, i = e.length; ++r < i;) if (e[r] === t) return r;
183
+ return -1;
184
+ }
185
+ //#endregion
186
+ //#region ../node_modules/lodash-es/_baseIndexOf.js
187
+ function Pe(e, t, n) {
188
+ return t === t ? Ne(e, t, n) : je(e, Me, n);
189
+ }
190
+ //#endregion
191
+ //#region ../node_modules/lodash-es/_arrayIncludes.js
192
+ function Fe(e, t) {
193
+ return !!(e != null && e.length) && Pe(e, t, 0) > -1;
194
+ }
195
+ //#endregion
196
+ //#region ../node_modules/lodash-es/_isIndex.js
197
+ var Ie = 9007199254740991, Le = /^(?:0|[1-9]\d*)$/;
198
+ function Re(e, t) {
199
+ var n = typeof e;
200
+ return t ??= Ie, !!t && (n == "number" || n != "symbol" && Le.test(e)) && e > -1 && e % 1 == 0 && e < t;
201
+ }
202
+ //#endregion
203
+ //#region ../node_modules/lodash-es/eq.js
204
+ function ze(e, t) {
205
+ return e === t || e !== e && t !== t;
206
+ }
207
+ //#endregion
208
+ //#region ../node_modules/lodash-es/_overRest.js
209
+ var Be = Math.max;
210
+ function Ve(e, t, n) {
211
+ return t = Be(t === void 0 ? e.length - 1 : t, 0), function() {
212
+ for (var r = arguments, i = -1, a = Be(r.length - t, 0), o = Array(a); ++i < a;) o[i] = r[t + i];
213
+ i = -1;
214
+ for (var s = Array(t + 1); ++i < t;) s[i] = r[i];
215
+ return s[t] = n(o), Se(e, this, s);
216
+ };
217
+ }
218
+ //#endregion
219
+ //#region ../node_modules/lodash-es/_baseRest.js
220
+ function He(e, t) {
221
+ return ke(Ve(e, t, x), e + "");
222
+ }
223
+ //#endregion
224
+ //#region ../node_modules/lodash-es/isLength.js
225
+ var Ue = 9007199254740991;
226
+ function We(e) {
227
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Ue;
228
+ }
229
+ //#endregion
230
+ //#region ../node_modules/lodash-es/isArrayLike.js
231
+ function E(e) {
232
+ return e != null && We(e.length) && !S(e);
233
+ }
234
+ //#endregion
235
+ //#region ../node_modules/lodash-es/_isPrototype.js
236
+ var Ge = Object.prototype;
237
+ function Ke(e) {
238
+ var t = e && e.constructor;
239
+ return e === (typeof t == "function" && t.prototype || Ge);
240
+ }
241
+ //#endregion
242
+ //#region ../node_modules/lodash-es/_baseTimes.js
243
+ function qe(e, t) {
244
+ for (var n = -1, r = Array(e); ++n < e;) r[n] = t(n);
245
+ return r;
246
+ }
247
+ //#endregion
248
+ //#region ../node_modules/lodash-es/_baseIsArguments.js
249
+ var Je = "[object Arguments]";
250
+ function Ye(e) {
251
+ return h(e) && m(e) == Je;
252
+ }
253
+ //#endregion
254
+ //#region ../node_modules/lodash-es/isArguments.js
255
+ var Xe = Object.prototype, Ze = Xe.hasOwnProperty, Qe = Xe.propertyIsEnumerable, D = Ye(function() {
256
+ return arguments;
257
+ }()) ? Ye : function(e) {
258
+ return h(e) && Ze.call(e, "callee") && !Qe.call(e, "callee");
259
+ };
260
+ //#endregion
261
+ //#region ../node_modules/lodash-es/stubFalse.js
262
+ function $e() {
263
+ return !1;
264
+ }
265
+ //#endregion
266
+ //#region ../node_modules/lodash-es/isBuffer.js
267
+ var et = typeof exports == "object" && exports && !exports.nodeType && exports, tt = et && typeof module == "object" && module && !module.nodeType && module, nt = tt && tt.exports === et ? n.Buffer : void 0, O = (nt ? nt.isBuffer : void 0) || $e, rt = "[object Arguments]", it = "[object Array]", at = "[object Boolean]", ot = "[object Date]", st = "[object Error]", ct = "[object Function]", lt = "[object Map]", ut = "[object Number]", dt = "[object Object]", ft = "[object RegExp]", pt = "[object Set]", mt = "[object String]", ht = "[object WeakMap]", gt = "[object ArrayBuffer]", _t = "[object DataView]", vt = "[object Float32Array]", yt = "[object Float64Array]", bt = "[object Int8Array]", xt = "[object Int16Array]", St = "[object Int32Array]", Ct = "[object Uint8Array]", wt = "[object Uint8ClampedArray]", Tt = "[object Uint16Array]", Et = "[object Uint32Array]", k = {};
268
+ k[vt] = k[yt] = k[bt] = k[xt] = k[St] = k[Ct] = k[wt] = k[Tt] = k[Et] = !0, k[rt] = k[it] = k[gt] = k[at] = k[_t] = k[ot] = k[st] = k[ct] = k[lt] = k[ut] = k[dt] = k[ft] = k[pt] = k[mt] = k[ht] = !1;
269
+ function Dt(e) {
270
+ return h(e) && We(e.length) && !!k[m(e)];
271
+ }
272
+ //#endregion
273
+ //#region ../node_modules/lodash-es/_baseUnary.js
274
+ function Ot(e) {
275
+ return function(t) {
276
+ return e(t);
277
+ };
278
+ }
279
+ //#endregion
280
+ //#region ../node_modules/lodash-es/_nodeUtil.js
281
+ var kt = typeof exports == "object" && exports && !exports.nodeType && exports, A = kt && typeof module == "object" && module && !module.nodeType && module, At = A && A.exports === kt && e.process, jt = function() {
282
+ try {
283
+ return A && A.require && A.require("util").types || At && At.binding && At.binding("util");
284
+ } catch {}
285
+ }(), Mt = jt && jt.isTypedArray, j = Mt ? Ot(Mt) : Dt, Nt = Object.prototype.hasOwnProperty;
286
+ function Pt(e, t) {
287
+ var n = y(e), r = !n && D(e), i = !n && !r && O(e), a = !n && !r && !i && j(e), o = n || r || i || a, s = o ? qe(e.length, String) : [], c = s.length;
288
+ for (var l in e) (t || Nt.call(e, l)) && !(o && (l == "length" || i && (l == "offset" || l == "parent") || a && (l == "buffer" || l == "byteLength" || l == "byteOffset") || Re(l, c))) && s.push(l);
289
+ return s;
290
+ }
291
+ //#endregion
292
+ //#region ../node_modules/lodash-es/_overArg.js
293
+ function Ft(e, t) {
294
+ return function(n) {
295
+ return e(t(n));
296
+ };
297
+ }
298
+ //#endregion
299
+ //#region ../node_modules/lodash-es/_nativeKeys.js
300
+ var It = Ft(Object.keys, Object), Lt = Object.prototype.hasOwnProperty;
301
+ function Rt(e) {
302
+ if (!Ke(e)) return It(e);
303
+ var t = [];
304
+ for (var n in Object(e)) Lt.call(e, n) && n != "constructor" && t.push(n);
305
+ return t;
306
+ }
307
+ //#endregion
308
+ //#region ../node_modules/lodash-es/keys.js
309
+ function M(e) {
310
+ return E(e) ? Pt(e) : Rt(e);
311
+ }
312
+ //#endregion
313
+ //#region ../node_modules/lodash-es/_isKey.js
314
+ var zt = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Bt = /^\w*$/;
315
+ function Vt(e, t) {
316
+ if (y(e)) return !1;
317
+ var n = typeof e;
318
+ return n == "number" || n == "symbol" || n == "boolean" || e == null || _(e) ? !0 : Bt.test(e) || !zt.test(e) || t != null && e in Object(t);
319
+ }
320
+ //#endregion
321
+ //#region ../node_modules/lodash-es/_nativeCreate.js
322
+ var N = w(Object, "create");
323
+ //#endregion
324
+ //#region ../node_modules/lodash-es/_hashClear.js
325
+ function Ht() {
326
+ this.__data__ = N ? N(null) : {}, this.size = 0;
327
+ }
328
+ //#endregion
329
+ //#region ../node_modules/lodash-es/_hashDelete.js
330
+ function Ut(e) {
331
+ var t = this.has(e) && delete this.__data__[e];
332
+ return this.size -= +!!t, t;
333
+ }
334
+ //#endregion
335
+ //#region ../node_modules/lodash-es/_hashGet.js
336
+ var Wt = "__lodash_hash_undefined__", Gt = Object.prototype.hasOwnProperty;
337
+ function Kt(e) {
338
+ var t = this.__data__;
339
+ if (N) {
340
+ var n = t[e];
341
+ return n === Wt ? void 0 : n;
342
+ }
343
+ return Gt.call(t, e) ? t[e] : void 0;
344
+ }
345
+ //#endregion
346
+ //#region ../node_modules/lodash-es/_hashHas.js
347
+ var qt = Object.prototype.hasOwnProperty;
348
+ function Jt(e) {
349
+ var t = this.__data__;
350
+ return N ? t[e] !== void 0 : qt.call(t, e);
351
+ }
352
+ //#endregion
353
+ //#region ../node_modules/lodash-es/_hashSet.js
354
+ var Yt = "__lodash_hash_undefined__";
355
+ function Xt(e, t) {
356
+ var n = this.__data__;
357
+ return this.size += +!this.has(e), n[e] = N && t === void 0 ? Yt : t, this;
358
+ }
359
+ //#endregion
360
+ //#region ../node_modules/lodash-es/_Hash.js
361
+ function P(e) {
362
+ var t = -1, n = e == null ? 0 : e.length;
363
+ for (this.clear(); ++t < n;) {
364
+ var r = e[t];
365
+ this.set(r[0], r[1]);
366
+ }
367
+ }
368
+ P.prototype.clear = Ht, P.prototype.delete = Ut, P.prototype.get = Kt, P.prototype.has = Jt, P.prototype.set = Xt;
369
+ //#endregion
370
+ //#region ../node_modules/lodash-es/_listCacheClear.js
371
+ function Zt() {
372
+ this.__data__ = [], this.size = 0;
373
+ }
374
+ //#endregion
375
+ //#region ../node_modules/lodash-es/_assocIndexOf.js
376
+ function F(e, t) {
377
+ for (var n = e.length; n--;) if (ze(e[n][0], t)) return n;
378
+ return -1;
379
+ }
380
+ //#endregion
381
+ //#region ../node_modules/lodash-es/_listCacheDelete.js
382
+ var Qt = Array.prototype.splice;
383
+ function $t(e) {
384
+ var t = this.__data__, n = F(t, e);
385
+ return n < 0 ? !1 : (n == t.length - 1 ? t.pop() : Qt.call(t, n, 1), --this.size, !0);
386
+ }
387
+ //#endregion
388
+ //#region ../node_modules/lodash-es/_listCacheGet.js
389
+ function en(e) {
390
+ var t = this.__data__, n = F(t, e);
391
+ return n < 0 ? void 0 : t[n][1];
392
+ }
393
+ //#endregion
394
+ //#region ../node_modules/lodash-es/_listCacheHas.js
395
+ function tn(e) {
396
+ return F(this.__data__, e) > -1;
397
+ }
398
+ //#endregion
399
+ //#region ../node_modules/lodash-es/_listCacheSet.js
400
+ function nn(e, t) {
401
+ var n = this.__data__, r = F(n, e);
402
+ return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
403
+ }
404
+ //#endregion
405
+ //#region ../node_modules/lodash-es/_ListCache.js
406
+ function I(e) {
407
+ var t = -1, n = e == null ? 0 : e.length;
408
+ for (this.clear(); ++t < n;) {
409
+ var r = e[t];
410
+ this.set(r[0], r[1]);
411
+ }
412
+ }
413
+ I.prototype.clear = Zt, I.prototype.delete = $t, I.prototype.get = en, I.prototype.has = tn, I.prototype.set = nn;
414
+ //#endregion
415
+ //#region ../node_modules/lodash-es/_Map.js
416
+ var L = w(n, "Map");
417
+ //#endregion
418
+ //#region ../node_modules/lodash-es/_mapCacheClear.js
419
+ function rn() {
420
+ this.size = 0, this.__data__ = {
421
+ hash: new P(),
422
+ map: new (L || I)(),
423
+ string: new P()
424
+ };
425
+ }
426
+ //#endregion
427
+ //#region ../node_modules/lodash-es/_isKeyable.js
428
+ function an(e) {
429
+ var t = typeof e;
430
+ return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
431
+ }
432
+ //#endregion
433
+ //#region ../node_modules/lodash-es/_getMapData.js
434
+ function R(e, t) {
435
+ var n = e.__data__;
436
+ return an(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
437
+ }
438
+ //#endregion
439
+ //#region ../node_modules/lodash-es/_mapCacheDelete.js
440
+ function on(e) {
441
+ var t = R(this, e).delete(e);
442
+ return this.size -= +!!t, t;
443
+ }
444
+ //#endregion
445
+ //#region ../node_modules/lodash-es/_mapCacheGet.js
446
+ function sn(e) {
447
+ return R(this, e).get(e);
448
+ }
449
+ //#endregion
450
+ //#region ../node_modules/lodash-es/_mapCacheHas.js
451
+ function cn(e) {
452
+ return R(this, e).has(e);
453
+ }
454
+ //#endregion
455
+ //#region ../node_modules/lodash-es/_mapCacheSet.js
456
+ function ln(e, t) {
457
+ var n = R(this, e), r = n.size;
458
+ return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
459
+ }
460
+ //#endregion
461
+ //#region ../node_modules/lodash-es/_MapCache.js
462
+ function z(e) {
463
+ var t = -1, n = e == null ? 0 : e.length;
464
+ for (this.clear(); ++t < n;) {
465
+ var r = e[t];
466
+ this.set(r[0], r[1]);
467
+ }
468
+ }
469
+ z.prototype.clear = rn, z.prototype.delete = on, z.prototype.get = sn, z.prototype.has = cn, z.prototype.set = ln;
470
+ //#endregion
471
+ //#region ../node_modules/lodash-es/memoize.js
472
+ var un = "Expected a function";
473
+ function dn(e, t) {
474
+ if (typeof e != "function" || t != null && typeof t != "function") throw TypeError(un);
475
+ var n = function() {
476
+ var r = arguments, i = t ? t.apply(this, r) : r[0], a = n.cache;
477
+ if (a.has(i)) return a.get(i);
478
+ var o = e.apply(this, r);
479
+ return n.cache = a.set(i, o) || a, o;
480
+ };
481
+ return n.cache = new (dn.Cache || z)(), n;
482
+ }
483
+ dn.Cache = z;
484
+ //#endregion
485
+ //#region ../node_modules/lodash-es/_memoizeCapped.js
486
+ var fn = 500;
487
+ function pn(e) {
488
+ var t = dn(e, function(e) {
489
+ return n.size === fn && n.clear(), e;
490
+ }), n = t.cache;
491
+ return t;
492
+ }
493
+ //#endregion
494
+ //#region ../node_modules/lodash-es/_stringToPath.js
495
+ var mn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, hn = /\\(\\)?/g, gn = pn(function(e) {
496
+ var t = [];
497
+ return e.charCodeAt(0) === 46 && t.push(""), e.replace(mn, function(e, n, r, i) {
498
+ t.push(r ? i.replace(hn, "$1") : n || e);
499
+ }), t;
500
+ });
501
+ //#endregion
502
+ //#region ../node_modules/lodash-es/toString.js
503
+ function _n(e) {
504
+ return e == null ? "" : re(e);
505
+ }
506
+ //#endregion
507
+ //#region ../node_modules/lodash-es/_castPath.js
508
+ function vn(e, t) {
509
+ return y(e) ? e : Vt(e, t) ? [e] : gn(_n(e));
510
+ }
511
+ //#endregion
512
+ //#region ../node_modules/lodash-es/_toKey.js
513
+ var yn = Infinity;
514
+ function B(e) {
515
+ if (typeof e == "string" || _(e)) return e;
516
+ var t = e + "";
517
+ return t == "0" && 1 / e == -yn ? "-0" : t;
518
+ }
519
+ //#endregion
520
+ //#region ../node_modules/lodash-es/_baseGet.js
521
+ function bn(e, t) {
522
+ t = vn(t, e);
523
+ for (var n = 0, r = t.length; e != null && n < r;) e = e[B(t[n++])];
524
+ return n && n == r ? e : void 0;
525
+ }
526
+ //#endregion
527
+ //#region ../node_modules/lodash-es/get.js
528
+ function xn(e, t, n) {
529
+ var r = e == null ? void 0 : bn(e, t);
530
+ return r === void 0 ? n : r;
531
+ }
532
+ //#endregion
533
+ //#region ../node_modules/lodash-es/_arrayPush.js
534
+ function Sn(e, t) {
535
+ for (var n = -1, r = t.length, i = e.length; ++n < r;) e[i + n] = t[n];
536
+ return e;
537
+ }
538
+ //#endregion
539
+ //#region ../node_modules/lodash-es/_isFlattenable.js
540
+ var Cn = r ? r.isConcatSpreadable : void 0;
541
+ function wn(e) {
542
+ return y(e) || D(e) || !!(Cn && e && e[Cn]);
543
+ }
544
+ //#endregion
545
+ //#region ../node_modules/lodash-es/_baseFlatten.js
546
+ function Tn(e, t, n, r, i) {
547
+ var a = -1, o = e.length;
548
+ for (n ||= wn, i ||= []; ++a < o;) {
549
+ var s = e[a];
550
+ t > 0 && n(s) ? t > 1 ? Tn(s, t - 1, n, r, i) : Sn(i, s) : r || (i[i.length] = s);
551
+ }
552
+ return i;
553
+ }
554
+ //#endregion
555
+ //#region ../node_modules/lodash-es/_arrayReduce.js
556
+ function En(e, t, n, r) {
557
+ var i = -1, a = e == null ? 0 : e.length;
558
+ for (r && a && (n = e[++i]); ++i < a;) n = t(n, e[i], i, e);
559
+ return n;
560
+ }
561
+ //#endregion
562
+ //#region ../node_modules/lodash-es/_stackClear.js
563
+ function Dn() {
564
+ this.__data__ = new I(), this.size = 0;
565
+ }
566
+ //#endregion
567
+ //#region ../node_modules/lodash-es/_stackDelete.js
568
+ function On(e) {
569
+ var t = this.__data__, n = t.delete(e);
570
+ return this.size = t.size, n;
571
+ }
572
+ //#endregion
573
+ //#region ../node_modules/lodash-es/_stackGet.js
574
+ function kn(e) {
575
+ return this.__data__.get(e);
576
+ }
577
+ //#endregion
578
+ //#region ../node_modules/lodash-es/_stackHas.js
579
+ function An(e) {
580
+ return this.__data__.has(e);
581
+ }
582
+ //#endregion
583
+ //#region ../node_modules/lodash-es/_stackSet.js
584
+ var jn = 200;
585
+ function Mn(e, t) {
586
+ var n = this.__data__;
587
+ if (n instanceof I) {
588
+ var r = n.__data__;
589
+ if (!L || r.length < jn - 1) return r.push([e, t]), this.size = ++n.size, this;
590
+ n = this.__data__ = new z(r);
591
+ }
592
+ return n.set(e, t), this.size = n.size, this;
593
+ }
594
+ //#endregion
595
+ //#region ../node_modules/lodash-es/_Stack.js
596
+ function V(e) {
597
+ var t = this.__data__ = new I(e);
598
+ this.size = t.size;
599
+ }
600
+ V.prototype.clear = Dn, V.prototype.delete = On, V.prototype.get = kn, V.prototype.has = An, V.prototype.set = Mn;
601
+ //#endregion
602
+ //#region ../node_modules/lodash-es/_arrayFilter.js
603
+ function Nn(e, t) {
604
+ for (var n = -1, r = e == null ? 0 : e.length, i = 0, a = []; ++n < r;) {
605
+ var o = e[n];
606
+ t(o, n, e) && (a[i++] = o);
607
+ }
608
+ return a;
609
+ }
610
+ //#endregion
611
+ //#region ../node_modules/lodash-es/stubArray.js
612
+ function Pn() {
613
+ return [];
614
+ }
615
+ //#endregion
616
+ //#region ../node_modules/lodash-es/_getSymbols.js
617
+ var Fn = Object.prototype.propertyIsEnumerable, In = Object.getOwnPropertySymbols, Ln = In ? function(e) {
618
+ return e == null ? [] : (e = Object(e), Nn(In(e), function(t) {
619
+ return Fn.call(e, t);
620
+ }));
621
+ } : Pn;
622
+ //#endregion
623
+ //#region ../node_modules/lodash-es/_baseGetAllKeys.js
624
+ function Rn(e, t, n) {
625
+ var r = t(e);
626
+ return y(e) ? r : Sn(r, n(e));
627
+ }
628
+ //#endregion
629
+ //#region ../node_modules/lodash-es/_getAllKeys.js
630
+ function zn(e) {
631
+ return Rn(e, M, Ln);
632
+ }
633
+ //#endregion
634
+ //#region ../node_modules/lodash-es/_DataView.js
635
+ var Bn = w(n, "DataView"), Vn = w(n, "Promise"), H = w(n, "Set"), Hn = "[object Map]", Un = "[object Object]", Wn = "[object Promise]", Gn = "[object Set]", Kn = "[object WeakMap]", qn = "[object DataView]", Jn = C(Bn), Yn = C(L), Xn = C(Vn), Zn = C(H), Qn = C(xe), U = m;
636
+ (Bn && U(new Bn(/* @__PURE__ */ new ArrayBuffer(1))) != qn || L && U(new L()) != Hn || Vn && U(Vn.resolve()) != Wn || H && U(new H()) != Gn || xe && U(new xe()) != Kn) && (U = function(e) {
637
+ var t = m(e), n = t == Un ? e.constructor : void 0, r = n ? C(n) : "";
638
+ if (r) switch (r) {
639
+ case Jn: return qn;
640
+ case Yn: return Hn;
641
+ case Xn: return Wn;
642
+ case Zn: return Gn;
643
+ case Qn: return Kn;
644
+ }
645
+ return t;
646
+ });
647
+ var W = U, $n = n.Uint8Array, er = "__lodash_hash_undefined__";
648
+ function tr(e) {
649
+ return this.__data__.set(e, er), this;
650
+ }
651
+ //#endregion
652
+ //#region ../node_modules/lodash-es/_setCacheHas.js
653
+ function nr(e) {
654
+ return this.__data__.has(e);
655
+ }
656
+ //#endregion
657
+ //#region ../node_modules/lodash-es/_SetCache.js
658
+ function G(e) {
659
+ var t = -1, n = e == null ? 0 : e.length;
660
+ for (this.__data__ = new z(); ++t < n;) this.add(e[t]);
661
+ }
662
+ G.prototype.add = G.prototype.push = tr, G.prototype.has = nr;
663
+ //#endregion
664
+ //#region ../node_modules/lodash-es/_arraySome.js
665
+ function rr(e, t) {
666
+ for (var n = -1, r = e == null ? 0 : e.length; ++n < r;) if (t(e[n], n, e)) return !0;
667
+ return !1;
668
+ }
669
+ //#endregion
670
+ //#region ../node_modules/lodash-es/_cacheHas.js
671
+ function ir(e, t) {
672
+ return e.has(t);
673
+ }
674
+ //#endregion
675
+ //#region ../node_modules/lodash-es/_equalArrays.js
676
+ var ar = 1, or = 2;
677
+ function sr(e, t, n, r, i, a) {
678
+ var o = n & ar, s = e.length, c = t.length;
679
+ if (s != c && !(o && c > s)) return !1;
680
+ var l = a.get(e), u = a.get(t);
681
+ if (l && u) return l == t && u == e;
682
+ var d = -1, f = !0, p = n & or ? new G() : void 0;
683
+ for (a.set(e, t), a.set(t, e); ++d < s;) {
684
+ var m = e[d], h = t[d];
685
+ if (r) var g = o ? r(h, m, d, t, e, a) : r(m, h, d, e, t, a);
686
+ if (g !== void 0) {
687
+ if (g) continue;
688
+ f = !1;
689
+ break;
690
+ }
691
+ if (p) {
692
+ if (!rr(t, function(e, t) {
693
+ if (!ir(p, t) && (m === e || i(m, e, n, r, a))) return p.push(t);
694
+ })) {
695
+ f = !1;
696
+ break;
697
+ }
698
+ } else if (!(m === h || i(m, h, n, r, a))) {
699
+ f = !1;
700
+ break;
701
+ }
702
+ }
703
+ return a.delete(e), a.delete(t), f;
704
+ }
705
+ //#endregion
706
+ //#region ../node_modules/lodash-es/_mapToArray.js
707
+ function cr(e) {
708
+ var t = -1, n = Array(e.size);
709
+ return e.forEach(function(e, r) {
710
+ n[++t] = [r, e];
711
+ }), n;
712
+ }
713
+ //#endregion
714
+ //#region ../node_modules/lodash-es/_setToArray.js
715
+ function lr(e) {
716
+ var t = -1, n = Array(e.size);
717
+ return e.forEach(function(e) {
718
+ n[++t] = e;
719
+ }), n;
720
+ }
721
+ //#endregion
722
+ //#region ../node_modules/lodash-es/_equalByTag.js
723
+ var ur = 1, dr = 2, fr = "[object Boolean]", pr = "[object Date]", mr = "[object Error]", hr = "[object Map]", gr = "[object Number]", _r = "[object RegExp]", vr = "[object Set]", yr = "[object String]", br = "[object Symbol]", xr = "[object ArrayBuffer]", Sr = "[object DataView]", Cr = r ? r.prototype : void 0, wr = Cr ? Cr.valueOf : void 0;
724
+ function Tr(e, t, n, r, i, a, o) {
725
+ switch (n) {
726
+ case Sr:
727
+ if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) return !1;
728
+ e = e.buffer, t = t.buffer;
729
+ case xr: return !(e.byteLength != t.byteLength || !a(new $n(e), new $n(t)));
730
+ case fr:
731
+ case pr:
732
+ case gr: return ze(+e, +t);
733
+ case mr: return e.name == t.name && e.message == t.message;
734
+ case _r:
735
+ case yr: return e == t + "";
736
+ case hr: var s = cr;
737
+ case vr:
738
+ var c = r & ur;
739
+ if (s ||= lr, e.size != t.size && !c) return !1;
740
+ var l = o.get(e);
741
+ if (l) return l == t;
742
+ r |= dr, o.set(e, t);
743
+ var u = sr(s(e), s(t), r, i, a, o);
744
+ return o.delete(e), u;
745
+ case br: if (wr) return wr.call(e) == wr.call(t);
746
+ }
747
+ return !1;
748
+ }
749
+ //#endregion
750
+ //#region ../node_modules/lodash-es/_equalObjects.js
751
+ var Er = 1, Dr = Object.prototype.hasOwnProperty;
752
+ function Or(e, t, n, r, i, a) {
753
+ var o = n & Er, s = zn(e), c = s.length;
754
+ if (c != zn(t).length && !o) return !1;
755
+ for (var l = c; l--;) {
756
+ var u = s[l];
757
+ if (!(o ? u in t : Dr.call(t, u))) return !1;
758
+ }
759
+ var d = a.get(e), f = a.get(t);
760
+ if (d && f) return d == t && f == e;
761
+ var p = !0;
762
+ a.set(e, t), a.set(t, e);
763
+ for (var m = o; ++l < c;) {
764
+ u = s[l];
765
+ var h = e[u], g = t[u];
766
+ if (r) var _ = o ? r(g, h, u, t, e, a) : r(h, g, u, e, t, a);
767
+ if (!(_ === void 0 ? h === g || i(h, g, n, r, a) : _)) {
768
+ p = !1;
769
+ break;
770
+ }
771
+ m ||= u == "constructor";
772
+ }
773
+ if (p && !m) {
774
+ var v = e.constructor, y = t.constructor;
775
+ v != y && "constructor" in e && "constructor" in t && !(typeof v == "function" && v instanceof v && typeof y == "function" && y instanceof y) && (p = !1);
776
+ }
777
+ return a.delete(e), a.delete(t), p;
778
+ }
779
+ //#endregion
780
+ //#region ../node_modules/lodash-es/_baseIsEqualDeep.js
781
+ var kr = 1, Ar = "[object Arguments]", jr = "[object Array]", K = "[object Object]", Mr = Object.prototype.hasOwnProperty;
782
+ function Nr(e, t, n, r, i, a) {
783
+ var o = y(e), s = y(t), c = o ? jr : W(e), l = s ? jr : W(t);
784
+ c = c == Ar ? K : c, l = l == Ar ? K : l;
785
+ var u = c == K, d = l == K, f = c == l;
786
+ if (f && O(e)) {
787
+ if (!O(t)) return !1;
788
+ o = !0, u = !1;
789
+ }
790
+ if (f && !u) return a ||= new V(), o || j(e) ? sr(e, t, n, r, i, a) : Tr(e, t, c, n, r, i, a);
791
+ if (!(n & kr)) {
792
+ var p = u && Mr.call(e, "__wrapped__"), m = d && Mr.call(t, "__wrapped__");
793
+ if (p || m) {
794
+ var h = p ? e.value() : e, g = m ? t.value() : t;
795
+ return a ||= new V(), i(h, g, n, r, a);
796
+ }
797
+ }
798
+ return f ? (a ||= new V(), Or(e, t, n, r, i, a)) : !1;
799
+ }
800
+ //#endregion
801
+ //#region ../node_modules/lodash-es/_baseIsEqual.js
802
+ function Pr(e, t, n, r, i) {
803
+ return e === t ? !0 : e == null || t == null || !h(e) && !h(t) ? e !== e && t !== t : Nr(e, t, n, r, Pr, i);
804
+ }
805
+ //#endregion
806
+ //#region ../node_modules/lodash-es/_baseIsMatch.js
807
+ var Fr = 1, Ir = 2;
808
+ function Lr(e, t, n, r) {
809
+ var i = n.length, a = i, o = !r;
810
+ if (e == null) return !a;
811
+ for (e = Object(e); i--;) {
812
+ var s = n[i];
813
+ if (o && s[2] ? s[1] !== e[s[0]] : !(s[0] in e)) return !1;
814
+ }
815
+ for (; ++i < a;) {
816
+ s = n[i];
817
+ var c = s[0], l = e[c], u = s[1];
818
+ if (o && s[2]) {
819
+ if (l === void 0 && !(c in e)) return !1;
820
+ } else {
821
+ var d = new V();
822
+ if (r) var f = r(l, u, c, e, t, d);
823
+ if (!(f === void 0 ? Pr(u, l, Fr | Ir, r, d) : f)) return !1;
824
+ }
825
+ }
826
+ return !0;
827
+ }
828
+ //#endregion
829
+ //#region ../node_modules/lodash-es/_isStrictComparable.js
830
+ function Rr(e) {
831
+ return e === e && !b(e);
832
+ }
833
+ //#endregion
834
+ //#region ../node_modules/lodash-es/_getMatchData.js
835
+ function zr(e) {
836
+ for (var t = M(e), n = t.length; n--;) {
837
+ var r = t[n], i = e[r];
838
+ t[n] = [
839
+ r,
840
+ i,
841
+ Rr(i)
842
+ ];
843
+ }
844
+ return t;
845
+ }
846
+ //#endregion
847
+ //#region ../node_modules/lodash-es/_matchesStrictComparable.js
848
+ function Br(e, t) {
849
+ return function(n) {
850
+ return n == null ? !1 : n[e] === t && (t !== void 0 || e in Object(n));
851
+ };
852
+ }
853
+ //#endregion
854
+ //#region ../node_modules/lodash-es/_baseMatches.js
855
+ function Vr(e) {
856
+ var t = zr(e);
857
+ return t.length == 1 && t[0][2] ? Br(t[0][0], t[0][1]) : function(n) {
858
+ return n === e || Lr(n, e, t);
859
+ };
860
+ }
861
+ //#endregion
862
+ //#region ../node_modules/lodash-es/_baseHasIn.js
863
+ function Hr(e, t) {
864
+ return e != null && t in Object(e);
865
+ }
866
+ //#endregion
867
+ //#region ../node_modules/lodash-es/_hasPath.js
868
+ function Ur(e, t, n) {
869
+ t = vn(t, e);
870
+ for (var r = -1, i = t.length, a = !1; ++r < i;) {
871
+ var o = B(t[r]);
872
+ if (!(a = e != null && n(e, o))) break;
873
+ e = e[o];
874
+ }
875
+ return a || ++r != i ? a : (i = e == null ? 0 : e.length, !!i && We(i) && Re(o, i) && (y(e) || D(e)));
876
+ }
877
+ //#endregion
878
+ //#region ../node_modules/lodash-es/hasIn.js
879
+ function Wr(e, t) {
880
+ return e != null && Ur(e, t, Hr);
881
+ }
882
+ //#endregion
883
+ //#region ../node_modules/lodash-es/_baseMatchesProperty.js
884
+ var Gr = 1, Kr = 2;
885
+ function qr(e, t) {
886
+ return Vt(e) && Rr(t) ? Br(B(e), t) : function(n) {
887
+ var r = xn(n, e);
888
+ return r === void 0 && r === t ? Wr(n, e) : Pr(t, r, Gr | Kr);
889
+ };
890
+ }
891
+ //#endregion
892
+ //#region ../node_modules/lodash-es/_baseProperty.js
893
+ function Jr(e) {
894
+ return function(t) {
895
+ return t?.[e];
896
+ };
897
+ }
898
+ //#endregion
899
+ //#region ../node_modules/lodash-es/_basePropertyDeep.js
900
+ function Yr(e) {
901
+ return function(t) {
902
+ return bn(t, e);
903
+ };
904
+ }
905
+ //#endregion
906
+ //#region ../node_modules/lodash-es/property.js
907
+ function Xr(e) {
908
+ return Vt(e) ? Jr(B(e)) : Yr(e);
909
+ }
910
+ //#endregion
911
+ //#region ../node_modules/lodash-es/_baseIteratee.js
912
+ function Zr(e) {
913
+ return typeof e == "function" ? e : e == null ? x : typeof e == "object" ? y(e) ? qr(e[0], e[1]) : Vr(e) : Xr(e);
914
+ }
915
+ //#endregion
916
+ //#region ../node_modules/lodash-es/_createBaseFor.js
917
+ function Qr(e) {
918
+ return function(t, n, r) {
919
+ for (var i = -1, a = Object(t), o = r(t), s = o.length; s--;) {
920
+ var c = o[e ? s : ++i];
921
+ if (n(a[c], c, a) === !1) break;
922
+ }
923
+ return t;
924
+ };
925
+ }
926
+ //#endregion
927
+ //#region ../node_modules/lodash-es/_baseFor.js
928
+ var $r = Qr();
929
+ //#endregion
930
+ //#region ../node_modules/lodash-es/_baseForOwn.js
931
+ function ei(e, t) {
932
+ return e && $r(e, t, M);
933
+ }
934
+ //#endregion
935
+ //#region ../node_modules/lodash-es/_createBaseEach.js
936
+ function ti(e, t) {
937
+ return function(n, r) {
938
+ if (n == null) return n;
939
+ if (!E(n)) return e(n, r);
940
+ for (var i = n.length, a = t ? i : -1, o = Object(n); (t ? a-- : ++a < i) && r(o[a], a, o) !== !1;);
941
+ return n;
942
+ };
943
+ }
944
+ //#endregion
945
+ //#region ../node_modules/lodash-es/_baseEach.js
946
+ var q = ti(ei);
947
+ //#endregion
948
+ //#region ../node_modules/lodash-es/isArrayLikeObject.js
949
+ function ni(e) {
950
+ return h(e) && E(e);
951
+ }
952
+ //#endregion
953
+ //#region ../node_modules/lodash-es/_arrayIncludesWith.js
954
+ function ri(e, t, n) {
955
+ for (var r = -1, i = e == null ? 0 : e.length; ++r < i;) if (n(t, e[r])) return !0;
956
+ return !1;
957
+ }
958
+ //#endregion
959
+ //#region ../node_modules/lodash-es/_castFunction.js
960
+ function ii(e) {
961
+ return typeof e == "function" ? e : x;
962
+ }
963
+ //#endregion
964
+ //#region ../node_modules/lodash-es/forEach.js
965
+ function J(e, t) {
966
+ return (y(e) ? Ae : q)(e, ii(t));
967
+ }
968
+ //#endregion
969
+ //#region ../node_modules/lodash-es/_baseFilter.js
970
+ function ai(e, t) {
971
+ var n = [];
972
+ return q(e, function(e, r, i) {
973
+ t(e, r, i) && n.push(e);
974
+ }), n;
975
+ }
976
+ //#endregion
977
+ //#region ../node_modules/lodash-es/filter.js
978
+ function Y(e, t) {
979
+ return (y(e) ? Nn : ai)(e, Zr(t, 3));
980
+ }
981
+ //#endregion
982
+ //#region ../node_modules/lodash-es/_baseValues.js
983
+ function oi(e, t) {
984
+ return v(t, function(t) {
985
+ return e[t];
986
+ });
987
+ }
988
+ //#endregion
989
+ //#region ../node_modules/lodash-es/values.js
990
+ function X(e) {
991
+ return e == null ? [] : oi(e, M(e));
992
+ }
993
+ //#endregion
994
+ //#region ../node_modules/lodash-es/isEmpty.js
995
+ var si = "[object Map]", ci = "[object Set]", li = Object.prototype.hasOwnProperty;
996
+ function ui(e) {
997
+ if (e == null) return !0;
998
+ if (E(e) && (y(e) || typeof e == "string" || typeof e.splice == "function" || O(e) || j(e) || D(e))) return !e.length;
999
+ var t = W(e);
1000
+ if (t == si || t == ci) return !e.size;
1001
+ if (Ke(e)) return !Rt(e).length;
1002
+ for (var n in e) if (li.call(e, n)) return !1;
1003
+ return !0;
1004
+ }
1005
+ //#endregion
1006
+ //#region ../node_modules/lodash-es/isUndefined.js
1007
+ function Z(e) {
1008
+ return e === void 0;
1009
+ }
1010
+ //#endregion
1011
+ //#region ../node_modules/lodash-es/_baseReduce.js
1012
+ function di(e, t, n, r, i) {
1013
+ return i(e, function(e, i, a) {
1014
+ n = r ? (r = !1, e) : t(n, e, i, a);
1015
+ }), n;
1016
+ }
1017
+ //#endregion
1018
+ //#region ../node_modules/lodash-es/reduce.js
1019
+ function fi(e, t, n) {
1020
+ var r = y(e) ? En : di, i = arguments.length < 3;
1021
+ return r(e, Zr(t, 4), n, i, q);
1022
+ }
1023
+ //#endregion
1024
+ //#region ../node_modules/lodash-es/_createSet.js
1025
+ var pi = H && 1 / lr(new H([, -0]))[1] == Infinity ? function(e) {
1026
+ return new H(e);
1027
+ } : Ce, mi = 200;
1028
+ function hi(e, t, n) {
1029
+ var r = -1, i = Fe, a = e.length, o = !0, s = [], c = s;
1030
+ if (n) o = !1, i = ri;
1031
+ else if (a >= mi) {
1032
+ var l = t ? null : pi(e);
1033
+ if (l) return lr(l);
1034
+ o = !1, i = ir, c = new G();
1035
+ } else c = t ? [] : s;
1036
+ outer: for (; ++r < a;) {
1037
+ var u = e[r], d = t ? t(u) : u;
1038
+ if (u = n || u !== 0 ? u : 0, o && d === d) {
1039
+ for (var f = c.length; f--;) if (c[f] === d) continue outer;
1040
+ t && c.push(d), s.push(u);
1041
+ } else i(c, d, n) || (c !== s && c.push(d), s.push(u));
1042
+ }
1043
+ return s;
1044
+ }
1045
+ //#endregion
1046
+ //#region ../node_modules/lodash-es/union.js
1047
+ var gi = He(function(e) {
1048
+ return hi(Tn(e, 1, ni, !0));
1049
+ }), _i = "\0", Q = "\0", vi = "", yi = class {
1050
+ constructor(e = {}) {
1051
+ this._isDirected = Object.prototype.hasOwnProperty.call(e, "directed") ? e.directed : !0, this._isMultigraph = Object.prototype.hasOwnProperty.call(e, "multigraph") ? e.multigraph : !1, this._isCompound = Object.prototype.hasOwnProperty.call(e, "compound") ? e.compound : !1, this._label = void 0, this._defaultNodeLabelFn = T(void 0), this._defaultEdgeLabelFn = T(void 0), this._nodes = {}, this._isCompound && (this._parent = {}, this._children = {}, this._children[Q] = {}), this._in = {}, this._preds = {}, this._out = {}, this._sucs = {}, this._edgeObjs = {}, this._edgeLabels = {};
1052
+ }
1053
+ isDirected() {
1054
+ return this._isDirected;
1055
+ }
1056
+ isMultigraph() {
1057
+ return this._isMultigraph;
1058
+ }
1059
+ isCompound() {
1060
+ return this._isCompound;
1061
+ }
1062
+ setGraph(e) {
1063
+ return this._label = e, this;
1064
+ }
1065
+ graph() {
1066
+ return this._label;
1067
+ }
1068
+ setDefaultNodeLabel(e) {
1069
+ return S(e) || (e = T(e)), this._defaultNodeLabelFn = e, this;
1070
+ }
1071
+ nodeCount() {
1072
+ return this._nodeCount;
1073
+ }
1074
+ nodes() {
1075
+ return M(this._nodes);
1076
+ }
1077
+ sources() {
1078
+ var e = this;
1079
+ return Y(this.nodes(), function(t) {
1080
+ return ui(e._in[t]);
1081
+ });
1082
+ }
1083
+ sinks() {
1084
+ var e = this;
1085
+ return Y(this.nodes(), function(t) {
1086
+ return ui(e._out[t]);
1087
+ });
1088
+ }
1089
+ setNodes(e, t) {
1090
+ var n = arguments, r = this;
1091
+ return J(e, function(e) {
1092
+ n.length > 1 ? r.setNode(e, t) : r.setNode(e);
1093
+ }), this;
1094
+ }
1095
+ setNode(e, t) {
1096
+ return Object.prototype.hasOwnProperty.call(this._nodes, e) ? (arguments.length > 1 && (this._nodes[e] = t), this) : (this._nodes[e] = arguments.length > 1 ? t : this._defaultNodeLabelFn(e), this._isCompound && (this._parent[e] = Q, this._children[e] = {}, this._children[Q][e] = !0), this._in[e] = {}, this._preds[e] = {}, this._out[e] = {}, this._sucs[e] = {}, ++this._nodeCount, this);
1097
+ }
1098
+ node(e) {
1099
+ return this._nodes[e];
1100
+ }
1101
+ hasNode(e) {
1102
+ return Object.prototype.hasOwnProperty.call(this._nodes, e);
1103
+ }
1104
+ removeNode(e) {
1105
+ if (Object.prototype.hasOwnProperty.call(this._nodes, e)) {
1106
+ var t = (e) => this.removeEdge(this._edgeObjs[e]);
1107
+ delete this._nodes[e], this._isCompound && (this._removeFromParentsChildList(e), delete this._parent[e], J(this.children(e), (e) => {
1108
+ this.setParent(e);
1109
+ }), delete this._children[e]), J(M(this._in[e]), t), delete this._in[e], delete this._preds[e], J(M(this._out[e]), t), delete this._out[e], delete this._sucs[e], --this._nodeCount;
1110
+ }
1111
+ return this;
1112
+ }
1113
+ setParent(e, t) {
1114
+ if (!this._isCompound) throw Error("Cannot set parent in a non-compound graph");
1115
+ if (Z(t)) t = Q;
1116
+ else {
1117
+ t += "";
1118
+ for (var n = t; !Z(n); n = this.parent(n)) if (n === e) throw Error("Setting " + t + " as parent of " + e + " would create a cycle");
1119
+ this.setNode(t);
1120
+ }
1121
+ return this.setNode(e), this._removeFromParentsChildList(e), this._parent[e] = t, this._children[t][e] = !0, this;
1122
+ }
1123
+ _removeFromParentsChildList(e) {
1124
+ delete this._children[this._parent[e]][e];
1125
+ }
1126
+ parent(e) {
1127
+ if (this._isCompound) {
1128
+ var t = this._parent[e];
1129
+ if (t !== Q) return t;
1130
+ }
1131
+ }
1132
+ children(e) {
1133
+ if (Z(e) && (e = Q), this._isCompound) {
1134
+ var t = this._children[e];
1135
+ if (t) return M(t);
1136
+ } else if (e === Q) return this.nodes();
1137
+ else if (this.hasNode(e)) return [];
1138
+ }
1139
+ predecessors(e) {
1140
+ var t = this._preds[e];
1141
+ if (t) return M(t);
1142
+ }
1143
+ successors(e) {
1144
+ var t = this._sucs[e];
1145
+ if (t) return M(t);
1146
+ }
1147
+ neighbors(e) {
1148
+ var t = this.predecessors(e);
1149
+ if (t) return gi(t, this.successors(e));
1150
+ }
1151
+ isLeaf(e) {
1152
+ return (this.isDirected() ? this.successors(e) : this.neighbors(e)).length === 0;
1153
+ }
1154
+ filterNodes(e) {
1155
+ var t = new this.constructor({
1156
+ directed: this._isDirected,
1157
+ multigraph: this._isMultigraph,
1158
+ compound: this._isCompound
1159
+ });
1160
+ t.setGraph(this.graph());
1161
+ var n = this;
1162
+ J(this._nodes, function(n, r) {
1163
+ e(r) && t.setNode(r, n);
1164
+ }), J(this._edgeObjs, function(e) {
1165
+ t.hasNode(e.v) && t.hasNode(e.w) && t.setEdge(e, n.edge(e));
1166
+ });
1167
+ var r = {};
1168
+ function i(e) {
1169
+ var a = n.parent(e);
1170
+ return a === void 0 || t.hasNode(a) ? (r[e] = a, a) : a in r ? r[a] : i(a);
1171
+ }
1172
+ return this._isCompound && J(t.nodes(), function(e) {
1173
+ t.setParent(e, i(e));
1174
+ }), t;
1175
+ }
1176
+ setDefaultEdgeLabel(e) {
1177
+ return S(e) || (e = T(e)), this._defaultEdgeLabelFn = e, this;
1178
+ }
1179
+ edgeCount() {
1180
+ return this._edgeCount;
1181
+ }
1182
+ edges() {
1183
+ return X(this._edgeObjs);
1184
+ }
1185
+ setPath(e, t) {
1186
+ var n = this, r = arguments;
1187
+ return fi(e, function(e, i) {
1188
+ return r.length > 1 ? n.setEdge(e, i, t) : n.setEdge(e, i), i;
1189
+ }), this;
1190
+ }
1191
+ setEdge() {
1192
+ var e, t, n, r, i = !1, a = arguments[0];
1193
+ typeof a == "object" && a && "v" in a ? (e = a.v, t = a.w, n = a.name, arguments.length === 2 && (r = arguments[1], i = !0)) : (e = a, t = arguments[1], n = arguments[3], arguments.length > 2 && (r = arguments[2], i = !0)), e = "" + e, t = "" + t, Z(n) || (n = "" + n);
1194
+ var o = $(this._isDirected, e, t, n);
1195
+ if (Object.prototype.hasOwnProperty.call(this._edgeLabels, o)) return i && (this._edgeLabels[o] = r), this;
1196
+ if (!Z(n) && !this._isMultigraph) throw Error("Cannot set a named edge when isMultigraph = false");
1197
+ this.setNode(e), this.setNode(t), this._edgeLabels[o] = i ? r : this._defaultEdgeLabelFn(e, t, n);
1198
+ var s = Si(this._isDirected, e, t, n);
1199
+ return e = s.v, t = s.w, Object.freeze(s), this._edgeObjs[o] = s, bi(this._preds[t], e), bi(this._sucs[e], t), this._in[t][o] = s, this._out[e][o] = s, this._edgeCount++, this;
1200
+ }
1201
+ edge(e, t, n) {
1202
+ var r = arguments.length === 1 ? Ci(this._isDirected, arguments[0]) : $(this._isDirected, e, t, n);
1203
+ return this._edgeLabels[r];
1204
+ }
1205
+ hasEdge(e, t, n) {
1206
+ var r = arguments.length === 1 ? Ci(this._isDirected, arguments[0]) : $(this._isDirected, e, t, n);
1207
+ return Object.prototype.hasOwnProperty.call(this._edgeLabels, r);
1208
+ }
1209
+ removeEdge(e, t, n) {
1210
+ var r = arguments.length === 1 ? Ci(this._isDirected, arguments[0]) : $(this._isDirected, e, t, n), i = this._edgeObjs[r];
1211
+ return i && (e = i.v, t = i.w, delete this._edgeLabels[r], delete this._edgeObjs[r], xi(this._preds[t], e), xi(this._sucs[e], t), delete this._in[t][r], delete this._out[e][r], this._edgeCount--), this;
1212
+ }
1213
+ inEdges(e, t) {
1214
+ var n = this._in[e];
1215
+ if (n) {
1216
+ var r = X(n);
1217
+ return t ? Y(r, function(e) {
1218
+ return e.v === t;
1219
+ }) : r;
1220
+ }
1221
+ }
1222
+ outEdges(e, t) {
1223
+ var n = this._out[e];
1224
+ if (n) {
1225
+ var r = X(n);
1226
+ return t ? Y(r, function(e) {
1227
+ return e.w === t;
1228
+ }) : r;
1229
+ }
1230
+ }
1231
+ nodeEdges(e, t) {
1232
+ var n = this.inEdges(e, t);
1233
+ if (n) return n.concat(this.outEdges(e, t));
1234
+ }
1235
+ };
1236
+ yi.prototype._nodeCount = 0, yi.prototype._edgeCount = 0;
1237
+ function bi(e, t) {
1238
+ e[t] ? e[t]++ : e[t] = 1;
1239
+ }
1240
+ function xi(e, t) {
1241
+ --e[t] || delete e[t];
1242
+ }
1243
+ function $(e, t, n, r) {
1244
+ var i = "" + t, a = "" + n;
1245
+ if (!e && i > a) {
1246
+ var o = i;
1247
+ i = a, a = o;
1248
+ }
1249
+ return i + vi + a + vi + (Z(r) ? _i : r);
1250
+ }
1251
+ function Si(e, t, n, r) {
1252
+ var i = "" + t, a = "" + n;
1253
+ if (!e && i > a) {
1254
+ var o = i;
1255
+ i = a, a = o;
1256
+ }
1257
+ var s = {
1258
+ v: i,
1259
+ w: a
1260
+ };
1261
+ return r && (s.name = r), s;
1262
+ }
1263
+ function Ci(e, t) {
1264
+ return $(e, t.v, t.w, t.name);
1265
+ }
1266
+ //#endregion
1267
+ export { v as $, Rt as A, He as B, Tn as C, vn as D, B as E, Ot as F, Ae as G, ze as H, O as I, T as J, ke as K, D as L, Pt as M, j as N, _n as O, jt as P, y as Q, Ke as R, V as S, bn as T, Re as U, Ve as V, je as W, x as X, S as Y, b as Z, W as _, Y as a, Ln as b, ni as c, $r as d, _ as et, Zr as f, $n as g, Ur as h, X as i, n as it, Ft as j, M as k, q as l, Wr as m, fi as n, m as nt, J as o, Jr as p, Oe as q, Z as r, r as rt, ii as s, yi as t, h as tt, ei as u, zn as v, Sn as w, Pn as x, Rn as y, E as z };