@pi-outpost/embed 0.60.1 → 0.62.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 (153) hide show
  1. package/README.md +4 -0
  2. package/dist/{abnfDiagram-S7VZAUFO-BdOzCXh1.js → abnfDiagram-S7VZAUFO-BvdbTr4n.js} +2 -2
  3. package/dist/{abnfDiagram-S7VZAUFO-zyFnpqZ0.cjs → abnfDiagram-S7VZAUFO-C14iOswH.cjs} +1 -1
  4. package/dist/{architectureDiagram-YGSQEFNW-DiYOcBqo.js → architectureDiagram-YGSQEFNW-CPW5HJ_P.js} +20 -20
  5. package/dist/{architectureDiagram-YGSQEFNW-gEzRb5xY.cjs → architectureDiagram-YGSQEFNW-CfDEcnft.cjs} +3 -3
  6. package/dist/{blockDiagram-APKKGZFW-CIX-8mpK.js → blockDiagram-APKKGZFW-C4ig73DE.js} +5 -5
  7. package/dist/{blockDiagram-APKKGZFW-KL3nQT0s.cjs → blockDiagram-APKKGZFW-DLTDUF2F.cjs} +1 -1
  8. package/dist/{c4Diagram-KJ2TOQU5-BS_M90FN.js → c4Diagram-KJ2TOQU5-BViiS4eZ.js} +4 -4
  9. package/dist/{c4Diagram-KJ2TOQU5-D-dCJWvI.cjs → c4Diagram-KJ2TOQU5-BZrZGJnq.cjs} +1 -1
  10. package/dist/chunk-6MUBBAK2-Do5Y2VaL.js +631 -0
  11. package/dist/chunk-6MUBBAK2-fxSdrddJ.cjs +2 -0
  12. package/dist/{chunk-AXFCVDMN-DrVQa3gP.js → chunk-AXFCVDMN-BTcT9L5T.js} +196 -196
  13. package/dist/{chunk-AXFCVDMN-B6dhmE32.cjs → chunk-AXFCVDMN-DSN0_Pz7.cjs} +7 -7
  14. package/dist/{chunk-DQASFODM-DAaU7yoa.js → chunk-DQASFODM-BjATojAo.js} +30 -30
  15. package/dist/chunk-DQASFODM-GtaZ5zZF.cjs +10 -0
  16. package/dist/{chunk-HFQBQIA3-lOxrhpos.cjs → chunk-HFQBQIA3-Bt4zc3D1.cjs} +1 -1
  17. package/dist/{chunk-HFQBQIA3-DqHSeXIz.js → chunk-HFQBQIA3-l7lNC9FO.js} +1 -1
  18. package/dist/{chunk-KQLB2F66-C7twW9LJ.js → chunk-KQLB2F66-P-DwEW1U.js} +5 -5
  19. package/dist/{chunk-KQLB2F66-Ec2IAtUR.cjs → chunk-KQLB2F66-xBZn8cMv.cjs} +1 -1
  20. package/dist/{chunk-KS47KZWR-OD3AMBe8.js → chunk-KS47KZWR-Ca0eP7K6.js} +1 -1
  21. package/dist/{chunk-KS47KZWR-C7Yv0kfF.cjs → chunk-KS47KZWR-DLYUwvq1.cjs} +1 -1
  22. package/dist/{chunk-LEVMRMFU-BFGXlIAt.cjs → chunk-LEVMRMFU-8QpYqPF4.cjs} +1 -1
  23. package/dist/{chunk-LEVMRMFU-NLMudZfn.js → chunk-LEVMRMFU-DXj_Ks_M.js} +2 -2
  24. package/dist/{chunk-M57EVK23-BSZ7OEGY.cjs → chunk-M57EVK23-Cvl56jvK.cjs} +1 -1
  25. package/dist/{chunk-M57EVK23-C8-Jp43x.js → chunk-M57EVK23-D_qW99As.js} +3 -3
  26. package/dist/{chunk-OY52VR5R-B7NRk2-S.js → chunk-OY52VR5R-DAhIWmSX.js} +1 -1
  27. package/dist/{chunk-OY52VR5R-CvyV3pJF.cjs → chunk-OY52VR5R-DoFojbud.cjs} +1 -1
  28. package/dist/{chunk-QB3YPZ4I-DaIXN7QF.cjs → chunk-QB3YPZ4I-CcobelQp.cjs} +1 -1
  29. package/dist/{chunk-QB3YPZ4I-DPQ26dC9.js → chunk-QB3YPZ4I-DZ4KU0AI.js} +5 -5
  30. package/dist/{chunk-STOXU5M4-0WKKmqbF.js → chunk-STOXU5M4-CcGFpnKt.js} +7 -7
  31. package/dist/{chunk-STOXU5M4-CmoaBap6.cjs → chunk-STOXU5M4-_pvE8f8d.cjs} +2 -2
  32. package/dist/{classDiagram-v2-L25IHNXF-CAts0vNW.js → classDiagram-v2-L25IHNXF-CoK-3RrH.js} +8 -8
  33. package/dist/{classDiagram-v2-L25IHNXF-CAbdJ2_W.cjs → classDiagram-v2-L25IHNXF-DUh5AzbW.cjs} +1 -1
  34. package/dist/{conversationExport-DaPkz-Eh.cjs → conversationExport-DXxmgLoF.cjs} +7 -7
  35. package/dist/{conversationExport-C761zW6H.js → conversationExport-jRLUX0kH.js} +217 -205
  36. package/dist/{conversationHistory-DhOtJoSk.js → conversationHistory-3pDBlkZZ.js} +103 -11
  37. package/dist/{conversationHistory-V6AR3Ga4.cjs → conversationHistory-C6PqGsO9.cjs} +5 -5
  38. package/dist/{cynefinDiagram-L36ESFBY-CrsJmb7x.cjs → cynefinDiagram-L36ESFBY-BLUfdwhj.cjs} +1 -1
  39. package/dist/{cynefinDiagram-L36ESFBY-ByHpHKCc.js → cynefinDiagram-L36ESFBY-COLv504g.js} +7 -7
  40. package/dist/{dagre-SPEB5RXH-C01_UMxx.js → dagre-SPEB5RXH-CohPsDHQ.js} +7 -7
  41. package/dist/{dagre-SPEB5RXH-ExCiSqVu.cjs → dagre-SPEB5RXH-DF8bZfUb.cjs} +1 -1
  42. package/dist/{diagram-3B7GL73J-CRNoSH2i.cjs → diagram-3B7GL73J-CFwrYkyI.cjs} +1 -1
  43. package/dist/{diagram-3B7GL73J-D7i6eGGQ.js → diagram-3B7GL73J-w28Iaq_1.js} +8 -8
  44. package/dist/{diagram-DNEMPZML-CkhkOJo2.cjs → diagram-DNEMPZML-CezYrBHl.cjs} +1 -1
  45. package/dist/{diagram-DNEMPZML-Di5RqN_h.js → diagram-DNEMPZML-HpZqPF1t.js} +6 -6
  46. package/dist/{diagram-L3MUGCDN-BtQkAzOD.js → diagram-L3MUGCDN-Bg9oF9vU.js} +7 -7
  47. package/dist/{diagram-L3MUGCDN-B1vXsDB1.cjs → diagram-L3MUGCDN-FmKU8C82.cjs} +2 -2
  48. package/dist/{diagram-LA4NIPWU-DST6DvSP.cjs → diagram-LA4NIPWU-B4zPp12a.cjs} +2 -2
  49. package/dist/{diagram-LA4NIPWU-Badv-tyU.js → diagram-LA4NIPWU-D5S10Z1M.js} +16 -16
  50. package/dist/{diagram-MHCOC4E2-DmA9ezb9.js → diagram-MHCOC4E2-BMg2Maje.js} +5 -5
  51. package/dist/{diagram-MHCOC4E2-BafwTqOD.cjs → diagram-MHCOC4E2-DcF56W3-.cjs} +2 -2
  52. package/dist/{diagram-XPFHEONP-CZHt29x-.js → diagram-XPFHEONP-COT08Qlw.js} +9 -9
  53. package/dist/{diagram-XPFHEONP-DCm8Rjp8.cjs → diagram-XPFHEONP-GLEfHAAK.cjs} +5 -5
  54. package/dist/dist-BDWJ0PuE.js +1007 -0
  55. package/dist/dist-CeGGIzgU.cjs +1 -0
  56. package/dist/{docxExport-BlPADe6b.cjs → docxExport-D-T3fTj7.cjs} +2 -2
  57. package/dist/{docxExport-Bwi2TlqP.js → docxExport-diU6sv-G.js} +3 -3
  58. package/dist/download-C9gupL_X.js +45 -0
  59. package/dist/download-CVl_k6EM.cjs +1 -0
  60. package/dist/{ebnfDiagram-UZSYDL2S-DVGQga8g.js → ebnfDiagram-UZSYDL2S-Cu5-1sQW.js} +2 -2
  61. package/dist/{ebnfDiagram-UZSYDL2S-fO0plY-B.cjs → ebnfDiagram-UZSYDL2S-ftYbml6-.cjs} +1 -1
  62. package/dist/{elk-XV6XMXQE-CioXUob9.cjs → elk-XV6XMXQE-32eNFZGY.cjs} +2 -2
  63. package/dist/{elk-XV6XMXQE-BkH0WNCd.js → elk-XV6XMXQE-BoimJY8z.js} +9 -8
  64. package/dist/{erDiagram-EYBAPDEH-CUgDxVam.cjs → erDiagram-EYBAPDEH-BCiRLs1y.cjs} +1 -1
  65. package/dist/{erDiagram-EYBAPDEH-Byy0RKKe.js → erDiagram-EYBAPDEH-BxyIjrYb.js} +7 -7
  66. package/dist/flowDiagram-MALGAFMO-BwqIeP0j.js +15 -0
  67. package/dist/flowDiagram-MALGAFMO-DkxE7jK-.cjs +1 -0
  68. package/dist/ganttDiagram-23REXITY-CSCN0suz.cjs +292 -0
  69. package/dist/{ganttDiagram-23REXITY-DAs5LGLL.js → ganttDiagram-23REXITY-uW1Fo-_u.js} +467 -489
  70. package/dist/{gitGraphDiagram-STJD7YCW-B3zcpUUP.cjs → gitGraphDiagram-STJD7YCW-DsKvmxrY.cjs} +3 -3
  71. package/dist/{gitGraphDiagram-STJD7YCW-BVa0DHTU.js → gitGraphDiagram-STJD7YCW-j7-SImA3.js} +57 -57
  72. package/dist/{infoDiagram-KBXO4MBG-DRQkxKbg.cjs → infoDiagram-KBXO4MBG-CYMQGNUj.cjs} +1 -1
  73. package/dist/{infoDiagram-KBXO4MBG-BW7IcSQr.js → infoDiagram-KBXO4MBG-DE6zWbEk.js} +1 -1
  74. package/dist/init-DP9k4ltr.js +151 -0
  75. package/dist/init-UgQs1rm8.cjs +1 -0
  76. package/dist/{ishikawaDiagram-M35NCXHK-DBokYlS8.cjs → ishikawaDiagram-M35NCXHK-DbHbBLzt.cjs} +1 -1
  77. package/dist/{ishikawaDiagram-M35NCXHK-BiLoyI1l.js → ishikawaDiagram-M35NCXHK-zvWEWMyM.js} +2 -2
  78. package/dist/{journeyDiagram-OPLOXDXO-DsyubZVY.js → journeyDiagram-OPLOXDXO-Ckjy-e7g.js} +2 -2
  79. package/dist/{journeyDiagram-OPLOXDXO-CgabMAC2.cjs → journeyDiagram-OPLOXDXO-Df3Isppt.cjs} +2 -2
  80. package/dist/{kanban-definition-BZKZHSQY-DU8sOWQd.js → kanban-definition-BZKZHSQY-BmePUr-s.js} +6 -6
  81. package/dist/{kanban-definition-BZKZHSQY-CLi3J9cI.cjs → kanban-definition-BZKZHSQY-C0592yvk.cjs} +1 -1
  82. package/dist/linear-DgbjLlQ3.cjs +1 -0
  83. package/dist/linear-uoBSwo4a.js +198 -0
  84. package/dist/{loadReferencedImage-D47xCpa7.cjs → loadReferencedImage-N3Qidv7i.cjs} +1 -1
  85. package/dist/{loadReferencedImage-VNYxXIzB.js → loadReferencedImage-u2es0OEX.js} +1 -1
  86. package/dist/{mermaid.core-DPCy8dJO.js → mermaid.core-BlYpILf7.js} +65 -65
  87. package/dist/{mermaid.core-BL4WDqAH.cjs → mermaid.core-uCBIzEBU.cjs} +7 -7
  88. package/dist/{mermaidToImage-CViP9wx2.js → mermaidToImage-CBa4nUvP.js} +1 -1
  89. package/dist/{mermaidToImage-B7I6iJ9s.cjs → mermaidToImage-Gx6dNGEn.cjs} +1 -1
  90. package/dist/{mindmap-definition-I2QAS2VK-GT8_r7or.cjs → mindmap-definition-I2QAS2VK-CRXX7-9C.cjs} +1 -1
  91. package/dist/{mindmap-definition-I2QAS2VK-C2KpoDqG.js → mindmap-definition-I2QAS2VK-DgJirDRS.js} +7 -7
  92. package/dist/ordinal-CeUiYJ7_.cjs +1 -0
  93. package/dist/ordinal-DFWF7eBM.js +28 -0
  94. package/dist/{pegDiagram-FD4XPPHP-D0OZoETj.cjs → pegDiagram-FD4XPPHP-DFmA0OWh.cjs} +1 -1
  95. package/dist/{pegDiagram-FD4XPPHP-CSA4sB83.js → pegDiagram-FD4XPPHP-DpYyVjjQ.js} +2 -2
  96. package/dist/pi-outpost-embed.cjs +44 -44
  97. package/dist/pi-outpost-embed.js +5049 -4128
  98. package/dist/pieDiagram-J4AKIIQI-Cz-UbIk9.cjs +39 -0
  99. package/dist/pieDiagram-J4AKIIQI-DuqHiYUq.js +155 -0
  100. package/dist/{quadrantDiagram-XTYBLID2-BjaZuA3m.js → quadrantDiagram-XTYBLID2-B94UoyXc.js} +1 -1
  101. package/dist/{quadrantDiagram-XTYBLID2-CfdtTmYm.cjs → quadrantDiagram-XTYBLID2-BCN9RHwV.cjs} +1 -1
  102. package/dist/{railroadDiagram-MRQ6NCDL-DDOA_8gY.cjs → railroadDiagram-MRQ6NCDL-BlrwhMUX.cjs} +1 -1
  103. package/dist/{railroadDiagram-MRQ6NCDL-DgAKQKiD.js → railroadDiagram-MRQ6NCDL-Br7PQgSm.js} +2 -2
  104. package/dist/{requirementDiagram-Y7LWUY3S-Bhlk2ueA.js → requirementDiagram-Y7LWUY3S-CT4WIq10.js} +7 -7
  105. package/dist/{requirementDiagram-Y7LWUY3S-nSr_pknl.cjs → requirementDiagram-Y7LWUY3S-CzR9zsNk.cjs} +1 -1
  106. package/dist/{sankeyDiagram-WGJFYUXA-x6J896b3.cjs → sankeyDiagram-WGJFYUXA-D8LLSvqn.cjs} +1 -1
  107. package/dist/{sankeyDiagram-WGJFYUXA-DUYWd4HF.js → sankeyDiagram-WGJFYUXA-DiEth1kw.js} +1 -1
  108. package/dist/{sequenceDiagram-5NDRBG5M-BFgcr8MT.cjs → sequenceDiagram-5NDRBG5M-BATWsrlf.cjs} +1 -1
  109. package/dist/{sequenceDiagram-5NDRBG5M-D1YS8Amk.js → sequenceDiagram-5NDRBG5M-DJ1ruzP_.js} +4 -4
  110. package/dist/{stateDiagram-v2-FJ4FJNEA-6j2vDdvl.js → stateDiagram-v2-FJ4FJNEA-CtEFZimW.js} +8 -8
  111. package/dist/{stateDiagram-v2-FJ4FJNEA-DOTmLAY2.cjs → stateDiagram-v2-FJ4FJNEA-DS0IS9Xt.cjs} +1 -1
  112. package/dist/{swimlanes-UMQ2AFYF-CNb1NF60.js → swimlanes-UMQ2AFYF-B9sFO11Y.js} +8 -8
  113. package/dist/{swimlanes-UMQ2AFYF-BQLQzNLz.cjs → swimlanes-UMQ2AFYF-CNdzpvk7.cjs} +1 -1
  114. package/dist/{swimlanesDiagram-OMPLPG4O-BOl138lS.js → swimlanesDiagram-OMPLPG4O-CEjeo6Pa.js} +9 -9
  115. package/dist/swimlanesDiagram-OMPLPG4O-F8fhW_eR.cjs +8 -0
  116. package/dist/{timeline-definition-SEUHKTQE-B_909Amn.js → timeline-definition-SEUHKTQE-BiPtPmVz.js} +3 -3
  117. package/dist/{timeline-definition-SEUHKTQE-Du5-RSsU.cjs → timeline-definition-SEUHKTQE-CHvbMdoq.cjs} +2 -2
  118. package/dist/{usecaseDiagram-AFA6YXN4-BUs_YsqB.cjs → usecaseDiagram-AFA6YXN4-B_KoFCdb.cjs} +1 -1
  119. package/dist/{usecaseDiagram-AFA6YXN4-CiVGRP5X.js → usecaseDiagram-AFA6YXN4-VzWSjfFU.js} +7 -7
  120. package/dist/{vennDiagram-NNMJR3RB-CKxaec4G.cjs → vennDiagram-NNMJR3RB-BRWZo29n.cjs} +1 -1
  121. package/dist/{vennDiagram-NNMJR3RB-l3A_FZxZ.js → vennDiagram-NNMJR3RB-D5u2Njla.js} +2 -2
  122. package/dist/{wardleyDiagram-S7YFUSEH-Ctqri3T4.cjs → wardleyDiagram-S7YFUSEH-CSq-zmI3.cjs} +2 -2
  123. package/dist/{wardleyDiagram-S7YFUSEH-BMQf5dl9.js → wardleyDiagram-S7YFUSEH-VNmN8A6j.js} +5 -5
  124. package/dist/{xychartDiagram-GGNKY7IX-CuFU4ynf.js → xychartDiagram-GGNKY7IX-D-eT4Gjt.js} +18 -25
  125. package/dist/{xychartDiagram-GGNKY7IX-BUma86Wh.cjs → xychartDiagram-GGNKY7IX-D4bccPOk.cjs} +3 -3
  126. package/package.json +1 -1
  127. package/dist/arc-37kcMiGl.js +0 -82
  128. package/dist/arc-C7P0rHQr.cjs +0 -1
  129. package/dist/array-CApNbSU9.js +0 -6
  130. package/dist/array-DZSRzHA_.cjs +0 -1
  131. package/dist/chunk-6MUBBAK2-BTabKnTR.cjs +0 -2
  132. package/dist/chunk-6MUBBAK2-DlUTxzYh.js +0 -1334
  133. package/dist/chunk-DQASFODM-BBkQ8gE7.cjs +0 -10
  134. package/dist/dist-BB5r6V4R.cjs +0 -1
  135. package/dist/dist-CZhfI1u7.js +0 -59
  136. package/dist/download-DVJ5QY85.js +0 -7
  137. package/dist/download-U7JEZ6c9.cjs +0 -1
  138. package/dist/flowDiagram-MALGAFMO-D2e4rl0I.js +0 -15
  139. package/dist/flowDiagram-MALGAFMO-ZfeGO5tQ.cjs +0 -1
  140. package/dist/ganttDiagram-23REXITY-D82ogzPM.cjs +0 -292
  141. package/dist/init-BJdqMO10.cjs +0 -1
  142. package/dist/init-CuXVI8k2.js +0 -13
  143. package/dist/line-Bf0B129l.cjs +0 -1
  144. package/dist/line-DRq00lCg.js +0 -34
  145. package/dist/linear-Bh2vuvAF.cjs +0 -1
  146. package/dist/linear-CxE0kir0.js +0 -287
  147. package/dist/ordinal-Bm_chml2.cjs +0 -1
  148. package/dist/ordinal-D3SPD7Kk.js +0 -65
  149. package/dist/path-DIS6ck99.cjs +0 -1
  150. package/dist/path-PGqhG0Rz.js +0 -84
  151. package/dist/pieDiagram-J4AKIIQI-CNLlH6kK.js +0 -203
  152. package/dist/pieDiagram-J4AKIIQI-O870G6iX.cjs +0 -39
  153. package/dist/swimlanesDiagram-OMPLPG4O-BNDsO6gw.cjs +0 -8
