@verdocs/web-sdk 6.9.12 → 6.9.13

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 (253) hide show
  1. package/dist/cjs/verdocs-adopt-signature-dialog_7.cjs.entry.js +3 -3
  2. package/dist/cjs/verdocs-adopt-signature-dialog_7.cjs.entry.js.map +1 -1
  3. package/dist/cjs/verdocs-auth.cjs.entry.js +4 -0
  4. package/dist/cjs/verdocs-auth.cjs.entry.js.map +1 -1
  5. package/dist/cjs/verdocs-download-dialog_4.cjs.entry.js +9 -8
  6. package/dist/cjs/verdocs-download-dialog_4.cjs.entry.js.map +1 -1
  7. package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +6 -6
  8. package/dist/cjs/verdocs-field-attachment_11.cjs.entry.js +1 -1
  9. package/dist/cjs/verdocs-initial-dialog.cjs.entry.js +1 -1
  10. package/dist/cjs/verdocs-menu-panel_2.cjs.entry.js +7 -7
  11. package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +1 -1
  12. package/dist/cjs/verdocs-preview_6.cjs.entry.js +4 -0
  13. package/dist/cjs/verdocs-preview_6.cjs.entry.js.map +1 -1
  14. package/dist/cjs/verdocs-quick-functions.cjs.entry.js +1 -1
  15. package/dist/cjs/verdocs-search-tabs.cjs.entry.js +1 -1
  16. package/dist/cjs/verdocs-sign.cjs.entry.js +7 -3
  17. package/dist/cjs/verdocs-sign.cjs.entry.js.map +1 -1
  18. package/dist/cjs/verdocs-signature-dialog.cjs.entry.js +1 -1
  19. package/dist/cjs/verdocs-status-indicator.cjs.entry.js +2 -2
  20. package/dist/cjs/verdocs-template-card.cjs.entry.js +1 -1
  21. package/dist/cjs/verdocs-template-star.cjs.entry.js +1 -1
  22. package/dist/cjs/verdocs-template-tags.cjs.entry.js +1 -1
  23. package/dist/collection/components/dialogs/verdocs-download-dialog/verdocs-download-dialog.js +6 -5
  24. package/dist/collection/components/dialogs/verdocs-download-dialog/verdocs-download-dialog.js.map +1 -1
  25. package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js +1 -1
  26. package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js +1 -1
  27. package/dist/collection/components/dialogs/verdocs-otp-dialog/verdocs-otp-dialog.js +1 -1
  28. package/dist/collection/components/dialogs/verdocs-passcode-dialog/verdocs-passcode-dialog.js +1 -1
  29. package/dist/collection/components/dialogs/verdocs-question-dialog/verdocs-question-dialog.js +1 -1
  30. package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js +1 -1
  31. package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js +1 -1
  32. package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js +1 -1
  33. package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js +1 -1
  34. package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js +4 -0
  35. package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js.map +1 -1
  36. package/dist/collection/components/embeds/verdocs-send/verdocs-send.js +4 -0
  37. package/dist/collection/components/embeds/verdocs-send/verdocs-send.js.map +1 -1
  38. package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +7 -3
  39. package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js.map +1 -1
  40. package/dist/collection/components/embeds/verdocs-view/verdocs-view.js +1 -1
  41. package/dist/collection/components/embeds/verdocs-view/verdocs-view.js.map +1 -1
  42. package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -1
  43. package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +6 -6
  44. package/dist/collection/components/envelopes/verdocs-sign-footer/verdocs-sign-footer.js +1 -1
  45. package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +2 -2
  46. package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.js +1 -1
  47. package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +7 -7
  48. package/dist/collection/components/templates/verdocs-template-star/verdocs-template-star.js +1 -1
  49. package/dist/collection/components/templates/verdocs-template-tags/verdocs-template-tags.js +1 -1
  50. package/dist/components/{p-BxOEoXie.js → p-BIc5CIpg.js} +2 -2
  51. package/dist/components/{p-DjOTs59Z.js → p-BcQsqsDy.js} +2 -2
  52. package/dist/components/{p-Dtndevf4.js → p-BfKv6ivN.js} +2 -2
  53. package/dist/components/{p-Ce29XBfJ.js → p-Bkae9I4G.js} +2 -2
  54. package/dist/components/{p-Ce29XBfJ.js.map → p-Bkae9I4G.js.map} +1 -1
  55. package/dist/components/{p-D3qUITiS.js → p-BwUTiBud.js} +2 -2
  56. package/dist/components/{p-BVhOFpVZ.js → p-C8r3qDBh.js} +2 -2
  57. package/dist/components/p-C8r3qDBh.js.map +1 -0
  58. package/dist/components/{p-DsEO0-XR.js → p-CGWVITS0.js} +2 -2
  59. package/dist/components/{p-BvtSJusb.js → p-CGt7KiUu.js} +2 -2
  60. package/dist/components/{p-u16vefxk.js → p-CQUV5gMT.js} +2 -2
  61. package/dist/components/{p-Dmw-lE3L.js → p-CSIVZcVx.js} +2 -2
  62. package/dist/components/{p-C-V6jrel.js → p-DClinO5r.js} +2 -2
  63. package/dist/components/{p-Bpe5Awxh.js → p-DGws2Zgt.js} +2 -2
  64. package/dist/components/p-DGws2Zgt.js.map +1 -0
  65. package/dist/components/{p-DVGumEtx.js → p-DRgoGiAA.js} +2 -2
  66. package/dist/components/{p-BT8wzCXz.js → p-DSK9z7EN.js} +2 -2
  67. package/dist/components/{p-tub_01MP.js → p-DXbBz25U.js} +2 -2
  68. package/dist/components/{p-DIOVejyL.js → p-DyhyfLyV.js} +2 -2
  69. package/dist/components/{p-Yxa93LOl.js → p-db6IAGB0.js} +2 -2
  70. package/dist/components/{p-CDMCVJys.js → p-qDQgyl7L.js} +2 -2
  71. package/dist/components/{p-CFEw4Xbi.js → p-sPseFic3.js} +2 -2
  72. package/dist/components/verdocs-auth.js +1 -1
  73. package/dist/components/verdocs-auth.js.map +1 -1
  74. package/dist/components/verdocs-build.js +1 -1
  75. package/dist/components/verdocs-download-dialog.js +1 -1
  76. package/dist/components/verdocs-envelope-document-page.js +1 -1
  77. package/dist/components/verdocs-envelope-sidebar.js +1 -1
  78. package/dist/components/verdocs-envelopes-list.js +1 -1
  79. package/dist/components/verdocs-field-attachment.js +1 -1
  80. package/dist/components/verdocs-initial-dialog.js +1 -1
  81. package/dist/components/verdocs-ok-dialog.js +1 -1
  82. package/dist/components/verdocs-otp-dialog.js +1 -1
  83. package/dist/components/verdocs-passcode-dialog.js +1 -1
  84. package/dist/components/verdocs-preview.js +1 -1
  85. package/dist/components/verdocs-question-dialog.js +1 -1
  86. package/dist/components/verdocs-quick-functions.js +1 -1
  87. package/dist/components/verdocs-search-tabs.js +1 -1
  88. package/dist/components/verdocs-send.js +1 -1
  89. package/dist/components/verdocs-sign-footer.js +1 -1
  90. package/dist/components/verdocs-sign.js +1 -1
  91. package/dist/components/verdocs-sign.js.map +1 -1
  92. package/dist/components/verdocs-signature-dialog.js +1 -1
  93. package/dist/components/verdocs-status-indicator.js +1 -1
  94. package/dist/components/verdocs-template-attachments.js +1 -1
  95. package/dist/components/verdocs-template-card.js +1 -1
  96. package/dist/components/verdocs-template-document-page.js +1 -1
  97. package/dist/components/verdocs-template-fields.js +1 -1
  98. package/dist/components/verdocs-template-role-properties.js +1 -1
  99. package/dist/components/verdocs-template-roles.js +1 -1
  100. package/dist/components/verdocs-template-star.js +1 -1
  101. package/dist/components/verdocs-template-tags.js +1 -1
  102. package/dist/components/verdocs-templates-list.js +1 -1
  103. package/dist/components/verdocs-upload-dialog.js +1 -1
  104. package/dist/components/verdocs-view.js +1 -1
  105. package/dist/esm/verdocs-adopt-signature-dialog_7.entry.js +3 -3
  106. package/dist/esm/verdocs-adopt-signature-dialog_7.entry.js.map +1 -1
  107. package/dist/esm/verdocs-auth.entry.js +4 -0
  108. package/dist/esm/verdocs-auth.entry.js.map +1 -1
  109. package/dist/esm/verdocs-download-dialog_4.entry.js +9 -8
  110. package/dist/esm/verdocs-download-dialog_4.entry.js.map +1 -1
  111. package/dist/esm/verdocs-envelopes-list.entry.js +6 -6
  112. package/dist/esm/verdocs-field-attachment_11.entry.js +1 -1
  113. package/dist/esm/verdocs-initial-dialog.entry.js +1 -1
  114. package/dist/esm/verdocs-menu-panel_2.entry.js +7 -7
  115. package/dist/esm/verdocs-ok-dialog.entry.js +1 -1
  116. package/dist/esm/verdocs-preview_6.entry.js +4 -0
  117. package/dist/esm/verdocs-preview_6.entry.js.map +1 -1
  118. package/dist/esm/verdocs-quick-functions.entry.js +1 -1
  119. package/dist/esm/verdocs-search-tabs.entry.js +1 -1
  120. package/dist/esm/verdocs-sign.entry.js +7 -3
  121. package/dist/esm/verdocs-sign.entry.js.map +1 -1
  122. package/dist/esm/verdocs-signature-dialog.entry.js +1 -1
  123. package/dist/esm/verdocs-status-indicator.entry.js +2 -2
  124. package/dist/esm/verdocs-template-card.entry.js +1 -1
  125. package/dist/esm/verdocs-template-star.entry.js +1 -1
  126. package/dist/esm/verdocs-template-tags.entry.js +1 -1
  127. package/dist/esm-es5/verdocs-adopt-signature-dialog_7.entry.js +1 -1
  128. package/dist/esm-es5/verdocs-adopt-signature-dialog_7.entry.js.map +1 -1
  129. package/dist/esm-es5/verdocs-auth.entry.js +1 -1
  130. package/dist/esm-es5/verdocs-auth.entry.js.map +1 -1
  131. package/dist/esm-es5/verdocs-download-dialog_4.entry.js +1 -1
  132. package/dist/esm-es5/verdocs-download-dialog_4.entry.js.map +1 -1
  133. package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
  134. package/dist/esm-es5/verdocs-field-attachment_11.entry.js +1 -1
  135. package/dist/esm-es5/verdocs-initial-dialog.entry.js +1 -1
  136. package/dist/esm-es5/verdocs-menu-panel_2.entry.js +1 -1
  137. package/dist/esm-es5/verdocs-ok-dialog.entry.js +1 -1
  138. package/dist/esm-es5/verdocs-preview_6.entry.js +1 -1
  139. package/dist/esm-es5/verdocs-preview_6.entry.js.map +1 -1
  140. package/dist/esm-es5/verdocs-quick-functions.entry.js +1 -1
  141. package/dist/esm-es5/verdocs-search-tabs.entry.js +1 -1
  142. package/dist/esm-es5/verdocs-sign.entry.js +1 -1
  143. package/dist/esm-es5/verdocs-sign.entry.js.map +1 -1
  144. package/dist/esm-es5/verdocs-signature-dialog.entry.js +1 -1
  145. package/dist/esm-es5/verdocs-status-indicator.entry.js +1 -1
  146. package/dist/esm-es5/verdocs-template-card.entry.js +1 -1
  147. package/dist/esm-es5/verdocs-template-star.entry.js +1 -1
  148. package/dist/esm-es5/verdocs-template-tags.entry.js +1 -1
  149. package/dist/verdocs-web-sdk/{p-2f96e7c9.system.entry.js → p-0625e073.system.entry.js} +2 -2
  150. package/dist/verdocs-web-sdk/{p-40f5ecf3.system.entry.js → p-07a07c6b.system.entry.js} +2 -2
  151. package/dist/verdocs-web-sdk/p-15a1b8b5.system.entry.js +2 -0
  152. package/dist/verdocs-web-sdk/p-15a1b8b5.system.entry.js.map +1 -0
  153. package/dist/verdocs-web-sdk/{p-6abf8f8f.entry.js → p-1f898c53.entry.js} +2 -2
  154. package/dist/verdocs-web-sdk/{p-6abf8f8f.entry.js.map → p-1f898c53.entry.js.map} +1 -1
  155. package/dist/verdocs-web-sdk/p-2fa4010a.system.entry.js +2 -0
  156. package/dist/verdocs-web-sdk/p-2fa4010a.system.entry.js.map +1 -0
  157. package/dist/verdocs-web-sdk/{p-4798c2a5.system.entry.js → p-36aa8081.system.entry.js} +2 -2
  158. package/dist/verdocs-web-sdk/{p-c5b70927.system.entry.js → p-3c9a2290.system.entry.js} +2 -2
  159. package/dist/verdocs-web-sdk/p-48e2baa9.entry.js +2 -0
  160. package/dist/verdocs-web-sdk/p-48e2baa9.entry.js.map +1 -0
  161. package/dist/verdocs-web-sdk/{p-d09a4bb9.entry.js → p-4934f908.entry.js} +2 -2
  162. package/dist/verdocs-web-sdk/{p-6754dfcf.system.entry.js → p-4d8bf603.system.entry.js} +2 -2
  163. package/dist/verdocs-web-sdk/p-4fe507ee.entry.js +2 -0
  164. package/dist/verdocs-web-sdk/{p-810e09ca.entry.js → p-5678acd8.entry.js} +2 -2
  165. package/dist/verdocs-web-sdk/{p-cfb275c5.entry.js → p-609527c7.entry.js} +2 -2
  166. package/dist/verdocs-web-sdk/{p-1f1fc6d7.entry.js → p-82d0e009.entry.js} +2 -2
  167. package/dist/verdocs-web-sdk/p-90400330.entry.js +2 -0
  168. package/dist/verdocs-web-sdk/{p-d4f72da9.entry.js → p-98adcb3a.entry.js} +2 -2
  169. package/dist/verdocs-web-sdk/{p-ed953cca.entry.js → p-996cc1f6.entry.js} +2 -2
  170. package/dist/verdocs-web-sdk/p-BdZ5Ghsa.system.js +1 -1
  171. package/dist/verdocs-web-sdk/{p-9756028f.entry.js → p-ae92881f.entry.js} +2 -2
  172. package/dist/verdocs-web-sdk/p-ae92881f.entry.js.map +1 -0
  173. package/dist/verdocs-web-sdk/{p-04d2fa80.system.entry.js → p-b1146326.system.entry.js} +2 -2
  174. package/dist/verdocs-web-sdk/{p-1929a794.system.entry.js → p-b2aa0637.system.entry.js} +2 -2
  175. package/dist/verdocs-web-sdk/{p-64034b55.system.entry.js → p-b35a1ea8.system.entry.js} +2 -2
  176. package/dist/verdocs-web-sdk/{p-64034b55.system.entry.js.map → p-b35a1ea8.system.entry.js.map} +1 -1
  177. package/dist/verdocs-web-sdk/{p-1827477d.system.entry.js → p-b6390a11.system.entry.js} +2 -2
  178. package/dist/verdocs-web-sdk/p-b81c87ee.system.entry.js +2 -0
  179. package/dist/verdocs-web-sdk/p-b81c87ee.system.entry.js.map +1 -0
  180. package/dist/verdocs-web-sdk/{p-d3d177d0.system.entry.js → p-ba39a8ce.system.entry.js} +2 -2
  181. package/dist/verdocs-web-sdk/{p-495ed75e.system.entry.js → p-bd17bff7.system.entry.js} +2 -2
  182. package/dist/verdocs-web-sdk/{p-e632e92c.entry.js → p-c2b70cb9.entry.js} +2 -2
  183. package/dist/verdocs-web-sdk/{p-ca03555a.system.entry.js → p-c3660cce.system.entry.js} +2 -2
  184. package/dist/verdocs-web-sdk/{p-421c231a.entry.js → p-cbfc895c.entry.js} +2 -2
  185. package/dist/verdocs-web-sdk/{p-f85f8560.system.entry.js → p-d5cfbdac.system.entry.js} +2 -2
  186. package/dist/verdocs-web-sdk/p-d5cfbdac.system.entry.js.map +1 -0
  187. package/dist/verdocs-web-sdk/{p-842c345c.entry.js → p-e207c469.entry.js} +2 -2
  188. package/dist/verdocs-web-sdk/p-e679a32a.entry.js +2 -0
  189. package/dist/verdocs-web-sdk/p-e679a32a.entry.js.map +1 -0
  190. package/dist/verdocs-web-sdk/{p-d3b798ae.system.entry.js → p-e991121e.system.entry.js} +2 -2
  191. package/dist/verdocs-web-sdk/p-ed5c3f2d.entry.js +2 -0
  192. package/dist/verdocs-web-sdk/p-ed5c3f2d.entry.js.map +1 -0
  193. package/dist/verdocs-web-sdk/{p-f97ca49e.entry.js → p-fff5d042.entry.js} +2 -2
  194. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  195. package/package.json +2 -2
  196. package/dist/components/p-BVhOFpVZ.js.map +0 -1
  197. package/dist/components/p-Bpe5Awxh.js.map +0 -1
  198. package/dist/verdocs-web-sdk/p-0240a6e1.system.entry.js +0 -2
  199. package/dist/verdocs-web-sdk/p-0240a6e1.system.entry.js.map +0 -1
  200. package/dist/verdocs-web-sdk/p-12676649.entry.js +0 -2
  201. package/dist/verdocs-web-sdk/p-12676649.entry.js.map +0 -1
  202. package/dist/verdocs-web-sdk/p-1a6869c9.system.entry.js +0 -2
  203. package/dist/verdocs-web-sdk/p-1a6869c9.system.entry.js.map +0 -1
  204. package/dist/verdocs-web-sdk/p-3f5ad836.system.entry.js +0 -2
  205. package/dist/verdocs-web-sdk/p-3f5ad836.system.entry.js.map +0 -1
  206. package/dist/verdocs-web-sdk/p-62b6402f.entry.js +0 -2
  207. package/dist/verdocs-web-sdk/p-682c5a5c.entry.js +0 -2
  208. package/dist/verdocs-web-sdk/p-9756028f.entry.js.map +0 -1
  209. package/dist/verdocs-web-sdk/p-9c6cca6e.entry.js +0 -2
  210. package/dist/verdocs-web-sdk/p-9c6cca6e.entry.js.map +0 -1
  211. package/dist/verdocs-web-sdk/p-c89d74b2.entry.js +0 -2
  212. package/dist/verdocs-web-sdk/p-c89d74b2.entry.js.map +0 -1
  213. package/dist/verdocs-web-sdk/p-f85f8560.system.entry.js.map +0 -1
  214. /package/dist/components/{p-BxOEoXie.js.map → p-BIc5CIpg.js.map} +0 -0
  215. /package/dist/components/{p-DjOTs59Z.js.map → p-BcQsqsDy.js.map} +0 -0
  216. /package/dist/components/{p-Dtndevf4.js.map → p-BfKv6ivN.js.map} +0 -0
  217. /package/dist/components/{p-D3qUITiS.js.map → p-BwUTiBud.js.map} +0 -0
  218. /package/dist/components/{p-DsEO0-XR.js.map → p-CGWVITS0.js.map} +0 -0
  219. /package/dist/components/{p-BvtSJusb.js.map → p-CGt7KiUu.js.map} +0 -0
  220. /package/dist/components/{p-u16vefxk.js.map → p-CQUV5gMT.js.map} +0 -0
  221. /package/dist/components/{p-Dmw-lE3L.js.map → p-CSIVZcVx.js.map} +0 -0
  222. /package/dist/components/{p-C-V6jrel.js.map → p-DClinO5r.js.map} +0 -0
  223. /package/dist/components/{p-DVGumEtx.js.map → p-DRgoGiAA.js.map} +0 -0
  224. /package/dist/components/{p-BT8wzCXz.js.map → p-DSK9z7EN.js.map} +0 -0
  225. /package/dist/components/{p-tub_01MP.js.map → p-DXbBz25U.js.map} +0 -0
  226. /package/dist/components/{p-DIOVejyL.js.map → p-DyhyfLyV.js.map} +0 -0
  227. /package/dist/components/{p-Yxa93LOl.js.map → p-db6IAGB0.js.map} +0 -0
  228. /package/dist/components/{p-CDMCVJys.js.map → p-qDQgyl7L.js.map} +0 -0
  229. /package/dist/components/{p-CFEw4Xbi.js.map → p-sPseFic3.js.map} +0 -0
  230. /package/dist/verdocs-web-sdk/{p-2f96e7c9.system.entry.js.map → p-0625e073.system.entry.js.map} +0 -0
  231. /package/dist/verdocs-web-sdk/{p-40f5ecf3.system.entry.js.map → p-07a07c6b.system.entry.js.map} +0 -0
  232. /package/dist/verdocs-web-sdk/{p-4798c2a5.system.entry.js.map → p-36aa8081.system.entry.js.map} +0 -0
  233. /package/dist/verdocs-web-sdk/{p-c5b70927.system.entry.js.map → p-3c9a2290.system.entry.js.map} +0 -0
  234. /package/dist/verdocs-web-sdk/{p-d09a4bb9.entry.js.map → p-4934f908.entry.js.map} +0 -0
  235. /package/dist/verdocs-web-sdk/{p-6754dfcf.system.entry.js.map → p-4d8bf603.system.entry.js.map} +0 -0
  236. /package/dist/verdocs-web-sdk/{p-62b6402f.entry.js.map → p-4fe507ee.entry.js.map} +0 -0
  237. /package/dist/verdocs-web-sdk/{p-810e09ca.entry.js.map → p-5678acd8.entry.js.map} +0 -0
  238. /package/dist/verdocs-web-sdk/{p-cfb275c5.entry.js.map → p-609527c7.entry.js.map} +0 -0
  239. /package/dist/verdocs-web-sdk/{p-1f1fc6d7.entry.js.map → p-82d0e009.entry.js.map} +0 -0
  240. /package/dist/verdocs-web-sdk/{p-682c5a5c.entry.js.map → p-90400330.entry.js.map} +0 -0
  241. /package/dist/verdocs-web-sdk/{p-d4f72da9.entry.js.map → p-98adcb3a.entry.js.map} +0 -0
  242. /package/dist/verdocs-web-sdk/{p-ed953cca.entry.js.map → p-996cc1f6.entry.js.map} +0 -0
  243. /package/dist/verdocs-web-sdk/{p-04d2fa80.system.entry.js.map → p-b1146326.system.entry.js.map} +0 -0
  244. /package/dist/verdocs-web-sdk/{p-1929a794.system.entry.js.map → p-b2aa0637.system.entry.js.map} +0 -0
  245. /package/dist/verdocs-web-sdk/{p-1827477d.system.entry.js.map → p-b6390a11.system.entry.js.map} +0 -0
  246. /package/dist/verdocs-web-sdk/{p-d3d177d0.system.entry.js.map → p-ba39a8ce.system.entry.js.map} +0 -0
  247. /package/dist/verdocs-web-sdk/{p-495ed75e.system.entry.js.map → p-bd17bff7.system.entry.js.map} +0 -0
  248. /package/dist/verdocs-web-sdk/{p-e632e92c.entry.js.map → p-c2b70cb9.entry.js.map} +0 -0
  249. /package/dist/verdocs-web-sdk/{p-ca03555a.system.entry.js.map → p-c3660cce.system.entry.js.map} +0 -0
  250. /package/dist/verdocs-web-sdk/{p-421c231a.entry.js.map → p-cbfc895c.entry.js.map} +0 -0
  251. /package/dist/verdocs-web-sdk/{p-842c345c.entry.js.map → p-e207c469.entry.js.map} +0 -0
  252. /package/dist/verdocs-web-sdk/{p-d3b798ae.system.entry.js.map → p-e991121e.system.entry.js.map} +0 -0
  253. /package/dist/verdocs-web-sdk/{p-f97ca49e.entry.js.map → p-fff5d042.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{p as t,H as n,h as s,d as i,t as e}from"./p-yZBlG3YQ.js";import{formatFullName as r}from"@verdocs/js-sdk";import{c as o}from"./p-BfP9ezJQ.js";const h={};const u=[];function c(t,n){if(Array.isArray(t)){for(const s of t){c(s,n)}return}if(typeof t==="object"){for(const n in t){c(n,t[n])}return}a(Object.getOwnPropertyNames(n));h[t]=Object.assign(h[t]||{},n)}function l(t){return h[t]||{}}function f(){return[...new Set(u)]}function a(t){u.push(...t)}function d(t,n){let s;const i=t.length;const e=[];for(s=0;s<i;s++){e.push(n(t[s]))}return e}function C(t,n){let s;const i=t.length;const e=[];for(s=0;s<i;s++){if(n(t[s])){e.push(t[s])}}return e}function w(t){return t%360*Math.PI/180}function p(t){return t.replace(/([A-Z])/g,(function(t,n){return"-"+n.toLowerCase()}))}function g(t){return t.charAt(0).toUpperCase()+t.slice(1)}function m(t,n,s,i){if(n==null||s==null){i=i||t.bbox();if(n==null){n=i.width/i.height*s}else if(s==null){s=i.height/i.width*n}}return{width:n,height:s}}function y(t,n){const s=t.origin;let i=t.ox!=null?t.ox:t.originX!=null?t.originX:"center";let e=t.oy!=null?t.oy:t.originY!=null?t.originY:"center";if(s!=null){[i,e]=Array.isArray(s)?s:typeof s==="object"?[s.x,s.y]:[s,s]}const r=typeof i==="string";const o=typeof e==="string";if(r||o){const{height:t,width:s,x:h,y:u}=n.bbox();if(r){i=i.includes("left")?h:i.includes("right")?h+s:h+s/2}if(o){e=e.includes("top")?u:e.includes("bottom")?u+t:u+t/2}}return[i,e]}const x=new Set(["desc","metadata","title"]);const v=t=>x.has(t.nodeName);const b=(t,n,s={})=>{const i={...n};for(const t in i){if(i[t].valueOf()===s[t]){delete i[t]}}if(Object.keys(i).length){t.node.setAttribute("data-svgjs",JSON.stringify(i))}else{t.node.removeAttribute("data-svgjs");t.node.removeAttribute("svgjs:data")}};const M="http://www.w3.org/2000/svg";const k="http://www.w3.org/1999/xhtml";const _="http://www.w3.org/2000/xmlns/";const j="http://www.w3.org/1999/xlink";const O={window:typeof window==="undefined"?null:window,document:typeof document==="undefined"?null:document};function L(){return O.window}class A{}const E={};const V="___SYMBOL___ROOT___";function S(t,n=M){return O.document.createElementNS(n,t)}function B(t,n=false){if(t instanceof A)return t;if(typeof t==="object"){return D(t)}if(t==null){return new E[V]}if(typeof t==="string"&&t.trim().charAt(0)!=="<"){return D(O.document.querySelector(t))}const s=n?O.document.createElement("div"):S("svg");s.innerHTML=t.trim();t=D(s.firstElementChild);s.removeChild(s.firstElementChild);return t}function T(t,n){return n&&(n instanceof O.window.Node||n.ownerDocument&&n instanceof n.ownerDocument.defaultView.Node)?n:S(t)}function H(t){if(!t)return null;if(t.instance instanceof A)return t.instance;if(t.nodeName==="#document-fragment"){return new E.Fragment(t)}let n=g(t.nodeName||"Dom");if(n==="LinearGradient"||n==="RadialGradient"){n="Gradient"}else if(!E[n]){n="Dom"}return new E[n](t)}let D=H;function z(t,n=t.name,s=false){E[n]=t;if(s)E[V]=t;a(Object.getOwnPropertyNames(t.prototype));return t}function I(t){return E[t]}let Z=1e3;function F(t){return"Svgjs"+g(t)+Z++}function $(t){for(let n=t.children.length-1;n>=0;n--){$(t.children[n])}if(t.id){t.id=F(t.nodeName);return t}return t}function N(t,n){let s,i;t=Array.isArray(t)?t:[t];for(i=t.length-1;i>=0;i--){for(s in n){t[i].prototype[s]=n[s]}}}function P(t){return function(...n){const s=n[n.length-1];if(s&&s.constructor===Object&&!(s instanceof Array)){return t.apply(this,n.slice(0,-1)).attr(s)}else{return t.apply(this,n)}}}function R(){return this.parent().children()}function G(){return this.parent().index(this)}function Y(){return this.siblings()[this.position()+1]}function X(){return this.siblings()[this.position()-1]}function Q(){const t=this.position();const n=this.parent();n.add(this.remove(),t+1);return this}function J(){const t=this.position();const n=this.parent();n.add(this.remove(),t?t-1:0);return this}function q(){const t=this.parent();t.add(this.remove());return this}function U(){const t=this.parent();t.add(this.remove(),0);return this}function W(t){t=B(t);t.remove();const n=this.position();this.parent().add(t,n);return this}function K(t){t=B(t);t.remove();const n=this.position();this.parent().add(t,n+1);return this}function tt(t){t=B(t);t.before(this);return this}function nt(t){t=B(t);t.after(this);return this}c("Dom",{siblings:R,position:G,next:Y,prev:X,forward:Q,backward:J,front:q,back:U,before:W,after:K,insertBefore:tt,insertAfter:nt});const st=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i;const it=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;const et=/rgb\((\d+),(\d+),(\d+)\)/;const rt=/(#[a-z_][a-z0-9\-_]*)/i;const ot=/\)\s*,?\s*/;const ht=/\s/g;const ut=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i;const ct=/^rgb\(/;const lt=/^(\s+)?$/;const ft=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;const at=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i;const dt=/[\s,]+/;const Ct=/[MLHVCSQTAZ]/i;function wt(){const t=this.attr("class");return t==null?[]:t.trim().split(dt)}function pt(t){return this.classes().indexOf(t)!==-1}function gt(t){if(!this.hasClass(t)){const n=this.classes();n.push(t);this.attr("class",n.join(" "))}return this}function mt(t){if(this.hasClass(t)){this.attr("class",this.classes().filter((function(n){return n!==t})).join(" "))}return this}function yt(t){return this.hasClass(t)?this.removeClass(t):this.addClass(t)}c("Dom",{classes:wt,hasClass:pt,addClass:gt,removeClass:mt,toggleClass:yt});function xt(t,n){const s={};if(arguments.length===0){this.node.style.cssText.split(/\s*;\s*/).filter((function(t){return!!t.length})).forEach((function(t){const n=t.split(/\s*:\s*/);s[n[0]]=n[1]}));return s}if(arguments.length<2){if(Array.isArray(t)){for(const n of t){const t=n;s[n]=this.node.style.getPropertyValue(t)}return s}if(typeof t==="string"){return this.node.style.getPropertyValue(t)}if(typeof t==="object"){for(const n in t){this.node.style.setProperty(n,t[n]==null||lt.test(t[n])?"":t[n])}}}if(arguments.length===2){this.node.style.setProperty(t,n==null||lt.test(n)?"":n)}return this}function vt(){return this.css("display","")}function bt(){return this.css("display","none")}function Mt(){return this.css("display")!=="none"}c("Dom",{css:xt,show:vt,hide:bt,visible:Mt});function kt(t,n,s){if(t==null){return this.data(d(C(this.node.attributes,(t=>t.nodeName.indexOf("data-")===0)),(t=>t.nodeName.slice(5))))}else if(t instanceof Array){const n={};for(const s of t){n[s]=this.data(s)}return n}else if(typeof t==="object"){for(n in t){this.data(n,t[n])}}else if(arguments.length<2){try{return JSON.parse(this.attr("data-"+t))}catch(n){return this.attr("data-"+t)}}else{this.attr("data-"+t,n===null?null:s===true||typeof n==="string"||typeof n==="number"?n:JSON.stringify(n))}return this}c("Dom",{data:kt});function _t(t,n){if(typeof arguments[0]==="object"){for(const n in t){this.remember(n,t[n])}}else if(arguments.length===1){return this.memory()[t]}else{this.memory()[t]=n}return this}function jt(){if(arguments.length===0){this._memory={}}else{for(let t=arguments.length-1;t>=0;t--){delete this.memory()[arguments[t]]}}return this}function Ot(){return this._memory=this._memory||{}}c("Dom",{remember:_t,forget:jt,memory:Ot});function Lt(t){return t.length===4?["#",t.substring(1,2),t.substring(1,2),t.substring(2,3),t.substring(2,3),t.substring(3,4),t.substring(3,4)].join(""):t}function At(t){const n=Math.round(t);const s=Math.max(0,Math.min(255,n));const i=s.toString(16);return i.length===1?"0"+i:i}function Et(t,n){for(let s=n.length;s--;){if(t[n[s]]==null){return false}}return true}function Vt(t,n){const s=Et(t,"rgb")?{_a:t.r,_b:t.g,_c:t.b,_d:0,space:"rgb"}:Et(t,"xyz")?{_a:t.x,_b:t.y,_c:t.z,_d:0,space:"xyz"}:Et(t,"hsl")?{_a:t.h,_b:t.s,_c:t.l,_d:0,space:"hsl"}:Et(t,"lab")?{_a:t.l,_b:t.a,_c:t.b,_d:0,space:"lab"}:Et(t,"lch")?{_a:t.l,_b:t.c,_c:t.h,_d:0,space:"lch"}:Et(t,"cmyk")?{_a:t.c,_b:t.m,_c:t.y,_d:t.k,space:"cmyk"}:{_a:0,_b:0,_c:0,space:"rgb"};s.space=n||s.space;return s}function St(t){if(t==="lab"||t==="xyz"||t==="lch"){return true}else{return false}}function Bt(t,n,s){if(s<0)s+=1;if(s>1)s-=1;if(s<1/6)return t+(n-t)*6*s;if(s<1/2)return n;if(s<2/3)return t+(n-t)*(2/3-s)*6;return t}class Tt{constructor(...t){this.init(...t)}static isColor(t){return t&&(t instanceof Tt||this.isRgb(t)||this.test(t))}static isRgb(t){return t&&typeof t.r==="number"&&typeof t.g==="number"&&typeof t.b==="number"}static random(t="vibrant",n){const{random:s,round:i,sin:e,PI:r}=Math;if(t==="vibrant"){const t=(81-57)*s()+57;const n=(83-45)*s()+45;const i=360*s();const e=new Tt(t,n,i,"lch");return e}else if(t==="sine"){n=n==null?s():n;const t=i(80*e(2*r*n/.5+.01)+150);const o=i(50*e(2*r*n/.5+4.6)+200);const h=i(100*e(2*r*n/.5+2.3)+150);const u=new Tt(t,o,h);return u}else if(t==="pastel"){const t=(94-86)*s()+86;const n=(26-9)*s()+9;const i=360*s();const e=new Tt(t,n,i,"lch");return e}else if(t==="dark"){const t=10+10*s();const n=(125-75)*s()+86;const i=360*s();const e=new Tt(t,n,i,"lch");return e}else if(t==="rgb"){const t=255*s();const n=255*s();const i=255*s();const e=new Tt(t,n,i);return e}else if(t==="lab"){const t=100*s();const n=256*s()-128;const i=256*s()-128;const e=new Tt(t,n,i,"lab");return e}else if(t==="grey"){const t=255*s();const n=new Tt(t,t,t);return n}else{throw new Error("Unsupported random color mode")}}static test(t){return typeof t==="string"&&(ut.test(t)||ct.test(t))}cmyk(){const{_a:t,_b:n,_c:s}=this.rgb();const[i,e,r]=[t,n,s].map((t=>t/255));const o=Math.min(1-i,1-e,1-r);if(o===1){return new Tt(0,0,0,1,"cmyk")}const h=(1-i-o)/(1-o);const u=(1-e-o)/(1-o);const c=(1-r-o)/(1-o);const l=new Tt(h,u,c,o,"cmyk");return l}hsl(){const{_a:t,_b:n,_c:s}=this.rgb();const[i,e,r]=[t,n,s].map((t=>t/255));const o=Math.max(i,e,r);const h=Math.min(i,e,r);const u=(o+h)/2;const c=o===h;const l=o-h;const f=c?0:u>.5?l/(2-o-h):l/(o+h);const a=c?0:o===i?((e-r)/l+(e<r?6:0))/6:o===e?((r-i)/l+2)/6:o===r?((i-e)/l+4)/6:0;const d=new Tt(360*a,100*f,100*u,"hsl");return d}init(t=0,n=0,s=0,i=0,e="rgb"){t=!t?0:t;if(this.space){for(const t in this.space){delete this[this.space[t]]}}if(typeof t==="number"){e=typeof i==="string"?i:e;i=typeof i==="string"?0:i;Object.assign(this,{_a:t,_b:n,_c:s,_d:i,space:e})}else if(t instanceof Array){this.space=n||(typeof t[3]==="string"?t[3]:t[4])||"rgb";Object.assign(this,{_a:t[0],_b:t[1],_c:t[2],_d:t[3]||0})}else if(t instanceof Object){const s=Vt(t,n);Object.assign(this,s)}else if(typeof t==="string"){if(ct.test(t)){const n=t.replace(ht,"");const[s,i,e]=et.exec(n).slice(1,4).map((t=>parseInt(t)));Object.assign(this,{_a:s,_b:i,_c:e,_d:0,space:"rgb"})}else if(ut.test(t)){const n=t=>parseInt(t,16);const[,s,i,e]=it.exec(Lt(t)).map(n);Object.assign(this,{_a:s,_b:i,_c:e,_d:0,space:"rgb"})}else throw Error("Unsupported string format, can't construct Color")}const{_a:r,_b:o,_c:h,_d:u}=this;const c=this.space==="rgb"?{r,g:o,b:h}:this.space==="xyz"?{x:r,y:o,z:h}:this.space==="hsl"?{h:r,s:o,l:h}:this.space==="lab"?{l:r,a:o,b:h}:this.space==="lch"?{l:r,c:o,h}:this.space==="cmyk"?{c:r,m:o,y:h,k:u}:{};Object.assign(this,c)}lab(){const{x:t,y:n,z:s}=this.xyz();const i=116*n-16;const e=500*(t-n);const r=200*(n-s);const o=new Tt(i,e,r,"lab");return o}lch(){const{l:t,a:n,b:s}=this.lab();const i=Math.sqrt(n**2+s**2);let e=180*Math.atan2(s,n)/Math.PI;if(e<0){e*=-1;e=360-e}const r=new Tt(t,i,e,"lch");return r}rgb(){if(this.space==="rgb"){return this}else if(St(this.space)){let{x:t,y:n,z:s}=this;if(this.space==="lab"||this.space==="lch"){let{l:i,a:e,b:r}=this;if(this.space==="lch"){const{c:t,h:n}=this;const s=Math.PI/180;e=t*Math.cos(s*n);r=t*Math.sin(s*n)}const o=(i+16)/116;const h=e/500+o;const u=o-r/200;const c=16/116;const l=.008856;const f=7.787;t=.95047*(h**3>l?h**3:(h-c)/f);n=1*(o**3>l?o**3:(o-c)/f);s=1.08883*(u**3>l?u**3:(u-c)/f)}const i=t*3.2406+n*-1.5372+s*-.4986;const e=t*-.9689+n*1.8758+s*.0415;const r=t*.0557+n*-.204+s*1.057;const o=Math.pow;const h=.0031308;const u=i>h?1.055*o(i,1/2.4)-.055:12.92*i;const c=e>h?1.055*o(e,1/2.4)-.055:12.92*e;const l=r>h?1.055*o(r,1/2.4)-.055:12.92*r;const f=new Tt(255*u,255*c,255*l);return f}else if(this.space==="hsl"){let{h:t,s:n,l:s}=this;t/=360;n/=100;s/=100;if(n===0){s*=255;const t=new Tt(s,s,s);return t}const i=s<.5?s*(1+n):s+n-s*n;const e=2*s-i;const r=255*Bt(e,i,t+1/3);const o=255*Bt(e,i,t);const h=255*Bt(e,i,t-1/3);const u=new Tt(r,o,h);return u}else if(this.space==="cmyk"){const{c:t,m:n,y:s,k:i}=this;const e=255*(1-Math.min(1,t*(1-i)+i));const r=255*(1-Math.min(1,n*(1-i)+i));const o=255*(1-Math.min(1,s*(1-i)+i));const h=new Tt(e,r,o);return h}else{return this}}toArray(){const{_a:t,_b:n,_c:s,_d:i,space:e}=this;return[t,n,s,i,e]}toHex(){const[t,n,s]=this._clamped().map(At);return`#${t}${n}${s}`}toRgb(){const[t,n,s]=this._clamped();const i=`rgb(${t},${n},${s})`;return i}toString(){return this.toHex()}xyz(){const{_a:t,_b:n,_c:s}=this.rgb();const[i,e,r]=[t,n,s].map((t=>t/255));const o=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92;const h=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92;const u=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;const c=(o*.4124+h*.3576+u*.1805)/.95047;const l=(o*.2126+h*.7152+u*.0722)/1;const f=(o*.0193+h*.1192+u*.9505)/1.08883;const a=c>.008856?Math.pow(c,1/3):7.787*c+16/116;const d=l>.008856?Math.pow(l,1/3):7.787*l+16/116;const C=f>.008856?Math.pow(f,1/3):7.787*f+16/116;const w=new Tt(a,d,C,"xyz");return w}_clamped(){const{_a:t,_b:n,_c:s}=this.rgb();const{max:i,min:e,round:r}=Math;const o=t=>i(0,e(r(t),255));return[t,n,s].map(o)}}class Ht{constructor(...t){this.init(...t)}clone(){return new Ht(this)}init(t,n){const s={x:0,y:0};const i=Array.isArray(t)?{x:t[0],y:t[1]}:typeof t==="object"?{x:t.x,y:t.y}:{x:t,y:n};this.x=i.x==null?s.x:i.x;this.y=i.y==null?s.y:i.y;return this}toArray(){return[this.x,this.y]}transform(t){return this.clone().transformO(t)}transformO(t){if(!It.isMatrixLike(t)){t=new It(t)}const{x:n,y:s}=this;this.x=t.a*n+t.c*s+t.e;this.y=t.b*n+t.d*s+t.f;return this}}function Dt(t,n){return new Ht(t,n).transformO(this.screenCTM().inverseO())}function zt(t,n,s){return Math.abs(n-t)<1e-6}class It{constructor(...t){this.init(...t)}static formatTransforms(t){const n=t.flip==="both"||t.flip===true;const s=t.flip&&(n||t.flip==="x")?-1:1;const i=t.flip&&(n||t.flip==="y")?-1:1;const e=t.skew&&t.skew.length?t.skew[0]:isFinite(t.skew)?t.skew:isFinite(t.skewX)?t.skewX:0;const r=t.skew&&t.skew.length?t.skew[1]:isFinite(t.skew)?t.skew:isFinite(t.skewY)?t.skewY:0;const o=t.scale&&t.scale.length?t.scale[0]*s:isFinite(t.scale)?t.scale*s:isFinite(t.scaleX)?t.scaleX*s:s;const h=t.scale&&t.scale.length?t.scale[1]*i:isFinite(t.scale)?t.scale*i:isFinite(t.scaleY)?t.scaleY*i:i;const u=t.shear||0;const c=t.rotate||t.theta||0;const l=new Ht(t.origin||t.around||t.ox||t.originX,t.oy||t.originY);const f=l.x;const a=l.y;const d=new Ht(t.position||t.px||t.positionX||NaN,t.py||t.positionY||NaN);const C=d.x;const w=d.y;const p=new Ht(t.translate||t.tx||t.translateX,t.ty||t.translateY);const g=p.x;const m=p.y;const y=new Ht(t.relative||t.rx||t.relativeX,t.ry||t.relativeY);const x=y.x;const v=y.y;return{scaleX:o,scaleY:h,skewX:e,skewY:r,shear:u,theta:c,rx:x,ry:v,tx:g,ty:m,ox:f,oy:a,px:C,py:w}}static fromArray(t){return{a:t[0],b:t[1],c:t[2],d:t[3],e:t[4],f:t[5]}}static isMatrixLike(t){return t.a!=null||t.b!=null||t.c!=null||t.d!=null||t.e!=null||t.f!=null}static matrixMultiply(t,n,s){const i=t.a*n.a+t.c*n.b;const e=t.b*n.a+t.d*n.b;const r=t.a*n.c+t.c*n.d;const o=t.b*n.c+t.d*n.d;const h=t.e+t.a*n.e+t.c*n.f;const u=t.f+t.b*n.e+t.d*n.f;s.a=i;s.b=e;s.c=r;s.d=o;s.e=h;s.f=u;return s}around(t,n,s){return this.clone().aroundO(t,n,s)}aroundO(t,n,s){const i=t||0;const e=n||0;return this.translateO(-i,-e).lmultiplyO(s).translateO(i,e)}clone(){return new It(this)}decompose(t=0,n=0){const s=this.a;const i=this.b;const e=this.c;const r=this.d;const o=this.e;const h=this.f;const u=s*r-i*e;const c=u>0?1:-1;const l=c*Math.sqrt(s*s+i*i);const f=Math.atan2(c*i,c*s);const a=180/Math.PI*f;const d=Math.cos(f);const C=Math.sin(f);const w=(s*e+i*r)/u;const p=e*l/(w*s-i)||r*l/(w*i+s);const g=o-t+t*d*l+n*(w*d*l-C*p);const m=h-n+t*C*l+n*(w*C*l+d*p);return{scaleX:l,scaleY:p,shear:w,rotate:a,translateX:g,translateY:m,originX:t,originY:n,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}equals(t){if(t===this)return true;const n=new It(t);return zt(this.a,n.a)&&zt(this.b,n.b)&&zt(this.c,n.c)&&zt(this.d,n.d)&&zt(this.e,n.e)&&zt(this.f,n.f)}flip(t,n){return this.clone().flipO(t,n)}flipO(t,n){return t==="x"?this.scaleO(-1,1,n,0):t==="y"?this.scaleO(1,-1,0,n):this.scaleO(-1,-1,t,n||t)}init(t){const n=It.fromArray([1,0,0,1,0,0]);t=t instanceof xn?t.matrixify():typeof t==="string"?It.fromArray(t.split(dt).map(parseFloat)):Array.isArray(t)?It.fromArray(t):typeof t==="object"&&It.isMatrixLike(t)?t:typeof t==="object"?(new It).transform(t):arguments.length===6?It.fromArray([].slice.call(arguments)):n;this.a=t.a!=null?t.a:n.a;this.b=t.b!=null?t.b:n.b;this.c=t.c!=null?t.c:n.c;this.d=t.d!=null?t.d:n.d;this.e=t.e!=null?t.e:n.e;this.f=t.f!=null?t.f:n.f;return this}inverse(){return this.clone().inverseO()}inverseO(){const t=this.a;const n=this.b;const s=this.c;const i=this.d;const e=this.e;const r=this.f;const o=t*i-n*s;if(!o)throw new Error("Cannot invert "+this);const h=i/o;const u=-n/o;const c=-s/o;const l=t/o;const f=-(h*e+c*r);const a=-(u*e+l*r);this.a=h;this.b=u;this.c=c;this.d=l;this.e=f;this.f=a;return this}lmultiply(t){return this.clone().lmultiplyO(t)}lmultiplyO(t){const n=this;const s=t instanceof It?t:new It(t);return It.matrixMultiply(s,n,this)}multiply(t){return this.clone().multiplyO(t)}multiplyO(t){const n=this;const s=t instanceof It?t:new It(t);return It.matrixMultiply(n,s,this)}rotate(t,n,s){return this.clone().rotateO(t,n,s)}rotateO(t,n=0,s=0){t=w(t);const i=Math.cos(t);const e=Math.sin(t);const{a:r,b:o,c:h,d:u,e:c,f:l}=this;this.a=r*i-o*e;this.b=o*i+r*e;this.c=h*i-u*e;this.d=u*i+h*e;this.e=c*i-l*e+s*e-n*i+n;this.f=l*i+c*e-n*e-s*i+s;return this}scale(){return this.clone().scaleO(...arguments)}scaleO(t,n=t,s=0,i=0){if(arguments.length===3){i=s;s=n;n=t}const{a:e,b:r,c:o,d:h,e:u,f:c}=this;this.a=e*t;this.b=r*n;this.c=o*t;this.d=h*n;this.e=u*t-s*t+s;this.f=c*n-i*n+i;return this}shear(t,n,s){return this.clone().shearO(t,n,s)}shearO(t,n=0,s=0){const{a:i,b:e,c:r,d:o,e:h,f:u}=this;this.a=i+e*t;this.c=r+o*t;this.e=h+u*t-s*t;return this}skew(){return this.clone().skewO(...arguments)}skewO(t,n=t,s=0,i=0){if(arguments.length===3){i=s;s=n;n=t}t=w(t);n=w(n);const e=Math.tan(t);const r=Math.tan(n);const{a:o,b:h,c:u,d:c,e:l,f}=this;this.a=o+h*e;this.b=h+o*r;this.c=u+c*e;this.d=c+u*r;this.e=l+f*e-i*e;this.f=f+l*r-s*r;return this}skewX(t,n,s){return this.skew(t,0,n,s)}skewY(t,n,s){return this.skew(0,t,n,s)}toArray(){return[this.a,this.b,this.c,this.d,this.e,this.f]}toString(){return"matrix("+this.a+","+this.b+","+this.c+","+this.d+","+this.e+","+this.f+")"}transform(t){if(It.isMatrixLike(t)){const n=new It(t);return n.multiplyO(this)}const n=It.formatTransforms(t);const s=this;const{x:i,y:e}=new Ht(n.ox,n.oy).transform(s);const r=(new It).translateO(n.rx,n.ry).lmultiplyO(s).translateO(-i,-e).scaleO(n.scaleX,n.scaleY).skewO(n.skewX,n.skewY).shearO(n.shear).rotateO(n.theta).translateO(i,e);if(isFinite(n.px)||isFinite(n.py)){const t=new Ht(i,e).transform(r);const s=isFinite(n.px)?n.px-t.x:0;const o=isFinite(n.py)?n.py-t.y:0;r.translateO(s,o)}r.translateO(n.tx,n.ty);return r}translate(t,n){return this.clone().translateO(t,n)}translateO(t,n){this.e+=t||0;this.f+=n||0;return this}valueOf(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}}function Zt(){return new It(this.node.getCTM())}function Ft(){try{if(typeof this.isRoot==="function"&&!this.isRoot()){const t=this.rect(1,1);const n=t.node.getScreenCTM();t.remove();return new It(n)}return new It(this.node.getScreenCTM())}catch(t){console.warn(`Cannot get CTM from SVG node ${this.node.nodeName}. Is the element rendered?`);return new It}}z(It,"Matrix");function $t(){if(!$t.nodes){const t=B().size(2,0);t.node.style.cssText=["opacity: 0","position: absolute","left: -100%","top: -100%","overflow: hidden"].join(";");t.attr("focusable","false");t.attr("aria-hidden","true");const n=t.path().node;$t.nodes={svg:t,path:n}}if(!$t.nodes.svg.node.parentNode){const t=O.document.body||O.document.documentElement;$t.nodes.svg.addTo(t)}return $t.nodes}function Nt(t){return!t.width&&!t.height&&!t.x&&!t.y}function Pt(t){return t===O.document||(O.document.documentElement.contains||function(t){while(t.parentNode){t=t.parentNode}return t===O.document}).call(O.document.documentElement,t)}class Rt{constructor(...t){this.init(...t)}addOffset(){this.x+=O.window.pageXOffset;this.y+=O.window.pageYOffset;return new Rt(this)}init(t){const n=[0,0,0,0];t=typeof t==="string"?t.split(dt).map(parseFloat):Array.isArray(t)?t:typeof t==="object"?[t.left!=null?t.left:t.x,t.top!=null?t.top:t.y,t.width,t.height]:arguments.length===4?[].slice.call(arguments):n;this.x=t[0]||0;this.y=t[1]||0;this.width=this.w=t[2]||0;this.height=this.h=t[3]||0;this.x2=this.x+this.w;this.y2=this.y+this.h;this.cx=this.x+this.w/2;this.cy=this.y+this.h/2;return this}isNulled(){return Nt(this)}merge(t){const n=Math.min(this.x,t.x);const s=Math.min(this.y,t.y);const i=Math.max(this.x+this.width,t.x+t.width)-n;const e=Math.max(this.y+this.height,t.y+t.height)-s;return new Rt(n,s,i,e)}toArray(){return[this.x,this.y,this.width,this.height]}toString(){return this.x+" "+this.y+" "+this.width+" "+this.height}transform(t){if(!(t instanceof It)){t=new It(t)}let n=Infinity;let s=-Infinity;let i=Infinity;let e=-Infinity;const r=[new Ht(this.x,this.y),new Ht(this.x2,this.y),new Ht(this.x,this.y2),new Ht(this.x2,this.y2)];r.forEach((function(r){r=r.transform(t);n=Math.min(n,r.x);s=Math.max(s,r.x);i=Math.min(i,r.y);e=Math.max(e,r.y)}));return new Rt(n,i,s-n,e-i)}}function Gt(t,n,s){let i;try{i=n(t.node);if(Nt(i)&&!Pt(t.node)){throw new Error("Element not in the dom")}}catch(n){i=s(t)}return i}function Yt(){const t=t=>t.getBBox();const n=t=>{try{const n=t.clone().addTo($t().svg).show();const s=n.node.getBBox();n.remove();return s}catch(n){throw new Error(`Getting bbox of element "${t.node.nodeName}" is not possible: ${n.toString()}`)}};const s=Gt(this,t,n);const i=new Rt(s);return i}function Xt(t){const n=t=>t.getBoundingClientRect();const s=t=>{throw new Error(`Getting rbox of element "${t.node.nodeName}" is not possible`)};const i=Gt(this,n,s);const e=new Rt(i);if(t){return e.transform(t.screenCTM().inverseO())}return e.addOffset()}function Qt(t,n){const s=this.bbox();return t>s.x&&n>s.y&&t<s.x+s.width&&n<s.y+s.height}c({viewbox:{viewbox(t,n,s,i){if(t==null)return new Rt(this.attr("viewBox"));return this.attr("viewBox",new Rt(t,n,s,i))},zoom(t,n){let{width:s,height:i}=this.attr(["width","height"]);if(!s&&!i||typeof s==="string"||typeof i==="string"){s=this.node.clientWidth;i=this.node.clientHeight}if(!s||!i){throw new Error("Impossible to get absolute width and height. Please provide an absolute width and height attribute on the zooming element")}const e=this.viewbox();const r=s/e.width;const o=i/e.height;const h=Math.min(r,o);if(t==null){return h}let u=h/t;if(u===Infinity)u=Number.MAX_SAFE_INTEGER/100;n=n||new Ht(s/2/r+e.x,i/2/o+e.y);const c=new Rt(e).transform(new It({scale:u,origin:n}));return this.viewbox(c)}}});z(Rt,"Box");class Jt extends Array{constructor(t=[],...n){super(t,...n);if(typeof t==="number")return this;this.length=0;this.push(...t)}}N([Jt],{each(t,...n){if(typeof t==="function"){return this.map(((n,s,i)=>t.call(n,n,s,i)))}else{return this.map((s=>s[t](...n)))}},toArray(){return Array.prototype.concat.apply([],this)}});const qt=["toArray","constructor","each"];Jt.extend=function(t){t=t.reduce(((t,n)=>{if(qt.includes(n))return t;if(n[0]==="_")return t;if(n in Array.prototype){t["$"+n]=Array.prototype[n]}t[n]=function(...t){return this.each(n,...t)};return t}),{});N([Jt],t)};function Ut(t,n){return new Jt(d((n||O.document).querySelectorAll(t),(function(t){return H(t)})))}function Wt(t){return Ut(t,this.node)}function Kt(t){return H(this.node.querySelector(t))}let tn=0;const nn={};function sn(t){let n=t.getEventHolder();if(n===O.window)n=nn;if(!n.events)n.events={};return n.events}function en(t){return t.getEventTarget()}function rn(t){let n=t.getEventHolder();if(n===O.window)n=nn;if(n.events)n.events={}}function on(t,n,s,i,e){const r=s.bind(i||t);const o=B(t);const h=sn(o);const u=en(o);n=Array.isArray(n)?n:n.split(dt);if(!s._svgjsListenerId){s._svgjsListenerId=++tn}n.forEach((function(t){const n=t.split(".")[0];const i=t.split(".")[1]||"*";h[n]=h[n]||{};h[n][i]=h[n][i]||{};h[n][i][s._svgjsListenerId]=r;u.addEventListener(n,r,e||false)}))}function hn(t,n,s,i){const e=B(t);const r=sn(e);const o=en(e);if(typeof s==="function"){s=s._svgjsListenerId;if(!s)return}n=Array.isArray(n)?n:(n||"").split(dt);n.forEach((function(t){const n=t&&t.split(".")[0];const h=t&&t.split(".")[1];let u,c;if(s){if(r[n]&&r[n][h||"*"]){o.removeEventListener(n,r[n][h||"*"][s],i||false);delete r[n][h||"*"][s]}}else if(n&&h){if(r[n]&&r[n][h]){for(c in r[n][h]){hn(o,[n,h].join("."),c)}delete r[n][h]}}else if(h){for(t in r){for(u in r[t]){if(h===u){hn(o,[t,h].join("."))}}}}else if(n){if(r[n]){for(u in r[n]){hn(o,[n,u].join("."))}delete r[n]}}else{for(t in r){hn(o,t)}rn(e)}}))}function un(t,n,s,i){const e=en(t);if(n instanceof O.window.Event){e.dispatchEvent(n)}else{n=new O.window.CustomEvent(n,{detail:s,cancelable:true,...i});e.dispatchEvent(n)}return n}class cn extends A{addEventListener(){}dispatch(t,n,s){return un(this,t,n,s)}dispatchEvent(t){const n=this.getEventHolder().events;if(!n)return true;const s=n[t.type];for(const n in s){for(const i in s[n]){s[n][i](t)}}return!t.defaultPrevented}fire(t,n,s){this.dispatch(t,n,s);return this}getEventHolder(){return this}getEventTarget(){return this}off(t,n,s){hn(this,t,n,s);return this}on(t,n,s,i){on(this,t,n,s,i);return this}removeEventListener(){}}z(cn,"EventTarget");function ln(){}const fn={duration:400,ease:">",delay:0};const an={"fill-opacity":1,"stroke-opacity":1,"stroke-width":0,"stroke-linejoin":"miter","stroke-linecap":"butt",fill:"#000000",stroke:"#000000",opacity:1,x:0,y:0,cx:0,cy:0,width:0,height:0,r:0,rx:0,ry:0,offset:0,"stop-opacity":1,"stop-color":"#000000","text-anchor":"start"};class dn extends Array{constructor(...t){super(...t);this.init(...t)}clone(){return new this.constructor(this)}init(t){if(typeof t==="number")return this;this.length=0;this.push(...this.parse(t));return this}parse(t=[]){if(t instanceof Array)return t;return t.trim().split(dt).map(parseFloat)}toArray(){return Array.prototype.concat.apply([],this)}toSet(){return new Set(this)}toString(){return this.join(" ")}valueOf(){const t=[];t.push(...this);return t}}class Cn{constructor(...t){this.init(...t)}convert(t){return new Cn(this.value,t)}divide(t){t=new Cn(t);return new Cn(this/t,this.unit||t.unit)}init(t,n){n=Array.isArray(t)?t[1]:n;t=Array.isArray(t)?t[0]:t;this.value=0;this.unit=n||"";if(typeof t==="number"){this.value=isNaN(t)?0:!isFinite(t)?t<0?-34e37:34e37:t}else if(typeof t==="string"){n=t.match(st);if(n){this.value=parseFloat(n[1]);if(n[5]==="%"){this.value/=100}else if(n[5]==="s"){this.value*=1e3}this.unit=n[5]}}else{if(t instanceof Cn){this.value=t.valueOf();this.unit=t.unit}}return this}minus(t){t=new Cn(t);return new Cn(this-t,this.unit||t.unit)}plus(t){t=new Cn(t);return new Cn(this+t,this.unit||t.unit)}times(t){t=new Cn(t);return new Cn(this*t,this.unit||t.unit)}toArray(){return[this.value,this.unit]}toJSON(){return this.toString()}toString(){return(this.unit==="%"?~~(this.value*1e8)/1e6:this.unit==="s"?this.value/1e3:this.value)+this.unit}valueOf(){return this.value}}const wn=new Set(["fill","stroke","color","bgcolor","stop-color","flood-color","lighting-color"]);const pn=[];function gn(t){pn.push(t)}function mn(t,n,s){if(t==null){t={};n=this.node.attributes;for(const s of n){t[s.nodeName]=ft.test(s.nodeValue)?parseFloat(s.nodeValue):s.nodeValue}return t}else if(t instanceof Array){return t.reduce(((t,n)=>{t[n]=this.attr(n);return t}),{})}else if(typeof t==="object"&&t.constructor===Object){for(n in t)this.attr(n,t[n])}else if(n===null){this.node.removeAttribute(t)}else if(n==null){n=this.node.getAttribute(t);return n==null?an[t]:ft.test(n)?parseFloat(n):n}else{n=pn.reduce(((n,s)=>s(t,n,this)),n);if(typeof n==="number"){n=new Cn(n)}else if(wn.has(t)&&Tt.isColor(n)){n=new Tt(n)}else if(n.constructor===Array){n=new dn(n)}if(t==="leading"){if(this.leading){this.leading(n)}}else{typeof s==="string"?this.node.setAttributeNS(s,t,n.toString()):this.node.setAttribute(t,n.toString())}if(this.rebuild&&(t==="font-size"||t==="x")){this.rebuild()}}return this}class yn extends cn{constructor(t,n){super();this.node=t;this.type=t.nodeName;if(n&&t!==n){this.attr(n)}}add(t,n){t=B(t);if(t.removeNamespace&&this.node instanceof O.window.SVGElement){t.removeNamespace()}if(n==null){this.node.appendChild(t.node)}else if(t.node!==this.node.childNodes[n]){this.node.insertBefore(t.node,this.node.childNodes[n])}return this}addTo(t,n){return B(t).put(this,n)}children(){return new Jt(d(this.node.children,(function(t){return H(t)})))}clear(){while(this.node.hasChildNodes()){this.node.removeChild(this.node.lastChild)}return this}clone(t=true,n=true){this.writeDataToDom();let s=this.node.cloneNode(t);if(n){s=$(s)}return new this.constructor(s)}each(t,n){const s=this.children();let i,e;for(i=0,e=s.length;i<e;i++){t.apply(s[i],[i,s]);if(n){s[i].each(t,n)}}return this}element(t,n){return this.put(new yn(S(t),n))}first(){return H(this.node.firstChild)}get(t){return H(this.node.childNodes[t])}getEventHolder(){return this.node}getEventTarget(){return this.node}has(t){return this.index(t)>=0}html(t,n){return this.xml(t,n,k)}id(t){if(typeof t==="undefined"&&!this.node.id){this.node.id=F(this.type)}return this.attr("id",t)}index(t){return[].slice.call(this.node.childNodes).indexOf(t.node)}last(){return H(this.node.lastChild)}matches(t){const n=this.node;const s=n.matches||n.matchesSelector||n.msMatchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||n.oMatchesSelector||null;return s&&s.call(n,t)}parent(t){let n=this;if(!n.node.parentNode)return null;n=H(n.node.parentNode);if(!t)return n;do{if(typeof t==="string"?n.matches(t):n instanceof t)return n}while(n=H(n.node.parentNode));return n}put(t,n){t=B(t);this.add(t,n);return t}putIn(t,n){return B(t).add(this,n)}remove(){if(this.parent()){this.parent().removeElement(this)}return this}removeElement(t){this.node.removeChild(t.node);return this}replace(t){t=B(t);if(this.node.parentNode){this.node.parentNode.replaceChild(t.node,this.node)}return t}round(t=2,n=null){const s=10**t;const i=this.attr(n);for(const t in i){if(typeof i[t]==="number"){i[t]=Math.round(i[t]*s)/s}}this.attr(i);return this}svg(t,n){return this.xml(t,n,M)}toString(){return this.id()}words(t){this.node.textContent=t;return this}wrap(t){const n=this.parent();if(!n){return this.addTo(t)}const s=n.index(this);return n.put(t,s).put(this)}writeDataToDom(){this.each((function(){this.writeDataToDom()}));return this}xml(t,n,s){if(typeof t==="boolean"){s=n;n=t;t=null}if(t==null||typeof t==="function"){n=n==null?true:n;this.writeDataToDom();let s=this;if(t!=null){s=H(s.node.cloneNode(true));if(n){const n=t(s);s=n||s;if(n===false)return""}s.each((function(){const n=t(this);const s=n||this;if(n===false){this.remove()}else if(n&&this!==s){this.replace(s)}}),true)}return n?s.node.outerHTML:s.node.innerHTML}n=n==null?false:n;const i=S("wrapper",s);const e=O.document.createDocumentFragment();i.innerHTML=t;for(let t=i.children.length;t--;){e.appendChild(i.firstElementChild)}const r=this.parent();return n?this.replace(e)&&r:this.add(e)}}N(yn,{attr:mn,find:Wt,findOne:Kt});z(yn,"Dom");class xn extends yn{constructor(t,n){super(t,n);this.dom={};this.node.instance=this;if(t.hasAttribute("data-svgjs")||t.hasAttribute("svgjs:data")){this.setData(JSON.parse(t.getAttribute("data-svgjs"))??JSON.parse(t.getAttribute("svgjs:data"))??{})}}center(t,n){return this.cx(t).cy(n)}cx(t){return t==null?this.x()+this.width()/2:this.x(t-this.width()/2)}cy(t){return t==null?this.y()+this.height()/2:this.y(t-this.height()/2)}defs(){const t=this.root();return t&&t.defs()}dmove(t,n){return this.dx(t).dy(n)}dx(t=0){return this.x(new Cn(t).plus(this.x()))}dy(t=0){return this.y(new Cn(t).plus(this.y()))}getEventHolder(){return this}height(t){return this.attr("height",t)}move(t,n){return this.x(t).y(n)}parents(t=this.root()){const n=typeof t==="string";if(!n){t=B(t)}const s=new Jt;let i=this;while((i=i.parent())&&i.node!==O.document&&i.nodeName!=="#document-fragment"){s.push(i);if(!n&&i.node===t.node){break}if(n&&i.matches(t)){break}if(i.node===this.root().node){return null}}return s}reference(t){t=this.attr(t);if(!t)return null;const n=(t+"").match(rt);return n?B(n[1]):null}root(){const t=this.parent(I(V));return t&&t.root()}setData(t){this.dom=t;return this}size(t,n){const s=m(this,t,n);return this.width(new Cn(s.width)).height(new Cn(s.height))}width(t){return this.attr("width",t)}writeDataToDom(){b(this,this.dom);return super.writeDataToDom()}x(t){return this.attr("x",t)}y(t){return this.attr("y",t)}}N(xn,{bbox:Yt,rbox:Xt,inside:Qt,point:Dt,ctm:Zt,screenCTM:Ft});z(xn,"Element");const vn={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(t,n){return n==="color"?t:t+"-"+n}};["fill","stroke"].forEach((function(t){const n={};let s;n[t]=function(n){if(typeof n==="undefined"){return this.attr(t)}if(typeof n==="string"||n instanceof Tt||Tt.isRgb(n)||n instanceof xn){this.attr(t,n)}else{for(s=vn[t].length-1;s>=0;s--){if(n[vn[t][s]]!=null){this.attr(vn.prefix(t,vn[t][s]),n[vn[t][s]])}}}return this};c(["Element","Runner"],n)}));c(["Element","Runner"],{matrix:function(t,n,s,i,e,r){if(t==null){return new It(this)}return this.attr("transform",new It(t,n,s,i,e,r))},rotate:function(t,n,s){return this.transform({rotate:t,ox:n,oy:s},true)},skew:function(t,n,s,i){return arguments.length===1||arguments.length===3?this.transform({skew:t,ox:n,oy:s},true):this.transform({skew:[t,n],ox:s,oy:i},true)},shear:function(t,n,s){return this.transform({shear:t,ox:n,oy:s},true)},scale:function(t,n,s,i){return arguments.length===1||arguments.length===3?this.transform({scale:t,ox:n,oy:s},true):this.transform({scale:[t,n],ox:s,oy:i},true)},translate:function(t,n){return this.transform({translate:[t,n]},true)},relative:function(t,n){return this.transform({relative:[t,n]},true)},flip:function(t="both",n="center"){if("xybothtrue".indexOf(t)===-1){n=t;t="both"}return this.transform({flip:t,origin:n},true)},opacity:function(t){return this.attr("opacity",t)}});c("radius",{radius:function(t,n=t){const s=(this._element||this).type;return s==="radialGradient"?this.attr("r",new Cn(t)):this.rx(t).ry(n)}});c("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(t){return new Ht(this.node.getPointAtLength(t))}});c(["Element","Runner"],{font:function(t,n){if(typeof t==="object"){for(n in t)this.font(n,t[n]);return this}return t==="leading"?this.leading(n):t==="anchor"?this.attr("text-anchor",n):t==="size"||t==="family"||t==="weight"||t==="stretch"||t==="variant"||t==="style"?this.attr("font-"+t,n):this.attr(t,n)}});const bn=["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel","contextmenu","wheel","pointerdown","pointermove","pointerup","pointerleave","pointercancel"].reduce((function(t,n){const s=function(t){if(t===null){this.off(n)}else{this.on(n,t)}return this};t[n]=s;return t}),{});c("Element",bn);function Mn(){return this.attr("transform",null)}function kn(){const t=(this.attr("transform")||"").split(ot).slice(0,-1).map((function(t){const n=t.trim().split("(");return[n[0],n[1].split(dt).map((function(t){return parseFloat(t)}))]})).reverse().reduce((function(t,n){if(n[0]==="matrix"){return t.lmultiply(It.fromArray(n[1]))}return t[n[0]].apply(t,n[1])}),new It);return t}function _n(t,n){if(this===t)return this;if(v(this.node))return this.addTo(t,n);const s=this.screenCTM();const i=t.screenCTM().inverse();this.addTo(t,n).untransform().transform(i.multiply(s));return this}function jn(t){return this.toParent(this.root(),t)}function On(t,n){if(t==null||typeof t==="string"){const n=new It(this).decompose();return t==null?n:n[t]}if(!It.isMatrixLike(t)){t={...t,origin:y(t,this)}}const s=n===true?this:n||false;const i=new It(s).transform(t);return this.attr("transform",i)}c("Element",{untransform:Mn,matrixify:kn,toParent:_n,toRoot:jn,transform:On});class Ln extends xn{flatten(){this.each((function(){if(this instanceof Ln){return this.flatten().ungroup()}}));return this}ungroup(t=this.parent(),n=t.index(this)){n=n===-1?t.children().length:n;this.each((function(s,i){return i[i.length-s-1].toParent(t,n)}));return this.remove()}}z(Ln,"Container");class An extends Ln{constructor(t,n=t){super(T("defs",t),n)}flatten(){return this}ungroup(){return this}}z(An,"Defs");class En extends xn{}z(En,"Shape");function Vn(t){return this.attr("rx",t)}function Sn(t){return this.attr("ry",t)}function Bn(t){return t==null?this.cx()-this.rx():this.cx(t+this.rx())}function Tn(t){return t==null?this.cy()-this.ry():this.cy(t+this.ry())}function Hn(t){return this.attr("cx",t)}function Dn(t){return this.attr("cy",t)}function zn(t){return t==null?this.rx()*2:this.rx(new Cn(t).divide(2))}function In(t){return t==null?this.ry()*2:this.ry(new Cn(t).divide(2))}var Zn=Object.freeze({__proto__:null,cx:Hn,cy:Dn,height:In,rx:Vn,ry:Sn,width:zn,x:Bn,y:Tn});class Fn extends En{constructor(t,n=t){super(T("ellipse",t),n)}size(t,n){const s=m(this,t,n);return this.rx(new Cn(s.width).divide(2)).ry(new Cn(s.height).divide(2))}}N(Fn,Zn);c("Container",{ellipse:P((function(t=0,n=t){return this.put(new Fn).size(t,n).move(0,0)}))});z(Fn,"Ellipse");class $n extends yn{constructor(t=O.document.createDocumentFragment()){super(t)}xml(t,n,s){if(typeof t==="boolean"){s=n;n=t;t=null}if(t==null||typeof t==="function"){const t=new yn(S("wrapper",s));t.add(this.node.cloneNode(true));return t.xml(false,s)}return super.xml(t,false,s)}}z($n,"Fragment");function Nn(t,n){return(this._element||this).type==="radialGradient"?this.attr({fx:new Cn(t),fy:new Cn(n)}):this.attr({x1:new Cn(t),y1:new Cn(n)})}function Pn(t,n){return(this._element||this).type==="radialGradient"?this.attr({cx:new Cn(t),cy:new Cn(n)}):this.attr({x2:new Cn(t),y2:new Cn(n)})}var Rn=Object.freeze({__proto__:null,from:Nn,to:Pn});class Gn extends Ln{constructor(t,n){super(T(t+"Gradient",typeof t==="string"?null:t),n)}attr(t,n,s){if(t==="transform")t="gradientTransform";return super.attr(t,n,s)}bbox(){return new Rt}targets(){return Ut("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this}url(){return"url(#"+this.id()+")"}}N(Gn,Rn);c({Container:{gradient(...t){return this.defs().gradient(...t)}},Defs:{gradient:P((function(t,n){return this.put(new Gn(t)).update(n)}))}});z(Gn,"Gradient");class Yn extends Ln{constructor(t,n=t){super(T("pattern",t),n)}attr(t,n,s){if(t==="transform")t="patternTransform";return super.attr(t,n,s)}bbox(){return new Rt}targets(){return Ut("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this}url(){return"url(#"+this.id()+")"}}c({Container:{pattern(...t){return this.defs().pattern(...t)}},Defs:{pattern:P((function(t,n,s){return this.put(new Yn).update(s).attr({x:0,y:0,width:t,height:n,patternUnits:"userSpaceOnUse"})}))}});z(Yn,"Pattern");class Xn extends En{constructor(t,n=t){super(T("image",t),n)}load(t,n){if(!t)return this;const s=new O.window.Image;on(s,"load",(function(t){const i=this.parent(Yn);if(this.width()===0&&this.height()===0){this.size(s.width,s.height)}if(i instanceof Yn){if(i.width()===0&&i.height()===0){i.size(this.width(),this.height())}}if(typeof n==="function"){n.call(this,t)}}),this);on(s,"load error",(function(){hn(s)}));return this.attr("href",s.src=t,j)}}gn((function(t,n,s){if(t==="fill"||t==="stroke"){if(at.test(n)){n=s.root().defs().image(n)}}if(n instanceof Xn){n=s.root().defs().pattern(0,0,(t=>{t.add(n)}))}return n}));c({Container:{image:P((function(t,n){return this.put(new Xn).size(0,0).load(t,n)}))}});z(Xn,"Image");class Qn extends dn{bbox(){let t=-Infinity;let n=-Infinity;let s=Infinity;let i=Infinity;this.forEach((function(e){t=Math.max(e[0],t);n=Math.max(e[1],n);s=Math.min(e[0],s);i=Math.min(e[1],i)}));return new Rt(s,i,t-s,n-i)}move(t,n){const s=this.bbox();t-=s.x;n-=s.y;if(!isNaN(t)&&!isNaN(n)){for(let s=this.length-1;s>=0;s--){this[s]=[this[s][0]+t,this[s][1]+n]}}return this}parse(t=[0,0]){const n=[];if(t instanceof Array){t=Array.prototype.concat.apply([],t)}else{t=t.trim().split(dt).map(parseFloat)}if(t.length%2!==0)t.pop();for(let s=0,i=t.length;s<i;s=s+2){n.push([t[s],t[s+1]])}return n}size(t,n){let s;const i=this.bbox();for(s=this.length-1;s>=0;s--){if(i.width)this[s][0]=(this[s][0]-i.x)*t/i.width+i.x;if(i.height)this[s][1]=(this[s][1]-i.y)*n/i.height+i.y}return this}toLine(){return{x1:this[0][0],y1:this[0][1],x2:this[1][0],y2:this[1][1]}}toString(){const t=[];for(let n=0,s=this.length;n<s;n++){t.push(this[n].join(","))}return t.join(" ")}transform(t){return this.clone().transformO(t)}transformO(t){if(!It.isMatrixLike(t)){t=new It(t)}for(let n=this.length;n--;){const[s,i]=this[n];this[n][0]=t.a*s+t.c*i+t.e;this[n][1]=t.b*s+t.d*i+t.f}return this}}const Jn=Qn;function qn(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)}function Un(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)}function Wn(t){const n=this.bbox();return t==null?n.width:this.size(t,n.height)}function Kn(t){const n=this.bbox();return t==null?n.height:this.size(n.width,t)}var ts=Object.freeze({__proto__:null,MorphArray:Jn,height:Kn,width:Wn,x:qn,y:Un});class ns extends En{constructor(t,n=t){super(T("line",t),n)}array(){return new Qn([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])}move(t,n){return this.attr(this.array().move(t,n).toLine())}plot(t,n,s,i){if(t==null){return this.array()}else if(typeof n!=="undefined"){t={x1:t,y1:n,x2:s,y2:i}}else{t=new Qn(t).toLine()}return this.attr(t)}size(t,n){const s=m(this,t,n);return this.attr(this.array().size(s.width,s.height).toLine())}}N(ns,ts);c({Container:{line:P((function(...t){return ns.prototype.plot.apply(this.put(new ns),t[0]!=null?t:[0,0,0,0])}))}});z(ns,"Line");class ss extends Ln{constructor(t,n=t){super(T("marker",t),n)}height(t){return this.attr("markerHeight",t)}orient(t){return this.attr("orient",t)}ref(t,n){return this.attr("refX",t).attr("refY",n)}toString(){return"url(#"+this.id()+")"}update(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this}width(t){return this.attr("markerWidth",t)}}c({Container:{marker(...t){return this.defs().marker(...t)}},Defs:{marker:P((function(t,n,s){return this.put(new ss).size(t,n).ref(t/2,n/2).viewbox(0,0,t,n).attr("orient","auto").update(s)}))},marker:{marker(t,n,s,i){let e=["marker"];if(t!=="all")e.push(t);e=e.join("-");t=arguments[1]instanceof ss?arguments[1]:this.defs().marker(n,s,i);return this.attr(e,t)}}});z(ss,"Marker");function is(t,n){return function(s){if(s==null)return this[t];this[t]=s;if(n)n.call(this);return this}}const es={"-":function(t){return t},"<>":function(t){return-Math.cos(t*Math.PI)/2+.5},">":function(t){return Math.sin(t*Math.PI/2)},"<":function(t){return-Math.cos(t*Math.PI/2)+1},bezier:function(t,n,s,i){return function(e){if(e<0){if(t>0){return n/t*e}else if(s>0){return i/s*e}else{return 0}}else if(e>1){if(s<1){return(1-i)/(1-s)*e+(i-s)/(1-s)}else if(t<1){return(1-n)/(1-t)*e+(n-t)/(1-t)}else{return 1}}else{return 3*e*(1-e)**2*n+3*e**2*(1-e)*i+e**3}}},steps:function(t,n="end"){n=n.split("-").reverse()[0];let s=t;if(n==="none"){--s}else if(n==="both"){++s}return(i,e=false)=>{let r=Math.floor(i*t);const o=i*r%1===0;if(n==="start"||n==="both"){++r}if(e&&o){--r}if(i>=0&&r<0){r=0}if(i<=1&&r>s){r=s}return r/s}}};class rs{done(){return false}}class os extends rs{constructor(t=fn.ease){super();this.ease=es[t]||t}step(t,n,s){if(typeof t!=="number"){return s<1?t:n}return t+(n-t)*this.ease(s)}}class hs extends rs{constructor(t){super();this.stepper=t}done(t){return t.done}step(t,n,s,i){return this.stepper(t,n,s,i)}}function us(){const t=(this._duration||500)/1e3;const n=this._overshoot||0;const s=1e-10;const i=Math.PI;const e=Math.log(n/100+s);const r=-e/Math.sqrt(i*i+e*e);const o=3.9/(r*t);this.d=2*r*o;this.k=o*o}class cs extends hs{constructor(t=500,n=0){super();this.duration(t).overshoot(n)}step(t,n,s,i){if(typeof t==="string")return t;i.done=s===Infinity;if(s===Infinity)return n;if(s===0)return t;if(s>100)s=16;s/=1e3;const e=i.velocity||0;const r=-this.d*e-this.k*(t-n);const o=t+e*s+r*s*s/2;i.velocity=e+r*s;i.done=Math.abs(n-o)+Math.abs(e)<.002;return i.done?n:o}}N(cs,{duration:is("_duration",us),overshoot:is("_overshoot",us)});class ls extends hs{constructor(t=.1,n=.01,s=0,i=1e3){super();this.p(t).i(n).d(s).windup(i)}step(t,n,s,i){if(typeof t==="string")return t;i.done=s===Infinity;if(s===Infinity)return n;if(s===0)return t;const e=n-t;let r=(i.integral||0)+e*s;const o=(e-(i.error||0))/s;const h=this._windup;if(h!==false){r=Math.max(-h,Math.min(r,h))}i.error=e;i.integral=r;i.done=Math.abs(e)<.001;return i.done?n:t+(this.P*e+this.I*r+this.D*o)}}N(ls,{windup:is("_windup"),p:is("P"),i:is("I"),d:is("D")});const fs={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0};const as={M:function(t,n,s){n.x=s.x=t[0];n.y=s.y=t[1];return["M",n.x,n.y]},L:function(t,n){n.x=t[0];n.y=t[1];return["L",t[0],t[1]]},H:function(t,n){n.x=t[0];return["H",t[0]]},V:function(t,n){n.y=t[0];return["V",t[0]]},C:function(t,n){n.x=t[4];n.y=t[5];return["C",t[0],t[1],t[2],t[3],t[4],t[5]]},S:function(t,n){n.x=t[2];n.y=t[3];return["S",t[0],t[1],t[2],t[3]]},Q:function(t,n){n.x=t[2];n.y=t[3];return["Q",t[0],t[1],t[2],t[3]]},T:function(t,n){n.x=t[0];n.y=t[1];return["T",t[0],t[1]]},Z:function(t,n,s){n.x=s.x;n.y=s.y;return["Z"]},A:function(t,n){n.x=t[5];n.y=t[6];return["A",t[0],t[1],t[2],t[3],t[4],t[5],t[6]]}};const ds="mlhvqtcsaz".split("");for(let t=0,n=ds.length;t<n;++t){as[ds[t]]=function(t){return function(n,s,i){if(t==="H")n[0]=n[0]+s.x;else if(t==="V")n[0]=n[0]+s.y;else if(t==="A"){n[5]=n[5]+s.x;n[6]=n[6]+s.y}else{for(let t=0,i=n.length;t<i;++t){n[t]=n[t]+(t%2?s.y:s.x)}}return as[t](n,s,i)}}(ds[t].toUpperCase())}function Cs(t){const n=t.segment[0];return as[n](t.segment.slice(1),t.p,t.p0)}function ws(t){return t.segment.length&&t.segment.length-1===fs[t.segment[0].toUpperCase()]}function ps(t,n){t.inNumber&&gs(t,false);const s=Ct.test(n);if(s){t.segment=[n]}else{const n=t.lastCommand;const s=n.toLowerCase();const i=n===s;t.segment=[s==="m"?i?"l":"L":n]}t.inSegment=true;t.lastCommand=t.segment[0];return s}function gs(t,n){if(!t.inNumber)throw new Error("Parser Error");t.number&&t.segment.push(parseFloat(t.number));t.inNumber=n;t.number="";t.pointSeen=false;t.hasExponent=false;if(ws(t)){ms(t)}}function ms(t){t.inSegment=false;if(t.absolute){t.segment=Cs(t)}t.segments.push(t.segment)}function ys(t){if(!t.segment.length)return false;const n=t.segment[0].toUpperCase()==="A";const s=t.segment.length;return n&&(s===4||s===5)}function xs(t){return t.lastToken.toUpperCase()==="E"}const vs=new Set([" ",",","\t","\n","\r","\f"]);function bs(t,n=true){let s=0;let i="";const e={segment:[],inNumber:false,number:"",lastToken:"",inSegment:false,segments:[],pointSeen:false,hasExponent:false,absolute:n,p0:new Ht,p:new Ht};while(e.lastToken=i,i=t.charAt(s++)){if(!e.inSegment){if(ps(e,i)){continue}}if(i==="."){if(e.pointSeen||e.hasExponent){gs(e,false);--s;continue}e.inNumber=true;e.pointSeen=true;e.number+=i;continue}if(!isNaN(parseInt(i))){if(e.number==="0"||ys(e)){e.inNumber=true;e.number=i;gs(e,true);continue}e.inNumber=true;e.number+=i;continue}if(vs.has(i)){if(e.inNumber){gs(e,false)}continue}if(i==="-"||i==="+"){if(e.inNumber&&!xs(e)){gs(e,false);--s;continue}e.number+=i;e.inNumber=true;continue}if(i.toUpperCase()==="E"){e.number+=i;e.hasExponent=true;continue}if(Ct.test(i)){if(e.inNumber){gs(e,false)}else if(!ws(e)){throw new Error("parser Error")}else{ms(e)}--s}}if(e.inNumber){gs(e,false)}if(e.inSegment&&ws(e)){ms(e)}return e.segments}function Ms(t){let n="";for(let s=0,i=t.length;s<i;s++){n+=t[s][0];if(t[s][1]!=null){n+=t[s][1];if(t[s][2]!=null){n+=" ";n+=t[s][2];if(t[s][3]!=null){n+=" ";n+=t[s][3];n+=" ";n+=t[s][4];if(t[s][5]!=null){n+=" ";n+=t[s][5];n+=" ";n+=t[s][6];if(t[s][7]!=null){n+=" ";n+=t[s][7]}}}}}}return n+" "}class ks extends dn{bbox(){$t().path.setAttribute("d",this.toString());return new Rt($t.nodes.path.getBBox())}move(t,n){const s=this.bbox();t-=s.x;n-=s.y;if(!isNaN(t)&&!isNaN(n)){for(let s,i=this.length-1;i>=0;i--){s=this[i][0];if(s==="M"||s==="L"||s==="T"){this[i][1]+=t;this[i][2]+=n}else if(s==="H"){this[i][1]+=t}else if(s==="V"){this[i][1]+=n}else if(s==="C"||s==="S"||s==="Q"){this[i][1]+=t;this[i][2]+=n;this[i][3]+=t;this[i][4]+=n;if(s==="C"){this[i][5]+=t;this[i][6]+=n}}else if(s==="A"){this[i][6]+=t;this[i][7]+=n}}}return this}parse(t="M0 0"){if(Array.isArray(t)){t=Array.prototype.concat.apply([],t).toString()}return bs(t)}size(t,n){const s=this.bbox();let i,e;s.width=s.width===0?1:s.width;s.height=s.height===0?1:s.height;for(i=this.length-1;i>=0;i--){e=this[i][0];if(e==="M"||e==="L"||e==="T"){this[i][1]=(this[i][1]-s.x)*t/s.width+s.x;this[i][2]=(this[i][2]-s.y)*n/s.height+s.y}else if(e==="H"){this[i][1]=(this[i][1]-s.x)*t/s.width+s.x}else if(e==="V"){this[i][1]=(this[i][1]-s.y)*n/s.height+s.y}else if(e==="C"||e==="S"||e==="Q"){this[i][1]=(this[i][1]-s.x)*t/s.width+s.x;this[i][2]=(this[i][2]-s.y)*n/s.height+s.y;this[i][3]=(this[i][3]-s.x)*t/s.width+s.x;this[i][4]=(this[i][4]-s.y)*n/s.height+s.y;if(e==="C"){this[i][5]=(this[i][5]-s.x)*t/s.width+s.x;this[i][6]=(this[i][6]-s.y)*n/s.height+s.y}}else if(e==="A"){this[i][1]=this[i][1]*t/s.width;this[i][2]=this[i][2]*n/s.height;this[i][6]=(this[i][6]-s.x)*t/s.width+s.x;this[i][7]=(this[i][7]-s.y)*n/s.height+s.y}}return this}toString(){return Ms(this)}}const _s=t=>{const n=typeof t;if(n==="number"){return Cn}else if(n==="string"){if(Tt.isColor(t)){return Tt}else if(dt.test(t)){return Ct.test(t)?ks:dn}else if(st.test(t)){return Cn}else{return Os}}else if(Vs.indexOf(t.constructor)>-1){return t.constructor}else if(Array.isArray(t)){return dn}else if(n==="object"){return Es}else{return Os}};class js{constructor(t){this._stepper=t||new os("-");this._from=null;this._to=null;this._type=null;this._context=null;this._morphObj=null}at(t){return this._morphObj.morph(this._from,this._to,t,this._stepper,this._context)}done(){const t=this._context.map(this._stepper.done).reduce((function(t,n){return t&&n}),true);return t}from(t){if(t==null){return this._from}this._from=this._set(t);return this}stepper(t){if(t==null)return this._stepper;this._stepper=t;return this}to(t){if(t==null){return this._to}this._to=this._set(t);return this}type(t){if(t==null){return this._type}this._type=t;return this}_set(t){if(!this._type){this.type(_s(t))}let n=new this._type(t);if(this._type===Tt){n=this._to?n[this._to[4]]():this._from?n[this._from[4]]():n}if(this._type===Es){n=this._to?n.align(this._to):this._from?n.align(this._from):n}n=n.toConsumable();this._morphObj=this._morphObj||new this._type;this._context=this._context||Array.apply(null,Array(n.length)).map(Object).map((function(t){t.done=true;return t}));return n}}class Os{constructor(...t){this.init(...t)}init(t){t=Array.isArray(t)?t[0]:t;this.value=t;return this}toArray(){return[this.value]}valueOf(){return this.value}}class Ls{constructor(...t){this.init(...t)}init(t){if(Array.isArray(t)){t={scaleX:t[0],scaleY:t[1],shear:t[2],rotate:t[3],translateX:t[4],translateY:t[5],originX:t[6],originY:t[7]}}Object.assign(this,Ls.defaults,t);return this}toArray(){const t=this;return[t.scaleX,t.scaleY,t.shear,t.rotate,t.translateX,t.translateY,t.originX,t.originY]}}Ls.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0};const As=(t,n)=>t[0]<n[0]?-1:t[0]>n[0]?1:0;class Es{constructor(...t){this.init(...t)}align(t){const n=this.values;for(let s=0,i=n.length;s<i;++s){if(n[s+1]===t[s+1]){if(n[s+1]===Tt&&t[s+7]!==n[s+7]){const n=t[s+7];const i=new Tt(this.values.splice(s+3,5))[n]().toArray();this.values.splice(s+3,0,...i)}s+=n[s+2]+2;continue}if(!t[s+1]){return this}const i=(new t[s+1]).toArray();const e=n[s+2]+3;n.splice(s,e,t[s],t[s+1],t[s+2],...i);s+=n[s+2]+2}return this}init(t){this.values=[];if(Array.isArray(t)){this.values=t.slice();return}t=t||{};const n=[];for(const s in t){const i=_s(t[s]);const e=new i(t[s]).toArray();n.push([s,i,e.length,...e])}n.sort(As);this.values=n.reduce(((t,n)=>t.concat(n)),[]);return this}toArray(){return this.values}valueOf(){const t={};const n=this.values;while(n.length){const s=n.shift();const i=n.shift();const e=n.shift();const r=n.splice(0,e);t[s]=new i(r)}return t}}const Vs=[Os,Ls,Es];function Ss(t=[]){Vs.push(...[].concat(t))}function Bs(){N(Vs,{to(t){return(new js).type(this.constructor).from(this.toArray()).to(t)},fromArray(t){this.init(t);return this},toConsumable(){return this.toArray()},morph(t,n,s,i,e){const r=function(t,r){return i.step(t,n[r],s,e[r],e)};return this.fromArray(t.map(r))}})}class Ts extends En{constructor(t,n=t){super(T("path",t),n)}array(){return this._array||(this._array=new ks(this.attr("d")))}clear(){delete this._array;return this}height(t){return t==null?this.bbox().height:this.size(this.bbox().width,t)}move(t,n){return this.attr("d",this.array().move(t,n))}plot(t){return t==null?this.array():this.clear().attr("d",typeof t==="string"?t:this._array=new ks(t))}size(t,n){const s=m(this,t,n);return this.attr("d",this.array().size(s.width,s.height))}width(t){return t==null?this.bbox().width:this.size(t,this.bbox().height)}x(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)}y(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)}}Ts.prototype.MorphArray=ks;c({Container:{path:P((function(t){return this.put(new Ts).plot(t||new ks)}))}});z(Ts,"Path");function Hs(){return this._array||(this._array=new Qn(this.attr("points")))}function Ds(){delete this._array;return this}function zs(t,n){return this.attr("points",this.array().move(t,n))}function Is(t){return t==null?this.array():this.clear().attr("points",typeof t==="string"?t:this._array=new Qn(t))}function Zs(t,n){const s=m(this,t,n);return this.attr("points",this.array().size(s.width,s.height))}var Fs=Object.freeze({__proto__:null,array:Hs,clear:Ds,move:zs,plot:Is,size:Zs});class $s extends En{constructor(t,n=t){super(T("polygon",t),n)}}c({Container:{polygon:P((function(t){return this.put(new $s).plot(t||new Qn)}))}});N($s,ts);N($s,Fs);z($s,"Polygon");class Ns extends En{constructor(t,n=t){super(T("polyline",t),n)}}c({Container:{polyline:P((function(t){return this.put(new Ns).plot(t||new Qn)}))}});N(Ns,ts);N(Ns,Fs);z(Ns,"Polyline");class Ps extends En{constructor(t,n=t){super(T("rect",t),n)}}N(Ps,{rx:Vn,ry:Sn});c({Container:{rect:P((function(t,n){return this.put(new Ps).size(t,n)}))}});z(Ps,"Rect");class Rs{constructor(){this._first=null;this._last=null}first(){return this._first&&this._first.value}last(){return this._last&&this._last.value}push(t){const n=typeof t.next!=="undefined"?t:{value:t,next:null,prev:null};if(this._last){n.prev=this._last;this._last.next=n;this._last=n}else{this._last=n;this._first=n}return n}remove(t){if(t.prev)t.prev.next=t.next;if(t.next)t.next.prev=t.prev;if(t===this._last)this._last=t.prev;if(t===this._first)this._first=t.next;t.prev=null;t.next=null}shift(){const t=this._first;if(!t)return null;this._first=t.next;if(this._first)this._first.prev=null;this._last=this._first?this._last:null;return t.value}}const Gs={nextDraw:null,frames:new Rs,timeouts:new Rs,immediates:new Rs,timer:()=>O.window.performance||O.window.Date,transforms:[],frame(t){const n=Gs.frames.push({run:t});if(Gs.nextDraw===null){Gs.nextDraw=O.window.requestAnimationFrame(Gs._draw)}return n},timeout(t,n){n=n||0;const s=Gs.timer().now()+n;const i=Gs.timeouts.push({run:t,time:s});if(Gs.nextDraw===null){Gs.nextDraw=O.window.requestAnimationFrame(Gs._draw)}return i},immediate(t){const n=Gs.immediates.push(t);if(Gs.nextDraw===null){Gs.nextDraw=O.window.requestAnimationFrame(Gs._draw)}return n},cancelFrame(t){t!=null&&Gs.frames.remove(t)},clearTimeout(t){t!=null&&Gs.timeouts.remove(t)},cancelImmediate(t){t!=null&&Gs.immediates.remove(t)},_draw(t){let n=null;const s=Gs.timeouts.last();while(n=Gs.timeouts.shift()){if(t>=n.time){n.run()}else{Gs.timeouts.push(n)}if(n===s)break}let i=null;const e=Gs.frames.last();while(i!==e&&(i=Gs.frames.shift())){i.run(t)}let r=null;while(r=Gs.immediates.shift()){r()}Gs.nextDraw=Gs.timeouts.first()||Gs.frames.first()?O.window.requestAnimationFrame(Gs._draw):null}};const Ys=function(t){const n=t.start;const s=t.runner.duration();const i=n+s;return{start:n,duration:s,end:i,runner:t.runner}};const Xs=function(){const t=O.window;return(t.performance||t.Date).now()};class Qs extends cn{constructor(t=Xs){super();this._timeSource=t;this.terminate()}active(){return!!this._nextFrame}finish(){this.time(this.getEndTimeOfTimeline()+1);return this.pause()}getEndTime(){const t=this.getLastRunnerInfo();const n=t?t.runner.duration():0;const s=t?t.start:this._time;return s+n}getEndTimeOfTimeline(){const t=this._runners.map((t=>t.start+t.runner.duration()));return Math.max(0,...t)}getLastRunnerInfo(){return this.getRunnerInfoById(this._lastRunnerId)}getRunnerInfoById(t){return this._runners[this._runnerIds.indexOf(t)]||null}pause(){this._paused=true;return this._continue()}persist(t){if(t==null)return this._persist;this._persist=t;return this}play(){this._paused=false;return this.updateTime()._continue()}reverse(t){const n=this.speed();if(t==null)return this.speed(-n);const s=Math.abs(n);return this.speed(t?-s:s)}schedule(t,n,s){if(t==null){return this._runners.map(Ys)}let i=0;const e=this.getEndTime();n=n||0;if(s==null||s==="last"||s==="after"){i=e}else if(s==="absolute"||s==="start"){i=n;n=0}else if(s==="now"){i=this._time}else if(s==="relative"){const s=this.getRunnerInfoById(t.id);if(s){i=s.start+n;n=0}}else if(s==="with-last"){const t=this.getLastRunnerInfo();const n=t?t.start:this._time;i=n}else{throw new Error('Invalid value for the "when" parameter')}t.unschedule();t.timeline(this);const r=t.persist();const o={persist:r===null?this._persist:r,start:i+n,runner:t};this._lastRunnerId=t.id;this._runners.push(o);this._runners.sort(((t,n)=>t.start-n.start));this._runnerIds=this._runners.map((t=>t.runner.id));this.updateTime()._continue();return this}seek(t){return this.time(this._time+t)}source(t){if(t==null)return this._timeSource;this._timeSource=t;return this}speed(t){if(t==null)return this._speed;this._speed=t;return this}stop(){this.time(0);return this.pause()}time(t){if(t==null)return this._time;this._time=t;return this._continue(true)}unschedule(t){const n=this._runnerIds.indexOf(t.id);if(n<0)return this;this._runners.splice(n,1);this._runnerIds.splice(n,1);t.timeline(null);return this}updateTime(){if(!this.active()){this._lastSourceTime=this._timeSource()}return this}_continue(t=false){Gs.cancelFrame(this._nextFrame);this._nextFrame=null;if(t)return this._stepImmediate();if(this._paused)return this;this._nextFrame=Gs.frame(this._step);return this}_stepFn(t=false){const n=this._timeSource();let s=n-this._lastSourceTime;if(t)s=0;const i=this._speed*s+(this._time-this._lastStepTime);this._lastSourceTime=n;if(!t){this._time+=i;this._time=this._time<0?0:this._time}this._lastStepTime=this._time;this.fire("time",this._time);for(let t=this._runners.length;t--;){const n=this._runners[t];const s=n.runner;const i=this._time-n.start;if(i<=0){s.reset()}}let e=false;for(let t=0,n=this._runners.length;t<n;t++){const s=this._runners[t];const r=s.runner;let o=i;const h=this._time-s.start;if(h<=0){e=true;continue}else if(h<o){o=h}if(!r.active())continue;const u=r.step(o).done;if(!u){e=true}else if(s.persist!==true){const i=r.duration()-r.time()+this._time;if(i+s.persist<this._time){r.unschedule();--t;--n}}}if(e&&!(this._speed<0&&this._time===0)||this._runnerIds.length&&this._speed<0&&this._time>0){this._continue()}else{this.pause();this.fire("finished")}return this}terminate(){this._startTime=0;this._speed=1;this._persist=0;this._nextFrame=null;this._paused=true;this._runners=[];this._runnerIds=[];this._lastRunnerId=-1;this._time=0;this._lastSourceTime=0;this._lastStepTime=0;this._step=this._stepFn.bind(this,false);this._stepImmediate=this._stepFn.bind(this,true)}}c({Element:{timeline:function(t){if(t==null){this._timeline=this._timeline||new Qs;return this._timeline}else{this._timeline=t;return this}}}});class Js extends cn{constructor(t){super();this.id=Js.id++;t=t==null?fn.duration:t;t=typeof t==="function"?new hs(t):t;this._element=null;this._timeline=null;this.done=false;this._queue=[];this._duration=typeof t==="number"&&t;this._isDeclarative=t instanceof hs;this._stepper=this._isDeclarative?t:new os;this._history={};this.enabled=true;this._time=0;this._lastTime=0;this._reseted=true;this.transforms=new It;this.transformId=1;this._haveReversed=false;this._reverse=false;this._loopsDone=0;this._swing=false;this._wait=0;this._times=1;this._frameId=null;this._persist=this._isDeclarative?true:null}static sanitise(t,n,s){let i=1;let e=false;let r=0;t=t??fn.duration;n=n??fn.delay;s=s||"last";if(typeof t==="object"&&!(t instanceof rs)){n=t.delay??n;s=t.when??s;e=t.swing||e;i=t.times??i;r=t.wait??r;t=t.duration??fn.duration}return{duration:t,delay:n,swing:e,times:i,wait:r,when:s}}active(t){if(t==null)return this.enabled;this.enabled=t;return this}addTransform(t){this.transforms.lmultiplyO(t);return this}after(t){return this.on("finished",t)}animate(t,n,s){const i=Js.sanitise(t,n,s);const e=new Js(i.duration);if(this._timeline)e.timeline(this._timeline);if(this._element)e.element(this._element);return e.loop(i).schedule(i.delay,i.when)}clearTransform(){this.transforms=new It;return this}clearTransformsFromQueue(){if(!this.done||!this._timeline||!this._timeline._runnerIds.includes(this.id)){this._queue=this._queue.filter((t=>!t.isTransform))}}delay(t){return this.animate(0,t)}duration(){return this._times*(this._wait+this._duration)-this._wait}during(t){return this.queue(null,t)}ease(t){this._stepper=new os(t);return this}element(t){if(t==null)return this._element;this._element=t;t._prepareRunner();return this}finish(){return this.step(Infinity)}loop(t,n,s){if(typeof t==="object"){n=t.swing;s=t.wait;t=t.times}this._times=t||Infinity;this._swing=n||false;this._wait=s||0;if(this._times===true){this._times=Infinity}return this}loops(t){const n=this._duration+this._wait;if(t==null){const t=Math.floor(this._time/n);const s=this._time-t*n;const i=s/this._duration;return Math.min(t+i,this._times)}const s=Math.floor(t);const i=t%1;const e=n*s+this._duration*i;return this.time(e)}persist(t){if(t==null)return this._persist;this._persist=t;return this}position(t){const n=this._time;const s=this._duration;const i=this._wait;const e=this._times;const r=this._swing;const o=this._reverse;let h;if(t==null){const t=function(t){const n=r*Math.floor(t%(2*(i+s))/(i+s));const e=n&&!o||!n&&o;const h=Math.pow(-1,e)*(t%(i+s))/s+e;const u=Math.max(Math.min(h,1),0);return u};const u=e*(i+s)-i;h=n<=0?Math.round(t(1e-5)):n<u?t(n):Math.round(t(u-1e-5));return h}const u=Math.floor(this.loops());const c=r&&u%2===0;const l=c&&!o||o&&c;h=u+(l?t:1-t);return this.loops(h)}progress(t){if(t==null){return Math.min(1,this._time/this.duration())}return this.time(t*this.duration())}queue(t,n,s,i){this._queue.push({initialiser:t||ln,runner:n||ln,retarget:s,isTransform:i,initialised:false,finished:false});const e=this.timeline();e&&this.timeline()._continue();return this}reset(){if(this._reseted)return this;this.time(0);this._reseted=true;return this}reverse(t){this._reverse=t==null?!this._reverse:t;return this}schedule(t,n,s){if(!(t instanceof Qs)){s=n;n=t;t=this.timeline()}if(!t){throw Error("Runner cannot be scheduled without timeline")}t.schedule(this,n,s);return this}step(t){if(!this.enabled)return this;t=t==null?16:t;this._time+=t;const n=this.position();const s=this._lastPosition!==n&&this._time>=0;this._lastPosition=n;const i=this.duration();const e=this._lastTime<=0&&this._time>0;const r=this._lastTime<i&&this._time>=i;this._lastTime=this._time;if(e){this.fire("start",this)}const o=this._isDeclarative;this.done=!o&&!r&&this._time>=i;this._reseted=false;let h=false;if(s||o){this._initialise(s);this.transforms=new It;h=this._run(o?t:n);this.fire("step",this)}this.done=this.done||h&&o;if(r){this.fire("finished",this)}return this}time(t){if(t==null){return this._time}const n=t-this._time;this.step(n);return this}timeline(t){if(typeof t==="undefined")return this._timeline;this._timeline=t;return this}unschedule(){const t=this.timeline();t&&t.unschedule(this);return this}_initialise(t){if(!t&&!this._isDeclarative)return;for(let n=0,s=this._queue.length;n<s;++n){const s=this._queue[n];const i=this._isDeclarative||!s.initialised&&t;t=!s.finished;if(i&&t){s.initialiser.call(this);s.initialised=true}}}_rememberMorpher(t,n){this._history[t]={morpher:n,caller:this._queue[this._queue.length-1]};if(this._isDeclarative){const t=this.timeline();t&&t.play()}}_run(t){let n=true;for(let s=0,i=this._queue.length;s<i;++s){const i=this._queue[s];const e=i.runner.call(this,t);i.finished=i.finished||e===true;n=n&&i.finished}return n}_tryRetarget(t,n,s){if(this._history[t]){if(!this._history[t].caller.initialised){const n=this._queue.indexOf(this._history[t].caller);this._queue.splice(n,1);return false}if(this._history[t].caller.retarget){this._history[t].caller.retarget.call(this,n,s)}else{this._history[t].morpher.to(n)}this._history[t].caller.finished=false;const i=this.timeline();i&&i.play();return true}return false}}Js.id=0;class qs{constructor(t=new It,n=-1,s=true){this.transforms=t;this.id=n;this.done=s}clearTransformsFromQueue(){}}N([Js,qs],{mergeWith(t){return new qs(t.transforms.lmultiply(this.transforms),t.id)}});const Us=(t,n)=>t.lmultiplyO(n);const Ws=t=>t.transforms;function Ks(){const t=this._transformationRunners.runners;const n=t.map(Ws).reduce(Us,new It);this.transform(n);this._transformationRunners.merge();if(this._transformationRunners.length()===1){this._frameId=null}}class ti{constructor(){this.runners=[];this.ids=[]}add(t){if(this.runners.includes(t))return;const n=t.id+1;this.runners.push(t);this.ids.push(n);return this}clearBefore(t){const n=this.ids.indexOf(t+1)||1;this.ids.splice(0,n,0);this.runners.splice(0,n,new qs).forEach((t=>t.clearTransformsFromQueue()));return this}edit(t,n){const s=this.ids.indexOf(t+1);this.ids.splice(s,1,t+1);this.runners.splice(s,1,n);return this}getByID(t){return this.runners[this.ids.indexOf(t+1)]}length(){return this.ids.length}merge(){let t=null;for(let n=0;n<this.runners.length;++n){const s=this.runners[n];const i=t&&s.done&&t.done&&(!s._timeline||!s._timeline._runnerIds.includes(s.id))&&(!t._timeline||!t._timeline._runnerIds.includes(t.id));if(i){this.remove(s.id);const i=s.mergeWith(t);this.edit(t.id,i);t=i;--n}else{t=s}}return this}remove(t){const n=this.ids.indexOf(t+1);this.ids.splice(n,1);this.runners.splice(n,1);return this}}c({Element:{animate(t,n,s){const i=Js.sanitise(t,n,s);const e=this.timeline();return new Js(i.duration).loop(i).element(this).timeline(e.play()).schedule(i.delay,i.when)},delay(t,n){return this.animate(0,t,n)},_clearTransformRunnersBefore(t){this._transformationRunners.clearBefore(t.id)},_currentTransform(t){return this._transformationRunners.runners.filter((n=>n.id<=t.id)).map(Ws).reduce(Us,new It)},_addRunner(t){this._transformationRunners.add(t);Gs.cancelImmediate(this._frameId);this._frameId=Gs.immediate(Ks.bind(this))},_prepareRunner(){if(this._frameId==null){this._transformationRunners=(new ti).add(new qs(new It(this)))}}}});const ni=(t,n)=>t.filter((t=>!n.includes(t)));N(Js,{attr(t,n){return this.styleAttr("attr",t,n)},css(t,n){return this.styleAttr("css",t,n)},styleAttr(t,n,s){if(typeof n==="string"){return this.styleAttr(t,{[n]:s})}let i=n;if(this._tryRetarget(t,i))return this;let e=new js(this._stepper).to(i);let r=Object.keys(i);this.queue((function(){e=e.from(this.element()[t](r))}),(function(n){this.element()[t](e.at(n).valueOf());return e.done()}),(function(n){const s=Object.keys(n);const o=ni(s,r);if(o.length){const n=this.element()[t](o);const s=new Es(e.from()).valueOf();Object.assign(s,n);e.from(s)}const h=new Es(e.to()).valueOf();Object.assign(h,n);e.to(h);r=s;i=n}));this._rememberMorpher(t,e);return this},zoom(t,n){if(this._tryRetarget("zoom",t,n))return this;let s=new js(this._stepper).to(new Cn(t));this.queue((function(){s=s.from(this.element().zoom())}),(function(t){this.element().zoom(s.at(t),n);return s.done()}),(function(t,i){n=i;s.to(t)}));this._rememberMorpher("zoom",s);return this},transform(t,n,s){n=t.relative||n;if(this._isDeclarative&&!n&&this._tryRetarget("transform",t)){return this}const i=It.isMatrixLike(t);s=t.affine!=null?t.affine:s!=null?s:!i;const e=new js(this._stepper).type(s?Ls:It);let r;let o;let h;let u;let c;function l(){o=o||this.element();r=r||y(t,o);c=new It(n?undefined:o);o._addRunner(this);if(!n){o._clearTransformRunnersBefore(this)}}function f(l){if(!n)this.clearTransform();const{x:f,y:a}=new Ht(r).transform(o._currentTransform(this));let d=new It({...t,origin:[f,a]});let C=this._isDeclarative&&h?h:c;if(s){d=d.decompose(f,a);C=C.decompose(f,a);const t=d.rotate;const n=C.rotate;const s=[t-360,t,t+360];const i=s.map((t=>Math.abs(t-n)));const e=Math.min(...i);const r=i.indexOf(e);d.rotate=s[r]}if(n){if(!i){d.rotate=t.rotate||0}if(this._isDeclarative&&u){C.rotate=u}}e.from(C);e.to(d);const w=e.at(l);u=w.rotate;h=new It(w);this.addTransform(h);o._addRunner(this);return e.done()}function a(n){if((n.origin||"center").toString()!==(t.origin||"center").toString()){r=y(n,o)}t={...n,origin:r}}this.queue(l,f,a,true);this._isDeclarative&&this._rememberMorpher("transform",e);return this},x(t){return this._queueNumber("x",t)},y(t){return this._queueNumber("y",t)},ax(t){return this._queueNumber("ax",t)},ay(t){return this._queueNumber("ay",t)},dx(t=0){return this._queueNumberDelta("x",t)},dy(t=0){return this._queueNumberDelta("y",t)},dmove(t,n){return this.dx(t).dy(n)},_queueNumberDelta(t,n){n=new Cn(n);if(this._tryRetarget(t,n))return this;const s=new js(this._stepper).to(n);let i=null;this.queue((function(){i=this.element()[t]();s.from(i);s.to(i+n)}),(function(n){this.element()[t](s.at(n));return s.done()}),(function(t){s.to(i+new Cn(t))}));this._rememberMorpher(t,s);return this},_queueObject(t,n){if(this._tryRetarget(t,n))return this;const s=new js(this._stepper).to(n);this.queue((function(){s.from(this.element()[t]())}),(function(n){this.element()[t](s.at(n));return s.done()}));this._rememberMorpher(t,s);return this},_queueNumber(t,n){return this._queueObject(t,new Cn(n))},cx(t){return this._queueNumber("cx",t)},cy(t){return this._queueNumber("cy",t)},move(t,n){return this.x(t).y(n)},amove(t,n){return this.ax(t).ay(n)},center(t,n){return this.cx(t).cy(n)},size(t,n){let s;if(!t||!n){s=this._element.bbox()}if(!t){t=s.width/s.height*n}if(!n){n=s.height/s.width*t}return this.width(t).height(n)},width(t){return this._queueNumber("width",t)},height(t){return this._queueNumber("height",t)},plot(t,n,s,i){if(arguments.length===4){return this.plot([t,n,s,i])}if(this._tryRetarget("plot",t))return this;const e=new js(this._stepper).type(this._element.MorphArray).to(t);this.queue((function(){e.from(this._element.array())}),(function(t){this._element.plot(e.at(t));return e.done()}));this._rememberMorpher("plot",e);return this},leading(t){return this._queueNumber("leading",t)},viewbox(t,n,s,i){return this._queueObject("viewbox",new Rt(t,n,s,i))},update(t){if(typeof t!=="object"){return this.update({offset:arguments[0],color:arguments[1],opacity:arguments[2]})}if(t.opacity!=null)this.attr("stop-opacity",t.opacity);if(t.color!=null)this.attr("stop-color",t.color);if(t.offset!=null)this.attr("offset",t.offset);return this}});N(Js,{rx:Vn,ry:Sn,from:Nn,to:Pn});z(Js,"Runner");class si extends Ln{constructor(t,n=t){super(T("svg",t),n);this.namespace()}defs(){if(!this.isRoot())return this.root().defs();return H(this.node.querySelector("defs"))||this.put(new An)}isRoot(){return!this.node.parentNode||!(this.node.parentNode instanceof O.window.SVGElement)&&this.node.parentNode.nodeName!=="#document-fragment"}namespace(){if(!this.isRoot())return this.root().namespace();return this.attr({xmlns:M,version:"1.1"}).attr("xmlns:xlink",j,_)}removeNamespace(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,_).attr("xmlns:svgjs",null,_)}root(){if(this.isRoot())return this;return super.root()}}c({Container:{nested:P((function(){return this.put(new si)}))}});z(si,"Svg",true);class ii extends Ln{constructor(t,n=t){super(T("symbol",t),n)}}c({Container:{symbol:P((function(){return this.put(new ii)}))}});z(ii,"Symbol");function ei(t){if(this._build===false){this.clear()}this.node.appendChild(O.document.createTextNode(t));return this}function ri(){return this.node.getComputedTextLength()}function oi(t,n=this.bbox()){if(t==null){return n.x}return this.attr("x",this.attr("x")+t-n.x)}function hi(t,n=this.bbox()){if(t==null){return n.y}return this.attr("y",this.attr("y")+t-n.y)}function ui(t,n,s=this.bbox()){return this.x(t,s).y(n,s)}function ci(t,n=this.bbox()){if(t==null){return n.cx}return this.attr("x",this.attr("x")+t-n.cx)}function li(t,n=this.bbox()){if(t==null){return n.cy}return this.attr("y",this.attr("y")+t-n.cy)}function fi(t,n,s=this.bbox()){return this.cx(t,s).cy(n,s)}function ai(t){return this.attr("x",t)}function di(t){return this.attr("y",t)}function Ci(t,n){return this.ax(t).ay(n)}function wi(t){this._build=!!t;return this}var pi=Object.freeze({__proto__:null,amove:Ci,ax:ai,ay:di,build:wi,center:fi,cx:ci,cy:li,length:ri,move:ui,plain:ei,x:oi,y:hi});class gi extends En{constructor(t,n=t){super(T("text",t),n);this.dom.leading=this.dom.leading??new Cn(1.3);this._rebuild=true;this._build=false}leading(t){if(t==null){return this.dom.leading}this.dom.leading=new Cn(t);return this.rebuild()}rebuild(t){if(typeof t==="boolean"){this._rebuild=t}if(this._rebuild){const t=this;let n=0;const s=this.dom.leading;this.each((function(i){if(v(this.node))return;const e=O.window.getComputedStyle(this.node).getPropertyValue("font-size");const r=s*new Cn(e);if(this.dom.newLined){this.attr("x",t.attr("x"));if(this.text()==="\n"){n+=r}else{this.attr("dy",i?r+n:0);n=0}}}));this.fire("rebuild")}return this}setData(t){this.dom=t;this.dom.leading=new Cn(t.leading||1.3);return this}writeDataToDom(){b(this,this.dom,{leading:1.3});return this}text(t){if(t===undefined){const n=this.node.childNodes;let s=0;t="";for(let i=0,e=n.length;i<e;++i){if(n[i].nodeName==="textPath"||v(n[i])){if(i===0)s=i+1;continue}if(i!==s&&n[i].nodeType!==3&&H(n[i]).dom.newLined===true){t+="\n"}t+=n[i].textContent}return t}this.clear().build(true);if(typeof t==="function"){t.call(this,this)}else{t=(t+"").split("\n");for(let n=0,s=t.length;n<s;n++){this.newLine(t[n])}}return this.build(false).rebuild()}}N(gi,pi);c({Container:{text:P((function(t=""){return this.put(new gi).text(t)})),plain:P((function(t=""){return this.put(new gi).plain(t)}))}});z(gi,"Text");class mi extends En{constructor(t,n=t){super(T("tspan",t),n);this._build=false}dx(t){return this.attr("dx",t)}dy(t){return this.attr("dy",t)}newLine(){this.dom.newLined=true;const t=this.parent();if(!(t instanceof gi)){return this}const n=t.index(this);const s=O.window.getComputedStyle(this.node).getPropertyValue("font-size");const i=t.dom.leading*new Cn(s);return this.dy(n?i:0).attr("x",t.x())}text(t){if(t==null)return this.node.textContent+(this.dom.newLined?"\n":"");if(typeof t==="function"){this.clear().build(true);t.call(this,this);this.build(false)}else{this.plain(t)}return this}}N(mi,pi);c({Tspan:{tspan:P((function(t=""){const n=new mi;if(!this._build){this.clear()}return this.put(n).text(t)}))},Text:{newLine:function(t=""){return this.tspan(t).newLine()}}});z(mi,"Tspan");class yi extends En{constructor(t,n=t){super(T("circle",t),n)}radius(t){return this.attr("r",t)}rx(t){return this.attr("r",t)}ry(t){return this.rx(t)}size(t){return this.radius(new Cn(t).divide(2))}}N(yi,{x:Bn,y:Tn,cx:Hn,cy:Dn,width:zn,height:In});c({Container:{circle:P((function(t=0){return this.put(new yi).size(t).move(0,0)}))}});z(yi,"Circle");class xi extends Ln{constructor(t,n=t){super(T("clipPath",t),n)}remove(){this.targets().forEach((function(t){t.unclip()}));return super.remove()}targets(){return Ut("svg [clip-path*="+this.id()+"]")}}c({Container:{clip:P((function(){return this.defs().put(new xi)}))},Element:{clipper(){return this.reference("clip-path")},clipWith(t){const n=t instanceof xi?t:this.parent().clip().add(t);return this.attr("clip-path","url(#"+n.id()+")")},unclip(){return this.attr("clip-path",null)}}});z(xi,"ClipPath");class vi extends xn{constructor(t,n=t){super(T("foreignObject",t),n)}}c({Container:{foreignObject:P((function(t,n){return this.put(new vi).size(t,n)}))}});z(vi,"ForeignObject");function bi(t,n){this.children().forEach((s=>{let i;try{i=s.node instanceof L().SVGSVGElement?new Rt(s.attr(["x","y","width","height"])):s.bbox()}catch(t){return}const e=new It(s);const r=e.translate(t,n).transform(e.inverse());const o=new Ht(i.x,i.y).transform(r);s.move(o.x,o.y)}));return this}function Mi(t){return this.dmove(t,0)}function ki(t){return this.dmove(0,t)}function _i(t,n=this.bbox()){if(t==null)return n.height;return this.size(n.width,t,n)}function ji(t=0,n=0,s=this.bbox()){const i=t-s.x;const e=n-s.y;return this.dmove(i,e)}function Oi(t,n,s=this.bbox()){const i=m(this,t,n,s);const e=i.width/s.width;const r=i.height/s.height;this.children().forEach((t=>{const n=new Ht(s).transform(new It(t).inverse());t.scale(e,r,n.x,n.y)}));return this}function Li(t,n=this.bbox()){if(t==null)return n.width;return this.size(t,n.height,n)}function Ai(t,n=this.bbox()){if(t==null)return n.x;return this.move(t,n.y,n)}function Ei(t,n=this.bbox()){if(t==null)return n.y;return this.move(n.x,t,n)}var Vi=Object.freeze({__proto__:null,dmove:bi,dx:Mi,dy:ki,height:_i,move:ji,size:Oi,width:Li,x:Ai,y:Ei});class Si extends Ln{constructor(t,n=t){super(T("g",t),n)}}N(Si,Vi);c({Container:{group:P((function(){return this.put(new Si)}))}});z(Si,"G");class Bi extends Ln{constructor(t,n=t){super(T("a",t),n)}target(t){return this.attr("target",t)}to(t){return this.attr("href",t,j)}}N(Bi,Vi);c({Container:{link:P((function(t){return this.put(new Bi).to(t)}))},Element:{unlink(){const t=this.linker();if(!t)return this;const n=t.parent();if(!n){return this.remove()}const s=n.index(t);n.add(this,s);t.remove();return this},linkTo(t){let n=this.linker();if(!n){n=new Bi;this.wrap(n)}if(typeof t==="function"){t.call(n,n)}else{n.to(t)}return this},linker(){const t=this.parent();if(t&&t.node.nodeName.toLowerCase()==="a"){return t}return null}}});z(Bi,"A");class Ti extends Ln{constructor(t,n=t){super(T("mask",t),n)}remove(){this.targets().forEach((function(t){t.unmask()}));return super.remove()}targets(){return Ut("svg [mask*="+this.id()+"]")}}c({Container:{mask:P((function(){return this.defs().put(new Ti)}))},Element:{masker(){return this.reference("mask")},maskWith(t){const n=t instanceof Ti?t:this.parent().mask().add(t);return this.attr("mask","url(#"+n.id()+")")},unmask(){return this.attr("mask",null)}}});z(Ti,"Mask");class Hi extends xn{constructor(t,n=t){super(T("stop",t),n)}update(t){if(typeof t==="number"||t instanceof Cn){t={offset:arguments[0],color:arguments[1],opacity:arguments[2]}}if(t.opacity!=null)this.attr("stop-opacity",t.opacity);if(t.color!=null)this.attr("stop-color",t.color);if(t.offset!=null)this.attr("offset",new Cn(t.offset));return this}}c({Gradient:{stop:function(t,n,s){return this.put(new Hi).update(t,n,s)}}});z(Hi,"Stop");function Di(t,n){if(!t)return"";if(!n)return t;let s=t+"{";for(const t in n){s+=p(t)+":"+n[t]+";"}s+="}";return s}class zi extends xn{constructor(t,n=t){super(T("style",t),n)}addText(t=""){this.node.textContent+=t;return this}font(t,n,s={}){return this.rule("@font-face",{fontFamily:t,src:n,...s})}rule(t,n){return this.addText(Di(t,n))}}c("Dom",{style(t,n){return this.put(new zi).rule(t,n)},fontface(t,n,s){return this.put(new zi).font(t,n,s)}});z(zi,"Style");class Ii extends gi{constructor(t,n=t){super(T("textPath",t),n)}array(){const t=this.track();return t?t.array():null}plot(t){const n=this.track();let s=null;if(n){s=n.plot(t)}return t==null?s:this}track(){return this.reference("href")}}c({Container:{textPath:P((function(t,n){if(!(t instanceof gi)){t=this.text(t)}return t.path(n)}))},Text:{path:P((function(t,n=true){const s=new Ii;if(!(t instanceof Ts)){t=this.defs().path(t)}s.attr("href","#"+t,j);let i;if(n){while(i=this.node.firstChild){s.node.appendChild(i)}}return this.put(s)})),textPath(){return this.findOne("textPath")}},Path:{text:P((function(t){if(!(t instanceof gi)){t=(new gi).addTo(this.parent()).text(t)}return t.path(this)})),targets(){return Ut("svg textPath").filter((t=>(t.attr("href")||"").includes(this.id())))}}});Ii.prototype.MorphArray=ks;z(Ii,"TextPath");class Zi extends En{constructor(t,n=t){super(T("use",t),n)}use(t,n){return this.attr("href",(n||"")+"#"+t,j)}}c({Container:{use:P((function(t,n){return this.put(new Zi).use(t,n)}))}});z(Zi,"Use");const Fi=B;N([si,ii,Xn,Yn,ss],l("viewbox"));N([ns,Ns,$s,Ts],l("marker"));N(gi,l("Text"));N(Ts,l("Path"));N(An,l("Defs"));N([gi,mi],l("Tspan"));N([Ps,Fn,Gn,Js],l("radius"));N(cn,l("EventTarget"));N(yn,l("Dom"));N(xn,l("Element"));N(En,l("Shape"));N([Ln,$n],l("Container"));N(Gn,l("Gradient"));N(Js,l("Runner"));Jt.extend(f());Ss([Cn,Tt,Rt,It,dn,Qn,ks,Ht]);Bs();function $i(){let t={entities:[]};let n;let s=[];function i(t,s,i){n=Fi().addTo(t).size(s,i);n.entities=[];n.lines=n.group();n.labels=n.group()}function e(t,n){const s=t.group().attr({id:n.id});t.entities.push(s);n.background_color=n.background_color?n.background_color:"#f06";n.color=n.color?n.color:"#ffffff";n.radius=n.radius?n.radius:0;s.entity=s.rect(n.width,n.height).cx(n.width/2).cy(n.height/2).attr({fill:"#ffffff",stroke:n.color,["stroke-width"]:2}).radius(n.radius);if(n.class){s.entity.attr("class",n.class)}s.plain(n.text).cx(14).cy(n.height/2+6).attr({fill:n.color});s.move(n.x,n.y)}function r(){if(t.labels&&t.labels.length>0){t.labels.forEach((t=>{n.labels.text(t.value).x(t.x).y(t.y)}))}}function o(t,n){n.forEach((n=>h(t,n)))}function h(t,n){let s="";const i=n.color||"#4c56cb";const e=t.findOne("#"+n.from.element);const r=t.findOne("#"+n.to.element);const o=u(n,e,r);s+=l(e,n.from.point)+","+f(e,n.from.point)+" ";o.forEach((t=>s+=t.x+","+t.y+" "));if(n.to.point==="top"){s+=l(r,n.to.point)+","+f(r,n.to.point)+" "}else if(n.to.point==="bottom"){s+=l(r,n.to.point)+","+f(r,n.to.point)+" "}else{s+=l(r,n.to.point)+","+f(r,n.to.point)+" "}if(!n.polyline){n.polyline=t.lines.polyline(s).fill("none").stroke({color:i,width:2,linecap:"round",linejoin:"round"}).attr("id",n.id)}else{n.polyline.plot(s)}}function u(t,n,s){const i=[];const e=f(n,t.from.point);const r=f(s,t.to.point);const o=l(n,t.from.point);const h=l(s,t.to.point);const u=c(t.from.point);const a=c(t.to.point);const d=u-a;if(d===0){if(t.from.point==="top"){if(e<=r){i.push({x:o,y:e-20});i.push({x:h,y:e-20})}else{i.push({x:o,y:r-20});i.push({x:h,y:r-20})}}else if(t.from.point==="bottom"){if(e<=r){i.push({x:o,y:r+20});i.push({x:h,y:r+20})}else{i.push({x:o,y:e+20});i.push({x:h,y:e+20})}}else{if(o<=h){i.push({x:h+20,y:e});i.push({x:h+20,y:r})}else{i.push({x:o+20,y:e});i.push({x:o+20,y:r})}}}if(d===2||d===-2){if(o!==h){i.push({x:o,y:r+(e-r)/2});i.push({x:h,y:r+(e-r)/2})}}if(d===1||d===-1||d===3||d===-3){if(t.from.point==="top"){if(e<r+20){i.push({x:o,y:e-20});i.push({x:h+20,y:e-20});i.push({x:h+20,y:r})}else{i.push({x:o,y:r})}}if(t.from.point==="bottom"){if(e>r-20){i.push({x:o,y:e+20});i.push({x:h+20,y:e+20});i.push({x:h+20,y:r})}else{i.push({x:o,y:r})}}}return i}function c(t){switch(t){case"top":return 0;case"bottom":return 2;default:return 3}}function l(t,n){const s=t.entity.attr("width");const i=t.entity.attr("x");switch(n){case"top":case"bottom":return i+s/2;default:return i-s/2}}function f(t,n){const s=t.entity.attr("height");const i=t.entity.attr("y");switch(n){case"top":return i;case"bottom":return i+s;default:return i}}function a(){n.entities.forEach((t=>t.remove()));n.entities=[];s=[];if(!t.labels){t.labels=[]}t.labels=t.labels.map((t=>({id:t.id,value:t.value?t.value:"",x:t.x?t.x:0,y:t.y?t.y:0,color:t.color?t.color:"black"})));t.entities.map((t=>{t.type=t.type?t.type:"entity";if(t.type==="operation"){t.height=t.width}}));r();t.entities.forEach((t=>e(n,t)));s=t.lines;o(n,s)}function d(n){t=n;a()}return{initalize:i,update:d}}const Ni=()=>`verdocs-status-indicator{display:-ms-flexbox;display:flex;font-size:18px;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-radius:6px;color:#33364b;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;font-family:"Inter", "Barlow", sans-serif}verdocs-status-indicator.has-document:hover{cursor:pointer;background:rgba(0, 0, 0, 0.1)}verdocs-status-indicator .icon{width:25px;height:25px;margin:0 10px 0 0}verdocs-status-indicator.dark{color:#ffffff}verdocs-status-indicator.small{font-size:16px}verdocs-status-indicator.small .icon{width:20px;height:20px;margin:0 8px 0 0}verdocs-status-indicator .content{white-space:nowrap}verdocs-status-indicator .detail-panel{display:none;background:#ffffff;border:1px solid #1e2031;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;border-radius:10px;font-weight:500}verdocs-status-indicator .detail-panel h1{font-size:44px;color:#092c4c}verdocs-status-indicator .detail-panel[data-show]{display:-ms-flexbox;display:flex}`;const Pi=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/><path d="M11.728 15.968C11.7067 15.9893 11.7013 16.0107 11.712 16.032C11.7227 16.0533 11.744 16.064 11.776 16.064H16.112C16.1653 16.064 16.208 16.0853 16.24 16.128C16.2827 16.16 16.304 16.2027 16.304 16.256V17.808C16.304 17.8613 16.2827 17.9093 16.24 17.952C16.208 17.984 16.1653 18 16.112 18H8.912C8.85867 18 8.81067 17.984 8.768 17.952C8.736 17.9093 8.72 17.8613 8.72 17.808V16.336C8.72 16.24 8.752 16.16 8.816 16.096C9.33867 15.584 9.872 15.0293 10.416 14.432C10.96 13.824 11.3013 13.4453 11.44 13.296C11.7387 12.944 12.0427 12.608 12.352 12.288C13.3227 11.2107 13.808 10.4107 13.808 9.888C13.808 9.51467 13.6747 9.21067 13.408 8.976C13.1413 8.73067 12.7947 8.608 12.368 8.608C11.9413 8.608 11.5947 8.73067 11.328 8.976C11.0613 9.21067 10.928 9.52533 10.928 9.92V10.32C10.928 10.3733 10.9067 10.4213 10.864 10.464C10.832 10.496 10.7893 10.512 10.736 10.512H8.848C8.79467 10.512 8.74667 10.496 8.704 10.464C8.672 10.4213 8.656 10.3733 8.656 10.32V9.568C8.688 8.992 8.86933 8.48533 9.2 8.048C9.53067 7.6 9.968 7.25867 10.512 7.024C11.0667 6.78933 11.6853 6.672 12.368 6.672C13.1253 6.672 13.7813 6.816 14.336 7.104C14.9013 7.38133 15.3333 7.76 15.632 8.24C15.9413 8.72 16.096 9.25333 16.096 9.84C16.096 10.288 15.984 10.7467 15.76 11.216C15.536 11.6853 15.2 12.192 14.752 12.736C14.4213 13.152 14.064 13.5627 13.68 13.968C13.296 14.3733 12.7253 14.96 11.968 15.728L11.728 15.968Z" fill="white"/></svg>`;const Ri=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/><path d="M11.728 15.968C11.7067 15.9893 11.7013 16.0107 11.712 16.032C11.7227 16.0533 11.744 16.064 11.776 16.064H16.112C16.1653 16.064 16.208 16.0853 16.24 16.128C16.2827 16.16 16.304 16.2027 16.304 16.256V17.808C16.304 17.8613 16.2827 17.9093 16.24 17.952C16.208 17.984 16.1653 18 16.112 18H8.912C8.85867 18 8.81067 17.984 8.768 17.952C8.736 17.9093 8.72 17.8613 8.72 17.808V16.336C8.72 16.24 8.752 16.16 8.816 16.096C9.33867 15.584 9.872 15.0293 10.416 14.432C10.96 13.824 11.3013 13.4453 11.44 13.296C11.7387 12.944 12.0427 12.608 12.352 12.288C13.3227 11.2107 13.808 10.4107 13.808 9.888C13.808 9.51467 13.6747 9.21067 13.408 8.976C13.1413 8.73067 12.7947 8.608 12.368 8.608C11.9413 8.608 11.5947 8.73067 11.328 8.976C11.0613 9.21067 10.928 9.52533 10.928 9.92V10.32C10.928 10.3733 10.9067 10.4213 10.864 10.464C10.832 10.496 10.7893 10.512 10.736 10.512H8.848C8.79467 10.512 8.74667 10.496 8.704 10.464C8.672 10.4213 8.656 10.3733 8.656 10.32V9.568C8.688 8.992 8.86933 8.48533 9.2 8.048C9.53067 7.6 9.968 7.25867 10.512 7.024C11.0667 6.78933 11.6853 6.672 12.368 6.672C13.1253 6.672 13.7813 6.816 14.336 7.104C14.9013 7.38133 15.3333 7.76 15.632 8.24C15.9413 8.72 16.096 9.25333 16.096 9.84C16.096 10.288 15.984 10.7467 15.76 11.216C15.536 11.6853 15.2 12.192 14.752 12.736C14.4213 13.152 14.064 13.5627 13.68 13.968C13.296 14.3733 12.7253 14.96 11.968 15.728L11.728 15.968Z" fill="#654DCB"/></svg>`;const Gi=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 24C15.1826 24 18.2348 22.7357 20.4853 20.4853C22.7357 18.2348 24 15.1826 24 12C24 8.8174 22.7357 5.76516 20.4853 3.51472C18.2348 1.26428 15.1826 0 12 0C8.8174 0 5.76516 1.26428 3.51472 3.51472C1.26428 5.76516 0 8.8174 0 12C0 15.1826 1.26428 18.2348 3.51472 20.4853C5.76516 22.7357 8.8174 24 12 24V24ZM9 7.5C8.60218 7.5 8.22064 7.65804 7.93934 7.93934C7.65804 8.22064 7.5 8.60218 7.5 9V15C7.5 15.3978 7.65804 15.7794 7.93934 16.0607C8.22064 16.342 8.60218 16.5 9 16.5H15C15.3978 16.5 15.7794 16.342 16.0607 16.0607C16.342 15.7794 16.5 15.3978 16.5 15V9C16.5 8.60218 16.342 8.22064 16.0607 7.93934C15.7794 7.65804 15.3978 7.5 15 7.5H9Z" fill="#9095B3"/></svg>`;const Yi=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 24C15.1826 24 18.2348 22.7357 20.4853 20.4853C22.7357 18.2348 24 15.1826 24 12C24 8.8174 22.7357 5.76516 20.4853 3.51472C18.2348 1.26428 15.1826 0 12 0C8.8174 0 5.76516 1.26428 3.51472 3.51472C1.26428 5.76516 0 8.8174 0 12C0 15.1826 1.26428 18.2348 3.51472 20.4853C5.76516 22.7357 8.8174 24 12 24V24ZM9 7.5C8.60218 7.5 8.22064 7.65804 7.93934 7.93934C7.65804 8.22064 7.5 8.60218 7.5 9V15C7.5 15.3978 7.65804 15.7794 7.93934 16.0607C8.22064 16.342 8.60218 16.5 9 16.5H15C15.3978 16.5 15.7794 16.342 16.0607 16.0607C16.342 15.7794 16.5 15.3978 16.5 15V9C16.5 8.60218 16.342 8.22064 16.0607 7.93934C15.7794 7.65804 15.3978 7.5 15 7.5H9Z" fill="#9095B3"/></svg>`;const Xi=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#63C58E"/></svg>`;const Qi=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#50BE80"/></svg>`;const Ji=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M24 12C24 15.1826 22.7357 18.2348 20.4853 20.4853C18.2348 22.7357 15.1826 24 12 24C8.8174 24 5.76516 22.7357 3.51472 20.4853C1.26428 18.2348 0 15.1826 0 12C0 8.8174 1.26428 5.76516 3.51472 3.51472C5.76516 1.26428 8.8174 0 12 0C15.1826 0 18.2348 1.26428 20.4853 3.51472C22.7357 5.76516 24 8.8174 24 12V12ZM13.5 18C13.5 18.3978 13.342 18.7794 13.0607 19.0607C12.7794 19.342 12.3978 19.5 12 19.5C11.6022 19.5 11.2206 19.342 10.9393 19.0607C10.658 18.7794 10.5 18.3978 10.5 18C10.5 17.6022 10.658 17.2206 10.9393 16.9393C11.2206 16.658 11.6022 16.5 12 16.5C12.3978 16.5 12.7794 16.658 13.0607 16.9393C13.342 17.2206 13.5 17.6022 13.5 18V18ZM12 4.5C11.6022 4.5 11.2206 4.65804 10.9393 4.93934C10.658 5.22064 10.5 5.60218 10.5 6V12C10.5 12.3978 10.658 12.7794 10.9393 13.0607C11.2206 13.342 11.6022 13.5 12 13.5C12.3978 13.5 12.7794 13.342 13.0607 13.0607C13.342 12.7794 13.5 12.3978 13.5 12V6C13.5 5.60218 13.342 5.22064 13.0607 4.93934C12.7794 4.65804 12.3978 4.5 12 4.5Z" fill="#F95353"/></svg>`;const qi=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M24 12C24 15.1826 22.7357 18.2348 20.4853 20.4853C18.2348 22.7357 15.1826 24 12 24C8.8174 24 5.76516 22.7357 3.51472 20.4853C1.26428 18.2348 0 15.1826 0 12C0 8.8174 1.26428 5.76516 3.51472 3.51472C5.76516 1.26428 8.8174 0 12 0C15.1826 0 18.2348 1.26428 20.4853 3.51472C22.7357 5.76516 24 8.8174 24 12V12ZM13.5 18C13.5 18.3978 13.342 18.7794 13.0607 19.0607C12.7794 19.342 12.3978 19.5 12 19.5C11.6022 19.5 11.2206 19.342 10.9393 19.0607C10.658 18.7794 10.5 18.3978 10.5 18C10.5 17.6022 10.658 17.2206 10.9393 16.9393C11.2206 16.658 11.6022 16.5 12 16.5C12.3978 16.5 12.7794 16.658 13.0607 16.9393C13.342 17.2206 13.5 17.6022 13.5 18V18ZM12 4.5C11.6022 4.5 11.2206 4.65804 10.9393 4.93934C10.658 5.22064 10.5 5.60218 10.5 6V12C10.5 12.3978 10.658 12.7794 10.9393 13.0607C11.2206 13.342 11.6022 13.5 12 13.5C12.3978 13.5 12.7794 13.342 13.0607 13.0607C13.342 12.7794 13.5 12.3978 13.5 12V6C13.5 5.60218 13.342 5.22064 13.0607 4.93934C12.7794 4.65804 12.3978 4.5 12 4.5Z" fill="#FF0000"/></svg>`;const Ui=`<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.7917 9.625L18.6667 13.5M18.6667 13.5L14.7917 17.375M18.6667 13.5H8.33333M25.125 13.5C25.125 15.0266 24.8243 16.5383 24.2401 17.9487C23.6559 19.3591 22.7996 20.6406 21.7201 21.7201C20.6406 22.7996 19.3591 23.6559 17.9487 24.2401C16.5383 24.8243 15.0266 25.125 13.5 25.125C11.9734 25.125 10.4617 24.8243 9.0513 24.2401C7.64089 23.6559 6.35936 22.7996 5.27988 21.7201C4.2004 20.6406 3.34411 19.3591 2.7599 17.9487C2.17569 16.5383 1.875 15.0266 1.875 13.5C1.875 10.4169 3.09977 7.45999 5.27988 5.27988C7.45999 3.09977 10.4169 1.875 13.5 1.875C16.5831 1.875 19.54 3.09977 21.7201 5.27988C23.9002 7.45999 25.125 10.4169 25.125 13.5Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`;const Wi=`<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.7917 9.625L18.6667 13.5M18.6667 13.5L14.7917 17.375M18.6667 13.5H8.33333M25.125 13.5C25.125 15.0266 24.8243 16.5383 24.2401 17.9487C23.6559 19.3591 22.7996 20.6406 21.7201 21.7201C20.6406 22.7996 19.3591 23.6559 17.9487 24.2401C16.5383 24.8243 15.0266 25.125 13.5 25.125C11.9734 25.125 10.4617 24.8243 9.0513 24.2401C7.64089 23.6559 6.35936 22.7996 5.27988 21.7201C4.2004 20.6406 3.34411 19.3591 2.7599 17.9487C2.17569 16.5383 1.875 15.0266 1.875 13.5C1.875 10.4169 3.09977 7.45999 5.27988 5.27988C7.45999 3.09977 10.4169 1.875 13.5 1.875C16.5831 1.875 19.54 3.09977 21.7201 5.27988C23.9002 7.45999 25.125 10.4169 25.125 13.5Z" stroke="#654DCB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`;const Ki=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/><path d="M11.4 6.848C11.4533 6.816 11.5333 6.8 11.64 6.8H13.576C13.6293 6.8 13.672 6.82133 13.704 6.864C13.7467 6.896 13.768 6.93867 13.768 6.992V17.808C13.768 17.8613 13.7467 17.9093 13.704 17.952C13.672 17.984 13.6293 18 13.576 18H11.704C11.6507 18 11.6027 17.984 11.56 17.952C11.528 17.9093 11.512 17.8613 11.512 17.808V9.04C11.512 9.01867 11.5013 8.99733 11.48 8.976C11.4587 8.95467 11.4373 8.94933 11.416 8.96L9.832 9.392L9.768 9.408C9.672 9.408 9.624 9.34933 9.624 9.232L9.576 7.856C9.576 7.74933 9.624 7.67467 9.72 7.632L11.4 6.848Z" fill="white"/></svg>`;const te=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/><path d="M11.4 6.848C11.4533 6.816 11.5333 6.8 11.64 6.8H13.576C13.6293 6.8 13.672 6.82133 13.704 6.864C13.7467 6.896 13.768 6.93867 13.768 6.992V17.808C13.768 17.8613 13.7467 17.9093 13.704 17.952C13.672 17.984 13.6293 18 13.576 18H11.704C11.6507 18 11.6027 17.984 11.56 17.952C11.528 17.9093 11.512 17.8613 11.512 17.808V9.04C11.512 9.01867 11.5013 8.99733 11.48 8.976C11.4587 8.95467 11.4373 8.94933 11.416 8.96L9.832 9.392L9.768 9.408C9.672 9.408 9.624 9.34933 9.624 9.232L9.576 7.856C9.576 7.74933 9.624 7.67467 9.72 7.632L11.4 6.848Z" fill="#654DCB"/></svg>`;const ne=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.33333 12H7.345M12 12H12.0117M16.6667 12H16.6783M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.70791 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 9.21523 2.60625 6.54451 4.57538 4.57538C6.54451 2.60625 9.21523 1.5 12 1.5C14.7848 1.5 17.4555 2.60625 19.4246 4.57538C21.3938 6.54451 22.5 9.21523 22.5 12Z" stroke="#cccccc" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`;const se=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.33333 12H7.345M12 12H12.0117M16.6667 12H16.6783M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.70791 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 9.21523 2.60625 6.54451 4.57538 4.57538C6.54451 2.60625 9.21523 1.5 12 1.5C14.7848 1.5 17.4555 2.60625 19.4246 4.57538C21.3938 6.54451 22.5 9.21523 22.5 12Z" stroke="#999999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`;const ie=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/><path d="M15.632 12.656C15.8453 13.1467 15.952 13.712 15.952 14.352C15.952 14.928 15.856 15.4613 15.664 15.952C15.408 16.6347 14.976 17.168 14.368 17.552C13.7707 17.936 13.0613 18.128 12.24 18.128C11.4293 18.128 10.7147 17.9253 10.096 17.52C9.488 17.1147 9.05067 16.5653 8.784 15.872C8.63467 15.456 8.54933 15.008 8.528 14.528C8.528 14.4 8.592 14.336 8.72 14.336H10.608C10.736 14.336 10.8 14.4 10.8 14.528C10.8427 14.88 10.9013 15.1413 10.976 15.312C11.072 15.5893 11.2267 15.808 11.44 15.968C11.664 16.1173 11.9253 16.192 12.224 16.192C12.8213 16.192 13.232 15.9307 13.456 15.408C13.6053 15.088 13.68 14.7147 13.68 14.288C13.68 13.7867 13.6 13.376 13.44 13.056C13.1947 12.5547 12.784 12.304 12.208 12.304C12.0907 12.304 11.968 12.3413 11.84 12.416C11.712 12.48 11.5573 12.576 11.376 12.704C11.3333 12.736 11.2907 12.752 11.248 12.752C11.184 12.752 11.136 12.72 11.104 12.656L10.16 11.328C10.1387 11.296 10.128 11.2587 10.128 11.216C10.128 11.152 10.1493 11.0987 10.192 11.056L12.736 8.832C12.7573 8.81067 12.7627 8.78933 12.752 8.768C12.752 8.74667 12.736 8.736 12.704 8.736H8.944C8.89067 8.736 8.84267 8.72 8.8 8.688C8.768 8.64533 8.752 8.59733 8.752 8.544V6.992C8.752 6.93867 8.768 6.896 8.8 6.864C8.84267 6.82133 8.89067 6.8 8.944 6.8H15.616C15.6693 6.8 15.712 6.82133 15.744 6.864C15.7867 6.896 15.808 6.93867 15.808 6.992V8.752C15.808 8.83733 15.7707 8.91733 15.696 8.992L13.6 10.912C13.5787 10.9333 13.568 10.9547 13.568 10.976C13.5787 10.9973 13.6053 11.008 13.648 11.008C14.576 11.1893 15.2373 11.7387 15.632 12.656Z" fill="white"/></svg>`;const ee=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/><path d="M15.632 12.656C15.8453 13.1467 15.952 13.712 15.952 14.352C15.952 14.928 15.856 15.4613 15.664 15.952C15.408 16.6347 14.976 17.168 14.368 17.552C13.7707 17.936 13.0613 18.128 12.24 18.128C11.4293 18.128 10.7147 17.9253 10.096 17.52C9.488 17.1147 9.05067 16.5653 8.784 15.872C8.63467 15.456 8.54933 15.008 8.528 14.528C8.528 14.4 8.592 14.336 8.72 14.336H10.608C10.736 14.336 10.8 14.4 10.8 14.528C10.8427 14.88 10.9013 15.1413 10.976 15.312C11.072 15.5893 11.2267 15.808 11.44 15.968C11.664 16.1173 11.9253 16.192 12.224 16.192C12.8213 16.192 13.232 15.9307 13.456 15.408C13.6053 15.088 13.68 14.7147 13.68 14.288C13.68 13.7867 13.6 13.376 13.44 13.056C13.1947 12.5547 12.784 12.304 12.208 12.304C12.0907 12.304 11.968 12.3413 11.84 12.416C11.712 12.48 11.5573 12.576 11.376 12.704C11.3333 12.736 11.2907 12.752 11.248 12.752C11.184 12.752 11.136 12.72 11.104 12.656L10.16 11.328C10.1387 11.296 10.128 11.2587 10.128 11.216C10.128 11.152 10.1493 11.0987 10.192 11.056L12.736 8.832C12.7573 8.81067 12.7627 8.78933 12.752 8.768C12.752 8.74667 12.736 8.736 12.704 8.736H8.944C8.89067 8.736 8.84267 8.72 8.8 8.688C8.768 8.64533 8.752 8.59733 8.752 8.544V6.992C8.752 6.93867 8.768 6.896 8.8 6.864C8.84267 6.82133 8.89067 6.8 8.944 6.8H15.616C15.6693 6.8 15.712 6.82133 15.744 6.864C15.7867 6.896 15.808 6.93867 15.808 6.992V8.752C15.808 8.83733 15.7707 8.91733 15.696 8.992L13.6 10.912C13.5787 10.9333 13.568 10.9547 13.568 10.976C13.5787 10.9973 13.6053 11.008 13.648 11.008C14.576 11.1893 15.2373 11.7387 15.632 12.656Z" fill="#654DCB"/></svg>`;const re=`<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.62395 13.5009L12.2073 16.0842L17.374 10.9176M8.11916 4.06786C9.04568 3.99392 9.92527 3.6296 10.6327 3.02678C11.4322 2.34513 12.4484 1.9707 13.499 1.9707C14.5495 1.9707 15.5657 2.34513 16.3652 3.02678C17.0726 3.6296 17.9522 3.99392 18.8787 4.06786C19.926 4.15118 20.9092 4.60497 21.6521 5.34781C22.3949 6.09064 22.8487 7.07389 22.932 8.12111C23.0059 9.04764 23.3703 9.92723 23.9731 10.6347C24.6547 11.4341 25.0292 12.4503 25.0292 13.5009C25.0292 14.5515 24.6547 15.5677 23.9731 16.3671C23.3703 17.0746 23.0059 17.9542 22.932 18.8807C22.8487 19.9279 22.3949 20.9112 21.6521 21.654C20.9092 22.3968 19.926 22.8506 18.8787 22.9339C17.9522 23.0079 17.0726 23.3722 16.3652 23.975C15.5657 24.6567 14.5495 25.0311 13.499 25.0311C12.4484 25.0311 11.4322 24.6567 10.6327 23.975C9.92527 23.3722 9.04568 23.0079 8.11916 22.9339C7.07194 22.8506 6.08869 22.3968 5.34585 21.654C4.60302 20.9112 4.14923 19.9279 4.06591 18.8807C3.99196 17.9542 3.62765 17.0746 3.02483 16.3671C2.34318 15.5677 1.96875 14.5515 1.96875 13.5009C1.96875 12.4503 2.34318 11.4341 3.02483 10.6347C3.62765 9.92723 3.99196 9.04764 4.06591 8.12111C4.14923 7.07389 4.60302 6.09064 5.34585 5.34781C6.08869 4.60497 7.07194 4.15118 8.11916 4.06786V4.06786Z" stroke="#63C58E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`;const oe=`<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.62395 13.5009L12.2073 16.0842L17.374 10.9176M8.11916 4.06786C9.04568 3.99392 9.92527 3.6296 10.6327 3.02678C11.4322 2.34513 12.4484 1.9707 13.499 1.9707C14.5495 1.9707 15.5657 2.34513 16.3652 3.02678C17.0726 3.6296 17.9522 3.99392 18.8787 4.06786C19.926 4.15118 20.9092 4.60497 21.6521 5.34781C22.3949 6.09064 22.8487 7.07389 22.932 8.12111C23.0059 9.04764 23.3703 9.92723 23.9731 10.6347C24.6547 11.4341 25.0292 12.4503 25.0292 13.5009C25.0292 14.5515 24.6547 15.5677 23.9731 16.3671C23.3703 17.0746 23.0059 17.9542 22.932 18.8807C22.8487 19.9279 22.3949 20.9112 21.6521 21.654C20.9092 22.3968 19.926 22.8506 18.8787 22.9339C17.9522 23.0079 17.0726 23.3722 16.3652 23.975C15.5657 24.6567 14.5495 25.0311 13.499 25.0311C12.4484 25.0311 11.4322 24.6567 10.6327 23.975C9.92527 23.3722 9.04568 23.0079 8.11916 22.9339C7.07194 22.8506 6.08869 22.3968 5.34585 21.654C4.60302 20.9112 4.14923 19.9279 4.06591 18.8807C3.99196 17.9542 3.62765 17.0746 3.02483 16.3671C2.34318 15.5677 1.96875 14.5515 1.96875 13.5009C1.96875 12.4503 2.34318 11.4341 3.02483 10.6347C3.62765 9.92723 3.99196 9.04764 4.06591 8.12111C4.14923 7.07389 4.60302 6.09064 5.34585 5.34781C6.08869 4.60497 7.07194 4.15118 8.11916 4.06786V4.06786Z" stroke="#654DCB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`;const he=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#63C58E"/></svg>`;const ue=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#50BE80"/></svg>`;const ce=140;const le=40;const fe=40;const ae=t(class t extends n{constructor(t){super();if(t!==false){this.__registerHost()}this.size="normal";this.theme="light";this.containerId=`verdocs-status-indicator-${Math.random().toString(36).substring(2,11)}`;this.recipientStatusIcons=[]}componentDidLoad(){var t;this.popper=o(this.summaryComponent,this.detailPanel,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[0,10]}}]});if((t=this.envelope)===null||t===void 0?void 0:t.recipients){const t=[];this.envelope.recipients.forEach((n=>{const s=n.sequence-1;t[s]||(t[s]=[]);const i=`r-${s}-${t[s].length}`;t[s].push({...n,id:i})}));const n=Object.keys(t).length;const s=n*le+(n+1)*fe;let i=0;Object.values(t).forEach((t=>{let n=t.length*ce+(t.length+1)*fe;if(n>i){i=n}}));const e=[];const o=[];const h=[];let u=fe;Object.entries(t).forEach((([n,s])=>{const c=s.length*(ce+fe);const l=i-c;const f=fe/2+l/2;s.forEach(((s,i)=>{var c;const l=r(s);const a={id:s.id,text:l,icon:this.getStatusIcon(s.status),x:i*(ce+fe)+f,y:u,width:ce,height:le,color:this.getStatusColor(s.status),radius:8};e.push(a);h.push({icon:this.getStatusIcon(s.status),x:i*(ce+fe)+f+(ce-32),y:u+le/2-13});(c=t[+n-1])===null||c===void 0?void 0:c.forEach((t=>{const n={id:`line-${t.id}-${a.id}`,from:{element:t.id,point:"bottom"},to:{element:a.id,point:"top"},color:this.getStatusColor(s.status)};o.push(n)}))}));u+=le+fe}));this.recipientStatusIcons=h;const c=$i();c.initalize(`#${this.containerId}`,i,s);c.update({entities:e,lines:o})}}showDropdown(){var t,n;this.isOpen=true;this.detailPanel.setAttribute("data-show","");this.detailPanel.removeAttribute("aria-hidden");(t=this.popper)===null||t===void 0?void 0:t.setOptions((t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:true}]})));(n=this.popper)===null||n===void 0?void 0:n.update()}handleHideDropdown(t){var n,s;if(((n=t===null||t===void 0?void 0:t.target)===null||n===void 0?void 0:n.localName)==="button"&&((s=t===null||t===void 0?void 0:t.target)===null||s===void 0?void 0:s.className)==="arrow"){return}this.hide()}toggleDropdown(){if(this.isOpen){this.hide()}else{this.showDropdown()}}hide(){var t;this.isOpen=false;this.detailPanel.removeAttribute("data-show");this.detailPanel.setAttribute("aria-hidden","true");(t=this.popper)===null||t===void 0?void 0:t.setOptions((t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:false}]})))}getStatusColor(t){switch(t){case"invited":case"opened":case"accepted":case"signed":return"#654dcb";case"some-signed":case"submitted":case"complete":return"#55bc81";case"declined":return"#ff0000";case"canceled":case"in progress":case"pending":default:return"#999999"}}getStatusIcon(t){switch(t){case"accepted":return this.theme==="light"?Ri:Pi;case"complete":return this.theme==="light"?Qi:Xi;case"in progress":return this.theme==="light"?Wi:Ui;case"canceled":return this.theme==="light"?Yi:Gi;case"declined":return this.theme==="light"?qi:Ji;case"invited":return this.theme==="light"?Wi:Ui;case"opened":return this.theme==="light"?te:Ki;case"signed":return this.theme==="light"?ee:ie;case"submitted":return this.theme==="light"?ue:he;case"some-signed":return this.theme==="light"?oe:re;default:case"pending":return this.theme==="light"?se:ne}}getStatusMessage(t){switch(t){case"accepted":return"Accepted";case"complete":return"Completed";case"in progress":return"In Progress";case"canceled":return"Cancelled";case"declined":return"Declined";case"invited":return"Invited";case"opened":return"Opened";case"signed":return"Signed";case"submitted":return"Submitted";case"some-signed":return"Partly Signed";case"pending":return"Pending";default:return t}}render(){var t,n;let e=this.status||((t=this.envelope)===null||t===void 0?void 0:t.status)||"pending";if(!this.status&&((n=this.envelope)===null||n===void 0?void 0:n.recipients)){const t=this.envelope.recipients.filter((t=>t.status==="submitted"));if(t.length>0&&t.length!==this.envelope.recipients.length){e="some-signed"}}const r=this.getStatusIcon(e);const o=this.getStatusMessage(e);return s(i,{key:"c75eb6d1ef07ea140e1d47b2c0256369d1c348ee",ref:t=>this.summaryComponent=t,class:`${this.theme} ${this.size} ${this.envelope?"has-document":""}`,"aria-label":"Click to View Details",onClick:t=>{t.stopPropagation();t.preventDefault();this.envelope&&this.toggleDropdown()},onBlur:t=>this.envelope&&this.handleHideDropdown(t)},s("span",{key:"1514fd1edc5c67acbf97d0d1c9878fbbde9db679",class:"icon",innerHTML:r}),s("span",{key:"d52f5c127336f8f523e6dbb39f70c3cf7a82a139",class:"content"},o),s("div",{key:"e389fd1bc5b4f859dbe9742321808aedc6feb998",class:"detail-panel",ref:t=>this.detailPanel=t},s("div",{key:"f040c631c492b34e987a1bd83f6044a4841edf37",id:`${this.containerId}`}),this.recipientStatusIcons.map((t=>s("span",{innerHTML:t.icon,style:{position:"absolute",top:`${t.y}px`,left:`${t.x}px`}})))))}static get style(){return Ni()}},[0,"verdocs-status-indicator",{size:[1],theme:[1],status:[1],envelope:[16],isOpen:[32],containerId:[32]}]);function de(){if(typeof customElements==="undefined"){return}const t=["verdocs-status-indicator"];t.forEach((t=>{switch(t){case"verdocs-status-indicator":if(!customElements.get(e(t))){customElements.define(e(t),ae)}break}}))}export{ae as V,de as d};
2
- //# sourceMappingURL=p-C-V6jrel.js.map
1
+ import{p as t,H as n,h as s,d as i,t as e}from"./p-yZBlG3YQ.js";import{formatFullName as r}from"@verdocs/js-sdk";import{c as o}from"./p-BfP9ezJQ.js";const h={};const u=[];function c(t,n){if(Array.isArray(t)){for(const s of t){c(s,n)}return}if(typeof t==="object"){for(const n in t){c(n,t[n])}return}a(Object.getOwnPropertyNames(n));h[t]=Object.assign(h[t]||{},n)}function l(t){return h[t]||{}}function f(){return[...new Set(u)]}function a(t){u.push(...t)}function d(t,n){let s;const i=t.length;const e=[];for(s=0;s<i;s++){e.push(n(t[s]))}return e}function C(t,n){let s;const i=t.length;const e=[];for(s=0;s<i;s++){if(n(t[s])){e.push(t[s])}}return e}function w(t){return t%360*Math.PI/180}function p(t){return t.replace(/([A-Z])/g,(function(t,n){return"-"+n.toLowerCase()}))}function g(t){return t.charAt(0).toUpperCase()+t.slice(1)}function m(t,n,s,i){if(n==null||s==null){i=i||t.bbox();if(n==null){n=i.width/i.height*s}else if(s==null){s=i.height/i.width*n}}return{width:n,height:s}}function y(t,n){const s=t.origin;let i=t.ox!=null?t.ox:t.originX!=null?t.originX:"center";let e=t.oy!=null?t.oy:t.originY!=null?t.originY:"center";if(s!=null){[i,e]=Array.isArray(s)?s:typeof s==="object"?[s.x,s.y]:[s,s]}const r=typeof i==="string";const o=typeof e==="string";if(r||o){const{height:t,width:s,x:h,y:u}=n.bbox();if(r){i=i.includes("left")?h:i.includes("right")?h+s:h+s/2}if(o){e=e.includes("top")?u:e.includes("bottom")?u+t:u+t/2}}return[i,e]}const x=new Set(["desc","metadata","title"]);const v=t=>x.has(t.nodeName);const b=(t,n,s={})=>{const i={...n};for(const t in i){if(i[t].valueOf()===s[t]){delete i[t]}}if(Object.keys(i).length){t.node.setAttribute("data-svgjs",JSON.stringify(i))}else{t.node.removeAttribute("data-svgjs");t.node.removeAttribute("svgjs:data")}};const M="http://www.w3.org/2000/svg";const k="http://www.w3.org/1999/xhtml";const _="http://www.w3.org/2000/xmlns/";const j="http://www.w3.org/1999/xlink";const O={window:typeof window==="undefined"?null:window,document:typeof document==="undefined"?null:document};function L(){return O.window}class A{}const E={};const V="___SYMBOL___ROOT___";function S(t,n=M){return O.document.createElementNS(n,t)}function B(t,n=false){if(t instanceof A)return t;if(typeof t==="object"){return D(t)}if(t==null){return new E[V]}if(typeof t==="string"&&t.trim().charAt(0)!=="<"){return D(O.document.querySelector(t))}const s=n?O.document.createElement("div"):S("svg");s.innerHTML=t.trim();t=D(s.firstElementChild);s.removeChild(s.firstElementChild);return t}function T(t,n){return n&&(n instanceof O.window.Node||n.ownerDocument&&n instanceof n.ownerDocument.defaultView.Node)?n:S(t)}function H(t){if(!t)return null;if(t.instance instanceof A)return t.instance;if(t.nodeName==="#document-fragment"){return new E.Fragment(t)}let n=g(t.nodeName||"Dom");if(n==="LinearGradient"||n==="RadialGradient"){n="Gradient"}else if(!E[n]){n="Dom"}return new E[n](t)}let D=H;function z(t,n=t.name,s=false){E[n]=t;if(s)E[V]=t;a(Object.getOwnPropertyNames(t.prototype));return t}function I(t){return E[t]}let Z=1e3;function F(t){return"Svgjs"+g(t)+Z++}function $(t){for(let n=t.children.length-1;n>=0;n--){$(t.children[n])}if(t.id){t.id=F(t.nodeName);return t}return t}function N(t,n){let s,i;t=Array.isArray(t)?t:[t];for(i=t.length-1;i>=0;i--){for(s in n){t[i].prototype[s]=n[s]}}}function P(t){return function(...n){const s=n[n.length-1];if(s&&s.constructor===Object&&!(s instanceof Array)){return t.apply(this,n.slice(0,-1)).attr(s)}else{return t.apply(this,n)}}}function R(){return this.parent().children()}function G(){return this.parent().index(this)}function Y(){return this.siblings()[this.position()+1]}function X(){return this.siblings()[this.position()-1]}function Q(){const t=this.position();const n=this.parent();n.add(this.remove(),t+1);return this}function J(){const t=this.position();const n=this.parent();n.add(this.remove(),t?t-1:0);return this}function q(){const t=this.parent();t.add(this.remove());return this}function U(){const t=this.parent();t.add(this.remove(),0);return this}function W(t){t=B(t);t.remove();const n=this.position();this.parent().add(t,n);return this}function K(t){t=B(t);t.remove();const n=this.position();this.parent().add(t,n+1);return this}function tt(t){t=B(t);t.before(this);return this}function nt(t){t=B(t);t.after(this);return this}c("Dom",{siblings:R,position:G,next:Y,prev:X,forward:Q,backward:J,front:q,back:U,before:W,after:K,insertBefore:tt,insertAfter:nt});const st=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i;const it=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;const et=/rgb\((\d+),(\d+),(\d+)\)/;const rt=/(#[a-z_][a-z0-9\-_]*)/i;const ot=/\)\s*,?\s*/;const ht=/\s/g;const ut=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i;const ct=/^rgb\(/;const lt=/^(\s+)?$/;const ft=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;const at=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i;const dt=/[\s,]+/;const Ct=/[MLHVCSQTAZ]/i;function wt(){const t=this.attr("class");return t==null?[]:t.trim().split(dt)}function pt(t){return this.classes().indexOf(t)!==-1}function gt(t){if(!this.hasClass(t)){const n=this.classes();n.push(t);this.attr("class",n.join(" "))}return this}function mt(t){if(this.hasClass(t)){this.attr("class",this.classes().filter((function(n){return n!==t})).join(" "))}return this}function yt(t){return this.hasClass(t)?this.removeClass(t):this.addClass(t)}c("Dom",{classes:wt,hasClass:pt,addClass:gt,removeClass:mt,toggleClass:yt});function xt(t,n){const s={};if(arguments.length===0){this.node.style.cssText.split(/\s*;\s*/).filter((function(t){return!!t.length})).forEach((function(t){const n=t.split(/\s*:\s*/);s[n[0]]=n[1]}));return s}if(arguments.length<2){if(Array.isArray(t)){for(const n of t){const t=n;s[n]=this.node.style.getPropertyValue(t)}return s}if(typeof t==="string"){return this.node.style.getPropertyValue(t)}if(typeof t==="object"){for(const n in t){this.node.style.setProperty(n,t[n]==null||lt.test(t[n])?"":t[n])}}}if(arguments.length===2){this.node.style.setProperty(t,n==null||lt.test(n)?"":n)}return this}function vt(){return this.css("display","")}function bt(){return this.css("display","none")}function Mt(){return this.css("display")!=="none"}c("Dom",{css:xt,show:vt,hide:bt,visible:Mt});function kt(t,n,s){if(t==null){return this.data(d(C(this.node.attributes,(t=>t.nodeName.indexOf("data-")===0)),(t=>t.nodeName.slice(5))))}else if(t instanceof Array){const n={};for(const s of t){n[s]=this.data(s)}return n}else if(typeof t==="object"){for(n in t){this.data(n,t[n])}}else if(arguments.length<2){try{return JSON.parse(this.attr("data-"+t))}catch(n){return this.attr("data-"+t)}}else{this.attr("data-"+t,n===null?null:s===true||typeof n==="string"||typeof n==="number"?n:JSON.stringify(n))}return this}c("Dom",{data:kt});function _t(t,n){if(typeof arguments[0]==="object"){for(const n in t){this.remember(n,t[n])}}else if(arguments.length===1){return this.memory()[t]}else{this.memory()[t]=n}return this}function jt(){if(arguments.length===0){this._memory={}}else{for(let t=arguments.length-1;t>=0;t--){delete this.memory()[arguments[t]]}}return this}function Ot(){return this._memory=this._memory||{}}c("Dom",{remember:_t,forget:jt,memory:Ot});function Lt(t){return t.length===4?["#",t.substring(1,2),t.substring(1,2),t.substring(2,3),t.substring(2,3),t.substring(3,4),t.substring(3,4)].join(""):t}function At(t){const n=Math.round(t);const s=Math.max(0,Math.min(255,n));const i=s.toString(16);return i.length===1?"0"+i:i}function Et(t,n){for(let s=n.length;s--;){if(t[n[s]]==null){return false}}return true}function Vt(t,n){const s=Et(t,"rgb")?{_a:t.r,_b:t.g,_c:t.b,_d:0,space:"rgb"}:Et(t,"xyz")?{_a:t.x,_b:t.y,_c:t.z,_d:0,space:"xyz"}:Et(t,"hsl")?{_a:t.h,_b:t.s,_c:t.l,_d:0,space:"hsl"}:Et(t,"lab")?{_a:t.l,_b:t.a,_c:t.b,_d:0,space:"lab"}:Et(t,"lch")?{_a:t.l,_b:t.c,_c:t.h,_d:0,space:"lch"}:Et(t,"cmyk")?{_a:t.c,_b:t.m,_c:t.y,_d:t.k,space:"cmyk"}:{_a:0,_b:0,_c:0,space:"rgb"};s.space=n||s.space;return s}function St(t){if(t==="lab"||t==="xyz"||t==="lch"){return true}else{return false}}function Bt(t,n,s){if(s<0)s+=1;if(s>1)s-=1;if(s<1/6)return t+(n-t)*6*s;if(s<1/2)return n;if(s<2/3)return t+(n-t)*(2/3-s)*6;return t}class Tt{constructor(...t){this.init(...t)}static isColor(t){return t&&(t instanceof Tt||this.isRgb(t)||this.test(t))}static isRgb(t){return t&&typeof t.r==="number"&&typeof t.g==="number"&&typeof t.b==="number"}static random(t="vibrant",n){const{random:s,round:i,sin:e,PI:r}=Math;if(t==="vibrant"){const t=(81-57)*s()+57;const n=(83-45)*s()+45;const i=360*s();const e=new Tt(t,n,i,"lch");return e}else if(t==="sine"){n=n==null?s():n;const t=i(80*e(2*r*n/.5+.01)+150);const o=i(50*e(2*r*n/.5+4.6)+200);const h=i(100*e(2*r*n/.5+2.3)+150);const u=new Tt(t,o,h);return u}else if(t==="pastel"){const t=(94-86)*s()+86;const n=(26-9)*s()+9;const i=360*s();const e=new Tt(t,n,i,"lch");return e}else if(t==="dark"){const t=10+10*s();const n=(125-75)*s()+86;const i=360*s();const e=new Tt(t,n,i,"lch");return e}else if(t==="rgb"){const t=255*s();const n=255*s();const i=255*s();const e=new Tt(t,n,i);return e}else if(t==="lab"){const t=100*s();const n=256*s()-128;const i=256*s()-128;const e=new Tt(t,n,i,"lab");return e}else if(t==="grey"){const t=255*s();const n=new Tt(t,t,t);return n}else{throw new Error("Unsupported random color mode")}}static test(t){return typeof t==="string"&&(ut.test(t)||ct.test(t))}cmyk(){const{_a:t,_b:n,_c:s}=this.rgb();const[i,e,r]=[t,n,s].map((t=>t/255));const o=Math.min(1-i,1-e,1-r);if(o===1){return new Tt(0,0,0,1,"cmyk")}const h=(1-i-o)/(1-o);const u=(1-e-o)/(1-o);const c=(1-r-o)/(1-o);const l=new Tt(h,u,c,o,"cmyk");return l}hsl(){const{_a:t,_b:n,_c:s}=this.rgb();const[i,e,r]=[t,n,s].map((t=>t/255));const o=Math.max(i,e,r);const h=Math.min(i,e,r);const u=(o+h)/2;const c=o===h;const l=o-h;const f=c?0:u>.5?l/(2-o-h):l/(o+h);const a=c?0:o===i?((e-r)/l+(e<r?6:0))/6:o===e?((r-i)/l+2)/6:o===r?((i-e)/l+4)/6:0;const d=new Tt(360*a,100*f,100*u,"hsl");return d}init(t=0,n=0,s=0,i=0,e="rgb"){t=!t?0:t;if(this.space){for(const t in this.space){delete this[this.space[t]]}}if(typeof t==="number"){e=typeof i==="string"?i:e;i=typeof i==="string"?0:i;Object.assign(this,{_a:t,_b:n,_c:s,_d:i,space:e})}else if(t instanceof Array){this.space=n||(typeof t[3]==="string"?t[3]:t[4])||"rgb";Object.assign(this,{_a:t[0],_b:t[1],_c:t[2],_d:t[3]||0})}else if(t instanceof Object){const s=Vt(t,n);Object.assign(this,s)}else if(typeof t==="string"){if(ct.test(t)){const n=t.replace(ht,"");const[s,i,e]=et.exec(n).slice(1,4).map((t=>parseInt(t)));Object.assign(this,{_a:s,_b:i,_c:e,_d:0,space:"rgb"})}else if(ut.test(t)){const n=t=>parseInt(t,16);const[,s,i,e]=it.exec(Lt(t)).map(n);Object.assign(this,{_a:s,_b:i,_c:e,_d:0,space:"rgb"})}else throw Error("Unsupported string format, can't construct Color")}const{_a:r,_b:o,_c:h,_d:u}=this;const c=this.space==="rgb"?{r,g:o,b:h}:this.space==="xyz"?{x:r,y:o,z:h}:this.space==="hsl"?{h:r,s:o,l:h}:this.space==="lab"?{l:r,a:o,b:h}:this.space==="lch"?{l:r,c:o,h}:this.space==="cmyk"?{c:r,m:o,y:h,k:u}:{};Object.assign(this,c)}lab(){const{x:t,y:n,z:s}=this.xyz();const i=116*n-16;const e=500*(t-n);const r=200*(n-s);const o=new Tt(i,e,r,"lab");return o}lch(){const{l:t,a:n,b:s}=this.lab();const i=Math.sqrt(n**2+s**2);let e=180*Math.atan2(s,n)/Math.PI;if(e<0){e*=-1;e=360-e}const r=new Tt(t,i,e,"lch");return r}rgb(){if(this.space==="rgb"){return this}else if(St(this.space)){let{x:t,y:n,z:s}=this;if(this.space==="lab"||this.space==="lch"){let{l:i,a:e,b:r}=this;if(this.space==="lch"){const{c:t,h:n}=this;const s=Math.PI/180;e=t*Math.cos(s*n);r=t*Math.sin(s*n)}const o=(i+16)/116;const h=e/500+o;const u=o-r/200;const c=16/116;const l=.008856;const f=7.787;t=.95047*(h**3>l?h**3:(h-c)/f);n=1*(o**3>l?o**3:(o-c)/f);s=1.08883*(u**3>l?u**3:(u-c)/f)}const i=t*3.2406+n*-1.5372+s*-.4986;const e=t*-.9689+n*1.8758+s*.0415;const r=t*.0557+n*-.204+s*1.057;const o=Math.pow;const h=.0031308;const u=i>h?1.055*o(i,1/2.4)-.055:12.92*i;const c=e>h?1.055*o(e,1/2.4)-.055:12.92*e;const l=r>h?1.055*o(r,1/2.4)-.055:12.92*r;const f=new Tt(255*u,255*c,255*l);return f}else if(this.space==="hsl"){let{h:t,s:n,l:s}=this;t/=360;n/=100;s/=100;if(n===0){s*=255;const t=new Tt(s,s,s);return t}const i=s<.5?s*(1+n):s+n-s*n;const e=2*s-i;const r=255*Bt(e,i,t+1/3);const o=255*Bt(e,i,t);const h=255*Bt(e,i,t-1/3);const u=new Tt(r,o,h);return u}else if(this.space==="cmyk"){const{c:t,m:n,y:s,k:i}=this;const e=255*(1-Math.min(1,t*(1-i)+i));const r=255*(1-Math.min(1,n*(1-i)+i));const o=255*(1-Math.min(1,s*(1-i)+i));const h=new Tt(e,r,o);return h}else{return this}}toArray(){const{_a:t,_b:n,_c:s,_d:i,space:e}=this;return[t,n,s,i,e]}toHex(){const[t,n,s]=this._clamped().map(At);return`#${t}${n}${s}`}toRgb(){const[t,n,s]=this._clamped();const i=`rgb(${t},${n},${s})`;return i}toString(){return this.toHex()}xyz(){const{_a:t,_b:n,_c:s}=this.rgb();const[i,e,r]=[t,n,s].map((t=>t/255));const o=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92;const h=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92;const u=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;const c=(o*.4124+h*.3576+u*.1805)/.95047;const l=(o*.2126+h*.7152+u*.0722)/1;const f=(o*.0193+h*.1192+u*.9505)/1.08883;const a=c>.008856?Math.pow(c,1/3):7.787*c+16/116;const d=l>.008856?Math.pow(l,1/3):7.787*l+16/116;const C=f>.008856?Math.pow(f,1/3):7.787*f+16/116;const w=new Tt(a,d,C,"xyz");return w}_clamped(){const{_a:t,_b:n,_c:s}=this.rgb();const{max:i,min:e,round:r}=Math;const o=t=>i(0,e(r(t),255));return[t,n,s].map(o)}}class Ht{constructor(...t){this.init(...t)}clone(){return new Ht(this)}init(t,n){const s={x:0,y:0};const i=Array.isArray(t)?{x:t[0],y:t[1]}:typeof t==="object"?{x:t.x,y:t.y}:{x:t,y:n};this.x=i.x==null?s.x:i.x;this.y=i.y==null?s.y:i.y;return this}toArray(){return[this.x,this.y]}transform(t){return this.clone().transformO(t)}transformO(t){if(!It.isMatrixLike(t)){t=new It(t)}const{x:n,y:s}=this;this.x=t.a*n+t.c*s+t.e;this.y=t.b*n+t.d*s+t.f;return this}}function Dt(t,n){return new Ht(t,n).transformO(this.screenCTM().inverseO())}function zt(t,n,s){return Math.abs(n-t)<1e-6}class It{constructor(...t){this.init(...t)}static formatTransforms(t){const n=t.flip==="both"||t.flip===true;const s=t.flip&&(n||t.flip==="x")?-1:1;const i=t.flip&&(n||t.flip==="y")?-1:1;const e=t.skew&&t.skew.length?t.skew[0]:isFinite(t.skew)?t.skew:isFinite(t.skewX)?t.skewX:0;const r=t.skew&&t.skew.length?t.skew[1]:isFinite(t.skew)?t.skew:isFinite(t.skewY)?t.skewY:0;const o=t.scale&&t.scale.length?t.scale[0]*s:isFinite(t.scale)?t.scale*s:isFinite(t.scaleX)?t.scaleX*s:s;const h=t.scale&&t.scale.length?t.scale[1]*i:isFinite(t.scale)?t.scale*i:isFinite(t.scaleY)?t.scaleY*i:i;const u=t.shear||0;const c=t.rotate||t.theta||0;const l=new Ht(t.origin||t.around||t.ox||t.originX,t.oy||t.originY);const f=l.x;const a=l.y;const d=new Ht(t.position||t.px||t.positionX||NaN,t.py||t.positionY||NaN);const C=d.x;const w=d.y;const p=new Ht(t.translate||t.tx||t.translateX,t.ty||t.translateY);const g=p.x;const m=p.y;const y=new Ht(t.relative||t.rx||t.relativeX,t.ry||t.relativeY);const x=y.x;const v=y.y;return{scaleX:o,scaleY:h,skewX:e,skewY:r,shear:u,theta:c,rx:x,ry:v,tx:g,ty:m,ox:f,oy:a,px:C,py:w}}static fromArray(t){return{a:t[0],b:t[1],c:t[2],d:t[3],e:t[4],f:t[5]}}static isMatrixLike(t){return t.a!=null||t.b!=null||t.c!=null||t.d!=null||t.e!=null||t.f!=null}static matrixMultiply(t,n,s){const i=t.a*n.a+t.c*n.b;const e=t.b*n.a+t.d*n.b;const r=t.a*n.c+t.c*n.d;const o=t.b*n.c+t.d*n.d;const h=t.e+t.a*n.e+t.c*n.f;const u=t.f+t.b*n.e+t.d*n.f;s.a=i;s.b=e;s.c=r;s.d=o;s.e=h;s.f=u;return s}around(t,n,s){return this.clone().aroundO(t,n,s)}aroundO(t,n,s){const i=t||0;const e=n||0;return this.translateO(-i,-e).lmultiplyO(s).translateO(i,e)}clone(){return new It(this)}decompose(t=0,n=0){const s=this.a;const i=this.b;const e=this.c;const r=this.d;const o=this.e;const h=this.f;const u=s*r-i*e;const c=u>0?1:-1;const l=c*Math.sqrt(s*s+i*i);const f=Math.atan2(c*i,c*s);const a=180/Math.PI*f;const d=Math.cos(f);const C=Math.sin(f);const w=(s*e+i*r)/u;const p=e*l/(w*s-i)||r*l/(w*i+s);const g=o-t+t*d*l+n*(w*d*l-C*p);const m=h-n+t*C*l+n*(w*C*l+d*p);return{scaleX:l,scaleY:p,shear:w,rotate:a,translateX:g,translateY:m,originX:t,originY:n,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}equals(t){if(t===this)return true;const n=new It(t);return zt(this.a,n.a)&&zt(this.b,n.b)&&zt(this.c,n.c)&&zt(this.d,n.d)&&zt(this.e,n.e)&&zt(this.f,n.f)}flip(t,n){return this.clone().flipO(t,n)}flipO(t,n){return t==="x"?this.scaleO(-1,1,n,0):t==="y"?this.scaleO(1,-1,0,n):this.scaleO(-1,-1,t,n||t)}init(t){const n=It.fromArray([1,0,0,1,0,0]);t=t instanceof xn?t.matrixify():typeof t==="string"?It.fromArray(t.split(dt).map(parseFloat)):Array.isArray(t)?It.fromArray(t):typeof t==="object"&&It.isMatrixLike(t)?t:typeof t==="object"?(new It).transform(t):arguments.length===6?It.fromArray([].slice.call(arguments)):n;this.a=t.a!=null?t.a:n.a;this.b=t.b!=null?t.b:n.b;this.c=t.c!=null?t.c:n.c;this.d=t.d!=null?t.d:n.d;this.e=t.e!=null?t.e:n.e;this.f=t.f!=null?t.f:n.f;return this}inverse(){return this.clone().inverseO()}inverseO(){const t=this.a;const n=this.b;const s=this.c;const i=this.d;const e=this.e;const r=this.f;const o=t*i-n*s;if(!o)throw new Error("Cannot invert "+this);const h=i/o;const u=-n/o;const c=-s/o;const l=t/o;const f=-(h*e+c*r);const a=-(u*e+l*r);this.a=h;this.b=u;this.c=c;this.d=l;this.e=f;this.f=a;return this}lmultiply(t){return this.clone().lmultiplyO(t)}lmultiplyO(t){const n=this;const s=t instanceof It?t:new It(t);return It.matrixMultiply(s,n,this)}multiply(t){return this.clone().multiplyO(t)}multiplyO(t){const n=this;const s=t instanceof It?t:new It(t);return It.matrixMultiply(n,s,this)}rotate(t,n,s){return this.clone().rotateO(t,n,s)}rotateO(t,n=0,s=0){t=w(t);const i=Math.cos(t);const e=Math.sin(t);const{a:r,b:o,c:h,d:u,e:c,f:l}=this;this.a=r*i-o*e;this.b=o*i+r*e;this.c=h*i-u*e;this.d=u*i+h*e;this.e=c*i-l*e+s*e-n*i+n;this.f=l*i+c*e-n*e-s*i+s;return this}scale(){return this.clone().scaleO(...arguments)}scaleO(t,n=t,s=0,i=0){if(arguments.length===3){i=s;s=n;n=t}const{a:e,b:r,c:o,d:h,e:u,f:c}=this;this.a=e*t;this.b=r*n;this.c=o*t;this.d=h*n;this.e=u*t-s*t+s;this.f=c*n-i*n+i;return this}shear(t,n,s){return this.clone().shearO(t,n,s)}shearO(t,n=0,s=0){const{a:i,b:e,c:r,d:o,e:h,f:u}=this;this.a=i+e*t;this.c=r+o*t;this.e=h+u*t-s*t;return this}skew(){return this.clone().skewO(...arguments)}skewO(t,n=t,s=0,i=0){if(arguments.length===3){i=s;s=n;n=t}t=w(t);n=w(n);const e=Math.tan(t);const r=Math.tan(n);const{a:o,b:h,c:u,d:c,e:l,f}=this;this.a=o+h*e;this.b=h+o*r;this.c=u+c*e;this.d=c+u*r;this.e=l+f*e-i*e;this.f=f+l*r-s*r;return this}skewX(t,n,s){return this.skew(t,0,n,s)}skewY(t,n,s){return this.skew(0,t,n,s)}toArray(){return[this.a,this.b,this.c,this.d,this.e,this.f]}toString(){return"matrix("+this.a+","+this.b+","+this.c+","+this.d+","+this.e+","+this.f+")"}transform(t){if(It.isMatrixLike(t)){const n=new It(t);return n.multiplyO(this)}const n=It.formatTransforms(t);const s=this;const{x:i,y:e}=new Ht(n.ox,n.oy).transform(s);const r=(new It).translateO(n.rx,n.ry).lmultiplyO(s).translateO(-i,-e).scaleO(n.scaleX,n.scaleY).skewO(n.skewX,n.skewY).shearO(n.shear).rotateO(n.theta).translateO(i,e);if(isFinite(n.px)||isFinite(n.py)){const t=new Ht(i,e).transform(r);const s=isFinite(n.px)?n.px-t.x:0;const o=isFinite(n.py)?n.py-t.y:0;r.translateO(s,o)}r.translateO(n.tx,n.ty);return r}translate(t,n){return this.clone().translateO(t,n)}translateO(t,n){this.e+=t||0;this.f+=n||0;return this}valueOf(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}}function Zt(){return new It(this.node.getCTM())}function Ft(){try{if(typeof this.isRoot==="function"&&!this.isRoot()){const t=this.rect(1,1);const n=t.node.getScreenCTM();t.remove();return new It(n)}return new It(this.node.getScreenCTM())}catch(t){console.warn(`Cannot get CTM from SVG node ${this.node.nodeName}. Is the element rendered?`);return new It}}z(It,"Matrix");function $t(){if(!$t.nodes){const t=B().size(2,0);t.node.style.cssText=["opacity: 0","position: absolute","left: -100%","top: -100%","overflow: hidden"].join(";");t.attr("focusable","false");t.attr("aria-hidden","true");const n=t.path().node;$t.nodes={svg:t,path:n}}if(!$t.nodes.svg.node.parentNode){const t=O.document.body||O.document.documentElement;$t.nodes.svg.addTo(t)}return $t.nodes}function Nt(t){return!t.width&&!t.height&&!t.x&&!t.y}function Pt(t){return t===O.document||(O.document.documentElement.contains||function(t){while(t.parentNode){t=t.parentNode}return t===O.document}).call(O.document.documentElement,t)}class Rt{constructor(...t){this.init(...t)}addOffset(){this.x+=O.window.pageXOffset;this.y+=O.window.pageYOffset;return new Rt(this)}init(t){const n=[0,0,0,0];t=typeof t==="string"?t.split(dt).map(parseFloat):Array.isArray(t)?t:typeof t==="object"?[t.left!=null?t.left:t.x,t.top!=null?t.top:t.y,t.width,t.height]:arguments.length===4?[].slice.call(arguments):n;this.x=t[0]||0;this.y=t[1]||0;this.width=this.w=t[2]||0;this.height=this.h=t[3]||0;this.x2=this.x+this.w;this.y2=this.y+this.h;this.cx=this.x+this.w/2;this.cy=this.y+this.h/2;return this}isNulled(){return Nt(this)}merge(t){const n=Math.min(this.x,t.x);const s=Math.min(this.y,t.y);const i=Math.max(this.x+this.width,t.x+t.width)-n;const e=Math.max(this.y+this.height,t.y+t.height)-s;return new Rt(n,s,i,e)}toArray(){return[this.x,this.y,this.width,this.height]}toString(){return this.x+" "+this.y+" "+this.width+" "+this.height}transform(t){if(!(t instanceof It)){t=new It(t)}let n=Infinity;let s=-Infinity;let i=Infinity;let e=-Infinity;const r=[new Ht(this.x,this.y),new Ht(this.x2,this.y),new Ht(this.x,this.y2),new Ht(this.x2,this.y2)];r.forEach((function(r){r=r.transform(t);n=Math.min(n,r.x);s=Math.max(s,r.x);i=Math.min(i,r.y);e=Math.max(e,r.y)}));return new Rt(n,i,s-n,e-i)}}function Gt(t,n,s){let i;try{i=n(t.node);if(Nt(i)&&!Pt(t.node)){throw new Error("Element not in the dom")}}catch(n){i=s(t)}return i}function Yt(){const t=t=>t.getBBox();const n=t=>{try{const n=t.clone().addTo($t().svg).show();const s=n.node.getBBox();n.remove();return s}catch(n){throw new Error(`Getting bbox of element "${t.node.nodeName}" is not possible: ${n.toString()}`)}};const s=Gt(this,t,n);const i=new Rt(s);return i}function Xt(t){const n=t=>t.getBoundingClientRect();const s=t=>{throw new Error(`Getting rbox of element "${t.node.nodeName}" is not possible`)};const i=Gt(this,n,s);const e=new Rt(i);if(t){return e.transform(t.screenCTM().inverseO())}return e.addOffset()}function Qt(t,n){const s=this.bbox();return t>s.x&&n>s.y&&t<s.x+s.width&&n<s.y+s.height}c({viewbox:{viewbox(t,n,s,i){if(t==null)return new Rt(this.attr("viewBox"));return this.attr("viewBox",new Rt(t,n,s,i))},zoom(t,n){let{width:s,height:i}=this.attr(["width","height"]);if(!s&&!i||typeof s==="string"||typeof i==="string"){s=this.node.clientWidth;i=this.node.clientHeight}if(!s||!i){throw new Error("Impossible to get absolute width and height. Please provide an absolute width and height attribute on the zooming element")}const e=this.viewbox();const r=s/e.width;const o=i/e.height;const h=Math.min(r,o);if(t==null){return h}let u=h/t;if(u===Infinity)u=Number.MAX_SAFE_INTEGER/100;n=n||new Ht(s/2/r+e.x,i/2/o+e.y);const c=new Rt(e).transform(new It({scale:u,origin:n}));return this.viewbox(c)}}});z(Rt,"Box");class Jt extends Array{constructor(t=[],...n){super(t,...n);if(typeof t==="number")return this;this.length=0;this.push(...t)}}N([Jt],{each(t,...n){if(typeof t==="function"){return this.map(((n,s,i)=>t.call(n,n,s,i)))}else{return this.map((s=>s[t](...n)))}},toArray(){return Array.prototype.concat.apply([],this)}});const qt=["toArray","constructor","each"];Jt.extend=function(t){t=t.reduce(((t,n)=>{if(qt.includes(n))return t;if(n[0]==="_")return t;if(n in Array.prototype){t["$"+n]=Array.prototype[n]}t[n]=function(...t){return this.each(n,...t)};return t}),{});N([Jt],t)};function Ut(t,n){return new Jt(d((n||O.document).querySelectorAll(t),(function(t){return H(t)})))}function Wt(t){return Ut(t,this.node)}function Kt(t){return H(this.node.querySelector(t))}let tn=0;const nn={};function sn(t){let n=t.getEventHolder();if(n===O.window)n=nn;if(!n.events)n.events={};return n.events}function en(t){return t.getEventTarget()}function rn(t){let n=t.getEventHolder();if(n===O.window)n=nn;if(n.events)n.events={}}function on(t,n,s,i,e){const r=s.bind(i||t);const o=B(t);const h=sn(o);const u=en(o);n=Array.isArray(n)?n:n.split(dt);if(!s._svgjsListenerId){s._svgjsListenerId=++tn}n.forEach((function(t){const n=t.split(".")[0];const i=t.split(".")[1]||"*";h[n]=h[n]||{};h[n][i]=h[n][i]||{};h[n][i][s._svgjsListenerId]=r;u.addEventListener(n,r,e||false)}))}function hn(t,n,s,i){const e=B(t);const r=sn(e);const o=en(e);if(typeof s==="function"){s=s._svgjsListenerId;if(!s)return}n=Array.isArray(n)?n:(n||"").split(dt);n.forEach((function(t){const n=t&&t.split(".")[0];const h=t&&t.split(".")[1];let u,c;if(s){if(r[n]&&r[n][h||"*"]){o.removeEventListener(n,r[n][h||"*"][s],i||false);delete r[n][h||"*"][s]}}else if(n&&h){if(r[n]&&r[n][h]){for(c in r[n][h]){hn(o,[n,h].join("."),c)}delete r[n][h]}}else if(h){for(t in r){for(u in r[t]){if(h===u){hn(o,[t,h].join("."))}}}}else if(n){if(r[n]){for(u in r[n]){hn(o,[n,u].join("."))}delete r[n]}}else{for(t in r){hn(o,t)}rn(e)}}))}function un(t,n,s,i){const e=en(t);if(n instanceof O.window.Event){e.dispatchEvent(n)}else{n=new O.window.CustomEvent(n,{detail:s,cancelable:true,...i});e.dispatchEvent(n)}return n}class cn extends A{addEventListener(){}dispatch(t,n,s){return un(this,t,n,s)}dispatchEvent(t){const n=this.getEventHolder().events;if(!n)return true;const s=n[t.type];for(const n in s){for(const i in s[n]){s[n][i](t)}}return!t.defaultPrevented}fire(t,n,s){this.dispatch(t,n,s);return this}getEventHolder(){return this}getEventTarget(){return this}off(t,n,s){hn(this,t,n,s);return this}on(t,n,s,i){on(this,t,n,s,i);return this}removeEventListener(){}}z(cn,"EventTarget");function ln(){}const fn={duration:400,ease:">",delay:0};const an={"fill-opacity":1,"stroke-opacity":1,"stroke-width":0,"stroke-linejoin":"miter","stroke-linecap":"butt",fill:"#000000",stroke:"#000000",opacity:1,x:0,y:0,cx:0,cy:0,width:0,height:0,r:0,rx:0,ry:0,offset:0,"stop-opacity":1,"stop-color":"#000000","text-anchor":"start"};class dn extends Array{constructor(...t){super(...t);this.init(...t)}clone(){return new this.constructor(this)}init(t){if(typeof t==="number")return this;this.length=0;this.push(...this.parse(t));return this}parse(t=[]){if(t instanceof Array)return t;return t.trim().split(dt).map(parseFloat)}toArray(){return Array.prototype.concat.apply([],this)}toSet(){return new Set(this)}toString(){return this.join(" ")}valueOf(){const t=[];t.push(...this);return t}}class Cn{constructor(...t){this.init(...t)}convert(t){return new Cn(this.value,t)}divide(t){t=new Cn(t);return new Cn(this/t,this.unit||t.unit)}init(t,n){n=Array.isArray(t)?t[1]:n;t=Array.isArray(t)?t[0]:t;this.value=0;this.unit=n||"";if(typeof t==="number"){this.value=isNaN(t)?0:!isFinite(t)?t<0?-34e37:34e37:t}else if(typeof t==="string"){n=t.match(st);if(n){this.value=parseFloat(n[1]);if(n[5]==="%"){this.value/=100}else if(n[5]==="s"){this.value*=1e3}this.unit=n[5]}}else{if(t instanceof Cn){this.value=t.valueOf();this.unit=t.unit}}return this}minus(t){t=new Cn(t);return new Cn(this-t,this.unit||t.unit)}plus(t){t=new Cn(t);return new Cn(this+t,this.unit||t.unit)}times(t){t=new Cn(t);return new Cn(this*t,this.unit||t.unit)}toArray(){return[this.value,this.unit]}toJSON(){return this.toString()}toString(){return(this.unit==="%"?~~(this.value*1e8)/1e6:this.unit==="s"?this.value/1e3:this.value)+this.unit}valueOf(){return this.value}}const wn=new Set(["fill","stroke","color","bgcolor","stop-color","flood-color","lighting-color"]);const pn=[];function gn(t){pn.push(t)}function mn(t,n,s){if(t==null){t={};n=this.node.attributes;for(const s of n){t[s.nodeName]=ft.test(s.nodeValue)?parseFloat(s.nodeValue):s.nodeValue}return t}else if(t instanceof Array){return t.reduce(((t,n)=>{t[n]=this.attr(n);return t}),{})}else if(typeof t==="object"&&t.constructor===Object){for(n in t)this.attr(n,t[n])}else if(n===null){this.node.removeAttribute(t)}else if(n==null){n=this.node.getAttribute(t);return n==null?an[t]:ft.test(n)?parseFloat(n):n}else{n=pn.reduce(((n,s)=>s(t,n,this)),n);if(typeof n==="number"){n=new Cn(n)}else if(wn.has(t)&&Tt.isColor(n)){n=new Tt(n)}else if(n.constructor===Array){n=new dn(n)}if(t==="leading"){if(this.leading){this.leading(n)}}else{typeof s==="string"?this.node.setAttributeNS(s,t,n.toString()):this.node.setAttribute(t,n.toString())}if(this.rebuild&&(t==="font-size"||t==="x")){this.rebuild()}}return this}class yn extends cn{constructor(t,n){super();this.node=t;this.type=t.nodeName;if(n&&t!==n){this.attr(n)}}add(t,n){t=B(t);if(t.removeNamespace&&this.node instanceof O.window.SVGElement){t.removeNamespace()}if(n==null){this.node.appendChild(t.node)}else if(t.node!==this.node.childNodes[n]){this.node.insertBefore(t.node,this.node.childNodes[n])}return this}addTo(t,n){return B(t).put(this,n)}children(){return new Jt(d(this.node.children,(function(t){return H(t)})))}clear(){while(this.node.hasChildNodes()){this.node.removeChild(this.node.lastChild)}return this}clone(t=true,n=true){this.writeDataToDom();let s=this.node.cloneNode(t);if(n){s=$(s)}return new this.constructor(s)}each(t,n){const s=this.children();let i,e;for(i=0,e=s.length;i<e;i++){t.apply(s[i],[i,s]);if(n){s[i].each(t,n)}}return this}element(t,n){return this.put(new yn(S(t),n))}first(){return H(this.node.firstChild)}get(t){return H(this.node.childNodes[t])}getEventHolder(){return this.node}getEventTarget(){return this.node}has(t){return this.index(t)>=0}html(t,n){return this.xml(t,n,k)}id(t){if(typeof t==="undefined"&&!this.node.id){this.node.id=F(this.type)}return this.attr("id",t)}index(t){return[].slice.call(this.node.childNodes).indexOf(t.node)}last(){return H(this.node.lastChild)}matches(t){const n=this.node;const s=n.matches||n.matchesSelector||n.msMatchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||n.oMatchesSelector||null;return s&&s.call(n,t)}parent(t){let n=this;if(!n.node.parentNode)return null;n=H(n.node.parentNode);if(!t)return n;do{if(typeof t==="string"?n.matches(t):n instanceof t)return n}while(n=H(n.node.parentNode));return n}put(t,n){t=B(t);this.add(t,n);return t}putIn(t,n){return B(t).add(this,n)}remove(){if(this.parent()){this.parent().removeElement(this)}return this}removeElement(t){this.node.removeChild(t.node);return this}replace(t){t=B(t);if(this.node.parentNode){this.node.parentNode.replaceChild(t.node,this.node)}return t}round(t=2,n=null){const s=10**t;const i=this.attr(n);for(const t in i){if(typeof i[t]==="number"){i[t]=Math.round(i[t]*s)/s}}this.attr(i);return this}svg(t,n){return this.xml(t,n,M)}toString(){return this.id()}words(t){this.node.textContent=t;return this}wrap(t){const n=this.parent();if(!n){return this.addTo(t)}const s=n.index(this);return n.put(t,s).put(this)}writeDataToDom(){this.each((function(){this.writeDataToDom()}));return this}xml(t,n,s){if(typeof t==="boolean"){s=n;n=t;t=null}if(t==null||typeof t==="function"){n=n==null?true:n;this.writeDataToDom();let s=this;if(t!=null){s=H(s.node.cloneNode(true));if(n){const n=t(s);s=n||s;if(n===false)return""}s.each((function(){const n=t(this);const s=n||this;if(n===false){this.remove()}else if(n&&this!==s){this.replace(s)}}),true)}return n?s.node.outerHTML:s.node.innerHTML}n=n==null?false:n;const i=S("wrapper",s);const e=O.document.createDocumentFragment();i.innerHTML=t;for(let t=i.children.length;t--;){e.appendChild(i.firstElementChild)}const r=this.parent();return n?this.replace(e)&&r:this.add(e)}}N(yn,{attr:mn,find:Wt,findOne:Kt});z(yn,"Dom");class xn extends yn{constructor(t,n){super(t,n);this.dom={};this.node.instance=this;if(t.hasAttribute("data-svgjs")||t.hasAttribute("svgjs:data")){this.setData(JSON.parse(t.getAttribute("data-svgjs"))??JSON.parse(t.getAttribute("svgjs:data"))??{})}}center(t,n){return this.cx(t).cy(n)}cx(t){return t==null?this.x()+this.width()/2:this.x(t-this.width()/2)}cy(t){return t==null?this.y()+this.height()/2:this.y(t-this.height()/2)}defs(){const t=this.root();return t&&t.defs()}dmove(t,n){return this.dx(t).dy(n)}dx(t=0){return this.x(new Cn(t).plus(this.x()))}dy(t=0){return this.y(new Cn(t).plus(this.y()))}getEventHolder(){return this}height(t){return this.attr("height",t)}move(t,n){return this.x(t).y(n)}parents(t=this.root()){const n=typeof t==="string";if(!n){t=B(t)}const s=new Jt;let i=this;while((i=i.parent())&&i.node!==O.document&&i.nodeName!=="#document-fragment"){s.push(i);if(!n&&i.node===t.node){break}if(n&&i.matches(t)){break}if(i.node===this.root().node){return null}}return s}reference(t){t=this.attr(t);if(!t)return null;const n=(t+"").match(rt);return n?B(n[1]):null}root(){const t=this.parent(I(V));return t&&t.root()}setData(t){this.dom=t;return this}size(t,n){const s=m(this,t,n);return this.width(new Cn(s.width)).height(new Cn(s.height))}width(t){return this.attr("width",t)}writeDataToDom(){b(this,this.dom);return super.writeDataToDom()}x(t){return this.attr("x",t)}y(t){return this.attr("y",t)}}N(xn,{bbox:Yt,rbox:Xt,inside:Qt,point:Dt,ctm:Zt,screenCTM:Ft});z(xn,"Element");const vn={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(t,n){return n==="color"?t:t+"-"+n}};["fill","stroke"].forEach((function(t){const n={};let s;n[t]=function(n){if(typeof n==="undefined"){return this.attr(t)}if(typeof n==="string"||n instanceof Tt||Tt.isRgb(n)||n instanceof xn){this.attr(t,n)}else{for(s=vn[t].length-1;s>=0;s--){if(n[vn[t][s]]!=null){this.attr(vn.prefix(t,vn[t][s]),n[vn[t][s]])}}}return this};c(["Element","Runner"],n)}));c(["Element","Runner"],{matrix:function(t,n,s,i,e,r){if(t==null){return new It(this)}return this.attr("transform",new It(t,n,s,i,e,r))},rotate:function(t,n,s){return this.transform({rotate:t,ox:n,oy:s},true)},skew:function(t,n,s,i){return arguments.length===1||arguments.length===3?this.transform({skew:t,ox:n,oy:s},true):this.transform({skew:[t,n],ox:s,oy:i},true)},shear:function(t,n,s){return this.transform({shear:t,ox:n,oy:s},true)},scale:function(t,n,s,i){return arguments.length===1||arguments.length===3?this.transform({scale:t,ox:n,oy:s},true):this.transform({scale:[t,n],ox:s,oy:i},true)},translate:function(t,n){return this.transform({translate:[t,n]},true)},relative:function(t,n){return this.transform({relative:[t,n]},true)},flip:function(t="both",n="center"){if("xybothtrue".indexOf(t)===-1){n=t;t="both"}return this.transform({flip:t,origin:n},true)},opacity:function(t){return this.attr("opacity",t)}});c("radius",{radius:function(t,n=t){const s=(this._element||this).type;return s==="radialGradient"?this.attr("r",new Cn(t)):this.rx(t).ry(n)}});c("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(t){return new Ht(this.node.getPointAtLength(t))}});c(["Element","Runner"],{font:function(t,n){if(typeof t==="object"){for(n in t)this.font(n,t[n]);return this}return t==="leading"?this.leading(n):t==="anchor"?this.attr("text-anchor",n):t==="size"||t==="family"||t==="weight"||t==="stretch"||t==="variant"||t==="style"?this.attr("font-"+t,n):this.attr(t,n)}});const bn=["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel","contextmenu","wheel","pointerdown","pointermove","pointerup","pointerleave","pointercancel"].reduce((function(t,n){const s=function(t){if(t===null){this.off(n)}else{this.on(n,t)}return this};t[n]=s;return t}),{});c("Element",bn);function Mn(){return this.attr("transform",null)}function kn(){const t=(this.attr("transform")||"").split(ot).slice(0,-1).map((function(t){const n=t.trim().split("(");return[n[0],n[1].split(dt).map((function(t){return parseFloat(t)}))]})).reverse().reduce((function(t,n){if(n[0]==="matrix"){return t.lmultiply(It.fromArray(n[1]))}return t[n[0]].apply(t,n[1])}),new It);return t}function _n(t,n){if(this===t)return this;if(v(this.node))return this.addTo(t,n);const s=this.screenCTM();const i=t.screenCTM().inverse();this.addTo(t,n).untransform().transform(i.multiply(s));return this}function jn(t){return this.toParent(this.root(),t)}function On(t,n){if(t==null||typeof t==="string"){const n=new It(this).decompose();return t==null?n:n[t]}if(!It.isMatrixLike(t)){t={...t,origin:y(t,this)}}const s=n===true?this:n||false;const i=new It(s).transform(t);return this.attr("transform",i)}c("Element",{untransform:Mn,matrixify:kn,toParent:_n,toRoot:jn,transform:On});class Ln extends xn{flatten(){this.each((function(){if(this instanceof Ln){return this.flatten().ungroup()}}));return this}ungroup(t=this.parent(),n=t.index(this)){n=n===-1?t.children().length:n;this.each((function(s,i){return i[i.length-s-1].toParent(t,n)}));return this.remove()}}z(Ln,"Container");class An extends Ln{constructor(t,n=t){super(T("defs",t),n)}flatten(){return this}ungroup(){return this}}z(An,"Defs");class En extends xn{}z(En,"Shape");function Vn(t){return this.attr("rx",t)}function Sn(t){return this.attr("ry",t)}function Bn(t){return t==null?this.cx()-this.rx():this.cx(t+this.rx())}function Tn(t){return t==null?this.cy()-this.ry():this.cy(t+this.ry())}function Hn(t){return this.attr("cx",t)}function Dn(t){return this.attr("cy",t)}function zn(t){return t==null?this.rx()*2:this.rx(new Cn(t).divide(2))}function In(t){return t==null?this.ry()*2:this.ry(new Cn(t).divide(2))}var Zn=Object.freeze({__proto__:null,cx:Hn,cy:Dn,height:In,rx:Vn,ry:Sn,width:zn,x:Bn,y:Tn});class Fn extends En{constructor(t,n=t){super(T("ellipse",t),n)}size(t,n){const s=m(this,t,n);return this.rx(new Cn(s.width).divide(2)).ry(new Cn(s.height).divide(2))}}N(Fn,Zn);c("Container",{ellipse:P((function(t=0,n=t){return this.put(new Fn).size(t,n).move(0,0)}))});z(Fn,"Ellipse");class $n extends yn{constructor(t=O.document.createDocumentFragment()){super(t)}xml(t,n,s){if(typeof t==="boolean"){s=n;n=t;t=null}if(t==null||typeof t==="function"){const t=new yn(S("wrapper",s));t.add(this.node.cloneNode(true));return t.xml(false,s)}return super.xml(t,false,s)}}z($n,"Fragment");function Nn(t,n){return(this._element||this).type==="radialGradient"?this.attr({fx:new Cn(t),fy:new Cn(n)}):this.attr({x1:new Cn(t),y1:new Cn(n)})}function Pn(t,n){return(this._element||this).type==="radialGradient"?this.attr({cx:new Cn(t),cy:new Cn(n)}):this.attr({x2:new Cn(t),y2:new Cn(n)})}var Rn=Object.freeze({__proto__:null,from:Nn,to:Pn});class Gn extends Ln{constructor(t,n){super(T(t+"Gradient",typeof t==="string"?null:t),n)}attr(t,n,s){if(t==="transform")t="gradientTransform";return super.attr(t,n,s)}bbox(){return new Rt}targets(){return Ut("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this}url(){return"url(#"+this.id()+")"}}N(Gn,Rn);c({Container:{gradient(...t){return this.defs().gradient(...t)}},Defs:{gradient:P((function(t,n){return this.put(new Gn(t)).update(n)}))}});z(Gn,"Gradient");class Yn extends Ln{constructor(t,n=t){super(T("pattern",t),n)}attr(t,n,s){if(t==="transform")t="patternTransform";return super.attr(t,n,s)}bbox(){return new Rt}targets(){return Ut("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this}url(){return"url(#"+this.id()+")"}}c({Container:{pattern(...t){return this.defs().pattern(...t)}},Defs:{pattern:P((function(t,n,s){return this.put(new Yn).update(s).attr({x:0,y:0,width:t,height:n,patternUnits:"userSpaceOnUse"})}))}});z(Yn,"Pattern");class Xn extends En{constructor(t,n=t){super(T("image",t),n)}load(t,n){if(!t)return this;const s=new O.window.Image;on(s,"load",(function(t){const i=this.parent(Yn);if(this.width()===0&&this.height()===0){this.size(s.width,s.height)}if(i instanceof Yn){if(i.width()===0&&i.height()===0){i.size(this.width(),this.height())}}if(typeof n==="function"){n.call(this,t)}}),this);on(s,"load error",(function(){hn(s)}));return this.attr("href",s.src=t,j)}}gn((function(t,n,s){if(t==="fill"||t==="stroke"){if(at.test(n)){n=s.root().defs().image(n)}}if(n instanceof Xn){n=s.root().defs().pattern(0,0,(t=>{t.add(n)}))}return n}));c({Container:{image:P((function(t,n){return this.put(new Xn).size(0,0).load(t,n)}))}});z(Xn,"Image");class Qn extends dn{bbox(){let t=-Infinity;let n=-Infinity;let s=Infinity;let i=Infinity;this.forEach((function(e){t=Math.max(e[0],t);n=Math.max(e[1],n);s=Math.min(e[0],s);i=Math.min(e[1],i)}));return new Rt(s,i,t-s,n-i)}move(t,n){const s=this.bbox();t-=s.x;n-=s.y;if(!isNaN(t)&&!isNaN(n)){for(let s=this.length-1;s>=0;s--){this[s]=[this[s][0]+t,this[s][1]+n]}}return this}parse(t=[0,0]){const n=[];if(t instanceof Array){t=Array.prototype.concat.apply([],t)}else{t=t.trim().split(dt).map(parseFloat)}if(t.length%2!==0)t.pop();for(let s=0,i=t.length;s<i;s=s+2){n.push([t[s],t[s+1]])}return n}size(t,n){let s;const i=this.bbox();for(s=this.length-1;s>=0;s--){if(i.width)this[s][0]=(this[s][0]-i.x)*t/i.width+i.x;if(i.height)this[s][1]=(this[s][1]-i.y)*n/i.height+i.y}return this}toLine(){return{x1:this[0][0],y1:this[0][1],x2:this[1][0],y2:this[1][1]}}toString(){const t=[];for(let n=0,s=this.length;n<s;n++){t.push(this[n].join(","))}return t.join(" ")}transform(t){return this.clone().transformO(t)}transformO(t){if(!It.isMatrixLike(t)){t=new It(t)}for(let n=this.length;n--;){const[s,i]=this[n];this[n][0]=t.a*s+t.c*i+t.e;this[n][1]=t.b*s+t.d*i+t.f}return this}}const Jn=Qn;function qn(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)}function Un(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)}function Wn(t){const n=this.bbox();return t==null?n.width:this.size(t,n.height)}function Kn(t){const n=this.bbox();return t==null?n.height:this.size(n.width,t)}var ts=Object.freeze({__proto__:null,MorphArray:Jn,height:Kn,width:Wn,x:qn,y:Un});class ns extends En{constructor(t,n=t){super(T("line",t),n)}array(){return new Qn([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])}move(t,n){return this.attr(this.array().move(t,n).toLine())}plot(t,n,s,i){if(t==null){return this.array()}else if(typeof n!=="undefined"){t={x1:t,y1:n,x2:s,y2:i}}else{t=new Qn(t).toLine()}return this.attr(t)}size(t,n){const s=m(this,t,n);return this.attr(this.array().size(s.width,s.height).toLine())}}N(ns,ts);c({Container:{line:P((function(...t){return ns.prototype.plot.apply(this.put(new ns),t[0]!=null?t:[0,0,0,0])}))}});z(ns,"Line");class ss extends Ln{constructor(t,n=t){super(T("marker",t),n)}height(t){return this.attr("markerHeight",t)}orient(t){return this.attr("orient",t)}ref(t,n){return this.attr("refX",t).attr("refY",n)}toString(){return"url(#"+this.id()+")"}update(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this}width(t){return this.attr("markerWidth",t)}}c({Container:{marker(...t){return this.defs().marker(...t)}},Defs:{marker:P((function(t,n,s){return this.put(new ss).size(t,n).ref(t/2,n/2).viewbox(0,0,t,n).attr("orient","auto").update(s)}))},marker:{marker(t,n,s,i){let e=["marker"];if(t!=="all")e.push(t);e=e.join("-");t=arguments[1]instanceof ss?arguments[1]:this.defs().marker(n,s,i);return this.attr(e,t)}}});z(ss,"Marker");function is(t,n){return function(s){if(s==null)return this[t];this[t]=s;if(n)n.call(this);return this}}const es={"-":function(t){return t},"<>":function(t){return-Math.cos(t*Math.PI)/2+.5},">":function(t){return Math.sin(t*Math.PI/2)},"<":function(t){return-Math.cos(t*Math.PI/2)+1},bezier:function(t,n,s,i){return function(e){if(e<0){if(t>0){return n/t*e}else if(s>0){return i/s*e}else{return 0}}else if(e>1){if(s<1){return(1-i)/(1-s)*e+(i-s)/(1-s)}else if(t<1){return(1-n)/(1-t)*e+(n-t)/(1-t)}else{return 1}}else{return 3*e*(1-e)**2*n+3*e**2*(1-e)*i+e**3}}},steps:function(t,n="end"){n=n.split("-").reverse()[0];let s=t;if(n==="none"){--s}else if(n==="both"){++s}return(i,e=false)=>{let r=Math.floor(i*t);const o=i*r%1===0;if(n==="start"||n==="both"){++r}if(e&&o){--r}if(i>=0&&r<0){r=0}if(i<=1&&r>s){r=s}return r/s}}};class rs{done(){return false}}class os extends rs{constructor(t=fn.ease){super();this.ease=es[t]||t}step(t,n,s){if(typeof t!=="number"){return s<1?t:n}return t+(n-t)*this.ease(s)}}class hs extends rs{constructor(t){super();this.stepper=t}done(t){return t.done}step(t,n,s,i){return this.stepper(t,n,s,i)}}function us(){const t=(this._duration||500)/1e3;const n=this._overshoot||0;const s=1e-10;const i=Math.PI;const e=Math.log(n/100+s);const r=-e/Math.sqrt(i*i+e*e);const o=3.9/(r*t);this.d=2*r*o;this.k=o*o}class cs extends hs{constructor(t=500,n=0){super();this.duration(t).overshoot(n)}step(t,n,s,i){if(typeof t==="string")return t;i.done=s===Infinity;if(s===Infinity)return n;if(s===0)return t;if(s>100)s=16;s/=1e3;const e=i.velocity||0;const r=-this.d*e-this.k*(t-n);const o=t+e*s+r*s*s/2;i.velocity=e+r*s;i.done=Math.abs(n-o)+Math.abs(e)<.002;return i.done?n:o}}N(cs,{duration:is("_duration",us),overshoot:is("_overshoot",us)});class ls extends hs{constructor(t=.1,n=.01,s=0,i=1e3){super();this.p(t).i(n).d(s).windup(i)}step(t,n,s,i){if(typeof t==="string")return t;i.done=s===Infinity;if(s===Infinity)return n;if(s===0)return t;const e=n-t;let r=(i.integral||0)+e*s;const o=(e-(i.error||0))/s;const h=this._windup;if(h!==false){r=Math.max(-h,Math.min(r,h))}i.error=e;i.integral=r;i.done=Math.abs(e)<.001;return i.done?n:t+(this.P*e+this.I*r+this.D*o)}}N(ls,{windup:is("_windup"),p:is("P"),i:is("I"),d:is("D")});const fs={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0};const as={M:function(t,n,s){n.x=s.x=t[0];n.y=s.y=t[1];return["M",n.x,n.y]},L:function(t,n){n.x=t[0];n.y=t[1];return["L",t[0],t[1]]},H:function(t,n){n.x=t[0];return["H",t[0]]},V:function(t,n){n.y=t[0];return["V",t[0]]},C:function(t,n){n.x=t[4];n.y=t[5];return["C",t[0],t[1],t[2],t[3],t[4],t[5]]},S:function(t,n){n.x=t[2];n.y=t[3];return["S",t[0],t[1],t[2],t[3]]},Q:function(t,n){n.x=t[2];n.y=t[3];return["Q",t[0],t[1],t[2],t[3]]},T:function(t,n){n.x=t[0];n.y=t[1];return["T",t[0],t[1]]},Z:function(t,n,s){n.x=s.x;n.y=s.y;return["Z"]},A:function(t,n){n.x=t[5];n.y=t[6];return["A",t[0],t[1],t[2],t[3],t[4],t[5],t[6]]}};const ds="mlhvqtcsaz".split("");for(let t=0,n=ds.length;t<n;++t){as[ds[t]]=function(t){return function(n,s,i){if(t==="H")n[0]=n[0]+s.x;else if(t==="V")n[0]=n[0]+s.y;else if(t==="A"){n[5]=n[5]+s.x;n[6]=n[6]+s.y}else{for(let t=0,i=n.length;t<i;++t){n[t]=n[t]+(t%2?s.y:s.x)}}return as[t](n,s,i)}}(ds[t].toUpperCase())}function Cs(t){const n=t.segment[0];return as[n](t.segment.slice(1),t.p,t.p0)}function ws(t){return t.segment.length&&t.segment.length-1===fs[t.segment[0].toUpperCase()]}function ps(t,n){t.inNumber&&gs(t,false);const s=Ct.test(n);if(s){t.segment=[n]}else{const n=t.lastCommand;const s=n.toLowerCase();const i=n===s;t.segment=[s==="m"?i?"l":"L":n]}t.inSegment=true;t.lastCommand=t.segment[0];return s}function gs(t,n){if(!t.inNumber)throw new Error("Parser Error");t.number&&t.segment.push(parseFloat(t.number));t.inNumber=n;t.number="";t.pointSeen=false;t.hasExponent=false;if(ws(t)){ms(t)}}function ms(t){t.inSegment=false;if(t.absolute){t.segment=Cs(t)}t.segments.push(t.segment)}function ys(t){if(!t.segment.length)return false;const n=t.segment[0].toUpperCase()==="A";const s=t.segment.length;return n&&(s===4||s===5)}function xs(t){return t.lastToken.toUpperCase()==="E"}const vs=new Set([" ",",","\t","\n","\r","\f"]);function bs(t,n=true){let s=0;let i="";const e={segment:[],inNumber:false,number:"",lastToken:"",inSegment:false,segments:[],pointSeen:false,hasExponent:false,absolute:n,p0:new Ht,p:new Ht};while(e.lastToken=i,i=t.charAt(s++)){if(!e.inSegment){if(ps(e,i)){continue}}if(i==="."){if(e.pointSeen||e.hasExponent){gs(e,false);--s;continue}e.inNumber=true;e.pointSeen=true;e.number+=i;continue}if(!isNaN(parseInt(i))){if(e.number==="0"||ys(e)){e.inNumber=true;e.number=i;gs(e,true);continue}e.inNumber=true;e.number+=i;continue}if(vs.has(i)){if(e.inNumber){gs(e,false)}continue}if(i==="-"||i==="+"){if(e.inNumber&&!xs(e)){gs(e,false);--s;continue}e.number+=i;e.inNumber=true;continue}if(i.toUpperCase()==="E"){e.number+=i;e.hasExponent=true;continue}if(Ct.test(i)){if(e.inNumber){gs(e,false)}else if(!ws(e)){throw new Error("parser Error")}else{ms(e)}--s}}if(e.inNumber){gs(e,false)}if(e.inSegment&&ws(e)){ms(e)}return e.segments}function Ms(t){let n="";for(let s=0,i=t.length;s<i;s++){n+=t[s][0];if(t[s][1]!=null){n+=t[s][1];if(t[s][2]!=null){n+=" ";n+=t[s][2];if(t[s][3]!=null){n+=" ";n+=t[s][3];n+=" ";n+=t[s][4];if(t[s][5]!=null){n+=" ";n+=t[s][5];n+=" ";n+=t[s][6];if(t[s][7]!=null){n+=" ";n+=t[s][7]}}}}}}return n+" "}class ks extends dn{bbox(){$t().path.setAttribute("d",this.toString());return new Rt($t.nodes.path.getBBox())}move(t,n){const s=this.bbox();t-=s.x;n-=s.y;if(!isNaN(t)&&!isNaN(n)){for(let s,i=this.length-1;i>=0;i--){s=this[i][0];if(s==="M"||s==="L"||s==="T"){this[i][1]+=t;this[i][2]+=n}else if(s==="H"){this[i][1]+=t}else if(s==="V"){this[i][1]+=n}else if(s==="C"||s==="S"||s==="Q"){this[i][1]+=t;this[i][2]+=n;this[i][3]+=t;this[i][4]+=n;if(s==="C"){this[i][5]+=t;this[i][6]+=n}}else if(s==="A"){this[i][6]+=t;this[i][7]+=n}}}return this}parse(t="M0 0"){if(Array.isArray(t)){t=Array.prototype.concat.apply([],t).toString()}return bs(t)}size(t,n){const s=this.bbox();let i,e;s.width=s.width===0?1:s.width;s.height=s.height===0?1:s.height;for(i=this.length-1;i>=0;i--){e=this[i][0];if(e==="M"||e==="L"||e==="T"){this[i][1]=(this[i][1]-s.x)*t/s.width+s.x;this[i][2]=(this[i][2]-s.y)*n/s.height+s.y}else if(e==="H"){this[i][1]=(this[i][1]-s.x)*t/s.width+s.x}else if(e==="V"){this[i][1]=(this[i][1]-s.y)*n/s.height+s.y}else if(e==="C"||e==="S"||e==="Q"){this[i][1]=(this[i][1]-s.x)*t/s.width+s.x;this[i][2]=(this[i][2]-s.y)*n/s.height+s.y;this[i][3]=(this[i][3]-s.x)*t/s.width+s.x;this[i][4]=(this[i][4]-s.y)*n/s.height+s.y;if(e==="C"){this[i][5]=(this[i][5]-s.x)*t/s.width+s.x;this[i][6]=(this[i][6]-s.y)*n/s.height+s.y}}else if(e==="A"){this[i][1]=this[i][1]*t/s.width;this[i][2]=this[i][2]*n/s.height;this[i][6]=(this[i][6]-s.x)*t/s.width+s.x;this[i][7]=(this[i][7]-s.y)*n/s.height+s.y}}return this}toString(){return Ms(this)}}const _s=t=>{const n=typeof t;if(n==="number"){return Cn}else if(n==="string"){if(Tt.isColor(t)){return Tt}else if(dt.test(t)){return Ct.test(t)?ks:dn}else if(st.test(t)){return Cn}else{return Os}}else if(Vs.indexOf(t.constructor)>-1){return t.constructor}else if(Array.isArray(t)){return dn}else if(n==="object"){return Es}else{return Os}};class js{constructor(t){this._stepper=t||new os("-");this._from=null;this._to=null;this._type=null;this._context=null;this._morphObj=null}at(t){return this._morphObj.morph(this._from,this._to,t,this._stepper,this._context)}done(){const t=this._context.map(this._stepper.done).reduce((function(t,n){return t&&n}),true);return t}from(t){if(t==null){return this._from}this._from=this._set(t);return this}stepper(t){if(t==null)return this._stepper;this._stepper=t;return this}to(t){if(t==null){return this._to}this._to=this._set(t);return this}type(t){if(t==null){return this._type}this._type=t;return this}_set(t){if(!this._type){this.type(_s(t))}let n=new this._type(t);if(this._type===Tt){n=this._to?n[this._to[4]]():this._from?n[this._from[4]]():n}if(this._type===Es){n=this._to?n.align(this._to):this._from?n.align(this._from):n}n=n.toConsumable();this._morphObj=this._morphObj||new this._type;this._context=this._context||Array.apply(null,Array(n.length)).map(Object).map((function(t){t.done=true;return t}));return n}}class Os{constructor(...t){this.init(...t)}init(t){t=Array.isArray(t)?t[0]:t;this.value=t;return this}toArray(){return[this.value]}valueOf(){return this.value}}class Ls{constructor(...t){this.init(...t)}init(t){if(Array.isArray(t)){t={scaleX:t[0],scaleY:t[1],shear:t[2],rotate:t[3],translateX:t[4],translateY:t[5],originX:t[6],originY:t[7]}}Object.assign(this,Ls.defaults,t);return this}toArray(){const t=this;return[t.scaleX,t.scaleY,t.shear,t.rotate,t.translateX,t.translateY,t.originX,t.originY]}}Ls.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0};const As=(t,n)=>t[0]<n[0]?-1:t[0]>n[0]?1:0;class Es{constructor(...t){this.init(...t)}align(t){const n=this.values;for(let s=0,i=n.length;s<i;++s){if(n[s+1]===t[s+1]){if(n[s+1]===Tt&&t[s+7]!==n[s+7]){const n=t[s+7];const i=new Tt(this.values.splice(s+3,5))[n]().toArray();this.values.splice(s+3,0,...i)}s+=n[s+2]+2;continue}if(!t[s+1]){return this}const i=(new t[s+1]).toArray();const e=n[s+2]+3;n.splice(s,e,t[s],t[s+1],t[s+2],...i);s+=n[s+2]+2}return this}init(t){this.values=[];if(Array.isArray(t)){this.values=t.slice();return}t=t||{};const n=[];for(const s in t){const i=_s(t[s]);const e=new i(t[s]).toArray();n.push([s,i,e.length,...e])}n.sort(As);this.values=n.reduce(((t,n)=>t.concat(n)),[]);return this}toArray(){return this.values}valueOf(){const t={};const n=this.values;while(n.length){const s=n.shift();const i=n.shift();const e=n.shift();const r=n.splice(0,e);t[s]=new i(r)}return t}}const Vs=[Os,Ls,Es];function Ss(t=[]){Vs.push(...[].concat(t))}function Bs(){N(Vs,{to(t){return(new js).type(this.constructor).from(this.toArray()).to(t)},fromArray(t){this.init(t);return this},toConsumable(){return this.toArray()},morph(t,n,s,i,e){const r=function(t,r){return i.step(t,n[r],s,e[r],e)};return this.fromArray(t.map(r))}})}class Ts extends En{constructor(t,n=t){super(T("path",t),n)}array(){return this._array||(this._array=new ks(this.attr("d")))}clear(){delete this._array;return this}height(t){return t==null?this.bbox().height:this.size(this.bbox().width,t)}move(t,n){return this.attr("d",this.array().move(t,n))}plot(t){return t==null?this.array():this.clear().attr("d",typeof t==="string"?t:this._array=new ks(t))}size(t,n){const s=m(this,t,n);return this.attr("d",this.array().size(s.width,s.height))}width(t){return t==null?this.bbox().width:this.size(t,this.bbox().height)}x(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)}y(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)}}Ts.prototype.MorphArray=ks;c({Container:{path:P((function(t){return this.put(new Ts).plot(t||new ks)}))}});z(Ts,"Path");function Hs(){return this._array||(this._array=new Qn(this.attr("points")))}function Ds(){delete this._array;return this}function zs(t,n){return this.attr("points",this.array().move(t,n))}function Is(t){return t==null?this.array():this.clear().attr("points",typeof t==="string"?t:this._array=new Qn(t))}function Zs(t,n){const s=m(this,t,n);return this.attr("points",this.array().size(s.width,s.height))}var Fs=Object.freeze({__proto__:null,array:Hs,clear:Ds,move:zs,plot:Is,size:Zs});class $s extends En{constructor(t,n=t){super(T("polygon",t),n)}}c({Container:{polygon:P((function(t){return this.put(new $s).plot(t||new Qn)}))}});N($s,ts);N($s,Fs);z($s,"Polygon");class Ns extends En{constructor(t,n=t){super(T("polyline",t),n)}}c({Container:{polyline:P((function(t){return this.put(new Ns).plot(t||new Qn)}))}});N(Ns,ts);N(Ns,Fs);z(Ns,"Polyline");class Ps extends En{constructor(t,n=t){super(T("rect",t),n)}}N(Ps,{rx:Vn,ry:Sn});c({Container:{rect:P((function(t,n){return this.put(new Ps).size(t,n)}))}});z(Ps,"Rect");class Rs{constructor(){this._first=null;this._last=null}first(){return this._first&&this._first.value}last(){return this._last&&this._last.value}push(t){const n=typeof t.next!=="undefined"?t:{value:t,next:null,prev:null};if(this._last){n.prev=this._last;this._last.next=n;this._last=n}else{this._last=n;this._first=n}return n}remove(t){if(t.prev)t.prev.next=t.next;if(t.next)t.next.prev=t.prev;if(t===this._last)this._last=t.prev;if(t===this._first)this._first=t.next;t.prev=null;t.next=null}shift(){const t=this._first;if(!t)return null;this._first=t.next;if(this._first)this._first.prev=null;this._last=this._first?this._last:null;return t.value}}const Gs={nextDraw:null,frames:new Rs,timeouts:new Rs,immediates:new Rs,timer:()=>O.window.performance||O.window.Date,transforms:[],frame(t){const n=Gs.frames.push({run:t});if(Gs.nextDraw===null){Gs.nextDraw=O.window.requestAnimationFrame(Gs._draw)}return n},timeout(t,n){n=n||0;const s=Gs.timer().now()+n;const i=Gs.timeouts.push({run:t,time:s});if(Gs.nextDraw===null){Gs.nextDraw=O.window.requestAnimationFrame(Gs._draw)}return i},immediate(t){const n=Gs.immediates.push(t);if(Gs.nextDraw===null){Gs.nextDraw=O.window.requestAnimationFrame(Gs._draw)}return n},cancelFrame(t){t!=null&&Gs.frames.remove(t)},clearTimeout(t){t!=null&&Gs.timeouts.remove(t)},cancelImmediate(t){t!=null&&Gs.immediates.remove(t)},_draw(t){let n=null;const s=Gs.timeouts.last();while(n=Gs.timeouts.shift()){if(t>=n.time){n.run()}else{Gs.timeouts.push(n)}if(n===s)break}let i=null;const e=Gs.frames.last();while(i!==e&&(i=Gs.frames.shift())){i.run(t)}let r=null;while(r=Gs.immediates.shift()){r()}Gs.nextDraw=Gs.timeouts.first()||Gs.frames.first()?O.window.requestAnimationFrame(Gs._draw):null}};const Ys=function(t){const n=t.start;const s=t.runner.duration();const i=n+s;return{start:n,duration:s,end:i,runner:t.runner}};const Xs=function(){const t=O.window;return(t.performance||t.Date).now()};class Qs extends cn{constructor(t=Xs){super();this._timeSource=t;this.terminate()}active(){return!!this._nextFrame}finish(){this.time(this.getEndTimeOfTimeline()+1);return this.pause()}getEndTime(){const t=this.getLastRunnerInfo();const n=t?t.runner.duration():0;const s=t?t.start:this._time;return s+n}getEndTimeOfTimeline(){const t=this._runners.map((t=>t.start+t.runner.duration()));return Math.max(0,...t)}getLastRunnerInfo(){return this.getRunnerInfoById(this._lastRunnerId)}getRunnerInfoById(t){return this._runners[this._runnerIds.indexOf(t)]||null}pause(){this._paused=true;return this._continue()}persist(t){if(t==null)return this._persist;this._persist=t;return this}play(){this._paused=false;return this.updateTime()._continue()}reverse(t){const n=this.speed();if(t==null)return this.speed(-n);const s=Math.abs(n);return this.speed(t?-s:s)}schedule(t,n,s){if(t==null){return this._runners.map(Ys)}let i=0;const e=this.getEndTime();n=n||0;if(s==null||s==="last"||s==="after"){i=e}else if(s==="absolute"||s==="start"){i=n;n=0}else if(s==="now"){i=this._time}else if(s==="relative"){const s=this.getRunnerInfoById(t.id);if(s){i=s.start+n;n=0}}else if(s==="with-last"){const t=this.getLastRunnerInfo();const n=t?t.start:this._time;i=n}else{throw new Error('Invalid value for the "when" parameter')}t.unschedule();t.timeline(this);const r=t.persist();const o={persist:r===null?this._persist:r,start:i+n,runner:t};this._lastRunnerId=t.id;this._runners.push(o);this._runners.sort(((t,n)=>t.start-n.start));this._runnerIds=this._runners.map((t=>t.runner.id));this.updateTime()._continue();return this}seek(t){return this.time(this._time+t)}source(t){if(t==null)return this._timeSource;this._timeSource=t;return this}speed(t){if(t==null)return this._speed;this._speed=t;return this}stop(){this.time(0);return this.pause()}time(t){if(t==null)return this._time;this._time=t;return this._continue(true)}unschedule(t){const n=this._runnerIds.indexOf(t.id);if(n<0)return this;this._runners.splice(n,1);this._runnerIds.splice(n,1);t.timeline(null);return this}updateTime(){if(!this.active()){this._lastSourceTime=this._timeSource()}return this}_continue(t=false){Gs.cancelFrame(this._nextFrame);this._nextFrame=null;if(t)return this._stepImmediate();if(this._paused)return this;this._nextFrame=Gs.frame(this._step);return this}_stepFn(t=false){const n=this._timeSource();let s=n-this._lastSourceTime;if(t)s=0;const i=this._speed*s+(this._time-this._lastStepTime);this._lastSourceTime=n;if(!t){this._time+=i;this._time=this._time<0?0:this._time}this._lastStepTime=this._time;this.fire("time",this._time);for(let t=this._runners.length;t--;){const n=this._runners[t];const s=n.runner;const i=this._time-n.start;if(i<=0){s.reset()}}let e=false;for(let t=0,n=this._runners.length;t<n;t++){const s=this._runners[t];const r=s.runner;let o=i;const h=this._time-s.start;if(h<=0){e=true;continue}else if(h<o){o=h}if(!r.active())continue;const u=r.step(o).done;if(!u){e=true}else if(s.persist!==true){const i=r.duration()-r.time()+this._time;if(i+s.persist<this._time){r.unschedule();--t;--n}}}if(e&&!(this._speed<0&&this._time===0)||this._runnerIds.length&&this._speed<0&&this._time>0){this._continue()}else{this.pause();this.fire("finished")}return this}terminate(){this._startTime=0;this._speed=1;this._persist=0;this._nextFrame=null;this._paused=true;this._runners=[];this._runnerIds=[];this._lastRunnerId=-1;this._time=0;this._lastSourceTime=0;this._lastStepTime=0;this._step=this._stepFn.bind(this,false);this._stepImmediate=this._stepFn.bind(this,true)}}c({Element:{timeline:function(t){if(t==null){this._timeline=this._timeline||new Qs;return this._timeline}else{this._timeline=t;return this}}}});class Js extends cn{constructor(t){super();this.id=Js.id++;t=t==null?fn.duration:t;t=typeof t==="function"?new hs(t):t;this._element=null;this._timeline=null;this.done=false;this._queue=[];this._duration=typeof t==="number"&&t;this._isDeclarative=t instanceof hs;this._stepper=this._isDeclarative?t:new os;this._history={};this.enabled=true;this._time=0;this._lastTime=0;this._reseted=true;this.transforms=new It;this.transformId=1;this._haveReversed=false;this._reverse=false;this._loopsDone=0;this._swing=false;this._wait=0;this._times=1;this._frameId=null;this._persist=this._isDeclarative?true:null}static sanitise(t,n,s){let i=1;let e=false;let r=0;t=t??fn.duration;n=n??fn.delay;s=s||"last";if(typeof t==="object"&&!(t instanceof rs)){n=t.delay??n;s=t.when??s;e=t.swing||e;i=t.times??i;r=t.wait??r;t=t.duration??fn.duration}return{duration:t,delay:n,swing:e,times:i,wait:r,when:s}}active(t){if(t==null)return this.enabled;this.enabled=t;return this}addTransform(t){this.transforms.lmultiplyO(t);return this}after(t){return this.on("finished",t)}animate(t,n,s){const i=Js.sanitise(t,n,s);const e=new Js(i.duration);if(this._timeline)e.timeline(this._timeline);if(this._element)e.element(this._element);return e.loop(i).schedule(i.delay,i.when)}clearTransform(){this.transforms=new It;return this}clearTransformsFromQueue(){if(!this.done||!this._timeline||!this._timeline._runnerIds.includes(this.id)){this._queue=this._queue.filter((t=>!t.isTransform))}}delay(t){return this.animate(0,t)}duration(){return this._times*(this._wait+this._duration)-this._wait}during(t){return this.queue(null,t)}ease(t){this._stepper=new os(t);return this}element(t){if(t==null)return this._element;this._element=t;t._prepareRunner();return this}finish(){return this.step(Infinity)}loop(t,n,s){if(typeof t==="object"){n=t.swing;s=t.wait;t=t.times}this._times=t||Infinity;this._swing=n||false;this._wait=s||0;if(this._times===true){this._times=Infinity}return this}loops(t){const n=this._duration+this._wait;if(t==null){const t=Math.floor(this._time/n);const s=this._time-t*n;const i=s/this._duration;return Math.min(t+i,this._times)}const s=Math.floor(t);const i=t%1;const e=n*s+this._duration*i;return this.time(e)}persist(t){if(t==null)return this._persist;this._persist=t;return this}position(t){const n=this._time;const s=this._duration;const i=this._wait;const e=this._times;const r=this._swing;const o=this._reverse;let h;if(t==null){const t=function(t){const n=r*Math.floor(t%(2*(i+s))/(i+s));const e=n&&!o||!n&&o;const h=Math.pow(-1,e)*(t%(i+s))/s+e;const u=Math.max(Math.min(h,1),0);return u};const u=e*(i+s)-i;h=n<=0?Math.round(t(1e-5)):n<u?t(n):Math.round(t(u-1e-5));return h}const u=Math.floor(this.loops());const c=r&&u%2===0;const l=c&&!o||o&&c;h=u+(l?t:1-t);return this.loops(h)}progress(t){if(t==null){return Math.min(1,this._time/this.duration())}return this.time(t*this.duration())}queue(t,n,s,i){this._queue.push({initialiser:t||ln,runner:n||ln,retarget:s,isTransform:i,initialised:false,finished:false});const e=this.timeline();e&&this.timeline()._continue();return this}reset(){if(this._reseted)return this;this.time(0);this._reseted=true;return this}reverse(t){this._reverse=t==null?!this._reverse:t;return this}schedule(t,n,s){if(!(t instanceof Qs)){s=n;n=t;t=this.timeline()}if(!t){throw Error("Runner cannot be scheduled without timeline")}t.schedule(this,n,s);return this}step(t){if(!this.enabled)return this;t=t==null?16:t;this._time+=t;const n=this.position();const s=this._lastPosition!==n&&this._time>=0;this._lastPosition=n;const i=this.duration();const e=this._lastTime<=0&&this._time>0;const r=this._lastTime<i&&this._time>=i;this._lastTime=this._time;if(e){this.fire("start",this)}const o=this._isDeclarative;this.done=!o&&!r&&this._time>=i;this._reseted=false;let h=false;if(s||o){this._initialise(s);this.transforms=new It;h=this._run(o?t:n);this.fire("step",this)}this.done=this.done||h&&o;if(r){this.fire("finished",this)}return this}time(t){if(t==null){return this._time}const n=t-this._time;this.step(n);return this}timeline(t){if(typeof t==="undefined")return this._timeline;this._timeline=t;return this}unschedule(){const t=this.timeline();t&&t.unschedule(this);return this}_initialise(t){if(!t&&!this._isDeclarative)return;for(let n=0,s=this._queue.length;n<s;++n){const s=this._queue[n];const i=this._isDeclarative||!s.initialised&&t;t=!s.finished;if(i&&t){s.initialiser.call(this);s.initialised=true}}}_rememberMorpher(t,n){this._history[t]={morpher:n,caller:this._queue[this._queue.length-1]};if(this._isDeclarative){const t=this.timeline();t&&t.play()}}_run(t){let n=true;for(let s=0,i=this._queue.length;s<i;++s){const i=this._queue[s];const e=i.runner.call(this,t);i.finished=i.finished||e===true;n=n&&i.finished}return n}_tryRetarget(t,n,s){if(this._history[t]){if(!this._history[t].caller.initialised){const n=this._queue.indexOf(this._history[t].caller);this._queue.splice(n,1);return false}if(this._history[t].caller.retarget){this._history[t].caller.retarget.call(this,n,s)}else{this._history[t].morpher.to(n)}this._history[t].caller.finished=false;const i=this.timeline();i&&i.play();return true}return false}}Js.id=0;class qs{constructor(t=new It,n=-1,s=true){this.transforms=t;this.id=n;this.done=s}clearTransformsFromQueue(){}}N([Js,qs],{mergeWith(t){return new qs(t.transforms.lmultiply(this.transforms),t.id)}});const Us=(t,n)=>t.lmultiplyO(n);const Ws=t=>t.transforms;function Ks(){const t=this._transformationRunners.runners;const n=t.map(Ws).reduce(Us,new It);this.transform(n);this._transformationRunners.merge();if(this._transformationRunners.length()===1){this._frameId=null}}class ti{constructor(){this.runners=[];this.ids=[]}add(t){if(this.runners.includes(t))return;const n=t.id+1;this.runners.push(t);this.ids.push(n);return this}clearBefore(t){const n=this.ids.indexOf(t+1)||1;this.ids.splice(0,n,0);this.runners.splice(0,n,new qs).forEach((t=>t.clearTransformsFromQueue()));return this}edit(t,n){const s=this.ids.indexOf(t+1);this.ids.splice(s,1,t+1);this.runners.splice(s,1,n);return this}getByID(t){return this.runners[this.ids.indexOf(t+1)]}length(){return this.ids.length}merge(){let t=null;for(let n=0;n<this.runners.length;++n){const s=this.runners[n];const i=t&&s.done&&t.done&&(!s._timeline||!s._timeline._runnerIds.includes(s.id))&&(!t._timeline||!t._timeline._runnerIds.includes(t.id));if(i){this.remove(s.id);const i=s.mergeWith(t);this.edit(t.id,i);t=i;--n}else{t=s}}return this}remove(t){const n=this.ids.indexOf(t+1);this.ids.splice(n,1);this.runners.splice(n,1);return this}}c({Element:{animate(t,n,s){const i=Js.sanitise(t,n,s);const e=this.timeline();return new Js(i.duration).loop(i).element(this).timeline(e.play()).schedule(i.delay,i.when)},delay(t,n){return this.animate(0,t,n)},_clearTransformRunnersBefore(t){this._transformationRunners.clearBefore(t.id)},_currentTransform(t){return this._transformationRunners.runners.filter((n=>n.id<=t.id)).map(Ws).reduce(Us,new It)},_addRunner(t){this._transformationRunners.add(t);Gs.cancelImmediate(this._frameId);this._frameId=Gs.immediate(Ks.bind(this))},_prepareRunner(){if(this._frameId==null){this._transformationRunners=(new ti).add(new qs(new It(this)))}}}});const ni=(t,n)=>t.filter((t=>!n.includes(t)));N(Js,{attr(t,n){return this.styleAttr("attr",t,n)},css(t,n){return this.styleAttr("css",t,n)},styleAttr(t,n,s){if(typeof n==="string"){return this.styleAttr(t,{[n]:s})}let i=n;if(this._tryRetarget(t,i))return this;let e=new js(this._stepper).to(i);let r=Object.keys(i);this.queue((function(){e=e.from(this.element()[t](r))}),(function(n){this.element()[t](e.at(n).valueOf());return e.done()}),(function(n){const s=Object.keys(n);const o=ni(s,r);if(o.length){const n=this.element()[t](o);const s=new Es(e.from()).valueOf();Object.assign(s,n);e.from(s)}const h=new Es(e.to()).valueOf();Object.assign(h,n);e.to(h);r=s;i=n}));this._rememberMorpher(t,e);return this},zoom(t,n){if(this._tryRetarget("zoom",t,n))return this;let s=new js(this._stepper).to(new Cn(t));this.queue((function(){s=s.from(this.element().zoom())}),(function(t){this.element().zoom(s.at(t),n);return s.done()}),(function(t,i){n=i;s.to(t)}));this._rememberMorpher("zoom",s);return this},transform(t,n,s){n=t.relative||n;if(this._isDeclarative&&!n&&this._tryRetarget("transform",t)){return this}const i=It.isMatrixLike(t);s=t.affine!=null?t.affine:s!=null?s:!i;const e=new js(this._stepper).type(s?Ls:It);let r;let o;let h;let u;let c;function l(){o=o||this.element();r=r||y(t,o);c=new It(n?undefined:o);o._addRunner(this);if(!n){o._clearTransformRunnersBefore(this)}}function f(l){if(!n)this.clearTransform();const{x:f,y:a}=new Ht(r).transform(o._currentTransform(this));let d=new It({...t,origin:[f,a]});let C=this._isDeclarative&&h?h:c;if(s){d=d.decompose(f,a);C=C.decompose(f,a);const t=d.rotate;const n=C.rotate;const s=[t-360,t,t+360];const i=s.map((t=>Math.abs(t-n)));const e=Math.min(...i);const r=i.indexOf(e);d.rotate=s[r]}if(n){if(!i){d.rotate=t.rotate||0}if(this._isDeclarative&&u){C.rotate=u}}e.from(C);e.to(d);const w=e.at(l);u=w.rotate;h=new It(w);this.addTransform(h);o._addRunner(this);return e.done()}function a(n){if((n.origin||"center").toString()!==(t.origin||"center").toString()){r=y(n,o)}t={...n,origin:r}}this.queue(l,f,a,true);this._isDeclarative&&this._rememberMorpher("transform",e);return this},x(t){return this._queueNumber("x",t)},y(t){return this._queueNumber("y",t)},ax(t){return this._queueNumber("ax",t)},ay(t){return this._queueNumber("ay",t)},dx(t=0){return this._queueNumberDelta("x",t)},dy(t=0){return this._queueNumberDelta("y",t)},dmove(t,n){return this.dx(t).dy(n)},_queueNumberDelta(t,n){n=new Cn(n);if(this._tryRetarget(t,n))return this;const s=new js(this._stepper).to(n);let i=null;this.queue((function(){i=this.element()[t]();s.from(i);s.to(i+n)}),(function(n){this.element()[t](s.at(n));return s.done()}),(function(t){s.to(i+new Cn(t))}));this._rememberMorpher(t,s);return this},_queueObject(t,n){if(this._tryRetarget(t,n))return this;const s=new js(this._stepper).to(n);this.queue((function(){s.from(this.element()[t]())}),(function(n){this.element()[t](s.at(n));return s.done()}));this._rememberMorpher(t,s);return this},_queueNumber(t,n){return this._queueObject(t,new Cn(n))},cx(t){return this._queueNumber("cx",t)},cy(t){return this._queueNumber("cy",t)},move(t,n){return this.x(t).y(n)},amove(t,n){return this.ax(t).ay(n)},center(t,n){return this.cx(t).cy(n)},size(t,n){let s;if(!t||!n){s=this._element.bbox()}if(!t){t=s.width/s.height*n}if(!n){n=s.height/s.width*t}return this.width(t).height(n)},width(t){return this._queueNumber("width",t)},height(t){return this._queueNumber("height",t)},plot(t,n,s,i){if(arguments.length===4){return this.plot([t,n,s,i])}if(this._tryRetarget("plot",t))return this;const e=new js(this._stepper).type(this._element.MorphArray).to(t);this.queue((function(){e.from(this._element.array())}),(function(t){this._element.plot(e.at(t));return e.done()}));this._rememberMorpher("plot",e);return this},leading(t){return this._queueNumber("leading",t)},viewbox(t,n,s,i){return this._queueObject("viewbox",new Rt(t,n,s,i))},update(t){if(typeof t!=="object"){return this.update({offset:arguments[0],color:arguments[1],opacity:arguments[2]})}if(t.opacity!=null)this.attr("stop-opacity",t.opacity);if(t.color!=null)this.attr("stop-color",t.color);if(t.offset!=null)this.attr("offset",t.offset);return this}});N(Js,{rx:Vn,ry:Sn,from:Nn,to:Pn});z(Js,"Runner");class si extends Ln{constructor(t,n=t){super(T("svg",t),n);this.namespace()}defs(){if(!this.isRoot())return this.root().defs();return H(this.node.querySelector("defs"))||this.put(new An)}isRoot(){return!this.node.parentNode||!(this.node.parentNode instanceof O.window.SVGElement)&&this.node.parentNode.nodeName!=="#document-fragment"}namespace(){if(!this.isRoot())return this.root().namespace();return this.attr({xmlns:M,version:"1.1"}).attr("xmlns:xlink",j,_)}removeNamespace(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,_).attr("xmlns:svgjs",null,_)}root(){if(this.isRoot())return this;return super.root()}}c({Container:{nested:P((function(){return this.put(new si)}))}});z(si,"Svg",true);class ii extends Ln{constructor(t,n=t){super(T("symbol",t),n)}}c({Container:{symbol:P((function(){return this.put(new ii)}))}});z(ii,"Symbol");function ei(t){if(this._build===false){this.clear()}this.node.appendChild(O.document.createTextNode(t));return this}function ri(){return this.node.getComputedTextLength()}function oi(t,n=this.bbox()){if(t==null){return n.x}return this.attr("x",this.attr("x")+t-n.x)}function hi(t,n=this.bbox()){if(t==null){return n.y}return this.attr("y",this.attr("y")+t-n.y)}function ui(t,n,s=this.bbox()){return this.x(t,s).y(n,s)}function ci(t,n=this.bbox()){if(t==null){return n.cx}return this.attr("x",this.attr("x")+t-n.cx)}function li(t,n=this.bbox()){if(t==null){return n.cy}return this.attr("y",this.attr("y")+t-n.cy)}function fi(t,n,s=this.bbox()){return this.cx(t,s).cy(n,s)}function ai(t){return this.attr("x",t)}function di(t){return this.attr("y",t)}function Ci(t,n){return this.ax(t).ay(n)}function wi(t){this._build=!!t;return this}var pi=Object.freeze({__proto__:null,amove:Ci,ax:ai,ay:di,build:wi,center:fi,cx:ci,cy:li,length:ri,move:ui,plain:ei,x:oi,y:hi});class gi extends En{constructor(t,n=t){super(T("text",t),n);this.dom.leading=this.dom.leading??new Cn(1.3);this._rebuild=true;this._build=false}leading(t){if(t==null){return this.dom.leading}this.dom.leading=new Cn(t);return this.rebuild()}rebuild(t){if(typeof t==="boolean"){this._rebuild=t}if(this._rebuild){const t=this;let n=0;const s=this.dom.leading;this.each((function(i){if(v(this.node))return;const e=O.window.getComputedStyle(this.node).getPropertyValue("font-size");const r=s*new Cn(e);if(this.dom.newLined){this.attr("x",t.attr("x"));if(this.text()==="\n"){n+=r}else{this.attr("dy",i?r+n:0);n=0}}}));this.fire("rebuild")}return this}setData(t){this.dom=t;this.dom.leading=new Cn(t.leading||1.3);return this}writeDataToDom(){b(this,this.dom,{leading:1.3});return this}text(t){if(t===undefined){const n=this.node.childNodes;let s=0;t="";for(let i=0,e=n.length;i<e;++i){if(n[i].nodeName==="textPath"||v(n[i])){if(i===0)s=i+1;continue}if(i!==s&&n[i].nodeType!==3&&H(n[i]).dom.newLined===true){t+="\n"}t+=n[i].textContent}return t}this.clear().build(true);if(typeof t==="function"){t.call(this,this)}else{t=(t+"").split("\n");for(let n=0,s=t.length;n<s;n++){this.newLine(t[n])}}return this.build(false).rebuild()}}N(gi,pi);c({Container:{text:P((function(t=""){return this.put(new gi).text(t)})),plain:P((function(t=""){return this.put(new gi).plain(t)}))}});z(gi,"Text");class mi extends En{constructor(t,n=t){super(T("tspan",t),n);this._build=false}dx(t){return this.attr("dx",t)}dy(t){return this.attr("dy",t)}newLine(){this.dom.newLined=true;const t=this.parent();if(!(t instanceof gi)){return this}const n=t.index(this);const s=O.window.getComputedStyle(this.node).getPropertyValue("font-size");const i=t.dom.leading*new Cn(s);return this.dy(n?i:0).attr("x",t.x())}text(t){if(t==null)return this.node.textContent+(this.dom.newLined?"\n":"");if(typeof t==="function"){this.clear().build(true);t.call(this,this);this.build(false)}else{this.plain(t)}return this}}N(mi,pi);c({Tspan:{tspan:P((function(t=""){const n=new mi;if(!this._build){this.clear()}return this.put(n).text(t)}))},Text:{newLine:function(t=""){return this.tspan(t).newLine()}}});z(mi,"Tspan");class yi extends En{constructor(t,n=t){super(T("circle",t),n)}radius(t){return this.attr("r",t)}rx(t){return this.attr("r",t)}ry(t){return this.rx(t)}size(t){return this.radius(new Cn(t).divide(2))}}N(yi,{x:Bn,y:Tn,cx:Hn,cy:Dn,width:zn,height:In});c({Container:{circle:P((function(t=0){return this.put(new yi).size(t).move(0,0)}))}});z(yi,"Circle");class xi extends Ln{constructor(t,n=t){super(T("clipPath",t),n)}remove(){this.targets().forEach((function(t){t.unclip()}));return super.remove()}targets(){return Ut("svg [clip-path*="+this.id()+"]")}}c({Container:{clip:P((function(){return this.defs().put(new xi)}))},Element:{clipper(){return this.reference("clip-path")},clipWith(t){const n=t instanceof xi?t:this.parent().clip().add(t);return this.attr("clip-path","url(#"+n.id()+")")},unclip(){return this.attr("clip-path",null)}}});z(xi,"ClipPath");class vi extends xn{constructor(t,n=t){super(T("foreignObject",t),n)}}c({Container:{foreignObject:P((function(t,n){return this.put(new vi).size(t,n)}))}});z(vi,"ForeignObject");function bi(t,n){this.children().forEach((s=>{let i;try{i=s.node instanceof L().SVGSVGElement?new Rt(s.attr(["x","y","width","height"])):s.bbox()}catch(t){return}const e=new It(s);const r=e.translate(t,n).transform(e.inverse());const o=new Ht(i.x,i.y).transform(r);s.move(o.x,o.y)}));return this}function Mi(t){return this.dmove(t,0)}function ki(t){return this.dmove(0,t)}function _i(t,n=this.bbox()){if(t==null)return n.height;return this.size(n.width,t,n)}function ji(t=0,n=0,s=this.bbox()){const i=t-s.x;const e=n-s.y;return this.dmove(i,e)}function Oi(t,n,s=this.bbox()){const i=m(this,t,n,s);const e=i.width/s.width;const r=i.height/s.height;this.children().forEach((t=>{const n=new Ht(s).transform(new It(t).inverse());t.scale(e,r,n.x,n.y)}));return this}function Li(t,n=this.bbox()){if(t==null)return n.width;return this.size(t,n.height,n)}function Ai(t,n=this.bbox()){if(t==null)return n.x;return this.move(t,n.y,n)}function Ei(t,n=this.bbox()){if(t==null)return n.y;return this.move(n.x,t,n)}var Vi=Object.freeze({__proto__:null,dmove:bi,dx:Mi,dy:ki,height:_i,move:ji,size:Oi,width:Li,x:Ai,y:Ei});class Si extends Ln{constructor(t,n=t){super(T("g",t),n)}}N(Si,Vi);c({Container:{group:P((function(){return this.put(new Si)}))}});z(Si,"G");class Bi extends Ln{constructor(t,n=t){super(T("a",t),n)}target(t){return this.attr("target",t)}to(t){return this.attr("href",t,j)}}N(Bi,Vi);c({Container:{link:P((function(t){return this.put(new Bi).to(t)}))},Element:{unlink(){const t=this.linker();if(!t)return this;const n=t.parent();if(!n){return this.remove()}const s=n.index(t);n.add(this,s);t.remove();return this},linkTo(t){let n=this.linker();if(!n){n=new Bi;this.wrap(n)}if(typeof t==="function"){t.call(n,n)}else{n.to(t)}return this},linker(){const t=this.parent();if(t&&t.node.nodeName.toLowerCase()==="a"){return t}return null}}});z(Bi,"A");class Ti extends Ln{constructor(t,n=t){super(T("mask",t),n)}remove(){this.targets().forEach((function(t){t.unmask()}));return super.remove()}targets(){return Ut("svg [mask*="+this.id()+"]")}}c({Container:{mask:P((function(){return this.defs().put(new Ti)}))},Element:{masker(){return this.reference("mask")},maskWith(t){const n=t instanceof Ti?t:this.parent().mask().add(t);return this.attr("mask","url(#"+n.id()+")")},unmask(){return this.attr("mask",null)}}});z(Ti,"Mask");class Hi extends xn{constructor(t,n=t){super(T("stop",t),n)}update(t){if(typeof t==="number"||t instanceof Cn){t={offset:arguments[0],color:arguments[1],opacity:arguments[2]}}if(t.opacity!=null)this.attr("stop-opacity",t.opacity);if(t.color!=null)this.attr("stop-color",t.color);if(t.offset!=null)this.attr("offset",new Cn(t.offset));return this}}c({Gradient:{stop:function(t,n,s){return this.put(new Hi).update(t,n,s)}}});z(Hi,"Stop");function Di(t,n){if(!t)return"";if(!n)return t;let s=t+"{";for(const t in n){s+=p(t)+":"+n[t]+";"}s+="}";return s}class zi extends xn{constructor(t,n=t){super(T("style",t),n)}addText(t=""){this.node.textContent+=t;return this}font(t,n,s={}){return this.rule("@font-face",{fontFamily:t,src:n,...s})}rule(t,n){return this.addText(Di(t,n))}}c("Dom",{style(t,n){return this.put(new zi).rule(t,n)},fontface(t,n,s){return this.put(new zi).font(t,n,s)}});z(zi,"Style");class Ii extends gi{constructor(t,n=t){super(T("textPath",t),n)}array(){const t=this.track();return t?t.array():null}plot(t){const n=this.track();let s=null;if(n){s=n.plot(t)}return t==null?s:this}track(){return this.reference("href")}}c({Container:{textPath:P((function(t,n){if(!(t instanceof gi)){t=this.text(t)}return t.path(n)}))},Text:{path:P((function(t,n=true){const s=new Ii;if(!(t instanceof Ts)){t=this.defs().path(t)}s.attr("href","#"+t,j);let i;if(n){while(i=this.node.firstChild){s.node.appendChild(i)}}return this.put(s)})),textPath(){return this.findOne("textPath")}},Path:{text:P((function(t){if(!(t instanceof gi)){t=(new gi).addTo(this.parent()).text(t)}return t.path(this)})),targets(){return Ut("svg textPath").filter((t=>(t.attr("href")||"").includes(this.id())))}}});Ii.prototype.MorphArray=ks;z(Ii,"TextPath");class Zi extends En{constructor(t,n=t){super(T("use",t),n)}use(t,n){return this.attr("href",(n||"")+"#"+t,j)}}c({Container:{use:P((function(t,n){return this.put(new Zi).use(t,n)}))}});z(Zi,"Use");const Fi=B;N([si,ii,Xn,Yn,ss],l("viewbox"));N([ns,Ns,$s,Ts],l("marker"));N(gi,l("Text"));N(Ts,l("Path"));N(An,l("Defs"));N([gi,mi],l("Tspan"));N([Ps,Fn,Gn,Js],l("radius"));N(cn,l("EventTarget"));N(yn,l("Dom"));N(xn,l("Element"));N(En,l("Shape"));N([Ln,$n],l("Container"));N(Gn,l("Gradient"));N(Js,l("Runner"));Jt.extend(f());Ss([Cn,Tt,Rt,It,dn,Qn,ks,Ht]);Bs();function $i(){let t={entities:[]};let n;let s=[];function i(t,s,i){n=Fi().addTo(t).size(s,i);n.entities=[];n.lines=n.group();n.labels=n.group()}function e(t,n){const s=t.group().attr({id:n.id});t.entities.push(s);n.background_color=n.background_color?n.background_color:"#f06";n.color=n.color?n.color:"#ffffff";n.radius=n.radius?n.radius:0;s.entity=s.rect(n.width,n.height).cx(n.width/2).cy(n.height/2).attr({fill:"#ffffff",stroke:n.color,["stroke-width"]:2}).radius(n.radius);if(n.class){s.entity.attr("class",n.class)}s.plain(n.text).cx(14).cy(n.height/2+6).attr({fill:n.color});s.move(n.x,n.y)}function r(){if(t.labels&&t.labels.length>0){t.labels.forEach((t=>{n.labels.text(t.value).x(t.x).y(t.y)}))}}function o(t,n){n.forEach((n=>h(t,n)))}function h(t,n){let s="";const i=n.color||"#4c56cb";const e=t.findOne("#"+n.from.element);const r=t.findOne("#"+n.to.element);const o=u(n,e,r);s+=l(e,n.from.point)+","+f(e,n.from.point)+" ";o.forEach((t=>s+=t.x+","+t.y+" "));if(n.to.point==="top"){s+=l(r,n.to.point)+","+f(r,n.to.point)+" "}else if(n.to.point==="bottom"){s+=l(r,n.to.point)+","+f(r,n.to.point)+" "}else{s+=l(r,n.to.point)+","+f(r,n.to.point)+" "}if(!n.polyline){n.polyline=t.lines.polyline(s).fill("none").stroke({color:i,width:2,linecap:"round",linejoin:"round"}).attr("id",n.id)}else{n.polyline.plot(s)}}function u(t,n,s){const i=[];const e=f(n,t.from.point);const r=f(s,t.to.point);const o=l(n,t.from.point);const h=l(s,t.to.point);const u=c(t.from.point);const a=c(t.to.point);const d=u-a;if(d===0){if(t.from.point==="top"){if(e<=r){i.push({x:o,y:e-20});i.push({x:h,y:e-20})}else{i.push({x:o,y:r-20});i.push({x:h,y:r-20})}}else if(t.from.point==="bottom"){if(e<=r){i.push({x:o,y:r+20});i.push({x:h,y:r+20})}else{i.push({x:o,y:e+20});i.push({x:h,y:e+20})}}else{if(o<=h){i.push({x:h+20,y:e});i.push({x:h+20,y:r})}else{i.push({x:o+20,y:e});i.push({x:o+20,y:r})}}}if(d===2||d===-2){if(o!==h){i.push({x:o,y:r+(e-r)/2});i.push({x:h,y:r+(e-r)/2})}}if(d===1||d===-1||d===3||d===-3){if(t.from.point==="top"){if(e<r+20){i.push({x:o,y:e-20});i.push({x:h+20,y:e-20});i.push({x:h+20,y:r})}else{i.push({x:o,y:r})}}if(t.from.point==="bottom"){if(e>r-20){i.push({x:o,y:e+20});i.push({x:h+20,y:e+20});i.push({x:h+20,y:r})}else{i.push({x:o,y:r})}}}return i}function c(t){switch(t){case"top":return 0;case"bottom":return 2;default:return 3}}function l(t,n){const s=t.entity.attr("width");const i=t.entity.attr("x");switch(n){case"top":case"bottom":return i+s/2;default:return i-s/2}}function f(t,n){const s=t.entity.attr("height");const i=t.entity.attr("y");switch(n){case"top":return i;case"bottom":return i+s;default:return i}}function a(){n.entities.forEach((t=>t.remove()));n.entities=[];s=[];if(!t.labels){t.labels=[]}t.labels=t.labels.map((t=>({id:t.id,value:t.value?t.value:"",x:t.x?t.x:0,y:t.y?t.y:0,color:t.color?t.color:"black"})));t.entities.map((t=>{t.type=t.type?t.type:"entity";if(t.type==="operation"){t.height=t.width}}));r();t.entities.forEach((t=>e(n,t)));s=t.lines;o(n,s)}function d(n){t=n;a()}return{initalize:i,update:d}}const Ni=()=>`verdocs-status-indicator{display:-ms-flexbox;display:flex;font-size:18px;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-radius:6px;color:#33364b;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;font-family:"Inter", "Barlow", sans-serif}verdocs-status-indicator.has-document:hover{cursor:pointer;background:rgba(0, 0, 0, 0.1)}verdocs-status-indicator .icon{width:25px;height:25px;margin:0 10px 0 0}verdocs-status-indicator.dark{color:#ffffff}verdocs-status-indicator.small{font-size:16px}verdocs-status-indicator.small .icon{width:20px;height:20px;margin:0 8px 0 0}verdocs-status-indicator .content{white-space:nowrap}verdocs-status-indicator .detail-panel{display:none;background:#ffffff;border:1px solid #1e2031;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;border-radius:10px;font-weight:500}verdocs-status-indicator .detail-panel h1{font-size:44px;color:#092c4c}verdocs-status-indicator .detail-panel[data-show]{display:-ms-flexbox;display:flex}`;const Pi=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/><path d="M11.728 15.968C11.7067 15.9893 11.7013 16.0107 11.712 16.032C11.7227 16.0533 11.744 16.064 11.776 16.064H16.112C16.1653 16.064 16.208 16.0853 16.24 16.128C16.2827 16.16 16.304 16.2027 16.304 16.256V17.808C16.304 17.8613 16.2827 17.9093 16.24 17.952C16.208 17.984 16.1653 18 16.112 18H8.912C8.85867 18 8.81067 17.984 8.768 17.952C8.736 17.9093 8.72 17.8613 8.72 17.808V16.336C8.72 16.24 8.752 16.16 8.816 16.096C9.33867 15.584 9.872 15.0293 10.416 14.432C10.96 13.824 11.3013 13.4453 11.44 13.296C11.7387 12.944 12.0427 12.608 12.352 12.288C13.3227 11.2107 13.808 10.4107 13.808 9.888C13.808 9.51467 13.6747 9.21067 13.408 8.976C13.1413 8.73067 12.7947 8.608 12.368 8.608C11.9413 8.608 11.5947 8.73067 11.328 8.976C11.0613 9.21067 10.928 9.52533 10.928 9.92V10.32C10.928 10.3733 10.9067 10.4213 10.864 10.464C10.832 10.496 10.7893 10.512 10.736 10.512H8.848C8.79467 10.512 8.74667 10.496 8.704 10.464C8.672 10.4213 8.656 10.3733 8.656 10.32V9.568C8.688 8.992 8.86933 8.48533 9.2 8.048C9.53067 7.6 9.968 7.25867 10.512 7.024C11.0667 6.78933 11.6853 6.672 12.368 6.672C13.1253 6.672 13.7813 6.816 14.336 7.104C14.9013 7.38133 15.3333 7.76 15.632 8.24C15.9413 8.72 16.096 9.25333 16.096 9.84C16.096 10.288 15.984 10.7467 15.76 11.216C15.536 11.6853 15.2 12.192 14.752 12.736C14.4213 13.152 14.064 13.5627 13.68 13.968C13.296 14.3733 12.7253 14.96 11.968 15.728L11.728 15.968Z" fill="white"/></svg>`;const Ri=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/><path d="M11.728 15.968C11.7067 15.9893 11.7013 16.0107 11.712 16.032C11.7227 16.0533 11.744 16.064 11.776 16.064H16.112C16.1653 16.064 16.208 16.0853 16.24 16.128C16.2827 16.16 16.304 16.2027 16.304 16.256V17.808C16.304 17.8613 16.2827 17.9093 16.24 17.952C16.208 17.984 16.1653 18 16.112 18H8.912C8.85867 18 8.81067 17.984 8.768 17.952C8.736 17.9093 8.72 17.8613 8.72 17.808V16.336C8.72 16.24 8.752 16.16 8.816 16.096C9.33867 15.584 9.872 15.0293 10.416 14.432C10.96 13.824 11.3013 13.4453 11.44 13.296C11.7387 12.944 12.0427 12.608 12.352 12.288C13.3227 11.2107 13.808 10.4107 13.808 9.888C13.808 9.51467 13.6747 9.21067 13.408 8.976C13.1413 8.73067 12.7947 8.608 12.368 8.608C11.9413 8.608 11.5947 8.73067 11.328 8.976C11.0613 9.21067 10.928 9.52533 10.928 9.92V10.32C10.928 10.3733 10.9067 10.4213 10.864 10.464C10.832 10.496 10.7893 10.512 10.736 10.512H8.848C8.79467 10.512 8.74667 10.496 8.704 10.464C8.672 10.4213 8.656 10.3733 8.656 10.32V9.568C8.688 8.992 8.86933 8.48533 9.2 8.048C9.53067 7.6 9.968 7.25867 10.512 7.024C11.0667 6.78933 11.6853 6.672 12.368 6.672C13.1253 6.672 13.7813 6.816 14.336 7.104C14.9013 7.38133 15.3333 7.76 15.632 8.24C15.9413 8.72 16.096 9.25333 16.096 9.84C16.096 10.288 15.984 10.7467 15.76 11.216C15.536 11.6853 15.2 12.192 14.752 12.736C14.4213 13.152 14.064 13.5627 13.68 13.968C13.296 14.3733 12.7253 14.96 11.968 15.728L11.728 15.968Z" fill="#654DCB"/></svg>`;const Gi=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 24C15.1826 24 18.2348 22.7357 20.4853 20.4853C22.7357 18.2348 24 15.1826 24 12C24 8.8174 22.7357 5.76516 20.4853 3.51472C18.2348 1.26428 15.1826 0 12 0C8.8174 0 5.76516 1.26428 3.51472 3.51472C1.26428 5.76516 0 8.8174 0 12C0 15.1826 1.26428 18.2348 3.51472 20.4853C5.76516 22.7357 8.8174 24 12 24V24ZM9 7.5C8.60218 7.5 8.22064 7.65804 7.93934 7.93934C7.65804 8.22064 7.5 8.60218 7.5 9V15C7.5 15.3978 7.65804 15.7794 7.93934 16.0607C8.22064 16.342 8.60218 16.5 9 16.5H15C15.3978 16.5 15.7794 16.342 16.0607 16.0607C16.342 15.7794 16.5 15.3978 16.5 15V9C16.5 8.60218 16.342 8.22064 16.0607 7.93934C15.7794 7.65804 15.3978 7.5 15 7.5H9Z" fill="#9095B3"/></svg>`;const Yi=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 24C15.1826 24 18.2348 22.7357 20.4853 20.4853C22.7357 18.2348 24 15.1826 24 12C24 8.8174 22.7357 5.76516 20.4853 3.51472C18.2348 1.26428 15.1826 0 12 0C8.8174 0 5.76516 1.26428 3.51472 3.51472C1.26428 5.76516 0 8.8174 0 12C0 15.1826 1.26428 18.2348 3.51472 20.4853C5.76516 22.7357 8.8174 24 12 24V24ZM9 7.5C8.60218 7.5 8.22064 7.65804 7.93934 7.93934C7.65804 8.22064 7.5 8.60218 7.5 9V15C7.5 15.3978 7.65804 15.7794 7.93934 16.0607C8.22064 16.342 8.60218 16.5 9 16.5H15C15.3978 16.5 15.7794 16.342 16.0607 16.0607C16.342 15.7794 16.5 15.3978 16.5 15V9C16.5 8.60218 16.342 8.22064 16.0607 7.93934C15.7794 7.65804 15.3978 7.5 15 7.5H9Z" fill="#9095B3"/></svg>`;const Xi=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#63C58E"/></svg>`;const Qi=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#50BE80"/></svg>`;const Ji=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M24 12C24 15.1826 22.7357 18.2348 20.4853 20.4853C18.2348 22.7357 15.1826 24 12 24C8.8174 24 5.76516 22.7357 3.51472 20.4853C1.26428 18.2348 0 15.1826 0 12C0 8.8174 1.26428 5.76516 3.51472 3.51472C5.76516 1.26428 8.8174 0 12 0C15.1826 0 18.2348 1.26428 20.4853 3.51472C22.7357 5.76516 24 8.8174 24 12V12ZM13.5 18C13.5 18.3978 13.342 18.7794 13.0607 19.0607C12.7794 19.342 12.3978 19.5 12 19.5C11.6022 19.5 11.2206 19.342 10.9393 19.0607C10.658 18.7794 10.5 18.3978 10.5 18C10.5 17.6022 10.658 17.2206 10.9393 16.9393C11.2206 16.658 11.6022 16.5 12 16.5C12.3978 16.5 12.7794 16.658 13.0607 16.9393C13.342 17.2206 13.5 17.6022 13.5 18V18ZM12 4.5C11.6022 4.5 11.2206 4.65804 10.9393 4.93934C10.658 5.22064 10.5 5.60218 10.5 6V12C10.5 12.3978 10.658 12.7794 10.9393 13.0607C11.2206 13.342 11.6022 13.5 12 13.5C12.3978 13.5 12.7794 13.342 13.0607 13.0607C13.342 12.7794 13.5 12.3978 13.5 12V6C13.5 5.60218 13.342 5.22064 13.0607 4.93934C12.7794 4.65804 12.3978 4.5 12 4.5Z" fill="#F95353"/></svg>`;const qi=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M24 12C24 15.1826 22.7357 18.2348 20.4853 20.4853C18.2348 22.7357 15.1826 24 12 24C8.8174 24 5.76516 22.7357 3.51472 20.4853C1.26428 18.2348 0 15.1826 0 12C0 8.8174 1.26428 5.76516 3.51472 3.51472C5.76516 1.26428 8.8174 0 12 0C15.1826 0 18.2348 1.26428 20.4853 3.51472C22.7357 5.76516 24 8.8174 24 12V12ZM13.5 18C13.5 18.3978 13.342 18.7794 13.0607 19.0607C12.7794 19.342 12.3978 19.5 12 19.5C11.6022 19.5 11.2206 19.342 10.9393 19.0607C10.658 18.7794 10.5 18.3978 10.5 18C10.5 17.6022 10.658 17.2206 10.9393 16.9393C11.2206 16.658 11.6022 16.5 12 16.5C12.3978 16.5 12.7794 16.658 13.0607 16.9393C13.342 17.2206 13.5 17.6022 13.5 18V18ZM12 4.5C11.6022 4.5 11.2206 4.65804 10.9393 4.93934C10.658 5.22064 10.5 5.60218 10.5 6V12C10.5 12.3978 10.658 12.7794 10.9393 13.0607C11.2206 13.342 11.6022 13.5 12 13.5C12.3978 13.5 12.7794 13.342 13.0607 13.0607C13.342 12.7794 13.5 12.3978 13.5 12V6C13.5 5.60218 13.342 5.22064 13.0607 4.93934C12.7794 4.65804 12.3978 4.5 12 4.5Z" fill="#FF0000"/></svg>`;const Ui=`<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.7917 9.625L18.6667 13.5M18.6667 13.5L14.7917 17.375M18.6667 13.5H8.33333M25.125 13.5C25.125 15.0266 24.8243 16.5383 24.2401 17.9487C23.6559 19.3591 22.7996 20.6406 21.7201 21.7201C20.6406 22.7996 19.3591 23.6559 17.9487 24.2401C16.5383 24.8243 15.0266 25.125 13.5 25.125C11.9734 25.125 10.4617 24.8243 9.0513 24.2401C7.64089 23.6559 6.35936 22.7996 5.27988 21.7201C4.2004 20.6406 3.34411 19.3591 2.7599 17.9487C2.17569 16.5383 1.875 15.0266 1.875 13.5C1.875 10.4169 3.09977 7.45999 5.27988 5.27988C7.45999 3.09977 10.4169 1.875 13.5 1.875C16.5831 1.875 19.54 3.09977 21.7201 5.27988C23.9002 7.45999 25.125 10.4169 25.125 13.5Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`;const Wi=`<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.7917 9.625L18.6667 13.5M18.6667 13.5L14.7917 17.375M18.6667 13.5H8.33333M25.125 13.5C25.125 15.0266 24.8243 16.5383 24.2401 17.9487C23.6559 19.3591 22.7996 20.6406 21.7201 21.7201C20.6406 22.7996 19.3591 23.6559 17.9487 24.2401C16.5383 24.8243 15.0266 25.125 13.5 25.125C11.9734 25.125 10.4617 24.8243 9.0513 24.2401C7.64089 23.6559 6.35936 22.7996 5.27988 21.7201C4.2004 20.6406 3.34411 19.3591 2.7599 17.9487C2.17569 16.5383 1.875 15.0266 1.875 13.5C1.875 10.4169 3.09977 7.45999 5.27988 5.27988C7.45999 3.09977 10.4169 1.875 13.5 1.875C16.5831 1.875 19.54 3.09977 21.7201 5.27988C23.9002 7.45999 25.125 10.4169 25.125 13.5Z" stroke="#654DCB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`;const Ki=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/><path d="M11.4 6.848C11.4533 6.816 11.5333 6.8 11.64 6.8H13.576C13.6293 6.8 13.672 6.82133 13.704 6.864C13.7467 6.896 13.768 6.93867 13.768 6.992V17.808C13.768 17.8613 13.7467 17.9093 13.704 17.952C13.672 17.984 13.6293 18 13.576 18H11.704C11.6507 18 11.6027 17.984 11.56 17.952C11.528 17.9093 11.512 17.8613 11.512 17.808V9.04C11.512 9.01867 11.5013 8.99733 11.48 8.976C11.4587 8.95467 11.4373 8.94933 11.416 8.96L9.832 9.392L9.768 9.408C9.672 9.408 9.624 9.34933 9.624 9.232L9.576 7.856C9.576 7.74933 9.624 7.67467 9.72 7.632L11.4 6.848Z" fill="white"/></svg>`;const te=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/><path d="M11.4 6.848C11.4533 6.816 11.5333 6.8 11.64 6.8H13.576C13.6293 6.8 13.672 6.82133 13.704 6.864C13.7467 6.896 13.768 6.93867 13.768 6.992V17.808C13.768 17.8613 13.7467 17.9093 13.704 17.952C13.672 17.984 13.6293 18 13.576 18H11.704C11.6507 18 11.6027 17.984 11.56 17.952C11.528 17.9093 11.512 17.8613 11.512 17.808V9.04C11.512 9.01867 11.5013 8.99733 11.48 8.976C11.4587 8.95467 11.4373 8.94933 11.416 8.96L9.832 9.392L9.768 9.408C9.672 9.408 9.624 9.34933 9.624 9.232L9.576 7.856C9.576 7.74933 9.624 7.67467 9.72 7.632L11.4 6.848Z" fill="#654DCB"/></svg>`;const ne=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.33333 12H7.345M12 12H12.0117M16.6667 12H16.6783M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.70791 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 9.21523 2.60625 6.54451 4.57538 4.57538C6.54451 2.60625 9.21523 1.5 12 1.5C14.7848 1.5 17.4555 2.60625 19.4246 4.57538C21.3938 6.54451 22.5 9.21523 22.5 12Z" stroke="#cccccc" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`;const se=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.33333 12H7.345M12 12H12.0117M16.6667 12H16.6783M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.70791 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 9.21523 2.60625 6.54451 4.57538 4.57538C6.54451 2.60625 9.21523 1.5 12 1.5C14.7848 1.5 17.4555 2.60625 19.4246 4.57538C21.3938 6.54451 22.5 9.21523 22.5 12Z" stroke="#999999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`;const ie=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/><path d="M15.632 12.656C15.8453 13.1467 15.952 13.712 15.952 14.352C15.952 14.928 15.856 15.4613 15.664 15.952C15.408 16.6347 14.976 17.168 14.368 17.552C13.7707 17.936 13.0613 18.128 12.24 18.128C11.4293 18.128 10.7147 17.9253 10.096 17.52C9.488 17.1147 9.05067 16.5653 8.784 15.872C8.63467 15.456 8.54933 15.008 8.528 14.528C8.528 14.4 8.592 14.336 8.72 14.336H10.608C10.736 14.336 10.8 14.4 10.8 14.528C10.8427 14.88 10.9013 15.1413 10.976 15.312C11.072 15.5893 11.2267 15.808 11.44 15.968C11.664 16.1173 11.9253 16.192 12.224 16.192C12.8213 16.192 13.232 15.9307 13.456 15.408C13.6053 15.088 13.68 14.7147 13.68 14.288C13.68 13.7867 13.6 13.376 13.44 13.056C13.1947 12.5547 12.784 12.304 12.208 12.304C12.0907 12.304 11.968 12.3413 11.84 12.416C11.712 12.48 11.5573 12.576 11.376 12.704C11.3333 12.736 11.2907 12.752 11.248 12.752C11.184 12.752 11.136 12.72 11.104 12.656L10.16 11.328C10.1387 11.296 10.128 11.2587 10.128 11.216C10.128 11.152 10.1493 11.0987 10.192 11.056L12.736 8.832C12.7573 8.81067 12.7627 8.78933 12.752 8.768C12.752 8.74667 12.736 8.736 12.704 8.736H8.944C8.89067 8.736 8.84267 8.72 8.8 8.688C8.768 8.64533 8.752 8.59733 8.752 8.544V6.992C8.752 6.93867 8.768 6.896 8.8 6.864C8.84267 6.82133 8.89067 6.8 8.944 6.8H15.616C15.6693 6.8 15.712 6.82133 15.744 6.864C15.7867 6.896 15.808 6.93867 15.808 6.992V8.752C15.808 8.83733 15.7707 8.91733 15.696 8.992L13.6 10.912C13.5787 10.9333 13.568 10.9547 13.568 10.976C13.5787 10.9973 13.6053 11.008 13.648 11.008C14.576 11.1893 15.2373 11.7387 15.632 12.656Z" fill="white"/></svg>`;const ee=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/><path d="M15.632 12.656C15.8453 13.1467 15.952 13.712 15.952 14.352C15.952 14.928 15.856 15.4613 15.664 15.952C15.408 16.6347 14.976 17.168 14.368 17.552C13.7707 17.936 13.0613 18.128 12.24 18.128C11.4293 18.128 10.7147 17.9253 10.096 17.52C9.488 17.1147 9.05067 16.5653 8.784 15.872C8.63467 15.456 8.54933 15.008 8.528 14.528C8.528 14.4 8.592 14.336 8.72 14.336H10.608C10.736 14.336 10.8 14.4 10.8 14.528C10.8427 14.88 10.9013 15.1413 10.976 15.312C11.072 15.5893 11.2267 15.808 11.44 15.968C11.664 16.1173 11.9253 16.192 12.224 16.192C12.8213 16.192 13.232 15.9307 13.456 15.408C13.6053 15.088 13.68 14.7147 13.68 14.288C13.68 13.7867 13.6 13.376 13.44 13.056C13.1947 12.5547 12.784 12.304 12.208 12.304C12.0907 12.304 11.968 12.3413 11.84 12.416C11.712 12.48 11.5573 12.576 11.376 12.704C11.3333 12.736 11.2907 12.752 11.248 12.752C11.184 12.752 11.136 12.72 11.104 12.656L10.16 11.328C10.1387 11.296 10.128 11.2587 10.128 11.216C10.128 11.152 10.1493 11.0987 10.192 11.056L12.736 8.832C12.7573 8.81067 12.7627 8.78933 12.752 8.768C12.752 8.74667 12.736 8.736 12.704 8.736H8.944C8.89067 8.736 8.84267 8.72 8.8 8.688C8.768 8.64533 8.752 8.59733 8.752 8.544V6.992C8.752 6.93867 8.768 6.896 8.8 6.864C8.84267 6.82133 8.89067 6.8 8.944 6.8H15.616C15.6693 6.8 15.712 6.82133 15.744 6.864C15.7867 6.896 15.808 6.93867 15.808 6.992V8.752C15.808 8.83733 15.7707 8.91733 15.696 8.992L13.6 10.912C13.5787 10.9333 13.568 10.9547 13.568 10.976C13.5787 10.9973 13.6053 11.008 13.648 11.008C14.576 11.1893 15.2373 11.7387 15.632 12.656Z" fill="#654DCB"/></svg>`;const re=`<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.62395 13.5009L12.2073 16.0842L17.374 10.9176M8.11916 4.06786C9.04568 3.99392 9.92527 3.6296 10.6327 3.02678C11.4322 2.34513 12.4484 1.9707 13.499 1.9707C14.5495 1.9707 15.5657 2.34513 16.3652 3.02678C17.0726 3.6296 17.9522 3.99392 18.8787 4.06786C19.926 4.15118 20.9092 4.60497 21.6521 5.34781C22.3949 6.09064 22.8487 7.07389 22.932 8.12111C23.0059 9.04764 23.3703 9.92723 23.9731 10.6347C24.6547 11.4341 25.0292 12.4503 25.0292 13.5009C25.0292 14.5515 24.6547 15.5677 23.9731 16.3671C23.3703 17.0746 23.0059 17.9542 22.932 18.8807C22.8487 19.9279 22.3949 20.9112 21.6521 21.654C20.9092 22.3968 19.926 22.8506 18.8787 22.9339C17.9522 23.0079 17.0726 23.3722 16.3652 23.975C15.5657 24.6567 14.5495 25.0311 13.499 25.0311C12.4484 25.0311 11.4322 24.6567 10.6327 23.975C9.92527 23.3722 9.04568 23.0079 8.11916 22.9339C7.07194 22.8506 6.08869 22.3968 5.34585 21.654C4.60302 20.9112 4.14923 19.9279 4.06591 18.8807C3.99196 17.9542 3.62765 17.0746 3.02483 16.3671C2.34318 15.5677 1.96875 14.5515 1.96875 13.5009C1.96875 12.4503 2.34318 11.4341 3.02483 10.6347C3.62765 9.92723 3.99196 9.04764 4.06591 8.12111C4.14923 7.07389 4.60302 6.09064 5.34585 5.34781C6.08869 4.60497 7.07194 4.15118 8.11916 4.06786V4.06786Z" stroke="#63C58E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`;const oe=`<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.62395 13.5009L12.2073 16.0842L17.374 10.9176M8.11916 4.06786C9.04568 3.99392 9.92527 3.6296 10.6327 3.02678C11.4322 2.34513 12.4484 1.9707 13.499 1.9707C14.5495 1.9707 15.5657 2.34513 16.3652 3.02678C17.0726 3.6296 17.9522 3.99392 18.8787 4.06786C19.926 4.15118 20.9092 4.60497 21.6521 5.34781C22.3949 6.09064 22.8487 7.07389 22.932 8.12111C23.0059 9.04764 23.3703 9.92723 23.9731 10.6347C24.6547 11.4341 25.0292 12.4503 25.0292 13.5009C25.0292 14.5515 24.6547 15.5677 23.9731 16.3671C23.3703 17.0746 23.0059 17.9542 22.932 18.8807C22.8487 19.9279 22.3949 20.9112 21.6521 21.654C20.9092 22.3968 19.926 22.8506 18.8787 22.9339C17.9522 23.0079 17.0726 23.3722 16.3652 23.975C15.5657 24.6567 14.5495 25.0311 13.499 25.0311C12.4484 25.0311 11.4322 24.6567 10.6327 23.975C9.92527 23.3722 9.04568 23.0079 8.11916 22.9339C7.07194 22.8506 6.08869 22.3968 5.34585 21.654C4.60302 20.9112 4.14923 19.9279 4.06591 18.8807C3.99196 17.9542 3.62765 17.0746 3.02483 16.3671C2.34318 15.5677 1.96875 14.5515 1.96875 13.5009C1.96875 12.4503 2.34318 11.4341 3.02483 10.6347C3.62765 9.92723 3.99196 9.04764 4.06591 8.12111C4.14923 7.07389 4.60302 6.09064 5.34585 5.34781C6.08869 4.60497 7.07194 4.15118 8.11916 4.06786V4.06786Z" stroke="#654DCB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`;const he=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#63C58E"/></svg>`;const ue=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#50BE80"/></svg>`;const ce=140;const le=40;const fe=40;const ae=t(class t extends n{constructor(t){super();if(t!==false){this.__registerHost()}this.size="normal";this.theme="light";this.containerId=`verdocs-status-indicator-${Math.random().toString(36).substring(2,11)}`;this.recipientStatusIcons=[]}componentDidLoad(){var t;this.popper=o(this.summaryComponent,this.detailPanel,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[0,10]}}]});if((t=this.envelope)===null||t===void 0?void 0:t.recipients){const t=[];this.envelope.recipients.forEach((n=>{const s=n.sequence-1;t[s]||(t[s]=[]);const i=`r-${s}-${t[s].length}`;t[s].push({...n,id:i})}));const n=Object.keys(t).length;const s=n*le+(n+1)*fe;let i=0;Object.values(t).forEach((t=>{let n=t.length*ce+(t.length+1)*fe;if(n>i){i=n}}));const e=[];const o=[];const h=[];let u=fe;Object.entries(t).forEach((([n,s])=>{const c=s.length*(ce+fe);const l=i-c;const f=fe/2+l/2;s.forEach(((s,i)=>{var c;const l=r(s);const a={id:s.id,text:l,icon:this.getStatusIcon(s.status),x:i*(ce+fe)+f,y:u,width:ce,height:le,color:this.getStatusColor(s.status),radius:8};e.push(a);h.push({icon:this.getStatusIcon(s.status),x:i*(ce+fe)+f+(ce-32),y:u+le/2-13});(c=t[+n-1])===null||c===void 0?void 0:c.forEach((t=>{const n={id:`line-${t.id}-${a.id}`,from:{element:t.id,point:"bottom"},to:{element:a.id,point:"top"},color:this.getStatusColor(s.status)};o.push(n)}))}));u+=le+fe}));this.recipientStatusIcons=h;const c=$i();c.initalize(`#${this.containerId}`,i,s);c.update({entities:e,lines:o})}}showDropdown(){var t,n;this.isOpen=true;this.detailPanel.setAttribute("data-show","");this.detailPanel.removeAttribute("aria-hidden");(t=this.popper)===null||t===void 0?void 0:t.setOptions((t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:true}]})));(n=this.popper)===null||n===void 0?void 0:n.update()}handleHideDropdown(t){var n,s;if(((n=t===null||t===void 0?void 0:t.target)===null||n===void 0?void 0:n.localName)==="button"&&((s=t===null||t===void 0?void 0:t.target)===null||s===void 0?void 0:s.className)==="arrow"){return}this.hide()}toggleDropdown(){if(this.isOpen){this.hide()}else{this.showDropdown()}}hide(){var t;this.isOpen=false;this.detailPanel.removeAttribute("data-show");this.detailPanel.setAttribute("aria-hidden","true");(t=this.popper)===null||t===void 0?void 0:t.setOptions((t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:false}]})))}getStatusColor(t){switch(t){case"invited":case"opened":case"accepted":case"signed":return"#654dcb";case"some-signed":case"submitted":case"complete":return"#55bc81";case"declined":return"#ff0000";case"canceled":case"in progress":case"pending":default:return"#999999"}}getStatusIcon(t){switch(t){case"accepted":return this.theme==="light"?Ri:Pi;case"complete":return this.theme==="light"?Qi:Xi;case"in progress":return this.theme==="light"?Wi:Ui;case"canceled":return this.theme==="light"?Yi:Gi;case"declined":return this.theme==="light"?qi:Ji;case"invited":return this.theme==="light"?Wi:Ui;case"opened":return this.theme==="light"?te:Ki;case"signed":return this.theme==="light"?ee:ie;case"submitted":return this.theme==="light"?ue:he;case"some-signed":return this.theme==="light"?oe:re;default:case"pending":return this.theme==="light"?se:ne}}getStatusMessage(t){switch(t){case"accepted":return"Accepted";case"complete":return"Completed";case"in progress":return"In Progress";case"canceled":return"Cancelled";case"declined":return"Declined";case"invited":return"Invited";case"opened":return"Opened";case"signed":return"Signed";case"submitted":return"Submitted";case"some-signed":return"Partly Signed";case"pending":return"Pending";default:return t}}render(){var t,n;let e=this.status||((t=this.envelope)===null||t===void 0?void 0:t.status)||"pending";if(!this.status&&((n=this.envelope)===null||n===void 0?void 0:n.recipients)){const t=this.envelope.recipients.filter((t=>t.status==="submitted"));if(t.length>0&&t.length!==this.envelope.recipients.length){e="some-signed"}}const r=this.getStatusIcon(e);const o=this.getStatusMessage(e);return s(i,{key:"172c95843f93a9e2ee4c150c07cf5fd7dcc52938",ref:t=>this.summaryComponent=t,class:`${this.theme} ${this.size} ${this.envelope?"has-document":""}`,"aria-label":"Click to View Details",onClick:t=>{t.stopPropagation();t.preventDefault();this.envelope&&this.toggleDropdown()},onBlur:t=>this.envelope&&this.handleHideDropdown(t)},s("span",{key:"9c2a18075e55e1cb609fe2a45e906e5996031bda",class:"icon",innerHTML:r}),s("span",{key:"004751c32ac6eb008b552a5200930f4b57bc256f",class:"content"},o),s("div",{key:"af1e2f19a5e15a76c27c93a5e416f741bc59928e",class:"detail-panel",ref:t=>this.detailPanel=t},s("div",{key:"ac8c928fe02108b6e0d36ba78590498e1e435245",id:`${this.containerId}`}),this.recipientStatusIcons.map((t=>s("span",{innerHTML:t.icon,style:{position:"absolute",top:`${t.y}px`,left:`${t.x}px`}})))))}static get style(){return Ni()}},[0,"verdocs-status-indicator",{size:[1],theme:[1],status:[1],envelope:[16],isOpen:[32],containerId:[32]}]);function de(){if(typeof customElements==="undefined"){return}const t=["verdocs-status-indicator"];t.forEach((t=>{switch(t){case"verdocs-status-indicator":if(!customElements.get(e(t))){customElements.define(e(t),ae)}break}}))}export{ae as V,de as d};
2
+ //# sourceMappingURL=p-DClinO5r.js.map