@@ -0,0 +1,1007 @@
1
+ import { t as e } from "./rolldown-runtime-5HNE8Q1r.js";
2
+ //#region ../node_modules/d3-path/dist/d3-path.mjs
3
+ var t = Math.PI, n = 2 * t, r = 1e-6, i = n - r;
4
+ function a(e) {
5
+ this._ += e[0];
6
+ for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
7
+ }
8
+ function o(e) {
9
+ let t = Math.floor(e);
10
+ if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
11
+ if (t > 15) return a;
12
+ let n = 10 ** t;
13
+ return function(e) {
14
+ this._ += e[0];
15
+ for (let t = 1, r = e.length; t < r; ++t) this._ += Math.round(arguments[t] * n) / n + e[t];
16
+ };
17
+ }
18
+ function s(e, t, n, r) {
19
+ return e === n && t === r;
20
+ }
21
+ function c(e) {
22
+ let t = Math.floor(e);
23
+ if (!(t <= 15)) return s;
24
+ let n = 10 ** t, r = function(e) {
25
+ return Math.round(e * n);
26
+ };
27
+ return function(e, t, n, i) {
28
+ return r(e) === r(n) && r(t) === r(i);
29
+ };
30
+ }
31
+ var l = class {
32
+ constructor(e) {
33
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? a : o(e), this._equal = e == null ? s : c(e);
34
+ }
35
+ moveTo(e, t) {
36
+ this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
37
+ }
38
+ closePath() {
39
+ this._x1 !== null && (this._x1 = this._x0, this._y1 = this._y0, this._append`Z`);
40
+ }
41
+ lineTo(e, t) {
42
+ this._append`L${this._x1 = +e},${this._y1 = +t}`;
43
+ }
44
+ quadraticCurveTo(e, t, n, r) {
45
+ this._append`Q${+e},${+t},${this._x1 = +n},${this._y1 = +r}`;
46
+ }
47
+ bezierCurveTo(e, t, n, r, i, a) {
48
+ this._append`C${+e},${+t},${+n},${+r},${this._x1 = +i},${this._y1 = +a}`;
49
+ }
50
+ arcTo(e, n, i, a, o) {
51
+ if (e = +e, n = +n, i = +i, a = +a, o = +o, o < 0) throw Error(`negative radius: ${o}`);
52
+ let s = this._x1, c = this._y1, l = i - e, u = a - n, d = s - e, f = c - n, p = d * d + f * f;
53
+ if (this._x1 === null) this._append`M${this._x1 = e},${this._y1 = n}`;
54
+ else if (p > r) {
55
+ if (!(Math.abs(f * l - u * d) > r) || !o) this._append`L${this._x1 = e},${this._y1 = n}`;
56
+ else {
57
+ let m = i - s, h = a - c, g = l * l + u * u, _ = m * m + h * h, v = Math.sqrt(g), y = Math.sqrt(p), b = o * Math.tan((t - Math.acos((g + p - _) / (2 * v * y))) / 2), x = b / y, S = b / v;
58
+ Math.abs(x - 1) > r && this._append`L${e + x * d},${n + x * f}`, this._append`A${o},${o},0,0,${+(f * m > d * h)},${this._x1 = e + S * l},${this._y1 = n + S * u}`;
59
+ }
60
+ }
61
+ }
62
+ arc(e, a, o, s, c, l) {
63
+ if (e = +e, a = +a, o = +o, l = !!l, o < 0) throw Error(`negative radius: ${o}`);
64
+ let u = o * Math.cos(s), d = o * Math.sin(s), f = e + u, p = a + d, m = 1 ^ l, h = l ? s - c : c - s;
65
+ if (this._x1 === null ? this._append`M${f},${p}` : (Math.abs(this._x1 - f) > r || Math.abs(this._y1 - p) > r) && this._append`L${f},${p}`, o) {
66
+ if (h < 0 && (h = h % n + n), h > i) this._append`A${o},${o},0,1,${m},${e - u},${a - d}A${o},${o},0,1,${m},${this._x1 = f},${this._y1 = p}`;
67
+ else if (h > r) {
68
+ let n = e + o * Math.cos(c), r = a + o * Math.sin(c);
69
+ if (h >= t && this._equal(f, p, n, r)) {
70
+ h /= 2;
71
+ let n = s + h;
72
+ this._append`A${o},${o},0,${+(h >= t)},${m},${e + o * Math.cos(n)},${a + o * Math.sin(n)}`;
73
+ }
74
+ this._append`A${o},${o},0,${+(h >= t)},${m},${this._x1 = n},${this._y1 = r}`;
75
+ }
76
+ }
77
+ }
78
+ rect(e, t, n, r) {
79
+ this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}h${n = +n}v${+r}h${-n}Z`;
80
+ }
81
+ toString() {
82
+ return this._;
83
+ }
84
+ };
85
+ l.prototype;
86
+ //#endregion
87
+ //#region ../node_modules/d3-shape/dist/d3-shape.mjs
88
+ function u(e) {
89
+ return function() {
90
+ return e;
91
+ };
92
+ }
93
+ var d = Math.abs, f = Math.atan2, p = Math.cos, m = Math.max, h = Math.min, g = Math.sin, _ = Math.sqrt, v = 1e-12, y = Math.PI, b = y / 2, x = 2 * y;
94
+ function S(e) {
95
+ return e > 1 ? 0 : e < -1 ? y : Math.acos(e);
96
+ }
97
+ function C(e) {
98
+ return e >= 1 ? b : e <= -1 ? -b : Math.asin(e);
99
+ }
100
+ function w(e) {
101
+ let t = 3;
102
+ return e.digits = function(n) {
103
+ if (!arguments.length) return t;
104
+ if (n == null) t = null;
105
+ else {
106
+ let e = Math.floor(n);
107
+ if (!(e >= 0)) throw RangeError(`invalid digits: ${n}`);
108
+ t = e;
109
+ }
110
+ return e;
111
+ }, () => new l(t);
112
+ }
113
+ function T(e) {
114
+ return e.innerRadius;
115
+ }
116
+ function E(e) {
117
+ return e.outerRadius;
118
+ }
119
+ function D(e) {
120
+ return e.startAngle;
121
+ }
122
+ function O(e) {
123
+ return e.endAngle;
124
+ }
125
+ function k(e) {
126
+ return e && e.padAngle;
127
+ }
128
+ function ee(e, t, n, r, i, a, o, s) {
129
+ var c = n - e, l = r - t, u = o - i, d = s - a, f = d * c - u * l;
130
+ if (!(f * f < v)) return f = (u * (t - a) - d * (e - i)) / f, [e + f * c, t + f * l];
131
+ }
132
+ function A(e, t, n, r, i, a, o) {
133
+ var s = e - n, c = t - r, l = (o ? a : -a) / _(s * s + c * c), u = l * c, d = -l * s, f = e + u, p = t + d, h = n + u, g = r + d, v = (f + h) / 2, y = (p + g) / 2, b = h - f, x = g - p, S = b * b + x * x, C = i - a, w = f * g - h * p, T = (x < 0 ? -1 : 1) * _(m(0, C * C * S - w * w)), E = (w * x - b * T) / S, D = (-w * b - x * T) / S, O = (w * x + b * T) / S, k = (-w * b + x * T) / S, ee = E - v, A = D - y, j = O - v, M = k - y;
134
+ return ee * ee + A * A > j * j + M * M && (E = O, D = k), {
135
+ cx: E,
136
+ cy: D,
137
+ x01: -u,
138
+ y01: -d,
139
+ x11: E * (i / C - 1),
140
+ y11: D * (i / C - 1)
141
+ };
142
+ }
143
+ function j() {
144
+ var e = T, t = E, n = u(0), r = null, i = D, a = O, o = k, s = null, c = w(l);
145
+ function l() {
146
+ var l, u, m = +e.apply(this, arguments), w = +t.apply(this, arguments), T = i.apply(this, arguments) - b, E = a.apply(this, arguments) - b, D = d(E - T), O = E > T;
147
+ if (s ||= l = c(), w < m && (u = w, w = m, m = u), !(w > v)) s.moveTo(0, 0);
148
+ else if (D > x - v) s.moveTo(w * p(T), w * g(T)), s.arc(0, 0, w, T, E, !O), m > v && (s.moveTo(m * p(E), m * g(E)), s.arc(0, 0, m, E, T, O));
149
+ else {
150
+ var k = T, j = E, M = T, N = E, P = D, te = D, ne = o.apply(this, arguments) / 2, F = ne > v && (r ? +r.apply(this, arguments) : _(m * m + w * w)), I = h(d(w - m) / 2, +n.apply(this, arguments)), L = I, R = I, z, B;
151
+ if (F > v) {
152
+ var V = C(F / m * g(ne)), H = C(F / w * g(ne));
153
+ (P -= V * 2) > v ? (V *= O ? 1 : -1, M += V, N -= V) : (P = 0, M = N = (T + E) / 2), (te -= H * 2) > v ? (H *= O ? 1 : -1, k += H, j -= H) : (te = 0, k = j = (T + E) / 2);
154
+ }
155
+ var U = w * p(k), W = w * g(k), G = m * p(N), K = m * g(N);
156
+ if (I > v) {
157
+ var q = w * p(j), J = w * g(j), Y = m * p(M), re = m * g(M), X;
158
+ if (D < y) {
159
+ if (X = ee(U, W, Y, re, q, J, G, K)) {
160
+ var ie = U - X[0], Z = W - X[1], ae = q - X[0], Q = J - X[1], $ = 1 / g(S((ie * ae + Z * Q) / (_(ie * ie + Z * Z) * _(ae * ae + Q * Q))) / 2), oe = _(X[0] * X[0] + X[1] * X[1]);
161
+ L = h(I, (m - oe) / ($ - 1)), R = h(I, (w - oe) / ($ + 1));
162
+ } else L = R = 0;
163
+ }
164
+ }
165
+ te > v ? R > v ? (z = A(Y, re, U, W, w, R, O), B = A(q, J, G, K, w, R, O), s.moveTo(z.cx + z.x01, z.cy + z.y01), R < I ? s.arc(z.cx, z.cy, R, f(z.y01, z.x01), f(B.y01, B.x01), !O) : (s.arc(z.cx, z.cy, R, f(z.y01, z.x01), f(z.y11, z.x11), !O), s.arc(0, 0, w, f(z.cy + z.y11, z.cx + z.x11), f(B.cy + B.y11, B.cx + B.x11), !O), s.arc(B.cx, B.cy, R, f(B.y11, B.x11), f(B.y01, B.x01), !O))) : (s.moveTo(U, W), s.arc(0, 0, w, k, j, !O)) : s.moveTo(U, W), !(m > v) || !(P > v) ? s.lineTo(G, K) : L > v ? (z = A(G, K, q, J, m, -L, O), B = A(U, W, Y, re, m, -L, O), s.lineTo(z.cx + z.x01, z.cy + z.y01), L < I ? s.arc(z.cx, z.cy, L, f(z.y01, z.x01), f(B.y01, B.x01), !O) : (s.arc(z.cx, z.cy, L, f(z.y01, z.x01), f(z.y11, z.x11), !O), s.arc(0, 0, m, f(z.cy + z.y11, z.cx + z.x11), f(B.cy + B.y11, B.cx + B.x11), O), s.arc(B.cx, B.cy, L, f(B.y11, B.x11), f(B.y01, B.x01), !O))) : s.arc(0, 0, m, N, M, O);
166
+ }
167
+ if (s.closePath(), l) return s = null, l + "" || null;
168
+ }
169
+ return l.centroid = function() {
170
+ var n = (+e.apply(this, arguments) + +t.apply(this, arguments)) / 2, r = (+i.apply(this, arguments) + +a.apply(this, arguments)) / 2 - y / 2;
171
+ return [p(r) * n, g(r) * n];
172
+ }, l.innerRadius = function(t) {
173
+ return arguments.length ? (e = typeof t == "function" ? t : u(+t), l) : e;
174
+ }, l.outerRadius = function(e) {
175
+ return arguments.length ? (t = typeof e == "function" ? e : u(+e), l) : t;
176
+ }, l.cornerRadius = function(e) {
177
+ return arguments.length ? (n = typeof e == "function" ? e : u(+e), l) : n;
178
+ }, l.padRadius = function(e) {
179
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : u(+e), l) : r;
180
+ }, l.startAngle = function(e) {
181
+ return arguments.length ? (i = typeof e == "function" ? e : u(+e), l) : i;
182
+ }, l.endAngle = function(e) {
183
+ return arguments.length ? (a = typeof e == "function" ? e : u(+e), l) : a;
184
+ }, l.padAngle = function(e) {
185
+ return arguments.length ? (o = typeof e == "function" ? e : u(+e), l) : o;
186
+ }, l.context = function(e) {
187
+ return arguments.length ? (s = e ?? null, l) : s;
188
+ }, l;
189
+ }
190
+ Array.prototype.slice;
191
+ function M(e) {
192
+ return typeof e == "object" && "length" in e ? e : Array.from(e);
193
+ }
194
+ function N(e) {
195
+ this._context = e;
196
+ }
197
+ N.prototype = {
198
+ areaStart: function() {
199
+ this._line = 0;
200
+ },
201
+ areaEnd: function() {
202
+ this._line = NaN;
203
+ },
204
+ lineStart: function() {
205
+ this._point = 0;
206
+ },
207
+ lineEnd: function() {
208
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
209
+ },
210
+ point: function(e, t) {
211
+ switch (e = +e, t = +t, this._point) {
212
+ case 0:
213
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
214
+ break;
215
+ case 1: this._point = 2;
216
+ default: this._context.lineTo(e, t);
217
+ }
218
+ }
219
+ };
220
+ function P(e) {
221
+ return new N(e);
222
+ }
223
+ function te(e) {
224
+ return e[0];
225
+ }
226
+ function ne(e) {
227
+ return e[1];
228
+ }
229
+ function F(e, t) {
230
+ var n = u(!0), r = null, i = P, a = null, o = w(s);
231
+ e = typeof e == "function" ? e : e === void 0 ? te : u(e), t = typeof t == "function" ? t : t === void 0 ? ne : u(t);
232
+ function s(s) {
233
+ var c, l = (s = M(s)).length, u, d = !1, f;
234
+ for (r ?? (a = i(f = o())), c = 0; c <= l; ++c) !(c < l && n(u = s[c], c, s)) === d && ((d = !d) ? a.lineStart() : a.lineEnd()), d && a.point(+e(u, c, s), +t(u, c, s));
235
+ if (f) return a = null, f + "" || null;
236
+ }
237
+ return s.x = function(t) {
238
+ return arguments.length ? (e = typeof t == "function" ? t : u(+t), s) : e;
239
+ }, s.y = function(e) {
240
+ return arguments.length ? (t = typeof e == "function" ? e : u(+e), s) : t;
241
+ }, s.defined = function(e) {
242
+ return arguments.length ? (n = typeof e == "function" ? e : u(!!e), s) : n;
243
+ }, s.curve = function(e) {
244
+ return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
245
+ }, s.context = function(e) {
246
+ return arguments.length ? (e == null ? r = a = null : a = i(r = e), s) : r;
247
+ }, s;
248
+ }
249
+ function I(e, t) {
250
+ return t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
251
+ }
252
+ function L(e) {
253
+ return e;
254
+ }
255
+ function R() {
256
+ var e = L, t = I, n = null, r = u(0), i = u(x), a = u(0);
257
+ function o(o) {
258
+ var s, c = (o = M(o)).length, l, u, d = 0, f = Array(c), p = Array(c), m = +r.apply(this, arguments), h = Math.min(x, Math.max(-x, i.apply(this, arguments) - m)), g, _ = Math.min(Math.abs(h) / c, a.apply(this, arguments)), v = _ * (h < 0 ? -1 : 1), y;
259
+ for (s = 0; s < c; ++s) (y = p[f[s] = s] = +e(o[s], s, o)) > 0 && (d += y);
260
+ for (t == null ? n != null && f.sort(function(e, t) {
261
+ return n(o[e], o[t]);
262
+ }) : f.sort(function(e, n) {
263
+ return t(p[e], p[n]);
264
+ }), s = 0, u = d ? (h - c * v) / d : 0; s < c; ++s, m = g) l = f[s], y = p[l], g = m + (y > 0 ? y * u : 0) + v, p[l] = {
265
+ data: o[l],
266
+ index: s,
267
+ value: y,
268
+ startAngle: m,
269
+ endAngle: g,
270
+ padAngle: _
271
+ };
272
+ return p;
273
+ }
274
+ return o.value = function(t) {
275
+ return arguments.length ? (e = typeof t == "function" ? t : u(+t), o) : e;
276
+ }, o.sortValues = function(e) {
277
+ return arguments.length ? (t = e, n = null, o) : t;
278
+ }, o.sort = function(e) {
279
+ return arguments.length ? (n = e, t = null, o) : n;
280
+ }, o.startAngle = function(e) {
281
+ return arguments.length ? (r = typeof e == "function" ? e : u(+e), o) : r;
282
+ }, o.endAngle = function(e) {
283
+ return arguments.length ? (i = typeof e == "function" ? e : u(+e), o) : i;
284
+ }, o.padAngle = function(e) {
285
+ return arguments.length ? (a = typeof e == "function" ? e : u(+e), o) : a;
286
+ }, o;
287
+ }
288
+ B(P);
289
+ function z(e) {
290
+ this._curve = e;
291
+ }
292
+ z.prototype = {
293
+ areaStart: function() {
294
+ this._curve.areaStart();
295
+ },
296
+ areaEnd: function() {
297
+ this._curve.areaEnd();
298
+ },
299
+ lineStart: function() {
300
+ this._curve.lineStart();
301
+ },
302
+ lineEnd: function() {
303
+ this._curve.lineEnd();
304
+ },
305
+ point: function(e, t) {
306
+ this._curve.point(t * Math.sin(e), t * -Math.cos(e));
307
+ }
308
+ };
309
+ function B(e) {
310
+ function t(t) {
311
+ return new z(e(t));
312
+ }
313
+ return t._curve = e, t;
314
+ }
315
+ var V = class {
316
+ constructor(e, t) {
317
+ this._context = e, this._x = t;
318
+ }
319
+ areaStart() {
320
+ this._line = 0;
321
+ }
322
+ areaEnd() {
323
+ this._line = NaN;
324
+ }
325
+ lineStart() {
326
+ this._point = 0;
327
+ }
328
+ lineEnd() {
329
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
330
+ }
331
+ point(e, t) {
332
+ switch (e = +e, t = +t, this._point) {
333
+ case 0:
334
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
335
+ break;
336
+ case 1: this._point = 2;
337
+ default: this._x ? this._context.bezierCurveTo(this._x0 = (this._x0 + e) / 2, this._y0, this._x0, t, e, t) : this._context.bezierCurveTo(this._x0, this._y0 = (this._y0 + t) / 2, e, this._y0, e, t);
338
+ }
339
+ this._x0 = e, this._y0 = t;
340
+ }
341
+ };
342
+ function H(e) {
343
+ return new V(e, !0);
344
+ }
345
+ function U(e) {
346
+ return new V(e, !1);
347
+ }
348
+ _(3), _(1 / 3) * 2;
349
+ var W = g(y / 10) / g(7 * y / 10);
350
+ g(x / 10) * W, -p(x / 10) * W, _(3), _(3), _(3) / 2, (1 / _(12) / 2 + 1) * 3;
351
+ function G() {}
352
+ function K(e, t, n) {
353
+ e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);
354
+ }
355
+ function q(e) {
356
+ this._context = e;
357
+ }
358
+ q.prototype = {
359
+ areaStart: function() {
360
+ this._line = 0;
361
+ },
362
+ areaEnd: function() {
363
+ this._line = NaN;
364
+ },
365
+ lineStart: function() {
366
+ this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
367
+ },
368
+ lineEnd: function() {
369
+ switch (this._point) {
370
+ case 3: K(this, this._x1, this._y1);
371
+ case 2: this._context.lineTo(this._x1, this._y1);
372
+ }
373
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
374
+ },
375
+ point: function(e, t) {
376
+ switch (e = +e, t = +t, this._point) {
377
+ case 0:
378
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
379
+ break;
380
+ case 1:
381
+ this._point = 2;
382
+ break;
383
+ case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
384
+ default: K(this, e, t);
385
+ }
386
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
387
+ }
388
+ };
389
+ function J(e) {
390
+ return new q(e);
391
+ }
392
+ function Y(e) {
393
+ this._context = e;
394
+ }
395
+ Y.prototype = {
396
+ areaStart: G,
397
+ areaEnd: G,
398
+ lineStart: function() {
399
+ this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
400
+ },
401
+ lineEnd: function() {
402
+ switch (this._point) {
403
+ case 1:
404
+ this._context.moveTo(this._x2, this._y2), this._context.closePath();
405
+ break;
406
+ case 2:
407
+ this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3), this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3), this._context.closePath();
408
+ break;
409
+ case 3: this.point(this._x2, this._y2), this.point(this._x3, this._y3), this.point(this._x4, this._y4);
410
+ }
411
+ },
412
+ point: function(e, t) {
413
+ switch (e = +e, t = +t, this._point) {
414
+ case 0:
415
+ this._point = 1, this._x2 = e, this._y2 = t;
416
+ break;
417
+ case 1:
418
+ this._point = 2, this._x3 = e, this._y3 = t;
419
+ break;
420
+ case 2:
421
+ this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);
422
+ break;
423
+ default: K(this, e, t);
424
+ }
425
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
426
+ }
427
+ };
428
+ function re(e) {
429
+ return new Y(e);
430
+ }
431
+ function X(e) {
432
+ this._context = e;
433
+ }
434
+ X.prototype = {
435
+ areaStart: function() {
436
+ this._line = 0;
437
+ },
438
+ areaEnd: function() {
439
+ this._line = NaN;
440
+ },
441
+ lineStart: function() {
442
+ this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
443
+ },
444
+ lineEnd: function() {
445
+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
446
+ },
447
+ point: function(e, t) {
448
+ switch (e = +e, t = +t, this._point) {
449
+ case 0:
450
+ this._point = 1;
451
+ break;
452
+ case 1:
453
+ this._point = 2;
454
+ break;
455
+ case 2:
456
+ this._point = 3;
457
+ var n = (this._x0 + 4 * this._x1 + e) / 6, r = (this._y0 + 4 * this._y1 + t) / 6;
458
+ this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
459
+ break;
460
+ case 3: this._point = 4;
461
+ default: K(this, e, t);
462
+ }
463
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
464
+ }
465
+ };
466
+ function ie(e) {
467
+ return new X(e);
468
+ }
469
+ function Z(e, t) {
470
+ this._basis = new q(e), this._beta = t;
471
+ }
472
+ Z.prototype = {
473
+ lineStart: function() {
474
+ this._x = [], this._y = [], this._basis.lineStart();
475
+ },
476
+ lineEnd: function() {
477
+ var e = this._x, t = this._y, n = e.length - 1;
478
+ if (n > 0) for (var r = e[0], i = t[0], a = e[n] - r, o = t[n] - i, s = -1, c; ++s <= n;) c = s / n, this._basis.point(this._beta * e[s] + (1 - this._beta) * (r + c * a), this._beta * t[s] + (1 - this._beta) * (i + c * o));
479
+ this._x = this._y = null, this._basis.lineEnd();
480
+ },
481
+ point: function(e, t) {
482
+ this._x.push(+e), this._y.push(+t);
483
+ }
484
+ };
485
+ var ae = (function e(t) {
486
+ function n(e) {
487
+ return t === 1 ? new q(e) : new Z(e, t);
488
+ }
489
+ return n.beta = function(t) {
490
+ return e(+t);
491
+ }, n;
492
+ })(.85);
493
+ function Q(e, t, n) {
494
+ e._context.bezierCurveTo(e._x1 + e._k * (e._x2 - e._x0), e._y1 + e._k * (e._y2 - e._y0), e._x2 + e._k * (e._x1 - t), e._y2 + e._k * (e._y1 - n), e._x2, e._y2);
495
+ }
496
+ function $(e, t) {
497
+ this._context = e, this._k = (1 - t) / 6;
498
+ }
499
+ $.prototype = {
500
+ areaStart: function() {
501
+ this._line = 0;
502
+ },
503
+ areaEnd: function() {
504
+ this._line = NaN;
505
+ },
506
+ lineStart: function() {
507
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
508
+ },
509
+ lineEnd: function() {
510
+ switch (this._point) {
511
+ case 2:
512
+ this._context.lineTo(this._x2, this._y2);
513
+ break;
514
+ case 3: Q(this, this._x1, this._y1);
515
+ }
516
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
517
+ },
518
+ point: function(e, t) {
519
+ switch (e = +e, t = +t, this._point) {
520
+ case 0:
521
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
522
+ break;
523
+ case 1:
524
+ this._point = 2, this._x1 = e, this._y1 = t;
525
+ break;
526
+ case 2: this._point = 3;
527
+ default: Q(this, e, t);
528
+ }
529
+ this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
530
+ }
531
+ };
532
+ var oe = (function e(t) {
533
+ function n(e) {
534
+ return new $(e, t);
535
+ }
536
+ return n.tension = function(t) {
537
+ return e(+t);
538
+ }, n;
539
+ })(0);
540
+ function se(e, t) {
541
+ this._context = e, this._k = (1 - t) / 6;
542
+ }
543
+ se.prototype = {
544
+ areaStart: G,
545
+ areaEnd: G,
546
+ lineStart: function() {
547
+ this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._point = 0;
548
+ },
549
+ lineEnd: function() {
550
+ switch (this._point) {
551
+ case 1:
552
+ this._context.moveTo(this._x3, this._y3), this._context.closePath();
553
+ break;
554
+ case 2:
555
+ this._context.lineTo(this._x3, this._y3), this._context.closePath();
556
+ break;
557
+ case 3: this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
558
+ }
559
+ },
560
+ point: function(e, t) {
561
+ switch (e = +e, t = +t, this._point) {
562
+ case 0:
563
+ this._point = 1, this._x3 = e, this._y3 = t;
564
+ break;
565
+ case 1:
566
+ this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t);
567
+ break;
568
+ case 2:
569
+ this._point = 3, this._x5 = e, this._y5 = t;
570
+ break;
571
+ default: Q(this, e, t);
572
+ }
573
+ this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
574
+ }
575
+ };
576
+ var ce = (function e(t) {
577
+ function n(e) {
578
+ return new se(e, t);
579
+ }
580
+ return n.tension = function(t) {
581
+ return e(+t);
582
+ }, n;
583
+ })(0);
584
+ function le(e, t) {
585
+ this._context = e, this._k = (1 - t) / 6;
586
+ }
587
+ le.prototype = {
588
+ areaStart: function() {
589
+ this._line = 0;
590
+ },
591
+ areaEnd: function() {
592
+ this._line = NaN;
593
+ },
594
+ lineStart: function() {
595
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
596
+ },
597
+ lineEnd: function() {
598
+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
599
+ },
600
+ point: function(e, t) {
601
+ switch (e = +e, t = +t, this._point) {
602
+ case 0:
603
+ this._point = 1;
604
+ break;
605
+ case 1:
606
+ this._point = 2;
607
+ break;
608
+ case 2:
609
+ this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
610
+ break;
611
+ case 3: this._point = 4;
612
+ default: Q(this, e, t);
613
+ }
614
+ this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
615
+ }
616
+ };
617
+ var ue = (function e(t) {
618
+ function n(e) {
619
+ return new le(e, t);
620
+ }
621
+ return n.tension = function(t) {
622
+ return e(+t);
623
+ }, n;
624
+ })(0);
625
+ function de(e, t, n) {
626
+ var r = e._x1, i = e._y1, a = e._x2, o = e._y2;
627
+ if (e._l01_a > v) {
628
+ var s = 2 * e._l01_2a + 3 * e._l01_a * e._l12_a + e._l12_2a, c = 3 * e._l01_a * (e._l01_a + e._l12_a);
629
+ r = (r * s - e._x0 * e._l12_2a + e._x2 * e._l01_2a) / c, i = (i * s - e._y0 * e._l12_2a + e._y2 * e._l01_2a) / c;
630
+ }
631
+ if (e._l23_a > v) {
632
+ var l = 2 * e._l23_2a + 3 * e._l23_a * e._l12_a + e._l12_2a, u = 3 * e._l23_a * (e._l23_a + e._l12_a);
633
+ a = (a * l + e._x1 * e._l23_2a - t * e._l12_2a) / u, o = (o * l + e._y1 * e._l23_2a - n * e._l12_2a) / u;
634
+ }
635
+ e._context.bezierCurveTo(r, i, a, o, e._x2, e._y2);
636
+ }
637
+ function fe(e, t) {
638
+ this._context = e, this._alpha = t;
639
+ }
640
+ fe.prototype = {
641
+ areaStart: function() {
642
+ this._line = 0;
643
+ },
644
+ areaEnd: function() {
645
+ this._line = NaN;
646
+ },
647
+ lineStart: function() {
648
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
649
+ },
650
+ lineEnd: function() {
651
+ switch (this._point) {
652
+ case 2:
653
+ this._context.lineTo(this._x2, this._y2);
654
+ break;
655
+ case 3: this.point(this._x2, this._y2);
656
+ }
657
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
658
+ },
659
+ point: function(e, t) {
660
+ if (e = +e, t = +t, this._point) {
661
+ var n = this._x2 - e, r = this._y2 - t;
662
+ this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
663
+ }
664
+ switch (this._point) {
665
+ case 0:
666
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
667
+ break;
668
+ case 1:
669
+ this._point = 2;
670
+ break;
671
+ case 2: this._point = 3;
672
+ default: de(this, e, t);
673
+ }
674
+ this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
675
+ }
676
+ };
677
+ var pe = (function e(t) {
678
+ function n(e) {
679
+ return t ? new fe(e, t) : new $(e, 0);
680
+ }
681
+ return n.alpha = function(t) {
682
+ return e(+t);
683
+ }, n;
684
+ })(.5);
685
+ function me(e, t) {
686
+ this._context = e, this._alpha = t;
687
+ }
688
+ me.prototype = {
689
+ areaStart: G,
690
+ areaEnd: G,
691
+ lineStart: function() {
692
+ this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
693
+ },
694
+ lineEnd: function() {
695
+ switch (this._point) {
696
+ case 1:
697
+ this._context.moveTo(this._x3, this._y3), this._context.closePath();
698
+ break;
699
+ case 2:
700
+ this._context.lineTo(this._x3, this._y3), this._context.closePath();
701
+ break;
702
+ case 3: this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
703
+ }
704
+ },
705
+ point: function(e, t) {
706
+ if (e = +e, t = +t, this._point) {
707
+ var n = this._x2 - e, r = this._y2 - t;
708
+ this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
709
+ }
710
+ switch (this._point) {
711
+ case 0:
712
+ this._point = 1, this._x3 = e, this._y3 = t;
713
+ break;
714
+ case 1:
715
+ this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t);
716
+ break;
717
+ case 2:
718
+ this._point = 3, this._x5 = e, this._y5 = t;
719
+ break;
720
+ default: de(this, e, t);
721
+ }
722
+ this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
723
+ }
724
+ };
725
+ var he = (function e(t) {
726
+ function n(e) {
727
+ return t ? new me(e, t) : new se(e, 0);
728
+ }
729
+ return n.alpha = function(t) {
730
+ return e(+t);
731
+ }, n;
732
+ })(.5);
733
+ function ge(e, t) {
734
+ this._context = e, this._alpha = t;
735
+ }
736
+ ge.prototype = {
737
+ areaStart: function() {
738
+ this._line = 0;
739
+ },
740
+ areaEnd: function() {
741
+ this._line = NaN;
742
+ },
743
+ lineStart: function() {
744
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
745
+ },
746
+ lineEnd: function() {
747
+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
748
+ },
749
+ point: function(e, t) {
750
+ if (e = +e, t = +t, this._point) {
751
+ var n = this._x2 - e, r = this._y2 - t;
752
+ this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
753
+ }
754
+ switch (this._point) {
755
+ case 0:
756
+ this._point = 1;
757
+ break;
758
+ case 1:
759
+ this._point = 2;
760
+ break;
761
+ case 2:
762
+ this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
763
+ break;
764
+ case 3: this._point = 4;
765
+ default: de(this, e, t);
766
+ }
767
+ this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
768
+ }
769
+ };
770
+ var _e = (function e(t) {
771
+ function n(e) {
772
+ return t ? new ge(e, t) : new le(e, 0);
773
+ }
774
+ return n.alpha = function(t) {
775
+ return e(+t);
776
+ }, n;
777
+ })(.5);
778
+ function ve(e) {
779
+ this._context = e;
780
+ }
781
+ ve.prototype = {
782
+ areaStart: G,
783
+ areaEnd: G,
784
+ lineStart: function() {
785
+ this._point = 0;
786
+ },
787
+ lineEnd: function() {
788
+ this._point && this._context.closePath();
789
+ },
790
+ point: function(e, t) {
791
+ e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
792
+ }
793
+ };
794
+ function ye(e) {
795
+ return new ve(e);
796
+ }
797
+ function be(e) {
798
+ return e < 0 ? -1 : 1;
799
+ }
800
+ function xe(e, t, n) {
801
+ var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);
802
+ return (be(a) + be(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
803
+ }
804
+ function Se(e, t) {
805
+ var n = e._x1 - e._x0;
806
+ return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
807
+ }
808
+ function Ce(e, t, n) {
809
+ var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
810
+ e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
811
+ }
812
+ function we(e) {
813
+ this._context = e;
814
+ }
815
+ we.prototype = {
816
+ areaStart: function() {
817
+ this._line = 0;
818
+ },
819
+ areaEnd: function() {
820
+ this._line = NaN;
821
+ },
822
+ lineStart: function() {
823
+ this._x0 = this._x1 = this._y0 = this._y1 = this._t0 = NaN, this._point = 0;
824
+ },
825
+ lineEnd: function() {
826
+ switch (this._point) {
827
+ case 2:
828
+ this._context.lineTo(this._x1, this._y1);
829
+ break;
830
+ case 3: Ce(this, this._t0, Se(this, this._t0));
831
+ }
832
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
833
+ },
834
+ point: function(e, t) {
835
+ var n = NaN;
836
+ if (e = +e, t = +t, e !== this._x1 || t !== this._y1) {
837
+ switch (this._point) {
838
+ case 0:
839
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
840
+ break;
841
+ case 1:
842
+ this._point = 2;
843
+ break;
844
+ case 2:
845
+ this._point = 3, Ce(this, Se(this, n = xe(this, e, t)), n);
846
+ break;
847
+ default: Ce(this, this._t0, n = xe(this, e, t));
848
+ }
849
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
850
+ }
851
+ }
852
+ };
853
+ function Te(e) {
854
+ this._context = new Ee(e);
855
+ }
856
+ (Te.prototype = Object.create(we.prototype)).point = function(e, t) {
857
+ we.prototype.point.call(this, t, e);
858
+ };
859
+ function Ee(e) {
860
+ this._context = e;
861
+ }
862
+ Ee.prototype = {
863
+ moveTo: function(e, t) {
864
+ this._context.moveTo(t, e);
865
+ },
866
+ closePath: function() {
867
+ this._context.closePath();
868
+ },
869
+ lineTo: function(e, t) {
870
+ this._context.lineTo(t, e);
871
+ },
872
+ bezierCurveTo: function(e, t, n, r, i, a) {
873
+ this._context.bezierCurveTo(t, e, r, n, a, i);
874
+ }
875
+ };
876
+ function De(e) {
877
+ return new we(e);
878
+ }
879
+ function Oe(e) {
880
+ return new Te(e);
881
+ }
882
+ function ke(e) {
883
+ this._context = e;
884
+ }
885
+ ke.prototype = {
886
+ areaStart: function() {
887
+ this._line = 0;
888
+ },
889
+ areaEnd: function() {
890
+ this._line = NaN;
891
+ },
892
+ lineStart: function() {
893
+ this._x = [], this._y = [];
894
+ },
895
+ lineEnd: function() {
896
+ var e = this._x, t = this._y, n = e.length;
897
+ if (n) {
898
+ if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
899
+ else for (var r = Ae(e), i = Ae(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
900
+ }
901
+ (this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
902
+ },
903
+ point: function(e, t) {
904
+ this._x.push(+e), this._y.push(+t);
905
+ }
906
+ };
907
+ function Ae(e) {
908
+ var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
909
+ for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];
910
+ for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];
911
+ for (i[n - 1] = o[n - 1] / a[n - 1], t = n - 2; t >= 0; --t) i[t] = (o[t] - i[t + 1]) / a[t];
912
+ for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];
913
+ return [i, a];
914
+ }
915
+ function je(e) {
916
+ return new ke(e);
917
+ }
918
+ function Me(e, t) {
919
+ this._context = e, this._t = t;
920
+ }
921
+ Me.prototype = {
922
+ areaStart: function() {
923
+ this._line = 0;
924
+ },
925
+ areaEnd: function() {
926
+ this._line = NaN;
927
+ },
928
+ lineStart: function() {
929
+ this._x = this._y = NaN, this._point = 0;
930
+ },
931
+ lineEnd: function() {
932
+ 0 < this._t && this._t < 1 && this._point === 2 && this._context.lineTo(this._x, this._y), (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line >= 0 && (this._t = 1 - this._t, this._line = 1 - this._line);
933
+ },
934
+ point: function(e, t) {
935
+ switch (e = +e, t = +t, this._point) {
936
+ case 0:
937
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
938
+ break;
939
+ case 1: this._point = 2;
940
+ default: if (this._t <= 0) this._context.lineTo(this._x, t), this._context.lineTo(e, t);
941
+ else {
942
+ var n = this._x * (1 - this._t) + e * this._t;
943
+ this._context.lineTo(n, this._y), this._context.lineTo(n, t);
944
+ }
945
+ }
946
+ this._x = e, this._y = t;
947
+ }
948
+ };
949
+ function Ne(e) {
950
+ return new Me(e, .5);
951
+ }
952
+ function Pe(e) {
953
+ return new Me(e, 0);
954
+ }
955
+ function Fe(e) {
956
+ return new Me(e, 1);
957
+ }
958
+ //#endregion
959
+ //#region ../node_modules/@braintree/sanitize-url/dist/constants.js
960
+ var Ie = /* @__PURE__ */ e(((e) => {
961
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.BLANK_URL = e.relativeFirstCharacters = e.whitespaceEscapeCharsRegex = e.urlSchemeRegex = e.ctrlCharactersRegex = e.htmlCtrlEntityRegex = e.htmlEntitiesRegex = e.invalidProtocolRegex = void 0, e.invalidProtocolRegex = /^([^\w]*)(javascript|data|vbscript)/im, e.htmlEntitiesRegex = /&#(\w+)(^\w|;)?/g, e.htmlCtrlEntityRegex = /&(newline|tab);/gi, e.ctrlCharactersRegex = /[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim, e.urlSchemeRegex = /^.+(:|&colon;)/gim, e.whitespaceEscapeCharsRegex = /(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g, e.relativeFirstCharacters = [".", "/"], e.BLANK_URL = "about:blank";
962
+ })), Le = /* @__PURE__ */ e(((e) => {
963
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.sanitizeUrl = o;
964
+ var t = Ie();
965
+ function n(e) {
966
+ return t.relativeFirstCharacters.indexOf(e[0]) > -1;
967
+ }
968
+ function r(e) {
969
+ return e.replace(t.ctrlCharactersRegex, "").replace(t.htmlEntitiesRegex, function(e, t) {
970
+ return String.fromCharCode(t);
971
+ });
972
+ }
973
+ function i(e) {
974
+ return URL.canParse(e);
975
+ }
976
+ function a(e) {
977
+ try {
978
+ return decodeURIComponent(e);
979
+ } catch {
980
+ return e;
981
+ }
982
+ }
983
+ function o(e) {
984
+ if (!e) return t.BLANK_URL;
985
+ var o, s = a(e.trim());
986
+ do
987
+ s = r(s).replace(t.htmlCtrlEntityRegex, "").replace(t.ctrlCharactersRegex, "").replace(t.whitespaceEscapeCharsRegex, "").trim(), s = a(s), o = s.match(t.ctrlCharactersRegex) || s.match(t.htmlEntitiesRegex) || s.match(t.htmlCtrlEntityRegex) || s.match(t.whitespaceEscapeCharsRegex);
988
+ while (o && o.length > 0);
989
+ var c = s;
990
+ if (!c) return t.BLANK_URL;
991
+ if (n(c)) return c;
992
+ var l = c.trimStart(), u = l.match(t.urlSchemeRegex);
993
+ if (!u) return c;
994
+ var d = u[0].toLowerCase().trim();
995
+ if (t.invalidProtocolRegex.test(d)) return t.BLANK_URL;
996
+ var f = l.replace(/\\/g, "/");
997
+ if (d === "mailto:" || d.includes("://")) return f;
998
+ if (d === "http:" || d === "https:") {
999
+ if (!i(f)) return t.BLANK_URL;
1000
+ var p = new URL(f);
1001
+ return p.protocol = p.protocol.toLowerCase(), p.hostname = p.hostname.toLowerCase(), p.toString();
1002
+ }
1003
+ return f;
1004
+ }
1005
+ }));
1006
+ //#endregion
1007
+ export { Fe as C, Ne as S, ye as _, ie as a, je as b, ae as c, ue as d, pe as f, F as g, P as h, re as i, oe as l, _e as m, j as n, H as o, he as p, J as r, U as s, Le as t, ce as u, De as v, Pe as w, R as x, Oe as y };